Gentoo Archives: gentoo-commits

From: "Alin Nastac (mrness)" <mrness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-mobilephone/gnokii: ChangeLog gnokii-0.6.27-r2.ebuild gnokii-0.6.27-r1.ebuild gnokii-0.6.27.ebuild
Date: Sat, 28 Feb 2009 09:44:42
Message-Id: E1LdLkO-0001b5-97@stork.gentoo.org
1 mrness 09/02/28 09:44:40
2
3 Modified: ChangeLog
4 Added: gnokii-0.6.27-r2.ebuild
5 Removed: gnokii-0.6.27-r1.ebuild gnokii-0.6.27.ebuild
6 Log:
7 Replace use_with sms with use_enable sms (#260252).
8 (Portage version: 2.1.6.4/cvs/Linux 2.6.25-gentoo-r6 x86_64)
9
10 Revision Changes Path
11 1.87 app-mobilephone/gnokii/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/gnokii/ChangeLog?rev=1.87&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/gnokii/ChangeLog?rev=1.87&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/gnokii/ChangeLog?r1=1.86&r2=1.87
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-mobilephone/gnokii/ChangeLog,v
20 retrieving revision 1.86
21 retrieving revision 1.87
22 diff -u -r1.86 -r1.87
23 --- ChangeLog 19 Feb 2009 15:49:08 -0000 1.86
24 +++ ChangeLog 28 Feb 2009 09:44:40 -0000 1.87
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-mobilephone/gnokii
27 # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gnokii/ChangeLog,v 1.86 2009/02/19 15:49:08 flameeyes Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gnokii/ChangeLog,v 1.87 2009/02/28 09:44:40 mrness Exp $
30 +
31 +*gnokii-0.6.27-r2 (28 Feb 2009)
32 +
33 + 28 Feb 2009; Alin Năstac <mrness@g.o> -gnokii-0.6.27.ebuild,
34 + -gnokii-0.6.27-r1.ebuild, +gnokii-0.6.27-r2.ebuild:
35 + Replace use_with sms with use_enable sms (#260252).
36
37 19 Feb 2009; Diego E. Pettenò <flameeyes@g.o>
38 gnokii-0.6.22-r2.ebuild:
39
40
41
42 1.1 app-mobilephone/gnokii/gnokii-0.6.27-r2.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/gnokii/gnokii-0.6.27-r2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/gnokii/gnokii-0.6.27-r2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: gnokii-0.6.27-r2.ebuild
48 ===================================================================
49 # Copyright 1999-2009 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gnokii/gnokii-0.6.27-r2.ebuild,v 1.1 2009/02/28 09:44:40 mrness Exp $
52
53 inherit eutils linux-info autotools
54
55 DESCRIPTION="user space driver and tools for use with mobile phones"
56 HOMEPAGE="http://www.gnokii.org/"
57 SRC_URI="http://www.gnokii.org/download/${PN}/${P}.tar.bz2"
58
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
62 IUSE="nls bluetooth ical irda sms postgres mysql usb X debug"
63
64 RDEPEND="sys-apps/pcsc-lite
65 X? ( >=x11-libs/gtk+-2 )
66 bluetooth? ( || ( net-wireless/bluez >=net-wireless/bluez-libs-2.25 ) )
67 sms? ( >=dev-libs/glib-2
68 postgres? ( >=virtual/postgresql-base-8.0 )
69 mysql? ( >=virtual/mysql-4.1 )
70 )
71 ical? ( dev-libs/libical )
72 usb? ( dev-libs/libusb )"
73 DEPEND="${RDEPEND}
74 irda? ( virtual/os-headers )
75 nls? ( sys-devel/gettext )"
76
77 CONFIG_CHECK="UNIX98_PTYS"
78
79 # Supported languages and translated documentation
80 # Be sure all languages are prefixed with a single space!
81 MY_AVAILABLE_LINGUAS=" cs de et fi fr it nl pl pt sk sl sv zh_CN"
82 IUSE="${IUSE} ${MY_AVAILABLE_LINGUAS// / linguas_}"
83
84 src_unpack() {
85 unpack ${A}
86
87 cd "${S}"
88 epatch "${FILESDIR}"/${P}-icon.patch
89 epatch "${FILESDIR}"/${P}-disable-database.patch
90
91 eautoreconf
92 }
93
94 src_compile() {
95 strip-linguas ${MY_AVAILABLE_LINGUAS}
96
97 local config_xdebug="--disable-xdebug"
98 use X && use debug && config_xdebug="--enable-xdebug"
99
100 econf \
101 $(use_enable nls) \
102 $(use_enable ical libical) \
103 $(use_enable usb libusb) \
104 $(use_enable irda) \
105 $(use_enable bluetooth) \
106 $(use_with X x) \
107 $(use_enable sms smsd) \
108 $(use_enable mysql) \
109 $(use_enable postgres) \
110 $(use_enable debug fulldebug) \
111 ${config_xdebug} \
112 $(use_enable debug rlpdebug) \
113 --enable-security \
114 --disable-unix98test \
115 --enable-libpcsclite \
116 || die "configure failed"
117
118 emake || die "make failed"
119 }
120
121 src_install() {
122 einstall || die "make install failed"
123
124 insinto /etc
125 doins Docs/sample/gnokiirc
126 sed -i -e 's:/usr/local:/usr:' "${D}/etc/gnokiirc"
127
128 # only one file needs suid root to make a pseudo device
129 fperms 4755 /usr/sbin/mgnokiidev
130
131 if use X; then
132 insinto /usr/share/pixmaps
133 newins Docs/sample/logo/gnokii.xpm xgnokii.xpm
134 fi
135
136 if use sms; then
137 pushd "${S}/smsd"
138 insinto /usr/share/doc/${PN}/smsd
139 use mysql && doins sms.tables.mysql.sql README.MySQL
140 use postgres && doins sms.tables.pq.sql
141 doins README ChangeLog README.Tru64 action
142 popd
143 fi
144 }
145
146 pkg_postinst() {
147 elog "Make sure the user that runs gnokii has read/write access to the device"
148 elog "which your phone is connected to."
149 elog "The simple way of doing that is to add your user to the uucp group."
150 }