mirror of https://git.wownero.com/dsc/mxe.git
add packages cfitsio and lensfun
This commit is contained in:
parent
b4fad93dd4
commit
71ca588308
10
index.html
10
index.html
|
@ -1018,6 +1018,11 @@ aptitude -t squeeze-backports install cmake yasm</pre>
|
|||
<td id="cblas-version">1</td>
|
||||
<td id="cblas-website"><a href="http://www.netlib.org/blas/">cblas</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id="cfitsio-package">cfitsio</td>
|
||||
<td id="cfitsio-version">3340</td>
|
||||
<td id="cfitsio-website"><a href="http://heasarc.gsfc.nasa.gov/fitsio/">cfitsio</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id="cgal-package">cgal</td>
|
||||
<td id="cgal-version">4.0.2</td>
|
||||
|
@ -1378,6 +1383,11 @@ aptitude -t squeeze-backports install cmake yasm</pre>
|
|||
<td id="lcms1-version">1.19</td>
|
||||
<td id="lcms1-website"><a href="http://www.littlecms.com/">lcms1</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id="lensfun-package">lensfun</td>
|
||||
<td id="lensfun-version">0.2.7</td>
|
||||
<td id="lensfun-website"><a href="http://lensfun.berlios.de/">lensfun</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id="levmar-package">levmar</td>
|
||||
<td id="levmar-version">2.6</td>
|
||||
|
|
|
@ -0,0 +1,21 @@
|
|||
# This file is part of MXE.
|
||||
# See index.html for further information.
|
||||
|
||||
PKG := cfitsio
|
||||
$(PKG)_IGNORE :=
|
||||
$(PKG)_CHECKSUM := 9b6f61bbc0528662134d05f9d84dfe88db9df9b2
|
||||
$(PKG)_SUBDIR := cfitsio
|
||||
$(PKG)_FILE := cfitsio$($(PKG)_VERSION).tar.gz
|
||||
$(PKG)_URL := http://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/$($(PKG)_FILE)
|
||||
$(PKG)_DEPS := gcc
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
endef
|
||||
|
||||
define $(PKG)_BUILD
|
||||
cd '$(1)' && ./configure \
|
||||
--host='$(TARGET)' \
|
||||
--prefix='$(PREFIX)/$(TARGET)'
|
||||
$(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
|
||||
$(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
|
||||
endef
|
|
@ -0,0 +1,36 @@
|
|||
This file is part of MXE.
|
||||
See index.html for further information.
|
||||
|
||||
This patch has been taken from:
|
||||
http://developer.berlios.de/patch/?func=detailpatch&patch_id=3443&group_id=9034
|
||||
|
||||
diff -ur lensfun-0.2.7.orig/libs/lensfun/lensfun.mak lensfun-0.2.7/libs/lensfun/lensfun.mak
|
||||
--- lensfun-0.2.7.orig/libs/lensfun/lensfun.mak 2010-06-21 10:16:59.000000000 +0200
|
||||
+++ lensfun-0.2.7/libs/lensfun/lensfun.mak 2013-03-19 16:40:39.204093479 +0100
|
||||
@@ -22,4 +22,4 @@
|
||||
TARGETS.lensfun-pc = lensfun.pc
|
||||
SRC.lensfun.pc := $(wildcard libs/lensfun/*.pc.in) config.mak
|
||||
INSTALL.TARGETS += lensfun-pc
|
||||
-PKGCONFIG.SED.lensfun-pc = -e "s,@CONF_LENSFUN_STATIC@,$(if $(SHAREDLIBS),,-DCONF_LENSFUN_STATIC),g"
|
||||
+PKGCONFIG.SED.lensfun-pc = -e "s,@NEED_REGEX@,$(if $(NEED_REGEX),-lregex,),g" -e "s,@CONF_LENSFUN_STATIC@,$(if $(SHAREDLIBS),,-DCONF_LENSFUN_STATIC),g"
|
||||
diff -ur lensfun-0.2.7.orig/libs/lensfun/lensfun.pc.in lensfun-0.2.7/libs/lensfun/lensfun.pc.in
|
||||
--- lensfun-0.2.7.orig/libs/lensfun/lensfun.pc.in 2010-06-21 10:16:59.000000000 +0200
|
||||
+++ lensfun-0.2.7/libs/lensfun/lensfun.pc.in 2013-03-19 16:40:39.204093479 +0100
|
||||
@@ -2,5 +2,5 @@
|
||||
Description: A photographic lens database and access library
|
||||
Version: @CONF_VERSION@
|
||||
Requires: glib-2.0
|
||||
-Libs: -L@CONF_LIBDIR@ -llensfun
|
||||
+Libs: -L@CONF_LIBDIR@ -llensfun @NEED_REGEX@
|
||||
Cflags: -I@CONF_INCLUDEDIR@ @CONF_LENSFUN_STATIC@
|
||||
diff -ur lensfun-0.2.7.orig/libs/regex/regex.mak lensfun-0.2.7/libs/regex/regex.mak
|
||||
--- lensfun-0.2.7.orig/libs/regex/regex.mak 2010-03-24 23:47:25.000000000 +0100
|
||||
+++ lensfun-0.2.7/libs/regex/regex.mak 2013-03-19 16:40:39.204093479 +0100
|
||||
@@ -7,6 +7,7 @@
|
||||
SRC.regex$L := $(wildcard libs/regex/*.c)
|
||||
CFLAGS.regex$L = -DHAVE_SYS_TYPES_H -DTRE_REGEX_T_FIELD=value \
|
||||
-DTRE_VERSION="0" -Dinline=
|
||||
+INSTALL.TARGETS += regex
|
||||
|
||||
ifeq ($(TOOLKIT),GCC)
|
||||
CFLAGS.regex$L += -Wno-unused-function
|
|
@ -0,0 +1,28 @@
|
|||
# This file is part of MXE.
|
||||
# See index.html for further information.
|
||||
|
||||
PKG := lensfun
|
||||
$(PKG)_IGNORE :=
|
||||
$(PKG)_CHECKSUM := f26121093dfee85d6371c2c79dae22e6d1b8d0d6
|
||||
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
|
||||
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2
|
||||
$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/lensfun.berlios/$($(PKG)_FILE)
|
||||
$(PKG)_DEPS := gcc libpng glib
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
endef
|
||||
|
||||
define $(PKG)_BUILD
|
||||
cd '$(1)' && \
|
||||
TKP='$(TARGET)-' \
|
||||
./configure \
|
||||
--prefix='$(PREFIX)/$(TARGET)' \
|
||||
--sdkdir='$(PREFIX)/$(TARGET)' \
|
||||
--compiler=gcc \
|
||||
--target=windows.x86 \
|
||||
--mode=release \
|
||||
--vectorization= \
|
||||
--staticlibs=YES
|
||||
$(MAKE) -C '$(1)' -j '$(JOBS)' libs bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
|
||||
$(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
|
||||
endef
|
Loading…
Reference in New Issue