1 |
pacho 11/09/25 16:17:35 |
2 |
|
3 |
Modified: ChangeLog gam-server-0.1.10.ebuild |
4 |
Log: |
5 |
Fix compilation with latest glib, bug #382783 by Maciej Piechotka; fix crosscompilation issues, bug #267604 by Andrei Slavoiu; enable linux specific features on armel, upstream bug #588338; drop DG_DISABLE_DEPRECATED; don't try to even check for python, simplifying ebuild for people running python3 as main interpreter; use gnome.org eclass to set SRC_URI and use bz2 tarball instead of gz. |
6 |
|
7 |
(Portage version: 2.1.10.19/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.11 app-admin/gam-server/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/gam-server/ChangeLog?rev=1.11&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/gam-server/ChangeLog?rev=1.11&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/gam-server/ChangeLog?r1=1.10&r2=1.11 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-admin/gam-server/ChangeLog,v |
19 |
retrieving revision 1.10 |
20 |
retrieving revision 1.11 |
21 |
diff -u -r1.10 -r1.11 |
22 |
--- ChangeLog 11 Jul 2011 04:25:40 -0000 1.10 |
23 |
+++ ChangeLog 25 Sep 2011 16:17:35 -0000 1.11 |
24 |
@@ -1,6 +1,17 @@ |
25 |
# ChangeLog for app-admin/gam-server |
26 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-admin/gam-server/ChangeLog,v 1.10 2011/07/11 04:25:40 ssuominen Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-admin/gam-server/ChangeLog,v 1.11 2011/09/25 16:17:35 pacho Exp $ |
29 |
+ |
30 |
+ 25 Sep 2011; Pacho Ramos <pacho@g.o> gam-server-0.1.10.ebuild, |
31 |
+ +files/gam-server-0.1.10-G_CONST_RETURN-removal.patch, |
32 |
+ +files/gam-server-0.1.10-armel-features.patch, |
33 |
+ +files/gam-server-0.1.10-crosscompile-fix.patch: |
34 |
+ Fix compilation with latest glib, bug #382783 by Maciej Piechotka; fix |
35 |
+ crosscompilation issues, bug #267604 by Andrei Slavoiu; enable linux specific |
36 |
+ features on armel, upstream bug #588338; drop DG_DISABLE_DEPRECATED; don't |
37 |
+ try to even check for python, simplifying ebuild for people running python3 |
38 |
+ as main interpreter; use gnome.org eclass to set SRC_URI and use bz2 tarball |
39 |
+ instead of gz. |
40 |
|
41 |
11 Jul 2011; Samuli Suominen <ssuominen@g.o> gam-server-0.1.10.ebuild: |
42 |
Stop depending on dev-util/pkgconfig wrt #374775 by dragos240 |
43 |
|
44 |
|
45 |
|
46 |
1.11 app-admin/gam-server/gam-server-0.1.10.ebuild |
47 |
|
48 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/gam-server/gam-server-0.1.10.ebuild?rev=1.11&view=markup |
49 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/gam-server/gam-server-0.1.10.ebuild?rev=1.11&content-type=text/plain |
50 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/gam-server/gam-server-0.1.10.ebuild?r1=1.10&r2=1.11 |
51 |
|
52 |
Index: gam-server-0.1.10.ebuild |
53 |
=================================================================== |
54 |
RCS file: /var/cvsroot/gentoo-x86/app-admin/gam-server/gam-server-0.1.10.ebuild,v |
55 |
retrieving revision 1.10 |
56 |
retrieving revision 1.11 |
57 |
diff -u -r1.10 -r1.11 |
58 |
--- gam-server-0.1.10.ebuild 11 Jul 2011 04:25:40 -0000 1.10 |
59 |
+++ gam-server-0.1.10.ebuild 25 Sep 2011 16:17:35 -0000 1.11 |
60 |
@@ -1,16 +1,16 @@ |
61 |
# Copyright 1999-2011 Gentoo Foundation |
62 |
# Distributed under the terms of the GNU General Public License v2 |
63 |
-# $Header: /var/cvsroot/gentoo-x86/app-admin/gam-server/gam-server-0.1.10.ebuild,v 1.10 2011/07/11 04:25:40 ssuominen Exp $ |
64 |
+# $Header: /var/cvsroot/gentoo-x86/app-admin/gam-server/gam-server-0.1.10.ebuild,v 1.11 2011/09/25 16:17:35 pacho Exp $ |
65 |
|
66 |
-inherit autotools eutils flag-o-matic libtool multilib python |
67 |
+EAPI="3" |
68 |
+GNOME_ORG_MODULE="gamin" |
69 |
|
70 |
-MY_PN="gamin" |
71 |
-MY_P=${MY_PN}-${PV} |
72 |
+inherit autotools eutils flag-o-matic libtool multilib python gnome.org |
73 |
|
74 |
DESCRIPTION="Library providing the FAM File Alteration Monitor API" |
75 |
HOMEPAGE="http://www.gnome.org/~veillard/gamin/" |
76 |
-SRC_URI="http://www.gnome.org/~veillard/${MY_PN}/sources/${MY_P}.tar.gz |
77 |
- mirror://gentoo/${MY_PN}-0.1.9-freebsd.patch.bz2 |
78 |
+SRC_URI="${SRC_URI} |
79 |
+ mirror://gentoo/gamin-0.1.9-freebsd.patch.bz2 |
80 |
http://pkgconfig.freedesktop.org/releases/pkg-config-0.26.tar.gz" # pkg.m4 for eautoreconf |
81 |
|
82 |
LICENSE="LGPL-2" |
83 |
@@ -18,26 +18,35 @@ |
84 |
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd" |
85 |
IUSE="debug kernel_linux" |
86 |
|
87 |
-RDEPEND=">=dev-libs/glib-2 |
88 |
+RDEPEND=">=dev-libs/glib-2:2 |
89 |
>=dev-libs/libgamin-0.1.10 |
90 |
!app-admin/fam |
91 |
!<app-admin/gamin-0.1.10" |
92 |
|
93 |
DEPEND="${RDEPEND}" |
94 |
|
95 |
-S=${WORKDIR}/${MY_P} |
96 |
- |
97 |
-src_unpack() { |
98 |
- unpack ${A} |
99 |
- cd "${S}" |
100 |
+#S=${WORKDIR}/${MY_P} |
101 |
|
102 |
+src_prepare() { |
103 |
mv -vf "${WORKDIR}"/pkg-config-*/pkg.m4 "${WORKDIR}"/ || die |
104 |
|
105 |
# Fix compile warnings; bug #188923 |
106 |
- epatch "${DISTDIR}/${MY_PN}-0.1.9-freebsd.patch.bz2" |
107 |
+ epatch "${DISTDIR}/gamin-0.1.9-freebsd.patch.bz2" |
108 |
|
109 |
# Fix file-collision due to shared library, upstream bug #530635 |
110 |
- epatch "${FILESDIR}/${P}-noinst-lib.patch" |
111 |
+ epatch "${FILESDIR}/${PN}-0.1.10-noinst-lib.patch" |
112 |
+ |
113 |
+ # Fix compilation with latest glib, bug #382783 |
114 |
+ epatch "${FILESDIR}/${PN}-0.1.10-G_CONST_RETURN-removal.patch" |
115 |
+ |
116 |
+ # Fix crosscompilation issues, bug #267604 |
117 |
+ epatch "${FILESDIR}/${PN}-0.1.10-crosscompile-fix.patch" |
118 |
+ |
119 |
+ # Enable linux specific features on armel, upstream bug #588338 |
120 |
+ epatch "${FILESDIR}/${P}-armel-features.patch" |
121 |
+ |
122 |
+ # Drop DEPRECATED flags |
123 |
+ sed -i -e 's:-DG_DISABLE_DEPRECATED:$(NULL):g' server/Makefile.am || die |
124 |
|
125 |
# autoconf is required as the user-cflags patch modifies configure.in |
126 |
# however, elibtoolize is also required, so when the above patch is |
127 |
@@ -45,7 +54,7 @@ |
128 |
AT_M4DIR="${WORKDIR}" eautoreconf |
129 |
} |
130 |
|
131 |
-src_compile() { |
132 |
+src_configure() { |
133 |
# fixes bug 225403 |
134 |
#append-flags "-D_GNU_SOURCE" |
135 |
|
136 |
@@ -57,10 +66,9 @@ |
137 |
econf \ |
138 |
--disable-debug \ |
139 |
--disable-libgamin \ |
140 |
+ --without-python \ |
141 |
$(use_enable kernel_linux inotify) \ |
142 |
$(use_enable debug debug-api) |
143 |
- |
144 |
- emake || die |
145 |
} |
146 |
|
147 |
src_install() { |