A "gnuplot" which also does data processing (interpolation!). Has been in my home repo for 10 months without complains. But now somebody from the Max-Planck Institut für Intelligente Systeme asked for a 12.3 version. Seeing there is an interest, the science repo seems to be the best place for it. OBS-URL: https://build.opensuse.org/request/show/207767 OBS-URL: https://build.opensuse.org/package/show/science/pyxplot?expand=0&rev=1
29 lines
1.2 KiB
Diff
29 lines
1.2 KiB
Diff
Index: configure
|
|
===================================================================
|
|
--- configure.orig
|
|
+++ configure
|
|
@@ -89,7 +89,7 @@ fi
|
|
# 13. CHECK TO SEE WHETHER THIS SYSTEM HAS CFITSIO HEADERS
|
|
|
|
echo $ECHO_N "Checking for libcfitsio-dev ............. $ECHO_C"
|
|
-if printf '#include <fitsio.h>\nint main() { return 0; }\n' | gcc -x c - -o conf.out > conf.stdout 2> conf.stderr
|
|
+if printf '#include <fitsio.h>\nint main() { return 0; }\n' | gcc $(pkg-config --cflags cfitsio) -x c - -o conf.out > conf.stdout 2> conf.stderr
|
|
then
|
|
rm -f conf.*
|
|
echo "YES"
|
|
Index: Makefile.skel
|
|
===================================================================
|
|
--- Makefile.skel.orig
|
|
+++ Makefile.skel
|
|
@@ -41,8 +41,8 @@ VERSION_MIN = 9
|
|
VERSION_REV = 2
|
|
DATE = 19/09/2012
|
|
|
|
-COMPILE = $(CC) -Wall -g `xml2-config --cflags` `gsl-config --cflags` -c -I $(CWD)/src
|
|
-LIBS = $(LINK_FFTW) `xml2-config --libs` `gsl-config --libs` $(LINK_READLINE) -lz -lpng $(LINK_KPATHSEA) -lm
|
|
+COMPILE = $(CC) -Wall -g `xml2-config --cflags` `gsl-config --cflags` `pkg-config --cflags cfitsio` -c -I $(CWD)/src
|
|
+LIBS = $(LINK_FFTW) `xml2-config --libs` `gsl-config --libs` `pkg-config --libs cfitsio` $(LINK_READLINE) -lz -lpng $(LINK_KPATHSEA) -lm
|
|
LINK = $(CC) -Wall -g
|
|
|
|
OPTIMISATION = -O2
|