Update to 2.6.2.

Enable python and printing support. (Note: the pros and cons about python
have been discussed at p2k8, and most people agreed that it isn't an issue).
Adjust license information (it's GPLv2).
Add a MAINTAINER (who maintained this program for quite some time now).

From the "new" maintainer Giovanni Bechis <bigionews@snb.it>. Thanks!

Tested on i386 and powerpc by me, and on amd64 by simon@
This commit is contained in:
kili 2008-11-16 21:19:23 +00:00
parent b9aef06ba5
commit 5226c0e081
6 changed files with 101 additions and 33 deletions

View File

@ -1,20 +1,21 @@
# $OpenBSD: Makefile,v 1.39 2008/10/21 19:53:17 kili Exp $
# $OpenBSD: Makefile,v 1.40 2008/11/16 21:19:23 kili Exp $
COMMENT= GNU Image Manipulation Program
DISTNAME= gimp-2.6.0
PKGNAME= ${DISTNAME}p0
SHARED_LIBS= gimp-2.0 260.0 \
gimpbase-2.0 260.0 \
gimpcolor-2.0 260.0 \
gimpconfig-2.0 260.0 \
gimpmath-2.0 260.0 \
gimpmodule-2.0 260.0 \
gimpthumb-2.0 260.0 \
gimpui-2.0 260.0 \
gimpwidgets-2.0 260.0
DISTNAME= gimp-2.6.2
SHARED_LIBS= gimp-2.0 262.0 \
gimpbase-2.0 262.0 \
gimpcolor-2.0 262.0 \
gimpconfig-2.0 262.0 \
gimpmath-2.0 262.0 \
gimpmodule-2.0 262.0 \
gimpthumb-2.0 262.0 \
gimpui-2.0 262.0 \
gimpwidgets-2.0 262.0
CATEGORIES= graphics
MAINTAINER= Giovanni Bechis <g.bechis@snb.it>
DIR= gimp/v2.6
MASTER_SITES= ftp://ftp.gimp.org/pub/${DIR}/ \
ftp://ftp.sunet.se/pub/gnu/${DIR}/ \
@ -24,7 +25,7 @@ HOMEPAGE= http://www.gimp.org/
EXTRACT_SUFX= .tar.bz2
RUN_DEPENDS= :wget-*:net/wget
BUILD_DEPENDS= ::textproc/libxslt
LIB_DEPENDS= gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2 \
aa.>=1.3::graphics/aalib \
dbus-glib-1::x11/dbus-glib \
@ -33,9 +34,10 @@ LIB_DEPENDS= gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2 \
tiff.>=35::graphics/tiff \
wmf.>=6,wmflite.>=6::graphics/libwmf \
poppler.>=3,poppler-glib.>=3::print/poppler \
gegl-0.0::graphics/gegl
gegl-0.0::graphics/gegl \
:py-gtk2-*:x11/py-gtk2
# GPL
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
@ -61,9 +63,9 @@ USE_LIBTOOL= Yes
AUTOCONF_VERSION= 2.61
CONFIGURE_STYLE= autoconf
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+=--without-gtkhtml2 --without-print \
--without-gnomevfs --without-libcurl --without-webkit \
--disable-python --enable-gimp-remote
CONFIGURE_ARGS+=--without-gtkhtml2 --without-gvfs \
--without-libcurl --without-webkit \
--enable-gimp-remote
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/libpng -I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"

View File

@ -1,5 +1,5 @@
MD5 (gimp-2.6.0.tar.bz2) = 5ayVX+6LN21DHkaTAn12QA==
RMD160 (gimp-2.6.0.tar.bz2) = ZtrkOzYimDFL78OZFrs+AbkJi1A=
SHA1 (gimp-2.6.0.tar.bz2) = GH7/tXIqHVlDxI7HSjvpbINiFfY=
SHA256 (gimp-2.6.0.tar.bz2) = 9AVeqPGBXX3Mpr8BWa9wSJJD1joU3PryqZSvBi2CnKg=
SIZE (gimp-2.6.0.tar.bz2) = 15897821
MD5 (gimp-2.6.2.tar.bz2) = NmTRLyZEfA7cP2EZh7m/LQ==
RMD160 (gimp-2.6.2.tar.bz2) = urqQVyR4IA+UItRHQ3xvZpFA/AM=
SHA1 (gimp-2.6.2.tar.bz2) = tq5WQTJj2Oo9SiavdJYOtAbthvo=
SHA256 (gimp-2.6.2.tar.bz2) = Mav4mHOPl107ThmSahlsBxlJfzojAM6xX8tEAJDFqy0=
SIZE (gimp-2.6.2.tar.bz2) = 15918673

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-configure_in,v 1.6 2008/10/20 21:38:18 kili Exp $
--- configure.in.orig Mon Sep 29 19:23:02 2008
+++ configure.in Thu Oct 2 19:51:05 2008
@@ -1146,10 +1146,10 @@ if test "x$with_libmng" != xno && test -z "$MNG_LIBS"
$OpenBSD: patch-configure_in,v 1.7 2008/11/16 21:19:23 kili Exp $
--- configure.in.orig Thu Oct 30 10:33:25 2008
+++ configure.in Fri Nov 14 09:03:17 2008
@@ -1141,10 +1141,10 @@ if test "x$with_libmng" != xno && test -z "$MNG_LIBS"
test -n "$PNG_LIBS" && test -n "$JPEG_LIBS" && test -n "$Z_LIBS"; then
AC_CHECK_LIB(mng, mng_create,
[AC_CHECK_HEADER(libmng.h, mng_ok=yes)],
@ -14,3 +14,23 @@ $OpenBSD: patch-configure_in,v 1.6 2008/10/20 21:38:18 kili Exp $
else
have_libmng="no (MNG header file not found)"
fi
@@ -1332,19 +1332,9 @@ if test "x$with_gnomevfs" != xno; then
gnome_vfs_modules="gnome-vfs-2.0 >= gnome_vfs_required_version"
-if $PKG_CONFIG --atleast-version=gnomeui_required_version libgnomeui-2.0; then
- have_gnomeui=yes
- gnome_vfs_modules="$gnome_vfs_modules libgnomeui-2.0"
-else
have_gnomeui="no (libgnomeui-2.0 not found)"
-fi
-if $PKG_CONFIG --atleast-version=gnome_keyring_required_version gnome-keyring-1; then
- have_gnome_keyring=yes
- gnome_vfs_modules="$gnome_vfs_modules gnome-keyring-1"
-else
have_gnome_keyring="no (gnome-keyring-1 not found)"
-fi
PKG_CHECK_MODULES(GNOME_VFS, $gnome_vfs_modules,
have_gnomevfs=yes,

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-etc_Makefile_in,v 1.9 2008/10/20 21:38:18 kili Exp $
--- etc/Makefile.in.orig Mon Sep 29 19:23:19 2008
+++ etc/Makefile.in Thu Oct 2 19:38:17 2008
@@ -340,7 +340,7 @@ gimpdatadir = @gimpdatadir@
$OpenBSD: patch-etc_Makefile_in,v 1.10 2008/11/16 21:19:23 kili Exp $
--- etc/Makefile.in.orig Thu Oct 30 11:33:59 2008
+++ etc/Makefile.in Fri Oct 31 09:06:42 2008
@@ -339,7 +339,7 @@ gimpdatadir = @gimpdatadir@
gimpdir = @gimpdir@
gimplocaledir = @gimplocaledir@
gimpplugindir = @gimpplugindir@

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PFRAG.shared,v 1.8 2008/10/20 21:38:18 kili Exp $
@comment $OpenBSD: PFRAG.shared,v 1.9 2008/11/16 21:19:23 kili Exp $
lib/gimp/2.0/modules/libcolor-selector-cmyk.so
lib/gimp/2.0/modules/libcolor-selector-water.so
lib/gimp/2.0/modules/libcolor-selector-wheel.so
@ -8,6 +8,11 @@ lib/gimp/2.0/modules/libdisplay-filter-gamma.so
lib/gimp/2.0/modules/libdisplay-filter-high-contrast.so
lib/gimp/2.0/modules/libdisplay-filter-lcms.so
lib/gimp/2.0/modules/libdisplay-filter-proof.so
lib/gimp/2.0/python/_gimpenums.so
lib/gimp/2.0/python/_gimpui.so
lib/gimp/2.0/python/gimp.so
lib/gimp/2.0/python/gimpcolor.so
lib/gimp/2.0/python/gimpthumb.so
@lib lib/libgimp-2.0.so.${LIBgimp-2.0_VERSION}
@lib lib/libgimpbase-2.0.so.${LIBgimpbase-2.0_VERSION}
@lib lib/libgimpcolor-2.0.so.${LIBgimpcolor-2.0_VERSION}

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.16 2008/10/20 21:38:18 kili Exp $
@comment $OpenBSD: PLIST,v 1.17 2008/11/16 21:19:23 kili Exp $
@pkgpath ${BASE_PKGPATH},altivec
%%SHARED%%
bin/gimp
@ -228,8 +228,10 @@ lib/gimp/
lib/gimp/2.0/
lib/gimp/2.0/environ/
lib/gimp/2.0/environ/default.env
lib/gimp/2.0/environ/pygimp.env
lib/gimp/2.0/interpreters/
lib/gimp/2.0/interpreters/default.interp
lib/gimp/2.0/interpreters/pygimp.interp
lib/gimp/2.0/modules/
lib/gimp/2.0/modules/libcolor-selector-cmyk.a
lib/gimp/2.0/modules/libcolor-selector-cmyk.la
@ -274,6 +276,7 @@ lib/gimp/2.0/plug-ins/
@bin lib/gimp/2.0/plug-ins/color-to-alpha
@bin lib/gimp/2.0/plug-ins/colorify
@bin lib/gimp/2.0/plug-ins/colormap-remap
lib/gimp/2.0/plug-ins/colorxhtml.py
@bin lib/gimp/2.0/plug-ins/compose
@bin lib/gimp/2.0/plug-ins/contrast-normalize
@bin lib/gimp/2.0/plug-ins/contrast-retinex
@ -344,6 +347,7 @@ lib/gimp/2.0/plug-ins/
@bin lib/gimp/2.0/plug-ins/film
@bin lib/gimp/2.0/plug-ins/filter-pack
@bin lib/gimp/2.0/plug-ins/flame
lib/gimp/2.0/plug-ins/foggify.py
@bin lib/gimp/2.0/plug-ins/fractal-explorer
@bin lib/gimp/2.0/plug-ins/fractal-trace
@bin lib/gimp/2.0/plug-ins/gee
@ -382,12 +386,20 @@ lib/gimp/2.0/plug-ins/
@bin lib/gimp/2.0/plug-ins/nova
@bin lib/gimp/2.0/plug-ins/oilify
@bin lib/gimp/2.0/plug-ins/pagecurl
lib/gimp/2.0/plug-ins/palette-offset.py
lib/gimp/2.0/plug-ins/palette-sort.py
lib/gimp/2.0/plug-ins/palette-to-gradient.py
@bin lib/gimp/2.0/plug-ins/photocopy
@bin lib/gimp/2.0/plug-ins/pixelize
@bin lib/gimp/2.0/plug-ins/plasma
@bin lib/gimp/2.0/plug-ins/plugin-browser
@bin lib/gimp/2.0/plug-ins/polar-coords
@bin lib/gimp/2.0/plug-ins/print
@bin lib/gimp/2.0/plug-ins/procedure-browser
lib/gimp/2.0/plug-ins/py-slice.py
lib/gimp/2.0/plug-ins/pyconsole.py
lib/gimp/2.0/plug-ins/python-console.py
lib/gimp/2.0/plug-ins/python-eval.py
@bin lib/gimp/2.0/plug-ins/qbist
@bin lib/gimp/2.0/plug-ins/red-eye-removal
@bin lib/gimp/2.0/plug-ins/ripple
@ -421,6 +433,33 @@ lib/gimp/2.0/plug-ins/
@bin lib/gimp/2.0/plug-ins/web-browser
@bin lib/gimp/2.0/plug-ins/whirl-pinch
@bin lib/gimp/2.0/plug-ins/wind
lib/gimp/2.0/python/
lib/gimp/2.0/python/_gimpenums.a
lib/gimp/2.0/python/_gimpenums.la
lib/gimp/2.0/python/_gimpui.a
lib/gimp/2.0/python/_gimpui.la
lib/gimp/2.0/python/gimp.a
lib/gimp/2.0/python/gimp.la
lib/gimp/2.0/python/gimpcolor.a
lib/gimp/2.0/python/gimpcolor.la
lib/gimp/2.0/python/gimpenums.py
lib/gimp/2.0/python/gimpenums.pyc
lib/gimp/2.0/python/gimpenums.pyo
lib/gimp/2.0/python/gimpfu.py
lib/gimp/2.0/python/gimpfu.pyc
lib/gimp/2.0/python/gimpfu.pyo
lib/gimp/2.0/python/gimpplugin.py
lib/gimp/2.0/python/gimpplugin.pyc
lib/gimp/2.0/python/gimpplugin.pyo
lib/gimp/2.0/python/gimpshelf.py
lib/gimp/2.0/python/gimpshelf.pyc
lib/gimp/2.0/python/gimpshelf.pyo
lib/gimp/2.0/python/gimpthumb.a
lib/gimp/2.0/python/gimpthumb.la
lib/gimp/2.0/python/gimpui.py
lib/gimp/2.0/python/gimpui.pyc
lib/gimp/2.0/python/gimpui.pyo
lib/gimp/2.0/python/pygimp-logo.png
lib/libgimp-2.0.a
lib/libgimp-2.0.la
lib/libgimpbase-2.0.a
@ -1820,6 +1859,8 @@ share/locale/en_CA/LC_MESSAGES/gimp20-script-fu.mo
share/locale/en_CA/LC_MESSAGES/gimp20-std-plug-ins.mo
share/locale/en_CA/LC_MESSAGES/gimp20-tips.mo
share/locale/en_CA/LC_MESSAGES/gimp20.mo
share/locale/en_GB/
share/locale/en_GB/LC_MESSAGES/
share/locale/en_GB/LC_MESSAGES/gimp20-libgimp.mo
share/locale/en_GB/LC_MESSAGES/gimp20-python.mo
share/locale/en_GB/LC_MESSAGES/gimp20-script-fu.mo