diff options
author | Alin Năstac <mrness@gentoo.org> | 2005-07-23 10:10:48 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2005-07-23 10:10:48 +0000 |
commit | 7ded22aaca93f3a628aae82358ed6c8ffe98e8da (patch) | |
tree | 27a1483fc3548742c99809f9dacdf6255e3e3b98 /app-mobilephone | |
parent | New upstream version. Closes #99984. (diff) | |
download | historical-7ded22aaca93f3a628aae82358ed6c8ffe98e8da.tar.gz historical-7ded22aaca93f3a628aae82358ed6c8ffe98e8da.tar.bz2 historical-7ded22aaca93f3a628aae82358ed6c8ffe98e8da.zip |
add >=dev-libs/glib-2 to dependencies; inhibit debug options; fix path to gnokiid in /etc/gnokiirc
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'app-mobilephone')
-rw-r--r-- | app-mobilephone/gnokii/ChangeLog | 9 | ||||
-rw-r--r-- | app-mobilephone/gnokii/Manifest | 11 | ||||
-rw-r--r-- | app-mobilephone/gnokii/files/digest-gnokii-0.6.7-r1 | 1 | ||||
-rw-r--r-- | app-mobilephone/gnokii/files/gnokii-0.6.7-smsd-glib2.patch | 22 | ||||
-rw-r--r-- | app-mobilephone/gnokii/gnokii-0.6.7-r1.ebuild | 96 |
5 files changed, 134 insertions, 5 deletions
diff --git a/app-mobilephone/gnokii/ChangeLog b/app-mobilephone/gnokii/ChangeLog index 3976c79fc494..7c02b5a563c8 100644 --- a/app-mobilephone/gnokii/ChangeLog +++ b/app-mobilephone/gnokii/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-mobilephone/gnokii # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gnokii/ChangeLog,v 1.8 2005/07/21 21:29:48 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gnokii/ChangeLog,v 1.9 2005/07/23 10:10:48 mrness Exp $ + +*gnokii-0.6.7-r1 (23 Jul 2005) + + 23 Jul 2005; Alin Nastac <mrness@gentoo.org> + +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 <mrness@gentoo.org> gnokii-0.6.7.ebuild: Stable on x86. diff --git a/app-mobilephone/gnokii/Manifest b/app-mobilephone/gnokii/Manifest index cc2d1d65bdfc..e957d8253006 100644 --- a/app-mobilephone/gnokii/Manifest +++ b/app-mobilephone/gnokii/Manifest @@ -3,13 +3,16 @@ Hash: SHA1 MD5 a437f3d937903645c584c509966068a2 gnokii-0.6.3.ebuild 2024 MD5 1eab49d9c2ebbaae4e3f8c60397f8467 gnokii-0.6.7.ebuild 2086 +MD5 214694a10fe25f0c1ba2b6620ac5965a gnokii-0.6.7-r1.ebuild 2313 MD5 aaecd7518e307465c7f24b07ef61c4e5 gnokii-0.6.4.ebuild 2162 MD5 0573afc8b9178498f87eae98889270d1 gnokii-0.6.6.ebuild 2215 -MD5 1fcec35520297ddd46cbed8be88669bd ChangeLog 5403 +MD5 2f64593315bcc850fd7755fed0e447d7 ChangeLog 5667 MD5 01ec5e34cbf064fdf9a0862d481b01d9 metadata.xml 467 +MD5 c4cdcbc35ff57082908ea21d7aa1f9a3 files/digest-gnokii-0.6.7-r1 66 MD5 a94c289dfef59e2ddbf2fd186d180f5f files/gnokii-0.6.3-nounix98pty.patch 2258 MD5 3d2fbaa102bd3ea54ac952a1ccc041c3 files/gnokii-0.6.6-nounix98pty.patch 1158 MD5 e7cbb30653687bd875e5eff32b913b6c files/gnokii-0.6.4-nounix98pty.patch 2259 +MD5 d35a120458debd2931e2c6f67104d9d1 files/gnokii-0.6.7-smsd-glib2.patch 779 MD5 135df3cf24c3041ccb20a5896482ed59 files/gnokii.desktop 260 MD5 a5368c4063484bca17cb363705d3caa2 files/digest-gnokii-0.6.3 66 MD5 e99ea660638e47400dc8320ea630d0b8 files/digest-gnokii-0.6.4 66 @@ -19,7 +22,7 @@ MD5 2f2f572bc05f2ee40468130dcdd7e946 files/gnokii-bindir.patch 461 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) -iD8DBQFC4BPXNSP4Vda7IdsRAqj7AJ4zwQMPG3bCWzu7+hsfXcr+kZeLGwCeISxz -BnLrpjPdzrUrD+i/KD0mFh0= -=EsyP +iD8DBQFC4hfCNSP4Vda7IdsRAr3LAJ44GumEMYoSkcvRpD/evchIgHePvACghw5W +vWsZXz/fG4Hr+0ZKpU20b5Q= +=nypG -----END PGP SIGNATURE----- diff --git a/app-mobilephone/gnokii/files/digest-gnokii-0.6.7-r1 b/app-mobilephone/gnokii/files/digest-gnokii-0.6.7-r1 new file mode 100644 index 000000000000..8477bdf4a909 --- /dev/null +++ b/app-mobilephone/gnokii/files/digest-gnokii-0.6.7-r1 @@ -0,0 +1 @@ +MD5 c80d68549c86f287f24c2bee0e929ded gnokii-0.6.7.tar.bz2 1932632 diff --git a/app-mobilephone/gnokii/files/gnokii-0.6.7-smsd-glib2.patch b/app-mobilephone/gnokii/files/gnokii-0.6.7-smsd-glib2.patch new file mode 100644 index 000000000000..27b0ae77aef0 --- /dev/null +++ b/app-mobilephone/gnokii/files/gnokii-0.6.7-smsd-glib2.patch @@ -0,0 +1,22 @@ +diff -Nru gnokii-0.6.7.orig/smsd/Makefile gnokii-0.6.7/smsd/Makefile +--- gnokii-0.6.7.orig/smsd/Makefile 2005-05-16 21:55:13.000000000 +0300 ++++ gnokii-0.6.7/smsd/Makefile 2005-07-23 12:46:44.410168616 +0300 +@@ -6,14 +6,14 @@ + # $Id: gnokii-0.6.7-smsd-glib2.patch,v 1.1 2005/07/23 10:10:48 mrness Exp $ + # + +-GLIBCFLAGS = glib-config --cflags +-GLIBLDLIBS = glib-config --libs ++#GLIBCFLAGS = glib-config --cflags ++#GLIBLDLIBS = glib-config --libs + + # Comment out above lines and uncomment below lines if you want compile smsd + # with glib2 instead of glib1. + # +-#GLIBCFLAGS = pkg-config --cflags glib-2.0 +-#GLIBLDLIBS = pkg-config --libs glib-2.0 ++GLIBCFLAGS = pkg-config --cflags glib-2.0 ++GLIBLDLIBS = pkg-config --libs glib-2.0 + + TOPDIR=.. + include $(TOPDIR)/Makefile.global diff --git a/app-mobilephone/gnokii/gnokii-0.6.7-r1.ebuild b/app-mobilephone/gnokii/gnokii-0.6.7-r1.ebuild new file mode 100644 index 000000000000..a51f89c95ee0 --- /dev/null +++ b/app-mobilephone/gnokii/gnokii-0.6.7-r1.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gnokii/gnokii-0.6.7-r1.ebuild,v 1.1 2005/07/23 10:10:48 mrness Exp $ + +inherit eutils flag-o-matic linux-info + +DESCRIPTION="a client that plugs into your handphone" +HOMEPAGE="http://www.gnokii.org/" +SRC_URI="http://www.gnokii.org/download/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="nls X bluetooth irda sms postgres mysql" + +RDEPEND="X? ( =x11-libs/gtk+-1.2* ) + bluetooth? ( net-wireless/bluez-libs ) + sms? ( >=dev-libs/glib-2 + postgres? ( dev-db/postgresql ) + mysql? ( dev-db/mysql ) + )" +DEPEND="${RDEPEND} + irda? ( virtual/os-headers ) + nls? ( sys-devel/gettext ) + sys-devel/autoconf" + +CONFIG_CHECK="UNIX98_PTYS" + +src_unpack() { + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/${P}-smsd-glib2.patch +} + +src_compile() { + append-ldflags "-Wl,-z,now" #avoid QA notices + + autoconf && econf \ + $(use_enable nls) \ + $(use_with X x) \ + --disable-debug \ + --disable-xdebug \ + --disable-rlpdebug \ + --enable-security \ + --disable-unix98test \ + || die "configure failed" + + emake -j1 || die "make failed" + + if use sms + then + cd ${S}/smsd + + if use postgres; then + emake libpq.la || die "smsd make failed" + elif use mysql; then + emake libmysql.la || die "smsd make failed" + else + emake libfile.la || die "smsd make failed" + fi + fi +} + +src_install() { + einstall || die "make install failed" + + 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/* + + # only one file needs suid root to make a psuedo device + fperms 4755 /usr/sbin/mgnokiidev + + if use sms; then + cd ${S}/smsd + + einstall || die "smsd make install failed" + fi + + insinto /usr/share/applications + doins ${FILESDIR}/${PN}.desktop +} + +pkg_postinst() { + einfo "gnokii does not need it's own group anymore." + einfo "Make sure the user that runs gnokii has read/write access to the device" + einfo "which your phone is connected to. eg. chown <user> /dev/ttyS0" +} |