1 |
serkan 09/04/26 18:32:54 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pilot-link-0.12.3-r2.ebuild |
5 |
Log: |
6 |
Revbump to add patch for respecting JAVACFLAGS. Fixes bug #267445. |
7 |
(Portage version: 2.2_rc31/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.48 app-pda/pilot-link/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-pda/pilot-link/ChangeLog?rev=1.48&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-pda/pilot-link/ChangeLog?rev=1.48&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-pda/pilot-link/ChangeLog?r1=1.47&r2=1.48 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-pda/pilot-link/ChangeLog,v |
19 |
retrieving revision 1.47 |
20 |
retrieving revision 1.48 |
21 |
diff -u -r1.47 -r1.48 |
22 |
--- ChangeLog 18 Apr 2009 06:17:01 -0000 1.47 |
23 |
+++ ChangeLog 26 Apr 2009 18:32:54 -0000 1.48 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for app-pda/pilot-link |
26 |
# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-pda/pilot-link/ChangeLog,v 1.47 2009/04/18 06:17:01 jer Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-pda/pilot-link/ChangeLog,v 1.48 2009/04/26 18:32:54 serkan Exp $ |
29 |
+ |
30 |
+*pilot-link-0.12.3-r2 (26 Apr 2009) |
31 |
+ |
32 |
+ 26 Apr 2009; Serkan Kaba <serkan@g.o> |
33 |
+ +files/pilot-link-0.12.3-respect-javacflags.patch, |
34 |
+ +pilot-link-0.12.3-r2.ebuild: |
35 |
+ Revbump to add patch for respecting JAVACFLAGS. Fixes bug #267445. |
36 |
|
37 |
18 Apr 2009; Jeroen Roovers <jer@g.o> pilot-link-0.12.3-r1: |
38 |
Marked ~hppa (bug #260777). |
39 |
|
40 |
|
41 |
|
42 |
1.1 app-pda/pilot-link/pilot-link-0.12.3-r2.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-pda/pilot-link/pilot-link-0.12.3-r2.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-pda/pilot-link/pilot-link-0.12.3-r2.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: pilot-link-0.12.3-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-pda/pilot-link/pilot-link-0.12.3-r2.ebuild,v 1.1 2009/04/26 18:32:54 serkan Exp $ |
52 |
|
53 |
EAPI=2 |
54 |
|
55 |
inherit perl-module java-pkg-opt-2 eutils autotools distutils |
56 |
|
57 |
DESCRIPTION="suite of tools for moving data between a Palm device and a desktop" |
58 |
HOMEPAGE="http://www.pilot-link.org/" |
59 |
SRC_URI="http://pilot-link.org/source/${P}.tar.bz2" |
60 |
|
61 |
LICENSE="|| ( GPL-2 LGPL-2 )" |
62 |
SLOT="0" |
63 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
64 |
|
65 |
IUSE="perl java python png readline threads bluetooth usb debug" |
66 |
|
67 |
BOTH_DEPEND="virtual/libiconv |
68 |
>=sys-libs/ncurses-5.6-r1 |
69 |
>=dev-libs/popt-1.10.7 |
70 |
perl? ( >=dev-lang/perl-5.8.8-r2 ) |
71 |
python? ( >=dev-lang/python-2.4.4-r4 ) |
72 |
png? ( >=media-libs/libpng-1.2.18-r1 ) |
73 |
readline? ( >=sys-libs/readline-5.2_p4 ) |
74 |
usb? ( >=dev-libs/libusb-0.1.12 ) |
75 |
bluetooth? ( >=net-wireless/bluez-libs-3.10 )" |
76 |
|
77 |
DEPEND="${BOTH_DEPEND} |
78 |
java? ( >=virtual/jdk-1.4 )" |
79 |
|
80 |
RDEPEND="${BOTH_DEPEND} |
81 |
java? ( >=virtual/jre-1.4 )" |
82 |
|
83 |
src_prepare() { |
84 |
# Fixing some broken configure switches and automagic deps. |
85 |
epatch "${FILESDIR}/${PN}-0.12.2-readline.patch" |
86 |
epatch "${FILESDIR}/${PN}-0.12.2-threads.patch" |
87 |
epatch "${FILESDIR}/${P}-png.patch" |
88 |
|
89 |
# Upstream's check for Werror was wrong. Fixes bug 194921. |
90 |
epatch "${FILESDIR}/${PN}-0.12.2-werror_194921.patch" |
91 |
|
92 |
# We install the Java bindings using the eclass functions so we disable |
93 |
# their installation here. |
94 |
use java && epatch "${FILESDIR}/${P}-java-install.patch" |
95 |
|
96 |
# We install the Python bindings using the eclass functions so we disable |
97 |
# their makefile.am rules here |
98 |
use python && epatch "${FILESDIR}/${P}-distutils.patch" |
99 |
|
100 |
# Upstream patch to fix 64-bit issues. |
101 |
epatch "${FILESDIR}/${P}-int_types.patch" |
102 |
|
103 |
# Fix Glibc open without mode error |
104 |
epatch "${FILESDIR}/${P}-glibc-open.patch" |
105 |
|
106 |
# Respect JAVACFLAGS bug #267445 |
107 |
epatch "${FILESDIR}/${P}-respect-javacflags.patch" |
108 |
|
109 |
AT_M4DIR="m4" eautoreconf |
110 |
} |
111 |
|
112 |
src_configure() { |
113 |
# tcl/tk support is disabled as per upstream request. |
114 |
econf \ |
115 |
--includedir=/usr/include/libpisock \ |
116 |
--enable-conduits \ |
117 |
--with-tcl=no \ |
118 |
--without-included-popt \ |
119 |
--disable-compile-werror \ |
120 |
$(use_enable threads) \ |
121 |
$(use_enable usb libusb) \ |
122 |
$(use_enable debug) \ |
123 |
$(use_with png libpng $(libpng-config --prefix)) \ |
124 |
$(use_with bluetooth bluez) \ |
125 |
$(use_with readline) \ |
126 |
$(use_with perl) \ |
127 |
$(use_with java) \ |
128 |
$(use_with python) \ |
129 |
|| die "econf failed" |
130 |
} |
131 |
|
132 |
src_compile() { |
133 |
# Unfortunately, parallel compilation is badly broken. cf. bug 202857. |
134 |
emake -j1 || die "emake failed" |
135 |
|
136 |
if use perl ; then |
137 |
cd "${S}/bindings/Perl" |
138 |
perl-module_src_prep |
139 |
perl-module_src_compile |
140 |
fi |
141 |
|
142 |
if use python; then |
143 |
cd "${S}/bindings/Python" |
144 |
distutils_src_compile |
145 |
fi |
146 |
} |
147 |
|
148 |
src_install() { |
149 |
emake DESTDIR="${D}" install || die "emake install failed" |
150 |
|
151 |
dodoc ChangeLog README doc/README* doc/TODO NEWS AUTHORS || die "installing docs failed" |
152 |
|
153 |
if use java ; then |
154 |
cd "${S}/bindings/Java" |
155 |
java-pkg_newjar ${PN}.jar |
156 |
java-pkg_doso libjpisock.so |
157 |
fi |
158 |
|
159 |
if use perl ; then |
160 |
cd "${S}/bindings/Perl" |
161 |
perl-module_src_install |
162 |
fi |
163 |
|
164 |
if use python; then |
165 |
cd "${S}/bindings/Python" |
166 |
distutils_src_install |
167 |
fi |
168 |
} |
169 |
|
170 |
pkg_preinst() { |
171 |
perl-module_pkg_preinst |
172 |
java-pkg-opt-2_pkg_preinst |
173 |
} |
174 |
|
175 |
pkg_postinst() { |
176 |
if use python; then |
177 |
python_version |
178 |
python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages |
179 |
fi |
180 |
} |
181 |
|
182 |
pkg_postrm() { |
183 |
use python && distutils_pkg_postrm |
184 |
} |