Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/libproxy: ChangeLog libproxy-0.4.6.ebuild
Date: Wed, 29 Sep 2010 20:43:16
Message-Id: 20100929204311.4D54A20051@flycatcher.gentoo.org
1 pacho 10/09/29 20:43:11
2
3 Modified: ChangeLog
4 Added: libproxy-0.4.6.ebuild
5 Log:
6 Version bump with a lot of bugfixes, minimum cmake required version is 2.6 now, drop 'debug' USE flag as there is no need now to filter Werror/Wall CFLAGS, add dotnet support, build tests only when needed, fix CFLAGS/CXXFLAGS/LDFLAGS parsing.
7 (Portage version: 2.1.8.3/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.39 net-libs/libproxy/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libproxy/ChangeLog?rev=1.39&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libproxy/ChangeLog?rev=1.39&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libproxy/ChangeLog?r1=1.38&r2=1.39
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-libs/libproxy/ChangeLog,v
19 retrieving revision 1.38
20 retrieving revision 1.39
21 diff -u -r1.38 -r1.39
22 --- ChangeLog 16 Aug 2010 20:46:24 -0000 1.38
23 +++ ChangeLog 29 Sep 2010 20:43:11 -0000 1.39
24 @@ -1,6 +1,14 @@
25 # ChangeLog for net-libs/libproxy
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libproxy/ChangeLog,v 1.38 2010/08/16 20:46:24 ssuominen Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libproxy/ChangeLog,v 1.39 2010/09/29 20:43:11 pacho Exp $
29 +
30 +*libproxy-0.4.6 (29 Sep 2010)
31 +
32 + 29 Sep 2010; Pacho Ramos <pacho@g.o> +libproxy-0.4.6.ebuild:
33 + Version bump with a lot of bugfixes, minimum cmake required version is 2.6
34 + now, drop 'debug' USE flag as there is no need now to filter Werror/Wall
35 + CFLAGS, add dotnet support, build tests only when needed, fix
36 + CFLAGS/CXXFLAGS/LDFLAGS parsing.
37
38 16 Aug 2010; Samuli Suominen <ssuominen@g.o> libproxy-0.4.2.ebuild,
39 +files/libproxy-0.4.2-glibc212.patch:
40
41
42
43 1.1 net-libs/libproxy/libproxy-0.4.6.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libproxy/libproxy-0.4.6.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libproxy/libproxy-0.4.6.ebuild?rev=1.1&content-type=text/plain
47
48 Index: libproxy-0.4.6.ebuild
49 ===================================================================
50 # Copyright 1999-2010 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/net-libs/libproxy/libproxy-0.4.6.ebuild,v 1.1 2010/09/29 20:43:11 pacho Exp $
53
54 EAPI="2"
55 CMAKE_MIN_VERSION="2.6"
56 PYTHON_DEPEND="python? 2:2.5"
57
58 inherit cmake-utils eutils multilib python portability
59
60 DESCRIPTION="Library for automatic proxy configuration management"
61 HOMEPAGE="http://code.google.com/p/libproxy/"
62 SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
63
64 LICENSE="LGPL-2.1"
65 SLOT="0"
66 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
67 IUSE="gnome kde mono networkmanager perl python test vala webkit xulrunner"
68
69 RDEPEND="
70 gnome? ( gnome-base/gconf )
71 kde? ( >=kde-base/kdelibs-4.3 )
72 mono? ( dev-lang/mono )
73 networkmanager? ( net-misc/networkmanager )
74 perl? ( dev-lang/perl )
75 vala? ( dev-lang/vala )
76 webkit? ( net-libs/webkit-gtk )
77 xulrunner? ( >=net-libs/xulrunner-1.9.1:1.9 )"
78
79 DEPEND="${RDEPEND}
80 >=dev-util/pkgconfig-0.19"
81
82 DOCS="AUTHORS NEWS README ChangeLog"
83
84 pkg_setup() {
85 if use python; then
86 python_set_active_version 2
87 fi
88 }
89
90 src_prepare() {
91 base_src_prepare
92 epatch "${FILESDIR}"/${PN}-0.4.2-glibc212.patch
93 }
94
95 src_configure() {
96 mycmakeargs=(
97 -DPERL_VENDORINSTALL=ON
98 -DCMAKE_C_FLAGS="${CFLAGS}"
99 -DCMAKE_CXX_FLAGS="${CXXFLAGS}"
100 $(cmake-utils_use_with gnome GNOME)
101 $(cmake-utils_use_with kde KDE4)
102 $(cmake-utils_use_with mono DOTNET)
103 $(cmake-utils_use_with networkmanager NM)
104 $(cmake-utils_use_with perl PERL)
105 $(cmake-utils_use_with python PYTHON)
106 $(cmake-utils_use_with vala VALA)
107 $(cmake-utils_use_with webkit WEBKIT)
108 $(cmake-utils_use_with xulrunner MOZJS)
109 $(cmake-utils_use test BUILD_TESTING)
110 )
111 cmake-utils_src_configure
112 }
113
114 src_compile() {
115 # Prevent access violation when building with mono support
116 export MONO_SHARED_DIR="${T}/shared"
117 cmake-utils_src_compile
118 }
119
120 pkg_preinst() {
121 preserve_old_lib /usr/$(get_libdir)/libproxy.so.0
122 }
123
124 pkg_postinst() {
125 preserve_old_lib_notify /usr/$(get_libdir)/libproxy.so.0
126
127 if use python; then
128 python_need_rebuild
129 python_mod_optimize $(python_get_sitedir)/${PN}.py
130 fi
131 }
132
133 pkg_postrm() {
134 if use python; then
135 python_mod_cleanup $(python_get_sitedir)/${PN}.py
136 fi
137 }