mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Restore the ability to _read_ gif images, removed by the author due
to fear of Unisys... Bump up PORTREVISION. Approved by: maintainer timeout :( (since July 27)
This commit is contained in:
parent
8703a420a3
commit
1a136774b6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=46568
12 changed files with 81 additions and 12 deletions
|
@ -7,19 +7,23 @@
|
|||
|
||||
PORTNAME= gd
|
||||
PORTVERSION= 1.8.4
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES+= graphics
|
||||
MASTER_SITES= http://www.boutell.com/gd/http/ \
|
||||
ftp://ftp.boutell.com/pub/boutell/gd/ \
|
||||
http://virtual-estates.net/~mi/port-stuff/ \
|
||||
${MASTER_SITE_RINGSERVER}
|
||||
MASTER_SITE_SUBDIR= graphics/gd
|
||||
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} gd_gif_in.c.bz2
|
||||
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
||||
|
||||
MAINTAINER?= billf@FreeBSD.org
|
||||
|
||||
BUILD_DEPENDS= freetype-config:${PORTSDIR}/print/freetype2 # XXX
|
||||
BUILD_DEPENDS= freetype-config:${PORTSDIR}/print/freetype2 \
|
||||
bzip2:${PORTSDIR}/archivers/bzip2
|
||||
LIB_DEPENDS= png.4:${PORTSDIR}/graphics/png \
|
||||
jpeg.9:${PORTSDIR}/graphics/jpeg \
|
||||
freetype.7:${PORTSDIR}/print/freetype2
|
||||
freetype:${PORTSDIR}/print/freetype2
|
||||
|
||||
.if defined(WITH_X11)
|
||||
USE_XLIB= yes
|
||||
|
@ -28,6 +32,9 @@ USE_XPM= yes
|
|||
|
||||
INSTALLS_SHLIB= yes
|
||||
|
||||
post-extract:
|
||||
bzip2 -d < ${_DISTDIR}/gd_gif_in.c.bz2 > ${WRKSRC}/gd_gif_in.c
|
||||
|
||||
pre-everything:
|
||||
.if !defined(WITH_X11)
|
||||
@${ECHO_MSG} "If you want to compile in X support use "
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
MD5 (gd-1.8.4.tar.gz) = 2aef76e79f206f9798233f025f5dd28d
|
||||
MD5 (gd_gif_in.c.bz2) = 54132aea09471bb997672436dd9a1a96
|
||||
|
|
|
@ -156,7 +156,7 @@
|
|||
gd_io_ss.o gd_png.o gd_jpeg.o gdxpm.o gdfontt.o gdfonts.o gdfontmb.o gdfontl.o \
|
||||
gdfontg.o gdtables.o gdft.o gdttf.o gdcache.o gdkanji.o wbmp.o \
|
||||
- gd_wbmp.o gdhelpers.o gd.h gdfontt.h gdfonts.h gdfontmb.h gdfontl.h \
|
||||
+ gd_wbmp.o gdhelpers.o
|
||||
+ gd_wbmp.o gdhelpers.o gd_gif_in.o
|
||||
+INCS= gd.h gdfontt.h gdfonts.h gdfontmb.h gdfontl.h \
|
||||
gdfontg.h gdhelpers.h
|
||||
+
|
||||
|
|
15
graphics/gd/files/patch-gif
Normal file
15
graphics/gd/files/patch-gif
Normal file
|
@ -0,0 +1,15 @@
|
|||
This patch together with the old implementation (from gd-1.5) of
|
||||
gd_gif_in.c restore GD's ability to read GIF images. The writing of such
|
||||
images is troubled because of Unisys' zeal in patent enforcement.
|
||||
|
||||
--- gd.h Tue Feb 6 14:44:01 2001
|
||||
+++ gd.h Fri Jul 27 16:10:38 2001
|
||||
@@ -95,2 +95,4 @@
|
||||
gdImagePtr gdImageCreate(int sx, int sy);
|
||||
+gdImagePtr gdImageCreateFromGif(FILE *fd);
|
||||
+gdImagePtr gdImageCreateFromGifCtx(gdIOCtxPtr in);
|
||||
gdImagePtr gdImageCreateFromPng(FILE *fd);
|
||||
--- gd_gif_in.c Fri Jul 27 16:13:45 2001
|
||||
+++ gd_gif_in.c Fri Jul 27 16:14:46 2001
|
||||
@@ -6,1 +6,0 @@
|
||||
-#include "io.h"
|
|
@ -7,19 +7,23 @@
|
|||
|
||||
PORTNAME= gd
|
||||
PORTVERSION= 1.8.4
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES+= graphics
|
||||
MASTER_SITES= http://www.boutell.com/gd/http/ \
|
||||
ftp://ftp.boutell.com/pub/boutell/gd/ \
|
||||
http://virtual-estates.net/~mi/port-stuff/ \
|
||||
${MASTER_SITE_RINGSERVER}
|
||||
MASTER_SITE_SUBDIR= graphics/gd
|
||||
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} gd_gif_in.c.bz2
|
||||
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
||||
|
||||
MAINTAINER?= billf@FreeBSD.org
|
||||
|
||||
BUILD_DEPENDS= freetype-config:${PORTSDIR}/print/freetype2 # XXX
|
||||
BUILD_DEPENDS= freetype-config:${PORTSDIR}/print/freetype2 \
|
||||
bzip2:${PORTSDIR}/archivers/bzip2
|
||||
LIB_DEPENDS= png.4:${PORTSDIR}/graphics/png \
|
||||
jpeg.9:${PORTSDIR}/graphics/jpeg \
|
||||
freetype.7:${PORTSDIR}/print/freetype2
|
||||
freetype:${PORTSDIR}/print/freetype2
|
||||
|
||||
.if defined(WITH_X11)
|
||||
USE_XLIB= yes
|
||||
|
@ -28,6 +32,9 @@ USE_XPM= yes
|
|||
|
||||
INSTALLS_SHLIB= yes
|
||||
|
||||
post-extract:
|
||||
bzip2 -d < ${_DISTDIR}/gd_gif_in.c.bz2 > ${WRKSRC}/gd_gif_in.c
|
||||
|
||||
pre-everything:
|
||||
.if !defined(WITH_X11)
|
||||
@${ECHO_MSG} "If you want to compile in X support use "
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
MD5 (gd-1.8.4.tar.gz) = 2aef76e79f206f9798233f025f5dd28d
|
||||
MD5 (gd_gif_in.c.bz2) = 54132aea09471bb997672436dd9a1a96
|
||||
|
|
|
@ -156,7 +156,7 @@
|
|||
gd_io_ss.o gd_png.o gd_jpeg.o gdxpm.o gdfontt.o gdfonts.o gdfontmb.o gdfontl.o \
|
||||
gdfontg.o gdtables.o gdft.o gdttf.o gdcache.o gdkanji.o wbmp.o \
|
||||
- gd_wbmp.o gdhelpers.o gd.h gdfontt.h gdfonts.h gdfontmb.h gdfontl.h \
|
||||
+ gd_wbmp.o gdhelpers.o
|
||||
+ gd_wbmp.o gdhelpers.o gd_gif_in.o
|
||||
+INCS= gd.h gdfontt.h gdfonts.h gdfontmb.h gdfontl.h \
|
||||
gdfontg.h gdhelpers.h
|
||||
+
|
||||
|
|
15
graphics/gd1/files/patch-gif
Normal file
15
graphics/gd1/files/patch-gif
Normal file
|
@ -0,0 +1,15 @@
|
|||
This patch together with the old implementation (from gd-1.5) of
|
||||
gd_gif_in.c restore GD's ability to read GIF images. The writing of such
|
||||
images is troubled because of Unisys' zeal in patent enforcement.
|
||||
|
||||
--- gd.h Tue Feb 6 14:44:01 2001
|
||||
+++ gd.h Fri Jul 27 16:10:38 2001
|
||||
@@ -95,2 +95,4 @@
|
||||
gdImagePtr gdImageCreate(int sx, int sy);
|
||||
+gdImagePtr gdImageCreateFromGif(FILE *fd);
|
||||
+gdImagePtr gdImageCreateFromGifCtx(gdIOCtxPtr in);
|
||||
gdImagePtr gdImageCreateFromPng(FILE *fd);
|
||||
--- gd_gif_in.c Fri Jul 27 16:13:45 2001
|
||||
+++ gd_gif_in.c Fri Jul 27 16:14:46 2001
|
||||
@@ -6,1 +6,0 @@
|
||||
-#include "io.h"
|
|
@ -7,19 +7,23 @@
|
|||
|
||||
PORTNAME= gd
|
||||
PORTVERSION= 1.8.4
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES+= graphics
|
||||
MASTER_SITES= http://www.boutell.com/gd/http/ \
|
||||
ftp://ftp.boutell.com/pub/boutell/gd/ \
|
||||
http://virtual-estates.net/~mi/port-stuff/ \
|
||||
${MASTER_SITE_RINGSERVER}
|
||||
MASTER_SITE_SUBDIR= graphics/gd
|
||||
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} gd_gif_in.c.bz2
|
||||
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
||||
|
||||
MAINTAINER?= billf@FreeBSD.org
|
||||
|
||||
BUILD_DEPENDS= freetype-config:${PORTSDIR}/print/freetype2 # XXX
|
||||
BUILD_DEPENDS= freetype-config:${PORTSDIR}/print/freetype2 \
|
||||
bzip2:${PORTSDIR}/archivers/bzip2
|
||||
LIB_DEPENDS= png.4:${PORTSDIR}/graphics/png \
|
||||
jpeg.9:${PORTSDIR}/graphics/jpeg \
|
||||
freetype.7:${PORTSDIR}/print/freetype2
|
||||
freetype:${PORTSDIR}/print/freetype2
|
||||
|
||||
.if defined(WITH_X11)
|
||||
USE_XLIB= yes
|
||||
|
@ -28,6 +32,9 @@ USE_XPM= yes
|
|||
|
||||
INSTALLS_SHLIB= yes
|
||||
|
||||
post-extract:
|
||||
bzip2 -d < ${_DISTDIR}/gd_gif_in.c.bz2 > ${WRKSRC}/gd_gif_in.c
|
||||
|
||||
pre-everything:
|
||||
.if !defined(WITH_X11)
|
||||
@${ECHO_MSG} "If you want to compile in X support use "
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
MD5 (gd-1.8.4.tar.gz) = 2aef76e79f206f9798233f025f5dd28d
|
||||
MD5 (gd_gif_in.c.bz2) = 54132aea09471bb997672436dd9a1a96
|
||||
|
|
|
@ -156,7 +156,7 @@
|
|||
gd_io_ss.o gd_png.o gd_jpeg.o gdxpm.o gdfontt.o gdfonts.o gdfontmb.o gdfontl.o \
|
||||
gdfontg.o gdtables.o gdft.o gdttf.o gdcache.o gdkanji.o wbmp.o \
|
||||
- gd_wbmp.o gdhelpers.o gd.h gdfontt.h gdfonts.h gdfontmb.h gdfontl.h \
|
||||
+ gd_wbmp.o gdhelpers.o
|
||||
+ gd_wbmp.o gdhelpers.o gd_gif_in.o
|
||||
+INCS= gd.h gdfontt.h gdfonts.h gdfontmb.h gdfontl.h \
|
||||
gdfontg.h gdhelpers.h
|
||||
+
|
||||
|
|
15
graphics/gd2/files/patch-gif
Normal file
15
graphics/gd2/files/patch-gif
Normal file
|
@ -0,0 +1,15 @@
|
|||
This patch together with the old implementation (from gd-1.5) of
|
||||
gd_gif_in.c restore GD's ability to read GIF images. The writing of such
|
||||
images is troubled because of Unisys' zeal in patent enforcement.
|
||||
|
||||
--- gd.h Tue Feb 6 14:44:01 2001
|
||||
+++ gd.h Fri Jul 27 16:10:38 2001
|
||||
@@ -95,2 +95,4 @@
|
||||
gdImagePtr gdImageCreate(int sx, int sy);
|
||||
+gdImagePtr gdImageCreateFromGif(FILE *fd);
|
||||
+gdImagePtr gdImageCreateFromGifCtx(gdIOCtxPtr in);
|
||||
gdImagePtr gdImageCreateFromPng(FILE *fd);
|
||||
--- gd_gif_in.c Fri Jul 27 16:13:45 2001
|
||||
+++ gd_gif_in.c Fri Jul 27 16:14:46 2001
|
||||
@@ -6,1 +6,0 @@
|
||||
-#include "io.h"
|
Loading…
Add table
Reference in a new issue