diff options
author | Willy Sudiarto Raharjo <willysr@gmail.com> | 2012-09-20 07:36:34 +0700 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-09-19 20:26:51 -0500 |
commit | 6e99c96d477e7e19eedf658f1270868a0568d408 (patch) | |
tree | fcf3ffaa4f407fc6f8754d29d23e4d6239b9a321 /graphics/oyranos | |
parent | fc467c2bde0c9418d13778176b0e5dd0c2e04a18 (diff) | |
download | slackbuilds-6e99c96d477e7e19eedf658f1270868a0568d408.tar.gz |
graphics/oyranos: Updated for version 0.4.0.
This version also adds a new dependency on yajl.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'graphics/oyranos')
-rw-r--r-- | graphics/oyranos/configure_tests.patch | 10 | ||||
-rw-r--r-- | graphics/oyranos/makefile.in.patch | 11 | ||||
-rw-r--r-- | graphics/oyranos/oyranos.SlackBuild | 10 | ||||
-rw-r--r-- | graphics/oyranos/oyranos.info | 8 | ||||
-rw-r--r-- | graphics/oyranos/oyranos_file.cpp.patch | 11 | ||||
-rw-r--r-- | graphics/oyranos/qcmsevents.cpp.patch | 14 |
6 files changed, 58 insertions, 6 deletions
diff --git a/graphics/oyranos/configure_tests.patch b/graphics/oyranos/configure_tests.patch new file mode 100644 index 0000000000..5c39da517e --- /dev/null +++ b/graphics/oyranos/configure_tests.patch @@ -0,0 +1,10 @@ +--- oyranos-0.4.0/configure_tests.sh 2012-03-10 19:28:12.016514261 +0100 ++++ oyranos-0.4.0/configure_tests.sh.new 2012-03-10 19:30:04.230678948 +0100 +@@ -3,7 +3,7 @@ + set > testset.txt + ERROR=0 + WARNING=0 +-STRIPOPT='s/-O.// ; s/-isysroot [[:graph:]]*// ; s/-arch ppc// ; s/-arch i386//' ++STRIPOPT='s/-Wl[^ ]*//g ; s/-O.// ; s/-isysroot [[:graph:]]*// ; s/-arch ppc// ; s/-arch i386//' + + mkdir -p tests diff --git a/graphics/oyranos/makefile.in.patch b/graphics/oyranos/makefile.in.patch new file mode 100644 index 0000000000..1396785f25 --- /dev/null +++ b/graphics/oyranos/makefile.in.patch @@ -0,0 +1,11 @@ +--- oyranos-0.4.0/makefile.in 2012-02-23 17:07:13.000000000 +0100 ++++ oyranos-0.4.0/makefile.in.a 2012-03-15 13:02:20.492272906 +0100 +@@ -999,7 +999,7 @@ + OY_MODULE_PATHS=. LD_LIBRARY_PATH=./:$(libdir):$${LD_LIBRARY_PATH} tests/test_oyranos + + examples: all +- cd examples && ($(MAKE) clean; PATH="$(PATH):$(bindir):.." LD_LIBRARY_PATH=./:$(libdir):$${LD_LIBRARY_PATH} PKG_CONFIG_PATH="$(PKG_CONFIG_PATH):$(DESTDIR)$(libdir)/pkgconfig:.." INCLUDE="-I$(includedir) -I$(SRCDIR) -I../ -I$(SRCDIR)/$(GENDIR)" SRCDIR=$(SRCDIR)/examples/ CFLAGS="$(CFLAGS)" LIBS="-L$(libdir) -L../" intl="$(intl)" $(MAKE)) ++ cd examples && ($(MAKE) clean; PATH="$(PATH):$(bindir):.." LD_LIBRARY_PATH=./:$(libdir):$${LD_LIBRARY_PATH} PKG_CONFIG_PATH="$(PKG_CONFIG_PATH):$(DESTDIR)$(libdir)/pkgconfig:.." INCLUDE="-I$(includedir) -I$(SRCDIR) -I../ -I$(SRCDIR)/$(GENDIR)" SRCDIR=$(SRCDIR)/examples/ CFLAGS="$(CFLAGS)" LIBS="-L../ -L$(libdir)" intl="$(intl)" $(MAKE)) + + oforms: all $(LIB_FORMS_FLTK_NAME) + cd oforms && (PATH="$(PATH):$(bindir):.." LD_LIBRARY_PATH=./:$(libdir):$${LD_LIBRARY_PATH} PKG_CONFIG_PATH="$(PKG_CONFIG_PATH):$(DESTDIR)$(libdir)/pkgconfig:.." CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" INCLUDE="-I$(includedir) -I$(SRCDIR) -I../ -I$(SRCDIR)/$(GENDIR)" SRCDIR=$(SRCDIR)/oforms/ LDFLAGS="-L../ $(intl) $(LDFLAGS)" $(MAKE) -f oyranos_xforms.makefile) diff --git a/graphics/oyranos/oyranos.SlackBuild b/graphics/oyranos/oyranos.SlackBuild index 3bc4176cf6..19eb8ffe2c 100644 --- a/graphics/oyranos/oyranos.SlackBuild +++ b/graphics/oyranos/oyranos.SlackBuild @@ -2,9 +2,10 @@ # Slackware build script for xcm # Written by Diogo Leal (diogo@diogoleal.com) +# Modified by Willy Sudiarto Raharjo <willysr@slackware-id.org> PRGNAM=oyranos -VERSION=${VERSION:-0.3.1} +VERSION=${VERSION:-0.4.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -41,7 +42,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvfz $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* cd $PRGNAM-$VERSION chown -R root:root . find . \ @@ -50,6 +51,11 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +patch -p1 < $CWD/configure_tests.patch +patch -p1 < $CWD/makefile.in.patch +patch -p1 < $CWD/oyranos_file.cpp.patch +patch -p1 < $CWD/qcmsevents.cpp.patch + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/graphics/oyranos/oyranos.info b/graphics/oyranos/oyranos.info index ea276fba41..35e53184aa 100644 --- a/graphics/oyranos/oyranos.info +++ b/graphics/oyranos/oyranos.info @@ -1,10 +1,10 @@ PRGNAM="oyranos" -VERSION="0.3.1" +VERSION="0.4.0" HOMEPAGE="http://www.oyranos.org/" -DOWNLOAD="http://downloads.sourceforge.net/oyranos/oyranos-0.3.1.tar.gz" -MD5SUM="5c88985801f6b3c097cef50a93970e38" +DOWNLOAD="http://downloads.sourceforge.net/oyranos/oyranos-0.4.0.tar.bz2" +MD5SUM="4ec2c728c5ca7d450c47d95405de3ade" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="fltk" +REQUIRES="fltk yajl" MAINTAINER="Diogo Leal" EMAIL="diogo@diogoleal.com" diff --git a/graphics/oyranos/oyranos_file.cpp.patch b/graphics/oyranos/oyranos_file.cpp.patch new file mode 100644 index 0000000000..83462061e3 --- /dev/null +++ b/graphics/oyranos/oyranos_file.cpp.patch @@ -0,0 +1,11 @@ +--- oyranos-0.4.0/examples/libraw/oyranos_file.cpp 2012-03-10 20:39:13.754934907 +0100 ++++ oyranos-0.4.0/examples/libraw/oyranos_file.cpp.new 2012-03-10 20:39:18.317895815 +0100 +@@ -15,7 +15,7 @@ + */ + /* c++ -Wall -g oyranos_file.cpp `pkg-config --cflags --libs oyranos` -o oyranos-file */ + +-#include <alpha/oyranos_alpha.h> ++#include <oyranos_alpha.h> + #include <stdio.h> + #include <string.h> + #include <stdlib.h> diff --git a/graphics/oyranos/qcmsevents.cpp.patch b/graphics/oyranos/qcmsevents.cpp.patch new file mode 100644 index 0000000000..33a271b24b --- /dev/null +++ b/graphics/oyranos/qcmsevents.cpp.patch @@ -0,0 +1,14 @@ +--- oyranos-0.4.0/examples/xcmsevents/qcmsevents.cpp 2012-05-02 21:58:50.309004915 +0200 ++++ oyranos-0.4.0/examples/xcmsevents/qcmsevents.cpp.new 2012-05-02 21:58:32.533739653 +0200 +@@ -118,8 +118,8 @@ + else if (XCME_MSG_DISPLAY_STATUS) + { + int i; +- if(strstr(text, "atom: \""XCM_COLOR_DESKTOP"\":")) +- sscanf( text, "atom: \""XCM_COLOR_DESKTOP"\": %d %d", &i, &pid ); ++ if(strstr(text, "atom: \"" XCM_COLOR_DESKTOP "\":")) ++ sscanf( text, "atom: \"" XCM_COLOR_DESKTOP "\": %d %d", &i, &pid ); + if(pid == 0) + { + colour.setHsvF( 0.6, 0.4, 0.9 ); + |