code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>wine</Name>
        <Homepage>http://www.winehq.org/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <IsA>app:console</IsA>
        WINE Is Not An Emulator, which lets you run Microsoft Windows applications
        <Description>Wine allows running Windows 3.*, Windows 95/98 and Windows NT programs on a i386 (or compatible) machine running X11. It is still alpha level code; don't expect everything to work.</Description>
        <Archive sha1sum="d4b80eee620f05479287f9bca3bce278b4f00432" type="tarxz">https://dl.winehq.org/wine/source/2.x/wine-2.22.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>lcms2-devel</Dependency>
            <Dependency>libao-devel</Dependency>
            <Dependency>libSM-devel</Dependency>
            <Dependency>mpg123-devel</Dependency>
            <Dependency>openal-devel</Dependency>
            <Dependency>libXext-devel</Dependency>
            <Dependency>libxslt-32bit</Dependency>
            <Dependency>mesa-glu-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>gstreamer-devel</Dependency>
            <Dependency>openldap-client</Dependency>
            <Dependency>libgphoto2-devel</Dependency>
            <Dependency>pulseaudio-libs-devel</Dependency>
            <Dependency>gst-plugins-base-devel</Dependency>

            <Dependency>cups-devel</Dependency>
            <Dependency>gnutls-devel</Dependency>
            <Dependency>gnutls-32bit</Dependency>
            <Dependency>libXcursor-devel</Dependency>
            <Dependency>libXi-devel</Dependency>
            <Dependency>libXrandr-devel</Dependency>
            <Dependency>libXxf86vm-devel</Dependency>
            <Dependency>sane-backends-devel</Dependency>
            <Dependency>unixODBC-devel</Dependency>

            <Dependency>dbus-devel</Dependency>
            <Dependency>fontconfig-devel</Dependency>
            <Dependency>gsm-devel</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
            <Dependency>libXcomposite-devel</Dependency>
            <Dependency>libXinerama-devel</Dependency>
            <Dependency>libxslt-devel</Dependency>
            <Dependency>tiff-devel</Dependency>
            <Dependency>gettext-devel</Dependency>
            <Dependency>giflib-devel</Dependency>
            <Dependency>v4l-utils</Dependency>
            <Dependency>libpng</Dependency>
            <Dependency>libtevent-devel</Dependency>

            <Dependency>jack-audio-connection-kit-devel</Dependency>

            <Dependency>fontforge</Dependency>
            <Dependency>freetype-devel</Dependency>
            <Dependency>freetype-32bit</Dependency>
            <Dependency>libpcap-devel</Dependency>
            <Dependency>util-linux</Dependency>
            <Dependency>ncurses-devel</Dependency>
        </BuildDependencies>

        <Patches>

            <Patch level="1">wine-1.9.3-gcc-5_3_0-disable-force-alignment.patch</Patch>
            <Patch level="1">gcc_erorr.patch</Patch>
            <Patch level="1">0001-programs-winhlp32-Use-noyywrap-for-macro.lex.l-and-p.patch</Patch>

        </Patches>

    </Source>

    <Package>
        <Name>wine</Name>
        <IsA>app:gui</IsA>
        <RuntimeDependencies>
            <Dependency version="current">wine-32bit</Dependency>
            <Dependency version="current">winetricks</Dependency>
            <Dependency>lcms2</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libSM</Dependency>
            <Dependency>mpg123</Dependency>
            <Dependency>openal</Dependency>
            <Dependency>libXext</Dependency>
            <Dependency>mesa-glu</Dependency>
            <Dependency>alsa-lib</Dependency>
            <Dependency>gstreamer</Dependency>
            <Dependency>libgphoto2</Dependency>
            <Dependency>libXcomposite</Dependency>
            <Dependency>openldap-client</Dependency>
            <Dependency>pulseaudio-libs</Dependency>
            <Dependency>gst-plugins-base</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
            <Dependency>libtevent</Dependency>
            <Dependency>p11-kit</Dependency>
            <Dependency>libxml2</Dependency>
            <Dependency>giflib</Dependency>
            <Dependency>ncurses</Dependency>

            <Dependency>cups</Dependency>
            <Dependency>gnutls</Dependency>
            <Dependency>libXcursor</Dependency>
            <Dependency>libXi</Dependency>
            <Dependency>libXrandr</Dependency>
            <Dependency>libXxf86vm</Dependency>
            <Dependency>sane-backends</Dependency>
            <Dependency>unixODBC</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>eudev</Dependency>
            <Dependency>libgcc</Dependency>

            <Dependency>cabextract</Dependency>
            <Dependency>libpcap</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="data">/etc/xdg</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/usr/share/applications</Path>
            <Path fileType="data">/usr/share/desktop-directories</Path>
            <Path fileType="data">/usr/share/wine</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
        <AdditionalFiles>

            <AdditionalFile target="/usr/bin/winetricks" permission="0755">winetricks</AdditionalFile>

            <AdditionalFile target="/usr/bin/wisotool" permission="0755">wisotool</AdditionalFile>

            <AdditionalFile target="/etc/xdg/menus/applications-merged/wine.menu" permission="0644">menu/wine.menu</AdditionalFile>
            <AdditionalFile target="/usr/share/desktop-directories/Wine.directory" permission="0644">menu/Wine.directory</AdditionalFile>

            <AdditionalFile target="/usr/share/applications/wine/taskmgr.desktop" permission="0644">menu/taskmgr.desktop</AdditionalFile>
            <AdditionalFile target="/usr/share/applications/wine/uninstaller.desktop" permission="0644">menu/uninstaller.desktop</AdditionalFile>
            <AdditionalFile target="/usr/share/applications/wine/winecfg.desktop" permission="0644">menu/winecfg.desktop</AdditionalFile>
            <AdditionalFile target="/usr/share/applications/wine/winefile.desktop" permission="0644">menu/winefile.desktop</AdditionalFile>
            <AdditionalFile target="/usr/share/applications/wine/winetricks.desktop" permission="0644">menu/winetricks.desktop</AdditionalFile>
            <AdditionalFile target="/usr/share/applications/wine/wine-mime-msi.desktop" permission="0644">menu/wine-mime-msi.desktop</AdditionalFile>
            <AdditionalFile target="/usr/share/applications/wine/wine-oleview.desktop" permission="0644">menu/wine-oleview.desktop</AdditionalFile>
            <AdditionalFile target="/usr/share/applications/wine/wine-winemine.desktop" permission="0644">menu/wine-winemine.desktop</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <Package>
        <Name>wine-devel</Name>
        Wine development environment
        <RuntimeDependencies>
            <Dependency version="current">wine</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/function_grep.pl</Path>
            <Path fileType="executable">/usr/bin/widl</Path>
            <Path fileType="executable">/usr/bin/winebuild</Path>
            <Path fileType="executable">/usr/bin/winecpp</Path>
            <Path fileType="executable">/usr/bin/wineg++</Path>
            <Path fileType="executable">/usr/bin/winegcc</Path>
            <Path fileType="executable">/usr/bin/winemaker</Path>
            <Path fileType="executable">/usr/bin/wmc</Path>
            <Path fileType="executable">/usr/bin/wrc</Path>
            <Path fileType="header">/usr/include/wine</Path>
            <Path fileType="data">/usr/share/aclocal</Path>
            <Path fileType="man">/usr/share/man/man1/widl.1</Path>
            <Path fileType="man">/usr/share/man/man1/winebuild.1</Path>
            <Path fileType="man">/usr/share/man/man1/winecpp.1</Path>
            <Path fileType="man">/usr/share/man/man1/wineg++.1</Path>
            <Path fileType="man">/usr/share/man/man1/winegcc.1</Path>
            <Path fileType="man">/usr/share/man/man1/winemaker.1</Path>
            <Path fileType="man">/usr/share/man/man1/wmc.1</Path>
            <Path fileType="man">/usr/share/man/man1/wrc.1</Path>
        </Files>
    </Package>

    <Package>
        <Name>winetricks</Name>
        winetricks is a helper script to download and install various redistributable runtime libraries needed to run some programs in Wine.
        <RuntimeDependencies>
            <Dependency>zenity</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/winetricks</Path>
            <Path fileType="data">/usr/share/applications/winetricks.desktop</Path>
        </Files>
    </Package>

    <Package>
        <Name>wine-32bit</Name>
        <PartOf>emul32</PartOf>
        32-bit shared libraries for wine
        <BuildType>emul32</BuildType>
        <BuildDependencies>
            <Dependency>zlib-32bit</Dependency>
            <Dependency>glib2-32bit</Dependency>
            <Dependency>lcms2-32bit</Dependency>
            <Dependency>libSM-32bit</Dependency>
            <Dependency>p11-kit-32bit</Dependency>
            <Dependency>giflib-32bit</Dependency>
            <Dependency>libpng-32bit</Dependency>
            <Dependency>libv4l-32bit</Dependency>
            <Dependency>libX11-32bit</Dependency>
            <Dependency>mpg123-32bit</Dependency>
            <Dependency>openal-32bit</Dependency>
            <Dependency>libXext-32bit</Dependency>
            <Dependency>libxml2-32bit</Dependency>
            <Dependency>alsa-lib-32bit</Dependency>
            <Dependency>mesa-glu-32bit</Dependency>
            <Dependency>openldap-32bit</Dependency>
            <Dependency>ncurses-32bit</Dependency>
            <Dependency>libXrandr-32bit</Dependency>
            <Dependency>libXdamage-32bit</Dependency>
            <Dependency>libXxf86vm-32bit</Dependency>
            <Dependency>fontconfig-32bit</Dependency>
            <Dependency>libXcursor-32bit</Dependency>
            <Dependency>libXxf86dga-32bit</Dependency>
            <Dependency>gstreamer-32bit</Dependency>
            <Dependency>libXcomposite-32bit</Dependency>
            <Dependency>pulseaudio-libs-32bit</Dependency>
            <Dependency>gst-plugins-base-32bit</Dependency>
        </BuildDependencies>
        <RuntimeDependencies>
            <Dependency>zlib-32bit</Dependency>
            <Dependency>lcms2-32bit</Dependency>
            <Dependency>libSM-32bit</Dependency>
            <Dependency>libX11-32bit</Dependency>
            <Dependency>mpg123-32bit</Dependency>
            <Dependency>openal-32bit</Dependency>
            <Dependency>libXext-32bit</Dependency>
            <Dependency>libxml2-32bit</Dependency>
            <Dependency>alsa-lib-32bit</Dependency>
            <Dependency>mesa-glu-32bit</Dependency>
            <Dependency>openldap-32bit</Dependency>
            <Dependency>gsm-32bit</Dependency>
            <Dependency>cups-32bit</Dependency>
            <Dependency>tiff-32bit</Dependency>
            <Dependency>libXi-32bit</Dependency>
            <Dependency>gnutls-32bit</Dependency>
            <Dependency>libpng-32bit</Dependency>
            <Dependency>ncurses-32bit</Dependency>
            <Dependency>openssl-32bit</Dependency>
            <Dependency>p11-kit-32bit</Dependency>
            <Dependency>giflib-32bit</Dependency>
            <Dependency>alsa-lib-32bit</Dependency>
            <Dependency>libXrandr-32bit</Dependency>
            <Dependency>gstreamer-32bit</Dependency>
            <Dependency>fontconfig-32bit</Dependency>
            <Dependency>libXcursor-32bit</Dependency>
            <Dependency>libXdamage-32bit</Dependency>
            <Dependency>libXxf86vm-32bit</Dependency>
            <Dependency>libXxf86dga-32bit</Dependency>
            <Dependency>libtool-ltdl-32bit</Dependency>
            <Dependency>libXcomposite-32bit</Dependency>
            <Dependency>libjpeg-turbo-32bit</Dependency>
            <Dependency>pulseaudio-libs-32bit</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib32/libwine.so*</Path>
            <Path fileType="library">/usr/lib32/wine</Path>
        </Files>
    </Package>

    <History>
        <Update release="11">
            <Date>2017-12-24</Date>
            <Version>2.22</Version>
            <Comment>Version bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
        <Update release="10">
            <Date>2017-05-28</Date>
            <Version>2.9</Version>
            <Comment>Version bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
        <Update release="9">
            <Date>2017-01-29</Date>
            <Version>2.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="8">
            <Date>2016-09-13</Date>
            <Version>1.9.18</Version>
            <Comment>
            - Support for multiple kernel drivers in a single process.
            - More WebServices reader support.
            - Various improvements in joystick support.
            - Some more work towards the Direct3D command stream.
            - GDI performance improvements.
            - Improved IME window handling.
            - Compatibility fixes in the clipboard support.
            - Various bug fixes.
            </Comment>
            <Name>Ergün Salman</Name>
            <Email>poyraz76@pisilinux.org</Email>
        </Update>
        <Update release="7">
            <Date>2016-08-22</Date>
            <Version>1.9.17</Version>
            <Comment>
            -Better exception handling on 64-bit.
            -Various improvements in joystick support.
            -Some more stream support in the C++ runtime.
            -Font embedding improvements.
            -More metafile support in GDI+.
            -Various bug fixes.
            </Comment>
            <Name>Ergün Salman</Name>
            <Email>poyraz76@pisilinux.org</Email>
        </Update>
        <Update release="6">
            <Date>2016-08-15</Date>
            <Version>1.9.16</Version>
            <Comment>
            -Better 64-bit binary compatibility on macOS.
            -Performance improvements in JavaScript.
            -More progress towards the Direct3D command stream.
            -More shader instructions in Direct3D.
            -Performance improvements in GDI.
            -Various bug fixes.
            </Comment>
            <Name>Ergün Salman</Name>
            <Email>poyraz76@pisilinux.org</Email>
        </Update>
        <Update release="5">
            <Date>2016-07-23</Date>
            <Version>1.9.15</Version>
            <Comment>Bugs fixed in 1.9.15 (total 22).</Comment>
            <Name>Ergün Salman</Name>
            <Email>poyraz76@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2016-07-11</Date>
            <Version>1.9.14</Version>
            <Comment>
            -Pisilinux Fixed Options.
            -More Shader Model 5 support in Direct3D.
            -Some more write support in WebServices.
            -Performance improvements in GDI.
            -Some more progress towards the Direct3D command stream.
            -Various bug fixes.</Comment>
            <Name>Ergün Salman</Name>
            <Email>poyraz76@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-07-11</Date>
            <Version>1.9.14</Version>
            <Comment>Version bump</Comment>
            <Name>Ergün Salman</Name>
            <Email>poyraz76@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-07-09</Date>
            <Version>1.9.13</Version>
            <Comment>missing fixes release</Comment>
            <Name>Ergün Salman</Name>
            <Email>poyraz76@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-07-02</Date>
            <Version>1.9.13</Version>
            <Comment>First release</Comment>
            <Name>Ergün Salman</Name>
            <Email>poyraz76@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>wine</Name>
        Wine bir "Emülator" değildir,Windows uygulamalarını çalıştırma imkanı sunar.
        <Description xml:lang="tr">Wine X11 çalıştıran bir i386 (veya uyumluları) makinede Windows 3.*, Windows 95/98 ve Windows NT programlarını çalıştırmanıza imkân verir. Halâ alfa düzeyinde olduğundan her şey çalışmayabilir.</Description>
        Wine ist kein Emulator, mit dem Sie Microsoft Windows-Anwendungen laufen lässt
        <Description xml:lang="de">Wine gibt ihnen die möglichkeit um Windows 3. *, Windows 95/98 und Windows NT-Programme auf einem i386 (oder kompatibel) System X11 zu laufen. Es ist immer noch Alpha-Level-Code, nicht erwarten, dass alles funktioniert.</Description>
    </Source>

    <Package>
        <Name>wine-devel</Name>
        Wine geliştirme ortamı
    </Package>

    <Package>
        <Name>wine-32bit</Name>
        wine için 32-bit paylaşımlı kitaplıklar
    </Package>
</PISI>

repo_name: ayhanyalcinsoy/main


code:
<PISI>
    <Name>hardware.firewire</Name>
</PISI>


code:
#!/usr/bin/python
# -*- 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():
    autotools.configure("--disable-static")

def build():
    autotools.make()

def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS", "README", "TODO")


code:
Index: libavc1394-0.5.4/Makefile.am
===================================================================
--- libavc1394-0.5.4.orig/Makefile.am
+++ libavc1394-0.5.4/Makefile.am
@@ -1,4 +1,4 @@
-SUBDIRS = common libavc1394 librom1394 test
+SUBDIRS = common librom1394 libavc1394 test
 MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure config.h.in \
 	stamp-h.in
 EXTRA_DIST = libavc1394.pc libavc1394.spec
Index: libavc1394-0.5.4/Makefile.in
===================================================================
--- libavc1394-0.5.4.orig/Makefile.in
+++ libavc1394-0.5.4/Makefile.in
@@ -245,7 +245,7 @@ target_alias = @target_alias@
 top_build_prefix = @top_build_prefix@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
-SUBDIRS = common libavc1394 librom1394 test
+SUBDIRS = common librom1394 libavc1394 test
 MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure config.h.in \
 	stamp-h.in

Index: libavc1394-0.5.4/libavc1394/Makefile.am
===================================================================
--- libavc1394-0.5.4.orig/libavc1394/Makefile.am
+++ libavc1394-0.5.4/libavc1394/Makefile.am
@@ -1,11 +1,11 @@
 MAINTAINERCLEANFILES = Makefile.in
 lib_LTLIBRARIES = libavc1394.la
 libavc1394_la_LDFLAGS = @LIBRAW1394_LIBS@ \
-	-version-info @lt_major@:@lt_revision@:@lt_age@
-libavc1394_la_LIBADD = $(top_builddir)/common/raw1394util.lo
+	-version-info @lt_major@:@lt_revision@:@lt_age@
+#libavc1394_la_LIBADD = $(top_builddir)/librom1394/librom1394.la
 libavc1394_la_SOURCES = \
 	avc1394_simple.c avc1394_vcr.c \
-	avc1394_internal.c avc1394_internal.h
+	avc1394_internal.c avc1394_internal.h
 pkginclude_HEADERS = avc1394.h avc1394_vcr.h
 INCLUDES = @LIBRAW1394_CFLAGS@

Index: libavc1394-0.5.4/libavc1394/Makefile.in
===================================================================
--- libavc1394-0.5.4.orig/libavc1394/Makefile.in
+++ libavc1394-0.5.4/libavc1394/Makefile.in
@@ -216,12 +216,12 @@ top_srcdir = @top_srcdir@
 MAINTAINERCLEANFILES = Makefile.in
 lib_LTLIBRARIES = libavc1394.la
 libavc1394_la_LDFLAGS = @LIBRAW1394_LIBS@ \
-	-version-info @lt_major@:@lt_revision@:@lt_age@
+	-version-info @lt_major@:@lt_revision@:@lt_age@

-libavc1394_la_LIBADD = $(top_builddir)/common/raw1394util.lo
+libavc1394_la_LIBADD = $(top_builddir)/librom1394/librom1394.la
 libavc1394_la_SOURCES = \
 	avc1394_simple.c avc1394_vcr.c \
-	avc1394_internal.c avc1394_internal.h
+	avc1394_internal.c avc1394_internal.h

 pkginclude_HEADERS = avc1394.h avc1394_vcr.h
 INCLUDES = @LIBRAW1394_CFLAGS@
Index: libavc1394-0.5.4/librom1394/Makefile.am
===================================================================
--- libavc1394-0.5.4.orig/librom1394/Makefile.am
+++ libavc1394-0.5.4/librom1394/Makefile.am
@@ -1,7 +1,7 @@
 MAINTAINERCLEANFILES = Makefile.in
 lib_LTLIBRARIES = librom1394.la
 librom1394_la_LDFLAGS = @LIBRAW1394_LIBS@ \
-	-version-info @lt_major@:@lt_revision@:@lt_age@  -lm
+	-version-info @lt_major@:@lt_revision@:@lt_age@ -lm -lraw1394
 librom1394_la_LIBADD = $(top_builddir)/common/raw1394util.lo
 librom1394_la_SOURCES = \
 	rom1394_main.c \
Index: libavc1394-0.5.4/librom1394/Makefile.in
===================================================================
--- libavc1394-0.5.4.orig/librom1394/Makefile.in
+++ libavc1394-0.5.4/librom1394/Makefile.in
@@ -215,7 +215,7 @@ top_srcdir = @top_srcdir@
 MAINTAINERCLEANFILES = Makefile.in
 lib_LTLIBRARIES = librom1394.la
 librom1394_la_LDFLAGS = @LIBRAW1394_LIBS@ \
-	-version-info @lt_major@:@lt_revision@:@lt_age@  -lm
+	-version-info @lt_major@:@lt_revision@:@lt_age@  -lm -lraw1394

 librom1394_la_LIBADD = $(top_builddir)/common/raw1394util.lo
 librom1394_la_SOURCES = \


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libavc1394</Name>
        <Homepage>http://sourceforge.net/projects/libavc1394/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <IsA>library</IsA>
        library for the 1394 Trade Association AV/C (Audio/Video Control) Digital Interface Command Set
        <Description>The libavc1394 library allows utilities to control IEEE-1394 devices using the AV/C specification. Audio/Video Control allows applications to control devices like the tape on a VCR or camcorder.</Description>
        <Archive sha1sum="710ec37ef3d494b5ec8080beaa95d29a173a0479" type="targz">mirrors://sourceforge/libavc1394/libavc1394-0.5.4.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>libraw1394-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">libavc1394-0.5.3-librom.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>libavc1394</Name>
        <RuntimeDependencies>
            <Dependency>libraw1394</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>libavc1394-devel</Name>
        Development files for libavc1394
        <RuntimeDependencies>
            <Dependency release="current">libavc1394</Dependency>
            <Dependency>libraw1394-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-02-17</Date>
            <Version>0.5.4</Version>
            <Comment>Rebuild for new toolchain.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>0.5.4</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-05-31</Date>
            <Version>0.5.4</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>libavc1394</Name>
        1394 Trade Association AV/C (Ses/Görüntü kontrol) sayısal arayüz komut seti için bir kütüphane
        Librairie pour l'ensemble de commande de l'interface digitale AV/C (Audio/Vidéo Control) de l'association pour le commerce 1394 (1394 Trade Association).
    </Source>

    <Package>
        <Name>libavc1394-devel</Name>
        libavc1394 için geliştirme dosyaları
    </Package>
</PISI>


code:
#!/usr/bin/python
# -*- 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():
    autotools.configure("--disable-static \
                         --disable-examples \
                         --with-x \
                         --program-suffix=2")

def build():
    autotools.make()

def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    # FIXME: enable it when we swich to libusb 1.0
    #pisitools.removeDir("/usr/share/man/man3")
    pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS", "README")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libdc1394</Name>
        <Homepage>http://sourceforge.net/projects/libdc1394/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <IsA>library</IsA>
        Programming interface for IEEE 1394 based cameras
        <Description>libdc1394 is a library that is intended to provide a high level programming interface for application developers who wish to control IEEE 1394 based cameras that conform to the 1394-based Digital Camera Specification (found at http://www.1394ta.org/).</Description>
        <Archive sha1sum="dae8a3ea7d800d438d813e1a14155cced5912a29" type="targz">https://sourceforge.net/projects/libdc1394/files/libdc1394-2/2.2.5/libdc1394-2.2.5.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>libraw1394-devel</Dependency>
            <Dependency>libusb-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>libdc1394</Name>
        <RuntimeDependencies>
            <Dependency>libraw1394</Dependency>
            <Dependency>libusb</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <Package>
        <Name>libdc1394-devel</Name>
        Development files for libdc1394
        <RuntimeDependencies>
            <Dependency release="current">libdc1394</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <History>
        <Update release="4">
            <Date>2017-02-17</Date>
            <Version>2.2.5</Version>
            <Comment>Update.</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-11-27</Date>
            <Version>2.2.4</Version>
            <Comment>Version bump.</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>2.2.3</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-09-13</Date>
            <Version>2.2.3</Version>
            <Comment>First release</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>libdc1394</Name>
        IEEE 1394 tabanlı kameralar için programlama kitaplığı
        <Description xml:lang="tr">Bu kütüphane IEEE 1394 tabanlı kameraların kontrolü için yüksek seviyeli bir arayüz oluşturur.</Description>
        <Description xml:lang="fr">libdc1394 est une librairie dont l'objectif est de fournir une interface de programmation d'application de haut niveau pour les développeur désirant contrôler les caméras basées sur le IEEE 1394 se conformant aux spécifications des Caméras Digitales basées sur 1394 (que l'on trouve sur http://www.1394ta.org/).</Description>
        <Description xml:lang="es">libdc1394 es una librería con intención de facilitar una interfaz de programación de alto nivel para programadores de aplicaciones, que desean controlar camaras basados en IEEE 1394, conforme la especificación de camaras digitales basados en 1394 (véase http://www.1394ta.org/).</Description>
    </Source>

    <Package>
        <Name>libdc1394-devel</Name>
        libdc1394 için geliştirme dosyaları
    </Package>
</PISI>


code:
#!/usr/bin/python
# -*- 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 pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import scons
from pisi.actionsapi import get

shelltools.export("PYTHONDONTWRITEBYTECODE", "1")

def build():
    scons.make('PREFIX=/usr \
                COMPILE_FLAGS="%s %s -lpthread" \
                BUILD_TESTS=0' % (get.CXXFLAGS(), get.LDFLAGS()))

def install():
    scons.install("install WILL_DEAL_WITH_XDG_MYSELF=1 DESTDIR=%s" % get.installDIR())

    pisitools.dodir("/usr/share/applications")
    pisitools.dosym("/usr/share/libffado/icons/hi64-apps-ffado.png", "/usr/share/pixmaps/ffado-mixer.png")

    pisitools.domove("/usr/man/", "/usr/share")

    pisitools.dodoc("AUTHORS", "ChangeLog", "LICENSE*", "TODO", "README")


code:
SUBSYSTEM!="firewire", GOTO="ffado_end"

# TC GROUP A/S
ATTR{vendor}=="0x000166", GROUP="audio", ENV{ID_FFADO}="1"
# Mark of the Unicorn, Inc. (aka MOTU)
ATTR{vendor}=="0x0001f2", GROUP="audio", ENV{ID_FFADO}="1"
# Apogee Electronics Corp.
ATTR{vendor}=="0x0003db", GROUP="audio", ENV{ID_FFADO}="1"
# Alesis Corporation
ATTR{vendor}=="0x000595", GROUP="audio", ENV{ID_FFADO}="1"
# Bridgeco Co AG
ATTR{vendor}=="0x0007f5", GROUP="audio", ENV{ID_FFADO}="1"
# Presonus Corporation
ATTR{vendor}=="0x000a92", GROUP="audio", ENV{ID_FFADO}="1"
# TerraTec Electronic GmbH
ATTR{vendor}=="0x000aac", GROUP="audio", ENV{ID_FFADO}="1"
# M-Audio
ATTR{vendor}=="0x000d6c", GROUP="audio", ENV{ID_FFADO}="1"
# Ego Systems Inc.
ATTR{vendor}=="0x000f1b", GROUP="audio", ENV{ID_FFADO}="1"
# Loud Technologies Inc.
ATTR{vendor}=="0x000ff2", GROUP="audio", ENV{ID_FFADO}="1"
# Stanton Magnetics,inc.
ATTR{vendor}=="0x001260", GROUP="audio", ENV{ID_FFADO}="1"
# Focusrite Audio Engineering Limited
ATTR{vendor}=="0x00130e", GROUP="audio", ENV{ID_FFADO}="1"
# Echo Digital Audio Corporation
ATTR{vendor}=="0x001486", GROUP="audio", ENV{ID_FFADO}="1"
# Phonic Corporation
ATTR{vendor}=="0x001496", GROUP="audio", ENV{ID_FFADO}="1"
# BEHRINGER Spezielle Studiotechnik GmbH
ATTR{vendor}=="0x001564", GROUP="audio", ENV{ID_FFADO}="1"
# FlexRadio Systems
ATTR{vendor}=="0x001c2d", GROUP="audio", ENV{ID_FFADO}="1"
# Weiss Engineering Ltd.
ATTR{vendor}=="0x001c6a", GROUP="audio", ENV{ID_FFADO}="1"
# ROLAND DG CORPORATION
ATTR{vendor}=="0x0040ab", GROUP="audio", ENV{ID_FFADO}="1"
# DnR
ATTR{vendor}=="0x000f64", GROUP="audio", ENV{ID_FFADO}="1"
# Avid (for Mbox 3 Pro)
ATTR{vendor}=="0x00a07e", GROUP="audio", ENV{ID_FFAOD}="1"
# Yamaha (for GO4x devices)
ATTR{vendor}=="0x00a0de", GROUP="audio", ENV{ID_FFADO}="1"
# Lexicon (from Onix-FW810S)
ATTR{vendor}=="0x000fd7", GROUP="audio", ENV{ID_FFADO}="1"
# Allen and Heath
ATTR{vendor}=="0x0004c4", GROUP="audio", ENV{ID_FFADO}="1"
# Midas
ATTR{vendor}=="0x10c73f", GROUP="audio", ENV{ID_FFADO}="1"

# The devices below are by vendors who make other firewire devices in
# addition to their audio interfaces.  They need more specific rules to
# ensure only audio interfaces are covered here.

# Tascam, a subsiduary of TEAC (the OUI is TEAC's)
ATTR{vendor}=="0x00022e", ATTR{model}=="0x010067", GROUP="audio", ENV{ID_FFADO}="1"

# The devices below abuse another Vendor's ID, and therefore we need more advanced rules for those.

# CME, Matrix K FW
ATTR{vendor}=="0x00000a", ATTR{model}=="0x030000", ATTR{units}=="*0x00a02d:0x010001*", GROUP="audio", ENV{ID_FFADO}="1"
# Mackie, Onyx Firewire
ATTR{vendor}=="0x00000f", ATTR{model}=="0x01006?", ATTR{units}=="*0x00a02d:0x010001*", GROUP="audio", ENV{ID_FFADO}="1"
# RME
ATTR{vendor}=="0x000a35", ATTR{units}=="0x000a35:0x00000[1234]", GROUP="audio", ENV{ID_FFADO}="1"

LABEL="ffado_end"


code:
Index: libffado-2.1.0/SConstruct
===================================================================
--- libffado-2.1.0.orig/SConstruct
+++ libffado-2.1.0/SConstruct
@@ -84,6 +84,30 @@ buildenv=os.environ

 env = Environment( tools=['default','scanreplace','pyuic','pyuic4','dbus','doxygen','pkgconfig'], toolpath=['admin'], ENV = buildenv, options=opts )

+
+if os.environ.has_key('CC'):
+	env['CC'] = os.environ['CC']
+
+if os.environ.has_key('CXX'):
+	env['CXX'] = os.environ['CXX']
+
+# grab OS CFLAGS / CCFLAGS
+if os.environ.has_key('CFLAGS'):
+	env['OS_CFLAGS'] = os.environ['CFLAGS']
+	env['CFLAGS'] = os.environ['CFLAGS']
+
+if os.environ.has_key('CCFLAGS'):
+	env['OS_CCFLAGS'] = os.environ['CCFLAGS']
+	env['CCFLAGS'] = os.environ['CCFLAGS']
+
+if os.environ.has_key('CXXFLAGS'):
+	env['OS_CCFLAGS'] = os.environ['CXXFLAGS']
+	env['CXXFLAGS'] = os.environ['CXXFLAGS']
+
+if os.environ.has_key('CPPFLAGS'):
+	env['OS_CPPFLAGS'] = os.environ['CPPFLAGS']
+	env['CPPFLAGS'] = os.environ['CPPFLAGS']
+
 if env.has_key('COMPILE_FLAGS') and len(env['COMPILE_FLAGS']) > 0:
     print '''
  * Usage of additional flags is not supported by the ffado-devs.


code:
Author: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Forwarded: Yes
Applied-Upstream: 2.3.1
Last-Update: 2016-08-11
Description: Fix FTBFS with gcc6

Index: b/src/ffadotypes.h
===================================================================
--- a/src/ffadotypes.h
+++ b/src/ffadotypes.h
@@ -51,6 +51,8 @@ struct ffado_handle {
 };

+#include <cmath>
+#include <algorithm>
 #include <vector>
 #include <string>


code:
#!/usr/bin/env python
# Licensed and redistributable under GPLv3
# Written by David Henningsson <david.henningsson@canonical.com>
# (C) 2010 Canonical Ltd

''' This file takes a "configuration" file as input and gives an
    udev rule file as output, meant for usage with the new (juju)
    firewire stack.
    Suggested name of the output file is 60-ffado.rules
    (after default.rules, before acl.rules)
'''

import sys
import re

out_header = "\
# Do not edit this file, it will be automatically overwritten on upgrade.\n\
# This list has been auto-generated from the \"configuration\" file in top of libffado's source tree.\n\
SUBSYSTEM!=\"firewire\", GOTO=\"ffado_end\"\n"

out_footer = 'LABEL="ffado_end"\n'
out_row = 'ATTRS{vendor}=="%s", ATTRS{model}=="%s", GROUP="audio", ENV{ID_FFADO}="1" # %s, %s'

i_pattern = re.compile("(\w+)\s*=\s*((\w+)|(\"(.*?)\"))\s*;");
end_pattern = re.compile("[^#]*\}");
start_pattern = re.compile("[^#]*\{");

print out_header
for line in sys.stdin.readlines():
    if start_pattern.search(line):
        d = dict()
        continue
    if end_pattern.search(line):
        # format vendor and model according to sysfs
        vendorid = "0x%06x" % int(d['vendorid'],0)
        modelid = "0x%06x" % int(d['modelid'],0)
        print out_row % (vendorid, modelid, d['vendorname'], d['modelname'])
        continue
    m = i_pattern.search(line)
    if m is not None:
        if m.group(3) is None:
            d[m.group(1)] = m.group(5)
        else:
            d[m.group(1)] = m.group(3)

print out_footer


code:
diff -rupN libffado.old/doc/reference.doxygen.in libffado/doc/reference.doxygen.in
--- libffado.old/doc/reference.doxygen.in	2009-12-18 13:52:13.000000000 -0500
+++ libffado/doc/reference.doxygen.in	2010-06-05 21:00:54.000000000 -0400
@@ -568,9 +568,7 @@ WARN_LOGFILE           =
 # directories like "/usr/src/myproject". Separate the files or directories
 # with spaces.

-INPUT                  = $top_srcdir/src \
-                         $top_srcdir/doc \
-                         $top_srcdir/libffado
+INPUT                  = $top_srcdir/libffado

 # This tag can be used to specify the character encoding of the source files
 # that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is
diff -rupN libffado.old/SConstruct libffado/SConstruct
--- libffado.old/SConstruct	2010-05-10 15:34:07.000000000 -0400
+++ libffado/SConstruct	2010-06-05 21:29:43.000000000 -0400
@@ -583,7 +583,7 @@ if not env.GetOption('clean'):
     Default( 'support' )
     if env['BUILD_TESTS']:
         Default( 'tests' )
-
+    Default( 'doc' )
 #
 # Deal with the DESTDIR vs. xdg-tools conflict (which is basicely that the
 # xdg-tools can't deal with DESTDIR, so the packagers have to deal with this


code:
--- libffado.old/src/libutil/Configuration.cpp	2010-06-19 14:31:27.000000000 -0400
+++ libffado/src/libutil/Configuration.cpp	2010-07-14 01:37:57.000000000 -0400
@@ -333,7 +333,8 @@ Configuration::getValueForDeviceSetting(
     libconfig::Setting *s = getDeviceSetting( vendor_id, model_id );
     if(s) {
         try {
-            return s->lookupValue(setting, ref);
+            long long int refverylong = ref;
+            return s->lookupValue(setting, refverylong);
         } catch (...) {
             debugOutput(DEBUG_LEVEL_VERBOSE, "Setting %s not found\n", setting.c_str());
             return false;


code:
#!/bin/bash

# $1 - revision number to checkout.
: ${1?"You must either provide desired revision number \"X\" to checkout: `basename $0` X
                                or fetch the latest revision by: `basename $0` HEAD"}

set -e

tmp=$(mktemp -d)

trap cleanup EXIT
cleanup() {
    set +e
    [ -z "$tmp" -o ! -d "$tmp" ] || rm -rf "$tmp"
}

unset CDPATH
pwd=$(pwd)
name=libffado
version=2.1.0

revision=$1

pushd "$tmp" >/dev/null
echo "Fetching SVN revision: $1"
svn export -r$revision http://subversion.ffado.org/ffado/trunk/$name $name-$version |tee $name.stdout
revision=$(cat $name.stdout|grep "Exported revision"|sed 's|[^0-9]*||g')
echo "Fetched SVN revision: $revision"
rm -f $name.stdout

tar jcf "$pwd"/$name-$version-svn$revision.tar.bz2 $name-$version
echo "Written: $name-$version-svn$revision.tar.bz2"
popd >/dev/null


code:
Index: /trunk/libffado/src/SConscript
===================================================================
--- /trunk/libffado/src/SConscript (revision 2590)
+++ /trunk/libffado/src/SConscript (revision 2650)
@@ -289,4 +289,7 @@
 	libenv.MergeFlags( env['LIBCONFIG_FLAGS'] )
 	if not env['SERIALIZE_USE_EXPAT']:
+            if 'LIBXML30_FLAGS' in env :
+		libenv.MergeFlags( env['LIBXML30_FLAGS'] )
+            if not('LIBXML30_FLAGS' in env) :
 		libenv.MergeFlags( env['LIBXML26_FLAGS'] )
 	else:
Index: /trunk/libffado/src/libutil/serialize_libxml.cpp
===================================================================
--- /trunk/libffado/src/libutil/serialize_libxml.cpp (revision 1763)
+++ /trunk/libffado/src/libutil/serialize_libxml.cpp (revision 2650)
@@ -76,9 +76,17 @@
 Util::XMLSerialize::writeVersion()
 {
+#if LIBXMLXX_MAJOR_VERSION == 3
+    xmlpp::Element* pElem =  m_doc.get_root_node()->add_child_element( "CacheVersion" );
+#else
     xmlpp::Node* pNode = m_doc.get_root_node();
     xmlpp::Element* pElem = pNode->add_child( "CacheVersion" );
+#endif
     char* valstr;
     asprintf( &valstr, "%s", CACHE_VERSION );
+#if LIBXMLXX_MAJOR_VERSION == 3
+    pElem->set_first_child_text( valstr );
+#else
     pElem->set_child_text( valstr );
+#endif
     free( valstr );
 }
@@ -100,12 +108,20 @@
     }

-    xmlpp::Node* pNode = m_doc.get_root_node();
+    xmlpp::Element* pNode = m_doc.get_root_node();
     pNode = getNodePath( pNode, tokens );

     // element to be added
+#if LIBXMLXX_MAJOR_VERSION == 3
+    xmlpp::Element* pElem = pNode->add_child_element( tokens[tokens.size() - 1] );
+#else
     xmlpp::Element* pElem = pNode->add_child( tokens[tokens.size() - 1] );
+#endif
     char* valstr;
     asprintf( &valstr, "%lld", value );
+#if LIBXMLXX_MAJOR_VERSION == 3
+    pElem->set_first_child_text( valstr );
+#else
     pElem->set_child_text( valstr );
+#endif
     free( valstr );

@@ -128,16 +144,21 @@
     }

-    xmlpp::Node* pNode = m_doc.get_root_node();
+    xmlpp::Element* pNode = m_doc.get_root_node();
     pNode = getNodePath( pNode, tokens );

     // element to be added
+#if LIBXMLXX_MAJOR_VERSION == 3
+    xmlpp::Element* pElem = pNode->add_child_element( tokens[tokens.size() - 1] );
+    pElem->set_first_child_text( str );
+#else
     xmlpp::Element* pElem = pNode->add_child( tokens[tokens.size() - 1] );
     pElem->set_child_text( str );
+#endif

     return true;
 }

-xmlpp::Node*
-Util::XMLSerialize::getNodePath( xmlpp::Node* pRootNode,
+xmlpp::Element*
+Util::XMLSerialize::getNodePath( xmlpp::Element* pRootNode,
                                  std::vector<string>& tokens )
 {
@@ -150,5 +171,5 @@

     unsigned int iTokenIdx = 0;
-    xmlpp::Node* pCurNode = pRootNode;
+    xmlpp::Element* pCurNode = pRootNode;
     for (bool bFound = false;
          ( iTokenIdx < tokens.size() - 1 );
@@ -161,5 +182,5 @@
         {
             if ( ( *it )->get_name() == tokens[iTokenIdx] ) {
-                pCurNode = *it;
+                pCurNode = (xmlpp::Element*) *it;
                 bFound = true;
                 break;
@@ -172,5 +193,9 @@

     for ( unsigned int i = iTokenIdx; i < tokens.size() - 1; i++, iTokenIdx++ ) {
+#if LIBXMLXX_MAJOR_VERSION == 3
+        pCurNode = pCurNode->add_child_element( tokens[iTokenIdx] );
+#else
         pCurNode = pCurNode->add_child( tokens[iTokenIdx] );
+#endif
     }
     return pCurNode;
@@ -255,8 +280,15 @@
     debugOutput( DEBUG_LEVEL_VERY_VERBOSE, "pNode = %s\n", pNode->get_name().c_str() );

+#if LIBXMLXX_MAJOR_VERSION == 3
+    xmlpp::Node::NodeSet nodeSet = pNode->find( strMemberName );
+    for ( xmlpp::Node::NodeSet::iterator it = nodeSet.begin();
+          it != nodeSet.end();
+          ++it )
+#else
     xmlpp::NodeSet nodeSet = pNode->find( strMemberName );
     for ( xmlpp::NodeSet::iterator it = nodeSet.begin();
           it != nodeSet.end();
           ++it )
+#endif
     {
         const xmlpp::Element* pElement =
@@ -264,6 +296,11 @@
         if ( pElement && pElement->has_child_text() ) {
             char* tail;
+#if LIBXMLXX_MAJOR_VERSION == 3
+            value = strtoll( pElement->get_first_child_text()->get_content().c_str(),
+                             &tail, 0 );
+#else
             value = strtoll( pElement->get_child_text()->get_content().c_str(),
                              &tail, 0 );
+#endif
             debugOutput( DEBUG_LEVEL_VERY_VERBOSE, "found %s = %lld\n",
                          strMemberName.c_str(), value );
@@ -291,13 +328,24 @@
     xmlpp::Node* pNode = pDoc->get_root_node();

+#if LIBXMLXX_MAJOR_VERSION == 3
+    xmlpp::Node::NodeSet nodeSet = pNode->find( strMemberName );
+    for ( xmlpp::Node::NodeSet::iterator it = nodeSet.begin();
+          it != nodeSet.end();
+          ++it )
+#else
     xmlpp::NodeSet nodeSet = pNode->find( strMemberName );
     for ( xmlpp::NodeSet::iterator it = nodeSet.begin();
           it != nodeSet.end();
           ++it )
+#endif
     {
         const xmlpp::Element* pElement = dynamic_cast< const xmlpp::Element* >( *it );
         if ( pElement ) {
             if ( pElement->has_child_text() ) {
+#if LIBXMLXX_MAJOR_VERSION == 3
+                str = pElement->get_first_child_text()->get_content();
+#else
                 str = pElement->get_child_text()->get_content();
+#endif
             } else {
                 str = "";
@@ -323,5 +371,9 @@
     }
     xmlpp::Node* pNode = pDoc->get_root_node();
+#if LIBXMLXX_MAJOR_VERSION == 3
+    xmlpp::Node::NodeSet nodeSet = pNode->find( strMemberName );
+#else
     xmlpp::NodeSet nodeSet = pNode->find( strMemberName );
+#endif
     return nodeSet.size() > 0;
 }
Index: /trunk/libffado/src/libutil/serialize_libxml.h
===================================================================
--- /trunk/libffado/src/libutil/serialize_libxml.h (revision 1154)
+++ /trunk/libffado/src/libutil/serialize_libxml.h (revision 2650)
@@ -81,5 +81,5 @@
         DECLARE_DEBUG_MODULE;

-        xmlpp::Node* getNodePath( xmlpp::Node* pRootNode,
+        xmlpp::Element* getNodePath( xmlpp::Element* pRootNode,
                                   std::vector<std::string>& tokens );
     };
Index: /trunk/libffado/tests/SConscript
===================================================================
--- /trunk/libffado/tests/SConscript (revision 2141)
+++ /trunk/libffado/tests/SConscript (revision 2650)
@@ -33,4 +33,7 @@
 	env.MergeFlags( env['LIBRAW1394_FLAGS'] )
 	if not env['SERIALIZE_USE_EXPAT']:
+            if 'LIBXML30_FLAGS' in env :
+		env.MergeFlags( env['LIBXML30_FLAGS'] )
+            if not('LIBXML30_FLAGS' in env) :
 		env.MergeFlags( env['LIBXML26_FLAGS'] )
 	else:
Index: /trunk/libffado/SConstruct
===================================================================
--- /trunk/libffado/SConstruct (revision 2628)
+++ /trunk/libffado/SConstruct (revision 2650)
@@ -277,5 +277,8 @@

     if not env['SERIALIZE_USE_EXPAT']:
-        pkgs['libxml++-2.6'] = '2.13.0'
+        if conf.CheckPKG('libxml++-3.0'):
+            pkgs['libxml++-3.0'] = '3.0.0'
+        if not('libxml++-3.0' in pkgs):
+            pkgs['libxml++-2.6'] = '2.13.0'

     # Provide a way for users to compile newer libffado which will work
@@ -359,4 +362,6 @@
     if conf.CheckPKG('libxml++-2.6 >= 2.39.1'):
         env.Append(CXXFLAGS = '-std=gnu++11')
+    if conf.CheckPKG('libxml++-3.0 >= 3.0.0'):
+        env.Append(CXXFLAGS = '-std=gnu++11')

     # Check for C99 lrint() and lrintf() functions used to convert from
Index: /trunk/libffado/support/tools/SConscript
===================================================================
--- /trunk/libffado/support/tools/SConscript (revision 2321)
+++ /trunk/libffado/support/tools/SConscript (revision 2650)
@@ -34,4 +34,7 @@
 if not e.GetOption( "clean" ):
         if not env['SERIALIZE_USE_EXPAT']:
+            if 'LIBXML30_FLAGS' in env :
+		e.MergeFlags( env['LIBXML30_FLAGS'] )
+            if not('LIBXML30_FLAGS' in env) :
                 e.MergeFlags( env['LIBXML26_FLAGS'] )
         else:
Index: /trunk/libffado/support/firmware/SConscript
===================================================================
--- /trunk/libffado/support/firmware/SConscript (revision 2089)
+++ /trunk/libffado/support/firmware/SConscript (revision 2650)
@@ -34,5 +34,8 @@
     env.MergeFlags( env['LIBIEC61883_FLAGS'] )
     if not env['SERIALIZE_USE_EXPAT']:
-        env.MergeFlags( env['LIBXML26_FLAGS'] )
+        if 'LIBXML30_FLAGS' in env :
+            env.MergeFlags( env['LIBXML30_FLAGS'] )
+        if not('LIBXML30_FLAGS' in env) :
+            env.MergeFlags( env['LIBXML26_FLAGS'] )
     else:
         env.PrependUnique( LIBS=["expat"] )
Index: /trunk/libffado/support/dbus/SConscript
===================================================================
--- /trunk/libffado/support/dbus/SConscript (revision 2165)
+++ /trunk/libffado/support/dbus/SConscript (revision 2650)
@@ -42,5 +42,8 @@
     env.MergeFlags( env['LIBRAW1394_FLAGS'] )
     if not env['SERIALIZE_USE_EXPAT']:
-        env.MergeFlags( env['LIBXML26_FLAGS'] )
+        if 'LIBXML30_FLAGS' in env :
+            env.MergeFlags( env['LIBXML30_FLAGS'] )
+        if not('LIBXML30_FLAGS' in env) :
+            env.MergeFlags( env['LIBXML26_FLAGS'] )
     else:
         env.PrependUnique( LIBS=["expat"] )


code:
[Desktop Entry]
Comment=Mixer utility for Firewire audio devices
Comment[tr]=Firewire ses aygıtları için ses karıştırıcı
Exec=ffado-mixer
GenericName=FFADO Mixer utility
GenericName[tr]=FFADO Ses karıştırıcı
Icon=ffado-mixer
Name=FFADO Mixer
Path=
Type=Application
Categories=Mixer;Audio;AudioVideo;HardwareSettings;Qt;


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM 'http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd'>
<PISI>
    <Source>
        <Name>libffado</Name>
        <Homepage>http://www.ffado.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <License>GPLv3</License>
        Free firewire audio drivers
        <Description>libffado tries to provide open-source drivers for all FireWire based pro-audio devices.</Description>
        <Archive sha1sum="c7a6cef7cbf8e2ff5f5dbe5ca62fd1bfa0ddaa2a" type="targz">http://www.ffado.org/files/libffado-2.3.0.tgz</Archive>
        <BuildDependencies>
            <Dependency>xdg-utils</Dependency>
            <Dependency>glibmm-devel</Dependency>
            <Dependency>libxmlpp-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>dbus-c++-devel</Dependency>
            <Dependency>libsigc++-devel</Dependency>
            <Dependency>libconfig-devel</Dependency>
            <Dependency>libraw1394-devel</Dependency>
            <Dependency>libiec61883-devel</Dependency>
            <Dependency>scons</Dependency>
            <Dependency>doxygen</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">libffado-api-doc-only.patch</Patch>
            <Patch level="1">libffado-libconfig145.patch</Patch>
            <Patch level="1">flags.patch</Patch>
            <Patch level="1">gcc6.patch</Patch>
            <Patch level="3">libxml++3.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>libffado</Name>
        <IsA>library</IsA>
        <RuntimeDependencies>
            <Dependency>glibmm</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>dbus-c++</Dependency>
            <Dependency>libxmlpp</Dependency>
            <Dependency>libconfig</Dependency>
            <Dependency>libsigc++</Dependency>
            <Dependency>xdg-utils</Dependency>
            <Dependency>libraw1394</Dependency>
            <Dependency>libiec61883</Dependency>
            <Dependency>python-setuptools</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="data">/lib/udev/rules.d</Path>
            <Path fileType="data">/usr/share/libffado</Path>
            <Path fileType="data">/usr/share/dbus-1</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
        <AdditionalFiles>

         </AdditionalFiles>
    </Package>

    <Package>
        <Name>libffado-devel</Name>
        <IsA>library</IsA>
        Development files for libffado
        <RuntimeDependencies>
            <Dependency release="current">libffado</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <Package>
        <Name>ffado-mixer</Name>
        <Icon>ffado-mixer</Icon>
        <IsA>app:gui</IsA>
        <PartOf>hardware.sound</PartOf>
        Graphical User Interface for FFADO
        <RuntimeDependencies>
            <Dependency release="current">libffado</Dependency>
            <Dependency>python-setuptools</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/ffado-mixer*</Path>
            <Path fileType="data">/usr/share/applications</Path>
            <Path fileType="data">/usr/share/pixmaps</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/applications/pisilinux-ffadomixer.desktop">pisilinux-ffadomixer.desktop</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-02-17</Date>
            <Version>2.3.0</Version>
            <Comment>Version Bump.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-10</Date>
            <Version>2.2.1</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-04-28</Date>
            <Version>2.2.1</Version>
            <Comment>First release</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>libffado</Name>
        Ücretsiz firewire ses sürücüleri
        <Description xml:lang="tr">libffado, firewire arabirimli profesyonel ses kartları için ücretsiz sürücü desteği sağlayan bir projedir.</Description>
    </Source>

    <Package>
        <Name>ffado-mixer</Name>
        FFADO için grafik arayüzü
    </Package>

    <Package>
        <Name>libffado-devel</Name>
        libffado için geliştirme dosyaları
    </Package>
</PISI>


code:
#!/usr/bin/python
# -*- 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():
    autotools.configure("--disable-static")

def build():
    autotools.make()

def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS", "README")


code:
diff -Naurp libiec61883-1.2.0.orig/examples/Makefile.am libiec61883-1.2.0/examples/Makefile.am
--- libiec61883-1.2.0.orig/examples/Makefile.am	2006-09-24 15:34:12.000000000 -0400
+++ libiec61883-1.2.0/examples/Makefile.am	2009-01-15 10:29:02.265594991 -0500
@@ -1,6 +1,6 @@

-noinst_PROGRAMS = test-amdtp test-dv test-mpeg2 test-plugs
-bin_PROGRAMS = plugreport plugctl
+noinst_PROGRAMS =
+bin_PROGRAMS = plugreport plugctl test-amdtp test-dv test-mpeg2 test-plugs
 man_MANS = plugreport.1 plugctl.1
 EXTRA_DIST = plugreport.1 plugctl.1

diff -Naurp libiec61883-1.2.0.orig/examples/Makefile.in libiec61883-1.2.0/examples/Makefile.in
--- libiec61883-1.2.0.orig/examples/Makefile.in	2009-01-15 01:33:33.000000000 -0500
+++ libiec61883-1.2.0/examples/Makefile.in	2009-01-15 10:28:57.088402078 -0500
@@ -32,9 +32,10 @@ PRE_UNINSTALL = :
 POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
-noinst_PROGRAMS = test-amdtp$(EXEEXT) test-dv$(EXEEXT) \
+noinst_PROGRAMS =
+bin_PROGRAMS = plugreport$(EXEEXT) plugctl$(EXEEXT) \
+	test-amdtp$(EXEEXT) test-dv$(EXEEXT) \
 	test-mpeg2$(EXEEXT) test-plugs$(EXEEXT)
-bin_PROGRAMS = plugreport$(EXEEXT) plugctl$(EXEEXT)
 subdir = examples
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4


code:
Date: Thu, 15 Jan 2009 15:41:16 +0100 (CET)
From: Stefan Richter <stefanr@s5r6.in-berlin.de>
Subject: [PATCH libiec61883] cmp: replace open-coded channel allocation by
	raw1394_channel_modify
To: Dan Dennedy <dan@dennedy.org>
Cc: linux1394-devel@lists.sourceforge.net

On 15 Jan, Dan Dennedy wrote:
> On Thu, Jan 1, 2009 at 5:13 AM, Stefan Richter
> <stefanr@s5r6.in-berlin.de> wrote:
>> input plug register on the local node?  AFAICT neither dvgrab nor kino
>> use raw1394_channel_modify and raw1394_bandwidth_modify, not even
>> through libiec61883.)
>
> dvgrab indirectly uses channel_modify when you use its -guid option to
> establish a point-to-point connection.
>

Hmm.

$ dvgrab -guid 0x008088030960484b
libiec61883 error: Failed to get channels available.
Established connection over channel 63
[...proceeds with capture...]

--------------------------------- 8< ---------------------------------

cmp: replace open-coded channel allocation by raw1394_channel_modify

The benefit is that it works on kernel 2.6.30 firewire-core without
write permission to the IRM's device file (provided that libraw1394 is
extended for 2.6.30 ioctls too, otherwise it still needs access to the
IRM's file).

If I read the code correctly, iec61883_cmp_normalize_output doesn't care
whether the channel was already allocated by somebody else; it only
cares that the channel is allocated.  That's what the new code does too.
---
 src/cmp.c |   56 +++++++++---------------------------------------------
 1 file changed, 10 insertions(+), 46 deletions(-)

Index: libiec61883-1.2.0/src/cmp.c
===================================================================
--- libiec61883-1.2.0.orig/src/cmp.c
+++ libiec61883-1.2.0/src/cmp.c
@@ -973,55 +973,19 @@ iec61883_cmp_normalize_output (raw1394ha

 	DEBUG ("iec61883_cmp_normalize_output: node %d\n", (int) node & 0x3f);

-	// Check for plugs on output
+	/* Check for plugs on output */
 	result = iec61883_get_oMPR (handle, node, &ompr);
 	if (result < 0)
 		return result;

-	// locate an ouput plug that has a connection
-	for (oplug = 0; oplug < ompr.n_plugs; oplug++) {
-		if (iec61883_get_oPCRX (handle, node, &opcr, oplug) == 0) {
-			if (opcr.online && (opcr.n_p2p_connections > 0 ||
-				                opcr.bcast_connection == 1)) {
+	/* Locate an ouptut plug that has a connection,
+	 * make sure the plug's channel is allocated with IRM */
+	for (oplug = 0; oplug < ompr.n_plugs; oplug++)
+		if (iec61883_get_oPCRX (handle, node, &opcr, oplug) == 0
+		    && opcr.online
+		    && (opcr.n_p2p_connections > 0 || opcr.bcast_connection == 1)
+		    && raw1394_channel_modify (handle, opcr.channel, RAW1394_MODIFY_ALLOC) < 0)
+			DEBUG ("Channel %d already allocated, or can't reach IRM", opcr.channel);

-				// Make sure the plug's channel is allocated with IRM
-				quadlet_t buffer;
-				nodeaddr_t addr = CSR_REGISTER_BASE;
-				unsigned int c = opcr.channel;
-				quadlet_t compare, swap = 0;
-				quadlet_t new;
-
-				if (c > 31 && c < 64) {
-					addr += CSR_CHANNELS_AVAILABLE_LO;
-					c -= 32;
-				} else if (c < 64)
-					addr += CSR_CHANNELS_AVAILABLE_HI;
-				else
-					FAIL ("Invalid channel");
-				c = 31 - c;
-
-				result = iec61883_cooked_read (handle, raw1394_get_irm_id (handle), addr,
-					sizeof (quadlet_t), &buffer);
-				if (result < 0)
-					FAIL ("Failed to get channels available.");
-
-				buffer = ntohl (buffer);
-				DEBUG ("channels available before: 0x%08x", buffer);
-
-				if ((buffer & (1 << c)) != 0) {
-					swap = htonl (buffer & ~(1 << c));
-					compare = htonl (buffer);
-
-					result = raw1394_lock (handle, raw1394_get_irm_id (handle), addr,
-							   EXTCODE_COMPARE_SWAP, swap, compare, &new);
-					if ( (result < 0) || (new != compare) ) {
-						FAIL ("Failed to modify channel %d", opcr.channel);
-					}
-					DEBUG ("channels available after: 0x%08x", ntohl (swap));
-				}
-			}
-		}
-	}
-
-	return result;
+	return 0;
 }

--
Stefan Richter
-=====-==--= ---= -====
http://arcgraph.de/sr/


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libiec61883</Name>
        <Homepage>http://www.linux1394.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <License>GPLv2</License>
        <IsA>library</IsA>
        A library for capturing video (DV, MPEG2 or AMDTP) over the IEEE 1394 bus
        <Description>libiec61883 is a library providing third generation media reception and transmission for DV, MPEG2-TS, and AMDTP (audio and music) using only raw1394 and not the complicated setup and maintenance of other kernel modules and their /dev nodes.</Description>
        <Archive sha1sum="2ede483039df7595a00f173515737549c529cb72" type="targz">http://www.kernel.org/pub/linux/libs/ieee1394/libiec61883-1.2.0.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>libraw1394-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">libiec61883-1.2.0-installtests.patch</Patch>
            <Patch level="1">libiec61883-channel-allocation-without-local-node-rw.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>libiec61883</Name>
        <RuntimeDependencies>
            <Dependency>libraw1394</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <Package>
        <Name>libiec61883-devel</Name>
        Development files for libiec61883
        <RuntimeDependencies>
            <Dependency release="current">libiec61883</Dependency>
            <Dependency>libraw1394-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-02-17</Date>
            <Version>1.2.0</Version>
            <Comment>Rebuild.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>1.2.0</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-03-09</Date>
            <Version>1.2.0</Version>
            <Comment>First release</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvarice@gmail.com</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>libiec61883</Name>
        IEEE 1394 veriyolundan video dosyalarını aktarmak için kullanılan bir kütüphane
        <Description xml:lang="tr">IEEE 1394 veriyolundan video dosyalarını aktarmak için kullanılan bir kütüphane</Description>
        <Description xml:lang="fr">Cette librairie fournit aux les médias de troisième génération la réception et la transmission pour DV, MPEG2-TS et AMDTP (audio et musique) en n'utilisant que raw1394 sans nécessiter une configuration et une maintenance compliquées d'autres modules du noyau et de leurs nodes dans /dev.</Description>
        <Description xml:lang="es">La librería facilita recepción y transmisión de media de tercera generación para DV, MPEG2-TS, y AMDTP (audio y music), usando solamente la interfaz 1394 en crudo, sin configuración complicada y mantenimiento de otros módulos de kernel y nodos /dev correspondientes.</Description>
    </Source>

    <Package>
        <Name>libiec61883-devel</Name>
        libiec61883 için geliştirme dosyaları
    </Package>
</PISI>


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libraw1394</Name>
        <Homepage>http://www.linux1394.org/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <License>GPLv2</License>
        <IsA>library</IsA>
        A library that provides direct access to the IEEE 1394 bus
        <Description>libraw1394 library provides direct access to the IEEE-1394 bus through the Linux 1394 subsystem's raw1394 user interface. Support for both the classic ieee1394 and new firewire linux driver stacks is included.</Description>
        <Archive sha1sum="6e41b2ba9b28b810b18a88045ab8761d467bdf53" type="tarxz">https://www.kernel.org/pub/linux/libs/ieee1394/libraw1394-2.1.2.tar.xz</Archive>
    </Source>

    <Package>
        <Name>libraw1394</Name>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <Package>
        <Name>libraw1394-devel</Name>
        Development files for libraw1394
        <RuntimeDependencies>
            <Dependency release="current">libraw1394</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <History>
        <Update release="4">
            <Date>2017-02-17</Date>
            <Version>2.1.2</Version>
            <Comment>Rebuild for new toolchain.</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-11-27</Date>
            <Version>2.1.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>2.1.0</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-05-20</Date>
            <Version>2.1.0</Version>
            <Comment>First release</Comment>
            <Name>Serdar Soytetir</Name>
            <Email>kaptan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>libraw1394</Name>
        IEEE 1394 veriyoluna direk erişim sağlayan bir kütüphane
        <Description xml:lang="tr">IEEE 1394 yüksek hızlı bir seri veriyolu tanımlayan standarttır. Bu veriyolu Apple, i.Link ve Sony tarafından FireWire olarak adlandırılmıştır. Bu kütüphane IEEE 1394 veriyoluna direkt erişim sağlar.</Description>
        <Description xml:lang="fr">IEEE 1394 est un standard définissant un bus de série très rapide. Ce bus est également appelé FireWire par Apple ou i.Link par Sony.</Description>
        <Description xml:lang="es">IEEE 1394 es un estándar que define un bus serial de alta velocidad. Este bus lleva también el nombre FireWire por Apple o i.Link por Sony.</Description>
    </Source>

    <Package>
        <Name>libraw1394-devel</Name>
        libraw1394 için geliştirme dosyaları
    </Package>
</PISI>


code:
#!/usr/bin/python
# -*- 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 shelltools
from pisi.actionsapi import get

NoStrip = ["/"]

if "_" in get.srcVERSION():
    WorkDir = get.srcNAME()

def setup():
    pisitools.dosed("configure.ac", "multisound/Makefile", "")
    pisitools.dosed("Makefile.am", "multisound", "")

    autotools.autoreconf("-fi")
    autotools.configure("--with-hotplug-dir=/lib/firmware")

def build():
    autotools.make()

def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    #Remove conflicted file, it is in linux-firmware package
    pisitools.remove("lib/firmware/ctefx.bin")

    # Install additional readme files
    for d in ["hdsploader", "mixartloader", "pcxhrloader", "usx2yloader", "vxloader"]:
        pisitools.newdoc("%s/README" % d, "README.%s" % d)

    pisitools.dodoc("COPYING", "README")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>alsa-firmware</Name>
        <Homepage>http://www.alsa-project.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <License>GPLv2+</License>
        <License>LGPLv2+</License>
        <License>BSD</License>
        <IsA>data</IsA>
        <Summary>Firmware for several ALSA-supported sound cards</Summary>
        <Description>alsa-firmware contains the firmware binaries for a number of sound cards supported by the ALSA project.</Description>
        <Archive sha1sum="414f0b03ea4337c3bd4a9e689f33040173cba529" type="tarbz2">ftp://ftp.alsa-project.org/pub/firmware/alsa-firmware-1.0.29.tar.bz2</Archive>
    </Source>

    <Package>
        <Name>alsa-firmware</Name>
        <Files>
            <Path fileType="data">/usr/share/alsa/firmware</Path>
            <Path fileType="data">/lib/firmware</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-02-18</Date>
            <Version>1.0.29</Version>
            <Comment>Release Bump</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>1.0.29</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-03-04</Date>
            <Version>1.0.29</Version>
            <Comment>First release</Comment>
            <Name>Hakan Yıldız</Name>
            <Email>hknyldz93@gmail.com</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>alsa-firmware</Name>
        Çeşitli ALSA destekli ses kartları için firmware dosyaları
        <Description xml:lang="tr">alsa-firmware, ALSA sürücüleri tarafından desteklenen bazı ses kartları için gerekli firmware dosyalarını içerir.</Description>
        firmware (logiciel interne) pour l'Architecture Son Linux Avancée (ALSA).
    </Source>
</PISI>


code:
# -*- 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 pisitools
from pisi.actionsapi import get
from pisi.actionsapi import shelltools

#WorkDir = "broadcom-wl-%s" % get.srcVERSION()

def install():
    pisitools.dodir("/lib/firmware")

    for obj in ("wl_apsta-3.130.20.0.o", "broadcom-wl-6.30.163.46.wl_apsta.o"):
        shelltools.system("b43-fwcutter -w %s/lib/firmware %s" % (get.installDIR(), obj))


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>b43-firmware</Name>
        <Homepage>http://www.linuxwireless.org/en/users/Drivers/b43</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>freedist</License>
        <IsA>data</IsA>
        <Summary>Firmware for Broadcom B43 wireless network chips</Summary>
        <Description>Firmware for Broadcom wireless network chips</Description>
        <Archive sha1sum="b1f61d283bd7d05ade313da522cb0d0ad4033652" type="binary">http://mirror2.openwrt.org/sources/wl_apsta-3.130.20.0.o</Archive>
        <Archive sha1sum="237d29a7701429054f5c82c000ef2d9aa6f2c3db" type="tarbz2">http://www.lwfinger.com/b43-firmware/broadcom-wl-6.30.163.46.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>b43-fwcutter</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>b43-firmware</Name>
        <Files>
            <Path fileType="data">/lib/firmware</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-02-19</Date>
            <Version>6.30.163.46</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>5.100.138</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
       <Update release="1">
            <Date>2014-01-17</Date>
            <Version>5.100.138</Version>
            <Comment>First release</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>b43-firmware</Name>
        <Summary xml:lang="tr">Broadcom B43 kablosuz ağ çipleri için aygıt yazılımı</Summary>
        <Description xml:lang="tr">Broadcom kablosuz ağ çipleri için aygıt yazılımı</Description>
    </Source>
</PISI>


code:
# -*- 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

def build():
    autotools.make()

def install():
    pisitools.dobin("b43-fwcutter")

    pisitools.dodoc("COPYING", "README")
    pisitools.doman("*.1")


code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>b43-fwcutter</Name>
        <Homepage>http://bu3sch.de/b43/fwcutter</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:console</IsA>
        <Summary>Firmware Tool for Broadcom 43xx </Summary>
        <Description>Firmware Tool for Broadcom 43xx based wireless network devices using the mac80211 wireless stack</Description>
        <Archive sha1sum="64198fd2885b0eb0f8968ce3dc2037545b67f065" type="tarbz2">http://bues.ch/b43/fwcutter/b43-fwcutter-019.tar.bz2</Archive>
    </Source>

    <Package>
        <Name>b43-fwcutter</Name>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man/man1</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-02-18</Date>
            <Version>019</Version>
            <Comment>Version Bump</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>018</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-02-04</Date>
            <Version>018</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>b43-fwcutter</Name>
        <Summary xml:lang="tr">Broadcom kablosuz sürücüleri için firmware üretme aracı</Summary>
        <Description xml:lang="tr">b43-fwcutter Broadcom kablosuz sürücüleri için firmware üretmek için kullanılan basit bir araç içerir.</Description>
    </Source>
</PISI>


code:
<PISI>
    <Name>hardware.firmware</Name>
</PISI>


code:
<PISI>
    <Name>hardware.graphics</Name>
</PISI>


code:
#!/usr/bin/python
# -*- 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():
    autotools.autoreconf("-vfi")
    autotools.configure("--with-x86emu")

def build():
    autotools.make()

def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    pisitools.dodoc("COPYING")


code:
diff -Nur vbetool-1.1-old/vbetool.c vbetool-1.1/vbetool.c
--- vbetool-1.1-old/vbetool.c	2008-05-27 15:41:04.000000000 +0300
+++ vbetool-1.1/vbetool.c	2008-05-27 15:41:15.000000000 +0300
@@ -529,7 +529,7 @@
   r.edi = (unsigned long)(id-LRMI_base_addr()) & 0xf;

   if(sizeof(struct panel_id) != 32)
-    return fprintf(stderr, "oops: panel_id, sizeof struct panel_id != 32, it's %ld...\n", sizeof(struct panel_id)), 7;
+    return fprintf(stderr, "oops: panel_id, sizeof struct panel_id != 32, it's %u...\n", sizeof(struct panel_id)), 7;

   if(real_mode_int(0x10, &r))
     return fprintf(stderr, "Can't get panel id (vm86 failure)\n"), 8;


code:
Index: vbetool-1.0/Makefile.am
===================================================================
--- vbetool-1.0.orig/Makefile.am
+++ vbetool-1.0/Makefile.am
@@ -2,7 +2,7 @@ AUTOMAKE_OPTIONS = foreign

 sbin_PROGRAMS = vbetool

-vbetool_LDADD = $(libdir)/libpci.a
+vbetool_LDADD = -lpci -lz -lx86

 man_MANS = vbetool.1
 vbetool_SOURCES = vbetool.c $(x86)
@@ -14,4 +14,3 @@ maintainer-clean-local:
 	$(RM) Makefile.in aclocal.m4 config.h.in stamp-h.in configure

 AM_CFLAGS = -g -Wall -pedantic -std=gnu99
-AM_LDFLAGS = -lz -lx86


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>vbetool</Name>
        <Homepage>http://www.codon.org.uk/~mjg59/vbetool/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:console</IsA>
        <Summary>Alter video hardware state through video BIOS</Summary>
        <Description>vbetools is a real-mode video BIOS code to alter hardware state. Vbetool uses lrmi in order to run code from the video BIOS. It is able to alter DPMS states, save/restore video card state and attempt to initialize the video card from scratch.</Description>
        <Archive sha1sum="c7ba7c0635160c47fb1b94fd7c7cbe39cb717d22" type="targz">http://www.codon.org.uk/~mjg59/vbetool/download/vbetool-1.1.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>libx86-devel</Dependency>
            <Dependency>pciutils-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">vbetool-1.0-build-as-needed.patch</Patch>
            <Patch level="1">unsigned_int.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>vbetool</Name>
        <RuntimeDependencies>
            <Dependency>libx86</Dependency>
            <Dependency>pciutils</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="executable">/usr/sbin</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-02-17</Date>
            <Version>1.1</Version>
            <Comment>Rebuild.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>1.1</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-05-24</Date>
            <Version>1.1</Version>
            <Comment>First release</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>vbetool</Name>
        <Summary xml:lang="tr">Gerçek kipte ekran BIOS değiştirme aracı  (örn. ekran kartını yeniden başlatmak için)</Summary>
        <Description xml:lang="tr">Donanım durumunu değiştiren gerçek kipli video BIOS kodudur. Video BIOS'undan gelen kodları çalıştırmak için lrmi kullanır. Video kartının DPMS ve kaydet/tekrar inşaa et durumunun değiştirilmesini sağlar ve video kartının hatalı durumdan başlatılmasına çalışır.</Description>
    </Source>
</PISI>


code:
<PISI>
    <Name>hardware.info</Name>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt

from pisi.actionsapi import kde5
from pisi.actionsapi import pisitools

def setup():
    kde5.configure()

def build():
    kde5.make()

def install():
    kde5.install()

    pisitools.dodoc("CHANGELOG", "LICENSE", "README.md")


code:
diff --git a/settings/CMakeLists.txt b/settings/CMakeLists.txt
index 1662b6d..d977c02 100644
--- a/settings/CMakeLists.txt
+++ b/settings/CMakeLists.txt
@@ -21,6 +21,7 @@ target_link_libraries( libsettings
   Qt5::Core
   KF5::ConfigWidgets
   KF5::IconThemes
+  KF5::I18n
 )

 install( FILES diskmonitor.kcfg  DESTINATION ${KCFG_INSTALL_DIR})


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>diskmonitor</Name>
        <Homepage>https://github.com/papylhomme/diskmonitor</Homepage>
        <Packager>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        KDE tools to monitor SMART devices and MDRaid health status. Features a full application and a Plasma applet
        <Description>KDE tools to monitor SMART devices and MDRaid health status. Features a full application and a Plasma applet</Description>
        <Archive sha1sum="4c33d82adc763169aca24429f5cbc5a4dcd1df09" type="targz">https://github.com/papylhomme/diskmonitor/archive/0.3.1.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>extra-cmake-modules</Dependency>
            <Dependency>gettext-devel</Dependency>
            <Dependency>glibc-devel</Dependency>
            <Dependency>kconfigwidgets-devel</Dependency>
            <Dependency>kcoreaddons-devel</Dependency>
            <Dependency>ki18n-devel</Dependency>
            <Dependency>kiconthemes-devel</Dependency>
            <Dependency>knotifications-devel</Dependency>
            <Dependency>kxmlgui-devel</Dependency>
            <Dependency>plasma-workspace-devel</Dependency>
            <Dependency versionFrom="5.7.1">qt5-base-devel</Dependency>
            <Dependency versionFrom="5.7.1">qt5-quickcontrols2-devel</Dependency>
            <Dependency>udisks2-devel</Dependency>
            <Dependency versionFrom="5.7.1">qt5-declarative-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">ki18n.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>diskmonitor</Name>
        KDE tools to monitor SMART devices and MDRaid health status. Features a full application and a Plasma applet
        <RuntimeDependencies>
            <Dependency versionFrom="5.7.1">qt5-base</Dependency>
            <Dependency>ki18n</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>kconfig</Dependency>
            <Dependency>kxmlgui</Dependency>
            <Dependency>kcoreaddons</Dependency>
            <Dependency>kiconthemes</Dependency>
            <Dependency>kconfigwidgets</Dependency>
            <Dependency>knotifications</Dependency>
            <Dependency>kwidgetsaddons</Dependency>
            <Dependency versionFrom="5.7.1">qt5-declarative</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib/qt5</Path>
            <Path fileType="data">/usr/share</Path>
        </Files>
    </Package>
    <History>
        <Update release="2">
            <Date>2017-03-19</Date>
            <Version>0.3.1</Version>
            <Comment>Release bump.</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-11-20</Date>
            <Version>0.3.1</Version>
            <Comment>First Release</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
#!/usr/bin/python
# -*- 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 build():
    autotools.make("CC=%s CFLAGS='%s'" % (get.CC(), get.CFLAGS()))

def install():
    autotools.rawInstall("DESTDIR=%s prefix=/%s install-bin install-man" % (get.installDIR(), get.defaultprefixDIR()))

    pisitools.dodoc("AUTHORS", "CHANGELOG", "LICENSE", "README")


code:
#!/bin/sh -e

if [ -r /dev/mem -a -x /usr/sbin/dmidecode ]; then
        # dmidecode to grab the Chassis type
        dmitype=$(dmidecode|grep Chassis -A 10|grep -m1 Type|sed -e 's/.*Type: \(.*\)/\1/')

        if test "$dmitype" = "Notebook" || test "$dmitype" = "Portable"; then
                exit 0;
        fi
fi

# check for any ACPI batteries
if [ -d /proc/acpi/battery ]; then
        results=`find /proc/acpi/battery/ -mindepth 1 -type d`
        if [ ! -z "$results" ]; then
                exit 0
        fi
fi

# check for APM batteries. This sucks, because we'll only get a valid response
# if the laptop has a battery fitted at the time
if [ -f /proc/apm ]; then
    battery=`awk '{print $6}' </proc/apm`
    if [ "$battery" != "0xff" ] && [ "$battery" != "0x80" ]; then
	# There's a battery
	exit 0;
    fi
fi

#probably not a laptop; exit
exit 1


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>dmidecode</Name>
        <Homepage>http://www.nongnu.org/dmidecode/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:console</IsA>
        <Summary>Tool to analyse BIOS DMI data</Summary>
        <Description>dmidecode reports information about x86/ia64 hardware as described in the system BIOS according to the SMBIOS/DMI standard. This information typically includes system manufacturer, model name, serial number, BIOS version, asset tag as well as a lot of other details of varying level of interest and reliability depending on the manufacturer.</Description>
        <Archive sha1sum="3d61096a25fe55798faa882bff32f3bf6eb6366e" type="targz">http://download.savannah.gnu.org/releases/dmidecode/dmidecode-3.1.tar.gz</Archive>
    </Source>

    <Package>
        <Name>dmidecode</Name>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="executable">/usr/sbin</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0755" target="/usr/bin/laptop-detect">laptop-detect</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <History>
        <Update release="4">
            <Date>2018-01-04</Date>
            <Version>3.1</Version>
            <Comment>Version Bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-01-29</Date>
            <Version>3.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>2.12</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-01-22</Date>
            <Version>2.12</Version>
            <Comment>First release</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>dmidecode</Name>
        <Summary xml:lang="tr">BIOS DMI verisi inceleme araçları</Summary>
        <Description xml:lang="tr">dmidecode, bilgisayarınızın BIOS'unda verilmiş olan bilgilerin görüntülenmesini sağlar. Üretici ismi, model ismi, seri numarası, BIOS sürümü ve sistem üreticisine bağlı olarak değişiklik gösteren birçok bilgi, dmidecode ile görüntülenebilir.</Description>
        <Description xml:lang="fr">Dmidecode rapporte des informations à propos du matériel composant votre système tel qu'il est décrit dans votre BIOS. Cette information comprends typiquement le fabricant du système, le nom du modèle, le numéro de série, la version du BIOS, balises de traçabilité ainsi que beaucoup d'autres détails plus ou moins intéressants et fiables en fonction du fabricant.</Description>
    </Source>
</PISI>


code:
#!/usr/bin/python
# -*- 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 shelltools
from pisi.actionsapi import get

def build():
    shelltools.export("LDFLAGS", "%s -lgmodule-2.0" % get.LDFLAGS())
    autotools.make('CC=%s \
                    INSTALLROOT=/usr \
                    INCLUDEDIR=/usr/include/gkrellm2 \
                    LOCALEDIR=/usr/share/locale \
                    STRIP="" \
                    LINK_FLAGS="%s -Wl,-E" \
                    enable_nls=1 \
                    without-ssl=yes \
                    without-sensors=no \
                    without-libsensors=yes' % (get.CC(), get.LDFLAGS()))
                    # without ssl option enables gnutls

def install():
    autotools.rawInstall("DESTDIR=%s \
                          PREFIX=/usr" % get.installDIR())

    pisitools.insinto("/etc", "server/gkrellmd.conf")

    pisitools.doman("gkrellm.1")
    pisitools.doman("gkrellmd.1")

    pisitools.dodoc("CREDITS", "README", "Changelog", "COPYRIGHT")
    pisitools.dohtml("*")


code:
# -*- coding: utf-8 -*-
from comar.service import *
import os

serviceType = "server"
serviceDesc = _({"en": "GNU Krell Monitor Daemon",
                 "tr": "GNU Krell Sistem Takip Servisi"})

PIDFILE = "/run/gkrellmd.pid"

@synchronized
def start():
    startService(command="/usr/bin/gkrellmd",
                 pidfile=PIDFILE,
                 makepid=True,
                 donotify=True)

@synchronized
def stop():
    stopService(pidfile=PIDFILE,
                donotify=True)

    if os.path.exists(PIDFILE):
        os.unlink(PIDFILE)

def status():
    return isServiceRunning(PIDFILE)


code:
diff -Nur gkrellm-2.2.10-old/server/gkrellmd.conf gkrellm-2.2.10/server/gkrellmd.conf
--- gkrellm-2.2.10-old/server/gkrellmd.conf	2007-05-08 00:27:05.073863232 +0300
+++ gkrellm-2.2.10/server/gkrellmd.conf	2007-05-08 00:27:35.880179960 +0300
@@ -26,6 +26,8 @@
 #
 #user	nobody
 #group	proc
+user	nobody
+group	nogroup

 # Run in background and detach from the controlling terminal
 #detach


code:
[Desktop Entry]
Type=Application
Version=1.0
Encoding=UTF-8
Name=GKrellM
Name[tr]=GKrellM
GenericName=Krell Monitor
GenericName[tr]=Sistem Krell İzleyicisi
Icon=gkrellm
Exec=gkrellm
Terminal=false
StartupNotify=false
Categories=Application;System;


code:
Index: gkrellm-2.3.5/server/gkrellmd.conf
===================================================================
--- gkrellm-2.3.5.orig/server/gkrellmd.conf
+++ gkrellm-2.3.5/server/gkrellmd.conf
@@ -4,7 +4,7 @@
 # the client update frequency.  Values may be from 1 to 10 and should be
 # smaller values to reduce network traffic.
 #
-#update-hz 3
+update-hz 3

 # Limit number of simultaneous clients allowed to connect.
 #
@@ -17,7 +17,7 @@

 # Specify the port to listen on for connections.
 #
-#port 19150
+port 19150

 # List of hosts allowed to connect.  If no hosts are specified in a
 # gkrellmd.conf file or on the command line, all hosts will be allowed.
@@ -38,17 +38,17 @@ group	nogroup
 # Create a PID file for the running gkrellmd.  Default is no PID file.
 # NOTE: Option ignored on Windows
 #
-#pidfile /var/run/gkrellmd.pid
+pidfile /run/gkrellmd.pid

 # Run in background and detach from the controlling terminal
 # NOTE: Option ignored on Windows
 #
-#detach
+detach

 # Enable writing logging message to the system syslog file
 # NOTE: On windows this enables logging to the windows event log
 #
-#syslog
+syslog

 # Time interval between checks for various monitors.  If nfs-interval
 # is <= 0 then gkrellmd will not read data for nfs file system types.


code:
[Unit]
Description=GNU Krell Monitors server
After=network.target syslog.target hddtemp.service

[Service]
ExecStart=/usr/bin/gkrellmd

[Install]
WantedBy=multi-user.target


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>gkrellm</Name>
        <Homepage>http://www.gkrellm.net/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <Icon>gkrellm</Icon>
        <IsA>app:gui</IsA>
        <IsA>service</IsA>
        A compact and clean system monitoring tool
        <Description>A program to monitor system status, and to collect system information such as memory usage, cpu temperature etc.</Description>
        <Archive sha1sum="635f08a611da58582654571370166cdeeee56e24" type="tarbz2">http://gkrellm.srcbox.net/releases/gkrellm-2.3.10.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>gnutls-devel</Dependency>
            <Dependency>gtk2-devel</Dependency>
            <Dependency>pango-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>libgcrypt-devel</Dependency>
            <Dependency>libICE-devel</Dependency>
            <Dependency>libSM-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">drop_privileges.patch</Patch>
            <Patch level="1">gkrellmd-conf.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>gkrellm</Name>
        <RuntimeDependencies>
            <Dependency>gnutls</Dependency>
            <Dependency>gtk2</Dependency>
            <Dependency>pango</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libgcrypt</Dependency>
            <Dependency>libICE</Dependency>
            <Dependency>gdk-pixbuf</Dependency>
            <Dependency>libSM</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="data">/usr/share</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/applications/gkrellm.desktop">gkrellm.desktop</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/pixmaps/gkrellm.png">gkrellm.png</AdditionalFile>
        </AdditionalFiles>
        <Provides>
            <COMAR script="service.py">System.Service</COMAR>
        </Provides>
    </Package>

    <Package>
        <Name>gkrellm-devel</Name>
        Development files for gkrellm
        <RuntimeDependencies>
            <Dependency release="current">gkrellm</Dependency>
            <Dependency>gtk2-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <History>
        <Update release="4">
            <Date>2018-01-04</Date>
            <Version>2.3.10</Version>
            <Comment>Version Bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-01-29</Date>
            <Version>2.3.9</Version>
            <Comment>Version bump.</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>2.3.5</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-04-01</Date>
            <Version>2.3.5</Version>
            <Comment>First release</Comment>
            <Name>Aydın Demirel</Name>
            <Email>aydin.demirel@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>gkrellm</Name>
        Sade görünümlü sistem durumu izleyicisi
        <Description xml:lang="tr">Bilgisayarınızın bileşenlerinin durumunu takip edebileceğiniz, hafıza kullanımı, işlemci sıcaklığı gibi bilgiler veren bir araç.</Description>
    </Source>

    <Package>
        <Name>gkrellm-devel</Name>
        gkrellm için geliştirme dosyaları
    </Package>
</PISI>