From 0755df96819f898e5d138feb743350ce9cf955bf Mon Sep 17 00:00:00 2001 From: Koop Mast Date: Thu, 18 Nov 2004 09:55:04 +0000 Subject: Resurrect gimp-devel and update to version 2.2.pre1. Approved by: pav (mentor) --- graphics/Makefile | 1 + graphics/gimp-app-devel/Makefile | 114 ++ graphics/gimp-app-devel/distinfo | 2 + graphics/gimp-app-devel/files/gimp.setfont | 157 ++ graphics/gimp-app-devel/files/patch-aa | 20 + graphics/gimp-app-devel/files/patch-ab | 13 + graphics/gimp-app-devel/files/patch-am | 19 + graphics/gimp-app-devel/files/patch-configure | 13 + .../gimp-app-devel/files/patch-gimptool-2.0.in | 29 + graphics/gimp-app-devel/files/patch-ltmain.sh | 41 + .../files/patch-plug-ins_print_print.c | 11 + graphics/gimp-app-devel/pkg-descr | 19 + graphics/gimp-app-devel/pkg-plist | 1875 ++++++++++++++++++++ graphics/gimp-devel/Makefile | 114 ++ graphics/gimp-devel/distinfo | 2 + graphics/gimp-devel/files/gimp.setfont | 157 ++ graphics/gimp-devel/files/patch-aa | 20 + graphics/gimp-devel/files/patch-ab | 13 + graphics/gimp-devel/files/patch-am | 19 + graphics/gimp-devel/files/patch-configure | 13 + graphics/gimp-devel/files/patch-gimptool-2.0.in | 29 + graphics/gimp-devel/files/patch-ltmain.sh | 41 + .../gimp-devel/files/patch-plug-ins_print_print.c | 11 + graphics/gimp-devel/pkg-descr | 19 + graphics/gimp-devel/pkg-plist | 1875 ++++++++++++++++++++ 25 files changed, 4627 insertions(+) create mode 100644 graphics/gimp-app-devel/Makefile create mode 100644 graphics/gimp-app-devel/distinfo create mode 100644 graphics/gimp-app-devel/files/gimp.setfont create mode 100644 graphics/gimp-app-devel/files/patch-aa create mode 100644 graphics/gimp-app-devel/files/patch-ab create mode 100644 graphics/gimp-app-devel/files/patch-am create mode 100644 graphics/gimp-app-devel/files/patch-configure create mode 100644 graphics/gimp-app-devel/files/patch-gimptool-2.0.in create mode 100644 graphics/gimp-app-devel/files/patch-ltmain.sh create mode 100644 graphics/gimp-app-devel/files/patch-plug-ins_print_print.c create mode 100644 graphics/gimp-app-devel/pkg-descr create mode 100644 graphics/gimp-app-devel/pkg-plist create mode 100644 graphics/gimp-devel/Makefile create mode 100644 graphics/gimp-devel/distinfo create mode 100644 graphics/gimp-devel/files/gimp.setfont create mode 100644 graphics/gimp-devel/files/patch-aa create mode 100644 graphics/gimp-devel/files/patch-ab create mode 100644 graphics/gimp-devel/files/patch-am create mode 100644 graphics/gimp-devel/files/patch-configure create mode 100644 graphics/gimp-devel/files/patch-gimptool-2.0.in create mode 100644 graphics/gimp-devel/files/patch-ltmain.sh create mode 100644 graphics/gimp-devel/files/patch-plug-ins_print_print.c create mode 100644 graphics/gimp-devel/pkg-descr create mode 100644 graphics/gimp-devel/pkg-plist (limited to 'graphics') diff --git a/graphics/Makefile b/graphics/Makefile index 46243552e90c..487446eb1944 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -122,6 +122,7 @@ SUBDIR += giftrans SUBDIR += gimageview SUBDIR += gimp + SUBDIR += gimp-devel SUBDIR += gimp-manual-html SUBDIR += gimp-manual-pdf SUBDIR += gimp-pmosaic diff --git a/graphics/gimp-app-devel/Makefile b/graphics/gimp-app-devel/Makefile new file mode 100644 index 000000000000..696e687d08e2 --- /dev/null +++ b/graphics/gimp-app-devel/Makefile @@ -0,0 +1,114 @@ +# New ports collection makefile for: The GIMP +# Date created: Mon Nov 18 21:28:43 CST 1996 +# Whom: erich@FreeBSD.org +# +# $FreeBSD$ +# + +PORTNAME= gimp +PORTVERSION= 2.2.p1 +PORTEPOCH= 1 +CATEGORIES= graphics gnome +MASTER_SITES= ftp://ftp.gimp.org/pub/%SUBDIR%/ \ + http://ftp.gwdg.de/pub/misc/grafik/gimp/%SUBDIR%/ \ + ftp://ftp.fh-heilbronn.de/mirrors/ftp.gimp.org/%SUBDIR%/ \ + ftp://ftp.insync.net/pub/mirrors/ftp.gimp.org/%SUBDIR%/ \ + ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,graphics/%SUBDIR%,} +MASTER_SITE_SUBDIR= gimp/v${PORTVERSION:R}/testing +DISTNAME= ${PORTNAME}-${PORTVERSION:S,.p1,-pre1,} + +MAINTAINER= gnome@FreeBSD.org +COMMENT= A GNU Image Manipulation Program + +LIB_DEPENDS= aa.1:${PORTSDIR}/graphics/aalib \ + exif.10:${PORTSDIR}/graphics/libexif \ + jpeg.9:${PORTSDIR}/graphics/jpeg \ + mng.1:${PORTSDIR}/graphics/libmng \ + png.5:${PORTSDIR}/graphics/png \ + tiff.4:${PORTSDIR}/graphics/tiff \ + wmf.2:${PORTSDIR}/graphics/libwmf + +CONFLICTS= gimp-1.* + +SHLIBVER?= 200 + +USE_BZIP2= yes +USE_X_PREFIX= yes +USE_XPM= yes +USE_GMAKE= yes +GNU_CONFIGURE= yes +USE_GNOME= gnomehack intltool intlhack gtk20 libartlgpl2 librsvg2 libgtkhtml +WANT_GNOME= yes +INSTALLS_SHLIB= yes +LIBTOOLFLAGS= --disable-ltlibs --release-ignore +PLIST_SUB= SHLIBVER="${SHLIBVER}" +CONFIGURE_ARGS= --disable-perl \ + --with-html-dir=${DOCSDIR} \ + --disable-gtk-doc \ + --enable-static +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" + +GIMP_DISTFILE= ${DISTDIR}/${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} + +MAN1= gimp-2.2.1 gimptool-2.0.1 gimp-remote-2.2.1 +MAN5= gimprc-2.2.5 +MLINKS= gimp-2.2.1 gimp.1 gimp-remote-2.2.1 gimp-remote.1 \ + gimprc-2.2.5 gimprc.5 + +.if defined(WITH_DEBUG) +CONFIGURE_ARGS+= --enable-debug +.endif + +.if defined(WITH_PYTHON) +USE_PYTHON= yes +USE_GNOME+= pygtk2 +CONFIGURE_ARGS+= --enable-python +PLIST_SUB+= PYTHON:="" +.else +CONFIGURE_ARGS+= --disable-python +PLIST_SUB+= PYTHON:="@comment " +.endif + +.if defined(WITHOUT_PRINT) +CONFIGURE_ARGS+= --disable-print +PLIST_SUB+= PRINT="@comment " +.else +LIB_DEPENDS+= gimpprint.2:${PORTSDIR}/print/gimp-print +PLIST_SUB+= PRINT="" +.endif + +.if defined(WITH_MP) +CONFIGURE_ARGS+= --enable-mp +.endif + +.include + +.if ${HAVE_GNOME:Mgnomepanel}!="" +USE_GNOME+= gnomepanel +CONFIGURE_ARGS+= --with-desktop-dir=${X11BASE}/share/gnome +PKGNAMESUFFIX= -gnome +PLIST_SUB+= GNOMEPANEL:="" +.else +PLIST_SUB+= GNOMEPANEL:="@comment " +.endif + +.if ${HAVE_GNOME:Mlibgtkhtml}!="" || defined(WITH_HTML_HELP_BROWSER) +USE_GNOME+= libgtkhtml +PLIST_SUB+= HELPBROWSER:="" +.else +PLIST_SUB+= HELPBROWSER:="@comment " +.endif + +pre-everything:: + @${ECHO_MSG} "" + @${ECHO_MSG} "gimp has the following tunable option(s):" + @${ECHO_MSG} "" + @${ECHO_MSG} " WITH_DEBUG=yes Turns on debugging" + @${ECHO_MSG} " WITH_PYTHON=yes Turns on Python-Fu support" + @${ECHO_MSG} " WITHOUT_PRINT=yes Turns off GIMP printing" + @${ECHO_MSG} " WITH_HTML_HELP_BROWSER=yes Turns on the GIMP help browser" + @${ECHO_MSG} " WITH_MP=yes Turns on multiple-processor support" + @${ECHO_MSG} "" + +.include diff --git a/graphics/gimp-app-devel/distinfo b/graphics/gimp-app-devel/distinfo new file mode 100644 index 000000000000..12645a304b4a --- /dev/null +++ b/graphics/gimp-app-devel/distinfo @@ -0,0 +1,2 @@ +MD5 (gimp-2.2-pre1.tar.bz2) = f88e30b6a11b2d3c81219bc10a6de19a +SIZE (gimp-2.2-pre1.tar.bz2) = 14047553 diff --git a/graphics/gimp-app-devel/files/gimp.setfont b/graphics/gimp-app-devel/files/gimp.setfont new file mode 100644 index 000000000000..f81fa5d9b9ad --- /dev/null +++ b/graphics/gimp-app-devel/files/gimp.setfont @@ -0,0 +1,157 @@ +#!/usr/bin/perl + +# Font setting Perl script for GIMP +# +# by MANTANI Nobutaka + +$progname = "gimp.setfont"; +$version = "Version 0.4 Feb 07 2000"; + +$fontset{'chinese'} = "-*-helvetica-medium-r-normal--14-*-*-*-*-*-iso8859-1,-*-kai-medium-r-normal--16-*-*-*-*-*-big5-0"; +$fontset{'czech'} = "-*-fixed-medium-r-normal--14-*-*-*-*-*-iso8859-2"; +$fontset{'danish'} = "-*-helvetica-medium-r-normal--14-*-*-*-*-*-iso8859-1"; +$fontset{'dutch'} = "-*-helvetica-medium-r-normal--14-*-*-*-*-*-iso8859-1"; +$fontset{'english'} = "-*-helvetica-medium-r-normal--14-*-*-*-*-*-iso8859-1"; +$fontset{'finnish'} = "-*-helvetica-medium-r-normal--14-*-*-*-*-*-iso8859-1"; +$fontset{'french'} = "-*-helvetica-medium-r-normal--14-*-*-*-*-*-iso8859-1"; +$fontset{'german'} = "-*-helvetica-medium-r-normal--14-*-*-*-*-*-iso8859-1"; +$fontset{'hungarian'} = "-*-fixed-medium-r-normal--14-*-*-*-*-*-iso8859-2"; +$fontset{'italian'} = "-*-helvetica-medium-r-normal--14-*-*-*-*-*-iso8859-1"; +$fontset{'japanese'} = "-*-fixed-medium-r-normal--14-*-*-*-*-*-iso8859-1,-*-fixed-medium-r-normal--14-*-*-*-*-*-jisx0201.1976-0,-*-fixed-medium-r-normal--14-*-*-*-*-*-jisx0208.1983-0"; +$fontset{'korean'} = "-*-fixed-medium-r-normal--16-*-*-*-*-*-iso8859-1,-daewoo-gothic-medium-r-normal--16-*-*-*-*-*-ksc5601.1987-0"; +$fontset{'norwegian'} = "-*-helvetica-medium-r-normal--14-*-*-*-*-*-iso8859-1"; +$fontset{'polish'} = "-*-fixed-medium-r-normal--14-*-*-*-*-*-iso8859-2"; +$fontset{'russian'} = "-*-helvetica-medium-r-normal--14-*-*-*-*-*-koi8-r"; +$fontset{'slovak'} = "-*-fixed-medium-r-normal--14-*-*-*-*-*-iso8859-2"; +$fontset{'swedish'} = "-*-helvetica-medium-r-normal--14-*-*-*-*-*-iso8859-1"; +$fontset{'ukrainian'} = "-*-helvetica-medium-r-normal--14-*-*-*-*-*-koi8-r"; + +$locale{'chinese'} = "zh_TW.Big5"; +$locale{'czech'} = "cs_CZ.ISO8859-2"; +$locale{'danish'} = "da_DK.ISO_8859-1"; +$locale{'dutch'} = "nl_NL.ISO_8859-1"; +$locale{'english'} = "C"; +$locale{'finnish'} = "fi_FI.ISO_8859-1"; +$locale{'french'} = "fr_FR.ISO_8859-1"; +$locale{'german'} = "de_DE.ISO_8859-1"; +$locale{'hungarian'} = "hu_HU.ISO_8859-2"; +$locale{'italian'} = "it_IT.ISO_8859-1"; +$locale{'japanese'} = "ja_JP.EUC"; +$locale{'korean'} = "ko_KR.EUC"; +$locale{'norwegian'} = "no_NO.ISO_8859-1"; +$locale{'polish'} = "pl_PL.ISO_8859-2"; +$locale{'russian'} = "ru_SU.KOI8-R"; +$locale{'slovak'} = "sk_SK.ISO_8859-2"; +$locale{'swedish'} = "sv_SE.ISO_8859-1"; +$locale{'ukrainian'} = "uk_UA.KOI8-U"; + +# Show usage +sub usage() { + print < + +---------------------------------------------------------------- +[language] [fontset] + chinese -*-helvetica-(iso8859-1),-*-kai-(big5-0) + czech -*-fixed-(iso8859-2) + danish -*-helvetica-(iso8859-1) + dutch -*-helvetica-(iso8859-1) + english -*-helvetica-(iso8859-1) + finnish -*-helvetica-(iso8859-1) + french -*-helvetica-(iso8859-1) + german -*-helvetica-(iso8859-1) + hungarian -*-fixed-(iso8859-2) + italian -*-helvetica-(iso8859-1) + japanese -*-fixed-(iso8859-1,jisx0201,jisx0208) + korean -*-fixed-(iso8859-1),-daewoo-gothic-(ksc5601) + norwegian -*-helvetica-(iso8859-1) + polish -*-fixed-(iso8859-2) + russian -*-helvetica-(koi8-r) + slovak -*-fixed-(iso8869-2) + swedish -*-helvetica-(iso8859-1) + ukrainian -*-helvetica-(koi8-r) +---------------------------------------------------------------- + +If you need iso8859-2 fonts, please install etlfonts +(x11-fonts/etlfonts). + +EOF +} + +# Write gtkrc of user's .gimp-1.2 directory +sub write_gtkrc($) { + my $fontset = shift; + my $path = "$ENV{'HOME'}/.gimp-1.2"; + + if (-d $path) { + if (-e "$path/gtkrc") { + chmod(0644, "$path/gtkrc"); + print "Renaming $path/gtkrc to $path/gtkrc.old...\n"; + rename("$path/gtkrc", "$path/gtkrc.old"); + } + + print "Writing $path/gtkrc...\n"; + open(FILE, ">$path/gtkrc"); + print FILE < [= ] +\# { +\#