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.26.ebuild
Date: Sun, 01 Jun 2008 12:18:45
Message-Id: E1K2mWE-000894-H5@stork.gentoo.org
1 mrness 08/06/01 12:18:38
2
3 Modified: ChangeLog
4 Added: gnokii-0.6.26.ebuild
5 Log:
6 Version bump (#215378).
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.74 app-mobilephone/gnokii/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/gnokii/ChangeLog?rev=1.74&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/gnokii/ChangeLog?rev=1.74&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/gnokii/ChangeLog?r1=1.73&r2=1.74
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-mobilephone/gnokii/ChangeLog,v
19 retrieving revision 1.73
20 retrieving revision 1.74
21 diff -u -r1.73 -r1.74
22 --- ChangeLog 21 May 2008 15:52:49 -0000 1.73
23 +++ ChangeLog 1 Jun 2008 12:18:38 -0000 1.74
24 @@ -1,6 +1,11 @@
25 # ChangeLog for app-mobilephone/gnokii
26 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gnokii/ChangeLog,v 1.73 2008/05/21 15:52:49 dev-zero Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gnokii/ChangeLog,v 1.74 2008/06/01 12:18:38 mrness Exp $
29 +
30 +*gnokii-0.6.26 (01 Jun 2008)
31 +
32 + 01 Jun 2008; Alin Năstac <mrness@g.o> +gnokii-0.6.26.ebuild:
33 + Version bump (#215378).
34
35 21 May 2008; Tiziano Müller <dev-zero@g.o>
36 gnokii-0.6.14-r2.ebuild, gnokii-0.6.18-r1.ebuild, gnokii-0.6.19.ebuild,
37
38
39
40 1.1 app-mobilephone/gnokii/gnokii-0.6.26.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/gnokii/gnokii-0.6.26.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/gnokii/gnokii-0.6.26.ebuild?rev=1.1&content-type=text/plain
44
45 Index: gnokii-0.6.26.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gnokii/gnokii-0.6.26.ebuild,v 1.1 2008/06/01 12:18:38 mrness Exp $
50
51 WANT_AUTOMAKE="none"
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? ( >=virtual/postgresql-server-8.0 )
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 # Supported languages and translated documentation
81 # Be sure all languages are prefixed with a single space!
82 MY_AVAILABLE_LINGUAS=" cs de et fi fr it nl pl pt sk sl sv zh_CN"
83 IUSE="${IUSE} ${MY_AVAILABLE_LINGUAS// / linguas_}"
84
85 src_unpack() {
86 unpack ${A}
87 cd "${S}"
88
89 strip-linguas ${MY_AVAILABLE_LINGUAS}
90 }
91
92 src_compile() {
93 config_xdebug="--disable-xdebug"
94 use X && use debug && config_xdebug="--enable-xdebug"
95
96 econf \
97 $(use_enable nls) \
98 $(use_enable ical libical) \
99 $(use_enable usb libusb) \
100 $(use_enable irda) \
101 $(use_enable bluetooth) \
102 $(use_with X x) \
103 $(use_enable debug) \
104 ${config_xdebug} \
105 $(use_enable debug rlpdebug) \
106 --enable-security \
107 --disable-unix98test \
108 || die "configure failed"
109
110 emake -j1 || die "make failed"
111
112 if use sms; then
113 pushd "${S}/smsd"
114 emake || die "smsd make install failed"
115 popd
116 fi
117 }
118
119 src_install() {
120 einstall || die "make install failed"
121
122 if use X; then
123 insinto /usr/share/pixmaps
124 newins Docs/sample/logo/gnokii.xpm xgnokii.xpm
125 fi
126
127 insinto /etc
128 doins Docs/sample/gnokiirc
129 sed -i -e 's:/usr/local:/usr:' "${D}/etc/gnokiirc"
130
131 doman Docs/man/*
132
133 dodir "/usr/share/doc/${PF}"
134 cp -r Docs/sample "${D}/usr/share/doc/${PF}/sample"
135 cp -r Docs/protocol "${D}/usr/share/doc/${PF}/protocol"
136 rm -rf Docs/man Docs/sample Docs/protocol
137 dodoc Docs/* ChangeLog TODO MAINTAINERS
138
139 # only one file needs suid root to make a pseudo device
140 fperms 4755 /usr/sbin/mgnokiidev
141
142 if use sms; then
143 pushd "${S}/smsd"
144 einstall || die "smsd make install failed"
145 insinto /usr/share/doc/${PF}/smsd
146 use mysql && doins sms.tables.mysql.sql README.MySQL
147 use postgres && doins sms.tables.pq.sql
148 doins README ChangeLog README.Tru64 action
149 popd
150 fi
151 }
152
153 pkg_postinst() {
154 elog "Make sure the user that runs gnokii has read/write access to the device"
155 elog "which your phone is connected to."
156 elog "The simple way of doing that is to add your user to the uucp group."
157 }
158
159
160
161 --
162 gentoo-commits@l.g.o mailing list