add imlib port
This commit is contained in:
parent
b1da2ef21b
commit
164862e0d7
36
graphics/imlib/Makefile
Normal file
36
graphics/imlib/Makefile
Normal file
@ -0,0 +1,36 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 1999/03/19 07:33:56 brad Exp $
|
||||
# $FreeBSD: Makefile,v 1.45 1999/03/09 01:08:57 nectar Exp $
|
||||
|
||||
DISTNAME= imlib-1.9.4
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= ${MASTER_SITE_GNOME}
|
||||
MASTER_SITE_SUBDIR= gnome-1.0/sources
|
||||
|
||||
MAINTAINER= brad@openbsd.org
|
||||
|
||||
BUILD_DEPENDS= gettext:${PORTSDIR}/devel/gettext \
|
||||
${LOCALBASE}/lib/libpbm.a:${PORTSDIR}/graphics/netpbm
|
||||
RUN_DEPENDS= gettext:${PORTSDIR}/devel/gettext
|
||||
LIB_DEPENDS= gif:${PORTSDIR}/graphics/giflib \
|
||||
glib\\.1\\.2:${PORTSDIR}/devel/glib \
|
||||
gtk\\.1\\.2:${PORTSDIR}/x11/gtk+ \
|
||||
jpeg:${PORTSDIR}/graphics/jpeg \
|
||||
png:${PORTSDIR}/graphics/png \
|
||||
tiff:${PORTSDIR}/graphics/tiff34 \
|
||||
|
||||
USE_GMAKE= yes
|
||||
USE_X11= yes
|
||||
SYSCONFDIR= ${PREFIX}/lib/imlib
|
||||
SEPARATE_BUILD= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --sysconfdir=${SYSCONFDIR}
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
GTK_CONFIG="${X11BASE}/bin/gtk-config" \
|
||||
LIBS="-L${LOCALBASE}/lib"
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${LOCALBASE}/share/aclocal
|
||||
@${INSTALL_DATA} ${WRKSRC}/imlib.m4 ${LOCALBASE}/share/aclocal/
|
||||
${LDCONFIG} -m ${PREFIX}/lib
|
||||
|
||||
.include <bsd.port.mk>
|
3
graphics/imlib/files/md5
Normal file
3
graphics/imlib/files/md5
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (imlib-1.9.4.tar.gz) = 8d0e50e28a5b203ff76f114bb38627c7
|
||||
RMD160 (imlib-1.9.4.tar.gz) = fa6ea8b04ef60f74a371dcbb4336889a3832943e
|
||||
SHA1 (imlib-1.9.4.tar.gz) = 5e2ef04bb01fbbbfdadc832f1147ea18ead51877
|
20
graphics/imlib/patches/patch-aa
Normal file
20
graphics/imlib/patches/patch-aa
Normal file
@ -0,0 +1,20 @@
|
||||
--- configure.orig Thu Feb 25 01:44:38 1999
|
||||
+++ configure Mon Mar 1 20:30:08 1999
|
||||
@@ -4153,7 +4153,7 @@
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
ac_save_LIBS="$LIBS"
|
||||
-LIBS="-lXext $X_LIBS $LIBS"
|
||||
+LIBS="-lXext -lX11 $X_LIBS $LIBS"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 4159 "configure"
|
||||
#include "confdefs.h"
|
||||
@@ -4488,7 +4488,7 @@
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
ac_save_LIBS="$LIBS"
|
||||
-LIBS="-ltiff $GX_LIBS $LIBS"
|
||||
+LIBS="-ltiff -ljpeg -lz $GX_LIBS $LIBS"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 4494 "configure"
|
||||
#include "confdefs.h"
|
11
graphics/imlib/patches/patch-ab
Normal file
11
graphics/imlib/patches/patch-ab
Normal file
@ -0,0 +1,11 @@
|
||||
--- Imlib/Makefile.in.orig Wed Mar 17 01:19:26 1999
|
||||
+++ Imlib/Makefile.in Wed Mar 17 01:19:48 1999
|
||||
@@ -123,7 +123,7 @@
|
||||
libImlib_la_SOURCES = cache.c colors.c load.c misc.c rend.c utils.c save.c snprintf.c
|
||||
|
||||
|
||||
-libImlib_la_LDFLAGS = -version-info 10:4:9
|
||||
+libImlib_la_LDFLAGS = -version-info 1:9:0
|
||||
#libImlib_la_LDDADD = $(SUPPORT_LIBS)
|
||||
libImlib_la_LIBADD = $(SUPPORT_LIBS)
|
||||
|
11
graphics/imlib/patches/patch-ac
Normal file
11
graphics/imlib/patches/patch-ac
Normal file
@ -0,0 +1,11 @@
|
||||
--- gdk_imlib/Makefile.in.orig Wed Mar 17 01:21:32 1999
|
||||
+++ gdk_imlib/Makefile.in Wed Mar 17 01:21:43 1999
|
||||
@@ -157,7 +157,7 @@
|
||||
libgdk_imlib_la_SOURCES = cache.c colors.c globals.c load.c misc.c rend.c utils.c save.c modules.c
|
||||
|
||||
|
||||
-libgdk_imlib_la_LDFLAGS = -version-info 10:4:9
|
||||
+libgdk_imlib_la_LDFLAGS = -version-info 1:9:0
|
||||
libgdk_imlib_la_LIBADD = $(GMODULE_LIBS)
|
||||
|
||||
include_HEADERS = gdk_imlib.h gdk_imlib_private.h gdk_imlib_types.h
|
43
graphics/imlib/patches/patch-ad
Normal file
43
graphics/imlib/patches/patch-ad
Normal file
@ -0,0 +1,43 @@
|
||||
--- ltmain.sh.orig Fri Mar 19 01:34:16 1999
|
||||
+++ ltmain.sh Fri Mar 19 01:34:37 1999
|
||||
@@ -3022,40 +3022,6 @@
|
||||
# Exit here if they wanted silent mode.
|
||||
test "$show" = : && exit 0
|
||||
|
||||
- echo "----------------------------------------------------------------------"
|
||||
- echo "Libraries have been installed in:"
|
||||
- for libdir in $libdirs; do
|
||||
- echo " $libdir"
|
||||
- done
|
||||
- echo
|
||||
- echo "If you ever happen to want to link against installed libraries"
|
||||
- echo "in a given directory, LIBDIR, you must either use libtool, and"
|
||||
- echo "specify the full pathname of the library, or use \`-LLIBDIR'"
|
||||
- echo "flag during linking and do at least one of the following:"
|
||||
- if test -n "$shlibpath_var"; then
|
||||
- echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
|
||||
- echo " during execution"
|
||||
- fi
|
||||
- if test -n "$runpath_var"; then
|
||||
- echo " - add LIBDIR to the \`$runpath_var' environment variable"
|
||||
- echo " during linking"
|
||||
- fi
|
||||
- if test -n "$hardcode_libdir_flag_spec"; then
|
||||
- libdir=LIBDIR
|
||||
- eval flag=\"$hardcode_libdir_flag_spec\"
|
||||
-
|
||||
- echo " - use the \`$flag' linker flag"
|
||||
- fi
|
||||
- if test -n "$admincmds"; then
|
||||
- echo " - have your system administrator run these commands:$admincmds"
|
||||
- fi
|
||||
- if test -f /etc/ld.so.conf; then
|
||||
- echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
|
||||
- fi
|
||||
- echo
|
||||
- echo "See any operating system documentation about shared libraries for"
|
||||
- echo "more information, such as the ld(1) and ld.so(8) manual pages."
|
||||
- echo "----------------------------------------------------------------------"
|
||||
exit 0
|
||||
;;
|
||||
|
1
graphics/imlib/pkg/COMMENT
Normal file
1
graphics/imlib/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
an image manipulation library for X11
|
4
graphics/imlib/pkg/DESCR
Normal file
4
graphics/imlib/pkg/DESCR
Normal file
@ -0,0 +1,4 @@
|
||||
imlib is an advanced graphics library meant to replace existing librarys
|
||||
like libXpm, and provides many more features with much greater flexibility
|
||||
and speed.
|
||||
|
52
graphics/imlib/pkg/PLIST
Normal file
52
graphics/imlib/pkg/PLIST
Normal file
@ -0,0 +1,52 @@
|
||||
bin/imlib-config
|
||||
bin/imlib_config
|
||||
lib/imlib/im_palette.pal
|
||||
lib/imlib/imrc
|
||||
include/Imlib.h
|
||||
include/Imlib_private.h
|
||||
include/Imlib_types.h
|
||||
include/gdk_imlib.h
|
||||
include/gdk_imlib_private.h
|
||||
include/gdk_imlib_types.h
|
||||
lib/libImlib.a
|
||||
lib/libImlib.la
|
||||
lib/libImlib.so
|
||||
lib/libImlib.so.1.9
|
||||
lib/libgdk_imlib.a
|
||||
lib/libgdk_imlib.la
|
||||
lib/libgdk_imlib.so
|
||||
lib/libgdk_imlib.so.1.9
|
||||
lib/libimlib-bmp.a
|
||||
lib/libimlib-bmp.la
|
||||
lib/libimlib-bmp.so
|
||||
lib/libimlib-bmp.so.0.0
|
||||
lib/libimlib-gif.a
|
||||
lib/libimlib-gif.la
|
||||
lib/libimlib-gif.so
|
||||
lib/libimlib-gif.so.0.0
|
||||
lib/libimlib-jpeg.a
|
||||
lib/libimlib-jpeg.la
|
||||
lib/libimlib-jpeg.so
|
||||
lib/libimlib-jpeg.so.0.0
|
||||
lib/libimlib-png.a
|
||||
lib/libimlib-png.la
|
||||
lib/libimlib-png.so
|
||||
lib/libimlib-png.so.0.0
|
||||
lib/libimlib-ppm.a
|
||||
lib/libimlib-ppm.la
|
||||
lib/libimlib-ppm.so
|
||||
lib/libimlib-ppm.so.0.0
|
||||
lib/libimlib-ps.a
|
||||
lib/libimlib-ps.la
|
||||
lib/libimlib-ps.so
|
||||
lib/libimlib-ps.so.0.0
|
||||
lib/libimlib-tiff.a
|
||||
lib/libimlib-tiff.la
|
||||
lib/libimlib-tiff.so
|
||||
lib/libimlib-tiff.so.0.0
|
||||
lib/libimlib-xpm.a
|
||||
lib/libimlib-xpm.la
|
||||
lib/libimlib-xpm.so
|
||||
lib/libimlib-xpm.so.0.0
|
||||
@exec /sbin/ldconfig -m %B
|
||||
@dirrm lib/imlib
|
31
graphics/imlib/pkg/PLIST.noshared
Normal file
31
graphics/imlib/pkg/PLIST.noshared
Normal file
@ -0,0 +1,31 @@
|
||||
bin/imlib-config
|
||||
bin/imlib_config
|
||||
lib/imlib/im_palette.pal
|
||||
lib/imlib/imrc
|
||||
include/Imlib.h
|
||||
include/Imlib_private.h
|
||||
include/Imlib_types.h
|
||||
include/gdk_imlib.h
|
||||
include/gdk_imlib_private.h
|
||||
include/gdk_imlib_types.h
|
||||
lib/libImlib.a
|
||||
lib/libImlib.la
|
||||
lib/libgdk_imlib.a
|
||||
lib/libgdk_imlib.la
|
||||
lib/libimlib-bmp.a
|
||||
lib/libimlib-bmp.la
|
||||
lib/libimlib-gif.a
|
||||
lib/libimlib-gif.la
|
||||
lib/libimlib-jpeg.a
|
||||
lib/libimlib-jpeg.la
|
||||
lib/libimlib-png.a
|
||||
lib/libimlib-png.la
|
||||
lib/libimlib-ppm.a
|
||||
lib/libimlib-ppm.la
|
||||
lib/libimlib-ps.a
|
||||
lib/libimlib-ps.la
|
||||
lib/libimlib-tiff.a
|
||||
lib/libimlib-tiff.la
|
||||
lib/libimlib-xpm.a
|
||||
lib/libimlib-xpm.la
|
||||
@dirrm lib/imlib
|
Loading…
Reference in New Issue
Block a user