From 709c4d66e0b107ca606941b988bad717c0b45d9b Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 17 Mar 2009 14:32:59 -0400 Subject: rename packages/ to recipes/ per earlier agreement See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko Acked-by: Mike Westerhof Acked-by: Philip Balister Acked-by: Khem Raj Acked-by: Marcin Juszkiewicz Acked-by: Koen Kooi Acked-by: Frans Meulenbroeks --- recipes/albumshaper/albumshaper_2.1.bb | 18 +++++++++++ recipes/albumshaper/files/fixpaths.patch | 53 ++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) create mode 100644 recipes/albumshaper/albumshaper_2.1.bb create mode 100644 recipes/albumshaper/files/fixpaths.patch (limited to 'recipes/albumshaper') diff --git a/recipes/albumshaper/albumshaper_2.1.bb b/recipes/albumshaper/albumshaper_2.1.bb new file mode 100644 index 0000000000..978df1eda9 --- /dev/null +++ b/recipes/albumshaper/albumshaper_2.1.bb @@ -0,0 +1,18 @@ +DESCRIPTION = "Album Shaper strives to be the most friendly, easy to use, open source application for \ +organizing, annotating, framing, enhancing, stylizing, and sharing your digital photos. \ +Album Shaper embraces open formats like XML, JPEG, and XSLT, while supporting Windows, Mac OS X, and Unix \ +users who speak a multitude of languages around the world." +HOMEPAGE = "http://albumshaper.sourceforge.net" +AUTHOR = "Will Stokes" +LICENSE = "GPL" +DEPENDS = "libxml2 libxslt jpeg" + +SRC_URI = "${SOURCEFORGE_MIRROR}/albumshaper/albumshaper_${PV}.tar.bz2 \ + file://fixpaths.patch;patch=1" +S = "${WORKDIR}/albumshaper_2.1_src" + +inherit qmake qt3x11 + +do_install() { + oe_runmake install INSTALL_ROOT="${D}" +} diff --git a/recipes/albumshaper/files/fixpaths.patch b/recipes/albumshaper/files/fixpaths.patch new file mode 100644 index 0000000000..34ca2e3804 --- /dev/null +++ b/recipes/albumshaper/files/fixpaths.patch @@ -0,0 +1,53 @@ + +# +# Patch managed by http://www.holgerschurig.de/patcher.html +# + +--- albumshaper_2.1_src/Makefile~fixpaths ++++ albumshaper_2.1_src/Makefile +@@ -1,6 +1,6 @@ + ############################################################################# + # Makefile for building: bin/AlbumShaper.bin +-# Generated by qmake (1.07a) (Qt 3.3.5) on: Tue May 9 12:09:27 2006 ++# Generated by qmake (1.07a) (Qt 3.3.5) on: Tue May 9 13:58:45 2006 + # Project: AlbumShaper.pro + # Template: app + # Command: $(QMAKE) -spec /local/pkg/oe/c7x0/tmp/staging/i686-linux/share/qmake/linux-oe-g++ -after "CONFIG+=thread" -o Makefile AlbumShaper.pro +@@ -12,14 +12,14 @@ + CXX = $(OE_QMAKE_CXX) + LEX = flex + YACC = yacc +-CFLAGS = -pipe $(OE_QMAKE_CFLAGS) $(CFLAGS_EXTRA) -Wall -W $(if $(CFLAGS_RELEASE),$(CFLAGS_RELEASE), -O2) -I/usr/include/libxml2 -I/usr/include/libxml2 -Os -D_REENTRANT -DBIN_DIR=\"/usr/bin\" -DDATA_DIR=\"/usr/share/albumshaper\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT +-CXXFLAGS = -pipe $(OE_QMAKE_CFLAGS) $(CFLAGS_EXTRA) $(OE_QMAKE_CXXFLAGS) $(CXXFLAGS_EXTRA) -Wall -W $(if $(CFLAGS_RELEASE),$(CFLAGS_RELEASE), -O2) -I/usr/include/libxml2 -I/usr/include/libxml2 -Os -D_REENTRANT -DBIN_DIR=\"/usr/bin\" -DDATA_DIR=\"/usr/share/albumshaper\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT ++CFLAGS = -pipe $(OE_QMAKE_CFLAGS) $(CFLAGS_EXTRA) -Wall -W $(if $(CFLAGS_RELEASE),$(CFLAGS_RELEASE), -O2) -I/local/pkg/oe/c7x0/tmp/staging/arm-linux/include/libxml2 -I/local/pkg/oe/c7x0/tmp/staging/arm-linux/include -I/local/pkg/oe/c7x0/tmp/staging/arm-linux/include/libxml2 -Os -D_REENTRANT -DBIN_DIR=\"/usr/bin\" -DDATA_DIR=\"/usr/share/albumshaper\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT ++CXXFLAGS = -pipe $(OE_QMAKE_CFLAGS) $(CFLAGS_EXTRA) $(OE_QMAKE_CXXFLAGS) $(CXXFLAGS_EXTRA) -Wall -W $(if $(CFLAGS_RELEASE),$(CFLAGS_RELEASE), -O2) -I/local/pkg/oe/c7x0/tmp/staging/arm-linux/include/libxml2 -I/local/pkg/oe/c7x0/tmp/staging/arm-linux/include -I/local/pkg/oe/c7x0/tmp/staging/arm-linux/include/libxml2 -Os -D_REENTRANT -DBIN_DIR=\"/usr/bin\" -DDATA_DIR=\"/usr/share/albumshaper\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT + LEXFLAGS = + YACCFLAGS= -d + INCPATH = -I/local/pkg/oe/c7x0/tmp/staging/i686-linux/share/qmake/linux-oe-g++ -I. -I$(OE_QMAKE_INCDIR_QT) -Itmp/ + LINK = $(OE_QMAKE_LINK) + LFLAGS = $(OE_QMAKE_LDFLAGS) $(LFLAGS_EXTRA) -s -Wl,-rpath-link,$(OE_QMAKE_LIBDIR_QT) +-LIBS = $(SUBLIBS) -L$(OE_QMAKE_LIBDIR_QT) $(LIBS_EXTRA) -ljpeg -L/usr/lib -lxslt -lxml2 -lz -lm -lxml2 -lz -lm -lxslt -lxml2 -ljpeg -l$(OE_QMAKE_LIBS_QT)-mt $(OE_QMAKE_LIBS_X11) -lpthread ++LIBS = $(SUBLIBS) -L$(OE_QMAKE_LIBDIR_QT) $(LIBS_EXTRA) -ljpeg -L/local/pkg/oe/c7x0/tmp/staging/arm-linux/lib -lxslt -lxml2 -lz -lm -L/local/pkg/oe/c7x0/tmp/staging/arm-linux/lib -lxml2 -lz -lm -lxslt -lxml2 -ljpeg -l$(OE_QMAKE_LIBS_QT)-mt $(OE_QMAKE_LIBS_X11) -lpthread + AR = $(OE_QMAKE_AR) cqs + RANLIB = + MOC = $(OE_QMAKE_MOC) +@@ -1377,7 +1377,7 @@ + + install_scripts: all + @$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)/usr/bin/" || $(MKDIR) "$(INSTALL_ROOT)/usr/bin/" +- cp -f bin/AlbumShaper /usr/bin/AlbumShaper; ++ cp -f bin/AlbumShaper $(INSTALL_ROOT)//usr/bin/AlbumShaper; + + + install: install_target install_images install_text install_themes install_translations install_xmlConversion install_scripts +--- albumshaper_2.1_src/AlbumShaper.pro~fixpaths ++++ albumshaper_2.1_src/AlbumShaper.pro +@@ -272,7 +272,7 @@ + + #--------- Launcher Script (Linux/FreeBSD) ------------ + !mac:unix:scripts.path = $${BIN_DIR} +-!mac:unix:scripts.commands = cp -f bin/AlbumShaper $${BIN_DIR}/AlbumShaper; ++!mac:unix:scripts.commands = cp -f bin/AlbumShaper $(INSTALL_ROOT)/$${BIN_DIR}/AlbumShaper; + + + #=========================================================================================== -- cgit 1.2.3-korg