Skip to content

Commit

Permalink
swarp-2.38.0 (untested)
Browse files Browse the repository at this point in the history
  • Loading branch information
fd00 committed Mar 5, 2016
1 parent 157a7ec commit 2d959bc
Show file tree
Hide file tree
Showing 3 changed files with 126 additions and 0 deletions.
63 changes: 63 additions & 0 deletions swarp/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
swarp
------------------------------------------
SWarp is a program that resamples and co-adds together FITS images using any
arbitrary astrometric projection defined in the WCS standard.

Runtime requirements:
cygwin-2.4.1-1

Build requirements:
(besides corresponding -devel packages)
autoconf-13-1
automake-9-1
binutils-2.25-4
cygport-0.20.2-1
gcc-core-5.3.0-3
libtool-2.4.6-3
make-4.1-1

Canonical website:
http://www.astromatic.net/software/swarp

Canonical download:
http://www.astromatic.net/download/swarp/swarp-2.38.0.tar.gz

-------------------------------------------

Build instructions:
1. unpack swarp-2.38.0-X-src.tar.xz
2. if you use setup to install this src package,
it will be unpacked under /usr/src automatically
% cd /usr/src
% cygport ./swarp-2.38.0-X.cygport all

This will create:
/usr/src/swarp-2.38.0-X-src.tar.xz
/usr/src/swarp-2.38.0-X.tar.xz

-------------------------------------------

Files included in the binary package:

(swarp)
/usr/bin/swarp.exe
/usr/share/doc/Cygwin/swarp.README
/usr/share/doc/swarp/AUTHORS
/usr/share/doc/swarp/BUGS
/usr/share/doc/swarp/COPYRIGHT
/usr/share/doc/swarp/ChangeLog
/usr/share/doc/swarp/HISTORY
/usr/share/doc/swarp/LICENSE
/usr/share/doc/swarp/README
/usr/share/doc/swarp/THANKS
/usr/share/doc/swarp/TODO
/usr/share/man/man1/swarp.1.gz
/usr/share/man/manx/swarp.x.gz
/usr/share/swarp/swarp.xsl

------------------

Port Notes:

----- version 2.38.0-1bl1 -----
Initial release by fd0 <https://github.com/fd00/>
11 changes: 11 additions & 0 deletions swarp/swarp-2.38.0-1bl1.cygport
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
HOMEPAGE="http://www.astromatic.net/software/${PN}"
SRC_URI="http://www.astromatic.net/download/${PN}/${P}.tar.gz"

CATEGORY="Science"
SUMMARY="Resample and coadd astronomical FITS images"
DESCRIPTION="SWarp is a program that resamples and co-adds together FITS images using any
arbitrary astrometric projection defined in the WCS standard."

DIFF_EXCLUDES="
${PN}.1
"
52 changes: 52 additions & 0 deletions swarp/swarp-2.38.0-1bl1.src.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
diff -buprN -x CYGWIN-PATCHES -x aclocal.m4~ -x aclocal.m4t -x autom4te.cache -x config.cache -x config.guess -x config.log -x config.status -x config.sub -x '*SlackBuild*' -x '*.egg-info' -x '*.dll' -x '*.exe' -x '*.o' -x '*.gch' -x '*.gem' -x .gitignore -x '*.jpg' -x '*.png' -x '*.qm' -x '*.svgz' -x '*.tif' -x '*.class' -x '*.jlc' -x '*.pyc' -x '*.pyo' -x '*.mo' -x '*.gmo' -x '*.orig' -x '*.rej' -x '*.spec' -x '*.temp' -x '*~' -x '*.stackdump' -x aclocal.m4 -x configure -x config.h -x '*.h.in' -x COPYING -x INSTALL -x ansi2knr.c -x ar-lib -x config-ml.in -x elisp-comp -x mdate-sh -x mkinstalldirs -x py-compile -x symlink-tree -x test-driver -x texinfo.tex -x ylwrap -x Makefile.in -x GNUmakefile.in -x makefile.in -x libtool.m4 -x ltoptions.m4 -x ltsugar.m4 -x ltversion.m4 -x lt~obsolete.m4 -x ltmain.sh -x compile -x depcomp -x install-sh -x missing -x omf.make -x xmldocs.make -x gnome-doc-utils.make -x gnome-doc-utils.m4 -x mate-doc-utils.make -x mate-doc-utils.m4 -x swarp.1 origsrc/swarp-2.38.0/configure.ac src/swarp-2.38.0/configure.ac
--- origsrc/swarp-2.38.0/configure.ac 2014-03-10 23:57:32.000000000 +0900
+++ src/swarp-2.38.0/configure.ac 2016-03-05 16:18:06.706011400 +0900
@@ -78,7 +78,7 @@ if test "$enable_auto_flags" = "yes"; th
LDFLAGS=""
ACX_PROG_CC_OPTIM
fi
-AC_PROG_RANLIB
+LT_INIT
AC_PROG_INSTALL

# Checks for libraries.
diff -buprN -x CYGWIN-PATCHES -x aclocal.m4~ -x aclocal.m4t -x autom4te.cache -x config.cache -x config.guess -x config.log -x config.status -x config.sub -x '*SlackBuild*' -x '*.egg-info' -x '*.dll' -x '*.exe' -x '*.o' -x '*.gch' -x '*.gem' -x .gitignore -x '*.jpg' -x '*.png' -x '*.qm' -x '*.svgz' -x '*.tif' -x '*.class' -x '*.jlc' -x '*.pyc' -x '*.pyo' -x '*.mo' -x '*.gmo' -x '*.orig' -x '*.rej' -x '*.spec' -x '*.temp' -x '*~' -x '*.stackdump' -x aclocal.m4 -x configure -x config.h -x '*.h.in' -x COPYING -x INSTALL -x ansi2knr.c -x ar-lib -x config-ml.in -x elisp-comp -x mdate-sh -x mkinstalldirs -x py-compile -x symlink-tree -x test-driver -x texinfo.tex -x ylwrap -x Makefile.in -x GNUmakefile.in -x makefile.in -x libtool.m4 -x ltoptions.m4 -x ltsugar.m4 -x ltversion.m4 -x lt~obsolete.m4 -x ltmain.sh -x compile -x depcomp -x install-sh -x missing -x omf.make -x xmldocs.make -x gnome-doc-utils.make -x gnome-doc-utils.m4 -x mate-doc-utils.make -x mate-doc-utils.m4 -x swarp.1 origsrc/swarp-2.38.0/src/Makefile.am src/swarp-2.38.0/src/Makefile.am
--- origsrc/swarp-2.38.0/src/Makefile.am 2013-04-05 06:44:05.000000000 +0900
+++ src/swarp-2.38.0/src/Makefile.am 2016-03-05 16:15:23.393108500 +0900
@@ -33,5 +33,5 @@ swarp_SOURCES = back.c coadd.c data.c f
globals.h header.h interpolate.h key.h misc.h \
preflist.h prefs.h projapprox.h resample.h threads.h \
types.h wcscelsys.h weight.h xml.h
-swarp_LDADD = $(srcdir)/fits/libfits.a $(srcdir)/wcs/libwcs_c.a
+swarp_LDADD = $(builddir)/fits/libfits.la $(builddir)/wcs/libwcs_c.la
DATE=`date +"%Y-%m-%d"`
diff -buprN -x CYGWIN-PATCHES -x aclocal.m4~ -x aclocal.m4t -x autom4te.cache -x config.cache -x config.guess -x config.log -x config.status -x config.sub -x '*SlackBuild*' -x '*.egg-info' -x '*.dll' -x '*.exe' -x '*.o' -x '*.gch' -x '*.gem' -x .gitignore -x '*.jpg' -x '*.png' -x '*.qm' -x '*.svgz' -x '*.tif' -x '*.class' -x '*.jlc' -x '*.pyc' -x '*.pyo' -x '*.mo' -x '*.gmo' -x '*.orig' -x '*.rej' -x '*.spec' -x '*.temp' -x '*~' -x '*.stackdump' -x aclocal.m4 -x configure -x config.h -x '*.h.in' -x COPYING -x INSTALL -x ansi2knr.c -x ar-lib -x config-ml.in -x elisp-comp -x mdate-sh -x mkinstalldirs -x py-compile -x symlink-tree -x test-driver -x texinfo.tex -x ylwrap -x Makefile.in -x GNUmakefile.in -x makefile.in -x libtool.m4 -x ltoptions.m4 -x ltsugar.m4 -x ltversion.m4 -x lt~obsolete.m4 -x ltmain.sh -x compile -x depcomp -x install-sh -x missing -x omf.make -x xmldocs.make -x gnome-doc-utils.make -x gnome-doc-utils.m4 -x mate-doc-utils.make -x mate-doc-utils.m4 -x swarp.1 origsrc/swarp-2.38.0/src/fits/Makefile.am src/swarp-2.38.0/src/fits/Makefile.am
--- origsrc/swarp-2.38.0/src/fits/Makefile.am 2010-10-25 19:31:51.000000000 +0900
+++ src/swarp-2.38.0/src/fits/Makefile.am 2016-03-05 16:15:34.871431800 +0900
@@ -27,8 +27,8 @@
#
#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

-noinst_LIBRARIES = libfits.a
-libfits_a_SOURCES = fitsbody.c fitscat.c fitscheck.c fitscleanup.c \
+noinst_LTLIBRARIES = libfits.la
+libfits_la_SOURCES = fitsbody.c fitscat.c fitscheck.c fitscleanup.c \
fitsconv.c fitshead.c fitskey.c fitsmisc.c \
fitsread.c fitstab.c fitsutil.c fitswrite.c \
fitscat_defs.h fitscat.h
diff -buprN -x CYGWIN-PATCHES -x aclocal.m4~ -x aclocal.m4t -x autom4te.cache -x config.cache -x config.guess -x config.log -x config.status -x config.sub -x '*SlackBuild*' -x '*.egg-info' -x '*.dll' -x '*.exe' -x '*.o' -x '*.gch' -x '*.gem' -x .gitignore -x '*.jpg' -x '*.png' -x '*.qm' -x '*.svgz' -x '*.tif' -x '*.class' -x '*.jlc' -x '*.pyc' -x '*.pyo' -x '*.mo' -x '*.gmo' -x '*.orig' -x '*.rej' -x '*.spec' -x '*.temp' -x '*~' -x '*.stackdump' -x aclocal.m4 -x configure -x config.h -x '*.h.in' -x COPYING -x INSTALL -x ansi2knr.c -x ar-lib -x config-ml.in -x elisp-comp -x mdate-sh -x mkinstalldirs -x py-compile -x symlink-tree -x test-driver -x texinfo.tex -x ylwrap -x Makefile.in -x GNUmakefile.in -x makefile.in -x libtool.m4 -x ltoptions.m4 -x ltsugar.m4 -x ltversion.m4 -x lt~obsolete.m4 -x ltmain.sh -x compile -x depcomp -x install-sh -x missing -x omf.make -x xmldocs.make -x gnome-doc-utils.make -x gnome-doc-utils.m4 -x mate-doc-utils.make -x mate-doc-utils.m4 -x swarp.1 origsrc/swarp-2.38.0/src/wcs/Makefile.am src/swarp-2.38.0/src/wcs/Makefile.am
--- origsrc/swarp-2.38.0/src/wcs/Makefile.am 2010-10-25 23:33:15.000000000 +0900
+++ src/swarp-2.38.0/src/wcs/Makefile.am 2016-03-05 16:15:47.227241800 +0900
@@ -29,10 +29,9 @@
#
#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

-noinst_LIBRARIES = libwcs_c.a
-libwcs_c_a_SOURCES = cel.c lin.c poly.c proj.c sph.c tnx.c wcs.c \
+noinst_LTLIBRARIES = libwcs_c.la
+libwcs_c_la_SOURCES = cel.c lin.c poly.c proj.c sph.c tnx.c wcs.c \
wcstrig.c \
cel.h lin.h poly.h proj.h sph.h tnx.h wcs.h \
wcsmath.h wcstrig.h
EXTRA_DIST = LICENSE README
-

0 comments on commit 2d959bc

Please sign in to comment.