Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libgamin/
Date: Thu, 29 Sep 2016 15:51:57
Message-Id: 1475164299.045e177e74c1e50f85c868cf434d0ec9824ad5c6.kensington@gentoo
1 commit: 045e177e74c1e50f85c868cf434d0ec9824ad5c6
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 29 15:48:15 2016 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 29 15:51:39 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=045e177e
7
8 dev-libs/libgamin: remove old
9
10 Package-Manager: portage-2.3.1
11
12 dev-libs/libgamin/Manifest | 1 -
13 dev-libs/libgamin/libgamin-0.1.10-r4.ebuild | 151 ----------------------------
14 2 files changed, 152 deletions(-)
15
16 diff --git a/dev-libs/libgamin/Manifest b/dev-libs/libgamin/Manifest
17 index 517f85c..2553ad8 100644
18 --- a/dev-libs/libgamin/Manifest
19 +++ b/dev-libs/libgamin/Manifest
20 @@ -1,5 +1,4 @@
21 DIST gamin-0.1.10.tar.bz2 452194 SHA256 a59948b20ce2f14136c013f155abb8c8d51db2ea167c063ff33461e453fec10a SHA512 ccdbc06eeb958ed2d888aee3fcadbadf00e9e6566802adee82035e0762ac3351ed2a2983eabe07503ddde2ddf035185c6cd98cbece2feadaaa36e8f656a38306 WHIRLPOOL 49ca0e192d8f5e28d6ffbb201b98b0f2c736554447b37c50eaa6e76e499ab77d696cf585c96c6a38f94c2589c634e694daf2e4969ffddbbb245b07b8a6e7b2d8
22 DIST gamin-0.1.9-freebsd.patch.bz2 4635 SHA256 fcd1a6655d1c7cd86db6102931a4da1c22bc85f1c4692959c1a966fec5231723 SHA512 a9d9a8e4d85b289df6f87bf2b966ff262281db0d7e6094deb4f2c179f12c6cc3e387c1e1c28306a9fb54f2eb2837f9bdd3a34b2bb68db8abfdbecc7492e9730b WHIRLPOOL 462173a33e8f804b71c6991aa5925a5c9a6ee83f80b13967369c5c45721069e629c052e5daebfc3fb03bbad4d3054b523afb6e430db997581f3ff942f7da3180
23 DIST libgamin-0.1.10-opensolaris.patch.bz2 16955 SHA256 9cb1bde5a34888ce4de4c4894c7d31dbfdbfb3279007b9eddf2da35510f6a9b5 SHA512 fd1cfc5a6b5ba429622f8d426cfba0e3c1c05c3677fb58c53af39b4030ae56f3f71caf63eb5ecb16169c2f7e8c79a32d7d440857c2c7fd3a259cf8312a9b2004 WHIRLPOOL 3efbf3781a55f44f383e573db4a3b3df731e9f77608d73db4ff3027eae0bda6abb6eae022c094735c0d8d2a85e224a980436d8557f9350bb1558b40d99280701
24 -DIST pkg-config-0.26.tar.gz 396399 SHA256 94c1936a797c930fb3e4e5a154165b6268caba22b32d24083dd4c492a533c8af SHA512 9390d5918dd4ac520b914d2330aa7cae2587ca7b21b03bc88372fd5dbbd78e33eeb3fca39fcdb6dd10113658f03118a1c8829149c7029eb0dd80348d100170a4 WHIRLPOOL f535946a02192a9bffc7be0fae454e25aa86af8bac7f47622d52ed13f77f1ba05ff9b5693b2a501981e3991e4e1595eced22dee4ab748b310baa7d57267a62a7
25 DIST pkg-config-0.28.tar.gz 1931203 SHA256 6b6eb31c6ec4421174578652c7e141fdaae2dabad1021f420d8713206ac1f845 SHA512 6eafa5ca77c5d44cd15f48457a5e96fcea2555b66d8e35ada5ab59864a0aa03d441e15f54ab9c6343693867b3b490f392c75b7d9312f024c9b7ec6a0194d8320 WHIRLPOOL db4ddb4ce61724e629931c5ffccb4d7a551b4dc0f4efed5a966822307e4b5a786adee5705dd80ec0a9aa32cb1af9ad9615e307360e131fc34688207216161486
26
27 diff --git a/dev-libs/libgamin/libgamin-0.1.10-r4.ebuild b/dev-libs/libgamin/libgamin-0.1.10-r4.ebuild
28 deleted file mode 100644
29 index d03fdf0..00000000
30 --- a/dev-libs/libgamin/libgamin-0.1.10-r4.ebuild
31 +++ /dev/null
32 @@ -1,151 +0,0 @@
33 -# Copyright 1999-2014 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -# $Id$
36 -
37 -EAPI="5"
38 -PYTHON_DEPEND="python? 2"
39 -SUPPORT_PYTHON_ABIS="1"
40 -RESTRICT_PYTHON_ABIS="3.* *-jython"
41 -GNOME_ORG_MODULE="gamin"
42 -GNOME_TARBALL_SUFFIX="bz2"
43 -
44 -inherit autotools eutils flag-o-matic libtool python gnome.org multilib-minimal
45 -
46 -DESCRIPTION="Library providing the FAM File Alteration Monitor API"
47 -HOMEPAGE="https://www.gnome.org/~veillard/gamin/"
48 -SRC_URI="${SRC_URI}
49 - mirror://gentoo/gamin-0.1.9-freebsd.patch.bz2
50 - https://dev.gentoo.org/~grobian/patches/libgamin-0.1.10-opensolaris.patch.bz2
51 - https://pkgconfig.freedesktop.org/releases/pkg-config-0.26.tar.gz" # pkg.m4 for eautoreconf
52 -
53 -LICENSE="LGPL-2"
54 -SLOT="0"
55 -KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris"
56 -IUSE="debug kernel_linux python static-libs"
57 -
58 -RESTRICT="test" # needs gam-server
59 -
60 -RDEPEND="!app-admin/fam
61 - !<app-admin/gamin-0.1.10"
62 -DEPEND="${RDEPEND}"
63 -
64 -pkg_setup() {
65 - if use python; then
66 - python_pkg_setup
67 - fi
68 -}
69 -
70 -src_prepare() {
71 - mv -vf "${WORKDIR}"/pkg-config-*/pkg.m4 "${WORKDIR}"/ || die
72 -
73 - # Fix QA warnings, bug #257281, upstream #466791
74 - epatch "${FILESDIR}"/${PN}-0.1.10-compilewarnings.patch
75 -
76 - if [[ ${CHOST} != *-solaris* ]] ; then
77 - # Fix compile warnings; bug #188923
78 - epatch "${DISTDIR}"/gamin-0.1.9-freebsd.patch.bz2
79 - else
80 - # (Open)Solaris necessary patches (changes configure.in), unfortunately
81 - # conflicts with freebsd patch and breaks some linux installs so it must
82 - # only be applied if on solaris.
83 - epatch "${DISTDIR}"/${P}-opensolaris.patch.bz2
84 - fi
85 -
86 - # Fix collision problem due to intermediate library, upstream bug #530635
87 - epatch "${FILESDIR}"/${PN}-0.1.10-noinst-lib.patch
88 -
89 - # Fix compilation with latest glib, bug #382783
90 - epatch "${FILESDIR}/${PN}-0.1.10-G_CONST_RETURN-removal.patch"
91 -
92 - # Fix crosscompilation issues, bug #267604
93 - epatch "${FILESDIR}/${PN}-0.1.10-crosscompile-fix.patch"
94 -
95 - # Enable linux specific features on armel, upstream bug #588338
96 - epatch "${FILESDIR}/${P}-armel-features.patch"
97 -
98 - # Fix possible server deadlock in ih_sub_cancel, upstream bug #667230
99 - epatch "${FILESDIR}/${PN}-0.1.10-deadlock.patch"
100 -
101 - # Drop DEPRECATED flags
102 - sed -i -e 's:-DG_DISABLE_DEPRECATED:$(NULL):g' server/Makefile.am || die
103 -
104 - # Build only shared version of Python module.
105 - epatch "${FILESDIR}"/${PN}-0.1.10-disable_python_static_library.patch
106 -
107 - # Python bindings are built/installed manually.
108 - sed -e "/SUBDIRS += python/d" -i Makefile.am
109 -
110 - sed -i \
111 - -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' \
112 - -e 's:AM_PROG_CC_STDC:AC_PROG_CC:' \
113 - configure.in || die #466962
114 -
115 - # autoconf is required as the user-cflags patch modifies configure.in
116 - # however, elibtoolize is also required, so when the above patch is
117 - # removed, replace the following call with a call to elibtoolize
118 - AT_M4DIR="${WORKDIR}" eautoreconf
119 -
120 - use python && python_clean_py-compile_files
121 -}
122 -
123 -multilib_src_configure() {
124 - ECONF_SOURCE="${S}" econf \
125 - $(use_enable static-libs static) \
126 - --disable-debug \
127 - --disable-server \
128 - $(use_enable kernel_linux inotify) \
129 - $(use_enable debug debug-api) \
130 - $(use_with python)
131 -}
132 -
133 -multilib_src_compile() {
134 - default
135 -
136 - if multilib_is_native_abi && use python; then
137 - python_copy_sources python
138 -
139 - building() {
140 - emake \
141 - PYTHON_INCLUDES="${EPREFIX}$(python_get_includedir)" \
142 - PYTHON_SITE_PACKAGES="${EPREFIX}$(python_get_sitedir)" \
143 - PYTHON_VERSION="$(python_get_version)"
144 - }
145 - S="${BUILD_DIR}" python_execute_function -s --source-dir python building
146 - fi
147 -}
148 -
149 -multilib_src_install() {
150 - emake DESTDIR="${D}" install
151 -
152 - if multilib_is_native_abi && use python; then
153 - installation() {
154 - emake \
155 - DESTDIR="${D}" \
156 - PYTHON_SITE_PACKAGES="${EPREFIX}$(python_get_sitedir)" \
157 - PYTHON_VERSION="$(python_get_version)" \
158 - install
159 - }
160 - S="${BUILD_DIR}" python_execute_function -s --source-dir python installation
161 -
162 - python_clean_installation_image
163 - fi
164 -}
165 -
166 -multilib_src_instal_all() {
167 - dodoc AUTHORS ChangeLog README TODO NEWS doc/*txt
168 - dohtml doc/*
169 -
170 - find "${D}" -name '*.la' -exec rm -f {} +
171 -}
172 -
173 -pkg_postinst() {
174 - if use python; then
175 - python_mod_optimize gamin.py
176 - fi
177 -}
178 -
179 -pkg_postrm() {
180 - if use python; then
181 - python_mod_cleanup gamin.py
182 - fi
183 -}