From 8c6e656e60a6f5c6419b4faff8d558ba0ac90d5f Mon Sep 17 00:00:00 2001 From: Alin Năstac Date: Mon, 27 Feb 2006 07:46:37 +0000 Subject: fix ical support (#124152) (Portage version: 2.0.53) --- app-mobilephone/gnokii/ChangeLog | 9 +- app-mobilephone/gnokii/Manifest | 17 +--- app-mobilephone/gnokii/files/digest-gnokii-0.6.11 | 1 - .../gnokii/files/digest-gnokii-0.6.11-r1 | 1 + .../gnokii/files/gnokii-0.6.11-vcal.patch | 21 +++++ app-mobilephone/gnokii/gnokii-0.6.11-r1.ebuild | 103 +++++++++++++++++++++ app-mobilephone/gnokii/gnokii-0.6.11.ebuild | 96 ------------------- 7 files changed, 137 insertions(+), 111 deletions(-) delete mode 100644 app-mobilephone/gnokii/files/digest-gnokii-0.6.11 create mode 100644 app-mobilephone/gnokii/files/digest-gnokii-0.6.11-r1 create mode 100644 app-mobilephone/gnokii/files/gnokii-0.6.11-vcal.patch create mode 100644 app-mobilephone/gnokii/gnokii-0.6.11-r1.ebuild delete mode 100644 app-mobilephone/gnokii/gnokii-0.6.11.ebuild (limited to 'app-mobilephone/gnokii') diff --git a/app-mobilephone/gnokii/ChangeLog b/app-mobilephone/gnokii/ChangeLog index b25c840ba7ae..2dfc5316dab2 100644 --- a/app-mobilephone/gnokii/ChangeLog +++ b/app-mobilephone/gnokii/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-mobilephone/gnokii # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gnokii/ChangeLog,v 1.33 2006/02/25 14:58:50 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gnokii/ChangeLog,v 1.34 2006/02/27 07:46:37 mrness Exp $ + +*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) diff --git a/app-mobilephone/gnokii/Manifest b/app-mobilephone/gnokii/Manifest index 6ac088c2beb2..0ea99cf21e21 100644 --- a/app-mobilephone/gnokii/Manifest +++ b/app-mobilephone/gnokii/Manifest @@ -1,26 +1,17 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 4b86790315614178759b1debf0350060 ChangeLog 8685 +MD5 fb07de9898e67f9ebcd465ed85cb5b6c ChangeLog 8922 MD5 1ae951a2b197095da2c0d74c0067181f files/digest-gnokii-0.6.10 67 -MD5 6f4a2ffbab6005f657e4d06f568db72c files/digest-gnokii-0.6.11 67 +MD5 6f4a2ffbab6005f657e4d06f568db72c files/digest-gnokii-0.6.11-r1 67 MD5 c4cdcbc35ff57082908ea21d7aa1f9a3 files/digest-gnokii-0.6.7-r1 66 MD5 c4cdcbc35ff57082908ea21d7aa1f9a3 files/digest-gnokii-0.6.7-r2 66 MD5 95cfd5d1812300781f2310dc007ed33e files/digest-gnokii-0.6.8 66 +MD5 5687dba18dccc99ee5c4618ecc729f22 files/gnokii-0.6.11-vcal.patch 672 MD5 d35a120458debd2931e2c6f67104d9d1 files/gnokii-0.6.7-smsd-glib2.patch 779 MD5 face706c6d0985abc88c5ad34f39d3ee files/gnokii-0.6.8-smsd-glib2.patch 779 MD5 2f2f572bc05f2ee40468130dcdd7e946 files/gnokii-bindir.patch 461 MD5 135df3cf24c3041ccb20a5896482ed59 files/gnokii.desktop 260 MD5 a3a87873287c89dc910115ddea5cbd1d gnokii-0.6.10.ebuild 2264 -MD5 e03631e0262110989b020aff6edd9528 gnokii-0.6.11.ebuild 2391 +MD5 589caa5bc865cfcd18c1f565b2883f62 gnokii-0.6.11-r1.ebuild 2501 MD5 cba9a4289ee030177175548bb071572d gnokii-0.6.7-r1.ebuild 2323 MD5 438e4d861c9041a0b860bf4791a20693 gnokii-0.6.7-r2.ebuild 2329 MD5 d8f6cfbab08d0644b83b55a2bea01c6e gnokii-0.6.8.ebuild 2328 MD5 01ec5e34cbf064fdf9a0862d481b01d9 metadata.xml 467 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2.1 (GNU/Linux) - -iD8DBQFEAHDijG8pv1lIUX4RAiEkAKCdo9QGrz7aHpm10J7SBibTma0EFwCgv0ee -zVBvmIsu0VVROugcWsFDsPg= -=lY2G ------END PGP SIGNATURE----- diff --git a/app-mobilephone/gnokii/files/digest-gnokii-0.6.11 b/app-mobilephone/gnokii/files/digest-gnokii-0.6.11 deleted file mode 100644 index 2fc0cdfd9ee7..000000000000 --- a/app-mobilephone/gnokii/files/digest-gnokii-0.6.11 +++ /dev/null @@ -1 +0,0 @@ -MD5 b285544ed2e4c4ac984442eea912e8bf gnokii-0.6.11.tar.bz2 1516240 diff --git a/app-mobilephone/gnokii/files/digest-gnokii-0.6.11-r1 b/app-mobilephone/gnokii/files/digest-gnokii-0.6.11-r1 new file mode 100644 index 000000000000..2fc0cdfd9ee7 --- /dev/null +++ b/app-mobilephone/gnokii/files/digest-gnokii-0.6.11-r1 @@ -0,0 +1 @@ +MD5 b285544ed2e4c4ac984442eea912e8bf gnokii-0.6.11.tar.bz2 1516240 diff --git a/app-mobilephone/gnokii/files/gnokii-0.6.11-vcal.patch b/app-mobilephone/gnokii/files/gnokii-0.6.11-vcal.patch new file mode 100644 index 000000000000..d9699cd8ffa3 --- /dev/null +++ b/app-mobilephone/gnokii/files/gnokii-0.6.11-vcal.patch @@ -0,0 +1,21 @@ +diff -Nur gnokii-0.6.11.orig/common/vcal.c gnokii-0.6.11/common/vcal.c +--- gnokii-0.6.11.orig/common/vcal.c 2006-02-16 00:49:56.000000000 +0200 ++++ gnokii-0.6.11/common/vcal.c 2006-02-27 09:34:47.000000000 +0200 +@@ -103,7 +103,7 @@ + etime.second = calnote->end_time.second; + etime.is_daylight = 1; + +- properties[iprop++] = icalpropery_new_dtend(etime); ++ properties[iprop++] = icalproperty_new_dtend(etime); + } + + /* FIXME: how to set alarm? +@@ -116,7 +116,7 @@ + atime.second = calnote->alarm.timestamp.second; + atime.is_daylight = 1; + +- properties[iprop++] = icalpropery_new_FIXME(atime); ++ properties[iprop++] = icalproperty_new_FIXME(atime); + } + */ + diff --git a/app-mobilephone/gnokii/gnokii-0.6.11-r1.ebuild b/app-mobilephone/gnokii/gnokii-0.6.11-r1.ebuild new file mode 100644 index 000000000000..e3a0eb9cee1f --- /dev/null +++ b/app-mobilephone/gnokii/gnokii-0.6.11-r1.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gnokii/gnokii-0.6.11-r1.ebuild,v 1.1 2006/02/27 07:46:37 mrness Exp $ + +inherit eutils flag-o-matic 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="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="nls X bluetooth irda sms postgres mysql" + +RESTRICT="maketest" #test fails; maybe it will work in the future, but till then... + +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 ) + ) + !hppa? ( !ia64? ( dev-libs/libical ) )" +DEPEND="${RDEPEND} + irda? ( virtual/os-headers ) + nls? ( sys-devel/gettext ) + sys-devel/autoconf" + +CONFIG_CHECK="UNIX98_PTYS" + +src_unpack() { + unpack ${A} + + epatch "${FILESDIR}/${P}-vcal.patch" +} + +src_compile() { + append-ldflags $(bindnow-flags) #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" + + 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 + + cd "${S}" + fi + + emake -j1 || 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" + + 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" + + cd "${S}" + fi + + if use X; then + insinto /usr/share/applications + doins xgnokii/xgnokii.desktop + fi +} + +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 /dev/ttyS0" +} diff --git a/app-mobilephone/gnokii/gnokii-0.6.11.ebuild b/app-mobilephone/gnokii/gnokii-0.6.11.ebuild deleted file mode 100644 index 191a33d63f32..000000000000 --- a/app-mobilephone/gnokii/gnokii-0.6.11.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gnokii/gnokii-0.6.11.ebuild,v 1.1 2006/02/25 14:58:50 mrness Exp $ - -inherit eutils flag-o-matic 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="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="nls X bluetooth irda sms postgres mysql" - -RESTRICT="maketest" #test fails; maybe it will work in the future, but till then... - -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_compile() { - append-ldflags $(bindnow-flags) #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" - - 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 - - cd "${S}" - fi - - emake -j1 || 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" - - 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" - - cd "${S}" - fi - - if use X; then - insinto /usr/share/applications - doins xgnokii/xgnokii.desktop - fi -} - -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 /dev/ttyS0" -} -- cgit v1.2.3-65-gdbad