code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>startup-notification</Name>
        Uygulama başlangıç duyurusu ve geribildirim sistemi
        <Description xml:lang="tr">startup-notification, bir program başlatıldığında bunu masaüstü ortamına bildirir.</Description>
        <Description xml:lang="fr">startup-notification est un exemple d'implémentation de notification de démarrage (indiquant à l'environnement bureautique qu'une application a fini de démarrer).</Description>
    </Source>

    <Package>
        <Name>startup-notification-devel</Name>
        startup-notification 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

def setup():
    autotools.configure("--prefix=/usr --sysconfdir=/etc")

def build():
    autotools.make("-C po update-gmo")
    autotools.make()

def install():
    autotools.install()

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

repo_name: ayhanyalcinsoy/main


code:
Index: xdg-user-dirs-0.12/user-dirs.defaults
===================================================================
--- xdg-user-dirs-0.12.orig/user-dirs.defaults
+++ xdg-user-dirs-0.12/user-dirs.defaults
@@ -4,8 +4,8 @@
 # will be translated on a per-path-element basis into the users locale
 DESKTOP=Desktop
 DOWNLOAD=Downloads
-TEMPLATES=Templates
-PUBLICSHARE=Public
+#TEMPLATES=Templates
+#PUBLICSHARE=Public
 DOCUMENTS=Documents
 MUSIC=Music
 PICTURES=Pictures


code:
--- po/tr.po.orig	2013-06-27 11:22:27.000000000 +0300
+++ po/tr.po	2014-05-01 00:52:59.731840077 +0300
@@ -1,20 +1,23 @@
 # Turkish translation for xdg-user-dirs.
 # Copyright (C) 2007 Red Hat, Inc
 # This file is distributed under the same license as the xgd-user-dirs package.
-# Baris Cicek <baris@teamforce.name.tr>, 2007.
 #
+# Baris Cicek <baris@teamforce.name.tr>, 2007.
+# Serdar Soytetir <tulliana@gmail.com>, 2014.
 msgid ""
 msgstr ""
 "Project-Id-Version: xdg-user-dirs\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2013-06-27 10:18+0200\n"
-"PO-Revision-Date: 2007-02-27 15:22:+0100\n"
-"Last-Translator: Baris Cicek <baris@teamforce.name.tr>\n"
+"PO-Revision-Date: 2014-05-01 00:52+0300\n"
+"Last-Translator: Serdar Soytetir <tulliana@gmail.com>\n"
 "Language-Team: Turkish <gnome-turk@gnome.org>\n"
 "Language: tr\n"
 "MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=utf-8\n"
+"Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+"X-Generator: Lokalize 1.5\n"

 #: translate.c:2
 msgid "Applications"
@@ -46,15 +49,13 @@

 #: translate.c:5
 msgid "download"
-msgstr "indirilenler"
+msgstr "indir"

 #: translate.c:6
-#, fuzzy
 msgid "Downloads"
 msgstr "İndirilenler"

 #: translate.c:6
-#, fuzzy
 msgid "downloads"
 msgstr "indirilenler"

@@ -112,7 +113,7 @@

 #: translate.c:13
 msgid "share"
-msgstr "paylaşım"
+msgstr "paylaş"

 #: translate.c:14
 msgid "Templates"
@@ -129,3 +130,4 @@
 #: translate.c:15
 msgid "videos"
 msgstr "videolar"
+


code:
http://bugs.gentoo.org/366885
http://bugs.gentoo.org/499940

--- Makefile.am
+++ Makefile.am
@@ -16,7 +16,7 @@
 xdgdir=$(sysconfdir)/xdg
 xdg_DATA=user-dirs.conf user-dirs.defaults

-libraries = $(LIBINTL)
+libraries = $(LIBINTL) $(LIBICONV)

 bin_PROGRAMS =					\
 	xdg-user-dirs-update			\


code:
#!/bin/sh
# Set up user directories like ~/Desktop and ~/Music
if [ -x /usr/bin/xdg-user-dirs-update ]; then
  /usr/bin/xdg-user-dirs-update
fi


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>xdg-user-dirs</Name>
        <Homepage>http://freedesktop.org/wiki/Software/xdg-user-dirs</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:console</IsA>
        <Summary>Utilities to handle user data directories</Summary>
        <Description>xdg-user-dirs is a tool to help manage "well known" user directories like the desktop folder and the music folder. It also handles localization (i.e. translation) of the filenames.</Description>
        <Archive sha1sum="4a30055f4570c11b8473db76b3cb4586a67afc53" type="targz">http://user-dirs.freedesktop.org/releases/xdg-user-dirs-0.16.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>docbook-xsl</Dependency>
            <Dependency>libxml2-devel</Dependency>
            <Dependency>libxslt-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">defaults.patch</Patch>
            <Patch level="0">tr.patch</Patch>
            <Patch>xdg-user-dirs-0.15-libiconv.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>xdg-user-dirs</Name>
        <Files>
            <Path fileType="data">/etc/X11</Path>
            <Path fileType="config">/etc/xdg</Path>
            <Path fileType="executable">/usr/bin</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 owner="root" permission="0755" target="/etc/X11/xinit/xinitrc.d/60-xdg-user-dirs.sh">xdg-user-dirs.sh</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <History>
        <Update release="4">
            <Date>2018-01-17</Date>
            <Version>0.16</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-02-28</Date>
            <Version>0.15</Version>
            <Comment>Rebuild.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>0.15</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-05-01</Date>
            <Version>0.15</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>xdg-user-dirs</Name>
        <Summary xml:lang="tr">Kullanıcı veri dizinlerini idare etmek için yardımcı uygulamalar</Summary>
        <Description xml:lang="tr">xdg-user-dirs, masaüstü ve müzik klasörleri gibi belli başlı kullanıcı dizinlerini yönetmek için bir araçtır. Ayrıca dosya adlarının yerelleştirilmesini de (ör. metin çevirileri) idare eder.</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 get

def setup():
    #autotools.autoreconf("-vif")
    autotools.configure()

def build():
    autotools.make()

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


code:
Index: xdg-utils-1.0.2.20100618/scripts/Makefile.in
===================================================================
--- xdg-utils-1.0.2.20100618.orig/scripts/Makefile.in
+++ xdg-utils-1.0.2.20100618/scripts/Makefile.in
@@ -5,7 +5,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(IN
 INSTALL_LIBRARY = @INSTALL_PROGRAM@ $(INSTALL_PROGRAM_FLAGS)
 INSTALL_SCRIPT  = @INSTALL_SCRIPT@ $(INSTALL_SCRIPT_FLAGS)
 INSTALL_DATA    = @INSTALL_DATA@ $(INSTALL_DATA_FLAGS)
-XMLTO           = @XMLTO@
+XMLTO           = @XMLTO@ --skip-validation

 prefix          = @prefix@
 exec_prefix     = @exec_prefix@


code:
diff -Nur xdg-utils-1.0.2.20100618-old//scripts/Makefile.in xdg-utils-1.0.2.20100618//scripts/Makefile.in
--- xdg-utils-1.0.2.20100618-old//scripts/Makefile.in	2010-10-27 10:39:56.381000014 +0300
+++ xdg-utils-1.0.2.20100618//scripts/Makefile.in	2010-10-27 10:41:44.799000093 +0300
@@ -20,11 +20,11 @@
     xdg-open \
     xdg-email \
     xdg-screensaver \
-    xdg-settings
-#    xdg-su
-#    xdg-copy \
-#    xdg-file-dialog
-#    xdg-terminal
+    xdg-settings \
+    xdg-su \
+    xdg-copy \
+    xdg-file-dialog \
+    xdg-terminal

 MANPAGES=	$(SCRIPTS:%=man/%.1)
 WEBPAGES=	$(SCRIPTS:%=%.html)


code:
Index: xdg-utils-1.0.2/scripts/xdg-su
===================================================================
--- xdg-utils-1.0.2.orig/scripts/xdg-su
+++ xdg-utils-1.0.2/scripts/xdg-su
@@ -351,6 +351,26 @@ su_gnome()
             exit_failure_operation_failed
         fi
     else
+        su_gk
+    fi
+}
+
+su_gk()
+{
+    GKSU=`which gksu 2>/dev/null`
+    if [ $? -eq 0 ] ; then
+        if [ -z "$user" ] ; then
+            $GKSU "$cmd"
+        else
+            $GKSU -u "$user" "$cmd"
+        fi
+
+        if [ $? -eq 0 ]; then
+            exit_success
+        else
+            exit_failure_operation_failed
+        fi
+    else
         su_generic
     fi
 }
@@ -427,6 +447,10 @@ case "$DE" in
     su_gnome
     ;;

+    xfce)
+    su_gk
+    ;;
+
     generic)
     su_generic
     ;;


code:
From 31db8136bdf61e7f9cb866f9d47c99c63343558d Mon Sep 17 00:00:00 2001
From: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
Date: Fri, 15 Apr 2016 11:17:37 +0200
Subject: xdg-mime: support for KDE Frameworks 5.6

diff --git a/scripts/xdg-mime.in b/scripts/xdg-mime.in
index 129850f..63b8a82 100644
--- a/scripts/xdg-mime.in
+++ b/scripts/xdg-mime.in
@@ -428,13 +428,9 @@ defapp_kde()
       case "${KDE_SESSION_VERSION}" in
         4)
           KTRADER=`which ktraderclient 2> /dev/null`
-          MIMETYPE="--mimetype"
-          SERVICETYPE="--servicetype"
         ;;
         5)
           KTRADER=`which ktraderclient${KDE_SESSION_VERSION} 2> /dev/null`
-          MIMETYPE="--mimetype"
-          SERVICETYPE="--servicetype"
         ;;
       esac
     else
@@ -442,8 +438,8 @@ defapp_kde()
     fi
     if [ -n "$KTRADER" ] ; then
         DEBUG 1 "Running KDE trader query \"$MIME\" mimetype and \"Application\" servicetype"
-        trader_result=`$KTRADER $MIMETYPE "$MIME" $SERVICETYPE Application 2>/dev/null \
-            | grep DesktopEntryPath | head -n 1 | cut -d ':' -f 2 | cut -d \' -f 2`
+        trader_result=`$KTRADER --mimetype "$MIME" --servicetype Application 2>/dev/null \
+            | grep -E "^DesktopEntryPath : |\.desktop$" | head -n1 | sed "s/^DesktopEntryPath : '\(.*\.desktop\)'\$/\1/"`
         if [ -n "$trader_result" ] ; then
             basename "$trader_result"
             exit_success
@@ -954,4 +950,3 @@ esac
 update_mime_database $xdg_base_dir

 exit_success
-
--
cgit v0.10.2


code:
--- scripts/xdg-utils-common.in.OSmanOS	        2012-10-08 18:26:46.000000000 +0300
+++ scripts/xdg-utils-common.in	                2013-04-05 18:22:55.816631216 +0300
@@ -280,7 +280,7 @@
       elif [ x"$GNOME_DESKTOP_SESSION_ID" != x"" ]; then DE=gnome;
       elif [ x"$MATE_DESKTOP_SESSION_ID" != x"" ]; then DE=mate;
       elif `dbus-send --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.GetNameOwner string:org.gnome.SessionManager > /dev/null 2>&1` ; then DE=gnome;
-      elif xprop -root _DT_SAVE_MODE 2> /dev/null | grep ' = \"xfce4\"$' >/dev/null 2>&1; then DE=xfce;
+      elif xprop -root | grep -qw XFCE_DESKTOP_WINDOW 2>&1; then DE=xfce;
       elif xprop -root 2> /dev/null | grep -i '^xfce_desktop_window' >/dev/null 2>&1; then DE=xfce
       fi
     fi


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>xdg-utils</Name>
        <Homepage>https://www.freedesktop.org/wiki/Software/xdg-utils</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>MIT</License>
        <IsA>app:console</IsA>
        <Summary>Common desktop utilities</Summary>
        <Description>Xdg-utils is a set of command line tools that assist applications with a variety of desktop integration tasks. About half of the tools focus on tasks commonly required during the installation of a desktop application and the other half focuses on integration with the desktop environment while the application is running.</Description>
        <Archive sha1sum="20cd4cc5cfaa904b12abf6d584deb568367f4d83" type="targz">https://portland.freedesktop.org/download/xdg-utils-1.1.2.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>xmlto</Dependency>
            <Dependency>docbook-xsl</Dependency>
            <Dependency>util-linux</Dependency>
            <Dependency>libxslt</Dependency>
            <Dependency>lynx</Dependency>
        </BuildDependencies>
        <Patches>
            <!--Patch level="1">xdg-utils-1.1.1-ktraderclient5.patch</Patch-->
        </Patches>
    </Source>

    <Package>
        <Name>xdg-utils</Name>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <History>
        <Update release="5">
            <Date>2018-01-17</Date>
            <Version>1.1.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2017-03-05</Date>
            <Version>1.1.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-02-17</Date>
            <Version>1.1.0_20140207</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>1.1.0_20140207</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-02-16</Date>
            <Version>1.1.0_20140207</Version>
            <Comment>First release</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>xdg-utils</Name>
        Ortak masaüstü komutları
        Utilitaires de bureaux communs.
    </Source>
</PISI>


code:
<PISI>
    <Name>desktop.pisilinux</Name>
</PISI>


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

from pisi.actionsapi import pythonmodules
from pisi.actionsapi import pisitools

def install():
    pythonmodules.compile()
    pythonmodules.install()

    #Remove history-manager from systemsettings, we have a painful crash because of the thread problem of pykde/python
    #pisitools.remove("/usr/kde/4/share/kde4/services/kcm_historymanager.desktop")


code:
--- historymanager5.py	2018-01-05 16:34:47.539037429 +0300
+++ historymanager/historymanager5.py	2018-01-17 12:25:47.299975000 +0300
@@ -33,7 +33,7 @@
     app = QApplication(sys.argv)
     app.setOrganizationName("history-manager")
     app.setApplicationName("history-manager")
-    app.setApplicationVersion("0.2.8.0")
+    app.setApplicationVersion("0.2.8b")

     locale = QLocale.system().name()
     translator = QTranslator(app)
@@ -42,9 +42,9 @@

     # Create Main Widget and make some settings
     mainWindow = MainManager(None, app= app)
-    mainWindow.show()
     mainWindow.resize(640, 480)
     mainWindow.setWindowIcon(QIcon.fromTheme("view-history"))
+    mainWindow.show()

     # Create connection for lastWindowClosed signal to quit app
     app.lastWindowClosed.connect(app.quit)
@@ -54,4 +54,4 @@

 if __name__ == '__main__':
-    main()
\ Dosya sonunda yenisatır yok.
+    main()


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>history-manager</Name>
        <Homepage>https://github.com/PisiLinuxNew/history-manager/</Homepage>
        <Packager>
         <Name>Metehan Özbek</Name>
        <Email>admin@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:gui</IsA>
        <Summary>KDE5 port of History Manager Tool</Summary>
        <Description>History manager is a graphical interface to pisi snapshot facilities.</Description>
        <Archive sha1sum="100f05962b829e781fc336b47bf85a210a93859a" type="targz">https://github.com/PisiLinuxNew/history-manager/archive/0.2.8.0-Beta.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>python-qt5-devel</Dependency>
            <Dependency>pypolkit</Dependency>
            <Dependency>qt5-base-devel</Dependency>
            <Dependency>python-setuptools</Dependency>
            <Dependency>qt5-linguist</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch>history-manager-fixed-window-title.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>history-manager</Name>
        <RuntimeDependencies>
            <Dependency>python-qt5</Dependency>
            <Dependency>pypolkit</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="library">/usr/lib/python*</Path>
            <Path fileType="data">/usr/share</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2018-01-17</Date>
            <Version>0.2.8.0b</Version>
            <Comment>fixed window title issue for other desktops.</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2017-04-08</Date>
            <Version>0.2.8.0b</Version>
            <Comment>Release bump</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-06-18</Date>
            <Version>0.2.8.0b</Version>
            <Comment>First release</Comment>
            <Name>Metehan Özbek</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>history-manager</Name>
        <Summary xml:lang="tr">Pisi Geçmiş Yöneticisi uygulaması</Summary>
        <Description xml:lang="tr">Pisi ile yapılan işlem geçmişini gösterme, sistemi belirli noktaya döndürme, yeni görüntü alma gibi geçmiş yönetimi işlemleri yapmayı sağlayan araç.</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 pythonmodules
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
import glob

def install():
    pythonmodules.install(pyVer = "3")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>kaptan</Name>
        <Homepage>http://pisilinux.org</Homepage>
        <Packager>
            <Name>Metehan Özbek</Name>
            <Email>mthnzbk@gmail.com</Email>
        </Packager>
        <License>GPLv3</License>
        <Icon>kaptan</Icon>
        <IsA>app:gui</IsA>
        <Summary>Kaptan, Pisi Linux workspace configuration wizard</Summary>
        <Description>Kaptan lets you configure your workspace on first login.</Description>
        <Archive sha1sum="c1c79d918f05619fb9b4d46da917fe9652b40efe" type="targz">https://github.com/PisiLinuxNew/kaptan/archive/beta7.1.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>python3-setuptools</Dependency>
            <Dependency>python3-qt5</Dependency>
            <Dependency>python3-devel</Dependency>
            <Dependency versionFrom="5.7.1">qt5-linguist</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>kaptan</Name>
        <RuntimeDependencies>
            <Dependency>python3-qt5</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="data">/usr/share/kaptan</Path>
            <Path fileType="data">/usr/lib/python3.6/site-packages</Path>
            <Path fileType="data">/usr/share/applications</Path>
            <Path fileType="data">/usr/share/icons</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="localdata">/usr/share/kaptan/languages</Path>
            <Path fileType="config">/etc</Path>
        </Files>
    </Package>

    <History>
        <Update release="9">
            <Date>2017-04-05</Date>
            <Version>7.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="8">
            <Date>2017-03-03</Date>
            <Version>7.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="7">
            <Date>2017-03-03</Date>
            <Version>6.0</Version>
            <Comment>Rebuild for new Toolchain.</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="6">
            <Date>2016-08-09</Date>
            <Version>5.0</Version>
            <Comment>Release Bump</Comment>
            <Name>Metehan Özbek</Name>
            <Email>mthnzbk@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2016-07-20</Date>
            <Version>5.1.2</Version>
            <Comment>Release Bump</Comment>
            <Name>Metehan Özbek</Name>
            <Email>mthnzbk@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2016-06-09</Date>
            <Version>5.1.1</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-05-29</Date>
            <Version>5.1.1</Version>
            <Comment>version bump</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-17</Date>
            <Version>5.1</Version>
            <Comment>version bump</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-05-17</Date>
            <Version>5.0</Version>
            <Comment>version bump</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>kaptan</Name>
        Pisi Linux Kaptan
        Pisi Linux Kaptan
        <Description xml:lang="tr">Kaptan, bilgisayarınız ilk defa açıldığında çalışma ortamınızı kişiselleştirmenize yardımcı olur.</Description>
        <Description xml:lang="es">Kaptan, el asistente de inicio de Pisi Linux que le ayudará a personalizar su entorno de trabajo.</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 pythonmodules
from pisi.actionsapi import pisitools
from pisi.actionsapi import kde5

def install():
    #pisitools.dosed("data/*.desktop", "Icon=application-x-pisi", "Icon=/usr/share/icons/breeze/apps/128/package-manager.png")
    pythonmodules.install()

    # Copy Notification Rc file for Kde 4
    pisitools.insinto("%s/package-manager/" % kde5.appsdir, "src/package-manager.notifyrc")

    for lang in ('de','en','es','fr','nl','sv','tr'):
        pisitools.insinto("%s/html/%s/package-manager/" % (kde5.docdir, lang),
                          "help/%s/main_help.html" % lang, "index.html")


code:
diff -Nuar package-manager1/src/basketdialog.py package-manager2/src/basketdialog.py
--- package-manager1/src/basketdialog.py	2018-01-05 16:39:51.822057000 +0300
+++ src/basketdialog.py	2018-01-13 13:56:07.000000000 +0300
@@ -12,6 +12,7 @@

 from PyQt5 import QtGui, QtWidgets
 from PyQt5.QtCore import *
+from PyQt5.QtGui import *

 from packagemodel import GroupRole
 from packageproxy import PackageProxy
@@ -48,10 +49,10 @@

         self.actionButton.clicked.connect(self.action)
         self.cancelButton.clicked.connect(self._hide)
-        self.cancelButton.setIcon(KIcon("dialog-close"))
+        self.cancelButton.setIcon(QIcon.fromTheme("window-close"))

         self.clearButton.clicked.connect(self.clearSelections)
-        self.clearButton.setIcon(KIcon("trashcan_empty"))
+        self.clearButton.setIcon(QIcon.fromTheme("list-remove"))

     def clearSelections(self):
         sure = QtWidgets.QMessageBox.question(self, _translate("Packaga Manager","Clear Basket"),
diff -Nuar package-manager1/src/grouplist.py package-manager2/src/grouplist.py
--- package-manager1/src/grouplist.py	2018-01-05 16:39:51.822057000 +0300
+++ src/grouplist.py	2018-01-16 16:09:22.000000000 +0300
@@ -19,9 +19,10 @@
 from PyQt5.QtCore import QVariant
 from PyQt5.QtCore import QCoreApplication

-from PyQt5.QtGui import QIcon
+from PyQt5.QtGui import *
 from PyQt5.QtWidgets import QListWidget
 from PyQt5.QtWidgets import QListWidgetItem
+from pds import qiconloader

 from pmutils import *
 from statemanager import StateManager
@@ -34,7 +35,8 @@
         super(GroupList, self).__init__(parent)
         #QListWidget.__init__(self, parent)
         self.iface = backend.pm.Iface()
-        self.defaultIcon = KIcon(('applications-other', 'unknown'), KIconLoader.SizeSmallMedium)
+        #self.defaultIcon = KIcon(('applications-other', 'unknown'), KIconLoader.SizeSmallMedium)
+        self.defaultIcon= QIcon('/usr/share/package-manager/data/application-x-pisi.svg')
         self.itemClicked[QListWidgetItem].connect(self.slotGroupChanged)
         self.itemSelectionChanged.connect(self.slotGroupChanged)
         self._list = {}
@@ -65,13 +67,14 @@
             package_count = content[2]

         icon = KIcon(icon_path, KIconLoader.SizeSmallMedium)
+        #icon = QIcon(QPixmap(icon_path).scaled(32,32))
         if icon.isNull():
             icon = self.defaultIcon
         text = "%s (%d)" % (localName, package_count)
         item = QListWidgetItem(icon, text, self)
         item.setToolTip(localName)
         item.setData(Qt.UserRole, QVariant(unicode(name)))
-        item.setSizeHint(QSize(0, KIconLoader.SizeMedium))
+        item.setSizeHint(QSize(0, QIconLoader.SizeMedium))
         self._list[name] = item

     def moveAllToFirstLine(self):
diff -Nuar package-manager1/src/mainwidget.py package-manager2/src/mainwidget.py
--- package-manager1/src/mainwidget.py	2018-01-05 16:39:51.822057000 +0300
+++ src/mainwidget.py	2018-01-13 13:56:07.000000000 +0300
@@ -19,7 +19,7 @@
 from PyQt5.QtWidgets import QMessageBox
 from PyQt5.QtWidgets import QPushButton
 from PyQt5.QtWidgets import QToolButton
-from PyQt5.QtGui import QFontMetrics
+from PyQt5.QtGui import *

 from PyQt5.QtCore import Qt
 from PyQt5.QtCore import QSize
@@ -84,7 +84,7 @@
         self.statusUpdater = StatusUpdater()
         self.basket = BasketDialog(self.state, self.parent)
         self._postexceptions.append(lambda: self.basket.setActionEnabled(True))
-        self.searchButton.setIcon(KIcon(("edit-find", "find")))
+        self.searchButton.setIcon(QIcon.fromTheme('edit-find'))
         self.initializeUpdateTypeList()

         model = PackageModel(self)
@@ -446,10 +446,14 @@

     def initializeUpdateTypeList(self):
         self.typeCombo.clear()
-        UPDATE_TYPES = [['normal', _translate("Packaga Manager",'All Updates'), ('system-software-update', 'ledgreen')],
-                        ['security', _translate("Packaga Manager",'Security Updates'), ('security-medium', 'ledyellow')],
-                        ['critical', _translate("Packaga Manager",'Critical Updates'), ('security-low', 'ledred')]]
+        self.typeCombo.addItem(QIcon.fromTheme('system-software-update'), _translate("Packaga Manager",'All Updates'), 'normal')
+        self.typeCombo.addItem(QIcon.fromTheme('security-medium'), _translate("Packaga Manager",'Security Updates'), 'security')
+        self.typeCombo.addItem(QIcon.fromTheme('security-low'), _translate("Packaga Manager",'Critical Updates'), 'critical')
+
+        #UPDATE_TYPES = [['normal', _translate("Packaga Manager",'All Updates'), ('system-software-update', 'ledgreen')],
+                        #['security', _translate("Packaga Manager",'Security Updates'), ('security-medium', 'ledyellow')],
+                        #['critical', _translate("Packaga Manager",'Critical Updates'), ('security-low', 'ledred')]]

-        for type in UPDATE_TYPES:
-            self.typeCombo.addItem(KIcon(type[2]), type[1], QVariant(type[0]))
+        #for type in UPDATE_TYPES:
+            #self.typeCombo.addItem(KIcon(type[2]), type[1], QVariant(type[0]))

diff -Nuar package-manager1/src/mainwindow.py package-manager2/src/mainwindow.py
--- package-manager1/src/mainwindow.py	2018-01-05 16:39:51.823057000 +0300
+++ src/mainwindow.py	2018-01-16 22:15:10.000000000 +0300
@@ -57,7 +57,7 @@
         self.busy = QProgressIndicator(self)
         self.busy.setFixedSize(QSize(20, 20))

-        self.setWindowIcon(QIcon(":/data/package-manager.svg"))
+        self.setWindowIcon(QIcon("/usr/share/package-manager/data/tray-zero.svg"))

         self.setCentralWidget(MainWidget(self))
         self.cw = self.centralWidget()
@@ -110,7 +110,7 @@
         self.cw.switchState(StateManager.UPGRADE)

         KApplication.kApplication().updateUserTimestamp()
-
+
         self.show()
         self.raise_()

@@ -137,35 +137,35 @@

     def initializeOperationActions(self):

-        self.showAllAction = QAction(KIcon(("applications-other", "package_applications")), _translate("Packaga Manager","All Packages"), self)
+        self.showAllAction = QAction(QIcon.fromTheme("media-optical"), _translate("Packaga Manager","All Packages"), self)
         self.showAllAction.triggered.connect(lambda:self.cw.switchState(StateManager.ALL))
-        self.cw.stateTab.addTab(QWidget(), KIcon(("applications-other", "package_applications")), _translate("Packaga Manager","All Packages"))
+        self.cw.stateTab.addTab(QWidget(), QIcon.fromTheme("media-optical"), _translate("Packaga Manager","All Packages"))

-        self.showInstallAction = QAction(KIcon(("list-add", "add")), _translate("Packaga Manager","Installable Packages"), self)
+        self.showInstallAction = QAction(QIcon.fromTheme("list-remove"), _translate("Packaga Manager","Installable Packages"), self)
         self.showInstallAction.triggered.connect(lambda:self.cw.switchState(StateManager.INSTALL))
-        self.cw.stateTab.addTab(QWidget(), KIcon(("list-add", "add")), _translate("Packaga Manager","Installable Packages"))
+        self.cw.stateTab.addTab(QWidget(), QIcon.fromTheme("list-add"), _translate("Packaga Manager","Installable Packages"))

-        self.showRemoveAction = QAction(KIcon(("list-remove", "remove")), _translate("Packaga Manager","Installed Packages"), self)
+        self.showRemoveAction = QAction(QIcon.fromTheme("list-add"), _translate("Packaga Manager","Installed Packages"), self)
         self.showRemoveAction.triggered.connect(lambda:self.cw.switchState(StateManager.REMOVE))
-        self.cw.stateTab.addTab(QWidget(), KIcon(("list-remove", "remove")), _translate("Packaga Manager","Installed Packages"))
+        self.cw.stateTab.addTab(QWidget(), QIcon.fromTheme("list-remove"), _translate("Packaga Manager","Installed Packages"))

-        self.showUpgradeAction = QAction(KIcon(("system-software-update", "gear")), _translate("Packaga Manager","Updates"), self)
+        self.showUpgradeAction = QAction(QIcon.fromTheme("system-software-update"), _translate("Packaga Manager","Updates"), self)
         self.showUpgradeAction.triggered.connect(lambda:self.cw.switchState(StateManager.UPGRADE))
-        self.cw.stateTab.addTab(QWidget(), KIcon(("system-software-update", "gear")), _translate("Packaga Manager","Updates"))
+        self.cw.stateTab.addTab(QWidget(), QIcon("/usr/share/package-manager/data/star_1.svg"), _translate("Packaga Manager","Updates"))

-        self.showPreferences = QAction(KIcon(("preferences-system", "package_settings")), _translate("Packaga Manager","Settings"), self)
+        self.showPreferences = QAction(QIcon.fromTheme("preferences-system"), _translate("Packaga Manager","Settings"), self)
         self.showPreferences.triggered.connect(self.settingsDialog.show_)

-        self.actionHelp = QAction(KIcon("help"), _translate("Packaga Manager","Help"), self)
+        self.actionHelp = QAction(QIcon.fromTheme("help-about"), _translate("Packaga Manager","Help"), self)
         self.actionHelp.setShortcuts(QKeySequence.HelpContents)
         self.actionHelp.triggered.connect(self.showHelp)

-        self.actionQuit = QAction(KIcon("exit"), _translate("Packaga Manager","Quit"), self)
+        self.actionQuit = QAction(QIcon.fromTheme("media-eject"), _translate("Packaga Manager","Quit"), self)
         self.actionQuit.setShortcuts(QKeySequence.Quit)
         self.actionQuit.triggered.connect(qApp.exit)

         self.cw.menuButton.setMenu(QMenu('MainMenu', self.cw.menuButton))
-        self.cw.menuButton.setIcon(KIcon(("preferences-system", "package_settings")))
+        self.cw.menuButton.setIcon(QIcon.fromTheme("preferences-system"))
         self.cw.menuButton.menu().clear()

         self.cw.contentHistory.hide()
@@ -182,7 +182,7 @@

         self.showAllAction.setChecked(True)
         self.cw.checkUpdatesButton.hide()
-        self.cw.checkUpdatesButton.setIcon(KIcon(("view-refresh", "reload")))
+        self.cw.checkUpdatesButton.setIcon(QIcon.fromTheme("system-reboot"))
         self.cw.showBasketButton.clicked.connect(self.cw.showBasket)

         # Little time left for the new ui
diff -Nuar package-manager1/src/packagedelegate.py package-manager2/src/packagedelegate.py
--- package-manager1/src/packagedelegate.py	2018-01-05 16:39:51.823057000 +0300
+++ src/packagedelegate.py	2018-01-16 21:47:01.000000000 +0300
@@ -35,12 +35,15 @@
 from PyQt5.QtCore import QPoint
 from PyQt5.QtCore import QVariant
 from PyQt5.QtCore import pyqtSignal, QCoreApplication
+from PyQt5.QtGui import *
+from PyQt5.QtWidgets import *

 from pmutils import *
 from packagemodel import *
 from webdialog import WebDialog
 from rowanimator import RowAnimator

+
 import config

 _translate = QCoreApplication.translate
@@ -72,8 +75,10 @@
         self.show_details_button = showDetailsButton

         self.rowAnimator = RowAnimator(parent.packageList)
-        self.defaultIcon = KIcon(('package-x-generic', 'package_applications'), 32)
-        self.defaultInstalledIcon = QIcon(KIconLoader.loadOverlayed(('package-x-generic', 'package_applications'), CHECK_ICON, 32))
+        self.defaultIcon = QIcon(QPixmap('/usr/share/package-manager/data/tray-zero.svg').scaled(32, 32))
+        #self.defaultIcon = KIcon(('package-x-generic', 'package_applications'), 32)
+        self.defaultInstalledIcon = QIcon(QPixmap('/usr/share/package-manager/data/installed.svg').scaled(32, 32))
+        #self.defaultInstalledIcon = KIcon(KIconLoader.loadOverlayed(('package-x-generic', 'package_applications'), CHECK_ICON, 32))
         self.animatable = animatable
         self._max_height = ROW_HEIGHT

@@ -181,8 +186,8 @@
             overlay = [CHECK_ICON] if installed else []
             KIconLoader._forceCache = True
             pix = KIconLoader.loadOverlayed(_icon, overlay, 32)
-            if not pix.isNull():
-                icon = QIcon(pix.scaled(QSize(32, 32), Qt.KeepAspectRatio, Qt.SmoothTransformation))
+            #if not pix.isNull():
+                #icon = QIcon(pix.scaled(QSize(32, 32), Qt.KeepAspectRatio, Qt.SmoothTransformation))
             KIconLoader._forceCache = False

diff -Nuar package-manager1/src/pdswidgets.py package-manager2/src/pdswidgets.py
--- package-manager1/src/pdswidgets.py	2018-01-05 16:39:51.823057000 +0300
+++ src/pdswidgets.py	2018-01-13 13:56:07.000000000 +0300
@@ -12,6 +12,7 @@
 #

 from PyQt5 import QtCore, QtGui, QtWidgets
+from PyQt5.QtGui import QIcon
 from pds.gui import *
 from pds.qprogressindicator import QProgressIndicator
 from ui_message import Ui_MessageBox
@@ -52,7 +53,7 @@
         else:
             if icon:
                 if type(icon) == str:
-                    icon = KIcon(icon).pixmap(32,32)
+                    icon = QIcon(icon).pixmap(32,32)
                 self.ui.icon.setPixmap(QtGui.QPixmap(icon))
                 self.ui.icon.show()
             else:
diff -Nuar package-manager1/src/pm-install.py package-manager2/src/pm-install.py
--- package-manager1/src/pm-install.py	2018-01-05 16:39:51.823057000 +0300
+++ src/pm-install.py	2018-01-16 22:57:23.000000000 +0300
@@ -20,7 +20,7 @@

 # PyQt5 Imports
 from PyQt5.QtCore import *
-from PyQt5.QtGui import QFont
+from PyQt5.QtGui import *
 from PyQt5.QtWidgets import QApplication

 from pds.quniqueapp import QUniqueApplication
diff -Nuar package-manager1/src/pmutils.py package-manager2/src/pmutils.py
--- package-manager1/src/pmutils.py	2018-01-05 16:39:51.823057000 +0300
+++ src/pmutils.py	2018-01-16 16:10:41.000000000 +0300
@@ -40,9 +40,9 @@
 from pds.qiconloader import QIconLoader

 Pds = pds.Pds('package-manager', debug = False)
-# Force to use Default Session for testing
-# Pds.session = pds.DefaultDe
-# print 'Current session is : %s %s' % (Pds.session.Name, Pds.session.Version)
+#Force to use Default Session for testing
+Pds.session = pds.DefaultDe
+print 'Current session is : %s %s' % (Pds.session.Name, Pds.session.Version)

 i18n = Pds.session.i18n
 KIconLoader = QIconLoader(Pds)
diff -Nuar package-manager1/src/pmwindow.py package-manager2/src/pmwindow.py
--- package-manager1/src/pmwindow.py	2018-01-05 16:39:51.823057000 +0300
+++ src/pmwindow.py	2018-01-14 06:28:00.000000000 +0300
@@ -16,7 +16,7 @@
 import pisi

 from PyQt5.QtWidgets import QDialog
-from PyQt5.QtGui import QPixmap
+from PyQt5.QtGui import *
 from PyQt5.QtWidgets import QMessageBox
 from PyQt5.QtCore import *

@@ -115,10 +115,10 @@
         self.connectOperationSignals()

         self.button_install.clicked.connect(self.installPackages)
-        self.button_install.setIcon(KIcon(("list-add", "add")))
+        self.button_install.setIcon(QIcon.fromTheme("list-add"))

         self.button_cancel.clicked.connect(self.actionCancelled)
-        self.button_cancel.setIcon(KIcon("cancel"))
+        self.button_cancel.setIcon(QIcon.fromTheme("list-remove"))

         self.rejected.connect(self.actionCancelled)

diff -Nuar package-manager1/src/progressdialog.py package-manager2/src/progressdialog.py
--- package-manager1/src/progressdialog.py	2018-01-05 16:39:51.823057000 +0300
+++ src/progressdialog.py	2018-01-13 13:56:07.000000000 +0300
@@ -14,6 +14,7 @@
 from PyQt5.QtCore import pyqtSignal
 from PyQt5.QtCore import QTimer
 from PyQt5.QtCore import QSize, QCoreApplication
+from PyQt5.QtGui import *

 from pmutils import *
 from pds.gui import *
@@ -47,7 +48,7 @@
         self.registerFunction(OUT, self.busy.stopAnimation)

         self.cancelButton.clicked.connect(self.cancel)
-        self.cancelButton.setIcon(KIcon("cancel"))
+        self.cancelButton.setIcon(QIcon.fromTheme("cancel"))
         self.parent = parent
         self.widget.setStyleSheet("QTextEdit { \
             background:rgba(0,0,0,0); \
diff -Nuar package-manager1/src/settingsdialog.py package-manager2/src/settingsdialog.py
--- package-manager1/src/settingsdialog.py	2018-01-05 16:39:51.823057000 +0300
+++ src/settingsdialog.py	2018-01-13 13:56:07.000000000 +0300
@@ -18,7 +18,7 @@
 from PyQt5.QtWidgets import QTableWidgetItem
 from PyQt5.QtWidgets import QCheckBox
 from PyQt5.QtWidgets import QFileDialog
-from PyQt5.QtGui import QDesktopServices
+from PyQt5.QtGui import *
 from PyQt5.QtNetwork import QNetworkProxy
 from PyQt5.QtCore import *

@@ -66,10 +66,13 @@
     traySettingChanged = pyqtSignal()

     def setupUi(self):
-        self.settings.moveUpButton.setIcon(KIcon("up"))
-        self.settings.moveDownButton.setIcon(KIcon("down"))
-        self.settings.addRepoButton.setIcon(KIcon(("list-add", "add")))
-        self.settings.removeRepoButton.setIcon(KIcon(("list-remove", "remove")))
+        self.settings.moveUpButton.setIcon(QIcon.fromTheme("go-up"))
+        self.settings.moveDownButton.setIcon(QIcon.fromTheme("go-down"))
+        self.settings.addRepoButton.setIcon(QIcon.fromTheme("list-add"))
+        self.settings.removeRepoButton.setIcon(QIcon.fromTheme("list-remove"))
+        self.settings.buttonHelp.setIcon(QIcon.fromTheme("help"))
+        self.settings.buttonCancel.setIcon(QIcon.fromTheme("go-down"))
+        self.settings.buttonOk.setIcon(QIcon.fromTheme("go-next"))
         self.initialize()

diff -Nuar package-manager1/src/statemanager.py package-manager2/src/statemanager.py
--- package-manager1/src/statemanager.py	2018-01-05 16:39:51.823057000 +0300
+++ src/statemanager.py	2018-01-13 13:56:07.000000000 +0300
@@ -13,6 +13,7 @@

 from PyQt5.QtCore import QObject, pyqtSignal, QCoreApplication
 from PyQt5.QtWidgets import QMessageBox
+from PyQt5.QtGui import *

 import config
@@ -118,10 +119,10 @@

     def getActionIcon(self, state = None):
         state = self.state if state == None else state
-        return {self.INSTALL:KIcon(("list-add", "add")),
-                self.REMOVE :KIcon(("list-remove", "remove")),
-                self.UPGRADE:KIcon(("system-software-update", "gear")),
-                self.ALL    :KIcon("preferences-other")}[state]
+        return {self.INSTALL:QIcon.fromTheme("list-add"),
+                self.REMOVE :QIcon.fromTheme("list-remove"),
+                self.UPGRADE:QIcon.fromTheme("system-software-update"),
+                self.ALL    :QIcon.fromTheme("preferences-other")}[state]

     def getSummaryInfo(self, total):
         return {self.INSTALL:_translate("Packaga Manager","{0} new package(s) have been installed succesfully.").format(total),
diff -Nuar package-manager1/src/summarydialog.py package-manager2/src/summarydialog.py
--- package-manager1/src/summarydialog.py	2018-01-05 16:39:51.823057000 +0300
+++ src/summarydialog.py	2018-01-16 16:35:39.000000000 +0300
@@ -45,10 +45,10 @@
         self.appName.setText(self.item.name)

         icon = str(self.item.icon).split('.')[:-1]
-        icon = KIconLoader.load(icon)
+        icon = QIconLoader.load(icon)

         if icon.isNull():
-            icon = KIconLoader.load('package')
+            icon = QIconLoader.load('/usr/share/package-manager/data/aplication-x-pisi.svg')

         self.appIcon.setPixmap(
                                icon.scaled(QSize(32, 32),
@@ -82,7 +82,7 @@

     def checkIcon(self, iconFileName):
         extensions = ['png', 'jpg','jpeg', 'svg']
-        pixmapsDir = '/usr/share/pixmaps/'
+        pixmapsDir = ['/usr/share/pixmaps/', '/usr/share/icons']
         if os.path.isfile(iconFileName) == True:
             return iconFileName
         else:
diff -Nuar package-manager1/src/webdialog.py package-manager2/src/webdialog.py
--- package-manager1/src/webdialog.py	2018-01-05 16:39:51.824057000 +0300
+++ src/webdialog.py	2018-01-13 13:56:07.000000000 +0300
@@ -13,6 +13,7 @@
 from PyQt5 import QtWidgets
 from PyQt5 import QtWebKit, QtWebKitWidgets
 from PyQt5.QtCore import *
+from PyQt5.QtGui import *

 import config, backend

@@ -47,7 +48,7 @@
         self.registerFunction(FINISHED, lambda: parent.statusBar().setVisible(not self.isVisible()))
         self._as = 'http://appinfo.pisilinux.org'
         self.cancelButton.clicked.connect(self._hide)
-        self.cancelButton.setIcon(KIcon("cancel"))
+        self.cancelButton.setIcon(QIcon.fromTheme("cancel"))

         # Hide Scrollbars and context menu in webview
         self.webView.setContextMenuPolicy(Qt.NoContextMenu)
@@ -173,7 +174,7 @@
         # self._disable_parent_in_shown = True

         self.cancelButton.clicked.connect(self._hide)
-        self.cancelButton.setIcon(KIcon("window-close"))
+        self.cancelButton.setIcon(QIcon.fromTheme("window-close"))

         # Hide Scrollbars and context menu in webview
         self.webView.setContextMenuPolicy(Qt.NoContextMenu)


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>package-manager</Name>
        <Homepage>http://www.pisilinux.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:gui</IsA>
        <Summary>PiSi graphical user interface</Summary>
        <Description>Package Manager is PiSi's easy-to-use graphical user interface.</Description>
        <Archive sha1sum="a6809af87ff5c0d2e078e6922310468beff582c1" type="targz">https://github.com/PisiLinuxNew/package-manager/archive/package-manager.4.1.8.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>docutils</Dependency>
            <Dependency>python-qt5-devel</Dependency>
            <Dependency>python-sip</Dependency>
            <Dependency>intltool</Dependency>
            <Dependency>qt5-linguist</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch>fixed-icons-issue.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>package-manager</Name>
        <RuntimeDependencies>
            <Dependency>pisi</Dependency>
            <Dependency>python-qt5</Dependency>
<!--             <Dependency>python-appinfo</Dependency> -->
            <Dependency>python-sip</Dependency>
            <Dependency>pisilinux-desktop-services</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/share</Path>
            <!--<Path fileType="localedata">/usr/share/locale</Path>-->
            <Path fileType="data">/usr/share/applications</Path>
            <Path fileType="data">/usr/share/icons</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/package-manager/data/installed.svg">installed.svg</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <History>
        <Update release="9">
            <Date>2018-01-13</Date>
            <Version>4.1.8</Version>
            <Comment>fixed icons issue.</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="8">
            <Date>2017-09-01</Date>
            <Version>4.1.8</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2017-04-08</Date>
            <Version>4.1.7</Version>
            <Comment>Version Bump, add new builddep.</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="6">
            <Date>2016-08-09</Date>
            <Version>4.1.6</Version>
            <Comment>Release Bump</Comment>
            <Name>Metehan Özbek</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="5">
            <Date>2016-08-08</Date>
            <Version>4.1.5</Version>
            <Comment>Release Bump</Comment>
            <Name>Metehan Özbek</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2016-08-06</Date>
            <Version>4.1.3</Version>
            <Comment>Release Bump</Comment>
            <Name>Metehan Özbek</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-07-01</Date>
            <Version>4.1.2</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>4.1.1</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-05-28</Date>
            <Version>4.1.1</Version>
            <Comment>ported pyqt5</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>package-manager</Name>
        <Summary xml:lang="tr">PiSi kullanıcı grafik arayüzü</Summary>
        <Description xml:lang="tr">PiSi paket yöneticisine ait paket kurma, kaldırma ve güncelleme gibi işlerin grafik ortamda yapılabilmesini sağlayan PiSi grafik arayüzü.</Description>
        <Description xml:lang="fr">PiSi est une interface graphique permettant d'effectuer l'installation, la suppression et la mise à jour de paquet PiSi depuis un environnement graphique.</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 pythonmodules

def build():
    pythonmodules.compile()

def install():
    pythonmodules.install()


code:
--- pds-2.0.0.orig/pds/environments.py	2016-03-02 11:27:31.000000000 +0200
+++ pds-2.0.0/pds/environments.py	2016-06-03 15:42:26.860036236 +0300
@@ -33,7 +33,7 @@
     SessionTypes         = ('/usr/share/xsessions/plasma-mediacenter')
     Version              = '5'
     VersionKey           = 'KDE_SESSION_VERSION'
-    ConfigPath           = ('$HOME/.local5/', '$HOME/.kde4/')
+    ConfigPath           = ('$HOME/.local/', '$HOME/.kde/')
     ConfigFile           = 'share/config/kdeglobals'
     ConfigType           = 'ini'
     #ConfigBin            = 'kde4-config'


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>pisilinux-desktop-services</Name>
        <Homepage>http://www.pisilinux.org</Homepage>
        <Packager>
            <Name>pisilinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>library</IsA>
        <Summary>Pisi Linux Desktop Services</Summary>
        <Description>pisilinux-desktop-services is a wrapper python module for integrating various desktop environments using PyQt.</Description>
        <Archive sha1sum="6eb298722cf2f41633ff230dbbda22ac14441130" type="targz">https://github.com/PisiLinuxNew/pds/archive/pds-2.1.0.tar.gz</Archive>
        <BuildDependencies>
            <Dependency versionFrom="5.7.1">python-qt5-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <!--Patch level="1">environment.patch</Patch-->
        </Patches>
    </Source>

    <Package>
        <Name>pisilinux-desktop-services</Name>
        <RuntimeDependencies>
            <Dependency versionFrom="5.7.1">python-qt5</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/usr/share/</Path>
        </Files>
    </Package>

    <History>
        <Update release="5">
            <Date>2017-09-01</Date>
            <Version>2.1.0</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2017-03-08</Date>
            <Version>2.0.0</Version>
            <Comment>Release Bump</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-06-09</Date>
            <Version>2.0.0</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-03</Date>
            <Version>2.0.0</Version>
            <Comment>Release bump.</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-04-28</Date>
            <Version>2.0.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>pisilinux-desktop-services</Name>
        <Summary xml:lang="tr">Pisi Linux Masaüstü Hizmetleri</Summary>
        <Description xml:lang="tr">pisilinux-desktop-services, Pisi Linux Uygulamalarının farklı masaüstü ortamları ile bütünleşik bir şekilde çalışmasını sağlayan bir Python modülüdür.</Description>
    </Source>
</PISI>


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>pisilinux-welcome</Name>
        <Homepage>http://pisilinux.org</Homepage>
        <Packager>
            <Name>Metehan Özbek</Name>
            <Email>mthnzbk@gmail.com</Email>
        </Packager>
        <License>GPLv3</License>
        <Icon>pisilinux-welcome</Icon>
        <IsA>app:gui</IsA>
        <Summary>Pisi Linux Welcome Application</Summary>
        <Description>Pisi Linux Welcome Application</Description>
        <Archive sha1sum="cde9530f2ba60be79f4cd89e4cfc62d59d6d4d6a" type="targz">https://github.com/PisiLinuxNew/pisilinux-welcome/archive/1.0Beta4.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>python3-setuptools</Dependency>
            <Dependency>python3-qt5</Dependency>
            <Dependency>python3-devel</Dependency>
            <Dependency>qt5-linguist</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>pisilinux-welcome</Name>
        <RuntimeDependencies>
            <Dependency>python3-qt5</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="data">/usr/share/welcome</Path>
            <Path fileType="data">/usr/lib/python3.6/site-packages</Path>
            <Path fileType="data">/usr/share/applications</Path>
            <Path fileType="data">/usr/share/icons</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="localdata">/usr/share/welcome/languages</Path>
            <Path fileType="config">/etc</Path>
        </Files>
    </Package>

    <History>
        <Update release="5">
            <Date>2017-05-28</Date>
            <Version>1.0b</Version>
            <Comment>rebuild</Comment>
            <Name>Metehan Özbek</Name>
            <Email>mthnzbk@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2016-08-26</Date>
            <Version>1.0b</Version>
            <Comment>ek buton</Comment>
            <Name>Metehan Özbek</Name>
            <Email>mthnzbk@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2016-07-30</Date>
            <Version>1.0b</Version>
            <Comment>hatalar düzeltilmiş.</Comment>
            <Name>Metehan Özbek</Name>
            <Email>mthnzbk@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2016-07-29</Date>
            <Version>1.0b</Version>
            <Comment>güncellendi</Comment>
            <Name>Metehan Özbek</Name>
            <Email>mthnzbk@gmail.com</Email>
        </Update>
        <Update release="1">
            <Date>2016-05-17</Date>
            <Version>1.0a</Version>
            <Comment>first</Comment>
            <Name>Metehan Özbek</Name>
            <Email>mthnzbk@gmail.com</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>pisilinux-welcome</Name>
        <Summary xml:lang="tr">Pisi Linux Hoşgeldin Uygulaması</Summary>
        <Description xml:lang="tr">Hoşgeldin uygulaması, bilgisayarınız ilk defa açıldığında sizi karşılar.</Description>
    </Source>
</PISI>


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>pisiplayer</Name>
        <Homepage>http://pisilinux.org</Homepage>
        <Packager>
            <Name>Pisi Linux Admins</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv3</License>
        <Icon>pisiplayer</Icon>
        <IsA>app:gui</IsA>
        <Summary>Video Player</Summary>
        <Description>Video Player for Pisi Linux</Description>
        <Archive sha1sum="cbd2ea4b1c3377a19cd98fed77c1cf0826d34a86" type="targz">https://github.com/mthnzbk/pisi-player/archive/0.9.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>python3-setuptools</Dependency>
            <Dependency>python3-devel</Dependency>
            <Dependency>python3-qt5</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>pisiplayer</Name>
        <RuntimeDependencies>
            <Dependency>python3-qt5</Dependency>
            <Dependency>python3-sip</Dependency>
            <Dependency>python3-youtube_dl</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="data">/usr/lib/pisiplayer</Path>
            <Path fileType="data">/usr/lib/python3.6/site-packages</Path>
            <Path fileType="data">/usr/share/applications</Path>
            <Path fileType="data">/usr/share/icons</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <History>
         <Update release="2">
            <Date>2017-05-28</Date>
            <Version>0.9</Version>
            <Comment>rebuild</Comment>
            <Name>Pisi Linux Admins</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-07-04</Date>
            <Version>0.9</Version>
            <Comment>First release</Comment>
            <Name>Metehan Özbek</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>kaptan</Name>
        <Summary xml:lang="tr">Pisi Linux için Video Player</Summary>
        <Description xml:lang="tr">Pisi Linux için geliştirilen PyQt5 tabanlı video oynatıcısı</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 pythonmodules
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools

def build():
    pisitools.dosed("data/service-manager.desktop", "NotShowIn=KDE;", "")
    shelltools.system("python setup.py build")

def install():
    pythonmodules.install()

    pisitools.insinto("/usr/share/pixmaps", "data/flag-yellow.png")


code:
diff -Nuar service-manager1/src/servicemanager/widgets.py service-manager2/src/servicemanager/widgets.py
--- service-manager1/src/servicemanager/widgets.py	2018-01-05 16:35:19.604039000 +0300
+++ src/servicemanager/widgets.py	2018-01-11 14:49:29.875104000 +0300
@@ -14,6 +14,7 @@
 # Qt Stuff
 from PyQt5 import QtWidgets
 from PyQt5.QtCore import *
+from PyQt5.QtGui import *

 # Pds vs KDE
 import servicemanager.context as ctx
@@ -64,10 +65,10 @@

         self.toggleButtons()

-        self.ui.buttonStart.setIcon(KIcon("media-playback-start"))
-        self.ui.buttonStop.setIcon(KIcon("media-playback-stop"))
-        self.ui.buttonReload.setIcon(KIcon("view-refresh"))
-        self.ui.buttonInfo.setIcon(KIcon("dialog-information"))
+        self.ui.buttonStart.setIcon(QIcon.fromTheme("media-playback-start"))
+        self.ui.buttonStop.setIcon(QIcon.fromTheme("media-playback-stop"))
+        self.ui.buttonReload.setIcon(QIcon.fromTheme("view-refresh"))
+        self.ui.buttonInfo.setIcon(QIcon.fromTheme("dialog-information"))

         self.toggled = False
         self.root = parent
@@ -104,7 +105,7 @@
         self.ui.buttonStop.setEnabled(self.running)
         self.ui.buttonReload.setEnabled(self.running)

-        self.ui.labelStatus.setPixmap(KIcon(icon).pixmap(32, 32))
+        self.ui.labelStatus.setPixmap(QIcon.fromTheme(icon).pixmap(32, 32))
         self.showStatus()
         self.runningAtStart = False
         if state in ('on', 'stopped'):
@@ -182,7 +183,7 @@
         self.ui = Ui_InfoWidget()
         self.ui.setupUi(self)
         self.ui.buttonHide.clicked.connect(self.hideDescription)
-        self.ui.buttonHide.setIcon(KIcon("dialog-close"))
+        self.ui.buttonHide.setIcon(QIcon.fromTheme("dialog-close"))

         self._animation = 2
         self._duration = 500
diff -Nuar service-manager1/src/service-manager.py service-manager2/src/service-manager.py
--- service-manager1/src/service-manager.py	2018-01-05 16:35:19.604039000 +0300
+++ src/service-manager.py	2018-01-11 13:06:16.000000000 +0300
@@ -22,13 +22,9 @@
 import servicemanager.about as about

 # Qt Stuff
+from PyQt5.QtWidgets import *
 from PyQt5.QtCore import pyqtSignal
-
-# Enable plugin if session is Kde4
-if ctx.Pds.session == ctx.pds.Kde4:
-    def CreatePlugin(widget_parent, parent, component_data):
-        from servicemanager.kcmodule import ServiceManager
-        return ServiceManager(component_data, parent)
+from PyQt5.QtGui import *

 if __name__ == '__main__':

@@ -37,45 +33,20 @@
         from dbus.mainloop.pyqt5 import DBusQtMainLoop
         DBusQtMainLoop(set_as_default = True)

-    # Pds vs KDE
-    if ctx.Pds.session == ctx.pds.Kde4:
-
-        # PyKDE4 Stuff
-        from PyKDE4.kdeui import *
-        from PyKDE4.kdecore import *
-
-        # Application Stuff
-        from servicemanager.standalone import ServiceManager
-        from servicemanager.about import aboutData
-
-        # Set Command-line arguments
-        KCmdLineArgs.init(sys.argv, aboutData)
-
-        # Create a Kapplitcation instance
-        app = KApplication()
-
-        # Create Main Widget
-        mainWindow = ServiceManager(None, aboutData.appName)
-        mainWindow.show()
-
-    else:
-
-        # Application Stuff
-        from servicemanager.base import MainManager
+    # Application Stuff
+    from servicemanager.base import MainManager

         # Pds Stuff
-        from pds.quniqueapp import QUniqueApplication
-        from servicemanager.context import KIcon, i18n
-
-        # Create a QUniqueApllication instance
-        app = QUniqueApplication(sys.argv, catalog=about.appName)
-
+    from pds.quniqueapp import QUniqueApplication
+    from servicemanager.context import i18n
+       # Create a QUniqueApllication instance
+    app = QUniqueApplication(sys.argv, catalog=about.appName)
         # Create Main Widget and make some settings
-        mainWindow = MainManager(None)
-        mainWindow.show()
-        mainWindow.resize(640, 480)
-        mainWindow.setWindowTitle(i18n(about.PACKAGE))
-        mainWindow.setWindowIcon(KIcon(about.icon))
+    mainWindow = MainManager(None)
+    mainWindow.resize(640, 480)
+    mainWindow.setWindowTitle(i18n(about.PACKAGE))
+    mainWindow.setWindowIcon(QIcon('/usr/share/pixmaps/flag-yellow'))
+    mainWindow.show()

     # Create connection for lastWindowClosed signal to quit app
     app.lastWindowClosed.connect(app.quit)


code:
diff -Nuar service-manager-3.0.0.orig//setup.py service-manager-3.0.0/setup.py
--- service-manager-3.0.0.orig//setup.py	2011-03-21 11:09:29.708000015 +0200
+++ service-manager-3.0.0/setup.py	2011-03-21 11:10:08.152000017 +0200
@@ -26,6 +26,12 @@
 from distutils.command.install import install

 PROJECT = about.appName
+FOR_KDE_4=False
+
+if 'kde4' in sys.argv:
+    sys.argv.remove('kde4')
+    FOR_KDE_4=True
+    print 'UI files will be created for KDE 4.. '

 def makeDirs(directory):
     if not os.path.exists(directory):
@@ -47,8 +53,14 @@

     # Collect UI files
     filelist = []
-    for filename in glob.glob1("ui", "*.ui"):
-        os.system("pykde4uic -o ui/ui_%s.py ui/%s" % (filename.split(".")[0], filename))
+    # UI files for kde4
+    if FOR_KDE_4:
+        for filename in glob.glob1("ui", "*.ui"):
+            os.system("pykde4uic -o ui/ui_%s.py ui/%s" % (filename.split(".")[0], filename))
+    #UI files for pure-qt
+    else :
+        for filename in glob.glob1("ui", "*.ui"):
+            os.system("pyuic4 -o ui/ui_%s.py ui/%s -g %s" % (filename.split(".")[0], filename, PROJECT))

     # Collect headers for desktop files
     for filename in glob.glob("data/*.desktop.in"):
@@ -104,8 +116,15 @@
             os.system("intltool-merge -d po %s %s" % (filename, filename[:-3]))

         print "Generating UIs..."
-        for filename in glob.glob1("ui", "*.ui"):
-            os.system("pykde4uic -o build/servicemanager/ui_%s.py ui/%s" % (filename.split(".")[0], filename))
+        # Collect UI for kde4
+        if FOR_KDE_4:
+            for filename in glob.glob1("ui", "*.ui"):
+                os.system("pykde4uic -o build/servicemanager/ui_%s.py ui/%s" % (filename.split(".")[0], filename))
+        # Collect UI for pure-qt
+        else:
+            for filename in glob.glob1("ui", "*.ui"):
+                os.system("pyuic4 -o build/servicemanager/ui_%s.py ui/%s -g %s" % (filename.split(".")[0], filename, PROJECT))
+

         print "Generating RCs..."
         for filename in glob.glob1("data", "*.qrc"):
@@ -128,9 +147,13 @@
             bin_dir = "/usr/bin"

         locale_dir = os.path.join(root_dir, "locale")
-        apps_dir = os.path.join(root_dir, "applications/kde4")
-        services_dir = os.path.join(root_dir, "kde4/services")
-        project_dir = os.path.join(root_dir, "kde4/apps", PROJECT)
+        if FOR_KDE_4:
+            apps_dir = os.path.join(root_dir, "applications/kde4")
+            services_dir = os.path.join(root_dir, "kde4/services")
+            project_dir = os.path.join(root_dir, "kde4/apps", PROJECT)
+        else:
+            apps_dir = os.path.join(root_dir, "applications")
+            project_dir = os.path.join(root_dir, PROJECT)

         # Make directories
         print "Making directories..."
@@ -138,13 +161,15 @@
         makeDirs(locale_dir)
         makeDirs(apps_dir)
         makeDirs(project_dir)
-        makeDirs(services_dir)
+        if FOR_KDE_4:
+            makeDirs(services_dir)

         # Install desktop files
         print "Installing desktop files..."

         shutil.copy("data/%s.desktop" % PROJECT, apps_dir)
-        shutil.copy("data/kcm_%s.desktop" % PROJECT, services_dir)
+        if FOR_KDE_4:
+            shutil.copy("data/kcm_%s.desktop" % PROJECT, services_dir)
         shutil.rmtree('build/data')

         # Install codes
@@ -192,14 +217,19 @@
         bin_dir = "/usr/bin"

         locale_dir = os.path.join(root_dir, "locale")
-        apps_dir = os.path.join(root_dir, "applications/kde4")
-        services_dir = os.path.join(root_dir, "kde4/services")
-        project_dir = os.path.join(root_dir, "kde4/apps", PROJECT)
+        if FOR_KDE_4:
+            apps_dir = os.path.join(root_dir, "applications/kde4")
+            services_dir = os.path.join(root_dir, "kde4/services")
+            project_dir = os.path.join(root_dir, "kde4/apps", PROJECT)
+        else:
+            apps_dir = os.path.join(root_dir, "applications")
+            project_dir = os.path.join(root_dir, PROJECT)

         print 'Uninstalling ...'
         remove(project_dir)
         remove(apps_dir +"/%s.desktop" % PROJECT)
-        remove(services_dir +"/kcm_%s.desktop" % PROJECT)
+        if FOR_KDE_4:
+            remove(services_dir +"/kcm_%s.desktop" % PROJECT)
         for filename in glob.glob1('po', '*.po'):
             lang = filename.rsplit(".", 1)[0]
             remove(os.path.join(locale_dir, "%s/LC_MESSAGES" % lang, "%s.mo" % PROJECT))
diff -Nuar service-manager-3.0.0.orig//src/servicemanager/about.py service-manager-3.0.0/src/servicemanager/about.py
--- service-manager-3.0.0.orig//src/servicemanager/about.py	2011-03-21 11:09:29.711000015 +0200
+++ service-manager-3.0.0/src/servicemanager/about.py	2011-03-21 11:10:08.152000017 +0200
@@ -11,29 +11,35 @@
 # Please read the COPYING file.
 #

-# PyKDE4 Stuff
-from PyKDE4.kdecore import KAboutData, ki18n, ki18nc
-
-PACKAGE = "Service Manager"
+# PDS Stuff
+import context as ctx

 # Application Data
+PACKAGE     = "Service Manager"
 appName     = "service-manager"
 modName     = "servicemanager"
-programName = ki18n(PACKAGE)
 version     = "3.0.0"
-description = ki18n(PACKAGE)
-license     = KAboutData.License_GPL
-copyright   = ki18n("(c) 2009-2010 TUBITAK/UEKAE")
-text        = ki18n(None)
 homePage    = "http://developer.pardus.org.tr/projects/service-manager"
 bugEmail    = "bugs@pardus.org.tr"
+icon        = "flag-yellow"
 catalog     = appName
-aboutData   = KAboutData(appName, catalog, programName, version, description, license, copyright, text, homePage, bugEmail)

-# Authors
-aboutData.addAuthor(ki18n("Gökmen Göksel"), ki18n("Current Maintainer"))
-aboutData.addAuthor(ki18n("Bahadır Kandemir"), ki18n("COMAR Author"))
-aboutData.setTranslator(ki18nc("NAME OF TRANSLATORS", "Your names"), ki18nc("EMAIL OF TRANSLATORS", "Your emails"))
+if ctx.Pds.session == ctx.pds.Kde4:
+
+    # PyKDE4 Stuff
+    from PyKDE4.kdecore import KAboutData, ki18n, ki18nc
+
+    programName = ki18n(PACKAGE)
+    description = ki18n(PACKAGE)
+    license     = KAboutData.License_GPL
+    copyright   = ki18n("(c) 2009-2010 TUBITAK/UEKAE")
+    text        = ki18n(None)
+    aboutData   = KAboutData(appName, catalog, programName, version, description, license, copyright, text, homePage, bugEmail)
+
+    # Authors
+    aboutData.addAuthor(ki18n("Gökmen Göksel"), ki18n("Current Maintainer"))
+    aboutData.addAuthor(ki18n("Bahadır Kandemir"), ki18n("COMAR Author"))
+    aboutData.setTranslator(ki18nc("NAME OF TRANSLATORS", "Your names"), ki18nc("EMAIL OF TRANSLATORS", "Your emails"))

-# Use this if icon name is different than appName
-aboutData.setProgramIconName("flag-yellow")
+    # Use this if icon name is different than appName
+    aboutData.setProgramIconName(icon)
diff -Nuar service-manager-3.0.0.orig//src/servicemanager/base.py service-manager-3.0.0/src/servicemanager/base.py
--- service-manager-3.0.0.orig//src/servicemanager/base.py	2011-03-21 11:09:29.712000015 +0200
+++ service-manager-3.0.0/src/servicemanager/base.py	2011-03-21 11:10:08.157000017 +0200
@@ -20,16 +20,18 @@
 from PyQt4.QtGui import QMessageBox
 from PyQt4.QtCore import *

-# PyKDE4 Stuff
-from PyKDE4.kdeui import *
-from PyKDE4.kdecore import *
-
 # Application Stuff
 from servicemanager.backend import ServiceIface
-from servicemanager.about import aboutData
 from servicemanager.ui_main import Ui_mainManager
 from servicemanager.widgets import ServiceItemWidget, ServiceItem

+# Pds vs KDE
+import servicemanager.context as ctx
+if ctx.Pds.session == ctx.pds.Kde4:
+    from PyKDE4.kdecore import i18n
+else:
+    from servicemanager.context import i18n
+
 class MainManager(QtGui.QWidget):
     def __init__(self, parent, standAlone=True):
         QtGui.QWidget.__init__(self, parent)
diff -Nuar service-manager-3.0.0.orig//src/servicemanager/context.py service-manager-3.0.0/src/servicemanager/context.py
--- service-manager-3.0.0.orig//src/servicemanager/context.py	1970-01-01 02:00:00.000000000 +0200
+++ service-manager-3.0.0/src/servicemanager/context.py	2011-03-21 11:10:08.161000017 +0200
@@ -0,0 +1,29 @@
+#!/usr/bin/python
+# -*- coding: utf-8 -*-
+
+import pds
+import traceback
+from time import time
+from pds.qiconloader import QIconLoader
+
+Pds = pds.Pds('service-manager', debug = False)
+# Force to use Default Session for testing
+# Pds.session = pds.DefaultDe
+# print 'Current session is : %s %s' % (Pds.session.Name, Pds.session.Version)
+
+i18n = Pds.i18n
+KIconLoader = QIconLoader(Pds, forceCache=True)
+KIcon = KIconLoader.icon
+
+time_counter = 0
+start_time = time()
+last_time = time()
+
+def _time():
+    global last_time, time_counter
+    trace = list(traceback.extract_stack())
+    diff = time() - start_time
+    print ('%s ::: %s:%s' % (time_counter, trace[-2][0].split('/')[-1], trace[-2][1])), diff, diff - last_time
+    last_time = diff
+    time_counter += 1
+
diff -Nuar service-manager-3.0.0.orig//src/servicemanager/widgets.py service-manager-3.0.0/src/servicemanager/widgets.py
--- service-manager-3.0.0.orig//src/servicemanager/widgets.py	2011-03-21 11:09:29.712000015 +0200
+++ service-manager-3.0.0/src/servicemanager/widgets.py	2011-03-21 11:10:08.163000017 +0200
@@ -15,10 +15,13 @@
 from PyQt4 import QtGui
 from PyQt4.QtCore import *

-# KDE Stuff
-from PyKDE4 import kdeui
-from PyKDE4.kdecore import i18n
-from PyKDE4.kdecore import KGlobal
+# Pds vs KDE
+import servicemanager.context as ctx
+if ctx.Pds.session == ctx.pds.Kde4:
+    from PyKDE4.kdeui import KIcon
+    from PyKDE4.kdecore import i18n
+else:
+    from servicemanager.context import KIcon, i18n

 # Application Stuff
 from servicemanager.ui_item import Ui_ServiceItemWidget
@@ -31,6 +34,7 @@
 # Python Stuff
 import time
 import textwrap
+import locale

 # Pisi Stuff
 import pisi
@@ -60,10 +64,10 @@

         self.toggleButtons()

-        self.ui.buttonStart.setIcon(kdeui.KIcon("media-playback-start"))
-        self.ui.buttonStop.setIcon(kdeui.KIcon("media-playback-stop"))
-        self.ui.buttonReload.setIcon(kdeui.KIcon("view-refresh"))
-        self.ui.buttonInfo.setIcon(kdeui.KIcon("dialog-information"))
+        self.ui.buttonStart.setIcon(KIcon("media-playback-start"))
+        self.ui.buttonStop.setIcon(KIcon("media-playback-stop"))
+        self.ui.buttonReload.setIcon(KIcon("view-refresh"))
+        self.ui.buttonInfo.setIcon(KIcon("dialog-information"))

         self.toggled = False
         self.root = parent
@@ -100,7 +104,7 @@
         self.ui.buttonStop.setEnabled(self.running)
         self.ui.buttonReload.setEnabled(self.running)

-        self.ui.labelStatus.setPixmap(kdeui.KIcon(icon).pixmap(32, 32))
+        self.ui.labelStatus.setPixmap(KIcon(icon).pixmap(32, 32))
         self.showStatus()
         self.runningAtStart = False
         if state in ('on', 'stopped'):
@@ -161,7 +165,7 @@
     try:
         # TODO add a package map for known services
         service = service.replace('_','-')
-        lang = str(KGlobal.locale().language())
+        lang = str(locale.getdefaultlocale()[0].split("_")[0])
         desc = pisi.api.info_name(service)[0].package.description
         if desc.has_key(lang):
             return unicode(desc[lang])
@@ -178,7 +182,7 @@
         self.ui = Ui_InfoWidget()
         self.ui.setupUi(self)
         self.ui.buttonHide.clicked.connect(self.hideDescription)
-        self.ui.buttonHide.setIcon(kdeui.KIcon("dialog-close"))
+        self.ui.buttonHide.setIcon(KIcon("dialog-close"))

         self._animation = 2
         self._duration = 500
diff -Nuar service-manager-3.0.0.orig//src/service-manager.py service-manager-3.0.0/src/service-manager.py
--- service-manager-3.0.0.orig//src/service-manager.py	2011-03-21 11:09:29.712000015 +0200
+++ service-manager-3.0.0/src/service-manager.py	2011-03-21 11:33:38.407000038 +0200
@@ -13,46 +13,72 @@

 # System
 import sys
-
 import dbus

+# Pds Stuff
+import servicemanager.context as ctx
+
+# Application Stuff
+import servicemanager.about as about
+
 # Qt Stuff
 from PyQt4.QtCore import SIGNAL

-# PyKDE4 Stuff
-from PyKDE4.kdeui import *
-from PyKDE4.kdecore import *
-
-def CreatePlugin(widget_parent, parent, component_data):
-    from servicemanager.kcmodule import ServiceManager
-    return ServiceManager(component_data, parent)
+# Enable plugin if session is Kde4
+if ctx.Pds.session == ctx.pds.Kde4:
+    def CreatePlugin(widget_parent, parent, component_data):
+        from servicemanager.kcmodule import ServiceManager
+        return ServiceManager(component_data, parent)

 if __name__ == '__main__':

-    # Service Manager
-    from servicemanager.standalone import ServiceManager
-
-    # Application Stuff
-    from servicemanager.about import aboutData
-
-    # Set Command-line arguments
-    KCmdLineArgs.init(sys.argv, aboutData)
-
-    # Create a Kapplitcation instance
-    app = KApplication()
-
     # DBUS MainLoop
     if not dbus.get_default_main_loop():
         from dbus.mainloop.qt import DBusQtMainLoop
         DBusQtMainLoop(set_as_default = True)

-    # Create Main Widget
-    mainWindow = ServiceManager(None, 'service-manager')
-    mainWindow.show()
+    # Pds vs KDE
+    if ctx.Pds.session == ctx.pds.Kde4:
+
+        # PyKDE4 Stuff
+        from PyKDE4.kdeui import *
+        from PyKDE4.kdecore import *
+
+        # Application Stuff
+        from servicemanager.standalone import ServiceManager
+        from servicemanager.about import aboutData
+
+        # Set Command-line arguments
+        KCmdLineArgs.init(sys.argv, aboutData)
+
+        # Create a Kapplitcation instance
+        app = KApplication()
+
+        # Create Main Widget
+        mainWindow = ServiceManager(None, aboutData.appName)
+        mainWindow.show()
+
+    else:
+
+        # Application Stuff
+        from servicemanager.base import MainManager
+
+        # Pds Stuff
+        from pds.quniqueapp import QUniqueApplication
+        from servicemanager.context import KIcon, i18n
+
+        # Create a QUniqueApllication instance
+        app = QUniqueApplication(sys.argv, catalog=about.appName)
+
+        # Create Main Widget and make some settings
+        mainWindow = MainManager(None)
+        mainWindow.show()
+        mainWindow.resize(640, 480)
+        mainWindow.setWindowTitle(i18n(about.PACKAGE))
+        mainWindow.setWindowIcon(KIcon(about.icon))

     # Create connection for lastWindowClosed signal to quit app
     app.connect(app, SIGNAL('lastWindowClosed()'), app.quit)

-    # Run the application
+    # Run the applications
     app.exec_()
-
diff -Nuar service-manager-3.0.0.orig//ui/main.ui service-manager-3.0.0/ui/main.ui
--- service-manager-3.0.0.orig//ui/main.ui	2011-03-21 11:09:29.703000015 +0200
+++ service-manager-3.0.0/ui/main.ui	2011-03-21 11:10:08.165000017 +0200
@@ -17,16 +17,10 @@
    <item row="0" column="0">
     <layout class="QHBoxLayout" name="horizontalLayout">
      <item>
-      <widget class="KLineEdit" name="lineSearch">
-       <property name="urlDropsEnabled">
-        <bool>false</bool>
-       </property>
-       <property name="clickMessage">
+      <widget class="QLineEdit" name="lineSearch">
+       <property name="placeholderText">
         <string>type service name to search...</string>
        </property>
-       <property name="showClearButton" stdset="0">
-        <bool>true</bool>
-       </property>
       </widget>
      </item>
      <item>
@@ -106,13 +100,6 @@
    </item>
   </layout>
  </widget>
- <customwidgets>
-  <customwidget>
-   <class>KLineEdit</class>
-   <extends>QLineEdit</extends>
-   <header>klineedit.h</header>
-  </customwidget>
- </customwidgets>
  <resources/>
  <connections/>
 </ui>


code:
diff -Nuar service-manager2/src/servicemanager/widgets.py service-manager_1/src/servicemanager/widgets.py
--- service-manager2/src/servicemanager/widgets.py	2018-01-05 16:35:19.604039000 +0300
+++ service-manager_1/src/servicemanager/widgets.py	2018-01-10 14:26:25.363986480 +0300
@@ -14,6 +14,7 @@
 # Qt Stuff
 from PyQt5 import QtWidgets
 from PyQt5.QtCore import *
+from PyQt5.QtGui import *

 # Pds vs KDE
 import servicemanager.context as ctx
@@ -64,10 +65,10 @@

         self.toggleButtons()

-        self.ui.buttonStart.setIcon(KIcon("media-playback-start"))
-        self.ui.buttonStop.setIcon(KIcon("media-playback-stop"))
-        self.ui.buttonReload.setIcon(KIcon("view-refresh"))
-        self.ui.buttonInfo.setIcon(KIcon("dialog-information"))
+        self.ui.buttonStart.setIcon(QIcon.fromTheme("media-playback-start"))
+        self.ui.buttonStop.setIcon(QIcon.fromTheme("media-playback-stop"))
+        self.ui.buttonReload.setIcon(QIcon.fromTheme("view-refresh"))
+        self.ui.buttonInfo.setIcon(QIcon.fromTheme("dialog-information"))

         self.toggled = False
         self.root = parent
diff -Nuar service-manager2/src/service-manager.py service-manager_1/src/service-manager.py
--- service-manager2/src/service-manager.py	2018-01-05 16:35:19.604039000 +0300
+++ service-manager_1/src/service-manager.py	2018-01-10 15:22:42.377955703 +0300
@@ -22,13 +22,9 @@
 import servicemanager.about as about

 # Qt Stuff
+from PyQt5.QtWidgets import *
 from PyQt5.QtCore import pyqtSignal
-
-# Enable plugin if session is Kde4
-if ctx.Pds.session == ctx.pds.Kde4:
-    def CreatePlugin(widget_parent, parent, component_data):
-        from servicemanager.kcmodule import ServiceManager
-        return ServiceManager(component_data, parent)
+from PyQt5.QtGui import *

 if __name__ == '__main__':

@@ -37,45 +33,20 @@
         from dbus.mainloop.pyqt5 import DBusQtMainLoop
         DBusQtMainLoop(set_as_default = True)

-    # Pds vs KDE
-    if ctx.Pds.session == ctx.pds.Kde4:
-
-        # PyKDE4 Stuff
-        from PyKDE4.kdeui import *
-        from PyKDE4.kdecore import *
-
-        # Application Stuff
-        from servicemanager.standalone import ServiceManager
-        from servicemanager.about import aboutData
-
-        # Set Command-line arguments
-        KCmdLineArgs.init(sys.argv, aboutData)
-
-        # Create a Kapplitcation instance
-        app = KApplication()
-
-        # Create Main Widget
-        mainWindow = ServiceManager(None, aboutData.appName)
-        mainWindow.show()
-
-    else:
-
-        # Application Stuff
-        from servicemanager.base import MainManager
+    # Application Stuff
+    from servicemanager.base import MainManager

         # Pds Stuff
-        from pds.quniqueapp import QUniqueApplication
-        from servicemanager.context import KIcon, i18n
-
-        # Create a QUniqueApllication instance
-        app = QUniqueApplication(sys.argv, catalog=about.appName)
-
+    from pds.quniqueapp import QUniqueApplication
+    from servicemanager.context import i18n
+       # Create a QUniqueApllication instance
+    app = QUniqueApplication(sys.argv, catalog=about.appName)
         # Create Main Widget and make some settings
-        mainWindow = MainManager(None)
-        mainWindow.show()
-        mainWindow.resize(640, 480)
-        mainWindow.setWindowTitle(i18n(about.PACKAGE))
-        mainWindow.setWindowIcon(KIcon(about.icon))
+    mainWindow = MainManager(None)
+    mainWindow.resize(640, 480)
+    mainWindow.setWindowTitle(i18n(about.PACKAGE))
+    mainWindow.setWindowIcon(QIcon('/usr/share/pixmaps/flag-yellow'))
+    mainWindow.show()

     # Create connection for lastWindowClosed signal to quit app
     app.lastWindowClosed.connect(app.quit)


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>service-manager</Name>
        <Homepage>http://www.pisilinux.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:gui</IsA>
        <Summary>System Service configuration GUI</Summary>
        <Description>This system service configuration software is developed for Pisi Linux. It provides managing system services.</Description>
        <Archive sha1sum="7494a823bc9550c30130e975e9158060d73220d6" type="targz">https://github.com/Rmys/Sources/blob/master/service-manager-3.1.1.tar.gz?raw=true</Archive>
        <BuildDependencies>
            <Dependency>pisilinux-desktop-services</Dependency>
            <Dependency>docutils</Dependency>
            <Dependency>python-qt5-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <!--FIXME window title and icons issue fixed -->
            <Patch>fixed-icon-issue.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>service-manager</Name>
        <RuntimeDependencies>
            <Dependency>python-qt5</Dependency>
            <Dependency>pisilinux-desktop-services</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/share</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="data">/usr/share/applications</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2018-01-11</Date>
            <Version>3.1.1</Version>
            <Comment>fixed icons and window title issues</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2017-08-24</Date>
            <Version>3.1.1</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="1">
            <Date>2016-06-03</Date>
            <Version>3.1.0</Version>
            <Comment>First release</Comment>
            <Name>Pisi Linux Admins</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>service-manager</Name>
        <Summary xml:lang="tr">Servis yönetim arayüzü</Summary>
        <Description xml:lang="tr">Servis yöneticisi, Pisi Linux'da çalışan sunucu ve servislerin yönetilmesini sağlar</Description>
        <Description xml:lang="fr">Le gestionnaire de Service est utilisé pour administrer les services lancés dans Pisi Linux.</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/copyleft/gpl.txt

from pisi.actionsapi import pisitools
from pisi.actionsapi import autotools
from pisi.actionsapi import get

def setup():
    autotools.configure("--disable-gtk-doc \
                         --enable-vala \
                         --disable-static \
                         --disable-rpath \
                         --disable-dependency-tracking")

    pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")

def build():
    autotools.make()

def install():
    autotools.install()

    pisitools.dodoc("ABOUT-NLS", "AUTHORS", "COPYING", "MAINTAINERS", "NEWS", "README", "TODO")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>colord-gtk</Name>
        <Homepage>http://www.freedesktop.org/software/colord/</Homepage>
        <Packager>
            <Name>Osman Erkan</Name>
            <Email>osman.erkan@pisilinux.org</Email>
        </Packager>
        <License>LGPLv3+</License>
        <IsA>app:gui</IsA>
        <Summary>GTK support library for colord</Summary>
        <Description>colord-gtk is a GTK+ support library.</Description>
        <Archive sha1sum="60b85227d93758a66f5dc30d0a98f8f58415103d" type="tarxz">http://www.freedesktop.org/software/colord/releases/colord-gtk-0.1.26.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>atk-devel</Dependency>
            <Dependency>gtk3-devel</Dependency>
            <Dependency>cairo-devel</Dependency>
            <Dependency>pango-devel</Dependency>
            <Dependency>colord-devel</Dependency>
            <Dependency>gdk-pixbuf-devel</Dependency>
            <Dependency>gtk-doc</Dependency>
            <Dependency>vala-devel</Dependency>
            <Dependency>intltool</Dependency>
            <Dependency>gobject-introspection-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>colord-gtk</Name>
        <RuntimeDependencies>
            <Dependency>atk</Dependency>
            <Dependency>gtk3</Dependency>
            <Dependency>cairo</Dependency>
            <Dependency>pango</Dependency>
            <Dependency>colord</Dependency>
            <Dependency>gdk-pixbuf</Dependency>
            <Dependency>lcms2</Dependency>
            <Dependency>glib2</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="data">/usr/share/vala/vapi/</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="man">/usr/share/man/man1</Path>
        </Files>
    </Package>

    <Package>
        <Name>colord-gtk-devel</Name>
        <RuntimeDependencies>
            <Dependency release="current">colord-gtk</Dependency>
            <Dependency>gtk3-devel</Dependency>
            <Dependency>colord-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="data">/usr/share/gir-1.0</Path>
            <Path fileType="library">/usr/lib/pkgconfig/</Path>
            <Path fileType="header">/usr/include/colord-1/</Path>
        </Files>
    </Package>

    <History>
        <Update release="2">
            <Date>2017-04-11</Date>
            <Version>0.1.26</Version>
            <Comment>Release up</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-11-17</Date>
            <Version>0.1.26</Version>
            <Comment>First release</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>colord-gtk</Name>
        GTK support library for colord
        Colord için GTK destek kütüphanesi
        <Description xml:lang="en">colord-gtk is a GTK+ support library.</Description>
    </Source>

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


code:
<PISI>
    <Name>desktop.toolkit</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 shelltools
from pisi.actionsapi import get

def setup():
    pisitools.flags.add("-fPIC")
    pisitools.dosed("makeinclude.in", "^(docdir.*)$", r"\1/html")

    autotools.autoconf()

    options = "\
               --enable-gl \
               --enable-shared \
               --enable-threads \
               "

    if get.buildTYPE() == "emul32":

        shelltools.export("CFLAGS", "-m32")
        shelltools.export("CXXFLAGS", "-m32")

        options += "--prefix=/emul32 \
                    --libdir=/usr/lib32 \
                    --with-optim='%s' \
                    " % get.CFLAGS()

    elif get.ARCH() == "x86_64":

        options += "--with-optim='%s' \
                   "  % get.CFLAGS()

    autotools.configure(options)

def build():
    autotools.make()
    autotools.make("-C documentation all")

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

    autotools.rawInstall("DESTDIR=%s -C fluid" % get.installDIR(), "install-linux")

    if get.buildTYPE() == "emul32": return

    autotools.install("-C documentation")
    pisitools.dodoc("ANNOUNCEMENT", "CHANGES", "COPYING", "CREDITS", "README")


code:
diff -Naur fltk-1.3.3-orig/fltk-config.in fltk-1.3.3/fltk-config.in
--- fltk-1.3.3-orig/fltk-config.in	2014-12-31 15:43:07.203519633 -0500
+++ fltk-1.3.3/fltk-config.in	2014-12-31 15:49:01.636277725 -0500
@@ -54,21 +54,6 @@
 	bindir="$selfdir/fluid"
 	includedir="$selfdir"
 	libdir="$selfdir/lib"
-
-	if test -f "$libdir/libfltk_jpeg.a"; then
-		CFLAGS="-I$includedir/jpeg $CFLAGS"
-		CXXFLAGS="-I$includedir/jpeg $CXXFLAGS"
-	fi
-
-	if test -f "$libdir/libfltk_z.a"; then
-		CFLAGS="-I$includedir/zlib $CFLAGS"
-		CXXFLAGS="-I$includedir/zlib $CXXFLAGS"
-	fi
-
-	if test -f "$libdir/libfltk_png.a"; then
-		CFLAGS="-I$includedir/png $CFLAGS"
-		CXXFLAGS="-I$includedir/png $CXXFLAGS"
-	fi
 fi

 if test -d $includedir/FL/images; then
@@ -76,11 +61,6 @@
 	CXXFLAGS="-I$includedir/FL/images $CXXFLAGS"
 fi

-if test -f "$libdir/libfltk_cairo.a"; then
-	CFLAGS="$CAIROFLAGS $CFLAGS"
-	CXXFLAGS="$CAIROFLAGS $CXXFLAGS"
-fi
-
 # libraries to link with:
 LIBNAME="@LIBNAME@"
 DSONAME="@DSONAME@"
@@ -230,25 +210,20 @@
 fi

 # Calculate needed libraries
-LDSTATIC="$libdir/libfltk.a $LDLIBS"
 LDLIBS="-lfltk$SHAREDSUFFIX $LDLIBS"

 if test x$use_forms = xyes; then
     LDLIBS="-lfltk_forms$SHAREDSUFFIX $LDLIBS"
-    LDSTATIC="$libdir/libfltk_forms.a $LDSTATIC"
 fi
 if test x$use_gl = xyes; then
     LDLIBS="-lfltk_gl$SHAREDSUFFIX @GLLIB@ $LDLIBS"
-    LDSTATIC="$libdir/libfltk_gl.a @GLLIB@ $LDSTATIC"
 fi
 if test x$use_images = xyes; then
     LDLIBS="-lfltk_images$SHAREDSUFFIX $IMAGELIBS $LDLIBS"
-    LDSTATIC="$libdir/libfltk_images.a $STATICIMAGELIBS $LDSTATIC"
 fi

 if test x$use_cairo = xyes; then
     LDLIBS="-lfltk_cairo$SHAREDSUFFIX $CAIROLIBS $LDLIBS"
-    LDSTATIC="$libdir/libfltk_cairo.a $CAIROLIBS $LDSTATIC"
 fi

 LDLIBS="$DSOLINK $LDFLAGS $libs $LDLIBS"
@@ -359,26 +334,26 @@
 fi

 if test "$echo_libs" = "yes"; then
-    USELIBS="$libdir/libfltk.a"
+    USELIBS="$libdir/libfltk.so"

     if test x$use_forms = xyes; then
-        USELIBS="$libdir/libfltk_forms.a $USELIBS"
+        USELIBS="$libdir/libfltk_forms.so $USELIBS"
     fi

     if test x$use_gl = xyes; then
-        USELIBS="$libdir/libfltk_gl.a $USELIBS"
+        USELIBS="$libdir/libfltk_gl.so $USELIBS"
     fi

     if test x$use_cairo = xyes; then
-        USELIBS="$libdir/libfltk_cairo.a $USELIBS"
+        USELIBS="$libdir/libfltk_cairo.so $USELIBS"
     fi

     if test x$use_images = xyes; then
-        USELIBS="$libdir/libfltk_images.a $USELIBS"
+        USELIBS="$libdir/libfltk_images.so $USELIBS"

         for lib in fltk_jpeg fltk_png fltk_z; do
-            if test -f $libdir/lib$lib.a; then
-                USELIBS="$libdir/lib$lib.a $USELIBS"
+            if test -f $libdir/lib$lib.so; then
+                USELIBS="$libdir/lib$lib.so $USELIBS"
             fi
 	done
     fi