ChangeLog

# ChangeLog for app-mobilephone/gnokii
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gnokii/ChangeLog,v 1.82 2008/08/31 07:13:53 mrness Exp $

31 Aug 2008; Alin Năstac gnokii-0.6.22-r2.ebuild,
gnokii-0.6.26-r2.ebuild:
Don't force -j1 on make (#235999).

24 Aug 2008; Markus Rothe gnokii-0.6.26-r2.ebuild:
Stable on ppc64; bug #234787

31 Jul 2008; Ulrich Mueller metadata.xml:
Add USE flag description to metadata wrt GLEP 56.

*gnokii-0.6.26-r2 (14 Jul 2008)

14 Jul 2008; Alin Năstac -gnokii-0.6.26-r1.ebuild,
+gnokii-0.6.26-r2.ebuild:
Add pcsc-lite dependency and force --enable-libpcsclite configure option
(#231721).

12 Jul 2008; Alin Năstac
+files/gnokii-0.6.26-qa-fixes.patch, gnokii-0.6.26-r1.ebuild:
Fix implicit declaration QA notice.

14 Jun 2008; Alin Năstac
-files/gnokii-0.6.14-configure.in.patch,
-files/gnokii-0.6.18-xlibpath.patch, -gnokii-0.6.14-r2.ebuild,
-gnokii-0.6.18-r1.ebuild, -gnokii-0.6.19.ebuild:
Remove obsolete versions.

04 Jun 2008; Raúl Porcel gnokii-0.6.22-r2.ebuild:
sparc stable wrt #203745

*gnokii-0.6.26-r1 (01 Jun 2008)

01 Jun 2008; Alin Năstac -gnokii-0.6.26.ebuild,
+gnokii-0.6.26-r1.ebuild:
Improve ebuild (#215378).

*gnokii-0.6.26 (01 Jun 2008)

01 Jun 2008; Alin Năstac +gnokii-0.6.26.ebuild:
Version bump (#215378).

21 May 2008; Tiziano Müller
gnokii-0.6.14-r2.ebuild, gnokii-0.6.18-r1.ebuild, gnokii-0.6.19.ebuild,
gnokii-0.6.22-r2.ebuild:
Changed dependency for postgresql from dev-db/postgresql to
virtual/postgresql-server

24 Mar 2008; Markus Meier gnokii-0.6.22-r2.ebuild:
amd64 stable, bug #203745

28 Jan 2008; Jeroen Roovers gnokii-0.6.22-r2.ebuild:
Stable for HPPA (bug #203745).

10 Jan 2008; Brent Baude gnokii-0.6.22-r2.ebuild:
Marking gnokii-0.6.22-r2 ppc64 for bug 203745

10 Jan 2008; Brent Baude gnokii-0.6.22-r2.ebuild:
Marking gnokii-0.6.22-r2 ppc for bug 203745

*gnokii-0.6.22-r2 (05 Jan 2008)

05 Jan 2008; Alin Năstac
+files/gnokii-0.6.22-xmandir.patch, -gnokii-0.6.22-r1.ebuild,
+gnokii-0.6.22-r2.ebuild:
Install xgnokii manpage in /usr/share/man directory (#204308).

01 Jan 2008; Alin Năstac
+files/gnokii-0.6.22-locale.patch, gnokii-0.6.22-r1.ebuild:
Fix broken compilation on glibc-2.7 (#203787).

01 Jan 2008; Markus Meier gnokii-0.6.22-r1.ebuild:
x86 stable, bug #203745

*gnokii-0.6.22-r1 (02 Dec 2007)

02 Dec 2007; Alin Năstac -gnokii-0.6.22.ebuild,
+gnokii-0.6.22-r1.ebuild:
Install headers and pkgconfig files (#200952).

*gnokii-0.6.22 (01 Dec 2007)

01 Dec 2007; Alin Năstac +gnokii-0.6.22.ebuild:
Version bump (#200879); add linguas flags.

*gnokii-0.6.19 (25 Oct 2007)

25 Oct 2007; Alin Năstac -gnokii-0.6.17.ebuild,
+gnokii-0.6.19.ebuild:
Version bump.

18 Aug 2007; Alin Năstac gnokii-0.6.14-r2.ebuild,
gnokii-0.6.17.ebuild, gnokii-0.6.18-r1.ebuild:
Modify postinst message according to bug #189270.

*gnokii-0.6.18-r1 (17 Aug 2007)

17 Aug 2007; Alin Năstac -gnokii-0.6.18.ebuild,
+gnokii-0.6.18-r1.ebuild:
Cope with changes occured in smsd source (#189181).

*gnokii-0.6.18 (16 Aug 2007)

16 Aug 2007; Alin Năstac
+files/gnokii-0.6.18-xlibpath.patch, +gnokii-0.6.18.ebuild:
Version bump. Correct configure script through xlibpath.patch (#188362).

02 Aug 2007; Alin Năstac
-files/gnokii-0.6.7-smsd-glib2.patch,
-files/gnokii-0.6.8-smsd-glib2.patch, -files/gnokii.desktop,
-files/gnokii-bindir.patch, -gnokii-0.6.7-r1.ebuild,
-gnokii-0.6.7-r2.ebuild, -gnokii-0.6.8.ebuild, -gnokii-0.6.10.ebuild,
-gnokii-0.6.12.ebuild, -gnokii-0.6.14.ebuild:
Remove obsolete versions (#183440).

28 Jul 2007; Christoph Mende gnokii-0.6.14-r2.ebuild:
Stable on amd64 wrt bug #183440

25 Jul 2007; Jeroen Roovers gnokii-0.6.14-r2.ebuild:
Stable for HPPA (bug #183440).

02 Jul 2007; Raúl Porcel gnokii-0.6.7-r1.ebuild,
gnokii-0.6.7-r2.ebuild, gnokii-0.6.8.ebuild, gnokii-0.6.10.ebuild,
gnokii-0.6.12.ebuild, gnokii-0.6.14.ebuild, gnokii-0.6.14-r2.ebuild,
gnokii-0.6.17.ebuild:
Drop alpha/ia64 keyword as nobody has the hardware to test

*gnokii-0.6.17 (27 Jun 2007)

27 Jun 2007; Alin Năstac +gnokii-0.6.17.ebuild:
Version bump, done by Peter Volkov (#183044).

06 May 2007; Tobias Scherbaum
gnokii-0.6.14-r2.ebuild:
ppc stable

15 Apr 2007; Markus Rothe gnokii-0.6.14-r2.ebuild:
Stable on ppc64

23 Jan 2007; Marius Mauch gnokii-0.6.7-r1.ebuild,
gnokii-0.6.7-r2.ebuild, gnokii-0.6.8.ebuild, gnokii-0.6.10.ebuild,
gnokii-0.6.12.ebuild, gnokii-0.6.14.ebuild, gnokii-0.6.14-r2.ebuild:
Replacing einfo with elog

17 Jan 2007; Gustavo Zacarias
gnokii-0.6.14-r2.ebuild:
Stable on sparc

*gnokii-0.6.14-r2 (16 Jan 2007)

16 Jan 2007; Alin Năstac -gnokii-0.6.14-r1.ebuild,
+gnokii-0.6.14-r2.ebuild:
Add -fno-strict-aliasing. Stable on x86.

*gnokii-0.6.14-r1 (27 Dec 2006)

27 Dec 2006; Alin Năstac +gnokii-0.6.14-r1.ebuild:
Fix smsd database support (bug #158667).

06 Dec 2006; Lars Weiler gnokii-0.6.14.ebuild:
Stable on ppc.

03 Dec 2006; Markus Rothe gnokii-0.6.14.ebuild:
Stable on ppc64

23 Nov 2006; Francesco Riosa gnokii-0.6.7-r1.ebuild,
gnokii-0.6.7-r2.ebuild, gnokii-0.6.8.ebuild, gnokii-0.6.10.ebuild,
gnokii-0.6.12.ebuild, gnokii-0.6.14.ebuild:
dev-db/mysql => virtual/mysql

17 Nov 2006; Gustavo Zacarias gnokii-0.6.14.ebuild:
Stable on sparc

15 Nov 2006; Alin Nastac gnokii-0.6.14.ebuild:
Stable on x86.

*gnokii-0.6.14 (11 Sep 2006)

11 Sep 2006; Michele Noberasco +gnokii-0.6.14.ebuild:
Version bump (#144463).

10 Jun 2006; Michael Hanselmann gnokii-0.6.12.ebuild:
Stable on ppc.

09 Jun 2006; Markus Rothe gnokii-0.6.12.ebuild:
Stable on ppc64

06 Jun 2006; Gustavo Zacarias gnokii-0.6.12.ebuild:
Stable on sparc

06 Jun 2006; Alin Nastac
-files/gnokii-0.6.11-vcal.patch, -gnokii-0.6.11-r1.ebuild,
gnokii-0.6.12.ebuild:
Remove obsolete test version. Restrict test instead maketest.

02 Jun 2006; Alin Nastac gnokii-0.6.12.ebuild:
Stable on x86.

*gnokii-0.6.12 (09 Apr 2006)

09 Apr 2006; Alin Nastac +gnokii-0.6.12.ebuild:
Version bump (#129370).

*gnokii-0.6.11-r1 (27 Feb 2006)

27 Feb 2006; Alin Nastac
+files/gnokii-0.6.11-vcal.patch, -gnokii-0.6.11.ebuild,
+gnokii-0.6.11-r1.ebuild:
Fix ical support, thanks to Urs Joss (#124152).

*gnokii-0.6.11 (25 Feb 2006)

25 Feb 2006; Alin Nastac +gnokii-0.6.11.ebuild:
Version bump.

11 Feb 2006; Alin Nastac gnokii-0.6.10.ebuild:
Condition installation of desktop file by the X useflag (#122347).

06 Feb 2006; Aron Griffis gnokii-0.6.10.ebuild:
Mark 0.6.10 stable on alpha

04 Feb 2006; Aron Griffis gnokii-0.6.10.ebuild:
Mark 0.6.10 stable on ia64

21 Jan 2006; Markus Rothe gnokii-0.6.10.ebuild:
Stable on ppc64

05 Jan 2006; Gustavo Zacarias gnokii-0.6.10.ebuild:
Stable on sparc

02 Jan 2006; Michael Hanselmann gnokii-0.6.10.ebuild:
Stable on ppc.

02 Jan 2006; Alin Nastac gnokii-0.6.10.ebuild:
Stable on x86.

25 Dec 2005; Diego Pettenò gnokii-0.6.10.ebuild:
Actually change last version, not the one before.

25 Dec 2005; Diego Pettenò gnokii-0.6.8.ebuild:
Use bindnow-flags function instead of -Wl,-z,now.

24 Nov 2005; Markus Rothe gnokii-0.6.8.ebuild:
Stable on ppc64

18 Nov 2005; Michael Hanselmann gnokii-0.6.8.ebuild:
Stable on hppa, ppc.

15 Nov 2005; Gustavo Zacarias gnokii-0.6.8.ebuild:
Stable on sparc

*gnokii-0.6.10 (15 Nov 2005)

15 Nov 2005; Alin Nastac
-files/gnokii-0.6.3-nounix98pty.patch,
-files/gnokii-0.6.4-nounix98pty.patch,
-files/gnokii-0.6.6-nounix98pty.patch, -gnokii-0.6.3.ebuild,
-gnokii-0.6.4.ebuild, -gnokii-0.6.6.ebuild, gnokii-0.6.8.ebuild,
+gnokii-0.6.10.ebuild:
Remove obsolete versions. Mark version 0.6.8 stable on x86. Version bump
(#112566).

13 Oct 2005; Aron Griffis gnokii-0.6.7-r1.ebuild:
Mark 0.6.7-r1 stable on alpha

*gnokii-0.6.8 (01 Sep 2005)

01 Sep 2005; Alin Nastac
+files/gnokii-0.6.8-smsd-glib2.patch, gnokii-0.6.3.ebuild,
gnokii-0.6.4.ebuild, gnokii-0.6.6.ebuild, gnokii-0.6.7-r1.ebuild,
gnokii-0.6.7-r2.ebuild, +gnokii-0.6.8.ebuild:
Version bump and replace DESCRIPTION (#104269).

*gnokii-0.6.7-r2 (29 Aug 2005)

29 Aug 2005; Alin Nastac +gnokii-0.6.7-r2.ebuild:
Fix lib path for smsd database modules (#104050).

28 Aug 2005; Luis Medinas gnokii-0.6.7-r1.ebuild:
Marked Stable on AMD64.

27 Aug 2005; Guy Martin gnokii-0.6.7-r1.ebuild:
Stable on hppa.

23 Aug 2005; Aron Griffis gnokii-0.6.7-r1.ebuild:
stable on ia64

17 Aug 2005; Gustavo Zacarias
gnokii-0.6.7-r1.ebuild:
Stable on sparc

31 Jul 2005; Tobias Scherbaum
gnokii-0.6.7-r1.ebuild:
ppc stable

24 Jul 2005; Markus Rothe gnokii-0.6.7-r1.ebuild:
Stable on ppc64

24 Jul 2005; Alin Nastac -gnokii-0.6.7.ebuild,
gnokii-0.6.7-r1.ebuild:
Stable on x86.

*gnokii-0.6.7-r1 (23 Jul 2005)

23 Jul 2005; Alin Nastac
+files/gnokii-0.6.7-smsd-glib2.patch, +gnokii-0.6.7-r1.ebuild:
Add dependency of glib-2 for sms daemon (#99950). Disable debug information.
Fix path to gnokiid in /etc/gnokiirc.

21 Jul 2005; Alin Nastac gnokii-0.6.7.ebuild:
Stable on x86.

13 Jun 2005; Jason Wever gnokii-0.6.6.ebuild:
Stable on SPARC.

12 Jun 2005; Lars Weiler gnokii-0.6.6.ebuild:
Stable on ppc.

06 Jun 2005; Markus Rothe gnokii-0.6.6.ebuild:
Stable on ppc64

*gnokii-0.6.7 (05 Jun 2005)

05 Jun 2005; Alin Nastac gnokii-0.6.6.ebuild,
+gnokii-0.6.7.ebuild:
Stable on x86. Version bump with improved ebuild that checks UNIX 98 pty support.

19 May 2005; Guy Martin gnokii-0.6.4.ebuild:
Stable on hppa.

*gnokii-0.6.6 (15 May 2005)

15 May 2005; Alin Nastac
+files/gnokii-0.6.6-nounix98pty.patch, +gnokii-0.6.6.ebuild:
Version bump (#92603).

14 May 2005; Alin Nastac metadata.xml:
Moved from net-dialup/gnokii to app-mobilephone/gnokii.

25 Apr 2005; Jason Wever gnokii-0.6.4.ebuild:
Stable on SPARC.

01 Apr 2005; Aron Griffis gnokii-0.6.4.ebuild:
stable on ia64

22 Mar 2005; Markus Rothe gnokii-0.6.4.ebuild:
Stable on ppc64

06 Mar 2005; Marcus D. Hanwell gnokii-0.6.4.ebuild:
Marked stable on amd64.

28 Feb 2005; Alin Nastac gnokii-0.6.3.ebuild,
gnokii-0.6.4.ebuild:
Move virtual/os-headers from RDEPEND to DEPEND (#82449).

06 Feb 2005; Alin Nastac
-files/gnokii-0.5.4-nounix98pty.patch, -gnokii-0.5.10.ebuild,
-gnokii-0.6.0.ebuild, gnokii-0.6.4.ebuild:
Remove obsolete ebuilds and mark as stable on x86.

04 Jan 2005; Guy Martin gnokii-0.6.3.ebuild:
Stable on hppa.

16 Dec 2004; Markus Rothe gnokii-0.6.3.ebuild:
Stable on ppc64

06 Dec 2004; Jason Huebel gnokii-0.6.3.ebuild:
stable on amd64

*gnokii-0.6.4 (18 Nov 2004)

18 Nov 2004; Alin Nastac
+files/gnokii-0.6.3-nounix98pty.patch,
-files/gnokii-0.6.3-nounix98pty.patch.bz2,
+files/gnokii-0.6.4-nounix98pty.patch, gnokii-0.6.3.ebuild,
+gnokii-0.6.4.ebuild:
Version bump with install errors cleaned up.

17 Nov 2004; Alin Nastac gnokii-0.6.3.ebuild:
Stable on x86

17 Nov 2004; Bryan Østergaard gnokii-0.6.3.ebuild:
Stable on alpha.

06 Nov 2004; Lars Weiler gnokii-0.6.3.ebuild:
Stable on ppc.

06 Nov 2004; Markus Rothe gnokii-0.6.3.ebuild:
Marked ~ppc64; bug #67291

04 Nov 2004; Jason Wever gnokii-0.6.3.ebuild:
Stable on sparc wrt security bug #69936.

03 Nov 2004; Bryan Østergaard gnokii-0.6.3.ebuild:
~alpha keyword.

17 Oct 2004; David Holm gnokii-0.6.3.ebuild:
Added to ~ppc.

12 Oct 2004; Jason Wever gnokii-0.6.3.ebuild:
Added ~sparc keyword wrt bug #67291.

*gnokii-0.6.3 (15 Sep 2004)

15 Sep 2004; Heinrich Wendel
+files/gnokii-0.6.3-nounix98pty.patch.bz2, +files/gnokii-bindir.patch,
+files/gnokii.desktop, +gnokii-0.6.3.ebuild:
version bump, bug #61906, added destop file

03 Aug 2004; Heinrich Wendel gnokii-0.4.3.ebuild:
remove old buggy ebuild

09 Jul 2004; Travis Tilley gnokii-0.5.10.ebuild,
gnokii-0.6.0.ebuild:
switch linux-headers dependency to virtual/os-headers

27 Apr 2004; Aron Griffis gnokii-0.5.10.ebuild,
gnokii-0.6.0.ebuild:
Add inherit eutils

24 Apr 2004; Danny van Dyk gnokii-0.6.0.ebuild:
marked ~amd64.

*gnokii-0.6.0 (22 Mar 2004)

22 Mar 2004; Heinrich Wendel gnokii-0.5.5.ebuild,
gnokii-0.6.0.ebuild:
version bump, bug #45365

06 Mar 2004; Heinrich Wendel gnokii-0.5.10.ebuild:
mark gnokii-0.5.10 stable because of a serious bug in the previous version (bug
#42909)

*gnokii-0.5.10 (22 Feb 2004)

22 Feb 2004; Heinrich Wendel gnokii-0.5.10.ebuild,
gnokii-0.5.4.ebuild, gnokii-0.5.5.ebuild:
mark 0.5.5 stable; remove 0.5.4; add 0.5.10

*gnokii-0.5.5 (25 Nov 2003)

25 Nov 2003; Heinrich Wendel gnokii-0.5.5.ebuild:
version bump

19 Nov 2003; Heinrich Wendel metadata.xml:
metadata

*gnokii-0.5.4 (01 Oct 2003)

01 Oct 2003; Alastair Tse gnokii-0.5.2-r1.ebuild,
gnokii-0.5.4.ebuild, files/gnokii-0.5.2-nounix98pty.patch,
files/gnokii-0.5.4-nounix98pty.patch:
version bump. revised ebuild to not disable sandbox and remove gnokii group
for the moment while we figure out whether it is actually needed. installs the
right docs and other general cleanup.

*gnokii-0.5.2 (08 Aug 2003)

08 Aug 2003; Hanno Boeck gnokii-0.5.2.ebuild:
Version bump. Changed some dodoc-commands (ebuild submitted by roger@eskimo.com
in bug 22270.

*gnokii-0.4.3 (22 May 2003)

22 May 2003; Chuck Brewer :
Added maifest.

*gnokii-0.4.3 (10 Dec 2002)

10 Dec 2002; Jose Alberto Suarez Lopez :
First relase. bug#6438

Manifest

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

AUX gnokii-0.6.22-locale.patch 388 RMD160 dd6e6c977154c62ed51839fa64a11e4686cdbd81 SHA1 d71db99b61afe94f953398f64a9c41db78885109 SHA256 ea4a92a9c8fdc41343c72e7886f926cb8a48c544b1262e25a9b8808b36d7e6c0
AUX gnokii-0.6.22-xmandir.patch 508 RMD160 834e05ccf4f386ab4fb7d737241ed62c038aa3a9 SHA1 dce4a58cc5a80f5c05cb39caf39a6dfcb9ef1f8c SHA256 1254188f6a70623ece09fc785c1bf81fe21417cd80ad4427e9fa12ed99bfeeb5
AUX gnokii-0.6.26-qa-fixes.patch 475 RMD160 2f39c1bfafb4db9c771a5cd0ca84e18e26b33ed7 SHA1 0229a9f4627a897a1b76b34e9193a166df055762 SHA256 68b8f41ba030a8d1ea76268404d5218e4b14befdba5a194b56a626b63d3005da
DIST gnokii-0.6.22.tar.bz2 1808129 RMD160 4e1ec33936b05bdab65b64507574522891a02fef SHA1 a782fb05ace48fae5aeabfbdf2f8c100ec96cb7a SHA256 9c72fdb581bc0a3653962931592439489be7d9306cd71e94b48689545aeb7be0
DIST gnokii-0.6.26.tar.bz2 1446615 RMD160 7daa49c48229d8784b4b5d489a46e2aa3e01ab3e SHA1 572e1de8dec46c962567995996605ad7964021e0 SHA256 35242b5545ced25383ac8c771b602c15b5585063c3637a23c9ef0a31d3e591ea
EBUILD gnokii-0.6.22-r2.ebuild 4189 RMD160 37a2ecdfa9e4793163ba76130b084b1cc6073fdf SHA1 14c9065adc3fac1966d35143946d98ad849a8c91 SHA256 5261d2d6be3131413c4bb964cc6c07dca69e154c7bd5da7281e396c5fea46483
EBUILD gnokii-0.6.26-r2.ebuild 2654 RMD160 b6f7c3ee4a508d39c25c20c5ccb700b651fd5d62 SHA1 90d94c73de67f3cd320f0d2526c7da7a3fff601a SHA256 9fdd3e5b55a2d1dd0b00a6e710c93d3d3db05e2eeb2968cddd2c7c487a0e8233
MISC ChangeLog 15835 RMD160 e459fd3be1b521f482bb77424e27cc29572d973b SHA1 cbc23bc9086d74233565554e89edcee8ba6d7864 SHA256 f2458f6c321ec42637938dbebab95147c64942a75116ac444e93f1947d1b9f7f
MISC metadata.xml 663 RMD160 3b3b8b1de6315f0068a2b405f3a6a985d976fd6f SHA1 29453a786f8cd9bc457c41db0c2bf1131ac33dce SHA256 8275ef9e2f500c48cc7c6620246bfafdf15e0bbd62bbe5f7fe286ebf5650a5ca
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAki6RLwACgkQPrHvTlXvhtvojACfSjtZ+RlaacFaxnLr5wOS/iNk
0jkAn3sFZeVog6VSUxLGUrfAttxnriRX
=pSW7
-----END PGP SIGNATURE-----

files

gnokii-0.6.22-r2.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gnokii/gnokii-0.6.22-r2.ebuild,v 1.8 2008/08/31 07:13:53 mrness Exp $

WANT_AUTOMAKE="none"

inherit eutils linux-info autotools

DESCRIPTION="user space driver and tools for use with mobile phones"
HOMEPAGE="http://www.gnokii.org/"
SRC_URI="http://www.gnokii.org/download/${PN}/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 hppa ppc ppc64 sparc x86"
IUSE="nls bluetooth ical irda sms postgres mysql usb X debug"

RESTRICT="test" #test fails; maybe it will work in the future, but till then...

RDEPEND="X? ( >=x11-libs/gtk+-2.8.19 )
bluetooth? ( >=net-wireless/bluez-libs-2.25 )
sms? ( >=dev-libs/glib-2.10.3
postgres? ( >=virtual/postgresql-server-8.0 )
mysql? ( >=virtual/mysql-4.1 )
)
ical? ( >=dev-libs/libical-0.26.6 )
usb? ( >=dev-libs/libusb-0.1.11 )"
DEPEND="${RDEPEND}
irda? ( virtual/os-headers )
nls? ( >=sys-devel/gettext-0.14.5 )"

CONFIG_CHECK="UNIX98_PTYS"

# Supported languages and translated documentation
# Be sure all languages are prefixed with a single space!
MY_AVAILABLE_LINGUAS=" cs de et fi fr it nl pl pt sk sl sv zh_CN"
IUSE="${IUSE} ${MY_AVAILABLE_LINGUAS// / linguas_}"

src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-locale.patch
epatch "${FILESDIR}"/${P}-xmandir.patch

if use sms ; then
local MY_SMSD_DB_OBJS="file.lo"
local MY_SMSD_DB_LIBS="libfile.la"
if use postgres; then
MY_SMSD_DB_OBJS="${MY_SMSD_DB_OBJS} pq.lo"
MY_SMSD_DB_LIBS="${MY_SMSD_DB_LIBS} libpq.la"
fi
if use mysql; then
MY_SMSD_DB_OBJS="${MY_SMSD_DB_OBJS} mysql.lo"
MY_SMSD_DB_LIBS="${MY_SMSD_DB_LIBS} libmysql.la"
fi

sed -i \
-e "s/^\(DB_OBJS[\t ]*=\).*$/\1 ${MY_SMSD_DB_OBJS}/" \
-e "s/^\(DB_LIBS[\t ]*=\).*$/\1 ${MY_SMSD_DB_LIBS}/" \
-e 's/\(^.*LIBTOOL.*--mode=finish.*$\)/#\1/' \
smsd/Makefile

#Change default database module
local MY_DEFAULT_DB_MODULE="file"
if use postgres ; then
MY_DEFAULT_DB_MODULE="pq"
elif use mysql ; then
MY_DEFAULT_DB_MODULE="mysql"
fi
sed -i -e "s/\(smsdConfig[.]dbMod[\t ]*=.*\"\).*\(\"\)/\1${MY_DEFAULT_DB_MODULE}\2/" smsd/smsd.c
fi

# sys-devel/gettext is needed for creating .mo files
local lang MY_LANGUAGES=""
for lang in ${MY_AVAILABLE_LINGUAS} ; do
if use linguas_${lang} ; then
MY_LANGUAGES="${MY_LANGUAGES} ${lang}"
fi
done
sed -i -e "s:^ALL_LINGUAS=.*$:ALL_LINGUAS=\"${MY_LANGUAGES}\":" configure.in
eautoconf
}

src_compile() {
config_xdebug="--disable-xdebug"
use X && use debug && config_xdebug="--enable-xdebug"

econf \
$(use_enable nls) \
$(use_enable ical libical) \
$(use_enable usb libusb) \
$(use_enable irda) \
$(use_enable bluetooth) \
$(use_with X x) \
$(use_enable debug) \
${config_xdebug} \
$(use_enable debug rlpdebug) \
--enable-security \
--disable-unix98test \
|| die "configure failed"

emake || die "make failed"

if use sms; then
pushd "${S}/smsd"
emake || die "smsd make install failed"
popd
fi
}

src_install() {
einstall install-includes || die "make install failed"

if use X; then
insinto /usr/share/pixmaps
newins Docs/sample/logo/gnokii.xpm xgnokii.xpm
fi

insinto /etc
doins Docs/sample/gnokiirc
sed -i -e 's:/usr/local:/usr:' "${D}/etc/gnokiirc"

doman Docs/man/*

dodir "/usr/share/doc/${PF}"
cp -r Docs/sample "${D}/usr/share/doc/${PF}/sample"
cp -r Docs/protocol "${D}/usr/share/doc/${PF}/protocol"
rm -rf Docs/man Docs/sample Docs/protocol
dodoc Docs/* ChangeLog TODO MAINTAINERS

# only one file needs suid root to make a pseudo device
fperms 4755 /usr/sbin/mgnokiidev

if use sms; then
pushd "${S}/smsd"
einstall || die "smsd make install failed"
insinto /usr/share/doc/${PF}/smsd
use mysql && doins sms.tables.mysql.sql README.MySQL
use postgres && doins sms.tables.pq.sql
doins README ChangeLog README.Tru64 action
popd
fi
}

pkg_postinst() {
elog "Make sure the user that runs gnokii has read/write access to the device"
elog "which your phone is connected to."
elog "The simple way of doing that is to add your user to the uucp group."
}

gnokii-0.6.26-r2.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gnokii/gnokii-0.6.26-r2.ebuild,v 1.3 2008/08/31 07:13:53 mrness Exp $

WANT_AUTOMAKE="none"

inherit eutils linux-info

DESCRIPTION="user space driver and tools for use with mobile phones"
HOMEPAGE="http://www.gnokii.org/"
SRC_URI="http://www.gnokii.org/download/${PN}/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~ppc ppc64 ~sparc ~x86"
IUSE="nls bluetooth ical irda sms postgres mysql usb X debug"

RDEPEND="sys-apps/pcsc-lite
X? ( >=x11-libs/gtk+-2.8.19 )
bluetooth? ( >=net-wireless/bluez-libs-2.25 )
sms? ( >=dev-libs/glib-2.10.3
postgres? ( >=virtual/postgresql-server-8.0 )
mysql? ( >=virtual/mysql-4.1 )
)
ical? ( >=dev-libs/libical-0.26.6 )
usb? ( >=dev-libs/libusb-0.1.11 )"
DEPEND="${RDEPEND}
irda? ( virtual/os-headers )
nls? ( >=sys-devel/gettext-0.14.5 )"

CONFIG_CHECK="UNIX98_PTYS"

# Supported languages and translated documentation
# Be sure all languages are prefixed with a single space!
MY_AVAILABLE_LINGUAS=" cs de et fi fr it nl pl pt sk sl sv zh_CN"
IUSE="${IUSE} ${MY_AVAILABLE_LINGUAS// / linguas_}"

src_unpack() {
unpack ${A}

epatch "${FILESDIR}"/${P}-qa-fixes.patch
}

src_compile() {
strip-linguas ${MY_AVAILABLE_LINGUAS}

local config_xdebug="--disable-xdebug"
use X && use debug && config_xdebug="--enable-xdebug"

econf \
$(use_enable nls) \
$(use_enable ical libical) \
$(use_enable usb libusb) \
$(use_enable irda) \
$(use_enable bluetooth) \
$(use_with X x) \
$(use_with sms smsd) \
$(use_enable debug fulldebug) \
${config_xdebug} \
$(use_enable debug rlpdebug) \
--enable-security \
--disable-unix98test \
--enable-libpcsclite \
|| die "configure failed"

emake || die "make failed"
}

src_install() {
einstall || die "make install failed"

insinto /etc
doins Docs/sample/gnokiirc
sed -i -e 's:/usr/local:/usr:' "${D}/etc/gnokiirc"

# only one file needs suid root to make a pseudo device
fperms 4755 /usr/sbin/mgnokiidev

if use X; then
insinto /usr/share/pixmaps
newins Docs/sample/logo/gnokii.xpm xgnokii.xpm
fi

if use sms; then
pushd "${S}/smsd"
insinto /usr/share/doc/${PN}/smsd
use mysql && doins sms.tables.mysql.sql README.MySQL
use postgres && doins sms.tables.pq.sql
doins README ChangeLog README.Tru64 action
popd
fi
}

pkg_postinst() {
elog "Make sure the user that runs gnokii has read/write access to the device"
elog "which your phone is connected to."
elog "The simple way of doing that is to add your user to the uucp group."
}

metadata.xml




mobile-phone

gnokii provides tools and a user space driver for use with mobile phones.
With gnokii you can do such things as make data calls, update your address book,
change calendar entires, send and receive SMS messages and load ring tones
depending on the phone you have.


Enable support for dev-libs/libical
Enable infrared support
Enable SMS support (build smsd)