Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-calculators/qalculate-bases/files/, sci-calculators/qalculate-bases/, ...
Date: Mon, 05 Sep 2016 13:54:24
Message-Id: 1473083638.c9b90a465cb5e8f07f64d78d09dee1a4690702c1.mgorny@gentoo
1 commit: c9b90a465cb5e8f07f64d78d09dee1a4690702c1
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 5 13:42:51 2016 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 5 13:53:58 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9b90a46
7
8 sci-calculators/qalculate-bases: Remove last-rited pkg
9
10 profiles/package.mask | 1 -
11 sci-calculators/qalculate-bases/Manifest | 1 -
12 .../files/qalculate-bases-0.9.4-cln-config.patch | 159 ---------------------
13 sci-calculators/qalculate-bases/metadata.xml | 11 --
14 .../qalculate-bases-0.9.4-r2.ebuild | 32 -----
15 5 files changed, 204 deletions(-)
16
17 diff --git a/profiles/package.mask b/profiles/package.mask
18 index 1d0e3ab..8594ca6 100644
19 --- a/profiles/package.mask
20 +++ b/profiles/package.mask
21 @@ -616,7 +616,6 @@ dev-perl/cdk-perl
22 # Matthias Maier <tamiko@g.o> (3 Aug 2016)
23 # Masked for removal in 30 days. Obsolete packages that are now part of
24 # sci-libs/libqalculate and/or sci-calculators/qalculate-gtk
25 -sci-calculators/qalculate-bases
26 sci-calculators/qalculate-currency
27 sci-calculators/qalculate-units
28
29
30 diff --git a/sci-calculators/qalculate-bases/Manifest b/sci-calculators/qalculate-bases/Manifest
31 deleted file mode 100644
32 index bd4bc44..00000000
33 --- a/sci-calculators/qalculate-bases/Manifest
34 +++ /dev/null
35 @@ -1 +0,0 @@
36 -DIST qalculate-bases-0.9.4.tar.gz 368685 SHA256 def8ce0aad4e974a0f373c26342f2ac31bfc6393408d0d699b93d978bfd30e54 SHA512 bd5ff424bf49da811637c9c1d7bce020d3d9a33241467fbdb5a0d4918735e0ab1eda2892d1d20b868c95bac88e2c8cddd7f55649e0d8ee679e1043519e8a75b8 WHIRLPOOL 8ed29d8b89c822ec0f73141d4dad7214ec2256330341faac9dd761a7dcfc2a89c839a88e7578c437590ac092891c6a7261f3e95c15c23589df9d3d8c1c8d5626
37
38 diff --git a/sci-calculators/qalculate-bases/files/qalculate-bases-0.9.4-cln-config.patch b/sci-calculators/qalculate-bases/files/qalculate-bases-0.9.4-cln-config.patch
39 deleted file mode 100644
40 index 459445d..00000000
41 --- a/sci-calculators/qalculate-bases/files/qalculate-bases-0.9.4-cln-config.patch
42 +++ /dev/null
43 @@ -1,159 +0,0 @@
44 -diff -Naur libqalculate-0.9.6/aclocal.m4 libqalculate-0.9.6.new/aclocal.m4
45 ---- libqalculate-0.9.6/aclocal.m4 2007-06-17 04:45:44.000000000 -0400
46 -+++ libqalculate-0.9.6.new/aclocal.m4 2008-02-02 11:04:21.000000000 -0500
47 -@@ -7836,146 +7836,27 @@
48 - [dnl
49 - dnl Get the cppflags and libraries from the cln-config script
50 - dnl
51 --AC_ARG_WITH(cln-prefix,[ --with-cln-prefix=PFX Prefix where CLN is installed (optional)],
52 -- cln_config_prefix="$withval", cln_config_prefix="")
53 --AC_ARG_WITH(cln-exec-prefix,[ --with-cln-exec-prefix=PFX Exec prefix where CLN is installed (optional)],
54 -- cln_config_exec_prefix="$withval", cln_config_exec_prefix="")
55 --AC_ARG_ENABLE(clntest, [ --disable-clntest Do not try to compile and run a test CLN program],
56 -- , enable_clntest=yes)
57 --
58 --if test x$cln_config_exec_prefix != x ; then
59 -- cln_config_args="$cln_config_args --exec-prefix=$cln_config_exec_prefix"
60 -- if test x${CLN_CONFIG+set} != xset ; then
61 -- CLN_CONFIG=$cln_config_exec_prefix/bin/cln-config
62 -- fi
63 --fi
64 --if test x$cln_config_prefix != x ; then
65 -- cln_config_args="$cln_config_args --prefix=$cln_config_prefix"
66 -- if test x${CLN_CONFIG+set} != xset ; then
67 -- CLN_CONFIG=$cln_config_prefix/bin/cln-config
68 -- fi
69 --fi
70 -
71 --AC_PATH_PROG(CLN_CONFIG, cln-config, no)
72 -+AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
73 - cln_min_version=ifelse([$1], ,1.1.0,$1)
74 - AC_MSG_CHECKING(for CLN - version >= $cln_min_version)
75 --if test "$CLN_CONFIG" = "no" ; then
76 -+if test "$PKG_CONFIG" = "no" ; then
77 - AC_MSG_RESULT(no)
78 -- echo "*** The cln-config script installed by CLN could not be found"
79 -- echo "*** If CLN was installed in PREFIX, make sure PREFIX/bin is in"
80 -- echo "*** your path, or set the CLN_CONFIG environment variable to the"
81 -- echo "*** full path to cln-config."
82 -+ echo "*** could not find pkg-config"
83 - ifelse([$3], , :, [$3])
84 - else
85 - dnl Parse required version and the result of cln-config.
86 -- cln_min_major_version=`echo $cln_min_version | \
87 -- sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
88 -- cln_min_minor_version=`echo $cln_min_version | \
89 -- sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
90 -- cln_min_micro_version=`echo $cln_min_version | \
91 -- sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
92 -- CLN_CPPFLAGS=`$CLN_CONFIG $cln_config_args --cppflags`
93 -- CLN_LIBS=`$CLN_CONFIG $cln_config_args --libs`
94 -- cln_config_version=`$CLN_CONFIG $cln_config_args --version`
95 -- cln_config_major_version=`echo $cln_config_version | \
96 -- sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
97 -- cln_config_minor_version=`echo $cln_config_version | \
98 -- sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
99 -- cln_config_micro_version=`echo $cln_config_version | \
100 -- sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
101 --dnl Check if the installed CLN is sufficiently new according to cln-config.
102 -- if test \( $cln_config_major_version -lt $cln_min_major_version \) -o \
103 -- \( $cln_config_major_version -eq $cln_min_major_version -a $cln_config_minor_version -lt $cln_min_minor_version \) -o \
104 -- \( $cln_config_major_version -eq $cln_min_major_version -a $cln_config_minor_version -eq $cln_min_minor_version -a $cln_config_micro_version -lt $cln_min_micro_version \); then
105 -- echo -e "\n*** 'cln-config --version' returned $cln_config_major_version.$cln_config_minor_version.$cln_config_micro_version, but the minimum version"
106 -- echo "*** of CLN required is $cln_min_major_version.$cln_min_minor_version.$cln_min_micro_version. If cln-config is correct, then it is"
107 -- echo "*** best to upgrade to the required version."
108 -- echo "*** If cln-config was wrong, set the environment variable CLN_CONFIG"
109 -- echo "*** to point to the correct copy of cln-config, and remove the file"
110 -- echo "*** config.cache before re-running configure."
111 -- ifelse([$3], , :, [$3])
112 -+ if $PKG_CONFIG cln --atleast-version=${cln_min_version}; then
113 -+ echo "Found cln >= ${cln_min_version}"
114 -+ CLN_CPPFLAGS=`$PKG_CONFIG cln --cflags`
115 -+ CLN_LIBS=`$PKG_CONFIG cln --libs`
116 - else
117 --dnl The versions match so far. Now do a sanity check: Does the result of cln-config
118 --dnl match the version of the headers and the version built into the library, too?
119 -- no_cln=""
120 -- if test "x$enable_clntest" = "xyes" ; then
121 -- ac_save_CPPFLAGS="$CPPFLAGS"
122 -- ac_save_LIBS="$LIBS"
123 -- CPPFLAGS="$CPPFLAGS $CLN_CPPFLAGS"
124 -- LIBS="$LIBS $CLN_LIBS"
125 -- rm -f conf.clntest
126 -- AC_TRY_RUN([
127 --#include <stdio.h>
128 --#include <string.h>
129 --#include <cln/version.h>
130 --
131 --/* we do not #include <stdlib.h> because autoconf in C++ mode inserts a
132 -- prototype for exit() that conflicts with the one in stdlib.h */
133 --extern "C" int system(const char *);
134 --
135 --int main(void)
136 --{
137 -- system("touch conf.clntest");
138 --
139 -- if ((CL_VERSION_MAJOR != $cln_config_major_version) ||
140 -- (CL_VERSION_MINOR != $cln_config_minor_version) ||
141 -- (CL_VERSION_PATCHLEVEL != $cln_config_micro_version)) {
142 -- printf("\n*** 'cln-config --version' returned %d.%d.%d, but the header file I found\n", $cln_config_major_version, $cln_config_minor_version, $cln_config_micro_version);
143 -- printf("*** corresponds to %d.%d.%d. This mismatch suggests your installation of CLN\n", CL_VERSION_MAJOR, CL_VERSION_MINOR, CL_VERSION_PATCHLEVEL);
144 -- printf("*** is corrupted or you have specified some wrong -I compiler flags.\n");
145 -- printf("*** Please inquire and consider reinstalling CLN.\n");
146 -- return 1;
147 -- }
148 -- if ((cln::version_major != $cln_config_major_version) ||
149 -- (cln::version_minor != $cln_config_minor_version) ||
150 -- (cln::version_patchlevel != $cln_config_micro_version)) {
151 -- printf("\n*** 'cln-config --version' returned %d.%d.%d, but the library I found\n", $cln_config_major_version, $cln_config_minor_version, $cln_config_micro_version);
152 -- printf("*** corresponds to %d.%d.%d. This mismatch suggests your installation of CLN\n", cln::version_major, cln::version_minor, cln::version_patchlevel);
153 -- printf("*** is corrupted or you have specified some wrong -L compiler flags.\n");
154 -- printf("*** Please inquire and consider reinstalling CLN.\n");
155 -- return 1;
156 -- }
157 -- return 0;
158 --}
159 --],, no_cln=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
160 -- CPPFLAGS="$ac_save_CPPFLAGS"
161 -- LIBS="$ac_save_LIBS"
162 -- fi
163 -- if test "x$no_cln" = x ; then
164 -- AC_MSG_RESULT([yes, $cln_config_version])
165 -- ifelse([$2], , :, [$2])
166 -- else
167 -- AC_MSG_RESULT(no)
168 -- if test ! -f conf.clntest ; then
169 -- echo "*** Could not run CLN test program, checking why..."
170 -- CPPFLAGS="$CFLAGS $CLN_CPPFLAGS"
171 -- LIBS="$LIBS $CLN_LIBS"
172 -- AC_TRY_LINK([
173 --#include <stdio.h>
174 --#include <cln/version.h>
175 --], [ return 0; ],
176 -- [ echo "*** The test program compiled, but did not run. This usually means"
177 -- echo "*** that the run-time linker is not finding CLN or finding the wrong"
178 -- echo "*** version of CLN. If it is not finding CLN, you'll need to set your"
179 -- echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
180 -- echo "*** to the installed location. Also, make sure you have run ldconfig if that"
181 -- echo "*** is required on your system."],
182 -- [ echo "*** The test program failed to compile or link. See the file config.log for the"
183 -- echo "*** exact error that occured. This usually means CLN was incorrectly installed"
184 -- echo "*** or that you have moved CLN since it was installed. In the latter case, you"
185 -- echo "*** may want to edit the cln-config script: $CLN_CONFIG." ])
186 -- CPPFLAGS="$ac_save_CPPFLAGS"
187 -- LIBS="$ac_save_LIBS"
188 -- fi
189 -- CLN_CPPFLAGS=""
190 -- CLN_LIBS=""
191 -- ifelse([$3], , :, [$3])
192 -- fi
193 -+ echo "ERROR: cln >= ${cln_min_version} not found"
194 -+ ifelse([$3], , :, [$3])
195 - fi
196 - fi
197 - AC_SUBST(CLN_CPPFLAGS)
198 - AC_SUBST(CLN_LIBS)
199 --rm -f conf.clntest
200 - ])
201 -
202 - # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
203
204 diff --git a/sci-calculators/qalculate-bases/metadata.xml b/sci-calculators/qalculate-bases/metadata.xml
205 deleted file mode 100644
206 index 1e384c4..00000000
207 --- a/sci-calculators/qalculate-bases/metadata.xml
208 +++ /dev/null
209 @@ -1,11 +0,0 @@
210 -<?xml version="1.0" encoding="UTF-8"?>
211 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
212 -<pkgmetadata>
213 - <maintainer type="project">
214 - <email>sci@g.o</email>
215 - <name>Gentoo Science Project</name>
216 - </maintainer>
217 - <upstream>
218 - <remote-id type="sourceforge">qalculate</remote-id>
219 - </upstream>
220 -</pkgmetadata>
221
222 diff --git a/sci-calculators/qalculate-bases/qalculate-bases-0.9.4-r2.ebuild b/sci-calculators/qalculate-bases/qalculate-bases-0.9.4-r2.ebuild
223 deleted file mode 100644
224 index 4e34aef..00000000
225 --- a/sci-calculators/qalculate-bases/qalculate-bases-0.9.4-r2.ebuild
226 +++ /dev/null
227 @@ -1,32 +0,0 @@
228 -# Copyright 1999-2012 Gentoo Foundation
229 -# Distributed under the terms of the GNU General Public License v2
230 -# $Id$
231 -
232 -EAPI=4
233 -
234 -inherit autotools eutils
235 -
236 -DESCRIPTION="GTK+ base conversion tool"
237 -HOMEPAGE="http://qalculate.sourceforge.net/"
238 -SRC_URI="mirror://sourceforge/qalculate/${P}.tar.gz"
239 -
240 -SLOT="0"
241 -LICENSE="GPL-2"
242 -IUSE="nls"
243 -KEYWORDS="~amd64 x86 ~amd64-linux ~x86-linux"
244 -
245 -RDEPEND="
246 - sci-libs/libqalculate
247 - x11-libs/gtk+:2
248 - nls? ( sys-devel/gettext )"
249 -DEPEND="${RDEPEND}
250 - virtual/pkgconfig"
251 -
252 -src_prepare() {
253 - epatch "${FILESDIR}"/${P}-cln-config.patch
254 - eautoconf
255 -}
256 -
257 -src_configure() {
258 - econf --disable-clntest
259 -}