Initial import of an ebuilds tree

from Fat-Zer's (Alexander Golubev) repository.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/1/head
Slávek Banko 4 years ago
commit 644110a847
Signed by: SlavekB
GPG Key ID: 608F5293A04BE668

@ -0,0 +1,17 @@
This is a trinity Gentoo overlay.
Please don't report bugs to Gentoo bugzilla.
If you want to report a bug feel free to email me at fatzer2@gmail.com. I'm able to read and write in Russian and English.
Overlay will be filled with ebuilds of ported to cmake programs from the Trinity Project.
If you are interested in ebuilds for some packages that are not in the overlay, you can email me too.
Live ebuilds aren't tested at all, but you still can try to build them on your own risk.
In order to properly use this overlay, you have to unmask the qt3 USE flag and packages.
To do so, execute the following commands as root:
# mkdir -p /etc/portage/profile
# echo -qt3 >> /etc/portage/profile/use.mask
# mkdir -p /etc/portage/packages.keywords/
# cp /var/lib/layman/trinity /etc/portage/packages.keywords/
NOTE: hal compilation is now broken. If you know how to fix it, write me an email.

@ -0,0 +1,27 @@
Need some workarounds on the LDPATH variable. [don't remember what's wrong there, seems it's obsolete]
arts: test
kdm: test/fix SAK in kdm.
tdebase-starttde: test the script more heavyly
sys-apps/hal: fix use description
trinity-base/ksysguard[dell-laptop] test if it requires i8k kernel module
trinity-base/kdegraphics-kfile-plugins: add a dependencies for pdf USE (poppler?)
trinity-base/kdegraphics-kfile-plugins: check for other additional depedencies.
trinity-base/kpdf: check for it should depend on kdegraphics-kfile-plugins[pdf]
trinity-base/kpdf: check for other additional depedencies.
trinity-base/kghostview: check for it should depend on kdegraphics-kfile-plugins[pdf]
trinity-base/kghostview: check for other additional depedencies.
trinity-base/kmrml: add dependencies, see what is it.
trinity-base/kviewshell: test if it depends on kde-base/kdebase-kioslaves
trinity-base/kgpg: check dependencies
trinity-base/kgpg: if it's possible add app-crypt/pinentry[qt3] to overlay
trinity-base/kopete: review
trinity-base/tdebase-starttde: add gentoo-specific lines like those in kdebase-starttde
trinity-base/tde-i18n: the ebuild is crappy and need to be rewriten.
trinity-base/ksmserver-9999: FTBFS with hal. TODO: fill the bug
trinity-base/noatun-plugins: masked due to missing dependency: noatun;
trinity-base/noatun-plugins: unmask than packaging trinity-base/noatun

@ -0,0 +1,9 @@
trinity-base/kdeartwork-emoticons
trinity-base/kdeartwork-icon-themes
trinity-base/kdeartwork-icewm-themes
trinity-base/kdeartwork-kscreensaver
trinity-base/kdeartwork-kwin-styles
trinity-base/kdeartwork-kworldclock
trinity-base/kdeartwork-sounds
trinity-base/kdeartwork-styles
trinity-base/kdeartwork-wallpapers

@ -0,0 +1,42 @@
trinity-base/kdebase-starttde
trinity-base/drkonqi
trinity-base/kappfinder
trinity-base/kate
trinity-base/kcheckpass
trinity-base/kcminit
trinity-base/kcontrol
trinity-base/kdcop
trinity-base/kdebugdialog
trinity-base/kdepasswd
trinity-base/kdeprint
trinity-base/kdesktop
trinity-base/kdesu
trinity-base/kdialog
trinity-base/kdm
trinity-base/kfind
trinity-base/khelpcenter
trinity-base/khotkeys
trinity-base/kicker
trinity-base/kdebase-kioslaves
trinity-base/klipper
trinity-base/kmenuedit
trinity-base/konqueror
trinity-base/konsole
trinity-base/kpager
trinity-base/kpersonalizer
trinity-base/kreadconfig
trinity-base/kscreensaver
trinity-base/ksmserver
trinity-base/ksplashml
trinity-base/kstart
trinity-base/ksysguard
trinity-base/ksystraycmd
trinity-base/ktip
trinity-base/kwin
trinity-base/kxkb
trinity-base/libkonq
trinity-base/nsplugins
trinity-base/knetattach
trinity-base/kdebase-data
trinity-base/krootbacking
trinity-base/tqt3integration

@ -0,0 +1,42 @@
trinity-base/kdebase-starttde
trinity-base/drkonqi
trinity-base/kappfinder
trinity-base/kate
trinity-base/kcheckpass
trinity-base/kcminit
trinity-base/kcontrol
trinity-base/kdcop
trinity-base/kdebugdialog
trinity-base/kdepasswd
trinity-base/kdeprint
trinity-base/kdesktop
trinity-base/kdesu
trinity-base/kdialog
trinity-base/kdm
trinity-base/kfind
trinity-base/khelpcenter
trinity-base/khotkeys
trinity-base/kicker
trinity-base/kdebase-kioslaves
trinity-base/klipper
trinity-base/kmenuedit
trinity-base/konqueror
trinity-base/konsole
trinity-base/kpager
trinity-base/kpersonalizer
trinity-base/kreadconfig
trinity-base/kscreensaver
trinity-base/ksmserver
trinity-base/ksplashml
trinity-base/kstart
trinity-base/ksysguard
trinity-base/ksystraycmd
trinity-base/ktip
trinity-base/kwin
trinity-base/kxkb
trinity-base/libkonq
trinity-base/nsplugins
trinity-base/knetattach
trinity-base/kdebase-data
trinity-base/krootbacking
trinity-base/tqt3integration

@ -0,0 +1,21 @@
trinity-base/kamera
trinity-base/kcoloredit
#! trinity-base/kdvi
#! trinity-base/kfax
trinity-base/kdegraphics-doc
trinity-base/kdegraphics-kfile-plugins
trinity-base/kgamma
trinity-base/kghostview
trinity-base/kiconedit
trinity-base/kmrml
trinity-base/kolourpaint
trinity-base/kooka
trinity-base/kpdf
trinity-base/kpovmodeler
trinity-base/kruler
trinity-base/ksnapshot
trinity-base/ksvg
trinity-base/kuickshow
trinity-base/kview
trinity-base/kviewshell
trinity-base/libkscan

@ -0,0 +1,16 @@
#? trinity-base/akode
#? trinity-base/apps-artsplugins
#? trinity-base/juk
#? trinity-base/kaboodle
#? trinity-base/kaudiocreator
#? trinity-base/kdemultimedia-arts
#? trinity-base/kdemultimedia-kappfinder-data
#? trinity-base/kdemultimedia-kfile-plugins
#? trinity-base/kdemultimedia-kioslaves
#? trinity-base/kmid
trinity-base/kmix
#? trinity-base/krec
#? trinity-base/kscd
#? trinity-base/libkcddb
#? trinity-base/mpeglib
#? trinity-base/noatun

@ -0,0 +1,18 @@
trinity-base/dcoprss
trinity-base/kdict
trinity-base/kdnssd
trinity-base/kget
trinity-base/knewsticker
trinity-base/kopete
trinity-base/kpf
trinity-base/kppp
trinity-base/krdc
trinity-base/krfb
trinity-base/ksirc
trinity-base/ktalkd
trinity-base/kwifimanager
trinity-base/librss
trinity-base/lisa
trinity-base/kdenetwork-doc
trinity-base/kdenetwork-filesharing
trinity-base/kdenetwork-kfile-plugins

@ -0,0 +1,37 @@
trinity-base/akregator
#? trinity-base/certmanager
#? trinity-base/kdepim-doc
#? trinity-base/indexlib
#? trinity-base/kabc
#? trinity-base/kaddressbook
#? trinity-base/kalarm
#? trinity-base/kandy
#? trinity-base/karm
#? trinity-base/kfile-plugins
#? trinity-base/kgantt
#? trinity-base/kdepim-kioslaves
#? trinity-base/kitchensync
#? trinity-base/kmail
#? trinity-base/kmailcvt
#? trinity-base/kmobile
#? trinity-base/knode
#? trinity-base/knotes
#? trinity-base/kode
#? trinity-base/konsolekalendar
#? trinity-base/kontact
#? trinity-base/korganizer
#? trinity-base/korn
#? trinity-base/kdepim-kresources
trinity-base/ktnef
#? trinity-base/libemailfunctions
trinity-base/libkcal
#? trinity-base/libkholidays
trinity-base/libkmime
#? trinity-base/libkpgp
#? trinity-base/libkpimexchange
#? trinity-base/libkpimidentities
#? trinity-base/libksieve
#? trinity-base/libkdenetwork
trinity-base/libkdepim
#? trinity-base/mimelib
#? trinity-base/kdepim-wizards

@ -0,0 +1,37 @@
trinity-base/akregator
trinity-base/certmanager
#? trinity-base/kdepim-doc
#? trinity-base/indexlib
#? trinity-base/kabc
trinity-base/kaddressbook
#? trinity-base/kalarm
#? trinity-base/kandy
#? trinity-base/karm
#? trinity-base/kfile-plugins
trinity-base/kgantt
#? trinity-base/kdepim-kioslaves
#? trinity-base/kitchensync
#? trinity-base/kmail
#? trinity-base/kmailcvt
#? trinity-base/kmobile
#? trinity-base/knode
trinity-base/knotes
#? trinity-base/kode
#? trinity-base/konsolekalendar
trinity-base/kontact
trinity-base/korganizer
#? trinity-base/korn
#? trinity-base/kdepim-kresources
trinity-base/ktnef
#? trinity-base/libemailfunctions
trinity-base/libkcal
trinity-base/libkholidays
trinity-base/libkmime
#? trinity-base/libkpgp
trinity-base/libkpimexchange
trinity-base/libkpimidentities
#? trinity-base/libksieve
trinity-base/libkdenetwork
trinity-base/libkdepim
#? trinity-base/mimelib
#? trinity-base/kdepim-wizards

@ -0,0 +1,10 @@
trinity-base/amor
trinity-base/eyesapplet
trinity-base/fifteenapplet
trinity-base/kdetoys-doc
trinity-base/kmoon
trinity-base/kodo
trinity-base/kteatime
trinity-base/ktux
trinity-base/kweather
trinity-base/kworldclock

@ -0,0 +1,10 @@
trinity-base/amor
trinity-base/eyesapplet
trinity-base/fifteenapplet
trinity-base/kdetoys-doc
trinity-base/kmoon
trinity-base/kodo
trinity-base/kteatime
trinity-base/ktux
trinity-base/kweather
trinity-base/kworldclock

@ -0,0 +1,18 @@
trinity-base/ark
trinity-base/kdeutils-doc
trinity-base/kcalc
trinity-base/kcharselect
trinity-base/kdelirc
trinity-base/kdf
trinity-base/kedit
trinity-base/kfloppy
trinity-base/kgpg
trinity-base/khexedit
trinity-base/kjots
trinity-base/klaptopdaemon
trinity-base/kmilo
trinity-base/kregexpeditor
trinity-base/ksim
trinity-base/ktimer
trinity-base/kwallet
trinity-base/superkaramba

@ -0,0 +1,18 @@
trinity-base/ark
trinity-base/kdeutils-doc
trinity-base/kcalc
trinity-base/kcharselect
trinity-base/kdelirc
trinity-base/kdf
trinity-base/kedit
trinity-base/kfloppy
trinity-base/kgpg
trinity-base/khexedit
trinity-base/kjots
trinity-base/klaptopdaemon
trinity-base/kmilo
trinity-base/kregexpeditor
trinity-base/ksim
trinity-base/ktimer
trinity-base/kwallet
trinity-base/superkaramba

@ -0,0 +1,11 @@
trinity-apps/atlantikdesigner
trinity-base/tdeaddons-doc
trinity-base/kaddressbook-plugins
trinity-base/kate-plugins
trinity-base/kicker-applets
trinity-base/knewsticker-scripts
trinity-base/konq-plugins
trinity-base/ksig
# trinity-base/noatun-plugins
trinity-base/renamedlg-plugins
trinity-base/tdeaddons-tdefile-plugins

@ -0,0 +1,9 @@
trinity-base/tdeartwork-emoticons
trinity-base/tdeartwork-icon-themes
trinity-base/tdeartwork-icewm-themes
trinity-base/tdeartwork-tdescreensaver
trinity-base/tdeartwork-twin-styles
trinity-base/tdeartwork-kworldclock
trinity-base/tdeartwork-sounds
trinity-base/tdeartwork-styles
trinity-base/tdeartwork-wallpapers

@ -0,0 +1,43 @@
trinity-base/tdebase-starttde
trinity-base/drkonqi
trinity-base/kappfinder
trinity-base/kate
trinity-base/kcheckpass
trinity-base/kcminit
trinity-base/kcontrol
trinity-base/kdcop
trinity-base/tdedebugdialog
trinity-base/tdepasswd
trinity-base/tdeprint
trinity-base/kdesktop
trinity-base/tdesu
trinity-base/kdialog
trinity-base/tdm
trinity-base/kfind
trinity-base/khelpcenter
trinity-base/khotkeys
trinity-base/kicker
trinity-base/tdebase-tdeioslaves
trinity-base/klipper
trinity-base/kmenuedit
trinity-base/konqueror
trinity-base/konsole
trinity-base/kpager
trinity-base/kpersonalizer
trinity-base/kreadconfig
trinity-base/tdescreensaver
trinity-base/ksmserver
trinity-base/ksplashml
trinity-base/kstart
trinity-base/ksysguard
trinity-base/ksystraycmd
trinity-base/ktip
trinity-base/twin
trinity-base/kxkb
trinity-base/libkonq
trinity-base/nsplugins
trinity-base/knetattach
trinity-base/tdebase-data
trinity-base/krootbacking
trinity-base/tqt3integration
trinity-base/tdeinit

@ -0,0 +1,34 @@
trinity-apps/atlantik
trinity-base/tdegames-doc
trinity-apps/kasteroids
trinity-apps/katomic
trinity-apps/kbackgammon
trinity-apps/kbattleship
trinity-apps/kblackbox
trinity-apps/kbounce
trinity-apps/kenolaba
trinity-apps/kfouleggs
trinity-apps/kgoldrunner
trinity-apps/kjumpingcube
trinity-apps/klickety
trinity-apps/klines
trinity-apps/kmahjongg
trinity-apps/kmines
trinity-apps/knetwalk
trinity-apps/kolf
trinity-apps/konquest
trinity-apps/kpat
trinity-apps/kpoker
trinity-apps/kreversi
trinity-apps/ksame
trinity-apps/kshisen
trinity-apps/ksirtet
trinity-apps/ksmiletris
trinity-apps/ksnake
trinity-apps/ksokoban
trinity-apps/kspaceduel
trinity-apps/ktron
trinity-apps/ktuberling
trinity-base/libtdegames
trinity-apps/lskat
trinity-apps/twin4

@ -0,0 +1,21 @@
trinity-base/kamera
trinity-base/kcoloredit
trinity-base/kdvi
trinity-base/kfax
trinity-base/tdegraphics-doc
trinity-base/tdegraphics-tdefile-plugins
trinity-base/kgamma
trinity-base/kghostview
trinity-base/kiconedit
trinity-base/kmrml
trinity-base/kolourpaint
trinity-base/kooka
trinity-base/kpdf
trinity-base/kpovmodeler
trinity-base/kruler
trinity-base/ksnapshot
trinity-base/ksvg
trinity-base/kuickshow
trinity-base/kview
trinity-base/kviewshell
trinity-base/libkscan

@ -0,0 +1,16 @@
#? trinity-base/akode
#? trinity-base/apps-artsplugins
#? trinity-base/juk
#? trinity-base/kaboodle
#? trinity-base/kaudiocreator
#? trinity-base/kdemultimedia-arts
#? trinity-base/kdemultimedia-kappfinder-data
#? trinity-base/kdemultimedia-kfile-plugins
#? trinity-base/kdemultimedia-kioslaves
#? trinity-base/kmid
trinity-base/kmix
#? trinity-base/krec
#? trinity-base/kscd
#? trinity-base/libkcddb
#? trinity-base/mpeglib
#? trinity-base/noatun

@ -0,0 +1,18 @@
trinity-base/dcoprss
trinity-base/kdict
trinity-base/kget
trinity-base/knewsticker
trinity-base/kopete
trinity-base/kpf
trinity-base/kppp
trinity-base/krdc
trinity-base/krfb
trinity-base/ksirc
trinity-base/ktalkd
trinity-base/kwifimanager
trinity-base/librss
trinity-base/lisa
trinity-base/tdednssd
trinity-base/tdenetwork-doc
trinity-base/tdenetwork-filesharing
trinity-base/tdenetwork-tdefile-plugins

@ -0,0 +1,37 @@
trinity-base/akregator
trinity-base/certmanager
#? trinity-base/kdepim-doc
#? trinity-base/indexlib
#? trinity-base/kabc
trinity-base/kaddressbook
#? trinity-base/kalarm
#? trinity-base/kandy
#? trinity-base/karm
#? trinity-base/kfile-plugins
trinity-base/kgantt
#? trinity-base/tdepim-kioslaves
#? trinity-base/kitchensync
#? trinity-base/kmail
#? trinity-base/kmailcvt
#? trinity-base/kmobile
#? trinity-base/knode
trinity-base/knotes
#? trinity-base/kode
#? trinity-base/konsolekalendar
trinity-base/kontact
#? trinity-base/korganizer
#? trinity-base/korn
#? trinity-base/tdepim-kresources
trinity-base/ktnef
#? trinity-base/libemailfunctions
trinity-base/libkcal
trinity-base/libkholidays
trinity-base/libkmime
#? trinity-base/libkpgp
trinity-base/libkpimexchange
trinity-base/libkpimidentities
#? trinity-base/libksieve
trinity-base/libtdenetwork
trinity-base/libtdepim
#? trinity-base/mimelib
#? trinity-base/tdepim-wizards

@ -0,0 +1,10 @@
trinity-base/amor
trinity-base/eyesapplet
trinity-base/fifteenapplet
trinity-base/tdetoys-doc
trinity-base/kmoon
trinity-base/kodo
trinity-base/kteatime
trinity-base/ktux
trinity-base/kweather
trinity-base/kworldclock

@ -0,0 +1,18 @@
trinity-base/ark
trinity-base/tdeutils-doc
trinity-base/kcalc
trinity-base/kcharselect
trinity-base/kdf
trinity-base/kedit
trinity-base/kfloppy
trinity-base/kgpg
trinity-base/khexedit
trinity-base/kjots
trinity-base/klaptopdaemon
trinity-base/kmilo
trinity-base/kregexpeditor
trinity-base/ksim
trinity-base/ktimer
trinity-base/superkaramba
trinity-base/tdelirc
trinity-base/tdewallet

@ -0,0 +1,85 @@
#!/bin/bash
# !!!WARNING!!! use with caution
#
# This script suppose the kdelibs to be installed
# how to use :
# dependecies_test_compilation <package![use[,use]...] [...]
die() {
echo '!!! $@'
exit -100500
}
RESULT_DIR="/tmp/test-build-$(date +%Y-%m-%d_%H-%M)"
SUCCESS_LIST="${RESULT_DIR}/success_list"
FAIL_LIST="${RESULT_DIR}/fail_list"
LOGS_DIR="${RESULT_DIR}/logs/"
CONFIG_BAK="${RESULT_DIR}/portage_bak.tar.gz"
PORTAGE_CONFIG="/etc/portage"
EMERGE_AUTOUNMASK_OPTS="--autounmask y --autounmask-keep-masks y --autounmask-write y"
mkdir -p "${RESULT_DIR}" "${LOGS_DIR}";
for pkguse in "$@"; do
done
# backup config
tar -cf "${CONFIG_BAK}" -C / "${PORTAGE_CONFIG#/}" || die "backup config failed"
# initial cleanup
( emerge -NuD world &&
emerge --depclean &&
emerge -NuD world &&
revdep-rebuild &&
rm -rf /var/tmp/portage ) || die "initial cleaning failed"
for pkguse in "$@"; do
pkg="${pkguse%!*}"
use="${pkguse#*!}"
use="${use/,// }"
pkg_use_file="${PORTAGE_CONFIG}/package.use"
[ -d ${pkg_use_file} ] && pkg_use_file="${pkg_use_file}/test.use"
echo "$pkg $use" >>"$pkg_use_file"
pkg_failed=no
# check for it can be emerged due to depenencies uses
emerge -p "$pkg"
if [ "$?" != 0 ]; then
#try unmask uses
CONFIG_PROTECT_MASK="/etc/portage" emerge ${EMERGE_AUTOUNMASK_OPTS} "$pkg"
emerge -p "$pkg"
if [ "$?" != 0 ]; then
# we can't emerge the package
mkdir -p "${LOGS_DIR}/${pkg}"
emerge -p "$pkg" >"${LOGS_DIR}/${pkg}/emerge_failed" 2>&1
pkg_failed=yes
fi
fi
if [ "$pkg_failed" == no ]; then
emerge -1 "$pkg"
if [ "$?" != 0 ]; then
mkdir -p "${LOGS_DIR}/${pkg}"
for f_pkg in $(cd /var/tmp/portage/ && ls -d */*); do
cp "/var/tmp/portage/${f_pkg}/temp/build.log" "${LOGS_DIR}/${pkg}/${f_pkg/\//_}.build"
done
pkg_failed=yes
fi
fi
if [ "$pkg_failed" == no ]; then
echo "$pkg" >>"${SUCCESS_LIST}"
else
echo "$pkg" >>"${FAIL_LIST}"
fi
# restoring config
rm -rf ${PORTAGE_CONFIG}
tar -xf "${CONFIG_BAK}" -C /
# let's clean system
( emerge -NuD world &&
emerge --depclean &&
emerge -NuD world &&
revdep-rebuild &&
rm -rf /var/tmp/portage ) || die "cleaning failed"
done

@ -0,0 +1,32 @@
#!/bin/bash
DOC="Documentation"
KEYWORDS_LIVE="$DOC/trinity.live.keywords"
KEYWORDS_3_5_13_2="$DOC/trinity.3.5.13.2.keywords"
resort() {
cp "${1}" "${1}.bak"
cat "${1}.bak" | sort -u >"$1" && rm "${1}.bak"
}
find trinity-base/ trinity-apps/ -iname '*9999.ebuild' | while read eb; do
PN="$(basename $(dirname ${eb}))"
C="$(basename $(dirname $(dirname ${eb})))"
P="$(basename ${eb%%.ebuild})"
if ! grep "^~$C/$P " "${KEYWORDS_LIVE}" >/dev/null 2>&1; then
echo "~$C/$P **" | tee -a "${KEYWORDS_LIVE}"
fi
done
resort "${KEYWORDS_LIVE}"
find trinity-base/ trinity-apps -iname '*3.5.13.2.ebuild' | while read eb; do
PN="$(basename $(dirname ${eb}))"
C="$(basename $(dirname $(dirname ${eb})))"
P="$(basename ${eb%%.ebuild})"
if ! grep "^~$C/$P" "${KEYWORDS_3_5_13_2}" >/dev/null 2>&1; then
echo "~$C/$P" | tee -a "${KEYWORDS_3_5_13_2}"
fi
done
resort "${KEYWORDS_3_5_13_2}"

@ -0,0 +1,15 @@
# Per ebuild check and commit
for I in <packages> ; do cp kate/metadata.xml $I; ebuild $I/$I-3.9999.ebuild digest; git add $I; git commit -m $I; done
for I in kstart ksystraycmd ksysguard nsplugin kate kxkb ; do cp kate/metadata.xml $I; ebuild $I/$I-3.9999.ebuild digest; git add $I; git commit -m $I; done
# update trinity live lists
find trinity-base/ -iname '*9999.ebuild' | while read eb; do PN="$(basename $(dirname ${eb}))"; C="$(basename $(dirname $(dirname ${eb})))"; P="$(basename ${eb%%.ebuild})"; echo "~$C/$P"' **'; done | tee Documentation/trinity.live.keywords
# update all manifests
find . -iname *.ebuild | while read eb; do ebuild $eb digest; done
# run ./test_separate_compilation.sh
cat Documentation/derived-lists/<LIST> | sed 's/#.*//;s/^\s*//;s/\s*$//;/^\s*$/d' |xargs bash ./test_separate_compilation.sh
# update manifests which older thatn ebuilds
find . -iname *.ebuild | while read eb; do ma="$(dirname $eb)/Manifest"; find $(dirname $eb) -type f | while read f; do [ $f -nt $ma ] && ebuild $eb digest && touch $ma; done; done

@ -0,0 +1,60 @@
#!/bin/bash
# Usage ; write-ebuild.sh <TRINITY_MODULE_NAME> [<CATEGORY/]><PN> [DESCRIPTION]
export LC_ALL=C
EAPI="5"
TRINITY_MODULE_NAME=$1
PN=$(basename ${2})
CATEGORY=$(dirname ${2})
CATEGORY=${CATEGORY:-trinity-base}
DESCRIPTION="$3"
PV=${PV:=9999}
KEYWORDS="amd64 x86"
case "${PV}" in
*3.5.13.2) KEYWORDS="~amd64 ~x86" ;;
*9999*) KEYWORDS="" ;;
esac
if [ -z "$DESCRIPTION" ]; then
DESCRIPTION_SOURCES=( ${CATEGORY/trinity/kde}/${PN} ${CATEGORY/trinity/kde}/${PN/k/t} kde-base/${PN} kde-base/${PN/k/t} )
for descsrc in ${DESCRIPTION_SOURCES[@]}; do
DESCRIPTION="$(eix -C $(dirname ${descsrc}) -s $(basename "${descsrc}") | sed -n '/^\s*Description:\s*/{s///;s/\(\<KDE\|\kde\)\>/Trinity/g;p}')"
[ -n "$DESCRIPTION" ] && break
done
fi
echo "==> Creating ebuild for ${PN}-${PV}"
mkdir -p "${CATEGORY}/$PN"
cat <<EOF >${CATEGORY}/$PN/$PN-${PV}.ebuild
# Copyright 1999-$(date +%Y) Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# \$Id\$
EAPI="$EAPI"
TRINITY_MODULE_NAME="$TRINITY_MODULE_NAME"
inherit trinity-meta
DESCRIPTION="$DESCRIPTION"
KEYWORDS="$KEYWORDS"
IUSE+=""
EOF
cat <<EOF >"${CATEGORY}/$PN"/metadata.xml
<?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>
EOF
if [ -d eclass/trinity-shared-files/${TRINITY_MODULE_NAME}-${PV} ]; then
mkdir -p "${CATEGORY}/$PN/files/"
ln -s "../../../eclass/trinity-shared-files/" "trinity-base/$PN/files/shared"
fi

@ -0,0 +1,90 @@
~trinity-base/akregator-3.5.13.2
~trinity-base/amor-3.5.13.2
~trinity-base/ark-3.5.13.2
~trinity-base/arts-3.5.13.2
~trinity-base/certmanager-3.5.13.2
~trinity-base/drkonqi-3.5.13.2
~trinity-base/eyesapplet-3.5.13.2
~trinity-base/fifteenapplet-3.5.13.2
~trinity-base/kaddressbook-3.5.13.2
~trinity-base/kappfinder-3.5.13.2
~trinity-base/kate-3.5.13.2
~trinity-base/kcalc-3.5.13.2
~trinity-base/kcharselect-3.5.13.2
~trinity-base/kcheckpass-3.5.13.2
~trinity-base/kcminit-3.5.13.2
~trinity-base/kcontrol-3.5.13.2
~trinity-base/kdcop-3.5.13.2
~trinity-base/kdebase-data-3.5.13.2
~trinity-base/kdebase-kioslaves-3.5.13.2
~trinity-base/kdebase-meta-3.5.13.2
~trinity-base/kdebase-starttde-3.5.13.2
~trinity-base/kdebugdialog-3.5.13.2
~trinity-base/kdeeject-3.5.13.2
~trinity-base/kdelibs-3.5.13.2
~trinity-base/kdelirc-3.5.13.2
~trinity-base/kdepasswd-3.5.13.2
~trinity-base/kdeprint-3.5.13.2
~trinity-base/kdesktop-3.5.13.2
~trinity-base/kdesu-3.5.13.2
~trinity-base/kdetoys-doc-3.5.13.2
~trinity-base/kdeutils-doc-3.5.13.2
~trinity-base/kdeutils-meta-3.5.13.2
~trinity-base/kdf-3.5.13.2
~trinity-base/kdialog-3.5.13.2
~trinity-base/kdm-3.5.13.2
~trinity-base/kedit-3.5.13.2
~trinity-base/kfind-3.5.13.2
~trinity-base/kfloppy-3.5.13.2
~trinity-base/kgantt-3.5.13.2
~trinity-base/kgpg-3.5.13.2
~trinity-base/khelpcenter-3.5.13.2
~trinity-base/khexedit-3.5.13.2
~trinity-base/khotkeys-3.5.13.2
~trinity-base/kicker-3.5.13.2
~trinity-base/kjots-3.5.13.2
~trinity-base/klaptopdaemon-3.5.13.2
~trinity-base/klipper-3.5.13.2
~trinity-base/kmenuedit-3.5.13.2
~trinity-base/kmilo-3.5.13.2
~trinity-base/kmoon-3.5.13.2
~trinity-base/knetattach-3.5.13.2
~trinity-base/knotes-3.5.13.2
~trinity-base/kodo-3.5.13.2
~trinity-base/konqueror-3.5.13.2
~trinity-base/konsole-3.5.13.2
~trinity-base/kontact-3.5.13.2
~trinity-base/korganizer-3.5.13.2
~trinity-base/kpager-3.5.13.2
~trinity-base/kpersonalizer-3.5.13.2
~trinity-base/kreadconfig-3.5.13.2
~trinity-base/kregexpeditor-3.5.13.2
~trinity-base/krootbacking-3.5.13.2
~trinity-base/kscreensaver-3.5.13.2
~trinity-base/ksim-3.5.13.2
~trinity-base/ksmserver-3.5.13.2
~trinity-base/ksplashml-3.5.13.2
~trinity-base/kstart-3.5.13.2
~trinity-base/ksysguard-3.5.13.2
~trinity-base/ksystraycmd-3.5.13.2
~trinity-base/kteatime-3.5.13.2
~trinity-base/ktimer-3.5.13.2
~trinity-base/ktip-3.5.13.2
~trinity-base/ktnef-3.5.13.2
~trinity-base/ktux-3.5.13.2
~trinity-base/kwallet-3.5.13.2
~trinity-base/kweather-3.5.13.2
~trinity-base/kwin-3.5.13.2
~trinity-base/kworldclock-3.5.13.2
~trinity-base/kxkb-3.5.13.2
~trinity-base/libkcal-3.5.13.2
~trinity-base/libkdenetwork-3.5.13.2
~trinity-base/libkdepim-3.5.13.2
~trinity-base/libkholidays-3.5.13.2
~trinity-base/libkmime-3.5.13.2
~trinity-base/libkonq-3.5.13.2
~trinity-base/libkpimexchange-3.5.13.2
~trinity-base/libkpimidentities-3.5.13.2
~trinity-base/nsplugins-3.5.13.2
~trinity-base/superkaramba-3.5.13.2
~trinity-base/tqt3integration-3.5.13.2

@ -0,0 +1,200 @@
~dev-libs/dbus-1-tqt-9999 **
~dev-libs/dbus-tqt-9999 **
~dev-qt/tqt-3.9999 **
~dev-qt/tqtinterface-9999 **
~net-irc/konversation-1.1.9999 **
~trinity-apps/atlantik-9999 **
~trinity-apps/atlantikdesigner-9999 **
~trinity-apps/filelight-9999 **
~trinity-apps/kasteroids-9999 **
~trinity-apps/katomic-9999 **
~trinity-apps/kbackgammon-9999 **
~trinity-apps/kbattleship-9999 **
~trinity-apps/kblackbox-9999 **
~trinity-apps/kbounce-9999 **
~trinity-apps/kenolaba-9999 **
~trinity-apps/kfouleggs-9999 **
~trinity-apps/kgoldrunner-9999 **
~trinity-apps/kjumpingcube-9999 **
~trinity-apps/klickety-9999 **
~trinity-apps/klines-9999 **
~trinity-apps/kmahjongg-9999 **
~trinity-apps/kmines-9999 **
~trinity-apps/knetwalk-9999 **
~trinity-apps/kolf-9999 **
~trinity-apps/konquest-9999 **
~trinity-apps/kpat-9999 **
~trinity-apps/kpoker-9999 **
~trinity-apps/kreversi-9999 **
~trinity-apps/ksame-9999 **
~trinity-apps/kshisen-9999 **
~trinity-apps/ksirtet-9999 **
~trinity-apps/ksmiletris-9999 **
~trinity-apps/ksnake-9999 **
~trinity-apps/ksokoban-9999 **
~trinity-apps/kspaceduel-9999 **
~trinity-apps/ktron-9999 **
~trinity-apps/ktuberling-9999 **
~trinity-apps/lskat-9999 **
~trinity-apps/twin4-9999 **
~trinity-base/akregator-9999 **
~trinity-base/amor-9999 **
~trinity-base/ark-9999 **
~trinity-base/arts-9999 **
~trinity-base/certmanager-9999 **
~trinity-base/dcoprss-9999 **
~trinity-base/drkonqi-9999 **
~trinity-base/eyesapplet-9999 **
~trinity-base/fifteenapplet-9999 **
~trinity-base/kaddressbook-9999 **
~trinity-base/kaddressbook-plugins-9999 **
~trinity-base/kamera-9999 **
~trinity-base/kappfinder-9999 **
~trinity-base/kate-9999 **
~trinity-base/kate-plugins-9999 **
~trinity-base/kcalc-9999 **
~trinity-base/kcharselect-9999 **
~trinity-base/kcheckpass-9999 **
~trinity-base/kcminit-9999 **
~trinity-base/kcoloredit-9999 **
~trinity-base/kcontrol-9999 **
~trinity-base/kdcop-9999 **
~trinity-base/kdesktop-9999 **
~trinity-base/kdetoys-doc-9999 **
~trinity-base/kdf-9999 **
~trinity-base/kdialog-9999 **
~trinity-base/kdict-9999 **
~trinity-base/kdvi-9999 **
~trinity-base/kedit-9999 **
~trinity-base/kfax-9999 **
~trinity-base/kfind-9999 **
~trinity-base/kfloppy-9999 **
~trinity-base/kgamma-9999 **
~trinity-base/kgantt-9999 **
~trinity-base/kget-9999 **
~trinity-base/kghostview-9999 **
~trinity-base/kgpg-9999 **
~trinity-base/khelpcenter-9999 **
~trinity-base/khexedit-9999 **
~trinity-base/khotkeys-9999 **
~trinity-base/kicker-9999 **
~trinity-base/kicker-applets-9999 **
~trinity-base/kiconedit-9999 **
~trinity-base/kjots-9999 **
~trinity-base/klaptopdaemon-9999 **
~trinity-base/klipper-9999 **
~trinity-base/kmenuedit-9999 **
~trinity-base/kmilo-9999 **
~trinity-base/kmix-9999 **
~trinity-base/kmoon-9999 **
~trinity-base/kmrml-9999 **
~trinity-base/knetattach-9999 **
~trinity-base/knewsticker-9999 **
~trinity-base/knewsticker-scripts-9999 **
~trinity-base/knotes-9999 **
~trinity-base/kodo-9999 **
~trinity-base/kolourpaint-9999 **
~trinity-base/konq-plugins-9999 **
~trinity-base/konqueror-9999 **
~trinity-base/konsole-9999 **
~trinity-base/kontact-9999 **
~trinity-base/kooka-9999 **
~trinity-base/kopete-9999 **
~trinity-base/korganizer-9999 **
~trinity-base/kpager-9999 **
~trinity-base/kpdf-9999 **
~trinity-base/kpersonalizer-9999 **
~trinity-base/kpf-9999 **
~trinity-base/kpovmodeler-9999 **
~trinity-base/kppp-9999 **
~trinity-base/krdc-9999 **
~trinity-base/kreadconfig-9999 **
~trinity-base/kregexpeditor-9999 **
~trinity-base/krfb-9999 **
~trinity-base/krootbacking-9999 **
~trinity-base/kruler-9999 **
~trinity-base/ksig-9999 **
~trinity-base/ksim-9999 **
~trinity-base/ksirc-9999 **
~trinity-base/ksmserver-9999 **
~trinity-base/ksnapshot-9999 **
~trinity-base/ksplashml-9999 **
~trinity-base/kstart-9999 **
~trinity-base/ksvg-9999 **
~trinity-base/ksysguard-9999 **
~trinity-base/ksystraycmd-9999 **
~trinity-base/ktalkd-9999 **
~trinity-base/kteatime-9999 **
~trinity-base/ktimer-9999 **
~trinity-base/ktip-9999 **
~trinity-base/ktnef-9999 **
~trinity-base/ktux-9999 **
~trinity-base/kuickshow-9999 **
~trinity-base/kview-9999 **
~trinity-base/kviewshell-9999 **
~trinity-base/kweather-9999 **
~trinity-base/kwifimanager-9999 **
~trinity-base/kworldclock-9999 **
~trinity-base/kxkb-9999 **
~trinity-base/libkcal-9999 **
~trinity-base/libkholidays-9999 **
~trinity-base/libkmime-9999 **
~trinity-base/libkonq-9999 **
~trinity-base/libkpimexchange-9999 **
~trinity-base/libkpimidentities-9999 **
~trinity-base/libkscan-9999 **
~trinity-base/librss-9999 **
~trinity-base/libtdegames-9999 **
~trinity-base/libtdenetwork-9999 **
~trinity-base/libtdepim-9999 **
~trinity-base/lisa-9999 **
~trinity-base/noatun-plugins-9999 **
~trinity-base/nsplugins-9999 **
~trinity-base/renamedlg-plugins-9999 **
~trinity-base/superkaramba-9999 **
~trinity-base/tdeaddons-doc-9999 **
~trinity-base/tdeaddons-meta-9999 **
~trinity-base/tdeaddons-tdefile-plugins-9999 **
~trinity-base/tdeartwork-emoticons-9999 **
~trinity-base/tdeartwork-icewm-themes-9999 **
~trinity-base/tdeartwork-icon-themes-9999 **
~trinity-base/tdeartwork-kworldclock-9999 **
~trinity-base/tdeartwork-meta-9999 **
~trinity-base/tdeartwork-sounds-9999 **
~trinity-base/tdeartwork-styles-9999 **
~trinity-base/tdeartwork-tdescreensaver-9999 **
~trinity-base/tdeartwork-twin-styles-9999 **
~trinity-base/tdeartwork-wallpapers-9999 **
~trinity-base/tdebase-data-9999 **
~trinity-base/tdebase-meta-9999 **
~trinity-base/tdebase-starttde-9999 **
~trinity-base/tdebase-tdeioslaves-9999 **
~trinity-base/tdedebugdialog-9999 **
~trinity-base/tdednssd-9999 **
~trinity-base/tdeeject-9999 **
~trinity-base/tdegames-doc-9999 **
~trinity-base/tdegames-meta-9999 **
~trinity-base/tdegraphics-doc-9999 **
~trinity-base/tdegraphics-meta-9999 **
~trinity-base/tdegraphics-tdefile-plugins-9999 **
~trinity-base/tde-i18n-9999 **
~trinity-base/tdeiconedit-9999 **
~trinity-base/tdeinit-9999 **
~trinity-base/tdelibs-9999 **
~trinity-base/tdelirc-9999 **
~trinity-base/tdenetwork-doc-9999 **
~trinity-base/tdenetwork-filesharing-9999 **
~trinity-base/tdenetwork-meta-9999 **
~trinity-base/tdenetwork-tdefile-plugins-9999 **
~trinity-base/tdepasswd-9999 **
~trinity-base/tdeprint-9999 **
~trinity-base/tdescreensaver-9999 **
~trinity-base/tdesu-9999 **
~trinity-base/tdetoys-doc-9999 **
~trinity-base/tdetoys-meta-9999 **
~trinity-base/tdeutils-doc-9999 **
~trinity-base/tdeutils-meta-9999 **
~trinity-base/tdewallet-9999 **
~trinity-base/tdm-9999 **
~trinity-base/tqt3integration-9999 **
~trinity-base/twin-9999 **

@ -0,0 +1,10 @@
<layman>
<overlay type="git" src="https://github.com/Fat-Zer/trinity.git" contact="fatzer2@gmail.com" status="unofficial" name="trinity">
<link>
http://www.trinitydesktop.org/
</link>
<description>
Gentoo overlay for Trinity Desktop Environment, a fork of KDE3
</description>
</overlay>
</layman>

@ -0,0 +1 @@
DIST hal-info-20091130.tar.gz 144859 SHA256 3b5a90eaea4359977d36c808a19b3f08835345a258c68b9c6c080ad5ef875224 SHA512 c435e60eaa8170cdf12112e4fbefe34180e499de53c5b30d26c6f8999626708a41600d8ce41a2e999f791e0855676d1ef4362d7b3cd52297195294b8b8b3c52e WHIRLPOOL f6e0807376bdaa90332f532429939550a0f3144a818f51cb21f656790a64afdeefab234a16674eb46a02d272a019c7bf698bfce024067b1b680e1b11e13e2284

@ -0,0 +1,22 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
DESCRIPTION="The fdi scripts that HAL uses"
HOMEPAGE="http://hal.freedesktop.org/"
SRC_URI="http://hal.freedesktop.org/releases/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ia64 x86"
IUSE=""
RDEPEND=">=sys-apps/hal-0.5.10"
DEPEND="${RDEPEND}"
# This ebuild does not install any binaries
RESTRICT="binchecks strip"
src_install() {
emake DESTDIR="${D}" install || die
}

@ -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>

@ -0,0 +1,4 @@
AUX gsmlib-1.11-gcc41.patch 2110 SHA256 382dfa6e005cee54d14700191d326d3063e1db0f9f8106f9883a1e4790ae83a6 SHA512 75335091d6dccc7babbd5f55f5c2a51cd51dc22a2b4571641e3beec4d35f5d34938a73c3ae2cf91f759521f05a299a628c70bdd6fc3a8a9948023a9f67ab5efa WHIRLPOOL f7039292deb7d4aacc7ba1b35e2fe90af3a0ad2d1f0b83874f4314f04bc49482b5e07fe10b9c57bb95ab293030ce7eda9e117e0327012f038c0a6a17e8aedcc2
AUX gsmlib-1.11-gcc43.patch 2342 SHA256 a6647855cc4a4100c45ae4a3d4515d3de92113e7140bf49b55ad211629da454a SHA512 1fe3e11cd45de5a29bdf440733aadbd41635d85793d3f0c1fa0d43fab3cdd9d58c9c6d9a32ba5e2600c85095bf614ff0b2e00db3724f3e2031a460b2abc9ecc6 WHIRLPOOL fc49802ba435f029d164081a79fded10c9918294971d4950a17215b0988e1bc998305c85e174d9d981a7fc0fda9620719fff9c3ca3f5170e3cc05c060b85014a
AUX gsmlib-1.11-include-gcc34-fix.patch 1436 SHA256 59de49fcf775aad7e4d693274500d629bf399d5738f304804e25069745e3d0fd SHA512 1945d62185b3ac6d63763c3547ef2e264626b808c5254d450a415c20451a9d3c360cae95e9469c424d7abcf3abdc4b2ace9ae3d089dcdef8f64b8d64456e241a WHIRLPOOL 5474569e82b5c5aa6278170404427471d94f7a071e43f654ecbd09d111496b619b17be91ccb8cea4ff35b602d8908bec9fe80bd2749bad7129fe3d516b94c5d3
DIST gsmlib-pre1.11-041028.tar.gz 499052 SHA256 2dae164cdaa3b6ce41cfe4e41501f44bc665296349a5be4d5d10cb260a87231f SHA512 9009fce488b7ed7aeb0a0581f0586a3898911ea042b92369e0242dc8b0292ca82f913058cfd958a7af121be57cf925598dc26822817ccf81027917abe6b6096a WHIRLPOOL 6970eeeca15dfa14204d02f0f3e55e30e9e43808554df5bc2cb9d16496f1e422cf72373906a8b216df61cbe14d619f35dfa3b04fd676caad5d9d983897adcbe9

@ -0,0 +1,52 @@
diff -ur gsmlib-1.11-orig/gsmlib/gsm_map_key.h gsmlib-1.11/gsmlib/gsm_map_key.h
--- gsmlib-1.11-orig/gsmlib/gsm_map_key.h 2006-02-25 19:20:52.000000000 -0500
+++ gsmlib-1.11/gsmlib/gsm_map_key.h 2006-02-25 19:23:01.000000000 -0500
@@ -78,7 +78,7 @@
// MapKey members
template <class SortedStore>
- bool gsmlib::operator<(const MapKey<SortedStore> &x,
+ bool operator<(const MapKey<SortedStore> &x,
const MapKey<SortedStore> &y)
{
assert(&x._myStore == &y._myStore);
@@ -103,7 +103,7 @@
}
template <class SortedStore>
- bool gsmlib::operator==(const MapKey<SortedStore> &x,
+ bool operator==(const MapKey<SortedStore> &x,
const MapKey<SortedStore> &y)
{
assert(&x._myStore == &y._myStore);
diff -ur gsmlib-1.11-orig/gsmlib/gsm_me_ta.h gsmlib-1.11/gsmlib/gsm_me_ta.h
--- gsmlib-1.11-orig/gsmlib/gsm_me_ta.h 2006-02-25 19:20:52.000000000 -0500
+++ gsmlib-1.11/gsmlib/gsm_me_ta.h 2006-02-25 19:21:48.000000000 -0500
@@ -294,8 +294,8 @@
// 3 disable phone receive RF circuits only
// 4 disable phone both transmit and receive RF circuits
// 5...127 implementation-defined
- int MeTa::getFunctionalityLevel() throw(GsmException);
- void MeTa::setFunctionalityLevel(int level) throw(GsmException);
+ int getFunctionalityLevel() throw(GsmException);
+ void setFunctionalityLevel(int level) throw(GsmException);
// return battery charge status (+CBC):
// 0 ME is powered by the battery
@@ -389,13 +389,13 @@
void setCallWaitingLockStatus(FacilityClass cl,
bool lock)throw(GsmException);
- void MeTa::setCLIRPresentation(bool enable) throw(GsmException);
+ void setCLIRPresentation(bool enable) throw(GsmException);
//(+CLIR)
// 0:according to the subscription of the CLIR service
// 1:CLIR invocation
// 2:CLIR suppression
- int MeTa::getCLIRPresentation() throw(GsmException);
+ int getCLIRPresentation() throw(GsmException);
friend class Phonebook;
friend class SMSStore;

@ -0,0 +1,67 @@
diff -Naurp gsmlib-1.11-orig/gsmlib/gsm_me_ta.cc gsmlib-1.11/gsmlib/gsm_me_ta.cc
--- gsmlib-1.11-orig/gsmlib/gsm_me_ta.cc 2003-08-26 02:01:36.000000000 -0600
+++ gsmlib-1.11/gsmlib/gsm_me_ta.cc 2008-02-24 15:09:58.000000000 -0600
@@ -19,6 +19,8 @@
#include <gsmlib/gsm_parser.h>
#include <gsmlib/gsm_sysdep.h>
+#include <cstdlib>
+
using namespace std;
using namespace gsmlib;
diff -Naurp gsmlib-1.11-orig/gsmlib/gsm_sms_codec.cc gsmlib-1.11/gsmlib/gsm_sms_codec.cc
--- gsmlib-1.11-orig/gsmlib/gsm_sms_codec.cc 2004-10-27 17:06:06.000000000 -0600
+++ gsmlib-1.11/gsmlib/gsm_sms_codec.cc 2008-02-24 15:10:44.000000000 -0600
@@ -23,6 +23,7 @@
#ifdef HAVE_STRING_H
#include <string.h>
#endif
+#include <climits>
#include <string>
using namespace std;
using namespace gsmlib;
diff -Naurp gsmlib-1.11-orig/gsmlib/gsm_util.cc gsmlib-1.11/gsmlib/gsm_util.cc
--- gsmlib-1.11-orig/gsmlib/gsm_util.cc 2004-10-27 17:05:53.000000000 -0600
+++ gsmlib-1.11/gsmlib/gsm_util.cc 2008-02-24 15:09:36.000000000 -0600
@@ -35,6 +35,7 @@
#define __USE_GNU
#define _GNU_SOURCE
#endif
+#include <cstdlib>
#include <stdio.h>
#include <sys/stat.h>
diff -Naurp gsmlib-1.11-orig/gsmlib/gsm_unix_serial.cc gsmlib-1.11/gsmlib/gsm_unix_serial.cc
--- gsmlib-1.11-orig/gsmlib/gsm_unix_serial.cc 2004-10-27 16:57:35.000000000 -0600
+++ gsmlib-1.11/gsmlib/gsm_unix_serial.cc 2008-02-24 15:19:03.000000000 -0600
@@ -28,6 +28,7 @@
#include <pthread.h>
#include <cassert>
#include <assert.h>
+#include <cstring>
using namespace std;
using namespace gsmlib;
diff -Naurp gsmlib-1.11-orig/gsmlib/gsm_sorted_phonebook.cc gsmlib-1.11/gsmlib/gsm_sorted_phonebook.cc
--- gsmlib-1.11-orig/gsmlib/gsm_sorted_phonebook.cc 2002-05-14 13:38:12.000000000 -0600
+++ gsmlib-1.11/gsmlib/gsm_sorted_phonebook.cc 2008-02-24 15:22:52.000000000 -0600
@@ -20,6 +20,7 @@
#include <iostream>
#include <fstream>
#include <limits.h>
+#include <cstring>
const int MAX_LINE_SIZE = 1000;
diff -Naurp gsmlib-1.11-orig/apps/gsmsmsd.cc gsmlib-1.11/apps/gsmsmsd.cc
--- gsmlib-1.11-orig/apps/gsmsmsd.cc 2003-08-26 00:47:47.000000000 -0600
+++ gsmlib-1.11/apps/gsmsmsd.cc 2008-02-24 15:25:54.000000000 -0600
@@ -40,6 +40,7 @@
#include <iostream>
#include <gsmlib/gsm_me_ta.h>
#include <gsmlib/gsm_event.h>
+#include <cstring>
using namespace std;
using namespace gsmlib;

@ -0,0 +1,52 @@
--- gsmlib-1.11/gsmlib/gsm_map_key.h 2002-05-14 23:38:12.000000000 +0400
+++ gsmlib-1.11-fixed/gsmlib/gsm_map_key.h 2004-08-02 00:56:40.997784696 +0400
@@ -25,6 +25,16 @@
// wrapper for map key, can access Sortedtore to get sortOrder()
+ // compare two keys
+ template <class SortedStore> class MapKey;
+
+ template <class SortedStore>
+ bool operator<(const MapKey<SortedStore> &x,
+ const MapKey<SortedStore> &y);
+ template <class SortedStore>
+ bool operator==(const MapKey<SortedStore> &x,
+ const MapKey<SortedStore> &y);
+
template <class SortedStore> class MapKey
{
SortedStore &_myStore; // my store
@@ -47,20 +57,16 @@
friend
bool operator<
-#ifndef WIN32
- <>
-#endif
+ <SortedStore>
(const MapKey<SortedStore> &x,
const MapKey<SortedStore> &y);
friend
bool operator==
-#ifndef WIN32
- <>
-#endif
+ <SortedStore>
(const MapKey<SortedStore> &x,
const MapKey<SortedStore> &y);
};
-
+/*
// compare two keys
template <class SortedStore>
extern bool operator<(const MapKey<SortedStore> &x,
@@ -68,7 +74,7 @@
template <class SortedStore>
extern bool operator==(const MapKey<SortedStore> &x,
const MapKey<SortedStore> &y);
-
+ */
// MapKey members
template <class SortedStore>

@ -0,0 +1,31 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
inherit eutils
DESCRIPTION="Library and applications to access GSM mobile phones"
SRC_URI="http://www.pxh.de/fs/gsmlib/snapshots/${PN}-pre${PV%_pre*}-${PV#*_pre}.tar.gz"
HOMEPAGE="http://www.pxh.de/fs/gsmlib/"
IUSE=""
SLOT="0"
LICENSE="LGPL-2"
KEYWORDS="amd64 ~ia64 ppc ppc64 sparc x86"
RESTRICT="test"
S="${WORKDIR}/${PN}-${PV%_pre*}"
src_unpack() {
unpack ${A}
epatch "${FILESDIR}/${P%_pre*}-include-gcc34-fix.patch"
epatch "${FILESDIR}/${P%_pre*}-gcc41.patch"
epatch "${FILESDIR}"/${P%_pre*}-gcc43.patch
}
src_install () {
emake DESTDIR="${D}" install || die "make install failed"
dodoc README
}

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<longdescription>Library and applications to access GSM mobile phones.</longdescription>
</pkgmetadata>

@ -0,0 +1 @@
DIST smssend-3.4.tar.gz 407556 SHA256 1f402c34fb61c409488a7806e53aac349038758eef431376714d206de9bf13d0 SHA512 028826fdaff932a8c384d510155af4e868665e1c6989cd6856067128a445a850ef35d6701b8daa73d0ed41ee193e26a2034c0b4a03ea2a35113973ee00d71d8d WHIRLPOOL 14862a733aafd18e6ba0a9d122749e8867216ecbdae150ba8da2df139cdb9914697eba92d93de51083554e5d12bd23a60cb1dd20648a1df42ad009bd8d9061ee

@ -0,0 +1,34 @@
diff -Nur smssend-3.4/scripts/Makefile.am smssend-3.4-new/scripts/Makefile.am
--- smssend-3.4/scripts/Makefile.am 2004-01-11 13:31:29.000000000 -0500
+++ smssend-3.4-new/scripts/Makefile.am 2004-12-16 02:01:28.141681368 -0500
@@ -2,6 +2,6 @@
AUTOMAKE_OPTIONS = no-dependencies dist-shar
-pkgdata_DATA = 130sms.sms 1rstwap.sms 6sensreg.sms 6sens.sms a1_globalsms.sms amazonia.sms americel.sms armgsm.sms atl.sms attwireless.sms banana.sms basemine.sms bcp.sms bell.sms bol_rus.sms bol.sms boltblue.sms bramka.sms bwc.sms clarodigital.sms claro.sms clubmessage.sms comcel.sms coolsmsdk-fast.sms coolsmsdk.sms cosmos.sms cricket.sms ebol.sms e-merge.sms ems-iwarp.sms ermak_rus.sms etsity.sms eurobate.sms eurotel.sms everyday.sms exoset.sms extel-gsm.sms fajront.sms fido.sms freenet.sms freesmsau.sms ft.sms globtel.sms gmxde.sms goingtonight.sms golden.sms gomobile.sms gorizont-rt.sms gtnet.sms halebop.sms hooya.sms hotsms.sms indosat-m3.sms info2you.sms ingyensms.sms inwind.sms iol.sms kiyvstar.sms kyivstar.sms lycosde.sms lycosse.sms lycos.sms lycosuk.sms mageos.sms maxitel.sms megaforums.sms mobimel.sms mobitag.sms mobitel.sms mtnsms.sms mtsmb.sms mts.sms mtsspb.sms mufa.sms mybegin.sms natelskyline.sms netcom.sms netzquadrat.sms nwgsm.sms o2-genie.sms oi.sms onelv.sms orangeportal.sms orange.sms orf.sms oskar.sms paegas.sms pager.sms passagen.sms planet.sms plus.sms proximus.sms quick.sms rekom.sms rogers.sms room33.sms scs-900.sms sfr.sms simobil.sms smarts.sms sms_ac.sms smsitaly.sms smspress.sms smsro.sms sprintpcs.sms starhub.sms suomi24.sms surfeu.sms tango.sms tankssms.sms telebahiacelular.sms telemig.sms telering.sms tess.sms timnordeste.sms timsul.sms t-mobile.sms totalise.sms touristik.sms ubootflash.sms uboot.sms umail.sms umc.sms unimobile.sms universal.sms vivo.sms vizzavifr.sms vizzavigr.sms vizzaviuk.sms vodacom.sms yab.sms
+pkgdata_DATA = 130sms.sms 1rstwap.sms 6sensreg.sms 6sens.sms a1_globalsms.sms amazonia.sms americel.sms armgsm.sms atl.sms attwireless.sms banana.sms basemine.sms bcp.sms bell.sms bol_rus.sms bol.sms boltblue.sms bramka.sms bwc.sms clarodigital.sms claro.sms clubmessage.sms comcel.sms coolsmsdk-fast.sms coolsmsdk.sms cosmos.sms cricket.sms ebol.sms e-merge.sms ems-iwarp.sms ermak_rus.sms etsity.sms eurobate.sms eurotel.sms everyday.sms exoset.sms extel-gsm.sms fajront.sms fido.sms freenet.sms freesmsau.sms ft.sms globtel.sms gmxde.sms goingtonight.sms golden.sms gomobile.sms gorizont-rt.sms gtnet.sms halebop.sms hooya.sms hotsms.sms indosat-m3.sms info2you.sms ingyensms.sms inwind.sms iol.sms kiyvstar.sms kyivstar.sms lycosde.sms lycosse.sms lycos.sms lycosuk.sms mageos.sms maxitel.sms megaforums.sms mobimel.sms mobitag.sms mobitel.sms mtnsms.sms mtsmb.sms mts.sms mtsspb.sms mufa.sms mybegin.sms natelskyline.sms netcom.sms netzquadrat.sms nwgsm.sms o2-genie.sms oi.sms onelv.sms orangeportal.sms orange.sms orf.sms oskar.sms paegas.sms pager.sms passagen.sms planet.sms plus.sms proximus.sms quick.sms rekom.sms rogers.sms room33.sms scs-900.sms sfr.sms simobil.sms smarts.sms sms_ac.sms smsitaly.sms smspress.sms smsro.sms sprintpcs.sms starhub.sms suomi24.sms surfeu.sms tango.sms tankssms.sms telebahiacelular.sms telemig.sms telering.sms tess.sms timnordeste.sms timsul.sms t-mobile.sms totalise.sms touristik.sms ubootflash.sms uboot.sms umail.sms umc.sms unimobile.sms universal.sms verizon.sms vivo.sms vizzavifr.sms vizzavigr.sms vizzaviuk.sms vodacom.sms yab.sms
-EXTRA_DIST = 130sms.sms 1rstwap.sms 6sensreg.sms 6sens.sms a1_globalsms.sms amazonia.sms americel.sms armgsm.sms atl.sms attwireless.sms banana.sms basemine.sms bcp.sms bell.sms bol_rus.sms bol.sms boltblue.sms bramka.sms bwc.sms clarodigital.sms claro.sms clubmessage.sms comcel.sms coolsmsdk-fast.sms coolsmsdk.sms cosmos.sms cricket.sms ebol.sms e-merge.sms ems-iwarp.sms ermak_rus.sms etsity.sms eurobate.sms eurotel.sms everyday.sms exoset.sms extel-gsm.sms fajront.sms fido.sms freenet.sms freesmsau.sms ft.sms globtel.sms gmxde.sms goingtonight.sms golden.sms gomobile.sms gorizont-rt.sms gtnet.sms halebop.sms hooya.sms hotsms.sms indosat-m3.sms info2you.sms ingyensms.sms inwind.sms iol.sms kiyvstar.sms kyivstar.sms lycosde.sms lycosse.sms lycos.sms lycosuk.sms mageos.sms maxitel.sms megaforums.sms mobimel.sms mobitag.sms mobitel.sms mtnsms.sms mtsmb.sms mts.sms mtsspb.sms mufa.sms mybegin.sms natelskyline.sms netcom.sms netzquadrat.sms nwgsm.sms o2-genie.sms oi.sms onelv.sms orangeportal.sms orange.sms orf.sms oskar.sms paegas.sms pager.sms passagen.sms planet.sms plus.sms proximus.sms quick.sms rekom.sms rogers.sms room33.sms scs-900.sms sfr.sms simobil.sms smarts.sms sms_ac.sms smsitaly.sms smspress.sms smsro.sms sprintpcs.sms starhub.sms suomi24.sms surfeu.sms tango.sms tankssms.sms telebahiacelular.sms telemig.sms telering.sms tess.sms timnordeste.sms timsul.sms t-mobile.sms totalise.sms touristik.sms ubootflash.sms uboot.sms umail.sms umc.sms unimobile.sms universal.sms vivo.sms vizzavifr.sms vizzavigr.sms vizzaviuk.sms vodacom.sms yab.sms
+EXTRA_DIST = 130sms.sms 1rstwap.sms 6sensreg.sms 6sens.sms a1_globalsms.sms amazonia.sms americel.sms armgsm.sms atl.sms attwireless.sms banana.sms basemine.sms bcp.sms bell.sms bol_rus.sms bol.sms boltblue.sms bramka.sms bwc.sms clarodigital.sms claro.sms clubmessage.sms comcel.sms coolsmsdk-fast.sms coolsmsdk.sms cosmos.sms cricket.sms ebol.sms e-merge.sms ems-iwarp.sms ermak_rus.sms etsity.sms eurobate.sms eurotel.sms everyday.sms exoset.sms extel-gsm.sms fajront.sms fido.sms freenet.sms freesmsau.sms ft.sms globtel.sms gmxde.sms goingtonight.sms golden.sms gomobile.sms gorizont-rt.sms gtnet.sms halebop.sms hooya.sms hotsms.sms indosat-m3.sms info2you.sms ingyensms.sms inwind.sms iol.sms kiyvstar.sms kyivstar.sms lycosde.sms lycosse.sms lycos.sms lycosuk.sms mageos.sms maxitel.sms megaforums.sms mobimel.sms mobitag.sms mobitel.sms mtnsms.sms mtsmb.sms mts.sms mtsspb.sms mufa.sms mybegin.sms natelskyline.sms netcom.sms netzquadrat.sms nwgsm.sms o2-genie.sms oi.sms onelv.sms orangeportal.sms orange.sms orf.sms oskar.sms paegas.sms pager.sms passagen.sms planet.sms plus.sms proximus.sms quick.sms rekom.sms rogers.sms room33.sms scs-900.sms sfr.sms simobil.sms smarts.sms sms_ac.sms smsitaly.sms smspress.sms smsro.sms sprintpcs.sms starhub.sms suomi24.sms surfeu.sms tango.sms tankssms.sms telebahiacelular.sms telemig.sms telering.sms tess.sms timnordeste.sms timsul.sms t-mobile.sms totalise.sms touristik.sms ubootflash.sms uboot.sms umail.sms umc.sms unimobile.sms universal.sms verizon.sms vivo.sms vizzavifr.sms vizzavigr.sms vizzaviuk.sms vodacom.sms yab.sms
diff -Nur smssend-3.4/scripts/verizon.sms smssend-3.4-new/scripts/verizon.sms
--- smssend-3.4/scripts/verizon.sms 1969-12-31 19:00:00.000000000 -0500
+++ smssend-3.4-new/scripts/verizon.sms 2004-12-16 02:00:43.056535352 -0500
@@ -0,0 +1,18 @@
+#messaging.verizonwireless.com
+#Version 1.0
+#Dane Jackson <dane@unixbigots.org>
+
+NbParams 3
+%Number : The phone number should be 10 digits
+%CallbackNumber : Your phone number - 1 or more digits
+%Message Size=160 Convert : Your message
+
+# Sending message
+# The only important part that's different from the submittal page
+# instead of the disclaimer page is the disclaimer_submit key. So
+# we can just skip the first page.
+
+PostURL http://www.vtext.com/customer_site/jsp/disclaimer.jsp
+PostData min=\%Number%&text=\%Message%&counter=160&sender=\%CallbackNumber%&trackResponses=No&DOMAIN_NAME=@vtext.com&disclaimer_submit=On
+GO
+

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
</pkgmetadata>

@ -0,0 +1,33 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit autotools
DESCRIPTION="Universal SMS sender"
# Was: http://zekiller.skytech.org/smssend_menu_en.html
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
SRC_URI="mirror://gentoo/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc ~ppc64 ~sparc x86"
IUSE=""
# -r5 of skyutils fixes a runtime crash, bug 588326.
# Without SSL support in skyutils, some providers fail.
DEPEND=">=dev-libs/skyutils-2.8-r5[ssl]"
RDEPEND="${DEPEND}"
PATCHES=( "${FILESDIR}/${P}-verizon.diff" )
src_prepare() {
default
sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.in \
|| die 'failed to rename AM_CONFIG_HEADER macro'
eautoreconf
}

@ -0,0 +1,2 @@
DIST dbus-1-tqt-3.5.13.1.tar.gz 378109 SHA256 afa621ae0bd65d50d011c1789e98f1418a2c852d2ca72833b1f50805acb1d935 SHA512 5c73d0cf603f345782b318197dec89632123ca2a3802cf152fd8f24600ec670a156f74026e4578bd25af766dd5a5243050442ee07067cfef9bd950f0cd5b3a39 WHIRLPOOL 95e5dd704824cc23390795d775735cdaeb58245c266409888f5cd0b79563e5b00e5b60fd2fbc8e5618889f612dfbcf71566223ed23a2ca1318454812b952b78a
DIST dbus-1-tqt-trinity-3.5.13.2.tar.xz 302900 SHA256 b4b048a4eaa67e9bedb5d46a15f16f5b814c3eb55474c6bcd4a817105b5e4a64 SHA512 3bc6b732288e9348ebff999644478926fefc8f62235a3accb45fdf828a2ef6988cf2d192b093ad532393fbe57bfbb353371bef18caff27f512d2f046d24f3131 WHIRLPOOL 0d959b83181c97bc26343322312c848e7c7c031912f8f3869806d2d4f682fa142d405016e49da1e498ab9311b18f1cacde5d71de99531412ce51b2dd26e27b51

@ -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_TYPE="dependencies"
TRINITY_MODULE_NAME="dbus-1-tqt"
inherit trinity-base
DESCRIPTION="D-BUS TQt bindings"
HOMEPAGE="http://trinitydesktop.org/"
LICENSE="GPL-2 LGPL-2"
KEYWORDS="x86 amd64"
SLOT="0"
IUSE=""
DEPEND=">=dev-qt/qt-3.3.8d:3
sys-apps/dbus
dev-qt/tqtinterface"
RDEPEND="$DEPEND"
src_configure() {
cmake-utils_src_configure
}

@ -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_TYPE="dependencies"
TRINITY_MODULE_NAME="dbus-1-tqt"
inherit trinity-base
DESCRIPTION="D-BUS TQt bindings"
HOMEPAGE="http://trinitydesktop.org/"
LICENSE="GPL-2 LGPL-2"
KEYWORDS="~amd64 ~x86"
SLOT="0"
IUSE=""
DEPEND=">=dev-qt/qt-3.3.8d:3
sys-apps/dbus
dev-qt/tqtinterface"
RDEPEND="$DEPEND"
src_configure() {
cmake-utils_src_configure
}

@ -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_TYPE="dependencies"
TRINITY_MODULE_NAME="dbus-1-tqt"
inherit trinity-base
DESCRIPTION="D-BUS TQt bindings"
HOMEPAGE="http://trinitydesktop.org/"
LICENSE="GPL-2 LGPL-2"
KEYWORDS=
SLOT="0"
IUSE=""
DEPEND="sys-apps/dbus
dev-qt/tqtinterface"
RDEPEND="$DEPEND"
src_configure() {
cmake-utils_src_configure
}

@ -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>