commit:     0dce3a1ff1a0e32f5e21213ce2da1e24c4d526d2
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Sep  5 13:43:07 2016 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Sep  5 13:54:01 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dce3a1f

sci-calculators/qalculate-currency: Remove last-rited pkg

 profiles/package.mask                              |   1 -
 sci-calculators/qalculate-currency/Manifest        |   1 -
 .../qalculate-currency-0.9.4-cln-config.patch      | 159 ---------------------
 sci-calculators/qalculate-currency/metadata.xml    |  11 --
 .../qalculate-currency-0.9.4-r2.ebuild             |  32 -----
 5 files changed, 204 deletions(-)

diff --git a/profiles/package.mask b/profiles/package.mask
index 8594ca6..c0a9975 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -616,7 +616,6 @@ dev-perl/cdk-perl
 # Matthias Maier <[email protected]> (3 Aug 2016)
 # Masked for removal in 30 days. Obsolete packages that are now part of
 # sci-libs/libqalculate and/or sci-calculators/qalculate-gtk
-sci-calculators/qalculate-currency
 sci-calculators/qalculate-units
 
 # Alexis Ballier <[email protected]> <2 Aug 2016>

diff --git a/sci-calculators/qalculate-currency/Manifest 
b/sci-calculators/qalculate-currency/Manifest
deleted file mode 100644
index d3f0443..00000000
--- a/sci-calculators/qalculate-currency/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST qalculate-currency-0.9.4.tar.gz 370506 SHA256 
1b3e6f971c3a9d44645a3e644d8db188653a48f44659979f9d9493230f6d3755 SHA512 
4d6d1e976e97b15c660c7033f0b2b77299741b661598e692c7d11979174ff1541aff48a4b8345bc2aae72f82303540e25fa8131a96d2bab8cddf5de3f4007444
 WHIRLPOOL 
f602a8f304f947691def5522b339b234b5012c5c9510cef22a53145f903c8ab75bd93e9a9a167860e1091f7e505725866ca718ef0fe89b07a66e1d8bad0409f1

diff --git 
a/sci-calculators/qalculate-currency/files/qalculate-currency-0.9.4-cln-config.patch
 
b/sci-calculators/qalculate-currency/files/qalculate-currency-0.9.4-cln-config.patch
deleted file mode 100644
index 459445d..00000000
--- 
a/sci-calculators/qalculate-currency/files/qalculate-currency-0.9.4-cln-config.patch
+++ /dev/null
@@ -1,159 +0,0 @@
-diff -Naur libqalculate-0.9.6/aclocal.m4 libqalculate-0.9.6.new/aclocal.m4
---- libqalculate-0.9.6/aclocal.m4      2007-06-17 04:45:44.000000000 -0400
-+++ libqalculate-0.9.6.new/aclocal.m4  2008-02-02 11:04:21.000000000 -0500
-@@ -7836,146 +7836,27 @@
- [dnl 
- dnl Get the cppflags and libraries from the cln-config script
- dnl
--AC_ARG_WITH(cln-prefix,[  --with-cln-prefix=PFX   Prefix where CLN is 
installed (optional)],
--            cln_config_prefix="$withval", cln_config_prefix="")
--AC_ARG_WITH(cln-exec-prefix,[  --with-cln-exec-prefix=PFX Exec prefix where 
CLN is installed (optional)],
--            cln_config_exec_prefix="$withval", cln_config_exec_prefix="")
--AC_ARG_ENABLE(clntest, [  --disable-clntest       Do not try to compile and 
run a test CLN program],
--              , enable_clntest=yes)
--
--if test x$cln_config_exec_prefix != x ; then
--    cln_config_args="$cln_config_args --exec-prefix=$cln_config_exec_prefix"
--    if test x${CLN_CONFIG+set} != xset ; then
--        CLN_CONFIG=$cln_config_exec_prefix/bin/cln-config
--    fi
--fi
--if test x$cln_config_prefix != x ; then
--    cln_config_args="$cln_config_args --prefix=$cln_config_prefix"
--    if test x${CLN_CONFIG+set} != xset ; then
--        CLN_CONFIG=$cln_config_prefix/bin/cln-config
--    fi
--fi
- 
--AC_PATH_PROG(CLN_CONFIG, cln-config, no)
-+AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
- cln_min_version=ifelse([$1], ,1.1.0,$1)
- AC_MSG_CHECKING(for CLN - version >= $cln_min_version)
--if test "$CLN_CONFIG" = "no" ; then
-+if test "$PKG_CONFIG" = "no" ; then
-     AC_MSG_RESULT(no)
--    echo "*** The cln-config script installed by CLN could not be found"
--    echo "*** If CLN was installed in PREFIX, make sure PREFIX/bin is in"
--    echo "*** your path, or set the CLN_CONFIG environment variable to the"
--    echo "*** full path to cln-config."
-+    echo "*** could not find pkg-config" 
-     ifelse([$3], , :, [$3])
- else
- dnl Parse required version and the result of cln-config.
--    cln_min_major_version=`echo $cln_min_version | \
--            sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
--    cln_min_minor_version=`echo $cln_min_version | \
--            sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
--    cln_min_micro_version=`echo $cln_min_version | \
--            sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
--    CLN_CPPFLAGS=`$CLN_CONFIG $cln_config_args --cppflags`
--    CLN_LIBS=`$CLN_CONFIG $cln_config_args --libs`
--    cln_config_version=`$CLN_CONFIG $cln_config_args --version`
--    cln_config_major_version=`echo $cln_config_version | \
--            sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
--    cln_config_minor_version=`echo $cln_config_version | \
--            sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
--    cln_config_micro_version=`echo $cln_config_version | \
--            sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
--dnl Check if the installed CLN is sufficiently new according to cln-config.
--    if test \( $cln_config_major_version -lt $cln_min_major_version \) -o \
--            \( $cln_config_major_version -eq $cln_min_major_version -a 
$cln_config_minor_version -lt $cln_min_minor_version \) -o \
--            \( $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
--        echo -e "\n*** 'cln-config --version' returned 
$cln_config_major_version.$cln_config_minor_version.$cln_config_micro_version, 
but the minimum version"
--        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"
--        echo "*** best to upgrade to the required version."
--        echo "*** If cln-config was wrong, set the environment variable 
CLN_CONFIG"
--        echo "*** to point to the correct copy of cln-config, and remove the 
file"
--        echo "*** config.cache before re-running configure."
--        ifelse([$3], , :, [$3])
-+    if $PKG_CONFIG cln --atleast-version=${cln_min_version}; then
-+       echo "Found cln >= ${cln_min_version}" 
-+       CLN_CPPFLAGS=`$PKG_CONFIG cln --cflags`
-+       CLN_LIBS=`$PKG_CONFIG cln --libs`
-     else
--dnl The versions match so far.  Now do a sanity check: Does the result of 
cln-config
--dnl match the version of the headers and the version built into the library, 
too?
--        no_cln=""
--        if test "x$enable_clntest" = "xyes" ; then
--            ac_save_CPPFLAGS="$CPPFLAGS"
--            ac_save_LIBS="$LIBS"
--            CPPFLAGS="$CPPFLAGS $CLN_CPPFLAGS"
--            LIBS="$LIBS $CLN_LIBS"
--            rm -f conf.clntest
--            AC_TRY_RUN([
--#include <stdio.h>
--#include <string.h>
--#include <cln/version.h>
--
--/* we do not #include <stdlib.h> because autoconf in C++ mode inserts a
--   prototype for exit() that conflicts with the one in stdlib.h */
--extern "C" int system(const char *);
--
--int main(void)
--{
--    system("touch conf.clntest");
--
--    if ((CL_VERSION_MAJOR != $cln_config_major_version) ||
--        (CL_VERSION_MINOR != $cln_config_minor_version) ||
--        (CL_VERSION_PATCHLEVEL != $cln_config_micro_version)) {
--        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);
--        printf("*** corresponds to %d.%d.%d. This mismatch suggests your 
installation of CLN\n", CL_VERSION_MAJOR, CL_VERSION_MINOR, 
CL_VERSION_PATCHLEVEL);
--        printf("*** is corrupted or you have specified some wrong -I compiler 
flags.\n");
--        printf("*** Please inquire and consider reinstalling CLN.\n");
--        return 1;
--    }
--    if ((cln::version_major != $cln_config_major_version) ||
--        (cln::version_minor != $cln_config_minor_version) ||
--        (cln::version_patchlevel != $cln_config_micro_version)) {
--        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);
--        printf("*** corresponds to %d.%d.%d. This mismatch suggests your 
installation of CLN\n", cln::version_major, cln::version_minor, 
cln::version_patchlevel);
--        printf("*** is corrupted or you have specified some wrong -L compiler 
flags.\n");
--        printf("*** Please inquire and consider reinstalling CLN.\n");
--        return 1;
--    }
--    return 0;
--}
--],, no_cln=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
--            CPPFLAGS="$ac_save_CPPFLAGS"
--            LIBS="$ac_save_LIBS"
--        fi
--        if test "x$no_cln" = x ; then
--            AC_MSG_RESULT([yes, $cln_config_version])
--            ifelse([$2], , :, [$2])
--        else
--            AC_MSG_RESULT(no)
--            if test ! -f conf.clntest ; then
--                echo "*** Could not run CLN test program, checking why..."
--                CPPFLAGS="$CFLAGS $CLN_CPPFLAGS"
--                LIBS="$LIBS $CLN_LIBS"
--                AC_TRY_LINK([
--#include <stdio.h>
--#include <cln/version.h>
--],              [ return 0; ],
--                [ echo "*** The test program compiled, but did not run. This 
usually means"
--                  echo "*** that the run-time linker is not finding CLN or 
finding the wrong"
--                  echo "*** version of CLN. If it is not finding CLN, you'll 
need to set your"
--                  echo "*** LD_LIBRARY_PATH environment variable, or edit 
/etc/ld.so.conf to point"
--                  echo "*** to the installed location. Also, make sure you 
have run ldconfig if that"
--                  echo "*** is required on your system."],
--                [ echo "*** The test program failed to compile or link. See 
the file config.log for the"
--                  echo "*** exact error that occured. This usually means CLN 
was incorrectly installed"
--                  echo "*** or that you have moved CLN since it was 
installed. In the latter case, you"
--                  echo "*** may want to edit the cln-config script: 
$CLN_CONFIG." ])
--                CPPFLAGS="$ac_save_CPPFLAGS"
--                LIBS="$ac_save_LIBS"
--            fi
--            CLN_CPPFLAGS=""
--            CLN_LIBS=""
--            ifelse([$3], , :, [$3])
--        fi
-+      echo "ERROR: cln >= ${cln_min_version} not found"
-+        ifelse([$3], , :, [$3])
-     fi
- fi
- AC_SUBST(CLN_CPPFLAGS)
- AC_SUBST(CLN_LIBS)
--rm -f conf.clntest
- ])
- 
- # pkg.m4 - Macros to locate and utilise pkg-config.            -*- Autoconf 
-*-

diff --git a/sci-calculators/qalculate-currency/metadata.xml 
b/sci-calculators/qalculate-currency/metadata.xml
deleted file mode 100644
index 1e384c4..00000000
--- a/sci-calculators/qalculate-currency/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-       <maintainer type="project">
-               <email>[email protected]</email>
-               <name>Gentoo Science Project</name>
-       </maintainer>
-       <upstream>
-               <remote-id type="sourceforge">qalculate</remote-id>
-       </upstream>
-</pkgmetadata>

diff --git 
a/sci-calculators/qalculate-currency/qalculate-currency-0.9.4-r2.ebuild 
b/sci-calculators/qalculate-currency/qalculate-currency-0.9.4-r2.ebuild
deleted file mode 100644
index 1eaf36d..00000000
--- a/sci-calculators/qalculate-currency/qalculate-currency-0.9.4-r2.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=4
-
-inherit autotools eutils
-
-DESCRIPTION="A GTK+ currency converter"
-HOMEPAGE="http://qalculate.sourceforge.net/";
-SRC_URI="mirror://sourceforge/qalculate/${P}.tar.gz"
-
-SLOT="0"
-LICENSE="GPL-2"
-IUSE="nls"
-KEYWORDS="~amd64 x86 ~amd64-linux ~x86-linux"
-
-RDEPEND="
-       sci-libs/libqalculate
-       x11-libs/gtk+:2
-       nls? ( sys-devel/gettext )"
-DEPEND="${RDEPEND}
-       virtual/pkgconfig"
-
-src_prepare() {
-       epatch "${FILESDIR}"/${P}-cln-config.patch
-       eautoconf
-}
-
-src_configure() {
-       econf --disable-clntest
-}

Reply via email to