diff options
Diffstat (limited to 'sci-astronomy')
-rw-r--r-- | sci-astronomy/Manifest.gz | bin | 6189 -> 6193 bytes | |||
-rw-r--r-- | sci-astronomy/wcstools/Manifest | 4 | ||||
-rw-r--r-- | sci-astronomy/wcstools/files/Makefile.3.9.7.am | 74 | ||||
-rw-r--r-- | sci-astronomy/wcstools/files/Makefile.libwcs.3.9.7.am | 16 | ||||
-rw-r--r-- | sci-astronomy/wcstools/wcstools-3.9.7.ebuild | 76 |
5 files changed, 170 insertions, 0 deletions
diff --git a/sci-astronomy/Manifest.gz b/sci-astronomy/Manifest.gz Binary files differindex 83a764242593..ad3069f6e172 100644 --- a/sci-astronomy/Manifest.gz +++ b/sci-astronomy/Manifest.gz diff --git a/sci-astronomy/wcstools/Manifest b/sci-astronomy/wcstools/Manifest index b371c1d864ea..fbaf3ff981a9 100644 --- a/sci-astronomy/wcstools/Manifest +++ b/sci-astronomy/wcstools/Manifest @@ -1,4 +1,6 @@ +AUX Makefile.3.9.7.am 2052 BLAKE2B b3f304ce98c5b30750229d1d3b28dae25f983ea8d2b8af872fea1fb39670323ad2ec43bbaa7e51fae1c4f843a171061a9f359e42735992a2921db274de29c966 SHA512 28083a6d1fe90864151172b0b08bbb9e97830dded02141739db8cb90e75fc7c7e4b6df57a560f275867336e8eabeac070a80f369a3459a043b21b2e7a9e9b3d7 AUX Makefile.am 2016 BLAKE2B 8862ec21de6d66196ce624df76424a49b584f560bcf973cd92445fd5da7dc047089b0c1fff7366413ff0864c7935115c1b7058c666dcc9975e03303671066f44 SHA512 13f516405481b358c8a9e4a9e83fee28b6f846a000c0143c2e1dca61cf2afacea9aade3ccf3fa5cd9b7f1a4d6b965c4ec1ce002c614e9b5e52137cbf1abcd60b +AUX Makefile.libwcs.3.9.7.am 670 BLAKE2B 9deaddb71df4ba82f5e384d46af3bb2633b5b40d064ad252352d0c886f4283bf4f74bf90c2ebcf15ab852718dad0baf57b87b4f649f6fe8ee07d39d9cec04a33 SHA512 ff6580142b7135685b9fea715dbb4eba552895c696c63195fb5e512925b491acff06c4ea41c67d0d25152be25676a4db14f59bac84c8024de981a0f6cdd15591 AUX Makefile.libwcs.am 709 BLAKE2B 7fe1475ac7134e26767bbd9199f293c85a72ab903866ff67305384e0c1ed69be79fc7225df16326f111c70e5c8ee4caaff7878699d5c9f9e014c5a1e52575f2f SHA512 7fc901ec0daa55e11028c457a9d8f1735ba559bcf5dcc1fb18cd6ffca121b01c17be6c938f89c599298c45be166ef8917b6ddd0bc5ce86f461c0668deb8d8918 AUX configure.ac 257 BLAKE2B 4fb85c464c2e2f7c11fb2c0dead83cb63baebcc8cc68c8ecebbf29db452e340e130663ef7c15520854cd2aa4f874409fb94bd76a08c98c23059233df075a3993 SHA512 7f8bb86cb9fa1cb57b8a53b150021e0c49929497f6a75d4d5638e4fd9592d07f9fe32ffdf204c72aae60b0ea980552b16b3940bd208982476cebb72ebf5267b4 AUX wcstools-3.9.4-compiler-warning.patch 947 BLAKE2B cbaea056d729655fb89e8b59e69d032effe50eab147383724a2a9ad039886cf0f4fbb5050b765f02e090ebd116d00f2c4f0917bb75cd25799798bfc3f583d767 SHA512 28a190fa0df08d4950577ca821bd98a1633d93ba25e8ca81733dc453de24d32ad7a892e1deb1951796a5bf4398ab65e70aabbcde14c4d2b9ea7b604a53aed339 @@ -7,5 +9,7 @@ AUX wcstools-3.9.4-haspm.patch 603 BLAKE2B 1d224755840efdfbb3a0e2b05f41cbe53e29f AUX wcstools-3.9.4-spelling.patch 8559 BLAKE2B d810aa313cd2bbaf015a4ee383a7c049415a87a44d1802b7e21840bc5a389eab0fde3375b086e6702df4e278aea330485d7080101404bbca47f97eab20a64b60 SHA512 d8065c8619ceddc879a0fe0fa55e0ddd6eff504eead917a2a7009f83151a7618c0e74cda8a58e4ef5206318806afd35792cb605dbea74e8f4a77b2a67bdcf9a0 AUX wcstools.pc.in 304 BLAKE2B 5096b6beaa1a21e927f3b3244155869e4d896e2254334180b9ecf7ff01f290b97d1925e2cf26511dc03a37ca45ec066afc59dffc96e0c536b6fcd8b3d7d45edc SHA512 bfa61066f0a6993f0848925b40ba35fe02e444c37b5cd9b02c99c5d331566fa21165858c53ffb9a9cdc2461ad096b87c8bd53e8eb9c13bab8f4404a5fe6f2d90 DIST wcstools-3.9.5.tar.gz 8538612 BLAKE2B 79e1c544408595a3147c7a6c4e86ca18f8a1851b8e036fa87e34d1979cbb04e9fe13db1a3ec8b18689a00d726d85131cd2c90add5e2685f80a8dcb5b20981065 SHA512 aa48081b6f5dc12ed8d64eae5275c27aaa279856f588a3eb429ec0a4943dc482788cb7f84820233f0e2ee4fefeda7ab9bb85c4513a9942c48f5d97a0bde1581d +DIST wcstools-3.9.7.tar.gz 8652114 BLAKE2B 8e61d141bd4df5b72e1bf362e9b1a3ca1533888559ccd955929204655c3f0e8f383e98ec329d4d3b457e326ba0fed8dc2f602bd0e5576eab2a8e4e9b5b46612b SHA512 b731d21b34d7f914465083ba0545516f8e8bbca3b3a8b1c987264b66225a813af2a6acd78ebc67c6869f774e40d6845f0eaddfe93f1b20d25335df22da180450 EBUILD wcstools-3.9.5-r1.ebuild 1776 BLAKE2B 51038624f4dfee3dbbdc307340e7ce135a1c8c91d5fc87b2b779a79b925b9c16d748bb8acc131b9eb001ce7926167da05beef47860f7189bfaae65cf3039bf63 SHA512 05032d173acb79393a84571f0cffbbc3e5e0b8b4db124e770c6d3b8fa5df4f756d8aebb92ea5355944a6ffcdd4bddd3846889a13462c3a61751ddd7e2a3e8b2f +EBUILD wcstools-3.9.7.ebuild 1984 BLAKE2B a92add5bc187a5c804f9b2834e6cf7fd6174423907e9fe202c8dcbc5b7db02bd2dcf865968fccf2c1412bc04ba07e848253c6a429a775f66edc39e96374d2ede SHA512 43e2077cfb833a624ecac0ee7518e09fd60d1d8a41e3cf7bcddb8624d817fa2bb22e2fec0c7e96555941e3afd34da5c2c0bbaaf0aef379e81dc868d4e41fd56c MISC metadata.xml 946 BLAKE2B 7fd3465b3987b06f77d728af7764ee7ea7b88bf795c09387b3bb2ce4cd4b828fac6a1b3da605b76bc7074a1b087940e62b041a37103aaa159cff06618209cbf6 SHA512 3e7c1cd11f4a6ad1d74b1806673d24e033aeb53bd793b70489374ac09943db5b2ee4e4c281be0bd4066c7f683b91a8e0b55780736ff94029efb4c345bfb1027b diff --git a/sci-astronomy/wcstools/files/Makefile.3.9.7.am b/sci-astronomy/wcstools/files/Makefile.3.9.7.am new file mode 100644 index 000000000000..8610812e5fd9 --- /dev/null +++ b/sci-astronomy/wcstools/files/Makefile.3.9.7.am @@ -0,0 +1,74 @@ +SUBDIRS = libwcs +INCLUDES = -I$(top_srcdir)/libwcs + +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = wcstools.pc + +bin_SCRIPTS = wcstools + +EXTRA_DIST = wcstools COPYING Readme NEWS Programs + +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 wcsremap getcol wcsgetdate imfill imsmooth imresize \ + fileroot filename filext char2sp sp2char wcscrlf isnum isrange isfits \ + isfile simpos bincat fixhead + +# these ones don't need libwcs +wcscrlf_SOURCES = crlf.c +filename_SOURCES = filename.c +filedir_SOURCES = filedir.c +fileroot_SOURCES = fileroot.c +filext_SOURCES = filext.c +isrange_SOURCES = isrange.c + +LDADD = $(top_builddir)/libwcs/libwcstools.la + +bincat_SOURCES = bincat.c +getcol_SOURCES = getcol.c +wcsgetdate_SOURCES = getdate.c +gethead_SOURCES = gethead.c +getfits_SOURCES = getfits.c +getpix_SOURCES = getpix.c +gettab_SOURCES = gettab.c +imcat_SOURCES = imcat.c +imsize_SOURCES = imsize.c +imstar_SOURCES = imstar.c +imwcs_SOURCES = imwcs.c +immatch_SOURCES = immatch.c +scat_SOURCES = scat.c +setpix_SOURCES = setpix.c +skycoor_SOURCES = skycoor.c +sumpix_SOURCES = sumpix.c +xy2sky_SOURCES = xy2sky.c +simpos_SOURCES = simpos.c + +addpix_SOURCES = addpix.c +char2sp_SOURCES = char2sp.c +conpix_SOURCES = conpix.c +cphead_SOURCES = cphead.c +delwcs_SOURCES = delwcs.c +delhead_SOURCES = delhead.c +edhead_SOURCES = edhead.c +fixpix_SOURCES = fixpix.c +i2f_SOURCES = i2f.c +imfill_SOURCES = imfill.c +imresize_SOURCES = imresize.c +imsmooth_SOURCES = imsmooth.c +imhead_SOURCES = imhead.c +imrot_SOURCES = imrot.c +imstack_SOURCES = imstack.c +imextract_SOURCES = imextract.c +isfile_SOURCES = isfile.c +isnum_SOURCES = isnum.c +keyhead_SOURCES = keyhead.c +newfits_SOURCES = newfits.c +wcsremap_SOURCES = remap.c +sethead_SOURCES = sethead.c +sky2xy_SOURCES = sky2xy.c +sp2char_SOURCES = sp2char.c +subpix_SOURCES = subpix.c +wcshead_SOURCES = wcshead.c +fixhead_SOURCES = fixhead.c diff --git a/sci-astronomy/wcstools/files/Makefile.libwcs.3.9.7.am b/sci-astronomy/wcstools/files/Makefile.libwcs.3.9.7.am new file mode 100644 index 000000000000..0d3b1564ab05 --- /dev/null +++ b/sci-astronomy/wcstools/files/Makefile.libwcs.3.9.7.am @@ -0,0 +1,16 @@ +lib_LTLIBRARIES = libwcstools.la +libwcstools_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 \ + skybotread.c imrotate.c fitsfile.c imhfile.c \ + hget.c hput.c imio.c dateutil.c imutil.c \ + worldpos.c tnxpos.c zpxpos.c dsspos.c platepos.c \ + sortstar.c platefit.c iget.c fileutil.c \ + wcslib.c lin.c cel.c proj.c sph.c wcstrig.c distort.c poly.c + +wcsdir = $(includedir)/wcs +wcs_HEADERS = \ + wcscat.h wcslib.h wcs.h lwcs.h fitshead.h fitsfile.h imio.h + diff --git a/sci-astronomy/wcstools/wcstools-3.9.7.ebuild b/sci-astronomy/wcstools/wcstools-3.9.7.ebuild new file mode 100644 index 000000000000..00797d0e90cc --- /dev/null +++ b/sci-astronomy/wcstools/wcstools-3.9.7.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic + +DESCRIPTION="World Coordinate System library for astronomical FITS images" +HOMEPAGE="http://tdc-www.harvard.edu/software/wcstools/" +SRC_URI="http://tdc-www.harvard.edu/software/wcstools/${P}.tar.gz + http://tdc-www.harvard.edu/software/wcstools/Old/${P}.tar.gz" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" + +DOCS=( Readme Programs NEWS ) + +PATCHES=( + "${FILESDIR}"/${PN}-3.9.4-spelling.patch + "${FILESDIR}"/${PN}-3.9.4-haspm.patch + "${FILESDIR}"/${PN}-3.9.4-fix-tests.patch + "${FILESDIR}"/${PN}-3.9.4-compiler-warning.patch +) + +src_prepare() { + default + einfo "Copying gentoo autotools files" + local f + for f in "${FILESDIR}"/{configure.ac,wcstools.pc.in}; do + cp -v ${f} "${S}"/ || die + done + cp -v "${FILESDIR}"/Makefile.${PV}.am "${S}"/Makefile.am || die + cp -v "${FILESDIR}"/Makefile.libwcs.${PV}.am "${S}"/libwcs/Makefile.am || die + # avoid colliding with fixdos, getdate and remap from other packages + sed -i \ + -e 's/getdate/wcsgetdate/' \ + -e 's/crlf/wcscrlf/' \ + -e 's/remap/wcsremap/' \ + -e "s/3.... Programs/${PV} Programs/" \ + wcstools || die + eautoreconf +} + +src_configure() { + # bug #943830 + append-cflags -std=gnu17 + + default +} + +src_test() { + einfo "Testing various wcstools programs" + ./newfits -a 10 -j 248 41 -p 0.15 test.fits || die "test newfits failed" + ./sethead test.fits A=1 B=1 || die "test sethead failed" + [[ "$(./gethead test.fits RA)" == "16:32:00.0000" ]] \ + || die "test gethead failed" + rm test.fits +} + +src_install() { + default + doman man/man1/* + newdoc libwcs/NEWS NEWS.libwcs + newdoc libwcs/Readme Readme.libwcs + + find "${ED}" -name '*.la' -delete || die +} + +pkg_postinst() { + elog "The following execs have been renamed to avoid colliding" + elog "with other packages:" + elog " getdate -> wcsgetdate" + elog " crlf -> wcscrlf" + elog " remap -> wcsremap" +} |