pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
imported broken package argyllcms
Module Name: pkgsrc-wip
Committed By: coypu <coypu%sdf.org@localhost>
Pushed By: coypu
Date: Mon Mar 7 09:24:52 2016 +0200
Changeset: fea7887e8ec42606c6b6081fb1ecb979479ff783
Added Files:
argyllcms/DESCR
argyllcms/Makefile
argyllcms/PLIST
argyllcms/distinfo
argyllcms/patches/patch-Jamtop
argyllcms/patches/patch-spectro_usbio.c
argyllcms/patches/patch-tiff_configure
Log Message:
imported broken package argyllcms
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=fea7887e8ec42606c6b6081fb1ecb979479ff783
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
argyllcms/DESCR | 0
argyllcms/Makefile | 50 +++++++++++++++
argyllcms/PLIST | 1 +
argyllcms/distinfo | 9 +++
argyllcms/patches/patch-Jamtop | 106 ++++++++++++++++++++++++++++++++
argyllcms/patches/patch-spectro_usbio.c | 13 ++++
argyllcms/patches/patch-tiff_configure | 13 ++++
7 files changed, 192 insertions(+)
diffs:
diff --git a/argyllcms/DESCR b/argyllcms/DESCR
new file mode 100644
index 0000000..e69de29
diff --git a/argyllcms/Makefile b/argyllcms/Makefile
new file mode 100644
index 0000000..1987dce
--- /dev/null
+++ b/argyllcms/Makefile
@@ -0,0 +1,50 @@
+# $NetBSD$
+
+DISTNAME= Argyll_V1.8.3_src
+CATEGORIES= wip
+MASTER_SITES= http://www.argyllcms.com/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://www.argyllcms.com/
+COMMENT= ICC compatible color management system
+LICENSE= gnu-agpl-v3
+
+WRKSRC= ${WRKDIR}/Argyll_V1.8.3
+USE_TOOLS+= pkg-config
+USE_LANGUAGES= c c++
+
+PKGCONFIG_OVERRIDE+= png/libpng.pc.in
+PKGCONFIG_OVERRIDE+= tiff/libtiff-4.pc.in
+PKGCONFIG_OVERRIDE+= xml/mxml.pc.in
+PKGCONFIG_OVERRIDE+= zlib/zlib.pc.in
+
+BUILDLINK_TRANSFORM+= rm:-ldl
+
+DEPENDS+= jam-[0-9]*:../../devel/jam
+
+#post-patch:
+# @${REINPLACE_CMD} 's:711:755:g' ${WRKSRC}/Jambase
+
+do-build:
+ @cd ${WRKSRC} && ${MAKE_ENV} jam -q -fJambase -j${MAKE_JOBS}
+
+do-install:
+ @cd ${WRKSRC} && ${SETENV} DESTDIR=${STAGEDIR} PREFIX=${PREFIX} \
+ REFSUBDIR=share/argyll/ref \
+ jam -q -fJambase -j${MAKE_JOBS_NUMBER} install
+ @${MV} ${STAGEDIR}${PREFIX}/bin/License.txt \
+ ${STAGEDIR}${PREFIX}/share/argyll/
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
+
+.include "../../x11/libXxf86dga/buildlink3.mk"
+.include "../../x11/libXinerama/buildlink3.mk"
+.include "../../x11/libXrandr/buildlink3.mk"
+.include "../../x11/xineramaproto/buildlink3.mk"
+.include "../../x11/libXext/buildlink3.mk"
+.include "../../x11/libXScrnSaver/buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../graphics/tiff/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/argyllcms/PLIST b/argyllcms/PLIST
new file mode 100644
index 0000000..48d96a5
--- /dev/null
+++ b/argyllcms/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD$
diff --git a/argyllcms/distinfo b/argyllcms/distinfo
new file mode 100644
index 0000000..cf6eaef
--- /dev/null
+++ b/argyllcms/distinfo
@@ -0,0 +1,9 @@
+$NetBSD$
+
+SHA1 (Argyll_V1.8.3_src.zip) = e6a524a2add640f7dc2cf4dc0501fc9ba55d61a3
+RMD160 (Argyll_V1.8.3_src.zip) = 10303ab9b53da9b9d301f98c584166101fdcfa76
+SHA512 (Argyll_V1.8.3_src.zip) = 19bdba20313ec62b5b3c461d29a4f1eefbeb799ded06a1e0b568013b606547bf97b23c1b69f27d415e0052a7a2b747273131624e725ee21781b261568822b3a7
+Size (Argyll_V1.8.3_src.zip) = 13933565 bytes
+SHA1 (patch-Jamtop) = 5c4c628c7e5e89dabe5a729f7abeac6f3d35b52e
+SHA1 (patch-spectro_usbio.c) = 3902ed4198f078f2d193b3be52104398cc373013
+SHA1 (patch-tiff_configure) = a91cac5acbe83951fc7280d2752df4a42fdab4c9
diff --git a/argyllcms/patches/patch-Jamtop b/argyllcms/patches/patch-Jamtop
new file mode 100644
index 0000000..e1f7481
--- /dev/null
+++ b/argyllcms/patches/patch-Jamtop
@@ -0,0 +1,106 @@
+$NetBSD$
+
+--- Jamtop.orig 2015-10-26 04:17:32.000000000 +0000
++++ Jamtop
+@@ -72,39 +72,39 @@ if $(UNIX) {
+ LINKFLAGS += -framework AppKit ;
+
+ } else {
+- if [ GLOB /usr/X11R6/include/X11 : X.h ] {
+- LibWinH = /usr/X11R6/include ;
+- } else if [ GLOB /usr/include/X11 : X.h ] {
+- LibWinH = /usr/include ;
+- } else if [ GLOB /usr/local/include/X11 : X.h ] {
+- LibWinH = /usr/local/include ;
++ if [ GLOB $(PREFIX)/X11R6/include/X11 : X.h ] {
++ LibWinH = $(PREFIX)/X11R6/include ;
++ } else if [ GLOB $(PREFIX)/include/X11 : X.h ] {
++ LibWinH = $(PREFIX)/include ;
++ } else if [ GLOB $(PREFIX)/local/include/X11 : X.h ] {
++ LibWinH = $(PREFIX)/local/include ;
+ } else {
+ EXIT Unable to locate the X11 include files ;
+ }
+
+ if $(HOST64) {
+- if [ GLOB /usr/X11R6/lib : libX11.so libX11.a ] {
+- LibWinD = /usr/X11R6/lib ;
+- } else if [ GLOB /usr/lib/x86_64-linux-gnu : libX11.so libX11.a ] {
+- LibWinD = /usr/lib/x86_64-linux-gnu ;
+- } else if [ GLOB /usr/lib64 : libX11.so libX11.a ] {
+- LibWinD = /usr/lib64 ;
+- } else if [ GLOB /usr/lib : libX11.so libX11.a ] {
+- LibWinD = /usr/lib ;
+- } else if [ GLOB /usr/local/lib : libX11.so libX11.a ] {
+- LibWinD = /usr/local/lib ;
++ if [ GLOB $(PREFIX)/X11R6/lib : libX11.so libX11.a ] {
++ LibWinD = $(PREFIX)/X11R6/lib ;
++ } else if [ GLOB $(PREFIX)/lib/x86_64-linux-gnu : libX11.so libX11.a ] {
++ LibWinD = $(PREFIX)/lib/x86_64-linux-gnu ;
++ } else if [ GLOB $(PREFIX)/lib64 : libX11.so libX11.a ] {
++ LibWinD = $(PREFIX)/lib64 ;
++ } else if [ GLOB $(PREFIX)/lib : libX11.so libX11.a ] {
++ LibWinD = $(PREFIX)/lib ;
++ } else if [ GLOB $(PREFIX)/local/lib : libX11.so libX11.a ] {
++ LibWinD = $(PREFIX)/local/lib ;
+ } else {
+ ECHO Unable to locate the 64 bit X11 library files ;
+ }
+ } else {
+- if [ GLOB /usr/X11R6/lib : libX11.so libX11.a ] {
+- LibWinD = /usr/X11R6/lib ;
+- } else if [ GLOB /usr/lib/i386-linux-gnu : libX11.so libX11.a ] {
+- LibWinD = /usr/lib/i386-linux-gnu ;
+- } else if [ GLOB /usr/lib : libX11.so libX11.a ] {
+- LibWinD = /usr/lib ;
+- } else if [ GLOB /usr/local/lib : libX11.so libX11.a ] {
+- LibWinD = /usr/local/lib ;
++ if [ GLOB $(PREFIX)/X11R6/lib : libX11.so libX11.a ] {
++ LibWinD = $(PREFIX)/X11R6/lib ;
++ } else if [ GLOB $(PREFIX)/lib/i386-linux-gnu : libX11.so libX11.a ] {
++ LibWinD = $(PREFIX)/lib/i386-linux-gnu ;
++ } else if [ GLOB $(PREFIX)/lib : libX11.so libX11.a ] {
++ LibWinD = $(PREFIX)/lib ;
++ } else if [ GLOB $(PREFIX)/local/lib : libX11.so libX11.a ] {
++ LibWinD = $(PREFIX)/local/lib ;
+ } else {
+ ECHO Unable to locate the 32 bit X11 library files ;
+ }
+@@ -112,7 +112,7 @@ if $(UNIX) {
+ if $(OS) = FREEBSD {
+ LINKFLAGS += -L$(LibWinD) -g -lrt -lX11 -lXext -lXxf86vm -lXinerama -lXrandr -lXau -lXdmcp -lXss -lusb ;
+ } else if $(OS) = OPENBSD {
+- LINKFLAGS += -L$(LibWinD) -g -lX11 -lXext -lXxf86vm -lXinerama -lXrandr -lXau -lXdmcp -lXss -L/usr/local/lib ;
++ LINKFLAGS += -L$(LibWinD) -g -lX11 -lXext -lXxf86vm -lXinerama -lXrandr -lXau -lXdmcp -lXss -L$(PREFIX)/local/lib ;
+ } else {
+ LINKFLAGS += -L$(LibWinD) -ldl -lrt -lX11 -lXext -lXxf86vm -lXinerama -lXrandr -lXau -lXdmcp -lXss ;
+ }
+@@ -139,17 +139,17 @@ rule CheckForLibrary {
+ }
+
+ if ! $(BUILTIN_$(UCASE)) && $(UNIX) {
+- if [ GLOB /usr/include$(subd) : $(lcase).h $(lcase)lib.h ]
+- || [ GLOB /usr/local/include$(subd) : $(lcase).h $(lcase)lib.h ]
+- || [ GLOB /usr/include/x86_64-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
+- || [ GLOB /usr/include/i386-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ] {
+- if [ GLOB /usr/lib : lib$(lcase).so ] || [ GLOB /usr/lib : lib$(lcase).a ]
+- || [ GLOB /usr/local/lib : lib$(lcase).so ] || [ GLOB /usr/local/lib : lib$(lcase).a ]
+- || [ GLOB /usr/lib64 : lib$(lcase).so ] || [ GLOB /usr/lib64 : lib$(lcase).a ]
+- || [ GLOB /usr/lib/x86_64-linux-gnu : lib$(lcase).so ]
+- || [ GLOB /usr/lib/x86_64-linux-gnu : lib$(lcase).a ]
+- || [ GLOB /usr/lib/i386-linux-gnu : lib$(lcase).so ]
+- || [ GLOB /usr/lib/i386-linux-gnu : lib$(lcase).a ] {
++ if [ GLOB $(PREFIX)/include$(subd) : $(lcase).h $(lcase)lib.h ]
++ || [ GLOB $(PREFIX)/local/include$(subd) : $(lcase).h $(lcase)lib.h ]
++ || [ GLOB $(PREFIX)/include/x86_64-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
++ || [ GLOB $(PREFIX)/include/i386-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ] {
++ if [ GLOB $(PREFIX)/lib : lib$(lcase).so ] || [ GLOB /usr/lib : lib$(lcase).a ]
++ || [ GLOB $(PREFIX)/local/lib : lib$(lcase).so ] || [ GLOB /usr/local/lib : lib$(lcase).a ]
++ || [ GLOB $(PREFIX)/lib64 : lib$(lcase).so ] || [ GLOB /usr/lib64 : lib$(lcase).a ]
++ || [ GLOB $(PREFIX)/lib/x86_64-linux-gnu : lib$(lcase).so ]
++ || [ GLOB $(PREFIX)/lib/x86_64-linux-gnu : lib$(lcase).a ]
++ || [ GLOB $(PREFIX)/lib/i386-linux-gnu : lib$(lcase).so ]
++ || [ GLOB $(PREFIX)/lib/i386-linux-gnu : lib$(lcase).a ] {
+ echo "Using system $(UCASE) library" ;
+ $(UCASE)LIB = ;
+ $(UCASE)INC = ;
diff --git a/argyllcms/patches/patch-spectro_usbio.c b/argyllcms/patches/patch-spectro_usbio.c
new file mode 100644
index 0000000..2db746e
--- /dev/null
+++ b/argyllcms/patches/patch-spectro_usbio.c
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- spectro/usbio.c.orig 2015-10-26 04:17:49.000000000 +0000
++++ spectro/usbio.c
+@@ -94,7 +94,7 @@ static int icoms_usb_wait_io(
+ # include "usbio_ox.c"
+ # endif
+ # if defined(UNIX_X11)
+-# if defined(__FreeBSD__) || defined(__OpenBSD__)
++# if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
+ # include "usbio_bsd.c"
+ # else
+ # include "usbio_lx.c"
diff --git a/argyllcms/patches/patch-tiff_configure b/argyllcms/patches/patch-tiff_configure
new file mode 100644
index 0000000..f438ffc
--- /dev/null
+++ b/argyllcms/patches/patch-tiff_configure
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- tiff/configure.orig 2015-10-26 04:18:09.000000000 +0000
++++ tiff/configure
+@@ -18766,7 +18766,7 @@ if test "${with_jpeg12_lib+set}" = set;
+ fi
+
+
+-if test "x$enable_jpeg12" == "xyes" ; then
++if test "x$enable_jpeg12" = "xyes" ; then
+
+ if test "x$with_jpeg12_lib" != "x" ; then
+ LIBS="$with_jpeg12_lib $LIBS"
Home |
Main Index |
Thread Index |
Old Index