continue for avahi and pulseaudio

This commit is contained in:
Ertuğrul Erata
2015-07-07 00:45:18 +03:00
parent 2e622e8fa3
commit 69842c3994
21 changed files with 738 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
# --shared and --release are default parameters, however we just write them
# to down to avoid confusing wheter it's a static/shared or release/debug
# package at the first look :)
autotools.rawConfigure("--shared \
--release \
--dot dot \
--prefix /usr")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
#pisitools.doman("doc/doxywizard.1")
# The makefile included is there to generate the html files
# The user itself should execute it
pisitools.insinto(get.docDIR() + "/doxygen" , "examples")
pisitools.dodoc("LANGUAGE.HOWTO", "LICENSE", "README*", "VERSION")
@@ -0,0 +1,6 @@
[Desktop Entry]
Type=Application
Exec=doxywizard
Name=Doxygen Wizard
Icon=doxywizard
Categories=Qt;Development;
Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

@@ -0,0 +1,43 @@
diff -up doxygen-1.8.3/src/htmlgen.cpp.multilib doxygen-1.8.3/src/htmlgen.cpp
--- doxygen-1.8.3/src/htmlgen.cpp.multilib 2012-12-25 11:27:52.000000000 +0100
+++ doxygen-1.8.3/src/htmlgen.cpp 2013-01-02 17:08:57.559028518 +0100
@@ -125,6 +125,17 @@ static unsigned char tab_b_png[36] =
205, 207, 209, 211, 213, 217, 219, 206, 188
};
+static unsigned char nav_g_png[95] = {
+0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d,
+0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x06,
+0x08, 0x06, 0x00, 0x00, 0x00, 0x02, 0x10, 0xf4, 0x31, 0x00, 0x00, 0x00,
+0x26, 0x49, 0x44, 0x41, 0x54, 0x78, 0x01, 0xed, 0xdd, 0x31, 0x0d, 0x00,
+0x00, 0x08, 0x03, 0xc1, 0x4f, 0x48, 0x17, 0x66, 0x84, 0xe1, 0x5f, 0x0d,
+0x2d, 0x3e, 0x7e, 0xb8, 0xe5, 0x4d, 0x20, 0x69, 0xcb, 0x4d, 0xe8, 0xc0,
+0x83, 0x07, 0x07, 0x0f, 0x53, 0x00, 0xbd, 0xfc, 0x82, 0x3c, 0x05, 0x00,
+0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82,
+};
+
// hovering tab background luma
static unsigned char tab_h_png[36] =
{
@@ -824,6 +835,7 @@ static ColoredImgDataItem colored_tab_da
{ "tab_s.png", 1, 36, tab_s_png, 0 },
{ "nav_h.png", 1, 12, header_png, 0 },
{ "nav_f.png", 1, 56, func_header_png, 0 },
+ { "nav_g.png", 1, 6, nav_g_png, 0 },
{ "bc_s.png", 8, 30, bc_s_png, bc_s_a_png },
{ "doxygen.png", 104,31, doxygen_png, doxygen_a_png },
{ "closed.png", 9, 9, closed_png, closed_a_png },
@@ -1502,13 +1514,6 @@ void HtmlGenerator::writeTabData()
Doxygen::indexList->addStyleSheetFile("tabs.css");
QCString dname=Config_getString("HTML_OUTPUT");
writeColoredImgData(dname,colored_tab_data);
-
- {
- unsigned char shadow[6] = { 5, 5, 5, 5, 5, 5 };
- unsigned char shadow_alpha[6] = { 80, 60, 40, 20, 10, 0 };
- ColoredImage img(1,6,shadow,shadow_alpha,0,0,100);
- img.save(dname+"/nav_g.png");
- }
}
void HtmlGenerator::writeSearchData(const char *dir)
@@ -0,0 +1,12 @@
diff -up doxygen-1.8.5/src/configoptions.cpp.html_timestamp_default_false doxygen-1.8.5/src/configoptions.cpp
--- doxygen-1.8.5/src/configoptions.cpp.html_timestamp_default_false 2013-08-26 16:07:23.000000000 +0200
+++ doxygen-1.8.5/src/configoptions.cpp 2013-08-26 18:31:40.000000000 +0200
@@ -1499,7 +1499,7 @@ void addConfigOptions(Config *cfg)
"to NO can help when comparing the output of multiple runs.\n"
"The default value is: YES.\n"
"This tag requires that the tag GENERATE_HTML is set to YES.",
- TRUE
+ FALSE
);
cb->addDependency("GENERATE_HTML");
//----
@@ -0,0 +1,78 @@
diff -up doxygen-1.8.6/addon/doxywizard/Makefile.in.config doxygen-1.8.6/addon/doxywizard/Makefile.in
--- doxygen-1.8.6/addon/doxywizard/Makefile.in.config 2013-12-26 12:17:57.281368574 -0700
+++ doxygen-1.8.6/addon/doxywizard/Makefile.in 2013-12-26 12:20:44.673513404 -0700
@@ -10,7 +10,6 @@
# See the GNU General Public License for more details.
#
-QMAKE=$(QTDIR)/bin/qmake $(MKSPECS)
INCBUFSIZE=$(PYTHON) ../../src/increasebuffer.py
all: Makefile.doxywizard
diff -up doxygen-1.8.6/configure.config doxygen-1.8.6/configure
--- doxygen-1.8.6/configure.config 2013-12-24 09:14:46.000000000 -0700
+++ doxygen-1.8.6/configure 2013-12-26 12:20:20.542636493 -0700
@@ -326,9 +326,10 @@ if test "$f_wizard" = YES; then
if test -z "$QTDIR"; then
echo " QTDIR environment variable not set!"
printf " Checking for Qt..."
- for d in /usr/{lib,share,qt}/{qt-4,qt4,qt,qt*,4} /usr; do
+ for d in /usr/{lib64,lib,share,qt}/{qt-4,qt4,qt,qt*,4} /usr; do
if test -x "$d/bin/qmake"; then
QTDIR=$d
+ QMAKE=$d/bin/qmake
break 2
fi
done
@@ -704,6 +705,8 @@ INSTTOOL = $f_insttool
DOXYDOCS = ..
DOCDIR = $f_docdir
QTDIR = $QTDIR
+QMAKE = $QMAKE
+MAN1DIR = share/man/man1
EOF
if test "$f_dot" != NO; then
diff -up doxygen-1.8.6/Makefile.in.config doxygen-1.8.6/Makefile.in
--- doxygen-1.8.6/Makefile.in.config 2013-12-26 12:17:57.283368564 -0700
+++ doxygen-1.8.6/Makefile.in 2013-12-26 12:19:17.796956667 -0700
@@ -78,8 +78,6 @@ realclean: clean
DATE=$(shell date "+%B %Y")
-MAN1DIR = man/man1
-
install: doxywizard_install doxysearch_install
$(INSTTOOL) -d $(DESTDIR)$(INSTALL)/bin
$(INSTTOOL) -m 755 bin/doxygen $(DESTDIR)$(INSTALL)/bin
diff -up doxygen-1.8.6/tmake/lib/linux-g++/tmake.conf.config doxygen-1.8.6/tmake/lib/linux-g++/tmake.conf
--- doxygen-1.8.6/tmake/lib/linux-g++/tmake.conf.config 2013-11-02 08:18:53.000000000 -0600
+++ doxygen-1.8.6/tmake/lib/linux-g++/tmake.conf 2013-12-26 12:18:38.268158455 -0700
@@ -11,7 +11,7 @@ TMAKE_CC = gcc
TMAKE_CFLAGS = -pipe -fsigned-char
TMAKE_CFLAGS_WARN_ON = -Wall -W
TMAKE_CFLAGS_WARN_OFF =
-TMAKE_CFLAGS_RELEASE = -O2
+TMAKE_CFLAGS_RELEASE = $(RPM_OPT_FLAGS)
TMAKE_CFLAGS_DEBUG = -g
TMAKE_CFLAGS_SHLIB = -fPIC
TMAKE_CFLAGS_YACC = -Wno-unused -Wno-parentheses
@@ -27,12 +27,12 @@ TMAKE_CXXFLAGS_YACC = $$TMAKE_CFLAGS_YAC
TMAKE_INCDIR =
TMAKE_LIBDIR =
-TMAKE_INCDIR_X11 = /usr/X11R6/include
-TMAKE_LIBDIR_X11 = /usr/X11R6/lib
-TMAKE_INCDIR_QT = $(QTDIR)/include
-TMAKE_LIBDIR_QT = $(QTDIR)/lib
-TMAKE_INCDIR_OPENGL = /usr/X11R6/include
-TMAKE_LIBDIR_OPENGL = /usr/X11R6/lib
+TMAKE_INCDIR_X11 =
+TMAKE_LIBDIR_X11 =
+TMAKE_INCDIR_QT =
+TMAKE_LIBDIR_QT =
+TMAKE_INCDIR_OPENGL =
+TMAKE_LIBDIR_OPENGL =
TMAKE_LINK = g++
TMAKE_LINK_SHLIB = g++
@@ -0,0 +1,21 @@
diff -up doxygen-1.8.7/src/config.xml.than doxygen-1.8.7/src/config.xml
--- doxygen-1.8.7/src/config.xml.than 2014-05-12 13:54:38.000000000 +0200
+++ doxygen-1.8.7/src/config.xml 2014-05-12 13:56:31.000000000 +0200
@@ -1617,7 +1617,7 @@ to disable this feature.
</option>
</group>
<group name='HTML' docs='Configuration options related to the HTML output'>
- <option type='bool' id='GENERATE_HTML' defval='1'>
+ <option type='bool' id='GENERATE_HTML' defval='0'>
<docs>
<![CDATA[
If the \c GENERATE_HTML tag is set to \c YES doxygen will
@@ -1878,7 +1878,7 @@ hr.footer {
]]>
</docs>
</option>
- <option type='bool' id='HTML_TIMESTAMP' defval='1' depends='GENERATE_HTML'>
+ <option type='bool' id='HTML_TIMESTAMP' defval='0' depends='GENERATE_HTML'>
<docs>
<![CDATA[
If the \c HTML_TIMESTAMP tag is set to \c YES then the footer of
+90
View File
@@ -0,0 +1,90 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>doxygen</Name>
<Homepage>http://www.doxygen.org/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>app:console</IsA>
<Summary>Documentation and analysis tool for C++, C, Java, IDL, PHP and C#</Summary>
<Description>Doxygen is a documentation system for C++, C, Java, Objective-C, Python, IDL (Corba and Microsoft flavors) and to some extent PHP, C#, and D.</Description>
<Archive sha1sum="3728f183f390f96b4ec39d02782a7c2d91f7bfca" type="targz">ftp://ftp.stack.nl/pub/users/dimitri/doxygen-1.8.7.src.tar.gz</Archive>
<BuildDependencies>
<Dependency>libgcc</Dependency>
</BuildDependencies>
<!--
Doxygen might use the following binaries at runtime:
- /usr/bin/dot (from graphviz package)
- /usr/bin/gs (from ghostscript package)
- /usr/bin/dvips (from texlive-bin package)
- /usr/bin/latex (from texlive-bin package)
We do not write these as build dependencies since it doesn't
check for their existance. This is good for bootstrapping ;)
-->
<Patches>
<Patch level="1">fedora/doxygen-1.8.6-config.patch</Patch>
<Patch level="1">fedora/doxygen-1.8.3-multilib.patch</Patch>
<Patch level="1">fedora/doxygen-1.8.7-html_timestamp_default_false.patch</Patch>
</Patches>
</Source>
<Package>
<Name>doxygen</Name>
<RuntimeDependencies>
<Dependency>libgcc</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="executable">/usr/bin/doxygen</Path>
<Path fileType="man">/usr/share/man/man1/doxygen.1</Path>
</Files>
</Package>
<!--<Package>
<Name>doxywizard</Name>
<RuntimeDependencies>
<Dependency>qt</Dependency>
</RuntimeDependencies>
<Summary>A GUI for creating and editing doxygen configuration files</Summary>
<Files>
<Path fileType="data">/usr/share/pixmaps</Path>
<Path fileType="data">/usr/share/applications</Path>
<Path fileType="executable">/usr/bin/doxywizard</Path>
<Path fileType="man">/usr/share/man/man1/doxywizard.1</Path>
</Files>
<AdditionalFiles>
<AdditionalFile target="/usr/share/pixmaps/doxywizard.png" permission="0644">doxywizard.png</AdditionalFile>
<AdditionalFile target="/usr/share/applications/doxywizard.desktop" permission="0644">doxywizard.desktop</AdditionalFile>
</AdditionalFiles>
</Package>-->
<History>
<Update release="3">
<Date>2014-05-24</Date>
<Version>1.8.7</Version>
<Comment>Version bump</Comment>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-12-30</Date>
<Version>1.8.6</Version>
<Comment>Version bump</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-09-14</Date>
<Version>1.8.2</Version>
<Comment>First release</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir</Email>
</Update>
</History>
</PISI>
+14
View File
@@ -0,0 +1,14 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>doxygen</Name>
<Summary xml:lang="tr">C, C++, Java, IDL, PHP ve C# için döküman ve analiz aracı</Summary>
<Description xml:lang="tr">Doxygen C++, C, Java, Objective-C, Python, IDL (Corba ve Microsoft ile ilgili diğerleri ) ve PHP, C# ve D'yi de kapsayan diller için bir dokümantasyon sistemidir.</Description>
<Description xml:lang="es">Doxygen es un sistema de documentación para C++, C, Java, Objective-C, Python, IDL (versiones Corba y Microsoft) y hasta cierto punto también PHP, C#, y D.</Description>
</Source>
<Package>
<Name>doxywizard</Name>
<Summary xml:lang="en">A GUI for creating and editing doxygen configuration files</Summary>
</Package>
</PISI>