diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2009-02-18 11:54:02 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2009-02-18 11:54:02 +0000 |
commit | ba1098ce685453c6b27faba2326eb6766a169570 (patch) | |
tree | 89b41f0068e4bda4bb8afa0d73b0179c7250810b /sci-libs | |
parent | Bump, thanks Ben Bannier, closing bug #257689 (diff) | |
download | historical-ba1098ce685453c6b27faba2326eb6766a169570.tar.gz historical-ba1098ce685453c6b27faba2326eb6766a169570.tar.bz2 historical-ba1098ce685453c6b27faba2326eb6766a169570.zip |
Version bump
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/cfitsio/ChangeLog | 8 | ||||
-rw-r--r-- | sci-libs/cfitsio/Manifest | 11 | ||||
-rw-r--r-- | sci-libs/cfitsio/cfitsio-3.130.ebuild | 56 | ||||
-rw-r--r-- | sci-libs/cfitsio/files/cfitsio-3.130-autotools.patch | 263 |
4 files changed, 333 insertions, 5 deletions
diff --git a/sci-libs/cfitsio/ChangeLog b/sci-libs/cfitsio/ChangeLog index eb4a089db61f..cfd8e1af7a40 100644 --- a/sci-libs/cfitsio/ChangeLog +++ b/sci-libs/cfitsio/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-libs/cfitsio # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/ChangeLog,v 1.25 2009/02/09 20:32:43 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/ChangeLog,v 1.26 2009/02/18 11:54:01 bicatali Exp $ + +*cfitsio-3.130 (18 Feb 2009) + + 18 Feb 2009; SĂ©bastien Fabbro <bicatali@gentoo.org> + +files/cfitsio-3.130-autotools.patch, +cfitsio-3.130.ebuild: + Version bump 09 Feb 2009; Markus Meier <maekke@gentoo.org> cfitsio-3.100-r1.ebuild: amd64/x86 stable, bug #256681 diff --git a/sci-libs/cfitsio/Manifest b/sci-libs/cfitsio/Manifest index 0d4a7106ac0a..f0778e2964e2 100644 --- a/sci-libs/cfitsio/Manifest +++ b/sci-libs/cfitsio/Manifest @@ -6,18 +6,21 @@ AUX cfitsio-2.510-configure.patch 1230 RMD160 b1ca2255de7125f4e9a2f727832c8ee3ab AUX cfitsio-3.090-autotools.patch 7432 RMD160 21cc7fd222c645957ca52dc1fd8305af1648c063 SHA1 8d4644e879b8cc8f6c310654fd2a3e71b99c337a SHA256 6ef4f4a534bd0b6da143e310d1f32748abb1e5b3e59724b6b89d3afd6332c2ba AUX cfitsio-3.100-autotools.patch 7524 RMD160 839bc166ab619092ca4941869083e5fea44f110a SHA1 5e8e03c901ab35f5cdfdf826787e14b64867962c SHA256 d65355fd017695d6efe568f57f74f256e6298322279922fd4a4df7a065954425 AUX cfitsio-3.100-null-protect.patch 1278 RMD160 deb9a6863c26fb1244567087b1da87216e60b7e9 SHA1 5d4c53a8a06eebaad035d42a0e58a6794f4ee991 SHA256 04560133a3b496ecc6f1efd0b36c982c52b75fa0f4078013e642a78843bcf158 +AUX cfitsio-3.130-autotools.patch 7524 RMD160 5e40d201fe168e2d85bfea52fd0e42ee90dcbd94 SHA1 a4e941e99912b230ce1905d9a72be5cbbeb60b49 SHA256 5c0c246870c0757869573a674ca143386147179b90b5d4a8ec47d758f28b1ad8 DIST cfitsio2510.tar.gz 2059679 RMD160 a22d276555dd55cdc871819528dc944d29291360 SHA1 758906d80ad155448014a57f9c92248b2211c624 SHA256 2d7bb11acd549be79255d2de971d3c1256c01d1508876f17fedbdac6dac17278 DIST cfitsio3100.tar.gz 3022189 RMD160 cd2d944ad73c74053ecd4c78b7efe5195cc8d43b SHA1 a0586a5411e2882165d55c46e66473f555142e07 SHA256 f3dd0eada3f923e00e0a68bc58ed91c9a8aac1c830354ffb2a3869dba659456a +DIST cfitsio3130.tar.gz 3039843 RMD160 f14424362194e56e57db1612975b061562c91d18 SHA1 da3f7824e6af5c3e8e420107693e5e119ad05c8a SHA256 54be9dff0eae2de867d131b18d10e40f0aa14dd7af5b7c4b6b7b2ad81b9d1ff1 EBUILD cfitsio-2.510-r1.ebuild 1287 RMD160 72708a9c3e3c5d08d2a1f23351f4053550c8a1de SHA1 9df770665d76e579befcb47c93773cc9eb359195 SHA256 64ace0ce49863a1a0fbe8d7849a011bae1c0e0d6ac5cda37c83950ca092d1e3c EBUILD cfitsio-2.510-r2.ebuild 1538 RMD160 06f3500a3f090c8dc567dd3b0e454a64a8e8b59f SHA1 b69ee19d46eccdc8d322b6ecd436cc637398f2ec SHA256 ba347f06c3a24ab67034bf02a975f7291d97aa3bafb35217c7d56840cdda7a51 EBUILD cfitsio-3.100-r1.ebuild 1581 RMD160 38984905062b292fb499ff811ea4aedeca02ce69 SHA1 4b99661ca7edf048d24fa7ef114e439e3e6fc828 SHA256 b3c09c63c414033c7c290a33afff6566c18d05aa1f49a03001c9b3e75ff7fb06 EBUILD cfitsio-3.100.ebuild 1538 RMD160 654b48eb18ebfcbcb8874fac0b69a39d3f08c22f SHA1 65f832b197e21ff3259de46c4a8222d771a78b3a SHA256 8c8ae69158344e60cebc19cbdfd4ce164e7b091b6e643913a8efde36e817e8c5 -MISC ChangeLog 5748 RMD160 c233e4d7c803a0d9d152198c922a31548d967fb4 SHA1 f7252ec351f8b6c50e6a8eb858df931e82998258 SHA256 fa389119bb94f965b1d26a1182d027358df08a80bd632fb0b511f581aa3a9496 +EBUILD cfitsio-3.130.ebuild 1487 RMD160 82c95ee30cc786ca5b26cc1ca5cfac09617b1d95 SHA1 8b92f60dbf0621bb78281791273b8a50c5cd69c3 SHA256 422d3cd77c9dea27df6c2d2de6aa2090bc0ebe395db1092bfc0439e213c26152 +MISC ChangeLog 5914 RMD160 60ee96cf71af0356d65c870841401784874ed96d SHA1 c6be39cdeaa33929fea6c5cbfb51e86cf19ca35d SHA256 18831d0aaf9a2a3f5c81fded52f068312d5012c032259411b773e4fe40c9d5c9 MISC metadata.xml 677 RMD160 3a527306bc0d3ee04c9aa7a89ae9669300449f25 SHA1 332827a79018490259a4fda69a9b508862612941 SHA256 20ff9f82126be9cb9b5a8c21e1bf2556e8ae91e32442b59f26f938ccc1f42b91 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) -iEYEARECAAYFAkmQkwUACgkQkKaRLQcq0GKM2gCgiQKiRhYhZMrBQk+5HP+gnpnI -9i0AnRg+lnzuhZv1+ylZdzOpuN+jrGR/ -=VeV1 +iEYEARECAAYFAkmb9uMACgkQ1ycZbhPLE2D2SACgsarAGdjyUE0vt8UFbIAnCTWz +XCIAniULq8+x7auLx1UEHE50QvnlBBqo +=h/KO -----END PGP SIGNATURE----- diff --git a/sci-libs/cfitsio/cfitsio-3.130.ebuild b/sci-libs/cfitsio/cfitsio-3.130.ebuild new file mode 100644 index 000000000000..24892eced10c --- /dev/null +++ b/sci-libs/cfitsio/cfitsio-3.130.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/cfitsio-3.130.ebuild,v 1.1 2009/02/18 11:54:01 bicatali Exp $ + +EAPI=2 +inherit eutils fortran autotools + +DESCRIPTION="C and Fortran library for manipulating FITS files" +HOMEPAGE="http://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html" +SRC_URI="ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/${PN}${PV//.}.tar.gz" + +LICENSE="BSD GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc fortran" + +DEPEND="fortran? ( dev-lang/cfortran )" +RDEPEND="" + +S="${WORKDIR}/${PN}" + +pkg_setup() { + if use fortran; then + FORTRAN="gfortran g77 ifc" + fortran_pkg_setup + fi +} + +src_prepare() { + # avoid internal cfortran + if use fortran; then + sed -i \ + -e 's:"cfortran.h":<cfortran.h>:' \ + f77_wrap.h || die "sed fortran failed" + mv cfortran.h cfortran.h.disabled + fi + epatch "${FILESDIR}"/${P}-autotools.patch + eautoreconf +} + +src_configure() { + econf $(use_enable fortran) +} + +src_install () { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc changes.txt README cfitsio.doc || die "dodoc failed" + insinto /usr/share/doc/${PF}/examples + doins cookbook.c testprog.c speed.c smem.c || die "install examples failed" + use fortran && dodoc fitsio.doc && doins cookbook.f + if use doc; then + insinto /usr/share/doc/${PF}/ + doins quick.ps cfitsio.ps fpack.pdf + use fortran && doins fitsio.ps + fi +} diff --git a/sci-libs/cfitsio/files/cfitsio-3.130-autotools.patch b/sci-libs/cfitsio/files/cfitsio-3.130-autotools.patch new file mode 100644 index 000000000000..241d9698d952 --- /dev/null +++ b/sci-libs/cfitsio/files/cfitsio-3.130-autotools.patch @@ -0,0 +1,263 @@ +--- configure.ac.absent 1970-01-01 01:00:00.000000000 +0100 ++++ configure.ac 2008-06-02 01:08:32.000000000 +0100 +@@ -0,0 +1,158 @@ ++AC_PREREQ(2.59) ++AC_INIT([cfitsio], [3.130], [pence@tetra.gsfc.nasa.gov]) ++AC_CONFIG_SRCDIR([fitscore.c]) ++AM_INIT_AUTOMAKE([foreign]) ++ ++ ++AC_PROG_LIBTOOL ++dnl no api version info, so simply copy package version ++SHARED_VERSION_INFO="3:0:0" ++AC_SUBST(SHARED_VERSION_INFO) ++ ++AC_PROG_YACC ++AC_PROG_LEX ++ ++AC_MSG_CHECKING([whether to enable fortran interface]) ++AC_ARG_ENABLE([fortran], ++ AS_HELP_STRING([--enable-fortran], [Build the fortran interface]), ++ [ENABLE_FORTRAN=$enableval ++ AC_MSG_RESULT([$enableval])], ++ [ENABLE_FORTRAN=no ++ AC_MSG_RESULT([no])] ++) ++ ++if test x"$ENABLE_FORTRAN" = x"yes" ; then ++ AC_PROG_F77 ++ if test x$F77 = xg77; then ++ cfortran_def=g77Fortran ++ elif test x$F77 = xifort ; then ++ cfortran_def=INTEL_COMPILER ++ elif test x$F77 = xgfortran ; then ++ cfortran_def=gFortran ++ elif test x$F77 = xpgf77 ; then ++ cfortran_def=pgiFortran ++ else ++ cfortran_def=f2cFortran ++ fi ++ CPPFLAGS_FORTRAN="-D$cfortran_def" ++ AC_SUBST(CPPFLAGS_FORTRAN) ++fi ++AC_SUBST([ENABLE_FORTRAN]) ++AM_CONDITIONAL([ENABLE_FORTRAN], test "x$ENABLE_FORTRAN" = "xyes") ++ ++AC_CANONICAL_HOST ++case $host in ++ *apple*darwin*) ++ dnl may break Absoft compilers ++ AC_DEFINE(_LARGEFILE_SOURCE, [1], ++ [Define to 1 if you have large file support]) ++ AC_DEFINE(_FILE_OFFSET_BITS, [64], ++ [Offsets bits in files]) ++ ;; ++ *hppa*) ++ CPPFLAGS_EXTRA="-DPG_PPU" ++ ;; ++ *sunos5*) ++ AC_DEFINE(_LARGEFILE_SOURCE, [1], ++ [Define to 1 if you have large file support]) ++ AC_DEFINE(_FILE_OFFSET_BITS, [64], ++ [Offsets bits in files]) ++ CPPFLAGS_EXTRA="-DHAVE_ALLOCA_H -DHAVE_POSIX_SIGNALS" ++ ;; ++ *irix*) ++ CPPFLAGS_EXTRA="-DHAVE_POSIX_SIGNALS" ++ ;; ++ *linux*) ++ AC_DEFINE(_LARGEFILE_SOURCE, [1], ++ [Define to 1 if you have large file support]) ++ AC_DEFINE(_FILE_OFFSET_BITS, [64], ++ [Offsets bits in files]) ++ ;; ++ *cygwin*) ++ CPPFLAGS_EXTRA="-DHAVE_POSIX_SIGNALS" ++ ;; ++ *) ++ ;; ++esac ++AC_SUBST(CPPFLAGS_EXTRA) ++ ++AC_CHECK_FUNCS([ftruncate]) ++AC_CHECK_FUNCS([shmat shmdt shmget], ++ AC_DEFINE(HAVE_SHMEM_SERVICES, [1], ++ [Define to yes if you have shared memory functions]) ++) ++AC_CHECK_FUNCS([gethostbyname connect], ++ [AC_DEFINE(HAVE_NET_SERVICES, [1], ++ [Define to 1 if you have network functions])] ++) ++AC_CHECK_TYPE(long long, ++ [AC_DEFINE(HAVE_LONGLONG, [1], ++ [Define to 1 if your compiler supports long long])] ++) ++dnl check for flock_t ++AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM([[ ++#include <sys/fcntl.h> ++ ]], [[ ++flock_t filler; ++ ]])], ++ [AC_DEFINE(HAVE_FLOCK_T, 1, [if you have flock_t]) ++ AC_MSG_RESULT("yes")], ++ [AC_MSG_RESULT("no") ]) ++ ++if test "$HAVE_FLOCK_T" != 1; then ++ AC_COMPILE_IFELSE([ ++ AC_LANG_PROGRAM([[ ++#include <sys/flock.h> ++ ]], [[ ++flock_t filler; ++ ]])], ++ [AC_DEFINE(HAVE_FLOCK_T, 1, [if you have flock_t]) ++ AC_MSG_RESULT("yes")], ++ [AC_MSG_RESULT("no") ]) ++fi ++ ++# check for union semun type ++AC_CHECK_TYPE(union semun, ++ AC_DEFINE(HAVE_UNION_SEMUN, [1], ++ [Define to 1 if you have semun in sys/sem.h]),,[ ++#include <sys/types.h> ++#include <sys/ipc.h> ++#include <sys/sem.h> ++ ] ++) ++ ++dnl this quick check will add -lm to LIBS ++AC_CHECK_LIB(m, cos) ++ ++AC_ARG_WITH(gsiftp-flavour, ++ [ --with-gsiftp-flavour[[=PATH]] Enable Globus Toolkit gsiftp protocol support ], ++ [ if test "x$withval" != "xno"; then ++ ++ if test "x$withval" != "xyes" ; then ++ GSIFTP_FLAVOUR=${withval} ++ fi ++ AC_DEFINE(GSIFTP_FLAVOUR, [1], ++ [Define to 1 if you want Globus Toolkit architecture]) ++ fi ++ ] ++) ++ ++AC_ARG_WITH(gsiftp, ++ [ --with-gsiftp[[=PATH]] Enable Globus Toolkit gsiftp protocol support ], ++ [ if test "x$withval" != "xno"; then ++ if test "x$withval" != "xyes" ; then ++ CPPFLAGS_GLOBUS="-I${withval}/include/${GSIFTP_FLAVOUR}" ++ LIBS_GLOBUS="-L${withval}/lib -lglobus_ftp_client_${GSIFTP_FLAVOUR}" ++ HAVE_GSIFTP=yes ++ fi ++ AC_DEFINE(HAVE_GSIFTP, [1], ++ [Define if you want Globus Toolkit gsiftp protocol support]) ++ fi ++ ] ++) ++ ++AC_SUBST(CPPFLAGS_GLOBUS) ++AC_SUBST(LIBS_GLOBUS) ++AC_CONFIG_FILES([Makefile cfitsio.pc]) ++AC_OUTPUT +--- Makefile.am.absent 1970-01-01 01:00:00.000000000 +0100 ++++ Makefile.am 2008-06-02 01:07:45.000000000 +0100 +@@ -0,0 +1,81 @@ ++lib_LTLIBRARIES = libcfitsio.la ++ ++C_SOURCES = \ ++ buffers.c cfileio.c checksum.c compress.c drvrfile.c drvrmem.c \ ++ drvrnet.c drvrsmem.c drvrgsiftp.c editcol.c edithdu.c eval_l.c \ ++ eval_y.c eval_f.c fitscore.c getcol.c getcolb.c getcold.c getcole.c \ ++ getcoli.c getcolj.c getcolk.c getcoll.c getcols.c getcolsb.c \ ++ getcoluk.c getcolui.c getcoluj.c getkey.c group.c grparser.c \ ++ histo.c iraffits.c \ ++ modkey.c putcol.c putcolb.c putcold.c putcole.c putcoli.c \ ++ putcolj.c putcolk.c putcoluk.c putcoll.c putcols.c putcolsb.c \ ++ putcolu.c putcolui.c putcoluj.c putkey.c region.c scalnull.c \ ++ swapproc.c wcssub.c wcsutil.c imcompress.c quantize.c ricecomp.c \ ++ pliocomp.c fits_hcompress.c fits_hdecompress.c ++ ++F77_SOURCES= ++if ENABLE_FORTRAN ++F77_SOURCES += f77_wrap1.c f77_wrap2.c f77_wrap3.c f77_wrap4.c f77_wrap.h ++endif ++AM_YFLAGS = -d -v ++ ++include_HEADERS = fitsio.h fitsio2.h longnam.h drvrsmem.h ++libcfitsio_la_SOURCES = $(C_SOURCES) $(F77_SOURCES) $(include_HEADERS) ++libcfitsio_la_LDFLAGS = -no-undefined -version-info @SHARED_VERSION_INFO@ ++libcfitsio_la_CPPFLAGS = @CPPFLAGS_FORTRAN@ @CPPFLAGS_EXTRA@ @CPPFLAGS_GLOBUS@ ++libcfitsio_la_LIBADD = @LIBS_GLOBUS@ ++ ++ ++pkgconfigdir = $(libdir)/pkgconfig ++pkgconfig_DATA = cfitsio.pc ++ ++LDADD = libcfitsio.la ++bin_PROGRAMS = fitscopy imcopy listhead fpack funpack ++fitscopy_SOURCES = fitscopy.c ++listhead_SOURCES = listhead.c ++imcopy_SOURCES = imcopy.c ++fpack_SOURCES = fpack.c fpackutil.c ++funpack_SOURCES = funpack.c fpackutil.c ++ ++# tests ++check_PROGRAMS = testprog ++noinst_PROGRAMS = speed cookbook smem ++testprog_SOURCES = testprog.c ++speed_SOURCES = speed.c ++cookbook_SOURCES = cookbook.c ++smem_SOURCES = smem.c ++ ++if ENABLE_FORTRAN ++check_PROGRAMS += testf77 ++testf77_SOURCES = testf77.f ++endif ++ ++check-local: $(check_PROGRAMS) ++ @total=0; failed=0; \ ++ for i in $(check_PROGRAMS); do \ ++ echo "--- Testing $$i ---"; \ ++ ./$$i${EXEEXT} > my_$$i.out; \ ++ diff $$i.out my_$$i.out; \ ++ cmp $$i.fit $$i.std; \ ++ if [ "x$$?" = "x0" ]; then \ ++ echo "Test \`$$i' PASSED."; \ ++ else \ ++ echo "Test \`$$i' FAILED!!!"; \ ++ failed=$$(($$failed + 1)); \ ++ fi; \ ++ total=$$(($$total + 1)); \ ++ done; \ ++ if [ $$failed -gt 0 ]; then \ ++ echo "*** ERROR: $$failed/$$total tests failed!!!"; \ ++ echo ""; \ ++ exit 1; \ ++ fi ++ ++eval: ++ @$(LEX) -t eval.l > eval_l.c1; \ ++ sed -e 's/yy/ff/g' -e 's/YY/FF/g' eval_l.c1 > eval_l.c; \ ++ rm -f eval_l.c1; \ ++ $(YACC) -d -v -y eval.y; \ ++ sed -e 's/yy/ff/g' -e 's/YY/FF/g' y.tab.c > eval_y.c; \ ++ sed -e 's/yy/ff/g' -e 's/YY/FF/g' y.tab.h > eval_tab.h; \ ++ rm -f y.tab.c y.tab.h +--- cfitsio.pc.in.orig 2008-06-02 01:20:50.000000000 +0100 ++++ cfitsio.pc.in 2008-06-02 01:22:14.000000000 +0100 +@@ -1,10 +1,10 @@ + prefix=@prefix@ + exec_prefix=@exec_prefix@ +-libdir=${exec_prefix}/lib +-includedir=${prefix}/include ++libdir=@libdir@ ++includedir=@includedir@ + +-Name: cfitsio ++Name: @PACKAGE_NAME@ + Description: FITS File Subroutine Library +-Version: 3.006 +-Libs: -L${libdir} -lcfitsio @LIBS@ -lm ++Version: @PACKAGE_VERSION@ ++Libs: -L${libdir} -lcfitsio @LIBS@ + Cflags: -I${includedir} |