Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libgamin/
Date: Tue, 08 Sep 2020 18:08:23
Message-Id: 1599588462.c167aadefc355c32152f19e9ab473cfdf9850ec4.asturm@gentoo
1 commit: c167aadefc355c32152f19e9ab473cfdf9850ec4
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 8 17:05:19 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 8 18:07:42 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c167aade
7
8 dev-libs/libgamin: Drop 0.1.10-r5
9
10 Package-Manager: Portage-3.0.5, Repoman-3.0.1
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 dev-libs/libgamin/libgamin-0.1.10-r5.ebuild | 141 ----------------------------
14 1 file changed, 141 deletions(-)
15
16 diff --git a/dev-libs/libgamin/libgamin-0.1.10-r5.ebuild b/dev-libs/libgamin/libgamin-0.1.10-r5.ebuild
17 deleted file mode 100644
18 index 10d4d3502cd..00000000000
19 --- a/dev-libs/libgamin/libgamin-0.1.10-r5.ebuild
20 +++ /dev/null
21 @@ -1,141 +0,0 @@
22 -# Copyright 1999-2020 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI="5"
26 -
27 -PYTHON_COMPAT=( python2_7 )
28 -GNOME_ORG_MODULE="gamin"
29 -GNOME_TARBALL_SUFFIX="bz2"
30 -
31 -inherit autotools eutils flag-o-matic libtool ltprune python-r1 gnome.org multilib-minimal
32 -
33 -DESCRIPTION="Library providing the FAM File Alteration Monitor API"
34 -HOMEPAGE="https://www.gnome.org/~veillard/gamin/"
35 -SRC_URI="${SRC_URI}
36 - mirror://gentoo/gamin-0.1.9-freebsd.patch.bz2
37 - https://dev.gentoo.org/~grobian/patches/libgamin-0.1.10-opensolaris.patch.bz2
38 - https://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz" # pkg.m4 for eautoreconf
39 -
40 -LICENSE="LGPL-2"
41 -SLOT="0"
42 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~x86-solaris"
43 -IUSE="debug kernel_linux python static-libs"
44 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
45 -
46 -RESTRICT="test" # needs gam-server
47 -
48 -RDEPEND="
49 - python? ( ${PYTHON_DEPS} )
50 - !app-admin/fam
51 - !<app-admin/gamin-0.1.10"
52 -DEPEND="${RDEPEND}"
53 -
54 -src_prepare() {
55 - mv "${WORKDIR}"/pkg-config-*/pkg.m4 "${WORKDIR}"/ || die
56 -
57 - # Fix QA warnings, bug #257281, upstream #466791
58 - epatch "${FILESDIR}"/${PN}-0.1.10-compilewarnings.patch
59 -
60 - if [[ ${CHOST} != *-solaris* ]] ; then
61 - # Fix compile warnings; bug #188923
62 - epatch "${DISTDIR}"/gamin-0.1.9-freebsd.patch.bz2
63 - else
64 - # (Open)Solaris necessary patches (changes configure.in), unfortunately
65 - # conflicts with freebsd patch and breaks some linux installs so it must
66 - # only be applied if on solaris.
67 - epatch "${DISTDIR}"/${P}-opensolaris.patch.bz2
68 - fi
69 -
70 - # Fix collision problem due to intermediate library, upstream bug #530635
71 - epatch "${FILESDIR}"/${PN}-0.1.10-noinst-lib.patch
72 -
73 - # Fix compilation with latest glib, bug #382783
74 - epatch "${FILESDIR}/${PN}-0.1.10-G_CONST_RETURN-removal.patch"
75 -
76 - # Fix crosscompilation issues, bug #267604
77 - epatch "${FILESDIR}/${PN}-0.1.10-crosscompile-fix.patch"
78 -
79 - # Enable linux specific features on armel, upstream bug #588338
80 - epatch "${FILESDIR}/${P}-armel-features.patch"
81 -
82 - # Fix possible server deadlock in ih_sub_cancel, upstream bug #667230
83 - epatch "${FILESDIR}/${PN}-0.1.10-deadlock.patch"
84 -
85 - # Drop DEPRECATED flags
86 - sed -i -e 's:-DG_DISABLE_DEPRECATED:$(NULL):g' server/Makefile.am || die
87 -
88 - # Build only shared version of Python module.
89 - epatch "${FILESDIR}"/${PN}-0.1.10-disable_python_static_library.patch
90 -
91 - sed -i \
92 - -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' \
93 - -e 's:AM_PROG_CC_STDC:AC_PROG_CC:' \
94 - configure.in || die #466962
95 -
96 - # autoconf is required as the user-cflags patch modifies configure.in
97 - # however, elibtoolize is also required, so when the above patch is
98 - # removed, replace the following call with a call to elibtoolize
99 - AT_M4DIR="${WORKDIR}" eautoreconf
100 -}
101 -
102 -multilib_src_configure() {
103 - local myconf=(
104 - $(use_enable static-libs static)
105 - --disable-debug
106 - --disable-server
107 - $(use_enable kernel_linux inotify)
108 - $(use_enable debug debug-api)
109 - --without-python
110 - )
111 - local ECONF_SOURCE=${S}
112 -
113 - econf "${myconf[@]}"
114 - if multilib_is_native_abi && use python; then
115 - python_configure() {
116 - mkdir -p "${BUILD_DIR}" || die
117 - cd "${BUILD_DIR}" || die
118 - econf "${myconf[@]}" --with-python
119 - }
120 -
121 - python_foreach_impl python_configure
122 - fi
123 -}
124 -
125 -multilib_src_compile() {
126 - default
127 -
128 - if multilib_is_native_abi && use python; then
129 - local native_builddir=${BUILD_DIR}
130 -
131 - python_compile() {
132 - emake -C "${BUILD_DIR}"/python \
133 - VPATH="${native_builddir}/python:${S}/python" \
134 - _gamin_la_LIBADD="${native_builddir}/libgamin/libgamin-1.la"
135 - }
136 -
137 - python_foreach_impl python_compile
138 - fi
139 -}
140 -
141 -multilib_src_install() {
142 - emake DESTDIR="${D}" install
143 -
144 - if multilib_is_native_abi && use python; then
145 - local native_builddir=${BUILD_DIR}
146 -
147 - python_install() {
148 - emake -C "${BUILD_DIR}"/python \
149 - DESTDIR="${D}" install \
150 - VPATH="${native_builddir}/python:${S}/python"
151 - }
152 -
153 - python_foreach_impl python_install
154 - fi
155 -}
156 -
157 -multilib_src_install_all() {
158 - dodoc AUTHORS ChangeLog README TODO NEWS doc/*txt
159 - dohtml doc/*
160 -
161 - prune_libtool_files --all
162 -}