pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics Add tk-tkimg version 1.3.20080116
details: https://anonhg.NetBSD.org/pkgsrc/rev/3f3bb489d277
branches: trunk
changeset: 404292:3f3bb489d277
user: maya <maya%pkgsrc.org@localhost>
date: Sun Nov 10 20:11:30 2019 +0000
description:
Add tk-tkimg version 1.3.20080116
The IMG package by Jan Nijtmans provides the handling
of several image formats beyond the standard formats in Tk.
The formats supported by Img's are:
* BMP
* GIF (with transparency, but without LZW, due to patent restrictions)
* ico
* JPEG
* pcx
* pixmap
* PNG
* ppm
* postscript
* sgi
* sun
* tga
* TIFF
* window
* XBM
* XPM
Provided by Emiliano Gavil?n in PR pkg/38026.
diffstat:
graphics/Makefile | 3 +-
graphics/tk-tkimg/DESCR | 19 ++++++++++++++
graphics/tk-tkimg/Makefile | 37 +++++++++++++++++++++++++++++
graphics/tk-tkimg/PLIST | 3 ++
graphics/tk-tkimg/distinfo | 8 ++++++
graphics/tk-tkimg/options.mk | 21 ++++++++++++++++
graphics/tk-tkimg/patches/patch-Makefile.in | 17 +++++++++++++
graphics/tk-tkimg/patches/patch-tkimg.h | 15 +++++++++++
8 files changed, 122 insertions(+), 1 deletions(-)
diffs (165 lines):
diff -r 7ee9d412b154 -r 3f3bb489d277 graphics/Makefile
--- a/graphics/Makefile Sun Nov 10 18:07:07 2019 +0000
+++ b/graphics/Makefile Sun Nov 10 20:11:30 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.857 2019/10/28 10:43:57 kamil Exp $
+# $NetBSD: Makefile,v 1.858 2019/11/10 20:11:30 maya Exp $
#
COMMENT= Graphics tools and libraries
@@ -758,6 +758,7 @@
SUBDIR+= tex-xypic-doc
SUBDIR+= tgif
SUBDIR+= tiff
+SUBDIR+= tk-tkimg
SUBDIR+= tkpiechart
SUBDIR+= tuxpaint
SUBDIR+= tuxpaint-config
diff -r 7ee9d412b154 -r 3f3bb489d277 graphics/tk-tkimg/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/tk-tkimg/DESCR Sun Nov 10 20:11:30 2019 +0000
@@ -0,0 +1,19 @@
+The IMG package by Jan Nijtmans provides the handling
+of several image formats beyond the standard formats in Tk.
+The formats supported by Img's are:
+ * BMP
+ * GIF (with transparency, but without LZW, due to patent restrictions)
+ * ico
+ * JPEG
+ * pcx
+ * pixmap
+ * PNG
+ * ppm
+ * postscript
+ * sgi
+ * sun
+ * tga
+ * TIFF
+ * window
+ * XBM
+ * XPM
diff -r 7ee9d412b154 -r 3f3bb489d277 graphics/tk-tkimg/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/tk-tkimg/Makefile Sun Nov 10 20:11:30 2019 +0000
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.1 2019/11/10 20:11:30 maya Exp $
+#
+
+DISTNAME= tkimg-1.3-2008-01-16
+PKGNAME= tkimg-1.3.20080116
+CATEGORIES= graphics
+MASTER_SITES= http://www.flightlab.com/~joe/downloads/
+
+MAINTAINER= egavilan%eie.fceia.unr.edu.ar@localhost
+HOMEPAGE= http://www.flightlab.com/~joe/downloads/
+COMMENT= Add support for several image formats to Tk
+LICENSE= 2-clause-bsd # XXX ? Same as Tcl
+
+WRKSRC= ${WRKDIR}/tkimg-1.3
+GNU_CONFIGURE= yes
+TEST_TARGET= test
+INSTALLATION_DIRS+= lib/Img1.3.9
+
+.include "options.mk"
+
+.if ${MACHINE_ARCH} == "sparc64"
+CONFIGURE_ARGS+= --enable-64bit-vis
+.else
+. for plat in ${LP64PLATFORMS}
+. if ${MACHINE_PLATFORM:M${plat}}
+CONFIGURE_ARGS+= --enable-64bit
+. endif
+. endfor
+.endif
+
+.include "../../mk/dlopen.buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../mk/jpeg.buildlink3.mk"
+.include "../../graphics/tiff/buildlink3.mk"
+.include "../../x11/tk/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 7ee9d412b154 -r 3f3bb489d277 graphics/tk-tkimg/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/tk-tkimg/PLIST Sun Nov 10 20:11:30 2019 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2019/11/10 20:11:30 maya Exp $
+lib/Img1.3.9/Img.so
+lib/Img1.3.9/pkgIndex.tcl
diff -r 7ee9d412b154 -r 3f3bb489d277 graphics/tk-tkimg/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/tk-tkimg/distinfo Sun Nov 10 20:11:30 2019 +0000
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2019/11/10 20:11:30 maya Exp $
+
+SHA1 (tkimg-1.3-2008-01-16.tar.gz) = 524d497c6b078906f131378d964cfa2fadbe2d46
+RMD160 (tkimg-1.3-2008-01-16.tar.gz) = 0cdfdd306a6b396591dd98567723c6a7e9a52350
+SHA512 (tkimg-1.3-2008-01-16.tar.gz) = 7746e94a8de7c4c2bc41cbe7d805669b4161fdecb656b825c44104bc78af6e4c3c9119bdfdde04feb76f4c8bde45e68f5176d5b114a4ef6c860d570046bc8ffb
+Size (tkimg-1.3-2008-01-16.tar.gz) = 363107 bytes
+SHA1 (patch-Makefile.in) = c757bb9a8517fe21d48d672bae9e7def08954bc0
+SHA1 (patch-tkimg.h) = e97be13c3d424fa56bfc1d1181efa1ca9cbca7d0
diff -r 7ee9d412b154 -r 3f3bb489d277 graphics/tk-tkimg/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/tk-tkimg/options.mk Sun Nov 10 20:11:30 2019 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: options.mk,v 1.1 2019/11/10 20:11:30 maya Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.tk-tkimg
+PKG_SUPPORTED_OPTIONS= debug x11
+PKG_SUGGESTED_OPTIONS+= # blank
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mdebug)
+CONFIGURE_ARGS+= --enable-symbols
+.else
+CONFIGURE_ARGS+= --disable-symbols
+.endif
+
+.if !empty(PKG_OPTIONS:Mx11)
+.include "../../x11/libX11/buildlink3.mk"
+CONFIGURE_ARGS+= --with-x --x-includes=${X11BASE}/include
+CONFIGURE_ARGS+= --x-libraries=${X11BASE}/lib
+.else
+CONFIGURE_ARGS+= --without-x
+.endif
diff -r 7ee9d412b154 -r 3f3bb489d277 graphics/tk-tkimg/patches/patch-Makefile.in
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/tk-tkimg/patches/patch-Makefile.in Sun Nov 10 20:11:30 2019 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-Makefile.in,v 1.1 2019/11/10 20:11:30 maya Exp $
+
+Fix INSTALL_*.
+
+--- Makefile.in.orig 2005-01-10 23:31:59.000000000 +0000
++++ Makefile.in
+@@ -178,8 +178,8 @@ $(DESTDIR)$(pkglibdir):
+ mkdir -p $(DESTDIR)$(pkglibdir)
+
+ install-package: package $(DESTDIR)$(pkglibdir)
+- $(INSTALL_DATA) $(PKG_LIB_FILE) $(DESTDIR)$(pkglibdir)/$(PKG_LIB_FILE)
+- $(INSTALL_DATA) pkgIndex.tcl $(DESTDIR)$(pkglibdir)/$(pkgIndex.tcl)
++ $(BSD_INSTALL_LIB) $(PKG_LIB_FILE) $(DESTDIR)$(pkglibdir)/$(PKG_LIB_FILE)
++ $(BSD_INSTALL_DATA) pkgIndex.tcl $(DESTDIR)$(pkglibdir)/$(pkgIndex.tcl)
+
+ ## Maintain stuff section.
+ #
diff -r 7ee9d412b154 -r 3f3bb489d277 graphics/tk-tkimg/patches/patch-tkimg.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/tk-tkimg/patches/patch-tkimg.h Sun Nov 10 20:11:30 2019 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-tkimg.h,v 1.1 2019/11/10 20:11:30 maya Exp $
+
+Revert version update to make the tests work.
+
+--- tkimg.h.orig 2005-01-24 19:08:06.000000000 +0000
++++ tkimg.h
+@@ -8,7 +8,7 @@
+
+ #include "tk.h"
+
+-#define TKIMG_VERSION "1.3.99"
++#define TKIMG_VERSION "1.3.9"
+
+ #if BUILD_tkimg
+ # define TKIMGAPI DLLEXPORT
Home |
Main Index |
Thread Index |
Old Index