1 |
mrness 07/10/25 20:43:19 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gnokii-0.6.19.ebuild |
5 |
Removed: gnokii-0.6.17.ebuild |
6 |
Log: |
7 |
Version bump. |
8 |
(Portage version: 2.1.3.9) |
9 |
|
10 |
Revision Changes Path |
11 |
1.63 app-mobilephone/gnokii/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/gnokii/ChangeLog?rev=1.63&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/gnokii/ChangeLog?rev=1.63&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/gnokii/ChangeLog?r1=1.62&r2=1.63 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-mobilephone/gnokii/ChangeLog,v |
20 |
retrieving revision 1.62 |
21 |
retrieving revision 1.63 |
22 |
diff -u -r1.62 -r1.63 |
23 |
--- ChangeLog 18 Aug 2007 07:48:30 -0000 1.62 |
24 |
+++ ChangeLog 25 Oct 2007 20:43:18 -0000 1.63 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for app-mobilephone/gnokii |
27 |
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gnokii/ChangeLog,v 1.62 2007/08/18 07:48:30 mrness Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gnokii/ChangeLog,v 1.63 2007/10/25 20:43:18 mrness Exp $ |
30 |
+ |
31 |
+*gnokii-0.6.19 (25 Oct 2007) |
32 |
+ |
33 |
+ 25 Oct 2007; Alin Năstac <mrness@g.o> -gnokii-0.6.17.ebuild, |
34 |
+ +gnokii-0.6.19.ebuild: |
35 |
+ Version bump. |
36 |
|
37 |
18 Aug 2007; Alin Năstac <mrness@g.o> gnokii-0.6.14-r2.ebuild, |
38 |
gnokii-0.6.17.ebuild, gnokii-0.6.18-r1.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.1 app-mobilephone/gnokii/gnokii-0.6.19.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/gnokii/gnokii-0.6.19.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/gnokii/gnokii-0.6.19.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: gnokii-0.6.19.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2007 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.19.ebuild,v 1.1 2007/10/25 20:43:18 mrness Exp $ |
52 |
|
53 |
inherit eutils linux-info |
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 |
RESTRICT="test" #test fails; maybe it will work in the future, but till then... |
65 |
|
66 |
RDEPEND="X? ( >=x11-libs/gtk+-2.8.19 ) |
67 |
bluetooth? ( >=net-wireless/bluez-libs-2.25 ) |
68 |
sms? ( >=dev-libs/glib-2.10.3 |
69 |
postgres? ( >=dev-db/postgresql-8.0.8 ) |
70 |
mysql? ( >=virtual/mysql-4.1 ) |
71 |
) |
72 |
ical? ( >=dev-libs/libical-0.26.6 ) |
73 |
usb? ( >=dev-libs/libusb-0.1.11 )" |
74 |
DEPEND="${RDEPEND} |
75 |
irda? ( virtual/os-headers ) |
76 |
nls? ( >=sys-devel/gettext-0.14.5 )" |
77 |
|
78 |
CONFIG_CHECK="UNIX98_PTYS" |
79 |
|
80 |
src_unpack() { |
81 |
unpack ${A} |
82 |
cd "${S}" |
83 |
|
84 |
if use sms ; then |
85 |
local MY_SMSD_DB_OBJS="file.lo" |
86 |
local MY_SMSD_DB_LIBS="libfile.la" |
87 |
if use postgres; then |
88 |
MY_SMSD_DB_OBJS="${MY_SMSD_DB_OBJS} pq.lo" |
89 |
MY_SMSD_DB_LIBS="${MY_SMSD_DB_LIBS} libpq.la" |
90 |
fi |
91 |
if use mysql; then |
92 |
MY_SMSD_DB_OBJS="${MY_SMSD_DB_OBJS} mysql.lo" |
93 |
MY_SMSD_DB_LIBS="${MY_SMSD_DB_LIBS} libmysql.la" |
94 |
fi |
95 |
|
96 |
sed -i \ |
97 |
-e "s/^\(DB_OBJS[\t ]*=\).*$/\1 ${MY_SMSD_DB_OBJS}/" \ |
98 |
-e "s/^\(DB_LIBS[\t ]*=\).*$/\1 ${MY_SMSD_DB_LIBS}/" \ |
99 |
-e 's/\(^.*LIBTOOL.*--mode=finish.*$\)/#\1/' \ |
100 |
smsd/Makefile |
101 |
|
102 |
#Change default database module |
103 |
local MY_DEFAULT_DB_MODULE="file" |
104 |
if use postgres ; then |
105 |
MY_DEFAULT_DB_MODULE="pq" |
106 |
elif use mysql ; then |
107 |
MY_DEFAULT_DB_MODULE="mysql" |
108 |
fi |
109 |
sed -i -e "s/\(smsdConfig[.]dbMod[\t ]*=.*\"\).*\(\"\)/\1${MY_DEFAULT_DB_MODULE}\2/" smsd/smsd.c |
110 |
fi |
111 |
} |
112 |
|
113 |
src_compile() { |
114 |
config_xdebug="--disable-xdebug" |
115 |
use X && use debug && config_xdebug="--enable-xdebug" |
116 |
|
117 |
econf \ |
118 |
$(use_enable nls) \ |
119 |
$(use_enable ical libical) \ |
120 |
$(use_enable usb libusb) \ |
121 |
$(use_enable irda) \ |
122 |
$(use_enable bluetooth) \ |
123 |
$(use_with X x) \ |
124 |
$(use_enable debug) \ |
125 |
${config_xdebug} \ |
126 |
$(use_enable debug rlpdebug) \ |
127 |
--enable-security \ |
128 |
--disable-unix98test \ |
129 |
|| die "configure failed" |
130 |
|
131 |
emake -j1 || die "make failed" |
132 |
|
133 |
if use sms; then |
134 |
pushd "${S}/smsd" |
135 |
emake || die "smsd make install failed" |
136 |
popd |
137 |
fi |
138 |
} |
139 |
|
140 |
src_install() { |
141 |
einstall || die "make install failed" |
142 |
|
143 |
if use X; then |
144 |
insinto /usr/share/pixmaps |
145 |
newins Docs/sample/logo/gnokii.xpm xgnokii.xpm |
146 |
fi |
147 |
|
148 |
insinto /etc |
149 |
doins Docs/sample/gnokiirc |
150 |
sed -i -e 's:/usr/local:/usr:' "${D}/etc/gnokiirc" |
151 |
|
152 |
doman Docs/man/* |
153 |
|
154 |
dodir "/usr/share/doc/${PF}" |
155 |
cp -r Docs/sample "${D}/usr/share/doc/${PF}/sample" |
156 |
cp -r Docs/protocol "${D}/usr/share/doc/${PF}/protocol" |
157 |
rm -rf Docs/man Docs/sample Docs/protocol |
158 |
dodoc Docs/* ChangeLog TODO MAINTAINERS |
159 |
|
160 |
# only one file needs suid root to make a pseudo device |
161 |
fperms 4755 /usr/sbin/mgnokiidev |
162 |
|
163 |
if use sms; then |
164 |
pushd "${S}/smsd" |
165 |
einstall || die "smsd make install failed" |
166 |
insinto /usr/share/doc/${PF}/smsd |
167 |
use mysql && doins sms.tables.mysql.sql README.MySQL |
168 |
use postgres && doins sms.tables.pq.sql |
169 |
doins README ChangeLog README.Tru64 action |
170 |
popd |
171 |
fi |
172 |
} |
173 |
|
174 |
pkg_postinst() { |
175 |
elog "Make sure the user that runs gnokii has read/write access to the device" |
176 |
elog "which your phone is connected to." |
177 |
elog "The simple way of doing that is to add your user to the uucp group." |
178 |
} |
179 |
|
180 |
|
181 |
|
182 |
-- |
183 |
gentoo-commits@g.o mailing list |