aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSurena Fatemi <surenaftm@gmail.com>2020-02-24 22:35:20 +0330
committerSurena Fatemi <surenaftm@gmail.com>2020-02-24 22:41:04 +0330
commit2f0417995da0c21c894a003af5804b3c732a34c3 (patch)
treeb891a33a8e68bdeab391016652e725e115e777bd
parentc54642a9d2cb63181814a0bfa76b55897cbc4801 (diff)
MissFITS is now added to the template
MissFITS is package for manipulating FITS files. I added it as my first commit to the project for educational purposes.
-rw-r--r--reproduce/software/bibtex/missfits.tex18
-rw-r--r--reproduce/software/config/installation/checksums.conf1
-rw-r--r--reproduce/software/config/installation/versions.conf1
-rw-r--r--reproduce/software/make/high-level.mk7
-rwxr-xr-xreproduce/software/shell/configure.sh2
5 files changed, 28 insertions, 1 deletions
diff --git a/reproduce/software/bibtex/missfits.tex b/reproduce/software/bibtex/missfits.tex
new file mode 100644
index 0000000..85a1645
--- /dev/null
+++ b/reproduce/software/bibtex/missfits.tex
@@ -0,0 +1,18 @@
+%% Copyright (C) 2020 Surena Fatemi <surena.fatemi@ipm.ir>
+%%
+%% Copying and distribution of this file, with or without modification,
+%% are permitted in any medium without royalty provided the copyright
+%% notice and this notice are preserved. This file is offered as-is,
+%% without any warranty.
+
+@ARTICLE{missfits,
+ author = {{Marmo}, C. and {Bertin}, E.},
+ title = "{MissFITS and WeightWatcher: Two Optimised Tools for Managing FITS Data.}",
+ journal = {Astronomical Data Analysis Software and Systems XVII},
+ year = 2008,
+ volume = {394},
+ series = {Astronomical Society of the Pacific Conference Series},
+ pages = {619},
+ adsurl = {https://ui.adsabs.harvard.edu/abs/2008ASPC..394..619M},
+ adsnote = {Provided by the SAO/NASA Astrophysics Data System}
+} \ No newline at end of file
diff --git a/reproduce/software/config/installation/checksums.conf b/reproduce/software/config/installation/checksums.conf
index c9141f6..bc42495 100644
--- a/reproduce/software/config/installation/checksums.conf
+++ b/reproduce/software/config/installation/checksums.conf
@@ -111,6 +111,7 @@ libtiff-checksum = d213e5db09fd56b8977b187c5a756f60d6e3e998be172550c2892dbdb4b2a
libtirpc-checksum = 392f391f9fc1bd68d81dc44e4058831a64b32790b5c8c37338b0ab416fad2ae4d16389e632596734dba09780347918cc65c6f134e0c1afd09e81ec250785ed23
libxml2-checksum = cb7784ba4e72e942614e12e4f83f4ceb275f3d738b30e3b5c1f25edf8e9fa6789e854685974eed95b362049dbf6c8e7357e0327d64c681ed390534ac154e6810
minizip-checksum = 56b5443f79d1a0a5f563a563f7b1c27b0b0fc5ba5b37248367b204a89a9373df7d12ea802c678f3f39c987d5f1766003eac3dd31b643773afa4463a3f6406628
+missfits-checksum = 32727f5eb30573a1cedacb8900e2536867e4815059eee32e64e3db65be9291b8a91b9f45b2c9f3cf6fc2a8cc448012ea3d502bdd9dee516008e17d5086aee795
netpbm-checksum = 064720f8a9d0a502488e1af4daecdbf3936910996507ca6f311073a0ad842346692a148eb1ddf7b717f7b108f60500246cb4b83f4d3665f5fc285a84ae1d63d6
openblas-checksum = 91b3074eb922453bf843158b4281cde65db9e8bbdd7590e75e9e6cdcb486157f7973f2936f327bb3eb4f1702ce0ba51ae6729d8d4baf2d986c50771e8f696df0
openmpi-checksum = 760716974cb6b25ad820184622e1ee7926bc6fda87db6b574f76792bc1ca99522e52195866c14b7cb2df5a4981efdaf9f71d2c5533cc0e8e45c2c4b3b74cbacc
diff --git a/reproduce/software/config/installation/versions.conf b/reproduce/software/config/installation/versions.conf
index acbba0e..84aa93b 100644
--- a/reproduce/software/config/installation/versions.conf
+++ b/reproduce/software/config/installation/versions.conf
@@ -108,6 +108,7 @@ libtiff-version = 4.0.10
libtirpc-version = 1.1.4
libxml2-version = 2.9.9
minizip-version = 2.9.2
+missfits-version = 2.8.0
openblas-version = 0.3.5
openmpi-version = 4.0.1
openssh-version = 8.0p1
diff --git a/reproduce/software/make/high-level.mk b/reproduce/software/make/high-level.mk
index a83108e..655eb9d 100644
--- a/reproduce/software/make/high-level.mk
+++ b/reproduce/software/make/high-level.mk
@@ -185,6 +185,7 @@ tarballs = $(foreach t, apachelog4cxx-$(apachelog4cxx-version).tar.lz \
libtirpc-$(libtirpc-version).tar.bz2 \
libxml2-$(libxml2-version).tar.gz \
minizip-$(minizip-version).tar.gz \
+ missfits-$(missfits-version).tar.gz \
netpbm-$(netpbm-version).tar.gz \
openblas-$(openblas-version).tar.gz \
openmpi-$(openmpi-version).tar.gz \
@@ -285,6 +286,7 @@ $(tarballs): $(tdir)/%: | $(lockdir)
mergenames=0
c=$(minizip-checksum);
w=https://github.com/nmoinvaz/minizip/archive/$(minizip-version).tar.gz
+ elif [ $$n = missfits ]; then c=$(missfits-checksum); w=https://www.astromatic.net/download/missfits
elif [ $$n = netpbm ]; then c=$(netpbm-checksum); w=http://akhlaghi.org/reproduce-software
elif [ $$n = openblas ]; then
mergenames=0
@@ -1039,6 +1041,11 @@ $(ibidir)/minizip: $(ibidir)/cmake \
$(call cbuild, minizip-$(minizip-version), static) \
&& echo "minizip $(minizip-version)" > $@
+$(ibidir)/missfits: | $(tdir)/missfits-$(missfits-version).tar.gz
+ $(call gbuild, missfits-$(missfits-version), static) \
+ && cp $(dtexdir)/missfits.tex $(ictdir)/ \
+ && echo "MissFITS $(missfits-version) \citep{missfits}" > $@
+
# Netpbm is a prerequisite of Astrometry-net, it contains a lot of programs.
# This program has a crazy dialogue installation which is override using the
# printf statment. Each `\n' is a new question that the installation process
diff --git a/reproduce/software/shell/configure.sh b/reproduce/software/shell/configure.sh
index 7b3d939..ca95a92 100755
--- a/reproduce/software/shell/configure.sh
+++ b/reproduce/software/shell/configure.sh
@@ -1045,7 +1045,7 @@ fi
-# inform the user that the build process is starting
+# Inform the user that the build process is starting
# -------------------------------------------------
if [ $printnotice = yes ]; then
tsec=10