1 |
mrness 07/12/02 09:48:20 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gnokii-0.6.22-r1.ebuild |
5 |
Removed: gnokii-0.6.22.ebuild |
6 |
Log: |
7 |
Install headers and pkgconfig files (#200952). |
8 |
(Portage version: 2.1.3.19) |
9 |
|
10 |
Revision Changes Path |
11 |
1.65 app-mobilephone/gnokii/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/gnokii/ChangeLog?rev=1.65&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/gnokii/ChangeLog?rev=1.65&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/gnokii/ChangeLog?r1=1.64&r2=1.65 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-mobilephone/gnokii/ChangeLog,v |
20 |
retrieving revision 1.64 |
21 |
retrieving revision 1.65 |
22 |
diff -u -r1.64 -r1.65 |
23 |
--- ChangeLog 1 Dec 2007 10:42:08 -0000 1.64 |
24 |
+++ ChangeLog 2 Dec 2007 09:48:19 -0000 1.65 |
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.64 2007/12/01 10:42:08 mrness Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gnokii/ChangeLog,v 1.65 2007/12/02 09:48:19 mrness Exp $ |
30 |
+ |
31 |
+*gnokii-0.6.22-r1 (02 Dec 2007) |
32 |
+ |
33 |
+ 02 Dec 2007; Alin Năstac <mrness@g.o> -gnokii-0.6.22.ebuild, |
34 |
+ +gnokii-0.6.22-r1.ebuild: |
35 |
+ Install headers and pkgconfig files (#200952). |
36 |
|
37 |
*gnokii-0.6.22 (01 Dec 2007) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 app-mobilephone/gnokii/gnokii-0.6.22-r1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/gnokii/gnokii-0.6.22-r1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/gnokii/gnokii-0.6.22-r1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: gnokii-0.6.22-r1.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.22-r1.ebuild,v 1.1 2007/12/02 09:48:19 mrness Exp $ |
52 |
|
53 |
WANT_AUTOMAKE="none" |
54 |
|
55 |
inherit eutils linux-info autotools |
56 |
|
57 |
DESCRIPTION="user space driver and tools for use with mobile phones" |
58 |
HOMEPAGE="http://www.gnokii.org/" |
59 |
SRC_URI="http://www.gnokii.org/download/${PN}/${P}.tar.bz2" |
60 |
|
61 |
LICENSE="GPL-2" |
62 |
SLOT="0" |
63 |
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" |
64 |
IUSE="nls bluetooth ical irda sms postgres mysql usb X debug" |
65 |
|
66 |
RESTRICT="test" #test fails; maybe it will work in the future, but till then... |
67 |
|
68 |
RDEPEND="X? ( >=x11-libs/gtk+-2.8.19 ) |
69 |
bluetooth? ( >=net-wireless/bluez-libs-2.25 ) |
70 |
sms? ( >=dev-libs/glib-2.10.3 |
71 |
postgres? ( >=dev-db/postgresql-8.0.8 ) |
72 |
mysql? ( >=virtual/mysql-4.1 ) |
73 |
) |
74 |
ical? ( >=dev-libs/libical-0.26.6 ) |
75 |
usb? ( >=dev-libs/libusb-0.1.11 )" |
76 |
DEPEND="${RDEPEND} |
77 |
irda? ( virtual/os-headers ) |
78 |
nls? ( >=sys-devel/gettext-0.14.5 )" |
79 |
|
80 |
CONFIG_CHECK="UNIX98_PTYS" |
81 |
|
82 |
# Supported languages and translated documentation |
83 |
# Be sure all languages are prefixed with a single space! |
84 |
MY_AVAILABLE_LINGUAS=" cs de et fi fr it nl pl pt sk sl sv zh_CN" |
85 |
IUSE="${IUSE} ${MY_AVAILABLE_LINGUAS// / linguas_}" |
86 |
|
87 |
src_unpack() { |
88 |
unpack ${A} |
89 |
cd "${S}" |
90 |
|
91 |
if use sms ; then |
92 |
local MY_SMSD_DB_OBJS="file.lo" |
93 |
local MY_SMSD_DB_LIBS="libfile.la" |
94 |
if use postgres; then |
95 |
MY_SMSD_DB_OBJS="${MY_SMSD_DB_OBJS} pq.lo" |
96 |
MY_SMSD_DB_LIBS="${MY_SMSD_DB_LIBS} libpq.la" |
97 |
fi |
98 |
if use mysql; then |
99 |
MY_SMSD_DB_OBJS="${MY_SMSD_DB_OBJS} mysql.lo" |
100 |
MY_SMSD_DB_LIBS="${MY_SMSD_DB_LIBS} libmysql.la" |
101 |
fi |
102 |
|
103 |
sed -i \ |
104 |
-e "s/^\(DB_OBJS[\t ]*=\).*$/\1 ${MY_SMSD_DB_OBJS}/" \ |
105 |
-e "s/^\(DB_LIBS[\t ]*=\).*$/\1 ${MY_SMSD_DB_LIBS}/" \ |
106 |
-e 's/\(^.*LIBTOOL.*--mode=finish.*$\)/#\1/' \ |
107 |
smsd/Makefile |
108 |
|
109 |
#Change default database module |
110 |
local MY_DEFAULT_DB_MODULE="file" |
111 |
if use postgres ; then |
112 |
MY_DEFAULT_DB_MODULE="pq" |
113 |
elif use mysql ; then |
114 |
MY_DEFAULT_DB_MODULE="mysql" |
115 |
fi |
116 |
sed -i -e "s/\(smsdConfig[.]dbMod[\t ]*=.*\"\).*\(\"\)/\1${MY_DEFAULT_DB_MODULE}\2/" smsd/smsd.c |
117 |
fi |
118 |
|
119 |
# sys-devel/gettext is needed for creating .mo files |
120 |
local lang MY_LANGUAGES="" |
121 |
for lang in ${MY_AVAILABLE_LINGUAS} ; do |
122 |
if use linguas_${lang} ; then |
123 |
MY_LANGUAGES="${MY_LANGUAGES} ${lang}" |
124 |
fi |
125 |
done |
126 |
sed -i -e "s:^ALL_LINGUAS=.*$:ALL_LINGUAS=\"${MY_LANGUAGES}\":" configure.in |
127 |
eautoconf |
128 |
} |
129 |
|
130 |
src_compile() { |
131 |
config_xdebug="--disable-xdebug" |
132 |
use X && use debug && config_xdebug="--enable-xdebug" |
133 |
|
134 |
econf \ |
135 |
$(use_enable nls) \ |
136 |
$(use_enable ical libical) \ |
137 |
$(use_enable usb libusb) \ |
138 |
$(use_enable irda) \ |
139 |
$(use_enable bluetooth) \ |
140 |
$(use_with X x) \ |
141 |
$(use_enable debug) \ |
142 |
${config_xdebug} \ |
143 |
$(use_enable debug rlpdebug) \ |
144 |
--enable-security \ |
145 |
--disable-unix98test \ |
146 |
|| die "configure failed" |
147 |
|
148 |
emake -j1 || die "make failed" |
149 |
|
150 |
if use sms; then |
151 |
pushd "${S}/smsd" |
152 |
emake || die "smsd make install failed" |
153 |
popd |
154 |
fi |
155 |
} |
156 |
|
157 |
src_install() { |
158 |
einstall install-includes || die "make install failed" |
159 |
|
160 |
if use X; then |
161 |
insinto /usr/share/pixmaps |
162 |
newins Docs/sample/logo/gnokii.xpm xgnokii.xpm |
163 |
fi |
164 |
|
165 |
insinto /etc |
166 |
doins Docs/sample/gnokiirc |
167 |
sed -i -e 's:/usr/local:/usr:' "${D}/etc/gnokiirc" |
168 |
|
169 |
doman Docs/man/* |
170 |
|
171 |
dodir "/usr/share/doc/${PF}" |
172 |
cp -r Docs/sample "${D}/usr/share/doc/${PF}/sample" |
173 |
cp -r Docs/protocol "${D}/usr/share/doc/${PF}/protocol" |
174 |
rm -rf Docs/man Docs/sample Docs/protocol |
175 |
dodoc Docs/* ChangeLog TODO MAINTAINERS |
176 |
|
177 |
# only one file needs suid root to make a pseudo device |
178 |
fperms 4755 /usr/sbin/mgnokiidev |
179 |
|
180 |
if use sms; then |
181 |
pushd "${S}/smsd" |
182 |
einstall || die "smsd make install failed" |
183 |
insinto /usr/share/doc/${PF}/smsd |
184 |
use mysql && doins sms.tables.mysql.sql README.MySQL |
185 |
use postgres && doins sms.tables.pq.sql |
186 |
doins README ChangeLog README.Tru64 action |
187 |
popd |
188 |
fi |
189 |
} |
190 |
|
191 |
pkg_postinst() { |
192 |
elog "Make sure the user that runs gnokii has read/write access to the device" |
193 |
elog "which your phone is connected to." |
194 |
elog "The simple way of doing that is to add your user to the uucp group." |
195 |
} |
196 |
|
197 |
|
198 |
|
199 |
-- |
200 |
gentoo-commits@g.o mailing list |