pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/graphics



Module Name:    pkgsrc
Committed By:   maya
Date:           Sun Nov 10 20:11:30 UTC 2019

Modified Files:
        pkgsrc/graphics: Makefile
Added Files:
        pkgsrc/graphics/tk-tkimg: DESCR Makefile PLIST distinfo options.mk
        pkgsrc/graphics/tk-tkimg/patches: patch-Makefile.in patch-tkimg.h

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.857 -r1.858 pkgsrc/graphics/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/tk-tkimg/DESCR \
    pkgsrc/graphics/tk-tkimg/Makefile pkgsrc/graphics/tk-tkimg/PLIST \
    pkgsrc/graphics/tk-tkimg/distinfo pkgsrc/graphics/tk-tkimg/options.mk
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/tk-tkimg/patches/patch-Makefile.in \
    pkgsrc/graphics/tk-tkimg/patches/patch-tkimg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/Makefile
diff -u pkgsrc/graphics/Makefile:1.857 pkgsrc/graphics/Makefile:1.858
--- pkgsrc/graphics/Makefile:1.857      Mon Oct 28 10:43:57 2019
+++ pkgsrc/graphics/Makefile    Sun Nov 10 20:11:30 2019
@@ -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
 SUBDIR+=       tex-xypic-doc
 SUBDIR+=       tgif
 SUBDIR+=       tiff
+SUBDIR+=       tk-tkimg
 SUBDIR+=       tkpiechart
 SUBDIR+=       tuxpaint
 SUBDIR+=       tuxpaint-config

Added files:

Index: pkgsrc/graphics/tk-tkimg/DESCR
diff -u /dev/null pkgsrc/graphics/tk-tkimg/DESCR:1.1
--- /dev/null   Sun Nov 10 20:11:30 2019
+++ pkgsrc/graphics/tk-tkimg/DESCR      Sun Nov 10 20:11:30 2019
@@ -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
Index: pkgsrc/graphics/tk-tkimg/Makefile
diff -u /dev/null pkgsrc/graphics/tk-tkimg/Makefile:1.1
--- /dev/null   Sun Nov 10 20:11:30 2019
+++ pkgsrc/graphics/tk-tkimg/Makefile   Sun Nov 10 20:11:30 2019
@@ -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"
Index: pkgsrc/graphics/tk-tkimg/PLIST
diff -u /dev/null pkgsrc/graphics/tk-tkimg/PLIST:1.1
--- /dev/null   Sun Nov 10 20:11:30 2019
+++ pkgsrc/graphics/tk-tkimg/PLIST      Sun Nov 10 20:11:30 2019
@@ -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
Index: pkgsrc/graphics/tk-tkimg/distinfo
diff -u /dev/null pkgsrc/graphics/tk-tkimg/distinfo:1.1
--- /dev/null   Sun Nov 10 20:11:30 2019
+++ pkgsrc/graphics/tk-tkimg/distinfo   Sun Nov 10 20:11:30 2019
@@ -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
Index: pkgsrc/graphics/tk-tkimg/options.mk
diff -u /dev/null pkgsrc/graphics/tk-tkimg/options.mk:1.1
--- /dev/null   Sun Nov 10 20:11:30 2019
+++ pkgsrc/graphics/tk-tkimg/options.mk Sun Nov 10 20:11:30 2019
@@ -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

Index: pkgsrc/graphics/tk-tkimg/patches/patch-Makefile.in
diff -u /dev/null pkgsrc/graphics/tk-tkimg/patches/patch-Makefile.in:1.1
--- /dev/null   Sun Nov 10 20:11:30 2019
+++ pkgsrc/graphics/tk-tkimg/patches/patch-Makefile.in  Sun Nov 10 20:11:30 2019
@@ -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.
+ #
Index: pkgsrc/graphics/tk-tkimg/patches/patch-tkimg.h
diff -u /dev/null pkgsrc/graphics/tk-tkimg/patches/patch-tkimg.h:1.1
--- /dev/null   Sun Nov 10 20:11:30 2019
+++ pkgsrc/graphics/tk-tkimg/patches/patch-tkimg.h      Sun Nov 10 20:11:30 2019
@@ -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