pkgsrc-WIP-changes archive

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

gif2png: remove, used for updating graphics/gif2png



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <tk%giga.or.at@localhost>
Pushed By:	wiz
Date:		Fri Nov 15 10:09:16 2019 +0100
Changeset:	71602415fbe3f123603ddc997dbb5e5c8a77d5bc

Modified Files:
	Makefile
Removed Files:
	gif2png/DESCR
	gif2png/Makefile
	gif2png/PLIST
	gif2png/distinfo
	gif2png/patches/patch-gif2png.go

Log Message:
gif2png: remove, used for updating graphics/gif2png

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=71602415fbe3f123603ddc997dbb5e5c8a77d5bc

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

diffstat:
 Makefile                         |  2 +-
 gif2png/DESCR                    |  4 ----
 gif2png/Makefile                 | 37 -------------------------------------
 gif2png/PLIST                    |  5 -----
 gif2png/distinfo                 |  7 -------
 gif2png/patches/patch-gif2png.go | 40 ----------------------------------------
 6 files changed, 1 insertion(+), 94 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index a18897099c..72321ff8a2 100644
--- a/Makefile
+++ b/Makefile
@@ -1083,7 +1083,6 @@ SUBDIR+=	ghc710
 SUBDIR+=	ghmm
 SUBDIR+=	ghostpcl-urwfonts-ttf
 SUBDIR+=	ghostscript-cidfonts-ryumin
-SUBDIR+=	gif2png
 SUBDIR+=	giggle
 SUBDIR+=	gimmie
 SUBDIR+=	gimp-dds
@@ -4786,6 +4785,7 @@ SUBDIR+=	trelby
 SUBDIR+=	triangle
 SUBDIR+=	triforceafl
 SUBDIR+=	triforcenetbsdsyscallfuzzer
+SUBDIR+=	trigger-rally
 SUBDIR+=	trimadap
 SUBDIR+=	trinity
 SUBDIR+=	tripwire2
diff --git a/gif2png/DESCR b/gif2png/DESCR
deleted file mode 100644
index b382414c88..0000000000
--- a/gif2png/DESCR
+++ /dev/null
@@ -1,4 +0,0 @@
-  The gif2png program converts files from the obsolescent Graphic Interchange
-Format to Portable Network Graphics.  The conversion preserves all graphic
-information, including transparency, perfectly.  The gif2png program can even
-recover data from corrupted GIFs.
diff --git a/gif2png/Makefile b/gif2png/Makefile
deleted file mode 100644
index b9b6f89ac9..0000000000
--- a/gif2png/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-# $NetBSD$
-
-DISTNAME=	gif2png-3.0.0
-CATEGORIES=	graphics
-#MASTER_SITES=	https://gitlab.com/esr/gif2png/-/archive/master/
-MASTER_SITES=	http://www.catb.org/~esr/gif2png/
-
-MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=	https://gitlab.com/esr/gif2png/
-COMMENT=	Convert GIFs to PNG format
-LICENSE=	modified-bsd
-
-GO_SRCPATH=	gitlab.com/esr/gif2png
-GO_DIST_BASE=	${DISTNAME}
-
-TOOL_DEPENDS+=	xmlto-[0-9]*:../../textproc/xmlto
-
-INSTALLATION_DIRS+=	${PKGMANDIR}/man1
-
-REPLACE_PYTHON+=	${WRKSRC}/web2png
-
-post-build:
-	cd ${WRKSRC} && \
-		xmlto man gif2png.xml && \
-		xmlto man web2png.xml
-
-post-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/web2png ${DESTDIR}${PREFIX}/bin
-	${INSTALL_DATA} ${WRKSRC}/gif2png.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
-	${INSTALL_DATA} ${WRKSRC}/web2png.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
-
-.include "../../security/go-crypto/buildlink3.mk"
-.include "../../devel/go-sys/buildlink3.mk"
-
-.include "../../lang/go/go-package.mk"
-.include "../../lang/python/application.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/gif2png/PLIST b/gif2png/PLIST
deleted file mode 100644
index 242c85b2c3..0000000000
--- a/gif2png/PLIST
+++ /dev/null
@@ -1,5 +0,0 @@
-@comment $NetBSD$
-bin/gif2png
-bin/web2png
-man/man1/gif2png.1
-man/man1/web2png.1
diff --git a/gif2png/distinfo b/gif2png/distinfo
deleted file mode 100644
index 9df2e00974..0000000000
--- a/gif2png/distinfo
+++ /dev/null
@@ -1,7 +0,0 @@
-$NetBSD$
-
-SHA1 (gif2png-3.0.0.tar.gz) = 7fea41d8bd734217a9ec3b7b72693f183cddce1a
-RMD160 (gif2png-3.0.0.tar.gz) = 67404271170a902e478f7280908e6bd224528f35
-SHA512 (gif2png-3.0.0.tar.gz) = fd8c266444b17ca92973eeb3ca33bd23ca3bcab95870571133bb1d7d051e3b3ce2269f9d348621eb86c18dff3e5d36602d6aec7ba4ab87db5609067e439950ed
-Size (gif2png-3.0.0.tar.gz) = 81591 bytes
-SHA1 (patch-gif2png.go) = 44e8a24181a1df97cca322798888304513e8a835
diff --git a/gif2png/patches/patch-gif2png.go b/gif2png/patches/patch-gif2png.go
deleted file mode 100644
index cf0a8d8db6..0000000000
--- a/gif2png/patches/patch-gif2png.go
+++ /dev/null
@@ -1,40 +0,0 @@
-$NetBSD$
-
-Fix on NetBSD.
-https://gitlab.com/esr/gif2png/merge_requests/3
-
---- gif2png.go.orig	2019-07-11 13:50:28.000000000 +0000
-+++ gif2png.go
-@@ -98,7 +98,7 @@ func processfilter() int {
- 
- func processfile(name string, fp *os.File) int {
- 	var suppressDelete int
--	var timeBuf unix.Utimbuf
-+	var timeBuf []unix.Timespec
- 
- 	if fp == nil {
- 		return 1
-@@ -118,8 +118,12 @@ func processfile(name string, fp *os.Fil
- 
- 		// Ugh...Go doesn't have a way to retrieve access time.
- 		// So we'll duplicare the mod time, alas.
--		timeBuf.Actime  = fi.ModTime().Unix()
--		timeBuf.Modtime = fi.ModTime().Unix()
-+		ts, err := unix.TimeToTimespec(fi.ModTime())
-+		if err != nil {
-+			return 1
-+		}
-+		timeBuf = append(timeBuf, ts)
-+		timeBuf = append(timeBuf, ts)
- 	}
- 
- 	fp.Close()
-@@ -170,7 +174,7 @@ func processfile(name string, fp *os.Fil
- 		fp.Close()
- 
- 		if preserveMtime {
--			err =  unix.Utime(outname, &timeBuf)
-+			err =  unix.UtimesNano(outname, timeBuf)
- 			if err != nil {
- 				fmt.Fprintf(os.Stderr, "gifpng: could not set output file times\n");
- 				return 1;


Home | Main Index | Thread Index | Old Index