1 |
commit: f50fab3bd09c80c446ef032738445e00348ad654 |
2 |
Author: Sebastien Fabbro <sfabbro <AT> uvic <DOT> ca> |
3 |
AuthorDate: Mon Jul 9 23:44:04 2012 +0000 |
4 |
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 9 23:44:04 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=f50fab3b |
7 |
|
8 |
sci-astronomy/stiff: live version, prefix keywording |
9 |
|
10 |
--- |
11 |
sci-astronomy/stiff/ChangeLog | 53 +++++++++++++++++++ |
12 |
sci-astronomy/stiff/files/stiff-configure.patch | 63 +++++++++++++++++++++++ |
13 |
sci-astronomy/stiff/metadata.xml | 10 ++++ |
14 |
sci-astronomy/stiff/stiff-9999.ebuild | 43 +++++++++++++++ |
15 |
4 files changed, 169 insertions(+), 0 deletions(-) |
16 |
|
17 |
diff --git a/sci-astronomy/stiff/ChangeLog b/sci-astronomy/stiff/ChangeLog |
18 |
new file mode 100644 |
19 |
index 0000000..5d562b9 |
20 |
--- /dev/null |
21 |
+++ b/sci-astronomy/stiff/ChangeLog |
22 |
@@ -0,0 +1,53 @@ |
23 |
+# ChangeLog for sci-astronomy/stiff |
24 |
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
25 |
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/stiff/ChangeLog,v 1.7 2011/08/04 18:33:30 bicatali Exp $ |
26 |
+ |
27 |
+*stiff-9999 (09 Jul 2012) |
28 |
+ |
29 |
+ 09 Jul 2012; Sébastien Fabbro <bicatali@g.o> +stiff-9999.ebuild, |
30 |
+ +files/stiff-configure.patch, +metadata.xml: |
31 |
+ Added live version, fixed for respecting flags, keyword amd64-linux, |
32 |
+ x86-linux |
33 |
+ |
34 |
+ 04 Aug 2011; Sébastien Fabbro <bicatali@g.o> metadata.xml: |
35 |
+ Switched herd to sci-astronomy |
36 |
+ |
37 |
+*stiff-2.1.3 (10 Apr 2011) |
38 |
+ |
39 |
+ 10 Apr 2011; Sébastien Fabbro <bicatali@g.o> -stiff-1.12.ebuild, |
40 |
+ +stiff-2.1.3.ebuild: |
41 |
+ Version bump |
42 |
+ |
43 |
+ 08 Nov 2010; Kacper Kowalik <xarthisius@g.o> stiff-2.1.2.ebuild: |
44 |
+ media-libs/jpeg -> virtual/jpeg |
45 |
+ |
46 |
+*stiff-2.1.2 (26 Feb 2010) |
47 |
+ |
48 |
+ 26 Feb 2010; Sébastien Fabbro <bicatali@g.o> -stiff-1.10.ebuild, |
49 |
+ +stiff-2.1.2.ebuild: |
50 |
+ Version bump |
51 |
+ |
52 |
+ 28 Jul 2009; Sébastien Fabbro <bicatali@g.o> stiff-1.12.ebuild: |
53 |
+ Updated license to CeCILL-2 |
54 |
+ |
55 |
+*stiff-1.12 (28 Jul 2009) |
56 |
+ |
57 |
+ 28 Jul 2009; Sébastien Fabbro <bicatali@g.o> +stiff-1.12.ebuild, |
58 |
+ +files/stiff-configure.patch: |
59 |
+ Version bump |
60 |
+ |
61 |
+*stiff-1.10 (17 Feb 2009) |
62 |
+ |
63 |
+ 17 Feb 2009; Sébastien Fabbro <bicatali@g.o> +metadata.xml, |
64 |
+ +stiff-1.10.ebuild: |
65 |
+ Initial import to the main tree from the sci overlay |
66 |
+ |
67 |
+ 26 Mar 2007; Sébastien Fabbro <bicatali@g.o> stiff-1.10.ebuild: |
68 |
+ cleaning |
69 |
+ |
70 |
+ 29 Dec 2006; Sebastien Fabbro <seb@×××××××.pt>; |
71 |
+ Removed icc flag, too buggy. |
72 |
+ |
73 |
+ 19 Sep 2006; Sebastien Fabbro <seb@×××××××.pt> +stiff-1.10.ebuild: |
74 |
+ Initial import. |
75 |
+ |
76 |
|
77 |
diff --git a/sci-astronomy/stiff/files/stiff-configure.patch b/sci-astronomy/stiff/files/stiff-configure.patch |
78 |
new file mode 100644 |
79 |
index 0000000..15b8d9a |
80 |
--- /dev/null |
81 |
+++ b/sci-astronomy/stiff/files/stiff-configure.patch |
82 |
@@ -0,0 +1,63 @@ |
83 |
+--- configure.ac.orig 2009-03-10 12:34:36.000000000 +0000 |
84 |
++++ configure.ac 2009-07-28 17:26:22.000000000 +0100 |
85 |
+@@ -21,40 +21,14 @@ |
86 |
+ |
87 |
+ # Include macros |
88 |
+ #sinclude(acx_pthread.m4) |
89 |
+-sinclude(acx_prog_cc_optim.m4) |
90 |
+ |
91 |
+ # Display pakage and version number |
92 |
+ AC_MSG_RESULT([*********** Configuring: $PACKAGE $VERSION ($date) **********]) |
93 |
+ |
94 |
+-# Initialize the list of compilers to consider |
95 |
+-cclist="cc gcc" |
96 |
+- |
97 |
+-# Backup and reset the input CFLAGS and LDFLAGS |
98 |
+-mycflags="$CFLAGS" |
99 |
+-CFLAGS="" |
100 |
+-myldflags="$LDFLAGS" |
101 |
+-LDFLAGS="" |
102 |
+- |
103 |
+-# Provide special option for the Linux Intel C compiler |
104 |
+-AC_MSG_CHECKING([for Linux Intel C compiler mode]) |
105 |
+-AC_ARG_ENABLE(icc, |
106 |
+- [AC_HELP_STRING([--enable-icc], |
107 |
+- [Enable special mode for compilation with the Intel compiler \ |
108 |
+-(off by default)])], |
109 |
+- use_icc="yes" |
110 |
+- cclist="icc $cclist" |
111 |
+- AC_MSG_RESULT([yes]), |
112 |
+- use_icc="no" |
113 |
+- AC_MSG_RESULT([no])) |
114 |
+- |
115 |
+-# Checks for programs. |
116 |
+-# GCC is chosen last because it is likely to yield less optimized code |
117 |
+-AC_PROG_CC([$cclist]) |
118 |
+ # C Compiler: Check that it is ANSI C |
119 |
+ AM_PROG_CC_STDC |
120 |
+ # C Compiler: Check that it is POSIX-compliant |
121 |
+ AC_ISC_POSIX |
122 |
+-ACX_PROG_CC_OPTIM |
123 |
+ AC_PROG_AWK |
124 |
+ AC_PROG_INSTALL |
125 |
+ AC_PROG_RANLIB |
126 |
+@@ -107,19 +81,9 @@ |
127 |
+ |
128 |
+ # Link with gprof option |
129 |
+ if test "$use_gprof" = "yes"; then |
130 |
+- if test "$use_icc" = "yes"; then |
131 |
+- CFLAGS="$CFLAGS -pq" |
132 |
+- else |
133 |
+- CFLAGS="$CFLAGS -pg" |
134 |
+- fi |
135 |
+ use_static="no" |
136 |
+ fi |
137 |
+ |
138 |
+-# Static linking option |
139 |
+-if test "$use_static" = "yes"; then |
140 |
+- LDFLAGS="-static -shared-libgcc $LDFLAGS" |
141 |
+-fi |
142 |
+- |
143 |
+ # Override automatic CFLAGS and LDFLAGS with those of user |
144 |
+ #if test -n "$mycflags"; then |
145 |
+ #CFLAGS="$mycflags" |
146 |
|
147 |
diff --git a/sci-astronomy/stiff/metadata.xml b/sci-astronomy/stiff/metadata.xml |
148 |
new file mode 100644 |
149 |
index 0000000..320c9fe |
150 |
--- /dev/null |
151 |
+++ b/sci-astronomy/stiff/metadata.xml |
152 |
@@ -0,0 +1,10 @@ |
153 |
+<?xml version="1.0" encoding="UTF-8"?> |
154 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
155 |
+<pkgmetadata> |
156 |
+<herd>sci-astronomy</herd> |
157 |
+<longdescription lang="en"> |
158 |
+ STIFF is a program that convert scientific FITS images to the |
159 |
+ more popular TIFF, in 8 (grayscale) or 24 (true colour: 3 times 8) bits per |
160 |
+ pixel. |
161 |
+</longdescription> |
162 |
+</pkgmetadata> |
163 |
|
164 |
diff --git a/sci-astronomy/stiff/stiff-9999.ebuild b/sci-astronomy/stiff/stiff-9999.ebuild |
165 |
new file mode 100644 |
166 |
index 0000000..961d68b |
167 |
--- /dev/null |
168 |
+++ b/sci-astronomy/stiff/stiff-9999.ebuild |
169 |
@@ -0,0 +1,43 @@ |
170 |
+# Copyright 1999-2012 Gentoo Foundation |
171 |
+# Distributed under the terms of the GNU General Public License v2 |
172 |
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/stiff/stiff-2.1.3.ebuild,v 1.1 2011/04/10 14:45:35 bicatali Exp $ |
173 |
+ |
174 |
+EAPI=4 |
175 |
+ |
176 |
+ |
177 |
+if [[ ${PV} == "9999" ]] ; then |
178 |
+ _SVN=subversion |
179 |
+ ESVN_REPO_URI="https://astromatic.net/pubsvn/software/${PN}/trunk" |
180 |
+ SRC_URI="" |
181 |
+ KEYWORDS="" |
182 |
+else |
183 |
+ SRC_URI="http://www.astromatic.net/download/${PN}/${P}.tar.gz" |
184 |
+ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
185 |
+fi |
186 |
+ |
187 |
+inherit ${_SVN} autotools |
188 |
+ |
189 |
+DESCRIPTION="Converts astronomical FITS images to the TIFF format" |
190 |
+HOMEPAGE="http://astromatic.iap.fr/software/stiff" |
191 |
+ |
192 |
+LICENSE="GPL-3" |
193 |
+SLOT="0" |
194 |
+IUSE="doc threads" |
195 |
+ |
196 |
+RDEPEND="media-libs/tiff |
197 |
+ virtual/jpeg |
198 |
+ sys-libs/zlib" |
199 |
+DEPEND="${RDEPEND}" |
200 |
+ |
201 |
+src_prepare() { |
202 |
+ eautoreconf |
203 |
+} |
204 |
+ |
205 |
+src_configure() { |
206 |
+ econf $(use_enable threads) |
207 |
+} |
208 |
+ |
209 |
+src_install () { |
210 |
+ default |
211 |
+ use doc && dodoc doc/* |
212 |
+} |