diff --git a/index.html b/index.html index b3560868..39b4cf79 100644 --- a/index.html +++ b/index.html @@ -1338,6 +1338,16 @@ USE_OSGPLUGIN(<plugin2>) 1.5.0 libgcrypt + + libgda + 4.2.13 + libgda + + + libgdamm + 4.1.3 + libgdamm + libgee 0.5.0 @@ -1553,6 +1563,11 @@ USE_OSGPLUGIN(<plugin2>) 1.3.4 matio + + mdbtools + 0.6pre1 + mdbtools + mingw-utils 0.4-1 diff --git a/src/libgda.mk b/src/libgda.mk new file mode 100644 index 00000000..d13d24d8 --- /dev/null +++ b/src/libgda.mk @@ -0,0 +1,34 @@ +# This file is part of MXE. +# See index.html for further information. + +# LibGDA +PKG := libgda +$(PKG)_IGNORE := +$(PKG)_CHECKSUM := 61d0b498202b780750633cc2e957c40325d6c705 +$(PKG)_SUBDIR := libgda-$($(PKG)_VERSION) +$(PKG)_FILE := libgda-$($(PKG)_VERSION).tar.xz +$(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/libgda/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE) +$(PKG)_DEPS := gcc glib libxml2 mdbtools postgresql + +define $(PKG)_UPDATE + echo 'TODO: Updates for package libgda need to be fixed.' >&2; + echo $(libgda_VERSION) +endef + +define $(PKG)_BUILD + cd '$(1)' && ./configure \ + --host='$(TARGET)' \ + --prefix='$(PREFIX)/$(TARGET)' \ + --disable-shared \ + --disable-gtk-doc \ + --without-bdb \ + --with-mdb \ + --without-oracle \ + --without-mysql \ + --without-firebird \ + --without-java \ + --enable-binreloc \ + --disable-crypto + $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= + $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= +endef diff --git a/src/libgdamm.mk b/src/libgdamm.mk new file mode 100644 index 00000000..e2e3d308 --- /dev/null +++ b/src/libgdamm.mk @@ -0,0 +1,28 @@ +# This file is part of MXE. +# See index.html for further information. + +# libgdamm +PKG := libgdamm +$(PKG)_IGNORE := +$(PKG)_CHECKSUM := f6126d7b46720e3ea4f3d49e03add2e52da233be +$(PKG)_SUBDIR := libgdamm-$($(PKG)_VERSION) +$(PKG)_FILE := libgdamm-$($(PKG)_VERSION).tar.xz +$(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/libgdamm/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE) +$(PKG)_DEPS := gcc libgda glibmm + +define $(PKG)_UPDATE + echo 'TODO: Updates for package libgdamm need to be fixed.' >&2; + echo $(libgdamm_VERSION) +endef + +define $(PKG)_BUILD + cd '$(1)' && ./configure \ + --host='$(TARGET)' \ + --build="`config.guess`" \ + --disable-shared \ + --prefix='$(PREFIX)/$(TARGET)' \ + CXX='$(TARGET)-c++' \ + PKG_CONFIG='$(PREFIX)/bin/$(TARGET)-pkg-config' \ + MAKE=$(MAKE) + $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= +endef diff --git a/src/mdbtools-1-header.patch b/src/mdbtools-1-header.patch new file mode 100644 index 00000000..90874c58 --- /dev/null +++ b/src/mdbtools-1-header.patch @@ -0,0 +1,15 @@ +This file is part of MXE. +See index.html for further information. + +diff -ur mdbtools-0.6pre1-orig//include/mdbtools.h mdbtools-0.6pre1//include/mdbtools.h +--- mdbtools-0.6pre1-orig//include/mdbtools.h 2011-06-01 00:07:12.336088034 +0900 ++++ mdbtools-0.6pre1//include/mdbtools.h 2011-06-01 00:10:51.536088143 +0900 +@@ -147,7 +147,7 @@ + #define IS_JET3(mdb) (mdb->f->jet_version==MDB_VER_JET3) + + /* hash to store registered backends */ +-extern GHashTable *mdb_backends; ++static GHashTable *mdb_backends; + + /* forward declarations */ + typedef struct mdbindex MdbIndex; diff --git a/src/mdbtools.mk b/src/mdbtools.mk new file mode 100644 index 00000000..a6082b64 --- /dev/null +++ b/src/mdbtools.mk @@ -0,0 +1,26 @@ +# This file is part of MXE. +# See index.html for further information. + +# mdbtools +PKG := mdbtools +$(PKG)_IGNORE := +$(PKG)_CHECKSUM := 37a50d623a444ec690d2677b12b59c2f11e497c0 +$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) +$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz +$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE) +$(PKG)_DEPS := gcc glib + +define $(PKG)_UPDATE + wget -q -O- 'http://sourceforge.net/projects/mdbtools/files/mdbtools/' | \ + $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \ + head -1 +endef + +define $(PKG)_BUILD + cd '$(1)' && ./configure \ + --host='$(TARGET)' \ + --disable-shared \ + --prefix='$(PREFIX)/$(TARGET)' \ + PKG_CONFIG='$(PREFIX)/bin/$(TARGET)-pkg-config' + $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= html_DATA= +endef