summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2007-06-05 16:35:59 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2007-06-05 16:35:59 +0000
commit9688e1c3b0155f3c9ffa414268d9bf769597815d (patch)
treeee14a21a5067f0a565116e36c25c00f715de0504 /sci-astronomy
parentppc stable, bug #175230 (diff)
downloadhistorical-9688e1c3b0155f3c9ffa414268d9bf769597815d.tar.gz
historical-9688e1c3b0155f3c9ffa414268d9bf769597815d.tar.bz2
historical-9688e1c3b0155f3c9ffa414268d9bf769597815d.zip
Version bump. Added a patch removing segfault on imwcs (from fedora). Removed older and buggy versions
Package-Manager: portage-2.1.2.7
Diffstat (limited to 'sci-astronomy')
-rw-r--r--sci-astronomy/wcstools/ChangeLog14
-rw-r--r--sci-astronomy/wcstools/Manifest60
-rw-r--r--sci-astronomy/wcstools/files/digest-wcstools-3.6.63
-rw-r--r--sci-astronomy/wcstools/files/digest-wcstools-3.6.73
-rw-r--r--sci-astronomy/wcstools/files/digest-wcstools-3.6.83
-rw-r--r--sci-astronomy/wcstools/files/wcstools-3.6.6-autotools.patch186
-rw-r--r--sci-astronomy/wcstools/files/wcstools-3.6.6-codewarn.patch35
-rw-r--r--sci-astronomy/wcstools/files/wcstools-3.6.8-autotools.patch (renamed from sci-astronomy/wcstools/files/wcstools-3.6.7-autotools.patch)0
-rw-r--r--sci-astronomy/wcstools/files/wcstools-3.6.8-imsetwcs.patch18
-rw-r--r--sci-astronomy/wcstools/wcstools-3.6.7.ebuild43
-rw-r--r--sci-astronomy/wcstools/wcstools-3.6.8.ebuild (renamed from sci-astronomy/wcstools/wcstools-3.6.6.ebuild)13
11 files changed, 65 insertions, 313 deletions
diff --git a/sci-astronomy/wcstools/ChangeLog b/sci-astronomy/wcstools/ChangeLog
index 4b7654758d1e..046a5ddec047 100644
--- a/sci-astronomy/wcstools/ChangeLog
+++ b/sci-astronomy/wcstools/ChangeLog
@@ -1,6 +1,18 @@
# ChangeLog for sci-astronomy/wcstools
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcstools/ChangeLog,v 1.3 2007/02/21 16:45:37 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcstools/ChangeLog,v 1.4 2007/06/05 16:35:59 bicatali Exp $
+
+*wcstools-3.6.8 (05 Jun 2007)
+
+ 05 Jun 2007; SĂ©bastien Fabbro <bicatali@gentoo.org>
+ -files/wcstools-3.6.6-autotools.patch,
+ -files/wcstools-3.6.6-codewarn.patch,
+ -files/wcstools-3.6.7-autotools.patch,
+ +files/wcstools-3.6.8-autotools.patch,
+ +files/wcstools-3.6.8-imsetwcs.patch, -wcstools-3.6.6.ebuild,
+ -wcstools-3.6.7.ebuild, +wcstools-3.6.8.ebuild:
+ Version bump. Added a patch removing segfault on imwcs (from fedora).
+ Removed older and buggy versions
*wcstools-3.6.7 (21 Feb 2007)
diff --git a/sci-astronomy/wcstools/Manifest b/sci-astronomy/wcstools/Manifest
index 58e02d7575ae..d174c6405dd9 100644
--- a/sci-astronomy/wcstools/Manifest
+++ b/sci-astronomy/wcstools/Manifest
@@ -1,50 +1,38 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-AUX wcstools-3.6.6-autotools.patch 4677 RMD160 17b7f30c51f38ee0de8cc6147d51e3efd44b2fc8 SHA1 dd8aff746d019b8831219fa1035df5f5f1222b4e SHA256 94b002431b10f48f6297ec5af4e83877d640cb83ec1c38cbc19a28168f40bed4
-MD5 59743d9cdd05a710d2a8adfef7ce9f6e files/wcstools-3.6.6-autotools.patch 4677
-RMD160 17b7f30c51f38ee0de8cc6147d51e3efd44b2fc8 files/wcstools-3.6.6-autotools.patch 4677
-SHA256 94b002431b10f48f6297ec5af4e83877d640cb83ec1c38cbc19a28168f40bed4 files/wcstools-3.6.6-autotools.patch 4677
-AUX wcstools-3.6.6-codewarn.patch 1305 RMD160 f03359c63df2490504bcb6badb857eea76d06135 SHA1 7ae40e142b8169e4fab5ffb7c8a63593e51ba03b SHA256 1c745bc915923c0b25f02d8f2ca0aa0328f8a88dc57459214e09093e0e6c6479
-MD5 3c5bedd8b41149e8c9a158d3e49965a6 files/wcstools-3.6.6-codewarn.patch 1305
-RMD160 f03359c63df2490504bcb6badb857eea76d06135 files/wcstools-3.6.6-codewarn.patch 1305
-SHA256 1c745bc915923c0b25f02d8f2ca0aa0328f8a88dc57459214e09093e0e6c6479 files/wcstools-3.6.6-codewarn.patch 1305
-AUX wcstools-3.6.7-autotools.patch 4674 RMD160 52431056403b47afc3efd306ba2c17ff25a9e5ab SHA1 24aaf06bfbdbf8ab42f006e667e1157b917efc27 SHA256 41825dbfa6eab2a955baeb5e506b2d8fc189868aed581026a974317a871b45d0
-MD5 c6f18782a7009e6e81de86879954e882 files/wcstools-3.6.7-autotools.patch 4674
-RMD160 52431056403b47afc3efd306ba2c17ff25a9e5ab files/wcstools-3.6.7-autotools.patch 4674
-SHA256 41825dbfa6eab2a955baeb5e506b2d8fc189868aed581026a974317a871b45d0 files/wcstools-3.6.7-autotools.patch 4674
AUX wcstools-3.6.7-codewarn.patch 1312 RMD160 c4a9d1b523415a9d87c34e14294a600305410fc0 SHA1 151bd08afb0682def1154f934d23e7538fa995ac SHA256 4326961269c18455a2c8f49cc8bfbeefcd637bf690f264b040491b2aa15cd3c5
MD5 97ee0e2a0c71faf06840632f9b7b1d65 files/wcstools-3.6.7-codewarn.patch 1312
RMD160 c4a9d1b523415a9d87c34e14294a600305410fc0 files/wcstools-3.6.7-codewarn.patch 1312
SHA256 4326961269c18455a2c8f49cc8bfbeefcd637bf690f264b040491b2aa15cd3c5 files/wcstools-3.6.7-codewarn.patch 1312
-DIST wcstools-3.6.6.tar.gz 770420 RMD160 0cdce66766ca7042b6abfc54166c73a57152dce6 SHA1 fa742c43e74893890e93952d2a63f2edafb43802 SHA256 e6aaea1c3a1243091269edfc8c1cd7991bc2e7707f6f9015ee4e750b3ede1a33
-DIST wcstools-3.6.7.tar.gz 1424706 RMD160 6eb20d7399555e734757e0daaaa1193c3453ead7 SHA1 04354a52ffce2a5f144aa0c1a97e8539af922e02 SHA256 455a25fd4ba5345627ca8407ec3f47b2681a0a7e8e176b9c0c288133976b0657
-EBUILD wcstools-3.6.6.ebuild 1177 RMD160 70261b672ab0a12db547aca4c38f815463e6f2ec SHA1 7fc25887fb320be4a70e3dfde63d4358eae5a39f SHA256 012ed64e205d05375523f0e17a08bea479db4fecdc6568af3700e7e6b8c2ca6c
-MD5 1baf198da64957c8c5726a12a09ad3db wcstools-3.6.6.ebuild 1177
-RMD160 70261b672ab0a12db547aca4c38f815463e6f2ec wcstools-3.6.6.ebuild 1177
-SHA256 012ed64e205d05375523f0e17a08bea479db4fecdc6568af3700e7e6b8c2ca6c wcstools-3.6.6.ebuild 1177
-EBUILD wcstools-3.6.7.ebuild 1177 RMD160 e97aa80710e2def0cb3177897f06d9302e63f35d SHA1 c7eb9613af058cc11e76a2c94dc97762e5e21c27 SHA256 e8f5889b6772461e683f63b6bef8efb2e08a16edd68828711f741bd59d9f04e6
-MD5 201d4601bcccbcb7ffe7f9ecf94707e2 wcstools-3.6.7.ebuild 1177
-RMD160 e97aa80710e2def0cb3177897f06d9302e63f35d wcstools-3.6.7.ebuild 1177
-SHA256 e8f5889b6772461e683f63b6bef8efb2e08a16edd68828711f741bd59d9f04e6 wcstools-3.6.7.ebuild 1177
-MISC ChangeLog 1079 RMD160 fea9c556c15491276644553bcb893bdd0433140d SHA1 97eabcc6b9554a2f64d03ffad0cd13a56cb536a2 SHA256 08e9a459fd30ffd528e632635deb7e56a1e1c38fd7ce16c546a224b1374cb31a
-MD5 3ea8246834fee748718a4f07fcdecc9d ChangeLog 1079
-RMD160 fea9c556c15491276644553bcb893bdd0433140d ChangeLog 1079
-SHA256 08e9a459fd30ffd528e632635deb7e56a1e1c38fd7ce16c546a224b1374cb31a ChangeLog 1079
+AUX wcstools-3.6.8-autotools.patch 4674 RMD160 52431056403b47afc3efd306ba2c17ff25a9e5ab SHA1 24aaf06bfbdbf8ab42f006e667e1157b917efc27 SHA256 41825dbfa6eab2a955baeb5e506b2d8fc189868aed581026a974317a871b45d0
+MD5 c6f18782a7009e6e81de86879954e882 files/wcstools-3.6.8-autotools.patch 4674
+RMD160 52431056403b47afc3efd306ba2c17ff25a9e5ab files/wcstools-3.6.8-autotools.patch 4674
+SHA256 41825dbfa6eab2a955baeb5e506b2d8fc189868aed581026a974317a871b45d0 files/wcstools-3.6.8-autotools.patch 4674
+AUX wcstools-3.6.8-imsetwcs.patch 509 RMD160 a96e8bf24959267cb618350e91293782ba9c59ce SHA1 6eaccbba16448a80347199063a4d69e9f855fcb0 SHA256 80d34d8ac6b34579c891254e96239649ed7fde60f042b8fd289fefacd1d1e2f1
+MD5 7a90793af22fbc9ec6e9ebda1bf84154 files/wcstools-3.6.8-imsetwcs.patch 509
+RMD160 a96e8bf24959267cb618350e91293782ba9c59ce files/wcstools-3.6.8-imsetwcs.patch 509
+SHA256 80d34d8ac6b34579c891254e96239649ed7fde60f042b8fd289fefacd1d1e2f1 files/wcstools-3.6.8-imsetwcs.patch 509
+DIST wcstools-3.6.8.tar.gz 801764 RMD160 4414c0ec30c2d3583ead35ac5df18a362da50427 SHA1 7af74108e21926d803b7d93b5d6fee4ccdceb091 SHA256 f96b3b3c346a136877ef7fcc8a86fd994c4dbcacc637a454b29e99064ac1d729
+EBUILD wcstools-3.6.8.ebuild 1279 RMD160 83f48744c6f00f476a100a9d01da28eb6dcd8aa8 SHA1 bce6afa7b9b3e6405f73f4d0a4328ce6597ef4ac SHA256 c099e8ca9c1f2cdbd30eab35edd240ed80199c28a50e211c0614d97290bd0b2f
+MD5 db8809a2cf7457b46b30142613fbdf5d wcstools-3.6.8.ebuild 1279
+RMD160 83f48744c6f00f476a100a9d01da28eb6dcd8aa8 wcstools-3.6.8.ebuild 1279
+SHA256 c099e8ca9c1f2cdbd30eab35edd240ed80199c28a50e211c0614d97290bd0b2f wcstools-3.6.8.ebuild 1279
+MISC ChangeLog 1550 RMD160 a24c9dec267fc34e5cf04d12df5efcc6a91e0905 SHA1 cfa5365b69d1156bb978151c09c07b817e2b84df SHA256 05f1a31358c6392877a70c89b22ef832eaaff51210ea41ae53b913ac0e8a48ff
+MD5 4f3062f075c851615c36833a4beefdaa ChangeLog 1550
+RMD160 a24c9dec267fc34e5cf04d12df5efcc6a91e0905 ChangeLog 1550
+SHA256 05f1a31358c6392877a70c89b22ef832eaaff51210ea41ae53b913ac0e8a48ff ChangeLog 1550
MISC metadata.xml 723 RMD160 49c0f1f71c12801e00b02be8b39f46c74cf1890d SHA1 32a6c9c6b8e0ea96a79f2444578233ec1de7af3d SHA256 56010e1e3bae1f5d3210ce32ba4bbbfb6ba7d245c7d2932444f923f71591d288
MD5 7964d0ff6dd5253f03ca707e97d136c3 metadata.xml 723
RMD160 49c0f1f71c12801e00b02be8b39f46c74cf1890d metadata.xml 723
SHA256 56010e1e3bae1f5d3210ce32ba4bbbfb6ba7d245c7d2932444f923f71591d288 metadata.xml 723
-MD5 3fa6187487ee3d32157eb1cf13db4c75 files/digest-wcstools-3.6.6 244
-RMD160 d3c77fa24658f641d15b71285b1e4281079b5527 files/digest-wcstools-3.6.6 244
-SHA256 b08f255d2ab0b0f191c15e1a266b720118fc4dd69f10d448480348e86e9ee199 files/digest-wcstools-3.6.6 244
-MD5 bdd083de959d41960974c908e8113929 files/digest-wcstools-3.6.7 247
-RMD160 e23b75ccc36eab101e3ec234f180ba7f16470478 files/digest-wcstools-3.6.7 247
-SHA256 6ac6248b451f3d80f81382cddf8276582c5e09129d375cb295c7eb83eb4ebdca files/digest-wcstools-3.6.7 247
+MD5 bfcf0d8d41090fb73379573008ee1d16 files/digest-wcstools-3.6.8 244
+RMD160 1723713e2d6e0ed94ba93b3b11a35feb564c61f6 files/digest-wcstools-3.6.8 244
+SHA256 79240f3d967c36b27d1483bc56e89c0aa0e1fe365888635fe32504b2b8a7879f files/digest-wcstools-3.6.8 244
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.6 (GNU/Linux)
+Version: GnuPG v1.4.7 (GNU/Linux)
-iD8DBQFF3Hc6Wc/Ciu+QQGkRAiHWAJsGzM5I76uzNSxCPmmyMBpPx1ObSQCfZIE8
-SIwttbOVUf5fqdWnR1ASElI=
-=+KAa
+iD8DBQFGZZD11ycZbhPLE2ARAvUxAJ9pP3eV7L+u+dPl4QDgBC2mMVqJeQCgkGlK
+EHKBM2mTgaim0H7RY5mcxXY=
+=0fqv
-----END PGP SIGNATURE-----
diff --git a/sci-astronomy/wcstools/files/digest-wcstools-3.6.6 b/sci-astronomy/wcstools/files/digest-wcstools-3.6.6
deleted file mode 100644
index bb2912a52b92..000000000000
--- a/sci-astronomy/wcstools/files/digest-wcstools-3.6.6
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 750f0829c699e20d58484ae989c00119 wcstools-3.6.6.tar.gz 770420
-RMD160 0cdce66766ca7042b6abfc54166c73a57152dce6 wcstools-3.6.6.tar.gz 770420
-SHA256 e6aaea1c3a1243091269edfc8c1cd7991bc2e7707f6f9015ee4e750b3ede1a33 wcstools-3.6.6.tar.gz 770420
diff --git a/sci-astronomy/wcstools/files/digest-wcstools-3.6.7 b/sci-astronomy/wcstools/files/digest-wcstools-3.6.7
deleted file mode 100644
index 1783434a6ae7..000000000000
--- a/sci-astronomy/wcstools/files/digest-wcstools-3.6.7
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 301be6880e514b7d66997375550fb708 wcstools-3.6.7.tar.gz 1424706
-RMD160 6eb20d7399555e734757e0daaaa1193c3453ead7 wcstools-3.6.7.tar.gz 1424706
-SHA256 455a25fd4ba5345627ca8407ec3f47b2681a0a7e8e176b9c0c288133976b0657 wcstools-3.6.7.tar.gz 1424706
diff --git a/sci-astronomy/wcstools/files/digest-wcstools-3.6.8 b/sci-astronomy/wcstools/files/digest-wcstools-3.6.8
new file mode 100644
index 000000000000..3d45162b9c99
--- /dev/null
+++ b/sci-astronomy/wcstools/files/digest-wcstools-3.6.8
@@ -0,0 +1,3 @@
+MD5 d20943cb5f939b633693d24c375f3730 wcstools-3.6.8.tar.gz 801764
+RMD160 4414c0ec30c2d3583ead35ac5df18a362da50427 wcstools-3.6.8.tar.gz 801764
+SHA256 f96b3b3c346a136877ef7fcc8a86fd994c4dbcacc637a454b29e99064ac1d729 wcstools-3.6.8.tar.gz 801764
diff --git a/sci-astronomy/wcstools/files/wcstools-3.6.6-autotools.patch b/sci-astronomy/wcstools/files/wcstools-3.6.6-autotools.patch
deleted file mode 100644
index e74c24c70728..000000000000
--- a/sci-astronomy/wcstools/files/wcstools-3.6.6-autotools.patch
+++ /dev/null
@@ -1,186 +0,0 @@
-diff -Nur wcstools-3.6.6/configure.ac wcstools-3.6.6.new/configure.ac
---- wcstools-3.6.6/configure.ac 1970-01-01 01:00:00.000000000 +0100
-+++ wcstools-3.6.6.new/configure.ac 2006-12-29 15:55:28.000000000 +0000
-@@ -0,0 +1,11 @@
-+AC_PREREQ([2.57])
-+AC_INIT(wcstools, 3.6.5, [http://tdc-www.harvard.edu/wcstools/])
-+AM_INIT_AUTOMAKE([dist-bzip2])
-+AM_CONFIG_HEADER(config.h)
-+
-+AC_PROG_CC
-+AC_PROG_LIBTOOL
-+AC_C_CONST
-+AC_CHECK_LIB(m, sin)
-+AC_CONFIG_FILES([libwcs/Makefile Makefile])
-+AC_OUTPUT
-diff -Nur wcstools-3.6.6/libwcs/Makefile.am wcstools-3.6.6.new/libwcs/Makefile.am
---- wcstools-3.6.6/libwcs/Makefile.am 1970-01-01 01:00:00.000000000 +0100
-+++ wcstools-3.6.6.new/libwcs/Makefile.am 2006-12-29 15:56:04.000000000 +0000
-@@ -0,0 +1,14 @@
-+lib_LTLIBRARIES = libwcs.la
-+wcsdir = $(pkgincludedir)/wcs
-+wcs_HEADERS = \
-+ wcscat.h wcslib.h wcs.h lwcs.h fitshead.h fitsfile.h imio.h
-+libwcs_la_SOURCES = \
-+ imsetwcs.c imgetwcs.c matchstar.c findstar.c daoread.c wcscon.c \
-+ fitswcs.c wcsinit.c wcs.c ty2read.c webread.c tmcread.c \
-+ gscread.c gsc2read.c ujcread.c uacread.c ubcread.c ucacread.c \
-+ sdssread.c tabread.c binread.c ctgread.c actread.c catutil.c \
-+ imrotate.c fitsfile.c imhfile.c \
-+ hget.c hput.c imio.c dateutil.c imutil.c \
-+ worldpos.c tnxpos.c dsspos.c platepos.c \
-+ sortstar.c platefit.c iget.c fileutil.c polfit.c \
-+ wcslib.c lin.c cel.c proj.c sph.c wcstrig.c distort.c
-diff -Nur wcstools-3.6.6/Makefile.am wcstools-3.6.6.new/Makefile.am
---- wcstools-3.6.6/Makefile.am 1970-01-01 01:00:00.000000000 +0100
-+++ wcstools-3.6.6.new/Makefile.am 2006-12-29 15:55:40.000000000 +0000
-@@ -0,0 +1,149 @@
-+AUTOMAKE_OPTIONS = foreign no-dependencies
-+SUBDIRS = libwcs
-+INCLUDES = -I$(top_srcdir)/libwcs
-+
-+bin_PROGRAMS = \
-+ cphead delwcs delhead edhead fixpix gethead i2f imcat imhead immatch \
-+ imrot imsize imstar imwcs scat sethead addpix getpix setpix sky2xy \
-+ keyhead skycoor subpix xy2sky wcshead conpix gettab newfits getfits \
-+ imstack imextract sumpix remap getcol getdate imfill imsmooth imresize \
-+ fileroot filename filext char2sp sp2char crlf isnum isrange simpos
-+
-+WCSLIBS = -L$(top_srcdir)/libwcs -lwcs
-+
-+addpix_SOURCES = addpix.c
-+addpix_LDADD = $(WCSLIBS)
-+
-+char2sp_SOURCES = char2sp.c
-+char2sp_LDADD = $(WCSLIBS)
-+
-+conpix_SOURCES = conpix.c
-+conpix_LDADD = $(WCSLIBS)
-+
-+cphead_SOURCES = cphead.c
-+cphead_LDADD = $(WCSLIBS)
-+
-+crlf_SOURCES = crlf.c
-+
-+delwcs_SOURCES = delwcs.c
-+delwcs_LDADD = $(WCSLIBS)
-+
-+delhead_SOURCES = delhead.c
-+delhead_LDADD = $(WCSLIBS)
-+
-+edhead_SOURCES = edhead.c
-+edhead_LDADD = $(WCSLIBS)
-+
-+filename_SOURCES = filename.c
-+
-+fileroot_SOURCES = fileroot.c
-+
-+filext_SOURCES = filext.c
-+
-+fixpix_SOURCES = fixpix.c
-+fixpix_LDADD = $(WCSLIBS)
-+
-+getcol_SOURCES = getcol.c
-+getcol_LDADD = $(WCSLIBS)
-+
-+getdate_SOURCES = getdate.c
-+getdate_LDADD = $(WCSLIBS)
-+
-+gethead_SOURCES = gethead.c
-+gethead_LDADD = $(WCSLIBS)
-+
-+getfits_SOURCES = getfits.c
-+getfits_LDADD = $(WCSLIBS)
-+
-+getpix_SOURCES = getpix.c
-+getpix_LDADD = $(WCSLIBS)
-+
-+gettab_SOURCES = gettab.c
-+gettab_LDADD = $(WCSLIBS)
-+
-+i2f_SOURCES = i2f.c
-+i2f_LDADD = $(WCSLIBS)
-+
-+imcat_SOURCES = imcat.c
-+imcat_LDADD = $(WCSLIBS)
-+
-+imfill_SOURCES = imfill.c
-+imfill_LDADD = $(WCSLIBS)
-+
-+imresize_SOURCES = imresize.c
-+imresize_LDADD = $(WCSLIBS)
-+
-+imsmooth_SOURCES = imsmooth.c
-+imsmooth_LDADD = $(WCSLIBS)
-+
-+imhead_SOURCES = imhead.c
-+imhead_LDADD = $(WCSLIBS)
-+
-+imrot_SOURCES = imrot.c
-+imrot_LDADD = $(WCSLIBS)
-+
-+imsize_SOURCES = imsize.c
-+imsize_LDADD = $(WCSLIBS)
-+
-+imstack_SOURCES = imstack.c
-+imstack_LDADD = $(WCSLIBS)
-+
-+imextract_SOURCES = imextract.c
-+imextract_LDADD = $(WCSLIBS)
-+
-+imstar_SOURCES = imstar.c
-+imstar_LDADD = $(WCSLIBS)
-+
-+isnum_SOURCES = isnum.c
-+isnum_LDADD = $(WCSLIBS)
-+
-+isrange_SOURCES = isrange.c
-+
-+imwcs_SOURCES = imwcs.c
-+imwcs_LDADD = $(WCSLIBS)
-+
-+immatch_SOURCES = immatch.c
-+immatch_LDADD = $(WCSLIBS)
-+
-+keyhead_SOURCES = keyhead.c
-+keyhead_LDADD = $(WCSLIBS)
-+
-+newfits_SOURCES = newfits.c
-+newfits_LDADD = $(WCSLIBS)
-+
-+remap_SOURCES = remap.c
-+remap_LDADD = $(WCSLIBS)
-+
-+scat_SOURCES = scat.c
-+scat_LDADD = $(WCSLIBS)
-+
-+sethead_SOURCES = sethead.c
-+sethead_LDADD = $(WCSLIBS)
-+
-+setpix_SOURCES = setpix.c
-+setpix_LDADD = $(WCSLIBS)
-+
-+sky2xy_SOURCES = sky2xy.c
-+sky2xy_LDADD = $(WCSLIBS)
-+
-+skycoor_SOURCES = skycoor.c
-+skycoor_LDADD = $(WCSLIBS)
-+
-+sp2char_SOURCES = sp2char.c
-+sp2char_LDADD = $(WCSLIBS)
-+
-+subpix_SOURCES = subpix.c
-+subpix_LDADD = $(WCSLIBS)
-+
-+sumpix_SOURCES = sumpix.c
-+sumpix_LDADD = $(WCSLIBS)
-+
-+wcshead_SOURCES = wcshead.c
-+wcshead_LDADD = $(WCSLIBS)
-+
-+xy2sky_SOURCES = xy2sky.c
-+xy2sky_LDADD = $(WCSLIBS)
-+
-+simpos_SOURCES = simpos.c
-+simpos_LDADD = $(WCSLIBS)
-+
diff --git a/sci-astronomy/wcstools/files/wcstools-3.6.6-codewarn.patch b/sci-astronomy/wcstools/files/wcstools-3.6.6-codewarn.patch
deleted file mode 100644
index a619358379aa..000000000000
--- a/sci-astronomy/wcstools/files/wcstools-3.6.6-codewarn.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-+++ wcstools-3.6.6/getdate.c 2006-10-10 12:07:22.000000000 +0200
---- wcstools-3.6.6.orig/getdate.c 2006-10-10 12:06:11.000000000 +0200
-@@ -413,7 +413,7 @@
- char *fitsdate, *newfdate, *stdate;
- char temp[64];
- char fyear[16];
-- char ts0[8];
-+ char ts0[9];
- char *tchar;
- int its, its1;
- time_t lts;
-diff -ur wcstools-3.6.6.orig/libwcs/binread.c wcstools-3.6.6/libwcs/binread.c
---- wcstools-3.6.6.orig/libwcs/binread.c 2006-10-10 12:10:47.000000000 +0200
-+++ wcstools-3.6.6/libwcs/binread.c 2006-10-10 12:11:22.000000000 +0200
-@@ -1358,7 +1358,7 @@
- for (i = 0; i < nmag; i++) {
- moveb (sc->catline, (char *) st->mag, 2, sc->entmag[0]+(i*2), i*2);
- if (sc->byteswapped)
-- binswap2 (&st->mag[i], 2);
-+ binswap2 ((char*)&st->mag[i], 2);
- st->xmag[i] = 0.01 * (double) st->mag[i];
- }
- }
-diff -ur wcstools-3.6.6.orig/libwcs/catutil.c wcstools-3.6.6/libwcs/catutil.c
---- wcstools-3.6.6.orig/libwcs/catutil.c 2006-10-10 12:10:47.000000000 +0200
-+++ wcstools-3.6.6/libwcs/catutil.c 2006-10-10 12:12:08.000000000 +0200
-@@ -722,7 +722,7 @@
- lname = 0;
- else
- lname = strlen (refcatname);
-- catname = (char *)calloc (lname + 16, 1);
-+ catname = (char *)calloc (lname + 37, 1);
- if (lname > 0)
- sprintf (catname, "%s sources", refcatname);
- else
diff --git a/sci-astronomy/wcstools/files/wcstools-3.6.7-autotools.patch b/sci-astronomy/wcstools/files/wcstools-3.6.8-autotools.patch
index 1b70ca14e220..1b70ca14e220 100644
--- a/sci-astronomy/wcstools/files/wcstools-3.6.7-autotools.patch
+++ b/sci-astronomy/wcstools/files/wcstools-3.6.8-autotools.patch
diff --git a/sci-astronomy/wcstools/files/wcstools-3.6.8-imsetwcs.patch b/sci-astronomy/wcstools/files/wcstools-3.6.8-imsetwcs.patch
new file mode 100644
index 000000000000..87e6d9589d82
--- /dev/null
+++ b/sci-astronomy/wcstools/files/wcstools-3.6.8-imsetwcs.patch
@@ -0,0 +1,18 @@
+--- libwcs/imsetwcs.c.orig 2007-06-05 17:06:28.886476000 +0100
++++ libwcs/imsetwcs.c 2007-06-05 17:06:20.245936000 +0100
+@@ -854,13 +854,13 @@
+ if (gc) free ((char *)gc);
+
+ /* Free memory used for object names in reference catalog */
+- if (gobj1 != NULL) {
++/* if (gobj1 != NULL) {
+ for (i = 0; i < ns; i++) {
+ if (gobj[i] != NULL) free (gobj[i]);
+ gobj[i] = NULL;
+ }
+ }
+-
++*/
+ /* Free image source arrays */
+ if (sx) free ((char *)sx);
+ if (sy) free ((char *)sy);
diff --git a/sci-astronomy/wcstools/wcstools-3.6.7.ebuild b/sci-astronomy/wcstools/wcstools-3.6.7.ebuild
deleted file mode 100644
index 8c1ec6e4102a..000000000000
--- a/sci-astronomy/wcstools/wcstools-3.6.7.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcstools/wcstools-3.6.7.ebuild,v 1.1 2007/02/21 16:45:37 bicatali Exp $
-
-inherit eutils autotools
-
-DESCRIPTION="Astronomy Library to handle World Coordinate System for FITS images"
-HOMEPAGE="http://tdc-www.harvard.edu/software/wcstools"
-SRC_URI="http://tdc-www.harvard.edu/software/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2 LGPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~amd64"
-IUSE=""
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- # fixed some warnings
- epatch "${FILESDIR}"/${P}-codewarn.patch
- # autotoolization
- epatch "${FILESDIR}"/${P}-autotools.patch
- eautoreconf
-}
-
-src_test() {
- cd "${S}"
- ebegin "Testing various wcstools programs"
- ./newfits -a 10 -j 248 41 test.fits || die "test newfits failed"
- ./sethead test.fits A=1 B=1 || die "test sethead failed"
- [[ "$(./gethead test.fits RA)" == "16:32:00.000" ]] \
- || die "test gethead failed"
- rm -f test.fits
- eend
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- doman Man/man1/*
- dodoc Readme Programs NEWS
- docinto libwcs
- dodoc libwcs/{Readme,NEWS}
-}
diff --git a/sci-astronomy/wcstools/wcstools-3.6.6.ebuild b/sci-astronomy/wcstools/wcstools-3.6.8.ebuild
index e16fdfcaab98..36b1c08c9c59 100644
--- a/sci-astronomy/wcstools/wcstools-3.6.6.ebuild
+++ b/sci-astronomy/wcstools/wcstools-3.6.8.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcstools/wcstools-3.6.6.ebuild,v 1.1 2007/02/03 17:06:54 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcstools/wcstools-3.6.8.ebuild,v 1.1 2007/06/05 16:35:59 bicatali Exp $
inherit eutils autotools
@@ -15,11 +15,12 @@ IUSE=""
src_unpack() {
unpack ${A}
- # fixed some warnings
- epatch "${FILESDIR}"/${P}-codewarn.patch
+ cd "${S}"
+ # fix a segfault (adapted from fedora)
+ epatch "${FILESDIR}"/${P}-imsetwcs.patch
# autotoolization
epatch "${FILESDIR}"/${P}-autotools.patch
- cd "${S}"
+ sed -i -e 's/3.6.x/${PV}/' configure.ac || die "sed failed"
eautoreconf
}
@@ -38,6 +39,6 @@ src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
doman Man/man1/*
dodoc Readme Programs NEWS
- docinto libwcs
- dodoc libwcs/{Readme,NEWS}
+ newdoc libwcs/Readme Readme.libwcs
+ newdoc libwcs/NEWS NEWS.libwcs
}