Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Debian Astro Team
astrometry.net
Commits
22d448ee
Commit
22d448ee
authored
Jan 19, 2021
by
Ole Streicher
Browse files
Rediff patches
Drop Use-correct-source-extractor-program-name-instead-of-sex.patch: <REASON>
parent
75763e28
Changes
10
Hide whitespace changes
Inline
Side-by-side
debian/patches/Add-SONAME-to-libastrometry.so.patch
View file @
22d448ee
...
...
@@ -3,14 +3,14 @@ Date: Thu, 1 Dec 2016 21:18:56 +0100
Subject: Add SONAME to libastrometry.so
---
blind
/Makefile | 7 ++++---
solver
/Makefile | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/
blind
/Makefile b/
blind
/Makefile
index
b500716..4004a58
100644
--- a/
blind
/Makefile
+++ b/
blind
/Makefile
@@ -1
5
2,7 +1
5
2,8 @@
$(ENGINE_LIB): $(ENGINE_OBJS)
diff --git a/
solver
/Makefile b/
solver
/Makefile
index
5e1bd09..2b9f0ac
100644
--- a/
solver
/Makefile
+++ b/
solver
/Makefile
@@ -12
8
,7 +12
8
,8 @@
$(ENGINE_LIB): $(ENGINE_OBJS)
$(RANLIB) $@
$(ENGINE_SO): $(ENGINE_OBJS) $(SLIB)
...
...
@@ -19,8 +19,8 @@ index b500716..4004a58 100644
+ ln -s $@.0 $@
# old and miscellaneous executables that aren't part of the pipeline.
OLDEXECS :=
plotquads rawstartree
checkquads
@@ -
236
,8 +2
37
,8 @@
install: $(INSTALL_EXECS) $(INSTALL_LIB)
OLDEXECS := checkquads
@@ -
199
,8 +2
00
,8 @@
install: $(INSTALL_EXECS) $(INSTALL_LIB)
done
$(MKDIR) '$(LIB_INSTALL_DIR)'
@for x in $(INSTALL_LIB); do \
...
...
debian/patches/Call-python-scripts-as-modules-instead-of-executables.patch
View file @
22d448ee
...
...
@@ -6,14 +6,14 @@ In Debian, the python scripts are not installed in /usr/bin, but are
only accessible as modules. Therefore, we need to replace the direct
call of the script by "python -m astrometry.$(MODULE)".
---
blind
/augment-xylist.c | 12 +++++++++---
util/image2pnm.py | 2 +-
solver
/augment-xylist.c | 12 +++++++++---
util/image2pnm.py
| 2 +-
2 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/
blind
/augment-xylist.c b/
blind
/augment-xylist.c
index
997b28c..0da65dd
100644
--- a/
blind
/augment-xylist.c
+++ b/
blind
/augment-xylist.c
diff --git a/
solver
/augment-xylist.c b/
solver
/augment-xylist.c
index
2b2458b..14c125b
100644
--- a/
solver
/augment-xylist.c
+++ b/
solver
/augment-xylist.c
@@ -727,7 +727,9 @@
int augment_xylist(augment_xylist_t* axy,
sl_append_nocopy(tempfiles, pnmfn);
}
...
...
debian/patches/Don-t-copy-demo-files-to-examples.patch
View file @
22d448ee
...
...
@@ -7,10 +7,10 @@ Subject: Don't copy demo files to examples
1 file changed, 1 deletion(-)
diff --git a/Makefile b/Makefile
index
8b7bba3..d6f3c9
4 100644
index
c9a5d04..8230e4
4 100644
--- a/Makefile
+++ b/Makefile
@@ -15
2
,7 +15
2
,6 @@
install-core:
@@ -15
7
,7 +15
7
,6 @@
install-core:
$(MKDIR) '$(MAN1_INSTALL_DIR)'
$(CP) __init__.py '$(PY_BASE_INSTALL_DIR)'
$(CP) CREDITS LICENSE README.md report.txt '$(DOC_INSTALL_DIR)'
...
...
debian/patches/Don-t-fail-on-rm-during-make-clean.patch
View file @
22d448ee
...
...
@@ -7,10 +7,10 @@ Subject: Don't fail during 'make clean'
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index
3aaa6a6..8b7bba3
100644
index
ea20f78..c9a5d04
100644
--- a/Makefile
+++ b/Makefile
@@ -3
39
,9 +3
39
,7 @@
clean:
@@ -3
45
,9 +3
45
,7 @@
clean:
$(MAKE) -C util clean
$(MAKE) -C catalogs clean
-$(MAKE) -C qfits-an clean
...
...
@@ -19,5 +19,5 @@ index 3aaa6a6..8b7bba3 100644
- -rm gsl-an/config.h
+ -rm -f __init__.pyc
$(MAKE) -C libkd clean
$(MAKE) -C
blind
clean
$(MAKE) -C
solver
clean
$(MAKE) -C sdss clean
debian/patches/Dynamically-link-to-libastrometry.so-when-possible.patch
View file @
22d448ee
...
...
@@ -3,16 +3,30 @@ Date: Thu, 1 Dec 2016 21:18:56 +0100
Subject: Dynamically link to libastrometry.so, when possible
---
b
li
n
d/Makefile |
10 ++++----
--
libkd
/Makefile |
3 +
--
util/Makefile | 8 +++-----
li
bk
d/Makefile
|
3 +
--
solver
/Makefile |
10 ++++----
--
util/Makefile
| 8 +++-----
3 files changed, 8 insertions(+), 13 deletions(-)
diff --git a/blind/Makefile b/blind/Makefile
index 4004a58..f1231c9 100644
--- a/blind/Makefile
+++ b/blind/Makefile
@@ -49,9 +49,7 @@
LDFLAGS := $(LDFLAGS_DEF)
diff --git a/libkd/Makefile b/libkd/Makefile
index f535986..0442518 100644
--- a/libkd/Makefile
+++ b/libkd/Makefile
@@ -90,8 +90,7 @@
py: pyspherematch
PYSPHEREMATCH_OBJ := pyspherematch.o
spherematch_c$(PYTHON_SO_EXT): pyspherematch.c setup.py $(SLIB)
- LDFLAGS="$(LDFLAGS)" LDLIBS="$(LDLIBS)" \
- SLIB="$(SLIB)" \
+ LDFLAGS="$(LDFLAGS)" LDLIBS="-L../solver -lastrometry" \
INC="$(INC)" \
CFLAGS="$(CFLAGS)" \
$(PYTHON) setup.py build_ext --inplace --force --build-temp .
diff --git a/solver/Makefile b/solver/Makefile
index 2b9f0ac..06d50b0 100644
--- a/solver/Makefile
+++ b/solver/Makefile
@@ -39,9 +39,7 @@
LDFLAGS := $(LDFLAGS_DEF)
LDLIBS := $(LDLIBS_DEF)
LDLIBS += $(ANFILES_LIB)
...
...
@@ -21,9 +35,9 @@ index 4004a58..f1231c9 100644
-SLIB += $(ANFILES_SLIB)
+SLIB := $(ENGINE_SO)
C
AIRO_SLIB := $(COMMON)/cairoutils.o
C
AIRO_SLIB += $(SLIB
)
@@ -1
35
,7 +1
33
,7 @@
ENGINE_OBJS += new-wcs.o fits-guess-scale.o cut-table.o \
C
FLAGS += $(CFLAGS_DEF)
C
FLAGS += $(CATS_INC
)
@@ -1
16
,7 +1
14
,7 @@
ENGINE_OBJS += new-wcs.o fits-guess-scale.o cut-table.o \
resort-xylist.o
BUILD_INDEX_OBJS := build-index.o uniformize-catalog.o startree.o hpquads.o \
...
...
@@ -32,7 +46,7 @@ index 4004a58..f1231c9 100644
unpermute-quads.o merge-index.o
ENGINE_OBJS += $(BUILD_INDEX_OBJS)
@@ -1
51
,8 +1
49
,8 @@
$(ENGINE_LIB): $(ENGINE_OBJS)
@@ -1
27
,8 +1
25
,8 @@
$(ENGINE_LIB): $(ENGINE_OBJS)
$(AR) rc $@ $(ENGINE_OBJS)
$(RANLIB) $@
...
...
@@ -43,26 +57,12 @@ index 4004a58..f1231c9 100644
ln -s $@.0 $@
# old and miscellaneous executables that aren't part of the pipeline.
diff --git a/libkd/Makefile b/libkd/Makefile
index f535986..0442518 100644
--- a/libkd/Makefile
+++ b/libkd/Makefile
@@ -90,8 +90,7 @@
py: pyspherematch
PYSPHEREMATCH_OBJ := pyspherematch.o
spherematch_c$(PYTHON_SO_EXT): pyspherematch.c setup.py $(SLIB)
- LDFLAGS="$(LDFLAGS)" LDLIBS="$(LDLIBS)" \
- SLIB="$(SLIB)" \
+ LDFLAGS="$(LDFLAGS)" LDLIBS="-L../blind -lastrometry" \
INC="$(INC)" \
CFLAGS="$(CFLAGS)" \
$(PYTHON) setup.py build_ext --inplace --force --build-temp .
diff --git a/util/Makefile b/util/Makefile
index
aeb4e8d..5cb374a
100644
index
34c4628..58ad2c7
100644
--- a/util/Makefile
+++ b/util/Makefile
@@ -5
1
,8 +5
1
,7 @@
ANFILES_OBJ += multiindex.o index.o indexset.o \
tabsort.o wcs-xy2rd.o wcs-rd2xy.o
@@ -5
5
,8 +5
5
,7 @@
ANFILES_OBJ += multiindex.o index.o indexset.o \
tabsort.o wcs-xy2rd.o wcs-rd2xy.o
matchfile.o
ANFILES_DEPS += $(QFITS_LIB)
-ANUTILS_OBJ += fitsioutils.o sip_qfits.o fitstable.o fitsbin.o fitsfile.o \
...
...
@@ -71,7 +71,7 @@ index aeb4e8d..5cb374a 100644
ANUTILS_DEPS += $(QFITS_LIB)
endif
@@ -
97
,8 +
96
,7 @@
CFLAGS += -I.
@@ -
101
,8 +
100
,7 @@
CFLAGS += -I.
LDFLAGS += $(LDFLAGS_DEF)
...
...
@@ -81,12 +81,12 @@ index aeb4e8d..5cb374a 100644
SHAREDLIBFLAGS := $(SHAREDLIBFLAGS_DEF)
@@ -16
2
,7 +16
0
,7 @@
an-pnmtofits: an-pnmtofits.o $(ANUTILS_SLIB)
@@ -16
6
,7 +16
4
,7 @@
an-pnmtofits: an-pnmtofits.o $(ANUTILS_SLIB)
ALL_OBJ += an-pnmtofits.o
_util$(PYTHON_SO_EXT): util.i lanczos.i $(ANFILES_SLIB)
- LDFLAGS="$(LDFLAGS)" LDLIBS="$(LDLIBS)" SLIB="$(ANFILES_SLIB)" \
+ LDFLAGS="$(LDFLAGS)" LDLIBS="-L../
blind
-lastrometry" \
+ LDFLAGS="$(LDFLAGS)" LDLIBS="-L../
solver
-lastrometry" \
INC="$(ANFILES_INC)" CFLAGS="$(CFLAGS)" \
$(PYTHON) setup.py build_ext -v --inplace --build-temp .
util.py: util.i lanczos.i
debian/patches/Fix-issues-when-using-Debian-libs-instead-of-convienience.patch
View file @
22d448ee
...
...
@@ -8,10 +8,10 @@ Subject: Fix issues when using Debian libs instead of convienience copies
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/util/Makefile b/util/Makefile
index 5
cb374a..7c5fac
c 100644
index 5
8ad2c7..25c2f8
c 100644
--- a/util/Makefile
+++ b/util/Makefile
@@ -
96
,7 +
96
,7 @@
CFLAGS += -I.
@@ -
100
,7 +
100
,7 @@
CFLAGS += -I.
LDFLAGS += $(LDFLAGS_DEF)
...
...
debian/patches/Fix-shared-lib-flags-so-that-the-package-can-be-built-on-.patch
View file @
22d448ee
...
...
@@ -7,7 +7,7 @@ Subject: Fix shared lib flags so that the package can be built on s390x
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/util/makefile.common b/util/makefile.common
index
b231685..a24d2b0
100644
index
d87b750..7367c85
100644
--- a/util/makefile.common
+++ b/util/makefile.common
@@ -171,9 +171,8 @@
FLAGS_DEF += $(shell $(CCTEST))
...
...
debian/patches/Remove-errornous-generation-of-net-client.py.patch
View file @
22d448ee
...
...
@@ -7,12 +7,12 @@ Subject: Remove errornous generation of net/client.py
1 file changed, 7 deletions(-)
diff --git a/Makefile b/Makefile
index
b182939..3aaa6a6
100644
index
6991d5f..ea20f78
100644
--- a/Makefile
+++ b/Makefile
@@ -16
0
,13 +16
0
,6 @@
install-core:
@@ -16
5
,13 +16
5
,6 @@
install-core:
$(MAKE) -C qfits-an install
$(MAKE) -C
blind
install
$(MAKE) -C
solver
install
$(MAKE) -C sdss install
- $(MKDIR) -p '$(PY_BASE_INSTALL_DIR)'/net/client
- @for x in net/client/client.py; do \
...
...
debian/patches/Use-correct-source-extractor-program-name-instead-of-sex.patch
deleted
100644 → 0
View file @
75763e28
From: Ole Streicher <olebole@debian.org>
Date: Thu, 1 Dec 2016 21:18:56 +0100
Subject: Use correct "source-extractor" program name instead of "sex"
---
blind/augment-xylist.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/blind/augment-xylist.c b/blind/augment-xylist.c
index 1b41b6b..997b28c 100644
--- a/blind/augment-xylist.c
+++ b/blind/augment-xylist.c
@@ -145,8 +145,8 @@
static an_option_t options[] = {
"Note that CATALOG_NAME and CATALOG_TYPE values will be over-ridden by command-line values. "
"This option implies --use-sextractor."},
{'*', "sextractor-path", required_argument, "filename",
- "use the given path to the SExtractor executable. Default: just 'sex', assumed to be in your PATH."
- " Note that you can give command-line args here too (but put them in quotes), eg: --sextractor-path 'sex -DETECT_TYPE CCD'. "
+ "use the given path to the SourceExtractor executable. Default: 'source-extractor', assumed to be in your PATH."
+ " Note that you can give command-line args here too (but put them in quotes), eg: --sextractor-path 'sextractor -DETECT_TYPE CCD'. "
"This option implies --use-sextractor."},
{'3', "ra", required_argument, "degrees or hh:mm:ss",
"only search in indexes within 'radius' of the field center given by 'ra' and 'dec'"},
@@ -868,7 +868,7 @@
int augment_xylist(augment_xylist_t* axy,
if (axy->sextractor_path)
sl_append(cmd, axy->sextractor_path);
else
- sl_append(cmd, "sex");
+ sl_append(cmd, "source-extractor");
if (axy->sextractor_config)
sl_appendf(cmd, "-c %s", axy->sextractor_config);
debian/patches/series
View file @
22d448ee
Add-SONAME-to-libastrometry.so.patch
Use-correct-source-extractor-program-name-instead-of-sex.patch
Dynamically-link-to-libastrometry.so-when-possible.patch
Fix-issues-when-using-Debian-libs-instead-of-convienience.patch
Call-python-scripts-as-modules-instead-of-executables.patch
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment