summaryrefslogtreecommitdiff
path: root/sci-libs/qfits
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-libs/qfits
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-libs/qfits')
-rw-r--r--sci-libs/qfits/Manifest7
-rw-r--r--sci-libs/qfits/files/qfits-6.2.0-open.patch12
-rw-r--r--sci-libs/qfits/files/qfits-6.2.0-ttest.patch11
-rw-r--r--sci-libs/qfits/metadata.xml19
-rw-r--r--sci-libs/qfits/qfits-6.2.0.ebuild23
5 files changed, 72 insertions, 0 deletions
diff --git a/sci-libs/qfits/Manifest b/sci-libs/qfits/Manifest
new file mode 100644
index 000000000000..79de3777f700
--- /dev/null
+++ b/sci-libs/qfits/Manifest
@@ -0,0 +1,7 @@
+AUX qfits-6.2.0-open.patch 683 SHA256 2f98aef5de1628af3f827d333a31decdcb626806f1974c703027b9c2fb99a6d1 SHA512 3c1303640f3d30340f11be173ebc2ce87b33064912f4fa071c3381519d19eeda1244955d07e850f0a2e54552f6fc83eb5d1fd297199023f7c6084e374f960cb7 WHIRLPOOL 504b2265cd97c5b0c2e8282d916ef59cb1e3c39d9c63cf649a45652cb0c26ab982f89ac2072a11b7d361eb1a2b04e3bba3cf8873d4c26194bc5f4eb36634debd
+AUX qfits-6.2.0-ttest.patch 376 SHA256 da394f2977ddaec1d33a1389516c84320c420da90d08d743672c426b22b9860c SHA512 32b822144f7b4a4eaf258078004410c5c7c1cd7117eea678c382b2cd8b08ca855fc3d3f2498383cfafdd57d09dee5b9a2eed2e50b483c28255fab9b8d5b8c243 WHIRLPOOL 1298c97d907c3c9dc7d12677b1477381041105956e062a897a7751542378f2c6f725d57446e386bd532980d36f2c1b61e10bb107cfe30e1254116c2bea0fb8fc
+DIST qfits-6.2.0.tar.gz 475191 SHA256 04f628ee966859c2e3c58cd63955544adc31a3b3901bf42c25fbb1feb98f8ed1 SHA512 a0f6863a9e5b26d08de487cfdf468b3d04218a36a01cd9df8b786b1cdf2ffa61acf12b087f4fbd751ba023f02b5a32410949a4ee08432108a7129a283ab3d824 WHIRLPOOL bfd4b8ee50add6bb25aa9e2eec6a6a00bca4deaf7a9d463f6f27a52d2e927db4ea4dd2c2d0c624f572d53d811a3abc0b9ebaa34536aca1daec123c3f39e91050
+EBUILD qfits-6.2.0.ebuild 560 SHA256 f56ec21ffedb1ed11b41696d859ba1fbbbe92c7f2d56bc14d07f7198abcbe335 SHA512 5c1733cbffe81295cea50f3625150f43d741fd9159280444e4e1df358363baaef0536a9cbe52e641a1fc65d16e927b5a1ebac44e81ea95fcf459415dc8a5ff00 WHIRLPOOL 145b2af99b602f4070ca2b73f921963d0ccca8ad1fe5a23a832985e32eceba8956e79b726a8d4dc16df3661e0af454f581947f43c349615061c329890812e4b6
+MISC ChangeLog 2486 SHA256 1dd528d0093288297d53cb5bee59d0816f046e908ff7796eb147a97c36772a1a SHA512 c97a1c0a35e85d0c3581ebe242052f027d4ce00de8789aa4dd2f8290b059e184a1059c8a5cdc496c1ac79a8905c43736b54dc74581e240f4cc832575b125e8f4 WHIRLPOOL f9f5df3844abaf2aa039ff460a3d8a59cd10f57325edc297573e6520b790db5e656015153f370e25b0c2b32c186edd29b6e7090ccf10e174f8ff557aedb5d51c
+MISC ChangeLog-2015 1076 SHA256 5ce077431d644630867f9f2ece4b0dcf26275c937a5e4c71c3582a4398188650 SHA512 349ec73e4e0f0fc69a8a8bb7a6624806ea82cdaf1f0a2affe198a3373391bc531258e4bf249df9f23e170fb19514bfaec0328112c8de7ffe48a222ee93be714a WHIRLPOOL 5d69b791946a324935a3909549aa8cec97c5abe7b64551f962fcc8fb76ef14c0e3ff2a5b310b60f510f44a982bbb132b16b14476cbc16b0629911960c7e73f97
+MISC metadata.xml 851 SHA256 66fb6a2a13313d181ab599aaa93aa74b869de5b7f83ebf1bfcf801b1d0f733a1 SHA512 97081bccbae198d305fba171d6969993599b8008d82f28acb7489879013564bc95dd42ad9c8d04d883f442cdf70361f080e9ac8bd770752ea2a9ca87e3478434 WHIRLPOOL 95f9175f41d65543b4e9e6064912b383f5eb4352fcb8690dc478f29f33740ce923262ebb760a8a24385fc2e510ba176126940cf7933f42e5b2719862a904fc18
diff --git a/sci-libs/qfits/files/qfits-6.2.0-open.patch b/sci-libs/qfits/files/qfits-6.2.0-open.patch
new file mode 100644
index 000000000000..71d2df1a692a
--- /dev/null
+++ b/sci-libs/qfits/files/qfits-6.2.0-open.patch
@@ -0,0 +1,12 @@
+diff -ur qfits-6.2.0/src/qfits_memory.c qfits-6.2.0.new/src/qfits_memory.c
+--- qfits-6.2.0/src/qfits_memory.c 2006-08-24 17:01:56.000000000 +0200
++++ qfits-6.2.0.new/src/qfits_memory.c 2007-09-21 13:43:19.000000000 +0200
+@@ -308,7 +308,7 @@
+ /* Create swap file with rights: rw-rw-rw- */
+ swapfileid = ++ qfits_memory_table.file_reg ;
+ fname = qfits_memory_tmpfilename(swapfileid);
+- swapfd = open(fname, O_RDWR | O_CREAT);
++ swapfd = open(fname, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH);
+ if (swapfd==-1) {
+ fprintf(stderr, "qfits_mem: cannot create swap file\n");
+ exit(-1);
diff --git a/sci-libs/qfits/files/qfits-6.2.0-ttest.patch b/sci-libs/qfits/files/qfits-6.2.0-ttest.patch
new file mode 100644
index 000000000000..ee87bfc702ca
--- /dev/null
+++ b/sci-libs/qfits/files/qfits-6.2.0-ttest.patch
@@ -0,0 +1,11 @@
+--- test/test_tfits.c 2006-04-27 14:08:43.000000000 +0100
++++ test/test_tfits.c.new 2007-02-23 00:29:41.000000000 +0000
+@@ -322,7 +322,7 @@
+ * Test on BINARY tables
+ */
+ say("Test the BINARY table") ;
+- strcat(filename, srcdir) ;
++ strcpy(filename, srcdir) ;
+ strcat(filename, BIN_TABLE_NAME) ;
+ err += qfits_test_table(filename, 1) ;
+
diff --git a/sci-libs/qfits/metadata.xml b/sci-libs/qfits/metadata.xml
new file mode 100644
index 000000000000..223e7f7b167c
--- /dev/null
+++ b/sci-libs/qfits/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>sci-astronomy@gentoo.org</email>
+ <name>Gentoo Astronomy Project</name>
+</maintainer>
+<longdescription lang="en">
+qfits is a stand-alone library written in C to interact with files
+complying with the FITS format. It is fast and portable over any kind
+of POSIX-compliant platform.
+Rather than going through the FITS format specification and trying to
+implement some support for everything that is described there, this
+library was built day after day upon request. This guarantees that
+all the functions you will find in the library have been written for
+some purpose in the VLT pipeline context, and all of them are used
+daily in a production environment.
+</longdescription>
+</pkgmetadata>
diff --git a/sci-libs/qfits/qfits-6.2.0.ebuild b/sci-libs/qfits/qfits-6.2.0.ebuild
new file mode 100644
index 000000000000..e98cd4afcfa2
--- /dev/null
+++ b/sci-libs/qfits/qfits-6.2.0.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit autotools-utils
+
+DESCRIPTION="ESO stand-alone C library offering easy access to FITS files"
+HOMEPAGE="http://www.eso.org/projects/aot/qfits/"
+SRC_URI="ftp://ftp.hq.eso.org/pub/${PN}/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc static-libs"
+DEPEND=""
+RDEPEND=""
+
+PATCHES=( "${FILESDIR}"/${P}-{ttest,open}.patch )
+
+src_install() {
+ autotools-utils_src_install
+ use doc && dohtml html/*
+}