summaryrefslogtreecommitdiffstats
path: root/gentoo/trinity-base
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-11-19 17:45:28 +0100
committerSlávek Banko <slavek.banko@axis.cz>2019-11-19 17:45:28 +0100
commite6636bd5d6280d92996bd70b744e8a29e54c7e18 (patch)
tree014989bddcbc22c7a8d4dafa7b78f3e55b184718 /gentoo/trinity-base
parent4b7471734323c7cb5bdc129857c94041418c81b5 (diff)
downloadtde-packaging-e6636bd5d6280d92996bd70b744e8a29e54c7e18.tar.gz
tde-packaging-e6636bd5d6280d92996bd70b744e8a29e54c7e18.zip
Gentoo: Initial import of an ebuilds tree
from Fat-Zer's (Alexander Golubev) repository. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'gentoo/trinity-base')
-rw-r--r--gentoo/trinity-base/akregator/Manifest2
-rw-r--r--gentoo/trinity-base/akregator/akregator-3.5.13.1.ebuild20
-rw-r--r--gentoo/trinity-base/akregator/akregator-3.5.13.2.ebuild20
-rw-r--r--gentoo/trinity-base/akregator/akregator-9999.ebuild20
-rw-r--r--gentoo/trinity-base/akregator/metadata.xml8
-rw-r--r--gentoo/trinity-base/amor/Manifest2
-rw-r--r--gentoo/trinity-base/amor/amor-3.5.13.1.ebuild11
-rw-r--r--gentoo/trinity-base/amor/amor-3.5.13.2.ebuild11
-rw-r--r--gentoo/trinity-base/amor/amor-9999.ebuild11
l---------gentoo/trinity-base/amor/files/shared1
-rw-r--r--gentoo/trinity-base/amor/metadata.xml8
-rw-r--r--gentoo/trinity-base/ark/Manifest2
-rw-r--r--gentoo/trinity-base/ark/ark-3.5.13.1.ebuild16
-rw-r--r--gentoo/trinity-base/ark/ark-3.5.13.2.ebuild16
-rw-r--r--gentoo/trinity-base/ark/ark-9999.ebuild16
l---------gentoo/trinity-base/ark/files/shared1
-rw-r--r--gentoo/trinity-base/ark/metadata.xml8
-rw-r--r--gentoo/trinity-base/arts/Manifest2
-rw-r--r--gentoo/trinity-base/arts/arts-3.5.13.1.ebuild60
-rw-r--r--gentoo/trinity-base/arts/arts-3.5.13.2.ebuild60
-rw-r--r--gentoo/trinity-base/arts/arts-9999.ebuild60
-rw-r--r--gentoo/trinity-base/arts/metadata.xml12
-rw-r--r--gentoo/trinity-base/certmanager/Manifest1
-rw-r--r--gentoo/trinity-base/certmanager/certmanager-3.5.13.2.ebuild26
-rw-r--r--gentoo/trinity-base/certmanager/certmanager-9999.ebuild26
-rw-r--r--gentoo/trinity-base/certmanager/metadata.xml8
-rw-r--r--gentoo/trinity-base/dcoprss/Manifest1
-rw-r--r--gentoo/trinity-base/dcoprss/dcoprss-3.5.13.1.ebuild16
-rw-r--r--gentoo/trinity-base/dcoprss/dcoprss-9999.ebuild16
-rw-r--r--gentoo/trinity-base/dcoprss/metadata.xml8
-rw-r--r--gentoo/trinity-base/drkonqi/Manifest2
-rw-r--r--gentoo/trinity-base/drkonqi/drkonqi-3.5.13.1.ebuild13
-rw-r--r--gentoo/trinity-base/drkonqi/drkonqi-3.5.13.2.ebuild13
-rw-r--r--gentoo/trinity-base/drkonqi/drkonqi-9999.ebuild13
l---------gentoo/trinity-base/drkonqi/files/shared1
-rw-r--r--gentoo/trinity-base/drkonqi/metadata.xml8
-rw-r--r--gentoo/trinity-base/eyesapplet/Manifest2
-rw-r--r--gentoo/trinity-base/eyesapplet/eyesapplet-3.5.13.1.ebuild11
-rw-r--r--gentoo/trinity-base/eyesapplet/eyesapplet-3.5.13.2.ebuild11
-rw-r--r--gentoo/trinity-base/eyesapplet/eyesapplet-9999.ebuild11
l---------gentoo/trinity-base/eyesapplet/files/shared1
-rw-r--r--gentoo/trinity-base/eyesapplet/metadata.xml8
-rw-r--r--gentoo/trinity-base/fifteenapplet/Manifest2
-rw-r--r--gentoo/trinity-base/fifteenapplet/fifteenapplet-3.5.13.1.ebuild11
-rw-r--r--gentoo/trinity-base/fifteenapplet/fifteenapplet-3.5.13.2.ebuild11
-rw-r--r--gentoo/trinity-base/fifteenapplet/fifteenapplet-9999.ebuild11
l---------gentoo/trinity-base/fifteenapplet/files/shared1
-rw-r--r--gentoo/trinity-base/fifteenapplet/metadata.xml8
-rw-r--r--gentoo/trinity-base/kaddressbook-plugins/kaddressbook-plugins-9999.ebuild14
-rw-r--r--gentoo/trinity-base/kaddressbook-plugins/metadata.xml8
-rw-r--r--gentoo/trinity-base/kaddressbook/Manifest1
-rw-r--r--gentoo/trinity-base/kaddressbook/kaddressbook-3.5.13.2.ebuild33
-rw-r--r--gentoo/trinity-base/kaddressbook/kaddressbook-9999.ebuild33
-rw-r--r--gentoo/trinity-base/kaddressbook/metadata.xml11
-rw-r--r--gentoo/trinity-base/kamera/Manifest1
-rw-r--r--gentoo/trinity-base/kamera/kamera-3.5.13.1.ebuild14
-rw-r--r--gentoo/trinity-base/kamera/kamera-9999.ebuild14
-rw-r--r--gentoo/trinity-base/kamera/metadata.xml8
-rw-r--r--gentoo/trinity-base/kappfinder/Manifest2
l---------gentoo/trinity-base/kappfinder/files/shared1
-rw-r--r--gentoo/trinity-base/kappfinder/kappfinder-3.5.13.1.ebuild11
-rw-r--r--gentoo/trinity-base/kappfinder/kappfinder-3.5.13.2.ebuild11
-rw-r--r--gentoo/trinity-base/kappfinder/kappfinder-9999.ebuild11
-rw-r--r--gentoo/trinity-base/kappfinder/metadata.xml8
-rw-r--r--gentoo/trinity-base/kate-plugins/kate-plugins-9999.ebuild14
-rw-r--r--gentoo/trinity-base/kate-plugins/metadata.xml8
-rw-r--r--gentoo/trinity-base/kate/Manifest2
l---------gentoo/trinity-base/kate/files/shared1
-rw-r--r--gentoo/trinity-base/kate/kate-3.5.13.1.ebuild11
-rw-r--r--gentoo/trinity-base/kate/kate-3.5.13.2.ebuild11
-rw-r--r--gentoo/trinity-base/kate/kate-9999.ebuild11
-rw-r--r--gentoo/trinity-base/kate/metadata.xml8
-rw-r--r--gentoo/trinity-base/kcalc/Manifest2
l---------gentoo/trinity-base/kcalc/files/shared1
-rw-r--r--gentoo/trinity-base/kcalc/kcalc-3.5.13.1.ebuild14
-rw-r--r--gentoo/trinity-base/kcalc/kcalc-3.5.13.2.ebuild14
-rw-r--r--gentoo/trinity-base/kcalc/kcalc-9999.ebuild14
-rw-r--r--gentoo/trinity-base/kcalc/metadata.xml8
-rw-r--r--gentoo/trinity-base/kcharselect/Manifest2
l---------gentoo/trinity-base/kcharselect/files/shared1
-rw-r--r--gentoo/trinity-base/kcharselect/kcharselect-3.5.13.1.ebuild12
-rw-r--r--gentoo/trinity-base/kcharselect/kcharselect-3.5.13.2.ebuild12
-rw-r--r--gentoo/trinity-base/kcharselect/kcharselect-9999.ebuild12
-rw-r--r--gentoo/trinity-base/kcharselect/metadata.xml8
-rw-r--r--gentoo/trinity-base/kcheckpass/Manifest2
l---------gentoo/trinity-base/kcheckpass/files/shared1
-rw-r--r--gentoo/trinity-base/kcheckpass/kcheckpass-3.5.13.1.ebuild24
-rw-r--r--gentoo/trinity-base/kcheckpass/kcheckpass-3.5.13.2.ebuild24
-rw-r--r--gentoo/trinity-base/kcheckpass/kcheckpass-9999.ebuild23
-rw-r--r--gentoo/trinity-base/kcheckpass/metadata.xml8
-rw-r--r--gentoo/trinity-base/kcminit/Manifest2
l---------gentoo/trinity-base/kcminit/files/shared1
-rw-r--r--gentoo/trinity-base/kcminit/kcminit-3.5.13.1.ebuild17
-rw-r--r--gentoo/trinity-base/kcminit/kcminit-3.5.13.2.ebuild17
-rw-r--r--gentoo/trinity-base/kcminit/kcminit-9999.ebuild17
-rw-r--r--gentoo/trinity-base/kcminit/metadata.xml8
-rw-r--r--gentoo/trinity-base/kcoloredit/Manifest1
-rw-r--r--gentoo/trinity-base/kcoloredit/kcoloredit-3.5.13.1.ebuild11
-rw-r--r--gentoo/trinity-base/kcoloredit/kcoloredit-9999.ebuild11
-rw-r--r--gentoo/trinity-base/kcoloredit/metadata.xml8
-rw-r--r--gentoo/trinity-base/kcontrol/Manifest2
l---------gentoo/trinity-base/kcontrol/files/shared1
-rw-r--r--gentoo/trinity-base/kcontrol/kcontrol-3.5.13.1.ebuild47
-rw-r--r--gentoo/trinity-base/kcontrol/kcontrol-3.5.13.2.ebuild47
-rw-r--r--gentoo/trinity-base/kcontrol/kcontrol-9999.ebuild46
-rw-r--r--gentoo/trinity-base/kcontrol/metadata.xml12
-rw-r--r--gentoo/trinity-base/kdcop/Manifest2
l---------gentoo/trinity-base/kdcop/files/shared1
-rw-r--r--gentoo/trinity-base/kdcop/kdcop-3.5.13.1.ebuild11
-rw-r--r--gentoo/trinity-base/kdcop/kdcop-3.5.13.2.ebuild11
-rw-r--r--gentoo/trinity-base/kdcop/kdcop-9999.ebuild11
-rw-r--r--gentoo/trinity-base/kdcop/metadata.xml8
-rw-r--r--gentoo/trinity-base/kde-i18n/Manifest1
-rw-r--r--gentoo/trinity-base/kde-i18n/kde-i18n-3.5.13.1.ebuild109
-rw-r--r--gentoo/trinity-base/kde-i18n/metadata.xml8
-rw-r--r--gentoo/trinity-base/kdeartwork-emoticons/Manifest1
-rw-r--r--gentoo/trinity-base/kdeartwork-emoticons/kdeartwork-emoticons-3.5.13.1.ebuild11
-rw-r--r--gentoo/trinity-base/kdeartwork-emoticons/metadata.xml8
-rw-r--r--gentoo/trinity-base/kdeartwork-icewm-themes/Manifest1
-rw-r--r--gentoo/trinity-base/kdeartwork-icewm-themes/kdeartwork-icewm-themes-3.5.13.1.ebuild18
-rw-r--r--gentoo/trinity-base/kdeartwork-icewm-themes/metadata.xml8
-rw-r--r--gentoo/trinity-base/kdeartwork-icon-themes/Manifest1
-rw-r--r--gentoo/trinity-base/kdeartwork-icon-themes/kdeartwork-icon-themes-3.5.13.1.ebuild14
-rw-r--r--gentoo/trinity-base/kdeartwork-icon-themes/metadata.xml8
-rw-r--r--gentoo/trinity-base/kdeartwork-kscreensaver/Manifest1
-rw-r--r--gentoo/trinity-base/kdeartwork-kscreensaver/kdeartwork-kscreensaver-3.5.13.1.ebuild33
-rw-r--r--gentoo/trinity-base/kdeartwork-kscreensaver/metadata.xml8
-rw-r--r--gentoo/trinity-base/kdeartwork-kwin-styles/Manifest1
-rw-r--r--gentoo/trinity-base/kdeartwork-kwin-styles/kdeartwork-kwin-styles-3.5.13.1.ebuild13
-rw-r--r--gentoo/trinity-base/kdeartwork-kwin-styles/metadata.xml8
-rw-r--r--gentoo/trinity-base/kdeartwork-kworldclock/Manifest1
-rw-r--r--gentoo/trinity-base/kdeartwork-kworldclock/kdeartwork-kworldclock-3.5.13.1.ebuild14
-rw-r--r--gentoo/trinity-base/kdeartwork-kworldclock/metadata.xml8
-rw-r--r--gentoo/trinity-base/kdeartwork-meta/kdeartwork-meta-3.5.13.1.ebuild27
-rw-r--r--gentoo/trinity-base/kdeartwork-meta/metadata.xml8
-rw-r--r--gentoo/trinity-base/kdeartwork-sounds/Manifest1
-rw-r--r--gentoo/trinity-base/kdeartwork-sounds/kdeartwork-sounds-3.5.13.1.ebuild11
-rw-r--r--gentoo/trinity-base/kdeartwork-sounds/metadata.xml8
-rw-r--r--gentoo/trinity-base/kdeartwork-styles/Manifest1
-rw-r--r--gentoo/trinity-base/kdeartwork-styles/kdeartwork-styles-3.5.13.1.ebuild11
-rw-r--r--gentoo/trinity-base/kdeartwork-styles/metadata.xml8
-rw-r--r--gentoo/trinity-base/kdeartwork-wallpapers/Manifest1
-rw-r--r--gentoo/trinity-base/kdeartwork-wallpapers/kdeartwork-wallpapers-3.5.13.1.ebuild11
-rw-r--r--gentoo/trinity-base/kdeartwork-wallpapers/metadata.xml8
-rw-r--r--gentoo/trinity-base/kdebase-data/Manifest2
-rw-r--r--gentoo/trinity-base/kdebase-data/kdebase-data-3.5.13.1.ebuild13
-rw-r--r--gentoo/trinity-base/kdebase-data/kdebase-data-3.5.13.2.ebuild13
-rw-r--r--gentoo/trinity-base/kdebase-data/metadata.xml8
-rw-r--r--gentoo/trinity-base/kdebase-kioslaves/Manifest2
-rw-r--r--gentoo/trinity-base/kdebase-kioslaves/files/kdebase-3.5.13.1-fix-kioslaves-with-hal.patch24
-rw-r--r--gentoo/trinity-base/kdebase-kioslaves/files/kdebase-3.5.13.2-fix-mandb-support-in-kio-man.patch146
-rw-r--r--gentoo/trinity-base/kdebase-kioslaves/kdebase-kioslaves-3.5.13.1.ebuild40
-rw-r--r--gentoo/trinity-base/kdebase-kioslaves/kdebase-kioslaves-3.5.13.2.ebuild40
-rw-r--r--gentoo/trinity-base/kdebase-kioslaves/metadata.xml12
-rw-r--r--gentoo/trinity-base/kdebase-meta/kdebase-meta-3.5.13.1.ebuild60
-rw-r--r--gentoo/trinity-base/kdebase-meta/kdebase-meta-3.5.13.2.ebuild60
-rw-r--r--gentoo/trinity-base/kdebase-meta/metadata.xml8
-rw-r--r--gentoo/trinity-base/kdebase-starttde/Manifest2
-rw-r--r--gentoo/trinity-base/kdebase-starttde/files/agent-shutdown.sh13
-rw-r--r--gentoo/trinity-base/kdebase-starttde/files/agent-startup.sh29
-rw-r--r--gentoo/trinity-base/kdebase-starttde/files/kdebase-startkde-3.5.13.1-gentoo.patch63
-rw-r--r--gentoo/trinity-base/kdebase-starttde/files/kdebase-startkde-3.5.13.2-gentoo.patch63
-rw-r--r--gentoo/trinity-base/kdebase-starttde/files/kdebase-startkde-trinity-gentoo.patch46
-rw-r--r--gentoo/trinity-base/kdebase-starttde/kdebase-starttde-3.5.13.1.ebuild98
-rw-r--r--gentoo/trinity-base/kdebase-starttde/kdebase-starttde-3.5.13.2.ebuild98
-rw-r--r--gentoo/trinity-base/kdebase-starttde/metadata.xml8
-rw-r--r--gentoo/trinity-base/kdebugdialog/Manifest2
l---------gentoo/trinity-base/kdebugdialog/files/shared1
-rw-r--r--gentoo/trinity-base/kdebugdialog/kdebugdialog-3.5.13.1.ebuild11
-rw-r--r--gentoo/trinity-base/kdebugdialog/kdebugdialog-3.5.13.2.ebuild11
-rw-r--r--gentoo/trinity-base/kdebugdialog/metadata.xml8
-rw-r--r--gentoo/trinity-base/kdeeject/Manifest2
-rw-r--r--gentoo/trinity-base/kdeeject/kdeeject-3.5.13.1.ebuild15
-rw-r--r--gentoo/trinity-base/kdeeject/kdeeject-3.5.13.2.ebuild15
-rw-r--r--gentoo/trinity-base/kdeeject/metadata.xml8
-rw-r--r--gentoo/trinity-base/kdegraphics-doc/Manifest1
l---------gentoo/trinity-base/kdegraphics-doc/files/shared1
-rw-r--r--gentoo/trinity-base/kdegraphics-doc/kdegraphics-doc-3.5.13.1.ebuild27
-rw-r--r--gentoo/trinity-base/kdegraphics-doc/metadata.xml8
-rw-r--r--gentoo/trinity-base/kdegraphics-kfile-plugins/Manifest1
-rw-r--r--gentoo/trinity-base/kdegraphics-kfile-plugins/files/tdegraphics-poppler-tqt-remove-unnecessary-check.patch19
-rw-r--r--gentoo/trinity-base/kdegraphics-kfile-plugins/kdegraphics-kfile-plugins-3.5.13.1.ebuild30
-rw-r--r--gentoo/trinity-base/kdegraphics-kfile-plugins/metadata.xml8
-rw-r--r--gentoo/trinity-base/kdegraphics-meta/kdegraphics-meta-3.5.13.1.ebuild39
-rw-r--r--gentoo/trinity-base/kdegraphics-meta/metadata.xml8
-rw-r--r--gentoo/trinity-base/kdelibs/Manifest2
-rw-r--r--gentoo/trinity-base/kdelibs/files/kdelibs-3.5.13.1-OnlyShowIn-TDE.patch26
-rw-r--r--gentoo/trinity-base/kdelibs/files/kdelibs-3.5.13.1-bug-1161.patch16
-rw-r--r--gentoo/trinity-base/kdelibs/files/kdelibs-3.5.13.1-fix-insane-kde4-variables.patch13
-rw-r--r--gentoo/trinity-base/kdelibs/files/kdelibs-3.5.13.1-fix-no-xcomposite.patch44
-rw-r--r--gentoo/trinity-base/kdelibs/files/kdelibs-3.5.13.1-make-xcomposite-optional.patch28
-rw-r--r--gentoo/trinity-base/kdelibs/files/kdelibs-3.5.13.2-make-xcomposite-optional.patch29
-rw-r--r--gentoo/trinity-base/kdelibs/kdelibs-3.5.13.1.ebuild136
-rw-r--r--gentoo/trinity-base/kdelibs/kdelibs-3.5.13.2.ebuild137
-rw-r--r--gentoo/trinity-base/kdelibs/metadata.xml13
-rw-r--r--gentoo/trinity-base/kdelirc/Manifest2
l---------gentoo/trinity-base/kdelirc/files/shared1
-rw-r--r--gentoo/trinity-base/kdelirc/kdelirc-3.5.13.1.ebuild11
-rw-r--r--gentoo/trinity-base/kdelirc/kdelirc-3.5.13.2.ebuild11
-rw-r--r--gentoo/trinity-base/kdelirc/metadata.xml8
-rw-r--r--gentoo/trinity-base/kdenetwork-doc/Manifest1
-rw-r--r--gentoo/trinity-base/kdenetwork-doc/files/kdenetwork-3.5.13.1-fix-references-to-user-profile-directory-6f85c0c.patch70
l---------gentoo/trinity-base/kdenetwork-doc/files/shared1
-rw-r--r--gentoo/trinity-base/kdenetwork-doc/kdenetwork-doc-3.5.13.1.ebuild30
-rw-r--r--gentoo/trinity-base/kdenetwork-doc/metadata.xml8
-rw-r--r--gentoo/trinity-base/kdenetwork-filesharing/Manifest1
-rw-r--r--gentoo/trinity-base/kdenetwork-filesharing/files/kdenetwork-bug1330i2-fix-filesharing-parallel-compilation.patch69
-rw-r--r--gentoo/trinity-base/kdenetwork-filesharing/kdenetwork-filesharing-3.5.13.1.ebuild13
-rw-r--r--gentoo/trinity-base/kdenetwork-filesharing/metadata.xml8
-rw-r--r--gentoo/trinity-base/kdenetwork-kfile-plugins/Manifest1
-rw-r--r--gentoo/trinity-base/kdenetwork-kfile-plugins/kdenetwork-kfile-plugins-3.5.13.1.ebuild11
-rw-r--r--gentoo/trinity-base/kdenetwork-kfile-plugins/metadata.xml8
-rw-r--r--gentoo/trinity-base/kdepasswd/Manifest2
l---------gentoo/trinity-base/kdepasswd/files/shared1
-rw-r--r--gentoo/trinity-base/kdepasswd/kdepasswd-3.5.13.1.ebuild14
-rw-r--r--gentoo/trinity-base/kdepasswd/kdepasswd-3.5.13.2.ebuild14
-rw-r--r--gentoo/trinity-base/kdepasswd/metadata.xml8
-rw-r--r--gentoo/trinity-base/kdeprint/Manifest2
-rw-r--r--gentoo/trinity-base/kdeprint/kdeprint-3.5.13.1.ebuild16
-rw-r--r--gentoo/trinity-base/kdeprint/kdeprint-3.5.13.2.ebuild16
-rw-r--r--gentoo/trinity-base/kdeprint/metadata.xml8
-rw-r--r--gentoo/trinity-base/kdesktop/Manifest2
-rw-r--r--gentoo/trinity-base/kdesktop/files/kdesktop-3.5.13.1-onlyshowin-tde.patch19
l---------gentoo/trinity-base/kdesktop/files/shared1
-rw-r--r--gentoo/trinity-base/kdesktop/kdesktop-3.5.13.1.ebuild46
-rw-r--r--gentoo/trinity-base/kdesktop/kdesktop-3.5.13.2.ebuild46
-rw-r--r--gentoo/trinity-base/kdesktop/kdesktop-9999.ebuild42
-rw-r--r--gentoo/trinity-base/kdesktop/metadata.xml11
-rw-r--r--gentoo/trinity-base/kdesu/Manifest2
-rw-r--r--gentoo/trinity-base/kdesu/kdesu-3.5.13.1.ebuild33
-rw-r--r--gentoo/trinity-base/kdesu/kdesu-3.5.13.2.ebuild33
-rw-r--r--gentoo/trinity-base/kdesu/metadata.xml12
-rw-r--r--gentoo/trinity-base/kdetoys-doc/Manifest2
l---------gentoo/trinity-base/kdetoys-doc/files/shared1
-rw-r--r--gentoo/trinity-base/kdetoys-doc/kdetoys-doc-3.5.13.1.ebuild27
-rw-r--r--gentoo/trinity-base/kdetoys-doc/kdetoys-doc-3.5.13.2.ebuild27
-rw-r--r--gentoo/trinity-base/kdetoys-doc/kdetoys-doc-9999.ebuild27
-rw-r--r--gentoo/trinity-base/kdetoys-doc/metadata.xml8
-rw-r--r--gentoo/trinity-base/kdetoys-meta/kdetoys-meta-3.5.13.1.ebuild28
-rw-r--r--gentoo/trinity-base/kdetoys-meta/metadata.xml8
-rw-r--r--gentoo/trinity-base/kdeutils-doc/Manifest2
l---------gentoo/trinity-base/kdeutils-doc/files/shared1
-rw-r--r--gentoo/trinity-base/kdeutils-doc/kdeutils-doc-3.5.13.1.ebuild27
-rw-r--r--gentoo/trinity-base/kdeutils-doc/kdeutils-doc-3.5.13.2.ebuild13
-rw-r--r--gentoo/trinity-base/kdeutils-doc/metadata.xml8
-rw-r--r--gentoo/trinity-base/kdeutils-meta/kdeutils-meta-3.5.13.1.ebuild36
-rw-r--r--gentoo/trinity-base/kdeutils-meta/kdeutils-meta-3.5.13.2.ebuild36
-rw-r--r--gentoo/trinity-base/kdeutils-meta/metadata.xml8
-rw-r--r--gentoo/trinity-base/kdf/Manifest2
l---------gentoo/trinity-base/kdf/files/shared1
-rw-r--r--gentoo/trinity-base/kdf/kdf-3.5.13.1.ebuild11
-rw-r--r--gentoo/trinity-base/kdf/kdf-3.5.13.2.ebuild11
-rw-r--r--gentoo/trinity-base/kdf/kdf-9999.ebuild11
-rw-r--r--gentoo/trinity-base/kdf/metadata.xml8
-rw-r--r--gentoo/trinity-base/kdialog/Manifest2
l---------gentoo/trinity-base/kdialog/files/shared1
-rw-r--r--gentoo/trinity-base/kdialog/kdialog-3.5.13.1.ebuild11
-rw-r--r--gentoo/trinity-base/kdialog/kdialog-3.5.13.2.ebuild11
-rw-r--r--gentoo/trinity-base/kdialog/kdialog-9999.ebuild11
-rw-r--r--gentoo/trinity-base/kdialog/metadata.xml8
-rw-r--r--gentoo/trinity-base/kdict/Manifest1
-rw-r--r--gentoo/trinity-base/kdict/kdict-3.5.13.1.ebuild11
-rw-r--r--gentoo/trinity-base/kdict/kdict-9999.ebuild11
-rw-r--r--gentoo/trinity-base/kdict/metadata.xml8
-rw-r--r--gentoo/trinity-base/kdm/Manifest2
-rwxr-xr-xgentoo/trinity-base/kdm/files/kdm-3.5.13.1-xsession.script66
-rwxr-xr-xgentoo/trinity-base/kdm/files/kdm-3.5.13.2-xsession.script66
-rw-r--r--gentoo/trinity-base/kdm/kdm-3.5.13.1.ebuild105
-rw-r--r--gentoo/trinity-base/kdm/kdm-3.5.13.2.ebuild103
-rw-r--r--gentoo/trinity-base/kdm/metadata.xml12
-rw-r--r--gentoo/trinity-base/kdnssd/Manifest1
-rw-r--r--gentoo/trinity-base/kdnssd/kdnssd-3.5.13.1.ebuild11
-rw-r--r--gentoo/trinity-base/kdnssd/metadata.xml8
-rw-r--r--gentoo/trinity-base/kdvi/Manifest1
-rw-r--r--gentoo/trinity-base/kdvi/kdvi-3.5.13.1.ebuild17
-rw-r--r--gentoo/trinity-base/kdvi/kdvi-9999.ebuild17
-rw-r--r--gentoo/trinity-base/kdvi/metadata.xml8
-rw-r--r--gentoo/trinity-base/kedit/Manifest2
l---------gentoo/trinity-base/kedit/files/shared1
-rw-r--r--gentoo/trinity-base/kedit/kedit-3.5.13.1.ebuild11
-rw-r--r--gentoo/trinity-base/kedit/kedit-3.5.13.2.ebuild11
-rw-r--r--gentoo/trinity-base/kedit/kedit-9999.ebuild11
-rw-r--r--gentoo/trinity-base/kedit/metadata.xml8
-rw-r--r--gentoo/trinity-base/kfax/Manifest1
-rw-r--r--gentoo/trinity-base/kfax/kfax-3.5.13.1.ebuild17
-rw-r--r--gentoo/trinity-base/kfax/kfax-9999.ebuild17
-rw-r--r--gentoo/trinity-base/kfax/metadata.xml8
-rw-r--r--gentoo/trinity-base/kfind/Manifest2
l---------gentoo/trinity-base/kfind/files/shared1
-rw-r--r--gentoo/trinity-base/kfind/kfind-3.5.13.1.ebuild14
-rw-r--r--gentoo/trinity-base/kfind/kfind-3.5.13.2.ebuild14
-rw-r--r--gentoo/trinity-base/kfind/kfind-9999.ebuild14
-rw-r--r--gentoo/trinity-base/kfind/metadata.xml8
-rw-r--r--gentoo/trinity-base/kfloppy/Manifest2
l---------gentoo/trinity-base/kfloppy/files/shared1
-rw-r--r--gentoo/trinity-base/kfloppy/kfloppy-3.5.13.1.ebuild11
-rw-r--r--gentoo/trinity-base/kfloppy/kfloppy-3.5.13.2.ebuild11
-rw-r--r--gentoo/trinity-base/kfloppy/kfloppy-9999.ebuild11
-rw-r--r--gentoo/trinity-base/kfloppy/metadata.xml8
-rw-r--r--gentoo/trinity-base/kgamma/Manifest1
-rw-r--r--gentoo/trinity-base/kgamma/kgamma-3.5.13.1.ebuild14
-rw-r--r--gentoo/trinity-base/kgamma/kgamma-9999.ebuild14
-rw-r--r--gentoo/trinity-base/kgamma/metadata.xml8
-rw-r--r--gentoo/trinity-base/kgantt/Manifest1
-rw-r--r--gentoo/trinity-base/kgantt/kgantt-3.5.13.2.ebuild13
-rw-r--r--gentoo/trinity-base/kgantt/kgantt-9999.ebuild13
-rw-r--r--gentoo/trinity-base/kgantt/metadata.xml8
-rw-r--r--gentoo/trinity-base/kget/Manifest1
-rw-r--r--gentoo/trinity-base/kget/kget-3.5.13.1.ebuild14
-rw-r--r--gentoo/trinity-base/kget/kget-9999.ebuild14
-rw-r--r--gentoo/trinity-base/kget/metadata.xml8
-rw-r--r--gentoo/trinity-base/kghostview/Manifest1
-rw-r--r--gentoo/trinity-base/kghostview/files/tdegraphics-fix-kghostview-parallel-compilation.patch24
-rw-r--r--gentoo/trinity-base/kghostview/kghostview-3.5.13.1.ebuild16
-rw-r--r--gentoo/trinity-base/kghostview/kghostview-9999.ebuild14
-rw-r--r--gentoo/trinity-base/kghostview/metadata.xml8
-rw-r--r--gentoo/trinity-base/kgpg/Manifest2
l---------gentoo/trinity-base/kgpg/files/shared1
-rw-r--r--gentoo/trinity-base/kgpg/kgpg-3.5.13.1.ebuild16
-rw-r--r--gentoo/trinity-base/kgpg/kgpg-3.5.13.2.ebuild16
-rw-r--r--gentoo/trinity-base/kgpg/kgpg-9999.ebuild16
-rw-r--r--gentoo/trinity-base/kgpg/metadata.xml8
-rw-r--r--gentoo/trinity-base/khelpcenter/Manifest2
l---------gentoo/trinity-base/khelpcenter/files/shared1
-rw-r--r--gentoo/trinity-base/khelpcenter/khelpcenter-3.5.13.1.ebuild30
-rw-r--r--gentoo/trinity-base/khelpcenter/khelpcenter-3.5.13.2.ebuild30
-rw-r--r--gentoo/trinity-base/khelpcenter/khelpcenter-9999.ebuild30
-rw-r--r--gentoo/trinity-base/khelpcenter/metadata.xml8
-rw-r--r--gentoo/trinity-base/khexedit/Manifest2
l---------gentoo/trinity-base/khexedit/files/shared1
-rw-r--r--gentoo/trinity-base/khexedit/khexedit-3.5.13.1.ebuild11
-rw-r--r--gentoo/trinity-base/khexedit/khexedit-3.5.13.2.ebuild11
-rw-r--r--gentoo/trinity-base/khexedit/khexedit-9999.ebuild11
-rw-r--r--gentoo/trinity-base/khexedit/metadata.xml8
-rw-r--r--gentoo/trinity-base/khotkeys/Manifest2
l---------gentoo/trinity-base/khotkeys/files/shared1
-rw-r--r--gentoo/trinity-base/khotkeys/khotkeys-3.5.13.1.ebuild25
-rw-r--r--gentoo/trinity-base/khotkeys/khotkeys-3.5.13.2.ebuild25
-rw-r--r--gentoo/trinity-base/khotkeys/khotkeys-9999.ebuild23
-rw-r--r--gentoo/trinity-base/khotkeys/metadata.xml8
-rw-r--r--gentoo/trinity-base/kicker-applets/kicker-applets-9999.ebuild16
-rw-r--r--gentoo/trinity-base/kicker-applets/metadata.xml8
-rw-r--r--gentoo/trinity-base/kicker/Manifest2
-rw-r--r--gentoo/trinity-base/kicker/files/kicker-3.5.13.2-include-dbus.patch51
l---------gentoo/trinity-base/kicker/files/shared1
-rw-r--r--gentoo/trinity-base/kicker/kicker-3.5.13.1.ebuild30
-rw-r--r--gentoo/trinity-base/kicker/kicker-3.5.13.2.ebuild33
-rw-r--r--gentoo/trinity-base/kicker/kicker-9999.ebuild31
-rw-r--r--gentoo/trinity-base/kicker/metadata.xml8
-rw-r--r--gentoo/trinity-base/kiconedit/Manifest1
-rw-r--r--gentoo/trinity-base/kiconedit/kiconedit-3.5.13.1.ebuild11
-rw-r--r--gentoo/trinity-base/kiconedit/metadata.xml8
-rw-r--r--gentoo/trinity-base/kjots/Manifest2
l---------gentoo/trinity-base/kjots/files/shared1
-rw-r--r--gentoo/trinity-base/kjots/kjots-3.5.13.1.ebuild11
-rw-r--r--gentoo/trinity-base/kjots/kjots-3.5.13.2.ebuild11
-rw-r--r--gentoo/trinity-base/kjots/kjots-9999.ebuild11
-rw-r--r--gentoo/trinity-base/kjots/metadata.xml8
-rw-r--r--gentoo/trinity-base/klaptopdaemon/Manifest2
l---------gentoo/trinity-base/klaptopdaemon/files/shared1
-rw-r--r--gentoo/trinity-base/klaptopdaemon/klaptopdaemon-3.5.13.1.ebuild25
-rw-r--r--gentoo/trinity-base/klaptopdaemon/klaptopdaemon-3.5.13.2.ebuild25
-rw-r--r--gentoo/trinity-base/klaptopdaemon/klaptopdaemon-9999.ebuild25
-rw-r--r--gentoo/trinity-base/klaptopdaemon/metadata.xml8
-rw-r--r--gentoo/trinity-base/klipper/Manifest2
l---------gentoo/trinity-base/klipper/files/shared1
-rw-r--r--gentoo/trinity-base/klipper/klipper-3.5.13.1.ebuild22
-rw-r--r--gentoo/trinity-base/klipper/klipper-3.5.13.2.ebuild22
-rw-r--r--gentoo/trinity-base/klipper/klipper-9999.ebuild22
-rw-r--r--gentoo/trinity-base/klipper/metadata.xml8
-rw-r--r--gentoo/trinity-base/kmenuedit/Manifest2
l---------gentoo/trinity-base/kmenuedit/files/shared1
-rw-r--r--gentoo/trinity-base/kmenuedit/kmenuedit-3.5.13.1.ebuild11
-rw-r--r--gentoo/trinity-base/kmenuedit/kmenuedit-3.5.13.2.ebuild11
-rw-r--r--gentoo/trinity-base/kmenuedit/kmenuedit-9999.ebuild11
-rw-r--r--gentoo/trinity-base/kmenuedit/metadata.xml8
-rw-r--r--gentoo/trinity-base/kmilo/Manifest2
-rw-r--r--gentoo/trinity-base/kmilo/files/kdeutils-3.5.13.1-kmilo-fix-powerbook.patch67
l---------gentoo/trinity-base/kmilo/files/shared1
-rw-r--r--gentoo/trinity-base/kmilo/kmilo-3.5.13.1.ebuild30
-rw-r--r--gentoo/trinity-base/kmilo/kmilo-3.5.13.2.ebuild28
-rw-r--r--gentoo/trinity-base/kmilo/kmilo-9999.ebuild28
-rw-r--r--gentoo/trinity-base/kmilo/metadata.xml24
-rw-r--r--gentoo/trinity-base/kmix/Manifest1
-rw-r--r--gentoo/trinity-base/kmix/kmix-3.5.13.1.ebuild22
-rw-r--r--gentoo/trinity-base/kmix/kmix-9999.ebuild22
-rw-r--r--gentoo/trinity-base/kmix/metadata.xml8
-rw-r--r--gentoo/trinity-base/kmoon/Manifest2
l---------gentoo/trinity-base/kmoon/files/shared1
-rw-r--r--gentoo/trinity-base/kmoon/kmoon-3.5.13.1.ebuild11
-rw-r--r--gentoo/trinity-base/kmoon/kmoon-3.5.13.2.ebuild11
-rw-r--r--gentoo/trinity-base/kmoon/kmoon-9999.ebuild11
-rw-r--r--gentoo/trinity-base/kmoon/metadata.xml8
-rw-r--r--gentoo/trinity-base/kmrml/Manifest1
-rw-r--r--gentoo/trinity-base/kmrml/kmrml-3.5.13.1.ebuild11
-rw-r--r--gentoo/trinity-base/kmrml/kmrml-9999.ebuild11
-rw-r--r--gentoo/trinity-base/kmrml/metadata.xml8
-rw-r--r--gentoo/trinity-base/knetattach/Manifest2
l---------gentoo/trinity-base/knetattach/files/shared1
-rw-r--r--gentoo/trinity-base/knetattach/knetattach-3.5.13.1.ebuild11
-rw-r--r--gentoo/trinity-base/knetattach/knetattach-3.5.13.2.ebuild11
-rw-r--r--gentoo/trinity-base/knetattach/knetattach-9999.ebuild11
-rw-r--r--gentoo/trinity-base/knetattach/metadata.xml8
-rw-r--r--gentoo/trinity-base/knewsticker-scripts/knewsticker-scripts-9999.ebuild13
-rw-r--r--gentoo/trinity-base/knewsticker-scripts/metadata.xml8
-rw-r--r--gentoo/trinity-base/knewsticker/Manifest1
-rw-r--r--gentoo/trinity-base/knewsticker/files/knewsticker-a2b3834-fix-various-cmake-build-issues.patch16
-rw-r--r--gentoo/trinity-base/knewsticker/knewsticker-3.5.13.1.ebuild17
-rw-r--r--gentoo/trinity-base/knewsticker/knewsticker-9999.ebuild14
-rw-r--r--gentoo/trinity-base/knewsticker/metadata.xml8
-rw-r--r--gentoo/trinity-base/knotes/Manifest1
-rw-r--r--gentoo/trinity-base/knotes/knotes-3.5.13.2.ebuild18
-rw-r--r--gentoo/trinity-base/knotes/knotes-9999.ebuild18
-rw-r--r--gentoo/trinity-base/knotes/metadata.xml8
-rw-r--r--gentoo/trinity-base/kodo/Manifest2
l---------gentoo/trinity-base/kodo/files/shared1
-rw-r--r--gentoo/trinity-base/kodo/kodo-3.5.13.1.ebuild11
-rw-r--r--gentoo/trinity-base/kodo/kodo-3.5.13.2.ebuild11
-rw-r--r--gentoo/trinity-base/kodo/kodo-9999.ebuild11
-rw-r--r--gentoo/trinity-base/kodo/metadata.xml8
-rw-r--r--gentoo/trinity-base/kolourpaint/Manifest1
-rw-r--r--gentoo/trinity-base/kolourpaint/kolourpaint-3.5.13.1.ebuild12
-rw-r--r--gentoo/trinity-base/kolourpaint/kolourpaint-9999.ebuild12
-rw-r--r--gentoo/trinity-base/kolourpaint/metadata.xml8
-rw-r--r--gentoo/trinity-base/konq-plugins/konq-plugins-9999.ebuild23
-rw-r--r--gentoo/trinity-base/konq-plugins/metadata.xml8
-rw-r--r--gentoo/trinity-base/konqueror/Manifest2
l---------gentoo/trinity-base/konqueror/files/shared1
-rw-r--r--gentoo/trinity-base/konqueror/konqueror-3.5.13.1.ebuild23
-rw-r--r--gentoo/trinity-base/konqueror/konqueror-3.5.13.2.ebuild23
-rw-r--r--gentoo/trinity-base/konqueror/konqueror-9999.ebuild23
-rw-r--r--gentoo/trinity-base/konqueror/metadata.xml8
-rw-r--r--gentoo/trinity-base/konsole/Manifest2
l---------gentoo/trinity-base/konsole/files/shared1
-rw-r--r--gentoo/trinity-base/konsole/konsole-3.5.13.1.ebuild26
-rw-r--r--gentoo/trinity-base/konsole/konsole-3.5.13.2.ebuild26
-rw-r--r--gentoo/trinity-base/konsole/konsole-9999.ebuild26
-rw-r--r--gentoo/trinity-base/konsole/metadata.xml8
-rw-r--r--gentoo/trinity-base/kontact/Manifest1
-rw-r--r--gentoo/trinity-base/kontact/kontact-3.5.13.2.ebuild20
-rw-r--r--gentoo/trinity-base/kontact/kontact-9999.ebuild20
-rw-r--r--gentoo/trinity-base/kontact/metadata.xml8
-rw-r--r--gentoo/trinity-base/kooka/Manifest1
-rw-r--r--gentoo/trinity-base/kooka/kooka-3.5.13.1.ebuild18
-rw-r--r--gentoo/trinity-base/kooka/kooka-9999.ebuild18
-rw-r--r--gentoo/trinity-base/kooka/metadata.xml8
-rw-r--r--gentoo/trinity-base/kopete/Manifest1
-rw-r--r--gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0001-f61f5c1-deleted-forgotten-files-for-commit-6e76ea67.patch6
-rw-r--r--gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0002-f604b5b-fix-build-errors.patch51
-rw-r--r--gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0003-e96ccab-added-xmms-support-to-cmake.patch42
-rw-r--r--gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0004-e0fdfd9-fix-unwanted-rename-icon-with-automake.patch13
-rw-r--r--gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0005-df8b5e2-fix-inadvertent-tq-changes.patch180
-rw-r--r--gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0006-bd6aa1a-fix-inadvertent-tqt-changes.patch37
-rw-r--r--gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0007-a2b3834-fix-various-cmake-build-issues.patch98
-rw-r--r--gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0008-98c9c87-add-missing-file-from-previous-commit-10026753.patch28
-rw-r--r--gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0009-81ace9c-fix-inadvertent-tq-changes.patch15
-rw-r--r--gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0010-6f85c0c-fix-references-to-user-profile-directory.patch39
-rw-r--r--gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0011-631f957-remove-nuisance-unsermake-warning-with-automake.patch12
-rw-r--r--gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0012-4387c55-fix-inadvertent-tq-changes.patch75
-rw-r--r--gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0013.1-412a55a-update-kopete-references-of-gaim-to-pidgin-resolve-bug-865.patch373
-rw-r--r--gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0013.2-412a55a-update-kopete-references-of-gaim-to-pidgin-resolve-bug-865.patch450
-rw-r--r--gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0013.3-412a55a-update-kopete-references-of-gaim-to-pidgin-resolve-bug-865.patch454
-rw-r--r--gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0014-265c466-added-test-of-the-presence-libgadu-with-automake.patch21
-rw-r--r--gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0015-1bf5123-remove-unnecessary-language.patch34
-rw-r--r--gentoo/trinity-base/kopete/kopete-3.5.13.1.ebuild114
-rw-r--r--gentoo/trinity-base/kopete/kopete-9999.ebuild112
-rw-r--r--gentoo/trinity-base/kopete/metadata.xml32
-rw-r--r--gentoo/trinity-base/korganizer/Manifest1
-rw-r--r--gentoo/trinity-base/korganizer/korganizer-3.5.13.2.ebuild46
-rw-r--r--gentoo/trinity-base/korganizer/korganizer-9999.ebuild46
-rw-r--r--gentoo/trinity-base/korganizer/metadata.xml11
-rw-r--r--gentoo/trinity-base/kpager/Manifest2
l---------gentoo/trinity-base/kpager/files/shared1
-rw-r--r--gentoo/trinity-base/kpager/kpager-3.5.13.1.ebuild11
-rw-r--r--gentoo/trinity-base/kpager/kpager-3.5.13.2.ebuild11
-rw-r--r--gentoo/trinity-base/kpager/kpager-9999.ebuild11
-rw-r--r--gentoo/trinity-base/kpager/metadata.xml8
-rw-r--r--gentoo/trinity-base/kpdf/Manifest1
-rw-r--r--gentoo/trinity-base/kpdf/kpdf-3.5.13.1.ebuild14
-rw-r--r--gentoo/trinity-base/kpdf/kpdf-9999.ebuild14
-rw-r--r--gentoo/trinity-base/kpdf/metadata.xml8
-rw-r--r--gentoo/trinity-base/kpersonalizer/Manifest2
l---------gentoo/trinity-base/kpersonalizer/files/shared1
-rw-r--r--gentoo/trinity-base/kpersonalizer/kpersonalizer-3.5.13.1.ebuild13
-rw-r--r--gentoo/trinity-base/kpersonalizer/kpersonalizer-3.5.13.2.ebuild13
-rw-r--r--gentoo/trinity-base/kpersonalizer/kpersonalizer-9999.ebuild13
-rw-r--r--gentoo/trinity-base/kpersonalizer/metadata.xml8
-rw-r--r--gentoo/trinity-base/kpf/Manifest1
-rw-r--r--gentoo/trinity-base/kpf/kpf-3.5.13.1.ebuild11
-rw-r--r--gentoo/trinity-base/kpf/kpf-9999.ebuild11
-rw-r--r--gentoo/trinity-base/kpf/metadata.xml8
-rw-r--r--gentoo/trinity-base/kpovmodeler/Manifest1
-rw-r--r--gentoo/trinity-base/kpovmodeler/kpovmodeler-3.5.13.1.ebuild16
-rw-r--r--gentoo/trinity-base/kpovmodeler/kpovmodeler-9999.ebuild16
-rw-r--r--gentoo/trinity-base/kpovmodeler/metadata.xml8
-rw-r--r--gentoo/trinity-base/kppp/Manifest1
-rw-r--r--gentoo/trinity-base/kppp/files/kppp-v3.5.13.1-a2b3834-fix-various-cmake-build-issues.patch10
-rw-r--r--gentoo/trinity-base/kppp/kppp-3.5.13.1.ebuild16
-rw-r--r--gentoo/trinity-base/kppp/kppp-9999.ebuild13
-rw-r--r--gentoo/trinity-base/kppp/metadata.xml8
-rw-r--r--gentoo/trinity-base/krdc/Manifest1
-rw-r--r--gentoo/trinity-base/krdc/files/krdc-3.5.13.1-702c180-added-openslp-support-to-cmake.patch41
-rw-r--r--gentoo/trinity-base/krdc/krdc-3.5.13.1.ebuild28
-rw-r--r--gentoo/trinity-base/krdc/krdc-9999.ebuild26
-rw-r--r--gentoo/trinity-base/krdc/metadata.xml8
-rw-r--r--gentoo/trinity-base/kreadconfig/Manifest2
l---------gentoo/trinity-base/kreadconfig/files/shared1
-rw-r--r--gentoo/trinity-base/kreadconfig/kreadconfig-3.5.13.1.ebuild11
-rw-r--r--gentoo/trinity-base/kreadconfig/kreadconfig-3.5.13.2.ebuild11
-rw-r--r--gentoo/trinity-base/kreadconfig/kreadconfig-9999.ebuild11
-rw-r--r--gentoo/trinity-base/kreadconfig/metadata.xml8
-rw-r--r--gentoo/trinity-base/kregexpeditor/Manifest2
l---------gentoo/trinity-base/kregexpeditor/files/shared1
-rw-r--r--gentoo/trinity-base/kregexpeditor/kregexpeditor-3.5.13.1.ebuild11
-rw-r--r--gentoo/trinity-base/kregexpeditor/kregexpeditor-3.5.13.2.ebuild11
-rw-r--r--gentoo/trinity-base/kregexpeditor/kregexpeditor-9999.ebuild11
-rw-r--r--gentoo/trinity-base/kregexpeditor/metadata.xml8
-rw-r--r--gentoo/trinity-base/krfb/Manifest1
-rw-r--r--gentoo/trinity-base/krfb/files/krfb-3.5.13.1-702c180-added-openslp-support-to-cmake.patch40
-rw-r--r--gentoo/trinity-base/krfb/krfb-3.5.13.1.ebuild27
-rw-r--r--gentoo/trinity-base/krfb/krfb-9999.ebuild25
-rw-r--r--gentoo/trinity-base/krfb/metadata.xml8
-rw-r--r--gentoo/trinity-base/krootbacking/Manifest2
l---------gentoo/trinity-base/krootbacking/files/shared1
-rw-r--r--gentoo/trinity-base/krootbacking/krootbacking-3.5.13.1.ebuild11
-rw-r--r--gentoo/trinity-base/krootbacking/krootbacking-3.5.13.2.ebuild11
-rw-r--r--gentoo/trinity-base/krootbacking/krootbacking-9999.ebuild11
-rw-r--r--gentoo/trinity-base/krootbacking/metadata.xml8
-rw-r--r--gentoo/trinity-base/kruler/Manifest1
-rw-r--r--gentoo/trinity-base/kruler/kruler-3.5.13.1.ebuild11
-rw-r--r--gentoo/trinity-base/kruler/kruler-9999.ebuild11
-rw-r--r--gentoo/trinity-base/kruler/metadata.xml8
-rw-r--r--gentoo/trinity-base/kscreensaver/Manifest2
l---------gentoo/trinity-base/kscreensaver/files/shared1
-rw-r--r--gentoo/trinity-base/kscreensaver/kscreensaver-3.5.13.1.ebuild29
-rw-r--r--gentoo/trinity-base/kscreensaver/kscreensaver-3.5.13.2.ebuild29
-rw-r--r--gentoo/trinity-base/kscreensaver/metadata.xml11
-rw-r--r--gentoo/trinity-base/ksig/ksig-9999.ebuild11
-rw-r--r--gentoo/trinity-base/ksig/metadata.xml8
-rw-r--r--gentoo/trinity-base/ksim/Manifest2
-rw-r--r--gentoo/trinity-base/ksim/files/fix_crash.patch44
l---------gentoo/trinity-base/ksim/files/shared1
-rw-r--r--gentoo/trinity-base/ksim/ksim-3.5.13.1.ebuild27
-rw-r--r--gentoo/trinity-base/ksim/ksim-3.5.13.2.ebuild26
-rw-r--r--gentoo/trinity-base/ksim/ksim-9999.ebuild26
-rw-r--r--gentoo/trinity-base/ksim/metadata.xml11
-rw-r--r--gentoo/trinity-base/ksirc/Manifest1
-rw-r--r--gentoo/trinity-base/ksirc/ksirc-3.5.13.1.ebuild14
-rw-r--r--gentoo/trinity-base/ksirc/ksirc-9999.ebuild14
-rw-r--r--gentoo/trinity-base/ksirc/metadata.xml8
-rw-r--r--gentoo/trinity-base/ksmserver/Manifest2
l---------gentoo/trinity-base/ksmserver/files/shared1
-rw-r--r--gentoo/trinity-base/ksmserver/ksmserver-3.5.13.1.ebuild24
-rw-r--r--gentoo/trinity-base/ksmserver/ksmserver-3.5.13.2.ebuild24
-rw-r--r--gentoo/trinity-base/ksmserver/ksmserver-9999.ebuild28
-rw-r--r--gentoo/trinity-base/ksmserver/metadata.xml8
-rw-r--r--gentoo/trinity-base/ksnapshot/Manifest1
-rw-r--r--gentoo/trinity-base/ksnapshot/ksnapshot-3.5.13.1.ebuild14
-rw-r--r--gentoo/trinity-base/ksnapshot/ksnapshot-9999.ebuild14
-rw-r--r--gentoo/trinity-base/ksnapshot/metadata.xml8
-rw-r--r--gentoo/trinity-base/ksplashml/Manifest2
l---------gentoo/trinity-base/ksplashml/files/shared1
-rw-r--r--gentoo/trinity-base/ksplashml/ksplashml-3.5.13.1.ebuild23
-rw-r--r--gentoo/trinity-base/ksplashml/ksplashml-3.5.13.2.ebuild23
-rw-r--r--gentoo/trinity-base/ksplashml/ksplashml-9999.ebuild23
-rw-r--r--gentoo/trinity-base/ksplashml/metadata.xml8
-rw-r--r--gentoo/trinity-base/kstart/Manifest2
l---------gentoo/trinity-base/kstart/files/shared1
-rw-r--r--gentoo/trinity-base/kstart/kstart-3.5.13.1.ebuild11
-rw-r--r--gentoo/trinity-base/kstart/kstart-3.5.13.2.ebuild11
-rw-r--r--gentoo/trinity-base/kstart/kstart-9999.ebuild11
-rw-r--r--gentoo/trinity-base/kstart/metadata.xml8
-rw-r--r--gentoo/trinity-base/ksvg/Manifest1
-rw-r--r--gentoo/trinity-base/ksvg/files/ksvg-3.5.13.1-bug1311.patch14
-rw-r--r--gentoo/trinity-base/ksvg/ksvg-3.5.13.1.ebuild20
-rw-r--r--gentoo/trinity-base/ksvg/ksvg-9999.ebuild18
-rw-r--r--gentoo/trinity-base/ksvg/metadata.xml8
-rw-r--r--gentoo/trinity-base/ksysguard/Manifest2
l---------gentoo/trinity-base/ksysguard/files/shared1
-rw-r--r--gentoo/trinity-base/ksysguard/ksysguard-3.5.13.1.ebuild20
-rw-r--r--gentoo/trinity-base/ksysguard/ksysguard-3.5.13.2.ebuild20
-rw-r--r--gentoo/trinity-base/ksysguard/ksysguard-9999.ebuild20
-rw-r--r--gentoo/trinity-base/ksysguard/metadata.xml11
-rw-r--r--gentoo/trinity-base/ksystraycmd/Manifest2
l---------gentoo/trinity-base/ksystraycmd/files/shared1
-rw-r--r--gentoo/trinity-base/ksystraycmd/ksystraycmd-3.5.13.1.ebuild11
-rw-r--r--gentoo/trinity-base/ksystraycmd/ksystraycmd-3.5.13.2.ebuild11
-rw-r--r--gentoo/trinity-base/ksystraycmd/ksystraycmd-9999.ebuild11
-rw-r--r--gentoo/trinity-base/ksystraycmd/metadata.xml8
-rw-r--r--gentoo/trinity-base/ktalkd/Manifest1
-rw-r--r--gentoo/trinity-base/ktalkd/ktalkd-3.5.13.1.ebuild23
-rw-r--r--gentoo/trinity-base/ktalkd/ktalkd-9999.ebuild23
-rw-r--r--gentoo/trinity-base/ktalkd/metadata.xml8
-rw-r--r--gentoo/trinity-base/kteatime/Manifest2
l---------gentoo/trinity-base/kteatime/files/shared1
-rw-r--r--gentoo/trinity-base/kteatime/kteatime-3.5.13.1.ebuild11
-rw-r--r--gentoo/trinity-base/kteatime/kteatime-3.5.13.2.ebuild11
-rw-r--r--gentoo/trinity-base/kteatime/kteatime-9999.ebuild11
-rw-r--r--gentoo/trinity-base/kteatime/metadata.xml8
-rw-r--r--gentoo/trinity-base/ktimer/Manifest2
l---------gentoo/trinity-base/ktimer/files/shared1
-rw-r--r--gentoo/trinity-base/ktimer/ktimer-3.5.13.1.ebuild11
-rw-r--r--gentoo/trinity-base/ktimer/ktimer-3.5.13.2.ebuild11
-rw-r--r--gentoo/trinity-base/ktimer/ktimer-9999.ebuild11
-rw-r--r--gentoo/trinity-base/ktimer/metadata.xml8
-rw-r--r--gentoo/trinity-base/ktip/Manifest2
l---------gentoo/trinity-base/ktip/files/shared1
-rw-r--r--gentoo/trinity-base/ktip/ktip-3.5.13.1.ebuild11
-rw-r--r--gentoo/trinity-base/ktip/ktip-3.5.13.2.ebuild11
-rw-r--r--gentoo/trinity-base/ktip/ktip-9999.ebuild11
-rw-r--r--gentoo/trinity-base/ktip/metadata.xml8
-rw-r--r--gentoo/trinity-base/ktnef/Manifest2
-rw-r--r--gentoo/trinity-base/ktnef/ktnef-3.5.13.1.ebuild13
-rw-r--r--gentoo/trinity-base/ktnef/ktnef-3.5.13.2.ebuild13
-rw-r--r--gentoo/trinity-base/ktnef/ktnef-9999.ebuild13
-rw-r--r--gentoo/trinity-base/ktnef/metadata.xml8
-rw-r--r--gentoo/trinity-base/ktux/Manifest2
l---------gentoo/trinity-base/ktux/files/shared1
-rw-r--r--gentoo/trinity-base/ktux/ktux-3.5.13.1.ebuild11
-rw-r--r--gentoo/trinity-base/ktux/ktux-3.5.13.2.ebuild11
-rw-r--r--gentoo/trinity-base/ktux/ktux-9999.ebuild11
-rw-r--r--gentoo/trinity-base/ktux/metadata.xml8
-rw-r--r--gentoo/trinity-base/kuickshow/Manifest1
-rw-r--r--gentoo/trinity-base/kuickshow/kuickshow-3.5.13.1.ebuild15
-rw-r--r--gentoo/trinity-base/kuickshow/kuickshow-9999.ebuild15
-rw-r--r--gentoo/trinity-base/kuickshow/metadata.xml8
-rw-r--r--gentoo/trinity-base/kview/Manifest1
-rw-r--r--gentoo/trinity-base/kview/kview-3.5.13.1.ebuild12
-rw-r--r--gentoo/trinity-base/kview/kview-9999.ebuild12
-rw-r--r--gentoo/trinity-base/kview/metadata.xml8
-rw-r--r--gentoo/trinity-base/kviewshell/Manifest1
-rw-r--r--gentoo/trinity-base/kviewshell/kviewshell-3.5.13.1.ebuild11
-rw-r--r--gentoo/trinity-base/kviewshell/kviewshell-9999.ebuild11
-rw-r--r--gentoo/trinity-base/kviewshell/metadata.xml8
-rw-r--r--gentoo/trinity-base/kwallet/Manifest2
l---------gentoo/trinity-base/kwallet/files/shared1
-rw-r--r--gentoo/trinity-base/kwallet/kwallet-3.5.13.1.ebuild11
-rw-r--r--gentoo/trinity-base/kwallet/kwallet-3.5.13.2.ebuild11
-rw-r--r--gentoo/trinity-base/kwallet/metadata.xml8
-rw-r--r--gentoo/trinity-base/kweather/Manifest2
l---------gentoo/trinity-base/kweather/files/shared1
-rw-r--r--gentoo/trinity-base/kweather/kweather-3.5.13.1.ebuild11
-rw-r--r--gentoo/trinity-base/kweather/kweather-3.5.13.2.ebuild11
-rw-r--r--gentoo/trinity-base/kweather/kweather-9999.ebuild11
-rw-r--r--gentoo/trinity-base/kweather/metadata.xml8
-rw-r--r--gentoo/trinity-base/kwifimanager/Manifest1
-rw-r--r--gentoo/trinity-base/kwifimanager/files/kwifimanager-fix-3.5.13.1.patch25
-rw-r--r--gentoo/trinity-base/kwifimanager/kwifimanager-3.5.13.1.ebuild26
-rw-r--r--gentoo/trinity-base/kwifimanager/kwifimanager-9999.ebuild24
-rw-r--r--gentoo/trinity-base/kwifimanager/metadata.xml8
-rw-r--r--gentoo/trinity-base/kwin/Manifest2
-rw-r--r--gentoo/trinity-base/kwin/kwin-3.5.13.1.ebuild29
-rw-r--r--gentoo/trinity-base/kwin/kwin-3.5.13.2.ebuild29
-rw-r--r--gentoo/trinity-base/kwin/metadata.xml8
-rw-r--r--gentoo/trinity-base/kworldclock/Manifest2
l---------gentoo/trinity-base/kworldclock/files/shared1
-rw-r--r--gentoo/trinity-base/kworldclock/kworldclock-3.5.13.1.ebuild11
-rw-r--r--gentoo/trinity-base/kworldclock/kworldclock-3.5.13.2.ebuild11
-rw-r--r--gentoo/trinity-base/kworldclock/kworldclock-9999.ebuild11
-rw-r--r--gentoo/trinity-base/kworldclock/metadata.xml8
-rw-r--r--gentoo/trinity-base/kxkb/Manifest2
l---------gentoo/trinity-base/kxkb/files/shared1
-rw-r--r--gentoo/trinity-base/kxkb/kxkb-3.5.13.1.ebuild24
-rw-r--r--gentoo/trinity-base/kxkb/kxkb-3.5.13.2.ebuild24
-rw-r--r--gentoo/trinity-base/kxkb/kxkb-9999.ebuild24
-rw-r--r--gentoo/trinity-base/kxkb/metadata.xml8
-rw-r--r--gentoo/trinity-base/libkcal/Manifest2
-rw-r--r--gentoo/trinity-base/libkcal/libkcal-3.5.13.1.ebuild19
-rw-r--r--gentoo/trinity-base/libkcal/libkcal-3.5.13.2.ebuild19
-rw-r--r--gentoo/trinity-base/libkcal/libkcal-9999.ebuild19
-rw-r--r--gentoo/trinity-base/libkcal/metadata.xml8
-rw-r--r--gentoo/trinity-base/libkdenetwork/Manifest1
-rw-r--r--gentoo/trinity-base/libkdenetwork/libkdenetwork-3.5.13.2.ebuild17
-rw-r--r--gentoo/trinity-base/libkdenetwork/metadata.xml8
-rw-r--r--gentoo/trinity-base/libkdepim/Manifest2
-rw-r--r--gentoo/trinity-base/libkdepim/libkdepim-3.5.13.1.ebuild28
-rw-r--r--gentoo/trinity-base/libkdepim/libkdepim-3.5.13.2.ebuild28
-rw-r--r--gentoo/trinity-base/libkdepim/metadata.xml8
-rw-r--r--gentoo/trinity-base/libkholidays/Manifest1
-rw-r--r--gentoo/trinity-base/libkholidays/libkholidays-3.5.13.2.ebuild13
-rw-r--r--gentoo/trinity-base/libkholidays/libkholidays-9999.ebuild13
-rw-r--r--gentoo/trinity-base/libkholidays/metadata.xml8
-rw-r--r--gentoo/trinity-base/libkmime/Manifest2
-rw-r--r--gentoo/trinity-base/libkmime/libkmime-3.5.13.1.ebuild13
-rw-r--r--gentoo/trinity-base/libkmime/libkmime-3.5.13.2.ebuild13
-rw-r--r--gentoo/trinity-base/libkmime/libkmime-9999.ebuild13
-rw-r--r--gentoo/trinity-base/libkmime/metadata.xml8
-rw-r--r--gentoo/trinity-base/libkonq/Manifest2
-rw-r--r--gentoo/trinity-base/libkonq/files/libkonq-3.5.13.1-onlyshowin-tde.patch20
l---------gentoo/trinity-base/libkonq/files/shared1
-rw-r--r--gentoo/trinity-base/libkonq/libkonq-3.5.13.1.ebuild22
-rw-r--r--gentoo/trinity-base/libkonq/libkonq-3.5.13.2.ebuild22
-rw-r--r--gentoo/trinity-base/libkonq/libkonq-9999.ebuild12
-rw-r--r--gentoo/trinity-base/libkonq/metadata.xml8
-rw-r--r--gentoo/trinity-base/libkpimexchange/Manifest1
-rw-r--r--gentoo/trinity-base/libkpimexchange/libkpimexchange-3.5.13.2.ebuild19
-rw-r--r--gentoo/trinity-base/libkpimexchange/libkpimexchange-9999.ebuild19
-rw-r--r--gentoo/trinity-base/libkpimexchange/metadata.xml8
-rw-r--r--gentoo/trinity-base/libkpimidentities/Manifest1
-rw-r--r--gentoo/trinity-base/libkpimidentities/libkpimidentities-3.5.13.2.ebuild19
-rw-r--r--gentoo/trinity-base/libkpimidentities/libkpimidentities-9999.ebuild19
-rw-r--r--gentoo/trinity-base/libkpimidentities/metadata.xml8
-rw-r--r--gentoo/trinity-base/libkscan/Manifest1
-rw-r--r--gentoo/trinity-base/libkscan/files/tdegraphics-libkscan-fix-name.patch13
-rw-r--r--gentoo/trinity-base/libkscan/libkscan-3.5.13.1.ebuild16
-rw-r--r--gentoo/trinity-base/libkscan/libkscan-9999.ebuild14
-rw-r--r--gentoo/trinity-base/libkscan/metadata.xml8
-rw-r--r--gentoo/trinity-base/librss/Manifest1
-rw-r--r--gentoo/trinity-base/librss/files/tdenetwork-fix-export-librss.patch21
-rw-r--r--gentoo/trinity-base/librss/librss-3.5.13.1.ebuild13
-rw-r--r--gentoo/trinity-base/librss/librss-9999.ebuild11
-rw-r--r--gentoo/trinity-base/librss/metadata.xml8
-rw-r--r--gentoo/trinity-base/libtdegames/libtdegames-9999.ebuild11
-rw-r--r--gentoo/trinity-base/libtdegames/metadata.xml8
-rw-r--r--gentoo/trinity-base/libtdenetwork/libtdenetwork-9999.ebuild17
-rw-r--r--gentoo/trinity-base/libtdenetwork/metadata.xml8
-rw-r--r--gentoo/trinity-base/libtdepim/libtdepim-9999.ebuild29
-rw-r--r--gentoo/trinity-base/libtdepim/metadata.xml8
-rw-r--r--gentoo/trinity-base/lisa/Manifest1
-rw-r--r--gentoo/trinity-base/lisa/files/lisa19
-rw-r--r--gentoo/trinity-base/lisa/files/lisa-3.5.13.1-6f85c0c-fix-references-to-user-profile-directory.patch52
-rw-r--r--gentoo/trinity-base/lisa/files/lisa.conf11
-rw-r--r--gentoo/trinity-base/lisa/files/reslisa19
-rw-r--r--gentoo/trinity-base/lisa/files/reslisa.conf8
-rw-r--r--gentoo/trinity-base/lisa/lisa-3.5.13.1.ebuild31
-rw-r--r--gentoo/trinity-base/lisa/lisa-9999.ebuild28
-rw-r--r--gentoo/trinity-base/lisa/metadata.xml8
-rw-r--r--gentoo/trinity-base/noatun-plugins/metadata.xml8
-rw-r--r--gentoo/trinity-base/noatun-plugins/noatun-plugins-9999.ebuild45
-rw-r--r--gentoo/trinity-base/nsplugins/Manifest2
l---------gentoo/trinity-base/nsplugins/files/shared1
-rw-r--r--gentoo/trinity-base/nsplugins/metadata.xml8
-rw-r--r--gentoo/trinity-base/nsplugins/nsplugins-3.5.13.1.ebuild16
-rw-r--r--gentoo/trinity-base/nsplugins/nsplugins-3.5.13.2.ebuild16
-rw-r--r--gentoo/trinity-base/nsplugins/nsplugins-9999.ebuild16
-rw-r--r--gentoo/trinity-base/renamedlg-plugins/metadata.xml8
-rw-r--r--gentoo/trinity-base/renamedlg-plugins/renamedlg-plugins-9999.ebuild12
-rw-r--r--gentoo/trinity-base/superkaramba/Manifest2
l---------gentoo/trinity-base/superkaramba/files/shared1
-rw-r--r--gentoo/trinity-base/superkaramba/metadata.xml8
-rw-r--r--gentoo/trinity-base/superkaramba/superkaramba-3.5.13.1.ebuild24
-rw-r--r--gentoo/trinity-base/superkaramba/superkaramba-3.5.13.2.ebuild24
-rw-r--r--gentoo/trinity-base/superkaramba/superkaramba-9999.ebuild24
-rw-r--r--gentoo/trinity-base/tde-i18n/metadata.xml8
-rw-r--r--gentoo/trinity-base/tde-i18n/tde-i18n-9999.ebuild60
-rw-r--r--gentoo/trinity-base/tdeaddons-doc/metadata.xml8
-rw-r--r--gentoo/trinity-base/tdeaddons-doc/tdeaddons-doc-9999.ebuild27
-rw-r--r--gentoo/trinity-base/tdeaddons-meta/metadata.xml8
-rw-r--r--gentoo/trinity-base/tdeaddons-meta/tdeaddons-meta-9999.ebuild30
-rw-r--r--gentoo/trinity-base/tdeaddons-tdefile-plugins/metadata.xml8
-rw-r--r--gentoo/trinity-base/tdeaddons-tdefile-plugins/tdeaddons-tdefile-plugins-9999.ebuild11
-rw-r--r--gentoo/trinity-base/tdeartwork-emoticons/metadata.xml8
-rw-r--r--gentoo/trinity-base/tdeartwork-emoticons/tdeartwork-emoticons-9999.ebuild11
-rw-r--r--gentoo/trinity-base/tdeartwork-icewm-themes/metadata.xml8
-rw-r--r--gentoo/trinity-base/tdeartwork-icewm-themes/tdeartwork-icewm-themes-9999.ebuild18
-rw-r--r--gentoo/trinity-base/tdeartwork-icon-themes/metadata.xml8
-rw-r--r--gentoo/trinity-base/tdeartwork-icon-themes/tdeartwork-icon-themes-9999.ebuild23
-rw-r--r--gentoo/trinity-base/tdeartwork-kworldclock/metadata.xml8
-rw-r--r--gentoo/trinity-base/tdeartwork-kworldclock/tdeartwork-kworldclock-9999.ebuild14
-rw-r--r--gentoo/trinity-base/tdeartwork-meta/metadata.xml8
-rw-r--r--gentoo/trinity-base/tdeartwork-meta/tdeartwork-meta-9999.ebuild27
-rw-r--r--gentoo/trinity-base/tdeartwork-sounds/metadata.xml8
-rw-r--r--gentoo/trinity-base/tdeartwork-sounds/tdeartwork-sounds-9999.ebuild11
-rw-r--r--gentoo/trinity-base/tdeartwork-styles/metadata.xml8
-rw-r--r--gentoo/trinity-base/tdeartwork-styles/tdeartwork-styles-9999.ebuild11
-rw-r--r--gentoo/trinity-base/tdeartwork-tdescreensaver/metadata.xml8
-rw-r--r--gentoo/trinity-base/tdeartwork-tdescreensaver/tdeartwork-tdescreensaver-9999.ebuild33
-rw-r--r--gentoo/trinity-base/tdeartwork-twin-styles/metadata.xml8
-rw-r--r--gentoo/trinity-base/tdeartwork-twin-styles/tdeartwork-twin-styles-9999.ebuild13
-rw-r--r--gentoo/trinity-base/tdeartwork-wallpapers/metadata.xml8
-rw-r--r--gentoo/trinity-base/tdeartwork-wallpapers/tdeartwork-wallpapers-9999.ebuild11
l---------gentoo/trinity-base/tdebase-data/files/shared1
-rw-r--r--gentoo/trinity-base/tdebase-data/metadata.xml8
-rw-r--r--gentoo/trinity-base/tdebase-data/tdebase-data-9999.ebuild13
-rw-r--r--gentoo/trinity-base/tdebase-meta/metadata.xml8
-rw-r--r--gentoo/trinity-base/tdebase-meta/tdebase-meta-9999.ebuild61
-rw-r--r--gentoo/trinity-base/tdebase-pam/files/tde-np.pam-610
-rw-r--r--gentoo/trinity-base/tdebase-pam/files/tde.pam-710
-rw-r--r--gentoo/trinity-base/tdebase-pam/metadata.xml9
-rw-r--r--gentoo/trinity-base/tdebase-pam/tdebase-pam-7.ebuild21
-rw-r--r--gentoo/trinity-base/tdebase-starttde/files/agent-shutdown.sh13
-rw-r--r--gentoo/trinity-base/tdebase-starttde/files/agent-startup.sh29
-rw-r--r--gentoo/trinity-base/tdebase-starttde/files/kdebase-startkde-trinity-gentoo.patch46
l---------gentoo/trinity-base/tdebase-starttde/files/shared1
-rw-r--r--gentoo/trinity-base/tdebase-starttde/files/tdebase-starttde-14-gentoo.patch32
-rw-r--r--gentoo/trinity-base/tdebase-starttde/metadata.xml8
-rw-r--r--gentoo/trinity-base/tdebase-starttde/tdebase-starttde-9999.ebuild95
l---------gentoo/trinity-base/tdebase-tdeioslaves/files/shared1
-rw-r--r--gentoo/trinity-base/tdebase-tdeioslaves/metadata.xml15
-rw-r--r--gentoo/trinity-base/tdebase-tdeioslaves/tdebase-tdeioslaves-9999.ebuild47
-rw-r--r--gentoo/trinity-base/tdedebugdialog/metadata.xml8
-rw-r--r--gentoo/trinity-base/tdedebugdialog/tdedebugdialog-9999.ebuild12
-rw-r--r--gentoo/trinity-base/tdednssd/metadata.xml8
-rw-r--r--gentoo/trinity-base/tdednssd/tdednssd-9999.ebuild11
-rw-r--r--gentoo/trinity-base/tdeeject/metadata.xml8
-rw-r--r--gentoo/trinity-base/tdeeject/tdeeject-9999.ebuild15
-rw-r--r--gentoo/trinity-base/tdegames-doc/metadata.xml8
-rw-r--r--gentoo/trinity-base/tdegames-doc/tdegames-doc-9999.ebuild27
-rw-r--r--gentoo/trinity-base/tdegames-meta/metadata.xml8
-rw-r--r--gentoo/trinity-base/tdegames-meta/tdegames-meta-9999.ebuild52
-rw-r--r--gentoo/trinity-base/tdegraphics-doc/metadata.xml8
-rw-r--r--gentoo/trinity-base/tdegraphics-doc/tdegraphics-doc-9999.ebuild27
-rw-r--r--gentoo/trinity-base/tdegraphics-meta/metadata.xml8
-rw-r--r--gentoo/trinity-base/tdegraphics-meta/tdegraphics-meta-9999.ebuild40
-rw-r--r--gentoo/trinity-base/tdegraphics-tdefile-plugins/metadata.xml8
-rw-r--r--gentoo/trinity-base/tdegraphics-tdefile-plugins/tdegraphics-tdefile-plugins-9999.ebuild29
-rw-r--r--gentoo/trinity-base/tdeiconedit/metadata.xml8
-rw-r--r--gentoo/trinity-base/tdeiconedit/tdeiconedit-9999.ebuild11
l---------gentoo/trinity-base/tdeinit/files/shared1
-rw-r--r--gentoo/trinity-base/tdeinit/metadata.xml8
-rw-r--r--gentoo/trinity-base/tdeinit/tdeinit-9999.ebuild11
-rw-r--r--gentoo/trinity-base/tdelibs/metadata.xml17
-rw-r--r--gentoo/trinity-base/tdelibs/tdelibs-9999.ebuild143
-rw-r--r--gentoo/trinity-base/tdelirc/metadata.xml8
-rw-r--r--gentoo/trinity-base/tdelirc/tdelirc-9999.ebuild11
l---------gentoo/trinity-base/tdenetwork-doc/files/shared1
-rw-r--r--gentoo/trinity-base/tdenetwork-doc/metadata.xml8
-rw-r--r--gentoo/trinity-base/tdenetwork-doc/tdenetwork-doc-9999.ebuild27
-rw-r--r--gentoo/trinity-base/tdenetwork-filesharing/metadata.xml8
-rw-r--r--gentoo/trinity-base/tdenetwork-filesharing/tdenetwork-filesharing-9999.ebuild11
-rw-r--r--gentoo/trinity-base/tdenetwork-meta/metadata.xml8
-rw-r--r--gentoo/trinity-base/tdenetwork-meta/tdenetwork-meta-9999.ebuild36
-rw-r--r--gentoo/trinity-base/tdenetwork-tdefile-plugins/metadata.xml8
-rw-r--r--gentoo/trinity-base/tdenetwork-tdefile-plugins/tdenetwork-tdefile-plugins-9999.ebuild11
l---------gentoo/trinity-base/tdepasswd/files/shared1
-rw-r--r--gentoo/trinity-base/tdepasswd/metadata.xml8
-rw-r--r--gentoo/trinity-base/tdepasswd/tdepasswd-9999.ebuild14
l---------gentoo/trinity-base/tdeprint/files/shared1
-rw-r--r--gentoo/trinity-base/tdeprint/metadata.xml8
-rw-r--r--gentoo/trinity-base/tdeprint/tdeprint-9999.ebuild16
-rw-r--r--gentoo/trinity-base/tdescreensaver/metadata.xml11
-rw-r--r--gentoo/trinity-base/tdescreensaver/tdescreensaver-9999.ebuild30
l---------gentoo/trinity-base/tdesu/files/shared1
-rw-r--r--gentoo/trinity-base/tdesu/metadata.xml12
-rw-r--r--gentoo/trinity-base/tdesu/tdesu-9999.ebuild33
l---------gentoo/trinity-base/tdetoys-doc/files/shared1
-rw-r--r--gentoo/trinity-base/tdetoys-doc/metadata.xml8
-rw-r--r--gentoo/trinity-base/tdetoys-doc/tdetoys-doc-9999.ebuild27
-rw-r--r--gentoo/trinity-base/tdetoys-meta/metadata.xml8
-rw-r--r--gentoo/trinity-base/tdetoys-meta/tdetoys-meta-9999.ebuild28
-rw-r--r--gentoo/trinity-base/tdeutils-doc/metadata.xml8
-rw-r--r--gentoo/trinity-base/tdeutils-doc/tdeutils-doc-9999.ebuild13
-rw-r--r--gentoo/trinity-base/tdeutils-meta/metadata.xml8
-rw-r--r--gentoo/trinity-base/tdeutils-meta/tdeutils-meta-9999.ebuild36
-rw-r--r--gentoo/trinity-base/tdewallet/metadata.xml8
-rw-r--r--gentoo/trinity-base/tdewallet/tdewallet-9999.ebuild11
l---------gentoo/trinity-base/tdm/files/shared1
-rwxr-xr-xgentoo/trinity-base/tdm/files/tdm-9999-xsession.script66
-rw-r--r--gentoo/trinity-base/tdm/metadata.xml12
-rw-r--r--gentoo/trinity-base/tdm/tdm-9999.ebuild104
-rw-r--r--gentoo/trinity-base/tqt3integration/Manifest2
l---------gentoo/trinity-base/tqt3integration/files/shared1
-rw-r--r--gentoo/trinity-base/tqt3integration/metadata.xml8
-rw-r--r--gentoo/trinity-base/tqt3integration/tqt3integration-3.5.13.1.ebuild11
-rw-r--r--gentoo/trinity-base/tqt3integration/tqt3integration-3.5.13.2.ebuild11
-rw-r--r--gentoo/trinity-base/tqt3integration/tqt3integration-9999.ebuild11
l---------gentoo/trinity-base/twin/files/shared1
-rw-r--r--gentoo/trinity-base/twin/metadata.xml14
-rw-r--r--gentoo/trinity-base/twin/twin-9999.ebuild47
859 files changed, 13899 insertions, 0 deletions
diff --git a/gentoo/trinity-base/akregator/Manifest b/gentoo/trinity-base/akregator/Manifest
new file mode 100644
index 000000000..4a730c44c
--- /dev/null
+++ b/gentoo/trinity-base/akregator/Manifest
@@ -0,0 +1,2 @@
+DIST kdepim-3.5.13.1.tar.gz 12954293 SHA256 29755dd66b6da83cb1105fd22954869b911c836f806c19d6a56cdfd6ee79287f SHA512 52f0133f0d296488786f26fe118eefb2018542a36de82d2fd253b7af4e1496ffbee1470869510259202b0a1b5cc6fb1b1b7b8a3ec0b27197fa60927281d1cb9e WHIRLPOOL b34852363e6a6ecdeaacbd9b0775ed0c8c5f692181dc1eee14543c0761a92af43bd96139a7588585ac9715721f62f2aaee603af11240a9a5a93d662262168887
+DIST kdepim-trinity-3.5.13.2.tar.xz 10148724 SHA256 2cbd61e28322e4c7d67ffb16ac59329b3f15ba1a4485095994b9bce6786df7c4 SHA512 a84319183813dc78dc97397c8c3871faa3961b458eda8107525b8b9c6789d13aedd8e3c7cb0706c4ca8dd63f69ff67de02716219c8af44ebf96d484d820eb2bf WHIRLPOOL 907d9d86f1b0094b915989ca7f0feb4f67ac1b238a4c6d176ab1ef9164eff78778b2714ebedeb40de28536a8384b39ec7e637f1bb6911cccb40f7d8663811edb
diff --git a/gentoo/trinity-base/akregator/akregator-3.5.13.1.ebuild b/gentoo/trinity-base/akregator/akregator-3.5.13.1.ebuild
new file mode 100644
index 000000000..dc1511e6b
--- /dev/null
+++ b/gentoo/trinity-base/akregator/akregator-3.5.13.1.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdepim"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity news feed aggregator."
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="
+ >=trinity-base/ktnef-${PV}:${SLOT}
+ >=trinity-base/libkmime-${PV}:${SLOT}
+ >=trinity-base/libkdepim-${PV}:${SLOT}
+ >=trinity-base/libkcal-${PV}:${SLOT}"
+RDEPEND="${DEPEND}"
+
+TSM_EXTRACT_ALSO="libkdepim"
diff --git a/gentoo/trinity-base/akregator/akregator-3.5.13.2.ebuild b/gentoo/trinity-base/akregator/akregator-3.5.13.2.ebuild
new file mode 100644
index 000000000..24f019e98
--- /dev/null
+++ b/gentoo/trinity-base/akregator/akregator-3.5.13.2.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdepim"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity news feed aggregator."
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+ >=trinity-base/ktnef-${PV}:${SLOT}
+ >=trinity-base/libkmime-${PV}:${SLOT}
+ >=trinity-base/libkdepim-${PV}:${SLOT}
+ >=trinity-base/libkcal-${PV}:${SLOT}"
+RDEPEND="${DEPEND}"
+
+TSM_EXTRACT_ALSO="libkdepim/"
diff --git a/gentoo/trinity-base/akregator/akregator-9999.ebuild b/gentoo/trinity-base/akregator/akregator-9999.ebuild
new file mode 100644
index 000000000..050adbdfb
--- /dev/null
+++ b/gentoo/trinity-base/akregator/akregator-9999.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdepim"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity news feed aggregator."
+KEYWORDS=""
+IUSE=""
+
+DEPEND="
+ >=trinity-base/ktnef-${PV}:${SLOT}
+ >=trinity-base/libkmime-${PV}:${SLOT}
+ >=trinity-base/libtdepim-${PV}:${SLOT}
+ >=trinity-base/libkcal-${PV}:${SLOT}"
+RDEPEND="${DEPEND}"
+
+TSM_EXTRACT_ALSO="libtdepim/"
diff --git a/gentoo/trinity-base/akregator/metadata.xml b/gentoo/trinity-base/akregator/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/akregator/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/amor/Manifest b/gentoo/trinity-base/amor/Manifest
new file mode 100644
index 000000000..23ad50106
--- /dev/null
+++ b/gentoo/trinity-base/amor/Manifest
@@ -0,0 +1,2 @@
+DIST kdetoys-3.5.13.1.tar.gz 3037255 SHA256 41e4224bcf816e52877b17d2dcdc86d94e8f304fee2d3fb35b97921544eafd9d SHA512 e7cd7943004e5d1ec83c0fe484fab82f2cdd5f5d39ee77db419938f023cd3c42ba0b257d0ddc783de7bd528c90195821d810babfa193c60856437593c24ce879 WHIRLPOOL 8d482537f972a24b1cef9ad789edd314517f4e3a6b37056f47d92292c8c30e70def24e99efc552b4504503e2224e1209ae946ff34ac94feaf128c038c54f010d
+DIST kdetoys-trinity-3.5.13.2.tar.xz 2757260 SHA256 a0533ceb6fb103600eb33ef3136d40f84ec826e24e0b95cc45e68ef73a5232f6 SHA512 eb67a70d75a473f885db8993f5eebd3480e68e43e4de60240fde411696ed8b895029505a5125fe51a41d6ccb583ba50c4c67465d770f14f9a1c1533281154f78 WHIRLPOOL d79f58085d2af17453fc50c621ea6fe6909d476cf5f0a6b6ccf51ef69eed0ba073091f587439eb5afd644e0286dfe2ee86ccd903346d3060c3fe90299511018a
diff --git a/gentoo/trinity-base/amor/amor-3.5.13.1.ebuild b/gentoo/trinity-base/amor/amor-3.5.13.1.ebuild
new file mode 100644
index 000000000..f9e407cf8
--- /dev/null
+++ b/gentoo/trinity-base/amor/amor-3.5.13.1.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdetoys"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity: Amusing Misuse Of Resources - desktop-dwelling creature"
+KEYWORDS="amd64 x86"
+IUSE=""
diff --git a/gentoo/trinity-base/amor/amor-3.5.13.2.ebuild b/gentoo/trinity-base/amor/amor-3.5.13.2.ebuild
new file mode 100644
index 000000000..eef2164b5
--- /dev/null
+++ b/gentoo/trinity-base/amor/amor-3.5.13.2.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdetoys"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity: Amusing Misuse Of Resources - desktop-dwelling creature"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
diff --git a/gentoo/trinity-base/amor/amor-9999.ebuild b/gentoo/trinity-base/amor/amor-9999.ebuild
new file mode 100644
index 000000000..298c6edef
--- /dev/null
+++ b/gentoo/trinity-base/amor/amor-9999.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdetoys"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity: Amusing Misuse Of Resources - desktop-dwelling creature"
+KEYWORDS=
+IUSE=""
diff --git a/gentoo/trinity-base/amor/files/shared b/gentoo/trinity-base/amor/files/shared
new file mode 120000
index 000000000..af62be31d
--- /dev/null
+++ b/gentoo/trinity-base/amor/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files/ \ No newline at end of file
diff --git a/gentoo/trinity-base/amor/metadata.xml b/gentoo/trinity-base/amor/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/amor/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/ark/Manifest b/gentoo/trinity-base/ark/Manifest
new file mode 100644
index 000000000..c59ac62b4
--- /dev/null
+++ b/gentoo/trinity-base/ark/Manifest
@@ -0,0 +1,2 @@
+DIST kdeutils-3.5.13.1.tar.gz 2829393 SHA256 3e7ab07fe1bb3e7be7ac3a3796366c88d3b79a58af911546e2c65e32363db527 SHA512 48733e472d0f5da85ef8a32ed6db7fa5e61f0682e49842439e6ea38a1e407059bb35efffe41fc6ed1a718511fd5b2b2c8222d816a23500a4dcbca17461f9a3bd WHIRLPOOL 1488e0c44f60b4d5e397dd2cf93de048eae1b915d4b2b7b1cf27768946f5aae3b5bcc3971ee28b5fa6a57a0b94cca6db0866138b69ad74f1f7bb97cdaaebdbe2
+DIST kdeutils-trinity-3.5.13.2.tar.xz 2259232 SHA256 b2999b9ef39bb2f269b84fdf34a814b5a5599aae7d05538d0bf680c18fb334fa SHA512 f501aa4b61bf440e873eec96f09c0c24ad780db2f9f14b884001c04c04aafccb5afb2b492dcf4fc640f3ec35d86aa419d67936122648a986662cd7b7f4f8a2d8 WHIRLPOOL 49296006875250212f0fdeb0c90c4f69cf0aa7cfd38415e2f7b50bdf81754de64562df2400f4932a502adbe84b58be34cae6c029d68cc62d0e91de5158513239
diff --git a/gentoo/trinity-base/ark/ark-3.5.13.1.ebuild b/gentoo/trinity-base/ark/ark-3.5.13.1.ebuild
new file mode 100644
index 000000000..0b1bac87b
--- /dev/null
+++ b/gentoo/trinity-base/ark/ark-3.5.13.1.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity Archiving tool"
+KEYWORDS="x86 amd64"
+IUSE=""
+
+pkg_postinst(){
+ elog "You may want to install app-arch/lha, app-arch/p7zip, app-arch/rar,"
+ elog "app-arch/zip or app-arch/zoo for support of these archive types."
+}
diff --git a/gentoo/trinity-base/ark/ark-3.5.13.2.ebuild b/gentoo/trinity-base/ark/ark-3.5.13.2.ebuild
new file mode 100644
index 000000000..ec0549744
--- /dev/null
+++ b/gentoo/trinity-base/ark/ark-3.5.13.2.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity Archiving tool"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+pkg_postinst(){
+ elog "You may want to install app-arch/lha, app-arch/p7zip, app-arch/rar,"
+ elog "app-arch/zip or app-arch/zoo for support of these archive types."
+}
diff --git a/gentoo/trinity-base/ark/ark-9999.ebuild b/gentoo/trinity-base/ark/ark-9999.ebuild
new file mode 100644
index 000000000..d4a29b1fd
--- /dev/null
+++ b/gentoo/trinity-base/ark/ark-9999.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity Archiving tool"
+KEYWORDS=""
+IUSE=""
+
+pkg_postinst(){
+ elog "You may want to install app-arch/lha, app-arch/p7zip, app-arch/rar,"
+ elog "app-arch/zip or app-arch/zoo for support of these archive types."
+}
diff --git a/gentoo/trinity-base/ark/files/shared b/gentoo/trinity-base/ark/files/shared
new file mode 120000
index 000000000..af62be31d
--- /dev/null
+++ b/gentoo/trinity-base/ark/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files/ \ No newline at end of file
diff --git a/gentoo/trinity-base/ark/metadata.xml b/gentoo/trinity-base/ark/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/ark/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/arts/Manifest b/gentoo/trinity-base/arts/Manifest
new file mode 100644
index 000000000..ab59b6c09
--- /dev/null
+++ b/gentoo/trinity-base/arts/Manifest
@@ -0,0 +1,2 @@
+DIST arts-3.5.13.1.tar.gz 907039 SHA256 ab0f66866d92f3b5f99cc7f96a99615f6873b2326aa0c81670cafb05d4c19b60 SHA512 287ced8a2251929cb9a47c1c158c11c48d8e1174fa9a41dbd32103e1aed64e51f38a641b6600b966c6ac147c913fe6a21db73e57287fdc7de85c535284f1e9e2 WHIRLPOOL de76330c608d31d99c5fe1d95e457d5b7ca286287e329f1d8adfa7cff0c4d7df0ad0235fa2152fee81b7e4aca193e1b960bb2db28e5a25890d8e819d5f8da4fb
+DIST arts-trinity-3.5.13.2.tar.xz 669044 SHA256 5498d299698b1a0148f31b9d1f807d486ee2d06a0119997eb143f27cab682a3b SHA512 2efd1ed900d909e49e8083bb223efa577968a5b4ed2f3bb5292adaedac20ed804fb177aa5206d62707a18a0198a443141f00b5dec1cdabd834f9abf7107e0548 WHIRLPOOL 02142a7fb8f0d1022178ca422590f57ea06bdf490d528ee1f6a396e9b16c55db226a053dcf7a8dcd09437eb2e9887cd9b89a0a93697b372b9657e9e3cc3cbcb8
diff --git a/gentoo/trinity-base/arts/arts-3.5.13.1.ebuild b/gentoo/trinity-base/arts/arts-3.5.13.1.ebuild
new file mode 100644
index 000000000..69f717f63
--- /dev/null
+++ b/gentoo/trinity-base/arts/arts-3.5.13.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+
+TRINITY_MODULE_TYPE="dependencies"
+TRINITY_MODULE_NAME="${PN}"
+
+inherit trinity-base
+
+set-trinityver
+
+DESCRIPTION="aRts, the Trinity sound (and all-around multimedia) server/output manager"
+HOMEPAGE="http://trinitydesktop.org/"
+
+LICENSE="GPL-2"
+KEYWORDS="x86 amd64"
+IUSE="alsa -artswrappersuid jack mp3 nas vorbis"
+SLOT="${TRINITY_VER}"
+
+DEPEND="dev-qt/tqtinterface
+ dev-libs/glib:2
+ media-libs/audiofile
+ mp3? ( media-libs/libmad )
+ nas? ( media-libs/nas )
+ alsa? ( media-libs/alsa-lib )
+ vorbis? ( media-libs/libogg media-libs/libvorbis )
+ jack? ( >=media-sound/jack-audio-connection-kit-0.90 )"
+RDEPEND="${RDEPEND}"
+
+src_configure() {
+ mycmakeargs=(
+ -DAUDIOFILE=ON
+ $(cmake-utils_use_with mp3 MAD)
+ $(cmake-utils_use_with nas NAS)
+ $(cmake-utils_use_with alsa ALSA)
+ $(cmake-utils_use_with vorbis VORBIS)
+ $(cmake-utils_use_with jack JACK)
+ # NOTE: WITH_ESD dropped due to remove of esound long ago
+ )
+
+ trinity-base_src_configure
+}
+
+src_install() {
+ trinity-base_src_install
+
+ # used for realtime priority, but off by default as it is a security hazard
+ use artswrappersuid && chmod u+s "${D}/${PREFIX}/bin/artswrapper"
+}
+
+pkg_postinst() {
+ if ! use artswrappersuid ; then
+ elog "Run chmod u+s ${PREFIX}/bin/artswrapper to let artsd use realtime priority"
+ elog "and so avoid possible skips in sound. However, on untrusted systems this"
+ elog "creates the possibility of a DoS attack that'll use 100% cpu at realtime"
+ elog "priority, and so is off by default. See bug #7883."
+ elog "Or, you can set the local artswrappersuid USE flag to make the ebuild do this."
+ fi
+}
diff --git a/gentoo/trinity-base/arts/arts-3.5.13.2.ebuild b/gentoo/trinity-base/arts/arts-3.5.13.2.ebuild
new file mode 100644
index 000000000..a788528e4
--- /dev/null
+++ b/gentoo/trinity-base/arts/arts-3.5.13.2.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+
+TRINITY_MODULE_TYPE="dependencies"
+TRINITY_MODULE_NAME="${PN}"
+
+inherit trinity-base
+
+set-trinityver
+
+DESCRIPTION="aRts, the Trinity sound (and all-around multimedia) server/output manager"
+HOMEPAGE="http://trinitydesktop.org/"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE="alsa -artswrappersuid jack mp3 nas vorbis"
+SLOT="${TRINITY_VER}"
+
+DEPEND="dev-qt/tqtinterface
+ dev-libs/glib:2
+ media-libs/audiofile
+ mp3? ( media-libs/libmad )
+ nas? ( media-libs/nas )
+ alsa? ( media-libs/alsa-lib )
+ vorbis? ( media-libs/libogg media-libs/libvorbis )
+ jack? ( >=media-sound/jack-audio-connection-kit-0.90 )"
+RDEPEND="${RDEPEND}"
+
+src_configure() {
+ mycmakeargs=(
+ -DAUDIOFILE=ON
+ $(cmake-utils_use_with mp3 MAD)
+ $(cmake-utils_use_with nas NAS)
+ $(cmake-utils_use_with alsa ALSA)
+ $(cmake-utils_use_with vorbis VORBIS)
+ $(cmake-utils_use_with jack JACK)
+ # NOTE: WITH_ESD dropped due to remove of esound long ago
+ )
+
+ trinity-base_src_configure
+}
+
+src_install() {
+ trinity-base_src_install
+
+ # used for realtime priority, but off by default as it is a security hazard
+ use artswrappersuid && chmod u+s "${D}/${PREFIX}/bin/artswrapper"
+}
+
+pkg_postinst() {
+ if ! use artswrappersuid ; then
+ elog "Run chmod u+s ${PREFIX}/bin/artswrapper to let artsd use realtime priority"
+ elog "and so avoid possible skips in sound. However, on untrusted systems this"
+ elog "creates the possibility of a DoS attack that'll use 100% cpu at realtime"
+ elog "priority, and so is off by default. See bug #7883."
+ elog "Or, you can set the local artswrappersuid USE flag to make the ebuild do this."
+ fi
+}
diff --git a/gentoo/trinity-base/arts/arts-9999.ebuild b/gentoo/trinity-base/arts/arts-9999.ebuild
new file mode 100644
index 000000000..b205996d3
--- /dev/null
+++ b/gentoo/trinity-base/arts/arts-9999.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+
+TRINITY_MODULE_TYPE="dependencies"
+TRINITY_MODULE_NAME="${PN}"
+
+inherit trinity-base
+
+set-trinityver
+
+DESCRIPTION="aRts, the Trinity sound (and all-around multimedia) server/output manager"
+HOMEPAGE="http://trinitydesktop.org/"
+
+LICENSE="GPL-2"
+KEYWORDS=
+IUSE="alsa -artswrappersuid jack mp3 nas vorbis"
+SLOT="$TRINITY_VER"
+
+DEPEND="dev-qt/tqtinterface
+ dev-libs/glib:2
+ media-libs/audiofile
+ mp3? ( media-libs/libmad )
+ nas? ( media-libs/nas )
+ alsa? ( media-libs/alsa-lib )
+ vorbis? ( media-libs/libogg media-libs/libvorbis )
+ jack? ( >=media-sound/jack-audio-connection-kit-0.90 )"
+RDEPEND="${RDEPEND}"
+
+src_configure() {
+ mycmakeargs=(
+ -DAUDIOFILE=ON
+ $(cmake-utils_use_with mp3 MAD)
+ $(cmake-utils_use_with nas NAS)
+ $(cmake-utils_use_with alsa ALSA)
+ $(cmake-utils_use_with vorbis VORBIS)
+ $(cmake-utils_use_with jack JACK)
+ # NOTE: WITH_ESD dropped due to remove of esound long ago
+ )
+
+ trinity-base_src_configure
+}
+
+src_install() {
+ trinity-base_src_install
+
+ # used for realtime priority, but off by default as it is a security hazard
+ use artswrappersuid && chmod u+s "${D}/${PREFIX}/bin/artswrapper"
+}
+
+pkg_postinst() {
+ if ! use artswrappersuid ; then
+ elog "Run chmod u+s ${PREFIX}/bin/artswrapper to let artsd use realtime priority"
+ elog "and so avoid possible skips in sound. However, on untrusted systems this"
+ elog "creates the possibility of a DoS attack that'll use 100% cpu at realtime"
+ elog "priority, and so is off by default. See bug #7883."
+ elog "Or, you can set the local artswrappersuid USE flag to make the ebuild do this."
+ fi
+}
diff --git a/gentoo/trinity-base/arts/metadata.xml b/gentoo/trinity-base/arts/metadata.xml
new file mode 100644
index 000000000..c4cdfec98
--- /dev/null
+++ b/gentoo/trinity-base/arts/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+ <use>
+ <flag name="artswrappersuid">Set artswrapper suid for realtime playing, which is a security hazard</flag>
+ </use>
+
+</pkgmetadata>
diff --git a/gentoo/trinity-base/certmanager/Manifest b/gentoo/trinity-base/certmanager/Manifest
new file mode 100644
index 000000000..d6ce26a13
--- /dev/null
+++ b/gentoo/trinity-base/certmanager/Manifest
@@ -0,0 +1 @@
+DIST kdepim-trinity-3.5.13.2.tar.xz 10148724 SHA256 2cbd61e28322e4c7d67ffb16ac59329b3f15ba1a4485095994b9bce6786df7c4 SHA512 a84319183813dc78dc97397c8c3871faa3961b458eda8107525b8b9c6789d13aedd8e3c7cb0706c4ca8dd63f69ff67de02716219c8af44ebf96d484d820eb2bf WHIRLPOOL 907d9d86f1b0094b915989ca7f0feb4f67ac1b238a4c6d176ab1ef9164eff78778b2714ebedeb40de28536a8384b39ec7e637f1bb6911cccb40f7d8663811edb
diff --git a/gentoo/trinity-base/certmanager/certmanager-3.5.13.2.ebuild b/gentoo/trinity-base/certmanager/certmanager-3.5.13.2.ebuild
new file mode 100644
index 000000000..473d1a626
--- /dev/null
+++ b/gentoo/trinity-base/certmanager/certmanager-3.5.13.2.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdepim"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity certificate manager gui"
+KEYWORDS="~amd64 ~x86"
+IUSE+=""
+
+COMMON_DEPEND=">=trinity-base/libkdenetwork-${PV}:${SLOT}
+ >=app-crypt/gpgme-1.1.2-r1
+ || ( >=app-crypt/gnupg-2.0.1-r1 <app-crypt/gnupg-1.9 )"
+ #CHECKME: this is an old kde3-times assertion
+ # We use GnuPG 1.4.x for OpenPGP and 1.9 (via gpgme) for s/mime as upstream advises.
+DEPEND+=" ${COMMON_DEPEND}"
+RDEPEND+=" ${COMMON_DEPEND}"
+
+TSM_EXTRACT_ALSO="libkdepim/ libkpgp/ libkdenetwork/"
+
+pkg_postinst() {
+ trinity-meta_pkg_postinst
+ elog "For X.509 CRL and OCSP support, install app-crypt/dirmngr, please."
+}
diff --git a/gentoo/trinity-base/certmanager/certmanager-9999.ebuild b/gentoo/trinity-base/certmanager/certmanager-9999.ebuild
new file mode 100644
index 000000000..6b91e2448
--- /dev/null
+++ b/gentoo/trinity-base/certmanager/certmanager-9999.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdepim"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity certificate manager gui"
+KEYWORDS=""
+IUSE+=""
+
+COMMON_DEPEND=">=trinity-base/libtdenetwork-${PV}:${SLOT}
+ >=app-crypt/gpgme-1.1.2-r1
+ || ( >=app-crypt/gnupg-2.0.1-r1 <app-crypt/gnupg-1.9 )"
+ #CHECKME: this is an old kde3-times assertion
+ # We use GnuPG 1.4.x for OpenPGP and 1.9 (via gpgme) for s/mime as upstream advises.
+DEPEND+=" ${COMMON_DEPEND}"
+RDEPEND+=" ${COMMON_DEPEND}"
+
+TSM_EXTRACT_ALSO="libtdepim/ libkpgp/ libtdenetwork/"
+
+pkg_postinst() {
+ trinity-meta_pkg_postinst
+ elog "For X.509 CRL and OCSP support, install app-crypt/dirmngr, please."
+}
diff --git a/gentoo/trinity-base/certmanager/metadata.xml b/gentoo/trinity-base/certmanager/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/certmanager/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/dcoprss/Manifest b/gentoo/trinity-base/dcoprss/Manifest
new file mode 100644
index 000000000..1d49700dc
--- /dev/null
+++ b/gentoo/trinity-base/dcoprss/Manifest
@@ -0,0 +1 @@
+DIST kdenetwork-3.5.13.1.tar.gz 8794225 SHA256 21e69e8cb2550561c26913a5cccdc376115f50cffd43f9a94f7a660a303f46f9 SHA512 b3189a9f5e9cddd130b24a82b95ef90db1ec3c7afa280a46101ba7cbf6f9d92f60a536401f648a96459ba87f70ede5f7ae4affe894515a8e858b40ee79cb1b69 WHIRLPOOL de678ab30e3aa8dc3068c895fd000fdab1bc046e272273bf44196a198210efab82ddde3c5e0ffaa863061e9c56e3a8a68ca2f8f03cd77136755f66688f878c65
diff --git a/gentoo/trinity-base/dcoprss/dcoprss-3.5.13.1.ebuild b/gentoo/trinity-base/dcoprss/dcoprss-3.5.13.1.ebuild
new file mode 100644
index 000000000..def15367a
--- /dev/null
+++ b/gentoo/trinity-base/dcoprss/dcoprss-3.5.13.1.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdenetwork"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity RSS server and client for DCOP"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND=">=trinity-base/librss-${PV}:${SLOT}"
+RDEPEND="${DEPEND}"
+
+TSM_EXTRACT_ALSO="librss/"
diff --git a/gentoo/trinity-base/dcoprss/dcoprss-9999.ebuild b/gentoo/trinity-base/dcoprss/dcoprss-9999.ebuild
new file mode 100644
index 000000000..f085b330b
--- /dev/null
+++ b/gentoo/trinity-base/dcoprss/dcoprss-9999.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdenetwork"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity RSS server and client for DCOP"
+KEYWORDS=
+IUSE=""
+
+DEPEND=">=trinity-base/librss-${PV}:${SLOT}"
+RDEPEND="${DEPEND}"
+
+TSM_EXTRACT_ALSO="librss/"
diff --git a/gentoo/trinity-base/dcoprss/metadata.xml b/gentoo/trinity-base/dcoprss/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/dcoprss/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/drkonqi/Manifest b/gentoo/trinity-base/drkonqi/Manifest
new file mode 100644
index 000000000..381340c4b
--- /dev/null
+++ b/gentoo/trinity-base/drkonqi/Manifest
@@ -0,0 +1,2 @@
+DIST kdebase-3.5.13.1.tar.gz 29403228 SHA256 ddd4bd4b508ad027b9d1af2701c6ba64bfc9f8f1d32099e6dd5e7866714f759e SHA512 e1aac19c941a5f2b43a57928fdb43e5ebd646f49c60911d9d317550df96642870792c4e77ecd06e123244e2425ccd4bcb00f0a21011ba7e651d7fcf4553e79cf WHIRLPOOL 931debbf6a65c280221025dcbc02cbb3387b66eb72eddd28a510ee8f97075cd2cc96535dde25d0a32280c399e4a868e9c027772f5d28e7e79b7c1a9080c58034
+DIST kdebase-trinity-3.5.13.2.tar.xz 25890636 SHA256 b9d552226daff64437dfb9699669b95dd7ebc2ca7c43755ba71c10cc6c9ed789 SHA512 df545d44c7d4550d1d77ff6504572b622853c2b8d80062b1aee1a5bdca19f0e708cde35cff54cf2d5098f06a41bde0c89522a3958dea9bb18205dea87c11b797 WHIRLPOOL 79144273bc7985c59a593a3394b12a2053532d2c4c890ce96adad21f6de0413baf3c6270d6d06173ec4546b20d401aa0cc81603d01b8ee41dbdefc825b39b2b1
diff --git a/gentoo/trinity-base/drkonqi/drkonqi-3.5.13.1.ebuild b/gentoo/trinity-base/drkonqi/drkonqi-3.5.13.1.ebuild
new file mode 100644
index 000000000..bfb91450a
--- /dev/null
+++ b/gentoo/trinity-base/drkonqi/drkonqi-3.5.13.1.ebuild
@@ -0,0 +1,13 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity crash handler gives the user feedback if a program crashed"
+KEYWORDS="x86 amd64"
+IUSE=""
+
+RDEPEND="sys-devel/gdb"
diff --git a/gentoo/trinity-base/drkonqi/drkonqi-3.5.13.2.ebuild b/gentoo/trinity-base/drkonqi/drkonqi-3.5.13.2.ebuild
new file mode 100644
index 000000000..010e9de1b
--- /dev/null
+++ b/gentoo/trinity-base/drkonqi/drkonqi-3.5.13.2.ebuild
@@ -0,0 +1,13 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity crash handler gives the user feedback if a program crashed"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="sys-devel/gdb"
diff --git a/gentoo/trinity-base/drkonqi/drkonqi-9999.ebuild b/gentoo/trinity-base/drkonqi/drkonqi-9999.ebuild
new file mode 100644
index 000000000..8d7d6b044
--- /dev/null
+++ b/gentoo/trinity-base/drkonqi/drkonqi-9999.ebuild
@@ -0,0 +1,13 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity crash handler gives the user feedback if a program crashed"
+KEYWORDS=
+IUSE=""
+
+RDEPEND="sys-devel/gdb"
diff --git a/gentoo/trinity-base/drkonqi/files/shared b/gentoo/trinity-base/drkonqi/files/shared
new file mode 120000
index 000000000..ffc286806
--- /dev/null
+++ b/gentoo/trinity-base/drkonqi/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files \ No newline at end of file
diff --git a/gentoo/trinity-base/drkonqi/metadata.xml b/gentoo/trinity-base/drkonqi/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/drkonqi/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/eyesapplet/Manifest b/gentoo/trinity-base/eyesapplet/Manifest
new file mode 100644
index 000000000..23ad50106
--- /dev/null
+++ b/gentoo/trinity-base/eyesapplet/Manifest
@@ -0,0 +1,2 @@
+DIST kdetoys-3.5.13.1.tar.gz 3037255 SHA256 41e4224bcf816e52877b17d2dcdc86d94e8f304fee2d3fb35b97921544eafd9d SHA512 e7cd7943004e5d1ec83c0fe484fab82f2cdd5f5d39ee77db419938f023cd3c42ba0b257d0ddc783de7bd528c90195821d810babfa193c60856437593c24ce879 WHIRLPOOL 8d482537f972a24b1cef9ad789edd314517f4e3a6b37056f47d92292c8c30e70def24e99efc552b4504503e2224e1209ae946ff34ac94feaf128c038c54f010d
+DIST kdetoys-trinity-3.5.13.2.tar.xz 2757260 SHA256 a0533ceb6fb103600eb33ef3136d40f84ec826e24e0b95cc45e68ef73a5232f6 SHA512 eb67a70d75a473f885db8993f5eebd3480e68e43e4de60240fde411696ed8b895029505a5125fe51a41d6ccb583ba50c4c67465d770f14f9a1c1533281154f78 WHIRLPOOL d79f58085d2af17453fc50c621ea6fe6909d476cf5f0a6b6ccf51ef69eed0ba073091f587439eb5afd644e0286dfe2ee86ccd903346d3060c3fe90299511018a
diff --git a/gentoo/trinity-base/eyesapplet/eyesapplet-3.5.13.1.ebuild b/gentoo/trinity-base/eyesapplet/eyesapplet-3.5.13.1.ebuild
new file mode 100644
index 000000000..dd7965688
--- /dev/null
+++ b/gentoo/trinity-base/eyesapplet/eyesapplet-3.5.13.1.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdetoys"
+
+inherit trinity-meta
+
+DESCRIPTION="kicker applet: eyes following the movement of the mouse pointer"
+KEYWORDS="amd64 x86"
+IUSE=""
diff --git a/gentoo/trinity-base/eyesapplet/eyesapplet-3.5.13.2.ebuild b/gentoo/trinity-base/eyesapplet/eyesapplet-3.5.13.2.ebuild
new file mode 100644
index 000000000..5660d0e05
--- /dev/null
+++ b/gentoo/trinity-base/eyesapplet/eyesapplet-3.5.13.2.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdetoys"
+
+inherit trinity-meta
+
+DESCRIPTION="kicker applet: eyes following the movement of the mouse pointer"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
diff --git a/gentoo/trinity-base/eyesapplet/eyesapplet-9999.ebuild b/gentoo/trinity-base/eyesapplet/eyesapplet-9999.ebuild
new file mode 100644
index 000000000..3f78cc3a5
--- /dev/null
+++ b/gentoo/trinity-base/eyesapplet/eyesapplet-9999.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdetoys"
+
+inherit trinity-meta
+
+DESCRIPTION="kicker applet: eyes following the movement of the mouse pointer"
+KEYWORDS=
+IUSE=""
diff --git a/gentoo/trinity-base/eyesapplet/files/shared b/gentoo/trinity-base/eyesapplet/files/shared
new file mode 120000
index 000000000..af62be31d
--- /dev/null
+++ b/gentoo/trinity-base/eyesapplet/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files/ \ No newline at end of file
diff --git a/gentoo/trinity-base/eyesapplet/metadata.xml b/gentoo/trinity-base/eyesapplet/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/eyesapplet/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/fifteenapplet/Manifest b/gentoo/trinity-base/fifteenapplet/Manifest
new file mode 100644
index 000000000..23ad50106
--- /dev/null
+++ b/gentoo/trinity-base/fifteenapplet/Manifest
@@ -0,0 +1,2 @@
+DIST kdetoys-3.5.13.1.tar.gz 3037255 SHA256 41e4224bcf816e52877b17d2dcdc86d94e8f304fee2d3fb35b97921544eafd9d SHA512 e7cd7943004e5d1ec83c0fe484fab82f2cdd5f5d39ee77db419938f023cd3c42ba0b257d0ddc783de7bd528c90195821d810babfa193c60856437593c24ce879 WHIRLPOOL 8d482537f972a24b1cef9ad789edd314517f4e3a6b37056f47d92292c8c30e70def24e99efc552b4504503e2224e1209ae946ff34ac94feaf128c038c54f010d
+DIST kdetoys-trinity-3.5.13.2.tar.xz 2757260 SHA256 a0533ceb6fb103600eb33ef3136d40f84ec826e24e0b95cc45e68ef73a5232f6 SHA512 eb67a70d75a473f885db8993f5eebd3480e68e43e4de60240fde411696ed8b895029505a5125fe51a41d6ccb583ba50c4c67465d770f14f9a1c1533281154f78 WHIRLPOOL d79f58085d2af17453fc50c621ea6fe6909d476cf5f0a6b6ccf51ef69eed0ba073091f587439eb5afd644e0286dfe2ee86ccd903346d3060c3fe90299511018a
diff --git a/gentoo/trinity-base/fifteenapplet/fifteenapplet-3.5.13.1.ebuild b/gentoo/trinity-base/fifteenapplet/fifteenapplet-3.5.13.1.ebuild
new file mode 100644
index 000000000..79103ef15
--- /dev/null
+++ b/gentoo/trinity-base/fifteenapplet/fifteenapplet-3.5.13.1.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdetoys"
+
+inherit trinity-meta
+
+DESCRIPTION="kicker plugin for the 15-game"
+KEYWORDS="amd64 x86"
+IUSE=""
diff --git a/gentoo/trinity-base/fifteenapplet/fifteenapplet-3.5.13.2.ebuild b/gentoo/trinity-base/fifteenapplet/fifteenapplet-3.5.13.2.ebuild
new file mode 100644
index 000000000..b38224d41
--- /dev/null
+++ b/gentoo/trinity-base/fifteenapplet/fifteenapplet-3.5.13.2.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdetoys"
+
+inherit trinity-meta
+
+DESCRIPTION="kicker plugin for the 15-game"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
diff --git a/gentoo/trinity-base/fifteenapplet/fifteenapplet-9999.ebuild b/gentoo/trinity-base/fifteenapplet/fifteenapplet-9999.ebuild
new file mode 100644
index 000000000..68355a9c0
--- /dev/null
+++ b/gentoo/trinity-base/fifteenapplet/fifteenapplet-9999.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdetoys"
+
+inherit trinity-meta
+
+DESCRIPTION="kicker plugin for the 15-game"
+KEYWORDS=
+IUSE=""
diff --git a/gentoo/trinity-base/fifteenapplet/files/shared b/gentoo/trinity-base/fifteenapplet/files/shared
new file mode 120000
index 000000000..af62be31d
--- /dev/null
+++ b/gentoo/trinity-base/fifteenapplet/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files/ \ No newline at end of file
diff --git a/gentoo/trinity-base/fifteenapplet/metadata.xml b/gentoo/trinity-base/fifteenapplet/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/fifteenapplet/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kaddressbook-plugins/kaddressbook-plugins-9999.ebuild b/gentoo/trinity-base/kaddressbook-plugins/kaddressbook-plugins-9999.ebuild
new file mode 100644
index 000000000..5bf621c23
--- /dev/null
+++ b/gentoo/trinity-base/kaddressbook-plugins/kaddressbook-plugins-9999.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdeaddons"
+
+inherit trinity-meta
+
+DESCRIPTION="Plugins for Trinity Addressbook"
+KEYWORDS=""
+IUSE+=""
+DEPEND=">=trinity-base/kaddressbook-${PV}:${SLOT}"
+
+RDEPEND="${DEPEND}"
diff --git a/gentoo/trinity-base/kaddressbook-plugins/metadata.xml b/gentoo/trinity-base/kaddressbook-plugins/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kaddressbook-plugins/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kaddressbook/Manifest b/gentoo/trinity-base/kaddressbook/Manifest
new file mode 100644
index 000000000..d6ce26a13
--- /dev/null
+++ b/gentoo/trinity-base/kaddressbook/Manifest
@@ -0,0 +1 @@
+DIST kdepim-trinity-3.5.13.2.tar.xz 10148724 SHA256 2cbd61e28322e4c7d67ffb16ac59329b3f15ba1a4485095994b9bce6786df7c4 SHA512 a84319183813dc78dc97397c8c3871faa3961b458eda8107525b8b9c6789d13aedd8e3c7cb0706c4ca8dd63f69ff67de02716219c8af44ebf96d484d820eb2bf WHIRLPOOL 907d9d86f1b0094b915989ca7f0feb4f67ac1b238a4c6d176ab1ef9164eff78778b2714ebedeb40de28536a8384b39ec7e637f1bb6911cccb40f7d8663811edb
diff --git a/gentoo/trinity-base/kaddressbook/kaddressbook-3.5.13.2.ebuild b/gentoo/trinity-base/kaddressbook/kaddressbook-3.5.13.2.ebuild
new file mode 100644
index 000000000..9e41727b0
--- /dev/null
+++ b/gentoo/trinity-base/kaddressbook/kaddressbook-3.5.13.2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdepim"
+
+inherit trinity-meta
+
+DESCRIPTION="The Trinity Address Book"
+KEYWORDS="~amd64 ~x86"
+IUSE+=" gnokii"
+
+COMMON_DEPEND=">=trinity-base/libkdepim-${PV}:${SLOT}
+ >=trinity-base/libkcal-${PV}:${SLOT}
+ >=trinity-base/certmanager-${PV}:${SLOT}
+ >=trinity-base/libkdenetwork-${PV}:${SLOT}
+ gnokii? ( app-mobilephone/gnokii )"
+
+DEPEND+=" ${COMMON_DEPEND}"
+RDEPEND+=" ${COMMON_DEPEND}"
+
+TSM_EXTRACT_ALSO="certmanager/lib/
+ libkdepim/
+ libkdenetwork/
+ libkcal/
+ libemailfunctions/"
+
+src_configure () {
+ mycmakeargs=(
+ $(cmake-utils_use_with gnokii GNOKII )
+ )
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/kaddressbook/kaddressbook-9999.ebuild b/gentoo/trinity-base/kaddressbook/kaddressbook-9999.ebuild
new file mode 100644
index 000000000..691eec198
--- /dev/null
+++ b/gentoo/trinity-base/kaddressbook/kaddressbook-9999.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdepim"
+
+inherit trinity-meta
+
+DESCRIPTION="The Trinity Address Book"
+KEYWORDS=""
+IUSE+=" gnokii"
+
+COMMON_DEPEND=">=trinity-base/libtdepim-${PV}:${SLOT}
+ >=trinity-base/libkcal-${PV}:${SLOT}
+ >=trinity-base/certmanager-${PV}:${SLOT}
+ >=trinity-base/libtdenetwork-${PV}:${SLOT}
+ gnokii? ( app-mobilephone/gnokii )"
+
+DEPEND+=" ${COMMON_DEPEND}"
+RDEPEND+=" ${COMMON_DEPEND}"
+
+TSM_EXTRACT_ALSO="certmanager/lib/
+ libtdepim/
+ libtdenetwork/
+ libkcal/
+ libemailfunctions/"
+
+src_configure () {
+ mycmakeargs=(
+ $(cmake-utils_use_with gnokii GNOKII )
+ )
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/kaddressbook/metadata.xml b/gentoo/trinity-base/kaddressbook/metadata.xml
new file mode 100644
index 000000000..a79c18aa6
--- /dev/null
+++ b/gentoo/trinity-base/kaddressbook/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+ <use>
+ <flag name="gnokii"> Build with support for <pkg>app-mobilephone/gnokii</pkg></flag>
+ </use>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kamera/Manifest b/gentoo/trinity-base/kamera/Manifest
new file mode 100644
index 000000000..f0ba54e9a
--- /dev/null
+++ b/gentoo/trinity-base/kamera/Manifest
@@ -0,0 +1 @@
+DIST kdegraphics-3.5.13.1.tar.gz 7526074 SHA256 19bd36e261bb6c5d2c9c1eba5f736c642b48422d917d44e576835f7ebb44906b SHA512 693e5ad70dbb00c587e588acfb81fc9475c3a4dbc86f41d6053c0584c533349a7564e34b870cb7bbc57361ac539da6f7d7f1b002ac3cfe8b0201db3eeb9147dd WHIRLPOOL fd2c46c517b3a0293880eaf35967295485555b936d0f1e80e0f2c261a1164cfcc5c4b2d943a12c073914d33b59974cc2dd92a78414614caa10f46dd048d518b4
diff --git a/gentoo/trinity-base/kamera/kamera-3.5.13.1.ebuild b/gentoo/trinity-base/kamera/kamera-3.5.13.1.ebuild
new file mode 100644
index 000000000..adf2f4051
--- /dev/null
+++ b/gentoo/trinity-base/kamera/kamera-3.5.13.1.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdegraphics"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity digital camera manager"
+KEYWORDS="x86 amd64"
+IUSE=""
+
+DEPEND="media-libs/libgphoto2"
+RDEPEND="$DEPEND"
diff --git a/gentoo/trinity-base/kamera/kamera-9999.ebuild b/gentoo/trinity-base/kamera/kamera-9999.ebuild
new file mode 100644
index 000000000..106885353
--- /dev/null
+++ b/gentoo/trinity-base/kamera/kamera-9999.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdegraphics"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity digital camera manager"
+KEYWORDS=
+IUSE=""
+
+DEPEND="media-libs/libgphoto2"
+RDEPEND="$DEPEND"
diff --git a/gentoo/trinity-base/kamera/metadata.xml b/gentoo/trinity-base/kamera/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kamera/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kappfinder/Manifest b/gentoo/trinity-base/kappfinder/Manifest
new file mode 100644
index 000000000..381340c4b
--- /dev/null
+++ b/gentoo/trinity-base/kappfinder/Manifest
@@ -0,0 +1,2 @@
+DIST kdebase-3.5.13.1.tar.gz 29403228 SHA256 ddd4bd4b508ad027b9d1af2701c6ba64bfc9f8f1d32099e6dd5e7866714f759e SHA512 e1aac19c941a5f2b43a57928fdb43e5ebd646f49c60911d9d317550df96642870792c4e77ecd06e123244e2425ccd4bcb00f0a21011ba7e651d7fcf4553e79cf WHIRLPOOL 931debbf6a65c280221025dcbc02cbb3387b66eb72eddd28a510ee8f97075cd2cc96535dde25d0a32280c399e4a868e9c027772f5d28e7e79b7c1a9080c58034
+DIST kdebase-trinity-3.5.13.2.tar.xz 25890636 SHA256 b9d552226daff64437dfb9699669b95dd7ebc2ca7c43755ba71c10cc6c9ed789 SHA512 df545d44c7d4550d1d77ff6504572b622853c2b8d80062b1aee1a5bdca19f0e708cde35cff54cf2d5098f06a41bde0c89522a3958dea9bb18205dea87c11b797 WHIRLPOOL 79144273bc7985c59a593a3394b12a2053532d2c4c890ce96adad21f6de0413baf3c6270d6d06173ec4546b20d401aa0cc81603d01b8ee41dbdefc825b39b2b1
diff --git a/gentoo/trinity-base/kappfinder/files/shared b/gentoo/trinity-base/kappfinder/files/shared
new file mode 120000
index 000000000..ffc286806
--- /dev/null
+++ b/gentoo/trinity-base/kappfinder/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files \ No newline at end of file
diff --git a/gentoo/trinity-base/kappfinder/kappfinder-3.5.13.1.ebuild b/gentoo/trinity-base/kappfinder/kappfinder-3.5.13.1.ebuild
new file mode 100644
index 000000000..04e7dfdd0
--- /dev/null
+++ b/gentoo/trinity-base/kappfinder/kappfinder-3.5.13.1.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity tool that generates *.desktop files for well known apps"
+KEYWORDS="x86 amd64"
+IUSE=""
diff --git a/gentoo/trinity-base/kappfinder/kappfinder-3.5.13.2.ebuild b/gentoo/trinity-base/kappfinder/kappfinder-3.5.13.2.ebuild
new file mode 100644
index 000000000..4efc413ec
--- /dev/null
+++ b/gentoo/trinity-base/kappfinder/kappfinder-3.5.13.2.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity tool that generates *.desktop files for well known apps"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
diff --git a/gentoo/trinity-base/kappfinder/kappfinder-9999.ebuild b/gentoo/trinity-base/kappfinder/kappfinder-9999.ebuild
new file mode 100644
index 000000000..1282b2c4d
--- /dev/null
+++ b/gentoo/trinity-base/kappfinder/kappfinder-9999.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity tool that generates *.desktop files for well known apps"
+KEYWORDS=
+IUSE=""
diff --git a/gentoo/trinity-base/kappfinder/metadata.xml b/gentoo/trinity-base/kappfinder/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kappfinder/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kate-plugins/kate-plugins-9999.ebuild b/gentoo/trinity-base/kate-plugins/kate-plugins-9999.ebuild
new file mode 100644
index 000000000..13c292e8d
--- /dev/null
+++ b/gentoo/trinity-base/kate-plugins/kate-plugins-9999.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdeaddons"
+TSM_EXTRACT="kate"
+
+inherit trinity-meta
+
+DESCRIPTION="kate plugins and docs"
+KEYWORDS=""
+IUSE+=""
+DEPEND=">=trinity-base/kate-${PV}:${SLOT}"
+RDEPEND="${DEPEND}"
diff --git a/gentoo/trinity-base/kate-plugins/metadata.xml b/gentoo/trinity-base/kate-plugins/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kate-plugins/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kate/Manifest b/gentoo/trinity-base/kate/Manifest
new file mode 100644
index 000000000..381340c4b
--- /dev/null
+++ b/gentoo/trinity-base/kate/Manifest
@@ -0,0 +1,2 @@
+DIST kdebase-3.5.13.1.tar.gz 29403228 SHA256 ddd4bd4b508ad027b9d1af2701c6ba64bfc9f8f1d32099e6dd5e7866714f759e SHA512 e1aac19c941a5f2b43a57928fdb43e5ebd646f49c60911d9d317550df96642870792c4e77ecd06e123244e2425ccd4bcb00f0a21011ba7e651d7fcf4553e79cf WHIRLPOOL 931debbf6a65c280221025dcbc02cbb3387b66eb72eddd28a510ee8f97075cd2cc96535dde25d0a32280c399e4a868e9c027772f5d28e7e79b7c1a9080c58034
+DIST kdebase-trinity-3.5.13.2.tar.xz 25890636 SHA256 b9d552226daff64437dfb9699669b95dd7ebc2ca7c43755ba71c10cc6c9ed789 SHA512 df545d44c7d4550d1d77ff6504572b622853c2b8d80062b1aee1a5bdca19f0e708cde35cff54cf2d5098f06a41bde0c89522a3958dea9bb18205dea87c11b797 WHIRLPOOL 79144273bc7985c59a593a3394b12a2053532d2c4c890ce96adad21f6de0413baf3c6270d6d06173ec4546b20d401aa0cc81603d01b8ee41dbdefc825b39b2b1
diff --git a/gentoo/trinity-base/kate/files/shared b/gentoo/trinity-base/kate/files/shared
new file mode 120000
index 000000000..ffc286806
--- /dev/null
+++ b/gentoo/trinity-base/kate/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files \ No newline at end of file
diff --git a/gentoo/trinity-base/kate/kate-3.5.13.1.ebuild b/gentoo/trinity-base/kate/kate-3.5.13.1.ebuild
new file mode 100644
index 000000000..42a04559b
--- /dev/null
+++ b/gentoo/trinity-base/kate/kate-3.5.13.1.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Kate is an MDI texteditor."
+KEYWORDS="x86 amd64"
+IUSE=""
diff --git a/gentoo/trinity-base/kate/kate-3.5.13.2.ebuild b/gentoo/trinity-base/kate/kate-3.5.13.2.ebuild
new file mode 100644
index 000000000..7703f9c31
--- /dev/null
+++ b/gentoo/trinity-base/kate/kate-3.5.13.2.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Kate is an MDI texteditor."
+KEYWORDS="~amd64 ~x86"
+IUSE=""
diff --git a/gentoo/trinity-base/kate/kate-9999.ebuild b/gentoo/trinity-base/kate/kate-9999.ebuild
new file mode 100644
index 000000000..c183eec18
--- /dev/null
+++ b/gentoo/trinity-base/kate/kate-9999.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Kate is an MDI texteditor."
+KEYWORDS=
+IUSE=""
diff --git a/gentoo/trinity-base/kate/metadata.xml b/gentoo/trinity-base/kate/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kate/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kcalc/Manifest b/gentoo/trinity-base/kcalc/Manifest
new file mode 100644
index 000000000..c59ac62b4
--- /dev/null
+++ b/gentoo/trinity-base/kcalc/Manifest
@@ -0,0 +1,2 @@
+DIST kdeutils-3.5.13.1.tar.gz 2829393 SHA256 3e7ab07fe1bb3e7be7ac3a3796366c88d3b79a58af911546e2c65e32363db527 SHA512 48733e472d0f5da85ef8a32ed6db7fa5e61f0682e49842439e6ea38a1e407059bb35efffe41fc6ed1a718511fd5b2b2c8222d816a23500a4dcbca17461f9a3bd WHIRLPOOL 1488e0c44f60b4d5e397dd2cf93de048eae1b915d4b2b7b1cf27768946f5aae3b5bcc3971ee28b5fa6a57a0b94cca6db0866138b69ad74f1f7bb97cdaaebdbe2
+DIST kdeutils-trinity-3.5.13.2.tar.xz 2259232 SHA256 b2999b9ef39bb2f269b84fdf34a814b5a5599aae7d05538d0bf680c18fb334fa SHA512 f501aa4b61bf440e873eec96f09c0c24ad780db2f9f14b884001c04c04aafccb5afb2b492dcf4fc640f3ec35d86aa419d67936122648a986662cd7b7f4f8a2d8 WHIRLPOOL 49296006875250212f0fdeb0c90c4f69cf0aa7cfd38415e2f7b50bdf81754de64562df2400f4932a502adbe84b58be34cae6c029d68cc62d0e91de5158513239
diff --git a/gentoo/trinity-base/kcalc/files/shared b/gentoo/trinity-base/kcalc/files/shared
new file mode 120000
index 000000000..af62be31d
--- /dev/null
+++ b/gentoo/trinity-base/kcalc/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files/ \ No newline at end of file
diff --git a/gentoo/trinity-base/kcalc/kcalc-3.5.13.1.ebuild b/gentoo/trinity-base/kcalc/kcalc-3.5.13.1.ebuild
new file mode 100644
index 000000000..37989f20c
--- /dev/null
+++ b/gentoo/trinity-base/kcalc/kcalc-3.5.13.1.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity calculator"
+KEYWORDS="x86 amd64"
+IUSE=""
+
+DEPEND="dev-libs/gmp:*"
+RDEPEND="${DEPEND}"
diff --git a/gentoo/trinity-base/kcalc/kcalc-3.5.13.2.ebuild b/gentoo/trinity-base/kcalc/kcalc-3.5.13.2.ebuild
new file mode 100644
index 000000000..00e77886d
--- /dev/null
+++ b/gentoo/trinity-base/kcalc/kcalc-3.5.13.2.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity calculator"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+DEPEND="dev-libs/gmp:*"
+RDEPEND="${DEPEND}"
diff --git a/gentoo/trinity-base/kcalc/kcalc-9999.ebuild b/gentoo/trinity-base/kcalc/kcalc-9999.ebuild
new file mode 100644
index 000000000..e48e1774c
--- /dev/null
+++ b/gentoo/trinity-base/kcalc/kcalc-9999.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity calculator"
+KEYWORDS=""
+IUSE=""
+
+DEPEND="dev-libs/gmp:*"
+RDEPEND="${DEPEND}"
diff --git a/gentoo/trinity-base/kcalc/metadata.xml b/gentoo/trinity-base/kcalc/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kcalc/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kcharselect/Manifest b/gentoo/trinity-base/kcharselect/Manifest
new file mode 100644
index 000000000..c59ac62b4
--- /dev/null
+++ b/gentoo/trinity-base/kcharselect/Manifest
@@ -0,0 +1,2 @@
+DIST kdeutils-3.5.13.1.tar.gz 2829393 SHA256 3e7ab07fe1bb3e7be7ac3a3796366c88d3b79a58af911546e2c65e32363db527 SHA512 48733e472d0f5da85ef8a32ed6db7fa5e61f0682e49842439e6ea38a1e407059bb35efffe41fc6ed1a718511fd5b2b2c8222d816a23500a4dcbca17461f9a3bd WHIRLPOOL 1488e0c44f60b4d5e397dd2cf93de048eae1b915d4b2b7b1cf27768946f5aae3b5bcc3971ee28b5fa6a57a0b94cca6db0866138b69ad74f1f7bb97cdaaebdbe2
+DIST kdeutils-trinity-3.5.13.2.tar.xz 2259232 SHA256 b2999b9ef39bb2f269b84fdf34a814b5a5599aae7d05538d0bf680c18fb334fa SHA512 f501aa4b61bf440e873eec96f09c0c24ad780db2f9f14b884001c04c04aafccb5afb2b492dcf4fc640f3ec35d86aa419d67936122648a986662cd7b7f4f8a2d8 WHIRLPOOL 49296006875250212f0fdeb0c90c4f69cf0aa7cfd38415e2f7b50bdf81754de64562df2400f4932a502adbe84b58be34cae6c029d68cc62d0e91de5158513239
diff --git a/gentoo/trinity-base/kcharselect/files/shared b/gentoo/trinity-base/kcharselect/files/shared
new file mode 120000
index 000000000..af62be31d
--- /dev/null
+++ b/gentoo/trinity-base/kcharselect/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files/ \ No newline at end of file
diff --git a/gentoo/trinity-base/kcharselect/kcharselect-3.5.13.1.ebuild b/gentoo/trinity-base/kcharselect/kcharselect-3.5.13.1.ebuild
new file mode 100644
index 000000000..a2bd385c9
--- /dev/null
+++ b/gentoo/trinity-base/kcharselect/kcharselect-3.5.13.1.ebuild
@@ -0,0 +1,12 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdeutils"
+TRINITY_SUBMODULE="${PN} charselectapplet"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity character selection utility and panel applet"
+KEYWORDS="x86 amd64"
+IUSE=""
diff --git a/gentoo/trinity-base/kcharselect/kcharselect-3.5.13.2.ebuild b/gentoo/trinity-base/kcharselect/kcharselect-3.5.13.2.ebuild
new file mode 100644
index 000000000..f333242bd
--- /dev/null
+++ b/gentoo/trinity-base/kcharselect/kcharselect-3.5.13.2.ebuild
@@ -0,0 +1,12 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdeutils"
+TRINITY_SUBMODULE="${PN} charselectapplet"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity character selection utility and panel applet"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
diff --git a/gentoo/trinity-base/kcharselect/kcharselect-9999.ebuild b/gentoo/trinity-base/kcharselect/kcharselect-9999.ebuild
new file mode 100644
index 000000000..7904ab2fc
--- /dev/null
+++ b/gentoo/trinity-base/kcharselect/kcharselect-9999.ebuild
@@ -0,0 +1,12 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdeutils"
+TRINITY_SUBMODULE="${PN} charselectapplet"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity character selection utility and panel applet"
+KEYWORDS=""
+IUSE=""
diff --git a/gentoo/trinity-base/kcharselect/metadata.xml b/gentoo/trinity-base/kcharselect/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kcharselect/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kcheckpass/Manifest b/gentoo/trinity-base/kcheckpass/Manifest
new file mode 100644
index 000000000..381340c4b
--- /dev/null
+++ b/gentoo/trinity-base/kcheckpass/Manifest
@@ -0,0 +1,2 @@
+DIST kdebase-3.5.13.1.tar.gz 29403228 SHA256 ddd4bd4b508ad027b9d1af2701c6ba64bfc9f8f1d32099e6dd5e7866714f759e SHA512 e1aac19c941a5f2b43a57928fdb43e5ebd646f49c60911d9d317550df96642870792c4e77ecd06e123244e2425ccd4bcb00f0a21011ba7e651d7fcf4553e79cf WHIRLPOOL 931debbf6a65c280221025dcbc02cbb3387b66eb72eddd28a510ee8f97075cd2cc96535dde25d0a32280c399e4a868e9c027772f5d28e7e79b7c1a9080c58034
+DIST kdebase-trinity-3.5.13.2.tar.xz 25890636 SHA256 b9d552226daff64437dfb9699669b95dd7ebc2ca7c43755ba71c10cc6c9ed789 SHA512 df545d44c7d4550d1d77ff6504572b622853c2b8d80062b1aee1a5bdca19f0e708cde35cff54cf2d5098f06a41bde0c89522a3958dea9bb18205dea87c11b797 WHIRLPOOL 79144273bc7985c59a593a3394b12a2053532d2c4c890ce96adad21f6de0413baf3c6270d6d06173ec4546b20d401aa0cc81603d01b8ee41dbdefc825b39b2b1
diff --git a/gentoo/trinity-base/kcheckpass/files/shared b/gentoo/trinity-base/kcheckpass/files/shared
new file mode 120000
index 000000000..ffc286806
--- /dev/null
+++ b/gentoo/trinity-base/kcheckpass/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files \ No newline at end of file
diff --git a/gentoo/trinity-base/kcheckpass/kcheckpass-3.5.13.1.ebuild b/gentoo/trinity-base/kcheckpass/kcheckpass-3.5.13.1.ebuild
new file mode 100644
index 000000000..ccae69c9c
--- /dev/null
+++ b/gentoo/trinity-base/kcheckpass/kcheckpass-3.5.13.1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="A simple password checker, used by any software in need of user authentication."
+KEYWORDS="x86 amd64"
+IUSE="pam"
+
+RDEPEND="
+ pam? ( trinity-base/tdebase-pam )"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ mycmakeargs=(
+ -D_WITH_SHADOW=ON
+ $(cmake-utils_use_with pam PAM)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/kcheckpass/kcheckpass-3.5.13.2.ebuild b/gentoo/trinity-base/kcheckpass/kcheckpass-3.5.13.2.ebuild
new file mode 100644
index 000000000..326b05786
--- /dev/null
+++ b/gentoo/trinity-base/kcheckpass/kcheckpass-3.5.13.2.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="A simple password checker, used by any software in need of user authentication."
+KEYWORDS="~amd64 ~x86"
+IUSE="pam"
+
+RDEPEND="
+ pam? ( trinity-base/tdebase-pam )"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ mycmakeargs=(
+ -D_WITH_SHADOW=ON
+ $(cmake-utils_use_with pam PAM)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/kcheckpass/kcheckpass-9999.ebuild b/gentoo/trinity-base/kcheckpass/kcheckpass-9999.ebuild
new file mode 100644
index 000000000..3e9cfadda
--- /dev/null
+++ b/gentoo/trinity-base/kcheckpass/kcheckpass-9999.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="A simple password checker, used by any software in need of user authentication."
+KEYWORDS=
+IUSE="pam"
+
+RDEPEND="
+ pam? ( virtual/pam )"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_with pam PAM)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/kcheckpass/metadata.xml b/gentoo/trinity-base/kcheckpass/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kcheckpass/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kcminit/Manifest b/gentoo/trinity-base/kcminit/Manifest
new file mode 100644
index 000000000..381340c4b
--- /dev/null
+++ b/gentoo/trinity-base/kcminit/Manifest
@@ -0,0 +1,2 @@
+DIST kdebase-3.5.13.1.tar.gz 29403228 SHA256 ddd4bd4b508ad027b9d1af2701c6ba64bfc9f8f1d32099e6dd5e7866714f759e SHA512 e1aac19c941a5f2b43a57928fdb43e5ebd646f49c60911d9d317550df96642870792c4e77ecd06e123244e2425ccd4bcb00f0a21011ba7e651d7fcf4553e79cf WHIRLPOOL 931debbf6a65c280221025dcbc02cbb3387b66eb72eddd28a510ee8f97075cd2cc96535dde25d0a32280c399e4a868e9c027772f5d28e7e79b7c1a9080c58034
+DIST kdebase-trinity-3.5.13.2.tar.xz 25890636 SHA256 b9d552226daff64437dfb9699669b95dd7ebc2ca7c43755ba71c10cc6c9ed789 SHA512 df545d44c7d4550d1d77ff6504572b622853c2b8d80062b1aee1a5bdca19f0e708cde35cff54cf2d5098f06a41bde0c89522a3958dea9bb18205dea87c11b797 WHIRLPOOL 79144273bc7985c59a593a3394b12a2053532d2c4c890ce96adad21f6de0413baf3c6270d6d06173ec4546b20d401aa0cc81603d01b8ee41dbdefc825b39b2b1
diff --git a/gentoo/trinity-base/kcminit/files/shared b/gentoo/trinity-base/kcminit/files/shared
new file mode 120000
index 000000000..ffc286806
--- /dev/null
+++ b/gentoo/trinity-base/kcminit/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files \ No newline at end of file
diff --git a/gentoo/trinity-base/kcminit/kcminit-3.5.13.1.ebuild b/gentoo/trinity-base/kcminit/kcminit-3.5.13.1.ebuild
new file mode 100644
index 000000000..c811abcea
--- /dev/null
+++ b/gentoo/trinity-base/kcminit/kcminit-3.5.13.1.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="KCMInit - runs startups initialization for Control Modules."
+KEYWORDS="x86 amd64"
+IUSE=""
+
+DEPEND="x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXrender
+ x11-libs/libXtst"
+RDEPEND="${RDEPEND}"
diff --git a/gentoo/trinity-base/kcminit/kcminit-3.5.13.2.ebuild b/gentoo/trinity-base/kcminit/kcminit-3.5.13.2.ebuild
new file mode 100644
index 000000000..c9666663b
--- /dev/null
+++ b/gentoo/trinity-base/kcminit/kcminit-3.5.13.2.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="KCMInit - runs startups initialization for Control Modules."
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXrender
+ x11-libs/libXtst"
+RDEPEND="${RDEPEND}"
diff --git a/gentoo/trinity-base/kcminit/kcminit-9999.ebuild b/gentoo/trinity-base/kcminit/kcminit-9999.ebuild
new file mode 100644
index 000000000..37d0f4093
--- /dev/null
+++ b/gentoo/trinity-base/kcminit/kcminit-9999.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="KCMInit - runs startups initialization for Control Modules."
+KEYWORDS=
+IUSE=""
+
+DEPEND="x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXrender
+ x11-libs/libXtst"
+RDEPEND="${RDEPEND}"
diff --git a/gentoo/trinity-base/kcminit/metadata.xml b/gentoo/trinity-base/kcminit/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kcminit/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kcoloredit/Manifest b/gentoo/trinity-base/kcoloredit/Manifest
new file mode 100644
index 000000000..f0ba54e9a
--- /dev/null
+++ b/gentoo/trinity-base/kcoloredit/Manifest
@@ -0,0 +1 @@
+DIST kdegraphics-3.5.13.1.tar.gz 7526074 SHA256 19bd36e261bb6c5d2c9c1eba5f736c642b48422d917d44e576835f7ebb44906b SHA512 693e5ad70dbb00c587e588acfb81fc9475c3a4dbc86f41d6053c0584c533349a7564e34b870cb7bbc57361ac539da6f7d7f1b002ac3cfe8b0201db3eeb9147dd WHIRLPOOL fd2c46c517b3a0293880eaf35967295485555b936d0f1e80e0f2c261a1164cfcc5c4b2d943a12c073914d33b59974cc2dd92a78414614caa10f46dd048d518b4
diff --git a/gentoo/trinity-base/kcoloredit/kcoloredit-3.5.13.1.ebuild b/gentoo/trinity-base/kcoloredit/kcoloredit-3.5.13.1.ebuild
new file mode 100644
index 000000000..672997d8f
--- /dev/null
+++ b/gentoo/trinity-base/kcoloredit/kcoloredit-3.5.13.1.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdegraphics"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity color selector/editor"
+KEYWORDS="x86 amd64"
+IUSE=""
diff --git a/gentoo/trinity-base/kcoloredit/kcoloredit-9999.ebuild b/gentoo/trinity-base/kcoloredit/kcoloredit-9999.ebuild
new file mode 100644
index 000000000..80d7102a7
--- /dev/null
+++ b/gentoo/trinity-base/kcoloredit/kcoloredit-9999.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdegraphics"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity color selector/editor"
+KEYWORDS=
+IUSE=""
diff --git a/gentoo/trinity-base/kcoloredit/metadata.xml b/gentoo/trinity-base/kcoloredit/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kcoloredit/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kcontrol/Manifest b/gentoo/trinity-base/kcontrol/Manifest
new file mode 100644
index 000000000..381340c4b
--- /dev/null
+++ b/gentoo/trinity-base/kcontrol/Manifest
@@ -0,0 +1,2 @@
+DIST kdebase-3.5.13.1.tar.gz 29403228 SHA256 ddd4bd4b508ad027b9d1af2701c6ba64bfc9f8f1d32099e6dd5e7866714f759e SHA512 e1aac19c941a5f2b43a57928fdb43e5ebd646f49c60911d9d317550df96642870792c4e77ecd06e123244e2425ccd4bcb00f0a21011ba7e651d7fcf4553e79cf WHIRLPOOL 931debbf6a65c280221025dcbc02cbb3387b66eb72eddd28a510ee8f97075cd2cc96535dde25d0a32280c399e4a868e9c027772f5d28e7e79b7c1a9080c58034
+DIST kdebase-trinity-3.5.13.2.tar.xz 25890636 SHA256 b9d552226daff64437dfb9699669b95dd7ebc2ca7c43755ba71c10cc6c9ed789 SHA512 df545d44c7d4550d1d77ff6504572b622853c2b8d80062b1aee1a5bdca19f0e708cde35cff54cf2d5098f06a41bde0c89522a3958dea9bb18205dea87c11b797 WHIRLPOOL 79144273bc7985c59a593a3394b12a2053532d2c4c890ce96adad21f6de0413baf3c6270d6d06173ec4546b20d401aa0cc81603d01b8ee41dbdefc825b39b2b1
diff --git a/gentoo/trinity-base/kcontrol/files/shared b/gentoo/trinity-base/kcontrol/files/shared
new file mode 120000
index 000000000..ffc286806
--- /dev/null
+++ b/gentoo/trinity-base/kcontrol/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files \ No newline at end of file
diff --git a/gentoo/trinity-base/kcontrol/kcontrol-3.5.13.1.ebuild b/gentoo/trinity-base/kcontrol/kcontrol-3.5.13.1.ebuild
new file mode 100644
index 000000000..bc339bb3a
--- /dev/null
+++ b/gentoo/trinity-base/kcontrol/kcontrol-3.5.13.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="The Trinity Control Center"
+KEYWORDS="x86 amd64"
+IUSE="samba logitech-mouse ieee1394"
+
+SLOT="$TRINITY_VER"
+
+DEPEND="x11-libs/libX11
+ x11-libs/libXrender
+ x11-libs/libXcursor
+ x11-libs/libXrandr
+ samba? ( net-fs/samba )
+ logitech-mouse? ( virtual/libusb:0 )
+ ieee1394? ( sys-libs/libraw1394 )
+ >=trinity-base/libkonq-${PV}:${SLOT}
+ >=trinity-base/kicker-${PV}:${SLOT}"
+
+RDEPEND="${DEPEND}
+ sys-apps/usbutils
+ >=trinity-base/kcminit-${PV}:${SLOT}
+ >=trinity-base/kdebase-data-${PV}:${SLOT}
+ >=trinity-base/kdesu-${PV}:${SLOT}
+ >=trinity-base/khelpcenter-${PV}:${SLOT}
+ >=trinity-base/khotkeys-${PV}:${SLOT}"
+
+TSM_EXTRACT_ALSO="kicker/ kwin/ kdesktop/ klipper/ kxkb/"
+
+src_configure() {
+ mycmakeargs=(
+ -DWITH_XCURSOR=ON
+ -DWITH_XRANDR=ON
+ -DWITH_XRENDER=ON
+ -DWITH_USBIDS=/usr/share/misc/usb.ids
+ $(cmake-utils_use_with samba SAMBA)
+ $(cmake-utils_use_with logitech-mouse LIBUSB)
+ $(cmake-utils_use_with ieee1394 LIBRAW1394)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/kcontrol/kcontrol-3.5.13.2.ebuild b/gentoo/trinity-base/kcontrol/kcontrol-3.5.13.2.ebuild
new file mode 100644
index 000000000..043b575b0
--- /dev/null
+++ b/gentoo/trinity-base/kcontrol/kcontrol-3.5.13.2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="The Trinity Control Center"
+KEYWORDS="~amd64 ~x86"
+IUSE="samba logitech-mouse ieee1394"
+
+SLOT="$TRINITY_VER"
+
+DEPEND="x11-libs/libX11
+ x11-libs/libXrender
+ x11-libs/libXcursor
+ x11-libs/libXrandr
+ samba? ( net-fs/samba )
+ logitech-mouse? ( virtual/libusb:0 )
+ ieee1394? ( sys-libs/libraw1394 )
+ >=trinity-base/libkonq-${PV}:${SLOT}
+ >=trinity-base/kicker-${PV}:${SLOT}"
+
+RDEPEND="${DEPEND}
+ sys-apps/usbutils
+ >=trinity-base/kcminit-${PV}:${SLOT}
+ >=trinity-base/kdebase-data-${PV}:${SLOT}
+ >=trinity-base/kdesu-${PV}:${SLOT}
+ >=trinity-base/khelpcenter-${PV}:${SLOT}
+ >=trinity-base/khotkeys-${PV}:${SLOT}"
+
+TSM_EXTRACT_ALSO="kicker/ kwin/ kdesktop/ klipper/ kxkb/"
+
+src_configure() {
+ mycmakeargs=(
+ -DWITH_XCURSOR=ON
+ -DWITH_XRANDR=ON
+ -DWITH_XRENDER=ON
+ -DWITH_USBIDS=/usr/share/misc/usb.ids
+ $(cmake-utils_use_with samba SAMBA)
+ $(cmake-utils_use_with logitech-mouse LIBUSB)
+ $(cmake-utils_use_with ieee1394 LIBRAW1394)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/kcontrol/kcontrol-9999.ebuild b/gentoo/trinity-base/kcontrol/kcontrol-9999.ebuild
new file mode 100644
index 000000000..44287b969
--- /dev/null
+++ b/gentoo/trinity-base/kcontrol/kcontrol-9999.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="The Trinity Control Center"
+KEYWORDS=
+IUSE="samba logitech-mouse ieee1394 +xrandr"
+
+DEPEND="x11-libs/libX11
+ x11-libs/libXrender
+ x11-libs/libXcursor
+ samba? ( net-fs/samba )
+ logitech-mouse? ( virtual/libusb:0 )
+ ieee1394? ( sys-libs/libraw1394 )
+ xrandr? ( x11-libs/libXrandr )
+ >=trinity-base/tdelibs-${PV}:${SLOT}[xrandr?]
+ >=trinity-base/libkonq-${PV}:${SLOT}
+ >=trinity-base/kicker-${PV}:${SLOT}"
+
+RDEPEND="${DEPEND}
+ sys-apps/usbutils
+ >=trinity-base/kcminit-${PV}:${SLOT}
+ >=trinity-base/tdebase-data-${PV}:${SLOT}
+ >=trinity-base/tdesu-${PV}:${SLOT}
+ >=trinity-base/khelpcenter-${PV}:${SLOT}
+ >=trinity-base/khotkeys-${PV}:${SLOT}"
+
+TSM_EXTRACT_ALSO="kicker/ twin/ kdesktop/ klipper/ kxkb/"
+
+src_configure() {
+ mycmakeargs=(
+ -DWITH_XCURSOR=ON
+ -DWITH_XRENDER=ON
+ -DWITH_USBIDS=/usr/share/misc/usb.ids
+ $(cmake-utils_use_with samba SAMBA)
+ $(cmake-utils_use_with logitech-mouse LIBUSB)
+ $(cmake-utils_use_with ieee1394 LIBRAW1394)
+ $(cmake-utils_use_with xrandr XRANDR)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/kcontrol/metadata.xml b/gentoo/trinity-base/kcontrol/metadata.xml
new file mode 100644
index 000000000..4cc351dcc
--- /dev/null
+++ b/gentoo/trinity-base/kcontrol/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+ <use>
+ <flag name="logitech-mouse">Build the Control Center module to
+ configure logitech mice</flag>
+ </use>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kdcop/Manifest b/gentoo/trinity-base/kdcop/Manifest
new file mode 100644
index 000000000..381340c4b
--- /dev/null
+++ b/gentoo/trinity-base/kdcop/Manifest
@@ -0,0 +1,2 @@
+DIST kdebase-3.5.13.1.tar.gz 29403228 SHA256 ddd4bd4b508ad027b9d1af2701c6ba64bfc9f8f1d32099e6dd5e7866714f759e SHA512 e1aac19c941a5f2b43a57928fdb43e5ebd646f49c60911d9d317550df96642870792c4e77ecd06e123244e2425ccd4bcb00f0a21011ba7e651d7fcf4553e79cf WHIRLPOOL 931debbf6a65c280221025dcbc02cbb3387b66eb72eddd28a510ee8f97075cd2cc96535dde25d0a32280c399e4a868e9c027772f5d28e7e79b7c1a9080c58034
+DIST kdebase-trinity-3.5.13.2.tar.xz 25890636 SHA256 b9d552226daff64437dfb9699669b95dd7ebc2ca7c43755ba71c10cc6c9ed789 SHA512 df545d44c7d4550d1d77ff6504572b622853c2b8d80062b1aee1a5bdca19f0e708cde35cff54cf2d5098f06a41bde0c89522a3958dea9bb18205dea87c11b797 WHIRLPOOL 79144273bc7985c59a593a3394b12a2053532d2c4c890ce96adad21f6de0413baf3c6270d6d06173ec4546b20d401aa0cc81603d01b8ee41dbdefc825b39b2b1
diff --git a/gentoo/trinity-base/kdcop/files/shared b/gentoo/trinity-base/kdcop/files/shared
new file mode 120000
index 000000000..ffc286806
--- /dev/null
+++ b/gentoo/trinity-base/kdcop/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files \ No newline at end of file
diff --git a/gentoo/trinity-base/kdcop/kdcop-3.5.13.1.ebuild b/gentoo/trinity-base/kdcop/kdcop-3.5.13.1.ebuild
new file mode 100644
index 000000000..c8bac7561
--- /dev/null
+++ b/gentoo/trinity-base/kdcop/kdcop-3.5.13.1.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity: graphical DCOP browser/client"
+KEYWORDS="x86 amd64"
+IUSE=""
diff --git a/gentoo/trinity-base/kdcop/kdcop-3.5.13.2.ebuild b/gentoo/trinity-base/kdcop/kdcop-3.5.13.2.ebuild
new file mode 100644
index 000000000..d25a0dfdd
--- /dev/null
+++ b/gentoo/trinity-base/kdcop/kdcop-3.5.13.2.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity: graphical DCOP browser/client"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
diff --git a/gentoo/trinity-base/kdcop/kdcop-9999.ebuild b/gentoo/trinity-base/kdcop/kdcop-9999.ebuild
new file mode 100644
index 000000000..a689eb3a0
--- /dev/null
+++ b/gentoo/trinity-base/kdcop/kdcop-9999.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity: graphical DCOP browser/client"
+KEYWORDS=
+IUSE=""
diff --git a/gentoo/trinity-base/kdcop/metadata.xml b/gentoo/trinity-base/kdcop/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kdcop/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kde-i18n/Manifest b/gentoo/trinity-base/kde-i18n/Manifest
new file mode 100644
index 000000000..648109bc3
--- /dev/null
+++ b/gentoo/trinity-base/kde-i18n/Manifest
@@ -0,0 +1 @@
+DIST kde-i18n-3.5.13.1.tar.gz 378322677 SHA256 659ce86b7b86583c59ffd6118c563b69f185ce0125b58a6d1babcf1f020a1e0a SHA512 cbfdacd92b2e064ecc9fc00cbab3d362e6a8c015e15db7b63255209f9b20ecbea6e32c503720834c8a7882447eefd659cb2198ac5cc4ecfdd3baabc741e5ddc1 WHIRLPOOL b4478ad7fff628fd152e84c98f2e19a945a46aa579a79f97823ffff961763b83554ae21a4725bc1534e28fe2795b8dea746fb920a1def9da8c4dafa56ba448f9
diff --git a/gentoo/trinity-base/kde-i18n/kde-i18n-3.5.13.1.ebuild b/gentoo/trinity-base/kde-i18n/kde-i18n-3.5.13.1.ebuild
new file mode 100644
index 000000000..00b9d15ea
--- /dev/null
+++ b/gentoo/trinity-base/kde-i18n/kde-i18n-3.5.13.1.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kde-i18n"
+
+inherit eutils trinity-base
+
+set-trinityver
+
+DESCRIPTION="Trinity internationalization package"
+HOMEPAGE="http://www.trinitydesktop.org/"
+LICENSE="GPL-2"
+
+SLOT="${TRINITY_VER}"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="
+ sys-devel/libtool
+ >=sys-devel/automake-1.10.1"
+RDEPEND=""
+
+LANGS="af ar az be bg bn br bs ca cs csb cy da de el en_GB eo es et
+eu fa fi fr fy ga gl he hi hr hu is it ja kk km ko lt lv mk mn ms
+nb nds nl nn pa pl pt pt_BR ro ru rw se sk sl sr sr@Latn ss sv ta te
+tg th tr uk uz uz@cyrillic vi wa zh_CN zh_TW"
+
+for X in ${LANGS} ; do
+ IUSE="${IUSE} linguas_${X}"
+done
+
+src_unpack() {
+ local tarball tarfile tarparams f extractlist postfix
+
+ case ${A} in
+ *.gz)
+ tarparams=" --gzip"
+ postfix="gz"
+ ;;
+ *.bz2)
+ tarparams=" --bzip2"
+ postfix="bz2"
+ ;;
+ esac
+
+ tarfile="${DISTDIR}/${A}"
+ topdir="${A%.tar.*}"
+
+ for X in ${LANGS} ; do
+ use "linguas_${X}" && extractlist+=" ${topdir}/tde-i18n-${X#linguas_}"
+ done
+
+ if [[ -z ${LINGUAS} ]] || [[ -z "${extractlist}" && "${LINGUAS}" != "en" ]]; then
+ echo
+ ewarn "You either have the LINGUAS environment variable unset or it"
+ ewarn "contains languages not supported by trinity-base/kde-i18n."
+ ewarn "Because of that, kde-i18n will not add any kind of language"
+ ewarn "support."
+ ewarn
+ ewarn "If you didn't intend this to happen, the available language"
+ ewarn "codes are:"
+ ewarn "${LANGS}"
+ echo
+ fi
+
+ extractlist+=" ${topdir}/admin"
+
+ ebegin "Unpacking parts of ${tarball} to ${WORKDIR}"
+ tar -xpf "${tarfile}" ${tarparams} -C "${WORKDIR}" ${extractlist} 2> /dev/null \
+ || echo "tar extract command failed at least partially - continuing anyway"
+}
+
+src_prepare(){
+ cp -Rp /usr/share/libtool/config/ltmain.sh "${S}/admin/ltmain.sh"
+ cp -Rp /usr/share/aclocal/libtool.m4 "${S}/admin/libtool.m4.in"
+ for dir in $(ls -d "${S}"/tde-i18n-*); do
+ einfo "Preparing $dir"
+ cd "$dir" && emake -f "admin/Makefile.common";
+ done
+}
+
+src_configure() {
+ PREFIX="${TDEDIR}"
+ for dir in $(ls -d "${S}"/tde-i18n-*); do
+ einfo "Configuring $dir"
+ cd "${dir}" && econf \
+ --without-arts \
+ --prefix="${PREFIX}" \
+ --mandir="${PREFIX}/share/man"\
+ --infodir="${PREFIX}/share/info" \
+ --datadir="${PREFIX}/share" \
+ --sysconfdir="${PREFIX}/etc"
+ done
+}
+
+src_compile() {
+ for dir in $(ls -d "${S}"/tde-i18n-*); do
+ einfo "Compiling $dir"
+ cd "${dir}" && emake;
+ done
+}
+
+src_install() {
+ for dir in $(ls -d "${S}"/tde-i18n-*); do
+ einfo "Installing $dir"
+ cd "${dir}" && emake install DESTDIR="${D}"
+ done
+}
diff --git a/gentoo/trinity-base/kde-i18n/metadata.xml b/gentoo/trinity-base/kde-i18n/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kde-i18n/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kdeartwork-emoticons/Manifest b/gentoo/trinity-base/kdeartwork-emoticons/Manifest
new file mode 100644
index 000000000..339bae1ed
--- /dev/null
+++ b/gentoo/trinity-base/kdeartwork-emoticons/Manifest
@@ -0,0 +1 @@
+DIST kdeartwork-3.5.13.1.tar.gz 27560795 SHA256 048f7eb031808d9216156c76fde96844021bd0d310301f8b83593b57f121b641 SHA512 4fc5a1746af087ba7f6852751533efd918a1e617553ba7e8280c00ecd59b51ef0eaad622a9d0f2e675a16aa427f36049dc46adbbfd58b27cac4fbe1ff3442172 WHIRLPOOL 43151d5639d0aa26530b5b52b071955ca3f1b0be007557b57fb17d955820105ea11a96c397eb0a8a41ac2a61e5e1d243cae74d6e7f2e31eb4f1a4128988a4e81
diff --git a/gentoo/trinity-base/kdeartwork-emoticons/kdeartwork-emoticons-3.5.13.1.ebuild b/gentoo/trinity-base/kdeartwork-emoticons/kdeartwork-emoticons-3.5.13.1.ebuild
new file mode 100644
index 000000000..514c60be2
--- /dev/null
+++ b/gentoo/trinity-base/kdeartwork-emoticons/kdeartwork-emoticons-3.5.13.1.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdeartwork"
+
+inherit trinity-meta
+
+DESCRIPTION="EmotIcons (icons for things like smilies :-) for Trinity"
+KEYWORDS="x86 amd64"
+IUSE=""
diff --git a/gentoo/trinity-base/kdeartwork-emoticons/metadata.xml b/gentoo/trinity-base/kdeartwork-emoticons/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kdeartwork-emoticons/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kdeartwork-icewm-themes/Manifest b/gentoo/trinity-base/kdeartwork-icewm-themes/Manifest
new file mode 100644
index 000000000..339bae1ed
--- /dev/null
+++ b/gentoo/trinity-base/kdeartwork-icewm-themes/Manifest
@@ -0,0 +1 @@
+DIST kdeartwork-3.5.13.1.tar.gz 27560795 SHA256 048f7eb031808d9216156c76fde96844021bd0d310301f8b83593b57f121b641 SHA512 4fc5a1746af087ba7f6852751533efd918a1e617553ba7e8280c00ecd59b51ef0eaad622a9d0f2e675a16aa427f36049dc46adbbfd58b27cac4fbe1ff3442172 WHIRLPOOL 43151d5639d0aa26530b5b52b071955ca3f1b0be007557b57fb17d955820105ea11a96c397eb0a8a41ac2a61e5e1d243cae74d6e7f2e31eb4f1a4128988a4e81
diff --git a/gentoo/trinity-base/kdeartwork-icewm-themes/kdeartwork-icewm-themes-3.5.13.1.ebuild b/gentoo/trinity-base/kdeartwork-icewm-themes/kdeartwork-icewm-themes-3.5.13.1.ebuild
new file mode 100644
index 000000000..82efd3356
--- /dev/null
+++ b/gentoo/trinity-base/kdeartwork-icewm-themes/kdeartwork-icewm-themes-3.5.13.1.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdeartwork"
+
+inherit trinity-meta
+
+DESCRIPTION="Themes for IceWM from the Trinityartwork package."
+KEYWORDS="x86 amd64"
+IUSE=""
+
+RDEPEND="$DEPEND
+ >=trinity-base/kdeartwork-kwin-styles-${PV}:${SLOT}"
+
+pkg_postinst() {
+ elog "More IceWM themes are available installing x11-themes/icewm-themes"
+}
diff --git a/gentoo/trinity-base/kdeartwork-icewm-themes/metadata.xml b/gentoo/trinity-base/kdeartwork-icewm-themes/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kdeartwork-icewm-themes/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kdeartwork-icon-themes/Manifest b/gentoo/trinity-base/kdeartwork-icon-themes/Manifest
new file mode 100644
index 000000000..339bae1ed
--- /dev/null
+++ b/gentoo/trinity-base/kdeartwork-icon-themes/Manifest
@@ -0,0 +1 @@
+DIST kdeartwork-3.5.13.1.tar.gz 27560795 SHA256 048f7eb031808d9216156c76fde96844021bd0d310301f8b83593b57f121b641 SHA512 4fc5a1746af087ba7f6852751533efd918a1e617553ba7e8280c00ecd59b51ef0eaad622a9d0f2e675a16aa427f36049dc46adbbfd58b27cac4fbe1ff3442172 WHIRLPOOL 43151d5639d0aa26530b5b52b071955ca3f1b0be007557b57fb17d955820105ea11a96c397eb0a8a41ac2a61e5e1d243cae74d6e7f2e31eb4f1a4128988a4e81
diff --git a/gentoo/trinity-base/kdeartwork-icon-themes/kdeartwork-icon-themes-3.5.13.1.ebuild b/gentoo/trinity-base/kdeartwork-icon-themes/kdeartwork-icon-themes-3.5.13.1.ebuild
new file mode 100644
index 000000000..44b6e14e4
--- /dev/null
+++ b/gentoo/trinity-base/kdeartwork-icon-themes/kdeartwork-icon-themes-3.5.13.1.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdeartwork"
+
+inherit trinity-meta
+KMMODULE="IconThemes"
+
+DESCRIPTION="Icon themes for Trinity"
+KEYWORDS="x86 amd64"
+IUSE=""
+
+TSM_EXTRACT="IconThemes/"
diff --git a/gentoo/trinity-base/kdeartwork-icon-themes/metadata.xml b/gentoo/trinity-base/kdeartwork-icon-themes/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kdeartwork-icon-themes/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kdeartwork-kscreensaver/Manifest b/gentoo/trinity-base/kdeartwork-kscreensaver/Manifest
new file mode 100644
index 000000000..339bae1ed
--- /dev/null
+++ b/gentoo/trinity-base/kdeartwork-kscreensaver/Manifest
@@ -0,0 +1 @@
+DIST kdeartwork-3.5.13.1.tar.gz 27560795 SHA256 048f7eb031808d9216156c76fde96844021bd0d310301f8b83593b57f121b641 SHA512 4fc5a1746af087ba7f6852751533efd918a1e617553ba7e8280c00ecd59b51ef0eaad622a9d0f2e675a16aa427f36049dc46adbbfd58b27cac4fbe1ff3442172 WHIRLPOOL 43151d5639d0aa26530b5b52b071955ca3f1b0be007557b57fb17d955820105ea11a96c397eb0a8a41ac2a61e5e1d243cae74d6e7f2e31eb4f1a4128988a4e81
diff --git a/gentoo/trinity-base/kdeartwork-kscreensaver/kdeartwork-kscreensaver-3.5.13.1.ebuild b/gentoo/trinity-base/kdeartwork-kscreensaver/kdeartwork-kscreensaver-3.5.13.1.ebuild
new file mode 100644
index 000000000..d76efa4b1
--- /dev/null
+++ b/gentoo/trinity-base/kdeartwork-kscreensaver/kdeartwork-kscreensaver-3.5.13.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdeartwork"
+
+inherit trinity-meta
+
+DESCRIPTION="Extra screensavers for Trinity"
+KEYWORDS="x86 amd64"
+IUSE="opengl xscreensaver arts"
+
+DEPEND="
+ >=trinity-base/kscreensaver-${PV}:${SLOT}
+ >=trinity-base/krootbacking-${PV}:${SLOT}
+ media-libs/libart_lgpl
+ opengl? ( virtual/opengl )
+ xscreensaver? ( x11-misc/xscreensaver )
+ arts? ( trinity-base/arts )"
+RDEPEND="$DEPEND"
+
+TSM_EXTRACT_ALSO="FindXscreensaver.cmake"
+
+src_configure() {
+ mycmakeargs=(
+ -DWITH_LIBART=ON
+ $(cmake-utils_use_with opengl OPENGL)
+ $(cmake-utils_use_with xscreensaver XSCREENSAVER)
+ $(cmake-utils_use_with arts ARTS)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/kdeartwork-kscreensaver/metadata.xml b/gentoo/trinity-base/kdeartwork-kscreensaver/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kdeartwork-kscreensaver/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kdeartwork-kwin-styles/Manifest b/gentoo/trinity-base/kdeartwork-kwin-styles/Manifest
new file mode 100644
index 000000000..339bae1ed
--- /dev/null
+++ b/gentoo/trinity-base/kdeartwork-kwin-styles/Manifest
@@ -0,0 +1 @@
+DIST kdeartwork-3.5.13.1.tar.gz 27560795 SHA256 048f7eb031808d9216156c76fde96844021bd0d310301f8b83593b57f121b641 SHA512 4fc5a1746af087ba7f6852751533efd918a1e617553ba7e8280c00ecd59b51ef0eaad622a9d0f2e675a16aa427f36049dc46adbbfd58b27cac4fbe1ff3442172 WHIRLPOOL 43151d5639d0aa26530b5b52b071955ca3f1b0be007557b57fb17d955820105ea11a96c397eb0a8a41ac2a61e5e1d243cae74d6e7f2e31eb4f1a4128988a4e81
diff --git a/gentoo/trinity-base/kdeartwork-kwin-styles/kdeartwork-kwin-styles-3.5.13.1.ebuild b/gentoo/trinity-base/kdeartwork-kwin-styles/kdeartwork-kwin-styles-3.5.13.1.ebuild
new file mode 100644
index 000000000..1efdbc7e4
--- /dev/null
+++ b/gentoo/trinity-base/kdeartwork-kwin-styles/kdeartwork-kwin-styles-3.5.13.1.ebuild
@@ -0,0 +1,13 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdeartwork"
+
+inherit trinity-meta
+DESCRIPTION="Window styles for Trinity"
+KEYWORDS="x86 amd64"
+IUSE=""
+
+DEPEND=">=trinity-base/kwin-${PV}:${SLOT}"
+RDEPEND="$DEPEND"
diff --git a/gentoo/trinity-base/kdeartwork-kwin-styles/metadata.xml b/gentoo/trinity-base/kdeartwork-kwin-styles/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kdeartwork-kwin-styles/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kdeartwork-kworldclock/Manifest b/gentoo/trinity-base/kdeartwork-kworldclock/Manifest
new file mode 100644
index 000000000..339bae1ed
--- /dev/null
+++ b/gentoo/trinity-base/kdeartwork-kworldclock/Manifest
@@ -0,0 +1 @@
+DIST kdeartwork-3.5.13.1.tar.gz 27560795 SHA256 048f7eb031808d9216156c76fde96844021bd0d310301f8b83593b57f121b641 SHA512 4fc5a1746af087ba7f6852751533efd918a1e617553ba7e8280c00ecd59b51ef0eaad622a9d0f2e675a16aa427f36049dc46adbbfd58b27cac4fbe1ff3442172 WHIRLPOOL 43151d5639d0aa26530b5b52b071955ca3f1b0be007557b57fb17d955820105ea11a96c397eb0a8a41ac2a61e5e1d243cae74d6e7f2e31eb4f1a4128988a4e81
diff --git a/gentoo/trinity-base/kdeartwork-kworldclock/kdeartwork-kworldclock-3.5.13.1.ebuild b/gentoo/trinity-base/kdeartwork-kworldclock/kdeartwork-kworldclock-3.5.13.1.ebuild
new file mode 100644
index 000000000..6cd0eda1c
--- /dev/null
+++ b/gentoo/trinity-base/kdeartwork-kworldclock/kdeartwork-kworldclock-3.5.13.1.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdeartwork"
+
+inherit trinity-meta
+
+DESCRIPTION="kworldclock from kdeartwork"
+KEYWORDS="x86 amd64"
+IUSE=""
+
+RDEPEND="$DEPEND
+ >=trinity-base/kworldclock-${PV}:${SLOT}"
diff --git a/gentoo/trinity-base/kdeartwork-kworldclock/metadata.xml b/gentoo/trinity-base/kdeartwork-kworldclock/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kdeartwork-kworldclock/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kdeartwork-meta/kdeartwork-meta-3.5.13.1.ebuild b/gentoo/trinity-base/kdeartwork-meta/kdeartwork-meta-3.5.13.1.ebuild
new file mode 100644
index 000000000..662646f92
--- /dev/null
+++ b/gentoo/trinity-base/kdeartwork-meta/kdeartwork-meta-3.5.13.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+
+inherit trinity-functions
+
+set-trinityver
+
+DESCRIPTION="kdeartwork meta package - merge this to pull in all kdeartwork-derived packages"
+HOMEPAGE="http://www.trinitydesktop.org/"
+LICENSE="GPL-2 LGPL-2"
+KEYWORDS="x86 amd64"
+
+SLOT="$TRINITY_VER"
+IUSE=""
+
+RDEPEND="
+ >=trinity-base/kdeartwork-emoticons-${PV}:${SLOT}
+ >=trinity-base/kdeartwork-icon-themes-${PV}:${SLOT}
+ >=trinity-base/kdeartwork-icewm-themes-${PV}:${SLOT}
+ >=trinity-base/kdeartwork-kscreensaver-${PV}:${SLOT}
+ >=trinity-base/kdeartwork-kwin-styles-${PV}:${SLOT}
+ >=trinity-base/kdeartwork-kworldclock-${PV}:${SLOT}
+ >=trinity-base/kdeartwork-sounds-${PV}:${SLOT}
+ >=trinity-base/kdeartwork-styles-${PV}:${SLOT}
+ >=trinity-base/kdeartwork-wallpapers-${PV}:${SLOT}"
diff --git a/gentoo/trinity-base/kdeartwork-meta/metadata.xml b/gentoo/trinity-base/kdeartwork-meta/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kdeartwork-meta/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kdeartwork-sounds/Manifest b/gentoo/trinity-base/kdeartwork-sounds/Manifest
new file mode 100644
index 000000000..339bae1ed
--- /dev/null
+++ b/gentoo/trinity-base/kdeartwork-sounds/Manifest
@@ -0,0 +1 @@
+DIST kdeartwork-3.5.13.1.tar.gz 27560795 SHA256 048f7eb031808d9216156c76fde96844021bd0d310301f8b83593b57f121b641 SHA512 4fc5a1746af087ba7f6852751533efd918a1e617553ba7e8280c00ecd59b51ef0eaad622a9d0f2e675a16aa427f36049dc46adbbfd58b27cac4fbe1ff3442172 WHIRLPOOL 43151d5639d0aa26530b5b52b071955ca3f1b0be007557b57fb17d955820105ea11a96c397eb0a8a41ac2a61e5e1d243cae74d6e7f2e31eb4f1a4128988a4e81
diff --git a/gentoo/trinity-base/kdeartwork-sounds/kdeartwork-sounds-3.5.13.1.ebuild b/gentoo/trinity-base/kdeartwork-sounds/kdeartwork-sounds-3.5.13.1.ebuild
new file mode 100644
index 000000000..f1e9fc1aa
--- /dev/null
+++ b/gentoo/trinity-base/kdeartwork-sounds/kdeartwork-sounds-3.5.13.1.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdeartwork"
+
+inherit trinity-meta
+
+DESCRIPTION="Extra sound themes for Trinity"
+KEYWORDS="x86 amd64"
+IUSE=""
diff --git a/gentoo/trinity-base/kdeartwork-sounds/metadata.xml b/gentoo/trinity-base/kdeartwork-sounds/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kdeartwork-sounds/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kdeartwork-styles/Manifest b/gentoo/trinity-base/kdeartwork-styles/Manifest
new file mode 100644
index 000000000..339bae1ed
--- /dev/null
+++ b/gentoo/trinity-base/kdeartwork-styles/Manifest
@@ -0,0 +1 @@
+DIST kdeartwork-3.5.13.1.tar.gz 27560795 SHA256 048f7eb031808d9216156c76fde96844021bd0d310301f8b83593b57f121b641 SHA512 4fc5a1746af087ba7f6852751533efd918a1e617553ba7e8280c00ecd59b51ef0eaad622a9d0f2e675a16aa427f36049dc46adbbfd58b27cac4fbe1ff3442172 WHIRLPOOL 43151d5639d0aa26530b5b52b071955ca3f1b0be007557b57fb17d955820105ea11a96c397eb0a8a41ac2a61e5e1d243cae74d6e7f2e31eb4f1a4128988a4e81
diff --git a/gentoo/trinity-base/kdeartwork-styles/kdeartwork-styles-3.5.13.1.ebuild b/gentoo/trinity-base/kdeartwork-styles/kdeartwork-styles-3.5.13.1.ebuild
new file mode 100644
index 000000000..ce394cf16
--- /dev/null
+++ b/gentoo/trinity-base/kdeartwork-styles/kdeartwork-styles-3.5.13.1.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdeartwork"
+
+inherit trinity-meta
+
+DESCRIPTION="Extra styles for Trinity"
+KEYWORDS="x86 amd64"
+IUSE=""
diff --git a/gentoo/trinity-base/kdeartwork-styles/metadata.xml b/gentoo/trinity-base/kdeartwork-styles/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kdeartwork-styles/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kdeartwork-wallpapers/Manifest b/gentoo/trinity-base/kdeartwork-wallpapers/Manifest
new file mode 100644
index 000000000..339bae1ed
--- /dev/null
+++ b/gentoo/trinity-base/kdeartwork-wallpapers/Manifest
@@ -0,0 +1 @@
+DIST kdeartwork-3.5.13.1.tar.gz 27560795 SHA256 048f7eb031808d9216156c76fde96844021bd0d310301f8b83593b57f121b641 SHA512 4fc5a1746af087ba7f6852751533efd918a1e617553ba7e8280c00ecd59b51ef0eaad622a9d0f2e675a16aa427f36049dc46adbbfd58b27cac4fbe1ff3442172 WHIRLPOOL 43151d5639d0aa26530b5b52b071955ca3f1b0be007557b57fb17d955820105ea11a96c397eb0a8a41ac2a61e5e1d243cae74d6e7f2e31eb4f1a4128988a4e81
diff --git a/gentoo/trinity-base/kdeartwork-wallpapers/kdeartwork-wallpapers-3.5.13.1.ebuild b/gentoo/trinity-base/kdeartwork-wallpapers/kdeartwork-wallpapers-3.5.13.1.ebuild
new file mode 100644
index 000000000..fff193740
--- /dev/null
+++ b/gentoo/trinity-base/kdeartwork-wallpapers/kdeartwork-wallpapers-3.5.13.1.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdeartwork"
+
+inherit trinity-meta
+
+DESCRIPTION="Wallpapers from Trinity"
+KEYWORDS="x86 amd64"
+IUSE=""
diff --git a/gentoo/trinity-base/kdeartwork-wallpapers/metadata.xml b/gentoo/trinity-base/kdeartwork-wallpapers/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kdeartwork-wallpapers/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kdebase-data/Manifest b/gentoo/trinity-base/kdebase-data/Manifest
new file mode 100644
index 000000000..381340c4b
--- /dev/null
+++ b/gentoo/trinity-base/kdebase-data/Manifest
@@ -0,0 +1,2 @@
+DIST kdebase-3.5.13.1.tar.gz 29403228 SHA256 ddd4bd4b508ad027b9d1af2701c6ba64bfc9f8f1d32099e6dd5e7866714f759e SHA512 e1aac19c941a5f2b43a57928fdb43e5ebd646f49c60911d9d317550df96642870792c4e77ecd06e123244e2425ccd4bcb00f0a21011ba7e651d7fcf4553e79cf WHIRLPOOL 931debbf6a65c280221025dcbc02cbb3387b66eb72eddd28a510ee8f97075cd2cc96535dde25d0a32280c399e4a868e9c027772f5d28e7e79b7c1a9080c58034
+DIST kdebase-trinity-3.5.13.2.tar.xz 25890636 SHA256 b9d552226daff64437dfb9699669b95dd7ebc2ca7c43755ba71c10cc6c9ed789 SHA512 df545d44c7d4550d1d77ff6504572b622853c2b8d80062b1aee1a5bdca19f0e708cde35cff54cf2d5098f06a41bde0c89522a3958dea9bb18205dea87c11b797 WHIRLPOOL 79144273bc7985c59a593a3394b12a2053532d2c4c890ce96adad21f6de0413baf3c6270d6d06173ec4546b20d401aa0cc81603d01b8ee41dbdefc825b39b2b1
diff --git a/gentoo/trinity-base/kdebase-data/kdebase-data-3.5.13.1.ebuild b/gentoo/trinity-base/kdebase-data/kdebase-data-3.5.13.1.ebuild
new file mode 100644
index 000000000..086034d13
--- /dev/null
+++ b/gentoo/trinity-base/kdebase-data/kdebase-data-3.5.13.1.ebuild
@@ -0,0 +1,13 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+TRINITY_SUBMODULE="l10n pics applnk"
+
+DESCRIPTION="Icons, localization data and .desktop files from kdebase."
+KEYWORDS="x86 amd64"
+IUSE=""
diff --git a/gentoo/trinity-base/kdebase-data/kdebase-data-3.5.13.2.ebuild b/gentoo/trinity-base/kdebase-data/kdebase-data-3.5.13.2.ebuild
new file mode 100644
index 000000000..55d0c5d58
--- /dev/null
+++ b/gentoo/trinity-base/kdebase-data/kdebase-data-3.5.13.2.ebuild
@@ -0,0 +1,13 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+TRINITY_SUBMODULE="l10n pics applnk"
+
+DESCRIPTION="Icons, localization data and .desktop files from kdebase."
+KEYWORDS="~amd64 ~x86"
+IUSE=""
diff --git a/gentoo/trinity-base/kdebase-data/metadata.xml b/gentoo/trinity-base/kdebase-data/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kdebase-data/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kdebase-kioslaves/Manifest b/gentoo/trinity-base/kdebase-kioslaves/Manifest
new file mode 100644
index 000000000..381340c4b
--- /dev/null
+++ b/gentoo/trinity-base/kdebase-kioslaves/Manifest
@@ -0,0 +1,2 @@
+DIST kdebase-3.5.13.1.tar.gz 29403228 SHA256 ddd4bd4b508ad027b9d1af2701c6ba64bfc9f8f1d32099e6dd5e7866714f759e SHA512 e1aac19c941a5f2b43a57928fdb43e5ebd646f49c60911d9d317550df96642870792c4e77ecd06e123244e2425ccd4bcb00f0a21011ba7e651d7fcf4553e79cf WHIRLPOOL 931debbf6a65c280221025dcbc02cbb3387b66eb72eddd28a510ee8f97075cd2cc96535dde25d0a32280c399e4a868e9c027772f5d28e7e79b7c1a9080c58034
+DIST kdebase-trinity-3.5.13.2.tar.xz 25890636 SHA256 b9d552226daff64437dfb9699669b95dd7ebc2ca7c43755ba71c10cc6c9ed789 SHA512 df545d44c7d4550d1d77ff6504572b622853c2b8d80062b1aee1a5bdca19f0e708cde35cff54cf2d5098f06a41bde0c89522a3958dea9bb18205dea87c11b797 WHIRLPOOL 79144273bc7985c59a593a3394b12a2053532d2c4c890ce96adad21f6de0413baf3c6270d6d06173ec4546b20d401aa0cc81603d01b8ee41dbdefc825b39b2b1
diff --git a/gentoo/trinity-base/kdebase-kioslaves/files/kdebase-3.5.13.1-fix-kioslaves-with-hal.patch b/gentoo/trinity-base/kdebase-kioslaves/files/kdebase-3.5.13.1-fix-kioslaves-with-hal.patch
new file mode 100644
index 000000000..ebde62e50
--- /dev/null
+++ b/gentoo/trinity-base/kdebase-kioslaves/files/kdebase-3.5.13.1-fix-kioslaves-with-hal.patch
@@ -0,0 +1,24 @@
+diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
+index 3834f6d..8dc8a3f 100644
+--- a/ConfigureChecks.cmake
++++ b/ConfigureChecks.cmake
+@@ -233,7 +233,6 @@ find_package( TQt )
+ find_package( TDE )
+
+
+-# dbus-tqt need Qt flags
+ # dbus (kdm, ksmserver)
+ if( BUILD_KDM OR BUILD_KSMSERVER )
+
+@@ -242,6 +241,11 @@ if( BUILD_KDM OR BUILD_KSMSERVER )
+ tde_message_fatal( "dbus-1 is required, but was not found on your system" )
+ endif( )
+
++endif( )
++
++
++# dbus-tqt (kdm, ksmserver, kioslaves(media))
++if( BUILD_KDM OR BUILD_KSMSERVER OR (BUILD_KIOSLAVES AND WITH_HAL) )
+ # check for dbus-tqt
+ pkg_check_modules( DBUS_TQT REQUIRED dbus-tqt )
+ tde_save( CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES )
diff --git a/gentoo/trinity-base/kdebase-kioslaves/files/kdebase-3.5.13.2-fix-mandb-support-in-kio-man.patch b/gentoo/trinity-base/kdebase-kioslaves/files/kdebase-3.5.13.2-fix-mandb-support-in-kio-man.patch
new file mode 100644
index 000000000..4e981bc91
--- /dev/null
+++ b/gentoo/trinity-base/kdebase-kioslaves/files/kdebase-3.5.13.2-fix-mandb-support-in-kio-man.patch
@@ -0,0 +1,146 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index d36ee0e..e91f8e8 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -220,15 +220,6 @@ if( BUILD_STARTKDE )
+ endif()
+
+
+-##### Determine whether older manpage support is used ##########
+-
+-if( EXISTS "/usr/sbin/makewhatis" )
+- set( WITH_MAKEWHATIS "1" )
+- message( STATUS "Selected makewhatis for kio-man on your system" )
+-else()
+- message( STATUS "Selected man-db for kio-man on your system" )
+-endif()
+-
+ ##### Checks for a distribution-specific 1st menu item, generally a control center
+ if(EXISTS "/usr/share/applications/YaST.desktop")
+ set( KICKOFF_DIST_CONFIG_SHORTCUT1 "/usr/share/applications/YaST.desktop" )
+diff --git a/config.h.cmake b/config.h.cmake
+index d41643b..7a86d97 100644
+--- a/config.h.cmake
++++ b/config.h.cmake
+@@ -182,9 +182,6 @@
+ // Defined when wanting ksmserver shutdown debugging timing markers in .xsession-errors
+ #cmakedefine BUILD_PROFILE_SHUTDOWN 1
+
+-// Use makewhatis manpage support
+-#cmakedefine WITH_MAKEWHATIS "@WITH_MAKEWHATIS@"
+-
+ // Kickoff menu
+ #cmakedefine KICKOFF_DIST_CONFIG_SHORTCUT1 "@KICKOFF_DIST_CONFIG_SHORTCUT1@"
+ #cmakedefine KICKOFF_DIST_CONFIG_SHORTCUT2 "@KICKOFF_DIST_CONFIG_SHORTCUT2@"
+diff --git a/kioslave/man/kio_man.cpp b/kioslave/man/kio_man.cpp
+index 63fed2e..4da85ba 100644
+--- a/kioslave/man/kio_man.cpp
++++ b/kioslave/man/kio_man.cpp
+@@ -580,48 +580,64 @@ char *MANProtocol::readManPage(const char *_filename)
+ kdDebug(7107) << "resolved to " << filename << endl;
+ }
+ lastdir = filename.left(filename.findRev('/'));
+-
+-#ifdef WITH_MAKEWHATIS
+- TQIODevice *fd= KFilterDev::deviceForFile(filename);
+
+- if ( !fd || !fd->open(IO_ReadOnly))
+- {
+- delete fd;
+- return 0;
+- }
+- TQByteArray array(fd->readAll());
+- kdDebug(7107) << "read " << array.size() << endl;
+- fd->close();
+- delete fd;
++ size_t len;
+
+- if (array.isEmpty())
+- return 0;
++ if( hasManRecode() ) {
++ myStdStream = TQString::null;
++ KProcess proc;
+
+- const int len = array.size();
+- buf = new char[len + 4];
+- tqmemmove(buf + 1, array.data(), len);
+-#else
+- myStdStream = TQString::null;
+- KProcess proc;
+- /* TODO: detect availability of 'man --recode' so that this can go
+- * upstream */
+- proc << "man" << "--recode" << "UTF-8" << filename;
++ proc << "man" << "--recode" << "UTF-8" << filename;
+
+- TQApplication::connect(&proc, TQT_SIGNAL(receivedStdout (KProcess *, char *, int)),
+- this, TQT_SLOT(slotGetStdOutputUtf8(KProcess *, char *, int)));
+- proc.start(KProcess::Block, KProcess::All);
++ TQApplication::connect(&proc, TQT_SIGNAL(receivedStdout (KProcess *, char *, int)),
++ this, TQT_SLOT(slotGetStdOutputUtf8(KProcess *, char *, int)));
++ proc.start(KProcess::Block, KProcess::All);
++
++ const TQCString cstr=myStdStream.utf8();
++ len = cstr.size() != 0 ? cstr.size() - 1 : 0;
++ buf = new char[len + 4];
++ tqmemmove(buf + 1, cstr.data(), len);
++ } else {
++ TQIODevice *fd= KFilterDev::deviceForFile(filename);
++
++ if ( !fd || !fd->open(IO_ReadOnly))
++ {
++ delete fd;
++ return 0;
++ }
++ TQByteArray array(fd->readAll());
++ kdDebug(7107) << "read " << array.size() << endl;
++ fd->close();
++ delete fd;
++
++ if (array.isEmpty())
++ return 0;
++
++ len = array.size();
++ buf = new char[len + 4];
++ tqmemmove(buf + 1, array.data(), len);
++ }
+
+- const TQCString cstr=myStdStream.utf8();
+- const int len = cstr.size()-1;
+- buf = new char[len + 4];
+- tqmemmove(buf + 1, cstr.data(), len);
+-#endif
+ buf[0]=buf[len]='\n'; // Start and end with a end of line
+ buf[len+1]=buf[len+2]='\0'; // Two NUL characters at end
+ }
+ return buf;
+ }
+
++bool MANProtocol::hasManRecode(bool force) {
++ static bool rv=0, wasChecked=0;
++ if ( !wasChecked || force ) {
++ KProcess proc;
++ // lets' try to recode the man page of man.
++ // that should be enough to be sure that man-db is installed.
++ proc << "man" << "--recode" << "UTF-8" << "man";
++
++ proc.start(KProcess::Block, KProcess::All);
++ rv = proc.exitStatus() == 0;
++ wasChecked = 1;
++ }
++ return rv;
++}
+
+ void MANProtocol::outputError(const TQString& errmsg)
+ {
+diff --git a/kioslave/man/kio_man.h b/kioslave/man/kio_man.h
+index 617245f..1a28dcf 100644
+--- a/kioslave/man/kio_man.h
++++ b/kioslave/man/kio_man.h
+@@ -66,6 +66,7 @@ private slots:
+ private:
+ void checkManPaths();
+ TQStringList manDirectories();
++ static bool hasManRecode(bool force=0);
+ TQMap<TQString, TQString> buildIndexMap(const TQString& section);
+ bool addWhatIs(TQMap<TQString, TQString>& i, const TQString& f, const TQString& mark);
+ void parseWhatIs( TQMap<TQString, TQString> &i, TQTextStream &t, const TQString &mark );
diff --git a/gentoo/trinity-base/kdebase-kioslaves/kdebase-kioslaves-3.5.13.1.ebuild b/gentoo/trinity-base/kdebase-kioslaves/kdebase-kioslaves-3.5.13.1.ebuild
new file mode 100644
index 000000000..564014691
--- /dev/null
+++ b/gentoo/trinity-base/kdebase-kioslaves/kdebase-kioslaves-3.5.13.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+TSM_EXTRACT="kioslave"
+
+DESCRIPTION="Generic Trinity KIOslaves"
+KEYWORDS="x86 amd64"
+IUSE="hal ldap openexr samba sasl"
+
+DEPEND="
+ x11-libs/libXcursor
+ openexr? ( >=media-libs/openexr-1.2.2-r2 )
+ samba? ( net-fs/samba )
+ ldap? ( net-nds/openldap )
+ sasl? ( dev-libs/cyrus-sasl:2 )
+ hal? ( dev-libs/dbus-tqt =sys-apps/hal-0.5* )"
+
+RDEPEND="${DEPEND}
+ virtual/ssh
+ trinity-base/kdeeject:${SLOT}"
+
+PATCHES=( "${FILESDIR}/${TRINITY_MODULE_NAME}-3.5.13.1-fix-kioslaves-with-hal.patch" )
+
+src_configure() {
+ mycmakeargs=(
+ -DWITH_XCURSOR=ON
+ $(cmake-utils_use_with hal HAL)
+ $(cmake-utils_use_with ldap LDAP)
+ $(cmake-utils_use_with openexr OPENEXR)
+ $(cmake-utils_use_with samba SAMBA)
+ $(cmake-utils_use_with sasl SASL)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/kdebase-kioslaves/kdebase-kioslaves-3.5.13.2.ebuild b/gentoo/trinity-base/kdebase-kioslaves/kdebase-kioslaves-3.5.13.2.ebuild
new file mode 100644
index 000000000..90dde1cec
--- /dev/null
+++ b/gentoo/trinity-base/kdebase-kioslaves/kdebase-kioslaves-3.5.13.2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+TSM_EXTRACT="kioslave"
+
+DESCRIPTION="Generic Trinity KIOslaves"
+KEYWORDS="~amd64 ~x86"
+IUSE="hal ldap openexr samba sasl"
+
+DEPEND="
+ x11-libs/libXcursor
+ openexr? ( >=media-libs/openexr-1.2.2-r2 )
+ samba? ( net-fs/samba )
+ ldap? ( net-nds/openldap )
+ sasl? ( dev-libs/cyrus-sasl:2 )
+ hal? ( dev-libs/dbus-tqt =sys-apps/hal-0.5* )"
+
+RDEPEND="${DEPEND}
+ virtual/ssh
+ trinity-base/kdeeject:${SLOT}"
+
+PATCHES=( "${FILESDIR}/${TRINITY_MODULE_NAME}-3.5.13.2-fix-mandb-support-in-kio-man.patch" )
+
+src_configure() {
+ mycmakeargs=(
+ -DWITH_XCURSOR=ON
+ $(cmake-utils_use_with hal HAL)
+ $(cmake-utils_use_with ldap LDAP)
+ $(cmake-utils_use_with openexr OPENEXR)
+ $(cmake-utils_use_with samba SAMBA)
+ $(cmake-utils_use_with sasl SASL)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/kdebase-kioslaves/metadata.xml b/gentoo/trinity-base/kdebase-kioslaves/metadata.xml
new file mode 100644
index 000000000..a8b413944
--- /dev/null
+++ b/gentoo/trinity-base/kdebase-kioslaves/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+ <longdescription>
+ kioslaves is the Trinity VFS framework which plugins present a filesystem-like view of arbitrary data.
+ This package provides most generic KIOslaves provided by kdebase.
+ </longdescription>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kdebase-meta/kdebase-meta-3.5.13.1.ebuild b/gentoo/trinity-base/kdebase-meta/kdebase-meta-3.5.13.1.ebuild
new file mode 100644
index 000000000..0b19cbf81
--- /dev/null
+++ b/gentoo/trinity-base/kdebase-meta/kdebase-meta-3.5.13.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+
+inherit trinity-functions
+
+set-trinityver
+
+DESCRIPTION="kdebase metapackage - merge this to pull in all kdebase-derived packages"
+HOMEPAGE="http://www.trinitydesktop.org/"
+LICENSE="GPL-2 LGPL-2"
+
+SLOT="$TRINITY_VER"
+IUSE=""
+KEYWORDS="x86 amd64"
+
+RDEPEND=">=trinity-base/kdebase-starttde-${PV}:${SLOT}
+ >=trinity-base/drkonqi-${PV}:${SLOT}
+ >=trinity-base/kappfinder-${PV}:${SLOT}
+ >=trinity-base/kate-${PV}:${SLOT}
+ >=trinity-base/kcheckpass-${PV}:${SLOT}
+ >=trinity-base/kcminit-${PV}:${SLOT}
+ >=trinity-base/kcontrol-${PV}:${SLOT}
+ >=trinity-base/kdcop-${PV}:${SLOT}
+ >=trinity-base/kdebugdialog-${PV}:${SLOT}
+ >=trinity-base/kdepasswd-${PV}:${SLOT}
+ >=trinity-base/kdeprint-${PV}:${SLOT}
+ >=trinity-base/kdeeject-${PV}:${SLOT}
+ >=trinity-base/kdesktop-${PV}:${SLOT}
+ >=trinity-base/kdesu-${PV}:${SLOT}
+ >=trinity-base/kdialog-${PV}:${SLOT}
+ >=trinity-base/kdm-${PV}:${SLOT}
+ >=trinity-base/kfind-${PV}:${SLOT}
+ >=trinity-base/khelpcenter-${PV}:${SLOT}
+ >=trinity-base/khotkeys-${PV}:${SLOT}
+ >=trinity-base/kicker-${PV}:${SLOT}
+ >=trinity-base/kdebase-kioslaves-${PV}:${SLOT}
+ >=trinity-base/klipper-${PV}:${SLOT}
+ >=trinity-base/kmenuedit-${PV}:${SLOT}
+ >=trinity-base/konqueror-${PV}:${SLOT}
+ >=trinity-base/konsole-${PV}:${SLOT}
+ >=trinity-base/kpager-${PV}:${SLOT}
+ >=trinity-base/kpersonalizer-${PV}:${SLOT}
+ >=trinity-base/kreadconfig-${PV}:${SLOT}
+ >=trinity-base/kscreensaver-${PV}:${SLOT}
+ >=trinity-base/ksmserver-${PV}:${SLOT}
+ >=trinity-base/ksplashml-${PV}:${SLOT}
+ >=trinity-base/kstart-${PV}:${SLOT}
+ >=trinity-base/ksysguard-${PV}:${SLOT}
+ >=trinity-base/ksystraycmd-${PV}:${SLOT}
+ >=trinity-base/ktip-${PV}:${SLOT}
+ >=trinity-base/kwin-${PV}:${SLOT}
+ >=trinity-base/kxkb-${PV}:${SLOT}
+ >=trinity-base/libkonq-${PV}:${SLOT}
+ >=trinity-base/nsplugins-${PV}:${SLOT}
+ >=trinity-base/knetattach-${PV}:${SLOT}
+ >=trinity-base/kdebase-data-${PV}:${SLOT}
+ >=trinity-base/krootbacking-${PV}:${SLOT}
+ >=trinity-base/tqt3integration-${PV}:${SLOT}"
diff --git a/gentoo/trinity-base/kdebase-meta/kdebase-meta-3.5.13.2.ebuild b/gentoo/trinity-base/kdebase-meta/kdebase-meta-3.5.13.2.ebuild
new file mode 100644
index 000000000..b3d9532e5
--- /dev/null
+++ b/gentoo/trinity-base/kdebase-meta/kdebase-meta-3.5.13.2.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+
+inherit trinity-functions
+
+set-trinityver
+
+DESCRIPTION="kdebase metapackage - merge this to pull in all kdebase-derived packages"
+HOMEPAGE="http://www.trinitydesktop.org/"
+LICENSE="GPL-2 LGPL-2"
+
+SLOT="$TRINITY_VER"
+IUSE=""
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND=">=trinity-base/kdebase-starttde-${PV}:${SLOT}
+ >=trinity-base/drkonqi-${PV}:${SLOT}
+ >=trinity-base/kappfinder-${PV}:${SLOT}
+ >=trinity-base/kate-${PV}:${SLOT}
+ >=trinity-base/kcheckpass-${PV}:${SLOT}
+ >=trinity-base/kcminit-${PV}:${SLOT}
+ >=trinity-base/kcontrol-${PV}:${SLOT}
+ >=trinity-base/kdcop-${PV}:${SLOT}
+ >=trinity-base/kdebugdialog-${PV}:${SLOT}
+ >=trinity-base/kdepasswd-${PV}:${SLOT}
+ >=trinity-base/kdeprint-${PV}:${SLOT}
+ >=trinity-base/kdeeject-${PV}:${SLOT}
+ >=trinity-base/kdesktop-${PV}:${SLOT}
+ >=trinity-base/kdesu-${PV}:${SLOT}
+ >=trinity-base/kdialog-${PV}:${SLOT}
+ >=trinity-base/kdm-${PV}:${SLOT}
+ >=trinity-base/kfind-${PV}:${SLOT}
+ >=trinity-base/khelpcenter-${PV}:${SLOT}
+ >=trinity-base/khotkeys-${PV}:${SLOT}
+ >=trinity-base/kicker-${PV}:${SLOT}
+ >=trinity-base/kdebase-kioslaves-${PV}:${SLOT}
+ >=trinity-base/klipper-${PV}:${SLOT}
+ >=trinity-base/kmenuedit-${PV}:${SLOT}
+ >=trinity-base/konqueror-${PV}:${SLOT}
+ >=trinity-base/konsole-${PV}:${SLOT}
+ >=trinity-base/kpager-${PV}:${SLOT}
+ >=trinity-base/kpersonalizer-${PV}:${SLOT}
+ >=trinity-base/kreadconfig-${PV}:${SLOT}
+ >=trinity-base/kscreensaver-${PV}:${SLOT}
+ >=trinity-base/ksmserver-${PV}:${SLOT}
+ >=trinity-base/ksplashml-${PV}:${SLOT}
+ >=trinity-base/kstart-${PV}:${SLOT}
+ >=trinity-base/ksysguard-${PV}:${SLOT}
+ >=trinity-base/ksystraycmd-${PV}:${SLOT}
+ >=trinity-base/ktip-${PV}:${SLOT}
+ >=trinity-base/kwin-${PV}:${SLOT}
+ >=trinity-base/kxkb-${PV}:${SLOT}
+ >=trinity-base/libkonq-${PV}:${SLOT}
+ >=trinity-base/nsplugins-${PV}:${SLOT}
+ >=trinity-base/knetattach-${PV}:${SLOT}
+ >=trinity-base/kdebase-data-${PV}:${SLOT}
+ >=trinity-base/krootbacking-${PV}:${SLOT}
+ >=trinity-base/tqt3integration-${PV}:${SLOT}"
diff --git a/gentoo/trinity-base/kdebase-meta/metadata.xml b/gentoo/trinity-base/kdebase-meta/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kdebase-meta/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kdebase-starttde/Manifest b/gentoo/trinity-base/kdebase-starttde/Manifest
new file mode 100644
index 000000000..381340c4b
--- /dev/null
+++ b/gentoo/trinity-base/kdebase-starttde/Manifest
@@ -0,0 +1,2 @@
+DIST kdebase-3.5.13.1.tar.gz 29403228 SHA256 ddd4bd4b508ad027b9d1af2701c6ba64bfc9f8f1d32099e6dd5e7866714f759e SHA512 e1aac19c941a5f2b43a57928fdb43e5ebd646f49c60911d9d317550df96642870792c4e77ecd06e123244e2425ccd4bcb00f0a21011ba7e651d7fcf4553e79cf WHIRLPOOL 931debbf6a65c280221025dcbc02cbb3387b66eb72eddd28a510ee8f97075cd2cc96535dde25d0a32280c399e4a868e9c027772f5d28e7e79b7c1a9080c58034
+DIST kdebase-trinity-3.5.13.2.tar.xz 25890636 SHA256 b9d552226daff64437dfb9699669b95dd7ebc2ca7c43755ba71c10cc6c9ed789 SHA512 df545d44c7d4550d1d77ff6504572b622853c2b8d80062b1aee1a5bdca19f0e708cde35cff54cf2d5098f06a41bde0c89522a3958dea9bb18205dea87c11b797 WHIRLPOOL 79144273bc7985c59a593a3394b12a2053532d2c4c890ce96adad21f6de0413baf3c6270d6d06173ec4546b20d401aa0cc81603d01b8ee41dbdefc825b39b2b1
diff --git a/gentoo/trinity-base/kdebase-starttde/files/agent-shutdown.sh b/gentoo/trinity-base/kdebase-starttde/files/agent-shutdown.sh
new file mode 100644
index 000000000..07cf74772
--- /dev/null
+++ b/gentoo/trinity-base/kdebase-starttde/files/agent-shutdown.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+#
+# This file is executed at kde shutdown.
+# Uncomment the following lines to kill the agents
+# that were started at session startup.
+
+#if [ -n "${GPG_AGENT_INFO}" ]; then
+# kill $(echo ${GPG_AGENT_INFO} | cut -d':' -f 2) >/dev/null 2>&1
+#fi
+
+#if [ -n "${SSH_AGENT_PID}" ]; then
+# eval "$(ssh-agent -s -k)"
+#fi
diff --git a/gentoo/trinity-base/kdebase-starttde/files/agent-startup.sh b/gentoo/trinity-base/kdebase-starttde/files/agent-startup.sh
new file mode 100644
index 000000000..e97c7b658
--- /dev/null
+++ b/gentoo/trinity-base/kdebase-starttde/files/agent-startup.sh
@@ -0,0 +1,29 @@
+# Agents startup file
+#
+# This file is sourced at trinity startup, so that
+# the environment variables set here are available
+# throughout the session.
+
+# Uncomment the following lines to start gpg-agent
+# and/or ssh-agent at kde startup.
+# If you do so, do not forget to uncomment the respective
+# lines in TDEDIR/shutdown/agent-shutdown.sh to
+# properly kill the agents when the session ends.
+
+#if [ -x /usr/bin/gpg-agent ]; then
+# eval "$(/usr/bin/gpg-agent --daemon)"
+#fi
+
+#if [ -x /usr/bin/ssh-agent ]; then
+# eval "$(/usr/bin/ssh-agent -s)"
+#fi
+
+# Uncomment the following lines to start rxvt-unicode which has the ability to
+# run multiple terminals in one single process, thus starting up faster and
+# saving resources.
+# The --opendisplay ensures that the daemon quits when the X server terminates,
+# therefore we don't need matching lines in agent-shutdown.sh.
+
+#if [ -x /usr/bin/urxvtd ]; then
+# /usr/bin/urxvtd --opendisplay --fork --quiet
+#fi
diff --git a/gentoo/trinity-base/kdebase-starttde/files/kdebase-startkde-3.5.13.1-gentoo.patch b/gentoo/trinity-base/kdebase-starttde/files/kdebase-startkde-3.5.13.1-gentoo.patch
new file mode 100644
index 000000000..9f84aa306
--- /dev/null
+++ b/gentoo/trinity-base/kdebase-starttde/files/kdebase-startkde-3.5.13.1-gentoo.patch
@@ -0,0 +1,63 @@
+--- startkde 2012-12-08 19:03:57.264176845 +0400
++++ startkde.gentoo 2012-12-08 19:42:37.448228534 +0400
+@@ -45,6 +45,16 @@
+ # because we still need to do some cleanup.
+ trap '[startkde] echo GOT SIGHUP' HUP
+
++# Gentoo: setup environment, filter other slotted KDE installs from PATH
++_KDEDIR=@REPLACE_PREFIX@
++#export KDEDIRS=${_KDEDIR}:/usr:/usr/local
++export PATH=${_KDEDIR}/bin:$(echo ${PATH} | sed 's/$/:/g;s#/usr/trinity/[^/]*/s\?bin/\?:##g;s/:$//g')
++export ROOTPATH=${_KDEDIR}/sbin:${_KDEDIR}/bin:$(echo ${PATH} | sed 's/$/:/g;s#/usr/trinity/[^/]*/s\?bin/\?:##g;s/:$//g')
++export LDPATH=@REPLACE_LIBS@:${LDPATH}
++export XDG_DATA_DIRS=${_KDEDIR}/share:$(echo ${XDG_DATA_DIRS} | sed 's/$/:/g;s#/usr/trinity/[^/]*/share/\?:##g;s/:$//g')
++unset _KDEDIR
++# Gentoo part ends
++
+ # Check if a TDE session is already running.
+ if kcheckrunning >/dev/null 2>&1; then
+ echo "[startkde] TDE seems to be already running on this display."
+@@ -52,6 +62,20 @@
+ exit 1
+ fi
+
++# Gentoo part:
++# Scrapped old TDE-x -> TDE-y update code, but keep symlink code
++pushd ${HOME}
++if [ -L .trinity -o ! -e .trinity ]; then
++ # handle ~/.trinity* dirs - separate ones for separate trinity instances
++ rm -f .trinity
++ if [ ! -e .trinity-3.5 ]; then
++ mkdir .trinity-3.5
++ fi
++ ln -sf .trinity-3.5 .trinity
++fi
++popd
++# Gentoo part ends
++
+ # Set the background color.
+ # The standard X background is nasty, causing moire effects and exploding
+ # people's heads. We use colours from the standard TDE palette for those with
+@@ -435,6 +459,13 @@
+ done
+ done
+
++# Source scripts in /etc/X11/xinit/xinitrc.d/ for system-level defined stuff
++if test -d "/etc/X11/xinit/xinitrc.d/"; then
++ for file in "/etc/X11/xinit/xinitrc.d/"*; do
++ test -x "$file" && . "$file"
++ done
++fi
++
+ # Activate the TDE font directories.
+ #
+ # There are 4 directories that may be used for supplying fonts for TDE.
+@@ -688,7 +719,7 @@
+ # Clean up
+ $KDEDIR/bin/kdeinit_shutdown
+ $KDEDIR/bin/dcopserver_shutdown --wait
+-$KDEDIR/bin/artsshell -q terminate
++[ -x ${KDEDIR}/bin/artsshell ] && $KDEDIR/bin/artsshell -q terminate
+ # KDE4 support
+ if [ -f /usr/bin/kdeinit4_shutdown ]; then
+ /usr/bin/kde4 kdeinit4_shutdown 2>/dev/null
diff --git a/gentoo/trinity-base/kdebase-starttde/files/kdebase-startkde-3.5.13.2-gentoo.patch b/gentoo/trinity-base/kdebase-starttde/files/kdebase-startkde-3.5.13.2-gentoo.patch
new file mode 100644
index 000000000..9f84aa306
--- /dev/null
+++ b/gentoo/trinity-base/kdebase-starttde/files/kdebase-startkde-3.5.13.2-gentoo.patch
@@ -0,0 +1,63 @@
+--- startkde 2012-12-08 19:03:57.264176845 +0400
++++ startkde.gentoo 2012-12-08 19:42:37.448228534 +0400
+@@ -45,6 +45,16 @@
+ # because we still need to do some cleanup.
+ trap '[startkde] echo GOT SIGHUP' HUP
+
++# Gentoo: setup environment, filter other slotted KDE installs from PATH
++_KDEDIR=@REPLACE_PREFIX@
++#export KDEDIRS=${_KDEDIR}:/usr:/usr/local
++export PATH=${_KDEDIR}/bin:$(echo ${PATH} | sed 's/$/:/g;s#/usr/trinity/[^/]*/s\?bin/\?:##g;s/:$//g')
++export ROOTPATH=${_KDEDIR}/sbin:${_KDEDIR}/bin:$(echo ${PATH} | sed 's/$/:/g;s#/usr/trinity/[^/]*/s\?bin/\?:##g;s/:$//g')
++export LDPATH=@REPLACE_LIBS@:${LDPATH}
++export XDG_DATA_DIRS=${_KDEDIR}/share:$(echo ${XDG_DATA_DIRS} | sed 's/$/:/g;s#/usr/trinity/[^/]*/share/\?:##g;s/:$//g')
++unset _KDEDIR
++# Gentoo part ends
++
+ # Check if a TDE session is already running.
+ if kcheckrunning >/dev/null 2>&1; then
+ echo "[startkde] TDE seems to be already running on this display."
+@@ -52,6 +62,20 @@
+ exit 1
+ fi
+
++# Gentoo part:
++# Scrapped old TDE-x -> TDE-y update code, but keep symlink code
++pushd ${HOME}
++if [ -L .trinity -o ! -e .trinity ]; then
++ # handle ~/.trinity* dirs - separate ones for separate trinity instances
++ rm -f .trinity
++ if [ ! -e .trinity-3.5 ]; then
++ mkdir .trinity-3.5
++ fi
++ ln -sf .trinity-3.5 .trinity
++fi
++popd
++# Gentoo part ends
++
+ # Set the background color.
+ # The standard X background is nasty, causing moire effects and exploding
+ # people's heads. We use colours from the standard TDE palette for those with
+@@ -435,6 +459,13 @@
+ done
+ done
+
++# Source scripts in /etc/X11/xinit/xinitrc.d/ for system-level defined stuff
++if test -d "/etc/X11/xinit/xinitrc.d/"; then
++ for file in "/etc/X11/xinit/xinitrc.d/"*; do
++ test -x "$file" && . "$file"
++ done
++fi
++
+ # Activate the TDE font directories.
+ #
+ # There are 4 directories that may be used for supplying fonts for TDE.
+@@ -688,7 +719,7 @@
+ # Clean up
+ $KDEDIR/bin/kdeinit_shutdown
+ $KDEDIR/bin/dcopserver_shutdown --wait
+-$KDEDIR/bin/artsshell -q terminate
++[ -x ${KDEDIR}/bin/artsshell ] && $KDEDIR/bin/artsshell -q terminate
+ # KDE4 support
+ if [ -f /usr/bin/kdeinit4_shutdown ]; then
+ /usr/bin/kde4 kdeinit4_shutdown 2>/dev/null
diff --git a/gentoo/trinity-base/kdebase-starttde/files/kdebase-startkde-trinity-gentoo.patch b/gentoo/trinity-base/kdebase-starttde/files/kdebase-startkde-trinity-gentoo.patch
new file mode 100644
index 000000000..0d37eab5b
--- /dev/null
+++ b/gentoo/trinity-base/kdebase-starttde/files/kdebase-startkde-trinity-gentoo.patch
@@ -0,0 +1,46 @@
+--- startkde.orig 2011-09-19 14:54:22.812972431 +0400
++++ startkde 2011-09-19 15:02:54.050401619 +0400
+@@ -9,6 +9,15 @@
+ # because we still need to do some cleanup.
+ trap '[startkde] echo GOT SIGHUP' HUP
+
++# Gentoo: setup environment, filter other slotted KDE installs from PATH
++_KDEDIR=@REPLACE_PREFIX@
++#export KDEDIRS=${_KDEDIR}:/usr:/usr/local
++export PATH=${_KDEDIR}/bin:$(echo ${PATH} | sed 's/$/:/g;s#/usr/kde/[^/]*/s\?bin/\?:##g;s/:$//g')
++export ROOTPATH=${_KDEDIR}/sbin:${_KDEDIR}/bin:$(echo ${PATH} | sed 's/$/:/g;s#/usr/kde/[^/]*/s\?bin/\?:##g;s/:$//g')
++export LDPATH=@REPLACE_LIBS@:${LDPATH}
++export XDG_DATA_DIRS=${_KDEDIR}/share:$(echo ${XDG_DATA_DIRS} | sed 's/$/:/g;s#/usr/kde/[^/]*/share/\?:##g;s/:$//g')
++# Gentoo part ends
++
+ # Check if a KDE session is already running.
+ if kcheckrunning >/dev/null 2>&1; then
+ echo "[startkde] KDE seems to be already running on this display."
+@@ -340,6 +349,13 @@
+ done
+ done
+
++# Source scripts in /etc/X11/xinit/xinitrc.d/ for system-level defined stuff
++if test -d "/etc/X11/xinit/xinitrc.d/"; then
++ for file in "/etc/X11/xinit/xinitrc.d/"*; do
++ test -x "$file" && . "$file"
++ done
++fi
++
+ # Activate the kde font directories.
+ #
+ # There are 4 directories that may be used for supplying fonts for KDE.
+@@ -593,7 +609,12 @@
+ # Clean up
+ kdeinit_shutdown
+ dcopserver_shutdown --wait
+-artsshell -q terminate
++
++# Terminate artsshell if it exists
++if [ -e ${_KDEDIR}/bin/artsshell ] ; then
++ artsshell -q terminate ;
++fi
++
+ # KDE4 support
+ if [ -f /usr/bin/kdeinit4_shutdown ]; then
+ kde4 kdeinit4_shutdown 2>/dev/null
diff --git a/gentoo/trinity-base/kdebase-starttde/kdebase-starttde-3.5.13.1.ebuild b/gentoo/trinity-base/kdebase-starttde/kdebase-starttde-3.5.13.1.ebuild
new file mode 100644
index 000000000..2a14b29c1
--- /dev/null
+++ b/gentoo/trinity-base/kdebase-starttde/kdebase-starttde-3.5.13.1.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="starttde script, which starts a complete Trinity session, and associated scripts"
+KEYWORDS="x86 amd64"
+IUSE=""
+
+RDEPEND="x11-apps/xmessage
+ x11-apps/xsetroot
+ x11-apps/xset
+ x11-apps/xrandr
+ x11-apps/mkfontdir
+ x11-apps/xprop
+ >=trinity-base/kdesktop-${PV}:${SLOT}
+ >=trinity-base/kcminit-${PV}:${SLOT}
+ >=trinity-base/ksmserver-${PV}:${SLOT}
+ >=trinity-base/kwin-${PV}:${SLOT}
+ >=trinity-base/kpersonalizer-${PV}:${SLOT}
+ >=trinity-base/kreadconfig-${PV}:${SLOT}
+ >=trinity-base/ksplashml-${PV}:${SLOT}"
+
+TSM_EXTRACT="startkde README.pam INSTALL AUTHORS COPYING COPYING-DOCS kdm"
+
+src_prepare() {
+ epatch "${FILESDIR}/kdebase-startkde-${PV}-gentoo.patch"
+
+ trinity-base_src_prepare
+}
+
+src_configure() {
+ echo -n "";
+}
+
+src_compile() {
+ # Patch the starttde script to setup the environment for KDE 4.0
+ # Add our TDEDIR
+ sed -e "s#@REPLACE_PREFIX@#${TDEDIR}#" \
+ "${S}/startkde" >"${S}/starttde" || die "Sed for PREFIX failed."
+
+ # List all the multilib libdirs
+ local _libdir _libdirs
+ for _libdir in $(get_all_libdirs); do
+ _libdirs="${_libdirs}:${PREFIX}/${_libdir}"
+ done
+ _libdirs=${_libdirs#:}
+
+ # Complete LDPATH
+ sed -i -e "s#@REPLACE_LIBS@#${_libdirs}#" \
+ "${S}/starttde" || die "Sed for LDPATH failed."
+}
+
+src_install() {
+ # starttde script
+ exeinto "${TDEDIR}/bin"
+ doexe starttde
+
+ # startup and shutdown scripts
+ exeinto "${TDEDIR}/env"
+ doexe "${FILESDIR}/agent-startup.sh"
+
+ exeinto "${TDEDIR}/shutdown"
+ doexe "${FILESDIR}/agent-shutdown.sh"
+
+ # freedesktop environment variables
+ cat <<EOF > "${T}/xdg.sh"
+export XDG_CONFIG_DIRS="${TDEDIR}/etc/xdg"
+EOF
+ exeinto "${TDEDIR}/env"
+ doexe "${T}/xdg.sh"
+
+ # x11 session script
+ cat <<EOF > "${T}/tde-${SLOT}"
+#!/bin/sh
+exec ${TDEDIR}/bin/starttde
+EOF
+ exeinto /etc/X11/Sessions
+ doexe "${T}/tde-${SLOT}" # FIXME: change script branding to trinity
+
+ # (not really) freedesktop compliant session script
+ sed -e "s:@TDE_BINDIR@:${TDEDIR}/bin:g;s:Name=Trinity:Name=Trinity ${SLOT}:" \
+ -e "s/startkde/starttde/" \
+ "${S}/kdm/kfrontend/sessions/tde.desktop.in" > "${T}/tde-${SLOT}.desktop"
+ insinto /usr/share/xsessions
+ doins "${T}/tde-${SLOT}.desktop"
+}
+
+pkg_postinst () {
+ echo
+ elog "To enable gpg-agent and/or ssh-agent in Trinity sessions,"
+ elog "edit ${TDEDIR}/env/agent-startup.sh and"
+ elog "${TDEDIR}/shutdown/agent-shutdown.sh"
+ echo
+}
diff --git a/gentoo/trinity-base/kdebase-starttde/kdebase-starttde-3.5.13.2.ebuild b/gentoo/trinity-base/kdebase-starttde/kdebase-starttde-3.5.13.2.ebuild
new file mode 100644
index 000000000..2a66ee3a0
--- /dev/null
+++ b/gentoo/trinity-base/kdebase-starttde/kdebase-starttde-3.5.13.2.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="starttde script, which starts a complete Trinity session, and associated scripts"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="x11-apps/xmessage
+ x11-apps/xsetroot
+ x11-apps/xset
+ x11-apps/xrandr
+ x11-apps/mkfontdir
+ x11-apps/xprop
+ >=trinity-base/kdesktop-${PV}:${SLOT}
+ >=trinity-base/kcminit-${PV}:${SLOT}
+ >=trinity-base/ksmserver-${PV}:${SLOT}
+ >=trinity-base/kwin-${PV}:${SLOT}
+ >=trinity-base/kpersonalizer-${PV}:${SLOT}
+ >=trinity-base/kreadconfig-${PV}:${SLOT}
+ >=trinity-base/ksplashml-${PV}:${SLOT}"
+
+TSM_EXTRACT="startkde README.pam INSTALL AUTHORS COPYING COPYING-DOCS kdm"
+
+src_prepare() {
+ epatch "${FILESDIR}/kdebase-startkde-${PV}-gentoo.patch"
+
+ trinity-base_src_prepare
+}
+
+src_configure() {
+ echo -n "";
+}
+
+src_compile() {
+ # Patch the starttde script to setup the environment for KDE 4.0
+ # Add our TDEDIR
+ sed -e "s#@REPLACE_PREFIX@#${TDEDIR}#" \
+ "${S}/startkde" >"${S}/starttde" || die "Sed for PREFIX failed."
+
+ # List all the multilib libdirs
+ local _libdir _libdirs
+ for _libdir in $(get_all_libdirs); do
+ _libdirs="${_libdirs}:${PREFIX}/${_libdir}"
+ done
+ _libdirs=${_libdirs#:}
+
+ # Complete LDPATH
+ sed -i -e "s#@REPLACE_LIBS@#${_libdirs}#" \
+ "${S}/starttde" || die "Sed for LDPATH failed."
+}
+
+src_install() {
+ # starttde script
+ exeinto "${TDEDIR}/bin"
+ doexe starttde
+
+ # startup and shutdown scripts
+ exeinto "${TDEDIR}/env"
+ doexe "${FILESDIR}/agent-startup.sh"
+
+ exeinto "${TDEDIR}/shutdown"
+ doexe "${FILESDIR}/agent-shutdown.sh"
+
+ # freedesktop environment variables
+ cat <<EOF > "${T}/xdg.sh"
+export XDG_CONFIG_DIRS="${TDEDIR}/etc/xdg"
+EOF
+ exeinto "${TDEDIR}/env"
+ doexe "${T}/xdg.sh"
+
+ # x11 session script
+ cat <<EOF > "${T}/tde-${SLOT}"
+#!/bin/sh
+exec ${TDEDIR}/bin/starttde
+EOF
+ exeinto /etc/X11/Sessions
+ doexe "${T}/tde-${SLOT}" # FIXME: change script branding to trinity
+
+ # (not really) freedesktop compliant session script
+ sed -e "s:@TDE_BINDIR@:${TDEDIR}/bin:g;s:Name=Trinity:Name=Trinity ${SLOT}:" \
+ -e "s/startkde/starttde/" \
+ "${S}/kdm/kfrontend/sessions/tde.desktop.in" > "${T}/tde-${SLOT}.desktop"
+ insinto /usr/share/xsessions
+ doins "${T}/tde-${SLOT}.desktop"
+}
+
+pkg_postinst () {
+ echo
+ elog "To enable gpg-agent and/or ssh-agent in Trinity sessions,"
+ elog "edit ${TDEDIR}/env/agent-startup.sh and"
+ elog "${TDEDIR}/shutdown/agent-shutdown.sh"
+ echo
+}
diff --git a/gentoo/trinity-base/kdebase-starttde/metadata.xml b/gentoo/trinity-base/kdebase-starttde/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kdebase-starttde/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kdebugdialog/Manifest b/gentoo/trinity-base/kdebugdialog/Manifest
new file mode 100644
index 000000000..381340c4b
--- /dev/null
+++ b/gentoo/trinity-base/kdebugdialog/Manifest
@@ -0,0 +1,2 @@
+DIST kdebase-3.5.13.1.tar.gz 29403228 SHA256 ddd4bd4b508ad027b9d1af2701c6ba64bfc9f8f1d32099e6dd5e7866714f759e SHA512 e1aac19c941a5f2b43a57928fdb43e5ebd646f49c60911d9d317550df96642870792c4e77ecd06e123244e2425ccd4bcb00f0a21011ba7e651d7fcf4553e79cf WHIRLPOOL 931debbf6a65c280221025dcbc02cbb3387b66eb72eddd28a510ee8f97075cd2cc96535dde25d0a32280c399e4a868e9c027772f5d28e7e79b7c1a9080c58034
+DIST kdebase-trinity-3.5.13.2.tar.xz 25890636 SHA256 b9d552226daff64437dfb9699669b95dd7ebc2ca7c43755ba71c10cc6c9ed789 SHA512 df545d44c7d4550d1d77ff6504572b622853c2b8d80062b1aee1a5bdca19f0e708cde35cff54cf2d5098f06a41bde0c89522a3958dea9bb18205dea87c11b797 WHIRLPOOL 79144273bc7985c59a593a3394b12a2053532d2c4c890ce96adad21f6de0413baf3c6270d6d06173ec4546b20d401aa0cc81603d01b8ee41dbdefc825b39b2b1
diff --git a/gentoo/trinity-base/kdebugdialog/files/shared b/gentoo/trinity-base/kdebugdialog/files/shared
new file mode 120000
index 000000000..ffc286806
--- /dev/null
+++ b/gentoo/trinity-base/kdebugdialog/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files \ No newline at end of file
diff --git a/gentoo/trinity-base/kdebugdialog/kdebugdialog-3.5.13.1.ebuild b/gentoo/trinity-base/kdebugdialog/kdebugdialog-3.5.13.1.ebuild
new file mode 100644
index 000000000..8da6e9b02
--- /dev/null
+++ b/gentoo/trinity-base/kdebugdialog/kdebugdialog-3.5.13.1.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="A Trinity dialog box for setting preferences for debug output."
+KEYWORDS="x86 amd64"
+IUSE=""
diff --git a/gentoo/trinity-base/kdebugdialog/kdebugdialog-3.5.13.2.ebuild b/gentoo/trinity-base/kdebugdialog/kdebugdialog-3.5.13.2.ebuild
new file mode 100644
index 000000000..52f7aeea3
--- /dev/null
+++ b/gentoo/trinity-base/kdebugdialog/kdebugdialog-3.5.13.2.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="A Trinity dialog box for setting preferences for debug output."
+KEYWORDS="~amd64 ~x86"
+IUSE=""
diff --git a/gentoo/trinity-base/kdebugdialog/metadata.xml b/gentoo/trinity-base/kdebugdialog/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kdebugdialog/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kdeeject/Manifest b/gentoo/trinity-base/kdeeject/Manifest
new file mode 100644
index 000000000..381340c4b
--- /dev/null
+++ b/gentoo/trinity-base/kdeeject/Manifest
@@ -0,0 +1,2 @@
+DIST kdebase-3.5.13.1.tar.gz 29403228 SHA256 ddd4bd4b508ad027b9d1af2701c6ba64bfc9f8f1d32099e6dd5e7866714f759e SHA512 e1aac19c941a5f2b43a57928fdb43e5ebd646f49c60911d9d317550df96642870792c4e77ecd06e123244e2425ccd4bcb00f0a21011ba7e651d7fcf4553e79cf WHIRLPOOL 931debbf6a65c280221025dcbc02cbb3387b66eb72eddd28a510ee8f97075cd2cc96535dde25d0a32280c399e4a868e9c027772f5d28e7e79b7c1a9080c58034
+DIST kdebase-trinity-3.5.13.2.tar.xz 25890636 SHA256 b9d552226daff64437dfb9699669b95dd7ebc2ca7c43755ba71c10cc6c9ed789 SHA512 df545d44c7d4550d1d77ff6504572b622853c2b8d80062b1aee1a5bdca19f0e708cde35cff54cf2d5098f06a41bde0c89522a3958dea9bb18205dea87c11b797 WHIRLPOOL 79144273bc7985c59a593a3394b12a2053532d2c4c890ce96adad21f6de0413baf3c6270d6d06173ec4546b20d401aa0cc81603d01b8ee41dbdefc825b39b2b1
diff --git a/gentoo/trinity-base/kdeeject/kdeeject-3.5.13.1.ebuild b/gentoo/trinity-base/kdeeject/kdeeject-3.5.13.1.ebuild
new file mode 100644
index 000000000..5918dcb4c
--- /dev/null
+++ b/gentoo/trinity-base/kdeeject/kdeeject-3.5.13.1.ebuild
@@ -0,0 +1,15 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity eject frontend"
+KEYWORDS="x86 amd64"
+IUSE=""
+
+DEPEND="trinity-base/kdialog:${SLOT}"
+RDEPEND="${DEPEND}
+ virtual/eject"
diff --git a/gentoo/trinity-base/kdeeject/kdeeject-3.5.13.2.ebuild b/gentoo/trinity-base/kdeeject/kdeeject-3.5.13.2.ebuild
new file mode 100644
index 000000000..5918dcb4c
--- /dev/null
+++ b/gentoo/trinity-base/kdeeject/kdeeject-3.5.13.2.ebuild
@@ -0,0 +1,15 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity eject frontend"
+KEYWORDS="x86 amd64"
+IUSE=""
+
+DEPEND="trinity-base/kdialog:${SLOT}"
+RDEPEND="${DEPEND}
+ virtual/eject"
diff --git a/gentoo/trinity-base/kdeeject/metadata.xml b/gentoo/trinity-base/kdeeject/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kdeeject/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kdegraphics-doc/Manifest b/gentoo/trinity-base/kdegraphics-doc/Manifest
new file mode 100644
index 000000000..f0ba54e9a
--- /dev/null
+++ b/gentoo/trinity-base/kdegraphics-doc/Manifest
@@ -0,0 +1 @@
+DIST kdegraphics-3.5.13.1.tar.gz 7526074 SHA256 19bd36e261bb6c5d2c9c1eba5f736c642b48422d917d44e576835f7ebb44906b SHA512 693e5ad70dbb00c587e588acfb81fc9475c3a4dbc86f41d6053c0584c533349a7564e34b870cb7bbc57361ac539da6f7d7f1b002ac3cfe8b0201db3eeb9147dd WHIRLPOOL fd2c46c517b3a0293880eaf35967295485555b936d0f1e80e0f2c261a1164cfcc5c4b2d943a12c073914d33b59974cc2dd92a78414614caa10f46dd048d518b4
diff --git a/gentoo/trinity-base/kdegraphics-doc/files/shared b/gentoo/trinity-base/kdegraphics-doc/files/shared
new file mode 120000
index 000000000..af62be31d
--- /dev/null
+++ b/gentoo/trinity-base/kdegraphics-doc/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files/ \ No newline at end of file
diff --git a/gentoo/trinity-base/kdegraphics-doc/kdegraphics-doc-3.5.13.1.ebuild b/gentoo/trinity-base/kdegraphics-doc/kdegraphics-doc-3.5.13.1.ebuild
new file mode 100644
index 000000000..aa997ce38
--- /dev/null
+++ b/gentoo/trinity-base/kdegraphics-doc/kdegraphics-doc-3.5.13.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdegraphics"
+
+inherit trinity-meta
+
+DESCRIPTION="Documentaion for kdegraphics-derived packages"
+KEYWORDS="x86 amd64"
+IUSE=""
+RDEPEND="
+ >=trinity-base/khelpcenter-${PV}:${SLOT}"
+
+pkg_setup() {
+ # we should reduce MAKEOPTS -j parametr to no more than 4
+ local makeopts_j
+ makeopts_j="$(echo "$MAKEOPTS" | sed -n 's/\(^\|.*\s\)\(-j\s*[0-9]\+\)\(\s.*\|$\)/\2/p')"
+ if [ -n "$makeopts_j" -a "$makeopts_j" > 4 ]; then
+ export MAKEOPTS="${MAKEOPTS//"${makeopts_j}"/-j4}"
+
+ ewarn "This ebuild needs huge amoumt of memmory to compile in highly parallel"
+ ewarn "mode so it can chew it all. MAKEOPTS are reduced to \"$MAKEOPTS\"."
+ fi
+
+ trinity-meta_pkg_setup
+}
diff --git a/gentoo/trinity-base/kdegraphics-doc/metadata.xml b/gentoo/trinity-base/kdegraphics-doc/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kdegraphics-doc/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kdegraphics-kfile-plugins/Manifest b/gentoo/trinity-base/kdegraphics-kfile-plugins/Manifest
new file mode 100644
index 000000000..f0ba54e9a
--- /dev/null
+++ b/gentoo/trinity-base/kdegraphics-kfile-plugins/Manifest
@@ -0,0 +1 @@
+DIST kdegraphics-3.5.13.1.tar.gz 7526074 SHA256 19bd36e261bb6c5d2c9c1eba5f736c642b48422d917d44e576835f7ebb44906b SHA512 693e5ad70dbb00c587e588acfb81fc9475c3a4dbc86f41d6053c0584c533349a7564e34b870cb7bbc57361ac539da6f7d7f1b002ac3cfe8b0201db3eeb9147dd WHIRLPOOL fd2c46c517b3a0293880eaf35967295485555b936d0f1e80e0f2c261a1164cfcc5c4b2d943a12c073914d33b59974cc2dd92a78414614caa10f46dd048d518b4
diff --git a/gentoo/trinity-base/kdegraphics-kfile-plugins/files/tdegraphics-poppler-tqt-remove-unnecessary-check.patch b/gentoo/trinity-base/kdegraphics-kfile-plugins/files/tdegraphics-poppler-tqt-remove-unnecessary-check.patch
new file mode 100644
index 000000000..35448ab1e
--- /dev/null
+++ b/gentoo/trinity-base/kdegraphics-kfile-plugins/files/tdegraphics-poppler-tqt-remove-unnecessary-check.patch
@@ -0,0 +1,19 @@
+--- kfile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake.orig 2012-10-30 15:37:44.306343796 +0400
++++ kfile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake 2012-10-30 15:37:56.031354364 +0400
+@@ -1,11 +1,9 @@
+ # Poppler
+-if( BUILD_KPDF )
+- pkg_search_module( POPPLER poppler )
+- if( POPPLER_FOUND )
+- set( HAVE_POPPLER 1 )
+- else( )
+- tde_message_fatal( "poppler is required, but was not found on your system" )
+- endif( )
++pkg_search_module( POPPLER poppler )
++if( POPPLER_FOUND )
++ set( HAVE_POPPLER 1 )
++else( )
++ tde_message_fatal( "poppler is required, but was not found on your system" )
+ endif( )
+
+ tde_save( CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES )
diff --git a/gentoo/trinity-base/kdegraphics-kfile-plugins/kdegraphics-kfile-plugins-3.5.13.1.ebuild b/gentoo/trinity-base/kdegraphics-kfile-plugins/kdegraphics-kfile-plugins-3.5.13.1.ebuild
new file mode 100644
index 000000000..2a7c868ff
--- /dev/null
+++ b/gentoo/trinity-base/kdegraphics-kfile-plugins/kdegraphics-kfile-plugins-3.5.13.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdegraphics"
+
+inherit trinity-meta
+
+DESCRIPTION="kfile plugins from kdegraphics"
+KEYWORDS="x86 amd64"
+IUSE="tiff openexr pdf"
+
+DEPEND="
+ tiff? ( media-libs/tiff:= )
+ openexr? ( >=media-libs/openexr-1.2.2-r2 )
+ pdf? ( app-text/poppler )"
+RDEPEND="$DEPEND"
+
+PATCHES=( "$FILESDIR/tdegraphics-poppler-tqt-remove-unnecessary-check.patch" )
+TSM_EXTRACT_ALSO="kghostview/dscparse/"
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_with tiff TIFF)
+ $(cmake-utils_use_with openexr OPENEXR)
+ $(cmake-utils_use_with pdf PDF)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/kdegraphics-kfile-plugins/metadata.xml b/gentoo/trinity-base/kdegraphics-kfile-plugins/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kdegraphics-kfile-plugins/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kdegraphics-meta/kdegraphics-meta-3.5.13.1.ebuild b/gentoo/trinity-base/kdegraphics-meta/kdegraphics-meta-3.5.13.1.ebuild
new file mode 100644
index 000000000..5aa7282bb
--- /dev/null
+++ b/gentoo/trinity-base/kdegraphics-meta/kdegraphics-meta-3.5.13.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+
+inherit trinity-functions
+
+set-trinityver
+
+DESCRIPTION="kdegraphics metapackage - merge this to pull in all kdegraphics-derived packages"
+HOMEPAGE="http://www.trinitydesktop.org/"
+LICENSE="GPL-2 LGPL-2"
+
+SLOT="${TRINITY_VER}"
+IUSE=""
+KEYWORDS="amd64 x86"
+
+RDEPEND="
+ >=trinity-base/kamera-${PV}:${SLOT}
+ >=trinity-base/kcoloredit-${PV}:${SLOT}
+ >=trinity-base/kdvi-${PV}:${SLOT}
+ >=trinity-base/kfax-${PV}:${SLOT}
+ >=trinity-base/kdegraphics-kfile-plugins-${PV}:${SLOT}
+ >=trinity-base/kdegraphics-doc-${PV}:${SLOT}
+ >=trinity-base/kgamma-${PV}:${SLOT}
+ >=trinity-base/kghostview-${PV}:${SLOT}
+ >=trinity-base/kiconedit-${PV}:${SLOT}
+ >=trinity-base/kmrml-${PV}:${SLOT}
+ >=trinity-base/kolourpaint-${PV}:${SLOT}
+ >=trinity-base/kooka-${PV}:${SLOT}
+ >=trinity-base/kpdf-${PV}:${SLOT}
+ >=trinity-base/kpovmodeler-${PV}:${SLOT}
+ >=trinity-base/kruler-${PV}:${SLOT}
+ >=trinity-base/ksnapshot-${PV}:${SLOT}
+ >=trinity-base/ksvg-${PV}:${SLOT}
+ >=trinity-base/kuickshow-${PV}:${SLOT}
+ >=trinity-base/kview-${PV}:${SLOT}
+ >=trinity-base/kviewshell-${PV}:${SLOT}
+ >=trinity-base/libkscan-${PV}:${SLOT}"
diff --git a/gentoo/trinity-base/kdegraphics-meta/metadata.xml b/gentoo/trinity-base/kdegraphics-meta/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kdegraphics-meta/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kdelibs/Manifest b/gentoo/trinity-base/kdelibs/Manifest
new file mode 100644
index 000000000..bd7b6990b
--- /dev/null
+++ b/gentoo/trinity-base/kdelibs/Manifest
@@ -0,0 +1,2 @@
+DIST kdelibs-3.5.13.1.tar.gz 16866773 SHA256 ac9540aa5da0706e257411ab70f05997a67999374e4eded915d93163cc82a84c SHA512 8b6fb1576d6f946b4d32df488f4e7c22e2db6783d075da40b4a35fef967ee222fcf73db7174b8e8d7dd6511cbd1399abf7d39c8f20517e260963734ed95c0156 WHIRLPOOL 6b2c64560af1bd24af6af6bd68e4fcbe83be48637d104028a6633ea90b79159d27afb09ed1e98462f2516fe40078b558f541f6cf3cd0f4cf1dcc7aff762c452a
+DIST kdelibs-trinity-3.5.13.2.tar.xz 13269336 SHA256 3415b04c65c9978d97cb1ca57c3fb391116a774e798c6890328c3da091a5ca9c SHA512 b6c3b9811d9a620030576ac4466fbad73b40034f1158b0278eef10363a2d67b7396ffbd2cf782d9317e95ae0f2492840e9d0cf7d7852c302d6e22ba93b11c611 WHIRLPOOL 8dc7ed209874810da9e44614e90def3f45ff688109e38c5e498bf6d14a761aae08985bc96a761c5f4763e000f7c4e9757f3a4092211c5dc6f5e80d2397af1657
diff --git a/gentoo/trinity-base/kdelibs/files/kdelibs-3.5.13.1-OnlyShowIn-TDE.patch b/gentoo/trinity-base/kdelibs/files/kdelibs-3.5.13.1-OnlyShowIn-TDE.patch
new file mode 100644
index 000000000..9d9187f8e
--- /dev/null
+++ b/gentoo/trinity-base/kdelibs/files/kdelibs-3.5.13.1-OnlyShowIn-TDE.patch
@@ -0,0 +1,26 @@
+diff --git a/kinit/autostart.cpp b/kinit/autostart.cpp
+index 48325f2..d4bdb7b 100644
+--- a/kinit/autostart.cpp
++++ b/kinit/autostart.cpp
+@@ -178,7 +178,7 @@ AutoStart::loadAutoStartList()
+
+ if (config.hasKey("OnlyShowIn"))
+ {
+- if ((!config.readListEntry("OnlyShowIn", ';').contains("TDE")) && (!config.readListEntry("OnlyShowIn", ';').contains("KDE")))
++ if (!config.readListEntry("OnlyShowIn", ';').contains("TDE"))
+ continue;
+ }
+ if (config.hasKey("NotShowIn"))
+diff --git a/kio/kio/kservicegroup.cpp b/kio/kio/kservicegroup.cpp
+index 6758ca1..18b402b 100644
+--- a/kio/kio/kservicegroup.cpp
++++ b/kio/kio/kservicegroup.cpp
+@@ -84,7 +84,7 @@ KServiceGroup::KServiceGroup( const TQString &configFile, const TQString & _relp
+ TQStringList tmpList;
+ if (config.hasKey("OnlyShowIn"))
+ {
+- if ((!config.readListEntry("OnlyShowIn", ';').contains("TDE")) && (!config.readListEntry("OnlyShowIn", ';').contains("KDE")))
++ if (!config.readListEntry("OnlyShowIn", ';').contains("TDE"))
+ d->m_bNoDisplay = true;
+ }
+ if (config.hasKey("NotShowIn"))
diff --git a/gentoo/trinity-base/kdelibs/files/kdelibs-3.5.13.1-bug-1161.patch b/gentoo/trinity-base/kdelibs/files/kdelibs-3.5.13.1-bug-1161.patch
new file mode 100644
index 000000000..094708ccd
--- /dev/null
+++ b/gentoo/trinity-base/kdelibs/files/kdelibs-3.5.13.1-bug-1161.patch
@@ -0,0 +1,16 @@
+diff --git a/kdeui/ksharedpixmap.cpp b/kdeui/ksharedpixmap.cpp
+index 29c6702..64c54e1 100644
+--- a/kdeui/ksharedpixmap.cpp
++++ b/kdeui/ksharedpixmap.cpp
+@@ -160,9 +160,8 @@ bool KSharedPixmap::x11Event(XEvent *event)
+ void *drawable_id = (void *) pixmap_id;
+ Drawable pixmap = *(Drawable*) drawable_id;
+
+- Status status = XGetGeometry(qt_xdisplay(), pixmap, &root, &dummy, &dummy, &width, &height, &udummy, &udummy);
+-
+- if (status == BadDrawable)
++ if (!XGetGeometry(qt_xdisplay(), pixmap, &root, &dummy, &dummy,
++ &width, &height, &udummy, &udummy))
+ return false;
+
+ if (d->rect.isEmpty())
diff --git a/gentoo/trinity-base/kdelibs/files/kdelibs-3.5.13.1-fix-insane-kde4-variables.patch b/gentoo/trinity-base/kdelibs/files/kdelibs-3.5.13.1-fix-insane-kde4-variables.patch
new file mode 100644
index 000000000..2247b898f
--- /dev/null
+++ b/gentoo/trinity-base/kdelibs/files/kdelibs-3.5.13.1-fix-insane-kde4-variables.patch
@@ -0,0 +1,13 @@
+diff --git a/kio/kio/kservice.cpp b/kio/kio/kservice.cpp
+index 4964103..368fe9a 100644
+--- a/kio/kio/kservice.cpp
++++ b/kio/kio/kservice.cpp
+@@ -198,7 +198,7 @@ KService::init( KDesktopFile *config )
+
+ m_strExec = config->readPathEntry( "Exec" );
+ if (kde4application && !m_strExec.startsWith("/")) {
+- m_strExec = "KDEHOME=$HOME/.kde XDG_DATA_DIRS=/usr/share KDEDIRS=/usr/ XDG_CONFIG_DIRS=/etc/xdg/ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:$PATH "+m_strExec;
++ m_strExec = "KDEHOME=$HOME/.kde4 XDG_DATA_DIRS=/usr/share KDEDIRS=/usr/ XDG_CONFIG_DIRS=/etc/xdg/ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:$PATH "+m_strExec;
+ } else if (config->readBoolEntry("X-KDE-SubstituteUID")) {
+ int space = m_strExec.find(" ");
+ if (space==-1)
diff --git a/gentoo/trinity-base/kdelibs/files/kdelibs-3.5.13.1-fix-no-xcomposite.patch b/gentoo/trinity-base/kdelibs/files/kdelibs-3.5.13.1-fix-no-xcomposite.patch
new file mode 100644
index 000000000..e359a6284
--- /dev/null
+++ b/gentoo/trinity-base/kdelibs/files/kdelibs-3.5.13.1-fix-no-xcomposite.patch
@@ -0,0 +1,44 @@
+--- kdecore/kapplication.cpp.orig 2012-10-26 11:49:24.000000000 +0400
++++ kdecore/kapplication.cpp 2012-10-26 11:49:33.000000000 +0400
+@@ -186,7 +186,7 @@
+ static Atom kde_xdnd_drop;
+ #endif
+
+-#ifdef Q_WS_X11
++#if defined(Q_WS_X11) && defined(COMPOSITE)
+ static int composite_event, composite_error, composite_opcode;
+ static bool x11_composite_error_generated;
+ static int x11_error(Display *dpy, XErrorEvent *ev) {
+@@ -1981,7 +1981,7 @@
+ return false;
+ }
+
+-bool KApplication::detectCompositionManagerAvailable(bool force_available) {
++bool KApplication::detectCompositionManagerAvailable(bool force_available, bool /* available */) {
+ const char *home;
+ struct passwd *p;
+ p = getpwuid(getuid());
+@@ -2023,21 +2023,17 @@
+ return 0;
+ }
+
+-Qt::HANDLE KApplication::getX11RGBAVisual(char *display) {
++Qt::HANDLE KApplication::getX11RGBAVisual(Display *dpy) {
+ return 0;
+ }
+
+-Qt::HANDLE KApplication::getX11RGBAColormap(char *display) {
++Qt::HANDLE KApplication::getX11RGBAColormap(Display *dpy) {
+ return 0;
+ }
+
+ bool KApplication::isX11CompositionAvailable() {
+ return false;
+ }
+-
+-KApplication KApplication::KARGBApplication( bool allowStyles ) {
+- return KApplication::KApplication(allowStyles, true);
+-}
+ #endif
+
+ static bool kapp_block_user_input = false;
diff --git a/gentoo/trinity-base/kdelibs/files/kdelibs-3.5.13.1-make-xcomposite-optional.patch b/gentoo/trinity-base/kdelibs/files/kdelibs-3.5.13.1-make-xcomposite-optional.patch
new file mode 100644
index 000000000..1b7e1c91a
--- /dev/null
+++ b/gentoo/trinity-base/kdelibs/files/kdelibs-3.5.13.1-make-xcomposite-optional.patch
@@ -0,0 +1,28 @@
+--- CMakeLists.txt.orig 2012-10-25 09:20:57.773606598 +0400
++++ CMakeLists.txt 2012-10-26 07:18:14.793762688 +0400
+@@ -81,5 +81,6 @@
+ OPTION( WITH_ASPELL "Enable aspell support" OFF )
+ OPTION( WITH_HSPELL "Enable hspell support" OFF )
++OPTION( WITH_XCOMPOSITE "Enable xcomposite support" ${WITH_ALL_OPTIONS} )
+
+
+ ##### set PKG_CONFIG_PATH #######################
+@@ -564,10 +565,14 @@
+
+ ##### check for xcomposite #########################
+
+-pkg_search_module( XCOMPOSITE xcomposite )
+-if( XCOMPOSITE_FOUND )
+- set( HAVE_XCOMPOSITE 1 )
+-endif( XCOMPOSITE_FOUND )
++if( WITH_XCOMPOSITE )
++ pkg_search_module( XCOMPOSITE xcomposite )
++ if( XCOMPOSITE_FOUND )
++ set( HAVE_XCOMPOSITE 1 )
++ else()
++ message(FATAL_ERROR "\nxcomposite support was requested, but xcomposite was not found on your system" )
++ endif( XCOMPOSITE_FOUND )
++endif( WITH_XCOMPOSITE )
+
+ ##### check for libxml-2.0 ######################
+
diff --git a/gentoo/trinity-base/kdelibs/files/kdelibs-3.5.13.2-make-xcomposite-optional.patch b/gentoo/trinity-base/kdelibs/files/kdelibs-3.5.13.2-make-xcomposite-optional.patch
new file mode 100644
index 000000000..c635b0036
--- /dev/null
+++ b/gentoo/trinity-base/kdelibs/files/kdelibs-3.5.13.2-make-xcomposite-optional.patch
@@ -0,0 +1,29 @@
+--- CMakeLists.txt.orig 2013-05-09 23:16:28.000000000 +0400
++++ CMakeLists.txt 2013-06-28 04:17:31.677764189 +0400
+@@ -85,6 +85,7 @@
+
+ OPTION( WITH_ASPELL "Enable aspell support" ${WITH_ALL_OPTIONS} )
+ OPTION( WITH_HSPELL "Enable hspell support" ${WITH_ALL_OPTIONS} )
++OPTION( WITH_XCOMPOSITE "Enable xcomposite support" ${WITH_ALL_OPTIONS} )
+
+ set( KDE4_DEFAULT_HOME ".kde" CACHE PATH "KDE4 home directory passed as KDEHOME to kde4 applications" )
+
+@@ -588,10 +589,14 @@
+
+ ##### check for xcomposite #########################
+
+-pkg_search_module( XCOMPOSITE xcomposite )
+-if( XCOMPOSITE_FOUND )
+- set( HAVE_XCOMPOSITE 1 )
+-endif( XCOMPOSITE_FOUND )
++if( WITH_XCOMPOSITE )
++ pkg_search_module( XCOMPOSITE xcomposite )
++ if( XCOMPOSITE_FOUND )
++ set( HAVE_XCOMPOSITE 1 )
++ else()
++ message(FATAL_ERROR "\nxcomposite support was requested, but xcomposite was not found on your system" )
++ endif( XCOMPOSITE_FOUND )
++endif( WITH_XCOMPOSITE )
+
+ ##### check for libxml-2.0 ######################
+
diff --git a/gentoo/trinity-base/kdelibs/kdelibs-3.5.13.1.ebuild b/gentoo/trinity-base/kdelibs/kdelibs-3.5.13.1.ebuild
new file mode 100644
index 000000000..5b042be44
--- /dev/null
+++ b/gentoo/trinity-base/kdelibs/kdelibs-3.5.13.1.ebuild
@@ -0,0 +1,136 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="$PN"
+
+inherit trinity-base multilib
+
+set-trinityver
+
+DESCRIPTION="Trinity libraries needed by all TDE programs."
+HOMEPAGE="http://www.trinitydesktop.org/"
+LICENSE="GPL-2 LGPL-2"
+SLOT="$TRINITY_VER"
+KEYWORDS="x86 amd64"
+IUSE="alsa avahi arts cups fam jpeg2k lua openexr spell sudo tiff utempter
+ xcomposite"
+
+DEPEND="${DEPEND}
+ =dev-qt/tqtinterface-${TRINITY_VER}*
+ >=dev-libs/libxslt-1.1.16
+ >=dev-libs/libxml2-2.6.6
+ >=dev-libs/libpcre-6.6
+ media-libs/libart_lgpl
+ net-dns/libidn
+ app-text/ghostscript-gpl
+ >=dev-libs/openssl-0.9.7d:=
+ media-libs/fontconfig
+ media-libs/freetype:2
+ media-libs/libart_lgpl
+ x11-libs/libXcursor
+ alsa? ( media-libs/alsa-lib )
+ arts? ( trinity-base/arts:= )
+ avahi? ( net-dns/avahi )
+ cups? ( >=net-print/cups-1.1.19 )
+ fam? ( virtual/fam )
+ jpeg2k? ( media-libs/jasper )
+ lua? ( dev-lang/lua:* )
+ openexr? ( >=media-libs/openexr-1.2.2-r2 )
+ spell? ( >=app-dicts/aspell-en-6.0.0 >=app-text/aspell-0.60.5 )
+ sudo? ( app-admin/sudo )
+ tiff? ( media-libs/tiff:= )
+ utempter? ( sys-libs/libutempter )
+ xcomposite? ( x11-libs/libXcomposite )"
+# NOTE: upstream lacks avahi support, so the use flag is currenly masked
+
+RDEPEND="${DEPEND}"
+
+PATCHES=( "$FILESDIR/${PN}-3.5.13.1-make-xcomposite-optional.patch"
+ "$FILESDIR/${PN}-3.5.13.1-fix-no-xcomposite.patch"
+ "$FILESDIR/${PN}-3.5.13.1-OnlyShowIn-TDE.patch"
+ "$FILESDIR/${PN}-3.5.13.1-bug-1161.patch"
+ "$FILESDIR/${PN}-3.5.13.1-fix-insane-kde4-variables.patch")
+
+src_configure() {
+ mycmakeargs=(
+ -DMALLOC_FULL=ON
+ -DWITH_LIBIDN=ON
+ -DWITH_SSL=ON
+ -DWITH_LIBART=ON
+ -DWITH_PCRE=ON
+ -DWITH_XCURSOR=ON
+ -DWITH_HSPELL=OFF
+ $(cmake-utils_use_with alsa ALSA)
+ $(cmake-utils_use_with arts ARTS)
+ $(cmake-utils_use_with avahi AVAHI)
+ $(cmake-utils_use_with cups CUPS)
+ $(cmake-utils_use_with kernel_linux INOTIFY)
+ $(cmake-utils_use_with jpeg2k JASPER)
+ $(cmake-utils_use_with lua LUA)
+ $(cmake-utils_use_with openexr OPENEXR)
+ $(cmake-utils_use_with spell ASPELL)
+ $(cmake-utils_use_with fam GAMIN)
+ $(cmake-utils_use_with tiff TIFF)
+ $(cmake-utils_use_with utempter UTEMPTER)
+ $(cmake-utils_use_with xcomposite XCOMPOSITE)
+ $(cmake-utils_use_with sudo SUDO_KDESU_BACKEND)
+ )
+
+ trinity-base_src_configure
+}
+
+src_install() {
+ trinity-base_src_install
+
+ dodir /etc/env.d
+ # KDE implies that the install path is listed first in TDEDIRS and the user
+ # directory (implicitly added) to be the last entry. Doing otherwise breaks
+ # certain functionality. Do not break this (once again *sigh*), but read the code.
+ # KDE saves the installed path implicitly and so this is not needed, /usr
+ # is set in ${TDEDIR}/share/config/kdeglobals and so TDEDIRS is not needed.
+
+ # List all the multilib libdirs
+ local libdirs
+ for libdir in $(get_all_libdirs); do
+ libdirs="${TDEDIR}/${libdir}:${libdirs}"
+ done
+
+ # number goes down with version upgrade
+ # NOTE: they should be less than kdepaths for kde-3.5
+ cat <<EOF > "${D}/etc/env.d/42trinitypaths-${SLOT}"
+PATH=${TDEDIR}/bin
+ROOTPATH=${TDEDIR}/sbin:${TDEDIR}/bin
+LDPATH=${libdirs#:}
+MANPATH=${TDEDIR}/share/man
+CONFIG_PROTECT="${TDEDIR}/share/config ${TDEDIR}/env ${TDEDIR}/shutdown /usr/share/config"
+#TDE_IS_PRELINKED=1
+# Excessive flushing to disk as in releases before KDE 3.5.10. Usually you don't want that.
+#TDE_EXTRA_FSYNC=1
+XDG_DATA_DIRS="${TDEDIR}/share"
+EOF
+
+ # Make sure the target for the revdep-rebuild stuff exists. Fixes bug 184441.
+ dodir /etc/revdep-rebuild
+
+cat <<EOF > "${D}/etc/revdep-rebuild/50-trinity-${SLOT}"
+SEARCH_DIRS="${TDEDIR}/bin ${TDEDIR}/lib*"
+EOF
+
+ # make documentation help accessible throught symlink
+ dosym ${TDEDIR}/share/doc/kde/HTML ${TDEDIR}/share/doc/HTML
+
+ trinity-base_create_tmp_docfiles
+ trinity-base_install_docfiles
+}
+
+pkg_postinst () {
+ if use sudo; then
+ einfo "Remember sudo use flag sets only the defauld value"
+ einfo "It can be overriden on a user-level by adding:"
+ einfo " [super-user-command]"
+ einfo " super-user-command=su"
+ einfo "To the kdeglobal config file which is should be usually"
+ einfo "located in the ~/.trinity/share/config/ directory."
+ fi
+}
diff --git a/gentoo/trinity-base/kdelibs/kdelibs-3.5.13.2.ebuild b/gentoo/trinity-base/kdelibs/kdelibs-3.5.13.2.ebuild
new file mode 100644
index 000000000..9d3933ede
--- /dev/null
+++ b/gentoo/trinity-base/kdelibs/kdelibs-3.5.13.2.ebuild
@@ -0,0 +1,137 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="$PN"
+
+inherit trinity-base multilib
+
+set-trinityver
+
+DESCRIPTION="Trinity libraries needed by all TDE programs."
+HOMEPAGE="http://www.trinitydesktop.org/"
+LICENSE="GPL-2 LGPL-2"
+SLOT="${TRINITY_VER}"
+KEYWORDS="~amd64 ~x86"
+IUSE="alsa avahi arts cups fam jpeg2k lua lzma openexr spell sudo tiff utempter
+ xcomposite"
+
+DEPEND="${DEPEND}
+ =dev-qt/tqtinterface-${TRINITY_VER}*
+ >=dev-libs/libxslt-1.1.16
+ >=dev-libs/libxml2-2.6.6
+ >=dev-libs/libpcre-6.6
+ media-libs/libart_lgpl
+ net-dns/libidn
+ app-text/ghostscript-gpl
+ >=dev-libs/openssl-0.9.7d:=
+ media-libs/fontconfig
+ media-libs/freetype:2
+ media-libs/libart_lgpl
+ x11-libs/libXcursor
+ alsa? ( media-libs/alsa-lib )
+ arts? ( trinity-base/arts:= )
+ avahi? ( net-dns/avahi )
+ cups? ( >=net-print/cups-1.1.19 )
+ fam? ( virtual/fam )
+ jpeg2k? ( media-libs/jasper )
+ lua? ( dev-lang/lua:* )
+ openexr? ( >=media-libs/openexr-1.2.2-r2 )
+ spell? ( >=app-dicts/aspell-en-6.0.0 >=app-text/aspell-0.60.5 )
+ sudo? ( app-admin/sudo )
+ tiff? ( media-libs/tiff:= )
+ utempter? ( sys-libs/libutempter )
+ xcomposite? ( x11-libs/libXcomposite )
+ lzma? ( app-arch/xz-utils )"
+# NOTE: upstream lacks avahi support, so the use flag is currenly masked
+
+RDEPEND="${DEPEND}"
+
+PATCHES=( "$FILESDIR/${PN}-3.5.13.2-make-xcomposite-optional.patch"
+ "$FILESDIR/${PN}-3.5.13.1-fix-no-xcomposite.patch"
+ "$FILESDIR/${PN}-3.5.13.1-OnlyShowIn-TDE.patch" )
+
+src_configure() {
+ mycmakeargs=(
+ -DMALLOC_FULL=ON
+ -DWITH_LIBIDN=ON
+ -DWITH_SSL=ON
+ -DWITH_LIBART=ON
+ -DWITH_PCRE=ON
+ -DWITH_XCURSOR=ON
+ -DWITH_HSPELL=OFF
+ -DKDE4_DEFAULT_HOME=.kde4
+ $(cmake-utils_use_with alsa ALSA)
+ $(cmake-utils_use_with arts ARTS)
+ $(cmake-utils_use_with avahi AVAHI)
+ $(cmake-utils_use_with cups CUPS)
+ $(cmake-utils_use_with kernel_linux INOTIFY)
+ $(cmake-utils_use_with jpeg2k JASPER)
+ $(cmake-utils_use_with lua LUA)
+ $(cmake-utils_use_with lzma LZMA)
+ $(cmake-utils_use_with openexr OPENEXR)
+ $(cmake-utils_use_with spell ASPELL)
+ $(cmake-utils_use_with fam GAMIN)
+ $(cmake-utils_use_with tiff TIFF)
+ $(cmake-utils_use_with utempter UTEMPTER)
+ $(cmake-utils_use_with xcomposite XCOMPOSITE)
+ $(cmake-utils_use_with sudo SUDO_KDESU_BACKEND)
+ )
+
+ trinity-base_src_configure
+}
+
+src_install() {
+ trinity-base_src_install
+
+ dodir /etc/env.d
+ # KDE implies that the install path is listed first in TDEDIRS and the user
+ # directory (implicitly added) to be the last entry. Doing otherwise breaks
+ # certain functionality. Do not break this (once again *sigh*), but read the code.
+ # KDE saves the installed path implicitly and so this is not needed, /usr
+ # is set in ${TDEDIR}/share/config/kdeglobals and so TDEDIRS is not needed.
+
+ # List all the multilib libdirs
+ local libdirs
+ for libdir in $(get_all_libdirs); do
+ libdirs="${TDEDIR}/${libdir}:${libdirs}"
+ done
+
+ # number goes down with version upgrade
+ # NOTE: they should be less than kdepaths for kde-3.5
+ cat <<EOF > "${D}/etc/env.d/42trinitypaths-${SLOT}"
+PATH=${TDEDIR}/bin
+ROOTPATH=${TDEDIR}/sbin:${TDEDIR}/bin
+LDPATH=${libdirs#:}
+MANPATH=${TDEDIR}/share/man
+CONFIG_PROTECT="${TDEDIR}/share/config ${TDEDIR}/env ${TDEDIR}/shutdown /usr/share/config"
+#TDE_IS_PRELINKED=1
+# Excessive flushing to disk as in releases before KDE 3.5.10. Usually you don't want that.
+#TDE_EXTRA_FSYNC=1
+XDG_DATA_DIRS="${TDEDIR}/share"
+EOF
+
+ # Make sure the target for the revdep-rebuild stuff exists. Fixes bug 184441.
+ dodir /etc/revdep-rebuild
+
+cat <<EOF > "${D}/etc/revdep-rebuild/50-trinity-${SLOT}"
+SEARCH_DIRS="${TDEDIR}/bin ${TDEDIR}/lib*"
+EOF
+
+ # make documentation help accessible throught symlink
+ dosym ${TDEDIR}/share/doc/kde/HTML ${TDEDIR}/share/doc/HTML
+
+ trinity-base_create_tmp_docfiles
+ trinity-base_install_docfiles
+}
+
+pkg_postinst () {
+ if use sudo; then
+ einfo "Remember sudo use flag sets only the defauld value"
+ einfo "It can be overriden on a user-level by adding:"
+ einfo " [super-user-command]"
+ einfo " super-user-command=su"
+ einfo "To the kdeglobal config file which is should be usually"
+ einfo "located in the ~/.trinity/share/config/ directory."
+ fi
+}
diff --git a/gentoo/trinity-base/kdelibs/metadata.xml b/gentoo/trinity-base/kdelibs/metadata.xml
new file mode 100644
index 000000000..ac4ddb965
--- /dev/null
+++ b/gentoo/trinity-base/kdelibs/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+ <use>
+ <flag name="sudo"> Use <pkg>app-admin/sudo</pkg> as a default program to
+ obtain root privileges.</flag>
+ <flag name="utempter">Records user logins. Useful on multi-user systems</flag>
+ </use>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kdelirc/Manifest b/gentoo/trinity-base/kdelirc/Manifest
new file mode 100644
index 000000000..c59ac62b4
--- /dev/null
+++ b/gentoo/trinity-base/kdelirc/Manifest
@@ -0,0 +1,2 @@
+DIST kdeutils-3.5.13.1.tar.gz 2829393 SHA256 3e7ab07fe1bb3e7be7ac3a3796366c88d3b79a58af911546e2c65e32363db527 SHA512 48733e472d0f5da85ef8a32ed6db7fa5e61f0682e49842439e6ea38a1e407059bb35efffe41fc6ed1a718511fd5b2b2c8222d816a23500a4dcbca17461f9a3bd WHIRLPOOL 1488e0c44f60b4d5e397dd2cf93de048eae1b915d4b2b7b1cf27768946f5aae3b5bcc3971ee28b5fa6a57a0b94cca6db0866138b69ad74f1f7bb97cdaaebdbe2
+DIST kdeutils-trinity-3.5.13.2.tar.xz 2259232 SHA256 b2999b9ef39bb2f269b84fdf34a814b5a5599aae7d05538d0bf680c18fb334fa SHA512 f501aa4b61bf440e873eec96f09c0c24ad780db2f9f14b884001c04c04aafccb5afb2b492dcf4fc640f3ec35d86aa419d67936122648a986662cd7b7f4f8a2d8 WHIRLPOOL 49296006875250212f0fdeb0c90c4f69cf0aa7cfd38415e2f7b50bdf81754de64562df2400f4932a502adbe84b58be34cae6c029d68cc62d0e91de5158513239
diff --git a/gentoo/trinity-base/kdelirc/files/shared b/gentoo/trinity-base/kdelirc/files/shared
new file mode 120000
index 000000000..af62be31d
--- /dev/null
+++ b/gentoo/trinity-base/kdelirc/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files/ \ No newline at end of file
diff --git a/gentoo/trinity-base/kdelirc/kdelirc-3.5.13.1.ebuild b/gentoo/trinity-base/kdelirc/kdelirc-3.5.13.1.ebuild
new file mode 100644
index 000000000..b7636506b
--- /dev/null
+++ b/gentoo/trinity-base/kdelirc/kdelirc-3.5.13.1.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="KDElirc - Trinity Frontend to lirc"
+KEYWORDS="x86 amd64"
+IUSE=""
diff --git a/gentoo/trinity-base/kdelirc/kdelirc-3.5.13.2.ebuild b/gentoo/trinity-base/kdelirc/kdelirc-3.5.13.2.ebuild
new file mode 100644
index 000000000..01e91a642
--- /dev/null
+++ b/gentoo/trinity-base/kdelirc/kdelirc-3.5.13.2.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="KDElirc - Trinity Frontend to lirc"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
diff --git a/gentoo/trinity-base/kdelirc/metadata.xml b/gentoo/trinity-base/kdelirc/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kdelirc/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kdenetwork-doc/Manifest b/gentoo/trinity-base/kdenetwork-doc/Manifest
new file mode 100644
index 000000000..1d49700dc
--- /dev/null
+++ b/gentoo/trinity-base/kdenetwork-doc/Manifest
@@ -0,0 +1 @@
+DIST kdenetwork-3.5.13.1.tar.gz 8794225 SHA256 21e69e8cb2550561c26913a5cccdc376115f50cffd43f9a94f7a660a303f46f9 SHA512 b3189a9f5e9cddd130b24a82b95ef90db1ec3c7afa280a46101ba7cbf6f9d92f60a536401f648a96459ba87f70ede5f7ae4affe894515a8e858b40ee79cb1b69 WHIRLPOOL de678ab30e3aa8dc3068c895fd000fdab1bc046e272273bf44196a198210efab82ddde3c5e0ffaa863061e9c56e3a8a68ca2f8f03cd77136755f66688f878c65
diff --git a/gentoo/trinity-base/kdenetwork-doc/files/kdenetwork-3.5.13.1-fix-references-to-user-profile-directory-6f85c0c.patch b/gentoo/trinity-base/kdenetwork-doc/files/kdenetwork-3.5.13.1-fix-references-to-user-profile-directory-6f85c0c.patch
new file mode 100644
index 000000000..be286f17e
--- /dev/null
+++ b/gentoo/trinity-base/kdenetwork-doc/files/kdenetwork-3.5.13.1-fix-references-to-user-profile-directory-6f85c0c.patch
@@ -0,0 +1,70 @@
+diff --git a/doc/knewsticker/index.docbook b/doc/knewsticker/index.docbook
+index 1532f8b..635acb2 100644
+--- a/doc/knewsticker/index.docbook
++++ b/doc/knewsticker/index.docbook
+@@ -1146,7 +1146,7 @@ necessary.</para>
+ to talk to &knewsticker; but you can use it if you modified the
+ configuration file by hand.</para>
+ <tip><para>The configuration file is saved in
+- <filename>~/.kde/share/config/knewsticker_appletrc</filename></para></tip>
++ <filename>~/.trinity/share/config/knewsticker_appletrc</filename></para></tip>
+ <para>Example:</para>
+ <screen width="40">
+ <prompt>%</prompt> <userinput><command>dcop</command> <option>knewsticker</option> <option>KNewsTicker</option> <option>reparseConfig</option></userinput>
+diff --git a/doc/kopete/index.docbook b/doc/kopete/index.docbook
+index c6fba95..7c334b3 100644
+--- a/doc/kopete/index.docbook
++++ b/doc/kopete/index.docbook
+@@ -912,11 +912,11 @@ Shortcuts...</guimenuitem></menuchoice>.</para></tip>
+
+ <para>The emoticons are easy to install - you just place a directory containing
+ the icon files along with an XML file describing the mapping from text to picture in
+-$KDEDIR/share/apps/kopete/pics/emoticons (or $KDEHOME, for example, in /home/joeuser/.kde/).</para>
++$KDEDIR/share/apps/kopete/pics/emoticons (or $KDEHOME, for example, in /home/joeuser/.trinity/).</para>
+
+ <orderedlist>
+ <listitem><para>Copy the extracted directory to $KDEDIR/share/apps/kopete/pics/emoticons or
+- $HOME/.kde/share/apps/kopete/pics/emoticons (or wherever $KDEHOME is)</para></listitem>
++ $HOME/.trinity/share/apps/kopete/pics/emoticons (or wherever $KDEHOME is)</para></listitem>
+ <listitem><para>Select Configure &kopete; from the Settings menu and click on Appearance in the left panel of the Preferences window and click on the Emoticons tab</para></listitem>
+ <listitem><para>Select the emoticons set you just installed from the list</para></listitem>
+ <listitem><para>Now you can use the newly installed emoticons in &kopete;</para></listitem>
+diff --git a/doc/kppp/accounting.docbook b/doc/kppp/accounting.docbook
+index ec6db43..22a3064 100644
+--- a/doc/kppp/accounting.docbook
++++ b/doc/kppp/accounting.docbook
+@@ -11,7 +11,7 @@ the <userinput><option>-r</option>
+ <replaceable>rule_file</replaceable></userinput> command line option to &kppp;
+ and must be installed in <filename
+ class="directory">${KDEDIR}/share/apps/kppp/Rules</filename> or in <filename
+-class="directory">${HOME}/.kde/share/apps/kppp/Rules</filename> before you will
++class="directory">${HOME}/.trinity/share/apps/kppp/Rules</filename> before you will
+ be able to select it in this dialog.</para>
+
+ <programlisting>
+diff --git a/doc/kwifimanager/index.docbook b/doc/kwifimanager/index.docbook
+index 07cc908..8c902d2 100644
+--- a/doc/kwifimanager/index.docbook
++++ b/doc/kwifimanager/index.docbook
+@@ -279,7 +279,7 @@
+ This option is most useful when searching for the special network name
+ <quote>any</quote>. In this mode, the card will log into any network it finds. The
+ logfile's position is <filename class="directory"
+- >$<envar>HOME</envar>/.kde/share/apps/kwifimanager/wireless-log</filename>
++ >$<envar>HOME</envar>/.trinity/share/apps/kwifimanager/wireless-log</filename>
+ </para>
+ </sect3>
+ <sect3>
+diff --git a/doc/lisa/index.docbook b/doc/lisa/index.docbook
+index d93e31d..8dcccb5 100644
+--- a/doc/lisa/index.docbook
++++ b/doc/lisa/index.docbook
+@@ -584,7 +584,7 @@ MaxPingsAtOnce = 256 #send up to 256 ICMP echo requests at on
+ <term><option>-k</option>, <option>--kde1</option></term>
+ <listitem>
+ <para>Search first for
+-<filename>$<envar>HOME</envar>/.kde/share/config/lisarc</filename>, then
++<filename>$<envar>HOME</envar>/.trinity/share/config/lisarc</filename>, then
+ for
+ <filename>$<envar>KDEDIR</envar>/share/config/lisarc</filename>.</para>
+ </listitem>
diff --git a/gentoo/trinity-base/kdenetwork-doc/files/shared b/gentoo/trinity-base/kdenetwork-doc/files/shared
new file mode 120000
index 000000000..af62be31d
--- /dev/null
+++ b/gentoo/trinity-base/kdenetwork-doc/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files/ \ No newline at end of file
diff --git a/gentoo/trinity-base/kdenetwork-doc/kdenetwork-doc-3.5.13.1.ebuild b/gentoo/trinity-base/kdenetwork-doc/kdenetwork-doc-3.5.13.1.ebuild
new file mode 100644
index 000000000..913769449
--- /dev/null
+++ b/gentoo/trinity-base/kdenetwork-doc/kdenetwork-doc-3.5.13.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdenetwork"
+
+inherit trinity-meta
+
+DESCRIPTION="Documentaion for kdegraphics-derived packages"
+KEYWORDS="x86 amd64"
+IUSE=""
+RDEPEND="
+ >=trinity-base/khelpcenter-${PV}:${SLOT}"
+
+PATCHES=(
+ "${FILESDIR}/kdenetwork-3.5.13.1-fix-references-to-user-profile-directory-6f85c0c.patch" )
+
+pkg_setup() {
+ # we should reduce MAKEOPTS -j parametr to no more than 4
+ local makeopts_j
+ makeopts_j="$(echo "$MAKEOPTS" | sed -n 's/\(^\|.*\s\)\(-j\s*[0-9]\+\)\(\s.*\|$\)/\2/p')"
+ if [ -n "$makeopts_j" -a "$makeopts_j" > 4 ]; then
+ export MAKEOPTS="${MAKEOPTS//"${makeopts_j}"/-j4}"
+
+ ewarn "This ebuild needs huge amoumt of memmory to compile in highly parallel"
+ ewarn "mode so it can chew it all. MAKEOPTS are reduced to \"$MAKEOPTS\"."
+ fi
+
+ trinity-meta_pkg_setup
+}
diff --git a/gentoo/trinity-base/kdenetwork-doc/metadata.xml b/gentoo/trinity-base/kdenetwork-doc/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kdenetwork-doc/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kdenetwork-filesharing/Manifest b/gentoo/trinity-base/kdenetwork-filesharing/Manifest
new file mode 100644
index 000000000..1d49700dc
--- /dev/null
+++ b/gentoo/trinity-base/kdenetwork-filesharing/Manifest
@@ -0,0 +1 @@
+DIST kdenetwork-3.5.13.1.tar.gz 8794225 SHA256 21e69e8cb2550561c26913a5cccdc376115f50cffd43f9a94f7a660a303f46f9 SHA512 b3189a9f5e9cddd130b24a82b95ef90db1ec3c7afa280a46101ba7cbf6f9d92f60a536401f648a96459ba87f70ede5f7ae4affe894515a8e858b40ee79cb1b69 WHIRLPOOL de678ab30e3aa8dc3068c895fd000fdab1bc046e272273bf44196a198210efab82ddde3c5e0ffaa863061e9c56e3a8a68ca2f8f03cd77136755f66688f878c65
diff --git a/gentoo/trinity-base/kdenetwork-filesharing/files/kdenetwork-bug1330i2-fix-filesharing-parallel-compilation.patch b/gentoo/trinity-base/kdenetwork-filesharing/files/kdenetwork-bug1330i2-fix-filesharing-parallel-compilation.patch
new file mode 100644
index 000000000..956b28f4b
--- /dev/null
+++ b/gentoo/trinity-base/kdenetwork-filesharing/files/kdenetwork-bug1330i2-fix-filesharing-parallel-compilation.patch
@@ -0,0 +1,69 @@
+diff --git a/filesharing/advanced/kcm_sambaconf/CMakeLists.txt b/filesharing/advanced/kcm_sambaconf/CMakeLists.txt
+index 41723ee..d466124 100644
+--- a/filesharing/advanced/kcm_sambaconf/CMakeLists.txt
++++ b/filesharing/advanced/kcm_sambaconf/CMakeLists.txt
+@@ -37,6 +37,24 @@ tde_add_library( filesharesamba STATIC_PIC AUTOMOC
+ filemodedlgimpl.cpp smbpasswdfile.cpp passwd.cpp hiddenfileview.cpp
+ dictmanager.cpp qmultichecklistitem.cpp smbconfconfigwidget.cpp
+ linuxpermissionchecker.cpp expertuserdlg.ui
++ DEPENDENCIES filesharesamba_generate_headers
++)
++
++# Those headers are also required by target in another subdirectory.
++# So we have to add such target for our generated header files to avoid
++# race conditions.
++# SEE cmake FAQ: http://www.cmake.org/Wiki/CMake_FAQ
++#
++add_custom_target( filesharesamba_generate_headers
++ DEPENDS
++ ${CMAKE_CURRENT_BINARY_DIR}/share.h
++ ${CMAKE_CURRENT_BINARY_DIR}/share.h
++ ${CMAKE_CURRENT_BINARY_DIR}/socketoptionsdlg.h
++ ${CMAKE_CURRENT_BINARY_DIR}/userselectdlg.h
++ ${CMAKE_CURRENT_BINARY_DIR}/groupselectdlg.h
++ ${CMAKE_CURRENT_BINARY_DIR}/usertab.h
++ ${CMAKE_CURRENT_BINARY_DIR}/filemodedlg.h
++ ${CMAKE_CURRENT_BINARY_DIR}/expertuserdlg.h
+ )
+
+
+diff --git a/filesharing/advanced/propsdlgplugin/CMakeLists.txt b/filesharing/advanced/propsdlgplugin/CMakeLists.txt
+index 26d94f5..bd96ae6 100644
+--- a/filesharing/advanced/propsdlgplugin/CMakeLists.txt
++++ b/filesharing/advanced/propsdlgplugin/CMakeLists.txt
+@@ -11,7 +11,8 @@
+
+ include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+- ${CMAKE_CURRENT_BINARY_DIR}/../kcm_sambaconf
++ ${CMAKE_BINARY_DIR}/filesharing/advanced/kcm_sambaconf
++ ${CMAKE_SOURCE_DIR}/filesharing/advanced/kcm_sambaconf
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ )
+@@ -32,7 +33,7 @@ install( FILES
+
+ tde_add_library( propsdlgplugin_common STATIC_PIC AUTOMOC
+ SOURCES propertiespage.cpp propertiespagegui.ui
+- DEPENDENCIES filesharesamba
++ DEPENDENCIES filesharesamba_generate_headers
+ )
+
+
+diff --git a/filesharing/advanced/propsdlgplugin/propertiespage.cpp b/filesharing/advanced/propsdlgplugin/propertiespage.cpp
+index 5ff1af7..6042b9e 100644
+--- a/filesharing/advanced/propsdlgplugin/propertiespage.cpp
++++ b/filesharing/advanced/propsdlgplugin/propertiespage.cpp
+@@ -44,9 +44,9 @@
+ #include "../nfs/nfsdialog.h"
+
+ // Samba related
+-#include "../kcm_sambaconf/sambafile.h"
+-#include "../kcm_sambaconf/sambashare.h"
+-#include "../kcm_sambaconf/sharedlgimpl.h"
++#include "sambafile.h"
++#include "sambashare.h"
++#include "sharedlgimpl.h"
+
+ #include "propertiespage.h"
+
diff --git a/gentoo/trinity-base/kdenetwork-filesharing/kdenetwork-filesharing-3.5.13.1.ebuild b/gentoo/trinity-base/kdenetwork-filesharing/kdenetwork-filesharing-3.5.13.1.ebuild
new file mode 100644
index 000000000..a9fa878da
--- /dev/null
+++ b/gentoo/trinity-base/kdenetwork-filesharing/kdenetwork-filesharing-3.5.13.1.ebuild
@@ -0,0 +1,13 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdenetwork"
+
+inherit trinity-meta
+
+DESCRIPTION="kcontrol filesharing config module for NFS, SMB etc"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+PATCHES=( "${FILESDIR}/kdenetwork-bug1330i2-fix-filesharing-parallel-compilation.patch" )
diff --git a/gentoo/trinity-base/kdenetwork-filesharing/metadata.xml b/gentoo/trinity-base/kdenetwork-filesharing/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kdenetwork-filesharing/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kdenetwork-kfile-plugins/Manifest b/gentoo/trinity-base/kdenetwork-kfile-plugins/Manifest
new file mode 100644
index 000000000..1d49700dc
--- /dev/null
+++ b/gentoo/trinity-base/kdenetwork-kfile-plugins/Manifest
@@ -0,0 +1 @@
+DIST kdenetwork-3.5.13.1.tar.gz 8794225 SHA256 21e69e8cb2550561c26913a5cccdc376115f50cffd43f9a94f7a660a303f46f9 SHA512 b3189a9f5e9cddd130b24a82b95ef90db1ec3c7afa280a46101ba7cbf6f9d92f60a536401f648a96459ba87f70ede5f7ae4affe894515a8e858b40ee79cb1b69 WHIRLPOOL de678ab30e3aa8dc3068c895fd000fdab1bc046e272273bf44196a198210efab82ddde3c5e0ffaa863061e9c56e3a8a68ca2f8f03cd77136755f66688f878c65
diff --git a/gentoo/trinity-base/kdenetwork-kfile-plugins/kdenetwork-kfile-plugins-3.5.13.1.ebuild b/gentoo/trinity-base/kdenetwork-kfile-plugins/kdenetwork-kfile-plugins-3.5.13.1.ebuild
new file mode 100644
index 000000000..49a9c9b70
--- /dev/null
+++ b/gentoo/trinity-base/kdenetwork-kfile-plugins/kdenetwork-kfile-plugins-3.5.13.1.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdenetwork"
+
+inherit trinity-meta
+
+DESCRIPTION="kfile plugins from the kdenetwork provides a torrent file support."
+KEYWORDS="amd64 x86"
+IUSE=""
diff --git a/gentoo/trinity-base/kdenetwork-kfile-plugins/metadata.xml b/gentoo/trinity-base/kdenetwork-kfile-plugins/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kdenetwork-kfile-plugins/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kdepasswd/Manifest b/gentoo/trinity-base/kdepasswd/Manifest
new file mode 100644
index 000000000..381340c4b
--- /dev/null
+++ b/gentoo/trinity-base/kdepasswd/Manifest
@@ -0,0 +1,2 @@
+DIST kdebase-3.5.13.1.tar.gz 29403228 SHA256 ddd4bd4b508ad027b9d1af2701c6ba64bfc9f8f1d32099e6dd5e7866714f759e SHA512 e1aac19c941a5f2b43a57928fdb43e5ebd646f49c60911d9d317550df96642870792c4e77ecd06e123244e2425ccd4bcb00f0a21011ba7e651d7fcf4553e79cf WHIRLPOOL 931debbf6a65c280221025dcbc02cbb3387b66eb72eddd28a510ee8f97075cd2cc96535dde25d0a32280c399e4a868e9c027772f5d28e7e79b7c1a9080c58034
+DIST kdebase-trinity-3.5.13.2.tar.xz 25890636 SHA256 b9d552226daff64437dfb9699669b95dd7ebc2ca7c43755ba71c10cc6c9ed789 SHA512 df545d44c7d4550d1d77ff6504572b622853c2b8d80062b1aee1a5bdca19f0e708cde35cff54cf2d5098f06a41bde0c89522a3958dea9bb18205dea87c11b797 WHIRLPOOL 79144273bc7985c59a593a3394b12a2053532d2c4c890ce96adad21f6de0413baf3c6270d6d06173ec4546b20d401aa0cc81603d01b8ee41dbdefc825b39b2b1
diff --git a/gentoo/trinity-base/kdepasswd/files/shared b/gentoo/trinity-base/kdepasswd/files/shared
new file mode 120000
index 000000000..ffc286806
--- /dev/null
+++ b/gentoo/trinity-base/kdepasswd/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files \ No newline at end of file
diff --git a/gentoo/trinity-base/kdepasswd/kdepasswd-3.5.13.1.ebuild b/gentoo/trinity-base/kdepasswd/kdepasswd-3.5.13.1.ebuild
new file mode 100644
index 000000000..44ee9c91e
--- /dev/null
+++ b/gentoo/trinity-base/kdepasswd/kdepasswd-3.5.13.1.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity GUI for passwd"
+KEYWORDS="x86 amd64"
+IUSE=""
+
+DEPEND=">=trinity-base/libkonq-${PV}:${SLOT}"
+RDEPEND="${DEPEND}"
diff --git a/gentoo/trinity-base/kdepasswd/kdepasswd-3.5.13.2.ebuild b/gentoo/trinity-base/kdepasswd/kdepasswd-3.5.13.2.ebuild
new file mode 100644
index 000000000..5cee2ede2
--- /dev/null
+++ b/gentoo/trinity-base/kdepasswd/kdepasswd-3.5.13.2.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity GUI for passwd"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=trinity-base/libkonq-${PV}:${SLOT}"
+RDEPEND="${DEPEND}"
diff --git a/gentoo/trinity-base/kdepasswd/metadata.xml b/gentoo/trinity-base/kdepasswd/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kdepasswd/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kdeprint/Manifest b/gentoo/trinity-base/kdeprint/Manifest
new file mode 100644
index 000000000..381340c4b
--- /dev/null
+++ b/gentoo/trinity-base/kdeprint/Manifest
@@ -0,0 +1,2 @@
+DIST kdebase-3.5.13.1.tar.gz 29403228 SHA256 ddd4bd4b508ad027b9d1af2701c6ba64bfc9f8f1d32099e6dd5e7866714f759e SHA512 e1aac19c941a5f2b43a57928fdb43e5ebd646f49c60911d9d317550df96642870792c4e77ecd06e123244e2425ccd4bcb00f0a21011ba7e651d7fcf4553e79cf WHIRLPOOL 931debbf6a65c280221025dcbc02cbb3387b66eb72eddd28a510ee8f97075cd2cc96535dde25d0a32280c399e4a868e9c027772f5d28e7e79b7c1a9080c58034
+DIST kdebase-trinity-3.5.13.2.tar.xz 25890636 SHA256 b9d552226daff64437dfb9699669b95dd7ebc2ca7c43755ba71c10cc6c9ed789 SHA512 df545d44c7d4550d1d77ff6504572b622853c2b8d80062b1aee1a5bdca19f0e708cde35cff54cf2d5098f06a41bde0c89522a3958dea9bb18205dea87c11b797 WHIRLPOOL 79144273bc7985c59a593a3394b12a2053532d2c4c890ce96adad21f6de0413baf3c6270d6d06173ec4546b20d401aa0cc81603d01b8ee41dbdefc825b39b2b1
diff --git a/gentoo/trinity-base/kdeprint/kdeprint-3.5.13.1.ebuild b/gentoo/trinity-base/kdeprint/kdeprint-3.5.13.1.ebuild
new file mode 100644
index 000000000..74664c608
--- /dev/null
+++ b/gentoo/trinity-base/kdeprint/kdeprint-3.5.13.1.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity printer queue/device manager"
+KEYWORDS="x86 amd64"
+IUSE="cups"
+
+DEPEND="cups? ( net-print/cups )"
+RDEPEND="${DEPEND}
+ app-text/enscript
+ app-text/psutils"
diff --git a/gentoo/trinity-base/kdeprint/kdeprint-3.5.13.2.ebuild b/gentoo/trinity-base/kdeprint/kdeprint-3.5.13.2.ebuild
new file mode 100644
index 000000000..3f1e2c293
--- /dev/null
+++ b/gentoo/trinity-base/kdeprint/kdeprint-3.5.13.2.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity printer queue/device manager"
+KEYWORDS="~amd64 ~x86"
+IUSE="cups"
+
+DEPEND="cups? ( net-print/cups )"
+RDEPEND="${DEPEND}
+ app-text/enscript
+ app-text/psutils"
diff --git a/gentoo/trinity-base/kdeprint/metadata.xml b/gentoo/trinity-base/kdeprint/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kdeprint/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kdesktop/Manifest b/gentoo/trinity-base/kdesktop/Manifest
new file mode 100644
index 000000000..381340c4b
--- /dev/null
+++ b/gentoo/trinity-base/kdesktop/Manifest
@@ -0,0 +1,2 @@
+DIST kdebase-3.5.13.1.tar.gz 29403228 SHA256 ddd4bd4b508ad027b9d1af2701c6ba64bfc9f8f1d32099e6dd5e7866714f759e SHA512 e1aac19c941a5f2b43a57928fdb43e5ebd646f49c60911d9d317550df96642870792c4e77ecd06e123244e2425ccd4bcb00f0a21011ba7e651d7fcf4553e79cf WHIRLPOOL 931debbf6a65c280221025dcbc02cbb3387b66eb72eddd28a510ee8f97075cd2cc96535dde25d0a32280c399e4a868e9c027772f5d28e7e79b7c1a9080c58034
+DIST kdebase-trinity-3.5.13.2.tar.xz 25890636 SHA256 b9d552226daff64437dfb9699669b95dd7ebc2ca7c43755ba71c10cc6c9ed789 SHA512 df545d44c7d4550d1d77ff6504572b622853c2b8d80062b1aee1a5bdca19f0e708cde35cff54cf2d5098f06a41bde0c89522a3958dea9bb18205dea87c11b797 WHIRLPOOL 79144273bc7985c59a593a3394b12a2053532d2c4c890ce96adad21f6de0413baf3c6270d6d06173ec4546b20d401aa0cc81603d01b8ee41dbdefc825b39b2b1
diff --git a/gentoo/trinity-base/kdesktop/files/kdesktop-3.5.13.1-onlyshowin-tde.patch b/gentoo/trinity-base/kdesktop/files/kdesktop-3.5.13.1-onlyshowin-tde.patch
new file mode 100644
index 000000000..ff73afdea
--- /dev/null
+++ b/gentoo/trinity-base/kdesktop/files/kdesktop-3.5.13.1-onlyshowin-tde.patch
@@ -0,0 +1,19 @@
+diff --git a/kdesktop/kdiconview.cc b/kdesktop/kdiconview.cc
+index 0997069..bdbaaa7 100644
+--- a/kdesktop/kdiconview.cc
++++ b/kdesktop/kdiconview.cc
+@@ -1009,12 +1009,12 @@ bool KDIconView::makeFriendlyText( KFileIVI *fileIVI )
+ TQStringList tmpList;
+ if (cfg.hasKey("OnlyShowIn"))
+ {
+- if (!cfg.readListEntry("OnlyShowIn", ';').contains("KDE"))
++ if (!cfg.readListEntry("OnlyShowIn", ';').contains("TDE"))
+ return false;
+ }
+ if (cfg.hasKey("NotShowIn"))
+ {
+- if (cfg.readListEntry("NotShowIn", ';').contains("KDE"))
++ if (cfg.readListEntry("NotShowIn", ';').contains("TDE"))
+ return false;
+ }
+ if (cfg.hasKey("TryExec"))
diff --git a/gentoo/trinity-base/kdesktop/files/shared b/gentoo/trinity-base/kdesktop/files/shared
new file mode 120000
index 000000000..ffc286806
--- /dev/null
+++ b/gentoo/trinity-base/kdesktop/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files \ No newline at end of file
diff --git a/gentoo/trinity-base/kdesktop/kdesktop-3.5.13.1.ebuild b/gentoo/trinity-base/kdesktop/kdesktop-3.5.13.1.ebuild
new file mode 100644
index 000000000..795ef7d2a
--- /dev/null
+++ b/gentoo/trinity-base/kdesktop/kdesktop-3.5.13.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="The part of TDE ui that handles icons, desktop, screensaver etc"
+KEYWORDS="x86 amd64"
+IUSE="pam xscreensaver"
+
+DEPEND="x11-libs/libXrender
+ x11-libs/libXcursor
+ >=trinity-base/libkonq-${PV}:${SLOT}
+ >=trinity-base/kcontrol-${PV}:${SLOT}
+ xscreensaver? ( x11-proto/scrnsaverproto )"
+ # Requires the desktop background settings module,
+ # so until we separate the kcontrol modules into separate ebuilds :-),
+ # there's a dep here
+RDEPEND="${DEPEND}
+ >=trinity-base/kcheckpass-${PV}:${SLOT}
+ >=trinity-base/kdialog-${PV}:${SLOT}
+ >=trinity-base/konqueror-${PV}:${SLOT}
+ xscreensaver? ( x11-libs/libXScrnSaver )
+ pam? ( trinity-base/tdebase-pam )"
+
+TSM_EXTRACT_ALSO="kcheckpass/"
+
+PATCHES=( "$FILESDIR/${PN}-3.5.13.1-onlyshowin-tde.patch")
+
+src_configure() {
+ mycmakeargs=(
+ -DWITH_XCURSORS=ON
+ -DWITH_XRENDER=ON
+ $(cmake-utils_use_with pam PAM)
+ $(cmake-utils_use_with xscreensaver XSCREENSAVER)
+ )
+
+ trinity-meta_src_configure
+}
+
+src_install() {
+ trinity-meta_src_install
+ trinity-base_fix_desktop_files "${D}${TDEDIR}/share/apps/kdesktop/Desktop/"*
+}
diff --git a/gentoo/trinity-base/kdesktop/kdesktop-3.5.13.2.ebuild b/gentoo/trinity-base/kdesktop/kdesktop-3.5.13.2.ebuild
new file mode 100644
index 000000000..00ad2bdc0
--- /dev/null
+++ b/gentoo/trinity-base/kdesktop/kdesktop-3.5.13.2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="The part of TDE ui that handles icons, desktop, screensaver etc"
+KEYWORDS="~amd64 ~x86"
+IUSE="pam xscreensaver"
+
+DEPEND="x11-libs/libXrender
+ x11-libs/libXcursor
+ >=trinity-base/libkonq-${PV}:${SLOT}
+ >=trinity-base/kcontrol-${PV}:${SLOT}
+ xscreensaver? ( x11-proto/scrnsaverproto )"
+ # Requires the desktop background settings module,
+ # so until we separate the kcontrol modules into separate ebuilds :-),
+ # there's a dep here
+RDEPEND="${DEPEND}
+ >=trinity-base/kcheckpass-${PV}:${SLOT}
+ >=trinity-base/kdialog-${PV}:${SLOT}
+ >=trinity-base/konqueror-${PV}:${SLOT}
+ xscreensaver? ( x11-libs/libXScrnSaver )
+ pam? ( trinity-base/tdebase-pam )"
+
+TSM_EXTRACT_ALSO="kcheckpass/"
+
+PATCHES=( "$FILESDIR/${PN}-3.5.13.1-onlyshowin-tde.patch")
+
+src_configure() {
+ mycmakeargs=(
+ -DWITH_XCURSORS=ON
+ -DWITH_XRENDER=ON
+ $(cmake-utils_use_with pam PAM)
+ $(cmake-utils_use_with xscreensaver XSCREENSAVER)
+ )
+
+ trinity-meta_src_configure
+}
+
+src_install() {
+ trinity-meta_src_install
+ trinity-base_fix_desktop_files "${D}${TDEDIR}/share/apps/kdesktop/Desktop/"*
+}
diff --git a/gentoo/trinity-base/kdesktop/kdesktop-9999.ebuild b/gentoo/trinity-base/kdesktop/kdesktop-9999.ebuild
new file mode 100644
index 000000000..43531a0df
--- /dev/null
+++ b/gentoo/trinity-base/kdesktop/kdesktop-9999.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="The part of TDE ui that handles icons, desktop, screensaver etc"
+KEYWORDS=
+IUSE="pam xscreensaver"
+
+COMMON_DEPEND="x11-libs/libXrender
+ x11-libs/libXcursor
+ >=trinity-base/libkonq-${PV}:${SLOT}
+ >=trinity-base/kcontrol-${PV}:${SLOT}
+ xscreensaver? ( x11-libs/libXScrnSaver )"
+ # Requires the desktop background settings module,
+ # so until we separate the kcontrol modules into separate ebuilds :-),
+ # there's a dep here
+DEPEND="${COMMON_DEPEND}
+ xscreensaver? ( x11-proto/scrnsaverproto )
+ xscreensaver? ( x11-misc/xscreensaver )"
+# TODO remove x11-misc/xscreensaver after TDE bug # will be fixed
+RDEPEND="${COMMON_DEPEND}
+ >=trinity-base/kcheckpass-${PV}:${SLOT}
+ >=trinity-base/kdialog-${PV}:${SLOT}
+ >=trinity-base/konqueror-${PV}:${SLOT}
+ pam? ( trinity-base/tdebase-pam )"
+
+TSM_EXTRACT_ALSO="kcheckpass/"
+
+src_configure() {
+ mycmakeargs=(
+ -DWITH_XCURSORS=ON
+ -DWITH_XRENDER=ON
+ $(cmake-utils_use_with pam PAM)
+ $(cmake-utils_use_with xscreensaver XSCREENSAVER)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/kdesktop/metadata.xml b/gentoo/trinity-base/kdesktop/metadata.xml
new file mode 100644
index 000000000..04b5336cd
--- /dev/null
+++ b/gentoo/trinity-base/kdesktop/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+ <longdescription>
+ KDesktop is the Trinity interface that handles icons, desktop popup menus and screensaver system.
+ </longdescription>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kdesu/Manifest b/gentoo/trinity-base/kdesu/Manifest
new file mode 100644
index 000000000..381340c4b
--- /dev/null
+++ b/gentoo/trinity-base/kdesu/Manifest
@@ -0,0 +1,2 @@
+DIST kdebase-3.5.13.1.tar.gz 29403228 SHA256 ddd4bd4b508ad027b9d1af2701c6ba64bfc9f8f1d32099e6dd5e7866714f759e SHA512 e1aac19c941a5f2b43a57928fdb43e5ebd646f49c60911d9d317550df96642870792c4e77ecd06e123244e2425ccd4bcb00f0a21011ba7e651d7fcf4553e79cf WHIRLPOOL 931debbf6a65c280221025dcbc02cbb3387b66eb72eddd28a510ee8f97075cd2cc96535dde25d0a32280c399e4a868e9c027772f5d28e7e79b7c1a9080c58034
+DIST kdebase-trinity-3.5.13.2.tar.xz 25890636 SHA256 b9d552226daff64437dfb9699669b95dd7ebc2ca7c43755ba71c10cc6c9ed789 SHA512 df545d44c7d4550d1d77ff6504572b622853c2b8d80062b1aee1a5bdca19f0e708cde35cff54cf2d5098f06a41bde0c89522a3958dea9bb18205dea87c11b797 WHIRLPOOL 79144273bc7985c59a593a3394b12a2053532d2c4c890ce96adad21f6de0413baf3c6270d6d06173ec4546b20d401aa0cc81603d01b8ee41dbdefc825b39b2b1
diff --git a/gentoo/trinity-base/kdesu/kdesu-3.5.13.1.ebuild b/gentoo/trinity-base/kdesu/kdesu-3.5.13.1.ebuild
new file mode 100644
index 000000000..0f9802b2e
--- /dev/null
+++ b/gentoo/trinity-base/kdesu/kdesu-3.5.13.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity gui for su(1) or sudo"
+KEYWORDS="x86 amd64"
+IUSE="sudo"
+
+DEPEND+=" sudo? ( app-admin/sudo )"
+RDEPEND+=" ${DEPEND}"
+
+src_configure () {
+ mycmakeargs=(
+ $(cmake-utils_use_with sudo SUDO_KDESU_BACKEND)
+ )
+
+ trinity-meta_src_configure
+}
+
+pkg_postinst () {
+ if use sudo; then
+ einfo "Remember sudo use flag sets only the defauld value"
+ einfo "It can be overriden on a user-level by adding:"
+ einfo " [super-user-command]"
+ einfo " super-user-command=su"
+ einfo "To the kdeglobal config file which is should be usually"
+ einfo "located in the ~/.trinity/share/config/ directory."
+ fi
+}
diff --git a/gentoo/trinity-base/kdesu/kdesu-3.5.13.2.ebuild b/gentoo/trinity-base/kdesu/kdesu-3.5.13.2.ebuild
new file mode 100644
index 000000000..3324828d6
--- /dev/null
+++ b/gentoo/trinity-base/kdesu/kdesu-3.5.13.2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity gui for su(1) or sudo"
+KEYWORDS="~amd64 ~x86"
+IUSE="sudo"
+
+DEPEND+=" sudo? ( app-admin/sudo )"
+RDEPEND+=" ${DEPEND}"
+
+src_configure () {
+ mycmakeargs=(
+ $(cmake-utils_use_with sudo SUDO_KDESU_BACKEND)
+ )
+
+ trinity-meta_src_configure
+}
+
+pkg_postinst () {
+ if use sudo; then
+ einfo "Remember sudo use flag sets only the defauld value"
+ einfo "It can be overriden on a user-level by adding:"
+ einfo " [super-user-command]"
+ einfo " super-user-command=su"
+ einfo "To the kdeglobal config file which is should be usually"
+ einfo "located in the ~/.trinity/share/config/ directory."
+ fi
+}
diff --git a/gentoo/trinity-base/kdesu/metadata.xml b/gentoo/trinity-base/kdesu/metadata.xml
new file mode 100644
index 000000000..6863f5db6
--- /dev/null
+++ b/gentoo/trinity-base/kdesu/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+ <use>
+ <flag name="sudo"> Use <pkg>app-admin/sudo</pkg> as a default program to
+ obtain root privileges.</flag>
+ </use>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kdetoys-doc/Manifest b/gentoo/trinity-base/kdetoys-doc/Manifest
new file mode 100644
index 000000000..23ad50106
--- /dev/null
+++ b/gentoo/trinity-base/kdetoys-doc/Manifest
@@ -0,0 +1,2 @@
+DIST kdetoys-3.5.13.1.tar.gz 3037255 SHA256 41e4224bcf816e52877b17d2dcdc86d94e8f304fee2d3fb35b97921544eafd9d SHA512 e7cd7943004e5d1ec83c0fe484fab82f2cdd5f5d39ee77db419938f023cd3c42ba0b257d0ddc783de7bd528c90195821d810babfa193c60856437593c24ce879 WHIRLPOOL 8d482537f972a24b1cef9ad789edd314517f4e3a6b37056f47d92292c8c30e70def24e99efc552b4504503e2224e1209ae946ff34ac94feaf128c038c54f010d
+DIST kdetoys-trinity-3.5.13.2.tar.xz 2757260 SHA256 a0533ceb6fb103600eb33ef3136d40f84ec826e24e0b95cc45e68ef73a5232f6 SHA512 eb67a70d75a473f885db8993f5eebd3480e68e43e4de60240fde411696ed8b895029505a5125fe51a41d6ccb583ba50c4c67465d770f14f9a1c1533281154f78 WHIRLPOOL d79f58085d2af17453fc50c621ea6fe6909d476cf5f0a6b6ccf51ef69eed0ba073091f587439eb5afd644e0286dfe2ee86ccd903346d3060c3fe90299511018a
diff --git a/gentoo/trinity-base/kdetoys-doc/files/shared b/gentoo/trinity-base/kdetoys-doc/files/shared
new file mode 120000
index 000000000..af62be31d
--- /dev/null
+++ b/gentoo/trinity-base/kdetoys-doc/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files/ \ No newline at end of file
diff --git a/gentoo/trinity-base/kdetoys-doc/kdetoys-doc-3.5.13.1.ebuild b/gentoo/trinity-base/kdetoys-doc/kdetoys-doc-3.5.13.1.ebuild
new file mode 100644
index 000000000..d5e69871a
--- /dev/null
+++ b/gentoo/trinity-base/kdetoys-doc/kdetoys-doc-3.5.13.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdetoys"
+
+inherit trinity-meta
+
+DESCRIPTION="Documentaion for kdetoys-derived packages"
+KEYWORDS="amd64 x86"
+IUSE=""
+RDEPEND="
+ >=trinity-base/khelpcenter-${PV}:${SLOT}"
+
+pkg_setup() {
+ # we should reduce MAKEOPTS -j parametr to no more than 4
+ local makeopts_j
+ makeopts_j="$(echo "$MAKEOPTS" | sed -n 's/\(^\|.*\s\)\(-j\s*[0-9]\+\)\(\s.*\|$\)/\2/p')"
+ if [ -n "$makeopts_j" -a "$makeopts_j" > 4 ]; then
+ export MAKEOPTS="${MAKEOPTS//"${makeopts_j}"/-j4}"
+
+ ewarn "This ebuild needs huge amoumt of memmory to compile in highly parallel"
+ ewarn "mode so it can chew it all. MAKEOPTS are reduced to \"$MAKEOPTS\"."
+ fi
+
+ trinity-meta_pkg_setup
+}
diff --git a/gentoo/trinity-base/kdetoys-doc/kdetoys-doc-3.5.13.2.ebuild b/gentoo/trinity-base/kdetoys-doc/kdetoys-doc-3.5.13.2.ebuild
new file mode 100644
index 000000000..cf874e746
--- /dev/null
+++ b/gentoo/trinity-base/kdetoys-doc/kdetoys-doc-3.5.13.2.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdetoys"
+
+inherit trinity-meta
+
+DESCRIPTION="Documentaion for kdetoys-derived packages"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RDEPEND="
+ >=trinity-base/khelpcenter-${PV}:${SLOT}"
+
+pkg_setup() {
+ # we should reduce MAKEOPTS -j parametr to no more than 4
+ local makeopts_j
+ makeopts_j="$(echo "$MAKEOPTS" | sed -n 's/\(^\|.*\s\)\(-j\s*[0-9]\+\)\(\s.*\|$\)/\2/p')"
+ if [ -n "$makeopts_j" -a "$makeopts_j" > 4 ]; then
+ export MAKEOPTS="${MAKEOPTS//"${makeopts_j}"/-j4}"
+
+ ewarn "This ebuild needs huge amoumt of memmory to compile in highly parallel"
+ ewarn "mode so it can chew it all. MAKEOPTS are reduced to \"$MAKEOPTS\"."
+ fi
+
+ trinity-meta_pkg_setup
+}
diff --git a/gentoo/trinity-base/kdetoys-doc/kdetoys-doc-9999.ebuild b/gentoo/trinity-base/kdetoys-doc/kdetoys-doc-9999.ebuild
new file mode 100644
index 000000000..eb607c92a
--- /dev/null
+++ b/gentoo/trinity-base/kdetoys-doc/kdetoys-doc-9999.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdetoys"
+
+inherit trinity-meta
+
+DESCRIPTION="Documentaion for kdetoys-derived packages"
+KEYWORDS=
+IUSE=""
+RDEPEND="
+ >=trinity-base/khelpcenter-${PV}:${SLOT}"
+
+pkg_setup() {
+ # we should reduce MAKEOPTS -j parametr to no more than 4
+ local makeopts_j
+ makeopts_j="$(echo "$MAKEOPTS" | sed -n 's/\(^\|.*\s\)\(-j\s*[0-9]\+\)\(\s.*\|$\)/\2/p')"
+ if [ -n "$makeopts_j" -a "$makeopts_j" > 4 ]; then
+ export MAKEOPTS="${MAKEOPTS//"${makeopts_j}"/-j4}"
+
+ ewarn "This ebuild needs huge amoumt of memmory to compile in highly parallel"
+ ewarn "mode so it can chew it all. MAKEOPTS are reduced to \"$MAKEOPTS\"."
+ fi
+
+ trinity-meta_pkg_setup
+}
diff --git a/gentoo/trinity-base/kdetoys-doc/metadata.xml b/gentoo/trinity-base/kdetoys-doc/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kdetoys-doc/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kdetoys-meta/kdetoys-meta-3.5.13.1.ebuild b/gentoo/trinity-base/kdetoys-meta/kdetoys-meta-3.5.13.1.ebuild
new file mode 100644
index 000000000..1c2b55146
--- /dev/null
+++ b/gentoo/trinity-base/kdetoys-meta/kdetoys-meta-3.5.13.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+
+inherit trinity-functions
+
+set-trinityver
+
+DESCRIPTION="kdetoys metapackage - merge this to pull in all kdetoys-derived packages"
+HOMEPAGE="http://www.trinitydesktop.org/"
+LICENSE="GPL-2 LGPL-2"
+
+SLOT="$TRINITY_VER"
+IUSE=""
+KEYWORDS="x86 amd64"
+
+RDEPEND="
+ >=trinity-base/amor-${PV}:${SLOT}
+ >=trinity-base/eyesapplet-${PV}:${SLOT}
+ >=trinity-base/fifteenapplet-${PV}:${SLOT}
+ >=trinity-base/kdetoys-doc-${PV}:${SLOT}
+ >=trinity-base/kmoon-${PV}:${SLOT}
+ >=trinity-base/kodo-${PV}:${SLOT}
+ >=trinity-base/kteatime-${PV}:${SLOT}
+ >=trinity-base/ktux-${PV}:${SLOT}
+ >=trinity-base/kweather-${PV}:${SLOT}
+ >=trinity-base/kworldclock-${PV}:${SLOT}"
diff --git a/gentoo/trinity-base/kdetoys-meta/metadata.xml b/gentoo/trinity-base/kdetoys-meta/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kdetoys-meta/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kdeutils-doc/Manifest b/gentoo/trinity-base/kdeutils-doc/Manifest
new file mode 100644
index 000000000..c59ac62b4
--- /dev/null
+++ b/gentoo/trinity-base/kdeutils-doc/Manifest
@@ -0,0 +1,2 @@
+DIST kdeutils-3.5.13.1.tar.gz 2829393 SHA256 3e7ab07fe1bb3e7be7ac3a3796366c88d3b79a58af911546e2c65e32363db527 SHA512 48733e472d0f5da85ef8a32ed6db7fa5e61f0682e49842439e6ea38a1e407059bb35efffe41fc6ed1a718511fd5b2b2c8222d816a23500a4dcbca17461f9a3bd WHIRLPOOL 1488e0c44f60b4d5e397dd2cf93de048eae1b915d4b2b7b1cf27768946f5aae3b5bcc3971ee28b5fa6a57a0b94cca6db0866138b69ad74f1f7bb97cdaaebdbe2
+DIST kdeutils-trinity-3.5.13.2.tar.xz 2259232 SHA256 b2999b9ef39bb2f269b84fdf34a814b5a5599aae7d05538d0bf680c18fb334fa SHA512 f501aa4b61bf440e873eec96f09c0c24ad780db2f9f14b884001c04c04aafccb5afb2b492dcf4fc640f3ec35d86aa419d67936122648a986662cd7b7f4f8a2d8 WHIRLPOOL 49296006875250212f0fdeb0c90c4f69cf0aa7cfd38415e2f7b50bdf81754de64562df2400f4932a502adbe84b58be34cae6c029d68cc62d0e91de5158513239
diff --git a/gentoo/trinity-base/kdeutils-doc/files/shared b/gentoo/trinity-base/kdeutils-doc/files/shared
new file mode 120000
index 000000000..af62be31d
--- /dev/null
+++ b/gentoo/trinity-base/kdeutils-doc/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files/ \ No newline at end of file
diff --git a/gentoo/trinity-base/kdeutils-doc/kdeutils-doc-3.5.13.1.ebuild b/gentoo/trinity-base/kdeutils-doc/kdeutils-doc-3.5.13.1.ebuild
new file mode 100644
index 000000000..f5e4b9068
--- /dev/null
+++ b/gentoo/trinity-base/kdeutils-doc/kdeutils-doc-3.5.13.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="Documentaion for kdeutils-derived packages"
+KEYWORDS="x86 amd64"
+IUSE=""
+RDEPEND="
+ >=trinity-base/khelpcenter-${PV}:${SLOT}"
+
+pkg_setup() {
+ # we should reduce MAKEOPTS -j parametr to no more than 4
+ local makeopts_j
+ makeopts_j="$(echo "$MAKEOPTS" | sed -n 's/\(^\|.*\s\)\(-j\s*[0-9]\+\)\(\s.*\|$\)/\2/p')"
+ if [ -n "$makeopts_j" -a "$makeopts_j" > 4 ]; then
+ export MAKEOPTS="${MAKEOPTS//"${makeopts_j}"/-j4}"
+
+ ewarn "This ebuild needs huge amoumt of memmory to compile in highly parallel"
+ ewarn "mode so it can chew it all. MAKEOPTS are reduced to \"$MAKEOPTS\"."
+ fi
+
+ trinity-meta_pkg_setup
+}
diff --git a/gentoo/trinity-base/kdeutils-doc/kdeutils-doc-3.5.13.2.ebuild b/gentoo/trinity-base/kdeutils-doc/kdeutils-doc-3.5.13.2.ebuild
new file mode 100644
index 000000000..698fd9c7a
--- /dev/null
+++ b/gentoo/trinity-base/kdeutils-doc/kdeutils-doc-3.5.13.2.ebuild
@@ -0,0 +1,13 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="Documentaion for kdeutils-derived packages"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+RDEPEND="
+ >=trinity-base/khelpcenter-${PV}:${SLOT}"
diff --git a/gentoo/trinity-base/kdeutils-doc/metadata.xml b/gentoo/trinity-base/kdeutils-doc/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kdeutils-doc/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kdeutils-meta/kdeutils-meta-3.5.13.1.ebuild b/gentoo/trinity-base/kdeutils-meta/kdeutils-meta-3.5.13.1.ebuild
new file mode 100644
index 000000000..423303774
--- /dev/null
+++ b/gentoo/trinity-base/kdeutils-meta/kdeutils-meta-3.5.13.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+
+inherit trinity-functions
+
+set-trinityver
+
+DESCRIPTION="kdeutils metapackage - merge this to pull in all kdeutils-derived packages"
+HOMEPAGE="http://www.trinitydesktop.org/"
+LICENSE="GPL-2 LGPL-2"
+
+SLOT="$TRINITY_VER"
+IUSE=""
+KEYWORDS="x86 amd64"
+
+RDEPEND="
+ >=trinity-base/ark-${PV}:${SLOT}
+ >=trinity-base/kdeutils-doc-${PV}:${SLOT}
+ >=trinity-base/kcalc-${PV}:${SLOT}
+ >=trinity-base/kcharselect-${PV}:${SLOT}
+ >=trinity-base/kdelirc-${PV}:${SLOT}
+ >=trinity-base/kdf-${PV}:${SLOT}
+ >=trinity-base/kedit-${PV}:${SLOT}
+ >=trinity-base/kfloppy-${PV}:${SLOT}
+ >=trinity-base/kgpg-${PV}:${SLOT}
+ >=trinity-base/khexedit-${PV}:${SLOT}
+ >=trinity-base/kjots-${PV}:${SLOT}
+ >=trinity-base/klaptopdaemon-${PV}:${SLOT}
+ >=trinity-base/kmilo-${PV}:${SLOT}
+ >=trinity-base/kregexpeditor-${PV}:${SLOT}
+ >=trinity-base/ksim-${PV}:${SLOT}
+ >=trinity-base/ktimer-${PV}:${SLOT}
+ >=trinity-base/kwallet-${PV}:${SLOT}
+ >=trinity-base/superkaramba-${PV}:${SLOT}"
diff --git a/gentoo/trinity-base/kdeutils-meta/kdeutils-meta-3.5.13.2.ebuild b/gentoo/trinity-base/kdeutils-meta/kdeutils-meta-3.5.13.2.ebuild
new file mode 100644
index 000000000..f81a9b7d9
--- /dev/null
+++ b/gentoo/trinity-base/kdeutils-meta/kdeutils-meta-3.5.13.2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+
+inherit trinity-functions
+
+set-trinityver
+
+DESCRIPTION="kdeutils metapackage - merge this to pull in all kdeutils-derived packages"
+HOMEPAGE="http://www.trinitydesktop.org/"
+LICENSE="GPL-2 LGPL-2"
+
+SLOT="$TRINITY_VER"
+IUSE=""
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ >=trinity-base/ark-${PV}:${SLOT}
+ >=trinity-base/kdeutils-doc-${PV}:${SLOT}
+ >=trinity-base/kcalc-${PV}:${SLOT}
+ >=trinity-base/kcharselect-${PV}:${SLOT}
+ >=trinity-base/kdelirc-${PV}:${SLOT}
+ >=trinity-base/kdf-${PV}:${SLOT}
+ >=trinity-base/kedit-${PV}:${SLOT}
+ >=trinity-base/kfloppy-${PV}:${SLOT}
+ >=trinity-base/kgpg-${PV}:${SLOT}
+ >=trinity-base/khexedit-${PV}:${SLOT}
+ >=trinity-base/kjots-${PV}:${SLOT}
+ >=trinity-base/klaptopdaemon-${PV}:${SLOT}
+ >=trinity-base/kmilo-${PV}:${SLOT}
+ >=trinity-base/kregexpeditor-${PV}:${SLOT}
+ >=trinity-base/ksim-${PV}:${SLOT}
+ >=trinity-base/ktimer-${PV}:${SLOT}
+ >=trinity-base/kwallet-${PV}:${SLOT}
+ >=trinity-base/superkaramba-${PV}:${SLOT}"
diff --git a/gentoo/trinity-base/kdeutils-meta/metadata.xml b/gentoo/trinity-base/kdeutils-meta/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kdeutils-meta/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kdf/Manifest b/gentoo/trinity-base/kdf/Manifest
new file mode 100644
index 000000000..c59ac62b4
--- /dev/null
+++ b/gentoo/trinity-base/kdf/Manifest
@@ -0,0 +1,2 @@
+DIST kdeutils-3.5.13.1.tar.gz 2829393 SHA256 3e7ab07fe1bb3e7be7ac3a3796366c88d3b79a58af911546e2c65e32363db527 SHA512 48733e472d0f5da85ef8a32ed6db7fa5e61f0682e49842439e6ea38a1e407059bb35efffe41fc6ed1a718511fd5b2b2c8222d816a23500a4dcbca17461f9a3bd WHIRLPOOL 1488e0c44f60b4d5e397dd2cf93de048eae1b915d4b2b7b1cf27768946f5aae3b5bcc3971ee28b5fa6a57a0b94cca6db0866138b69ad74f1f7bb97cdaaebdbe2
+DIST kdeutils-trinity-3.5.13.2.tar.xz 2259232 SHA256 b2999b9ef39bb2f269b84fdf34a814b5a5599aae7d05538d0bf680c18fb334fa SHA512 f501aa4b61bf440e873eec96f09c0c24ad780db2f9f14b884001c04c04aafccb5afb2b492dcf4fc640f3ec35d86aa419d67936122648a986662cd7b7f4f8a2d8 WHIRLPOOL 49296006875250212f0fdeb0c90c4f69cf0aa7cfd38415e2f7b50bdf81754de64562df2400f4932a502adbe84b58be34cae6c029d68cc62d0e91de5158513239
diff --git a/gentoo/trinity-base/kdf/files/shared b/gentoo/trinity-base/kdf/files/shared
new file mode 120000
index 000000000..af62be31d
--- /dev/null
+++ b/gentoo/trinity-base/kdf/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files/ \ No newline at end of file
diff --git a/gentoo/trinity-base/kdf/kdf-3.5.13.1.ebuild b/gentoo/trinity-base/kdf/kdf-3.5.13.1.ebuild
new file mode 100644
index 000000000..3aaef74fc
--- /dev/null
+++ b/gentoo/trinity-base/kdf/kdf-3.5.13.1.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity free disk space utility"
+KEYWORDS="x86 amd64"
+IUSE=""
diff --git a/gentoo/trinity-base/kdf/kdf-3.5.13.2.ebuild b/gentoo/trinity-base/kdf/kdf-3.5.13.2.ebuild
new file mode 100644
index 000000000..ce6c7c1d5
--- /dev/null
+++ b/gentoo/trinity-base/kdf/kdf-3.5.13.2.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity free disk space utility"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
diff --git a/gentoo/trinity-base/kdf/kdf-9999.ebuild b/gentoo/trinity-base/kdf/kdf-9999.ebuild
new file mode 100644
index 000000000..a439c66af
--- /dev/null
+++ b/gentoo/trinity-base/kdf/kdf-9999.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity free disk space utility"
+KEYWORDS=""
+IUSE=""
diff --git a/gentoo/trinity-base/kdf/metadata.xml b/gentoo/trinity-base/kdf/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kdf/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kdialog/Manifest b/gentoo/trinity-base/kdialog/Manifest
new file mode 100644
index 000000000..381340c4b
--- /dev/null
+++ b/gentoo/trinity-base/kdialog/Manifest
@@ -0,0 +1,2 @@
+DIST kdebase-3.5.13.1.tar.gz 29403228 SHA256 ddd4bd4b508ad027b9d1af2701c6ba64bfc9f8f1d32099e6dd5e7866714f759e SHA512 e1aac19c941a5f2b43a57928fdb43e5ebd646f49c60911d9d317550df96642870792c4e77ecd06e123244e2425ccd4bcb00f0a21011ba7e651d7fcf4553e79cf WHIRLPOOL 931debbf6a65c280221025dcbc02cbb3387b66eb72eddd28a510ee8f97075cd2cc96535dde25d0a32280c399e4a868e9c027772f5d28e7e79b7c1a9080c58034
+DIST kdebase-trinity-3.5.13.2.tar.xz 25890636 SHA256 b9d552226daff64437dfb9699669b95dd7ebc2ca7c43755ba71c10cc6c9ed789 SHA512 df545d44c7d4550d1d77ff6504572b622853c2b8d80062b1aee1a5bdca19f0e708cde35cff54cf2d5098f06a41bde0c89522a3958dea9bb18205dea87c11b797 WHIRLPOOL 79144273bc7985c59a593a3394b12a2053532d2c4c890ce96adad21f6de0413baf3c6270d6d06173ec4546b20d401aa0cc81603d01b8ee41dbdefc825b39b2b1
diff --git a/gentoo/trinity-base/kdialog/files/shared b/gentoo/trinity-base/kdialog/files/shared
new file mode 120000
index 000000000..ffc286806
--- /dev/null
+++ b/gentoo/trinity-base/kdialog/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files \ No newline at end of file
diff --git a/gentoo/trinity-base/kdialog/kdialog-3.5.13.1.ebuild b/gentoo/trinity-base/kdialog/kdialog-3.5.13.1.ebuild
new file mode 100644
index 000000000..00c63b8b4
--- /dev/null
+++ b/gentoo/trinity-base/kdialog/kdialog-3.5.13.1.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="KDialog can be used to show nice dialog boxes from shell scripts"
+KEYWORDS="x86 amd64"
+IUSE=""
diff --git a/gentoo/trinity-base/kdialog/kdialog-3.5.13.2.ebuild b/gentoo/trinity-base/kdialog/kdialog-3.5.13.2.ebuild
new file mode 100644
index 000000000..9465b53b9
--- /dev/null
+++ b/gentoo/trinity-base/kdialog/kdialog-3.5.13.2.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="KDialog can be used to show nice dialog boxes from shell scripts"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
diff --git a/gentoo/trinity-base/kdialog/kdialog-9999.ebuild b/gentoo/trinity-base/kdialog/kdialog-9999.ebuild
new file mode 100644
index 000000000..73646f6c9
--- /dev/null
+++ b/gentoo/trinity-base/kdialog/kdialog-9999.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="KDialog can be used to show nice dialog boxes from shell scripts"
+KEYWORDS=
+IUSE=""
diff --git a/gentoo/trinity-base/kdialog/metadata.xml b/gentoo/trinity-base/kdialog/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kdialog/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kdict/Manifest b/gentoo/trinity-base/kdict/Manifest
new file mode 100644
index 000000000..1d49700dc
--- /dev/null
+++ b/gentoo/trinity-base/kdict/Manifest
@@ -0,0 +1 @@
+DIST kdenetwork-3.5.13.1.tar.gz 8794225 SHA256 21e69e8cb2550561c26913a5cccdc376115f50cffd43f9a94f7a660a303f46f9 SHA512 b3189a9f5e9cddd130b24a82b95ef90db1ec3c7afa280a46101ba7cbf6f9d92f60a536401f648a96459ba87f70ede5f7ae4affe894515a8e858b40ee79cb1b69 WHIRLPOOL de678ab30e3aa8dc3068c895fd000fdab1bc046e272273bf44196a198210efab82ddde3c5e0ffaa863061e9c56e3a8a68ca2f8f03cd77136755f66688f878c65
diff --git a/gentoo/trinity-base/kdict/kdict-3.5.13.1.ebuild b/gentoo/trinity-base/kdict/kdict-3.5.13.1.ebuild
new file mode 100644
index 000000000..939ded471
--- /dev/null
+++ b/gentoo/trinity-base/kdict/kdict-3.5.13.1.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdenetwork"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity dict client (for dict.org-like servers)"
+KEYWORDS="amd64 x86"
+IUSE=""
diff --git a/gentoo/trinity-base/kdict/kdict-9999.ebuild b/gentoo/trinity-base/kdict/kdict-9999.ebuild
new file mode 100644
index 000000000..1f5ad04d5
--- /dev/null
+++ b/gentoo/trinity-base/kdict/kdict-9999.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdenetwork"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity dict client (for dict.org-like servers)"
+KEYWORDS=
+IUSE=""
diff --git a/gentoo/trinity-base/kdict/metadata.xml b/gentoo/trinity-base/kdict/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kdict/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kdm/Manifest b/gentoo/trinity-base/kdm/Manifest
new file mode 100644
index 000000000..381340c4b
--- /dev/null
+++ b/gentoo/trinity-base/kdm/Manifest
@@ -0,0 +1,2 @@
+DIST kdebase-3.5.13.1.tar.gz 29403228 SHA256 ddd4bd4b508ad027b9d1af2701c6ba64bfc9f8f1d32099e6dd5e7866714f759e SHA512 e1aac19c941a5f2b43a57928fdb43e5ebd646f49c60911d9d317550df96642870792c4e77ecd06e123244e2425ccd4bcb00f0a21011ba7e651d7fcf4553e79cf WHIRLPOOL 931debbf6a65c280221025dcbc02cbb3387b66eb72eddd28a510ee8f97075cd2cc96535dde25d0a32280c399e4a868e9c027772f5d28e7e79b7c1a9080c58034
+DIST kdebase-trinity-3.5.13.2.tar.xz 25890636 SHA256 b9d552226daff64437dfb9699669b95dd7ebc2ca7c43755ba71c10cc6c9ed789 SHA512 df545d44c7d4550d1d77ff6504572b622853c2b8d80062b1aee1a5bdca19f0e708cde35cff54cf2d5098f06a41bde0c89522a3958dea9bb18205dea87c11b797 WHIRLPOOL 79144273bc7985c59a593a3394b12a2053532d2c4c890ce96adad21f6de0413baf3c6270d6d06173ec4546b20d401aa0cc81603d01b8ee41dbdefc825b39b2b1
diff --git a/gentoo/trinity-base/kdm/files/kdm-3.5.13.1-xsession.script b/gentoo/trinity-base/kdm/files/kdm-3.5.13.1-xsession.script
new file mode 100755
index 000000000..3106eea99
--- /dev/null
+++ b/gentoo/trinity-base/kdm/files/kdm-3.5.13.1-xsession.script
@@ -0,0 +1,66 @@
+#! /bin/sh
+# Xsession - run as user
+
+session=$1
+
+# Note that the respective logout scripts are not sourced.
+case $SHELL in
+ */bash)
+ [ -z "$BASH" ] && exec $SHELL $0 "$@"
+ set +o posix
+ [ -f /etc/profile ] && . /etc/profile
+ if [ -f $HOME/.bash_profile ]; then
+ . $HOME/.bash_profile
+ elif [ -f $HOME/.bash_login ]; then
+ . $HOME/.bash_login
+ elif [ -f $HOME/.profile ]; then
+ . $HOME/.profile
+ fi
+ ;;
+ */zsh)
+ [ -z "$ZSH_NAME" ] && exec $SHELL $0 "$@"
+ emulate -R zsh
+ [ -d /etc/zsh ] && zdir=/etc/zsh || zdir=/etc
+ zhome=${ZDOTDIR:-$HOME}
+ # zshenv is always sourced automatically.
+ [ -f $zdir/zprofile ] && . $zdir/zprofile
+ [ -f $zhome/.zprofile ] && . $zhome/.zprofile
+ [ -f $zdir/zlogin ] && . $zdir/zlogin
+ [ -f $zhome/.zlogin ] && . $zhome/.zlogin
+ setopt shwordsplit noextendedglob
+ ;;
+ */csh|*/tcsh)
+ # [t]cshrc is always sourced automatically.
+ # Note that sourcing csh.login after .cshrc is non-standard.
+ xsess_tmp=`mktemp /tmp/xsess-env-XXXXXX`
+ $SHELL -c "if (-f /etc/csh.login) source /etc/csh.login; if (-f ~/.login) source ~/.login; /bin/sh -c export -p >! $xsess_tmp"
+ . $xsess_tmp
+ rm -f $xsess_tmp
+ ;;
+ *) # Plain sh, ksh, and anything we don't know.
+ [ -f /etc/profile ] && . /etc/profile
+ [ -f $HOME/.profile ] && . $HOME/.profile
+ ;;
+esac
+
+[ -f /etc/xprofile ] && . /etc/xprofile
+[ -f $HOME/.xprofile ] && . $HOME/.xprofile
+
+case $session in
+ "")
+ exec xmessage -center -buttons OK:0 -default OK "Sorry, $DESKTOP_SESSION is no valid session."
+ ;;
+ failsafe)
+ exec xterm -geometry 80x24-0-0
+ ;;
+ custom)
+ exec /bin/sh $HOME/.xsession
+ ;;
+ default)
+ exec /usr/trinity/3.5/bin/starttde
+ ;;
+ *)
+ eval exec "$session"
+ ;;
+esac
+exec xmessage -center -buttons OK:0 -default OK "Sorry, cannot execute $session. Check $DESKTOP_SESSION.desktop."
diff --git a/gentoo/trinity-base/kdm/files/kdm-3.5.13.2-xsession.script b/gentoo/trinity-base/kdm/files/kdm-3.5.13.2-xsession.script
new file mode 100755
index 000000000..3106eea99
--- /dev/null
+++ b/gentoo/trinity-base/kdm/files/kdm-3.5.13.2-xsession.script
@@ -0,0 +1,66 @@
+#! /bin/sh
+# Xsession - run as user
+
+session=$1
+
+# Note that the respective logout scripts are not sourced.
+case $SHELL in
+ */bash)
+ [ -z "$BASH" ] && exec $SHELL $0 "$@"
+ set +o posix
+ [ -f /etc/profile ] && . /etc/profile
+ if [ -f $HOME/.bash_profile ]; then
+ . $HOME/.bash_profile
+ elif [ -f $HOME/.bash_login ]; then
+ . $HOME/.bash_login
+ elif [ -f $HOME/.profile ]; then
+ . $HOME/.profile
+ fi
+ ;;
+ */zsh)
+ [ -z "$ZSH_NAME" ] && exec $SHELL $0 "$@"
+ emulate -R zsh
+ [ -d /etc/zsh ] && zdir=/etc/zsh || zdir=/etc
+ zhome=${ZDOTDIR:-$HOME}
+ # zshenv is always sourced automatically.
+ [ -f $zdir/zprofile ] && . $zdir/zprofile
+ [ -f $zhome/.zprofile ] && . $zhome/.zprofile
+ [ -f $zdir/zlogin ] && . $zdir/zlogin
+ [ -f $zhome/.zlogin ] && . $zhome/.zlogin
+ setopt shwordsplit noextendedglob
+ ;;
+ */csh|*/tcsh)
+ # [t]cshrc is always sourced automatically.
+ # Note that sourcing csh.login after .cshrc is non-standard.
+ xsess_tmp=`mktemp /tmp/xsess-env-XXXXXX`
+ $SHELL -c "if (-f /etc/csh.login) source /etc/csh.login; if (-f ~/.login) source ~/.login; /bin/sh -c export -p >! $xsess_tmp"
+ . $xsess_tmp
+ rm -f $xsess_tmp
+ ;;
+ *) # Plain sh, ksh, and anything we don't know.
+ [ -f /etc/profile ] && . /etc/profile
+ [ -f $HOME/.profile ] && . $HOME/.profile
+ ;;
+esac
+
+[ -f /etc/xprofile ] && . /etc/xprofile
+[ -f $HOME/.xprofile ] && . $HOME/.xprofile
+
+case $session in
+ "")
+ exec xmessage -center -buttons OK:0 -default OK "Sorry, $DESKTOP_SESSION is no valid session."
+ ;;
+ failsafe)
+ exec xterm -geometry 80x24-0-0
+ ;;
+ custom)
+ exec /bin/sh $HOME/.xsession
+ ;;
+ default)
+ exec /usr/trinity/3.5/bin/starttde
+ ;;
+ *)
+ eval exec "$session"
+ ;;
+esac
+exec xmessage -center -buttons OK:0 -default OK "Sorry, cannot execute $session. Check $DESKTOP_SESSION.desktop."
diff --git a/gentoo/trinity-base/kdm/kdm-3.5.13.1.ebuild b/gentoo/trinity-base/kdm/kdm-3.5.13.1.ebuild
new file mode 100644
index 000000000..42cac2ed3
--- /dev/null
+++ b/gentoo/trinity-base/kdm/kdm-3.5.13.1.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta linux-info
+
+TSM_EXTRACT_ALSO="sak"
+
+DESCRIPTION="Trinity login manager, similar to xdm and gdm"
+KEYWORDS="x86 amd64"
+IUSE="pam xdmcp xcomposite sak"
+
+DEPEND="pam? ( trinity-base/tdebase-pam )
+ xdmcp? ( x11-libs/libXdmcp )
+ xcomposite? ( x11-libs/libXcomposite )
+ sys-apps/dbus
+ x11-libs/libXrandr
+ x11-libs/libXtst
+ >=trinity-base/kcontrol-${PV}:${SLOT}
+ dev-libs/dbus-tqt"
+
+RDEPEND="${DEPEND}
+ >=trinity-base/kdepasswd-${PV}:${SLOT}
+ x11-apps/xinit
+ x11-apps/xmessage"
+
+pkg_setup() {
+ trinity-meta_pkg_setup;
+ use sak && TRINITY_SUBMODULE+=" tsak"
+}
+
+src_configure() {
+ mycmakeargs=(
+ -DWITH_XTEST=ON
+ -DWITH_LIBART=ON
+ -DWITH_XRANDR=ON
+ -DWITH_SHADOW=ON
+ $(cmake-utils_use_with xcomposite XCOMPOSITE )
+ $(cmake-utils_use_with xdmcp XDMCP )
+ $(cmake-utils_use_with pam PAM )
+ )
+
+ trinity-meta_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ # Customize the kdmrc configuration
+ sed -i -e "s:#SessionsDirs=:SessionsDirs=/usr/share/xsessions\n#SessionsDirs=:" \
+ "${D}${TDEDIR}/share/config/kdm/kdmrc" || die "sed kdmrc failed"
+
+ # install XSession upstream script seems to be debian-cpecific
+ cp "${FILESDIR}/${P}-xsession.script" "${D}/${TDEDIR}/share/config/kdm/Xsession"
+
+}
+
+pkg_postinst() {
+ local sak_ok
+ # set the default kdm face icon if it's not already set by the system admin
+ # because this is user-overrideable in that way, it's not in src_install
+ if [ ! -e "${ROOT}${TDEDIR}/share/apps/kdm/faces/.default.face.icon" ]; then
+ mkdir -p "${ROOT}${TDEDIR}/share/apps/kdm/faces"
+ cp "${ROOT}${TDEDIR}/share/apps/kdm/pics/users/default1.png" \
+ "${ROOT}${TDEDIR}/share/apps/kdm/faces/.default.face.icon"
+ fi
+ if [ ! -e "${ROOT}${TDEDIR}/share/apps/kdm/faces/root.face.icon" ]; then
+ mkdir -p "${ROOT}${TDEDIR}/share/apps/kdm/faces"
+ cp "${ROOT}${TDEDIR}/share/apps/kdm/pics/users/root1.png" \
+ "${ROOT}${TDEDIR}/share/apps/kdm/faces/root.face.icon"
+ fi
+
+ if use sak; then
+ sak_ok=yes
+ if ! linux_config_exists; then
+ ewarn "Can't check the linux kernel configuration."
+ ewarn "You might have some incompatible options enabled."
+ sak_ok=no
+ else
+ if ! linux_chkconfig_present INPUT_UINPUT; then
+ eerror "You build kdm with sak feature enabled. "
+ eerror "It requires the INPUT_UINPUT support enabled."
+ eerror "Please enable it:"
+ eerror " CONFIG_INPUT_UINPUT=y"
+ eerror "in /usr/src/linux/.config or"
+ eerror " Device Drivers --->"
+ eerror " Input device support --->"
+ eerror " [*] Miscellaneous devices --->"
+ eerror " <*> User level driver support"
+ sak_ok=no
+ fi
+ fi
+ if [[ "$sak_ok" != yes ]]; then
+ sed -i -e 's:#\?\s*UseSAK=\(true\|false\)\?:UseSak=false:' \
+ "${D}${TDEDIR}/share/config/kdm/kdmrc" || die "sed kdmrc failed"
+ ewarn "SAK feature is disabled. You can enable it yourself by setting UseSAK=true "
+ ewarn "in ${TDEDIR}/share/config/kdm/kdmrc "
+ else
+ ewarn "SAK feature is enabled. You can disable it yourself by setting UseSAK=false"
+ ewarn "in ${TDEDIR}/share/config/kdm/kdmrc "
+ fi
+ fi
+}
diff --git a/gentoo/trinity-base/kdm/kdm-3.5.13.2.ebuild b/gentoo/trinity-base/kdm/kdm-3.5.13.2.ebuild
new file mode 100644
index 000000000..79759dab8
--- /dev/null
+++ b/gentoo/trinity-base/kdm/kdm-3.5.13.2.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta linux-info
+
+DESCRIPTION="Trinity login manager, similar to xdm and gdm"
+KEYWORDS="~amd64 ~x86"
+IUSE="pam xdmcp xcomposite sak"
+
+DEPEND="pam? ( trinity-base/tdebase-pam )
+ xdmcp? ( x11-libs/libXdmcp )
+ xcomposite? ( x11-libs/libXcomposite )
+ sys-apps/dbus
+ x11-libs/libXrandr
+ x11-libs/libXtst
+ >=trinity-base/kcontrol-${PV}:${SLOT}
+ dev-libs/dbus-tqt"
+
+RDEPEND="${DEPEND}
+ >=trinity-base/kdepasswd-${PV}:${SLOT}
+ x11-apps/xinit
+ x11-apps/xmessage"
+
+pkg_setup() {
+ trinity-meta_pkg_setup;
+ use sak && TRINITY_SUBMODULE+=" tsak"
+}
+
+src_configure() {
+ mycmakeargs=(
+ -DWITH_XTEST=ON
+ -DWITH_LIBART=ON
+ -DWITH_XRANDR=ON
+ -DWITH_SHADOW=ON
+ $(cmake-utils_use_with xcomposite XCOMPOSITE )
+ $(cmake-utils_use_with xdmcp XDMCP )
+ $(cmake-utils_use_with pam PAM )
+ )
+
+ trinity-meta_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ # Customize the kdmrc configuration
+ sed -i -e "s:#SessionsDirs=:SessionsDirs=/usr/share/xsessions\n#SessionsDirs=:" \
+ "${D}${TDEDIR}/share/config/kdm/kdmrc" || die "sed kdmrc failed"
+
+ # install XSession upstream script seems to be debian-cpecific
+ cp "${FILESDIR}/${P}-xsession.script" "${D}/${TDEDIR}/share/config/kdm/Xsession"
+
+}
+
+pkg_postinst() {
+ local sak_ok
+ # set the default kdm face icon if it's not already set by the system admin
+ # because this is user-overrideable in that way, it's not in src_install
+ if [ ! -e "${ROOT}${TDEDIR}/share/apps/kdm/faces/.default.face.icon" ]; then
+ mkdir -p "${ROOT}${TDEDIR}/share/apps/kdm/faces"
+ cp "${ROOT}${TDEDIR}/share/apps/kdm/pics/users/default1.png" \
+ "${ROOT}${TDEDIR}/share/apps/kdm/faces/.default.face.icon"
+ fi
+ if [ ! -e "${ROOT}${TDEDIR}/share/apps/kdm/faces/root.face.icon" ]; then
+ mkdir -p "${ROOT}${TDEDIR}/share/apps/kdm/faces"
+ cp "${ROOT}${TDEDIR}/share/apps/kdm/pics/users/root1.png" \
+ "${ROOT}${TDEDIR}/share/apps/kdm/faces/root.face.icon"
+ fi
+
+ if use sak; then
+ sak_ok=yes
+ if ! linux_config_exists; then
+ ewarn "Can't check the linux kernel configuration."
+ ewarn "You might have some incompatible options enabled."
+ sak_ok=no
+ else
+ if ! linux_chkconfig_present INPUT_UINPUT; then
+ eerror "You build kdm with sak feature enabled. "
+ eerror "It requires the INPUT_UINPUT support enabled."
+ eerror "Please enable it:"
+ eerror " CONFIG_INPUT_UINPUT=y"
+ eerror "in /usr/src/linux/.config or"
+ eerror " Device Drivers --->"
+ eerror " Input device support --->"
+ eerror " [*] Miscellaneous devices --->"
+ eerror " <*> User level driver support"
+ sak_ok=no
+ fi
+ fi
+ if [[ "$sak_ok" != yes ]]; then
+ sed -i -e 's:#\?\s*UseSAK=\(true\|false\)\?:UseSak=false:' \
+ "${D}${TDEDIR}/share/config/kdm/kdmrc" || die "sed kdmrc failed"
+ ewarn "SAK feature is disabled. You can enable it yourself by setting UseSAK=true "
+ ewarn "in ${TDEDIR}/share/config/kdm/kdmrc "
+ else
+ ewarn "SAK feature is enabled. You can disable it yourself by setting UseSAK=false"
+ ewarn "in ${TDEDIR}/share/config/kdm/kdmrc "
+ fi
+ fi
+}
diff --git a/gentoo/trinity-base/kdm/metadata.xml b/gentoo/trinity-base/kdm/metadata.xml
new file mode 100644
index 000000000..2a40b2145
--- /dev/null
+++ b/gentoo/trinity-base/kdm/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+ <use>
+ <flag name="xdmcp">Support for <pkg>x11-libs/libXdmcp</pkg></flag>
+ <flag name="sak">Adds SAK (Secure Attention Key) feature</flag>
+ </use>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kdnssd/Manifest b/gentoo/trinity-base/kdnssd/Manifest
new file mode 100644
index 000000000..1d49700dc
--- /dev/null
+++ b/gentoo/trinity-base/kdnssd/Manifest
@@ -0,0 +1 @@
+DIST kdenetwork-3.5.13.1.tar.gz 8794225 SHA256 21e69e8cb2550561c26913a5cccdc376115f50cffd43f9a94f7a660a303f46f9 SHA512 b3189a9f5e9cddd130b24a82b95ef90db1ec3c7afa280a46101ba7cbf6f9d92f60a536401f648a96459ba87f70ede5f7ae4affe894515a8e858b40ee79cb1b69 WHIRLPOOL de678ab30e3aa8dc3068c895fd000fdab1bc046e272273bf44196a198210efab82ddde3c5e0ffaa863061e9c56e3a8a68ca2f8f03cd77136755f66688f878c65
diff --git a/gentoo/trinity-base/kdnssd/kdnssd-3.5.13.1.ebuild b/gentoo/trinity-base/kdnssd/kdnssd-3.5.13.1.ebuild
new file mode 100644
index 000000000..ac2014925
--- /dev/null
+++ b/gentoo/trinity-base/kdnssd/kdnssd-3.5.13.1.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdenetwork"
+
+inherit trinity-meta
+
+DESCRIPTION="A DNSSD (DNS Service Discovery - part of Rendezvous) ioslave and kded module"
+KEYWORDS="amd64 x86"
+IUSE=""
diff --git a/gentoo/trinity-base/kdnssd/metadata.xml b/gentoo/trinity-base/kdnssd/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kdnssd/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kdvi/Manifest b/gentoo/trinity-base/kdvi/Manifest
new file mode 100644
index 000000000..f0ba54e9a
--- /dev/null
+++ b/gentoo/trinity-base/kdvi/Manifest
@@ -0,0 +1 @@
+DIST kdegraphics-3.5.13.1.tar.gz 7526074 SHA256 19bd36e261bb6c5d2c9c1eba5f736c642b48422d917d44e576835f7ebb44906b SHA512 693e5ad70dbb00c587e588acfb81fc9475c3a4dbc86f41d6053c0584c533349a7564e34b870cb7bbc57361ac539da6f7d7f1b002ac3cfe8b0201db3eeb9147dd WHIRLPOOL fd2c46c517b3a0293880eaf35967295485555b936d0f1e80e0f2c261a1164cfcc5c4b2d943a12c073914d33b59974cc2dd92a78414614caa10f46dd048d518b4
diff --git a/gentoo/trinity-base/kdvi/kdvi-3.5.13.1.ebuild b/gentoo/trinity-base/kdvi/kdvi-3.5.13.1.ebuild
new file mode 100644
index 000000000..1d21a4775
--- /dev/null
+++ b/gentoo/trinity-base/kdvi/kdvi-3.5.13.1.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdegraphics"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity DVI viewer"
+KEYWORDS="x86 amd64"
+IUSE=""
+
+DEPEND="media-libs/freetype:2
+ >=trinity-base/kviewshell-${PV}:${SLOT}"
+RDEPEND="$DEPEND"
+
+TSM_EXTRACT_ALSO="kviewshell"
diff --git a/gentoo/trinity-base/kdvi/kdvi-9999.ebuild b/gentoo/trinity-base/kdvi/kdvi-9999.ebuild
new file mode 100644
index 000000000..4d005d9ec
--- /dev/null
+++ b/gentoo/trinity-base/kdvi/kdvi-9999.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdegraphics"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity DVI viewer"
+KEYWORDS=
+IUSE=""
+
+DEPEND="media-libs/freetype:2
+ >=trinity-base/kviewshell-${PV}:${SLOT}"
+RDEPEND="$DEPEND"
+
+TSM_EXTRACT_ALSO="kviewshell"
diff --git a/gentoo/trinity-base/kdvi/metadata.xml b/gentoo/trinity-base/kdvi/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kdvi/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kedit/Manifest b/gentoo/trinity-base/kedit/Manifest
new file mode 100644
index 000000000..c59ac62b4
--- /dev/null
+++ b/gentoo/trinity-base/kedit/Manifest
@@ -0,0 +1,2 @@
+DIST kdeutils-3.5.13.1.tar.gz 2829393 SHA256 3e7ab07fe1bb3e7be7ac3a3796366c88d3b79a58af911546e2c65e32363db527 SHA512 48733e472d0f5da85ef8a32ed6db7fa5e61f0682e49842439e6ea38a1e407059bb35efffe41fc6ed1a718511fd5b2b2c8222d816a23500a4dcbca17461f9a3bd WHIRLPOOL 1488e0c44f60b4d5e397dd2cf93de048eae1b915d4b2b7b1cf27768946f5aae3b5bcc3971ee28b5fa6a57a0b94cca6db0866138b69ad74f1f7bb97cdaaebdbe2
+DIST kdeutils-trinity-3.5.13.2.tar.xz 2259232 SHA256 b2999b9ef39bb2f269b84fdf34a814b5a5599aae7d05538d0bf680c18fb334fa SHA512 f501aa4b61bf440e873eec96f09c0c24ad780db2f9f14b884001c04c04aafccb5afb2b492dcf4fc640f3ec35d86aa419d67936122648a986662cd7b7f4f8a2d8 WHIRLPOOL 49296006875250212f0fdeb0c90c4f69cf0aa7cfd38415e2f7b50bdf81754de64562df2400f4932a502adbe84b58be34cae6c029d68cc62d0e91de5158513239
diff --git a/gentoo/trinity-base/kedit/files/shared b/gentoo/trinity-base/kedit/files/shared
new file mode 120000
index 000000000..af62be31d
--- /dev/null
+++ b/gentoo/trinity-base/kedit/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files/ \ No newline at end of file
diff --git a/gentoo/trinity-base/kedit/kedit-3.5.13.1.ebuild b/gentoo/trinity-base/kedit/kedit-3.5.13.1.ebuild
new file mode 100644
index 000000000..6af68e16f
--- /dev/null
+++ b/gentoo/trinity-base/kedit/kedit-3.5.13.1.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="Very simple text editor for Trinity"
+KEYWORDS="amd64 x86"
+IUSE=""
diff --git a/gentoo/trinity-base/kedit/kedit-3.5.13.2.ebuild b/gentoo/trinity-base/kedit/kedit-3.5.13.2.ebuild
new file mode 100644
index 000000000..58597d19a
--- /dev/null
+++ b/gentoo/trinity-base/kedit/kedit-3.5.13.2.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="Very simple text editor for Trinity"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
diff --git a/gentoo/trinity-base/kedit/kedit-9999.ebuild b/gentoo/trinity-base/kedit/kedit-9999.ebuild
new file mode 100644
index 000000000..86d80ad5f
--- /dev/null
+++ b/gentoo/trinity-base/kedit/kedit-9999.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="Very simple text editor for Trinity"
+KEYWORDS=""
+IUSE=""
diff --git a/gentoo/trinity-base/kedit/metadata.xml b/gentoo/trinity-base/kedit/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kedit/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kfax/Manifest b/gentoo/trinity-base/kfax/Manifest
new file mode 100644
index 000000000..f0ba54e9a
--- /dev/null
+++ b/gentoo/trinity-base/kfax/Manifest
@@ -0,0 +1 @@
+DIST kdegraphics-3.5.13.1.tar.gz 7526074 SHA256 19bd36e261bb6c5d2c9c1eba5f736c642b48422d917d44e576835f7ebb44906b SHA512 693e5ad70dbb00c587e588acfb81fc9475c3a4dbc86f41d6053c0584c533349a7564e34b870cb7bbc57361ac539da6f7d7f1b002ac3cfe8b0201db3eeb9147dd WHIRLPOOL fd2c46c517b3a0293880eaf35967295485555b936d0f1e80e0f2c261a1164cfcc5c4b2d943a12c073914d33b59974cc2dd92a78414614caa10f46dd048d518b4
diff --git a/gentoo/trinity-base/kfax/kfax-3.5.13.1.ebuild b/gentoo/trinity-base/kfax/kfax-3.5.13.1.ebuild
new file mode 100644
index 000000000..eaf2c2b1f
--- /dev/null
+++ b/gentoo/trinity-base/kfax/kfax-3.5.13.1.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdegraphics"
+TRINITY_SUBMODULE="kfax kfaxview"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity G3/G4 fax viewer"
+KEYWORDS="x86 amd64"
+IUSE=""
+
+DEPEND=">=trinity-base/kviewshell-${PV}:${SLOT}"
+RDEPEND="$DEPEND"
+
+TSM_EXTRACT_ALSO="kviewshell"
diff --git a/gentoo/trinity-base/kfax/kfax-9999.ebuild b/gentoo/trinity-base/kfax/kfax-9999.ebuild
new file mode 100644
index 000000000..e7b052b70
--- /dev/null
+++ b/gentoo/trinity-base/kfax/kfax-9999.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdegraphics"
+TRINITY_SUBMODULE="kfax kfaxview"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity G3/G4 fax viewer"
+KEYWORDS=
+IUSE=""
+
+DEPEND=">=trinity-base/kviewshell-${PV}:${SLOT}"
+RDEPEND="$DEPEND"
+
+TSM_EXTRACT_ALSO="kviewshell"
diff --git a/gentoo/trinity-base/kfax/metadata.xml b/gentoo/trinity-base/kfax/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kfax/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kfind/Manifest b/gentoo/trinity-base/kfind/Manifest
new file mode 100644
index 000000000..381340c4b
--- /dev/null
+++ b/gentoo/trinity-base/kfind/Manifest
@@ -0,0 +1,2 @@
+DIST kdebase-3.5.13.1.tar.gz 29403228 SHA256 ddd4bd4b508ad027b9d1af2701c6ba64bfc9f8f1d32099e6dd5e7866714f759e SHA512 e1aac19c941a5f2b43a57928fdb43e5ebd646f49c60911d9d317550df96642870792c4e77ecd06e123244e2425ccd4bcb00f0a21011ba7e651d7fcf4553e79cf WHIRLPOOL 931debbf6a65c280221025dcbc02cbb3387b66eb72eddd28a510ee8f97075cd2cc96535dde25d0a32280c399e4a868e9c027772f5d28e7e79b7c1a9080c58034
+DIST kdebase-trinity-3.5.13.2.tar.xz 25890636 SHA256 b9d552226daff64437dfb9699669b95dd7ebc2ca7c43755ba71c10cc6c9ed789 SHA512 df545d44c7d4550d1d77ff6504572b622853c2b8d80062b1aee1a5bdca19f0e708cde35cff54cf2d5098f06a41bde0c89522a3958dea9bb18205dea87c11b797 WHIRLPOOL 79144273bc7985c59a593a3394b12a2053532d2c4c890ce96adad21f6de0413baf3c6270d6d06173ec4546b20d401aa0cc81603d01b8ee41dbdefc825b39b2b1
diff --git a/gentoo/trinity-base/kfind/files/shared b/gentoo/trinity-base/kfind/files/shared
new file mode 120000
index 000000000..ffc286806
--- /dev/null
+++ b/gentoo/trinity-base/kfind/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files \ No newline at end of file
diff --git a/gentoo/trinity-base/kfind/kfind-3.5.13.1.ebuild b/gentoo/trinity-base/kfind/kfind-3.5.13.1.ebuild
new file mode 100644
index 000000000..552bb9f1a
--- /dev/null
+++ b/gentoo/trinity-base/kfind/kfind-3.5.13.1.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity file find utility"
+KEYWORDS="x86 amd64"
+IUSE=""
+
+DEPEND=">=trinity-base/libkonq-${PV}:${SLOT}"
+RDEPEND="${DEPEND}"
diff --git a/gentoo/trinity-base/kfind/kfind-3.5.13.2.ebuild b/gentoo/trinity-base/kfind/kfind-3.5.13.2.ebuild
new file mode 100644
index 000000000..23759c233
--- /dev/null
+++ b/gentoo/trinity-base/kfind/kfind-3.5.13.2.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity file find utility"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=trinity-base/libkonq-${PV}:${SLOT}"
+RDEPEND="${DEPEND}"
diff --git a/gentoo/trinity-base/kfind/kfind-9999.ebuild b/gentoo/trinity-base/kfind/kfind-9999.ebuild
new file mode 100644
index 000000000..16797daf9
--- /dev/null
+++ b/gentoo/trinity-base/kfind/kfind-9999.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity file find utility"
+KEYWORDS=
+IUSE=""
+
+DEPEND=">=trinity-base/libkonq-${PV}:${SLOT}"
+RDEPEND="${DEPEND}"
diff --git a/gentoo/trinity-base/kfind/metadata.xml b/gentoo/trinity-base/kfind/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kfind/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kfloppy/Manifest b/gentoo/trinity-base/kfloppy/Manifest
new file mode 100644
index 000000000..c59ac62b4
--- /dev/null
+++ b/gentoo/trinity-base/kfloppy/Manifest
@@ -0,0 +1,2 @@
+DIST kdeutils-3.5.13.1.tar.gz 2829393 SHA256 3e7ab07fe1bb3e7be7ac3a3796366c88d3b79a58af911546e2c65e32363db527 SHA512 48733e472d0f5da85ef8a32ed6db7fa5e61f0682e49842439e6ea38a1e407059bb35efffe41fc6ed1a718511fd5b2b2c8222d816a23500a4dcbca17461f9a3bd WHIRLPOOL 1488e0c44f60b4d5e397dd2cf93de048eae1b915d4b2b7b1cf27768946f5aae3b5bcc3971ee28b5fa6a57a0b94cca6db0866138b69ad74f1f7bb97cdaaebdbe2
+DIST kdeutils-trinity-3.5.13.2.tar.xz 2259232 SHA256 b2999b9ef39bb2f269b84fdf34a814b5a5599aae7d05538d0bf680c18fb334fa SHA512 f501aa4b61bf440e873eec96f09c0c24ad780db2f9f14b884001c04c04aafccb5afb2b492dcf4fc640f3ec35d86aa419d67936122648a986662cd7b7f4f8a2d8 WHIRLPOOL 49296006875250212f0fdeb0c90c4f69cf0aa7cfd38415e2f7b50bdf81754de64562df2400f4932a502adbe84b58be34cae6c029d68cc62d0e91de5158513239
diff --git a/gentoo/trinity-base/kfloppy/files/shared b/gentoo/trinity-base/kfloppy/files/shared
new file mode 120000
index 000000000..af62be31d
--- /dev/null
+++ b/gentoo/trinity-base/kfloppy/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files/ \ No newline at end of file
diff --git a/gentoo/trinity-base/kfloppy/kfloppy-3.5.13.1.ebuild b/gentoo/trinity-base/kfloppy/kfloppy-3.5.13.1.ebuild
new file mode 100644
index 000000000..73039d769
--- /dev/null
+++ b/gentoo/trinity-base/kfloppy/kfloppy-3.5.13.1.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="KFloppy - formats disks and puts a DOS or ext2fs filesystem on them."
+KEYWORDS="x86 amd64"
+IUSE=""
diff --git a/gentoo/trinity-base/kfloppy/kfloppy-3.5.13.2.ebuild b/gentoo/trinity-base/kfloppy/kfloppy-3.5.13.2.ebuild
new file mode 100644
index 000000000..b9e13145a
--- /dev/null
+++ b/gentoo/trinity-base/kfloppy/kfloppy-3.5.13.2.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="KFloppy - formats disks and puts a DOS or ext2fs filesystem on them."
+KEYWORDS="~x86 ~amd64"
+IUSE=""
diff --git a/gentoo/trinity-base/kfloppy/kfloppy-9999.ebuild b/gentoo/trinity-base/kfloppy/kfloppy-9999.ebuild
new file mode 100644
index 000000000..dbc857843
--- /dev/null
+++ b/gentoo/trinity-base/kfloppy/kfloppy-9999.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="KFloppy - formats disks and puts a DOS or ext2fs filesystem on them."
+KEYWORDS=""
+IUSE=""
diff --git a/gentoo/trinity-base/kfloppy/metadata.xml b/gentoo/trinity-base/kfloppy/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kfloppy/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kgamma/Manifest b/gentoo/trinity-base/kgamma/Manifest
new file mode 100644
index 000000000..f0ba54e9a
--- /dev/null
+++ b/gentoo/trinity-base/kgamma/Manifest
@@ -0,0 +1 @@
+DIST kdegraphics-3.5.13.1.tar.gz 7526074 SHA256 19bd36e261bb6c5d2c9c1eba5f736c642b48422d917d44e576835f7ebb44906b SHA512 693e5ad70dbb00c587e588acfb81fc9475c3a4dbc86f41d6053c0584c533349a7564e34b870cb7bbc57361ac539da6f7d7f1b002ac3cfe8b0201db3eeb9147dd WHIRLPOOL fd2c46c517b3a0293880eaf35967295485555b936d0f1e80e0f2c261a1164cfcc5c4b2d943a12c073914d33b59974cc2dd92a78414614caa10f46dd048d518b4
diff --git a/gentoo/trinity-base/kgamma/kgamma-3.5.13.1.ebuild b/gentoo/trinity-base/kgamma/kgamma-3.5.13.1.ebuild
new file mode 100644
index 000000000..889c4450f
--- /dev/null
+++ b/gentoo/trinity-base/kgamma/kgamma-3.5.13.1.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdegraphics"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity screen gamma values kcontrol module"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND=">=trinity-base/kcontrol-${PV}:${SLOT}"
+RDEPEND="${DEPEND}"
diff --git a/gentoo/trinity-base/kgamma/kgamma-9999.ebuild b/gentoo/trinity-base/kgamma/kgamma-9999.ebuild
new file mode 100644
index 000000000..8489cadd7
--- /dev/null
+++ b/gentoo/trinity-base/kgamma/kgamma-9999.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdegraphics"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity screen gamma values kcontrol module"
+KEYWORDS=
+IUSE=""
+
+DEPEND=">=trinity-base/kcontrol-${PV}:${SLOT}"
+RDEPEND="${DEPEND}"
diff --git a/gentoo/trinity-base/kgamma/metadata.xml b/gentoo/trinity-base/kgamma/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kgamma/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kgantt/Manifest b/gentoo/trinity-base/kgantt/Manifest
new file mode 100644
index 000000000..d6ce26a13
--- /dev/null
+++ b/gentoo/trinity-base/kgantt/Manifest
@@ -0,0 +1 @@
+DIST kdepim-trinity-3.5.13.2.tar.xz 10148724 SHA256 2cbd61e28322e4c7d67ffb16ac59329b3f15ba1a4485095994b9bce6786df7c4 SHA512 a84319183813dc78dc97397c8c3871faa3961b458eda8107525b8b9c6789d13aedd8e3c7cb0706c4ca8dd63f69ff67de02716219c8af44ebf96d484d820eb2bf WHIRLPOOL 907d9d86f1b0094b915989ca7f0feb4f67ac1b238a4c6d176ab1ef9164eff78778b2714ebedeb40de28536a8384b39ec7e637f1bb6911cccb40f7d8663811edb
diff --git a/gentoo/trinity-base/kgantt/kgantt-3.5.13.2.ebuild b/gentoo/trinity-base/kgantt/kgantt-3.5.13.2.ebuild
new file mode 100644
index 000000000..f0ba5600e
--- /dev/null
+++ b/gentoo/trinity-base/kgantt/kgantt-3.5.13.2.ebuild
@@ -0,0 +1,13 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdepim"
+
+inherit trinity-meta
+
+DESCRIPTION="A Trinity library for drawing and editing gantt-diagramms"
+KEYWORDS="~amd64 ~x86"
+IUSE+=""
+
+TSM_EXTRACT_ALSO="libkdepim/"
diff --git a/gentoo/trinity-base/kgantt/kgantt-9999.ebuild b/gentoo/trinity-base/kgantt/kgantt-9999.ebuild
new file mode 100644
index 000000000..1ae99ee94
--- /dev/null
+++ b/gentoo/trinity-base/kgantt/kgantt-9999.ebuild
@@ -0,0 +1,13 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdepim"
+
+inherit trinity-meta
+
+DESCRIPTION="A Trinity library for drawing and editing gantt-diagramms"
+KEYWORDS=""
+IUSE+=""
+
+TSM_EXTRACT_ALSO="libtdepim/"
diff --git a/gentoo/trinity-base/kgantt/metadata.xml b/gentoo/trinity-base/kgantt/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kgantt/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kget/Manifest b/gentoo/trinity-base/kget/Manifest
new file mode 100644
index 000000000..1d49700dc
--- /dev/null
+++ b/gentoo/trinity-base/kget/Manifest
@@ -0,0 +1 @@
+DIST kdenetwork-3.5.13.1.tar.gz 8794225 SHA256 21e69e8cb2550561c26913a5cccdc376115f50cffd43f9a94f7a660a303f46f9 SHA512 b3189a9f5e9cddd130b24a82b95ef90db1ec3c7afa280a46101ba7cbf6f9d92f60a536401f648a96459ba87f70ede5f7ae4affe894515a8e858b40ee79cb1b69 WHIRLPOOL de678ab30e3aa8dc3068c895fd000fdab1bc046e272273bf44196a198210efab82ddde3c5e0ffaa863061e9c56e3a8a68ca2f8f03cd77136755f66688f878c65
diff --git a/gentoo/trinity-base/kget/kget-3.5.13.1.ebuild b/gentoo/trinity-base/kget/kget-3.5.13.1.ebuild
new file mode 100644
index 000000000..ac764885d
--- /dev/null
+++ b/gentoo/trinity-base/kget/kget-3.5.13.1.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdenetwork"
+
+inherit trinity-meta
+
+DESCRIPTION="An advanced download manager for Trinity"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="x11-libs/libXext"
+RDEPEND="${DEPEND}"
diff --git a/gentoo/trinity-base/kget/kget-9999.ebuild b/gentoo/trinity-base/kget/kget-9999.ebuild
new file mode 100644
index 000000000..509f2e386
--- /dev/null
+++ b/gentoo/trinity-base/kget/kget-9999.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdenetwork"
+
+inherit trinity-meta
+
+DESCRIPTION="An advanced download manager for Trinity"
+KEYWORDS=
+IUSE=""
+
+DEPEND="x11-libs/libXext"
+RDEPEND="${DEPEND}"
diff --git a/gentoo/trinity-base/kget/metadata.xml b/gentoo/trinity-base/kget/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kget/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kghostview/Manifest b/gentoo/trinity-base/kghostview/Manifest
new file mode 100644
index 000000000..f0ba54e9a
--- /dev/null
+++ b/gentoo/trinity-base/kghostview/Manifest
@@ -0,0 +1 @@
+DIST kdegraphics-3.5.13.1.tar.gz 7526074 SHA256 19bd36e261bb6c5d2c9c1eba5f736c642b48422d917d44e576835f7ebb44906b SHA512 693e5ad70dbb00c587e588acfb81fc9475c3a4dbc86f41d6053c0584c533349a7564e34b870cb7bbc57361ac539da6f7d7f1b002ac3cfe8b0201db3eeb9147dd WHIRLPOOL fd2c46c517b3a0293880eaf35967295485555b936d0f1e80e0f2c261a1164cfcc5c4b2d943a12c073914d33b59974cc2dd92a78414614caa10f46dd048d518b4
diff --git a/gentoo/trinity-base/kghostview/files/tdegraphics-fix-kghostview-parallel-compilation.patch b/gentoo/trinity-base/kghostview/files/tdegraphics-fix-kghostview-parallel-compilation.patch
new file mode 100644
index 000000000..3aa8138a6
--- /dev/null
+++ b/gentoo/trinity-base/kghostview/files/tdegraphics-fix-kghostview-parallel-compilation.patch
@@ -0,0 +1,24 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index c87ee85..09c3cfa 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -95,7 +95,8 @@ set( CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined" )
+
+ ##### tdegraphics directories ###################
+
+-if( BUILD_KFILE_PLUGINS OR BUILD_GHOSTKVIEW )
++# kghostview/ps requires dscparse-static library
++if( BUILD_KFILE_PLUGINS AND NOT BUILD_KGHOSTVIEW )
+ add_subdirectory( kghostview/dscparse )
+ endif( )
+
+--- a/kghostview/CMakeLists.txt
++++ b/kghostview/CMakeLists.txt
+@@ -10,6 +10,7 @@
+ #################################################
+
+ add_subdirectory( data )
++add_subdirectory( dscparse )
+
+ include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
diff --git a/gentoo/trinity-base/kghostview/kghostview-3.5.13.1.ebuild b/gentoo/trinity-base/kghostview/kghostview-3.5.13.1.ebuild
new file mode 100644
index 000000000..32b936066
--- /dev/null
+++ b/gentoo/trinity-base/kghostview/kghostview-3.5.13.1.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdegraphics"
+
+inherit trinity-meta
+
+DESCRIPTION="A Trinity Viewer for PostScript (.ps, .eps) and PDF (.pdf) files"
+KEYWORDS="x86 amd64"
+IUSE=""
+
+DEPEND="x11-libs/libXft"
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/tdegraphics-fix-${PN}-parallel-compilation.patch" )
diff --git a/gentoo/trinity-base/kghostview/kghostview-9999.ebuild b/gentoo/trinity-base/kghostview/kghostview-9999.ebuild
new file mode 100644
index 000000000..49c41a7b1
--- /dev/null
+++ b/gentoo/trinity-base/kghostview/kghostview-9999.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdegraphics"
+
+inherit trinity-meta
+
+DESCRIPTION="A Trinity Viewer for PostScript (.ps, .eps) and PDF (.pdf) files"
+KEYWORDS=
+IUSE=""
+
+DEPEND="x11-libs/libXft"
+RDEPEND="${DEPEND}"
diff --git a/gentoo/trinity-base/kghostview/metadata.xml b/gentoo/trinity-base/kghostview/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kghostview/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kgpg/Manifest b/gentoo/trinity-base/kgpg/Manifest
new file mode 100644
index 000000000..c59ac62b4
--- /dev/null
+++ b/gentoo/trinity-base/kgpg/Manifest
@@ -0,0 +1,2 @@
+DIST kdeutils-3.5.13.1.tar.gz 2829393 SHA256 3e7ab07fe1bb3e7be7ac3a3796366c88d3b79a58af911546e2c65e32363db527 SHA512 48733e472d0f5da85ef8a32ed6db7fa5e61f0682e49842439e6ea38a1e407059bb35efffe41fc6ed1a718511fd5b2b2c8222d816a23500a4dcbca17461f9a3bd WHIRLPOOL 1488e0c44f60b4d5e397dd2cf93de048eae1b915d4b2b7b1cf27768946f5aae3b5bcc3971ee28b5fa6a57a0b94cca6db0866138b69ad74f1f7bb97cdaaebdbe2
+DIST kdeutils-trinity-3.5.13.2.tar.xz 2259232 SHA256 b2999b9ef39bb2f269b84fdf34a814b5a5599aae7d05538d0bf680c18fb334fa SHA512 f501aa4b61bf440e873eec96f09c0c24ad780db2f9f14b884001c04c04aafccb5afb2b492dcf4fc640f3ec35d86aa419d67936122648a986662cd7b7f4f8a2d8 WHIRLPOOL 49296006875250212f0fdeb0c90c4f69cf0aa7cfd38415e2f7b50bdf81754de64562df2400f4932a502adbe84b58be34cae6c029d68cc62d0e91de5158513239
diff --git a/gentoo/trinity-base/kgpg/files/shared b/gentoo/trinity-base/kgpg/files/shared
new file mode 120000
index 000000000..af62be31d
--- /dev/null
+++ b/gentoo/trinity-base/kgpg/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files/ \ No newline at end of file
diff --git a/gentoo/trinity-base/kgpg/kgpg-3.5.13.1.ebuild b/gentoo/trinity-base/kgpg/kgpg-3.5.13.1.ebuild
new file mode 100644
index 000000000..c2a70ea3e
--- /dev/null
+++ b/gentoo/trinity-base/kgpg/kgpg-3.5.13.1.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity gpg keyring manager"
+KEYWORDS="x86 amd64"
+IUSE=""
+
+RDEPEND="app-crypt/gnupg
+ || ( app-crypt/pinentry[qt4]
+ app-crypt/pinentry[gtk]
+ app-crypt/pinentry[qt3] )"
diff --git a/gentoo/trinity-base/kgpg/kgpg-3.5.13.2.ebuild b/gentoo/trinity-base/kgpg/kgpg-3.5.13.2.ebuild
new file mode 100644
index 000000000..b68853718
--- /dev/null
+++ b/gentoo/trinity-base/kgpg/kgpg-3.5.13.2.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity gpg keyring manager"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+RDEPEND="app-crypt/gnupg
+ || ( app-crypt/pinentry[qt4]
+ app-crypt/pinentry[gtk]
+ app-crypt/pinentry[qt3] )"
diff --git a/gentoo/trinity-base/kgpg/kgpg-9999.ebuild b/gentoo/trinity-base/kgpg/kgpg-9999.ebuild
new file mode 100644
index 000000000..6cbbb4f9e
--- /dev/null
+++ b/gentoo/trinity-base/kgpg/kgpg-9999.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity gpg keyring manager"
+KEYWORDS=""
+IUSE=""
+
+RDEPEND="app-crypt/gnupg
+ || ( app-crypt/pinentry[qt4]
+ app-crypt/pinentry[gtk]
+ app-crypt/pinentry[qt3] )"
diff --git a/gentoo/trinity-base/kgpg/metadata.xml b/gentoo/trinity-base/kgpg/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kgpg/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/khelpcenter/Manifest b/gentoo/trinity-base/khelpcenter/Manifest
new file mode 100644
index 000000000..381340c4b
--- /dev/null
+++ b/gentoo/trinity-base/khelpcenter/Manifest
@@ -0,0 +1,2 @@
+DIST kdebase-3.5.13.1.tar.gz 29403228 SHA256 ddd4bd4b508ad027b9d1af2701c6ba64bfc9f8f1d32099e6dd5e7866714f759e SHA512 e1aac19c941a5f2b43a57928fdb43e5ebd646f49c60911d9d317550df96642870792c4e77ecd06e123244e2425ccd4bcb00f0a21011ba7e651d7fcf4553e79cf WHIRLPOOL 931debbf6a65c280221025dcbc02cbb3387b66eb72eddd28a510ee8f97075cd2cc96535dde25d0a32280c399e4a868e9c027772f5d28e7e79b7c1a9080c58034
+DIST kdebase-trinity-3.5.13.2.tar.xz 25890636 SHA256 b9d552226daff64437dfb9699669b95dd7ebc2ca7c43755ba71c10cc6c9ed789 SHA512 df545d44c7d4550d1d77ff6504572b622853c2b8d80062b1aee1a5bdca19f0e708cde35cff54cf2d5098f06a41bde0c89522a3958dea9bb18205dea87c11b797 WHIRLPOOL 79144273bc7985c59a593a3394b12a2053532d2c4c890ce96adad21f6de0413baf3c6270d6d06173ec4546b20d401aa0cc81603d01b8ee41dbdefc825b39b2b1
diff --git a/gentoo/trinity-base/khelpcenter/files/shared b/gentoo/trinity-base/khelpcenter/files/shared
new file mode 120000
index 000000000..ffc286806
--- /dev/null
+++ b/gentoo/trinity-base/khelpcenter/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files \ No newline at end of file
diff --git a/gentoo/trinity-base/khelpcenter/khelpcenter-3.5.13.1.ebuild b/gentoo/trinity-base/khelpcenter/khelpcenter-3.5.13.1.ebuild
new file mode 100644
index 000000000..54416f1cb
--- /dev/null
+++ b/gentoo/trinity-base/khelpcenter/khelpcenter-3.5.13.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+TRINITY_SUBMODULE="khelpcenter doc"
+
+DESCRIPTION="The Trinity help center."
+KEYWORDS="x86 amd64"
+
+RDEPEND="
+ >=trinity-base/kdebase-kioslaves-${PV}:${SLOT}
+ >=www-misc/htdig-3.2.0_beta6-r1"
+IUSE=""
+
+pkg_setup() {
+ # we should reduce MAKEOPTS -j parametr to no more than 4
+ local makeopts_j
+ makeopts_j="$(echo "$MAKEOPTS" | sed -n 's/\(^\|.*\s\)\(-j\s*[0-9]\+\)\(\s.*\|$\)/\2/p')"
+ if [ -n "$makeopts_j" -a "$makeopts_j" > 4 ]; then
+ export MAKEOPTS="${MAKEOPTS//"${makeopts_j}"/-j4}"
+
+ ewarn "This ebuild needs huge amoumt of memmory to compile in highly parallel"
+ ewarn "mode so it can chew it all. MAKEOPTS are reduced to \"$MAKEOPTS\"."
+ fi
+
+ trinity-meta_pkg_setup
+}
diff --git a/gentoo/trinity-base/khelpcenter/khelpcenter-3.5.13.2.ebuild b/gentoo/trinity-base/khelpcenter/khelpcenter-3.5.13.2.ebuild
new file mode 100644
index 000000000..dda48c60b
--- /dev/null
+++ b/gentoo/trinity-base/khelpcenter/khelpcenter-3.5.13.2.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+TRINITY_SUBMODULE="khelpcenter doc"
+
+DESCRIPTION="The Trinity help center."
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ >=trinity-base/kdebase-kioslaves-${PV}:${SLOT}
+ >=www-misc/htdig-3.2.0_beta6-r1"
+IUSE=""
+
+pkg_setup() {
+ # we should reduce MAKEOPTS -j parametr to no more than 4
+ local makeopts_j
+ makeopts_j="$(echo "$MAKEOPTS" | sed -n 's/\(^\|.*\s\)\(-j\s*[0-9]\+\)\(\s.*\|$\)/\2/p')"
+ if [ -n "$makeopts_j" -a "$makeopts_j" > 4 ]; then
+ export MAKEOPTS="${MAKEOPTS//"${makeopts_j}"/-j4}"
+
+ ewarn "This ebuild needs huge amoumt of memmory to compile in highly parallel"
+ ewarn "mode so it can chew it all. MAKEOPTS are reduced to \"$MAKEOPTS\"."
+ fi
+
+ trinity-meta_pkg_setup
+}
diff --git a/gentoo/trinity-base/khelpcenter/khelpcenter-9999.ebuild b/gentoo/trinity-base/khelpcenter/khelpcenter-9999.ebuild
new file mode 100644
index 000000000..a2273cb4b
--- /dev/null
+++ b/gentoo/trinity-base/khelpcenter/khelpcenter-9999.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdebase"
+
+inherit trinity-meta
+TRINITY_SUBMODULE="khelpcenter doc"
+
+DESCRIPTION="The Trinity help center."
+KEYWORDS=
+
+RDEPEND="
+ >=trinity-base/tdebase-tdeioslaves-${PV}:${SLOT}
+ >=www-misc/htdig-3.2.0_beta6-r1"
+IUSE=""
+
+pkg_setup() {
+ # we should reduce MAKEOPTS -j parametr to no more than 4
+ local makeopts_j
+ makeopts_j="$(echo "$MAKEOPTS" | sed -n 's/\(^\|.*\s\)\(-j\s*[0-9]\+\)\(\s.*\|$\)/\2/p')"
+ if [ -n "$makeopts_j" -a "$makeopts_j" > 4 ]; then
+ export MAKEOPTS="${MAKEOPTS//"${makeopts_j}"/-j4}"
+
+ ewarn "This ebuild needs huge amoumt of memmory to compile in highly parallel"
+ ewarn "mode so it can chew it all. MAKEOPTS are reduced to \"$MAKEOPTS\"."
+ fi
+
+ trinity-meta_pkg_setup
+}
diff --git a/gentoo/trinity-base/khelpcenter/metadata.xml b/gentoo/trinity-base/khelpcenter/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/khelpcenter/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/khexedit/Manifest b/gentoo/trinity-base/khexedit/Manifest
new file mode 100644
index 000000000..c59ac62b4
--- /dev/null
+++ b/gentoo/trinity-base/khexedit/Manifest
@@ -0,0 +1,2 @@
+DIST kdeutils-3.5.13.1.tar.gz 2829393 SHA256 3e7ab07fe1bb3e7be7ac3a3796366c88d3b79a58af911546e2c65e32363db527 SHA512 48733e472d0f5da85ef8a32ed6db7fa5e61f0682e49842439e6ea38a1e407059bb35efffe41fc6ed1a718511fd5b2b2c8222d816a23500a4dcbca17461f9a3bd WHIRLPOOL 1488e0c44f60b4d5e397dd2cf93de048eae1b915d4b2b7b1cf27768946f5aae3b5bcc3971ee28b5fa6a57a0b94cca6db0866138b69ad74f1f7bb97cdaaebdbe2
+DIST kdeutils-trinity-3.5.13.2.tar.xz 2259232 SHA256 b2999b9ef39bb2f269b84fdf34a814b5a5599aae7d05538d0bf680c18fb334fa SHA512 f501aa4b61bf440e873eec96f09c0c24ad780db2f9f14b884001c04c04aafccb5afb2b492dcf4fc640f3ec35d86aa419d67936122648a986662cd7b7f4f8a2d8 WHIRLPOOL 49296006875250212f0fdeb0c90c4f69cf0aa7cfd38415e2f7b50bdf81754de64562df2400f4932a502adbe84b58be34cae6c029d68cc62d0e91de5158513239
diff --git a/gentoo/trinity-base/khexedit/files/shared b/gentoo/trinity-base/khexedit/files/shared
new file mode 120000
index 000000000..af62be31d
--- /dev/null
+++ b/gentoo/trinity-base/khexedit/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files/ \ No newline at end of file
diff --git a/gentoo/trinity-base/khexedit/khexedit-3.5.13.1.ebuild b/gentoo/trinity-base/khexedit/khexedit-3.5.13.1.ebuild
new file mode 100644
index 000000000..46f83b7e0
--- /dev/null
+++ b/gentoo/trinity-base/khexedit/khexedit-3.5.13.1.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity hex editor"
+KEYWORDS="x86 amd64"
+IUSE=""
diff --git a/gentoo/trinity-base/khexedit/khexedit-3.5.13.2.ebuild b/gentoo/trinity-base/khexedit/khexedit-3.5.13.2.ebuild
new file mode 100644
index 000000000..7af916976
--- /dev/null
+++ b/gentoo/trinity-base/khexedit/khexedit-3.5.13.2.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity hex editor"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
diff --git a/gentoo/trinity-base/khexedit/khexedit-9999.ebuild b/gentoo/trinity-base/khexedit/khexedit-9999.ebuild
new file mode 100644
index 000000000..b41ff837d
--- /dev/null
+++ b/gentoo/trinity-base/khexedit/khexedit-9999.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity hex editor"
+KEYWORDS=""
+IUSE=""
diff --git a/gentoo/trinity-base/khexedit/metadata.xml b/gentoo/trinity-base/khexedit/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/khexedit/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/khotkeys/Manifest b/gentoo/trinity-base/khotkeys/Manifest
new file mode 100644
index 000000000..381340c4b
--- /dev/null
+++ b/gentoo/trinity-base/khotkeys/Manifest
@@ -0,0 +1,2 @@
+DIST kdebase-3.5.13.1.tar.gz 29403228 SHA256 ddd4bd4b508ad027b9d1af2701c6ba64bfc9f8f1d32099e6dd5e7866714f759e SHA512 e1aac19c941a5f2b43a57928fdb43e5ebd646f49c60911d9d317550df96642870792c4e77ecd06e123244e2425ccd4bcb00f0a21011ba7e651d7fcf4553e79cf WHIRLPOOL 931debbf6a65c280221025dcbc02cbb3387b66eb72eddd28a510ee8f97075cd2cc96535dde25d0a32280c399e4a868e9c027772f5d28e7e79b7c1a9080c58034
+DIST kdebase-trinity-3.5.13.2.tar.xz 25890636 SHA256 b9d552226daff64437dfb9699669b95dd7ebc2ca7c43755ba71c10cc6c9ed789 SHA512 df545d44c7d4550d1d77ff6504572b622853c2b8d80062b1aee1a5bdca19f0e708cde35cff54cf2d5098f06a41bde0c89522a3958dea9bb18205dea87c11b797 WHIRLPOOL 79144273bc7985c59a593a3394b12a2053532d2c4c890ce96adad21f6de0413baf3c6270d6d06173ec4546b20d401aa0cc81603d01b8ee41dbdefc825b39b2b1
diff --git a/gentoo/trinity-base/khotkeys/files/shared b/gentoo/trinity-base/khotkeys/files/shared
new file mode 120000
index 000000000..ffc286806
--- /dev/null
+++ b/gentoo/trinity-base/khotkeys/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files \ No newline at end of file
diff --git a/gentoo/trinity-base/khotkeys/khotkeys-3.5.13.1.ebuild b/gentoo/trinity-base/khotkeys/khotkeys-3.5.13.1.ebuild
new file mode 100644
index 000000000..ed7aa263a
--- /dev/null
+++ b/gentoo/trinity-base/khotkeys/khotkeys-3.5.13.1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity hotkey daemon"
+KEYWORDS="x86 amd64"
+IUSE="arts"
+
+DEPEND="
+ arts? ( >=trinity-base/arts-${PV}:${SLOT} )
+ x11-libs/libXtst"
+RDEPEND="$DEPEND"
+
+src_configure() {
+ mycmakeargs=(
+ -D_WITH_XTEST=ON
+ $(cmake-utils_use_with arts ARTS)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/khotkeys/khotkeys-3.5.13.2.ebuild b/gentoo/trinity-base/khotkeys/khotkeys-3.5.13.2.ebuild
new file mode 100644
index 000000000..e469535a8
--- /dev/null
+++ b/gentoo/trinity-base/khotkeys/khotkeys-3.5.13.2.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity hotkey daemon"
+KEYWORDS="~amd64 ~x86"
+IUSE="arts"
+
+DEPEND="
+ arts? ( >=trinity-base/arts-${PV}:${SLOT} )
+ x11-libs/libXtst"
+RDEPEND="$DEPEND"
+
+src_configure() {
+ mycmakeargs=(
+ -D_WITH_XTEST=ON
+ $(cmake-utils_use_with arts ARTS)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/khotkeys/khotkeys-9999.ebuild b/gentoo/trinity-base/khotkeys/khotkeys-9999.ebuild
new file mode 100644
index 000000000..2bb16525b
--- /dev/null
+++ b/gentoo/trinity-base/khotkeys/khotkeys-9999.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdebase"
+
+inherit trinity-meta
+
+need-arts optional
+
+DESCRIPTION="Trinity hotkey daemon"
+KEYWORDS=""
+
+DEPEND+=" x11-libs/libXtst"
+RDEPEND+=" x11-libs/libXtst"
+
+src_configure() {
+ mycmakeargs=(
+ -D_WITH_XTEST=ON
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/khotkeys/metadata.xml b/gentoo/trinity-base/khotkeys/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/khotkeys/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kicker-applets/kicker-applets-9999.ebuild b/gentoo/trinity-base/kicker-applets/kicker-applets-9999.ebuild
new file mode 100644
index 000000000..38bd968f8
--- /dev/null
+++ b/gentoo/trinity-base/kicker-applets/kicker-applets-9999.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdeaddons"
+
+inherit trinity-meta
+
+DESCRIPTION="kicker applets"
+KEYWORDS=""
+IUSE+=""
+DEPEND=">=trinity-base/kicker-${PV}:${SLOT}"
+
+RDEPEND="${DEPEND}"
+
+# no xmms support
diff --git a/gentoo/trinity-base/kicker-applets/metadata.xml b/gentoo/trinity-base/kicker-applets/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kicker-applets/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kicker/Manifest b/gentoo/trinity-base/kicker/Manifest
new file mode 100644
index 000000000..381340c4b
--- /dev/null
+++ b/gentoo/trinity-base/kicker/Manifest
@@ -0,0 +1,2 @@
+DIST kdebase-3.5.13.1.tar.gz 29403228 SHA256 ddd4bd4b508ad027b9d1af2701c6ba64bfc9f8f1d32099e6dd5e7866714f759e SHA512 e1aac19c941a5f2b43a57928fdb43e5ebd646f49c60911d9d317550df96642870792c4e77ecd06e123244e2425ccd4bcb00f0a21011ba7e651d7fcf4553e79cf WHIRLPOOL 931debbf6a65c280221025dcbc02cbb3387b66eb72eddd28a510ee8f97075cd2cc96535dde25d0a32280c399e4a868e9c027772f5d28e7e79b7c1a9080c58034
+DIST kdebase-trinity-3.5.13.2.tar.xz 25890636 SHA256 b9d552226daff64437dfb9699669b95dd7ebc2ca7c43755ba71c10cc6c9ed789 SHA512 df545d44c7d4550d1d77ff6504572b622853c2b8d80062b1aee1a5bdca19f0e708cde35cff54cf2d5098f06a41bde0c89522a3958dea9bb18205dea87c11b797 WHIRLPOOL 79144273bc7985c59a593a3394b12a2053532d2c4c890ce96adad21f6de0413baf3c6270d6d06173ec4546b20d401aa0cc81603d01b8ee41dbdefc825b39b2b1
diff --git a/gentoo/trinity-base/kicker/files/kicker-3.5.13.2-include-dbus.patch b/gentoo/trinity-base/kicker/files/kicker-3.5.13.2-include-dbus.patch
new file mode 100644
index 000000000..ddfbd9e46
--- /dev/null
+++ b/gentoo/trinity-base/kicker/files/kicker-3.5.13.2-include-dbus.patch
@@ -0,0 +1,51 @@
+diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
+index 8dc8a3f..24c47df 100644
+--- a/ConfigureChecks.cmake
++++ b/ConfigureChecks.cmake
+@@ -233,8 +233,8 @@ find_package( TQt )
+ find_package( TDE )
+
+
+-# dbus (kdm, ksmserver)
+-if( BUILD_KDM OR BUILD_KSMSERVER )
++# dbus (kdm, ksmserver, kicker)
++if( BUILD_KDM OR BUILD_KSMSERVER OR BUILD_KICKER )
+
+ pkg_search_module( DBUS dbus-1 )
+ if( NOT DBUS_FOUND )
+diff --git a/kicker/kicker/buttons/CMakeLists.txt b/kicker/kicker/buttons/CMakeLists.txt
+index 1e7ede5..18e8601 100644
+--- a/kicker/kicker/buttons/CMakeLists.txt
++++ b/kicker/kicker/buttons/CMakeLists.txt
+@@ -18,6 +18,7 @@ include_directories(
+ ${CMAKE_SOURCE_DIR}/kicker/kicker/ui
+ ${CMAKE_SOURCE_DIR}/libkonq
+ ${DBUS_TQT_INCLUDE_DIRS}
++ ${DBUS_INCLUDE_DIRS}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ )
+diff --git a/kicker/kicker/core/CMakeLists.txt b/kicker/kicker/core/CMakeLists.txt
+index f2eb010..c850ff5 100644
+--- a/kicker/kicker/core/CMakeLists.txt
++++ b/kicker/kicker/core/CMakeLists.txt
+@@ -18,6 +18,7 @@ include_directories(
+ ${CMAKE_SOURCE_DIR}/kicker/kicker/ui
+ ${CMAKE_SOURCE_DIR}/kicker/kicker/buttons
+ ${DBUS_TQT_INCLUDE_DIRS}
++ ${DBUS_INCLUDE_DIRS}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ )
+diff --git a/kicker/kicker/ui/CMakeLists.txt b/kicker/kicker/ui/CMakeLists.txt
+index a6e9510..8929962 100644
+--- a/kicker/kicker/ui/CMakeLists.txt
++++ b/kicker/kicker/ui/CMakeLists.txt
+@@ -21,6 +21,7 @@ include_directories(
+ ${CMAKE_SOURCE_DIR}/kdmlib
+ ${CMAKE_SOURCE_DIR}/libkonq
+ ${DBUS_TQT_INCLUDE_DIRS}
++ ${DBUS_INCLUDE_DIRS}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ )
diff --git a/gentoo/trinity-base/kicker/files/shared b/gentoo/trinity-base/kicker/files/shared
new file mode 120000
index 000000000..ffc286806
--- /dev/null
+++ b/gentoo/trinity-base/kicker/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files \ No newline at end of file
diff --git a/gentoo/trinity-base/kicker/kicker-3.5.13.1.ebuild b/gentoo/trinity-base/kicker/kicker-3.5.13.1.ebuild
new file mode 100644
index 000000000..7d6e40d1f
--- /dev/null
+++ b/gentoo/trinity-base/kicker/kicker-3.5.13.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="The Trinity application starter panel, capable of applets and extensions"
+KEYWORDS="x86 amd64"
+IUSE="xcomposite"
+
+DEPEND=">=trinity-base/libkonq-${PV}:${SLOT}
+ >=trinity-base/kdebase-data-${PV}:${SLOT}
+ xcomposite? ( x11-libs/libXrender )
+ xcomposite? ( x11-libs/libXfixes )
+ xcomposite? ( x11-libs/libXcomposite )"
+
+RDEPEND="${DEPEND}
+ trinity-base/kmenuedit:${SLOT}"
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_with xcomposite XFIXES)
+ $(cmake-utils_use_with xcomposite XRENDER)
+ $(cmake-utils_use_with xcomposite XCOMPOSITE)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/kicker/kicker-3.5.13.2.ebuild b/gentoo/trinity-base/kicker/kicker-3.5.13.2.ebuild
new file mode 100644
index 000000000..3d5ae385d
--- /dev/null
+++ b/gentoo/trinity-base/kicker/kicker-3.5.13.2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="The Trinity application starter panel, capable of applets and extensions"
+KEYWORDS="~amd64 ~x86"
+IUSE="hal xcomposite"
+
+DEPEND=">=trinity-base/libkonq-${PV}:${SLOT}
+ >=trinity-base/kdebase-data-${PV}:${SLOT}
+ xcomposite? ( x11-libs/libXrender
+ x11-libs/libXfixes
+ x11-libs/libXcomposite )"
+
+RDEPEND="${DEPEND}
+ trinity-base/kmenuedit:${SLOT}"
+
+PATCHES=( "$FILESDIR/${PN}-3.5.13.2-include-dbus.patch" )
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_with xcomposite XFIXES)
+ $(cmake-utils_use_with xcomposite XRENDER)
+ $(cmake-utils_use_with xcomposite XCOMPOSITE)
+ $(cmake-utils_use_with hal HAL)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/kicker/kicker-9999.ebuild b/gentoo/trinity-base/kicker/kicker-9999.ebuild
new file mode 100644
index 000000000..cb5dafdae
--- /dev/null
+++ b/gentoo/trinity-base/kicker/kicker-9999.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="The Trinity application starter panel, capable of applets and extensions"
+KEYWORDS=
+IUSE="xcomposite"
+
+DEPEND=">=trinity-base/libkonq-${PV}:${SLOT}
+ >=trinity-base/tdebase-data-${PV}:${SLOT}
+ dev-libs/dbus-tqt
+ xcomposite? ( x11-libs/libXrender
+ x11-libs/libXfixes
+ x11-libs/libXcomposite )"
+
+RDEPEND="${DEPEND}
+ trinity-base/kmenuedit:${SLOT}"
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_with xcomposite XFIXES)
+ $(cmake-utils_use_with xcomposite XRENDER)
+ $(cmake-utils_use_with xcomposite XCOMPOSITE)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/kicker/metadata.xml b/gentoo/trinity-base/kicker/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kicker/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kiconedit/Manifest b/gentoo/trinity-base/kiconedit/Manifest
new file mode 100644
index 000000000..f0ba54e9a
--- /dev/null
+++ b/gentoo/trinity-base/kiconedit/Manifest
@@ -0,0 +1 @@
+DIST kdegraphics-3.5.13.1.tar.gz 7526074 SHA256 19bd36e261bb6c5d2c9c1eba5f736c642b48422d917d44e576835f7ebb44906b SHA512 693e5ad70dbb00c587e588acfb81fc9475c3a4dbc86f41d6053c0584c533349a7564e34b870cb7bbc57361ac539da6f7d7f1b002ac3cfe8b0201db3eeb9147dd WHIRLPOOL fd2c46c517b3a0293880eaf35967295485555b936d0f1e80e0f2c261a1164cfcc5c4b2d943a12c073914d33b59974cc2dd92a78414614caa10f46dd048d518b4
diff --git a/gentoo/trinity-base/kiconedit/kiconedit-3.5.13.1.ebuild b/gentoo/trinity-base/kiconedit/kiconedit-3.5.13.1.ebuild
new file mode 100644
index 000000000..309685dbf
--- /dev/null
+++ b/gentoo/trinity-base/kiconedit/kiconedit-3.5.13.1.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdegraphics"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity Icon Editor"
+KEYWORDS="x86 amd64"
+IUSE=""
diff --git a/gentoo/trinity-base/kiconedit/metadata.xml b/gentoo/trinity-base/kiconedit/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kiconedit/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kjots/Manifest b/gentoo/trinity-base/kjots/Manifest
new file mode 100644
index 000000000..c59ac62b4
--- /dev/null
+++ b/gentoo/trinity-base/kjots/Manifest
@@ -0,0 +1,2 @@
+DIST kdeutils-3.5.13.1.tar.gz 2829393 SHA256 3e7ab07fe1bb3e7be7ac3a3796366c88d3b79a58af911546e2c65e32363db527 SHA512 48733e472d0f5da85ef8a32ed6db7fa5e61f0682e49842439e6ea38a1e407059bb35efffe41fc6ed1a718511fd5b2b2c8222d816a23500a4dcbca17461f9a3bd WHIRLPOOL 1488e0c44f60b4d5e397dd2cf93de048eae1b915d4b2b7b1cf27768946f5aae3b5bcc3971ee28b5fa6a57a0b94cca6db0866138b69ad74f1f7bb97cdaaebdbe2
+DIST kdeutils-trinity-3.5.13.2.tar.xz 2259232 SHA256 b2999b9ef39bb2f269b84fdf34a814b5a5599aae7d05538d0bf680c18fb334fa SHA512 f501aa4b61bf440e873eec96f09c0c24ad780db2f9f14b884001c04c04aafccb5afb2b492dcf4fc640f3ec35d86aa419d67936122648a986662cd7b7f4f8a2d8 WHIRLPOOL 49296006875250212f0fdeb0c90c4f69cf0aa7cfd38415e2f7b50bdf81754de64562df2400f4932a502adbe84b58be34cae6c029d68cc62d0e91de5158513239
diff --git a/gentoo/trinity-base/kjots/files/shared b/gentoo/trinity-base/kjots/files/shared
new file mode 120000
index 000000000..af62be31d
--- /dev/null
+++ b/gentoo/trinity-base/kjots/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files/ \ No newline at end of file
diff --git a/gentoo/trinity-base/kjots/kjots-3.5.13.1.ebuild b/gentoo/trinity-base/kjots/kjots-3.5.13.1.ebuild
new file mode 100644
index 000000000..4c13ba798
--- /dev/null
+++ b/gentoo/trinity-base/kjots/kjots-3.5.13.1.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity note taking utility"
+KEYWORDS="x86 amd64"
+IUSE=""
diff --git a/gentoo/trinity-base/kjots/kjots-3.5.13.2.ebuild b/gentoo/trinity-base/kjots/kjots-3.5.13.2.ebuild
new file mode 100644
index 000000000..cdfd25ca9
--- /dev/null
+++ b/gentoo/trinity-base/kjots/kjots-3.5.13.2.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity note taking utility"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
diff --git a/gentoo/trinity-base/kjots/kjots-9999.ebuild b/gentoo/trinity-base/kjots/kjots-9999.ebuild
new file mode 100644
index 000000000..04db92137
--- /dev/null
+++ b/gentoo/trinity-base/kjots/kjots-9999.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity note taking utility"
+KEYWORDS=""
+IUSE=""
diff --git a/gentoo/trinity-base/kjots/metadata.xml b/gentoo/trinity-base/kjots/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kjots/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/klaptopdaemon/Manifest b/gentoo/trinity-base/klaptopdaemon/Manifest
new file mode 100644
index 000000000..c59ac62b4
--- /dev/null
+++ b/gentoo/trinity-base/klaptopdaemon/Manifest
@@ -0,0 +1,2 @@
+DIST kdeutils-3.5.13.1.tar.gz 2829393 SHA256 3e7ab07fe1bb3e7be7ac3a3796366c88d3b79a58af911546e2c65e32363db527 SHA512 48733e472d0f5da85ef8a32ed6db7fa5e61f0682e49842439e6ea38a1e407059bb35efffe41fc6ed1a718511fd5b2b2c8222d816a23500a4dcbca17461f9a3bd WHIRLPOOL 1488e0c44f60b4d5e397dd2cf93de048eae1b915d4b2b7b1cf27768946f5aae3b5bcc3971ee28b5fa6a57a0b94cca6db0866138b69ad74f1f7bb97cdaaebdbe2
+DIST kdeutils-trinity-3.5.13.2.tar.xz 2259232 SHA256 b2999b9ef39bb2f269b84fdf34a814b5a5599aae7d05538d0bf680c18fb334fa SHA512 f501aa4b61bf440e873eec96f09c0c24ad780db2f9f14b884001c04c04aafccb5afb2b492dcf4fc640f3ec35d86aa419d67936122648a986662cd7b7f4f8a2d8 WHIRLPOOL 49296006875250212f0fdeb0c90c4f69cf0aa7cfd38415e2f7b50bdf81754de64562df2400f4932a502adbe84b58be34cae6c029d68cc62d0e91de5158513239
diff --git a/gentoo/trinity-base/klaptopdaemon/files/shared b/gentoo/trinity-base/klaptopdaemon/files/shared
new file mode 120000
index 000000000..af62be31d
--- /dev/null
+++ b/gentoo/trinity-base/klaptopdaemon/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files/ \ No newline at end of file
diff --git a/gentoo/trinity-base/klaptopdaemon/klaptopdaemon-3.5.13.1.ebuild b/gentoo/trinity-base/klaptopdaemon/klaptopdaemon-3.5.13.1.ebuild
new file mode 100644
index 000000000..7e9402d2c
--- /dev/null
+++ b/gentoo/trinity-base/klaptopdaemon/klaptopdaemon-3.5.13.1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="KLaptopdaemon - Trinity battery monitoring and management for laptops."
+KEYWORDS="x86 amd64"
+IUSE="xscreensaver"
+
+DEPEND="x11-libs/libXtst
+ xscreensaver? ( x11-libs/libXScrnSaver )
+ virtual/os-headers"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ mycmakeargs=(
+ "-DWITH_DPMS=ON"
+ $(cmake-utils_use_with xscreensaver XSCREENSAVER)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/klaptopdaemon/klaptopdaemon-3.5.13.2.ebuild b/gentoo/trinity-base/klaptopdaemon/klaptopdaemon-3.5.13.2.ebuild
new file mode 100644
index 000000000..e8a93bc72
--- /dev/null
+++ b/gentoo/trinity-base/klaptopdaemon/klaptopdaemon-3.5.13.2.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="KLaptopdaemon - Trinity battery monitoring and management for laptops."
+KEYWORDS="~x86 ~amd64"
+IUSE="xscreensaver"
+
+DEPEND="x11-libs/libXtst
+ xscreensaver? ( x11-libs/libXScrnSaver )
+ virtual/os-headers"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ mycmakeargs=(
+ "-DWITH_DPMS=ON"
+ $(cmake-utils_use_with xscreensaver XSCREENSAVER)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/klaptopdaemon/klaptopdaemon-9999.ebuild b/gentoo/trinity-base/klaptopdaemon/klaptopdaemon-9999.ebuild
new file mode 100644
index 000000000..fc6ee6bfd
--- /dev/null
+++ b/gentoo/trinity-base/klaptopdaemon/klaptopdaemon-9999.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="KLaptopdaemon - Trinity battery monitoring and management for laptops."
+KEYWORDS=""
+IUSE="xscreensaver"
+
+DEPEND="x11-libs/libXtst
+ xscreensaver? ( x11-libs/libXScrnSaver )
+ virtual/os-headers"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ mycmakeargs=(
+ "-DWITH_DPMS=ON"
+ $(cmake-utils_use_with xscreensaver XSCREENSAVER)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/klaptopdaemon/metadata.xml b/gentoo/trinity-base/klaptopdaemon/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/klaptopdaemon/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/klipper/Manifest b/gentoo/trinity-base/klipper/Manifest
new file mode 100644
index 000000000..381340c4b
--- /dev/null
+++ b/gentoo/trinity-base/klipper/Manifest
@@ -0,0 +1,2 @@
+DIST kdebase-3.5.13.1.tar.gz 29403228 SHA256 ddd4bd4b508ad027b9d1af2701c6ba64bfc9f8f1d32099e6dd5e7866714f759e SHA512 e1aac19c941a5f2b43a57928fdb43e5ebd646f49c60911d9d317550df96642870792c4e77ecd06e123244e2425ccd4bcb00f0a21011ba7e651d7fcf4553e79cf WHIRLPOOL 931debbf6a65c280221025dcbc02cbb3387b66eb72eddd28a510ee8f97075cd2cc96535dde25d0a32280c399e4a868e9c027772f5d28e7e79b7c1a9080c58034
+DIST kdebase-trinity-3.5.13.2.tar.xz 25890636 SHA256 b9d552226daff64437dfb9699669b95dd7ebc2ca7c43755ba71c10cc6c9ed789 SHA512 df545d44c7d4550d1d77ff6504572b622853c2b8d80062b1aee1a5bdca19f0e708cde35cff54cf2d5098f06a41bde0c89522a3958dea9bb18205dea87c11b797 WHIRLPOOL 79144273bc7985c59a593a3394b12a2053532d2c4c890ce96adad21f6de0413baf3c6270d6d06173ec4546b20d401aa0cc81603d01b8ee41dbdefc825b39b2b1
diff --git a/gentoo/trinity-base/klipper/files/shared b/gentoo/trinity-base/klipper/files/shared
new file mode 120000
index 000000000..ffc286806
--- /dev/null
+++ b/gentoo/trinity-base/klipper/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files \ No newline at end of file
diff --git a/gentoo/trinity-base/klipper/klipper-3.5.13.1.ebuild b/gentoo/trinity-base/klipper/klipper-3.5.13.1.ebuild
new file mode 100644
index 000000000..20d7cca1b
--- /dev/null
+++ b/gentoo/trinity-base/klipper/klipper-3.5.13.1.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="kicker applet for Trinity and X clipboard management"
+KEYWORDS="x86 amd64"
+IUSE=""
+
+DEPEND="x11-libs/libXfixes"
+RDEPEND="${RDEPEND}"
+
+src_configure() {
+ mycmakeargs=(
+ -DWITH_XFIXES=ON
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/klipper/klipper-3.5.13.2.ebuild b/gentoo/trinity-base/klipper/klipper-3.5.13.2.ebuild
new file mode 100644
index 000000000..004a156b4
--- /dev/null
+++ b/gentoo/trinity-base/klipper/klipper-3.5.13.2.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="kicker applet for Trinity and X clipboard management"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="x11-libs/libXfixes"
+RDEPEND="${RDEPEND}"
+
+src_configure() {
+ mycmakeargs=(
+ -DWITH_XFIXES=ON
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/klipper/klipper-9999.ebuild b/gentoo/trinity-base/klipper/klipper-9999.ebuild
new file mode 100644
index 000000000..7540af8c8
--- /dev/null
+++ b/gentoo/trinity-base/klipper/klipper-9999.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="kicker applet for Trinity and X clipboard management"
+KEYWORDS=
+IUSE=""
+
+DEPEND="x11-libs/libXfixes"
+RDEPEND="${RDEPEND}"
+
+src_configure() {
+ mycmakeargs=(
+ -DWITH_XFIXES=ON
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/klipper/metadata.xml b/gentoo/trinity-base/klipper/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/klipper/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kmenuedit/Manifest b/gentoo/trinity-base/kmenuedit/Manifest
new file mode 100644
index 000000000..381340c4b
--- /dev/null
+++ b/gentoo/trinity-base/kmenuedit/Manifest
@@ -0,0 +1,2 @@
+DIST kdebase-3.5.13.1.tar.gz 29403228 SHA256 ddd4bd4b508ad027b9d1af2701c6ba64bfc9f8f1d32099e6dd5e7866714f759e SHA512 e1aac19c941a5f2b43a57928fdb43e5ebd646f49c60911d9d317550df96642870792c4e77ecd06e123244e2425ccd4bcb00f0a21011ba7e651d7fcf4553e79cf WHIRLPOOL 931debbf6a65c280221025dcbc02cbb3387b66eb72eddd28a510ee8f97075cd2cc96535dde25d0a32280c399e4a868e9c027772f5d28e7e79b7c1a9080c58034
+DIST kdebase-trinity-3.5.13.2.tar.xz 25890636 SHA256 b9d552226daff64437dfb9699669b95dd7ebc2ca7c43755ba71c10cc6c9ed789 SHA512 df545d44c7d4550d1d77ff6504572b622853c2b8d80062b1aee1a5bdca19f0e708cde35cff54cf2d5098f06a41bde0c89522a3958dea9bb18205dea87c11b797 WHIRLPOOL 79144273bc7985c59a593a3394b12a2053532d2c4c890ce96adad21f6de0413baf3c6270d6d06173ec4546b20d401aa0cc81603d01b8ee41dbdefc825b39b2b1
diff --git a/gentoo/trinity-base/kmenuedit/files/shared b/gentoo/trinity-base/kmenuedit/files/shared
new file mode 120000
index 000000000..ffc286806
--- /dev/null
+++ b/gentoo/trinity-base/kmenuedit/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files \ No newline at end of file
diff --git a/gentoo/trinity-base/kmenuedit/kmenuedit-3.5.13.1.ebuild b/gentoo/trinity-base/kmenuedit/kmenuedit-3.5.13.1.ebuild
new file mode 100644
index 000000000..1c43b4097
--- /dev/null
+++ b/gentoo/trinity-base/kmenuedit/kmenuedit-3.5.13.1.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity menu editor"
+KEYWORDS="x86 amd64"
+IUSE=""
diff --git a/gentoo/trinity-base/kmenuedit/kmenuedit-3.5.13.2.ebuild b/gentoo/trinity-base/kmenuedit/kmenuedit-3.5.13.2.ebuild
new file mode 100644
index 000000000..53bc88121
--- /dev/null
+++ b/gentoo/trinity-base/kmenuedit/kmenuedit-3.5.13.2.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity menu editor"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
diff --git a/gentoo/trinity-base/kmenuedit/kmenuedit-9999.ebuild b/gentoo/trinity-base/kmenuedit/kmenuedit-9999.ebuild
new file mode 100644
index 000000000..075d4ced0
--- /dev/null
+++ b/gentoo/trinity-base/kmenuedit/kmenuedit-9999.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity menu editor"
+KEYWORDS=
+IUSE=""
diff --git a/gentoo/trinity-base/kmenuedit/metadata.xml b/gentoo/trinity-base/kmenuedit/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kmenuedit/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kmilo/Manifest b/gentoo/trinity-base/kmilo/Manifest
new file mode 100644
index 000000000..c59ac62b4
--- /dev/null
+++ b/gentoo/trinity-base/kmilo/Manifest
@@ -0,0 +1,2 @@
+DIST kdeutils-3.5.13.1.tar.gz 2829393 SHA256 3e7ab07fe1bb3e7be7ac3a3796366c88d3b79a58af911546e2c65e32363db527 SHA512 48733e472d0f5da85ef8a32ed6db7fa5e61f0682e49842439e6ea38a1e407059bb35efffe41fc6ed1a718511fd5b2b2c8222d816a23500a4dcbca17461f9a3bd WHIRLPOOL 1488e0c44f60b4d5e397dd2cf93de048eae1b915d4b2b7b1cf27768946f5aae3b5bcc3971ee28b5fa6a57a0b94cca6db0866138b69ad74f1f7bb97cdaaebdbe2
+DIST kdeutils-trinity-3.5.13.2.tar.xz 2259232 SHA256 b2999b9ef39bb2f269b84fdf34a814b5a5599aae7d05538d0bf680c18fb334fa SHA512 f501aa4b61bf440e873eec96f09c0c24ad780db2f9f14b884001c04c04aafccb5afb2b492dcf4fc640f3ec35d86aa419d67936122648a986662cd7b7f4f8a2d8 WHIRLPOOL 49296006875250212f0fdeb0c90c4f69cf0aa7cfd38415e2f7b50bdf81754de64562df2400f4932a502adbe84b58be34cae6c029d68cc62d0e91de5158513239
diff --git a/gentoo/trinity-base/kmilo/files/kdeutils-3.5.13.1-kmilo-fix-powerbook.patch b/gentoo/trinity-base/kmilo/files/kdeutils-3.5.13.1-kmilo-fix-powerbook.patch
new file mode 100644
index 000000000..f5830b6bb
--- /dev/null
+++ b/gentoo/trinity-base/kmilo/files/kdeutils-3.5.13.1-kmilo-fix-powerbook.patch
@@ -0,0 +1,67 @@
+diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
+index 14828bc..2766533 100644
+--- a/ConfigureChecks.cmake
++++ b/ConfigureChecks.cmake
+@@ -117,24 +117,21 @@ endif( )
+
+ ##### kmilo #####################################
+
+-if ( BUILD_KMILO )
++if( BUILD_KMILO )
+ # FIXME: If anybody will ever compile trinity for POWERPC and especialy for
+-# POWERBOOK he should test those checks and modules
+- if( WITH_POWERBOOK )
++# POWERBOOK he or she should test workability of those modules
++ if( WITH_POWERBOOK OR WITH_POWERBOOK2 )
++ check_library_exists( "pbb" "init_libpbb" "" HAVE_PBBIPC_LIBRARY )
+ check_include_file( "pbbipc.h" HAVE_PBBIPC_H )
+- if( NOT HAVE_PBBIPC_H )
+- tde_message_fatal( "pbbipc.h header is required, but was not found on your system" )
+- endif( NOT HAVE_PBBIPC_H )
+- endif( WITH_POWERBOOK )
+-
+- if( WITH_POWERBOOK2 )
+ check_include_file( "pbb.h" HAVE_PBB_H )
+- if( NOT HAVE_PBB_H )
+- tde_message_fatal( "pbb.h header is required, but was not found on your system" )
+- endif( NOT HAVE_PBB_H )
+- endif( WITH_POWERBOOK2 )
+-
+-endif (BUILD_KMILO)
++ if( HAVE_PBBIPC_LIBRARY AND ( ( WITH_POWERBOOK AND HAVE_PBBIPC_H ) OR
++ ( WITH_POWERBOOK2 AND HAVE_PBB_H ) ) )
++ set( PBB_LIBRARY pbb CACHE INTERNAL "" )
++ else()
++ tde_message_fatal( "suitable pbbuttonosd is required, but was not found on your system" )
++ endif()
++ endif( WITH_POWERBOOK OR WITH_POWERBOOK2 )
++endif( BUILD_KMILO )
+
+
+ ##### ksim ######################################
+diff --git a/kmilo/powerbook/CMakeLists.txt b/kmilo/powerbook/CMakeLists.txt
+index 461d2d2..bb98b70 100644
+--- a/kmilo/powerbook/CMakeLists.txt
++++ b/kmilo/powerbook/CMakeLists.txt
+@@ -28,7 +28,7 @@ link_directories(
+
+ tde_add_kpart( kmilo_powerbook AUTOMOC
+ SOURCES pb_monitor.cpp
+- LINK kio-shared kmilo-shared
++ LINK kio-shared kmilo-shared ${PBB_LIBRARY}
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+ )
+
+diff --git a/kmilo/powerbook2/CMakeLists.txt b/kmilo/powerbook2/CMakeLists.txt
+index 461d2d2..bb98b70 100644
+--- a/kmilo/powerbook2/CMakeLists.txt
++++ b/kmilo/powerbook2/CMakeLists.txt
+@@ -28,7 +28,7 @@ link_directories(
+
+ tde_add_kpart( kmilo_powerbook AUTOMOC
+ SOURCES pb_monitor.cpp
+- LINK kio-shared kmilo-shared
++ LINK kio-shared kmilo-shared ${PBB_LIBRARY}
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+ )
+
diff --git a/gentoo/trinity-base/kmilo/files/shared b/gentoo/trinity-base/kmilo/files/shared
new file mode 120000
index 000000000..af62be31d
--- /dev/null
+++ b/gentoo/trinity-base/kmilo/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files/ \ No newline at end of file
diff --git a/gentoo/trinity-base/kmilo/kmilo-3.5.13.1.ebuild b/gentoo/trinity-base/kmilo/kmilo-3.5.13.1.ebuild
new file mode 100644
index 000000000..64fd8d860
--- /dev/null
+++ b/gentoo/trinity-base/kmilo/kmilo-3.5.13.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="kded module supports some hardware input devices, such as special keys"
+KEYWORDS="x86 amd64"
+IUSE="asus-laptop dell-laptop powerbook-laptop thinkpad-laptop vaio-laptop lm_sensors"
+
+DEPEND="powerbook-laptop? ( app-laptop/pbbuttonsd )"
+RDEPEND="${DEPEND}
+ lm_sensors? ( sys-apps/lm_sensors )"
+
+PATCHES=( "$FILESDIR/${TRINITY_MODULE_NAME}-${PV}-${PN}-fix-powerbook.patch" )
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_with asus-laptop ASUS)
+ $(cmake-utils_use_with dell-laptop I8K)
+ $(cmake-utils_use_with powerbook-laptop POWERBOOK2)
+ $(cmake-utils_use_with thinkpad-laptop THINKPAD)
+ $(cmake-utils_use_with vaio-laptop VAIO)
+ $(cmake-utils_use_with lm_sensors SENSORS)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/kmilo/kmilo-3.5.13.2.ebuild b/gentoo/trinity-base/kmilo/kmilo-3.5.13.2.ebuild
new file mode 100644
index 000000000..99b580f88
--- /dev/null
+++ b/gentoo/trinity-base/kmilo/kmilo-3.5.13.2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="kded module supports some hardware input devices, such as special keys"
+KEYWORDS="~x86 ~amd64"
+IUSE="asus-laptop dell-laptop powerbook-laptop thinkpad-laptop vaio-laptop lm_sensors"
+
+DEPEND="powerbook-laptop? ( app-laptop/pbbuttonsd )"
+RDEPEND="${DEPEND}
+ lm_sensors? ( sys-apps/lm_sensors )"
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_with asus-laptop ASUS)
+ $(cmake-utils_use_with dell-laptop I8K)
+ $(cmake-utils_use_with powerbook-laptop POWERBOOK2)
+ $(cmake-utils_use_with thinkpad-laptop THINKPAD)
+ $(cmake-utils_use_with vaio-laptop VAIO)
+ $(cmake-utils_use_with lm_sensors SENSORS)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/kmilo/kmilo-9999.ebuild b/gentoo/trinity-base/kmilo/kmilo-9999.ebuild
new file mode 100644
index 000000000..5920cd6c6
--- /dev/null
+++ b/gentoo/trinity-base/kmilo/kmilo-9999.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="kded module supports some hardware input devices, such as special keys"
+KEYWORDS=""
+IUSE="asus-laptop dell-laptop powerbook-laptop thinkpad-laptop vaio-laptop lm_sensors"
+
+DEPEND="powerbook-laptop? ( app-laptop/pbbuttonsd )"
+RDEPEND="${DEPEND}
+ lm_sensors? ( sys-apps/lm_sensors )"
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_with asus-laptop ASUS)
+ $(cmake-utils_use_with dell-laptop I8K)
+ $(cmake-utils_use_with powerbook-laptop POWERBOOK2)
+ $(cmake-utils_use_with thinkpad-laptop THINKPAD)
+ $(cmake-utils_use_with vaio-laptop VAIO)
+ $(cmake-utils_use_with lm_sensors SENSORS)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/kmilo/metadata.xml b/gentoo/trinity-base/kmilo/metadata.xml
new file mode 100644
index 000000000..942997580
--- /dev/null
+++ b/gentoo/trinity-base/kmilo/metadata.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+ <use>
+ <flag name="asus-laptop">Adds support for some asus-specific laptop hardware.</flag>
+ <flag name="dell-laptop">Adds support for some dell-specific laptop hardware.</flag>
+ <flag name="powerbook-laptop">Adds support for some powerbook-specific laptop hardware.</flag>
+ <flag name="thinkpad-laptop">Adds support for some thinkpad-specific laptop hardware.</flag>
+ <flag name="vaio-laptop">Adds support for some vaio-specific laptop hardware.</flag>
+ </use>
+ <longdescription>
+ This is a kded module that can be extended to support various types of hardware
+ input devices that exist, such as those on keyboards.
+
+ The output device is skinnable, though not extensible by 3rd parties currently.
+ This will come in the future when the API is finalised.
+
+ It lacks very much functionality.
+ </longdescription>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kmix/Manifest b/gentoo/trinity-base/kmix/Manifest
new file mode 100644
index 000000000..abcd62931
--- /dev/null
+++ b/gentoo/trinity-base/kmix/Manifest
@@ -0,0 +1 @@
+DIST kdemultimedia-3.5.13.1.tar.gz 5867909 SHA256 24dae208691264336d5ad309cfe2dc52ead6482f4fdde5e4684e1ffed6057ee0 SHA512 66383d5b4a641384dc9dd6536bdc577e660088480decaff967d250ffbce3bbc40c13a7df67300601f51ec1291516671bc820c4439425b2bfa2419f392e05c563 WHIRLPOOL 6dd5855075f579add484ee35f1dc3e0042bedd39ce1d21da236248d7b6c24833c2e8b7d080a4bfd59fcf5729f5b8d1e16e9ae2a383b21d76745fa8e4ff09e615
diff --git a/gentoo/trinity-base/kmix/kmix-3.5.13.1.ebuild b/gentoo/trinity-base/kmix/kmix-3.5.13.1.ebuild
new file mode 100644
index 000000000..da130ca96
--- /dev/null
+++ b/gentoo/trinity-base/kmix/kmix-3.5.13.1.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdemultimedia"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity mixer gui"
+KEYWORDS="amd64 x86"
+IUSE="alsa"
+
+DEPEND="alsa? ( media-libs/alsa-lib )"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_with alsa ALSA)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/kmix/kmix-9999.ebuild b/gentoo/trinity-base/kmix/kmix-9999.ebuild
new file mode 100644
index 000000000..88cd80329
--- /dev/null
+++ b/gentoo/trinity-base/kmix/kmix-9999.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdemultimedia"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity mixer gui"
+KEYWORDS=
+IUSE="alsa"
+
+DEPEND="alsa? ( media-libs/alsa-lib )"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_with alsa ALSA)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/kmix/metadata.xml b/gentoo/trinity-base/kmix/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kmix/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kmoon/Manifest b/gentoo/trinity-base/kmoon/Manifest
new file mode 100644
index 000000000..23ad50106
--- /dev/null
+++ b/gentoo/trinity-base/kmoon/Manifest
@@ -0,0 +1,2 @@
+DIST kdetoys-3.5.13.1.tar.gz 3037255 SHA256 41e4224bcf816e52877b17d2dcdc86d94e8f304fee2d3fb35b97921544eafd9d SHA512 e7cd7943004e5d1ec83c0fe484fab82f2cdd5f5d39ee77db419938f023cd3c42ba0b257d0ddc783de7bd528c90195821d810babfa193c60856437593c24ce879 WHIRLPOOL 8d482537f972a24b1cef9ad789edd314517f4e3a6b37056f47d92292c8c30e70def24e99efc552b4504503e2224e1209ae946ff34ac94feaf128c038c54f010d
+DIST kdetoys-trinity-3.5.13.2.tar.xz 2757260 SHA256 a0533ceb6fb103600eb33ef3136d40f84ec826e24e0b95cc45e68ef73a5232f6 SHA512 eb67a70d75a473f885db8993f5eebd3480e68e43e4de60240fde411696ed8b895029505a5125fe51a41d6ccb583ba50c4c67465d770f14f9a1c1533281154f78 WHIRLPOOL d79f58085d2af17453fc50c621ea6fe6909d476cf5f0a6b6ccf51ef69eed0ba073091f587439eb5afd644e0286dfe2ee86ccd903346d3060c3fe90299511018a
diff --git a/gentoo/trinity-base/kmoon/files/shared b/gentoo/trinity-base/kmoon/files/shared
new file mode 120000
index 000000000..af62be31d
--- /dev/null
+++ b/gentoo/trinity-base/kmoon/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files/ \ No newline at end of file
diff --git a/gentoo/trinity-base/kmoon/kmoon-3.5.13.1.ebuild b/gentoo/trinity-base/kmoon/kmoon-3.5.13.1.ebuild
new file mode 100644
index 000000000..5a8d4ed1a
--- /dev/null
+++ b/gentoo/trinity-base/kmoon/kmoon-3.5.13.1.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdetoys"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity moon phase display"
+KEYWORDS="amd64 x86"
+IUSE=""
diff --git a/gentoo/trinity-base/kmoon/kmoon-3.5.13.2.ebuild b/gentoo/trinity-base/kmoon/kmoon-3.5.13.2.ebuild
new file mode 100644
index 000000000..99b68b41a
--- /dev/null
+++ b/gentoo/trinity-base/kmoon/kmoon-3.5.13.2.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdetoys"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity moon phase display"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
diff --git a/gentoo/trinity-base/kmoon/kmoon-9999.ebuild b/gentoo/trinity-base/kmoon/kmoon-9999.ebuild
new file mode 100644
index 000000000..839933c23
--- /dev/null
+++ b/gentoo/trinity-base/kmoon/kmoon-9999.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdetoys"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity moon phase display"
+KEYWORDS=
+IUSE=""
diff --git a/gentoo/trinity-base/kmoon/metadata.xml b/gentoo/trinity-base/kmoon/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kmoon/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kmrml/Manifest b/gentoo/trinity-base/kmrml/Manifest
new file mode 100644
index 000000000..f0ba54e9a
--- /dev/null
+++ b/gentoo/trinity-base/kmrml/Manifest
@@ -0,0 +1 @@
+DIST kdegraphics-3.5.13.1.tar.gz 7526074 SHA256 19bd36e261bb6c5d2c9c1eba5f736c642b48422d917d44e576835f7ebb44906b SHA512 693e5ad70dbb00c587e588acfb81fc9475c3a4dbc86f41d6053c0584c533349a7564e34b870cb7bbc57361ac539da6f7d7f1b002ac3cfe8b0201db3eeb9147dd WHIRLPOOL fd2c46c517b3a0293880eaf35967295485555b936d0f1e80e0f2c261a1164cfcc5c4b2d943a12c073914d33b59974cc2dd92a78414614caa10f46dd048d518b4
diff --git a/gentoo/trinity-base/kmrml/kmrml-3.5.13.1.ebuild b/gentoo/trinity-base/kmrml/kmrml-3.5.13.1.ebuild
new file mode 100644
index 000000000..1e7afcf9f
--- /dev/null
+++ b/gentoo/trinity-base/kmrml/kmrml-3.5.13.1.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdegraphics"
+
+inherit trinity-meta
+
+DESCRIPTION="KIO and konqueror plugins for MRML - an image indexing service"
+KEYWORDS="x86 amd64"
+IUSE=""
diff --git a/gentoo/trinity-base/kmrml/kmrml-9999.ebuild b/gentoo/trinity-base/kmrml/kmrml-9999.ebuild
new file mode 100644
index 000000000..ea7c47f34
--- /dev/null
+++ b/gentoo/trinity-base/kmrml/kmrml-9999.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdegraphics"
+
+inherit trinity-meta
+
+DESCRIPTION="KIO and konqueror plugins for MRML - an image indexing service"
+KEYWORDS=
+IUSE=""
diff --git a/gentoo/trinity-base/kmrml/metadata.xml b/gentoo/trinity-base/kmrml/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kmrml/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/knetattach/Manifest b/gentoo/trinity-base/knetattach/Manifest
new file mode 100644
index 000000000..381340c4b
--- /dev/null
+++ b/gentoo/trinity-base/knetattach/Manifest
@@ -0,0 +1,2 @@
+DIST kdebase-3.5.13.1.tar.gz 29403228 SHA256 ddd4bd4b508ad027b9d1af2701c6ba64bfc9f8f1d32099e6dd5e7866714f759e SHA512 e1aac19c941a5f2b43a57928fdb43e5ebd646f49c60911d9d317550df96642870792c4e77ecd06e123244e2425ccd4bcb00f0a21011ba7e651d7fcf4553e79cf WHIRLPOOL 931debbf6a65c280221025dcbc02cbb3387b66eb72eddd28a510ee8f97075cd2cc96535dde25d0a32280c399e4a868e9c027772f5d28e7e79b7c1a9080c58034
+DIST kdebase-trinity-3.5.13.2.tar.xz 25890636 SHA256 b9d552226daff64437dfb9699669b95dd7ebc2ca7c43755ba71c10cc6c9ed789 SHA512 df545d44c7d4550d1d77ff6504572b622853c2b8d80062b1aee1a5bdca19f0e708cde35cff54cf2d5098f06a41bde0c89522a3958dea9bb18205dea87c11b797 WHIRLPOOL 79144273bc7985c59a593a3394b12a2053532d2c4c890ce96adad21f6de0413baf3c6270d6d06173ec4546b20d401aa0cc81603d01b8ee41dbdefc825b39b2b1
diff --git a/gentoo/trinity-base/knetattach/files/shared b/gentoo/trinity-base/knetattach/files/shared
new file mode 120000
index 000000000..ffc286806
--- /dev/null
+++ b/gentoo/trinity-base/knetattach/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files \ No newline at end of file
diff --git a/gentoo/trinity-base/knetattach/knetattach-3.5.13.1.ebuild b/gentoo/trinity-base/knetattach/knetattach-3.5.13.1.ebuild
new file mode 100644
index 000000000..566925f22
--- /dev/null
+++ b/gentoo/trinity-base/knetattach/knetattach-3.5.13.1.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity network wizard"
+KEYWORDS="x86 amd64"
+IUSE=""
diff --git a/gentoo/trinity-base/knetattach/knetattach-3.5.13.2.ebuild b/gentoo/trinity-base/knetattach/knetattach-3.5.13.2.ebuild
new file mode 100644
index 000000000..403e2d6d5
--- /dev/null
+++ b/gentoo/trinity-base/knetattach/knetattach-3.5.13.2.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity network wizard"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
diff --git a/gentoo/trinity-base/knetattach/knetattach-9999.ebuild b/gentoo/trinity-base/knetattach/knetattach-9999.ebuild
new file mode 100644
index 000000000..e58858984
--- /dev/null
+++ b/gentoo/trinity-base/knetattach/knetattach-9999.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity network wizard"
+KEYWORDS=
+IUSE=""
diff --git a/gentoo/trinity-base/knetattach/metadata.xml b/gentoo/trinity-base/knetattach/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/knetattach/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/knewsticker-scripts/knewsticker-scripts-9999.ebuild b/gentoo/trinity-base/knewsticker-scripts/knewsticker-scripts-9999.ebuild
new file mode 100644
index 000000000..c3bf4f739
--- /dev/null
+++ b/gentoo/trinity-base/knewsticker-scripts/knewsticker-scripts-9999.ebuild
@@ -0,0 +1,13 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdeaddons"
+
+inherit trinity-meta
+
+DESCRIPTION="Kicker applet - RSS news ticker"
+KEYWORDS=""
+IUSE+=""
+DEPEND=">=trinity-base/knewsticker-${PV}:${SLOT}"
+RDEPEND="${DEPEND}"
diff --git a/gentoo/trinity-base/knewsticker-scripts/metadata.xml b/gentoo/trinity-base/knewsticker-scripts/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/knewsticker-scripts/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/knewsticker/Manifest b/gentoo/trinity-base/knewsticker/Manifest
new file mode 100644
index 000000000..1d49700dc
--- /dev/null
+++ b/gentoo/trinity-base/knewsticker/Manifest
@@ -0,0 +1 @@
+DIST kdenetwork-3.5.13.1.tar.gz 8794225 SHA256 21e69e8cb2550561c26913a5cccdc376115f50cffd43f9a94f7a660a303f46f9 SHA512 b3189a9f5e9cddd130b24a82b95ef90db1ec3c7afa280a46101ba7cbf6f9d92f60a536401f648a96459ba87f70ede5f7ae4affe894515a8e858b40ee79cb1b69 WHIRLPOOL de678ab30e3aa8dc3068c895fd000fdab1bc046e272273bf44196a198210efab82ddde3c5e0ffaa863061e9c56e3a8a68ca2f8f03cd77136755f66688f878c65
diff --git a/gentoo/trinity-base/knewsticker/files/knewsticker-a2b3834-fix-various-cmake-build-issues.patch b/gentoo/trinity-base/knewsticker/files/knewsticker-a2b3834-fix-various-cmake-build-issues.patch
new file mode 100644
index 000000000..44c044b0e
--- /dev/null
+++ b/gentoo/trinity-base/knewsticker/files/knewsticker-a2b3834-fix-various-cmake-build-issues.patch
@@ -0,0 +1,16 @@
+diff --git a/knewsticker/kntsrcfilepropsdlg/CMakeLists.txt b/knewsticker/kntsrcfilepropsdlg/CMakeLists.txt
+index f6d02b0..f6871ed 100644
+--- a/knewsticker/kntsrcfilepropsdlg/CMakeLists.txt
++++ b/knewsticker/kntsrcfilepropsdlg/CMakeLists.txt
+@@ -32,9 +32,9 @@ install( FILES
+ DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+-##### kntsrcfilepropsdlg (module) ###############
++##### libkntsrcfilepropsdlg (module) ###############
+
+-tde_add_kpart( kntsrcfilepropsdlg AUTOMOC
++tde_add_kpart( libkntsrcfilepropsdlg AUTOMOC
+ SOURCES
+ kntsrcfilepropsdlg.cpp kntsrcfilepropsdlgwidget.ui
+ LINK knewstickercommon-static rss-shared
diff --git a/gentoo/trinity-base/knewsticker/knewsticker-3.5.13.1.ebuild b/gentoo/trinity-base/knewsticker/knewsticker-3.5.13.1.ebuild
new file mode 100644
index 000000000..1ca689430
--- /dev/null
+++ b/gentoo/trinity-base/knewsticker/knewsticker-3.5.13.1.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdenetwork"
+
+inherit trinity-meta
+
+DESCRIPTION="kicker plugin: rss news ticker"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND=">=trinity-base/librss-${PV}:${SLOT}"
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/knewsticker-a2b3834-fix-various-cmake-build-issues.patch" )
+TSM_EXTRACT_ALSO="librss/"
diff --git a/gentoo/trinity-base/knewsticker/knewsticker-9999.ebuild b/gentoo/trinity-base/knewsticker/knewsticker-9999.ebuild
new file mode 100644
index 000000000..f170f6c4f
--- /dev/null
+++ b/gentoo/trinity-base/knewsticker/knewsticker-9999.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdenetwork"
+
+inherit trinity-meta
+
+DESCRIPTION="kicker plugin: rss news ticker"
+KEYWORDS=
+IUSE=""
+
+DEPEND=">=trinity-base/librss-${PV}:${SLOT}"
+RDEPEND="${DEPEND}"
diff --git a/gentoo/trinity-base/knewsticker/metadata.xml b/gentoo/trinity-base/knewsticker/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/knewsticker/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/knotes/Manifest b/gentoo/trinity-base/knotes/Manifest
new file mode 100644
index 000000000..d6ce26a13
--- /dev/null
+++ b/gentoo/trinity-base/knotes/Manifest
@@ -0,0 +1 @@
+DIST kdepim-trinity-3.5.13.2.tar.xz 10148724 SHA256 2cbd61e28322e4c7d67ffb16ac59329b3f15ba1a4485095994b9bce6786df7c4 SHA512 a84319183813dc78dc97397c8c3871faa3961b458eda8107525b8b9c6789d13aedd8e3c7cb0706c4ca8dd63f69ff67de02716219c8af44ebf96d484d820eb2bf WHIRLPOOL 907d9d86f1b0094b915989ca7f0feb4f67ac1b238a4c6d176ab1ef9164eff78778b2714ebedeb40de28536a8384b39ec7e637f1bb6911cccb40f7d8663811edb
diff --git a/gentoo/trinity-base/knotes/knotes-3.5.13.2.ebuild b/gentoo/trinity-base/knotes/knotes-3.5.13.2.ebuild
new file mode 100644
index 000000000..b5cb8531b
--- /dev/null
+++ b/gentoo/trinity-base/knotes/knotes-3.5.13.2.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdepim"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity Notes application"
+KEYWORDS="~amd64 ~x86"
+IUSE+=""
+
+COMMON_DEPEND=">=trinity-base/libkcal-${PV}:${SLOT}
+ >=trinity-base/libkdepim-${PV}:${SLOT}"
+DEPEND+=" $COMMON_DEPEND"
+RDEPEND+=" $COMMON_DEPEND"
+
+TSM_EXTRACT_ALSO="libkdepim/"
diff --git a/gentoo/trinity-base/knotes/knotes-9999.ebuild b/gentoo/trinity-base/knotes/knotes-9999.ebuild
new file mode 100644
index 000000000..1f1e939d5
--- /dev/null
+++ b/gentoo/trinity-base/knotes/knotes-9999.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdepim"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity Notes application"
+KEYWORDS=""
+IUSE+=""
+
+COMMON_DEPEND=">=trinity-base/libkcal-${PV}:${SLOT}
+ >=trinity-base/libtdepim-${PV}:${SLOT}"
+DEPEND+=" $COMMON_DEPEND"
+RDEPEND+=" $COMMON_DEPEND"
+
+TSM_EXTRACT_ALSO="libtdepim/"
diff --git a/gentoo/trinity-base/knotes/metadata.xml b/gentoo/trinity-base/knotes/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/knotes/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kodo/Manifest b/gentoo/trinity-base/kodo/Manifest
new file mode 100644
index 000000000..23ad50106
--- /dev/null
+++ b/gentoo/trinity-base/kodo/Manifest
@@ -0,0 +1,2 @@
+DIST kdetoys-3.5.13.1.tar.gz 3037255 SHA256 41e4224bcf816e52877b17d2dcdc86d94e8f304fee2d3fb35b97921544eafd9d SHA512 e7cd7943004e5d1ec83c0fe484fab82f2cdd5f5d39ee77db419938f023cd3c42ba0b257d0ddc783de7bd528c90195821d810babfa193c60856437593c24ce879 WHIRLPOOL 8d482537f972a24b1cef9ad789edd314517f4e3a6b37056f47d92292c8c30e70def24e99efc552b4504503e2224e1209ae946ff34ac94feaf128c038c54f010d
+DIST kdetoys-trinity-3.5.13.2.tar.xz 2757260 SHA256 a0533ceb6fb103600eb33ef3136d40f84ec826e24e0b95cc45e68ef73a5232f6 SHA512 eb67a70d75a473f885db8993f5eebd3480e68e43e4de60240fde411696ed8b895029505a5125fe51a41d6ccb583ba50c4c67465d770f14f9a1c1533281154f78 WHIRLPOOL d79f58085d2af17453fc50c621ea6fe6909d476cf5f0a6b6ccf51ef69eed0ba073091f587439eb5afd644e0286dfe2ee86ccd903346d3060c3fe90299511018a
diff --git a/gentoo/trinity-base/kodo/files/shared b/gentoo/trinity-base/kodo/files/shared
new file mode 120000
index 000000000..af62be31d
--- /dev/null
+++ b/gentoo/trinity-base/kodo/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files/ \ No newline at end of file
diff --git a/gentoo/trinity-base/kodo/kodo-3.5.13.1.ebuild b/gentoo/trinity-base/kodo/kodo-3.5.13.1.ebuild
new file mode 100644
index 000000000..ed22adf09
--- /dev/null
+++ b/gentoo/trinity-base/kodo/kodo-3.5.13.1.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdetoys"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity: measure the desktop mileage of your mouse pointer"
+KEYWORDS="amd64 x86"
+IUSE=""
diff --git a/gentoo/trinity-base/kodo/kodo-3.5.13.2.ebuild b/gentoo/trinity-base/kodo/kodo-3.5.13.2.ebuild
new file mode 100644
index 000000000..f25fd9998
--- /dev/null
+++ b/gentoo/trinity-base/kodo/kodo-3.5.13.2.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdetoys"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity: measure the desktop mileage of your mouse pointer"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
diff --git a/gentoo/trinity-base/kodo/kodo-9999.ebuild b/gentoo/trinity-base/kodo/kodo-9999.ebuild
new file mode 100644
index 000000000..da8961185
--- /dev/null
+++ b/gentoo/trinity-base/kodo/kodo-9999.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdetoys"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity: measure the desktop mileage of your mouse pointer"
+KEYWORDS=
+IUSE=""
diff --git a/gentoo/trinity-base/kodo/metadata.xml b/gentoo/trinity-base/kodo/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kodo/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kolourpaint/Manifest b/gentoo/trinity-base/kolourpaint/Manifest
new file mode 100644
index 000000000..f0ba54e9a
--- /dev/null
+++ b/gentoo/trinity-base/kolourpaint/Manifest
@@ -0,0 +1 @@
+DIST kdegraphics-3.5.13.1.tar.gz 7526074 SHA256 19bd36e261bb6c5d2c9c1eba5f736c642b48422d917d44e576835f7ebb44906b SHA512 693e5ad70dbb00c587e588acfb81fc9475c3a4dbc86f41d6053c0584c533349a7564e34b870cb7bbc57361ac539da6f7d7f1b002ac3cfe8b0201db3eeb9147dd WHIRLPOOL fd2c46c517b3a0293880eaf35967295485555b936d0f1e80e0f2c261a1164cfcc5c4b2d943a12c073914d33b59974cc2dd92a78414614caa10f46dd048d518b4
diff --git a/gentoo/trinity-base/kolourpaint/kolourpaint-3.5.13.1.ebuild b/gentoo/trinity-base/kolourpaint/kolourpaint-3.5.13.1.ebuild
new file mode 100644
index 000000000..f0e65b377
--- /dev/null
+++ b/gentoo/trinity-base/kolourpaint/kolourpaint-3.5.13.1.ebuild
@@ -0,0 +1,12 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdegraphics"
+
+inherit trinity-meta
+
+DESCRIPTION="Paint Program for Trinity"
+KEYWORDS="x86 amd64"
+IUSE=""
+LICENSE="BSD"
diff --git a/gentoo/trinity-base/kolourpaint/kolourpaint-9999.ebuild b/gentoo/trinity-base/kolourpaint/kolourpaint-9999.ebuild
new file mode 100644
index 000000000..6e275e78f
--- /dev/null
+++ b/gentoo/trinity-base/kolourpaint/kolourpaint-9999.ebuild
@@ -0,0 +1,12 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdegraphics"
+
+inherit trinity-meta
+
+DESCRIPTION="Paint Program for Trinity"
+KEYWORDS=
+IUSE=""
+LICENSE="BSD"
diff --git a/gentoo/trinity-base/kolourpaint/metadata.xml b/gentoo/trinity-base/kolourpaint/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kolourpaint/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/konq-plugins/konq-plugins-9999.ebuild b/gentoo/trinity-base/konq-plugins/konq-plugins-9999.ebuild
new file mode 100644
index 000000000..6477b2885
--- /dev/null
+++ b/gentoo/trinity-base/konq-plugins/konq-plugins-9999.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdeaddons"
+
+inherit trinity-meta
+
+DESCRIPTION="Various plugins for Konqueror."
+KEYWORDS=""
+IUSE+="arts"
+DEPEND=">=trinity-base/konqueror-${PV}:${SLOT}
+ arts? ( >=trinity-base/arts-${PV}:${SLOT} )
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ mycmakeargs=(
+ "-DWITH_ARTS=$(usex arts)"
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/konq-plugins/metadata.xml b/gentoo/trinity-base/konq-plugins/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/konq-plugins/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/konqueror/Manifest b/gentoo/trinity-base/konqueror/Manifest
new file mode 100644
index 000000000..381340c4b
--- /dev/null
+++ b/gentoo/trinity-base/konqueror/Manifest
@@ -0,0 +1,2 @@
+DIST kdebase-3.5.13.1.tar.gz 29403228 SHA256 ddd4bd4b508ad027b9d1af2701c6ba64bfc9f8f1d32099e6dd5e7866714f759e SHA512 e1aac19c941a5f2b43a57928fdb43e5ebd646f49c60911d9d317550df96642870792c4e77ecd06e123244e2425ccd4bcb00f0a21011ba7e651d7fcf4553e79cf WHIRLPOOL 931debbf6a65c280221025dcbc02cbb3387b66eb72eddd28a510ee8f97075cd2cc96535dde25d0a32280c399e4a868e9c027772f5d28e7e79b7c1a9080c58034
+DIST kdebase-trinity-3.5.13.2.tar.xz 25890636 SHA256 b9d552226daff64437dfb9699669b95dd7ebc2ca7c43755ba71c10cc6c9ed789 SHA512 df545d44c7d4550d1d77ff6504572b622853c2b8d80062b1aee1a5bdca19f0e708cde35cff54cf2d5098f06a41bde0c89522a3958dea9bb18205dea87c11b797 WHIRLPOOL 79144273bc7985c59a593a3394b12a2053532d2c4c890ce96adad21f6de0413baf3c6270d6d06173ec4546b20d401aa0cc81603d01b8ee41dbdefc825b39b2b1
diff --git a/gentoo/trinity-base/konqueror/files/shared b/gentoo/trinity-base/konqueror/files/shared
new file mode 120000
index 000000000..ffc286806
--- /dev/null
+++ b/gentoo/trinity-base/konqueror/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files \ No newline at end of file
diff --git a/gentoo/trinity-base/konqueror/konqueror-3.5.13.1.ebuild b/gentoo/trinity-base/konqueror/konqueror-3.5.13.1.ebuild
new file mode 100644
index 000000000..ed751920e
--- /dev/null
+++ b/gentoo/trinity-base/konqueror/konqueror-3.5.13.1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity: Web browser, file manager, ..."
+KEYWORDS="x86 amd64"
+IUSE="java"
+# FIXME: support branding USE flag
+
+DEPEND="
+ >=trinity-base/libkonq-${PV}:${SLOT}"
+
+RDEPEND="${DEPEND}
+ >=trinity-base/kcontrol-${PV}:${SLOT}
+ >=trinity-base/kdebase-kioslaves-${PV}:${SLOT}
+ >=trinity-base/kfind-${PV}:${SLOT}
+ java? ( >=virtual/jre-1.4 )"
+
+TSM_EXTRACT_ALSO="kdesktop"
diff --git a/gentoo/trinity-base/konqueror/konqueror-3.5.13.2.ebuild b/gentoo/trinity-base/konqueror/konqueror-3.5.13.2.ebuild
new file mode 100644
index 000000000..a272eb3ad
--- /dev/null
+++ b/gentoo/trinity-base/konqueror/konqueror-3.5.13.2.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity: Web browser, file manager, ..."
+KEYWORDS="~amd64 ~x86"
+IUSE="java"
+# FIXME: support branding USE flag
+
+DEPEND="
+ >=trinity-base/libkonq-${PV}:${SLOT}"
+
+RDEPEND="${DEPEND}
+ >=trinity-base/kcontrol-${PV}:${SLOT}
+ >=trinity-base/kdebase-kioslaves-${PV}:${SLOT}
+ >=trinity-base/kfind-${PV}:${SLOT}
+ java? ( >=virtual/jre-1.4 )"
+
+TSM_EXTRACT_ALSO="kdesktop"
diff --git a/gentoo/trinity-base/konqueror/konqueror-9999.ebuild b/gentoo/trinity-base/konqueror/konqueror-9999.ebuild
new file mode 100644
index 000000000..3a0927961
--- /dev/null
+++ b/gentoo/trinity-base/konqueror/konqueror-9999.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity: Web browser, file manager, ..."
+KEYWORDS=
+IUSE="java"
+# FIXME: support branding USE flag
+
+DEPEND="
+ >=trinity-base/libkonq-${PV}:${SLOT}"
+
+RDEPEND="${DEPEND}
+ >=trinity-base/kcontrol-${PV}:${SLOT}
+ >=trinity-base/tdebase-tdeioslaves-${PV}:${SLOT}
+ >=trinity-base/kfind-${PV}:${SLOT}
+ java? ( >=virtual/jre-1.4 )"
+
+TSM_EXTRACT_ALSO="kdesktop"
diff --git a/gentoo/trinity-base/konqueror/metadata.xml b/gentoo/trinity-base/konqueror/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/konqueror/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/konsole/Manifest b/gentoo/trinity-base/konsole/Manifest
new file mode 100644
index 000000000..381340c4b
--- /dev/null
+++ b/gentoo/trinity-base/konsole/Manifest
@@ -0,0 +1,2 @@
+DIST kdebase-3.5.13.1.tar.gz 29403228 SHA256 ddd4bd4b508ad027b9d1af2701c6ba64bfc9f8f1d32099e6dd5e7866714f759e SHA512 e1aac19c941a5f2b43a57928fdb43e5ebd646f49c60911d9d317550df96642870792c4e77ecd06e123244e2425ccd4bcb00f0a21011ba7e651d7fcf4553e79cf WHIRLPOOL 931debbf6a65c280221025dcbc02cbb3387b66eb72eddd28a510ee8f97075cd2cc96535dde25d0a32280c399e4a868e9c027772f5d28e7e79b7c1a9080c58034
+DIST kdebase-trinity-3.5.13.2.tar.xz 25890636 SHA256 b9d552226daff64437dfb9699669b95dd7ebc2ca7c43755ba71c10cc6c9ed789 SHA512 df545d44c7d4550d1d77ff6504572b622853c2b8d80062b1aee1a5bdca19f0e708cde35cff54cf2d5098f06a41bde0c89522a3958dea9bb18205dea87c11b797 WHIRLPOOL 79144273bc7985c59a593a3394b12a2053532d2c4c890ce96adad21f6de0413baf3c6270d6d06173ec4546b20d401aa0cc81603d01b8ee41dbdefc825b39b2b1
diff --git a/gentoo/trinity-base/konsole/files/shared b/gentoo/trinity-base/konsole/files/shared
new file mode 120000
index 000000000..ffc286806
--- /dev/null
+++ b/gentoo/trinity-base/konsole/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files \ No newline at end of file
diff --git a/gentoo/trinity-base/konsole/konsole-3.5.13.1.ebuild b/gentoo/trinity-base/konsole/konsole-3.5.13.1.ebuild
new file mode 100644
index 000000000..d54e92bec
--- /dev/null
+++ b/gentoo/trinity-base/konsole/konsole-3.5.13.1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="X terminal for use with Trinity."
+KEYWORDS="x86 amd64"
+IUSE=""
+
+DEPEND="x11-libs/libX11
+ x11-libs/libXrender"
+
+RDEPEND="${DEPEND}
+ x11-apps/bdftopcf
+ >=trinity-base/kcontrol-${PV}:${SLOT}"
+
+src_configure() {
+ mycmakeargs=(
+ -DWITH_XRENDER=ON
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/konsole/konsole-3.5.13.2.ebuild b/gentoo/trinity-base/konsole/konsole-3.5.13.2.ebuild
new file mode 100644
index 000000000..b811227f5
--- /dev/null
+++ b/gentoo/trinity-base/konsole/konsole-3.5.13.2.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="X terminal for use with Trinity."
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="x11-libs/libX11
+ x11-libs/libXrender"
+
+RDEPEND="${DEPEND}
+ x11-apps/bdftopcf
+ >=trinity-base/kcontrol-${PV}:${SLOT}"
+
+src_configure() {
+ mycmakeargs=(
+ -DWITH_XRENDER=ON
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/konsole/konsole-9999.ebuild b/gentoo/trinity-base/konsole/konsole-9999.ebuild
new file mode 100644
index 000000000..d85c92c8d
--- /dev/null
+++ b/gentoo/trinity-base/konsole/konsole-9999.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="X terminal for use with Trinity."
+KEYWORDS=
+IUSE=""
+
+DEPEND="x11-libs/libX11
+ x11-libs/libXrender"
+
+RDEPEND="${DEPEND}
+ x11-apps/bdftopcf
+ >=trinity-base/kcontrol-${PV}:${SLOT}"
+
+src_configure() {
+ mycmakeargs=(
+ -DWITH_XRENDER=ON
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/konsole/metadata.xml b/gentoo/trinity-base/konsole/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/konsole/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kontact/Manifest b/gentoo/trinity-base/kontact/Manifest
new file mode 100644
index 000000000..d6ce26a13
--- /dev/null
+++ b/gentoo/trinity-base/kontact/Manifest
@@ -0,0 +1 @@
+DIST kdepim-trinity-3.5.13.2.tar.xz 10148724 SHA256 2cbd61e28322e4c7d67ffb16ac59329b3f15ba1a4485095994b9bce6786df7c4 SHA512 a84319183813dc78dc97397c8c3871faa3961b458eda8107525b8b9c6789d13aedd8e3c7cb0706c4ca8dd63f69ff67de02716219c8af44ebf96d484d820eb2bf WHIRLPOOL 907d9d86f1b0094b915989ca7f0feb4f67ac1b238a4c6d176ab1ef9164eff78778b2714ebedeb40de28536a8384b39ec7e637f1bb6911cccb40f7d8663811edb
diff --git a/gentoo/trinity-base/kontact/kontact-3.5.13.2.ebuild b/gentoo/trinity-base/kontact/kontact-3.5.13.2.ebuild
new file mode 100644
index 000000000..b44c610e8
--- /dev/null
+++ b/gentoo/trinity-base/kontact/kontact-3.5.13.2.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdepim"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity personal information manager"
+KEYWORDS="~amd64 ~x86"
+IUSE+=""
+COMMON_DEPEND=">=trinity-base/libkdepim-${PV}:${SLOT}
+ >=trinity-base/libkpimidentities-${PV}:${SLOT}
+ >=trinity-base/libkholidays-${PV}:${SLOT}
+ >=trinity-base/knotes-${PV}:${SLOT}"
+
+DEPEND+=" $COMMON_DEPEND"
+RDEPEND+=" $COMMON_DEPEND"
+
+TSM_EXTRACT_ALSO="libkdepim/ libkdenetwork/"
diff --git a/gentoo/trinity-base/kontact/kontact-9999.ebuild b/gentoo/trinity-base/kontact/kontact-9999.ebuild
new file mode 100644
index 000000000..05f536736
--- /dev/null
+++ b/gentoo/trinity-base/kontact/kontact-9999.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdepim"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity personal information manager"
+KEYWORDS=""
+IUSE+=""
+COMMON_DEPEND=">=trinity-base/libtdepim-${PV}:${SLOT}
+ >=trinity-base/libkpimidentities-${PV}:${SLOT}
+ >=trinity-base/libkholidays-${PV}:${SLOT}
+ >=trinity-base/knotes-${PV}:${SLOT}"
+
+DEPEND+=" $COMMON_DEPEND"
+RDEPEND+=" $COMMON_DEPEND"
+
+TSM_EXTRACT_ALSO="libtdepim/ libtdenetwork/"
diff --git a/gentoo/trinity-base/kontact/metadata.xml b/gentoo/trinity-base/kontact/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kontact/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kooka/Manifest b/gentoo/trinity-base/kooka/Manifest
new file mode 100644
index 000000000..f0ba54e9a
--- /dev/null
+++ b/gentoo/trinity-base/kooka/Manifest
@@ -0,0 +1 @@
+DIST kdegraphics-3.5.13.1.tar.gz 7526074 SHA256 19bd36e261bb6c5d2c9c1eba5f736c642b48422d917d44e576835f7ebb44906b SHA512 693e5ad70dbb00c587e588acfb81fc9475c3a4dbc86f41d6053c0584c533349a7564e34b870cb7bbc57361ac539da6f7d7f1b002ac3cfe8b0201db3eeb9147dd WHIRLPOOL fd2c46c517b3a0293880eaf35967295485555b936d0f1e80e0f2c261a1164cfcc5c4b2d943a12c073914d33b59974cc2dd92a78414614caa10f46dd048d518b4
diff --git a/gentoo/trinity-base/kooka/kooka-3.5.13.1.ebuild b/gentoo/trinity-base/kooka/kooka-3.5.13.1.ebuild
new file mode 100644
index 000000000..7e368b43c
--- /dev/null
+++ b/gentoo/trinity-base/kooka/kooka-3.5.13.1.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdegraphics"
+
+inherit trinity-meta
+
+DESCRIPTION="Kooka is a Trinity application which provides access to scanner hardware"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="
+ >=trinity-base/libkscan-${PV}:${SLOT}
+ media-libs/tiff:="
+RDEPEND="${DEPEND}"
+
+TSM_EXTRACT_ALSO="libkscan"
diff --git a/gentoo/trinity-base/kooka/kooka-9999.ebuild b/gentoo/trinity-base/kooka/kooka-9999.ebuild
new file mode 100644
index 000000000..4d582bb7b
--- /dev/null
+++ b/gentoo/trinity-base/kooka/kooka-9999.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdegraphics"
+
+inherit trinity-meta
+
+DESCRIPTION="Kooka is a Trinity application which provides access to scanner hardware"
+KEYWORDS=
+IUSE=""
+
+DEPEND="
+ >=trinity-base/libkscan-${PV}:${SLOT}
+ media-libs/tiff:="
+RDEPEND="${DEPEND}"
+
+TSM_EXTRACT_ALSO="libkscan"
diff --git a/gentoo/trinity-base/kooka/metadata.xml b/gentoo/trinity-base/kooka/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kooka/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kopete/Manifest b/gentoo/trinity-base/kopete/Manifest
new file mode 100644
index 000000000..1d49700dc
--- /dev/null
+++ b/gentoo/trinity-base/kopete/Manifest
@@ -0,0 +1 @@
+DIST kdenetwork-3.5.13.1.tar.gz 8794225 SHA256 21e69e8cb2550561c26913a5cccdc376115f50cffd43f9a94f7a660a303f46f9 SHA512 b3189a9f5e9cddd130b24a82b95ef90db1ec3c7afa280a46101ba7cbf6f9d92f60a536401f648a96459ba87f70ede5f7ae4affe894515a8e858b40ee79cb1b69 WHIRLPOOL de678ab30e3aa8dc3068c895fd000fdab1bc046e272273bf44196a198210efab82ddde3c5e0ffaa863061e9c56e3a8a68ca2f8f03cd77136755f66688f878c65
diff --git a/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0001-f61f5c1-deleted-forgotten-files-for-commit-6e76ea67.patch b/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0001-f61f5c1-deleted-forgotten-files-for-commit-6e76ea67.patch
new file mode 100644
index 000000000..a5a7fb59a
--- /dev/null
+++ b/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0001-f61f5c1-deleted-forgotten-files-for-commit-6e76ea67.patch
@@ -0,0 +1,6 @@
+diff --git a/kopete/styles/Gaim/Contents/Resources/Footer.html b/kopete/styles/Gaim/Contents/Resources/Footer.html
+deleted file mode 100644
+index e69de29..0000000
+diff --git a/kopete/styles/Gaim/Contents/Resources/Header.html b/kopete/styles/Gaim/Contents/Resources/Header.html
+deleted file mode 100644
+index e69de29..0000000
diff --git a/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0002-f604b5b-fix-build-errors.patch b/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0002-f604b5b-fix-build-errors.patch
new file mode 100644
index 000000000..90b116c32
--- /dev/null
+++ b/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0002-f604b5b-fix-build-errors.patch
@@ -0,0 +1,51 @@
+diff --git a/kopete/protocols/jabber/kioslave/CMakeLists.txt b/kopete/protocols/jabber/kioslave/CMakeLists.txt
+index 6c691ae..9539457 100644
+--- a/kopete/protocols/jabber/kioslave/CMakeLists.txt
++++ b/kopete/protocols/jabber/kioslave/CMakeLists.txt
+@@ -37,6 +37,6 @@ tde_add_kpart( kio_jabberdisco AUTOMOC
+ LINK
+ jabberclient-static idn
+ iris_xmpp_core-static iris_xmpp_im-static iris_jabber-static iris-static
+- qca-static cutestuff_network-static cutestuff_util-static kio-shared idn
++ qca-static cutestuff_network-static cutestuff_util-static kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+ )
+diff --git a/kopete/protocols/sms/services/smsclient.cpp b/kopete/protocols/sms/services/smsclient.cpp
+index 9fb5a92..984e843 100644
+--- a/kopete/protocols/sms/services/smsclient.cpp
++++ b/kopete/protocols/sms/services/smsclient.cpp
+@@ -59,7 +59,7 @@ void SMSClient::send(const Kopete::Message& msg)
+ m_msg = msg;
+
+ KConfigGroup* c = m_account->configGroup();
+- TQString provider = c->readEntry(TQString("%1:%2").arg("SMSClient").arg("ProviderName");
++ TQString provider = c->readEntry(TQString("%1:%2").arg("SMSClient").arg("ProviderName"));
+
+ if (provider.isNull())
+ {
+@@ -67,7 +67,7 @@ void SMSClient::send(const Kopete::Message& msg)
+ return;
+ }
+
+- TQString programName = c->readEntry(TQString("%1:%2").arg("SMSClient").arg("ProgramName");
++ TQString programName = c->readEntry(TQString("%1:%2").arg("SMSClient").arg("ProgramName"));
+ if (programName.isNull())
+ programName = "/usr/bin/sms_client";
+
+@@ -97,14 +97,14 @@ TQWidget* SMSClient::configureWidget(TQWidget* parent)
+ prefWidget->configDir->setMode(KFile::Directory);
+ TQString configDir;
+ if (m_account)
+- configDir = m_account->configGroup()->readEntry(TQString("%1:%2").arg("SMSClient").arg("ConfigDir");
++ configDir = m_account->configGroup()->readEntry(TQString("%1:%2").arg("SMSClient").arg("ConfigDir"));
+ if (configDir.isNull())
+ configDir = "/etc/sms";
+ prefWidget->configDir->setURL(configDir);
+
+ TQString programName;
+ if (m_account)
+- programName = m_account->configGroup()->readEntry(TQString("%1:%2").arg("SMSClient").arg("ProgramName");
++ programName = m_account->configGroup()->readEntry(TQString("%1:%2").arg("SMSClient").arg("ProgramName"));
+ if (programName.isNull())
+ programName = "/usr/bin/sms_client";
+ prefWidget->program->setURL(programName);
diff --git a/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0003-e96ccab-added-xmms-support-to-cmake.patch b/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0003-e96ccab-added-xmms-support-to-cmake.patch
new file mode 100644
index 000000000..3fb2a2eaf
--- /dev/null
+++ b/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0003-e96ccab-added-xmms-support-to-cmake.patch
@@ -0,0 +1,42 @@
+diff --git a/kopete/plugins/nowlistening/CMakeLists.txt b/kopete/plugins/nowlistening/CMakeLists.txt
+index b1b6b19..a236a7e 100644
+--- a/kopete/plugins/nowlistening/CMakeLists.txt
++++ b/kopete/plugins/nowlistening/CMakeLists.txt
+@@ -9,6 +9,8 @@
+ #
+ #################################################
+
++include( ConfigureChecks.cmake )
++
+ include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+@@ -16,6 +18,7 @@ include_directories(
+ ${CMAKE_SOURCE_DIR}/kopete/libkopete/ui
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
++ ${XMMS_INCLUDES}
+ )
+
+ link_directories(
+@@ -38,7 +41,7 @@ tde_add_kpart( kopete_nowlistening AUTOMOC
+ nowlisteningconfig.kcfgc nowlisteningplugin.cpp nlkscd.cpp
+ nlnoatun.cpp nlxmms.cpp nowlisteningguiclient.cpp nljuk.cpp
+ nlamarok.cpp nlkaffeine.cpp
+- LINK kopete-shared
++ LINK kopete-shared ${XMMS_LIBS}
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+ )
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 2601743..86199c1 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -48,6 +48,7 @@ option( WITH_JINGLE "Enable jingle support (kopete)" OFF )
+ option( WITH_SPEEX "Enable speex support (for jingle)" OFF )
+ option( WITH_WEBCAM "Enable webcam support (kopete/msn)" OFF )
+ option( WITH_GSM "Enable GSM SMS support (kopete/sms)" OFF )
++option( WITH_XMMS "Enable XMMS support (kopete/nowlistening)" OFF )
+ option( WITH_ARTS "Enable aRts support" OFF )
+ option( WITH_SLP "Enable OpenSLP support (krdc, krfb)" OFF )
+
diff --git a/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0004-e0fdfd9-fix-unwanted-rename-icon-with-automake.patch b/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0004-e0fdfd9-fix-unwanted-rename-icon-with-automake.patch
new file mode 100644
index 000000000..88346c853
--- /dev/null
+++ b/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0004-e0fdfd9-fix-unwanted-rename-icon-with-automake.patch
@@ -0,0 +1,13 @@
+diff --git a/kopete/icons/Makefile.am b/kopete/icons/Makefile.am
+index a4b97f0..f3e403d 100644
+--- a/kopete/icons/Makefile.am
++++ b/kopete/icons/Makefile.am
+@@ -1 +1,8 @@
+ KDE_ICON=AUTO
++
++install-data-local:
++ if test -e $(DESTDIR)$(kde_icondir)/crystalsvg/16x16/apps/jabber_gateway_http/ws.png; then \
++ mv $(DESTDIR)$(kde_icondir)/crystalsvg/16x16/apps/jabber_gateway_http/ws.png \
++ $(DESTDIR)$(kde_icondir)/crystalsvg/16x16/apps/jabber_gateway_http-ws.png; \
++ rmdir $(DESTDIR)$(kde_icondir)/crystalsvg/16x16/apps/jabber_gateway_http; \
++ fi
diff --git a/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0005-df8b5e2-fix-inadvertent-tq-changes.patch b/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0005-df8b5e2-fix-inadvertent-tq-changes.patch
new file mode 100644
index 000000000..968ffaf45
--- /dev/null
+++ b/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0005-df8b5e2-fix-inadvertent-tq-changes.patch
@@ -0,0 +1,180 @@
+diff --git a/kopete/libkopete/tests/create_test.rb b/kopete/libkopete/tests/create_test.rb
+index ba6e0c2..7951bf3 100755
+--- a/kopete/libkopete/tests/create_test.rb
++++ b/kopete/libkopete/tests/create_test.rb
+@@ -37,7 +37,7 @@ fileCpp.gsub!(/template/, className.downcase.gsub(/::/,""))
+ fileCpp.gsub!(/Template/, className.gsub(/::/,""))
+ fileCpp.gsub!(/some requirement/, className + " class.")
+
+-makefileAm = "kunittest_template_test_la_SOURCES = template_test.cpp\nkunittest_template_test_la_LIBADD = -lkunittest ../tqmock/libkopete_tqmock.la\nkunittest_template_test_la_LDFLAGS = -module $(KDE_CHECK_PLUGIN) $(all_libraries)\n"
++makefileAm = "kunittest_template_test_la_SOURCES = template_test.cpp\nkunittest_template_test_la_LIBADD = -lkunittest ../mock/libkopete_mock.la\nkunittest_template_test_la_LDFLAGS = -module $(KDE_CHECK_PLUGIN) $(all_libraries)\n"
+ makefileAm.gsub!(/template/, className.downcase.gsub(/::/,""))
+
+ hNew = hBase.gsub(/template/, className.downcase.gsub(/::/,""))
+diff --git a/kopete/libkopete/tests/kopetemessage_test.cpp b/kopete/libkopete/tests/kopetemessage_test.cpp
+index bfd9e39..57908e4 100644
+--- a/kopete/libkopete/tests/kopetemessage_test.cpp
++++ b/kopete/libkopete/tests/kopetemessage_test.cpp
+@@ -29,11 +29,11 @@
+ #include <kdebug.h>
+
+ #include "kopetemessage_test.h"
+-#include "kopeteaccount_tqmock.h"
+-#include "kopeteprotocol_tqmock.h"
+-#include "kopetecontact_tqmock.h"
+-#include "kopetemetacontact_tqmock.h"
+-#include "kopeteaccount_tqmock.h"
++#include "kopeteaccount_mock.h"
++#include "kopeteprotocol_mock.h"
++#include "kopetecontact_mock.h"
++#include "kopetemetacontact_mock.h"
++#include "kopeteaccount_mock.h"
+
+ using namespace KUnitTest;
+
+diff --git a/kopete/libkopete/tests/mock/kopeteaccount_mock.cpp b/kopete/libkopete/tests/mock/kopeteaccount_mock.cpp
+index 8beb6e8..7d46fc3 100644
+--- a/kopete/libkopete/tests/mock/kopeteaccount_mock.cpp
++++ b/kopete/libkopete/tests/mock/kopeteaccount_mock.cpp
+@@ -1,5 +1,5 @@
+ /*
+- Account tqmock object class
++ Account mock object class
+
+ Copyright (c) 2005 by Duncan Mac-Vicar Prett <duncan@kde.org>
+
+@@ -15,9 +15,9 @@
+ *************************************************************************
+ */
+
+-#include "kopeteaccount_tqmock.h"
++#include "kopeteaccount_mock.h"
+ #include "kopetemetacontact.h"
+-#include "kopeteaccount_tqmock.h"
++#include "kopeteaccount_mock.h"
+
+ namespace Kopete
+ {
+diff --git a/kopete/libkopete/tests/mock/kopeteaccount_mock.h b/kopete/libkopete/tests/mock/kopeteaccount_mock.h
+index be4f281..039632f 100644
+--- a/kopete/libkopete/tests/mock/kopeteaccount_mock.h
++++ b/kopete/libkopete/tests/mock/kopeteaccount_mock.h
+@@ -1,5 +1,5 @@
+ /*
+- Account tqmock object class
++ Account mock object class
+
+ Copyright (c) 2005 by Duncan Mac-Vicar Prett <duncan@kde.org>
+
+diff --git a/kopete/libkopete/tests/mock/kopetecontact_mock.cpp b/kopete/libkopete/tests/mock/kopetecontact_mock.cpp
+index 43a5b81..ea90bee 100644
+--- a/kopete/libkopete/tests/mock/kopetecontact_mock.cpp
++++ b/kopete/libkopete/tests/mock/kopetecontact_mock.cpp
+@@ -1,5 +1,5 @@
+ /*
+- Contact tqmock object class
++ Contact mock object class
+
+ Copyright (c) 2005 by Duncan Mac-Vicar Prett <duncan@kde.org>
+
+@@ -15,7 +15,7 @@
+ *************************************************************************
+ */
+
+-#include "kopetecontact_tqmock.h"
++#include "kopetecontact_mock.h"
+
+ namespace Kopete
+ {
+diff --git a/kopete/libkopete/tests/mock/kopetecontact_mock.h b/kopete/libkopete/tests/mock/kopetecontact_mock.h
+index aba361a..00ec878 100644
+--- a/kopete/libkopete/tests/mock/kopetecontact_mock.h
++++ b/kopete/libkopete/tests/mock/kopetecontact_mock.h
+@@ -1,5 +1,5 @@
+ /*
+- Contact tqmock object class
++ Contact mock object class
+
+ Copyright (c) 2005 by Duncan Mac-Vicar Prett <duncan@kde.org>
+
+diff --git a/kopete/libkopete/tests/mock/kopetemessage_mock.cpp b/kopete/libkopete/tests/mock/kopetemessage_mock.cpp
+index 66f325e..a3e543e 100644
+--- a/kopete/libkopete/tests/mock/kopetemessage_mock.cpp
++++ b/kopete/libkopete/tests/mock/kopetemessage_mock.cpp
+@@ -1,5 +1,5 @@
+ /*
+- Message tqmock object class
++ Message mock object class
+
+ Copyright (c) 2005 by Duncan Mac-Vicar Prett <duncan@kde.org>
+
+@@ -15,6 +15,6 @@
+ *************************************************************************
+ */
+
+-#include "kopetemessage_tqmock.h"
++#include "kopetemessage_mock.h"
+
+
+diff --git a/kopete/libkopete/tests/mock/kopetemessage_mock.h b/kopete/libkopete/tests/mock/kopetemessage_mock.h
+index f8677ee..1345e92 100644
+--- a/kopete/libkopete/tests/mock/kopetemessage_mock.h
++++ b/kopete/libkopete/tests/mock/kopetemessage_mock.h
+@@ -1,5 +1,5 @@
+ /*
+- Message tqmock object class
++ Message mock object class
+
+ Copyright (c) 2005 by Duncan Mac-Vicar Prett <duncan@kde.org>
+
+diff --git a/kopete/libkopete/tests/mock/kopetemetacontact_mock.cpp b/kopete/libkopete/tests/mock/kopetemetacontact_mock.cpp
+index e9cc95a..32f0fe1 100644
+--- a/kopete/libkopete/tests/mock/kopetemetacontact_mock.cpp
++++ b/kopete/libkopete/tests/mock/kopetemetacontact_mock.cpp
+@@ -15,6 +15,6 @@
+ *************************************************************************
+ */
+
+-#include "kopetemetacontact_tqmock.h"
++#include "kopetemetacontact_mock.h"
+
+
+diff --git a/kopete/libkopete/tests/mock/kopeteprotocol_mock.cpp b/kopete/libkopete/tests/mock/kopeteprotocol_mock.cpp
+index 97bcfee..d9ae1d3 100644
+--- a/kopete/libkopete/tests/mock/kopeteprotocol_mock.cpp
++++ b/kopete/libkopete/tests/mock/kopeteprotocol_mock.cpp
+@@ -1,5 +1,5 @@
+ /*
+- Protocol tqmock object class
++ Protocol mock object class
+
+ Copyright (c) 2005 by Duncan Mac-Vicar Prett <duncan@kde.org>
+
+@@ -15,7 +15,7 @@
+ *************************************************************************
+ */
+
+-#include "kopeteprotocol_tqmock.h"
++#include "kopeteprotocol_mock.h"
+
+ namespace Kopete
+ {
+@@ -44,6 +44,6 @@ KopeteEditAccountWidget* Protocol::createEditAccountWidget( Kopete::Account *acc
+ return 0L;
+ }
+
+-} // end ns tqmock
++} // end ns mock
+ } // end ns test
+ } // end ns kopete
+diff --git a/kopete/libkopete/tests/mock/kopeteprotocol_mock.h b/kopete/libkopete/tests/mock/kopeteprotocol_mock.h
+index d2ad36f..db40740 100644
+--- a/kopete/libkopete/tests/mock/kopeteprotocol_mock.h
++++ b/kopete/libkopete/tests/mock/kopeteprotocol_mock.h
+@@ -1,5 +1,5 @@
+ /*
+- Protocol tqmock object class
++ Protocol mock object class
+
+ Copyright (c) 2005 by Duncan Mac-Vicar Prett <duncan@kde.org>
+
diff --git a/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0006-bd6aa1a-fix-inadvertent-tqt-changes.patch b/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0006-bd6aa1a-fix-inadvertent-tqt-changes.patch
new file mode 100644
index 000000000..8cb91742e
--- /dev/null
+++ b/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0006-bd6aa1a-fix-inadvertent-tqt-changes.patch
@@ -0,0 +1,37 @@
+diff --git a/kopete/protocols/jabber/jingle/jinglewatchsessiontask.h b/kopete/protocols/jabber/jingle/jinglewatchsessiontask.h
+index 8c37b0c..7a3a906 100644
+--- a/kopete/protocols/jabber/jingle/jinglewatchsessiontask.h
++++ b/kopete/protocols/jabber/jingle/jinglewatchsessiontask.h
+@@ -21,7 +21,7 @@
+
+ /**
+ * This task watch for incoming Jingle session and notify manager.
+- * It is declared in the header to be "tqmoc"-able.
++ * It is declared in the header to be "moc"-able.
+ */
+ class JingleWatchSessionTask : public XMPP::Task
+ {
+diff --git a/kopete/protocols/jabber/libiris/iris/jabber/all_mocs.cpp b/kopete/protocols/jabber/libiris/iris/jabber/all_mocs.cpp
+index 8532fd4..b76a283 100644
+--- a/kopete/protocols/jabber/libiris/iris/jabber/all_mocs.cpp
++++ b/kopete/protocols/jabber/libiris/iris/jabber/all_mocs.cpp
+@@ -1,5 +1,5 @@
+ /*
+- * all_tqmocs.cpp - #include all .tqmoc files in this directory
++ * all_mocs.cpp - #include all .moc files in this directory
+ * Copyright (C) 2004 Richard Smith
+ *
+ * This library is free software; you can redistribute it and/or
+diff --git a/kopete/protocols/msn/msnaccount.h b/kopete/protocols/msn/msnaccount.h
+index 31ae451..d35f23e 100644
+--- a/kopete/protocols/msn/msnaccount.h
++++ b/kopete/protocols/msn/msnaccount.h
+@@ -135,7 +135,7 @@ private slots:
+ void slotOpenInbox();
+ void slotChangePublicName();
+
+-//#if !defined NDEBUG //(Stupid tqmoc which don't see when he don't need to slot this slot)
++//#if !defined NDEBUG //(Stupid moc which don't see when he don't need to slot this slot)
+ /**
+ * Show simple debugging aid
+ */
diff --git a/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0007-a2b3834-fix-various-cmake-build-issues.patch b/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0007-a2b3834-fix-various-cmake-build-issues.patch
new file mode 100644
index 000000000..a6355caf0
--- /dev/null
+++ b/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0007-a2b3834-fix-various-cmake-build-issues.patch
@@ -0,0 +1,98 @@
+diff --git a/kopete/kopete/kconf_update/CMakeLists.txt b/kopete/kopete/kconf_update/CMakeLists.txt
+index 1317d82..967b8ef 100644
+--- a/kopete/kopete/kconf_update/CMakeLists.txt
++++ b/kopete/kopete/kconf_update/CMakeLists.txt
+@@ -39,7 +39,7 @@ install( PROGRAMS
+
+ ##### kopete_account_kconf_update (executable) ##
+
+-tde_add_executable( kopete_account_kconf_update
++tde_add_executable( "kopete-account-kconf_update"
+ SOURCES kopete-account-kconf_update.cpp
+ LINK ${TQT_LIBRARIES}
+ DESTINATION ${LIB_INSTALL_DIR}/kconf_update_bin
+@@ -48,7 +48,7 @@ tde_add_executable( kopete_account_kconf_update
+
+ ##### kopete_pluginloader2_kconf_update (executable)
+
+-tde_add_executable( kopete_pluginloader2_kconf_update
++tde_add_executable( "kopete-pluginloader2-kconf_update"
+ SOURCES kopete-pluginloader2.cpp
+ LINK ${TQT_LIBRARIES}
+ DESTINATION ${LIB_INSTALL_DIR}/kconf_update_bin
+@@ -57,7 +57,7 @@ tde_add_executable( kopete_pluginloader2_kconf_update
+
+ ##### kopete_nameTracking_kconf_update (executable)
+
+-tde_add_executable( kopete_nameTracking_kconf_update
++tde_add_executable( "kopete-nameTracking-kconf_update"
+ SOURCES kopete-nameTracking.cpp
+ LINK kdecore-shared
+ DESTINATION ${LIB_INSTALL_DIR}/kconf_update_bin
+diff --git a/kopete/libkopete/CMakeLists.txt b/kopete/libkopete/CMakeLists.txt
+index bbed254..d012c2a 100644
+--- a/kopete/libkopete/CMakeLists.txt
++++ b/kopete/libkopete/CMakeLists.txt
+@@ -49,7 +49,7 @@ install( FILES
+ kopetetransfermanager.h kopeteuiglobal.h kabcpersistence.h
+ managedconnectionaccount.h kopetenotifydataobject.h
+ kopeteversion.h kopeteprefs.h kopetepicture.h webcamwidget.h
+- kopetepluginmanager.h
++ kopetepluginmanager.h kopeteblacklister.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}/kopete )
+
+
+diff --git a/kopete/libkopete/avdevice/CMakeLists.txt b/kopete/libkopete/avdevice/CMakeLists.txt
+index 8e37773..2a8b817 100644
+--- a/kopete/libkopete/avdevice/CMakeLists.txt
++++ b/kopete/libkopete/avdevice/CMakeLists.txt
+@@ -40,7 +40,7 @@ tde_add_library( kopete_videodevice SHARED AUTOMOC
+ videocontrol.cpp videodevice.cpp videodevicemodelpool.cpp
+ videodevicepool.cpp videoinput.cpp bayer.cpp
+ sonix_compress.cpp
+- VERSION 1.0.0
++ VERSION 0.0.0
+ LINK kdecore-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+ )
+diff --git a/kopete/protocols/jabber/kioslave/CMakeLists.txt b/kopete/protocols/jabber/kioslave/CMakeLists.txt
+index 9539457..24b4ce8 100644
+--- a/kopete/protocols/jabber/kioslave/CMakeLists.txt
++++ b/kopete/protocols/jabber/kioslave/CMakeLists.txt
+@@ -35,8 +35,8 @@ install( FILES jabberdisco.protocol DESTINATION ${SERVICES_INSTALL_DIR} )
+ tde_add_kpart( kio_jabberdisco AUTOMOC
+ SOURCES jabberdisco.cpp
+ LINK
+- jabberclient-static idn
++ jabberclient-static
+ iris_xmpp_core-static iris_xmpp_im-static iris_jabber-static iris-static
+- qca-static cutestuff_network-static cutestuff_util-static kio-shared
++ qca-static cutestuff_network-static cutestuff_util-static kio-shared idn
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+ )
+diff --git a/kopete/protocols/meanwhile/CMakeLists.txt b/kopete/protocols/meanwhile/CMakeLists.txt
+index 994f6e3..198dfaa 100644
+--- a/kopete/protocols/meanwhile/CMakeLists.txt
++++ b/kopete/protocols/meanwhile/CMakeLists.txt
+@@ -35,9 +35,9 @@ link_directories(
+ install( FILES kopete_meanwhile.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+-##### new_target0 (module) #######################
++##### kopete_meanwhile (module) #######################
+
+-tde_add_kpart( new_target0 AUTOMOC
++tde_add_kpart( kopete_meanwhile AUTOMOC
+ SOURCES
+ meanwhileprotocol.cpp meanwhileaddcontactpage.cpp
+ meanwhileeditaccountwidget.cpp meanwhileaccount.cpp
+diff --git a/kopete/protocols/msn/webcam/libmimic/CMakeLists.txt b/kopete/protocols/msn/webcam/libmimic/CMakeLists.txt
+index d98fc83..5a34066 100644
+--- a/kopete/protocols/msn/webcam/libmimic/CMakeLists.txt
++++ b/kopete/protocols/msn/webcam/libmimic/CMakeLists.txt
+@@ -20,4 +20,5 @@ tde_add_library( mimic STATIC_PIC
+ SOURCES
+ mimic.c encode.c decode.c bitstring.c vlc_common.c vlc_encode.c
+ vlc_decode.c fdct_quant.c idct_dequant.c colorspace.c deblock.c
++ LINK ${GLIB2_LIBRARIES}
+ )
diff --git a/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0008-98c9c87-add-missing-file-from-previous-commit-10026753.patch b/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0008-98c9c87-add-missing-file-from-previous-commit-10026753.patch
new file mode 100644
index 000000000..a23146a01
--- /dev/null
+++ b/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0008-98c9c87-add-missing-file-from-previous-commit-10026753.patch
@@ -0,0 +1,28 @@
+diff --git a/kopete/plugins/nowlistening/ConfigureChecks.cmake b/kopete/plugins/nowlistening/ConfigureChecks.cmake
+new file mode 100644
+index 0000000..0780035
+--- /dev/null
++++ b/kopete/plugins/nowlistening/ConfigureChecks.cmake
+@@ -0,0 +1,22 @@
++#################################################
++#
++# (C) 2012 Slavek Banko
++# slavek (DOT) banko (AT) axis.cz
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++# xmms
++if( WITH_XMMS )
++ find_program( XMMS_CONFIG xmms-config )
++ if( XMMS_CONFIG )
++ set( HAVE_XMMS 1 )
++ EXEC_PROCESS( COMMAND ${XMMS_CONFIG} --cflags OUTPUT_VARIABLE XMMS_INCLUDES )
++ EXEC_PROCESS( COMMAND ${XMMS_CONFIG} --libs OUTPUT_VARIABLE XMMS_LIBS )
++ else( )
++ tde_message_fatal( "xmms is required, but was not found on your system" )
++ endif( )
++endif( )
diff --git a/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0009-81ace9c-fix-inadvertent-tq-changes.patch b/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0009-81ace9c-fix-inadvertent-tq-changes.patch
new file mode 100644
index 000000000..d778c7fc2
--- /dev/null
+++ b/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0009-81ace9c-fix-inadvertent-tq-changes.patch
@@ -0,0 +1,15 @@
+diff --git a/kopete/kopete.api b/kopete/kopete.api
+index 04084b8..95a196a 100644
+--- a/kopete/kopete.api
++++ b/kopete/kopete.api
+@@ -59,8 +59,8 @@ WARN_LOGFILE =
+ INPUT = libkopete libkopete/ui
+ FILE_PATTERNS = *.h
+ RECURSIVE = NO
+-EXCLUDE_PATTERNS = *.tqmoc.* \
+- tqmoc* \
++EXCLUDE_PATTERNS = *.moc.* \
++ moc* \
+ *.all_cpp.* \
+ *unload.* \
+ */test/* \
diff --git a/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0010-6f85c0c-fix-references-to-user-profile-directory.patch b/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0010-6f85c0c-fix-references-to-user-profile-directory.patch
new file mode 100644
index 000000000..f4d414470
--- /dev/null
+++ b/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0010-6f85c0c-fix-references-to-user-profile-directory.patch
@@ -0,0 +1,39 @@
+diff --git a/kopete/kopete/chatwindow/kopetechatwindowstyle.h b/kopete/kopete/chatwindow/kopetechatwindowstyle.h
+index 38c5f35..aa6f73a 100644
+--- a/kopete/kopete/chatwindow/kopetechatwindowstyle.h
++++ b/kopete/kopete/chatwindow/kopetechatwindowstyle.h
+@@ -65,7 +65,7 @@ public:
+ /**
+ * Get the style path.
+ * The style path points to the directory where the style is located.
+- * ex: ~/.kde/share/apps/kopete/styles/StyleName/
++ * ex: ~/.trinity/share/apps/kopete/styles/StyleName/
+ *
+ * @return the style path based.
+ */
+diff --git a/kopete/libkopete/kopetepicture.h b/kopete/libkopete/kopetepicture.h
+index 46e7a7c..a681e7c 100644
+--- a/kopete/libkopete/kopetepicture.h
++++ b/kopete/libkopete/kopetepicture.h
+@@ -41,7 +41,7 @@ namespace Kopete
+ * You can only use an TQImage and a image path to create/update
+ * the picture.
+ * If the picture doesn't exist as a file, it generate a local
+- * copy into ~/.kde/share/apps/kopete/metacontactpicturecache
++ * copy into ~/.trinity/share/apps/kopete/metacontactpicturecache
+ *
+ * This class is implicitly shared, so don't use it as a pointer.
+ *
+diff --git a/kopete/plugins/history/converter.cpp b/kopete/plugins/history/converter.cpp
+index 677ed1d..2bf748c 100644
+--- a/kopete/plugins/history/converter.cpp
++++ b/kopete/plugins/history/converter.cpp
+@@ -45,7 +45,7 @@ void HistoryPlugin::convertOldHistory()
+
+
+ TQString kopetedir=locateLocal( "data", TQString::fromLatin1( "kopete"));
+- TQDir d( kopetedir ); //d should point to ~/.kde/share/apps/kopete/
++ TQDir d( kopetedir ); //d should point to ~/.trinity/share/apps/kopete/
+
+ d.setFilter( TQDir::Dirs );
+
diff --git a/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0011-631f957-remove-nuisance-unsermake-warning-with-automake.patch b/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0011-631f957-remove-nuisance-unsermake-warning-with-automake.patch
new file mode 100644
index 000000000..ea1a6526e
--- /dev/null
+++ b/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0011-631f957-remove-nuisance-unsermake-warning-with-automake.patch
@@ -0,0 +1,12 @@
+diff --git a/kopete/protocols/jabber/libiris/iris/xmpp-core/Makefile.am b/kopete/protocols/jabber/libiris/iris/xmpp-core/Makefile.am
+index 56be2c4..8e89a08 100644
+--- a/kopete/protocols/jabber/libiris/iris/xmpp-core/Makefile.am
++++ b/kopete/protocols/jabber/libiris/iris/xmpp-core/Makefile.am
+@@ -1,6 +1,6 @@
+ # The only Q_OBJECT lines are in securestream.{h,cpp} and we deal with them below.
+ # Give metasources a file with no Q_OBJECT line to stop unsermake assuming we want METASOURCES = AUTO
+-METASOURCES = ignore_this_warning.moc
++METASOURCES = AUTO
+
+ noinst_LTLIBRARIES = libiris_xmpp_core.la
+ AM_CPPFLAGS = $(IDN_CFLAGS)
diff --git a/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0012-4387c55-fix-inadvertent-tq-changes.patch b/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0012-4387c55-fix-inadvertent-tq-changes.patch
new file mode 100644
index 000000000..dc437b278
--- /dev/null
+++ b/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0012-4387c55-fix-inadvertent-tq-changes.patch
@@ -0,0 +1,75 @@
+diff --git a/kopete/libkopete/tests/mock/kopeteaccount_mock.h b/kopete/libkopete/tests/mock/kopeteaccount_mock.h
+index 039632f..2d30f8f 100644
+--- a/kopete/libkopete/tests/mock/kopeteaccount_mock.h
++++ b/kopete/libkopete/tests/mock/kopeteaccount_mock.h
+@@ -15,8 +15,8 @@
+ *************************************************************************
+ */
+
+-#ifndef _KOPETEACCOUNT_TQMOCK_H_
+-#define _KOPETEACCOUNT_TQMOCK_H_
++#ifndef _KOPETEACCOUNT_MOCK_H_
++#define _KOPETEACCOUNT_MOCK_H_
+
+ #include "kopeteaccount.h"
+
+diff --git a/kopete/libkopete/tests/mock/kopetecontact_mock.h b/kopete/libkopete/tests/mock/kopetecontact_mock.h
+index 00ec878..e25844d 100644
+--- a/kopete/libkopete/tests/mock/kopetecontact_mock.h
++++ b/kopete/libkopete/tests/mock/kopetecontact_mock.h
+@@ -15,8 +15,8 @@
+ *************************************************************************
+ */
+
+-#ifndef _KOPETECONTACT_TQMOCK_H_
+-#define _KOPETECONTACT_TQMOCK_H_
++#ifndef _KOPETECONTACT_MOCK_H_
++#define _KOPETECONTACT_MOCK_H_
+
+ #include "kopetecontact.h"
+
+diff --git a/kopete/libkopete/tests/mock/kopetemessage_mock.h b/kopete/libkopete/tests/mock/kopetemessage_mock.h
+index 1345e92..13c9257 100644
+--- a/kopete/libkopete/tests/mock/kopetemessage_mock.h
++++ b/kopete/libkopete/tests/mock/kopetemessage_mock.h
+@@ -15,8 +15,8 @@
+ *************************************************************************
+ */
+
+-#ifndef _KOPETEMESSAGE_TQMOCK_H_
+-#define _KOPETEMESSAGE_TQMOCK_H_
++#ifndef _KOPETEMESSAGE_MOCK_H_
++#define _KOPETEMESSAGE_MOCK_H_
+
+ #include "kopetemessage.h"
+
+diff --git a/kopete/libkopete/tests/mock/kopetemetacontact_mock.h b/kopete/libkopete/tests/mock/kopetemetacontact_mock.h
+index 2fa6d8c..f331171 100644
+--- a/kopete/libkopete/tests/mock/kopetemetacontact_mock.h
++++ b/kopete/libkopete/tests/mock/kopetemetacontact_mock.h
+@@ -15,8 +15,8 @@
+ *************************************************************************
+ */
+
+-#ifndef _KOPETEMETACONTACT_TQMOCK_H_
+-#define _KOPETEMETACONTACT_TQMOCK_H_
++#ifndef _KOPETEMETACONTACT_MOCK_H_
++#define _KOPETEMETACONTACT_MOCK_H_
+
+ #include "kopetemetacontact.h"
+
+diff --git a/kopete/libkopete/tests/mock/kopeteprotocol_mock.h b/kopete/libkopete/tests/mock/kopeteprotocol_mock.h
+index db40740..d250279 100644
+--- a/kopete/libkopete/tests/mock/kopeteprotocol_mock.h
++++ b/kopete/libkopete/tests/mock/kopeteprotocol_mock.h
+@@ -15,8 +15,8 @@
+ *************************************************************************
+ */
+
+-#ifndef _KOPETEPROTOCOL_TQMOCK_H_
+-#define _KOPETEPROTOCOL_TQMOCK_H_
++#ifndef _KOPETEPROTOCOL_MOCK_H_
++#define _KOPETEPROTOCOL_MOCK_H_
+
+ #include "kopeteprotocol.h"
+
diff --git a/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0013.1-412a55a-update-kopete-references-of-gaim-to-pidgin-resolve-bug-865.patch b/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0013.1-412a55a-update-kopete-references-of-gaim-to-pidgin-resolve-bug-865.patch
new file mode 100644
index 000000000..dcf95d82d
--- /dev/null
+++ b/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0013.1-412a55a-update-kopete-references-of-gaim-to-pidgin-resolve-bug-865.patch
@@ -0,0 +1,373 @@
+diff --git a/kopete/ChangeLog b/kopete/ChangeLog
+index 5339291..9b94a50 100644
+--- a/kopete/ChangeLog
++++ b/kopete/ChangeLog
+@@ -143,7 +143,7 @@
+ * Rearrange the yahoo message parsing a bit so we do it all before we
+ create the KopeteMessage object for it.
+
+- Workaround gaim's bugginess when sending URLs so that there
++ Workaround pidgin's bugginess when sending URLs so that there
+ aren't parse errors. (#87190)
+
+ 2004-08-14 14:22 Matt Rogers <matt.rogers@kdemail.net>
+diff --git a/kopete/protocols/groupwise/gwprotocol.cpp b/kopete/protocols/groupwise/gwprotocol.cpp
+index 68a31fb..237122c 100644
+--- a/kopete/protocols/groupwise/gwprotocol.cpp
++++ b/kopete/protocols/groupwise/gwprotocol.cpp
+@@ -5,7 +5,7 @@
+
+ Based on Testbed
+ Copyright (c) 2003 by Will Stephenson <will@stevello.free-online.co.uk>
+- rtfizeTest from nm_rtfize_text, from Gaim src/protocols/novell/nmuser.c
++ rtfizeTest from nm_rtfize_text, from Pidgin src/protocols/novell/nmuser.c
+ Copyright (c) 2004 Novell, Inc. All Rights Reserved
+
+ Kopete (c) 2002-2003 by the Kopete developers <kopete-devel@kde.org>
+@@ -178,7 +178,7 @@ TQString GroupWiseProtocol::rtfizeText( const TQString & plain )
+ "{\\colortbl ;\\red0\\green0\\blue0;}\n"
+ "\\uc1\\cf1\\f0\\fs18 %1\\par\n}");
+ TQString outputText; // output text
+- TQCString plainUtf8 = plain.utf8(); // encoded as UTF8, because that's what this encoding algorithm, taken from Gaim's Novell plugin
++ TQCString plainUtf8 = plain.utf8(); // encoded as UTF8, because that's what this encoding algorithm, taken from Pidgin's Novell plugin
+ uint index = 0; // current char to transcode
+ while ( index < plainUtf8.length() )
+ {
+diff --git a/kopete/protocols/groupwise/gwprotocol.h b/kopete/protocols/groupwise/gwprotocol.h
+index 95105f1..b73406c 100644
+--- a/kopete/protocols/groupwise/gwprotocol.h
++++ b/kopete/protocols/groupwise/gwprotocol.h
+@@ -5,7 +5,7 @@
+
+ Based on Testbed
+ Copyright (c) 2003 by Will Stephenson <will@stevello.free-online.co.uk>
+- rtfizeTest from nm_rtfize_text, from Gaim src/protocols/novell/nmuser.c
++ rtfizeTest from nm_rtfize_text, from Pidgin src/protocols/novell/nmuser.c
+ Copyright (c) 2004 Novell, Inc. All Rights Reserved
+
+ Kopete (c) 2002-2003 by the Kopete developers <kopete-devel@kde.org>
+diff --git a/kopete/protocols/groupwise/libgroupwise/coreprotocol.cpp b/kopete/protocols/groupwise/libgroupwise/coreprotocol.cpp
+index 449adfe..9e7a131 100644
+--- a/kopete/protocols/groupwise/libgroupwise/coreprotocol.cpp
++++ b/kopete/protocols/groupwise/libgroupwise/coreprotocol.cpp
+@@ -5,7 +5,7 @@
+ Copyright (c) 2004 SUSE Linux AG http://www.suse.com
+
+ Based on Iris, Copyright (C) 2003 Justin Karneges
+- url_escape_string from Gaim src/protocols/novell/nmconn.c
++ url_escape_string from Pidgin src/protocols/novell/nmconn.c
+ Copyright (c) 2004 Novell, Inc. All Rights Reserved
+
+ Kopete (c) 2002-2004 by the Kopete developers <kopete-devel@kde.org>
+@@ -273,11 +273,11 @@ void CoreProtocol::fieldsToWire( Field::FieldList fields, int depth )
+ TQDataStream dout( bytesOut, IO_WriteOnly );
+ dout.setByteOrder( TQDataStream::LittleEndian );
+
+- // these fields are ignored by Gaim's novell
++ // these fields are ignored by Pidgin's novell
+ if ( field->type() == NMFIELD_TYPE_BINARY || field->method() == NMFIELD_METHOD_IGNORE )
+ continue;
+
+- // GAIM writes these tags to the secure socket separately - if we can't connect, check here
++ // PIDGIN writes these tags to the secure socket separately - if we can't connect, check here
+ // NM Protocol 1 writes them in an apparently arbitrary order
+ // tag
+ //dout.writeRawBytes( GW_URLVAR_TAG, sizeof( GW_URLVAR_TAG ) );
+diff --git a/kopete/protocols/groupwise/libgroupwise/eventprotocol.cpp b/kopete/protocols/groupwise/libgroupwise/eventprotocol.cpp
+index 93ce7c9..7532706 100644
+--- a/kopete/protocols/groupwise/libgroupwise/eventprotocol.cpp
++++ b/kopete/protocols/groupwise/libgroupwise/eventprotocol.cpp
+@@ -177,7 +177,7 @@ Transfer * EventProtocol::parse( const TQByteArray & wire, uint& bytes )
+ case ContactAdd: //104
+ case ReceiveFile: //109
+ case ConferenceRename: //116
+- // unhandled because unhandled in Gaim
++ // unhandled because unhandled in Pidgin
+ break;
+ /* GW7 */
+ case ReceivedBroadcast: //122
+diff --git a/kopete/protocols/groupwise/libgroupwise/gwclientstream.cpp b/kopete/protocols/groupwise/libgroupwise/gwclientstream.cpp
+index f39c2ec..1034b22 100644
+--- a/kopete/protocols/groupwise/libgroupwise/gwclientstream.cpp
++++ b/kopete/protocols/groupwise/libgroupwise/gwclientstream.cpp
+@@ -4,7 +4,7 @@
+ Copyright (c) 2004 SUSE Linux AG http://www.suse.com
+
+ Based on Iris, Copyright (C) 2003 Justin Karneges
+- encode_method from Gaim src/protocols/novell/nmconn.c
++ encode_method from Pidgin src/protocols/novell/nmconn.c
+ Copyright (c) 2004 Novell, Inc. All Rights Reserved
+
+ Kopete (c) 2002-2004 by the Kopete developers <kopete-devel@kde.org>
+diff --git a/kopete/protocols/groupwise/libgroupwise/tasks/getstatustask.cpp b/kopete/protocols/groupwise/libgroupwise/tasks/getstatustask.cpp
+index 2b77e33..1ef621d 100644
+--- a/kopete/protocols/groupwise/libgroupwise/tasks/getstatustask.cpp
++++ b/kopete/protocols/groupwise/libgroupwise/tasks/getstatustask.cpp
+@@ -35,7 +35,7 @@ void GetStatusTask::userDN( const TQString & dn )
+ m_userDN = dn;
+ // set up Transfer
+ Field::FieldList lst;
+- // changed from USERID to DN as per Gaim/GWIM
++ // changed from USERID to DN as per Pidgin/GWIM
+ lst.append( new Field::SingleField( NM_A_SZ_DN, 0, NMFIELD_TYPE_UTF8, m_userDN ) );
+ createTransfer( "getstatus", lst );
+ }
+diff --git a/kopete/protocols/groupwise/libgroupwise/tasks/sendmessagetask.cpp b/kopete/protocols/groupwise/libgroupwise/tasks/sendmessagetask.cpp
+index fdf1173..7180b4d 100644
+--- a/kopete/protocols/groupwise/libgroupwise/tasks/sendmessagetask.cpp
++++ b/kopete/protocols/groupwise/libgroupwise/tasks/sendmessagetask.cpp
+@@ -31,7 +31,7 @@ SendMessageTask::~SendMessageTask()
+
+ void SendMessageTask::message( const TQStringList & recipientDNList, const OutgoingMessage & msg )
+ {
+- // Assumes the conference is instantiated, unlike Gaim's nm_send_message
++ // Assumes the conference is instantiated, unlike Pidgin's nm_send_message
+ Field::FieldList lst, tmp, msgBodies;
+ // list containing GUID
+ tmp.append( new Field::SingleField( NM_A_SZ_OBJECT_ID, 0, NMFIELD_TYPE_UTF8, msg.guid ) );
+diff --git a/kopete/protocols/jabber/jabberchatsession.cpp b/kopete/protocols/jabber/jabberchatsession.cpp
+index c18c907..75bcdd0 100644
+--- a/kopete/protocols/jabber/jabberchatsession.cpp
++++ b/kopete/protocols/jabber/jabberchatsession.cpp
+@@ -287,7 +287,7 @@ void JabberChatSession::slotMessageSent ( Kopete::Message &message, Kopete::Chat
+ TQString xhtmlBody = message.escapedBody();
+
+ // According to JEP-0071 8.9 it is only RECOMMANDED to replace \n with <br/>
+- // which mean that some implementation (gaim 2 beta) may still think that \n are linebreak.
++ // which mean that some implementation (pidgin 2 beta) may still think that \n are linebreak.
+ // and considered the fact that KTextEditor generate a well indented XHTML, we need to remove all \n from it
+ // see Bug 121627
+ // Anyway, theses client that do like that are *WRONG* considreded the example of jep-71 where there are lot of
+diff --git a/kopete/protocols/jabber/jingle/libjingle/talk/examples/call/status.h b/kopete/protocols/jabber/jingle/libjingle/talk/examples/call/status.h
+index cab9312..c6e6324 100644
+--- a/kopete/protocols/jabber/jingle/libjingle/talk/examples/call/status.h
++++ b/kopete/protocols/jabber/jingle/libjingle/talk/examples/call/status.h
+@@ -119,7 +119,7 @@ public:
+ status_.find("Auto Status") != std::string::npos)
+ return STR_EMPTY;
+ }
+- if (jid_.resource().find("Gaim") != std::string::npos) {
++ if (jid_.resource().find("Pidgin") != std::string::npos) {
+ if (status_ == "Sorry, I ran out for a bit!")
+ return STR_EMPTY;
+ }
+diff --git a/kopete/protocols/meanwhile/README b/kopete/protocols/meanwhile/README
+index 5c77dbf..4730c3f 100644
+--- a/kopete/protocols/meanwhile/README
++++ b/kopete/protocols/meanwhile/README
+@@ -9,7 +9,7 @@ To INSTALL
+ installing libmeanwhile
+ =======================
+ from http://meanwhile.sf.net - use version 0.3
+-Refer to INSTALL in the meanwhile code. Run configure without specifying the --with_gaim_src
++Refer to INSTALL in the meanwhile code. Run configure without specifying the --with_pidgin_src
+ # autogen.sh
+ # ./configure --prefix=/usr
+ # make
+diff --git a/kopete/protocols/msn/ReleaseNotes b/kopete/protocols/msn/ReleaseNotes
+index 3a2b2f6..1a36724 100644
+--- a/kopete/protocols/msn/ReleaseNotes
++++ b/kopete/protocols/msn/ReleaseNotes
+@@ -23,7 +23,7 @@ release:
+ internally a group ID is used. Kopete currently uses the name as a unique
+ identifier, however, and will likely get a bit confused by this. If you
+ do experience problems, you could join both groups using another MSN
+- client, like the official client, Trillian or Gaim as a workaround.
++ client, like the official client, Trillian or Pidgin as a workaround.
+
+ - Kopete contacts can be at Top-Level and in no groups. MSN doesn't
+ support this freature. The kopete's contact list can differe from server
+diff --git a/kopete/protocols/msn/msnaccount.cpp b/kopete/protocols/msn/msnaccount.cpp
+index 6c4aa9c..c4dcabf 100644
+--- a/kopete/protocols/msn/msnaccount.cpp
++++ b/kopete/protocols/msn/msnaccount.cpp
+@@ -1178,7 +1178,7 @@ void MSNAccount::slotCreateChat( const TQString& ID, const TQString& address, co
+
+ /**
+ * This code should open a chatwindow when a socket is open
+- * It has been disabled because gaim open switchboeard too often
++ * It has been disabled because pidgin open switchboeard too often
+ *
+ * the solution is to open the window only when the contact start typing
+ * see MSNChatSession::receivedTypingMsg
+diff --git a/kopete/protocols/msn/msnswitchboardsocket.cpp b/kopete/protocols/msn/msnswitchboardsocket.cpp
+index 7d67876..3298e46 100644
+--- a/kopete/protocols/msn/msnswitchboardsocket.cpp
++++ b/kopete/protocols/msn/msnswitchboardsocket.cpp
+@@ -695,7 +695,7 @@ int MSNSwitchBoardSocket::sendMsg( const Kopete::Message &msg )
+ }
+ }
+
+- // User-Agent is not a official flag, but GAIM has it
++ // User-Agent is not a official flag, but PIDGIN has it
+ TQString UA;
+ if( config->readBoolEntry("SendClientInfo", true) )
+ {
+diff --git a/kopete/protocols/oscar/liboscar/TODO b/kopete/protocols/oscar/liboscar/TODO
+index 1ec9be9..ed14e15 100644
+--- a/kopete/protocols/oscar/liboscar/TODO
++++ b/kopete/protocols/oscar/liboscar/TODO
+@@ -17,7 +17,7 @@ Misc. Before Merge things
+ Direct Connections
+ ====================================
+ When/If we get around to it. Matt knows absolutely nothing about direct connections and the only online source of documentation is no longer online. :(
+-This will definately be one of those things we have to dissect gaim for. :/
++This will definately be one of those things we have to dissect pidgin for. :/
+
+
+ SNAC 0x15 parsing
+diff --git a/kopete/protocols/oscar/liboscar/buddyicontask.cpp b/kopete/protocols/oscar/liboscar/buddyicontask.cpp
+index c75a592..c766148 100644
+--- a/kopete/protocols/oscar/liboscar/buddyicontask.cpp
++++ b/kopete/protocols/oscar/liboscar/buddyicontask.cpp
+@@ -137,7 +137,7 @@ void BuddyIconTask::sendIcon()
+ m_seq = client()->snacSequence();
+ SNAC s = { 0x0010, 0x0002, 0x0000, m_seq };
+ Buffer* b = new Buffer;
+- b->addWord( 1 ); //gaim hard codes it, so will we
++ b->addWord( 1 ); //pidgin hard codes it, so will we
+ b->addWord( m_iconLength );
+ b->addString( m_icon );
+ Transfer* t = createTransfer( f, s, b );
+diff --git a/kopete/protocols/oscar/liboscar/chatnavservicetask.cpp b/kopete/protocols/oscar/liboscar/chatnavservicetask.cpp
+index 3004af0..4a34ae2 100644
+--- a/kopete/protocols/oscar/liboscar/chatnavservicetask.cpp
++++ b/kopete/protocols/oscar/liboscar/chatnavservicetask.cpp
+@@ -115,7 +115,7 @@ void ChatNavServiceTask::onGo()
+
+ void ChatNavServiceTask::createRoom( WORD exchange, const TQString& name )
+ {
+- //most of this comes from gaim. thanks to them for figuring it out
++ //most of this comes from pidgin. thanks to them for figuring it out
+ TQString cookie = "create"; //hardcoded, seems to be ignored by AOL
+ TQString lang = "en";
+ TQString charset = "us-ascii";
+diff --git a/kopete/protocols/oscar/liboscar/coreprotocol.cpp b/kopete/protocols/oscar/liboscar/coreprotocol.cpp
+index 2a4d96f..e3c2642 100644
+--- a/kopete/protocols/oscar/liboscar/coreprotocol.cpp
++++ b/kopete/protocols/oscar/liboscar/coreprotocol.cpp
+@@ -7,7 +7,7 @@
+ Based on code Copyright (c) 2004 SuSE Linux AG http://www.suse.com
+
+ Based on Iris, Copyright (C) 2003 Justin Karneges
+- url_escape_string from Gaim src/protocols/novell/nmconn.c
++ url_escape_string from Pidgin src/protocols/novell/nmconn.c
+ Copyright (c) 2004 Novell, Inc. All Rights Reserved
+
+ Kopete (c) 2002-2004 by the Kopete developers <kopete-devel@kde.org>
+diff --git a/kopete/protocols/oscar/liboscar/sendmessagetask.cpp b/kopete/protocols/oscar/liboscar/sendmessagetask.cpp
+index 1b8cbfb..df1a819 100644
+--- a/kopete/protocols/oscar/liboscar/sendmessagetask.cpp
++++ b/kopete/protocols/oscar/liboscar/sendmessagetask.cpp
+@@ -141,7 +141,7 @@ void SendMessageTask::addChannel1Data( Buffer* b )
+ {
+ Buffer tlv2buffer;
+
+- //Send features TLV using data from gaim. Features are different
++ //Send features TLV using data from pidgin. Features are different
+ //depending on whether we're ICQ or AIM
+ if ( client()->isIcq() )
+ {
+@@ -266,7 +266,7 @@ void SendMessageTask::addRendezvousMessageData( Buffer* b )
+ b->addLEWord( 0x001B ); // length of this data segment, always 27
+
+ // protocol version
+- // miranda,licq use 8, gaim,icq5 use 9, icq2003b uses 10.
++ // miranda,licq use 8, pidgin,icq5 use 9, icq2003b uses 10.
+ // 9 seems to make things a litle difficult, 10 seems a little more like 8, but still more difficult
+ b->addLEWord( 0x0008 ); // so stick with 8 for now :)
+
+diff --git a/kopete/protocols/oscar/liboscar/userdetails.cpp b/kopete/protocols/oscar/liboscar/userdetails.cpp
+index 8a1b6c4..f873702 100644
+--- a/kopete/protocols/oscar/liboscar/userdetails.cpp
++++ b/kopete/protocols/oscar/liboscar/userdetails.cpp
+@@ -363,7 +363,7 @@ void UserDetails::detectClient()
+ clientMatched=true; // default case will set it to false again if we did not find anything
+ switch (m_dcLastInfoUpdateTime)
+ {
+- case 0xFFFFFFFFL: //gaim behaves like official AIM so we can't detect them, only look for miranda
++ case 0xFFFFFFFFL: //pidgin behaves like official AIM so we can't detect them, only look for miranda
+ {
+ if (m_dcLastExtStatusUpdateTime & 0x80000000)
+ m_clientName=TQString::fromLatin1("Miranda alpha");
+@@ -439,9 +439,9 @@ void UserDetails::detectClient()
+ m_clientName=TQString::fromLatin1("ICQ2go");
+ }
+ }
+- else if (hasCap(CAP_BUDDYICON)) // only gaim seems to advertize this on ICQ
++ else if (hasCap(CAP_BUDDYICON)) // only pidgin seems to advertize this on ICQ
+ {
+- m_clientName = TQString::fromLatin1("Gaim");
++ m_clientName = TQString::fromLatin1("Pidgin");
+ }
+ else if (hasCap(CAP_XTRAZ))
+ {
+diff --git a/kopete/protocols/yahoo/libkyahoo/libyahoo.c b/kopete/protocols/yahoo/libkyahoo/libyahoo.c
+index a97e7be..b3a1f9f 100644
+--- a/kopete/protocols/yahoo/libkyahoo/libyahoo.c
++++ b/kopete/protocols/yahoo/libkyahoo/libyahoo.c
+@@ -4,10 +4,10 @@
+ * Some code copyright (C) 2002, Philip S Tellis <philip . tellis AT gmx . net>
+ *
+ * Much of this code was taken and adapted from the yahoo module for
+- * gaim released under the GNU GPL. This code is also released under the
++ * pidgin released under the GNU GPL. This code is also released under the
+ * GNU GPL.
+ *
+- * This code is derivitive of Gaim <http://gaim.sourceforge.net>
++ * This code is derivitive of Pidgin <http://pidgin.sourceforge.net>
+ * copyright (C) 1998-1999, Mark Spencer <markster@marko.net>
+ * 1998-1999, Adam Fritzler <afritz@marko.net>
+ * 1998-2002, Rob Flynn <rob@marko.net>
+diff --git a/kopete/protocols/yahoo/libkyahoo/libyahoo.h b/kopete/protocols/yahoo/libkyahoo/libyahoo.h
+index b15f57a..e9cad06 100644
+--- a/kopete/protocols/yahoo/libkyahoo/libyahoo.h
++++ b/kopete/protocols/yahoo/libkyahoo/libyahoo.h
+@@ -4,10 +4,10 @@
+ * Some code copyright (C) 2002, Philip S Tellis <philip . tellis AT gmx . net>
+ *
+ * Much of this code was taken and adapted from the yahoo module for
+- * gaim released under the GNU GPL. This code is also released under the
++ * pidgin released under the GNU GPL. This code is also released under the
+ * GNU GPL.
+ *
+- * This code is derivitive of Gaim <http://gaim.sourceforge.net>
++ * This code is derivitive of Pidgin <http://pidgin.sourceforge.net>
+ * copyright (C) 1998-1999, Mark Spencer <markster@marko.net>
+ * 1998-1999, Adam Fritzler <afritz@marko.net>
+ * 1998-2002, Rob Flynn <rob@marko.net>
+diff --git a/kopete/protocols/yahoo/libkyahoo/yahoo_fn.c b/kopete/protocols/yahoo/libkyahoo/yahoo_fn.c
+index 5671289..72cebd2 100644
+--- a/kopete/protocols/yahoo/libkyahoo/yahoo_fn.c
++++ b/kopete/protocols/yahoo/libkyahoo/yahoo_fn.c
+@@ -1,5 +1,5 @@
+ /*
+- * gaim
++ * pidgin
+ *
+ * Some code copyright (C) 1998-1999, Mark Spencer <markster@marko.net>
+ * libfaim code copyright 1998, 1999 Adam Fritzler <afritz@auk.cx>
+diff --git a/kopete/protocols/yahoo/libkyahoo/yahoo_fn.h b/kopete/protocols/yahoo/libkyahoo/yahoo_fn.h
+index c4b34c8..fc9d68e 100644
+--- a/kopete/protocols/yahoo/libkyahoo/yahoo_fn.h
++++ b/kopete/protocols/yahoo/libkyahoo/yahoo_fn.h
+@@ -1,5 +1,5 @@
+ /*
+- * gaim
++ * pidgin
+ *
+ * Copyright (C) 2003
+ *
+diff --git a/kopete/protocols/yahoo/yahooaccount.cpp b/kopete/protocols/yahoo/yahooaccount.cpp
+index 7cc330f..a38fecc 100644
+--- a/kopete/protocols/yahoo/yahooaccount.cpp
++++ b/kopete/protocols/yahoo/yahooaccount.cpp
+@@ -174,7 +174,7 @@ TQString YahooAccount::stripMsgColorCodes(const TQString& msg)
+ filteredMsg.replace( "\033[4m", "<u>" );
+ filteredMsg.replace( "\033[x4m", "</u>" );
+
+- //GAIM doesn't check for ^[[3m. Does this ever get sent?
++ //PIDGIN doesn't check for ^[[3m. Does this ever get sent?
+ filteredMsg.replace( "\033[3m", "<i>" );
+ filteredMsg.replace( "\033[x3m", "</i>" );
+
diff --git a/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0013.2-412a55a-update-kopete-references-of-gaim-to-pidgin-resolve-bug-865.patch b/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0013.2-412a55a-update-kopete-references-of-gaim-to-pidgin-resolve-bug-865.patch
new file mode 100644
index 000000000..ffd366283
--- /dev/null
+++ b/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0013.2-412a55a-update-kopete-references-of-gaim-to-pidgin-resolve-bug-865.patch
@@ -0,0 +1,450 @@
+diff --git a/kopete/styles/CMakeLists.txt b/kopete/styles/CMakeLists.txt
+index a98079a..7a4653e 100644
+--- a/kopete/styles/CMakeLists.txt
++++ b/kopete/styles/CMakeLists.txt
+@@ -15,4 +15,4 @@ add_subdirectory( Clean )
+ add_subdirectory( Clear )
+ add_subdirectory( Konqi )
+ add_subdirectory( Retropete )
+-add_subdirectory( Gaim )
++add_subdirectory( Pidgin )
+diff --git a/kopete/styles/Gaim/CMakeLists.txt b/kopete/styles/Gaim/CMakeLists.txt
+deleted file mode 100644
+index f08e42e..0000000
+--- a/kopete/styles/Gaim/CMakeLists.txt
++++ /dev/null
+@@ -1,12 +0,0 @@
+-#################################################
+-#
+-# (C) 2010-2011 Serghei Amelian
+-# serghei (DOT) amelian (AT) gmail.com
+-#
+-# Improvements and feedback are welcome
+-#
+-# This file is released under GPL >= 2
+-#
+-#################################################
+-
+-add_subdirectory( Contents )
+diff --git a/kopete/styles/Gaim/CREDITS b/kopete/styles/Gaim/CREDITS
+deleted file mode 100644
+index 4e52378..0000000
+--- a/kopete/styles/Gaim/CREDITS
++++ /dev/null
+@@ -1,7 +0,0 @@
+-Original textonly Style for Adium written by Mark Fickett
+-http://www.adiumxtras.com/index.php?a=xtras&xtra_id=44
+-
+-Modified justtext Style for Adium written by Huw Rowlands
+-http://www.adiumxtras.com/index.php?a=xtras&xtra_id=990
+-
+-Modified Gaim Style for Kopete written by Thanos Kyritsis
+diff --git a/kopete/styles/Gaim/Contents/CMakeLists.txt b/kopete/styles/Gaim/Contents/CMakeLists.txt
+deleted file mode 100644
+index 88724a1..0000000
+--- a/kopete/styles/Gaim/Contents/CMakeLists.txt
++++ /dev/null
+@@ -1,12 +0,0 @@
+-#################################################
+-#
+-# (C) 2010-2011 Serghei Amelian
+-# serghei (DOT) amelian (AT) gmail.com
+-#
+-# Improvements and feedback are welcome
+-#
+-# This file is released under GPL >= 2
+-#
+-#################################################
+-
+-add_subdirectory( Resources )
+diff --git a/kopete/styles/Gaim/Contents/Info.plist b/kopete/styles/Gaim/Contents/Info.plist
+deleted file mode 100644
+index c5fb682..0000000
+--- a/kopete/styles/Gaim/Contents/Info.plist
++++ /dev/null
+@@ -1,31 +0,0 @@
+-<?xml version="1.0" encoding="UTF-8"?>
+-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
+- "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+-<plist version="1.0">
+-<dict>
+- <key>CFBundleDevelopmentRegion</key>
+- <string>English</string>
+- <key>CFBundleGetInfoString</key>
+- <string>Gaim Kopete chat Style</string>
+- <key>CFBundleIdentifier</key>
+- <string>Kopete.Gaim.style</string>
+- <key>CFBundleInfoDictionaryVersion</key>
+- <string>1.0</string>
+- <key>CFBundleName</key>
+- <string>Gaim</string>
+- <key>CFBundlePackageType</key>
+- <string>KopeteChatStyle</string>
+- <key>DefaultBackgroundColor</key>
+- <string>FFFFFF</string>
+- <key>DefaultFontFamily</key>
+- <string>DejaVu Sans Mono</string>
+- <key>DefaultFontSize</key>
+- <integer>12</integer>
+- <key>DisableCustomBackground</key>
+- <false/>
+- <key>DisplayNameForNoVariant</key>
+- <string>grays</string>
+- <key>ShowsUserIcons</key>
+- <false/>
+-</dict>
+-</plist>
+diff --git a/kopete/styles/Gaim/Contents/Makefile.am b/kopete/styles/Gaim/Contents/Makefile.am
+deleted file mode 100644
+index 6940fe8..0000000
+--- a/kopete/styles/Gaim/Contents/Makefile.am
++++ /dev/null
+@@ -1 +0,0 @@
+-SUBDIRS = Resources
+\ No newline at end of file
+diff --git a/kopete/styles/Gaim/Contents/Resources/CMakeLists.txt b/kopete/styles/Gaim/Contents/Resources/CMakeLists.txt
+deleted file mode 100644
+index f212a87..0000000
+--- a/kopete/styles/Gaim/Contents/Resources/CMakeLists.txt
++++ /dev/null
+@@ -1,18 +0,0 @@
+-#################################################
+-#
+-# (C) 2010-2011 Serghei Amelian
+-# serghei (DOT) amelian (AT) gmail.com
+-#
+-# Improvements and feedback are welcome
+-#
+-# This file is released under GPL >= 2
+-#
+-#################################################
+-
+-add_subdirectory( Incoming )
+-add_subdirectory( Outgoing )
+-add_subdirectory( Variants )
+-
+-install( FILES
+- main.css Footer.html Header.html Status.html
+- DESTINATION ${DATA_INSTALL_DIR}/kopete/styles/Gaim/Contents/Resources )
+diff --git a/kopete/styles/Gaim/Contents/Resources/Incoming/Action.html b/kopete/styles/Gaim/Contents/Resources/Incoming/Action.html
+deleted file mode 100644
+index 0f2993c..0000000
+--- a/kopete/styles/Gaim/Contents/Resources/Incoming/Action.html
++++ /dev/null
+@@ -1,6 +0,0 @@
+-<div class="KopeteMessage" style="direction: %messageDirection%;">
+- <span style="color:%senderColor%;s"><span class="inActionTime">(%time{%H:%M:%S}%) </span>
+- <span class="inActionMetacontact">%sender%:&nbsp;</span></span>
+- <span class="inActionMessage" style="background-color: %textbackgroundcolor{#4386cf}%;">%message%</span>
+-</div>
+-<div id="insert"></div>
+diff --git a/kopete/styles/Gaim/Contents/Resources/Incoming/CMakeLists.txt b/kopete/styles/Gaim/Contents/Resources/Incoming/CMakeLists.txt
+deleted file mode 100644
+index f4a2302..0000000
+--- a/kopete/styles/Gaim/Contents/Resources/Incoming/CMakeLists.txt
++++ /dev/null
+@@ -1,14 +0,0 @@
+-#################################################
+-#
+-# (C) 2010-2011 Serghei Amelian
+-# serghei (DOT) amelian (AT) gmail.com
+-#
+-# Improvements and feedback are welcome
+-#
+-# This file is released under GPL >= 2
+-#
+-#################################################
+-
+-install( FILES
+- Action.html Content.html NextContent.html
+- DESTINATION ${DATA_INSTALL_DIR}/kopete/styles/Gaim/Contents/Resources/Incoming )
+diff --git a/kopete/styles/Gaim/Contents/Resources/Incoming/Content.html b/kopete/styles/Gaim/Contents/Resources/Incoming/Content.html
+deleted file mode 100644
+index 89d07c9..0000000
+--- a/kopete/styles/Gaim/Contents/Resources/Incoming/Content.html
++++ /dev/null
+@@ -1,6 +0,0 @@
+-<div class="KopeteMessage" style="direction: %messageDirection%;">
+- <span style="color:%senderColor%;"><span class="inContentTime">(%time{%H:%M:%S}%) </span>
+- <span class="inMetacontact">%sender%:&nbsp;</span></span>
+- <span class="IncomingMessage" style="background-color: %textbackgroundcolor{#4386cf}%;">%message%</span>
+-</div>
+-<div id="insert"></div>
+diff --git a/kopete/styles/Gaim/Contents/Resources/Incoming/Makefile.am b/kopete/styles/Gaim/Contents/Resources/Incoming/Makefile.am
+deleted file mode 100644
+index dea2810..0000000
+--- a/kopete/styles/Gaim/Contents/Resources/Incoming/Makefile.am
++++ /dev/null
+@@ -1,4 +0,0 @@
+-style_DATA = Action.html Content.html NextContent.html
+-styledir = $(kde_datadir)/kopete/styles/Gaim/Contents/Resources/Incoming
+-
+-EXTRA_DIST = $(style_DATA)
+\ No newline at end of file
+diff --git a/kopete/styles/Gaim/Contents/Resources/Incoming/NextContent.html b/kopete/styles/Gaim/Contents/Resources/Incoming/NextContent.html
+deleted file mode 100644
+index 89d07c9..0000000
+--- a/kopete/styles/Gaim/Contents/Resources/Incoming/NextContent.html
++++ /dev/null
+@@ -1,6 +0,0 @@
+-<div class="KopeteMessage" style="direction: %messageDirection%;">
+- <span style="color:%senderColor%;"><span class="inContentTime">(%time{%H:%M:%S}%) </span>
+- <span class="inMetacontact">%sender%:&nbsp;</span></span>
+- <span class="IncomingMessage" style="background-color: %textbackgroundcolor{#4386cf}%;">%message%</span>
+-</div>
+-<div id="insert"></div>
+diff --git a/kopete/styles/Gaim/Contents/Resources/Makefile.am b/kopete/styles/Gaim/Contents/Resources/Makefile.am
+deleted file mode 100644
+index 75c9567..0000000
+--- a/kopete/styles/Gaim/Contents/Resources/Makefile.am
++++ /dev/null
+@@ -1,5 +0,0 @@
+-SUBDIRS = Incoming Outgoing Variants
+-style_DATA = main.css Footer.html Header.html Status.html
+-styledir = $(kde_datadir)/kopete/styles/Gaim/Contents/Resources
+-
+-EXTRA_DIST = $(style_DATA)
+\ No newline at end of file
+diff --git a/kopete/styles/Gaim/Contents/Resources/Outgoing/Action.html b/kopete/styles/Gaim/Contents/Resources/Outgoing/Action.html
+deleted file mode 100644
+index a7d6ef0..0000000
+--- a/kopete/styles/Gaim/Contents/Resources/Outgoing/Action.html
++++ /dev/null
+@@ -1,6 +0,0 @@
+-<div class="KopeteMessage" style="direction: %messageDirection%;">
+- <span style="color:%senderColor%;"><span class="outActionTime">(%time{%H:%M:%S}%) </span>
+- <span class="outActionMetacontact">%sender%:&nbsp;</span></span>
+- <span class="outActionMessage" style="background-color: %textbackgroundcolor{#4386cf}%;">%message%</span>
+-</div>
+-<div id="insert"></div>
+diff --git a/kopete/styles/Gaim/Contents/Resources/Outgoing/CMakeLists.txt b/kopete/styles/Gaim/Contents/Resources/Outgoing/CMakeLists.txt
+deleted file mode 100644
+index 32d0ae5..0000000
+--- a/kopete/styles/Gaim/Contents/Resources/Outgoing/CMakeLists.txt
++++ /dev/null
+@@ -1,14 +0,0 @@
+-#################################################
+-#
+-# (C) 2010-2011 Serghei Amelian
+-# serghei (DOT) amelian (AT) gmail.com
+-#
+-# Improvements and feedback are welcome
+-#
+-# This file is released under GPL >= 2
+-#
+-#################################################
+-
+-install( FILES
+- Action.html Content.html NextContent.html
+- DESTINATION ${DATA_INSTALL_DIR}/kopete/styles/Gaim/Contents/Resources/Outgoing )
+diff --git a/kopete/styles/Gaim/Contents/Resources/Outgoing/Content.html b/kopete/styles/Gaim/Contents/Resources/Outgoing/Content.html
+deleted file mode 100644
+index 9ea2bb6..0000000
+--- a/kopete/styles/Gaim/Contents/Resources/Outgoing/Content.html
++++ /dev/null
+@@ -1,6 +0,0 @@
+-<div class="KopeteMessage" style="direction: %messageDirection%;">
+- <span style="color:%senderColor%;"><span class="outContentTime">(%time{%H:%M:%S}%) </span>
+- <span class="outMetacontact">%sender%:&nbsp;</span></span>
+- <span class="OutgoingMessage" style="background-color: %textbackgroundcolor{#4386cf}%;">%message%</span>
+-</div>
+-<div id="insert"></div>
+diff --git a/kopete/styles/Gaim/Contents/Resources/Outgoing/Makefile.am b/kopete/styles/Gaim/Contents/Resources/Outgoing/Makefile.am
+deleted file mode 100644
+index ce2edce..0000000
+--- a/kopete/styles/Gaim/Contents/Resources/Outgoing/Makefile.am
++++ /dev/null
+@@ -1,4 +0,0 @@
+-style_DATA = Action.html Content.html NextContent.html
+-styledir = $(kde_datadir)/kopete/styles/Gaim/Contents/Resources/Outgoing
+-
+-EXTRA_DIST = $(style_DATA)
+diff --git a/kopete/styles/Gaim/Contents/Resources/Outgoing/NextContent.html b/kopete/styles/Gaim/Contents/Resources/Outgoing/NextContent.html
+deleted file mode 100644
+index 9ea2bb6..0000000
+--- a/kopete/styles/Gaim/Contents/Resources/Outgoing/NextContent.html
++++ /dev/null
+@@ -1,6 +0,0 @@
+-<div class="KopeteMessage" style="direction: %messageDirection%;">
+- <span style="color:%senderColor%;"><span class="outContentTime">(%time{%H:%M:%S}%) </span>
+- <span class="outMetacontact">%sender%:&nbsp;</span></span>
+- <span class="OutgoingMessage" style="background-color: %textbackgroundcolor{#4386cf}%;">%message%</span>
+-</div>
+-<div id="insert"></div>
+diff --git a/kopete/styles/Gaim/Contents/Resources/Status.html b/kopete/styles/Gaim/Contents/Resources/Status.html
+deleted file mode 100644
+index 4858785..0000000
+--- a/kopete/styles/Gaim/Contents/Resources/Status.html
++++ /dev/null
+@@ -1,5 +0,0 @@
+-<div class="KopeteMessage" style="direction: %messageDirection%;">
+- <span class="InternalTime">(%time{%H:%M:%S}%) </span>
+- <span class="InternalDelim">#&nbsp;</span>
+- <span class="InternalMessage">%message%</span>
+-</div>
+diff --git a/kopete/styles/Gaim/Contents/Resources/Variants/CMakeLists.txt b/kopete/styles/Gaim/Contents/Resources/Variants/CMakeLists.txt
+deleted file mode 100644
+index fda3022..0000000
+--- a/kopete/styles/Gaim/Contents/Resources/Variants/CMakeLists.txt
++++ /dev/null
+@@ -1,14 +0,0 @@
+-#################################################
+-#
+-# (C) 2010-2011 Serghei Amelian
+-# serghei (DOT) amelian (AT) gmail.com
+-#
+-# Improvements and feedback are welcome
+-#
+-# This file is released under GPL >= 2
+-#
+-#################################################
+-
+-install( FILES
+- No-Colors.css Name-Colors.css Status-Colors.css Contact-Colors.css
+- DESTINATION ${DATA_INSTALL_DIR}/kopete/styles/Gaim/Contents/Resources/Variants )
+diff --git a/kopete/styles/Gaim/Contents/Resources/Variants/Contact-Colors.css b/kopete/styles/Gaim/Contents/Resources/Variants/Contact-Colors.css
+deleted file mode 100644
+index 7a85556..0000000
+--- a/kopete/styles/Gaim/Contents/Resources/Variants/Contact-Colors.css
++++ /dev/null
+@@ -1,10 +0,0 @@
+-
+-@import url(../main.css);
+-
+-.inContentTime, .inMetacontact {
+- color: inherit;
+-}
+-
+-.outContentTime, .outMetacontact {
+- color: inherit;
+-}
+\ No newline at end of file
+diff --git a/kopete/styles/Gaim/Contents/Resources/Variants/Makefile.am b/kopete/styles/Gaim/Contents/Resources/Variants/Makefile.am
+deleted file mode 100644
+index bdd4856..0000000
+--- a/kopete/styles/Gaim/Contents/Resources/Variants/Makefile.am
++++ /dev/null
+@@ -1,4 +0,0 @@
+-style_DATA = No-Colors.css Name-Colors.css Status-Colors.css Contact-Colors.css
+-styledir = $(kde_datadir)/kopete/styles/Gaim/Contents/Resources/Variants
+-
+-EXTRA_DIST = $(style_DATA)
+\ No newline at end of file
+diff --git a/kopete/styles/Gaim/Contents/Resources/Variants/Name-Colors.css b/kopete/styles/Gaim/Contents/Resources/Variants/Name-Colors.css
+deleted file mode 100644
+index f9fce97..0000000
+--- a/kopete/styles/Gaim/Contents/Resources/Variants/Name-Colors.css
++++ /dev/null
+@@ -1,13 +0,0 @@
+-@import url(../main.css);
+-
+-.inActionTime, .inActionMetacontact, .inActionMessage {
+- color: #000000;
+-}
+-
+-.outActionTime, .outActionMetacontact, .outActionMessage {
+- color: #000000;
+-}
+-
+-.InternalTime, .InternalDelim, .InternalMessage {
+- color: #000000;
+-}
+\ No newline at end of file
+diff --git a/kopete/styles/Gaim/Contents/Resources/Variants/No-Colors.css b/kopete/styles/Gaim/Contents/Resources/Variants/No-Colors.css
+deleted file mode 100644
+index d847a19..0000000
+--- a/kopete/styles/Gaim/Contents/Resources/Variants/No-Colors.css
++++ /dev/null
+@@ -1,22 +0,0 @@
+-@import url(../main.css);
+-
+-.inContentTime, .inMetacontact {
+- color: #000000;
+-}
+-
+-.outContentTime, .outMetacontact {
+- color: #000000;
+-}
+-
+-.inActionTime, .inActionMetacontact, .inActionMessage {
+- color: #000000;
+-}
+-
+-.outActionTime, .outActionMetacontact, .outActionMessage {
+- color: #000000;
+-}
+-
+-.InternalTime, .InternalDelim, .InternalMessage {
+- color: #000000;
+-}
+-
+diff --git a/kopete/styles/Gaim/Contents/Resources/Variants/Status-Colors.css b/kopete/styles/Gaim/Contents/Resources/Variants/Status-Colors.css
+deleted file mode 100644
+index 373f6d7..0000000
+--- a/kopete/styles/Gaim/Contents/Resources/Variants/Status-Colors.css
++++ /dev/null
+@@ -1,9 +0,0 @@
+-@import url(../main.css);
+-
+-.inContentTime, .inMetacontact {
+- color: #000000;
+-}
+-
+-.outContentTime, .outMetacontact {
+- color: #000000;
+-}
+\ No newline at end of file
+diff --git a/kopete/styles/Gaim/Contents/Resources/main.css b/kopete/styles/Gaim/Contents/Resources/main.css
+deleted file mode 100644
+index 393d2f1..0000000
+--- a/kopete/styles/Gaim/Contents/Resources/main.css
++++ /dev/null
+@@ -1,40 +0,0 @@
+-/* textonly by Mark Fickett, 2004. Poke/edit/maul, but leave credit - think GPL */
+-/* Generally: naib.webhop.org Adium-related: naib.webhop.org/~markfickett/adium */
+-
+-body {
+- background: #ffffff;
+-}
+-
+-div {
+- overflow: auto;
+-}
+-
+-a:link { text-decoration: none; }
+-a:visited { text-decoration: none; }
+-a:hover { text-decoration: underline; }
+-a:active { text-decoration: none; }
+-
+-.inMetacontact, .outMetacontact, .inActionMetacontact, .outActionMetacontact, .InternalDelim {
+- font-weight: bold;
+-}
+-
+-.inContentTime, .inMetacontact {
+- color: #a82f2f;
+-}
+-
+-.outContentTime, .outMetacontact {
+- color: #16569e;
+-}
+-
+-.inActionTime, .inActionMetacontact, .inActionMessage {
+- color: green;
+-}
+-
+-.outActionTime, .outActionMetacontact, .outActionMessage {
+- color: green;
+-}
+-
+-.InternalTime, .InternalDelim, .InternalMessage {
+- color: #9400d3;
+-}
+-
+diff --git a/kopete/styles/Gaim/Makefile.am b/kopete/styles/Gaim/Makefile.am
+deleted file mode 100644
+index 331c9b5..0000000
+--- a/kopete/styles/Gaim/Makefile.am
++++ /dev/null
+@@ -1 +0,0 @@
+-SUBDIRS = Contents
+\ No newline at end of file
diff --git a/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0013.3-412a55a-update-kopete-references-of-gaim-to-pidgin-resolve-bug-865.patch b/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0013.3-412a55a-update-kopete-references-of-gaim-to-pidgin-resolve-bug-865.patch
new file mode 100644
index 000000000..418fd4120
--- /dev/null
+++ b/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0013.3-412a55a-update-kopete-references-of-gaim-to-pidgin-resolve-bug-865.patch
@@ -0,0 +1,454 @@
+diff --git a/kopete/styles/Makefile.am b/kopete/styles/Makefile.am
+index 39e20e7..3d7bcf0 100644
+--- a/kopete/styles/Makefile.am
++++ b/kopete/styles/Makefile.am
+@@ -1,2 +1,2 @@
+-SUBDIRS = Kopete Hacker Clean Clear Konqi Retropete Gaim
++SUBDIRS = Kopete Hacker Clean Clear Konqi Retropete Pidgin
+
+diff --git a/kopete/styles/Pidgin/CMakeLists.txt b/kopete/styles/Pidgin/CMakeLists.txt
+new file mode 100644
+index 0000000..f08e42e
+--- /dev/null
++++ b/kopete/styles/Pidgin/CMakeLists.txt
+@@ -0,0 +1,12 @@
++#################################################
++#
++# (C) 2010-2011 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++add_subdirectory( Contents )
+diff --git a/kopete/styles/Pidgin/CREDITS b/kopete/styles/Pidgin/CREDITS
+new file mode 100644
+index 0000000..ee91cc7
+--- /dev/null
++++ b/kopete/styles/Pidgin/CREDITS
+@@ -0,0 +1,7 @@
++Original textonly Style for Adium written by Mark Fickett
++http://www.adiumxtras.com/index.php?a=xtras&xtra_id=44
++
++Modified justtext Style for Adium written by Huw Rowlands
++http://www.adiumxtras.com/index.php?a=xtras&xtra_id=990
++
++Modified Pidgin Style for Kopete written by Thanos Kyritsis
+diff --git a/kopete/styles/Pidgin/Contents/CMakeLists.txt b/kopete/styles/Pidgin/Contents/CMakeLists.txt
+new file mode 100644
+index 0000000..88724a1
+--- /dev/null
++++ b/kopete/styles/Pidgin/Contents/CMakeLists.txt
+@@ -0,0 +1,12 @@
++#################################################
++#
++# (C) 2010-2011 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++add_subdirectory( Resources )
+diff --git a/kopete/styles/Pidgin/Contents/Info.plist b/kopete/styles/Pidgin/Contents/Info.plist
+new file mode 100644
+index 0000000..87cd60e
+--- /dev/null
++++ b/kopete/styles/Pidgin/Contents/Info.plist
+@@ -0,0 +1,31 @@
++<?xml version="1.0" encoding="UTF-8"?>
++<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
++ "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
++<plist version="1.0">
++<dict>
++ <key>CFBundleDevelopmentRegion</key>
++ <string>English</string>
++ <key>CFBundleGetInfoString</key>
++ <string>Pidgin Kopete chat Style</string>
++ <key>CFBundleIdentifier</key>
++ <string>Kopete.Pidgin.style</string>
++ <key>CFBundleInfoDictionaryVersion</key>
++ <string>1.0</string>
++ <key>CFBundleName</key>
++ <string>Pidgin</string>
++ <key>CFBundlePackageType</key>
++ <string>KopeteChatStyle</string>
++ <key>DefaultBackgroundColor</key>
++ <string>FFFFFF</string>
++ <key>DefaultFontFamily</key>
++ <string>DejaVu Sans Mono</string>
++ <key>DefaultFontSize</key>
++ <integer>12</integer>
++ <key>DisableCustomBackground</key>
++ <false/>
++ <key>DisplayNameForNoVariant</key>
++ <string>grays</string>
++ <key>ShowsUserIcons</key>
++ <false/>
++</dict>
++</plist>
+diff --git a/kopete/styles/Pidgin/Contents/Makefile.am b/kopete/styles/Pidgin/Contents/Makefile.am
+new file mode 100644
+index 0000000..6940fe8
+--- /dev/null
++++ b/kopete/styles/Pidgin/Contents/Makefile.am
+@@ -0,0 +1 @@
++SUBDIRS = Resources
+\ No newline at end of file
+diff --git a/kopete/styles/Pidgin/Contents/Resources/CMakeLists.txt b/kopete/styles/Pidgin/Contents/Resources/CMakeLists.txt
+new file mode 100644
+index 0000000..1ab98d5
+--- /dev/null
++++ b/kopete/styles/Pidgin/Contents/Resources/CMakeLists.txt
+@@ -0,0 +1,18 @@
++#################################################
++#
++# (C) 2010-2011 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++add_subdirectory( Incoming )
++add_subdirectory( Outgoing )
++add_subdirectory( Variants )
++
++install( FILES
++ main.css Footer.html Header.html Status.html
++ DESTINATION ${DATA_INSTALL_DIR}/kopete/styles/Pidgin/Contents/Resources )
+diff --git a/kopete/styles/Pidgin/Contents/Resources/Footer.html b/kopete/styles/Pidgin/Contents/Resources/Footer.html
+new file mode 100644
+index 0000000..e69de29
+diff --git a/kopete/styles/Pidgin/Contents/Resources/Header.html b/kopete/styles/Pidgin/Contents/Resources/Header.html
+new file mode 100644
+index 0000000..e69de29
+diff --git a/kopete/styles/Pidgin/Contents/Resources/Incoming/Action.html b/kopete/styles/Pidgin/Contents/Resources/Incoming/Action.html
+new file mode 100644
+index 0000000..0f2993c
+--- /dev/null
++++ b/kopete/styles/Pidgin/Contents/Resources/Incoming/Action.html
+@@ -0,0 +1,6 @@
++<div class="KopeteMessage" style="direction: %messageDirection%;">
++ <span style="color:%senderColor%;s"><span class="inActionTime">(%time{%H:%M:%S}%) </span>
++ <span class="inActionMetacontact">%sender%:&nbsp;</span></span>
++ <span class="inActionMessage" style="background-color: %textbackgroundcolor{#4386cf}%;">%message%</span>
++</div>
++<div id="insert"></div>
+diff --git a/kopete/styles/Pidgin/Contents/Resources/Incoming/CMakeLists.txt b/kopete/styles/Pidgin/Contents/Resources/Incoming/CMakeLists.txt
+new file mode 100644
+index 0000000..6ff0e0d
+--- /dev/null
++++ b/kopete/styles/Pidgin/Contents/Resources/Incoming/CMakeLists.txt
+@@ -0,0 +1,14 @@
++#################################################
++#
++# (C) 2010-2011 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++install( FILES
++ Action.html Content.html NextContent.html
++ DESTINATION ${DATA_INSTALL_DIR}/kopete/styles/Pidgin/Contents/Resources/Incoming )
+diff --git a/kopete/styles/Pidgin/Contents/Resources/Incoming/Content.html b/kopete/styles/Pidgin/Contents/Resources/Incoming/Content.html
+new file mode 100644
+index 0000000..89d07c9
+--- /dev/null
++++ b/kopete/styles/Pidgin/Contents/Resources/Incoming/Content.html
+@@ -0,0 +1,6 @@
++<div class="KopeteMessage" style="direction: %messageDirection%;">
++ <span style="color:%senderColor%;"><span class="inContentTime">(%time{%H:%M:%S}%) </span>
++ <span class="inMetacontact">%sender%:&nbsp;</span></span>
++ <span class="IncomingMessage" style="background-color: %textbackgroundcolor{#4386cf}%;">%message%</span>
++</div>
++<div id="insert"></div>
+diff --git a/kopete/styles/Pidgin/Contents/Resources/Incoming/Makefile.am b/kopete/styles/Pidgin/Contents/Resources/Incoming/Makefile.am
+new file mode 100644
+index 0000000..7cd3902
+--- /dev/null
++++ b/kopete/styles/Pidgin/Contents/Resources/Incoming/Makefile.am
+@@ -0,0 +1,4 @@
++style_DATA = Action.html Content.html NextContent.html
++styledir = $(kde_datadir)/kopete/styles/Pidgin/Contents/Resources/Incoming
++
++EXTRA_DIST = $(style_DATA)
+\ No newline at end of file
+diff --git a/kopete/styles/Pidgin/Contents/Resources/Incoming/NextContent.html b/kopete/styles/Pidgin/Contents/Resources/Incoming/NextContent.html
+new file mode 100644
+index 0000000..89d07c9
+--- /dev/null
++++ b/kopete/styles/Pidgin/Contents/Resources/Incoming/NextContent.html
+@@ -0,0 +1,6 @@
++<div class="KopeteMessage" style="direction: %messageDirection%;">
++ <span style="color:%senderColor%;"><span class="inContentTime">(%time{%H:%M:%S}%) </span>
++ <span class="inMetacontact">%sender%:&nbsp;</span></span>
++ <span class="IncomingMessage" style="background-color: %textbackgroundcolor{#4386cf}%;">%message%</span>
++</div>
++<div id="insert"></div>
+diff --git a/kopete/styles/Pidgin/Contents/Resources/Makefile.am b/kopete/styles/Pidgin/Contents/Resources/Makefile.am
+new file mode 100644
+index 0000000..f350045
+--- /dev/null
++++ b/kopete/styles/Pidgin/Contents/Resources/Makefile.am
+@@ -0,0 +1,5 @@
++SUBDIRS = Incoming Outgoing Variants
++style_DATA = main.css Footer.html Header.html Status.html
++styledir = $(kde_datadir)/kopete/styles/Pidgin/Contents/Resources
++
++EXTRA_DIST = $(style_DATA)
+\ No newline at end of file
+diff --git a/kopete/styles/Pidgin/Contents/Resources/Outgoing/Action.html b/kopete/styles/Pidgin/Contents/Resources/Outgoing/Action.html
+new file mode 100644
+index 0000000..a7d6ef0
+--- /dev/null
++++ b/kopete/styles/Pidgin/Contents/Resources/Outgoing/Action.html
+@@ -0,0 +1,6 @@
++<div class="KopeteMessage" style="direction: %messageDirection%;">
++ <span style="color:%senderColor%;"><span class="outActionTime">(%time{%H:%M:%S}%) </span>
++ <span class="outActionMetacontact">%sender%:&nbsp;</span></span>
++ <span class="outActionMessage" style="background-color: %textbackgroundcolor{#4386cf}%;">%message%</span>
++</div>
++<div id="insert"></div>
+diff --git a/kopete/styles/Pidgin/Contents/Resources/Outgoing/CMakeLists.txt b/kopete/styles/Pidgin/Contents/Resources/Outgoing/CMakeLists.txt
+new file mode 100644
+index 0000000..68bcd9c
+--- /dev/null
++++ b/kopete/styles/Pidgin/Contents/Resources/Outgoing/CMakeLists.txt
+@@ -0,0 +1,14 @@
++#################################################
++#
++# (C) 2010-2011 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++install( FILES
++ Action.html Content.html NextContent.html
++ DESTINATION ${DATA_INSTALL_DIR}/kopete/styles/Pidgin/Contents/Resources/Outgoing )
+diff --git a/kopete/styles/Pidgin/Contents/Resources/Outgoing/Content.html b/kopete/styles/Pidgin/Contents/Resources/Outgoing/Content.html
+new file mode 100644
+index 0000000..9ea2bb6
+--- /dev/null
++++ b/kopete/styles/Pidgin/Contents/Resources/Outgoing/Content.html
+@@ -0,0 +1,6 @@
++<div class="KopeteMessage" style="direction: %messageDirection%;">
++ <span style="color:%senderColor%;"><span class="outContentTime">(%time{%H:%M:%S}%) </span>
++ <span class="outMetacontact">%sender%:&nbsp;</span></span>
++ <span class="OutgoingMessage" style="background-color: %textbackgroundcolor{#4386cf}%;">%message%</span>
++</div>
++<div id="insert"></div>
+diff --git a/kopete/styles/Pidgin/Contents/Resources/Outgoing/Makefile.am b/kopete/styles/Pidgin/Contents/Resources/Outgoing/Makefile.am
+new file mode 100644
+index 0000000..85a558d
+--- /dev/null
++++ b/kopete/styles/Pidgin/Contents/Resources/Outgoing/Makefile.am
+@@ -0,0 +1,4 @@
++style_DATA = Action.html Content.html NextContent.html
++styledir = $(kde_datadir)/kopete/styles/Pidgin/Contents/Resources/Outgoing
++
++EXTRA_DIST = $(style_DATA)
+diff --git a/kopete/styles/Pidgin/Contents/Resources/Outgoing/NextContent.html b/kopete/styles/Pidgin/Contents/Resources/Outgoing/NextContent.html
+new file mode 100644
+index 0000000..9ea2bb6
+--- /dev/null
++++ b/kopete/styles/Pidgin/Contents/Resources/Outgoing/NextContent.html
+@@ -0,0 +1,6 @@
++<div class="KopeteMessage" style="direction: %messageDirection%;">
++ <span style="color:%senderColor%;"><span class="outContentTime">(%time{%H:%M:%S}%) </span>
++ <span class="outMetacontact">%sender%:&nbsp;</span></span>
++ <span class="OutgoingMessage" style="background-color: %textbackgroundcolor{#4386cf}%;">%message%</span>
++</div>
++<div id="insert"></div>
+diff --git a/kopete/styles/Pidgin/Contents/Resources/Status.html b/kopete/styles/Pidgin/Contents/Resources/Status.html
+new file mode 100644
+index 0000000..4858785
+--- /dev/null
++++ b/kopete/styles/Pidgin/Contents/Resources/Status.html
+@@ -0,0 +1,5 @@
++<div class="KopeteMessage" style="direction: %messageDirection%;">
++ <span class="InternalTime">(%time{%H:%M:%S}%) </span>
++ <span class="InternalDelim">#&nbsp;</span>
++ <span class="InternalMessage">%message%</span>
++</div>
+diff --git a/kopete/styles/Pidgin/Contents/Resources/Variants/CMakeLists.txt b/kopete/styles/Pidgin/Contents/Resources/Variants/CMakeLists.txt
+new file mode 100644
+index 0000000..4976ef9
+--- /dev/null
++++ b/kopete/styles/Pidgin/Contents/Resources/Variants/CMakeLists.txt
+@@ -0,0 +1,14 @@
++#################################################
++#
++# (C) 2010-2011 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++install( FILES
++ No-Colors.css Name-Colors.css Status-Colors.css Contact-Colors.css
++ DESTINATION ${DATA_INSTALL_DIR}/kopete/styles/Pidgin/Contents/Resources/Variants )
+diff --git a/kopete/styles/Pidgin/Contents/Resources/Variants/Contact-Colors.css b/kopete/styles/Pidgin/Contents/Resources/Variants/Contact-Colors.css
+new file mode 100644
+index 0000000..7a85556
+--- /dev/null
++++ b/kopete/styles/Pidgin/Contents/Resources/Variants/Contact-Colors.css
+@@ -0,0 +1,10 @@
++
++@import url(../main.css);
++
++.inContentTime, .inMetacontact {
++ color: inherit;
++}
++
++.outContentTime, .outMetacontact {
++ color: inherit;
++}
+\ No newline at end of file
+diff --git a/kopete/styles/Pidgin/Contents/Resources/Variants/Makefile.am b/kopete/styles/Pidgin/Contents/Resources/Variants/Makefile.am
+new file mode 100644
+index 0000000..5bbbc31
+--- /dev/null
++++ b/kopete/styles/Pidgin/Contents/Resources/Variants/Makefile.am
+@@ -0,0 +1,4 @@
++style_DATA = No-Colors.css Name-Colors.css Status-Colors.css Contact-Colors.css
++styledir = $(kde_datadir)/kopete/styles/Pidgin/Contents/Resources/Variants
++
++EXTRA_DIST = $(style_DATA)
+\ No newline at end of file
+diff --git a/kopete/styles/Pidgin/Contents/Resources/Variants/Name-Colors.css b/kopete/styles/Pidgin/Contents/Resources/Variants/Name-Colors.css
+new file mode 100644
+index 0000000..f9fce97
+--- /dev/null
++++ b/kopete/styles/Pidgin/Contents/Resources/Variants/Name-Colors.css
+@@ -0,0 +1,13 @@
++@import url(../main.css);
++
++.inActionTime, .inActionMetacontact, .inActionMessage {
++ color: #000000;
++}
++
++.outActionTime, .outActionMetacontact, .outActionMessage {
++ color: #000000;
++}
++
++.InternalTime, .InternalDelim, .InternalMessage {
++ color: #000000;
++}
+\ No newline at end of file
+diff --git a/kopete/styles/Pidgin/Contents/Resources/Variants/No-Colors.css b/kopete/styles/Pidgin/Contents/Resources/Variants/No-Colors.css
+new file mode 100644
+index 0000000..d847a19
+--- /dev/null
++++ b/kopete/styles/Pidgin/Contents/Resources/Variants/No-Colors.css
+@@ -0,0 +1,22 @@
++@import url(../main.css);
++
++.inContentTime, .inMetacontact {
++ color: #000000;
++}
++
++.outContentTime, .outMetacontact {
++ color: #000000;
++}
++
++.inActionTime, .inActionMetacontact, .inActionMessage {
++ color: #000000;
++}
++
++.outActionTime, .outActionMetacontact, .outActionMessage {
++ color: #000000;
++}
++
++.InternalTime, .InternalDelim, .InternalMessage {
++ color: #000000;
++}
++
+diff --git a/kopete/styles/Pidgin/Contents/Resources/Variants/Status-Colors.css b/kopete/styles/Pidgin/Contents/Resources/Variants/Status-Colors.css
+new file mode 100644
+index 0000000..373f6d7
+--- /dev/null
++++ b/kopete/styles/Pidgin/Contents/Resources/Variants/Status-Colors.css
+@@ -0,0 +1,9 @@
++@import url(../main.css);
++
++.inContentTime, .inMetacontact {
++ color: #000000;
++}
++
++.outContentTime, .outMetacontact {
++ color: #000000;
++}
+\ No newline at end of file
+diff --git a/kopete/styles/Pidgin/Contents/Resources/main.css b/kopete/styles/Pidgin/Contents/Resources/main.css
+new file mode 100644
+index 0000000..393d2f1
+--- /dev/null
++++ b/kopete/styles/Pidgin/Contents/Resources/main.css
+@@ -0,0 +1,40 @@
++/* textonly by Mark Fickett, 2004. Poke/edit/maul, but leave credit - think GPL */
++/* Generally: naib.webhop.org Adium-related: naib.webhop.org/~markfickett/adium */
++
++body {
++ background: #ffffff;
++}
++
++div {
++ overflow: auto;
++}
++
++a:link { text-decoration: none; }
++a:visited { text-decoration: none; }
++a:hover { text-decoration: underline; }
++a:active { text-decoration: none; }
++
++.inMetacontact, .outMetacontact, .inActionMetacontact, .outActionMetacontact, .InternalDelim {
++ font-weight: bold;
++}
++
++.inContentTime, .inMetacontact {
++ color: #a82f2f;
++}
++
++.outContentTime, .outMetacontact {
++ color: #16569e;
++}
++
++.inActionTime, .inActionMetacontact, .inActionMessage {
++ color: green;
++}
++
++.outActionTime, .outActionMetacontact, .outActionMessage {
++ color: green;
++}
++
++.InternalTime, .InternalDelim, .InternalMessage {
++ color: #9400d3;
++}
++
+diff --git a/kopete/styles/Pidgin/Makefile.am b/kopete/styles/Pidgin/Makefile.am
+new file mode 100644
+index 0000000..331c9b5
+--- /dev/null
++++ b/kopete/styles/Pidgin/Makefile.am
+@@ -0,0 +1 @@
++SUBDIRS = Contents
+\ No newline at end of file
diff --git a/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0014-265c466-added-test-of-the-presence-libgadu-with-automake.patch b/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0014-265c466-added-test-of-the-presence-libgadu-with-automake.patch
new file mode 100644
index 000000000..1c5de8523
--- /dev/null
+++ b/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0014-265c466-added-test-of-the-presence-libgadu-with-automake.patch
@@ -0,0 +1,21 @@
+diff --git a/kopete/protocols/configure.in.in b/kopete/protocols/configure.in.in
+index 0008f19..7a96cc9 100644
+--- a/kopete/protocols/configure.in.in
++++ b/kopete/protocols/configure.in.in
+@@ -27,6 +27,16 @@ fi
+ dnl This may need a test still for compatibility
+ COMPILE_GADU=true
+ use_libgadu_copy=
++if test "$with_external_libgadu" != "no" ; then
++ # Check and setup for libgadu
++ KDE_PKG_CHECK_MODULES(LIBGG, libgadu, [have_libgg=yes], [have_libgg=no])
++ if test "x$have_libgg" = "xno"; then
++ COMPILE_GADU=
++ AC_MSG_RESULT([not found])
++ else
++ AC_MSG_RESULT([found])
++ fi
++fi
+
+ AC_SUBST(LIBGG_INCLUDES)
+ AC_SUBST(LIBGG_LIBS)
diff --git a/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0015-1bf5123-remove-unnecessary-language.patch b/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0015-1bf5123-remove-unnecessary-language.patch
new file mode 100644
index 000000000..a5f9cb40f
--- /dev/null
+++ b/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0015-1bf5123-remove-unnecessary-language.patch
@@ -0,0 +1,34 @@
+diff --git a/kopete/protocols/gadu/gadudccserver.cpp b/kopete/protocols/gadu/gadudccserver.cpp
+index 6e6c370..13d61b3 100644
+--- a/kopete/protocols/gadu/gadudccserver.cpp
++++ b/kopete/protocols/gadu/gadudccserver.cpp
+@@ -159,7 +159,7 @@ GaduDCCServer::watcher() {
+
+ dccEvent = gg_dcc_watch_fd( dccSock );
+ if ( ! dccEvent ) {
+- // connection is fucked
++ // connection is bad
+ // we should try to reenable it
+ // closeDCC();
+ return;
+diff --git a/kopete/protocols/gadu/gadudcctransaction.cpp b/kopete/protocols/gadu/gadudcctransaction.cpp
+index 7ec8d2a..75e7174 100644
+--- a/kopete/protocols/gadu/gadudcctransaction.cpp
++++ b/kopete/protocols/gadu/gadudcctransaction.cpp
+@@ -324,14 +324,14 @@ GaduDCCTransaction::watcher() {
+
+ dccEvent = gg_dcc_watch_fd( dccSock_ );
+ if ( ! dccEvent ) {
+- // connection is fucked
++ // connection is bad
+ closeDCC();
+ return;
+ }
+ switch ( dccEvent->type ) {
+ case GG_EVENT_DCC_CLIENT_ACCEPT:
+ kdDebug(14100) << " GG_EVENT_DCC_CLIENT_ACCEPT " << endl;
+- // check dccsock->peer_uin, if unknown, fuck it;
++ // check dccsock->peer_uin, if unknown, oh well;
+
+ // is it for us ?
+ account = gaduDCC_->account( dccSock_->uin );
diff --git a/gentoo/trinity-base/kopete/kopete-3.5.13.1.ebuild b/gentoo/trinity-base/kopete/kopete-3.5.13.1.ebuild
new file mode 100644
index 000000000..6f3d1fb84
--- /dev/null
+++ b/gentoo/trinity-base/kopete/kopete-3.5.13.1.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdenetwork"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity multi-protocol IM client"
+KEYWORDS="amd64 x86"
+
+IUSE="jingle gsmlib netmeeting speex kernel_linux"
+PLUGINS="latex autoreplace history contactnotes crypt connectionstatus
+ translator nowlistening webpresence texteffect highlight alias
+ motionautoaway netmeeting addbookmarks statistics smpppdcs"
+PROTOCOLS="gadu groupwise irc xmpp oscar msn sms sametime winpopup yahoo"
+# unsupported USE="v4l2 opengl xscreensaver ssl emoticons-manager "
+# USE=xmms works only with xmms1
+IUSE="${IUSE} ${PLUGINS} ${PROTOCOLS}"
+REQUIRED_USE="
+ jingle? ( xmpp )
+ gsmlib? ( sms )
+ netmeeting? ( msn )
+ speex? ( jingle xmpp )"
+
+# MISSING BOTH_DEPEND
+# x11-libs/libXrender
+# xmpp? ( net-dns/libidn )
+# kernel_linux? ( virtual/opengl )
+# opengl? ( dev-qt/qt-meta[opengl] )
+# xscreensaver? ( x11-libs/libXScrnSaver )
+# xmpp|groupwice? =app-crypt/qca-1.0*
+BOTH_DEPEND="
+ jingle? ( dev-libs/glib:2 )
+ netmeeting? ( dev-libs/glib:2 )
+ webpresence? (
+ dev-libs/libxml2
+ dev-libs/libxslt )
+ jingle? (
+ dev-libs/expat
+ speex? ( >=media-libs/speex-1.1.6 )
+ )
+ gsmlib? ( app-mobilephone/gsmlib )
+ gadu? ( net-libs/libgadu )
+ sametime? ( net-libs/meanwhile )
+ media-libs/libv4l
+"
+
+# MISSING DEPEND
+# x11-proto/videoproto
+# kernel_linux? (
+# x11-libs/libXv
+# )
+# xscreensaver? ( x11-proto/scrnsaverproto )
+DEPEND="${BOTH_DEPEND}
+ kernel_linux? (
+ virtual/os-headers
+ )
+"
+
+# MISSING RDEPEND
+# netmeeting? ( net-voip/ekiga )
+# ssl? ( =app-crypt/qca-tls-1.0* )
+RDEPEND="${BOTH_DEPEND}
+ crypt? ( app-crypt/gnupg )
+ latex? (
+ media-gfx/imagemagick
+ virtual/latex-base )
+ sms? ( !gsmlib? ( || (
+ app-mobilephone/smsclient
+ app-mobilephone/smssend ) ) )
+"
+
+PATCHES=( "${FILESDIR}/${P}-patches" )
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_with jingle JINGLE)
+ $(cmake-utils_use_with gsmlib GSM)
+ $(cmake-utils_use_with netmeeting WEBCAM)
+ $(cmake-utils_use_with speex SPEEX)
+
+ $(cmake-utils_use_build latex KOPETE_PLUGIN_LATEX)
+ $(cmake-utils_use_build autoreplace KOPETE_PLUGIN_AUTOREPLACE)
+ $(cmake-utils_use_build history KOPETE_PLUGIN_HISTORY)
+ $(cmake-utils_use_build contactnotes KOPETE_PLUGIN_CONTACTNOTES)
+ $(cmake-utils_use_build crypt KOPETE_PLUGIN_CRYPTOGRAPHY)
+ $(cmake-utils_use_build connectionstatus KOPETE_PLUGIN_CONNECTIONSTATUS)
+ $(cmake-utils_use_build translator KOPETE_PLUGIN_TRANSLATOR)
+ $(cmake-utils_use_build nowlistening KOPETE_PLUGIN_NOWLISTENING)
+ $(cmake-utils_use_build webpresence KOPETE_PLUGIN_WEBPRESENCE)
+ $(cmake-utils_use_build texteffect KOPETE_PLUGIN_TEXTEFFECT)
+ $(cmake-utils_use_build highlight KOPETE_PLUGIN_HIGHLIGHT)
+ $(cmake-utils_use_build alias KOPETE_PLUGIN_ALIAS)
+ $(cmake-utils_use_build motionautoaway KOPETE_PLUGIN_MOTIONAUTOAWAY)
+ $(cmake-utils_use_build netmeeting KOPETE_PLUGIN_NETMEETING)
+ $(cmake-utils_use_build addbookmarks KOPETE_PLUGIN_ADDBOOKMARKS)
+ $(cmake-utils_use_build statistics KOPETE_PLUGIN_STATISTICS)
+ $(cmake-utils_use_build smpppdcs KOPETE_PLUGIN_SMPPPDCS)
+
+ $(cmake-utils_use_build gadu KOPETE_PROTOCOL_GADU)
+ $(cmake-utils_use_build groupwise KOPETE_PROTOCOL_GROUPWISE)
+ $(cmake-utils_use_build irc KOPETE_PROTOCOL_IRC)
+ $(cmake-utils_use_build xmpp KOPETE_PROTOCOL_JABBER)
+ $(cmake-utils_use_build oscar KOPETE_PROTOCOL_OSCAR)
+ $(cmake-utils_use_build msn KOPETE_PROTOCOL_MSN)
+ $(cmake-utils_use_build sms KOPETE_PROTOCOL_SMS)
+ $(cmake-utils_use_build sametime KOPETE_PROTOCOL_MEANWHILE)
+ $(cmake-utils_use_build winpopup KOPETE_PROTOCOL_WINPOPUP)
+ $(cmake-utils_use_build yahoo KOPETE_PROTOCOL_YAHOO)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/kopete/kopete-9999.ebuild b/gentoo/trinity-base/kopete/kopete-9999.ebuild
new file mode 100644
index 000000000..a938dcc94
--- /dev/null
+++ b/gentoo/trinity-base/kopete/kopete-9999.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdenetwork"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity multi-protocol IM client"
+KEYWORDS=
+
+IUSE="jingle gsmlib netmeeting speex kernel_linux"
+PLUGINS="latex autoreplace history contactnotes crypt connectionstatus
+ translator nowlistening webpresence texteffect highlight alias
+ motionautoaway netmeeting addbookmarks statistics smpppdcs"
+PROTOCOLS="gadu groupwise irc xmpp oscar msn sms sametime winpopup yahoo"
+# unsupported USE="v4l2 opengl xscreensaver ssl emoticons-manager "
+# USE=xmms works only with xmms1
+IUSE="${IUSE} ${PLUGINS} ${PROTOCOLS}"
+REQUIRED_USE="
+ jingle? ( xmpp )
+ gsmlib? ( sms )
+ netmeeting? ( msn )
+ speex? ( jingle xmpp )"
+
+# MISSING BOTH_DEPEND
+# x11-libs/libXrender
+# xmpp? ( net-dns/libidn )
+# kernel_linux? ( virtual/opengl )
+# opengl? ( dev-qt/qt-meta[opengl] )
+# xscreensaver? ( x11-libs/libXScrnSaver )
+# xmpp|groupwice? =app-crypt/qca-1.0*
+BOTH_DEPEND="
+ jingle? ( dev-libs/glib:2 )
+ netmeeting? ( dev-libs/glib:2 )
+ webpresence? (
+ dev-libs/libxml2
+ dev-libs/libxslt )
+ jingle? (
+ dev-libs/expat
+ speex? ( >=media-libs/speex-1.1.6 )
+ )
+ gsmlib? ( app-mobilephone/gsmlib )
+ gadu? ( net-libs/libgadu )
+ sametime? ( net-libs/meanwhile )
+ media-libs/libv4l
+"
+
+# MISSING DEPEND
+# x11-proto/videoproto
+# kernel_linux? (
+# x11-libs/libXv
+# )
+# xscreensaver? ( x11-proto/scrnsaverproto )
+DEPEND="${BOTH_DEPEND}
+ kernel_linux? (
+ virtual/os-headers
+ )
+"
+
+# MISSING RDEPEND
+# netmeeting? ( net-voip/ekiga )
+# ssl? ( =app-crypt/qca-tls-1.0* )
+RDEPEND="${BOTH_DEPEND}
+ crypt? ( app-crypt/gnupg )
+ latex? (
+ media-gfx/imagemagick
+ virtual/latex-base )
+ sms? ( !gsmlib? ( || (
+ app-mobilephone/smsclient
+ app-mobilephone/smssend ) ) )
+"
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_with jingle JINGLE)
+ $(cmake-utils_use_with gsmlib GSM)
+ $(cmake-utils_use_with netmeeting WEBCAM)
+ $(cmake-utils_use_with speex SPEEX)
+
+ $(cmake-utils_use_build latex KOPETE_PLUGIN_LATEX)
+ $(cmake-utils_use_build autoreplace KOPETE_PLUGIN_AUTOREPLACE)
+ $(cmake-utils_use_build history KOPETE_PLUGIN_HISTORY)
+ $(cmake-utils_use_build contactnotes KOPETE_PLUGIN_CONTACTNOTES)
+ $(cmake-utils_use_build crypt KOPETE_PLUGIN_CRYPTOGRAPHY)
+ $(cmake-utils_use_build connectionstatus KOPETE_PLUGIN_CONNECTIONSTATUS)
+ $(cmake-utils_use_build translator KOPETE_PLUGIN_TRANSLATOR)
+ $(cmake-utils_use_build nowlistening KOPETE_PLUGIN_NOWLISTENING)
+ $(cmake-utils_use_build webpresence KOPETE_PLUGIN_WEBPRESENCE)
+ $(cmake-utils_use_build texteffect KOPETE_PLUGIN_TEXTEFFECT)
+ $(cmake-utils_use_build highlight KOPETE_PLUGIN_HIGHLIGHT)
+ $(cmake-utils_use_build alias KOPETE_PLUGIN_ALIAS)
+ $(cmake-utils_use_build motionautoaway KOPETE_PLUGIN_MOTIONAUTOAWAY)
+ $(cmake-utils_use_build netmeeting KOPETE_PLUGIN_NETMEETING)
+ $(cmake-utils_use_build addbookmarks KOPETE_PLUGIN_ADDBOOKMARKS)
+ $(cmake-utils_use_build statistics KOPETE_PLUGIN_STATISTICS)
+ $(cmake-utils_use_build smpppdcs KOPETE_PLUGIN_SMPPPDCS)
+
+ $(cmake-utils_use_build gadu KOPETE_PROTOCOL_GADU)
+ $(cmake-utils_use_build groupwise KOPETE_PROTOCOL_GROUPWISE)
+ $(cmake-utils_use_build irc KOPETE_PROTOCOL_IRC)
+ $(cmake-utils_use_build xmpp KOPETE_PROTOCOL_JABBER)
+ $(cmake-utils_use_build oscar KOPETE_PROTOCOL_OSCAR)
+ $(cmake-utils_use_build msn KOPETE_PROTOCOL_MSN)
+ $(cmake-utils_use_build sms KOPETE_PROTOCOL_SMS)
+ $(cmake-utils_use_build sametime KOPETE_PROTOCOL_MEANWHILE)
+ $(cmake-utils_use_build winpopup KOPETE_PROTOCOL_WINPOPUP)
+ $(cmake-utils_use_build yahoo KOPETE_PROTOCOL_YAHOO)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/kopete/metadata.xml b/gentoo/trinity-base/kopete/metadata.xml
new file mode 100644
index 000000000..14d4a468d
--- /dev/null
+++ b/gentoo/trinity-base/kopete/metadata.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+ <use>
+ <flag name="gsmlib">Add <pkg>app-mobilephone/gsmlib</pkg> support to sms plugin.</flag>
+ <flag name="netmeeting">Add Netmeeting plugin and support to the msn protocol.</flag>
+ <flag name="autoreplace">Build autoreplace plugin.</flag>
+ <flag name="history">Build history plugin.</flag>
+ <flag name="contactnotes">Build contactnotes plugin.</flag>
+ <flag name="connectionstatus">Build connectionstatus plugin.</flag>
+ <flag name="translator">Build history plugin that automaticaly translates incoming and outgoing messages.</flag>
+ <flag name="nowlistening">Build nowlistening plugin.</flag>
+ <flag name="webpresence">Build webpresence plugin that shows your status and some more information on web..</flag>
+ <flag name="texteffect">Build texteffect plugin.</flag>
+ <flag name="highlight">Build highlight plugin that allows you to specify highlights on specific events.</flag>
+ <flag name="alias">Build alias plugin.</flag>
+ <flag name="motionautoaway">Build motionautoaway plugin.</flag>
+ <flag name="addbookmarks">Build addbookmarks plugin that automatically adds incoming urls to bookmarks.</flag>
+ <flag name="statistics">Build statistics plugin.</flag>
+ <flag name="smpppdcs">Build smpppdsc plugin.</flag>
+ <flag name="gadu">Enaple Gadu protocol support with <pkg>net-libs/libgadu</pkg>.</flag>
+ <flag name="groupwise">Enable Groupwise protocol support.</flag>
+ <flag name="irc">Enable IRC protocol support.</flag>
+ <flag name="sms">Enable sms sending functionality.</flag>
+ <flag name="sametime">Add sametime protocol support with <pkg>net-libs/meanwhile</pkg>.</flag>
+ <flag name="winpopup">Enable pop-up messages sending on windows. (same as good old "net send" messages ;])</flag>
+ </use>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/korganizer/Manifest b/gentoo/trinity-base/korganizer/Manifest
new file mode 100644
index 000000000..d6ce26a13
--- /dev/null
+++ b/gentoo/trinity-base/korganizer/Manifest
@@ -0,0 +1 @@
+DIST kdepim-trinity-3.5.13.2.tar.xz 10148724 SHA256 2cbd61e28322e4c7d67ffb16ac59329b3f15ba1a4485095994b9bce6786df7c4 SHA512 a84319183813dc78dc97397c8c3871faa3961b458eda8107525b8b9c6789d13aedd8e3c7cb0706c4ca8dd63f69ff67de02716219c8af44ebf96d484d820eb2bf WHIRLPOOL 907d9d86f1b0094b915989ca7f0feb4f67ac1b238a4c6d176ab1ef9164eff78778b2714ebedeb40de28536a8384b39ec7e637f1bb6911cccb40f7d8663811edb
diff --git a/gentoo/trinity-base/korganizer/korganizer-3.5.13.2.ebuild b/gentoo/trinity-base/korganizer/korganizer-3.5.13.2.ebuild
new file mode 100644
index 000000000..1a6e97322
--- /dev/null
+++ b/gentoo/trinity-base/korganizer/korganizer-3.5.13.2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdepim"
+
+inherit trinity-meta
+
+DESCRIPTION="A Personal Organizer for Trinity"
+KEYWORDS="~amd64 ~x86"
+IUSE+=" exchange"
+COMMON_DEPEND="
+ >=trinity-base/kgantt-${PV}:${SLOT}
+ >=trinity-base/libkdepim-${PV}:${SLOT}
+ >=trinity-base/libkdenetwork-${PV}:${SLOT}
+ >=trinity-base/libkcal-${PV}:${SLOT}
+ >=trinity-base/ktnef-${PV}:${SLOT}
+ >=trinity-base/libkmime-${PV}:${SLOT}
+ >=trinity-base/libkholidays-${PV}:${SLOT}
+ >=trinity-base/certmanager-${PV}:${SLOT}
+ >=trinity-base/libkpimidentities-${PV}:${SLOT}
+ >=trinity-base/kaddressbook-${PV}:${SLOT}
+ exchange? ( >=trinity-base/libkpimexchange-${PV}:${SLOT} )"
+# >=trinity-base/tdepim-tderesources-${PV}:${SLOT}
+
+DEPEND+=" ${COMMON_DEPEND}"
+RDEPEND+=" ${COMMON_DEPEND}"
+
+TSM_EXTRACT_ALSO="certmanager/lib/
+ libemailfunctions/
+ libkcal/
+ libkholidays/
+ libkpimidentities/
+ libkdepim/
+ libkmime/
+ kdgantt/
+ kmail/"
+
+TSM_EXTRACT_ALSO+=" libkpimexchange/core/" # required for USE=exchange
+
+src_configure () {
+ mycmakeargs=(
+ $(cmake-utils_use_with exchange EXCHANGE )
+ )
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/korganizer/korganizer-9999.ebuild b/gentoo/trinity-base/korganizer/korganizer-9999.ebuild
new file mode 100644
index 000000000..b9f24c9b0
--- /dev/null
+++ b/gentoo/trinity-base/korganizer/korganizer-9999.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdepim"
+
+inherit trinity-meta
+
+DESCRIPTION="A Personal Organizer for Trinity"
+KEYWORDS=""
+IUSE+=" exchange"
+COMMON_DEPEND="
+ >=trinity-base/kgantt-${PV}:${SLOT}
+ >=trinity-base/libtdepim-${PV}:${SLOT}
+ >=trinity-base/libtdenetwork-${PV}:${SLOT}
+ >=trinity-base/libkcal-${PV}:${SLOT}
+ >=trinity-base/ktnef-${PV}:${SLOT}
+ >=trinity-base/libkmime-${PV}:${SLOT}
+ >=trinity-base/libkholidays-${PV}:${SLOT}
+ >=trinity-base/certmanager-${PV}:${SLOT}
+ >=trinity-base/libkpimidentities-${PV}:${SLOT}
+ >=trinity-base/kaddressbook-${PV}:${SLOT}
+ exchange? ( >=trinity-base/libkpimexchange-${PV}:${SLOT} )"
+# >=trinity-base/tdepim-tderesources-${PV}:${SLOT}
+
+DEPEND+=" ${COMMON_DEPEND}"
+RDEPEND+=" ${COMMON_DEPEND}"
+
+TSM_EXTRACT_ALSO="certmanager/lib/
+ libemailfunctions/
+ libkcal/
+ libkholidays/
+ libkpimidentities/
+ libtdepim/
+ libkmime/
+ kdgantt/
+ kmail/"
+
+TSM_EXTRACT_ALSO+=" libkpimexchange/core/" # required for USE=exchange
+
+src_configure () {
+ mycmakeargs=(
+ $(cmake-utils_use_with exchange EXCHANGE )
+ )
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/korganizer/metadata.xml b/gentoo/trinity-base/korganizer/metadata.xml
new file mode 100644
index 000000000..e5061467c
--- /dev/null
+++ b/gentoo/trinity-base/korganizer/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+ <use>
+ <flag name="exchange">Build with support for <pkg>app-mobilephone/gnokii</pkg></flag>
+ </use>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kpager/Manifest b/gentoo/trinity-base/kpager/Manifest
new file mode 100644
index 000000000..381340c4b
--- /dev/null
+++ b/gentoo/trinity-base/kpager/Manifest
@@ -0,0 +1,2 @@
+DIST kdebase-3.5.13.1.tar.gz 29403228 SHA256 ddd4bd4b508ad027b9d1af2701c6ba64bfc9f8f1d32099e6dd5e7866714f759e SHA512 e1aac19c941a5f2b43a57928fdb43e5ebd646f49c60911d9d317550df96642870792c4e77ecd06e123244e2425ccd4bcb00f0a21011ba7e651d7fcf4553e79cf WHIRLPOOL 931debbf6a65c280221025dcbc02cbb3387b66eb72eddd28a510ee8f97075cd2cc96535dde25d0a32280c399e4a868e9c027772f5d28e7e79b7c1a9080c58034
+DIST kdebase-trinity-3.5.13.2.tar.xz 25890636 SHA256 b9d552226daff64437dfb9699669b95dd7ebc2ca7c43755ba71c10cc6c9ed789 SHA512 df545d44c7d4550d1d77ff6504572b622853c2b8d80062b1aee1a5bdca19f0e708cde35cff54cf2d5098f06a41bde0c89522a3958dea9bb18205dea87c11b797 WHIRLPOOL 79144273bc7985c59a593a3394b12a2053532d2c4c890ce96adad21f6de0413baf3c6270d6d06173ec4546b20d401aa0cc81603d01b8ee41dbdefc825b39b2b1
diff --git a/gentoo/trinity-base/kpager/files/shared b/gentoo/trinity-base/kpager/files/shared
new file mode 120000
index 000000000..ffc286806
--- /dev/null
+++ b/gentoo/trinity-base/kpager/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files \ No newline at end of file
diff --git a/gentoo/trinity-base/kpager/kpager-3.5.13.1.ebuild b/gentoo/trinity-base/kpager/kpager-3.5.13.1.ebuild
new file mode 100644
index 000000000..5cdd05d11
--- /dev/null
+++ b/gentoo/trinity-base/kpager/kpager-3.5.13.1.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity Virtual Desktop Overview"
+KEYWORDS="x86 amd64"
+IUSE=""
diff --git a/gentoo/trinity-base/kpager/kpager-3.5.13.2.ebuild b/gentoo/trinity-base/kpager/kpager-3.5.13.2.ebuild
new file mode 100644
index 000000000..40eb30059
--- /dev/null
+++ b/gentoo/trinity-base/kpager/kpager-3.5.13.2.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity Virtual Desktop Overview"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
diff --git a/gentoo/trinity-base/kpager/kpager-9999.ebuild b/gentoo/trinity-base/kpager/kpager-9999.ebuild
new file mode 100644
index 000000000..2d222322a
--- /dev/null
+++ b/gentoo/trinity-base/kpager/kpager-9999.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity Virtual Desktop Overview"
+KEYWORDS=
+IUSE=""
diff --git a/gentoo/trinity-base/kpager/metadata.xml b/gentoo/trinity-base/kpager/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kpager/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kpdf/Manifest b/gentoo/trinity-base/kpdf/Manifest
new file mode 100644
index 000000000..f0ba54e9a
--- /dev/null
+++ b/gentoo/trinity-base/kpdf/Manifest
@@ -0,0 +1 @@
+DIST kdegraphics-3.5.13.1.tar.gz 7526074 SHA256 19bd36e261bb6c5d2c9c1eba5f736c642b48422d917d44e576835f7ebb44906b SHA512 693e5ad70dbb00c587e588acfb81fc9475c3a4dbc86f41d6053c0584c533349a7564e34b870cb7bbc57361ac539da6f7d7f1b002ac3cfe8b0201db3eeb9147dd WHIRLPOOL fd2c46c517b3a0293880eaf35967295485555b936d0f1e80e0f2c261a1164cfcc5c4b2d943a12c073914d33b59974cc2dd92a78414614caa10f46dd048d518b4
diff --git a/gentoo/trinity-base/kpdf/kpdf-3.5.13.1.ebuild b/gentoo/trinity-base/kpdf/kpdf-3.5.13.1.ebuild
new file mode 100644
index 000000000..7ea730e8d
--- /dev/null
+++ b/gentoo/trinity-base/kpdf/kpdf-3.5.13.1.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdegraphics"
+
+inherit trinity-meta
+
+DESCRIPTION="kpdf, a Trinity pdf viewer based on xpdf"
+KEYWORDS="x86 amd64"
+IUSE=""
+
+DEPEND="media-libs/freetype:2"
+RDEPEND="$DEPEND"
diff --git a/gentoo/trinity-base/kpdf/kpdf-9999.ebuild b/gentoo/trinity-base/kpdf/kpdf-9999.ebuild
new file mode 100644
index 000000000..74582958b
--- /dev/null
+++ b/gentoo/trinity-base/kpdf/kpdf-9999.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdegraphics"
+
+inherit trinity-meta
+
+DESCRIPTION="kpdf, a Trinity pdf viewer based on xpdf"
+KEYWORDS=
+IUSE=""
+
+DEPEND="media-libs/freetype:2"
+RDEPEND="$DEPEND"
diff --git a/gentoo/trinity-base/kpdf/metadata.xml b/gentoo/trinity-base/kpdf/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kpdf/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kpersonalizer/Manifest b/gentoo/trinity-base/kpersonalizer/Manifest
new file mode 100644
index 000000000..381340c4b
--- /dev/null
+++ b/gentoo/trinity-base/kpersonalizer/Manifest
@@ -0,0 +1,2 @@
+DIST kdebase-3.5.13.1.tar.gz 29403228 SHA256 ddd4bd4b508ad027b9d1af2701c6ba64bfc9f8f1d32099e6dd5e7866714f759e SHA512 e1aac19c941a5f2b43a57928fdb43e5ebd646f49c60911d9d317550df96642870792c4e77ecd06e123244e2425ccd4bcb00f0a21011ba7e651d7fcf4553e79cf WHIRLPOOL 931debbf6a65c280221025dcbc02cbb3387b66eb72eddd28a510ee8f97075cd2cc96535dde25d0a32280c399e4a868e9c027772f5d28e7e79b7c1a9080c58034
+DIST kdebase-trinity-3.5.13.2.tar.xz 25890636 SHA256 b9d552226daff64437dfb9699669b95dd7ebc2ca7c43755ba71c10cc6c9ed789 SHA512 df545d44c7d4550d1d77ff6504572b622853c2b8d80062b1aee1a5bdca19f0e708cde35cff54cf2d5098f06a41bde0c89522a3958dea9bb18205dea87c11b797 WHIRLPOOL 79144273bc7985c59a593a3394b12a2053532d2c4c890ce96adad21f6de0413baf3c6270d6d06173ec4546b20d401aa0cc81603d01b8ee41dbdefc825b39b2b1
diff --git a/gentoo/trinity-base/kpersonalizer/files/shared b/gentoo/trinity-base/kpersonalizer/files/shared
new file mode 120000
index 000000000..ffc286806
--- /dev/null
+++ b/gentoo/trinity-base/kpersonalizer/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files \ No newline at end of file
diff --git a/gentoo/trinity-base/kpersonalizer/kpersonalizer-3.5.13.1.ebuild b/gentoo/trinity-base/kpersonalizer/kpersonalizer-3.5.13.1.ebuild
new file mode 100644
index 000000000..e0f365543
--- /dev/null
+++ b/gentoo/trinity-base/kpersonalizer/kpersonalizer-3.5.13.1.ebuild
@@ -0,0 +1,13 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity user settings wizard."
+KEYWORDS="x86 amd64"
+IUSE=""
+
+TSM_EXTRACT_ALSO="libkonq/"
diff --git a/gentoo/trinity-base/kpersonalizer/kpersonalizer-3.5.13.2.ebuild b/gentoo/trinity-base/kpersonalizer/kpersonalizer-3.5.13.2.ebuild
new file mode 100644
index 000000000..41c2faccf
--- /dev/null
+++ b/gentoo/trinity-base/kpersonalizer/kpersonalizer-3.5.13.2.ebuild
@@ -0,0 +1,13 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity user settings wizard."
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+TSM_EXTRACT_ALSO="libkonq/"
diff --git a/gentoo/trinity-base/kpersonalizer/kpersonalizer-9999.ebuild b/gentoo/trinity-base/kpersonalizer/kpersonalizer-9999.ebuild
new file mode 100644
index 000000000..bf413ef63
--- /dev/null
+++ b/gentoo/trinity-base/kpersonalizer/kpersonalizer-9999.ebuild
@@ -0,0 +1,13 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity user settings wizard."
+KEYWORDS=
+IUSE=""
+
+TSM_EXTRACT_ALSO="libkonq/"
diff --git a/gentoo/trinity-base/kpersonalizer/metadata.xml b/gentoo/trinity-base/kpersonalizer/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kpersonalizer/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kpf/Manifest b/gentoo/trinity-base/kpf/Manifest
new file mode 100644
index 000000000..1d49700dc
--- /dev/null
+++ b/gentoo/trinity-base/kpf/Manifest
@@ -0,0 +1 @@
+DIST kdenetwork-3.5.13.1.tar.gz 8794225 SHA256 21e69e8cb2550561c26913a5cccdc376115f50cffd43f9a94f7a660a303f46f9 SHA512 b3189a9f5e9cddd130b24a82b95ef90db1ec3c7afa280a46101ba7cbf6f9d92f60a536401f648a96459ba87f70ede5f7ae4affe894515a8e858b40ee79cb1b69 WHIRLPOOL de678ab30e3aa8dc3068c895fd000fdab1bc046e272273bf44196a198210efab82ddde3c5e0ffaa863061e9c56e3a8a68ca2f8f03cd77136755f66688f878c65
diff --git a/gentoo/trinity-base/kpf/kpf-3.5.13.1.ebuild b/gentoo/trinity-base/kpf/kpf-3.5.13.1.ebuild
new file mode 100644
index 000000000..1bf4e3450
--- /dev/null
+++ b/gentoo/trinity-base/kpf/kpf-3.5.13.1.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdenetwork"
+
+inherit trinity-meta
+
+DESCRIPTION="Kicker file server (http) applet"
+KEYWORDS="amd64 x86"
+IUSE=""
diff --git a/gentoo/trinity-base/kpf/kpf-9999.ebuild b/gentoo/trinity-base/kpf/kpf-9999.ebuild
new file mode 100644
index 000000000..8badb4250
--- /dev/null
+++ b/gentoo/trinity-base/kpf/kpf-9999.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdenetwork"
+
+inherit trinity-meta
+
+DESCRIPTION="Kicker file server (http) applet"
+KEYWORDS=
+IUSE=""
diff --git a/gentoo/trinity-base/kpf/metadata.xml b/gentoo/trinity-base/kpf/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kpf/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kpovmodeler/Manifest b/gentoo/trinity-base/kpovmodeler/Manifest
new file mode 100644
index 000000000..f0ba54e9a
--- /dev/null
+++ b/gentoo/trinity-base/kpovmodeler/Manifest
@@ -0,0 +1 @@
+DIST kdegraphics-3.5.13.1.tar.gz 7526074 SHA256 19bd36e261bb6c5d2c9c1eba5f736c642b48422d917d44e576835f7ebb44906b SHA512 693e5ad70dbb00c587e588acfb81fc9475c3a4dbc86f41d6053c0584c533349a7564e34b870cb7bbc57361ac539da6f7d7f1b002ac3cfe8b0201db3eeb9147dd WHIRLPOOL fd2c46c517b3a0293880eaf35967295485555b936d0f1e80e0f2c261a1164cfcc5c4b2d943a12c073914d33b59974cc2dd92a78414614caa10f46dd048d518b4
diff --git a/gentoo/trinity-base/kpovmodeler/kpovmodeler-3.5.13.1.ebuild b/gentoo/trinity-base/kpovmodeler/kpovmodeler-3.5.13.1.ebuild
new file mode 100644
index 000000000..fc9cd8ade
--- /dev/null
+++ b/gentoo/trinity-base/kpovmodeler/kpovmodeler-3.5.13.1.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdegraphics"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity: Modeler for POV-Ray Scenes."
+KEYWORDS="x86 amd64"
+IUSE=""
+
+DEPEND="virtual/opengl
+ >=media-libs/freetype-2.3"
+RDEPEND="${DEPEND}
+ media-gfx/povray"
diff --git a/gentoo/trinity-base/kpovmodeler/kpovmodeler-9999.ebuild b/gentoo/trinity-base/kpovmodeler/kpovmodeler-9999.ebuild
new file mode 100644
index 000000000..ca258ad7b
--- /dev/null
+++ b/gentoo/trinity-base/kpovmodeler/kpovmodeler-9999.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdegraphics"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity: Modeler for POV-Ray Scenes."
+KEYWORDS=
+IUSE=""
+
+DEPEND="virtual/opengl
+ >=media-libs/freetype-2.3"
+RDEPEND="${DEPEND}
+ media-gfx/povray"
diff --git a/gentoo/trinity-base/kpovmodeler/metadata.xml b/gentoo/trinity-base/kpovmodeler/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kpovmodeler/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kppp/Manifest b/gentoo/trinity-base/kppp/Manifest
new file mode 100644
index 000000000..1d49700dc
--- /dev/null
+++ b/gentoo/trinity-base/kppp/Manifest
@@ -0,0 +1 @@
+DIST kdenetwork-3.5.13.1.tar.gz 8794225 SHA256 21e69e8cb2550561c26913a5cccdc376115f50cffd43f9a94f7a660a303f46f9 SHA512 b3189a9f5e9cddd130b24a82b95ef90db1ec3c7afa280a46101ba7cbf6f9d92f60a536401f648a96459ba87f70ede5f7ae4affe894515a8e858b40ee79cb1b69 WHIRLPOOL de678ab30e3aa8dc3068c895fd000fdab1bc046e272273bf44196a198210efab82ddde3c5e0ffaa863061e9c56e3a8a68ca2f8f03cd77136755f66688f878c65
diff --git a/gentoo/trinity-base/kppp/files/kppp-v3.5.13.1-a2b3834-fix-various-cmake-build-issues.patch b/gentoo/trinity-base/kppp/files/kppp-v3.5.13.1-a2b3834-fix-various-cmake-build-issues.patch
new file mode 100644
index 000000000..e080a9dff
--- /dev/null
+++ b/gentoo/trinity-base/kppp/files/kppp-v3.5.13.1-a2b3834-fix-various-cmake-build-issues.patch
@@ -0,0 +1,10 @@
+diff --git a/kppp/Rules/CMakeLists.txt b/kppp/Rules/CMakeLists.txt
+index bb4f384..fc2c702 100644
+--- a/kppp/Rules/CMakeLists.txt
++++ b/kppp/Rules/CMakeLists.txt
+@@ -12,4 +12,4 @@
+ tde_auto_add_subdirectories( )
+
+ install( FILES TEMPLATE DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules )
+-install( PROGRAMS checkrules DESTINATION ${DATA_INSTALL_DIR} )
++install( PROGRAMS checkrules DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules )
diff --git a/gentoo/trinity-base/kppp/kppp-3.5.13.1.ebuild b/gentoo/trinity-base/kppp/kppp-3.5.13.1.ebuild
new file mode 100644
index 000000000..1ae0968a8
--- /dev/null
+++ b/gentoo/trinity-base/kppp/kppp-3.5.13.1.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdenetwork"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity: A dialer and front-end to pppd."
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND="net-dialup/ppp"
+
+PATCHES=(
+ "${FILESDIR}/kppp-v3.5.13.1-a2b3834-fix-various-cmake-build-issues.patch" )
diff --git a/gentoo/trinity-base/kppp/kppp-9999.ebuild b/gentoo/trinity-base/kppp/kppp-9999.ebuild
new file mode 100644
index 000000000..3787062a5
--- /dev/null
+++ b/gentoo/trinity-base/kppp/kppp-9999.ebuild
@@ -0,0 +1,13 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdenetwork"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity: A dialer and front-end to pppd."
+KEYWORDS=
+IUSE=""
+
+RDEPEND="net-dialup/ppp"
diff --git a/gentoo/trinity-base/kppp/metadata.xml b/gentoo/trinity-base/kppp/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kppp/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/krdc/Manifest b/gentoo/trinity-base/krdc/Manifest
new file mode 100644
index 000000000..1d49700dc
--- /dev/null
+++ b/gentoo/trinity-base/krdc/Manifest
@@ -0,0 +1 @@
+DIST kdenetwork-3.5.13.1.tar.gz 8794225 SHA256 21e69e8cb2550561c26913a5cccdc376115f50cffd43f9a94f7a660a303f46f9 SHA512 b3189a9f5e9cddd130b24a82b95ef90db1ec3c7afa280a46101ba7cbf6f9d92f60a536401f648a96459ba87f70ede5f7ae4affe894515a8e858b40ee79cb1b69 WHIRLPOOL de678ab30e3aa8dc3068c895fd000fdab1bc046e272273bf44196a198210efab82ddde3c5e0ffaa863061e9c56e3a8a68ca2f8f03cd77136755f66688f878c65
diff --git a/gentoo/trinity-base/krdc/files/krdc-3.5.13.1-702c180-added-openslp-support-to-cmake.patch b/gentoo/trinity-base/krdc/files/krdc-3.5.13.1-702c180-added-openslp-support-to-cmake.patch
new file mode 100644
index 000000000..4a767d516
--- /dev/null
+++ b/gentoo/trinity-base/krdc/files/krdc-3.5.13.1-702c180-added-openslp-support-to-cmake.patch
@@ -0,0 +1,41 @@
+diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
+index 896491f..fc04621 100644
+--- a/ConfigureChecks.cmake
++++ b/ConfigureChecks.cmake
+@@ -16,3 +16,12 @@ endif( )
+ # required stuff
+ find_package( TQt )
+ find_package( TDE )
++
++if( WITH_SLP )
++ check_library_exists( slp "SLPOpen" "" HAVE_SLP )
++ if( HAVE_SLP )
++ set(LIB_SLP slp )
++ else( )
++ tde_message_fatal( "openslp is required, but was not found on your system" )
++ endif( )
++endif( )
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index d712390..2601743 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -49,6 +49,7 @@ option( WITH_SPEEX "Enable speex support (for jingle)" OFF )
+ option( WITH_WEBCAM "Enable webcam support (kopete/msn)" OFF )
+ option( WITH_GSM "Enable GSM SMS support (kopete/sms)" OFF )
+ option( WITH_ARTS "Enable aRts support" OFF )
++option( WITH_SLP "Enable OpenSLP support (krdc, krfb)" OFF )
+
+
+ ##### kopete protocols ##########################
+diff --git a/krdc/CMakeLists.txt b/krdc/CMakeLists.txt
+index 5451be7..47b3056 100644
+--- a/krdc/CMakeLists.txt
++++ b/krdc/CMakeLists.txt
+@@ -60,6 +60,6 @@ tde_add_executable( krdc AUTOMOC
+ maindialogbase.ui keycapturewidget.ui kservicelocator.cpp
+ keycapturedialog.cpp kremoteview.cpp smartptr.cpp hostpreferences.cpp
+ preferencesdialog.cpp maindialogwidget.cpp maindialog.cpp
+- LINK vnc-static rdp-static kdeui-shared kdnssd-shared kwalletclient-shared jpeg Xext
++ LINK vnc-static rdp-static kdeui-shared kdnssd-shared kwalletclient-shared jpeg Xext ${LIB_SLP}
+ DESTINATION ${BIN_INSTALL_DIR}
+ )
diff --git a/gentoo/trinity-base/krdc/krdc-3.5.13.1.ebuild b/gentoo/trinity-base/krdc/krdc-3.5.13.1.ebuild
new file mode 100644
index 000000000..7fc8211bd
--- /dev/null
+++ b/gentoo/trinity-base/krdc/krdc-3.5.13.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdenetwork"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity remote desktop connection (RDP and VNC) client"
+KEYWORDS="amd64 x86"
+IUSE="rdp slp"
+
+DEPEND="
+ dev-libs/openssl:=
+ slp? ( net-libs/openslp )
+ x11-libs/libXext"
+RDEPEND="${DEPEND}
+ rdp? ( >=net-misc/rdesktop-1.4.1 )"
+
+PATCHES=( "${FILESDIR}/krdc-3.5.13.1-702c180-added-openslp-support-to-cmake.patch" )
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_with slp SLP)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/krdc/krdc-9999.ebuild b/gentoo/trinity-base/krdc/krdc-9999.ebuild
new file mode 100644
index 000000000..9e01fa813
--- /dev/null
+++ b/gentoo/trinity-base/krdc/krdc-9999.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdenetwork"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity remote desktop connection (RDP and VNC) client"
+KEYWORDS=
+IUSE="rdp slp"
+
+DEPEND="
+ dev-libs/openssl:=
+ slp? ( net-libs/openslp )
+ x11-libs/libXext"
+RDEPEND="${DEPEND}
+ rdp? ( >=net-misc/rdesktop-1.4.1 )"
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_with slp SLP)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/krdc/metadata.xml b/gentoo/trinity-base/krdc/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/krdc/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kreadconfig/Manifest b/gentoo/trinity-base/kreadconfig/Manifest
new file mode 100644
index 000000000..381340c4b
--- /dev/null
+++ b/gentoo/trinity-base/kreadconfig/Manifest
@@ -0,0 +1,2 @@
+DIST kdebase-3.5.13.1.tar.gz 29403228 SHA256 ddd4bd4b508ad027b9d1af2701c6ba64bfc9f8f1d32099e6dd5e7866714f759e SHA512 e1aac19c941a5f2b43a57928fdb43e5ebd646f49c60911d9d317550df96642870792c4e77ecd06e123244e2425ccd4bcb00f0a21011ba7e651d7fcf4553e79cf WHIRLPOOL 931debbf6a65c280221025dcbc02cbb3387b66eb72eddd28a510ee8f97075cd2cc96535dde25d0a32280c399e4a868e9c027772f5d28e7e79b7c1a9080c58034
+DIST kdebase-trinity-3.5.13.2.tar.xz 25890636 SHA256 b9d552226daff64437dfb9699669b95dd7ebc2ca7c43755ba71c10cc6c9ed789 SHA512 df545d44c7d4550d1d77ff6504572b622853c2b8d80062b1aee1a5bdca19f0e708cde35cff54cf2d5098f06a41bde0c89522a3958dea9bb18205dea87c11b797 WHIRLPOOL 79144273bc7985c59a593a3394b12a2053532d2c4c890ce96adad21f6de0413baf3c6270d6d06173ec4546b20d401aa0cc81603d01b8ee41dbdefc825b39b2b1
diff --git a/gentoo/trinity-base/kreadconfig/files/shared b/gentoo/trinity-base/kreadconfig/files/shared
new file mode 120000
index 000000000..ffc286806
--- /dev/null
+++ b/gentoo/trinity-base/kreadconfig/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files \ No newline at end of file
diff --git a/gentoo/trinity-base/kreadconfig/kreadconfig-3.5.13.1.ebuild b/gentoo/trinity-base/kreadconfig/kreadconfig-3.5.13.1.ebuild
new file mode 100644
index 000000000..a958d646f
--- /dev/null
+++ b/gentoo/trinity-base/kreadconfig/kreadconfig-3.5.13.1.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="A Trinity tool to read KConfig entries - for use in shell scripts"
+KEYWORDS="x86 amd64"
+IUSE=""
diff --git a/gentoo/trinity-base/kreadconfig/kreadconfig-3.5.13.2.ebuild b/gentoo/trinity-base/kreadconfig/kreadconfig-3.5.13.2.ebuild
new file mode 100644
index 000000000..90d824d61
--- /dev/null
+++ b/gentoo/trinity-base/kreadconfig/kreadconfig-3.5.13.2.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="A Trinity tool to read KConfig entries - for use in shell scripts"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
diff --git a/gentoo/trinity-base/kreadconfig/kreadconfig-9999.ebuild b/gentoo/trinity-base/kreadconfig/kreadconfig-9999.ebuild
new file mode 100644
index 000000000..5ebaad707
--- /dev/null
+++ b/gentoo/trinity-base/kreadconfig/kreadconfig-9999.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="A Trinity tool to read KConfig entries - for use in shell scripts"
+KEYWORDS=
+IUSE=""
diff --git a/gentoo/trinity-base/kreadconfig/metadata.xml b/gentoo/trinity-base/kreadconfig/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kreadconfig/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kregexpeditor/Manifest b/gentoo/trinity-base/kregexpeditor/Manifest
new file mode 100644
index 000000000..c59ac62b4
--- /dev/null
+++ b/gentoo/trinity-base/kregexpeditor/Manifest
@@ -0,0 +1,2 @@
+DIST kdeutils-3.5.13.1.tar.gz 2829393 SHA256 3e7ab07fe1bb3e7be7ac3a3796366c88d3b79a58af911546e2c65e32363db527 SHA512 48733e472d0f5da85ef8a32ed6db7fa5e61f0682e49842439e6ea38a1e407059bb35efffe41fc6ed1a718511fd5b2b2c8222d816a23500a4dcbca17461f9a3bd WHIRLPOOL 1488e0c44f60b4d5e397dd2cf93de048eae1b915d4b2b7b1cf27768946f5aae3b5bcc3971ee28b5fa6a57a0b94cca6db0866138b69ad74f1f7bb97cdaaebdbe2
+DIST kdeutils-trinity-3.5.13.2.tar.xz 2259232 SHA256 b2999b9ef39bb2f269b84fdf34a814b5a5599aae7d05538d0bf680c18fb334fa SHA512 f501aa4b61bf440e873eec96f09c0c24ad780db2f9f14b884001c04c04aafccb5afb2b492dcf4fc640f3ec35d86aa419d67936122648a986662cd7b7f4f8a2d8 WHIRLPOOL 49296006875250212f0fdeb0c90c4f69cf0aa7cfd38415e2f7b50bdf81754de64562df2400f4932a502adbe84b58be34cae6c029d68cc62d0e91de5158513239
diff --git a/gentoo/trinity-base/kregexpeditor/files/shared b/gentoo/trinity-base/kregexpeditor/files/shared
new file mode 120000
index 000000000..af62be31d
--- /dev/null
+++ b/gentoo/trinity-base/kregexpeditor/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files/ \ No newline at end of file
diff --git a/gentoo/trinity-base/kregexpeditor/kregexpeditor-3.5.13.1.ebuild b/gentoo/trinity-base/kregexpeditor/kregexpeditor-3.5.13.1.ebuild
new file mode 100644
index 000000000..6aaff4042
--- /dev/null
+++ b/gentoo/trinity-base/kregexpeditor/kregexpeditor-3.5.13.1.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity: Editor for Regular Expressions"
+KEYWORDS="x86 amd64"
+IUSE=""
diff --git a/gentoo/trinity-base/kregexpeditor/kregexpeditor-3.5.13.2.ebuild b/gentoo/trinity-base/kregexpeditor/kregexpeditor-3.5.13.2.ebuild
new file mode 100644
index 000000000..7c84e6594
--- /dev/null
+++ b/gentoo/trinity-base/kregexpeditor/kregexpeditor-3.5.13.2.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity: Editor for Regular Expressions"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
diff --git a/gentoo/trinity-base/kregexpeditor/kregexpeditor-9999.ebuild b/gentoo/trinity-base/kregexpeditor/kregexpeditor-9999.ebuild
new file mode 100644
index 000000000..b082a3565
--- /dev/null
+++ b/gentoo/trinity-base/kregexpeditor/kregexpeditor-9999.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity: Editor for Regular Expressions"
+KEYWORDS=""
+IUSE=""
diff --git a/gentoo/trinity-base/kregexpeditor/metadata.xml b/gentoo/trinity-base/kregexpeditor/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kregexpeditor/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/krfb/Manifest b/gentoo/trinity-base/krfb/Manifest
new file mode 100644
index 000000000..1d49700dc
--- /dev/null
+++ b/gentoo/trinity-base/krfb/Manifest
@@ -0,0 +1 @@
+DIST kdenetwork-3.5.13.1.tar.gz 8794225 SHA256 21e69e8cb2550561c26913a5cccdc376115f50cffd43f9a94f7a660a303f46f9 SHA512 b3189a9f5e9cddd130b24a82b95ef90db1ec3c7afa280a46101ba7cbf6f9d92f60a536401f648a96459ba87f70ede5f7ae4affe894515a8e858b40ee79cb1b69 WHIRLPOOL de678ab30e3aa8dc3068c895fd000fdab1bc046e272273bf44196a198210efab82ddde3c5e0ffaa863061e9c56e3a8a68ca2f8f03cd77136755f66688f878c65
diff --git a/gentoo/trinity-base/krfb/files/krfb-3.5.13.1-702c180-added-openslp-support-to-cmake.patch b/gentoo/trinity-base/krfb/files/krfb-3.5.13.1-702c180-added-openslp-support-to-cmake.patch
new file mode 100644
index 000000000..138bd8506
--- /dev/null
+++ b/gentoo/trinity-base/krfb/files/krfb-3.5.13.1-702c180-added-openslp-support-to-cmake.patch
@@ -0,0 +1,40 @@
+diff --git a/krfb/srvloc/CMakeLists.txt b/krfb/srvloc/CMakeLists.txt
+index 095bcf5..a6b7721 100644
+--- a/krfb/srvloc/CMakeLists.txt
++++ b/krfb/srvloc/CMakeLists.txt
+@@ -24,4 +24,6 @@ tde_add_library( srvloc STATIC_PIC AUTOMOC
+ SOURCES
+ kserviceregistry.cpp uuid.cpp kinetinterface.cpp
+ kinetinterfacewatcher.cpp getifaddrs.cpp
++ LINK
++ ${LIB_SLP}
+ )
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index d712390..2601743 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -49,6 +49,7 @@ option( WITH_SPEEX "Enable speex support (for jingle)" OFF )
+ option( WITH_WEBCAM "Enable webcam support (kopete/msn)" OFF )
+ option( WITH_GSM "Enable GSM SMS support (kopete/sms)" OFF )
+ option( WITH_ARTS "Enable aRts support" OFF )
++option( WITH_SLP "Enable OpenSLP support (krdc, krfb)" OFF )
+
+
+ ##### kopete protocols ##########################
+diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
+index 896491f..fc04621 100644
+--- a/ConfigureChecks.cmake
++++ b/ConfigureChecks.cmake
+@@ -16,3 +16,12 @@ endif( )
+ # required stuff
+ find_package( TQt )
+ find_package( TDE )
++
++if( WITH_SLP )
++ check_library_exists( slp "SLPOpen" "" HAVE_SLP )
++ if( HAVE_SLP )
++ set(LIB_SLP slp )
++ else( )
++ tde_message_fatal( "openslp is required, but was not found on your system" )
++ endif( )
++endif( )
diff --git a/gentoo/trinity-base/krfb/krfb-3.5.13.1.ebuild b/gentoo/trinity-base/krfb/krfb-3.5.13.1.ebuild
new file mode 100644
index 000000000..936e24d69
--- /dev/null
+++ b/gentoo/trinity-base/krfb/krfb-3.5.13.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdenetwork"
+
+inherit trinity-meta
+
+DESCRIPTION="VNC-compatible server to share Trinity desktops"
+KEYWORDS="amd64 x86"
+IUSE="slp"
+
+DEPEND="
+ dev-libs/openssl:=
+ slp? ( net-libs/openslp )
+ x11-libs/libXext"
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/krfb-3.5.13.1-702c180-added-openslp-support-to-cmake.patch" )
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_with slp SLP)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/krfb/krfb-9999.ebuild b/gentoo/trinity-base/krfb/krfb-9999.ebuild
new file mode 100644
index 000000000..48a971bf5
--- /dev/null
+++ b/gentoo/trinity-base/krfb/krfb-9999.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdenetwork"
+
+inherit trinity-meta
+
+DESCRIPTION="VNC-compatible server to share Trinity desktops"
+KEYWORDS=
+IUSE="slp"
+
+DEPEND="
+ dev-libs/openssl:=
+ slp? ( net-libs/openslp )
+ x11-libs/libXext"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_with slp SLP)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/krfb/metadata.xml b/gentoo/trinity-base/krfb/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/krfb/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/krootbacking/Manifest b/gentoo/trinity-base/krootbacking/Manifest
new file mode 100644
index 000000000..381340c4b
--- /dev/null
+++ b/gentoo/trinity-base/krootbacking/Manifest
@@ -0,0 +1,2 @@
+DIST kdebase-3.5.13.1.tar.gz 29403228 SHA256 ddd4bd4b508ad027b9d1af2701c6ba64bfc9f8f1d32099e6dd5e7866714f759e SHA512 e1aac19c941a5f2b43a57928fdb43e5ebd646f49c60911d9d317550df96642870792c4e77ecd06e123244e2425ccd4bcb00f0a21011ba7e651d7fcf4553e79cf WHIRLPOOL 931debbf6a65c280221025dcbc02cbb3387b66eb72eddd28a510ee8f97075cd2cc96535dde25d0a32280c399e4a868e9c027772f5d28e7e79b7c1a9080c58034
+DIST kdebase-trinity-3.5.13.2.tar.xz 25890636 SHA256 b9d552226daff64437dfb9699669b95dd7ebc2ca7c43755ba71c10cc6c9ed789 SHA512 df545d44c7d4550d1d77ff6504572b622853c2b8d80062b1aee1a5bdca19f0e708cde35cff54cf2d5098f06a41bde0c89522a3958dea9bb18205dea87c11b797 WHIRLPOOL 79144273bc7985c59a593a3394b12a2053532d2c4c890ce96adad21f6de0413baf3c6270d6d06173ec4546b20d401aa0cc81603d01b8ee41dbdefc825b39b2b1
diff --git a/gentoo/trinity-base/krootbacking/files/shared b/gentoo/trinity-base/krootbacking/files/shared
new file mode 120000
index 000000000..ffc286806
--- /dev/null
+++ b/gentoo/trinity-base/krootbacking/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files \ No newline at end of file
diff --git a/gentoo/trinity-base/krootbacking/krootbacking-3.5.13.1.ebuild b/gentoo/trinity-base/krootbacking/krootbacking-3.5.13.1.ebuild
new file mode 100644
index 000000000..d4c6e4694
--- /dev/null
+++ b/gentoo/trinity-base/krootbacking/krootbacking-3.5.13.1.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="A program to grab the current TDE desktop backrounds for xscreensaver."
+KEYWORDS="x86 amd64"
+IUSE=""
diff --git a/gentoo/trinity-base/krootbacking/krootbacking-3.5.13.2.ebuild b/gentoo/trinity-base/krootbacking/krootbacking-3.5.13.2.ebuild
new file mode 100644
index 000000000..a94f0b192
--- /dev/null
+++ b/gentoo/trinity-base/krootbacking/krootbacking-3.5.13.2.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="A program to grab the current TDE desktop backrounds for xscreensaver."
+KEYWORDS="~amd64 ~x86"
+IUSE=""
diff --git a/gentoo/trinity-base/krootbacking/krootbacking-9999.ebuild b/gentoo/trinity-base/krootbacking/krootbacking-9999.ebuild
new file mode 100644
index 000000000..d0b1a5932
--- /dev/null
+++ b/gentoo/trinity-base/krootbacking/krootbacking-9999.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="A program to grab the current TDE desktop backrounds for xscreensaver."
+KEYWORDS=
+IUSE=""
diff --git a/gentoo/trinity-base/krootbacking/metadata.xml b/gentoo/trinity-base/krootbacking/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/krootbacking/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kruler/Manifest b/gentoo/trinity-base/kruler/Manifest
new file mode 100644
index 000000000..f0ba54e9a
--- /dev/null
+++ b/gentoo/trinity-base/kruler/Manifest
@@ -0,0 +1 @@
+DIST kdegraphics-3.5.13.1.tar.gz 7526074 SHA256 19bd36e261bb6c5d2c9c1eba5f736c642b48422d917d44e576835f7ebb44906b SHA512 693e5ad70dbb00c587e588acfb81fc9475c3a4dbc86f41d6053c0584c533349a7564e34b870cb7bbc57361ac539da6f7d7f1b002ac3cfe8b0201db3eeb9147dd WHIRLPOOL fd2c46c517b3a0293880eaf35967295485555b936d0f1e80e0f2c261a1164cfcc5c4b2d943a12c073914d33b59974cc2dd92a78414614caa10f46dd048d518b4
diff --git a/gentoo/trinity-base/kruler/kruler-3.5.13.1.ebuild b/gentoo/trinity-base/kruler/kruler-3.5.13.1.ebuild
new file mode 100644
index 000000000..b1951c894
--- /dev/null
+++ b/gentoo/trinity-base/kruler/kruler-3.5.13.1.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdegraphics"
+
+inherit trinity-meta
+
+DESCRIPTION="A screen ruler for Trinity"
+KEYWORDS="x86 amd64"
+IUSE=""
diff --git a/gentoo/trinity-base/kruler/kruler-9999.ebuild b/gentoo/trinity-base/kruler/kruler-9999.ebuild
new file mode 100644
index 000000000..63e115643
--- /dev/null
+++ b/gentoo/trinity-base/kruler/kruler-9999.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdegraphics"
+
+inherit trinity-meta
+
+DESCRIPTION="A screen ruler for Trinity"
+KEYWORDS=
+IUSE=""
diff --git a/gentoo/trinity-base/kruler/metadata.xml b/gentoo/trinity-base/kruler/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kruler/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kscreensaver/Manifest b/gentoo/trinity-base/kscreensaver/Manifest
new file mode 100644
index 000000000..381340c4b
--- /dev/null
+++ b/gentoo/trinity-base/kscreensaver/Manifest
@@ -0,0 +1,2 @@
+DIST kdebase-3.5.13.1.tar.gz 29403228 SHA256 ddd4bd4b508ad027b9d1af2701c6ba64bfc9f8f1d32099e6dd5e7866714f759e SHA512 e1aac19c941a5f2b43a57928fdb43e5ebd646f49c60911d9d317550df96642870792c4e77ecd06e123244e2425ccd4bcb00f0a21011ba7e651d7fcf4553e79cf WHIRLPOOL 931debbf6a65c280221025dcbc02cbb3387b66eb72eddd28a510ee8f97075cd2cc96535dde25d0a32280c399e4a868e9c027772f5d28e7e79b7c1a9080c58034
+DIST kdebase-trinity-3.5.13.2.tar.xz 25890636 SHA256 b9d552226daff64437dfb9699669b95dd7ebc2ca7c43755ba71c10cc6c9ed789 SHA512 df545d44c7d4550d1d77ff6504572b622853c2b8d80062b1aee1a5bdca19f0e708cde35cff54cf2d5098f06a41bde0c89522a3958dea9bb18205dea87c11b797 WHIRLPOOL 79144273bc7985c59a593a3394b12a2053532d2c4c890ce96adad21f6de0413baf3c6270d6d06173ec4546b20d401aa0cc81603d01b8ee41dbdefc825b39b2b1
diff --git a/gentoo/trinity-base/kscreensaver/files/shared b/gentoo/trinity-base/kscreensaver/files/shared
new file mode 120000
index 000000000..ffc286806
--- /dev/null
+++ b/gentoo/trinity-base/kscreensaver/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files \ No newline at end of file
diff --git a/gentoo/trinity-base/kscreensaver/kscreensaver-3.5.13.1.ebuild b/gentoo/trinity-base/kscreensaver/kscreensaver-3.5.13.1.ebuild
new file mode 100644
index 000000000..a73969a49
--- /dev/null
+++ b/gentoo/trinity-base/kscreensaver/kscreensaver-3.5.13.1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity screensaver framework"
+KEYWORDS="x86 amd64"
+IUSE="opengl +krootbacking"
+# CHECKME: if this use needed
+DEPEND="x11-libs/libXt
+ opengl? ( virtual/opengl )
+ krootbacking? ( >=trinity-base/krootbacking-${PV}:${TRINITY_VER} )"
+RDEPEND="${DEPEND}"
+
+src_configure () {
+ if use opengl; then
+ ewarn "OpenGL is not supported by trinity build system yet."
+ ewarn "This use flag is here just for future/past capability"
+ fi
+
+ mycmakeargs=(
+ $(cmake-utils_use_with opengl OPENGL )
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/kscreensaver/kscreensaver-3.5.13.2.ebuild b/gentoo/trinity-base/kscreensaver/kscreensaver-3.5.13.2.ebuild
new file mode 100644
index 000000000..65f9c9041
--- /dev/null
+++ b/gentoo/trinity-base/kscreensaver/kscreensaver-3.5.13.2.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity screensaver framework"
+KEYWORDS="~amd64 ~x86"
+IUSE="opengl +krootbacking"
+# CHECKME: if this use needed
+DEPEND="x11-libs/libXt
+ opengl? ( virtual/opengl )
+ krootbacking? ( >=trinity-base/krootbacking-${PV}:${TRINITY_VER} )"
+RDEPEND="${DEPEND}"
+
+src_configure () {
+ if use opengl; then
+ ewarn "OpenGL is not supported by trinity build system yet."
+ ewarn "This use flag is here just for future/past capability"
+ fi
+
+ mycmakeargs=(
+ $(cmake-utils_use_with opengl OPENGL )
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/kscreensaver/metadata.xml b/gentoo/trinity-base/kscreensaver/metadata.xml
new file mode 100644
index 000000000..ffa960a71
--- /dev/null
+++ b/gentoo/trinity-base/kscreensaver/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+ <use>
+ <flag name="krootbacking"> Add support the desktop grabbing by kde-base/krootbacking.</flag>
+ </use>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/ksig/ksig-9999.ebuild b/gentoo/trinity-base/ksig/ksig-9999.ebuild
new file mode 100644
index 000000000..e5dc8daa4
--- /dev/null
+++ b/gentoo/trinity-base/ksig/ksig-9999.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdeaddons"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity email signature manager"
+KEYWORDS=""
+IUSE+=""
diff --git a/gentoo/trinity-base/ksig/metadata.xml b/gentoo/trinity-base/ksig/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/ksig/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/ksim/Manifest b/gentoo/trinity-base/ksim/Manifest
new file mode 100644
index 000000000..c59ac62b4
--- /dev/null
+++ b/gentoo/trinity-base/ksim/Manifest
@@ -0,0 +1,2 @@
+DIST kdeutils-3.5.13.1.tar.gz 2829393 SHA256 3e7ab07fe1bb3e7be7ac3a3796366c88d3b79a58af911546e2c65e32363db527 SHA512 48733e472d0f5da85ef8a32ed6db7fa5e61f0682e49842439e6ea38a1e407059bb35efffe41fc6ed1a718511fd5b2b2c8222d816a23500a4dcbca17461f9a3bd WHIRLPOOL 1488e0c44f60b4d5e397dd2cf93de048eae1b915d4b2b7b1cf27768946f5aae3b5bcc3971ee28b5fa6a57a0b94cca6db0866138b69ad74f1f7bb97cdaaebdbe2
+DIST kdeutils-trinity-3.5.13.2.tar.xz 2259232 SHA256 b2999b9ef39bb2f269b84fdf34a814b5a5599aae7d05538d0bf680c18fb334fa SHA512 f501aa4b61bf440e873eec96f09c0c24ad780db2f9f14b884001c04c04aafccb5afb2b492dcf4fc640f3ec35d86aa419d67936122648a986662cd7b7f4f8a2d8 WHIRLPOOL 49296006875250212f0fdeb0c90c4f69cf0aa7cfd38415e2f7b50bdf81754de64562df2400f4932a502adbe84b58be34cae6c029d68cc62d0e91de5158513239
diff --git a/gentoo/trinity-base/ksim/files/fix_crash.patch b/gentoo/trinity-base/ksim/files/fix_crash.patch
new file mode 100644
index 000000000..1e6a810dd
--- /dev/null
+++ b/gentoo/trinity-base/ksim/files/fix_crash.patch
@@ -0,0 +1,44 @@
+diff --git a/ksim/library/pluginglobal.cpp b/ksim/library/pluginglobal.cpp
+index 34a38c3..5f523cc 100644
+--- a/ksim/library/pluginglobal.cpp
++++ b/ksim/library/pluginglobal.cpp
+@@ -155,7 +155,7 @@ bool KSim::Plugin::isNull() const
+ return !d;
+ }
+
+-const TQString &KSim::Plugin::name() const
++TQString KSim::Plugin::name() const
+ {
+ return d ? d->name : TQString();
+ }
+@@ -170,7 +170,7 @@ TQCString KSim::Plugin::libName() const
+ return d ? d->libName : TQCString();
+ }
+
+-const TQString &KSim::Plugin::fileName() const
++TQString KSim::Plugin::fileName() const
+ {
+ return d ? d->filename : TQString();
+ }
+diff --git a/ksim/library/pluginglobal.h b/ksim/library/pluginglobal.h
+index 5dbeef8..e094198 100644
+--- a/ksim/library/pluginglobal.h
++++ b/ksim/library/pluginglobal.h
+@@ -93,7 +93,7 @@ namespace KSim
+ * @return the name of the plugin, NOT the library name
+ * @see #libName
+ */
+- const TQString &name() const;
++ TQString name() const;
+ /**
+ * @return the icon of the plugin
+ */
+@@ -105,7 +105,7 @@ namespace KSim
+ /**
+ * @return path to the .desktop file
+ */
+- const TQString &fileName() const;
++ TQString fileName() const;
+ /**
+ * @return the plugin object
+ */
diff --git a/gentoo/trinity-base/ksim/files/shared b/gentoo/trinity-base/ksim/files/shared
new file mode 120000
index 000000000..af62be31d
--- /dev/null
+++ b/gentoo/trinity-base/ksim/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files/ \ No newline at end of file
diff --git a/gentoo/trinity-base/ksim/ksim-3.5.13.1.ebuild b/gentoo/trinity-base/ksim/ksim-3.5.13.1.ebuild
new file mode 100644
index 000000000..e93db2583
--- /dev/null
+++ b/gentoo/trinity-base/ksim/ksim-3.5.13.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity system monitoring applets."
+KEYWORDS="x86 amd64"
+IUSE="snmp lm_sensors dell-laptop"
+
+DEPEND="lm_sensors? ( x11-libs/libXext )
+ snmp? ( net-analyzer/net-snmp )"
+RDEPEND="${DEPEND}
+ lm_sensors? ( sys-apps/lm_sensors )"
+PATCHES=( "$FILESDIR/fix_crash.patch" )
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_with dell-laptop I8K)
+ $(cmake-utils_use_with snmp SNMP)
+ $(cmake-utils_use_with lm_sensors SENSORS)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/ksim/ksim-3.5.13.2.ebuild b/gentoo/trinity-base/ksim/ksim-3.5.13.2.ebuild
new file mode 100644
index 000000000..88f668741
--- /dev/null
+++ b/gentoo/trinity-base/ksim/ksim-3.5.13.2.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity system monitoring applets."
+KEYWORDS="~x86 ~amd64"
+IUSE="snmp lm_sensors dell-laptop"
+
+DEPEND="lm_sensors? ( x11-libs/libXext )
+ snmp? ( net-analyzer/net-snmp )"
+RDEPEND="${DEPEND}
+ lm_sensors? ( sys-apps/lm_sensors )"
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_with dell-laptop I8K)
+ $(cmake-utils_use_with snmp SNMP)
+ $(cmake-utils_use_with lm_sensors SENSORS)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/ksim/ksim-9999.ebuild b/gentoo/trinity-base/ksim/ksim-9999.ebuild
new file mode 100644
index 000000000..ade987e1b
--- /dev/null
+++ b/gentoo/trinity-base/ksim/ksim-9999.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity system monitoring applets."
+KEYWORDS=""
+IUSE="snmp lm_sensors dell-laptop"
+
+DEPEND="lm_sensors? ( x11-libs/libXext )
+ snmp? ( net-analyzer/net-snmp )"
+RDEPEND="${DEPEND}
+ lm_sensors? ( sys-apps/lm_sensors )"
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_with dell-laptop I8K)
+ $(cmake-utils_use_with snmp SNMP)
+ $(cmake-utils_use_with lm_sensors SENSORS)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/ksim/metadata.xml b/gentoo/trinity-base/ksim/metadata.xml
new file mode 100644
index 000000000..41bc6a0ef
--- /dev/null
+++ b/gentoo/trinity-base/ksim/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+ <use>
+ <flag name="dell-laptop">Adds support for some dell-specific laptop hardware.</flag>
+ </use>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/ksirc/Manifest b/gentoo/trinity-base/ksirc/Manifest
new file mode 100644
index 000000000..1d49700dc
--- /dev/null
+++ b/gentoo/trinity-base/ksirc/Manifest
@@ -0,0 +1 @@
+DIST kdenetwork-3.5.13.1.tar.gz 8794225 SHA256 21e69e8cb2550561c26913a5cccdc376115f50cffd43f9a94f7a660a303f46f9 SHA512 b3189a9f5e9cddd130b24a82b95ef90db1ec3c7afa280a46101ba7cbf6f9d92f60a536401f648a96459ba87f70ede5f7ae4affe894515a8e858b40ee79cb1b69 WHIRLPOOL de678ab30e3aa8dc3068c895fd000fdab1bc046e272273bf44196a198210efab82ddde3c5e0ffaa863061e9c56e3a8a68ca2f8f03cd77136755f66688f878c65
diff --git a/gentoo/trinity-base/ksirc/ksirc-3.5.13.1.ebuild b/gentoo/trinity-base/ksirc/ksirc-3.5.13.1.ebuild
new file mode 100644
index 000000000..689f48100
--- /dev/null
+++ b/gentoo/trinity-base/ksirc/ksirc-3.5.13.1.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdenetwork"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity irc client"
+KEYWORDS="amd64 x86"
+IUSE="ssl"
+
+RDEPEND="dev-lang/perl
+ ssl? ( dev-perl/IO-Socket-SSL )"
diff --git a/gentoo/trinity-base/ksirc/ksirc-9999.ebuild b/gentoo/trinity-base/ksirc/ksirc-9999.ebuild
new file mode 100644
index 000000000..d4d2a2580
--- /dev/null
+++ b/gentoo/trinity-base/ksirc/ksirc-9999.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdenetwork"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity irc client"
+KEYWORDS=
+IUSE="ssl"
+
+RDEPEND="dev-lang/perl
+ ssl? ( dev-perl/IO-Socket-SSL )"
diff --git a/gentoo/trinity-base/ksirc/metadata.xml b/gentoo/trinity-base/ksirc/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/ksirc/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/ksmserver/Manifest b/gentoo/trinity-base/ksmserver/Manifest
new file mode 100644
index 000000000..381340c4b
--- /dev/null
+++ b/gentoo/trinity-base/ksmserver/Manifest
@@ -0,0 +1,2 @@
+DIST kdebase-3.5.13.1.tar.gz 29403228 SHA256 ddd4bd4b508ad027b9d1af2701c6ba64bfc9f8f1d32099e6dd5e7866714f759e SHA512 e1aac19c941a5f2b43a57928fdb43e5ebd646f49c60911d9d317550df96642870792c4e77ecd06e123244e2425ccd4bcb00f0a21011ba7e651d7fcf4553e79cf WHIRLPOOL 931debbf6a65c280221025dcbc02cbb3387b66eb72eddd28a510ee8f97075cd2cc96535dde25d0a32280c399e4a868e9c027772f5d28e7e79b7c1a9080c58034
+DIST kdebase-trinity-3.5.13.2.tar.xz 25890636 SHA256 b9d552226daff64437dfb9699669b95dd7ebc2ca7c43755ba71c10cc6c9ed789 SHA512 df545d44c7d4550d1d77ff6504572b622853c2b8d80062b1aee1a5bdca19f0e708cde35cff54cf2d5098f06a41bde0c89522a3958dea9bb18205dea87c11b797 WHIRLPOOL 79144273bc7985c59a593a3394b12a2053532d2c4c890ce96adad21f6de0413baf3c6270d6d06173ec4546b20d401aa0cc81603d01b8ee41dbdefc825b39b2b1
diff --git a/gentoo/trinity-base/ksmserver/files/shared b/gentoo/trinity-base/ksmserver/files/shared
new file mode 120000
index 000000000..ffc286806
--- /dev/null
+++ b/gentoo/trinity-base/ksmserver/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files \ No newline at end of file
diff --git a/gentoo/trinity-base/ksmserver/ksmserver-3.5.13.1.ebuild b/gentoo/trinity-base/ksmserver/ksmserver-3.5.13.1.ebuild
new file mode 100644
index 000000000..6b68ebfda
--- /dev/null
+++ b/gentoo/trinity-base/ksmserver/ksmserver-3.5.13.1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="The reliable Trinity session manager that talks the standard X11R6"
+KEYWORDS="x86 amd64"
+IUSE="hal"
+
+DEPEND="
+ dev-libs/dbus-tqt
+ hal? ( sys-apps/hal )"
+RDEPEND="${RDEPEND}"
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_with hal HAL )
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/ksmserver/ksmserver-3.5.13.2.ebuild b/gentoo/trinity-base/ksmserver/ksmserver-3.5.13.2.ebuild
new file mode 100644
index 000000000..3f85b82c0
--- /dev/null
+++ b/gentoo/trinity-base/ksmserver/ksmserver-3.5.13.2.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="The reliable Trinity session manager that talks the standard X11R6"
+KEYWORDS="~amd64 ~x86"
+IUSE="hal"
+
+DEPEND="
+ dev-libs/dbus-tqt
+ hal? ( sys-apps/hal )"
+RDEPEND="${RDEPEND}"
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_with hal HAL )
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/ksmserver/ksmserver-9999.ebuild b/gentoo/trinity-base/ksmserver/ksmserver-9999.ebuild
new file mode 100644
index 000000000..521112ec1
--- /dev/null
+++ b/gentoo/trinity-base/ksmserver/ksmserver-9999.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="The reliable Trinity session manager that talks the standard X11R6"
+KEYWORDS=
+IUSE="hal upower"
+
+DEPEND="
+ dev-libs/dbus-tqt
+ upower? ( dev-libs/dbus-1-tqt )
+ hal? ( sys-apps/hal ) "
+
+RDEPEND="${RDEPEND}
+ upower? ( sys-power/upower ) "
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_with hal HAL )
+ $(cmake-utils_use_with upower UPOWER )
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/ksmserver/metadata.xml b/gentoo/trinity-base/ksmserver/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/ksmserver/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/ksnapshot/Manifest b/gentoo/trinity-base/ksnapshot/Manifest
new file mode 100644
index 000000000..f0ba54e9a
--- /dev/null
+++ b/gentoo/trinity-base/ksnapshot/Manifest
@@ -0,0 +1 @@
+DIST kdegraphics-3.5.13.1.tar.gz 7526074 SHA256 19bd36e261bb6c5d2c9c1eba5f736c642b48422d917d44e576835f7ebb44906b SHA512 693e5ad70dbb00c587e588acfb81fc9475c3a4dbc86f41d6053c0584c533349a7564e34b870cb7bbc57361ac539da6f7d7f1b002ac3cfe8b0201db3eeb9147dd WHIRLPOOL fd2c46c517b3a0293880eaf35967295485555b936d0f1e80e0f2c261a1164cfcc5c4b2d943a12c073914d33b59974cc2dd92a78414614caa10f46dd048d518b4
diff --git a/gentoo/trinity-base/ksnapshot/ksnapshot-3.5.13.1.ebuild b/gentoo/trinity-base/ksnapshot/ksnapshot-3.5.13.1.ebuild
new file mode 100644
index 000000000..2768cd7ee
--- /dev/null
+++ b/gentoo/trinity-base/ksnapshot/ksnapshot-3.5.13.1.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdegraphics"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity Screenshot Utility"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="x11-libs/libXext"
+RDEPEND="$DEPEND"
diff --git a/gentoo/trinity-base/ksnapshot/ksnapshot-9999.ebuild b/gentoo/trinity-base/ksnapshot/ksnapshot-9999.ebuild
new file mode 100644
index 000000000..ac828fa3a
--- /dev/null
+++ b/gentoo/trinity-base/ksnapshot/ksnapshot-9999.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdegraphics"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity Screenshot Utility"
+KEYWORDS=
+IUSE=""
+
+DEPEND="x11-libs/libXext"
+RDEPEND="$DEPEND"
diff --git a/gentoo/trinity-base/ksnapshot/metadata.xml b/gentoo/trinity-base/ksnapshot/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/ksnapshot/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/ksplashml/Manifest b/gentoo/trinity-base/ksplashml/Manifest
new file mode 100644
index 000000000..381340c4b
--- /dev/null
+++ b/gentoo/trinity-base/ksplashml/Manifest
@@ -0,0 +1,2 @@
+DIST kdebase-3.5.13.1.tar.gz 29403228 SHA256 ddd4bd4b508ad027b9d1af2701c6ba64bfc9f8f1d32099e6dd5e7866714f759e SHA512 e1aac19c941a5f2b43a57928fdb43e5ebd646f49c60911d9d317550df96642870792c4e77ecd06e123244e2425ccd4bcb00f0a21011ba7e651d7fcf4553e79cf WHIRLPOOL 931debbf6a65c280221025dcbc02cbb3387b66eb72eddd28a510ee8f97075cd2cc96535dde25d0a32280c399e4a868e9c027772f5d28e7e79b7c1a9080c58034
+DIST kdebase-trinity-3.5.13.2.tar.xz 25890636 SHA256 b9d552226daff64437dfb9699669b95dd7ebc2ca7c43755ba71c10cc6c9ed789 SHA512 df545d44c7d4550d1d77ff6504572b622853c2b8d80062b1aee1a5bdca19f0e708cde35cff54cf2d5098f06a41bde0c89522a3958dea9bb18205dea87c11b797 WHIRLPOOL 79144273bc7985c59a593a3394b12a2053532d2c4c890ce96adad21f6de0413baf3c6270d6d06173ec4546b20d401aa0cc81603d01b8ee41dbdefc825b39b2b1
diff --git a/gentoo/trinity-base/ksplashml/files/shared b/gentoo/trinity-base/ksplashml/files/shared
new file mode 120000
index 000000000..ffc286806
--- /dev/null
+++ b/gentoo/trinity-base/ksplashml/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files \ No newline at end of file
diff --git a/gentoo/trinity-base/ksplashml/ksplashml-3.5.13.1.ebuild b/gentoo/trinity-base/ksplashml/ksplashml-3.5.13.1.ebuild
new file mode 100644
index 000000000..4b7f961bf
--- /dev/null
+++ b/gentoo/trinity-base/ksplashml/ksplashml-3.5.13.1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity splashscreen framework (of Trinity itself, not of individual apps)"
+KEYWORDS="x86 amd64"
+IUSE="xinerama"
+
+DEPEND="x11-libs/libXcursor
+ xinerama? ( x11-proto/xineramaproto )"
+RDEPEND="$DEPEND"
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_with xinerama XINERAMA)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/ksplashml/ksplashml-3.5.13.2.ebuild b/gentoo/trinity-base/ksplashml/ksplashml-3.5.13.2.ebuild
new file mode 100644
index 000000000..edabaa78e
--- /dev/null
+++ b/gentoo/trinity-base/ksplashml/ksplashml-3.5.13.2.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity splashscreen framework (of Trinity itself, not of individual apps)"
+KEYWORDS="~amd64 ~x86"
+IUSE="xinerama"
+
+DEPEND="x11-libs/libXcursor
+ xinerama? ( x11-proto/xineramaproto )"
+RDEPEND="$DEPEND"
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_with xinerama XINERAMA)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/ksplashml/ksplashml-9999.ebuild b/gentoo/trinity-base/ksplashml/ksplashml-9999.ebuild
new file mode 100644
index 000000000..d67ec25c3
--- /dev/null
+++ b/gentoo/trinity-base/ksplashml/ksplashml-9999.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity splashscreen framework (of Trinity itself, not of individual apps)"
+KEYWORDS=
+IUSE="xinerama"
+
+DEPEND="x11-libs/libXcursor
+ xinerama? ( x11-proto/xineramaproto )"
+RDEPEND="$DEPEND"
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_with xinerama XINERAMA)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/ksplashml/metadata.xml b/gentoo/trinity-base/ksplashml/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/ksplashml/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kstart/Manifest b/gentoo/trinity-base/kstart/Manifest
new file mode 100644
index 000000000..381340c4b
--- /dev/null
+++ b/gentoo/trinity-base/kstart/Manifest
@@ -0,0 +1,2 @@
+DIST kdebase-3.5.13.1.tar.gz 29403228 SHA256 ddd4bd4b508ad027b9d1af2701c6ba64bfc9f8f1d32099e6dd5e7866714f759e SHA512 e1aac19c941a5f2b43a57928fdb43e5ebd646f49c60911d9d317550df96642870792c4e77ecd06e123244e2425ccd4bcb00f0a21011ba7e651d7fcf4553e79cf WHIRLPOOL 931debbf6a65c280221025dcbc02cbb3387b66eb72eddd28a510ee8f97075cd2cc96535dde25d0a32280c399e4a868e9c027772f5d28e7e79b7c1a9080c58034
+DIST kdebase-trinity-3.5.13.2.tar.xz 25890636 SHA256 b9d552226daff64437dfb9699669b95dd7ebc2ca7c43755ba71c10cc6c9ed789 SHA512 df545d44c7d4550d1d77ff6504572b622853c2b8d80062b1aee1a5bdca19f0e708cde35cff54cf2d5098f06a41bde0c89522a3958dea9bb18205dea87c11b797 WHIRLPOOL 79144273bc7985c59a593a3394b12a2053532d2c4c890ce96adad21f6de0413baf3c6270d6d06173ec4546b20d401aa0cc81603d01b8ee41dbdefc825b39b2b1
diff --git a/gentoo/trinity-base/kstart/files/shared b/gentoo/trinity-base/kstart/files/shared
new file mode 120000
index 000000000..ffc286806
--- /dev/null
+++ b/gentoo/trinity-base/kstart/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files \ No newline at end of file
diff --git a/gentoo/trinity-base/kstart/kstart-3.5.13.1.ebuild b/gentoo/trinity-base/kstart/kstart-3.5.13.1.ebuild
new file mode 100644
index 000000000..5ad3dfa4c
--- /dev/null
+++ b/gentoo/trinity-base/kstart/kstart-3.5.13.1.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity utility to launch applications with special window properties"
+KEYWORDS="x86 amd64"
+IUSE=""
diff --git a/gentoo/trinity-base/kstart/kstart-3.5.13.2.ebuild b/gentoo/trinity-base/kstart/kstart-3.5.13.2.ebuild
new file mode 100644
index 000000000..a11cf44b8
--- /dev/null
+++ b/gentoo/trinity-base/kstart/kstart-3.5.13.2.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity utility to launch applications with special window properties"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
diff --git a/gentoo/trinity-base/kstart/kstart-9999.ebuild b/gentoo/trinity-base/kstart/kstart-9999.ebuild
new file mode 100644
index 000000000..bf45fc45e
--- /dev/null
+++ b/gentoo/trinity-base/kstart/kstart-9999.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity utility to launch applications with special window properties"
+KEYWORDS=
+IUSE=""
diff --git a/gentoo/trinity-base/kstart/metadata.xml b/gentoo/trinity-base/kstart/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kstart/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/ksvg/Manifest b/gentoo/trinity-base/ksvg/Manifest
new file mode 100644
index 000000000..f0ba54e9a
--- /dev/null
+++ b/gentoo/trinity-base/ksvg/Manifest
@@ -0,0 +1 @@
+DIST kdegraphics-3.5.13.1.tar.gz 7526074 SHA256 19bd36e261bb6c5d2c9c1eba5f736c642b48422d917d44e576835f7ebb44906b SHA512 693e5ad70dbb00c587e588acfb81fc9475c3a4dbc86f41d6053c0584c533349a7564e34b870cb7bbc57361ac539da6f7d7f1b002ac3cfe8b0201db3eeb9147dd WHIRLPOOL fd2c46c517b3a0293880eaf35967295485555b936d0f1e80e0f2c261a1164cfcc5c4b2d943a12c073914d33b59974cc2dd92a78414614caa10f46dd048d518b4
diff --git a/gentoo/trinity-base/ksvg/files/ksvg-3.5.13.1-bug1311.patch b/gentoo/trinity-base/ksvg/files/ksvg-3.5.13.1-bug1311.patch
new file mode 100644
index 000000000..cdec96621
--- /dev/null
+++ b/gentoo/trinity-base/ksvg/files/ksvg-3.5.13.1-bug1311.patch
@@ -0,0 +1,14 @@
+diff --git a/ksvg/ConfigureChecks.cmake b/ksvg/ConfigureChecks.cmake
+index 76177f5..2082482 100644
+--- a/ksvg/ConfigureChecks.cmake
++++ b/ksvg/ConfigureChecks.cmake
+@@ -41,7 +41,9 @@ endif( )
+ # fribidi
+ pkg_search_module( FRIBIDI fribidi )
+ if( FRIBIDI_FOUND )
++ set( CMAKE_REQUIRED_INCLUDES ${FRIBIDI_INCLUDE_DIRS} )
+ check_include_file( fribidi/fribidi-types.h FRIBIDI_NEW_FILENAME )
++ set( CMAKE_REQUIRED_INCLUDES )
+ else( )
+ tde_message_fatal( "fribidi is required, but was not found on your system" )
+ endif( )
diff --git a/gentoo/trinity-base/ksvg/ksvg-3.5.13.1.ebuild b/gentoo/trinity-base/ksvg/ksvg-3.5.13.1.ebuild
new file mode 100644
index 000000000..5baf7429b
--- /dev/null
+++ b/gentoo/trinity-base/ksvg/ksvg-3.5.13.1.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdegraphics"
+
+inherit trinity-meta
+
+DESCRIPTION="SVG viewer library and embeddable kpart"
+KEYWORDS="x86 amd64"
+IUSE=""
+
+DEPEND=">=media-libs/freetype-2.2
+ media-libs/fontconfig
+ media-libs/libart_lgpl
+ media-libs/lcms:0
+ dev-libs/fribidi"
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/${P}-bug1311.patch" )
diff --git a/gentoo/trinity-base/ksvg/ksvg-9999.ebuild b/gentoo/trinity-base/ksvg/ksvg-9999.ebuild
new file mode 100644
index 000000000..78ab38013
--- /dev/null
+++ b/gentoo/trinity-base/ksvg/ksvg-9999.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdegraphics"
+
+inherit trinity-meta
+
+DESCRIPTION="SVG viewer library and embeddable kpart"
+KEYWORDS=
+IUSE=""
+
+DEPEND=">=media-libs/freetype-2.2
+ media-libs/fontconfig
+ media-libs/libart_lgpl
+ media-libs/lcms:0
+ dev-libs/fribidi"
+RDEPEND="${DEPEND}"
diff --git a/gentoo/trinity-base/ksvg/metadata.xml b/gentoo/trinity-base/ksvg/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/ksvg/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/ksysguard/Manifest b/gentoo/trinity-base/ksysguard/Manifest
new file mode 100644
index 000000000..381340c4b
--- /dev/null
+++ b/gentoo/trinity-base/ksysguard/Manifest
@@ -0,0 +1,2 @@
+DIST kdebase-3.5.13.1.tar.gz 29403228 SHA256 ddd4bd4b508ad027b9d1af2701c6ba64bfc9f8f1d32099e6dd5e7866714f759e SHA512 e1aac19c941a5f2b43a57928fdb43e5ebd646f49c60911d9d317550df96642870792c4e77ecd06e123244e2425ccd4bcb00f0a21011ba7e651d7fcf4553e79cf WHIRLPOOL 931debbf6a65c280221025dcbc02cbb3387b66eb72eddd28a510ee8f97075cd2cc96535dde25d0a32280c399e4a868e9c027772f5d28e7e79b7c1a9080c58034
+DIST kdebase-trinity-3.5.13.2.tar.xz 25890636 SHA256 b9d552226daff64437dfb9699669b95dd7ebc2ca7c43755ba71c10cc6c9ed789 SHA512 df545d44c7d4550d1d77ff6504572b622853c2b8d80062b1aee1a5bdca19f0e708cde35cff54cf2d5098f06a41bde0c89522a3958dea9bb18205dea87c11b797 WHIRLPOOL 79144273bc7985c59a593a3394b12a2053532d2c4c890ce96adad21f6de0413baf3c6270d6d06173ec4546b20d401aa0cc81603d01b8ee41dbdefc825b39b2b1
diff --git a/gentoo/trinity-base/ksysguard/files/shared b/gentoo/trinity-base/ksysguard/files/shared
new file mode 120000
index 000000000..ffc286806
--- /dev/null
+++ b/gentoo/trinity-base/ksysguard/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files \ No newline at end of file
diff --git a/gentoo/trinity-base/ksysguard/ksysguard-3.5.13.1.ebuild b/gentoo/trinity-base/ksysguard/ksysguard-3.5.13.1.ebuild
new file mode 100644
index 000000000..93617ac26
--- /dev/null
+++ b/gentoo/trinity-base/ksysguard/ksysguard-3.5.13.1.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="A network enabled task manager/system monitor"
+KEYWORDS="x86 amd64"
+IUSE=" dell-laptop"
+# TODO: make support for sensors when it will be supported by cmake scripts
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_with dell-laptop I8K)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/ksysguard/ksysguard-3.5.13.2.ebuild b/gentoo/trinity-base/ksysguard/ksysguard-3.5.13.2.ebuild
new file mode 100644
index 000000000..8d4c8ef7c
--- /dev/null
+++ b/gentoo/trinity-base/ksysguard/ksysguard-3.5.13.2.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="A network enabled task manager/system monitor"
+KEYWORDS="~amd64 ~x86"
+IUSE=" dell-laptop"
+# TODO: make support for sensors when it will be supported by cmake scripts
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_with dell-laptop I8K)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/ksysguard/ksysguard-9999.ebuild b/gentoo/trinity-base/ksysguard/ksysguard-9999.ebuild
new file mode 100644
index 000000000..a6deac40b
--- /dev/null
+++ b/gentoo/trinity-base/ksysguard/ksysguard-9999.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="A network enabled task manager/system monitor"
+KEYWORDS=
+IUSE=" dell-laptop"
+# TODO: make support for sensors when it will be supported by cmake scripts
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_with dell-laptop I8K)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/ksysguard/metadata.xml b/gentoo/trinity-base/ksysguard/metadata.xml
new file mode 100644
index 000000000..41bc6a0ef
--- /dev/null
+++ b/gentoo/trinity-base/ksysguard/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+ <use>
+ <flag name="dell-laptop">Adds support for some dell-specific laptop hardware.</flag>
+ </use>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/ksystraycmd/Manifest b/gentoo/trinity-base/ksystraycmd/Manifest
new file mode 100644
index 000000000..381340c4b
--- /dev/null
+++ b/gentoo/trinity-base/ksystraycmd/Manifest
@@ -0,0 +1,2 @@
+DIST kdebase-3.5.13.1.tar.gz 29403228 SHA256 ddd4bd4b508ad027b9d1af2701c6ba64bfc9f8f1d32099e6dd5e7866714f759e SHA512 e1aac19c941a5f2b43a57928fdb43e5ebd646f49c60911d9d317550df96642870792c4e77ecd06e123244e2425ccd4bcb00f0a21011ba7e651d7fcf4553e79cf WHIRLPOOL 931debbf6a65c280221025dcbc02cbb3387b66eb72eddd28a510ee8f97075cd2cc96535dde25d0a32280c399e4a868e9c027772f5d28e7e79b7c1a9080c58034
+DIST kdebase-trinity-3.5.13.2.tar.xz 25890636 SHA256 b9d552226daff64437dfb9699669b95dd7ebc2ca7c43755ba71c10cc6c9ed789 SHA512 df545d44c7d4550d1d77ff6504572b622853c2b8d80062b1aee1a5bdca19f0e708cde35cff54cf2d5098f06a41bde0c89522a3958dea9bb18205dea87c11b797 WHIRLPOOL 79144273bc7985c59a593a3394b12a2053532d2c4c890ce96adad21f6de0413baf3c6270d6d06173ec4546b20d401aa0cc81603d01b8ee41dbdefc825b39b2b1
diff --git a/gentoo/trinity-base/ksystraycmd/files/shared b/gentoo/trinity-base/ksystraycmd/files/shared
new file mode 120000
index 000000000..ffc286806
--- /dev/null
+++ b/gentoo/trinity-base/ksystraycmd/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files \ No newline at end of file
diff --git a/gentoo/trinity-base/ksystraycmd/ksystraycmd-3.5.13.1.ebuild b/gentoo/trinity-base/ksystraycmd/ksystraycmd-3.5.13.1.ebuild
new file mode 100644
index 000000000..d00736f42
--- /dev/null
+++ b/gentoo/trinity-base/ksystraycmd/ksystraycmd-3.5.13.1.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="ksystraycmd embeds applications given as argument into the system tray."
+KEYWORDS="x86 amd64"
+IUSE=""
diff --git a/gentoo/trinity-base/ksystraycmd/ksystraycmd-3.5.13.2.ebuild b/gentoo/trinity-base/ksystraycmd/ksystraycmd-3.5.13.2.ebuild
new file mode 100644
index 000000000..1e6c09776
--- /dev/null
+++ b/gentoo/trinity-base/ksystraycmd/ksystraycmd-3.5.13.2.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="ksystraycmd embeds applications given as argument into the system tray."
+KEYWORDS="~amd64 ~x86"
+IUSE=""
diff --git a/gentoo/trinity-base/ksystraycmd/ksystraycmd-9999.ebuild b/gentoo/trinity-base/ksystraycmd/ksystraycmd-9999.ebuild
new file mode 100644
index 000000000..2e77b123f
--- /dev/null
+++ b/gentoo/trinity-base/ksystraycmd/ksystraycmd-9999.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="ksystraycmd embeds applications given as argument into the system tray."
+KEYWORDS=
+IUSE=""
diff --git a/gentoo/trinity-base/ksystraycmd/metadata.xml b/gentoo/trinity-base/ksystraycmd/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/ksystraycmd/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/ktalkd/Manifest b/gentoo/trinity-base/ktalkd/Manifest
new file mode 100644
index 000000000..1d49700dc
--- /dev/null
+++ b/gentoo/trinity-base/ktalkd/Manifest
@@ -0,0 +1 @@
+DIST kdenetwork-3.5.13.1.tar.gz 8794225 SHA256 21e69e8cb2550561c26913a5cccdc376115f50cffd43f9a94f7a660a303f46f9 SHA512 b3189a9f5e9cddd130b24a82b95ef90db1ec3c7afa280a46101ba7cbf6f9d92f60a536401f648a96459ba87f70ede5f7ae4affe894515a8e858b40ee79cb1b69 WHIRLPOOL de678ab30e3aa8dc3068c895fd000fdab1bc046e272273bf44196a198210efab82ddde3c5e0ffaa863061e9c56e3a8a68ca2f8f03cd77136755f66688f878c65
diff --git a/gentoo/trinity-base/ktalkd/ktalkd-3.5.13.1.ebuild b/gentoo/trinity-base/ktalkd/ktalkd-3.5.13.1.ebuild
new file mode 100644
index 000000000..10df0dc77
--- /dev/null
+++ b/gentoo/trinity-base/ktalkd/ktalkd-3.5.13.1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdenetwork"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity talk daemon"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND="|| ( net-misc/netkit-talk net-misc/ytalk sys-freebsd/freebsd-ubin )"
+
+pkg_postinst() {
+ trinity-meta_pkg_postinst
+
+ if has_version net-misc/ytalk ; then
+ elog "To use net-misc/ytalk as your local network chat program, please"
+ elog "configure your system accordingly, either via the KDE control center"
+ elog "or by calling \"kcmshell kcmktalkd\" on the command line."
+ fi
+}
diff --git a/gentoo/trinity-base/ktalkd/ktalkd-9999.ebuild b/gentoo/trinity-base/ktalkd/ktalkd-9999.ebuild
new file mode 100644
index 000000000..a48876ac9
--- /dev/null
+++ b/gentoo/trinity-base/ktalkd/ktalkd-9999.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdenetwork"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity talk daemon"
+KEYWORDS=
+IUSE=""
+
+RDEPEND="|| ( net-misc/netkit-talk net-misc/ytalk sys-freebsd/freebsd-ubin )"
+
+pkg_postinst() {
+ trinity-meta_pkg_postinst
+
+ if has_version net-misc/ytalk ; then
+ elog "To use net-misc/ytalk as your local network chat program, please"
+ elog "configure your system accordingly, either via the KDE control center"
+ elog "or by calling \"kcmshell kcmktalkd\" on the command line."
+ fi
+}
diff --git a/gentoo/trinity-base/ktalkd/metadata.xml b/gentoo/trinity-base/ktalkd/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/ktalkd/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kteatime/Manifest b/gentoo/trinity-base/kteatime/Manifest
new file mode 100644
index 000000000..23ad50106
--- /dev/null
+++ b/gentoo/trinity-base/kteatime/Manifest
@@ -0,0 +1,2 @@
+DIST kdetoys-3.5.13.1.tar.gz 3037255 SHA256 41e4224bcf816e52877b17d2dcdc86d94e8f304fee2d3fb35b97921544eafd9d SHA512 e7cd7943004e5d1ec83c0fe484fab82f2cdd5f5d39ee77db419938f023cd3c42ba0b257d0ddc783de7bd528c90195821d810babfa193c60856437593c24ce879 WHIRLPOOL 8d482537f972a24b1cef9ad789edd314517f4e3a6b37056f47d92292c8c30e70def24e99efc552b4504503e2224e1209ae946ff34ac94feaf128c038c54f010d
+DIST kdetoys-trinity-3.5.13.2.tar.xz 2757260 SHA256 a0533ceb6fb103600eb33ef3136d40f84ec826e24e0b95cc45e68ef73a5232f6 SHA512 eb67a70d75a473f885db8993f5eebd3480e68e43e4de60240fde411696ed8b895029505a5125fe51a41d6ccb583ba50c4c67465d770f14f9a1c1533281154f78 WHIRLPOOL d79f58085d2af17453fc50c621ea6fe6909d476cf5f0a6b6ccf51ef69eed0ba073091f587439eb5afd644e0286dfe2ee86ccd903346d3060c3fe90299511018a
diff --git a/gentoo/trinity-base/kteatime/files/shared b/gentoo/trinity-base/kteatime/files/shared
new file mode 120000
index 000000000..af62be31d
--- /dev/null
+++ b/gentoo/trinity-base/kteatime/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files/ \ No newline at end of file
diff --git a/gentoo/trinity-base/kteatime/kteatime-3.5.13.1.ebuild b/gentoo/trinity-base/kteatime/kteatime-3.5.13.1.ebuild
new file mode 100644
index 000000000..5156131af
--- /dev/null
+++ b/gentoo/trinity-base/kteatime/kteatime-3.5.13.1.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdetoys"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity utility for making a fine cup of tea"
+KEYWORDS="amd64 x86"
+IUSE=""
diff --git a/gentoo/trinity-base/kteatime/kteatime-3.5.13.2.ebuild b/gentoo/trinity-base/kteatime/kteatime-3.5.13.2.ebuild
new file mode 100644
index 000000000..08e1caa42
--- /dev/null
+++ b/gentoo/trinity-base/kteatime/kteatime-3.5.13.2.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdetoys"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity utility for making a fine cup of tea"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
diff --git a/gentoo/trinity-base/kteatime/kteatime-9999.ebuild b/gentoo/trinity-base/kteatime/kteatime-9999.ebuild
new file mode 100644
index 000000000..7aa0273c3
--- /dev/null
+++ b/gentoo/trinity-base/kteatime/kteatime-9999.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdetoys"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity utility for making a fine cup of tea"
+KEYWORDS=
+IUSE=""
diff --git a/gentoo/trinity-base/kteatime/metadata.xml b/gentoo/trinity-base/kteatime/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kteatime/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/ktimer/Manifest b/gentoo/trinity-base/ktimer/Manifest
new file mode 100644
index 000000000..c59ac62b4
--- /dev/null
+++ b/gentoo/trinity-base/ktimer/Manifest
@@ -0,0 +1,2 @@
+DIST kdeutils-3.5.13.1.tar.gz 2829393 SHA256 3e7ab07fe1bb3e7be7ac3a3796366c88d3b79a58af911546e2c65e32363db527 SHA512 48733e472d0f5da85ef8a32ed6db7fa5e61f0682e49842439e6ea38a1e407059bb35efffe41fc6ed1a718511fd5b2b2c8222d816a23500a4dcbca17461f9a3bd WHIRLPOOL 1488e0c44f60b4d5e397dd2cf93de048eae1b915d4b2b7b1cf27768946f5aae3b5bcc3971ee28b5fa6a57a0b94cca6db0866138b69ad74f1f7bb97cdaaebdbe2
+DIST kdeutils-trinity-3.5.13.2.tar.xz 2259232 SHA256 b2999b9ef39bb2f269b84fdf34a814b5a5599aae7d05538d0bf680c18fb334fa SHA512 f501aa4b61bf440e873eec96f09c0c24ad780db2f9f14b884001c04c04aafccb5afb2b492dcf4fc640f3ec35d86aa419d67936122648a986662cd7b7f4f8a2d8 WHIRLPOOL 49296006875250212f0fdeb0c90c4f69cf0aa7cfd38415e2f7b50bdf81754de64562df2400f4932a502adbe84b58be34cae6c029d68cc62d0e91de5158513239
diff --git a/gentoo/trinity-base/ktimer/files/shared b/gentoo/trinity-base/ktimer/files/shared
new file mode 120000
index 000000000..af62be31d
--- /dev/null
+++ b/gentoo/trinity-base/ktimer/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files/ \ No newline at end of file
diff --git a/gentoo/trinity-base/ktimer/ktimer-3.5.13.1.ebuild b/gentoo/trinity-base/ktimer/ktimer-3.5.13.1.ebuild
new file mode 100644
index 000000000..fc035d084
--- /dev/null
+++ b/gentoo/trinity-base/ktimer/ktimer-3.5.13.1.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity Timer"
+KEYWORDS="x86 amd64"
+IUSE=""
diff --git a/gentoo/trinity-base/ktimer/ktimer-3.5.13.2.ebuild b/gentoo/trinity-base/ktimer/ktimer-3.5.13.2.ebuild
new file mode 100644
index 000000000..9ce107b57
--- /dev/null
+++ b/gentoo/trinity-base/ktimer/ktimer-3.5.13.2.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity Timer"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
diff --git a/gentoo/trinity-base/ktimer/ktimer-9999.ebuild b/gentoo/trinity-base/ktimer/ktimer-9999.ebuild
new file mode 100644
index 000000000..a0d68fca4
--- /dev/null
+++ b/gentoo/trinity-base/ktimer/ktimer-9999.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity Timer"
+KEYWORDS=""
+IUSE=""
diff --git a/gentoo/trinity-base/ktimer/metadata.xml b/gentoo/trinity-base/ktimer/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/ktimer/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/ktip/Manifest b/gentoo/trinity-base/ktip/Manifest
new file mode 100644
index 000000000..381340c4b
--- /dev/null
+++ b/gentoo/trinity-base/ktip/Manifest
@@ -0,0 +1,2 @@
+DIST kdebase-3.5.13.1.tar.gz 29403228 SHA256 ddd4bd4b508ad027b9d1af2701c6ba64bfc9f8f1d32099e6dd5e7866714f759e SHA512 e1aac19c941a5f2b43a57928fdb43e5ebd646f49c60911d9d317550df96642870792c4e77ecd06e123244e2425ccd4bcb00f0a21011ba7e651d7fcf4553e79cf WHIRLPOOL 931debbf6a65c280221025dcbc02cbb3387b66eb72eddd28a510ee8f97075cd2cc96535dde25d0a32280c399e4a868e9c027772f5d28e7e79b7c1a9080c58034
+DIST kdebase-trinity-3.5.13.2.tar.xz 25890636 SHA256 b9d552226daff64437dfb9699669b95dd7ebc2ca7c43755ba71c10cc6c9ed789 SHA512 df545d44c7d4550d1d77ff6504572b622853c2b8d80062b1aee1a5bdca19f0e708cde35cff54cf2d5098f06a41bde0c89522a3958dea9bb18205dea87c11b797 WHIRLPOOL 79144273bc7985c59a593a3394b12a2053532d2c4c890ce96adad21f6de0413baf3c6270d6d06173ec4546b20d401aa0cc81603d01b8ee41dbdefc825b39b2b1
diff --git a/gentoo/trinity-base/ktip/files/shared b/gentoo/trinity-base/ktip/files/shared
new file mode 120000
index 000000000..ffc286806
--- /dev/null
+++ b/gentoo/trinity-base/ktip/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files \ No newline at end of file
diff --git a/gentoo/trinity-base/ktip/ktip-3.5.13.1.ebuild b/gentoo/trinity-base/ktip/ktip-3.5.13.1.ebuild
new file mode 100644
index 000000000..43c9c67a5
--- /dev/null
+++ b/gentoo/trinity-base/ktip/ktip-3.5.13.1.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity tip-of-the-day displayer"
+KEYWORDS="x86 amd64"
+IUSE=""
diff --git a/gentoo/trinity-base/ktip/ktip-3.5.13.2.ebuild b/gentoo/trinity-base/ktip/ktip-3.5.13.2.ebuild
new file mode 100644
index 000000000..16b4921ce
--- /dev/null
+++ b/gentoo/trinity-base/ktip/ktip-3.5.13.2.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity tip-of-the-day displayer"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
diff --git a/gentoo/trinity-base/ktip/ktip-9999.ebuild b/gentoo/trinity-base/ktip/ktip-9999.ebuild
new file mode 100644
index 000000000..65eccee51
--- /dev/null
+++ b/gentoo/trinity-base/ktip/ktip-9999.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity tip-of-the-day displayer"
+KEYWORDS=
+IUSE=""
diff --git a/gentoo/trinity-base/ktip/metadata.xml b/gentoo/trinity-base/ktip/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/ktip/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/ktnef/Manifest b/gentoo/trinity-base/ktnef/Manifest
new file mode 100644
index 000000000..4a730c44c
--- /dev/null
+++ b/gentoo/trinity-base/ktnef/Manifest
@@ -0,0 +1,2 @@
+DIST kdepim-3.5.13.1.tar.gz 12954293 SHA256 29755dd66b6da83cb1105fd22954869b911c836f806c19d6a56cdfd6ee79287f SHA512 52f0133f0d296488786f26fe118eefb2018542a36de82d2fd253b7af4e1496ffbee1470869510259202b0a1b5cc6fb1b1b7b8a3ec0b27197fa60927281d1cb9e WHIRLPOOL b34852363e6a6ecdeaacbd9b0775ed0c8c5f692181dc1eee14543c0761a92af43bd96139a7588585ac9715721f62f2aaee603af11240a9a5a93d662262168887
+DIST kdepim-trinity-3.5.13.2.tar.xz 10148724 SHA256 2cbd61e28322e4c7d67ffb16ac59329b3f15ba1a4485095994b9bce6786df7c4 SHA512 a84319183813dc78dc97397c8c3871faa3961b458eda8107525b8b9c6789d13aedd8e3c7cb0706c4ca8dd63f69ff67de02716219c8af44ebf96d484d820eb2bf WHIRLPOOL 907d9d86f1b0094b915989ca7f0feb4f67ac1b238a4c6d176ab1ef9164eff78778b2714ebedeb40de28536a8384b39ec7e637f1bb6911cccb40f7d8663811edb
diff --git a/gentoo/trinity-base/ktnef/ktnef-3.5.13.1.ebuild b/gentoo/trinity-base/ktnef/ktnef-3.5.13.1.ebuild
new file mode 100644
index 000000000..367fdf568
--- /dev/null
+++ b/gentoo/trinity-base/ktnef/ktnef-3.5.13.1.ebuild
@@ -0,0 +1,13 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdepim"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity Viewer for mail attachments using TNEF format"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+TSM_EXTRACT_ALSO="libkdepim/"
diff --git a/gentoo/trinity-base/ktnef/ktnef-3.5.13.2.ebuild b/gentoo/trinity-base/ktnef/ktnef-3.5.13.2.ebuild
new file mode 100644
index 000000000..14f8a2a8b
--- /dev/null
+++ b/gentoo/trinity-base/ktnef/ktnef-3.5.13.2.ebuild
@@ -0,0 +1,13 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdepim"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity Viewer for mail attachments using TNEF format"
+KEYWORDS="~amd64 ~x86"
+IUSE+=""
+
+TSM_EXTRACT_ALSO="libkdepim/"
diff --git a/gentoo/trinity-base/ktnef/ktnef-9999.ebuild b/gentoo/trinity-base/ktnef/ktnef-9999.ebuild
new file mode 100644
index 000000000..ab67e3c4c
--- /dev/null
+++ b/gentoo/trinity-base/ktnef/ktnef-9999.ebuild
@@ -0,0 +1,13 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdepim"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity Viewer for mail attachments using TNEF format"
+KEYWORDS=""
+IUSE+=""
+
+TSM_EXTRACT_ALSO="libtdepim/"
diff --git a/gentoo/trinity-base/ktnef/metadata.xml b/gentoo/trinity-base/ktnef/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/ktnef/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/ktux/Manifest b/gentoo/trinity-base/ktux/Manifest
new file mode 100644
index 000000000..23ad50106
--- /dev/null
+++ b/gentoo/trinity-base/ktux/Manifest
@@ -0,0 +1,2 @@
+DIST kdetoys-3.5.13.1.tar.gz 3037255 SHA256 41e4224bcf816e52877b17d2dcdc86d94e8f304fee2d3fb35b97921544eafd9d SHA512 e7cd7943004e5d1ec83c0fe484fab82f2cdd5f5d39ee77db419938f023cd3c42ba0b257d0ddc783de7bd528c90195821d810babfa193c60856437593c24ce879 WHIRLPOOL 8d482537f972a24b1cef9ad789edd314517f4e3a6b37056f47d92292c8c30e70def24e99efc552b4504503e2224e1209ae946ff34ac94feaf128c038c54f010d
+DIST kdetoys-trinity-3.5.13.2.tar.xz 2757260 SHA256 a0533ceb6fb103600eb33ef3136d40f84ec826e24e0b95cc45e68ef73a5232f6 SHA512 eb67a70d75a473f885db8993f5eebd3480e68e43e4de60240fde411696ed8b895029505a5125fe51a41d6ccb583ba50c4c67465d770f14f9a1c1533281154f78 WHIRLPOOL d79f58085d2af17453fc50c621ea6fe6909d476cf5f0a6b6ccf51ef69eed0ba073091f587439eb5afd644e0286dfe2ee86ccd903346d3060c3fe90299511018a
diff --git a/gentoo/trinity-base/ktux/files/shared b/gentoo/trinity-base/ktux/files/shared
new file mode 120000
index 000000000..af62be31d
--- /dev/null
+++ b/gentoo/trinity-base/ktux/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files/ \ No newline at end of file
diff --git a/gentoo/trinity-base/ktux/ktux-3.5.13.1.ebuild b/gentoo/trinity-base/ktux/ktux-3.5.13.1.ebuild
new file mode 100644
index 000000000..1335c6aef
--- /dev/null
+++ b/gentoo/trinity-base/ktux/ktux-3.5.13.1.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdetoys"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity: screensaver featuring the Space-Faring Tux"
+KEYWORDS="amd64 x86"
+IUSE=""
diff --git a/gentoo/trinity-base/ktux/ktux-3.5.13.2.ebuild b/gentoo/trinity-base/ktux/ktux-3.5.13.2.ebuild
new file mode 100644
index 000000000..5df60de6f
--- /dev/null
+++ b/gentoo/trinity-base/ktux/ktux-3.5.13.2.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdetoys"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity: screensaver featuring the Space-Faring Tux"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
diff --git a/gentoo/trinity-base/ktux/ktux-9999.ebuild b/gentoo/trinity-base/ktux/ktux-9999.ebuild
new file mode 100644
index 000000000..02999a39c
--- /dev/null
+++ b/gentoo/trinity-base/ktux/ktux-9999.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdetoys"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity: screensaver featuring the Space-Faring Tux"
+KEYWORDS=
+IUSE=""
diff --git a/gentoo/trinity-base/ktux/metadata.xml b/gentoo/trinity-base/ktux/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/ktux/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kuickshow/Manifest b/gentoo/trinity-base/kuickshow/Manifest
new file mode 100644
index 000000000..f0ba54e9a
--- /dev/null
+++ b/gentoo/trinity-base/kuickshow/Manifest
@@ -0,0 +1 @@
+DIST kdegraphics-3.5.13.1.tar.gz 7526074 SHA256 19bd36e261bb6c5d2c9c1eba5f736c642b48422d917d44e576835f7ebb44906b SHA512 693e5ad70dbb00c587e588acfb81fc9475c3a4dbc86f41d6053c0584c533349a7564e34b870cb7bbc57361ac539da6f7d7f1b002ac3cfe8b0201db3eeb9147dd WHIRLPOOL fd2c46c517b3a0293880eaf35967295485555b936d0f1e80e0f2c261a1164cfcc5c4b2d943a12c073914d33b59974cc2dd92a78414614caa10f46dd048d518b4
diff --git a/gentoo/trinity-base/kuickshow/kuickshow-3.5.13.1.ebuild b/gentoo/trinity-base/kuickshow/kuickshow-3.5.13.1.ebuild
new file mode 100644
index 000000000..864d3a32e
--- /dev/null
+++ b/gentoo/trinity-base/kuickshow/kuickshow-3.5.13.1.ebuild
@@ -0,0 +1,15 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdegraphics"
+
+inherit trinity-meta
+
+DESCRIPTION="A fast and versatile image viewer for Trinity"
+KEYWORDS="x86 amd64"
+IUSE=""
+
+DEPEND="x11-libs/libXext
+ media-libs/imlib"
+RDEPEND="${DEPEND}"
diff --git a/gentoo/trinity-base/kuickshow/kuickshow-9999.ebuild b/gentoo/trinity-base/kuickshow/kuickshow-9999.ebuild
new file mode 100644
index 000000000..b726d5d85
--- /dev/null
+++ b/gentoo/trinity-base/kuickshow/kuickshow-9999.ebuild
@@ -0,0 +1,15 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdegraphics"
+
+inherit trinity-meta
+
+DESCRIPTION="A fast and versatile image viewer for Trinity"
+KEYWORDS=
+IUSE=""
+
+DEPEND="x11-libs/libXext
+ media-libs/imlib"
+RDEPEND="${DEPEND}"
diff --git a/gentoo/trinity-base/kuickshow/metadata.xml b/gentoo/trinity-base/kuickshow/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kuickshow/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kview/Manifest b/gentoo/trinity-base/kview/Manifest
new file mode 100644
index 000000000..f0ba54e9a
--- /dev/null
+++ b/gentoo/trinity-base/kview/Manifest
@@ -0,0 +1 @@
+DIST kdegraphics-3.5.13.1.tar.gz 7526074 SHA256 19bd36e261bb6c5d2c9c1eba5f736c642b48422d917d44e576835f7ebb44906b SHA512 693e5ad70dbb00c587e588acfb81fc9475c3a4dbc86f41d6053c0584c533349a7564e34b870cb7bbc57361ac539da6f7d7f1b002ac3cfe8b0201db3eeb9147dd WHIRLPOOL fd2c46c517b3a0293880eaf35967295485555b936d0f1e80e0f2c261a1164cfcc5c4b2d943a12c073914d33b59974cc2dd92a78414614caa10f46dd048d518b4
diff --git a/gentoo/trinity-base/kview/kview-3.5.13.1.ebuild b/gentoo/trinity-base/kview/kview-3.5.13.1.ebuild
new file mode 100644
index 000000000..8c5861408
--- /dev/null
+++ b/gentoo/trinity-base/kview/kview-3.5.13.1.ebuild
@@ -0,0 +1,12 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdegraphics"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity image viewer"
+
+KEYWORDS="amd64 x86"
+IUSE=""
diff --git a/gentoo/trinity-base/kview/kview-9999.ebuild b/gentoo/trinity-base/kview/kview-9999.ebuild
new file mode 100644
index 000000000..610d0ecc4
--- /dev/null
+++ b/gentoo/trinity-base/kview/kview-9999.ebuild
@@ -0,0 +1,12 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdegraphics"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity image viewer"
+
+KEYWORDS=
+IUSE=""
diff --git a/gentoo/trinity-base/kview/metadata.xml b/gentoo/trinity-base/kview/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kview/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kviewshell/Manifest b/gentoo/trinity-base/kviewshell/Manifest
new file mode 100644
index 000000000..f0ba54e9a
--- /dev/null
+++ b/gentoo/trinity-base/kviewshell/Manifest
@@ -0,0 +1 @@
+DIST kdegraphics-3.5.13.1.tar.gz 7526074 SHA256 19bd36e261bb6c5d2c9c1eba5f736c642b48422d917d44e576835f7ebb44906b SHA512 693e5ad70dbb00c587e588acfb81fc9475c3a4dbc86f41d6053c0584c533349a7564e34b870cb7bbc57361ac539da6f7d7f1b002ac3cfe8b0201db3eeb9147dd WHIRLPOOL fd2c46c517b3a0293880eaf35967295485555b936d0f1e80e0f2c261a1164cfcc5c4b2d943a12c073914d33b59974cc2dd92a78414614caa10f46dd048d518b4
diff --git a/gentoo/trinity-base/kviewshell/kviewshell-3.5.13.1.ebuild b/gentoo/trinity-base/kviewshell/kviewshell-3.5.13.1.ebuild
new file mode 100644
index 000000000..ccc77e332
--- /dev/null
+++ b/gentoo/trinity-base/kviewshell/kviewshell-3.5.13.1.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdegraphics"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity: Generic framework for viewer applications"
+KEYWORDS="x86 amd64"
+IUSE=""
diff --git a/gentoo/trinity-base/kviewshell/kviewshell-9999.ebuild b/gentoo/trinity-base/kviewshell/kviewshell-9999.ebuild
new file mode 100644
index 000000000..09099360b
--- /dev/null
+++ b/gentoo/trinity-base/kviewshell/kviewshell-9999.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdegraphics"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity: Generic framework for viewer applications"
+KEYWORDS=
+IUSE=""
diff --git a/gentoo/trinity-base/kviewshell/metadata.xml b/gentoo/trinity-base/kviewshell/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kviewshell/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kwallet/Manifest b/gentoo/trinity-base/kwallet/Manifest
new file mode 100644
index 000000000..c59ac62b4
--- /dev/null
+++ b/gentoo/trinity-base/kwallet/Manifest
@@ -0,0 +1,2 @@
+DIST kdeutils-3.5.13.1.tar.gz 2829393 SHA256 3e7ab07fe1bb3e7be7ac3a3796366c88d3b79a58af911546e2c65e32363db527 SHA512 48733e472d0f5da85ef8a32ed6db7fa5e61f0682e49842439e6ea38a1e407059bb35efffe41fc6ed1a718511fd5b2b2c8222d816a23500a4dcbca17461f9a3bd WHIRLPOOL 1488e0c44f60b4d5e397dd2cf93de048eae1b915d4b2b7b1cf27768946f5aae3b5bcc3971ee28b5fa6a57a0b94cca6db0866138b69ad74f1f7bb97cdaaebdbe2
+DIST kdeutils-trinity-3.5.13.2.tar.xz 2259232 SHA256 b2999b9ef39bb2f269b84fdf34a814b5a5599aae7d05538d0bf680c18fb334fa SHA512 f501aa4b61bf440e873eec96f09c0c24ad780db2f9f14b884001c04c04aafccb5afb2b492dcf4fc640f3ec35d86aa419d67936122648a986662cd7b7f4f8a2d8 WHIRLPOOL 49296006875250212f0fdeb0c90c4f69cf0aa7cfd38415e2f7b50bdf81754de64562df2400f4932a502adbe84b58be34cae6c029d68cc62d0e91de5158513239
diff --git a/gentoo/trinity-base/kwallet/files/shared b/gentoo/trinity-base/kwallet/files/shared
new file mode 120000
index 000000000..af62be31d
--- /dev/null
+++ b/gentoo/trinity-base/kwallet/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files/ \ No newline at end of file
diff --git a/gentoo/trinity-base/kwallet/kwallet-3.5.13.1.ebuild b/gentoo/trinity-base/kwallet/kwallet-3.5.13.1.ebuild
new file mode 100644
index 000000000..399a3e4dd
--- /dev/null
+++ b/gentoo/trinity-base/kwallet/kwallet-3.5.13.1.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity Wallet Management Tool"
+KEYWORDS="x86 amd64"
+IUSE=""
diff --git a/gentoo/trinity-base/kwallet/kwallet-3.5.13.2.ebuild b/gentoo/trinity-base/kwallet/kwallet-3.5.13.2.ebuild
new file mode 100644
index 000000000..ae7e1eecd
--- /dev/null
+++ b/gentoo/trinity-base/kwallet/kwallet-3.5.13.2.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity Wallet Management Tool"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
diff --git a/gentoo/trinity-base/kwallet/metadata.xml b/gentoo/trinity-base/kwallet/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kwallet/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kweather/Manifest b/gentoo/trinity-base/kweather/Manifest
new file mode 100644
index 000000000..23ad50106
--- /dev/null
+++ b/gentoo/trinity-base/kweather/Manifest
@@ -0,0 +1,2 @@
+DIST kdetoys-3.5.13.1.tar.gz 3037255 SHA256 41e4224bcf816e52877b17d2dcdc86d94e8f304fee2d3fb35b97921544eafd9d SHA512 e7cd7943004e5d1ec83c0fe484fab82f2cdd5f5d39ee77db419938f023cd3c42ba0b257d0ddc783de7bd528c90195821d810babfa193c60856437593c24ce879 WHIRLPOOL 8d482537f972a24b1cef9ad789edd314517f4e3a6b37056f47d92292c8c30e70def24e99efc552b4504503e2224e1209ae946ff34ac94feaf128c038c54f010d
+DIST kdetoys-trinity-3.5.13.2.tar.xz 2757260 SHA256 a0533ceb6fb103600eb33ef3136d40f84ec826e24e0b95cc45e68ef73a5232f6 SHA512 eb67a70d75a473f885db8993f5eebd3480e68e43e4de60240fde411696ed8b895029505a5125fe51a41d6ccb583ba50c4c67465d770f14f9a1c1533281154f78 WHIRLPOOL d79f58085d2af17453fc50c621ea6fe6909d476cf5f0a6b6ccf51ef69eed0ba073091f587439eb5afd644e0286dfe2ee86ccd903346d3060c3fe90299511018a
diff --git a/gentoo/trinity-base/kweather/files/shared b/gentoo/trinity-base/kweather/files/shared
new file mode 120000
index 000000000..af62be31d
--- /dev/null
+++ b/gentoo/trinity-base/kweather/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files/ \ No newline at end of file
diff --git a/gentoo/trinity-base/kweather/kweather-3.5.13.1.ebuild b/gentoo/trinity-base/kweather/kweather-3.5.13.1.ebuild
new file mode 100644
index 000000000..b78a778f9
--- /dev/null
+++ b/gentoo/trinity-base/kweather/kweather-3.5.13.1.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdetoys"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity weather status display"
+KEYWORDS="amd64 x86"
+IUSE=""
diff --git a/gentoo/trinity-base/kweather/kweather-3.5.13.2.ebuild b/gentoo/trinity-base/kweather/kweather-3.5.13.2.ebuild
new file mode 100644
index 000000000..2d52cb731
--- /dev/null
+++ b/gentoo/trinity-base/kweather/kweather-3.5.13.2.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdetoys"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity weather status display"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
diff --git a/gentoo/trinity-base/kweather/kweather-9999.ebuild b/gentoo/trinity-base/kweather/kweather-9999.ebuild
new file mode 100644
index 000000000..3d61a5ad3
--- /dev/null
+++ b/gentoo/trinity-base/kweather/kweather-9999.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdetoys"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity weather status display"
+KEYWORDS=
+IUSE=""
diff --git a/gentoo/trinity-base/kweather/metadata.xml b/gentoo/trinity-base/kweather/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kweather/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kwifimanager/Manifest b/gentoo/trinity-base/kwifimanager/Manifest
new file mode 100644
index 000000000..1d49700dc
--- /dev/null
+++ b/gentoo/trinity-base/kwifimanager/Manifest
@@ -0,0 +1 @@
+DIST kdenetwork-3.5.13.1.tar.gz 8794225 SHA256 21e69e8cb2550561c26913a5cccdc376115f50cffd43f9a94f7a660a303f46f9 SHA512 b3189a9f5e9cddd130b24a82b95ef90db1ec3c7afa280a46101ba7cbf6f9d92f60a536401f648a96459ba87f70ede5f7ae4affe894515a8e858b40ee79cb1b69 WHIRLPOOL de678ab30e3aa8dc3068c895fd000fdab1bc046e272273bf44196a198210efab82ddde3c5e0ffaa863061e9c56e3a8a68ca2f8f03cd77136755f66688f878c65
diff --git a/gentoo/trinity-base/kwifimanager/files/kwifimanager-fix-3.5.13.1.patch b/gentoo/trinity-base/kwifimanager/files/kwifimanager-fix-3.5.13.1.patch
new file mode 100644
index 000000000..9e66af37d
--- /dev/null
+++ b/gentoo/trinity-base/kwifimanager/files/kwifimanager-fix-3.5.13.1.patch
@@ -0,0 +1,25 @@
+diff --git a/wifi/ConfigureChecks.cmake b/wifi/ConfigureChecks.cmake
+index f3a7ddb..0d2972b 100644
+--- a/wifi/ConfigureChecks.cmake
++++ b/wifi/ConfigureChecks.cmake
+@@ -21,7 +21,9 @@ endif( )
+
+
+ # check for wireless tools
++set( CMAKE_REQUIRED_FLAGS "-lm" )
+ check_library_exists( iw iw_get_stats "" HAVE_IW )
++set( CMAKE_REQUIRED_FLAGS )
+ if( HAVE_IW )
+ check_include_file( iwlib.h HAVE_IWLIB_H )
+ # we need at least wireless tools >= 27
+diff --git a/wifi/kwireless/CMakeLists.txt b/wifi/kwireless/CMakeLists.txt
+index 5acfb5a..3707722 100644
+--- a/wifi/kwireless/CMakeLists.txt
++++ b/wifi/kwireless/CMakeLists.txt
+@@ -33,5 +33,5 @@ tde_add_kpart( libkwireless AUTOMOC
+ kwireless.cpp kwirelesswidget.cpp linuxwirelesswidget.cpp
+ propertytablebase.ui propertytable.cpp
+ LINK kdeui-shared ${IW_LIBRARY}
+- DESTINATION ${PLUGIN_INSTALL_DIR}
++ DESTINATION ${LIB_INSTALL_DIR}
+ )
diff --git a/gentoo/trinity-base/kwifimanager/kwifimanager-3.5.13.1.ebuild b/gentoo/trinity-base/kwifimanager/kwifimanager-3.5.13.1.ebuild
new file mode 100644
index 000000000..ec388986c
--- /dev/null
+++ b/gentoo/trinity-base/kwifimanager/kwifimanager-3.5.13.1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdenetwork"
+TRINITY_SUBMODULE="wifi"
+inherit trinity-meta
+
+DESCRIPTION="Trinity wifi (wireless network) gui"
+KEYWORDS="amd64 x86"
+IUSE="arts"
+
+DEPEND="
+ net-wireless/wireless-tools
+ arts? ( trinity-base/arts )"
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/kwifimanager-fix-3.5.13.1.patch" )
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_with arts ARTS)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/kwifimanager/kwifimanager-9999.ebuild b/gentoo/trinity-base/kwifimanager/kwifimanager-9999.ebuild
new file mode 100644
index 000000000..20cb066e9
--- /dev/null
+++ b/gentoo/trinity-base/kwifimanager/kwifimanager-9999.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdenetwork"
+TRINITY_SUBMODULE="wifi"
+inherit trinity-meta
+
+DESCRIPTION="Trinity wifi (wireless network) gui"
+KEYWORDS=
+IUSE="arts"
+
+DEPEND="
+ net-wireless/wireless-tools
+ arts? ( trinity-base/arts )"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_with arts ARTS)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/kwifimanager/metadata.xml b/gentoo/trinity-base/kwifimanager/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kwifimanager/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kwin/Manifest b/gentoo/trinity-base/kwin/Manifest
new file mode 100644
index 000000000..381340c4b
--- /dev/null
+++ b/gentoo/trinity-base/kwin/Manifest
@@ -0,0 +1,2 @@
+DIST kdebase-3.5.13.1.tar.gz 29403228 SHA256 ddd4bd4b508ad027b9d1af2701c6ba64bfc9f8f1d32099e6dd5e7866714f759e SHA512 e1aac19c941a5f2b43a57928fdb43e5ebd646f49c60911d9d317550df96642870792c4e77ecd06e123244e2425ccd4bcb00f0a21011ba7e651d7fcf4553e79cf WHIRLPOOL 931debbf6a65c280221025dcbc02cbb3387b66eb72eddd28a510ee8f97075cd2cc96535dde25d0a32280c399e4a868e9c027772f5d28e7e79b7c1a9080c58034
+DIST kdebase-trinity-3.5.13.2.tar.xz 25890636 SHA256 b9d552226daff64437dfb9699669b95dd7ebc2ca7c43755ba71c10cc6c9ed789 SHA512 df545d44c7d4550d1d77ff6504572b622853c2b8d80062b1aee1a5bdca19f0e708cde35cff54cf2d5098f06a41bde0c89522a3958dea9bb18205dea87c11b797 WHIRLPOOL 79144273bc7985c59a593a3394b12a2053532d2c4c890ce96adad21f6de0413baf3c6270d6d06173ec4546b20d401aa0cc81603d01b8ee41dbdefc825b39b2b1
diff --git a/gentoo/trinity-base/kwin/kwin-3.5.13.1.ebuild b/gentoo/trinity-base/kwin/kwin-3.5.13.1.ebuild
new file mode 100644
index 000000000..655b5fdb3
--- /dev/null
+++ b/gentoo/trinity-base/kwin/kwin-3.5.13.1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta eutils
+
+DESCRIPTION="Trinity window manager"
+KEYWORDS="x86 amd64"
+IUSE="xcomposite"
+
+DEPEND="x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXrender
+ xcomposite? ( x11-libs/libXcomposite )"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_with xcomposite XCOMPOSITE)
+ $(cmake-utils_use_with xcomposite XFIXES)
+ $(cmake-utils_use_with xcomposite XRENDER)
+ $(cmake-utils_use_with xcomposite XDAMAGE)
+ $(cmake-utils_use_with xcomposite XEXT)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/kwin/kwin-3.5.13.2.ebuild b/gentoo/trinity-base/kwin/kwin-3.5.13.2.ebuild
new file mode 100644
index 000000000..9d845850a
--- /dev/null
+++ b/gentoo/trinity-base/kwin/kwin-3.5.13.2.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta eutils
+
+DESCRIPTION="Trinity window manager"
+KEYWORDS="~amd64 ~x86"
+IUSE="xcomposite"
+
+DEPEND="x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXrender
+ xcomposite? ( x11-libs/libXcomposite )"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_with xcomposite XCOMPOSITE)
+ $(cmake-utils_use_with xcomposite XFIXES)
+ $(cmake-utils_use_with xcomposite XRENDER)
+ $(cmake-utils_use_with xcomposite XDAMAGE)
+ $(cmake-utils_use_with xcomposite XEXT)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/kwin/metadata.xml b/gentoo/trinity-base/kwin/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kwin/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kworldclock/Manifest b/gentoo/trinity-base/kworldclock/Manifest
new file mode 100644
index 000000000..23ad50106
--- /dev/null
+++ b/gentoo/trinity-base/kworldclock/Manifest
@@ -0,0 +1,2 @@
+DIST kdetoys-3.5.13.1.tar.gz 3037255 SHA256 41e4224bcf816e52877b17d2dcdc86d94e8f304fee2d3fb35b97921544eafd9d SHA512 e7cd7943004e5d1ec83c0fe484fab82f2cdd5f5d39ee77db419938f023cd3c42ba0b257d0ddc783de7bd528c90195821d810babfa193c60856437593c24ce879 WHIRLPOOL 8d482537f972a24b1cef9ad789edd314517f4e3a6b37056f47d92292c8c30e70def24e99efc552b4504503e2224e1209ae946ff34ac94feaf128c038c54f010d
+DIST kdetoys-trinity-3.5.13.2.tar.xz 2757260 SHA256 a0533ceb6fb103600eb33ef3136d40f84ec826e24e0b95cc45e68ef73a5232f6 SHA512 eb67a70d75a473f885db8993f5eebd3480e68e43e4de60240fde411696ed8b895029505a5125fe51a41d6ccb583ba50c4c67465d770f14f9a1c1533281154f78 WHIRLPOOL d79f58085d2af17453fc50c621ea6fe6909d476cf5f0a6b6ccf51ef69eed0ba073091f587439eb5afd644e0286dfe2ee86ccd903346d3060c3fe90299511018a
diff --git a/gentoo/trinity-base/kworldclock/files/shared b/gentoo/trinity-base/kworldclock/files/shared
new file mode 120000
index 000000000..af62be31d
--- /dev/null
+++ b/gentoo/trinity-base/kworldclock/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files/ \ No newline at end of file
diff --git a/gentoo/trinity-base/kworldclock/kworldclock-3.5.13.1.ebuild b/gentoo/trinity-base/kworldclock/kworldclock-3.5.13.1.ebuild
new file mode 100644
index 000000000..74bb462ea
--- /dev/null
+++ b/gentoo/trinity-base/kworldclock/kworldclock-3.5.13.1.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdetoys"
+TRINITY_SUBMODULE="kworldwatch"
+inherit trinity-meta
+
+DESCRIPTION="Trinity program that displays the part of the Earth lit up by the Sun"
+KEYWORDS="x86 amd64"
+IUSE=""
diff --git a/gentoo/trinity-base/kworldclock/kworldclock-3.5.13.2.ebuild b/gentoo/trinity-base/kworldclock/kworldclock-3.5.13.2.ebuild
new file mode 100644
index 000000000..ae040cf78
--- /dev/null
+++ b/gentoo/trinity-base/kworldclock/kworldclock-3.5.13.2.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdetoys"
+TRINITY_SUBMODULE="kworldwatch"
+inherit trinity-meta
+
+DESCRIPTION="Trinity program that displays the part of the Earth lit up by the Sun"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
diff --git a/gentoo/trinity-base/kworldclock/kworldclock-9999.ebuild b/gentoo/trinity-base/kworldclock/kworldclock-9999.ebuild
new file mode 100644
index 000000000..8c9e57afc
--- /dev/null
+++ b/gentoo/trinity-base/kworldclock/kworldclock-9999.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdetoys"
+TRINITY_SUBMODULE="kworldwatch"
+inherit trinity-meta
+
+DESCRIPTION="Trinity program that displays the part of the Earth lit up by the Sun"
+KEYWORDS=
+IUSE=""
diff --git a/gentoo/trinity-base/kworldclock/metadata.xml b/gentoo/trinity-base/kworldclock/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kworldclock/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/kxkb/Manifest b/gentoo/trinity-base/kxkb/Manifest
new file mode 100644
index 000000000..381340c4b
--- /dev/null
+++ b/gentoo/trinity-base/kxkb/Manifest
@@ -0,0 +1,2 @@
+DIST kdebase-3.5.13.1.tar.gz 29403228 SHA256 ddd4bd4b508ad027b9d1af2701c6ba64bfc9f8f1d32099e6dd5e7866714f759e SHA512 e1aac19c941a5f2b43a57928fdb43e5ebd646f49c60911d9d317550df96642870792c4e77ecd06e123244e2425ccd4bcb00f0a21011ba7e651d7fcf4553e79cf WHIRLPOOL 931debbf6a65c280221025dcbc02cbb3387b66eb72eddd28a510ee8f97075cd2cc96535dde25d0a32280c399e4a868e9c027772f5d28e7e79b7c1a9080c58034
+DIST kdebase-trinity-3.5.13.2.tar.xz 25890636 SHA256 b9d552226daff64437dfb9699669b95dd7ebc2ca7c43755ba71c10cc6c9ed789 SHA512 df545d44c7d4550d1d77ff6504572b622853c2b8d80062b1aee1a5bdca19f0e708cde35cff54cf2d5098f06a41bde0c89522a3958dea9bb18205dea87c11b797 WHIRLPOOL 79144273bc7985c59a593a3394b12a2053532d2c4c890ce96adad21f6de0413baf3c6270d6d06173ec4546b20d401aa0cc81603d01b8ee41dbdefc825b39b2b1
diff --git a/gentoo/trinity-base/kxkb/files/shared b/gentoo/trinity-base/kxkb/files/shared
new file mode 120000
index 000000000..ffc286806
--- /dev/null
+++ b/gentoo/trinity-base/kxkb/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files \ No newline at end of file
diff --git a/gentoo/trinity-base/kxkb/kxkb-3.5.13.1.ebuild b/gentoo/trinity-base/kxkb/kxkb-3.5.13.1.ebuild
new file mode 100644
index 000000000..5867be3c4
--- /dev/null
+++ b/gentoo/trinity-base/kxkb/kxkb-3.5.13.1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="KControl module for the X11 to configure and switch keyboard layouts"
+KEYWORDS="x86 amd64"
+IUSE=""
+
+DEPEND="x11-libs/libXtst"
+RDEPEND="${DEPEND}
+ x11-misc/xkeyboard-config
+ x11-apps/setxkbmap"
+
+src_configure() {
+ mycmakeargs=(
+ -DWITH_XTEST=ON
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/kxkb/kxkb-3.5.13.2.ebuild b/gentoo/trinity-base/kxkb/kxkb-3.5.13.2.ebuild
new file mode 100644
index 000000000..d0c626b51
--- /dev/null
+++ b/gentoo/trinity-base/kxkb/kxkb-3.5.13.2.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="KControl module for the X11 to configure and switch keyboard layouts"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="x11-libs/libXtst"
+RDEPEND="${DEPEND}
+ x11-misc/xkeyboard-config
+ x11-apps/setxkbmap"
+
+src_configure() {
+ mycmakeargs=(
+ -DWITH_XTEST=ON
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/kxkb/kxkb-9999.ebuild b/gentoo/trinity-base/kxkb/kxkb-9999.ebuild
new file mode 100644
index 000000000..e30ed33a2
--- /dev/null
+++ b/gentoo/trinity-base/kxkb/kxkb-9999.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="KControl module for the X11 to configure and switch keyboard layouts"
+KEYWORDS=
+IUSE=""
+
+DEPEND="x11-libs/libXtst"
+RDEPEND="${DEPEND}
+ x11-misc/xkeyboard-config
+ x11-apps/setxkbmap"
+
+src_configure() {
+ mycmakeargs=(
+ -DWITH_XTEST=ON
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/kxkb/metadata.xml b/gentoo/trinity-base/kxkb/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kxkb/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/libkcal/Manifest b/gentoo/trinity-base/libkcal/Manifest
new file mode 100644
index 000000000..4a730c44c
--- /dev/null
+++ b/gentoo/trinity-base/libkcal/Manifest
@@ -0,0 +1,2 @@
+DIST kdepim-3.5.13.1.tar.gz 12954293 SHA256 29755dd66b6da83cb1105fd22954869b911c836f806c19d6a56cdfd6ee79287f SHA512 52f0133f0d296488786f26fe118eefb2018542a36de82d2fd253b7af4e1496ffbee1470869510259202b0a1b5cc6fb1b1b7b8a3ec0b27197fa60927281d1cb9e WHIRLPOOL b34852363e6a6ecdeaacbd9b0775ed0c8c5f692181dc1eee14543c0761a92af43bd96139a7588585ac9715721f62f2aaee603af11240a9a5a93d662262168887
+DIST kdepim-trinity-3.5.13.2.tar.xz 10148724 SHA256 2cbd61e28322e4c7d67ffb16ac59329b3f15ba1a4485095994b9bce6786df7c4 SHA512 a84319183813dc78dc97397c8c3871faa3961b458eda8107525b8b9c6789d13aedd8e3c7cb0706c4ca8dd63f69ff67de02716219c8af44ebf96d484d820eb2bf WHIRLPOOL 907d9d86f1b0094b915989ca7f0feb4f67ac1b238a4c6d176ab1ef9164eff78778b2714ebedeb40de28536a8384b39ec7e637f1bb6911cccb40f7d8663811edb
diff --git a/gentoo/trinity-base/libkcal/libkcal-3.5.13.1.ebuild b/gentoo/trinity-base/libkcal/libkcal-3.5.13.1.ebuild
new file mode 100644
index 000000000..a8924a8c9
--- /dev/null
+++ b/gentoo/trinity-base/libkcal/libkcal-3.5.13.1.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdepim"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity kcal library for KOrganizer etc"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="
+ dev-libs/libical
+ >=trinity-base/ktnef-${PV}:${SLOT}
+ >=trinity-base/libkmime-${PV}:${SLOT}"
+RDEPEND="${DEPEND}"
+
+TSM_EXTRACT_ALSO="libemailfunctions/ libkdepim/ libkmime/ ktnef/"
diff --git a/gentoo/trinity-base/libkcal/libkcal-3.5.13.2.ebuild b/gentoo/trinity-base/libkcal/libkcal-3.5.13.2.ebuild
new file mode 100644
index 000000000..456f2a141
--- /dev/null
+++ b/gentoo/trinity-base/libkcal/libkcal-3.5.13.2.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdepim"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity kcal library for KOrganizer etc"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+ dev-libs/libical
+ >=trinity-base/ktnef-${PV}:${SLOT}
+ >=trinity-base/libkmime-${PV}:${SLOT}"
+RDEPEND="${DEPEND}"
+
+TSM_EXTRACT_ALSO="libemailfunctions/ libkdepim/ libkmime/ ktnef/"
diff --git a/gentoo/trinity-base/libkcal/libkcal-9999.ebuild b/gentoo/trinity-base/libkcal/libkcal-9999.ebuild
new file mode 100644
index 000000000..b1483a8d0
--- /dev/null
+++ b/gentoo/trinity-base/libkcal/libkcal-9999.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdepim"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity kcal library for KOrganizer etc"
+KEYWORDS=""
+IUSE=""
+
+DEPEND="
+ dev-libs/libical
+ >=trinity-base/ktnef-${PV}:${SLOT}
+ >=trinity-base/libkmime-${PV}:${SLOT}"
+RDEPEND="${DEPEND}"
+
+TSM_EXTRACT_ALSO="libemailfunctions/ libtdepim/ libkmime/ ktnef/"
diff --git a/gentoo/trinity-base/libkcal/metadata.xml b/gentoo/trinity-base/libkcal/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/libkcal/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/libkdenetwork/Manifest b/gentoo/trinity-base/libkdenetwork/Manifest
new file mode 100644
index 000000000..d6ce26a13
--- /dev/null
+++ b/gentoo/trinity-base/libkdenetwork/Manifest
@@ -0,0 +1 @@
+DIST kdepim-trinity-3.5.13.2.tar.xz 10148724 SHA256 2cbd61e28322e4c7d67ffb16ac59329b3f15ba1a4485095994b9bce6786df7c4 SHA512 a84319183813dc78dc97397c8c3871faa3961b458eda8107525b8b9c6789d13aedd8e3c7cb0706c4ca8dd63f69ff67de02716219c8af44ebf96d484d820eb2bf WHIRLPOOL 907d9d86f1b0094b915989ca7f0feb4f67ac1b238a4c6d176ab1ef9164eff78778b2714ebedeb40de28536a8384b39ec7e637f1bb6911cccb40f7d8663811edb
diff --git a/gentoo/trinity-base/libkdenetwork/libkdenetwork-3.5.13.2.ebuild b/gentoo/trinity-base/libkdenetwork/libkdenetwork-3.5.13.2.ebuild
new file mode 100644
index 000000000..9a358f923
--- /dev/null
+++ b/gentoo/trinity-base/libkdenetwork/libkdenetwork-3.5.13.2.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdepim"
+
+inherit trinity-meta
+
+DESCRIPTION="library common to many tdepim apps interacting to network"
+KEYWORDS="~amd64 ~x86"
+IUSE+=""
+
+COMMON_DEPEND=">=app-crypt/gpgme-1.0.2"
+DEPEND+=" ${COMMON_DEPEND}"
+RDEPEND+=" ${COMMON_DEPEND}"
+
+TSM_EXTRACT_ALSO="libkdepim/"
diff --git a/gentoo/trinity-base/libkdenetwork/metadata.xml b/gentoo/trinity-base/libkdenetwork/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/libkdenetwork/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/libkdepim/Manifest b/gentoo/trinity-base/libkdepim/Manifest
new file mode 100644
index 000000000..4a730c44c
--- /dev/null
+++ b/gentoo/trinity-base/libkdepim/Manifest
@@ -0,0 +1,2 @@
+DIST kdepim-3.5.13.1.tar.gz 12954293 SHA256 29755dd66b6da83cb1105fd22954869b911c836f806c19d6a56cdfd6ee79287f SHA512 52f0133f0d296488786f26fe118eefb2018542a36de82d2fd253b7af4e1496ffbee1470869510259202b0a1b5cc6fb1b1b7b8a3ec0b27197fa60927281d1cb9e WHIRLPOOL b34852363e6a6ecdeaacbd9b0775ed0c8c5f692181dc1eee14543c0761a92af43bd96139a7588585ac9715721f62f2aaee603af11240a9a5a93d662262168887
+DIST kdepim-trinity-3.5.13.2.tar.xz 10148724 SHA256 2cbd61e28322e4c7d67ffb16ac59329b3f15ba1a4485095994b9bce6786df7c4 SHA512 a84319183813dc78dc97397c8c3871faa3961b458eda8107525b8b9c6789d13aedd8e3c7cb0706c4ca8dd63f69ff67de02716219c8af44ebf96d484d820eb2bf WHIRLPOOL 907d9d86f1b0094b915989ca7f0feb4f67ac1b238a4c6d176ab1ef9164eff78778b2714ebedeb40de28536a8384b39ec7e637f1bb6911cccb40f7d8663811edb
diff --git a/gentoo/trinity-base/libkdepim/libkdepim-3.5.13.1.ebuild b/gentoo/trinity-base/libkdepim/libkdepim-3.5.13.1.ebuild
new file mode 100644
index 000000000..f3035ffbb
--- /dev/null
+++ b/gentoo/trinity-base/libkdepim/libkdepim-3.5.13.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdepim"
+
+inherit trinity-meta
+
+DESCRIPTION="Common library for Trinity PIM applications."
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="
+ >=trinity-base/ktnef-${PV}:${SLOT}
+ >=trinity-base/libkmime-${PV}:${SLOT}
+ >=trinity-base/libkcal-${PV}:${SLOT}"
+RDEPEND="${DEPEND}"
+
+TSM_EXTRACT_ALSO="libemailfunctions/
+ pixmaps/
+ libkmime/kmime_util.h
+ libkcal/"
+
+src_prepare() {
+ trinity-meta_src_prepare
+ # Call Qt 3 designer
+ sed -i -e "s:\"designer\":\"${QTDIR}/bin/designer\":g" "${S}/libkdepim/kcmdesignerfields.cpp" || die "sed failed"
+}
diff --git a/gentoo/trinity-base/libkdepim/libkdepim-3.5.13.2.ebuild b/gentoo/trinity-base/libkdepim/libkdepim-3.5.13.2.ebuild
new file mode 100644
index 000000000..3bd9198fa
--- /dev/null
+++ b/gentoo/trinity-base/libkdepim/libkdepim-3.5.13.2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdepim"
+
+inherit trinity-meta
+
+DESCRIPTION="Common library for Trinity PIM applications."
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+ >=trinity-base/ktnef-${PV}:${SLOT}
+ >=trinity-base/libkmime-${PV}:${SLOT}
+ >=trinity-base/libkcal-${PV}:${SLOT}"
+RDEPEND="${DEPEND}"
+
+TSM_EXTRACT_ALSO="libemailfunctions/
+ pixmaps/
+ libkmime/kmime_util.h
+ libkcal/"
+
+src_prepare() {
+ trinity-meta_src_prepare
+ # Call Qt 3 designer
+ sed -i -e "s:\"designer\":\"${QTDIR}/bin/designer\":g" "${S}/libkdepim/kcmdesignerfields.cpp" || die "sed failed"
+}
diff --git a/gentoo/trinity-base/libkdepim/metadata.xml b/gentoo/trinity-base/libkdepim/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/libkdepim/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/libkholidays/Manifest b/gentoo/trinity-base/libkholidays/Manifest
new file mode 100644
index 000000000..d6ce26a13
--- /dev/null
+++ b/gentoo/trinity-base/libkholidays/Manifest
@@ -0,0 +1 @@
+DIST kdepim-trinity-3.5.13.2.tar.xz 10148724 SHA256 2cbd61e28322e4c7d67ffb16ac59329b3f15ba1a4485095994b9bce6786df7c4 SHA512 a84319183813dc78dc97397c8c3871faa3961b458eda8107525b8b9c6789d13aedd8e3c7cb0706c4ca8dd63f69ff67de02716219c8af44ebf96d484d820eb2bf WHIRLPOOL 907d9d86f1b0094b915989ca7f0feb4f67ac1b238a4c6d176ab1ef9164eff78778b2714ebedeb40de28536a8384b39ec7e637f1bb6911cccb40f7d8663811edb
diff --git a/gentoo/trinity-base/libkholidays/libkholidays-3.5.13.2.ebuild b/gentoo/trinity-base/libkholidays/libkholidays-3.5.13.2.ebuild
new file mode 100644
index 000000000..05483f6a6
--- /dev/null
+++ b/gentoo/trinity-base/libkholidays/libkholidays-3.5.13.2.ebuild
@@ -0,0 +1,13 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdepim"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity library to compute holidays."
+KEYWORDS="~amd64 ~x86"
+IUSE+=""
+
+TSM_EXTRACT_ALSO="libkdepim/"
diff --git a/gentoo/trinity-base/libkholidays/libkholidays-9999.ebuild b/gentoo/trinity-base/libkholidays/libkholidays-9999.ebuild
new file mode 100644
index 000000000..39b3f6872
--- /dev/null
+++ b/gentoo/trinity-base/libkholidays/libkholidays-9999.ebuild
@@ -0,0 +1,13 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdepim"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity library to compute holidays."
+KEYWORDS=""
+IUSE+=""
+
+TSM_EXTRACT_ALSO="libtdepim/"
diff --git a/gentoo/trinity-base/libkholidays/metadata.xml b/gentoo/trinity-base/libkholidays/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/libkholidays/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/libkmime/Manifest b/gentoo/trinity-base/libkmime/Manifest
new file mode 100644
index 000000000..4a730c44c
--- /dev/null
+++ b/gentoo/trinity-base/libkmime/Manifest
@@ -0,0 +1,2 @@
+DIST kdepim-3.5.13.1.tar.gz 12954293 SHA256 29755dd66b6da83cb1105fd22954869b911c836f806c19d6a56cdfd6ee79287f SHA512 52f0133f0d296488786f26fe118eefb2018542a36de82d2fd253b7af4e1496ffbee1470869510259202b0a1b5cc6fb1b1b7b8a3ec0b27197fa60927281d1cb9e WHIRLPOOL b34852363e6a6ecdeaacbd9b0775ed0c8c5f692181dc1eee14543c0761a92af43bd96139a7588585ac9715721f62f2aaee603af11240a9a5a93d662262168887
+DIST kdepim-trinity-3.5.13.2.tar.xz 10148724 SHA256 2cbd61e28322e4c7d67ffb16ac59329b3f15ba1a4485095994b9bce6786df7c4 SHA512 a84319183813dc78dc97397c8c3871faa3961b458eda8107525b8b9c6789d13aedd8e3c7cb0706c4ca8dd63f69ff67de02716219c8af44ebf96d484d820eb2bf WHIRLPOOL 907d9d86f1b0094b915989ca7f0feb4f67ac1b238a4c6d176ab1ef9164eff78778b2714ebedeb40de28536a8384b39ec7e637f1bb6911cccb40f7d8663811edb
diff --git a/gentoo/trinity-base/libkmime/libkmime-3.5.13.1.ebuild b/gentoo/trinity-base/libkmime/libkmime-3.5.13.1.ebuild
new file mode 100644
index 000000000..ff663beff
--- /dev/null
+++ b/gentoo/trinity-base/libkmime/libkmime-3.5.13.1.ebuild
@@ -0,0 +1,13 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdepim"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity kmime library for Message Handling"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+TSM_EXTRACT_ALSO="libkdepim"
diff --git a/gentoo/trinity-base/libkmime/libkmime-3.5.13.2.ebuild b/gentoo/trinity-base/libkmime/libkmime-3.5.13.2.ebuild
new file mode 100644
index 000000000..29a46741a
--- /dev/null
+++ b/gentoo/trinity-base/libkmime/libkmime-3.5.13.2.ebuild
@@ -0,0 +1,13 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdepim"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity kmime library for Message Handling"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+TSM_EXTRACT_ALSO="libkdepim/"
diff --git a/gentoo/trinity-base/libkmime/libkmime-9999.ebuild b/gentoo/trinity-base/libkmime/libkmime-9999.ebuild
new file mode 100644
index 000000000..f42fce889
--- /dev/null
+++ b/gentoo/trinity-base/libkmime/libkmime-9999.ebuild
@@ -0,0 +1,13 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdepim"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity kmime library for Message Handling"
+KEYWORDS=""
+IUSE=""
+
+TSM_EXTRACT_ALSO="libtdepim/"
diff --git a/gentoo/trinity-base/libkmime/metadata.xml b/gentoo/trinity-base/libkmime/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/libkmime/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/libkonq/Manifest b/gentoo/trinity-base/libkonq/Manifest
new file mode 100644
index 000000000..381340c4b
--- /dev/null
+++ b/gentoo/trinity-base/libkonq/Manifest
@@ -0,0 +1,2 @@
+DIST kdebase-3.5.13.1.tar.gz 29403228 SHA256 ddd4bd4b508ad027b9d1af2701c6ba64bfc9f8f1d32099e6dd5e7866714f759e SHA512 e1aac19c941a5f2b43a57928fdb43e5ebd646f49c60911d9d317550df96642870792c4e77ecd06e123244e2425ccd4bcb00f0a21011ba7e651d7fcf4553e79cf WHIRLPOOL 931debbf6a65c280221025dcbc02cbb3387b66eb72eddd28a510ee8f97075cd2cc96535dde25d0a32280c399e4a868e9c027772f5d28e7e79b7c1a9080c58034
+DIST kdebase-trinity-3.5.13.2.tar.xz 25890636 SHA256 b9d552226daff64437dfb9699669b95dd7ebc2ca7c43755ba71c10cc6c9ed789 SHA512 df545d44c7d4550d1d77ff6504572b622853c2b8d80062b1aee1a5bdca19f0e708cde35cff54cf2d5098f06a41bde0c89522a3958dea9bb18205dea87c11b797 WHIRLPOOL 79144273bc7985c59a593a3394b12a2053532d2c4c890ce96adad21f6de0413baf3c6270d6d06173ec4546b20d401aa0cc81603d01b8ee41dbdefc825b39b2b1
diff --git a/gentoo/trinity-base/libkonq/files/libkonq-3.5.13.1-onlyshowin-tde.patch b/gentoo/trinity-base/libkonq/files/libkonq-3.5.13.1-onlyshowin-tde.patch
new file mode 100644
index 000000000..9be02ad7c
--- /dev/null
+++ b/gentoo/trinity-base/libkonq/files/libkonq-3.5.13.1-onlyshowin-tde.patch
@@ -0,0 +1,20 @@
+diff --git a/libkonq/konq_popupmenu.cc b/libkonq/konq_popupmenu.cc
+index 6cd19e5..f58f2e1 100644
+--- a/libkonq/konq_popupmenu.cc
++++ b/libkonq/konq_popupmenu.cc
+@@ -883,13 +883,13 @@ void KonqPopupMenu::setup(KonqPopupFlags kpf)
+ const TQString onlyShowIn = service->property("OnlyShowIn", TQVariant::String).toString();
+ if ( !onlyShowIn.isEmpty() ) {
+ const TQStringList aList = TQStringList::split(';', onlyShowIn);
+- if (!aList.contains("KDE"))
++ if (!aList.contains("TDE"))
+ continue;
+ }
+ const TQString notShowIn = service->property("NotShowIn", TQVariant::String).toString();
+ if ( !notShowIn.isEmpty() ) {
+ const TQStringList aList = TQStringList::split(';', notShowIn);
+- if (aList.contains("KDE"))
++ if (aList.contains("TDE"))
+ continue;
+ }
+
diff --git a/gentoo/trinity-base/libkonq/files/shared b/gentoo/trinity-base/libkonq/files/shared
new file mode 120000
index 000000000..ffc286806
--- /dev/null
+++ b/gentoo/trinity-base/libkonq/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files \ No newline at end of file
diff --git a/gentoo/trinity-base/libkonq/libkonq-3.5.13.1.ebuild b/gentoo/trinity-base/libkonq/libkonq-3.5.13.1.ebuild
new file mode 100644
index 000000000..f34eaa4bd
--- /dev/null
+++ b/gentoo/trinity-base/libkonq/libkonq-3.5.13.1.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="The embeddable part of konqueror"
+KEYWORDS="x86 amd64"
+IUSE="arts"
+DEPEND="arts? ( >=trinity-base/arts-${PV}:${SLOT} )"
+RDEPEND="$DEPEND"
+PATCHES=( "$FILESDIR/${PN}-3.5.13.1-onlyshowin-tde.patch")
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_with arts ARTS)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/libkonq/libkonq-3.5.13.2.ebuild b/gentoo/trinity-base/libkonq/libkonq-3.5.13.2.ebuild
new file mode 100644
index 000000000..7919747e5
--- /dev/null
+++ b/gentoo/trinity-base/libkonq/libkonq-3.5.13.2.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="The embeddable part of konqueror"
+KEYWORDS="~amd64 ~x86"
+IUSE="arts"
+DEPEND="arts? ( >=trinity-base/arts-${PV}:${SLOT} )"
+RDEPEND="$DEPEND"
+PATCHES=( "$FILESDIR/${PN}-3.5.13.1-onlyshowin-tde.patch")
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_with arts ARTS)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/libkonq/libkonq-9999.ebuild b/gentoo/trinity-base/libkonq/libkonq-9999.ebuild
new file mode 100644
index 000000000..45b06ee57
--- /dev/null
+++ b/gentoo/trinity-base/libkonq/libkonq-9999.ebuild
@@ -0,0 +1,12 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdebase"
+
+inherit trinity-meta
+
+need-arts optional
+
+DESCRIPTION="The embeddable part of konqueror"
+KEYWORDS=
diff --git a/gentoo/trinity-base/libkonq/metadata.xml b/gentoo/trinity-base/libkonq/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/libkonq/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/libkpimexchange/Manifest b/gentoo/trinity-base/libkpimexchange/Manifest
new file mode 100644
index 000000000..d6ce26a13
--- /dev/null
+++ b/gentoo/trinity-base/libkpimexchange/Manifest
@@ -0,0 +1 @@
+DIST kdepim-trinity-3.5.13.2.tar.xz 10148724 SHA256 2cbd61e28322e4c7d67ffb16ac59329b3f15ba1a4485095994b9bce6786df7c4 SHA512 a84319183813dc78dc97397c8c3871faa3961b458eda8107525b8b9c6789d13aedd8e3c7cb0706c4ca8dd63f69ff67de02716219c8af44ebf96d484d820eb2bf WHIRLPOOL 907d9d86f1b0094b915989ca7f0feb4f67ac1b238a4c6d176ab1ef9164eff78778b2714ebedeb40de28536a8384b39ec7e637f1bb6911cccb40f7d8663811edb
diff --git a/gentoo/trinity-base/libkpimexchange/libkpimexchange-3.5.13.2.ebuild b/gentoo/trinity-base/libkpimexchange/libkpimexchange-3.5.13.2.ebuild
new file mode 100644
index 000000000..df6b710da
--- /dev/null
+++ b/gentoo/trinity-base/libkpimexchange/libkpimexchange-3.5.13.2.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdepim"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity PIM exchange library"
+KEYWORDS="~amd64 ~x86"
+IUSE+=""
+COMMON_DEPEND=">=trinity-base/libkcal-${PV}:${SLOT}
+ >=trinity-base/ktnef-${PV}:${SLOT}
+ >=trinity-base/libkmime-${PV}:${SLOT}"
+
+DEPEND+=" ${COMMON_DEPEND}"
+RDEPEND+=" ${COMMON_DEPEND}"
+
+TSM_EXTRACT_ALSO="libkdepim/ libkcal/"
diff --git a/gentoo/trinity-base/libkpimexchange/libkpimexchange-9999.ebuild b/gentoo/trinity-base/libkpimexchange/libkpimexchange-9999.ebuild
new file mode 100644
index 000000000..ea0c321f1
--- /dev/null
+++ b/gentoo/trinity-base/libkpimexchange/libkpimexchange-9999.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdepim"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity PIM exchange library"
+KEYWORDS=""
+IUSE+=""
+COMMON_DEPEND=">=trinity-base/libkcal-${PV}:${SLOT}
+ >=trinity-base/ktnef-${PV}:${SLOT}
+ >=trinity-base/libkmime-${PV}:${SLOT}"
+
+DEPEND+=" ${COMMON_DEPEND}"
+RDEPEND+=" ${COMMON_DEPEND}"
+
+TSM_EXTRACT_ALSO="libtdepim/ libkcal/"
diff --git a/gentoo/trinity-base/libkpimexchange/metadata.xml b/gentoo/trinity-base/libkpimexchange/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/libkpimexchange/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/libkpimidentities/Manifest b/gentoo/trinity-base/libkpimidentities/Manifest
new file mode 100644
index 000000000..d6ce26a13
--- /dev/null
+++ b/gentoo/trinity-base/libkpimidentities/Manifest
@@ -0,0 +1 @@
+DIST kdepim-trinity-3.5.13.2.tar.xz 10148724 SHA256 2cbd61e28322e4c7d67ffb16ac59329b3f15ba1a4485095994b9bce6786df7c4 SHA512 a84319183813dc78dc97397c8c3871faa3961b458eda8107525b8b9c6789d13aedd8e3c7cb0706c4ca8dd63f69ff67de02716219c8af44ebf96d484d820eb2bf WHIRLPOOL 907d9d86f1b0094b915989ca7f0feb4f67ac1b238a4c6d176ab1ef9164eff78778b2714ebedeb40de28536a8384b39ec7e637f1bb6911cccb40f7d8663811edb
diff --git a/gentoo/trinity-base/libkpimidentities/libkpimidentities-3.5.13.2.ebuild b/gentoo/trinity-base/libkpimidentities/libkpimidentities-3.5.13.2.ebuild
new file mode 100644
index 000000000..97e45e3a3
--- /dev/null
+++ b/gentoo/trinity-base/libkpimidentities/libkpimidentities-3.5.13.2.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdepim"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity PIM identities library"
+KEYWORDS="~amd64 ~x86"
+IUSE+=""
+
+COMMON_DEPEND=">=trinity-base/certmanager-${PV}:${SLOT}
+ >=trinity-base/libkdepim-${PV}:${SLOT}
+ >=trinity-base/libkmime-${PV}:${SLOT}"
+DEPEND+=" $COMMON_DEPEND"
+RDEPEND+=" $COMMON_DEPEND"
+
+TSM_EXTRACT_ALSO="libkdepim/ libemailfunctions/ libkmime/"
diff --git a/gentoo/trinity-base/libkpimidentities/libkpimidentities-9999.ebuild b/gentoo/trinity-base/libkpimidentities/libkpimidentities-9999.ebuild
new file mode 100644
index 000000000..d635315f2
--- /dev/null
+++ b/gentoo/trinity-base/libkpimidentities/libkpimidentities-9999.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdepim"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity PIM identities library"
+KEYWORDS=""
+IUSE+=""
+
+COMMON_DEPEND=">=trinity-base/certmanager-${PV}:${SLOT}
+ >=trinity-base/libtdepim-${PV}:${SLOT}
+ >=trinity-base/libkmime-${PV}:${SLOT}"
+DEPEND+=" $COMMON_DEPEND"
+RDEPEND+=" $COMMON_DEPEND"
+
+TSM_EXTRACT_ALSO="libtdepim/ libemailfunctions/ libkmime/"
diff --git a/gentoo/trinity-base/libkpimidentities/metadata.xml b/gentoo/trinity-base/libkpimidentities/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/libkpimidentities/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/libkscan/Manifest b/gentoo/trinity-base/libkscan/Manifest
new file mode 100644
index 000000000..f0ba54e9a
--- /dev/null
+++ b/gentoo/trinity-base/libkscan/Manifest
@@ -0,0 +1 @@
+DIST kdegraphics-3.5.13.1.tar.gz 7526074 SHA256 19bd36e261bb6c5d2c9c1eba5f736c642b48422d917d44e576835f7ebb44906b SHA512 693e5ad70dbb00c587e588acfb81fc9475c3a4dbc86f41d6053c0584c533349a7564e34b870cb7bbc57361ac539da6f7d7f1b002ac3cfe8b0201db3eeb9147dd WHIRLPOOL fd2c46c517b3a0293880eaf35967295485555b936d0f1e80e0f2c261a1164cfcc5c4b2d943a12c073914d33b59974cc2dd92a78414614caa10f46dd048d518b4
diff --git a/gentoo/trinity-base/libkscan/files/tdegraphics-libkscan-fix-name.patch b/gentoo/trinity-base/libkscan/files/tdegraphics-libkscan-fix-name.patch
new file mode 100644
index 000000000..5f7013f65
--- /dev/null
+++ b/gentoo/trinity-base/libkscan/files/tdegraphics-libkscan-fix-name.patch
@@ -0,0 +1,13 @@
+diff --git a/libkscan/CMakeLists.txt b/libkscan/CMakeLists.txt
+index b1c75eb..12ecff9 100644
+--- a/libkscan/CMakeLists.txt
++++ b/libkscan/CMakeLists.txt
+@@ -9,7 +9,7 @@
+ #
+ #################################################
+
+-project( libksane )
++project( libkscan )
+
+ include( ConfigureChecks.cmake )
+
diff --git a/gentoo/trinity-base/libkscan/libkscan-3.5.13.1.ebuild b/gentoo/trinity-base/libkscan/libkscan-3.5.13.1.ebuild
new file mode 100644
index 000000000..a8981d5f7
--- /dev/null
+++ b/gentoo/trinity-base/libkscan/libkscan-3.5.13.1.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdegraphics"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity scanner library"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="media-gfx/sane-backends"
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/tdegraphics-${PN}-fix-name.patch" )
diff --git a/gentoo/trinity-base/libkscan/libkscan-9999.ebuild b/gentoo/trinity-base/libkscan/libkscan-9999.ebuild
new file mode 100644
index 000000000..9a1d2f4b3
--- /dev/null
+++ b/gentoo/trinity-base/libkscan/libkscan-9999.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdegraphics"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity scanner library"
+KEYWORDS=
+IUSE=""
+
+DEPEND="media-gfx/sane-backends"
+RDEPEND="${DEPEND}"
diff --git a/gentoo/trinity-base/libkscan/metadata.xml b/gentoo/trinity-base/libkscan/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/libkscan/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/librss/Manifest b/gentoo/trinity-base/librss/Manifest
new file mode 100644
index 000000000..1d49700dc
--- /dev/null
+++ b/gentoo/trinity-base/librss/Manifest
@@ -0,0 +1 @@
+DIST kdenetwork-3.5.13.1.tar.gz 8794225 SHA256 21e69e8cb2550561c26913a5cccdc376115f50cffd43f9a94f7a660a303f46f9 SHA512 b3189a9f5e9cddd130b24a82b95ef90db1ec3c7afa280a46101ba7cbf6f9d92f60a536401f648a96459ba87f70ede5f7ae4affe894515a8e858b40ee79cb1b69 WHIRLPOOL de678ab30e3aa8dc3068c895fd000fdab1bc046e272273bf44196a198210efab82ddde3c5e0ffaa863061e9c56e3a8a68ca2f8f03cd77136755f66688f878c65
diff --git a/gentoo/trinity-base/librss/files/tdenetwork-fix-export-librss.patch b/gentoo/trinity-base/librss/files/tdenetwork-fix-export-librss.patch
new file mode 100644
index 000000000..e6c49a74d
--- /dev/null
+++ b/gentoo/trinity-base/librss/files/tdenetwork-fix-export-librss.patch
@@ -0,0 +1,21 @@
+diff --git a/librss/CMakeLists.txt b/librss/CMakeLists.txt
+index b16edfb..2456b38 100644
+--- a/librss/CMakeLists.txt
++++ b/librss/CMakeLists.txt
+@@ -9,6 +9,8 @@
+ #
+ #################################################
+
++project( librss )
++
+ include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+@@ -37,3 +39,7 @@ tde_add_library( rss SHARED AUTOMOC
+ LINK kio-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+ )
++
++##### install import cmake modules ###############
++
++tde_install_export( )
diff --git a/gentoo/trinity-base/librss/librss-3.5.13.1.ebuild b/gentoo/trinity-base/librss/librss-3.5.13.1.ebuild
new file mode 100644
index 000000000..985a171d2
--- /dev/null
+++ b/gentoo/trinity-base/librss/librss-3.5.13.1.ebuild
@@ -0,0 +1,13 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdenetwork"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity rss library"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+PATCHES=( "${FILESDIR}/tdenetwork-fix-export-librss.patch" )
diff --git a/gentoo/trinity-base/librss/librss-9999.ebuild b/gentoo/trinity-base/librss/librss-9999.ebuild
new file mode 100644
index 000000000..8ef1314b0
--- /dev/null
+++ b/gentoo/trinity-base/librss/librss-9999.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdenetwork"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity rss library"
+KEYWORDS=
+IUSE=""
diff --git a/gentoo/trinity-base/librss/metadata.xml b/gentoo/trinity-base/librss/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/librss/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/libtdegames/libtdegames-9999.ebuild b/gentoo/trinity-base/libtdegames/libtdegames-9999.ebuild
new file mode 100644
index 000000000..6ae1f34aa
--- /dev/null
+++ b/gentoo/trinity-base/libtdegames/libtdegames-9999.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdegames"
+
+inherit trinity-meta
+
+DESCRIPTION="Base library common to many Trinity games"
+KEYWORDS=""
+IUSE+=""
diff --git a/gentoo/trinity-base/libtdegames/metadata.xml b/gentoo/trinity-base/libtdegames/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/libtdegames/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/libtdenetwork/libtdenetwork-9999.ebuild b/gentoo/trinity-base/libtdenetwork/libtdenetwork-9999.ebuild
new file mode 100644
index 000000000..4d7667f6e
--- /dev/null
+++ b/gentoo/trinity-base/libtdenetwork/libtdenetwork-9999.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdepim"
+
+inherit trinity-meta
+
+DESCRIPTION="library common to many tdepim apps interacting to network"
+KEYWORDS=""
+IUSE+=""
+
+COMMON_DEPEND=">=app-crypt/gpgme-1.0.2"
+DEPEND+=" ${COMMON_DEPEND}"
+RDEPEND+=" ${COMMON_DEPEND}"
+
+TSM_EXTRACT_ALSO="libtdepim/"
diff --git a/gentoo/trinity-base/libtdenetwork/metadata.xml b/gentoo/trinity-base/libtdenetwork/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/libtdenetwork/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/libtdepim/libtdepim-9999.ebuild b/gentoo/trinity-base/libtdepim/libtdepim-9999.ebuild
new file mode 100644
index 000000000..0972cddf3
--- /dev/null
+++ b/gentoo/trinity-base/libtdepim/libtdepim-9999.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdepim"
+
+inherit trinity-meta
+
+DESCRIPTION="Common library for Trinity PIM applications."
+KEYWORDS=""
+IUSE+=""
+
+COMMON_DEPEND="
+ >=trinity-base/ktnef-${PV}:${SLOT}
+ >=trinity-base/libkmime-${PV}:${SLOT}
+ >=trinity-base/libkcal-${PV}:${SLOT}"
+DEPEND+=" ${COMMON_DEPEND}"
+RDEPEND+=" ${COMMON_DEPEND}"
+
+TSM_EXTRACT_ALSO="libemailfunctions/
+ pixmaps/
+ libkmime/kmime_util.h
+ libkcal/"
+
+src_prepare() {
+ trinity-meta_src_prepare
+ # Call Qt 3 designer
+ sed -i -e "s:\"designer\":\"${QTDIR}/bin/designer\":g" "${S}/libtdepim/kcmdesignerfields.cpp" || die "sed failed"
+}
diff --git a/gentoo/trinity-base/libtdepim/metadata.xml b/gentoo/trinity-base/libtdepim/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/libtdepim/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/lisa/Manifest b/gentoo/trinity-base/lisa/Manifest
new file mode 100644
index 000000000..1d49700dc
--- /dev/null
+++ b/gentoo/trinity-base/lisa/Manifest
@@ -0,0 +1 @@
+DIST kdenetwork-3.5.13.1.tar.gz 8794225 SHA256 21e69e8cb2550561c26913a5cccdc376115f50cffd43f9a94f7a660a303f46f9 SHA512 b3189a9f5e9cddd130b24a82b95ef90db1ec3c7afa280a46101ba7cbf6f9d92f60a536401f648a96459ba87f70ede5f7ae4affe894515a8e858b40ee79cb1b69 WHIRLPOOL de678ab30e3aa8dc3068c895fd000fdab1bc046e272273bf44196a198210efab82ddde3c5e0ffaa863061e9c56e3a8a68ca2f8f03cd77136755f66688f878c65
diff --git a/gentoo/trinity-base/lisa/files/lisa b/gentoo/trinity-base/lisa/files/lisa
new file mode 100644
index 000000000..eeeae68c7
--- /dev/null
+++ b/gentoo/trinity-base/lisa/files/lisa
@@ -0,0 +1,19 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+depend() {
+ use net
+}
+
+start() {
+ ebegin "Starting lisa"
+ start-stop-daemon --start -x _TDEDIR_/bin/lisa -q -- $LISACONF 1>/dev/null
+ eend $? "Failed to start lisa"
+}
+
+stop() {
+ ebegin "Stopping lisa"
+ start-stop-daemon --stop -x _TDEDIR_/bin/lisa -q
+ eend $? "Failed to stop lisa"
+}
diff --git a/gentoo/trinity-base/lisa/files/lisa-3.5.13.1-6f85c0c-fix-references-to-user-profile-directory.patch b/gentoo/trinity-base/lisa/files/lisa-3.5.13.1-6f85c0c-fix-references-to-user-profile-directory.patch
new file mode 100644
index 000000000..ea9dbbeba
--- /dev/null
+++ b/gentoo/trinity-base/lisa/files/lisa-3.5.13.1-6f85c0c-fix-references-to-user-profile-directory.patch
@@ -0,0 +1,52 @@
+diff --git a/lanbrowsing/lisa/README b/lanbrowsing/lisa/README
+index c6d5d1b..5b7c328 100644
+--- a/lanbrowsing/lisa/README
++++ b/lanbrowsing/lisa/README
+@@ -382,7 +382,7 @@ For reslisa the file is named reslisarc instead lisarc.
+ -u, --unix search at first for $HOME/.lisarc, then
+ for /etc/lisarc, this is the default behaviour
+
+--k, --kde1 search at first for $HOME/.kde/share/config/lisarc,
++-k, --kde1 search at first for $HOME/.trinity/share/config/lisarc,
+ then for $KDEDIR/share/config/lisarc
+
+ -K, --kde2 looks for the file lisarc in every directory
+diff --git a/lanbrowsing/lisa/main.cpp b/lanbrowsing/lisa/main.cpp
+index 7de5938..fd96d04 100644
+--- a/lanbrowsing/lisa/main.cpp
++++ b/lanbrowsing/lisa/main.cpp
+@@ -198,7 +198,7 @@ int main(int argc, char** argv)
+ "--kde1, --kde2 and --unix are not supported anymore.\n"\
+ "Lisa will always first look for $(HOME)/.lisarc , then for /etc/lisarc.\n"\
+ "If your lisa configuration file was created using an older version of \n"\
+- "the KDE control center, copy the /root/.kde/share/config/lisarc to /etc and \n"\
++ "the KDE control center, copy the /root/.trinity/share/config/lisarc to /etc and \n"\
+ "then start lisa without any command line options.\n"<<std::endl;
+ return 0;
+ break;
+diff --git a/lanbrowsing/lisa/netmanager.cpp b/lanbrowsing/lisa/netmanager.cpp
+index e652ce9..ad905e3 100644
+--- a/lanbrowsing/lisa/netmanager.cpp
++++ b/lanbrowsing/lisa/netmanager.cpp
+@@ -338,7 +338,7 @@ MyString NetManager::getConfigFileName()
+ /* else if (m_configStyle==KDE1CONFIGSTYLE)
+ {
+ tmpFilename=getenv("HOME");
+- tmpFilename+=MyString("/.kde/share/config/")+tmpBase;
++ tmpFilename+=MyString("/.trinity/share/config/")+tmpBase;
+ if (fileReadable(tmpFilename))
+ return tmpFilename;
+ tmpFilename=getenv("KDEDIR");
+diff --git a/lanbrowsing/lisa/strictmain.cpp b/lanbrowsing/lisa/strictmain.cpp
+index a948d6d..07f5b9b 100644
+--- a/lanbrowsing/lisa/strictmain.cpp
++++ b/lanbrowsing/lisa/strictmain.cpp
+@@ -187,7 +187,7 @@ int main(int argc, char** argv)
+ "--kde1, --kde2 and --unix are not supported anymore.\n"\
+ "ResLisa will always first look for $(HOME)/.reslisarc , then for /etc/reslisarc.\n"\
+ "If your lisa configuration file was created using an older version of \n"\
+- "the KDE control center, copy the $(HOME)/.kde/share/config/reslisarc to $(HOME)/.reslisarc.\n"<<std::endl;
++ "the KDE control center, copy the $(HOME)/.trinity/share/config/reslisarc to $(HOME)/.reslisarc.\n"<<std::endl;
+ break;
+
+ case 'c':
diff --git a/gentoo/trinity-base/lisa/files/lisa.conf b/gentoo/trinity-base/lisa/files/lisa.conf
new file mode 100644
index 000000000..bad3fa826
--- /dev/null
+++ b/gentoo/trinity-base/lisa/files/lisa.conf
@@ -0,0 +1,11 @@
+# Note: this is NOT the main lisa configuratio file. That is in /etc/lisarc.
+# This merely sets startup options for the gentoo lisa initscript.
+# Add anything you want to $LISACONF.
+
+# config file to use; overrides default
+# note that default checks /etc/lisarc and ~/.lisarc
+# LISACONF="$LISACONF --config=myfile"
+
+# port to use; overrides default of 7741
+# I think all lisas on the network have to use the same port
+# LISACONF="$LISACONF --port 7741" \ No newline at end of file
diff --git a/gentoo/trinity-base/lisa/files/reslisa b/gentoo/trinity-base/lisa/files/reslisa
new file mode 100644
index 000000000..dcb2c6560
--- /dev/null
+++ b/gentoo/trinity-base/lisa/files/reslisa
@@ -0,0 +1,19 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+depend() {
+ use net
+}
+
+start() {
+ ebegin "Starting reslisa"
+ start-stop-daemon --start -x _TDEDIR_/bin/reslisa -q -- 1>/dev/null
+ eend $? "Failed to start reslisa"
+}
+
+stop() {
+ ebegin "Stopping reslisa"
+ start-stop-daemon --stop -x _TDEDIR_/bin/reslisa -q
+ eend $? "Failed to stop reslisa"
+}
diff --git a/gentoo/trinity-base/lisa/files/reslisa.conf b/gentoo/trinity-base/lisa/files/reslisa.conf
new file mode 100644
index 000000000..0a74c6cae
--- /dev/null
+++ b/gentoo/trinity-base/lisa/files/reslisa.conf
@@ -0,0 +1,8 @@
+# Note: this is NOT the main reslisa configuratio file. That is in /etc/reslisarc.
+# This merely sets startup options for the gentoo reslisa initscript.
+# Add anything you want to $RESLISACONF.
+
+# config file to use; overrides default
+# note that default checks /etc/reslisarc and ~/.reslisarc
+# RESLISACONF="$RESLISACONF --config=myfile"
+
diff --git a/gentoo/trinity-base/lisa/lisa-3.5.13.1.ebuild b/gentoo/trinity-base/lisa/lisa-3.5.13.1.ebuild
new file mode 100644
index 000000000..56319dfb4
--- /dev/null
+++ b/gentoo/trinity-base/lisa/lisa-3.5.13.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdenetwork"
+TRINITY_SUBMODULE="lanbrowsing"
+inherit trinity-meta
+
+DESCRIPTION="Trinity Lan Information Server - allows to share information over a network."
+KEYWORDS="amd64 x86"
+IUSE=""
+
+PATCHES=(
+ "${FILESDIR}/lisa-3.5.13.1-6f85c0c-fix-references-to-user-profile-directory.patch" )
+
+src_install() {
+ trinity-meta_src_install
+
+ chmod u+s "${D}/${KDEDIR}/bin/reslisa"
+
+ # lisa, reslisa initscripts
+ sed -e "s:_TDEDIR_:${TDEDIR}:g" "${FILESDIR}/lisa" > "${T}/lisa"
+ sed -e "s:_TDEDIR_:${TDEDIR}:g" "${FILESDIR}/reslisa" > "${T}/reslisa"
+ doinitd "${T}/lisa" "${T}/reslisa"
+
+ newconfd "${FILESDIR}/lisa.conf" lisa
+ newconfd "${FILESDIR}/reslisa.conf" reslisa
+
+ echo '# Default lisa configfile' > "$D/etc/lisarc"
+ echo '# Default reslisa configfile' > "$D/etc/reslisarc"
+}
diff --git a/gentoo/trinity-base/lisa/lisa-9999.ebuild b/gentoo/trinity-base/lisa/lisa-9999.ebuild
new file mode 100644
index 000000000..4b01ce18e
--- /dev/null
+++ b/gentoo/trinity-base/lisa/lisa-9999.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdenetwork"
+TRINITY_SUBMODULE="lanbrowsing"
+inherit trinity-meta
+
+DESCRIPTION="Trinity Lan Information Server - allows to share information over a network."
+KEYWORDS=
+IUSE=""
+
+src_install() {
+ trinity-meta_src_install
+
+ chmod u+s "${D}/${KDEDIR}/bin/reslisa"
+
+ # lisa, reslisa initscripts
+ sed -e "s:_TDEDIR_:${TDEDIR}:g" "${FILESDIR}/lisa" > "${T}/lisa"
+ sed -e "s:_TDEDIR_:${TDEDIR}:g" "${FILESDIR}/reslisa" > "${T}/reslisa"
+ doinitd "${T}/lisa" "${T}/reslisa"
+
+ newconfd "${FILESDIR}/lisa.conf" lisa
+ newconfd "${FILESDIR}/reslisa.conf" reslisa
+
+ echo '# Default lisa configfile' > "$D/etc/lisarc"
+ echo '# Default reslisa configfile' > "$D/etc/reslisarc"
+}
diff --git a/gentoo/trinity-base/lisa/metadata.xml b/gentoo/trinity-base/lisa/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/lisa/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/noatun-plugins/metadata.xml b/gentoo/trinity-base/noatun-plugins/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/noatun-plugins/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/noatun-plugins/noatun-plugins-9999.ebuild b/gentoo/trinity-base/noatun-plugins/noatun-plugins-9999.ebuild
new file mode 100644
index 000000000..9e59012b7
--- /dev/null
+++ b/gentoo/trinity-base/noatun-plugins/noatun-plugins-9999.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdeaddons"
+
+inherit trinity-meta db-use
+
+DESCRIPTION="Various plugins for Noatun."
+KEYWORDS=""
+IUSE="arts sdl berkdb"
+
+COMMON_DEPEND="
+ >=trinity-base/noatun-${PV}:${SLOT}
+ arts? ( >=trinity-base/arts-${PV}:${SLOT} )
+ berkdb? ( =sys-libs/db-4*:= )
+"
+DEPEND="${COMMON_DEPEND}
+ sdl? ( >=media-libs/libsdl-1.2 )
+"
+
+RDEPEND="${COMMON_DEPEND}
+ sdl? ( >=media-libs/libsdl-1.2[X] )
+"
+
+src_compile() {
+ mycmakeargs=(
+ "-DWITH_ARTS=$(usex arts)"
+ "-DWITH_SDL=$(usex sdl)"
+ )
+
+ if use berkdb; then
+ mycmakeargs=( "${mycmakeargs[@]}"
+ "-DWITH_BERKELEY_DB=ON"
+ "-DBERKELEY_DB_LIBS=$(db_libname)"
+ "-DBERKELEY_DB_INCLUDE_DIRS==${ROOT}$(db_includedir)"
+ )
+ else
+ mycmakeargs=( "${mycmakeargs[@]}"
+ "-DWITH_BERKELEY_DB=OFF"
+ )
+ fi
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/nsplugins/Manifest b/gentoo/trinity-base/nsplugins/Manifest
new file mode 100644
index 000000000..381340c4b
--- /dev/null
+++ b/gentoo/trinity-base/nsplugins/Manifest
@@ -0,0 +1,2 @@
+DIST kdebase-3.5.13.1.tar.gz 29403228 SHA256 ddd4bd4b508ad027b9d1af2701c6ba64bfc9f8f1d32099e6dd5e7866714f759e SHA512 e1aac19c941a5f2b43a57928fdb43e5ebd646f49c60911d9d317550df96642870792c4e77ecd06e123244e2425ccd4bcb00f0a21011ba7e651d7fcf4553e79cf WHIRLPOOL 931debbf6a65c280221025dcbc02cbb3387b66eb72eddd28a510ee8f97075cd2cc96535dde25d0a32280c399e4a868e9c027772f5d28e7e79b7c1a9080c58034
+DIST kdebase-trinity-3.5.13.2.tar.xz 25890636 SHA256 b9d552226daff64437dfb9699669b95dd7ebc2ca7c43755ba71c10cc6c9ed789 SHA512 df545d44c7d4550d1d77ff6504572b622853c2b8d80062b1aee1a5bdca19f0e708cde35cff54cf2d5098f06a41bde0c89522a3958dea9bb18205dea87c11b797 WHIRLPOOL 79144273bc7985c59a593a3394b12a2053532d2c4c890ce96adad21f6de0413baf3c6270d6d06173ec4546b20d401aa0cc81603d01b8ee41dbdefc825b39b2b1
diff --git a/gentoo/trinity-base/nsplugins/files/shared b/gentoo/trinity-base/nsplugins/files/shared
new file mode 120000
index 000000000..ffc286806
--- /dev/null
+++ b/gentoo/trinity-base/nsplugins/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files \ No newline at end of file
diff --git a/gentoo/trinity-base/nsplugins/metadata.xml b/gentoo/trinity-base/nsplugins/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/nsplugins/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/nsplugins/nsplugins-3.5.13.1.ebuild b/gentoo/trinity-base/nsplugins/nsplugins-3.5.13.1.ebuild
new file mode 100644
index 000000000..09e96e263
--- /dev/null
+++ b/gentoo/trinity-base/nsplugins/nsplugins-3.5.13.1.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Netscape plugins support for Konqueror."
+KEYWORDS="x86 amd64"
+IUSE=""
+
+# CHECKME: dependencies
+DEPEND="x11-libs/libXt
+ =dev-libs/glib-2*"
+RDEPEND="${DEPEND}"
diff --git a/gentoo/trinity-base/nsplugins/nsplugins-3.5.13.2.ebuild b/gentoo/trinity-base/nsplugins/nsplugins-3.5.13.2.ebuild
new file mode 100644
index 000000000..f09033f94
--- /dev/null
+++ b/gentoo/trinity-base/nsplugins/nsplugins-3.5.13.2.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Netscape plugins support for Konqueror."
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+# CHECKME: dependencies
+DEPEND="x11-libs/libXt
+ =dev-libs/glib-2*"
+RDEPEND="${DEPEND}"
diff --git a/gentoo/trinity-base/nsplugins/nsplugins-9999.ebuild b/gentoo/trinity-base/nsplugins/nsplugins-9999.ebuild
new file mode 100644
index 000000000..325082890
--- /dev/null
+++ b/gentoo/trinity-base/nsplugins/nsplugins-9999.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Netscape plugins support for Konqueror."
+KEYWORDS=
+IUSE=""
+
+# CHECKME: dependencies
+DEPEND="x11-libs/libXt
+ =dev-libs/glib-2*"
+RDEPEND="${DEPEND}"
diff --git a/gentoo/trinity-base/renamedlg-plugins/metadata.xml b/gentoo/trinity-base/renamedlg-plugins/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/renamedlg-plugins/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/renamedlg-plugins/renamedlg-plugins-9999.ebuild b/gentoo/trinity-base/renamedlg-plugins/renamedlg-plugins-9999.ebuild
new file mode 100644
index 000000000..561b36aa3
--- /dev/null
+++ b/gentoo/trinity-base/renamedlg-plugins/renamedlg-plugins-9999.ebuild
@@ -0,0 +1,12 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdeaddons"
+TSM_EXTRACT="renamedlgplugins"
+
+inherit trinity-meta
+
+DESCRIPTION="renamedlg plugins for image and audio files"
+KEYWORDS=""
+IUSE+=""
diff --git a/gentoo/trinity-base/superkaramba/Manifest b/gentoo/trinity-base/superkaramba/Manifest
new file mode 100644
index 000000000..c59ac62b4
--- /dev/null
+++ b/gentoo/trinity-base/superkaramba/Manifest
@@ -0,0 +1,2 @@
+DIST kdeutils-3.5.13.1.tar.gz 2829393 SHA256 3e7ab07fe1bb3e7be7ac3a3796366c88d3b79a58af911546e2c65e32363db527 SHA512 48733e472d0f5da85ef8a32ed6db7fa5e61f0682e49842439e6ea38a1e407059bb35efffe41fc6ed1a718511fd5b2b2c8222d816a23500a4dcbca17461f9a3bd WHIRLPOOL 1488e0c44f60b4d5e397dd2cf93de048eae1b915d4b2b7b1cf27768946f5aae3b5bcc3971ee28b5fa6a57a0b94cca6db0866138b69ad74f1f7bb97cdaaebdbe2
+DIST kdeutils-trinity-3.5.13.2.tar.xz 2259232 SHA256 b2999b9ef39bb2f269b84fdf34a814b5a5599aae7d05538d0bf680c18fb334fa SHA512 f501aa4b61bf440e873eec96f09c0c24ad780db2f9f14b884001c04c04aafccb5afb2b492dcf4fc640f3ec35d86aa419d67936122648a986662cd7b7f4f8a2d8 WHIRLPOOL 49296006875250212f0fdeb0c90c4f69cf0aa7cfd38415e2f7b50bdf81754de64562df2400f4932a502adbe84b58be34cae6c029d68cc62d0e91de5158513239
diff --git a/gentoo/trinity-base/superkaramba/files/shared b/gentoo/trinity-base/superkaramba/files/shared
new file mode 120000
index 000000000..af62be31d
--- /dev/null
+++ b/gentoo/trinity-base/superkaramba/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files/ \ No newline at end of file
diff --git a/gentoo/trinity-base/superkaramba/metadata.xml b/gentoo/trinity-base/superkaramba/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/superkaramba/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/superkaramba/superkaramba-3.5.13.1.ebuild b/gentoo/trinity-base/superkaramba/superkaramba-3.5.13.1.ebuild
new file mode 100644
index 000000000..2885ed7cf
--- /dev/null
+++ b/gentoo/trinity-base/superkaramba/superkaramba-3.5.13.1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="A tool to create interactive applets for the Trinity desktop."
+KEYWORDS="x86 amd64"
+#FIXME: add xmms use
+IUSE=""
+
+# RDEPEND="xmms? (media-sound/xmms2)"
+
+src_configure() {
+ mycmakeargs=(
+# $(cmake-utils_use_with xmms XMMS )
+ "-DWITH_XMMS=ON"
+ "-DWITH_KNEWSTUFF=ON"
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/superkaramba/superkaramba-3.5.13.2.ebuild b/gentoo/trinity-base/superkaramba/superkaramba-3.5.13.2.ebuild
new file mode 100644
index 000000000..5df992050
--- /dev/null
+++ b/gentoo/trinity-base/superkaramba/superkaramba-3.5.13.2.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="A tool to create interactive applets for the Trinity desktop."
+KEYWORDS="~x86 ~amd64"
+#FIXME: add xmms use
+IUSE=""
+
+# RDEPEND="xmms? (media-sound/xmms2)"
+
+src_configure() {
+ mycmakeargs=(
+# $(cmake-utils_use_with xmms XMMS )
+ "-DWITH_XMMS=ON"
+ "-DWITH_KNEWSTUFF=ON"
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/superkaramba/superkaramba-9999.ebuild b/gentoo/trinity-base/superkaramba/superkaramba-9999.ebuild
new file mode 100644
index 000000000..2ae86f9a3
--- /dev/null
+++ b/gentoo/trinity-base/superkaramba/superkaramba-9999.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="A tool to create interactive applets for the Trinity desktop."
+KEYWORDS=""
+#FIXME: add xmms use
+IUSE=""
+
+# RDEPEND="xmms? (media-sound/xmms2)"
+
+src_configure() {
+ mycmakeargs=(
+# $(cmake-utils_use_with xmms XMMS )
+ "-DWITH_XMMS=ON"
+ "-DWITH_KNEWSTUFF=ON"
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/tde-i18n/metadata.xml b/gentoo/trinity-base/tde-i18n/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/tde-i18n/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/tde-i18n/tde-i18n-9999.ebuild b/gentoo/trinity-base/tde-i18n/tde-i18n-9999.ebuild
new file mode 100644
index 000000000..53f4a81f5
--- /dev/null
+++ b/gentoo/trinity-base/tde-i18n/tde-i18n-9999.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tde-i18n"
+
+inherit trinity-base cmake-utils l10n
+
+set-trinityver
+
+DESCRIPTION="Trinity internationalization package"
+HOMEPAGE="http://www.trinitydesktop.org/"
+LICENSE="GPL-2"
+
+SLOT="${TRINITY_VER}"
+KEYWORDS=""
+IUSE=""
+
+DEPEND=">=trinity-base/tdelibs-${PV}:${SLOT}"
+RDEPEND="${DEPEND}"
+
+PLOCALES="af ar az be bg bn br bs ca cs csb cy da de el en_GB eo es et
+eu fa fi fr fy ga gl he hi hr hu is it ja kk km ko lt lv mk mn ms
+nb nds nl nn pa pl pt pt_BR ro ru rw se sk sl sr sr@Latn ss sv ta te
+tg th tr uk uz uz@cyrillic vi wa zh_CN zh_TW"
+
+for X in ${LANGS} ; do
+ IUSE="${IUSE} linguas_${X}"
+done
+
+run_phase() {
+ local lang dir phase;
+ phase=$1
+ lang=$2
+
+ dir="tde-i18n-$lang"
+ pushd "$S/$dir" || die "No such dir: $dir"
+ CMAKE_USE_DIR="${S}/${dir}"
+ BUILD_DIR="${WORKDIR}/${dir}-build"
+ trinity-base_${phase}
+ popd
+}
+
+src_prepare() {
+ l10n_find_plocales_changes "${S}" "${PN}-" ""
+ l10n_for_each_locale_do run_phase src_prepare
+}
+
+src_configure() {
+ mycmakeargs=( -DBUILD_ALL=ON )
+ l10n_for_each_locale_do run_phase src_configure
+}
+
+src_compile() {
+ l10n_for_each_locale_do run_phase src_compile
+}
+
+src_install() {
+ l10n_for_each_locale_do run_phase src_install
+}
diff --git a/gentoo/trinity-base/tdeaddons-doc/metadata.xml b/gentoo/trinity-base/tdeaddons-doc/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/tdeaddons-doc/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/tdeaddons-doc/tdeaddons-doc-9999.ebuild b/gentoo/trinity-base/tdeaddons-doc/tdeaddons-doc-9999.ebuild
new file mode 100644
index 000000000..adf21c3fb
--- /dev/null
+++ b/gentoo/trinity-base/tdeaddons-doc/tdeaddons-doc-9999.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdeaddons"
+
+inherit trinity-meta
+
+DESCRIPTION="Documentaion for tdeaddons-derived packages"
+KEYWORDS=""
+IUSE+=""
+RDEPEND="
+ >=trinity-base/khelpcenter-${PV}:${SLOT}"
+
+pkg_setup() {
+ # we should reduce MAKEOPTS -j parametr to no more than 4
+ local makeopts_j
+ makeopts_j="$(echo "$MAKEOPTS" | sed -n 's/\(^\|.*\s\)\(-j\s*[0-9]\+\)\(\s.*\|$\)/\2/p')"
+ if [ -n "$makeopts_j" -a "$makeopts_j" > 4 ]; then
+ export MAKEOPTS="${MAKEOPTS//"${makeopts_j}"/-j4}"
+
+ ewarn "This ebuild needs huge amoumt of memmory to compile in highly parallel"
+ ewarn "mode so it can chew it all. MAKEOPTS are reduced to \"$MAKEOPTS\"."
+ fi
+
+ trinity-meta_pkg_setup
+}
diff --git a/gentoo/trinity-base/tdeaddons-meta/metadata.xml b/gentoo/trinity-base/tdeaddons-meta/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/tdeaddons-meta/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/tdeaddons-meta/tdeaddons-meta-9999.ebuild b/gentoo/trinity-base/tdeaddons-meta/tdeaddons-meta-9999.ebuild
new file mode 100644
index 000000000..b620da556
--- /dev/null
+++ b/gentoo/trinity-base/tdeaddons-meta/tdeaddons-meta-9999.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+
+inherit trinity-functions
+
+set-trinityver
+
+DESCRIPTION="tdeaddons metapackage - merge this to pull in all tdeaddons-derived packages"
+HOMEPAGE="http://www.trinitydesktop.org/"
+LICENSE="GPL-2 LGPL-2"
+
+SLOT="${TRINITY_VER}"
+IUSE=""
+KEYWORDS=
+
+RDEPEND="
+ >=trinity-apps/atlantikdesigner-${PV}:${SLOT}
+ >=trinity-base/tdeaddons-doc-${PV}:${SLOT}
+ >=trinity-base/kaddressbook-plugins-${PV}:${SLOT}
+ >=trinity-base/kate-plugins-${PV}:${SLOT}
+ >=trinity-base/kicker-applets-${PV}:${SLOT}
+ >=trinity-base/knewsticker-scripts-${PV}:${SLOT}
+ >=trinity-base/konq-plugins-${PV}:${SLOT}
+ >=trinity-base/ksig-${PV}:${SLOT}
+ >=trinity-base/renamedlg-plugins-${PV}:${SLOT}
+ >=trinity-base/tdeaddons-tdefile-plugins-${PV}:${SLOT}
+"
+# trinity-base/noatun-plugins masked due to missing dependency: noatun
diff --git a/gentoo/trinity-base/tdeaddons-tdefile-plugins/metadata.xml b/gentoo/trinity-base/tdeaddons-tdefile-plugins/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/tdeaddons-tdefile-plugins/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/tdeaddons-tdefile-plugins/tdeaddons-tdefile-plugins-9999.ebuild b/gentoo/trinity-base/tdeaddons-tdefile-plugins/tdeaddons-tdefile-plugins-9999.ebuild
new file mode 100644
index 000000000..832e752ea
--- /dev/null
+++ b/gentoo/trinity-base/tdeaddons-tdefile-plugins/tdeaddons-tdefile-plugins-9999.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdeaddons"
+
+inherit trinity-meta
+
+DESCRIPTION="Various basic tdefile plugins provided by tdeaddons"
+KEYWORDS=""
+IUSE+=""
diff --git a/gentoo/trinity-base/tdeartwork-emoticons/metadata.xml b/gentoo/trinity-base/tdeartwork-emoticons/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/tdeartwork-emoticons/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/tdeartwork-emoticons/tdeartwork-emoticons-9999.ebuild b/gentoo/trinity-base/tdeartwork-emoticons/tdeartwork-emoticons-9999.ebuild
new file mode 100644
index 000000000..bc7735cfd
--- /dev/null
+++ b/gentoo/trinity-base/tdeartwork-emoticons/tdeartwork-emoticons-9999.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdeartwork"
+
+inherit trinity-meta
+
+DESCRIPTION="EmotIcons (icons for things like smilies :-) for Trinity"
+KEYWORDS=
+IUSE=""
diff --git a/gentoo/trinity-base/tdeartwork-icewm-themes/metadata.xml b/gentoo/trinity-base/tdeartwork-icewm-themes/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/tdeartwork-icewm-themes/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/tdeartwork-icewm-themes/tdeartwork-icewm-themes-9999.ebuild b/gentoo/trinity-base/tdeartwork-icewm-themes/tdeartwork-icewm-themes-9999.ebuild
new file mode 100644
index 000000000..92d019ba9
--- /dev/null
+++ b/gentoo/trinity-base/tdeartwork-icewm-themes/tdeartwork-icewm-themes-9999.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdeartwork"
+
+inherit trinity-meta
+
+DESCRIPTION="Themes for IceWM from the Trinityartwork package."
+KEYWORDS=
+IUSE=""
+
+RDEPEND="$DEPEND
+ >=trinity-base/tdeartwork-twin-styles-${PV}:${SLOT}"
+
+pkg_postinst() {
+ elog "More IceWM themes are available installing x11-themes/icewm-themes"
+}
diff --git a/gentoo/trinity-base/tdeartwork-icon-themes/metadata.xml b/gentoo/trinity-base/tdeartwork-icon-themes/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/tdeartwork-icon-themes/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/tdeartwork-icon-themes/tdeartwork-icon-themes-9999.ebuild b/gentoo/trinity-base/tdeartwork-icon-themes/tdeartwork-icon-themes-9999.ebuild
new file mode 100644
index 000000000..d95d9852c
--- /dev/null
+++ b/gentoo/trinity-base/tdeartwork-icon-themes/tdeartwork-icon-themes-9999.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdeartwork"
+
+inherit trinity-meta
+KMMODULE="IconThemes"
+
+DESCRIPTION="Icon themes for Trinity"
+KEYWORDS=
+IUSE=""
+
+TSM_EXTRACT="IconThemes/"
+
+src_prepare() {
+ trinity-meta_src_prepare
+
+ # file collision with trinity-base/kicker-applets
+ # see: https://bugs.trinitydesktop.org/show_bug.cgi?id=1282
+ rm -f IconThemes/locolor/16x16/apps/ktimemon.png
+ rm -f IconThemes/locolor/32x32/apps/ktimemon.png
+}
diff --git a/gentoo/trinity-base/tdeartwork-kworldclock/metadata.xml b/gentoo/trinity-base/tdeartwork-kworldclock/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/tdeartwork-kworldclock/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/tdeartwork-kworldclock/tdeartwork-kworldclock-9999.ebuild b/gentoo/trinity-base/tdeartwork-kworldclock/tdeartwork-kworldclock-9999.ebuild
new file mode 100644
index 000000000..b7ccdee18
--- /dev/null
+++ b/gentoo/trinity-base/tdeartwork-kworldclock/tdeartwork-kworldclock-9999.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdeartwork"
+
+inherit trinity-meta
+
+DESCRIPTION="kworldclock from kdeartwork"
+KEYWORDS=
+IUSE=""
+
+RDEPEND="$DEPEND
+ >=trinity-base/kworldclock-${PV}:${SLOT}"
diff --git a/gentoo/trinity-base/tdeartwork-meta/metadata.xml b/gentoo/trinity-base/tdeartwork-meta/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/tdeartwork-meta/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/tdeartwork-meta/tdeartwork-meta-9999.ebuild b/gentoo/trinity-base/tdeartwork-meta/tdeartwork-meta-9999.ebuild
new file mode 100644
index 000000000..6f2721048
--- /dev/null
+++ b/gentoo/trinity-base/tdeartwork-meta/tdeartwork-meta-9999.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+
+inherit trinity-functions
+
+set-trinityver
+
+DESCRIPTION="tdeartwork meta package - merge this to pull in all tdeartwork-derived packages"
+HOMEPAGE="http://www.trinitydesktop.org/"
+LICENSE="GPL-2 LGPL-2"
+
+SLOT="$TRINITY_VER"
+KEYWORDS=
+IUSE=""
+
+RDEPEND="
+ >=trinity-base/tdeartwork-emoticons-${PV}:${SLOT}
+ >=trinity-base/tdeartwork-icon-themes-${PV}:${SLOT}
+ >=trinity-base/tdeartwork-icewm-themes-${PV}:${SLOT}
+ >=trinity-base/tdeartwork-tdescreensaver-${PV}:${SLOT}
+ >=trinity-base/tdeartwork-twin-styles-${PV}:${SLOT}
+ >=trinity-base/tdeartwork-kworldclock-${PV}:${SLOT}
+ >=trinity-base/tdeartwork-sounds-${PV}:${SLOT}
+ >=trinity-base/tdeartwork-styles-${PV}:${SLOT}
+ >=trinity-base/tdeartwork-wallpapers-${PV}:${SLOT}"
diff --git a/gentoo/trinity-base/tdeartwork-sounds/metadata.xml b/gentoo/trinity-base/tdeartwork-sounds/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/tdeartwork-sounds/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/tdeartwork-sounds/tdeartwork-sounds-9999.ebuild b/gentoo/trinity-base/tdeartwork-sounds/tdeartwork-sounds-9999.ebuild
new file mode 100644
index 000000000..6d1e0cfdd
--- /dev/null
+++ b/gentoo/trinity-base/tdeartwork-sounds/tdeartwork-sounds-9999.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdeartwork"
+
+inherit trinity-meta
+
+DESCRIPTION="Extra sound themes for Trinity"
+KEYWORDS=
+IUSE=""
diff --git a/gentoo/trinity-base/tdeartwork-styles/metadata.xml b/gentoo/trinity-base/tdeartwork-styles/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/tdeartwork-styles/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/tdeartwork-styles/tdeartwork-styles-9999.ebuild b/gentoo/trinity-base/tdeartwork-styles/tdeartwork-styles-9999.ebuild
new file mode 100644
index 000000000..5e7c6de95
--- /dev/null
+++ b/gentoo/trinity-base/tdeartwork-styles/tdeartwork-styles-9999.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdeartwork"
+
+inherit trinity-meta
+
+DESCRIPTION="Extra styles for Trinity"
+KEYWORDS=
+IUSE=""
diff --git a/gentoo/trinity-base/tdeartwork-tdescreensaver/metadata.xml b/gentoo/trinity-base/tdeartwork-tdescreensaver/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/tdeartwork-tdescreensaver/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/tdeartwork-tdescreensaver/tdeartwork-tdescreensaver-9999.ebuild b/gentoo/trinity-base/tdeartwork-tdescreensaver/tdeartwork-tdescreensaver-9999.ebuild
new file mode 100644
index 000000000..9afe27ef0
--- /dev/null
+++ b/gentoo/trinity-base/tdeartwork-tdescreensaver/tdeartwork-tdescreensaver-9999.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdeartwork"
+
+inherit trinity-meta
+
+DESCRIPTION="Extra screensavers for Trinity"
+KEYWORDS=""
+IUSE="opengl xscreensaver arts"
+
+DEPEND="
+ >=trinity-base/tdescreensaver-${PV}:${SLOT}
+ >=trinity-base/krootbacking-${PV}:${SLOT}
+ media-libs/libart_lgpl
+ opengl? ( virtual/opengl )
+ xscreensaver? ( x11-misc/xscreensaver )
+ arts? ( trinity-base/arts )"
+RDEPEND="$DEPEND"
+
+TSM_EXTRACT_ALSO="FindXscreensaver.cmake"
+
+src_configure() {
+ mycmakeargs=(
+ -DWITH_LIBART=ON
+ $(cmake-utils_use_with opengl OPENGL)
+ $(cmake-utils_use_with xscreensaver XSCREENSAVER)
+ $(cmake-utils_use_with arts ARTS)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/tdeartwork-twin-styles/metadata.xml b/gentoo/trinity-base/tdeartwork-twin-styles/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/tdeartwork-twin-styles/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/tdeartwork-twin-styles/tdeartwork-twin-styles-9999.ebuild b/gentoo/trinity-base/tdeartwork-twin-styles/tdeartwork-twin-styles-9999.ebuild
new file mode 100644
index 000000000..cca8c1a50
--- /dev/null
+++ b/gentoo/trinity-base/tdeartwork-twin-styles/tdeartwork-twin-styles-9999.ebuild
@@ -0,0 +1,13 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdeartwork"
+
+inherit trinity-meta
+DESCRIPTION="Window styles for Trinity"
+KEYWORDS=
+IUSE=""
+
+DEPEND=">=trinity-base/twin-${PV}:${SLOT}"
+RDEPEND="$DEPEND"
diff --git a/gentoo/trinity-base/tdeartwork-wallpapers/metadata.xml b/gentoo/trinity-base/tdeartwork-wallpapers/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/tdeartwork-wallpapers/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/tdeartwork-wallpapers/tdeartwork-wallpapers-9999.ebuild b/gentoo/trinity-base/tdeartwork-wallpapers/tdeartwork-wallpapers-9999.ebuild
new file mode 100644
index 000000000..6de05f9c5
--- /dev/null
+++ b/gentoo/trinity-base/tdeartwork-wallpapers/tdeartwork-wallpapers-9999.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdeartwork"
+
+inherit trinity-meta
+
+DESCRIPTION="Wallpapers from Trinity"
+KEYWORDS=
+IUSE=""
diff --git a/gentoo/trinity-base/tdebase-data/files/shared b/gentoo/trinity-base/tdebase-data/files/shared
new file mode 120000
index 000000000..ffc286806
--- /dev/null
+++ b/gentoo/trinity-base/tdebase-data/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files \ No newline at end of file
diff --git a/gentoo/trinity-base/tdebase-data/metadata.xml b/gentoo/trinity-base/tdebase-data/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/tdebase-data/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/tdebase-data/tdebase-data-9999.ebuild b/gentoo/trinity-base/tdebase-data/tdebase-data-9999.ebuild
new file mode 100644
index 000000000..856d4d1bc
--- /dev/null
+++ b/gentoo/trinity-base/tdebase-data/tdebase-data-9999.ebuild
@@ -0,0 +1,13 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdebase"
+
+inherit trinity-meta
+
+TRINITY_SUBMODULE="l10n pics applnk"
+
+DESCRIPTION="Icons, localization data and .desktop files from kdebase."
+KEYWORDS=
+IUSE=""
diff --git a/gentoo/trinity-base/tdebase-meta/metadata.xml b/gentoo/trinity-base/tdebase-meta/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/tdebase-meta/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/tdebase-meta/tdebase-meta-9999.ebuild b/gentoo/trinity-base/tdebase-meta/tdebase-meta-9999.ebuild
new file mode 100644
index 000000000..478ace289
--- /dev/null
+++ b/gentoo/trinity-base/tdebase-meta/tdebase-meta-9999.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+
+inherit trinity-functions
+
+set-trinityver
+
+DESCRIPTION="tdebase metapackage - merge this to pull in all tdebase-derived packages"
+HOMEPAGE="http://www.trinitydesktop.org/"
+LICENSE="GPL-2 LGPL-2"
+
+SLOT="$TRINITY_VER"
+KEYWORDS=
+IUSE=""
+
+RDEPEND=">=trinity-base/tdeinit-${PV}:${SLOT}
+ >=trinity-base/drkonqi-${PV}:${SLOT}
+ >=trinity-base/kappfinder-${PV}:${SLOT}
+ >=trinity-base/kate-${PV}:${SLOT}
+ >=trinity-base/kcheckpass-${PV}:${SLOT}
+ >=trinity-base/kcminit-${PV}:${SLOT}
+ >=trinity-base/kcontrol-${PV}:${SLOT}
+ >=trinity-base/kdcop-${PV}:${SLOT}
+ >=trinity-base/tdedebugdialog-${PV}:${SLOT}
+ >=trinity-base/tdepasswd-${PV}:${SLOT}
+ >=trinity-base/tdeprint-${PV}:${SLOT}
+ >=trinity-base/tdeeject-${PV}:${SLOT}
+ >=trinity-base/kdesktop-${PV}:${SLOT}
+ >=trinity-base/tdesu-${PV}:${SLOT}
+ >=trinity-base/kdialog-${PV}:${SLOT}
+ >=trinity-base/tdm-${PV}:${SLOT}
+ >=trinity-base/kfind-${PV}:${SLOT}
+ >=trinity-base/khelpcenter-${PV}:${SLOT}
+ >=trinity-base/khotkeys-${PV}:${SLOT}
+ >=trinity-base/kicker-${PV}:${SLOT}
+ >=trinity-base/tdebase-tdeioslaves-${PV}:${SLOT}
+ >=trinity-base/klipper-${PV}:${SLOT}
+ >=trinity-base/kmenuedit-${PV}:${SLOT}
+ >=trinity-base/konqueror-${PV}:${SLOT}
+ >=trinity-base/konsole-${PV}:${SLOT}
+ >=trinity-base/kpager-${PV}:${SLOT}
+ >=trinity-base/kpersonalizer-${PV}:${SLOT}
+ >=trinity-base/kreadconfig-${PV}:${SLOT}
+ >=trinity-base/tdescreensaver-${PV}:${SLOT}
+ >=trinity-base/ksmserver-${PV}:${SLOT}
+ >=trinity-base/ksplashml-${PV}:${SLOT}
+ >=trinity-base/kstart-${PV}:${SLOT}
+ >=trinity-base/ksysguard-${PV}:${SLOT}
+ >=trinity-base/ksystraycmd-${PV}:${SLOT}
+ >=trinity-base/ktip-${PV}:${SLOT}
+ >=trinity-base/twin-${PV}:${SLOT}
+ >=trinity-base/kxkb-${PV}:${SLOT}
+ >=trinity-base/libkonq-${PV}:${SLOT}
+ >=trinity-base/nsplugins-${PV}:${SLOT}
+ >=trinity-base/knetattach-${PV}:${SLOT}
+ >=trinity-base/tdebase-data-${PV}:${SLOT}
+ >=trinity-base/tdebase-starttde-${PV}:${SLOT}
+ >=trinity-base/krootbacking-${PV}:${SLOT}
+ >=trinity-base/tqt3integration-${PV}:${SLOT}"
diff --git a/gentoo/trinity-base/tdebase-pam/files/tde-np.pam-6 b/gentoo/trinity-base/tdebase-pam/files/tde-np.pam-6
new file mode 100644
index 000000000..5e4f50365
--- /dev/null
+++ b/gentoo/trinity-base/tdebase-pam/files/tde-np.pam-6
@@ -0,0 +1,10 @@
+#%PAM-1.0
+
+auth required pam_nologin.so
+auth required pam_permit.so
+
+account include system-auth
+
+password include system-auth
+
+session include system-auth
diff --git a/gentoo/trinity-base/tdebase-pam/files/tde.pam-7 b/gentoo/trinity-base/tdebase-pam/files/tde.pam-7
new file mode 100644
index 000000000..5dde13033
--- /dev/null
+++ b/gentoo/trinity-base/tdebase-pam/files/tde.pam-7
@@ -0,0 +1,10 @@
+#%PAM-1.0
+
+auth required pam_nologin.so
+auth include system-auth
+
+account include system-auth
+
+password include system-auth
+
+session include system-auth
diff --git a/gentoo/trinity-base/tdebase-pam/metadata.xml b/gentoo/trinity-base/tdebase-pam/metadata.xml
new file mode 100644
index 000000000..81b310d3e
--- /dev/null
+++ b/gentoo/trinity-base/tdebase-pam/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ <description>The maintainer of the package in the overlay, please don't report bugs to the gnome team.</description>
+</maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/tdebase-pam/tdebase-pam-7.ebuild b/gentoo/trinity-base/tdebase-pam/tdebase-pam-7.ebuild
new file mode 100644
index 000000000..feba3b90a
--- /dev/null
+++ b/gentoo/trinity-base/tdebase-pam/tdebase-pam-7.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit pam
+
+DESCRIPTION="pam.d files used by several Trinity components."
+HOMEPAGE="http://www.trinitydesktop.org/"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND="virtual/pam"
+RDEPEND="${DEPEND}"
+
+src_install() {
+ newpamd "${FILESDIR}/tde.pam-${PV}" tde
+ newpamd "${FILESDIR}/tde-np.pam-6" tde-np
+}
diff --git a/gentoo/trinity-base/tdebase-starttde/files/agent-shutdown.sh b/gentoo/trinity-base/tdebase-starttde/files/agent-shutdown.sh
new file mode 100644
index 000000000..07cf74772
--- /dev/null
+++ b/gentoo/trinity-base/tdebase-starttde/files/agent-shutdown.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+#
+# This file is executed at kde shutdown.
+# Uncomment the following lines to kill the agents
+# that were started at session startup.
+
+#if [ -n "${GPG_AGENT_INFO}" ]; then
+# kill $(echo ${GPG_AGENT_INFO} | cut -d':' -f 2) >/dev/null 2>&1
+#fi
+
+#if [ -n "${SSH_AGENT_PID}" ]; then
+# eval "$(ssh-agent -s -k)"
+#fi
diff --git a/gentoo/trinity-base/tdebase-starttde/files/agent-startup.sh b/gentoo/trinity-base/tdebase-starttde/files/agent-startup.sh
new file mode 100644
index 000000000..4b99f6e8b
--- /dev/null
+++ b/gentoo/trinity-base/tdebase-starttde/files/agent-startup.sh
@@ -0,0 +1,29 @@
+# Agents startup file
+#
+# This file is sourced at kde startup, so that
+# the environment variables set here are available
+# throughout the session.
+
+# Uncomment the following lines to start gpg-agent
+# and/or ssh-agent at kde startup.
+# If you do so, do not forget to uncomment the respective
+# lines in KDEDIR/shutdown/agent-shutdown.sh to
+# properly kill the agents when the session ends.
+
+#if [ -x /usr/bin/gpg-agent ]; then
+# eval "$(/usr/bin/gpg-agent --daemon)"
+#fi
+
+#if [ -x /usr/bin/ssh-agent ]; then
+# eval "$(/usr/bin/ssh-agent -s)"
+#fi
+
+# Uncomment the following lines to start rxvt-unicode which has the ability to
+# run multiple terminals in one single process, thus starting up faster and
+# saving resources.
+# The --opendisplay ensures that the daemon quits when the X server terminates,
+# therefore we don't need matching lines in agent-shutdown.sh.
+
+#if [ -x /usr/bin/urxvtd ]; then
+# /usr/bin/urxvtd --opendisplay --fork --quiet
+#fi
diff --git a/gentoo/trinity-base/tdebase-starttde/files/kdebase-startkde-trinity-gentoo.patch b/gentoo/trinity-base/tdebase-starttde/files/kdebase-startkde-trinity-gentoo.patch
new file mode 100644
index 000000000..0d37eab5b
--- /dev/null
+++ b/gentoo/trinity-base/tdebase-starttde/files/kdebase-startkde-trinity-gentoo.patch
@@ -0,0 +1,46 @@
+--- startkde.orig 2011-09-19 14:54:22.812972431 +0400
++++ startkde 2011-09-19 15:02:54.050401619 +0400
+@@ -9,6 +9,15 @@
+ # because we still need to do some cleanup.
+ trap '[startkde] echo GOT SIGHUP' HUP
+
++# Gentoo: setup environment, filter other slotted KDE installs from PATH
++_KDEDIR=@REPLACE_PREFIX@
++#export KDEDIRS=${_KDEDIR}:/usr:/usr/local
++export PATH=${_KDEDIR}/bin:$(echo ${PATH} | sed 's/$/:/g;s#/usr/kde/[^/]*/s\?bin/\?:##g;s/:$//g')
++export ROOTPATH=${_KDEDIR}/sbin:${_KDEDIR}/bin:$(echo ${PATH} | sed 's/$/:/g;s#/usr/kde/[^/]*/s\?bin/\?:##g;s/:$//g')
++export LDPATH=@REPLACE_LIBS@:${LDPATH}
++export XDG_DATA_DIRS=${_KDEDIR}/share:$(echo ${XDG_DATA_DIRS} | sed 's/$/:/g;s#/usr/kde/[^/]*/share/\?:##g;s/:$//g')
++# Gentoo part ends
++
+ # Check if a KDE session is already running.
+ if kcheckrunning >/dev/null 2>&1; then
+ echo "[startkde] KDE seems to be already running on this display."
+@@ -340,6 +349,13 @@
+ done
+ done
+
++# Source scripts in /etc/X11/xinit/xinitrc.d/ for system-level defined stuff
++if test -d "/etc/X11/xinit/xinitrc.d/"; then
++ for file in "/etc/X11/xinit/xinitrc.d/"*; do
++ test -x "$file" && . "$file"
++ done
++fi
++
+ # Activate the kde font directories.
+ #
+ # There are 4 directories that may be used for supplying fonts for KDE.
+@@ -593,7 +609,12 @@
+ # Clean up
+ kdeinit_shutdown
+ dcopserver_shutdown --wait
+-artsshell -q terminate
++
++# Terminate artsshell if it exists
++if [ -e ${_KDEDIR}/bin/artsshell ] ; then
++ artsshell -q terminate ;
++fi
++
+ # KDE4 support
+ if [ -f /usr/bin/kdeinit4_shutdown ]; then
+ kde4 kdeinit4_shutdown 2>/dev/null
diff --git a/gentoo/trinity-base/tdebase-starttde/files/shared b/gentoo/trinity-base/tdebase-starttde/files/shared
new file mode 120000
index 000000000..ffc286806
--- /dev/null
+++ b/gentoo/trinity-base/tdebase-starttde/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files \ No newline at end of file
diff --git a/gentoo/trinity-base/tdebase-starttde/files/tdebase-starttde-14-gentoo.patch b/gentoo/trinity-base/tdebase-starttde/files/tdebase-starttde-14-gentoo.patch
new file mode 100644
index 000000000..8d91f88ca
--- /dev/null
+++ b/gentoo/trinity-base/tdebase-starttde/files/tdebase-starttde-14-gentoo.patch
@@ -0,0 +1,32 @@
+--- starttde 2019-01-27 13:01:05.443907841 +0300
++++ starttde.gentoo 2019-01-27 13:01:48.203621371 +0300
+@@ -178,7 +178,7 @@
+
+ # Modify the following environment variables only as necessary.
+
+- if ! is_in_path PATH "$TDEDIR/games" ; then
++# if ! is_in_path PATH "$TDEDIR/games" ; then
+ # Respect the traditional path order. Don't blindly place $TDEDIR/games
+ # first in the path. Only place $TDEDIR/games before /usr/games. If packagers
+ # are adding $TDEDIR/games elsewhere, then they need to ensure the traditional
+@@ -190,9 +190,9 @@
+ else
+ export PATH=$TDEDIR/games:$PATH
+ fi
+- fi
++# fi
+
+- if ! is_in_path PATH "$TDEDIR/bin" ]; then
++# if ! is_in_path PATH "$TDEDIR/bin" ]; then
+ # Respect the traditional path order. Don't blindly place $TDEDIR/bin
+ # first in the path. Only place $TDEDIR/bin before /usr/bin. This order is
+ # consistent with tdelibs/tdesu/stub.cpp. If packagers are adding $TDEDIR/bin
+@@ -204,7 +204,7 @@
+ else
+ export PATH=$TDEDIR/bin:$PATH
+ fi
+- fi
++# fi
+
+ if [ -x /usr/bin/manpath ]; then
+ if [ "`manpath 2>/dev/null | grep \"$TDEDIR/share/man\"`" = "" ]; then
diff --git a/gentoo/trinity-base/tdebase-starttde/metadata.xml b/gentoo/trinity-base/tdebase-starttde/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/tdebase-starttde/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/tdebase-starttde/tdebase-starttde-9999.ebuild b/gentoo/trinity-base/tdebase-starttde/tdebase-starttde-9999.ebuild
new file mode 100644
index 000000000..f3b8d3f1c
--- /dev/null
+++ b/gentoo/trinity-base/tdebase-starttde/tdebase-starttde-9999.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="starttde script, which starts a complete Trinity session, and associated scripts"
+KEYWORDS=
+IUSE=""
+
+RDEPEND="x11-apps/xmessage
+ x11-apps/xsetroot
+ x11-apps/xset
+ x11-apps/xrandr
+ x11-apps/mkfontdir
+ x11-apps/xprop
+ >=trinity-base/kdesktop-${PV}:${SLOT}
+ >=trinity-base/kcminit-${PV}:${SLOT}
+ >=trinity-base/ksmserver-${PV}:${SLOT}
+ >=trinity-base/twin-${PV}:${SLOT}
+ >=trinity-base/kpersonalizer-${PV}:${SLOT}
+ >=trinity-base/kreadconfig-${PV}:${SLOT}
+ >=trinity-base/ksplashml-${PV}:${SLOT}
+ >=trinity-base/tdeinit-${PV}:${SLOT}"
+
+TSM_EXTRACT="starttde README.pam INSTALL AUTHORS COPYING COPYING-DOCS tdm"
+
+PATCHES=( "$FILESDIR/${PN}-14-gentoo.patch")
+
+src_prepare() {
+# epatch "${FILESDIR}/tdebase-starttde-trinity-gentoo.patch"
+
+ trinity-base_src_prepare
+}
+
+src_configure() {
+ echo -n "";
+}
+
+src_compile() {
+ # Patch the starttde script to setup the environment for KDE 4.0
+ # Add our TDEDIR
+ sed -i -e "s#@REPLACE_PREFIX@#${TDEDIR}#" \
+ "${S}/starttde" || die "Sed for PREFIX failed."
+
+ # List all the multilib libdirs
+ local _libdir _libdirs
+ for _libdir in $(get_all_libdirs); do
+ _libdirs="${_libdirs}:${PREFIX}/${_libdir}"
+ done
+ _libdirs=${_libdirs#:}
+
+ # Complete LDPATH
+ sed -i -e "s#@REPLACE_LIBS@#${_libdirs}#" \
+ "${S}/starttde" || die "Sed for LDPATH failed."
+}
+
+src_install() {
+ # starttde script
+ exeinto "${TDEDIR}/bin"
+ doexe starttde
+ doexe r14-xdg-update
+ doexe migratekde3
+
+ # startup and shutdown scripts
+ exeinto "${TDEDIR}/env"
+ doexe "${FILESDIR}/agent-startup.sh"
+
+ exeinto "${TDEDIR}/shutdown"
+ doexe "${FILESDIR}/agent-shutdown.sh"
+
+ # x11 session script
+ cat <<EOF > "${T}/tde-${SLOT}"
+#!/bin/sh
+exec ${TDEDIR}/bin/starttde
+EOF
+ exeinto /etc/X11/Sessions
+ doexe "${T}/tde-${SLOT}" # FIXME: change script branding to trinity
+
+ # (not really) freedesktop compliant session script
+ sed -e "s:@TDE_BINDIR@:${TDEDIR}/bin:g;s:Name=Trinity:Name=Trinity ${SLOT}:" \
+ "${S}/tdm/kfrontend/sessions/tde.desktop.in" > "${T}/tde-${SLOT}.desktop"
+ insinto /usr/share/xsessions
+ doins "${T}/tde-${SLOT}.desktop"
+}
+
+pkg_postinst () {
+ echo
+ elog "To enable gpg-agent and/or ssh-agent in Trinity sessions,"
+ elog "edit ${TDEDIR}/env/agent-startup.sh and"
+ elog "${TDEDIR}/shutdown/agent-shutdown.sh"
+ echo
+}
diff --git a/gentoo/trinity-base/tdebase-tdeioslaves/files/shared b/gentoo/trinity-base/tdebase-tdeioslaves/files/shared
new file mode 120000
index 000000000..ffc286806
--- /dev/null
+++ b/gentoo/trinity-base/tdebase-tdeioslaves/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files \ No newline at end of file
diff --git a/gentoo/trinity-base/tdebase-tdeioslaves/metadata.xml b/gentoo/trinity-base/tdebase-tdeioslaves/metadata.xml
new file mode 100644
index 000000000..f0df6a0d7
--- /dev/null
+++ b/gentoo/trinity-base/tdebase-tdeioslaves/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+ <use>
+ <flag name="tdehw">Use tdehwlib backend for media mount</flag>
+ </use>
+ <longdescription>
+ kioslaves is the Trinity VFS framework which plugins present a filesystem-like view of arbitrary data.
+ This package provides most generic KIOslaves provided by kdebase.
+ </longdescription>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/tdebase-tdeioslaves/tdebase-tdeioslaves-9999.ebuild b/gentoo/trinity-base/tdebase-tdeioslaves/tdebase-tdeioslaves-9999.ebuild
new file mode 100644
index 000000000..4c205c94f
--- /dev/null
+++ b/gentoo/trinity-base/tdebase-tdeioslaves/tdebase-tdeioslaves-9999.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdebase"
+
+inherit trinity-meta
+
+TSM_EXTRACT="tdeioslave"
+
+DESCRIPTION="Generic Trinity KIOslaves"
+KEYWORDS=
+IUSE="samba ldap sasl openexr -hal +tdehw"
+REQUIRED_USE="tdehw? ( !hal )"
+
+DEPEND="
+ x11-libs/libXcursor
+ openexr? ( >=media-libs/openexr-1.2.2-r2 )
+ samba? ( net-fs/samba )
+ ldap? ( net-nds/openldap )
+ sasl? ( dev-libs/cyrus-sasl )
+ hal? ( dev-libs/dbus-tqt
+ =sys-apps/hal-0.5* )"
+
+RDEPEND="${DEPEND}"
+# CHECKME: optional dependencies
+#DEPEND="
+# >=dev-libs/cyrus-sasl-2
+# hal? ( dev-libs/dbus-qt3-old =sys-apps/hal-0.5* )"
+# x11-apps/xhost
+RDEPEND="${DEPEND}
+ virtual/ssh
+ trinity-base/tdeeject:${SLOT}"
+
+src_configure() {
+ mycmakeargs=(
+ -DWITH_XCURSOR=ON
+ $(cmake-utils_use_with samba SAMBA)
+ $(cmake-utils_use_with ldap LDAP)
+ $(cmake-utils_use_with sasl SASL)
+ $(cmake-utils_use_with openexr OPENEXR)
+ $(cmake-utils_use_with hal HAL)
+ $(cmake-utils_use_with tdehw TDEHWLIB)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/tdedebugdialog/metadata.xml b/gentoo/trinity-base/tdedebugdialog/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/tdedebugdialog/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/tdedebugdialog/tdedebugdialog-9999.ebuild b/gentoo/trinity-base/tdedebugdialog/tdedebugdialog-9999.ebuild
new file mode 100644
index 000000000..a7c865150
--- /dev/null
+++ b/gentoo/trinity-base/tdedebugdialog/tdedebugdialog-9999.ebuild
@@ -0,0 +1,12 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="A Trinity dialog box for setting preferences for debug output."
+KEYWORDS=
+IUSE=""
+RDEPEND+=" !trinity-base/kdebugdialog:${SLOT}"
diff --git a/gentoo/trinity-base/tdednssd/metadata.xml b/gentoo/trinity-base/tdednssd/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/tdednssd/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/tdednssd/tdednssd-9999.ebuild b/gentoo/trinity-base/tdednssd/tdednssd-9999.ebuild
new file mode 100644
index 000000000..1ee37a508
--- /dev/null
+++ b/gentoo/trinity-base/tdednssd/tdednssd-9999.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdenetwork"
+
+inherit trinity-meta
+
+DESCRIPTION="A DNSSD (DNS Service Discovery - part of Rendezvous) ioslave and kded module"
+KEYWORDS=
+IUSE=""
diff --git a/gentoo/trinity-base/tdeeject/metadata.xml b/gentoo/trinity-base/tdeeject/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/tdeeject/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/tdeeject/tdeeject-9999.ebuild b/gentoo/trinity-base/tdeeject/tdeeject-9999.ebuild
new file mode 100644
index 000000000..21c01ccbe
--- /dev/null
+++ b/gentoo/trinity-base/tdeeject/tdeeject-9999.ebuild
@@ -0,0 +1,15 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity eject frontend"
+KEYWORDS=
+IUSE=""
+
+DEPEND="trinity-base/kdialog:${SLOT}"
+RDEPEND="${DEPEND}
+ virtual/eject"
diff --git a/gentoo/trinity-base/tdegames-doc/metadata.xml b/gentoo/trinity-base/tdegames-doc/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/tdegames-doc/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/tdegames-doc/tdegames-doc-9999.ebuild b/gentoo/trinity-base/tdegames-doc/tdegames-doc-9999.ebuild
new file mode 100644
index 000000000..36295dd47
--- /dev/null
+++ b/gentoo/trinity-base/tdegames-doc/tdegames-doc-9999.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdegames"
+
+inherit trinity-meta
+
+DESCRIPTION="Documentaion for tdegames-derived packages"
+KEYWORDS=""
+IUSE+=""
+RDEPEND="
+ >=trinity-base/khelpcenter-${PV}:${SLOT}"
+
+pkg_setup() {
+ # we should reduce MAKEOPTS -j parametr to no more than 4
+ local makeopts_j
+ makeopts_j="$(echo "$MAKEOPTS" | sed -n 's/\(^\|.*\s\)\(-j\s*[0-9]\+\)\(\s.*\|$\)/\2/p')"
+ if [ -n "$makeopts_j" -a "$makeopts_j" > 4 ]; then
+ export MAKEOPTS="${MAKEOPTS//"${makeopts_j}"/-j4}"
+
+ ewarn "This ebuild needs huge amoumt of memmory to compile in highly parallel"
+ ewarn "mode so it can chew it all. MAKEOPTS are reduced to \"$MAKEOPTS\"."
+ fi
+
+ trinity-meta_pkg_setup
+}
diff --git a/gentoo/trinity-base/tdegames-meta/metadata.xml b/gentoo/trinity-base/tdegames-meta/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/tdegames-meta/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/tdegames-meta/tdegames-meta-9999.ebuild b/gentoo/trinity-base/tdegames-meta/tdegames-meta-9999.ebuild
new file mode 100644
index 000000000..64768c450
--- /dev/null
+++ b/gentoo/trinity-base/tdegames-meta/tdegames-meta-9999.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+
+inherit trinity-functions
+
+set-trinityver
+
+DESCRIPTION="kdegraphics metapackage - merge this to pull in all kdegraphics-derived packages"
+HOMEPAGE="http://www.trinitydesktop.org/"
+LICENSE="GPL-2 LGPL-2"
+
+SLOT="${TRINITY_VER}"
+IUSE=""
+KEYWORDS=
+
+RDEPEND="
+ >=trinity-apps/atlantik-${PV}:${SLOT}
+ >=trinity-base/tdegames-doc-${PV}:${SLOT}
+ >=trinity-apps/kasteroids-${PV}:${SLOT}
+ >=trinity-apps/katomic-${PV}:${SLOT}
+ >=trinity-apps/kbackgammon-${PV}:${SLOT}
+ >=trinity-apps/kbattleship-${PV}:${SLOT}
+ >=trinity-apps/kblackbox-${PV}:${SLOT}
+ >=trinity-apps/kbounce-${PV}:${SLOT}
+ >=trinity-apps/kenolaba-${PV}:${SLOT}
+ >=trinity-apps/kfouleggs-${PV}:${SLOT}
+ >=trinity-apps/kgoldrunner-${PV}:${SLOT}
+ >=trinity-apps/kjumpingcube-${PV}:${SLOT}
+ >=trinity-apps/klickety-${PV}:${SLOT}
+ >=trinity-apps/klines-${PV}:${SLOT}
+ >=trinity-apps/kmahjongg-${PV}:${SLOT}
+ >=trinity-apps/kmines-${PV}:${SLOT}
+ >=trinity-apps/knetwalk-${PV}:${SLOT}
+ >=trinity-apps/kolf-${PV}:${SLOT}
+ >=trinity-apps/konquest-${PV}:${SLOT}
+ >=trinity-apps/kpat-${PV}:${SLOT}
+ >=trinity-apps/kpoker-${PV}:${SLOT}
+ >=trinity-apps/kreversi-${PV}:${SLOT}
+ >=trinity-apps/ksame-${PV}:${SLOT}
+ >=trinity-apps/kshisen-${PV}:${SLOT}
+ >=trinity-apps/ksirtet-${PV}:${SLOT}
+ >=trinity-apps/ksmiletris-${PV}:${SLOT}
+ >=trinity-apps/ksnake-${PV}:${SLOT}
+ >=trinity-apps/ksokoban-${PV}:${SLOT}
+ >=trinity-apps/kspaceduel-${PV}:${SLOT}
+ >=trinity-apps/ktron-${PV}:${SLOT}
+ >=trinity-apps/ktuberling-${PV}:${SLOT}
+ >=trinity-base/libtdegames-${PV}:${SLOT}
+ >=trinity-apps/lskat-${PV}:${SLOT}
+ >=trinity-apps/twin4-${PV}:${SLOT}"
diff --git a/gentoo/trinity-base/tdegraphics-doc/metadata.xml b/gentoo/trinity-base/tdegraphics-doc/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/tdegraphics-doc/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/tdegraphics-doc/tdegraphics-doc-9999.ebuild b/gentoo/trinity-base/tdegraphics-doc/tdegraphics-doc-9999.ebuild
new file mode 100644
index 000000000..847974efa
--- /dev/null
+++ b/gentoo/trinity-base/tdegraphics-doc/tdegraphics-doc-9999.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdegraphics"
+
+inherit trinity-meta
+
+DESCRIPTION="Documentaion for kdegraphics-derived packages"
+KEYWORDS=
+IUSE=""
+RDEPEND="
+ >=trinity-base/khelpcenter-${PV}:${SLOT}"
+
+pkg_setup() {
+ # we should reduce MAKEOPTS -j parametr to no more than 4
+ local makeopts_j
+ makeopts_j="$(echo "$MAKEOPTS" | sed -n 's/\(^\|.*\s\)\(-j\s*[0-9]\+\)\(\s.*\|$\)/\2/p')"
+ if [ -n "$makeopts_j" -a "$makeopts_j" > 4 ]; then
+ export MAKEOPTS="${MAKEOPTS//"${makeopts_j}"/-j4}"
+
+ ewarn "This ebuild needs huge amoumt of memmory to compile in highly parallel"
+ ewarn "mode so it can chew it all. MAKEOPTS are reduced to \"$MAKEOPTS\"."
+ fi
+
+ trinity-meta_pkg_setup
+}
diff --git a/gentoo/trinity-base/tdegraphics-meta/metadata.xml b/gentoo/trinity-base/tdegraphics-meta/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/tdegraphics-meta/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/tdegraphics-meta/tdegraphics-meta-9999.ebuild b/gentoo/trinity-base/tdegraphics-meta/tdegraphics-meta-9999.ebuild
new file mode 100644
index 000000000..565190d3d
--- /dev/null
+++ b/gentoo/trinity-base/tdegraphics-meta/tdegraphics-meta-9999.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+
+inherit trinity-functions
+
+set-trinityver
+
+DESCRIPTION="kdegraphics metapackage - merge this to pull in all kdegraphics-derived packages"
+HOMEPAGE="http://www.trinitydesktop.org/"
+LICENSE="GPL-2 LGPL-2"
+
+SLOT="${TRINITY_VER}"
+IUSE=""
+[[ ${PV} == *9999* ]] || \
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ >=trinity-base/kamera-${PV}:${SLOT}
+ >=trinity-base/kcoloredit-${PV}:${SLOT}
+ >=trinity-base/kdvi-${PV}:${SLOT}
+ >=trinity-base/kfax-${PV}:${SLOT}
+ >=trinity-base/tdegraphics-tdefile-plugins-${PV}:${SLOT}
+ >=trinity-base/tdegraphics-doc-${PV}:${SLOT}
+ >=trinity-base/kgamma-${PV}:${SLOT}
+ >=trinity-base/kghostview-${PV}:${SLOT}
+ >=trinity-base/tdeiconedit-${PV}:${SLOT}
+ >=trinity-base/kmrml-${PV}:${SLOT}
+ >=trinity-base/kolourpaint-${PV}:${SLOT}
+ >=trinity-base/kooka-${PV}:${SLOT}
+ >=trinity-base/kpdf-${PV}:${SLOT}
+ >=trinity-base/kpovmodeler-${PV}:${SLOT}
+ >=trinity-base/kruler-${PV}:${SLOT}
+ >=trinity-base/ksnapshot-${PV}:${SLOT}
+ >=trinity-base/ksvg-${PV}:${SLOT}
+ >=trinity-base/kuickshow-${PV}:${SLOT}
+ >=trinity-base/kview-${PV}:${SLOT}
+ >=trinity-base/kviewshell-${PV}:${SLOT}
+ >=trinity-base/libkscan-${PV}:${SLOT}"
diff --git a/gentoo/trinity-base/tdegraphics-tdefile-plugins/metadata.xml b/gentoo/trinity-base/tdegraphics-tdefile-plugins/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/tdegraphics-tdefile-plugins/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/tdegraphics-tdefile-plugins/tdegraphics-tdefile-plugins-9999.ebuild b/gentoo/trinity-base/tdegraphics-tdefile-plugins/tdegraphics-tdefile-plugins-9999.ebuild
new file mode 100644
index 000000000..3655a5629
--- /dev/null
+++ b/gentoo/trinity-base/tdegraphics-tdefile-plugins/tdegraphics-tdefile-plugins-9999.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdegraphics"
+
+inherit trinity-meta
+
+DESCRIPTION="kfile plugins from kdegraphics"
+KEYWORDS=
+IUSE="tiff openexr pdf"
+
+DEPEND="
+ tiff? ( media-libs/tiff:= )
+ openexr? ( >=media-libs/openexr-1.2.2-r2 )
+ pdf? ( app-text/poppler )"
+RDEPEND="$DEPEND"
+
+TSM_EXTRACT_ALSO="kghostview/dscparse/"
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_with tiff TIFF)
+ $(cmake-utils_use_with openexr OPENEXR)
+ $(cmake-utils_use_with pdf PDF)
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/tdeiconedit/metadata.xml b/gentoo/trinity-base/tdeiconedit/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/tdeiconedit/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/tdeiconedit/tdeiconedit-9999.ebuild b/gentoo/trinity-base/tdeiconedit/tdeiconedit-9999.ebuild
new file mode 100644
index 000000000..cac6795e9
--- /dev/null
+++ b/gentoo/trinity-base/tdeiconedit/tdeiconedit-9999.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdegraphics"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity Icon Editor"
+KEYWORDS=
+IUSE=""
diff --git a/gentoo/trinity-base/tdeinit/files/shared b/gentoo/trinity-base/tdeinit/files/shared
new file mode 120000
index 000000000..ffc286806
--- /dev/null
+++ b/gentoo/trinity-base/tdeinit/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files \ No newline at end of file
diff --git a/gentoo/trinity-base/tdeinit/metadata.xml b/gentoo/trinity-base/tdeinit/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/tdeinit/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/tdeinit/tdeinit-9999.ebuild b/gentoo/trinity-base/tdeinit/tdeinit-9999.ebuild
new file mode 100644
index 000000000..2f7d0c5fd
--- /dev/null
+++ b/gentoo/trinity-base/tdeinit/tdeinit-9999.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity init binary particulary replacing funcs of the starttde script"
+KEYWORDS=
+IUSE=""
diff --git a/gentoo/trinity-base/tdelibs/metadata.xml b/gentoo/trinity-base/tdelibs/metadata.xml
new file mode 100644
index 000000000..2f5667853
--- /dev/null
+++ b/gentoo/trinity-base/tdelibs/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+ <use>
+ <flag name="sudo"> Use <pkg>app-admin/sudo</pkg> as a default program to
+ obtain root privileges.</flag>
+ <flag name="utempter">Records user logins. Useful on multi-user systems</flag>
+ <flag name="consolekit">Enable <pkg>sys-auth/consolekit</pkg> as tdehw backend</flag>
+ <flag name="old_udisks">Enable <pkg>sys-fs/udisks</pkg>:0 as tdehw backend</flag>
+ <flag name="udisks">Enable <pkg>sys-fs/udisks</pkg>:2 as tdehw backend</flag>
+ <flag name="upower">Enable <pkg>sys-power/upower</pkg> as tdehw backend</flag>
+ </use>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/tdelibs/tdelibs-9999.ebuild b/gentoo/trinity-base/tdelibs/tdelibs-9999.ebuild
new file mode 100644
index 000000000..1fc1863de
--- /dev/null
+++ b/gentoo/trinity-base/tdelibs/tdelibs-9999.ebuild
@@ -0,0 +1,143 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="$PN"
+
+inherit trinity-base multilib
+
+set-trinityver
+
+need-arts optional
+
+DESCRIPTION="Trinity libraries needed by all TDE programs."
+HOMEPAGE="http://www.trinitydesktop.org/"
+LICENSE="GPL-2 LGPL-2"
+SLOT="${TRINITY_VER}"
+KEYWORDS=
+IUSE+=" alsa avahi cups consolekit fam jpeg2k lua lzma networkmanager openexr
+ spell sudo tiff utempter upower udisks old_udisks xcomposite +xrandr"
+
+MY_DEPEND=">=dev-qt/tqtinterface-${TRINITY_VER}
+ >=dev-libs/libxslt-1.1.16
+ >=dev-libs/libxml2-2.6.6
+ >=dev-libs/libpcre-6.6
+ net-dns/libidn
+ app-text/ghostscript-gpl
+ >=dev-libs/openssl-0.9.7d:=
+ media-libs/fontconfig
+ media-libs/freetype:2
+ media-libs/libart_lgpl
+ sys-apps/dbus
+ dev-libs/dbus-1-tqt
+ x11-libs/libXcursor
+ x11-libs/libXrender
+ alsa? ( media-libs/alsa-lib )
+ avahi? ( net-dns/avahi )
+ cups? ( >=net-print/cups-1.1.19 )
+ fam? ( virtual/fam )
+ jpeg2k? ( media-libs/jasper )
+ lua? ( dev-lang/lua:* )
+ openexr? ( >=media-libs/openexr-1.2.2-r2 )
+ spell? ( >=app-dicts/aspell-en-6.0.0 >=app-text/aspell-0.60.5 )
+ sudo? ( app-admin/sudo )
+ tiff? ( media-libs/tiff:= )
+ utempter? ( sys-libs/libutempter )
+ networkmanager? ( net-misc/networkmanager )
+ lzma? ( app-arch/xz-utils )
+ xrandr? ( >=x11-libs/libXrandr-1.2 )
+ xcomposite? ( x11-libs/libXcomposite )"
+# NOTE: upstream lacks avahi support, so the use flag is currenly masked
+# TODO: add elfres support via libr (not in portage now)
+DEPEND+=" ${MY_DEPEND}"
+RDEPEND+=" ${MY_DEPEND}
+ consolekit? ( sys-auth/consolekit )
+ upower? ( sys-power/upower )
+ udisks? ( sys-fs/udisks:2 )
+ old_udisks? ( sys-fs/udisks:0 )"
+
+src_configure() {
+ mycmakeargs=(
+ -DMALLOC_FULL=ON
+ -DWITH_LIBIDN=ON
+ -DWITH_SSL=ON
+ -DWITH_LIBART=ON
+ -DWITH_PCRE=ON
+ -DWITH_XCURSOR=ON
+ -DWITH_HSPELL=OFF
+ -DKDE4_DEFAULT_HOME=.kde4
+ $(cmake-utils_use_with alsa ALSA)
+ $(cmake-utils_use_with avahi AVAHI)
+ $(cmake-utils_use_with cups CUPS)
+ $(cmake-utils_use_with kernel_linux INOTIFY)
+ $(cmake-utils_use_with jpeg2k JASPER)
+ $(cmake-utils_use_with lua LUA)
+ $(cmake-utils_use_with lzma LZMA)
+ $(cmake-utils_use_with openexr OPENEXR)
+ $(cmake-utils_use_with spell ASPELL)
+ $(cmake-utils_use_with fam GAMIN)
+ $(cmake-utils_use_with tiff TIFF)
+ $(cmake-utils_use_with utempter UTEMPTER)
+ $(cmake-utils_use_with upower UPOWER)
+ $(cmake-utils_use_with old_udisks UDISKS)
+ $(cmake-utils_use_with udisks UDISKS2)
+ $(cmake-utils_use_with consolekit CONSOLEKIT)
+ $(cmake-utils_use_with networkmanager WITH_NETWORK_MANAGER_BACKEND)
+ $(cmake-utils_use_with xcomposite XCOMPOSITE)
+ $(cmake-utils_use_with xrandr XRANDR)
+ $(cmake-utils_use_with sudo SUDO_KDESU_BACKEND)
+ )
+
+ trinity-base_src_configure
+}
+
+src_install() {
+ trinity-base_src_install
+
+ dodir /etc/env.d
+ # KDE implies that the install path is listed first in TDEDIRS and the user
+ # directory (implicitly added) to be the last entry. Doing otherwise breaks
+ # certain functionality. Do not break this (once again *sigh*), but read the code.
+ # KDE saves the installed path implicitly and so this is not needed, /usr
+ # is set in ${TDEDIR}/share/config/kdeglobals and so TDEDIRS is not needed.
+
+ # List all the multilib libdirs
+ local libdirs pkgconfigdirs
+ for libdir in $(get_all_libdirs); do
+ libdirs="${TDEDIR}/${libdir}:${libdirs}"
+ done
+
+ cat <<EOF >"${D}/etc/env.d/45trinitypaths-${SLOT}" # number goes down with version upgrade
+PATH=${TDEDIR}/bin
+ROOTPATH=${TDEDIR}/sbin:${TDEDIR}/bin
+LDPATH=${libdirs#:}
+MANPATH=${TDEDIR}/share/man
+CONFIG_PROTECT="${TDEDIR}/share/config ${TDEDIR}/env ${TDEDIR}/shutdown /usr/share/config"
+#TDE_IS_PRELINKED=1
+# Excessive flushing to disk as in releases before KDE 3.5.10. Usually you don't want that.
+#TDE_EXTRA_FSYNC=1
+XDG_DATA_DIRS="${TDEDIR}/share"
+PKG_CONFIG_PATH="${TDEDIR}/$(get_libdir)/pkgconfig"
+EOF
+
+ # Make sure the target for the revdep-rebuild stuff exists. Fixes bug 184441.
+ dodir /etc/revdep-rebuild
+
+cat <<EOF >"${D}/etc/revdep-rebuild/50-trinity-${SLOT}"
+SEARCH_DIRS="${TDEDIR}/bin ${TDEDIR}/lib*"
+EOF
+
+ trinity-base_create_tmp_docfiles
+ trinity-base_install_docfiles
+}
+
+pkg_postinst () {
+ if use sudo; then
+ einfo "Remember sudo use flag sets only the defauld value"
+ einfo "It can be overriden on a user-level by adding:"
+ einfo " [super-user-command]"
+ einfo " super-user-command=su"
+ einfo "To the kdeglobal config file which is should be usually"
+ einfo "located in the ~/.trinity/share/config/ directory."
+ fi
+}
diff --git a/gentoo/trinity-base/tdelirc/metadata.xml b/gentoo/trinity-base/tdelirc/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/tdelirc/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/tdelirc/tdelirc-9999.ebuild b/gentoo/trinity-base/tdelirc/tdelirc-9999.ebuild
new file mode 100644
index 000000000..d3cca361f
--- /dev/null
+++ b/gentoo/trinity-base/tdelirc/tdelirc-9999.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="TDElirc - Trinity Frontend to lirc"
+KEYWORDS=""
+IUSE=""
diff --git a/gentoo/trinity-base/tdenetwork-doc/files/shared b/gentoo/trinity-base/tdenetwork-doc/files/shared
new file mode 120000
index 000000000..af62be31d
--- /dev/null
+++ b/gentoo/trinity-base/tdenetwork-doc/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files/ \ No newline at end of file
diff --git a/gentoo/trinity-base/tdenetwork-doc/metadata.xml b/gentoo/trinity-base/tdenetwork-doc/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/tdenetwork-doc/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/tdenetwork-doc/tdenetwork-doc-9999.ebuild b/gentoo/trinity-base/tdenetwork-doc/tdenetwork-doc-9999.ebuild
new file mode 100644
index 000000000..bb0e4a14e
--- /dev/null
+++ b/gentoo/trinity-base/tdenetwork-doc/tdenetwork-doc-9999.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdenetwork"
+
+inherit trinity-meta
+
+DESCRIPTION="Documentaion for kdegraphics-derived packages"
+KEYWORDS=
+IUSE=""
+RDEPEND="
+ >=trinity-base/khelpcenter-${PV}:${SLOT}"
+
+pkg_setup() {
+ # we should reduce MAKEOPTS -j parametr to no more than 4
+ local makeopts_j
+ makeopts_j="$(echo "$MAKEOPTS" | sed -n 's/\(^\|.*\s\)\(-j\s*[0-9]\+\)\(\s.*\|$\)/\2/p')"
+ if [ -n "$makeopts_j" -a "$makeopts_j" > 4 ]; then
+ export MAKEOPTS="${MAKEOPTS//"${makeopts_j}"/-j4}"
+
+ ewarn "This ebuild needs huge amoumt of memmory to compile in highly parallel"
+ ewarn "mode so it can chew it all. MAKEOPTS are reduced to \"$MAKEOPTS\"."
+ fi
+
+ trinity-meta_pkg_setup
+}
diff --git a/gentoo/trinity-base/tdenetwork-filesharing/metadata.xml b/gentoo/trinity-base/tdenetwork-filesharing/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/tdenetwork-filesharing/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/tdenetwork-filesharing/tdenetwork-filesharing-9999.ebuild b/gentoo/trinity-base/tdenetwork-filesharing/tdenetwork-filesharing-9999.ebuild
new file mode 100644
index 000000000..7a6651b74
--- /dev/null
+++ b/gentoo/trinity-base/tdenetwork-filesharing/tdenetwork-filesharing-9999.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdenetwork"
+
+inherit trinity-meta
+
+DESCRIPTION="kcontrol filesharing config module for NFS, SMB etc"
+KEYWORDS=
+IUSE=""
diff --git a/gentoo/trinity-base/tdenetwork-meta/metadata.xml b/gentoo/trinity-base/tdenetwork-meta/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/tdenetwork-meta/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/tdenetwork-meta/tdenetwork-meta-9999.ebuild b/gentoo/trinity-base/tdenetwork-meta/tdenetwork-meta-9999.ebuild
new file mode 100644
index 000000000..754097846
--- /dev/null
+++ b/gentoo/trinity-base/tdenetwork-meta/tdenetwork-meta-9999.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+
+inherit trinity-functions
+
+set-trinityver
+
+DESCRIPTION="tdenetwork metapackage - merge this to pull in all tdenetwork-derived packages"
+HOMEPAGE="http://www.trinitydesktop.org/"
+LICENSE="GPL-2 LGPL-2"
+
+SLOT="$TRINITY_VER"
+KEYWORDS=
+IUSE=""
+
+RDEPEND="
+ >=trinity-base/dcoprss-${PV}:${SLOT}
+ >=trinity-base/kdict-${PV}:${SLOT}
+ >=trinity-base/tdednssd-${PV}:${SLOT}
+ >=trinity-base/kget-${PV}:${SLOT}
+ >=trinity-base/knewsticker-${PV}:${SLOT}
+ >=trinity-base/kopete-${PV}:${SLOT}
+ >=trinity-base/kpf-${PV}:${SLOT}
+ >=trinity-base/kppp-${PV}:${SLOT}
+ >=trinity-base/krdc-${PV}:${SLOT}
+ >=trinity-base/krfb-${PV}:${SLOT}
+ >=trinity-base/ksirc-${PV}:${SLOT}
+ >=trinity-base/ktalkd-${PV}:${SLOT}
+ >=trinity-base/kwifimanager-${PV}:${SLOT}
+ >=trinity-base/librss-${PV}:${SLOT}
+ >=trinity-base/lisa-${PV}:${SLOT}
+ >=trinity-base/tdenetwork-doc-${PV}:${SLOT}
+ >=trinity-base/tdenetwork-filesharing-${PV}:${SLOT}
+ >=trinity-base/tdenetwork-tdefile-plugins-${PV}:${SLOT}"
diff --git a/gentoo/trinity-base/tdenetwork-tdefile-plugins/metadata.xml b/gentoo/trinity-base/tdenetwork-tdefile-plugins/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/tdenetwork-tdefile-plugins/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/tdenetwork-tdefile-plugins/tdenetwork-tdefile-plugins-9999.ebuild b/gentoo/trinity-base/tdenetwork-tdefile-plugins/tdenetwork-tdefile-plugins-9999.ebuild
new file mode 100644
index 000000000..d1ed1e2f9
--- /dev/null
+++ b/gentoo/trinity-base/tdenetwork-tdefile-plugins/tdenetwork-tdefile-plugins-9999.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdenetwork"
+
+inherit trinity-meta
+
+DESCRIPTION="kfile plugins from the kdenetwork provides a torrent file support."
+KEYWORDS=
+IUSE=""
diff --git a/gentoo/trinity-base/tdepasswd/files/shared b/gentoo/trinity-base/tdepasswd/files/shared
new file mode 120000
index 000000000..ffc286806
--- /dev/null
+++ b/gentoo/trinity-base/tdepasswd/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files \ No newline at end of file
diff --git a/gentoo/trinity-base/tdepasswd/metadata.xml b/gentoo/trinity-base/tdepasswd/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/tdepasswd/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/tdepasswd/tdepasswd-9999.ebuild b/gentoo/trinity-base/tdepasswd/tdepasswd-9999.ebuild
new file mode 100644
index 000000000..4155f6a83
--- /dev/null
+++ b/gentoo/trinity-base/tdepasswd/tdepasswd-9999.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity GUI for passwd"
+KEYWORDS=
+IUSE=""
+
+DEPEND=">=trinity-base/libkonq-${PV}:${SLOT}"
+RDEPEND="${DEPEND}"
diff --git a/gentoo/trinity-base/tdeprint/files/shared b/gentoo/trinity-base/tdeprint/files/shared
new file mode 120000
index 000000000..ffc286806
--- /dev/null
+++ b/gentoo/trinity-base/tdeprint/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files \ No newline at end of file
diff --git a/gentoo/trinity-base/tdeprint/metadata.xml b/gentoo/trinity-base/tdeprint/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/tdeprint/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/tdeprint/tdeprint-9999.ebuild b/gentoo/trinity-base/tdeprint/tdeprint-9999.ebuild
new file mode 100644
index 000000000..e127dcb77
--- /dev/null
+++ b/gentoo/trinity-base/tdeprint/tdeprint-9999.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity printer queue/device manager"
+KEYWORDS=
+IUSE="cups"
+
+DEPEND="cups? ( net-print/cups )"
+RDEPEND="${DEPEND}
+ app-text/enscript
+ app-text/psutils"
diff --git a/gentoo/trinity-base/tdescreensaver/metadata.xml b/gentoo/trinity-base/tdescreensaver/metadata.xml
new file mode 100644
index 000000000..ffa960a71
--- /dev/null
+++ b/gentoo/trinity-base/tdescreensaver/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+ <use>
+ <flag name="krootbacking"> Add support the desktop grabbing by kde-base/krootbacking.</flag>
+ </use>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/tdescreensaver/tdescreensaver-9999.ebuild b/gentoo/trinity-base/tdescreensaver/tdescreensaver-9999.ebuild
new file mode 100644
index 000000000..f16146bed
--- /dev/null
+++ b/gentoo/trinity-base/tdescreensaver/tdescreensaver-9999.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity screensaver framework"
+KEYWORDS=
+IUSE="opengl +krootbacking"
+# CHECKME: if this use needed
+DEPEND="x11-libs/libXt
+ opengl? ( virtual/opengl )
+ krootbacking? ( >=trinity-base/krootbacking-${PV}:${TRINITY_VER} )
+ !!trinity-base/kscreensaver:${TRINITY_VER}"
+RDEPEND="${DEPEND}"
+
+src_configure () {
+ if use opengl; then
+ ewarn "OpenGL is not supported by trinity build system yet."
+ ewarn "This use flag is here just for future/past capability"
+ fi
+
+ mycmakeargs=(
+ $(cmake-utils_use_with opengl OPENGL )
+ )
+
+ trinity-meta_src_configure
+}
diff --git a/gentoo/trinity-base/tdesu/files/shared b/gentoo/trinity-base/tdesu/files/shared
new file mode 120000
index 000000000..ffc286806
--- /dev/null
+++ b/gentoo/trinity-base/tdesu/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files \ No newline at end of file
diff --git a/gentoo/trinity-base/tdesu/metadata.xml b/gentoo/trinity-base/tdesu/metadata.xml
new file mode 100644
index 000000000..6863f5db6
--- /dev/null
+++ b/gentoo/trinity-base/tdesu/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+ <use>
+ <flag name="sudo"> Use <pkg>app-admin/sudo</pkg> as a default program to
+ obtain root privileges.</flag>
+ </use>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/tdesu/tdesu-9999.ebuild b/gentoo/trinity-base/tdesu/tdesu-9999.ebuild
new file mode 100644
index 000000000..9238d041e
--- /dev/null
+++ b/gentoo/trinity-base/tdesu/tdesu-9999.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity gui for su(1) or sudo"
+KEYWORDS=
+IUSE="sudo"
+
+DEPEND+=" sudo? ( app-admin/sudo )"
+RDEPEND+=" ${DEPEND}"
+
+src_configure () {
+ mycmakeargs=(
+ $(cmake-utils_use_with sudo SUDO_KDESU_BACKEND)
+ )
+
+ trinity-meta_src_configure
+}
+
+pkg_postinst () {
+ if use sudo; then
+ einfo "Remember sudo use flag sets only the defauld value"
+ einfo "It can be overriden on a user-level by adding:"
+ einfo " [super-user-command]"
+ einfo " super-user-command=su"
+ einfo "To the kdeglobal config file which is should be usually"
+ einfo "located in the ~/.trinity/share/config/ directory."
+ fi
+}
diff --git a/gentoo/trinity-base/tdetoys-doc/files/shared b/gentoo/trinity-base/tdetoys-doc/files/shared
new file mode 120000
index 000000000..af62be31d
--- /dev/null
+++ b/gentoo/trinity-base/tdetoys-doc/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files/ \ No newline at end of file
diff --git a/gentoo/trinity-base/tdetoys-doc/metadata.xml b/gentoo/trinity-base/tdetoys-doc/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/tdetoys-doc/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/tdetoys-doc/tdetoys-doc-9999.ebuild b/gentoo/trinity-base/tdetoys-doc/tdetoys-doc-9999.ebuild
new file mode 100644
index 000000000..e7497b8fd
--- /dev/null
+++ b/gentoo/trinity-base/tdetoys-doc/tdetoys-doc-9999.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdetoys"
+
+inherit trinity-meta
+
+DESCRIPTION="Documentaion for tdetoys-derived packages"
+KEYWORDS=
+IUSE=""
+RDEPEND="
+ >=trinity-base/khelpcenter-${PV}:${SLOT}"
+
+pkg_setup() {
+ # we should reduce MAKEOPTS -j parametr to no more than 4
+ local makeopts_j
+ makeopts_j="$(echo "$MAKEOPTS" | sed -n 's/\(^\|.*\s\)\(-j\s*[0-9]\+\)\(\s.*\|$\)/\2/p')"
+ if [ -n "$makeopts_j" -a "$makeopts_j" > 4 ]; then
+ export MAKEOPTS="${MAKEOPTS//"${makeopts_j}"/-j4}"
+
+ ewarn "This ebuild needs huge amoumt of memmory to compile in highly parallel"
+ ewarn "mode so it can chew it all. MAKEOPTS are reduced to \"$MAKEOPTS\"."
+ fi
+
+ trinity-meta_pkg_setup
+}
diff --git a/gentoo/trinity-base/tdetoys-meta/metadata.xml b/gentoo/trinity-base/tdetoys-meta/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/tdetoys-meta/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/tdetoys-meta/tdetoys-meta-9999.ebuild b/gentoo/trinity-base/tdetoys-meta/tdetoys-meta-9999.ebuild
new file mode 100644
index 000000000..3dc2abc9e
--- /dev/null
+++ b/gentoo/trinity-base/tdetoys-meta/tdetoys-meta-9999.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+
+inherit trinity-functions
+
+set-trinityver
+
+DESCRIPTION="kdetoys metapackage - merge this to pull in all kdetoys-derived packages"
+HOMEPAGE="http://www.trinitydesktop.org/"
+LICENSE="GPL-2 LGPL-2"
+
+SLOT="$TRINITY_VER"
+IUSE=""
+KEYWORDS=
+
+RDEPEND="
+ >=trinity-base/amor-${PV}:${SLOT}
+ >=trinity-base/eyesapplet-${PV}:${SLOT}
+ >=trinity-base/fifteenapplet-${PV}:${SLOT}
+ >=trinity-base/tdetoys-doc-${PV}:${SLOT}
+ >=trinity-base/kmoon-${PV}:${SLOT}
+ >=trinity-base/kodo-${PV}:${SLOT}
+ >=trinity-base/kteatime-${PV}:${SLOT}
+ >=trinity-base/ktux-${PV}:${SLOT}
+ >=trinity-base/kweather-${PV}:${SLOT}
+ >=trinity-base/kworldclock-${PV}:${SLOT}"
diff --git a/gentoo/trinity-base/tdeutils-doc/metadata.xml b/gentoo/trinity-base/tdeutils-doc/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/tdeutils-doc/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/tdeutils-doc/tdeutils-doc-9999.ebuild b/gentoo/trinity-base/tdeutils-doc/tdeutils-doc-9999.ebuild
new file mode 100644
index 000000000..f4b8ef5ef
--- /dev/null
+++ b/gentoo/trinity-base/tdeutils-doc/tdeutils-doc-9999.ebuild
@@ -0,0 +1,13 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="Documentaion for kdeutils-derived packages"
+KEYWORDS=""
+IUSE=""
+RDEPEND="
+ >=trinity-base/khelpcenter-${PV}:${SLOT}"
diff --git a/gentoo/trinity-base/tdeutils-meta/metadata.xml b/gentoo/trinity-base/tdeutils-meta/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/tdeutils-meta/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/tdeutils-meta/tdeutils-meta-9999.ebuild b/gentoo/trinity-base/tdeutils-meta/tdeutils-meta-9999.ebuild
new file mode 100644
index 000000000..835bc97c1
--- /dev/null
+++ b/gentoo/trinity-base/tdeutils-meta/tdeutils-meta-9999.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+
+inherit trinity-functions
+
+set-trinityver
+
+DESCRIPTION="tdeutils metapackage - merge this to pull in all tdeutils-derived packages"
+HOMEPAGE="http://www.trinitydesktop.org/"
+LICENSE="GPL-2 LGPL-2"
+
+SLOT="$TRINITY_VER"
+IUSE=""
+KEYWORDS=""
+
+RDEPEND="
+ >=trinity-base/ark-${PV}:${SLOT}
+ >=trinity-base/tdeutils-doc-${PV}:${SLOT}
+ >=trinity-base/kcalc-${PV}:${SLOT}
+ >=trinity-base/kcharselect-${PV}:${SLOT}
+ >=trinity-base/tdelirc-${PV}:${SLOT}
+ >=trinity-base/kdf-${PV}:${SLOT}
+ >=trinity-base/kedit-${PV}:${SLOT}
+ >=trinity-base/kfloppy-${PV}:${SLOT}
+ >=trinity-base/kgpg-${PV}:${SLOT}
+ >=trinity-base/khexedit-${PV}:${SLOT}
+ >=trinity-base/kjots-${PV}:${SLOT}
+ >=trinity-base/klaptopdaemon-${PV}:${SLOT}
+ >=trinity-base/kmilo-${PV}:${SLOT}
+ >=trinity-base/kregexpeditor-${PV}:${SLOT}
+ >=trinity-base/ksim-${PV}:${SLOT}
+ >=trinity-base/ktimer-${PV}:${SLOT}
+ >=trinity-base/tdewallet-${PV}:${SLOT}
+ >=trinity-base/superkaramba-${PV}:${SLOT}"
diff --git a/gentoo/trinity-base/tdewallet/metadata.xml b/gentoo/trinity-base/tdewallet/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/tdewallet/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/tdewallet/tdewallet-9999.ebuild b/gentoo/trinity-base/tdewallet/tdewallet-9999.ebuild
new file mode 100644
index 000000000..fe372f0c0
--- /dev/null
+++ b/gentoo/trinity-base/tdewallet/tdewallet-9999.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdeutils"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity Wallet Management Tool"
+KEYWORDS=""
+IUSE=""
diff --git a/gentoo/trinity-base/tdm/files/shared b/gentoo/trinity-base/tdm/files/shared
new file mode 120000
index 000000000..ffc286806
--- /dev/null
+++ b/gentoo/trinity-base/tdm/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files \ No newline at end of file
diff --git a/gentoo/trinity-base/tdm/files/tdm-9999-xsession.script b/gentoo/trinity-base/tdm/files/tdm-9999-xsession.script
new file mode 100755
index 000000000..a131c29c7
--- /dev/null
+++ b/gentoo/trinity-base/tdm/files/tdm-9999-xsession.script
@@ -0,0 +1,66 @@
+#! /bin/sh
+# Xsession - run as user
+
+session=$1
+
+# Note that the respective logout scripts are not sourced.
+case $SHELL in
+ */bash)
+ [ -z "$BASH" ] && exec $SHELL $0 "$@"
+ set +o posix
+ [ -f /etc/profile ] && . /etc/profile
+ if [ -f $HOME/.bash_profile ]; then
+ . $HOME/.bash_profile
+ elif [ -f $HOME/.bash_login ]; then
+ . $HOME/.bash_login
+ elif [ -f $HOME/.profile ]; then
+ . $HOME/.profile
+ fi
+ ;;
+ */zsh)
+ [ -z "$ZSH_NAME" ] && exec $SHELL $0 "$@"
+ emulate -R zsh
+ [ -d /etc/zsh ] && zdir=/etc/zsh || zdir=/etc
+ zhome=${ZDOTDIR:-$HOME}
+ # zshenv is always sourced automatically.
+ [ -f $zdir/zprofile ] && . $zdir/zprofile
+ [ -f $zhome/.zprofile ] && . $zhome/.zprofile
+ [ -f $zdir/zlogin ] && . $zdir/zlogin
+ [ -f $zhome/.zlogin ] && . $zhome/.zlogin
+ setopt shwordsplit noextendedglob
+ ;;
+ */csh|*/tcsh)
+ # [t]cshrc is always sourced automatically.
+ # Note that sourcing csh.login after .cshrc is non-standard.
+ xsess_tmp=`mktemp /tmp/xsess-env-XXXXXX`
+ $SHELL -c "if (-f /etc/csh.login) source /etc/csh.login; if (-f ~/.login) source ~/.login; /bin/sh -c export -p >! $xsess_tmp"
+ . $xsess_tmp
+ rm -f $xsess_tmp
+ ;;
+ *) # Plain sh, ksh, and anything we don't know.
+ [ -f /etc/profile ] && . /etc/profile
+ [ -f $HOME/.profile ] && . $HOME/.profile
+ ;;
+esac
+
+[ -f /etc/xprofile ] && . /etc/xprofile
+[ -f $HOME/.xprofile ] && . $HOME/.xprofile
+
+case $session in
+ "")
+ exec xmessage -center -buttons OK:0 -default OK "Sorry, $DESKTOP_SESSION is no valid session."
+ ;;
+ failsafe)
+ exec xterm -geometry 80x24-0-0
+ ;;
+ custom)
+ exec /bin/sh $HOME/.xsession
+ ;;
+ default)
+ exec @TRINITY_INSTALL_PATH@/bin/starttde
+ ;;
+ *)
+ eval exec "$session"
+ ;;
+esac
+exec xmessage -center -buttons OK:0 -default OK "Sorry, cannot execute $session. Check $DESKTOP_SESSION.desktop."
diff --git a/gentoo/trinity-base/tdm/metadata.xml b/gentoo/trinity-base/tdm/metadata.xml
new file mode 100644
index 000000000..2a40b2145
--- /dev/null
+++ b/gentoo/trinity-base/tdm/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+ <use>
+ <flag name="xdmcp">Support for <pkg>x11-libs/libXdmcp</pkg></flag>
+ <flag name="sak">Adds SAK (Secure Attention Key) feature</flag>
+ </use>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/tdm/tdm-9999.ebuild b/gentoo/trinity-base/tdm/tdm-9999.ebuild
new file mode 100644
index 000000000..5d4d6160b
--- /dev/null
+++ b/gentoo/trinity-base/tdm/tdm-9999.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Trinity login manager, similar to xdm and gdm"
+KEYWORDS=
+IUSE="pam xdmcp xcomposite sak +xrandr"
+
+DEPEND="pam? ( trinity-base/tdebase-pam )
+ xdmcp? ( x11-libs/libXdmcp )
+ xcomposite? ( x11-libs/libXcomposite )
+ xrandr? ( x11-libs/libXrandr )
+ >=trinity-base/tdelibs-${PV}:${SLOT}[xrandr?]
+ sys-apps/dbus
+ x11-libs/libXtst
+ >=trinity-base/kcontrol-${PV}:${SLOT}
+ dev-libs/dbus-tqt"
+
+RDEPEND="${DEPEND}
+ >=trinity-base/tdepasswd-${PV}:${SLOT}
+ x11-apps/xinit
+ x11-apps/xmessage"
+
+pkg_setup() {
+ trinity-meta_pkg_setup;
+ use sak && TRINITY_SUBMODULE+=" tsak"
+}
+
+src_configure() {
+ mycmakeargs=(
+ -DWITH_XTEST=ON
+ -DWITH_LIBART=ON
+ -DWITH_SHADOW=ON
+ $(cmake-utils_use_with xcomposite XCOMPOSITE )
+ $(cmake-utils_use_with xdmcp XDMCP )
+ $(cmake-utils_use_with xrandr XRANDR )
+ $(cmake-utils_use_with pam PAM )
+ )
+
+ trinity-meta_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ # Customize the kdmrc configuration
+ sed -i -e "s:#SessionsDirs=:SessionsDirs=/usr/share/xsessions\n#SessionsDirs=:" \
+ "${D}/${TDEDIR}/share/config/tdm/tdmrc" || die "sed tdmrc failed"
+
+ # install XSession upstream script seems to be debian-cpecific
+ cp "${FILESDIR}/${P}-xsession.script" "${D}/${TDEDIR}/share/config/tdm/Xsession"
+ sed -i -e "s!@TRINITY_INSTALL_PATH@!${TDEDIR}!" "${D}/${TDEDIR}/share/config/tdm/Xsession" \
+ || die "sed tdmrc failed"
+}
+
+pkg_postinst() {
+ # set the default kdm face icon if it's not already set by the system admin
+ # because this is user-overrideable in that way, it's not in src_install
+ if [ ! -e "${ROOT}${TDEDIR}/share/apps/tdm/faces/.default.face.icon" ]; then
+ mkdir -p "${ROOT}${TDEDIR}/share/apps/tdm/faces"
+ cp "${ROOT}${TDEDIR}/share/apps/tdm/pics/users/default1.png" \
+ "${ROOT}${TDEDIR}/share/apps/tdm/faces/.default.face.icon"
+ fi
+ if [ ! -e "${ROOT}${TDEDIR}/share/apps/tdm/faces/root.face.icon" ]; then
+ mkdir -p "${ROOT}${TDEDIR}/share/apps/tdm/faces"
+ cp "${ROOT}${TDEDIR}/share/apps/tdm/pics/users/root1.png" \
+ "${ROOT}${TDEDIR}/share/apps/tdm/faces/root.face.icon"
+ fi
+
+ if use sak; then
+ sak_ok=yes
+ if ! linux_config_exists; then
+ ewarn "Can't check the linux kernel configuration."
+ ewarn "You might have some incompatible options enabled."
+ sak_ok=no
+ else
+ if ! linux_chkconfig_present INPUT_UINPUT; then
+ eerror "You build tdm with sak feature enabled. "
+ eerror "It requires the INPUT_UINPUT support enabled."
+ eerror "Please enable it:"
+ eerror " CONFIG_INPUT_UINPUT=y"
+ eerror "in /usr/src/linux/.config or"
+ eerror " Device Drivers --->"
+ eerror " Input device support --->"
+ eerror " [*] Miscellaneous devices --->"
+ eerror " <*> User level driver support"
+ sak_ok=no
+ fi
+ fi
+ if [[ "$sak_ok" != yes ]]; then
+ sed -i -e 's:#\?\s*UseSAK=\(true\|false\)\?:UseSak=false:' \
+ "${D}${TDEDIR}/share/config/tdm/tdmrc" || die "sed tdmrc failed"
+ ewarn "SAK feature is disabled. You can enable it yourself by setting UseSAK=true "
+ ewarn "in ${TDEDIR}/share/config/tdm/tdmrc "
+ else
+ ewarn "SAK feature is enabled. You can disable it yourself by setting UseSAK=false"
+ ewarn "in ${TDEDIR}/share/config/tdm/tdmrc "
+ fi
+ fi
+}
diff --git a/gentoo/trinity-base/tqt3integration/Manifest b/gentoo/trinity-base/tqt3integration/Manifest
new file mode 100644
index 000000000..381340c4b
--- /dev/null
+++ b/gentoo/trinity-base/tqt3integration/Manifest
@@ -0,0 +1,2 @@
+DIST kdebase-3.5.13.1.tar.gz 29403228 SHA256 ddd4bd4b508ad027b9d1af2701c6ba64bfc9f8f1d32099e6dd5e7866714f759e SHA512 e1aac19c941a5f2b43a57928fdb43e5ebd646f49c60911d9d317550df96642870792c4e77ecd06e123244e2425ccd4bcb00f0a21011ba7e651d7fcf4553e79cf WHIRLPOOL 931debbf6a65c280221025dcbc02cbb3387b66eb72eddd28a510ee8f97075cd2cc96535dde25d0a32280c399e4a868e9c027772f5d28e7e79b7c1a9080c58034
+DIST kdebase-trinity-3.5.13.2.tar.xz 25890636 SHA256 b9d552226daff64437dfb9699669b95dd7ebc2ca7c43755ba71c10cc6c9ed789 SHA512 df545d44c7d4550d1d77ff6504572b622853c2b8d80062b1aee1a5bdca19f0e708cde35cff54cf2d5098f06a41bde0c89522a3958dea9bb18205dea87c11b797 WHIRLPOOL 79144273bc7985c59a593a3394b12a2053532d2c4c890ce96adad21f6de0413baf3c6270d6d06173ec4546b20d401aa0cc81603d01b8ee41dbdefc825b39b2b1
diff --git a/gentoo/trinity-base/tqt3integration/files/shared b/gentoo/trinity-base/tqt3integration/files/shared
new file mode 120000
index 000000000..ffc286806
--- /dev/null
+++ b/gentoo/trinity-base/tqt3integration/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files \ No newline at end of file
diff --git a/gentoo/trinity-base/tqt3integration/metadata.xml b/gentoo/trinity-base/tqt3integration/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/tqt3integration/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/tqt3integration/tqt3integration-3.5.13.1.ebuild b/gentoo/trinity-base/tqt3integration/tqt3integration-3.5.13.1.ebuild
new file mode 100644
index 000000000..aba240d8a
--- /dev/null
+++ b/gentoo/trinity-base/tqt3integration/tqt3integration-3.5.13.1.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Makes Qt3-only apps use several KDE dialogs."
+KEYWORDS="x86 amd64"
+IUSE=""
diff --git a/gentoo/trinity-base/tqt3integration/tqt3integration-3.5.13.2.ebuild b/gentoo/trinity-base/tqt3integration/tqt3integration-3.5.13.2.ebuild
new file mode 100644
index 000000000..b656e4d70
--- /dev/null
+++ b/gentoo/trinity-base/tqt3integration/tqt3integration-3.5.13.2.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Makes Qt3-only apps use several KDE dialogs."
+KEYWORDS="~amd64 ~x86"
+IUSE=""
diff --git a/gentoo/trinity-base/tqt3integration/tqt3integration-9999.ebuild b/gentoo/trinity-base/tqt3integration/tqt3integration-9999.ebuild
new file mode 100644
index 000000000..db65aecb5
--- /dev/null
+++ b/gentoo/trinity-base/tqt3integration/tqt3integration-9999.ebuild
@@ -0,0 +1,11 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdebase"
+
+inherit trinity-meta
+
+DESCRIPTION="Makes Qt3-only apps use several KDE dialogs."
+KEYWORDS=
+IUSE=""
diff --git a/gentoo/trinity-base/twin/files/shared b/gentoo/trinity-base/twin/files/shared
new file mode 120000
index 000000000..ffc286806
--- /dev/null
+++ b/gentoo/trinity-base/twin/files/shared
@@ -0,0 +1 @@
+../../../eclass/trinity-shared-files \ No newline at end of file
diff --git a/gentoo/trinity-base/twin/metadata.xml b/gentoo/trinity-base/twin/metadata.xml
new file mode 100644
index 000000000..c6cc89cb0
--- /dev/null
+++ b/gentoo/trinity-base/twin/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+</maintainer>
+<upstream>
+ <bugs-to>https://bugs.trinitydesktop.org/buglist.cgi?quicksearch=ALL</bugs-to>
+</upstream>
+<use>
+ <flag name="libconfig">Use <pkg>dev-libs/libconfig</pkg> to handle tde-compton's dependencies</flag>
+</use>
+</pkgmetadata>
diff --git a/gentoo/trinity-base/twin/twin-9999.ebuild b/gentoo/trinity-base/twin/twin-9999.ebuild
new file mode 100644
index 000000000..927a0e5ea
--- /dev/null
+++ b/gentoo/trinity-base/twin/twin-9999.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdebase"
+
+inherit trinity-meta eutils
+
+DESCRIPTION="Trinity window manager"
+KEYWORDS=
+IUSE="xcomposite xrandr xinerama +libconfig +pcre opengl"
+
+DEPEND="x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXrender
+ xcomposite? ( x11-libs/libXcomposite )
+ xinerama? ( x11-proto/xineramaproto )
+ xrandr? ( x11-libs/libXrandr )
+ libconfig? ( dev-libs/libconfig )
+ opengl? ( virtual/opengl )
+ pcre? ( dev-libs/libpcre[jit] )"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_with xcomposite XCOMPOSITE)
+ $(cmake-utils_use_with xcomposite XFIXES)
+ $(cmake-utils_use_with xcomposite XRENDER)
+ $(cmake-utils_use_with xrandr XRANDR)
+ $(cmake-utils_use_with libconfig LIBCONFIG)
+ $(cmake-utils_use_with pcre PCRE)
+ $(cmake-utils_use_with xinerama XINERAMA)
+ )
+
+ trinity-meta_src_configure
+}
+
+pkg_postinst() {
+ if ! use xcomposite; then
+ for flag in xrandr xinerama libconfig pcre opengl; do
+ use $flag && \
+ ewarn "USE=\"$flag\" is passed, but it doesn't change anything due to" && \
+ ewarn "$flag support in ${P} take effect only if composite is enabled."
+ done
+
+ fi
+}