mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Update to 0.11
This commit is contained in:
parent
7211490698
commit
fbc6fd67c5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=8847
14 changed files with 486 additions and 210 deletions
|
@ -1,19 +1,20 @@
|
||||||
# New ports collection makefile for: imlib
|
# New ports collection makefile for: imlib
|
||||||
# Version required: 0.7
|
# Version required: 0.11
|
||||||
# Date created: 10 June 1997
|
# Date created: 10 June 1997
|
||||||
# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
|
# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
|
||||||
#
|
#
|
||||||
# $Id: Makefile,v 1.8 1997/11/04 03:57:54 asami Exp $
|
# $Id: Makefile,v 1.9 1997/11/16 09:59:11 fenner Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
DISTNAME= imlib_DR-0.7
|
DISTNAME= imlib_DR-0.11
|
||||||
PKGNAME= imlib-0.7
|
PKGNAME= imlib-0.11
|
||||||
CATEGORIES= graphics
|
CATEGORIES= graphics
|
||||||
MASTER_SITES= ftp://cthulhu.mandrake.net/pub/imlib/ \
|
MASTER_SITES= ftp://cthulhu.mandrake.net/pub/imlib/ \
|
||||||
http://www.rasterman.com/ftp/
|
http://www.rasterman.com/ftp/
|
||||||
|
|
||||||
MAINTAINER= vanilla@MinJe.com.TW
|
MAINTAINER= vanilla@MinJe.com.TW
|
||||||
|
|
||||||
|
LIB_DEPENDS= png\\.0\\.:${PORTSDIR}/graphics/png
|
||||||
RUN_DEPENDS= djpeg:${PORTSDIR}/graphics/jpeg \
|
RUN_DEPENDS= djpeg:${PORTSDIR}/graphics/jpeg \
|
||||||
tgatoppm:${PORTSDIR}/graphics/netpbm \
|
tgatoppm:${PORTSDIR}/graphics/netpbm \
|
||||||
convert:${PORTSDIR}/graphics/ImageMagick
|
convert:${PORTSDIR}/graphics/ImageMagick
|
||||||
|
@ -22,8 +23,6 @@ USE_GMAKE= yes
|
||||||
USE_IMAKE= yes
|
USE_IMAKE= yes
|
||||||
WRKSRC= ${WRKDIR}/imlib
|
WRKSRC= ${WRKDIR}/imlib
|
||||||
|
|
||||||
MAN3= imlib.3x
|
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
$(CP) $(WRKSRC)/Imakefile $(WRKSRC)/Imakefile.pat
|
$(CP) $(WRKSRC)/Imakefile $(WRKSRC)/Imakefile.pat
|
||||||
${SED} -e "s%X11BASE%$(X11BASE)%" <$(WRKSRC)/Imakefile.pat >$(WRKSRC)/Imakefile
|
${SED} -e "s%X11BASE%$(X11BASE)%" <$(WRKSRC)/Imakefile.pat >$(WRKSRC)/Imakefile
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
MD5 (imlib_DR-0.7.tar.gz) = dac6e7501fd668704155b37c43484bed
|
MD5 (imlib_DR-0.11.tar.gz) = 412989c96bb5aa59feb7df21580e7ee9
|
||||||
|
|
|
@ -1,50 +1,151 @@
|
||||||
--- Imakefile.orig Thu Nov 13 08:41:48 1997
|
*** Imlib.tmpl.orig Tue Nov 25 08:18:26 1997
|
||||||
+++ Imakefile Thu Nov 13 13:37:47 1997
|
--- Imlib.tmpl Thu Nov 27 04:17:35 1997
|
||||||
@@ -3,28 +3,30 @@
|
***************
|
||||||
/*#define UseEtcX11 /* */
|
*** 5,18 ****
|
||||||
|
XCOMM ----------------------------
|
||||||
|
XCOMM The root directory of where the installation will put include and lib.
|
||||||
|
|
||||||
/* change this if the INSTALL script didn't get it right */
|
! IMLROOT = /usr/X11
|
||||||
-CONVERT_DIR=/usr/local/bin
|
|
||||||
-NETPBM_DIR=/usr/local/bin
|
|
||||||
+CONVERT_DIR=/usr/X11R6/bin
|
|
||||||
+NETPBM_DIR=/usr/X11R6/bin
|
|
||||||
+JPEG_DIR=/usr/local/bin
|
|
||||||
|
|
||||||
/* change these if you don't like them */
|
XCOMM imlib custom configuration file
|
||||||
-INCDIR=/usr/X11/include/X11/
|
XCOMM --------------------------------
|
||||||
-LIBDIR=/usr/X11/lib/
|
XCOMM Change the following to where you would like imrc and imlib.pal
|
||||||
-MANDIR=/usr/X11/man/man3/
|
XCOMM to be loaded
|
||||||
+INCDIR=/usr/X11R6/include/X11/
|
|
||||||
+LIBDIR=/usr/X11R6/lib/
|
|
||||||
+MANDIR=/usr/X11R6/man/man3/
|
|
||||||
|
|
||||||
LIBNAME=Im
|
! CNFDIR = /etc
|
||||||
-LIBREV=0.7
|
|
||||||
+LIBREV=3.7
|
|
||||||
|
|
||||||
#ifdef UseEtcX11
|
XCOMM Location of the NetPBM Utilities
|
||||||
ETCDIR=/etc/X11/$(LIBNAME)
|
XCOMM --------------------------------
|
||||||
|
--- 5,18 ----
|
||||||
|
XCOMM ----------------------------
|
||||||
|
XCOMM The root directory of where the installation will put include and lib.
|
||||||
|
|
||||||
|
! IMLROOT = ${X11BASE}
|
||||||
|
|
||||||
|
XCOMM imlib custom configuration file
|
||||||
|
XCOMM --------------------------------
|
||||||
|
XCOMM Change the following to where you would like imrc and imlib.pal
|
||||||
|
XCOMM to be loaded
|
||||||
|
|
||||||
|
! CNFDIR = ${X11BASE}/etc/imlib
|
||||||
|
|
||||||
|
XCOMM Location of the NetPBM Utilities
|
||||||
|
XCOMM --------------------------------
|
||||||
|
***************
|
||||||
|
*** 25,31 ****
|
||||||
|
#ifdef SunArchitecture
|
||||||
|
NETPBM_DIR = /usr/openwin/bin
|
||||||
#else
|
#else
|
||||||
-ETCDIR=/etc
|
! NETPBM_DIR = /usr/local/bin
|
||||||
+ETCDIR=/usr/X11R6/lib/X11/enlightenment
|
#endif
|
||||||
#endif /* def UseEtcX11 */
|
|
||||||
|
|
||||||
CNFDIR = $(ETCDIR)
|
XCOMM Location of the IJG JPEG Utilities
|
||||||
|
--- 25,31 ----
|
||||||
|
#ifdef SunArchitecture
|
||||||
|
NETPBM_DIR = /usr/openwin/bin
|
||||||
|
#else
|
||||||
|
! NETPBM_DIR = ${X11BASE}/bin
|
||||||
|
#endif
|
||||||
|
|
||||||
DEFINES = -DSYSTEM_IMRC=\"$(ETCDIR)/imrc\" \
|
XCOMM Location of the IJG JPEG Utilities
|
||||||
-DCONVERT_PATH=\"$(CONVERT_DIR)\" \
|
***************
|
||||||
- -DNETPBM_PATH=\"$(NETPBM_DIR)\"
|
*** 33,39 ****
|
||||||
+ -DNETPBM_PATH=\"$(NETPBM_DIR)\" \
|
XCOMM imlib needs convert and djpeg from the IJG. This is the location
|
||||||
+ -DJPEG_PATH=\"$(JPEG_DIR)\"
|
XCOMM of those files.
|
||||||
|
|
||||||
SRCS = load.c rend.c misc.c colors.c cache.c
|
! CONVERT_DIR = /usr/local/bin
|
||||||
OBJS = load.o rend.o misc.o colors.o cache.o
|
JPEG_DIR = /usr/local/bin
|
||||||
@@ -72,7 +74,7 @@
|
|
||||||
CNFSRC = ./sys_conf
|
|
||||||
CNFS = $(CNFSRC)/imrc
|
|
||||||
PALS = $(CNFSRC)/im_palette.pal
|
|
||||||
-CNFFLAGS = -m 0644 -o root -g root
|
|
||||||
+CNFFLAGS = -m 0644 -o root -g wheel
|
|
||||||
InstallMultipleFlags($(CNFS) $(PALS),$(CNFDIR),$(CNFFLAGS))
|
|
||||||
|
|
||||||
DependTarget()
|
XCOMM JPEG Library Support
|
||||||
|
--- 33,39 ----
|
||||||
|
XCOMM imlib needs convert and djpeg from the IJG. This is the location
|
||||||
|
XCOMM of those files.
|
||||||
|
|
||||||
|
! CONVERT_DIR = ${X11BASE}/bin
|
||||||
|
JPEG_DIR = /usr/local/bin
|
||||||
|
|
||||||
|
XCOMM JPEG Library Support
|
||||||
|
***************
|
||||||
|
*** 41,47 ****
|
||||||
|
XCOMM imlib can use the IJG JPEG library (libjpeg) directly. If you
|
||||||
|
XCOMM wish to compile this in, set this to YES.
|
||||||
|
|
||||||
|
! #define DoJPEG NO
|
||||||
|
|
||||||
|
XCOMM PNG Library Support
|
||||||
|
XCOMM --------------------
|
||||||
|
--- 41,47 ----
|
||||||
|
XCOMM imlib can use the IJG JPEG library (libjpeg) directly. If you
|
||||||
|
XCOMM wish to compile this in, set this to YES.
|
||||||
|
|
||||||
|
! #define DoJPEG YES
|
||||||
|
|
||||||
|
XCOMM PNG Library Support
|
||||||
|
XCOMM --------------------
|
||||||
|
***************
|
||||||
|
*** 49,62 ****
|
||||||
|
XCOMM If you wish to compile this in, set this to YES.
|
||||||
|
XCOMM [NOTE: This library requires libz be availabel too.]
|
||||||
|
|
||||||
|
! #define DoPNG NO
|
||||||
|
|
||||||
|
XCOMM TIFF Library Support
|
||||||
|
XCOMM --------------------
|
||||||
|
XCOMM imlib can use the TIFF library (libtiff) directly. If you
|
||||||
|
XCOMM wish to compile this in, set this to YES.
|
||||||
|
|
||||||
|
! #define DoTIFF NO
|
||||||
|
|
||||||
|
XCOMM Shared Library Support
|
||||||
|
XCOMM ----------------------
|
||||||
|
--- 49,62 ----
|
||||||
|
XCOMM If you wish to compile this in, set this to YES.
|
||||||
|
XCOMM [NOTE: This library requires libz be availabel too.]
|
||||||
|
|
||||||
|
! #define DoPNG YES
|
||||||
|
|
||||||
|
XCOMM TIFF Library Support
|
||||||
|
XCOMM --------------------
|
||||||
|
XCOMM imlib can use the TIFF library (libtiff) directly. If you
|
||||||
|
XCOMM wish to compile this in, set this to YES.
|
||||||
|
|
||||||
|
! #define DoTIFF YES
|
||||||
|
|
||||||
|
XCOMM Shared Library Support
|
||||||
|
XCOMM ----------------------
|
||||||
|
***************
|
||||||
|
*** 94,100 ****
|
||||||
|
|
||||||
|
XCOMM GNU C v2.xxx flags
|
||||||
|
#if HasGcc2
|
||||||
|
! USR_FLAGS = -Wall -pedantic
|
||||||
|
|
||||||
|
XCOMM Solaris v2.6 or Solaris v2.x
|
||||||
|
#elif defined(HasSunC) || defined(SunArchitecture) && defined(SVR4)
|
||||||
|
--- 94,100 ----
|
||||||
|
|
||||||
|
XCOMM GNU C v2.xxx flags
|
||||||
|
#if HasGcc2
|
||||||
|
! USR_FLAGS += -Wall -pedantic
|
||||||
|
|
||||||
|
XCOMM Solaris v2.6 or Solaris v2.x
|
||||||
|
#elif defined(HasSunC) || defined(SunArchitecture) && defined(SVR4)
|
||||||
|
*** Imakefile.orig Tue Nov 25 08:38:34 1997
|
||||||
|
--- Imakefile Thu Nov 27 04:14:06 1997
|
||||||
|
***************
|
||||||
|
*** 21,27 ****
|
||||||
|
XCOMM Library we are building and the revision
|
||||||
|
|
||||||
|
IMLLIBNAME=Im
|
||||||
|
! IMLLIBREV=0.11
|
||||||
|
|
||||||
|
XCOMM These are the directories we are going to also run imake and make in.
|
||||||
|
XCOMM IHaveSubdirs tells imake to actually look at $(SUBDIRS)
|
||||||
|
--- 21,27 ----
|
||||||
|
XCOMM Library we are building and the revision
|
||||||
|
|
||||||
|
IMLLIBNAME=Im
|
||||||
|
! IMLLIBREV=4.0
|
||||||
|
|
||||||
|
XCOMM These are the directories we are going to also run imake and make in.
|
||||||
|
XCOMM IHaveSubdirs tells imake to actually look at $(SUBDIRS)
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
--- load.c.orig Wed Nov 5 20:10:50 1997
|
|
||||||
+++ load.c Wed Nov 12 18:00:19 1997
|
|
||||||
@@ -159,8 +159,8 @@
|
|
||||||
if (needs_conv) pclose(p);
|
|
||||||
else fclose(p);
|
|
||||||
}
|
|
||||||
- if (!strcasecmp(s,"jpeg")) sprintf(cmd,"%s/djpeg %s", NETPBM_PATH, fil);
|
|
||||||
- else if (!strcasecmp(s,"jpg")) sprintf(cmd,"%s/djpeg %s", NETPBM_PATH, fil);
|
|
||||||
+ if (!strcasecmp(s,"jpeg")) sprintf(cmd,"%s/djpeg %s", JPEG_PATH, fil);
|
|
||||||
+ else if (!strcasecmp(s,"jpg")) sprintf(cmd,"%s/djpeg %s", JPEG_PATH, fil);
|
|
||||||
else if (!strcasecmp(s,"bmp")) sprintf(cmd,"%s/bmptoppm %s", NETPBM_PATH, fil);
|
|
||||||
else if (!strcasecmp(s,"ilbm")) sprintf(cmd,"%s/ilbmtoppm %s", NETPBM_PATH, fil);
|
|
||||||
else if (!strcasecmp(s,"ilb")) sprintf(cmd,"%s/ilbmtoppm %s", NETPBM_PATH, fil);
|
|
|
@ -1,11 +0,0 @@
|
||||||
--- sys_conf.dist/imrc.orig Tue Nov 4 12:11:30 1997
|
|
||||||
+++ sys_conf.dist/imrc Thu Nov 13 13:05:34 1997
|
|
||||||
@@ -55,7 +55,7 @@
|
|
||||||
# these pixmaps themselves, because this will trample all over the cache
|
|
||||||
# and give very horrid effects, or even make the apps crash with segfaults or
|
|
||||||
# Xlib errors.
|
|
||||||
-Pixmap_Cache on
|
|
||||||
+Pixmap_Cache off
|
|
||||||
# Pixmap cache is in **-> BITS <-**... the end result is APPROXIMATELY
|
|
||||||
# 10000000 bits of pixmap make your Xserver grow by 1Mb of RAM (VERY rough).
|
|
||||||
# As wiht any cache, the more, the better. The more you have, the less likely
|
|
|
@ -1,8 +1,8 @@
|
||||||
include/X11/imlib.h
|
include/X11/imlib.h
|
||||||
|
etc/imlib/im_palette.pal
|
||||||
|
etc/imlib/imrc
|
||||||
lib/libIm.a
|
lib/libIm.a
|
||||||
lib/libIm.so.3.7
|
lib/libIm.so.4.0
|
||||||
@exec ldconfig -m %B
|
@exec ldconfig -m %B
|
||||||
lib/X11/enlightenment/im_palette.pal
|
man/man3/imlib.3.gz
|
||||||
lib/X11/enlightenment/imrc
|
@dirrm etc/imlib
|
||||||
man/man3/imlib.3x.gz
|
|
||||||
@dirrm lib/X11/enlightenment
|
|
||||||
|
|
|
@ -1,19 +1,20 @@
|
||||||
# New ports collection makefile for: imlib
|
# New ports collection makefile for: imlib
|
||||||
# Version required: 0.7
|
# Version required: 0.11
|
||||||
# Date created: 10 June 1997
|
# Date created: 10 June 1997
|
||||||
# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
|
# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
|
||||||
#
|
#
|
||||||
# $Id: Makefile,v 1.8 1997/11/04 03:57:54 asami Exp $
|
# $Id: Makefile,v 1.9 1997/11/16 09:59:11 fenner Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
DISTNAME= imlib_DR-0.7
|
DISTNAME= imlib_DR-0.11
|
||||||
PKGNAME= imlib-0.7
|
PKGNAME= imlib-0.11
|
||||||
CATEGORIES= graphics
|
CATEGORIES= graphics
|
||||||
MASTER_SITES= ftp://cthulhu.mandrake.net/pub/imlib/ \
|
MASTER_SITES= ftp://cthulhu.mandrake.net/pub/imlib/ \
|
||||||
http://www.rasterman.com/ftp/
|
http://www.rasterman.com/ftp/
|
||||||
|
|
||||||
MAINTAINER= vanilla@MinJe.com.TW
|
MAINTAINER= vanilla@MinJe.com.TW
|
||||||
|
|
||||||
|
LIB_DEPENDS= png\\.0\\.:${PORTSDIR}/graphics/png
|
||||||
RUN_DEPENDS= djpeg:${PORTSDIR}/graphics/jpeg \
|
RUN_DEPENDS= djpeg:${PORTSDIR}/graphics/jpeg \
|
||||||
tgatoppm:${PORTSDIR}/graphics/netpbm \
|
tgatoppm:${PORTSDIR}/graphics/netpbm \
|
||||||
convert:${PORTSDIR}/graphics/ImageMagick
|
convert:${PORTSDIR}/graphics/ImageMagick
|
||||||
|
@ -22,8 +23,6 @@ USE_GMAKE= yes
|
||||||
USE_IMAKE= yes
|
USE_IMAKE= yes
|
||||||
WRKSRC= ${WRKDIR}/imlib
|
WRKSRC= ${WRKDIR}/imlib
|
||||||
|
|
||||||
MAN3= imlib.3x
|
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
$(CP) $(WRKSRC)/Imakefile $(WRKSRC)/Imakefile.pat
|
$(CP) $(WRKSRC)/Imakefile $(WRKSRC)/Imakefile.pat
|
||||||
${SED} -e "s%X11BASE%$(X11BASE)%" <$(WRKSRC)/Imakefile.pat >$(WRKSRC)/Imakefile
|
${SED} -e "s%X11BASE%$(X11BASE)%" <$(WRKSRC)/Imakefile.pat >$(WRKSRC)/Imakefile
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
MD5 (imlib_DR-0.7.tar.gz) = dac6e7501fd668704155b37c43484bed
|
MD5 (imlib_DR-0.11.tar.gz) = 412989c96bb5aa59feb7df21580e7ee9
|
||||||
|
|
|
@ -1,50 +1,151 @@
|
||||||
--- Imakefile.orig Thu Nov 13 08:41:48 1997
|
*** Imlib.tmpl.orig Tue Nov 25 08:18:26 1997
|
||||||
+++ Imakefile Thu Nov 13 13:37:47 1997
|
--- Imlib.tmpl Thu Nov 27 04:17:35 1997
|
||||||
@@ -3,28 +3,30 @@
|
***************
|
||||||
/*#define UseEtcX11 /* */
|
*** 5,18 ****
|
||||||
|
XCOMM ----------------------------
|
||||||
|
XCOMM The root directory of where the installation will put include and lib.
|
||||||
|
|
||||||
/* change this if the INSTALL script didn't get it right */
|
! IMLROOT = /usr/X11
|
||||||
-CONVERT_DIR=/usr/local/bin
|
|
||||||
-NETPBM_DIR=/usr/local/bin
|
|
||||||
+CONVERT_DIR=/usr/X11R6/bin
|
|
||||||
+NETPBM_DIR=/usr/X11R6/bin
|
|
||||||
+JPEG_DIR=/usr/local/bin
|
|
||||||
|
|
||||||
/* change these if you don't like them */
|
XCOMM imlib custom configuration file
|
||||||
-INCDIR=/usr/X11/include/X11/
|
XCOMM --------------------------------
|
||||||
-LIBDIR=/usr/X11/lib/
|
XCOMM Change the following to where you would like imrc and imlib.pal
|
||||||
-MANDIR=/usr/X11/man/man3/
|
XCOMM to be loaded
|
||||||
+INCDIR=/usr/X11R6/include/X11/
|
|
||||||
+LIBDIR=/usr/X11R6/lib/
|
|
||||||
+MANDIR=/usr/X11R6/man/man3/
|
|
||||||
|
|
||||||
LIBNAME=Im
|
! CNFDIR = /etc
|
||||||
-LIBREV=0.7
|
|
||||||
+LIBREV=3.7
|
|
||||||
|
|
||||||
#ifdef UseEtcX11
|
XCOMM Location of the NetPBM Utilities
|
||||||
ETCDIR=/etc/X11/$(LIBNAME)
|
XCOMM --------------------------------
|
||||||
|
--- 5,18 ----
|
||||||
|
XCOMM ----------------------------
|
||||||
|
XCOMM The root directory of where the installation will put include and lib.
|
||||||
|
|
||||||
|
! IMLROOT = ${X11BASE}
|
||||||
|
|
||||||
|
XCOMM imlib custom configuration file
|
||||||
|
XCOMM --------------------------------
|
||||||
|
XCOMM Change the following to where you would like imrc and imlib.pal
|
||||||
|
XCOMM to be loaded
|
||||||
|
|
||||||
|
! CNFDIR = ${X11BASE}/etc/imlib
|
||||||
|
|
||||||
|
XCOMM Location of the NetPBM Utilities
|
||||||
|
XCOMM --------------------------------
|
||||||
|
***************
|
||||||
|
*** 25,31 ****
|
||||||
|
#ifdef SunArchitecture
|
||||||
|
NETPBM_DIR = /usr/openwin/bin
|
||||||
#else
|
#else
|
||||||
-ETCDIR=/etc
|
! NETPBM_DIR = /usr/local/bin
|
||||||
+ETCDIR=/usr/X11R6/lib/X11/enlightenment
|
#endif
|
||||||
#endif /* def UseEtcX11 */
|
|
||||||
|
|
||||||
CNFDIR = $(ETCDIR)
|
XCOMM Location of the IJG JPEG Utilities
|
||||||
|
--- 25,31 ----
|
||||||
|
#ifdef SunArchitecture
|
||||||
|
NETPBM_DIR = /usr/openwin/bin
|
||||||
|
#else
|
||||||
|
! NETPBM_DIR = ${X11BASE}/bin
|
||||||
|
#endif
|
||||||
|
|
||||||
DEFINES = -DSYSTEM_IMRC=\"$(ETCDIR)/imrc\" \
|
XCOMM Location of the IJG JPEG Utilities
|
||||||
-DCONVERT_PATH=\"$(CONVERT_DIR)\" \
|
***************
|
||||||
- -DNETPBM_PATH=\"$(NETPBM_DIR)\"
|
*** 33,39 ****
|
||||||
+ -DNETPBM_PATH=\"$(NETPBM_DIR)\" \
|
XCOMM imlib needs convert and djpeg from the IJG. This is the location
|
||||||
+ -DJPEG_PATH=\"$(JPEG_DIR)\"
|
XCOMM of those files.
|
||||||
|
|
||||||
SRCS = load.c rend.c misc.c colors.c cache.c
|
! CONVERT_DIR = /usr/local/bin
|
||||||
OBJS = load.o rend.o misc.o colors.o cache.o
|
JPEG_DIR = /usr/local/bin
|
||||||
@@ -72,7 +74,7 @@
|
|
||||||
CNFSRC = ./sys_conf
|
|
||||||
CNFS = $(CNFSRC)/imrc
|
|
||||||
PALS = $(CNFSRC)/im_palette.pal
|
|
||||||
-CNFFLAGS = -m 0644 -o root -g root
|
|
||||||
+CNFFLAGS = -m 0644 -o root -g wheel
|
|
||||||
InstallMultipleFlags($(CNFS) $(PALS),$(CNFDIR),$(CNFFLAGS))
|
|
||||||
|
|
||||||
DependTarget()
|
XCOMM JPEG Library Support
|
||||||
|
--- 33,39 ----
|
||||||
|
XCOMM imlib needs convert and djpeg from the IJG. This is the location
|
||||||
|
XCOMM of those files.
|
||||||
|
|
||||||
|
! CONVERT_DIR = ${X11BASE}/bin
|
||||||
|
JPEG_DIR = /usr/local/bin
|
||||||
|
|
||||||
|
XCOMM JPEG Library Support
|
||||||
|
***************
|
||||||
|
*** 41,47 ****
|
||||||
|
XCOMM imlib can use the IJG JPEG library (libjpeg) directly. If you
|
||||||
|
XCOMM wish to compile this in, set this to YES.
|
||||||
|
|
||||||
|
! #define DoJPEG NO
|
||||||
|
|
||||||
|
XCOMM PNG Library Support
|
||||||
|
XCOMM --------------------
|
||||||
|
--- 41,47 ----
|
||||||
|
XCOMM imlib can use the IJG JPEG library (libjpeg) directly. If you
|
||||||
|
XCOMM wish to compile this in, set this to YES.
|
||||||
|
|
||||||
|
! #define DoJPEG YES
|
||||||
|
|
||||||
|
XCOMM PNG Library Support
|
||||||
|
XCOMM --------------------
|
||||||
|
***************
|
||||||
|
*** 49,62 ****
|
||||||
|
XCOMM If you wish to compile this in, set this to YES.
|
||||||
|
XCOMM [NOTE: This library requires libz be availabel too.]
|
||||||
|
|
||||||
|
! #define DoPNG NO
|
||||||
|
|
||||||
|
XCOMM TIFF Library Support
|
||||||
|
XCOMM --------------------
|
||||||
|
XCOMM imlib can use the TIFF library (libtiff) directly. If you
|
||||||
|
XCOMM wish to compile this in, set this to YES.
|
||||||
|
|
||||||
|
! #define DoTIFF NO
|
||||||
|
|
||||||
|
XCOMM Shared Library Support
|
||||||
|
XCOMM ----------------------
|
||||||
|
--- 49,62 ----
|
||||||
|
XCOMM If you wish to compile this in, set this to YES.
|
||||||
|
XCOMM [NOTE: This library requires libz be availabel too.]
|
||||||
|
|
||||||
|
! #define DoPNG YES
|
||||||
|
|
||||||
|
XCOMM TIFF Library Support
|
||||||
|
XCOMM --------------------
|
||||||
|
XCOMM imlib can use the TIFF library (libtiff) directly. If you
|
||||||
|
XCOMM wish to compile this in, set this to YES.
|
||||||
|
|
||||||
|
! #define DoTIFF YES
|
||||||
|
|
||||||
|
XCOMM Shared Library Support
|
||||||
|
XCOMM ----------------------
|
||||||
|
***************
|
||||||
|
*** 94,100 ****
|
||||||
|
|
||||||
|
XCOMM GNU C v2.xxx flags
|
||||||
|
#if HasGcc2
|
||||||
|
! USR_FLAGS = -Wall -pedantic
|
||||||
|
|
||||||
|
XCOMM Solaris v2.6 or Solaris v2.x
|
||||||
|
#elif defined(HasSunC) || defined(SunArchitecture) && defined(SVR4)
|
||||||
|
--- 94,100 ----
|
||||||
|
|
||||||
|
XCOMM GNU C v2.xxx flags
|
||||||
|
#if HasGcc2
|
||||||
|
! USR_FLAGS += -Wall -pedantic
|
||||||
|
|
||||||
|
XCOMM Solaris v2.6 or Solaris v2.x
|
||||||
|
#elif defined(HasSunC) || defined(SunArchitecture) && defined(SVR4)
|
||||||
|
*** Imakefile.orig Tue Nov 25 08:38:34 1997
|
||||||
|
--- Imakefile Thu Nov 27 04:14:06 1997
|
||||||
|
***************
|
||||||
|
*** 21,27 ****
|
||||||
|
XCOMM Library we are building and the revision
|
||||||
|
|
||||||
|
IMLLIBNAME=Im
|
||||||
|
! IMLLIBREV=0.11
|
||||||
|
|
||||||
|
XCOMM These are the directories we are going to also run imake and make in.
|
||||||
|
XCOMM IHaveSubdirs tells imake to actually look at $(SUBDIRS)
|
||||||
|
--- 21,27 ----
|
||||||
|
XCOMM Library we are building and the revision
|
||||||
|
|
||||||
|
IMLLIBNAME=Im
|
||||||
|
! IMLLIBREV=4.0
|
||||||
|
|
||||||
|
XCOMM These are the directories we are going to also run imake and make in.
|
||||||
|
XCOMM IHaveSubdirs tells imake to actually look at $(SUBDIRS)
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
include/X11/imlib.h
|
include/X11/imlib.h
|
||||||
|
etc/imlib/im_palette.pal
|
||||||
|
etc/imlib/imrc
|
||||||
lib/libIm.a
|
lib/libIm.a
|
||||||
lib/libIm.so.3.7
|
lib/libIm.so.4.0
|
||||||
@exec ldconfig -m %B
|
@exec ldconfig -m %B
|
||||||
lib/X11/enlightenment/im_palette.pal
|
man/man3/imlib.3.gz
|
||||||
lib/X11/enlightenment/imrc
|
@dirrm etc/imlib
|
||||||
man/man3/imlib.3x.gz
|
|
||||||
@dirrm lib/X11/enlightenment
|
|
||||||
|
|
|
@ -1,19 +1,20 @@
|
||||||
# New ports collection makefile for: imlib
|
# New ports collection makefile for: imlib
|
||||||
# Version required: 0.7
|
# Version required: 0.11
|
||||||
# Date created: 10 June 1997
|
# Date created: 10 June 1997
|
||||||
# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
|
# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
|
||||||
#
|
#
|
||||||
# $Id: Makefile,v 1.8 1997/11/04 03:57:54 asami Exp $
|
# $Id: Makefile,v 1.9 1997/11/16 09:59:11 fenner Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
DISTNAME= imlib_DR-0.7
|
DISTNAME= imlib_DR-0.11
|
||||||
PKGNAME= imlib-0.7
|
PKGNAME= imlib-0.11
|
||||||
CATEGORIES= graphics
|
CATEGORIES= graphics
|
||||||
MASTER_SITES= ftp://cthulhu.mandrake.net/pub/imlib/ \
|
MASTER_SITES= ftp://cthulhu.mandrake.net/pub/imlib/ \
|
||||||
http://www.rasterman.com/ftp/
|
http://www.rasterman.com/ftp/
|
||||||
|
|
||||||
MAINTAINER= vanilla@MinJe.com.TW
|
MAINTAINER= vanilla@MinJe.com.TW
|
||||||
|
|
||||||
|
LIB_DEPENDS= png\\.0\\.:${PORTSDIR}/graphics/png
|
||||||
RUN_DEPENDS= djpeg:${PORTSDIR}/graphics/jpeg \
|
RUN_DEPENDS= djpeg:${PORTSDIR}/graphics/jpeg \
|
||||||
tgatoppm:${PORTSDIR}/graphics/netpbm \
|
tgatoppm:${PORTSDIR}/graphics/netpbm \
|
||||||
convert:${PORTSDIR}/graphics/ImageMagick
|
convert:${PORTSDIR}/graphics/ImageMagick
|
||||||
|
@ -22,8 +23,6 @@ USE_GMAKE= yes
|
||||||
USE_IMAKE= yes
|
USE_IMAKE= yes
|
||||||
WRKSRC= ${WRKDIR}/imlib
|
WRKSRC= ${WRKDIR}/imlib
|
||||||
|
|
||||||
MAN3= imlib.3x
|
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
$(CP) $(WRKSRC)/Imakefile $(WRKSRC)/Imakefile.pat
|
$(CP) $(WRKSRC)/Imakefile $(WRKSRC)/Imakefile.pat
|
||||||
${SED} -e "s%X11BASE%$(X11BASE)%" <$(WRKSRC)/Imakefile.pat >$(WRKSRC)/Imakefile
|
${SED} -e "s%X11BASE%$(X11BASE)%" <$(WRKSRC)/Imakefile.pat >$(WRKSRC)/Imakefile
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
MD5 (imlib_DR-0.7.tar.gz) = dac6e7501fd668704155b37c43484bed
|
MD5 (imlib_DR-0.11.tar.gz) = 412989c96bb5aa59feb7df21580e7ee9
|
||||||
|
|
|
@ -1,50 +1,151 @@
|
||||||
--- Imakefile.orig Thu Nov 13 08:41:48 1997
|
*** Imlib.tmpl.orig Tue Nov 25 08:18:26 1997
|
||||||
+++ Imakefile Thu Nov 13 13:37:47 1997
|
--- Imlib.tmpl Thu Nov 27 04:17:35 1997
|
||||||
@@ -3,28 +3,30 @@
|
***************
|
||||||
/*#define UseEtcX11 /* */
|
*** 5,18 ****
|
||||||
|
XCOMM ----------------------------
|
||||||
|
XCOMM The root directory of where the installation will put include and lib.
|
||||||
|
|
||||||
/* change this if the INSTALL script didn't get it right */
|
! IMLROOT = /usr/X11
|
||||||
-CONVERT_DIR=/usr/local/bin
|
|
||||||
-NETPBM_DIR=/usr/local/bin
|
|
||||||
+CONVERT_DIR=/usr/X11R6/bin
|
|
||||||
+NETPBM_DIR=/usr/X11R6/bin
|
|
||||||
+JPEG_DIR=/usr/local/bin
|
|
||||||
|
|
||||||
/* change these if you don't like them */
|
XCOMM imlib custom configuration file
|
||||||
-INCDIR=/usr/X11/include/X11/
|
XCOMM --------------------------------
|
||||||
-LIBDIR=/usr/X11/lib/
|
XCOMM Change the following to where you would like imrc and imlib.pal
|
||||||
-MANDIR=/usr/X11/man/man3/
|
XCOMM to be loaded
|
||||||
+INCDIR=/usr/X11R6/include/X11/
|
|
||||||
+LIBDIR=/usr/X11R6/lib/
|
|
||||||
+MANDIR=/usr/X11R6/man/man3/
|
|
||||||
|
|
||||||
LIBNAME=Im
|
! CNFDIR = /etc
|
||||||
-LIBREV=0.7
|
|
||||||
+LIBREV=3.7
|
|
||||||
|
|
||||||
#ifdef UseEtcX11
|
XCOMM Location of the NetPBM Utilities
|
||||||
ETCDIR=/etc/X11/$(LIBNAME)
|
XCOMM --------------------------------
|
||||||
|
--- 5,18 ----
|
||||||
|
XCOMM ----------------------------
|
||||||
|
XCOMM The root directory of where the installation will put include and lib.
|
||||||
|
|
||||||
|
! IMLROOT = ${X11BASE}
|
||||||
|
|
||||||
|
XCOMM imlib custom configuration file
|
||||||
|
XCOMM --------------------------------
|
||||||
|
XCOMM Change the following to where you would like imrc and imlib.pal
|
||||||
|
XCOMM to be loaded
|
||||||
|
|
||||||
|
! CNFDIR = ${X11BASE}/etc/imlib
|
||||||
|
|
||||||
|
XCOMM Location of the NetPBM Utilities
|
||||||
|
XCOMM --------------------------------
|
||||||
|
***************
|
||||||
|
*** 25,31 ****
|
||||||
|
#ifdef SunArchitecture
|
||||||
|
NETPBM_DIR = /usr/openwin/bin
|
||||||
#else
|
#else
|
||||||
-ETCDIR=/etc
|
! NETPBM_DIR = /usr/local/bin
|
||||||
+ETCDIR=/usr/X11R6/lib/X11/enlightenment
|
#endif
|
||||||
#endif /* def UseEtcX11 */
|
|
||||||
|
|
||||||
CNFDIR = $(ETCDIR)
|
XCOMM Location of the IJG JPEG Utilities
|
||||||
|
--- 25,31 ----
|
||||||
|
#ifdef SunArchitecture
|
||||||
|
NETPBM_DIR = /usr/openwin/bin
|
||||||
|
#else
|
||||||
|
! NETPBM_DIR = ${X11BASE}/bin
|
||||||
|
#endif
|
||||||
|
|
||||||
DEFINES = -DSYSTEM_IMRC=\"$(ETCDIR)/imrc\" \
|
XCOMM Location of the IJG JPEG Utilities
|
||||||
-DCONVERT_PATH=\"$(CONVERT_DIR)\" \
|
***************
|
||||||
- -DNETPBM_PATH=\"$(NETPBM_DIR)\"
|
*** 33,39 ****
|
||||||
+ -DNETPBM_PATH=\"$(NETPBM_DIR)\" \
|
XCOMM imlib needs convert and djpeg from the IJG. This is the location
|
||||||
+ -DJPEG_PATH=\"$(JPEG_DIR)\"
|
XCOMM of those files.
|
||||||
|
|
||||||
SRCS = load.c rend.c misc.c colors.c cache.c
|
! CONVERT_DIR = /usr/local/bin
|
||||||
OBJS = load.o rend.o misc.o colors.o cache.o
|
JPEG_DIR = /usr/local/bin
|
||||||
@@ -72,7 +74,7 @@
|
|
||||||
CNFSRC = ./sys_conf
|
|
||||||
CNFS = $(CNFSRC)/imrc
|
|
||||||
PALS = $(CNFSRC)/im_palette.pal
|
|
||||||
-CNFFLAGS = -m 0644 -o root -g root
|
|
||||||
+CNFFLAGS = -m 0644 -o root -g wheel
|
|
||||||
InstallMultipleFlags($(CNFS) $(PALS),$(CNFDIR),$(CNFFLAGS))
|
|
||||||
|
|
||||||
DependTarget()
|
XCOMM JPEG Library Support
|
||||||
|
--- 33,39 ----
|
||||||
|
XCOMM imlib needs convert and djpeg from the IJG. This is the location
|
||||||
|
XCOMM of those files.
|
||||||
|
|
||||||
|
! CONVERT_DIR = ${X11BASE}/bin
|
||||||
|
JPEG_DIR = /usr/local/bin
|
||||||
|
|
||||||
|
XCOMM JPEG Library Support
|
||||||
|
***************
|
||||||
|
*** 41,47 ****
|
||||||
|
XCOMM imlib can use the IJG JPEG library (libjpeg) directly. If you
|
||||||
|
XCOMM wish to compile this in, set this to YES.
|
||||||
|
|
||||||
|
! #define DoJPEG NO
|
||||||
|
|
||||||
|
XCOMM PNG Library Support
|
||||||
|
XCOMM --------------------
|
||||||
|
--- 41,47 ----
|
||||||
|
XCOMM imlib can use the IJG JPEG library (libjpeg) directly. If you
|
||||||
|
XCOMM wish to compile this in, set this to YES.
|
||||||
|
|
||||||
|
! #define DoJPEG YES
|
||||||
|
|
||||||
|
XCOMM PNG Library Support
|
||||||
|
XCOMM --------------------
|
||||||
|
***************
|
||||||
|
*** 49,62 ****
|
||||||
|
XCOMM If you wish to compile this in, set this to YES.
|
||||||
|
XCOMM [NOTE: This library requires libz be availabel too.]
|
||||||
|
|
||||||
|
! #define DoPNG NO
|
||||||
|
|
||||||
|
XCOMM TIFF Library Support
|
||||||
|
XCOMM --------------------
|
||||||
|
XCOMM imlib can use the TIFF library (libtiff) directly. If you
|
||||||
|
XCOMM wish to compile this in, set this to YES.
|
||||||
|
|
||||||
|
! #define DoTIFF NO
|
||||||
|
|
||||||
|
XCOMM Shared Library Support
|
||||||
|
XCOMM ----------------------
|
||||||
|
--- 49,62 ----
|
||||||
|
XCOMM If you wish to compile this in, set this to YES.
|
||||||
|
XCOMM [NOTE: This library requires libz be availabel too.]
|
||||||
|
|
||||||
|
! #define DoPNG YES
|
||||||
|
|
||||||
|
XCOMM TIFF Library Support
|
||||||
|
XCOMM --------------------
|
||||||
|
XCOMM imlib can use the TIFF library (libtiff) directly. If you
|
||||||
|
XCOMM wish to compile this in, set this to YES.
|
||||||
|
|
||||||
|
! #define DoTIFF YES
|
||||||
|
|
||||||
|
XCOMM Shared Library Support
|
||||||
|
XCOMM ----------------------
|
||||||
|
***************
|
||||||
|
*** 94,100 ****
|
||||||
|
|
||||||
|
XCOMM GNU C v2.xxx flags
|
||||||
|
#if HasGcc2
|
||||||
|
! USR_FLAGS = -Wall -pedantic
|
||||||
|
|
||||||
|
XCOMM Solaris v2.6 or Solaris v2.x
|
||||||
|
#elif defined(HasSunC) || defined(SunArchitecture) && defined(SVR4)
|
||||||
|
--- 94,100 ----
|
||||||
|
|
||||||
|
XCOMM GNU C v2.xxx flags
|
||||||
|
#if HasGcc2
|
||||||
|
! USR_FLAGS += -Wall -pedantic
|
||||||
|
|
||||||
|
XCOMM Solaris v2.6 or Solaris v2.x
|
||||||
|
#elif defined(HasSunC) || defined(SunArchitecture) && defined(SVR4)
|
||||||
|
*** Imakefile.orig Tue Nov 25 08:38:34 1997
|
||||||
|
--- Imakefile Thu Nov 27 04:14:06 1997
|
||||||
|
***************
|
||||||
|
*** 21,27 ****
|
||||||
|
XCOMM Library we are building and the revision
|
||||||
|
|
||||||
|
IMLLIBNAME=Im
|
||||||
|
! IMLLIBREV=0.11
|
||||||
|
|
||||||
|
XCOMM These are the directories we are going to also run imake and make in.
|
||||||
|
XCOMM IHaveSubdirs tells imake to actually look at $(SUBDIRS)
|
||||||
|
--- 21,27 ----
|
||||||
|
XCOMM Library we are building and the revision
|
||||||
|
|
||||||
|
IMLLIBNAME=Im
|
||||||
|
! IMLLIBREV=4.0
|
||||||
|
|
||||||
|
XCOMM These are the directories we are going to also run imake and make in.
|
||||||
|
XCOMM IHaveSubdirs tells imake to actually look at $(SUBDIRS)
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
include/X11/imlib.h
|
include/X11/imlib.h
|
||||||
|
etc/imlib/im_palette.pal
|
||||||
|
etc/imlib/imrc
|
||||||
lib/libIm.a
|
lib/libIm.a
|
||||||
lib/libIm.so.3.7
|
lib/libIm.so.4.0
|
||||||
@exec ldconfig -m %B
|
@exec ldconfig -m %B
|
||||||
lib/X11/enlightenment/im_palette.pal
|
man/man3/imlib.3.gz
|
||||||
lib/X11/enlightenment/imrc
|
@dirrm etc/imlib
|
||||||
man/man3/imlib.3x.gz
|
|
||||||
@dirrm lib/X11/enlightenment
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue