diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2010-12-01 16:48:34 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2010-12-01 16:48:34 +0000 |
commit | 514294a9480dceff8e9ddd5ecf2751eef233f433 (patch) | |
tree | 11d4d900d044387043e5069b5f18a22398393343 /sci-libs/udunits | |
parent | Version bump. Fixes ugly fonts in pdf #342515, thank Pacho Ramos for work wit... (diff) | |
download | gentoo-2-514294a9480dceff8e9ddd5ecf2751eef233f433.tar.gz gentoo-2-514294a9480dceff8e9ddd5ecf2751eef233f433.tar.bz2 gentoo-2-514294a9480dceff8e9ddd5ecf2751eef233f433.zip |
Removed old
(Portage version: 2.1.9.25/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/udunits')
-rw-r--r-- | sci-libs/udunits/ChangeLog | 9 | ||||
-rw-r--r-- | sci-libs/udunits/files/udunits-1.12.11-fixingtests.patch | 11 | ||||
-rw-r--r-- | sci-libs/udunits/files/udunits-2.1.11-autotools.patch | 63 | ||||
-rw-r--r-- | sci-libs/udunits/files/udunits_configure_in.patch | 10 | ||||
-rw-r--r-- | sci-libs/udunits/files/udunits_customize.patch | 12 | ||||
-rw-r--r-- | sci-libs/udunits/files/udunits_lib_make.patch | 30 | ||||
-rw-r--r-- | sci-libs/udunits/files/udunits_master_mk.patch | 39 | ||||
-rw-r--r-- | sci-libs/udunits/udunits-1.12.1.ebuild | 81 | ||||
-rw-r--r-- | sci-libs/udunits/udunits-1.12.11.ebuild | 97 | ||||
-rw-r--r-- | sci-libs/udunits/udunits-2.1.11-r1.ebuild | 37 |
10 files changed, 8 insertions, 381 deletions
diff --git a/sci-libs/udunits/ChangeLog b/sci-libs/udunits/ChangeLog index 4a0da10df5a2..3fcbc1cac45e 100644 --- a/sci-libs/udunits/ChangeLog +++ b/sci-libs/udunits/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sci-libs/udunits # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/udunits/ChangeLog,v 1.12 2010/09/12 19:24:00 klausman Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/udunits/ChangeLog,v 1.13 2010/12/01 16:48:33 bicatali Exp $ + + 01 Dec 2010; Sébastien Fabbro <bicatali@gentoo.org> -udunits-1.12.1.ebuild, + -udunits-1.12.11.ebuild, -files/udunits-1.12.11-fixingtests.patch, + -udunits-2.1.11-r1.ebuild, -files/udunits-2.1.11-autotools.patch, + -files/udunits_configure_in.patch, -files/udunits_customize.patch, + -files/udunits_lib_make.patch, -files/udunits_master_mk.patch: + Remove old 12 Sep 2010; Tobias Klausmann <klausman@gentoo.org> udunits-2.1.15.ebuild: Stable on alpha, bug #326431 diff --git a/sci-libs/udunits/files/udunits-1.12.11-fixingtests.patch b/sci-libs/udunits/files/udunits-1.12.11-fixingtests.patch deleted file mode 100644 index 56c9f94a4755..000000000000 --- a/sci-libs/udunits/files/udunits-1.12.11-fixingtests.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- udunits-1.12.3.orig/src/Makefile.in 2003-08-29 20:27:07.000000000 +0200 -+++ udunits-1.12.3/src/Makefile.in 2009-12-05 12:02:30.223865360 +0100 -@@ -30,6 +30,8 @@ - - all: port/all lib/all udunits/all @PERL_ALL@ - -+check: test -+ - test: FORCE udunits/test perl_test - - install: port/install lib/install udunits/install \ diff --git a/sci-libs/udunits/files/udunits-2.1.11-autotools.patch b/sci-libs/udunits/files/udunits-2.1.11-autotools.patch deleted file mode 100644 index 513b4cd061b8..000000000000 --- a/sci-libs/udunits/files/udunits-2.1.11-autotools.patch +++ /dev/null @@ -1,63 +0,0 @@ ---- Makefile.am.orig 2009-12-15 06:15:11.000000000 +0000 -+++ Makefile.am 2009-12-15 06:17:07.000000000 +0000 -@@ -5,8 +5,8 @@ - # redistribution conditions. - # - ## Process this file with automake to produce Makefile.in --DIST_SUBDIRS = expat lib prog test --SUBDIRS = expat lib prog -+DIST_SUBDIRS = lib prog test -+SUBDIRS = lib prog - info_TEXINFOS = udunits2.texi - udunits2_TEXINFOS = success.texi failure.texi make.texi - EXTRA_DIST = \ ---- configure.ac.orig 2009-12-15 06:15:21.000000000 +0000 -+++ configure.ac 2009-12-15 06:16:32.000000000 +0000 -@@ -13,7 +13,7 @@ - AC_CONFIG_AUX_DIR([.]) - AC_CONFIG_SRCDIR([lib/converter.c]) - AM_INIT_AUTOMAKE([foreign subdir-objects no-installinfo]) --AC_CONFIG_HEADERS([config.h expat/expat_config.h]) -+AC_CONFIG_HEADERS([config.h]) - - CFLAGS_COVERAGE='' - LIBS_COVERAGE='' -@@ -37,7 +37,7 @@ - CFLAGS="${CFLAGS:+$CFLAGS }-g -O0" - debug=true ;; - no) -- CFLAGS="${CFLAGS:+$CFLAGS }-O" -+ CFLAGS="${CFLAGS:+$CFLAGS }" - debug=false ;; - *) AC_MSG_ERROR([bad value ${enableval} for --enable-debug]) ;; - esac], -@@ -125,18 +125,12 @@ - AC_C_CONST - AC_TYPE_SIZE_T - --# Needed for the Expat subpackage: --AC_C_BIGENDIAN([byteorder=4321],[byteorder=1234]) --AC_DEFINE_UNQUOTED([BYTEORDER],[$byteorder], [Define to 4321 for big-endian and 1234 for little-endian]) --AC_DEFINE([XML_CONTEXT_BYTES], 1024, [Define to specify how much context to retain around the current parse point.]) -- - # Checks for library functions. - AC_CHECK_FUNCS([floor memmove memset modf pow strcasecmp strdup strpbrk]) - - AC_PROG_LIBTOOL - - AC_CONFIG_FILES([Makefile -- expat/Makefile - lib/Makefile - lib/xmlFailures/Makefile - lib/xmlSuccesses/Makefile ---- lib/Makefile.am.orig 2009-12-15 06:30:11.000000000 +0000 -+++ lib/Makefile.am 2009-12-15 06:31:10.000000000 +0000 -@@ -38,7 +38,7 @@ - LFLAGS = -d -P$(lex_prefix) - - LDADD = libudunits2.la @LIBS_CUNIT@ -lm @LIBS_COVERAGE@ --libudunits2_la_LIBADD = ../expat/libexpat.la -+libudunits2_la_LIBADD = -lexpat - libudunits2_la_CFLAGS = @CFLAGS_COVERAGE@ - include_HEADERS = udunits2.h converter.h - EXTRA_DIST = \ diff --git a/sci-libs/udunits/files/udunits_configure_in.patch b/sci-libs/udunits/files/udunits_configure_in.patch deleted file mode 100644 index bf77a4fac0c6..000000000000 --- a/sci-libs/udunits/files/udunits_configure_in.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- configure.in.orig 2001-06-11 11:23:56.000000000 -0700 -+++ configure.in 2003-10-28 10:30:18.000000000 -0800 -@@ -43,7 +43,6 @@ - UC_FINISH( - Makefile - lib/Makefile -- lib/udunits.inc - udunits/Makefile - perl/Makefile.PL - ) diff --git a/sci-libs/udunits/files/udunits_customize.patch b/sci-libs/udunits/files/udunits_customize.patch deleted file mode 100644 index a7a5f9bac79b..000000000000 --- a/sci-libs/udunits/files/udunits_customize.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- CUSTOMIZE.orig 2004-05-08 14:04:53.199958510 -0700 -+++ CUSTOMIZE 2004-05-08 13:58:48.843900138 -0700 -@@ -33,3 +33,9 @@ - # Ancillary libraries. SunOS 4 user's might need something like the - # following in order to resolve strerror() in the perl/ subdirectory. - # LIBS='-L/usr/lang/SC3.0.1/lib -lansi' -+ -+FC=g77 -+CPPFLAGS=-Df2cFortran -+CC=gcc -+CXX=g++ -+LD_MATH=-lm diff --git a/sci-libs/udunits/files/udunits_lib_make.patch b/sci-libs/udunits/files/udunits_lib_make.patch deleted file mode 100644 index f1dd947f8d3c..000000000000 --- a/sci-libs/udunits/files/udunits_lib_make.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- lib/Makefile.in.orig 1997-04-30 14:49:58.000000000 -0700 -+++ lib/Makefile.in 2003-10-28 12:05:06.000000000 -0800 -@@ -6,15 +6,15 @@ - - LIBRARY = udunits - --FLEX = /usr/local/gnu/bin/flex --cpp_path = -DUT_DEFAULT_PATH='"$(prefix)/etc/udunits.dat"' -+FLEX = /usr/bin/flex -+cpp_path = -DUT_DEFAULT_PATH='"/etc/udunits.dat"' - CPPFLAGS = -I../port/misc -I../port/cfortran $(cpp_path) @CPPFLAGS@ - CFLAGS = @CFLAGS@ - - OBJS = udunits.o - LIBOBJS = utlib.o utparse.o utscan.o udalloc.o - --HEADERS = udunits.h udunits.inc -+HEADERS = udunits.h - ETCFILES = udunits.dat - MANUALS = udunits.3 udunits.3f - prefix = ../.. -@@ -27,7 +27,7 @@ - MANIFEST = Makefile.in \ - depend \ - udunits.3 udunits.3f udunits.3fi testcal2.f \ -- udunits.dat udunits.h udunits.inc utlib.c \ -+ udunits.dat udunits.h utlib.c \ - utparse.y utparse.c utparse.h \ - utprivate.h utscan.h utscan.l utscan.c - diff --git a/sci-libs/udunits/files/udunits_master_mk.patch b/sci-libs/udunits/files/udunits_master_mk.patch deleted file mode 100644 index 47a3f5c202ba..000000000000 --- a/sci-libs/udunits/files/udunits_master_mk.patch +++ /dev/null @@ -1,39 +0,0 @@ ---- port/master.mk.in.orig 1998-11-25 08:26:56.000000000 -0800 -+++ port/master.mk.in 2003-11-02 17:47:46.000000000 -0800 -@@ -351,7 +351,7 @@ - ############################################################################ - # `etc/' files: - ############################################################################ --ETCDIR = $(prefix)/etc -+ETCDIR = /etc - ETCFILE = dummy-etcfile # to silence GNU make(1) - - installed_etcfiles: -@@ -372,7 +372,7 @@ - installed_etcfile: $(ETCDIR)/$(ETCFILE) - - $(ETCDIR)/dummy $(ETCDIR)/$(ETCFILE): $(ETCDIR) $(ETCFILE) -- cp $(ETCFILE) $@ -+ cp $(ETCFILE) ${D}$@ - - dummy_etcdir $(ETCDIR): - mkdir -p $@ -@@ -382,7 +382,7 @@ - ############################################################################ - # Manual Pages: - ############################################################################ --MANDIR = $(prefix)/man -+MANDIR = $(prefix)/share/man - MANUAL = dummy-manual # to slience GNU make - WHATIS = @WHATIS@ - # The following macro should be empty on systems that don't -@@ -443,9 +443,6 @@ - else \ - mkdir $(MANDIR)$$subchapter; \ - fi; \ -- rm -f $(MANDIR)$$subchapter/$(MANUAL); \ -- ln -s ../`basename $(MANDIR)`/$(MANUAL) \ -- $(MANDIR)$$subchapter/$(MANUAL); \ - ;; \ - esac - diff --git a/sci-libs/udunits/udunits-1.12.1.ebuild b/sci-libs/udunits/udunits-1.12.1.ebuild deleted file mode 100644 index 57af71b3acec..000000000000 --- a/sci-libs/udunits/udunits-1.12.1.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/udunits/udunits-1.12.1.ebuild,v 1.2 2005/11/28 12:04:37 mcummings Exp $ - -inherit eutils flag-o-matic - -IUSE="" - -S=${WORKDIR}/${P}/src -SP=${WORKDIR}/${P}/src/perl -DESCRIPTION="The UCAR/Unidata Units library" -HOMEPAGE="http://www.unidata.ucar.edu/packages/udunits/" -SRC_URI="ftp://unidata.ucar.edu/pub/udunits/udunits-${PV}.tar.Z" - -SLOT="0" -LICENSE="UCAR-Unidata" -KEYWORDS="x86 ~amd64 ~ppc ~sparc alpha ~mips ~hppa" - -DEPEND="dev-lang/perl - sys-apps/sed" - -RDEPEND="dev-lang/perl" - -src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/udunits_customize.patch || die "epatch failed" -} - -src_compile() { - export CPPFLAGS="-Df2cFortran -D_POSIX_SOURCE" - append-flags -fPIC - econf || die "econf failed" - - cd lib - emake || die - cd .. - - cd perl - perl Makefile.PL PREFIX=${D}/usr - cd .. - - emake || die - emake test || die -} - -src_install() { - sed "s?/usr?${D}/usr?" Makefile > Makefile.install - emake -f Makefile.install install - - dodir /etc /usr/share/man/man3 /usr/share/man/man3f - - insinto /etc - insopts -m 644 - doins lib/udunits.dat - - insinto /usr/share/man/man3 - doins lib/udunits.3 - insinto /usr/share/man/man3f - doins lib/udunits.3f - - cd perl - make PREFIX=${D}/usr install INSTALLSITEMAN1DIR=${D}/usr/share/man/man1 - cd .. - - find ${D} -type f -a \( -name perllocal.pod -o -name .packlist \ - -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';' - find ${D} -type d -depth -exec rmdir {} 2>/dev/null ';' - - chmod -R u+w ${D}/* - - dodoc COPYRIGHT README RELEASE_NOTES VERSION CUSTOMIZE INSTALL -} - -pkg_postinst() { - ewarn "This package requires a Fortran compiler for maximum utility." - ewarn "For now, make sure you have at least g77 for the f77 interface." - ewarn "The internal configure should detect many f77 compilers, however," - ewarn "if you have the PG compiler you will need to change the above" - ewarn "preprocessor macro to something like -Dpgifortran." -} diff --git a/sci-libs/udunits/udunits-1.12.11.ebuild b/sci-libs/udunits/udunits-1.12.11.ebuild deleted file mode 100644 index fb0458edd302..000000000000 --- a/sci-libs/udunits/udunits-1.12.11.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/udunits/udunits-1.12.11.ebuild,v 1.1 2010/06/23 08:29:31 jlec Exp $ - -inherit eutils flag-o-matic fortran perl-module toolchain-funcs - -IUSE="" - -S=${WORKDIR}/${P}/src -SP=${WORKDIR}/${P}/src/perl -DESCRIPTION="The UCAR/Unidata Units library" -HOMEPAGE="http://www.unidata.ucar.edu/packages/udunits/" -SRC_URI="ftp://ftp.unidata.ucar.edu/pub/udunits/udunits-${PV}.tar.gz" - -SLOT="0" -LICENSE="UCAR-Unidata" -KEYWORDS="~x86 ~amd64 ~ppc ~sparc ~alpha ~mips ~hppa" - -DEPEND="dev-lang/perl - sys-apps/sed" - -RDEPEND="dev-lang/perl" - -src_unpack() { - unpack ${A} - cd "${S}" - sed -i -e "s:\${prefix}/etc:/etc:g" \ - -i -e "s:\${prefix}/man:\${prefix}/share/man:g" \ - -i -e "s:\${exec_prefix}/lib:\${exec_prefix}/$(get_libdir):g" \ - configure || die "sed 1 failed" - epatch "${FILESDIR}/${P}-fixingtests.patch" -} - -src_compile() { - export CPPFLAGS="-Df2cFortran -D_POSIX_SOURCE" - export CFLAGS="${CFLAGS}" - export FC="${FORTRANC}" - export CC="$(tc-getCC)" - export CXX="$(tc-getCXX)" - export LD_MATH="-lm" - # This is needed for the perl shared object build - append-flags -fPIC - - econf || die "econf failed" - - cd "${S}"/lib - emake || die "emake lib failed" - cd "${S}" - - cd "${S}"/perl - perl-module_src_prep - perl-module_src_compile - cd "${S}" - - # random compile failures with -jN (when N > 1) - emake -j1 || die "emake died" -} - -src_test() { - make check || die "make test failed" -} - -src_install() { - # The configure sucks, and so do the makefiles; this pretty much - # needs to be done manually... - dobin udunits/udunits - dolib.a lib/libudunits.a port/misc/libudport.a - doman udunits/udunits.1 lib/udunits.3 perl/udunitsperl.1 - - insinto /etc - doins lib/udunits.dat - insinto /usr/include - doins lib/{udunits.h,udunits.inc} - # doman still doesn't put this in the right place - insinto /usr/share/man/man3f - doins lib/udunits.3f - dodoc README RELEASE_NOTES - - fixlocalpod - cd "${S}"/perl - perl-module_src_install - cd "${S}" - - # Clean up left-over cruft... (yes, this is still needed) - find "${D}" -type f -a \( -name perllocal.pod -o -name .packlist \ - -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';' - find "${D}" -type d -depth -exec rmdir {} 2>/dev/null ';' - chmod -R u+w "${D}"/* -} - -pkg_postinst() { - ewarn "This package requires a Fortran compiler for maximum utility." - ewarn "For now, make sure you have at least g77 for the f77 interface." - ewarn "The internal configure should detect many f77 compilers, however," - ewarn "if you have the PG compiler you will need to change the above" - ewarn "preprocessor macro to something like -Dpgifortran." -} diff --git a/sci-libs/udunits/udunits-2.1.11-r1.ebuild b/sci-libs/udunits/udunits-2.1.11-r1.ebuild deleted file mode 100644 index cc24a85ef832..000000000000 --- a/sci-libs/udunits/udunits-2.1.11-r1.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/udunits/udunits-2.1.11-r1.ebuild,v 1.1 2009/12/15 06:12:18 bicatali Exp $ - -EAPI=2 -inherit eutils autotools - -DESCRIPTION="Library for manipulating units of physical quantities" -HOMEPAGE="http://www.unidata.ucar.edu/packages/udunits/" -SRC_URI="ftp://ftp.unidata.ucar.edu/pub/udunits/${P}.tar.gz" - -SLOT="0" -LICENSE="UCAR-Unidata" -KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86" - -RDEPEND="dev-libs/expat" -DEPEND="${RDEPEND}" - -IUSE="doc" - -src_prepare() { - # respect user's flags, compile with system libexpat - epatch "${FILESDIR}"/${P}-autotools.patch - rm -rf expat - eautoreconf -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - dodoc CHANGE_LOG ANNOUNCEMENT - doinfo udunits2.info prog/udunits2prog.info - if use doc; then - insinto /usr/share/doc/${PF} - doins udunits2.html udunits2.pdf - doins prog/udunits2prog.html prog/udunits2prog.pdf - fi -} |