1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

After repocopy of GIMP 2.0 from graphics/gimp-devel to graphics/gimp:

- Update comment and description
- Remove graphics/gimp-devel
- Chase dependencies
- Add entry to MOVED

Repocopied by:	marcus
This commit is contained in:
Pav Lucistnik 2004-03-27 18:07:19 +00:00
parent fc73a05826
commit 5ebcd5f7e0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=105439
36 changed files with 10 additions and 4401 deletions

1
MOVED
View File

@ -995,3 +995,4 @@ editors/openoffice-1.1-sl-SL|editors/openoffice-1.1-sl-SI|2004-03-25|correct ISO
www/webcpp|textproc/webcpp|2004-03-25|moved to textproc category
x11-toolkits/eel||2004-03-25|removed obsolete port
editors/xemacs21|editors/xemacs|2004-04-27|removed old version of xemacs 21.x
graphics/gimp-devel|graphics/gimp|2004-02-27|gimp 2.0 is now stable release

View File

@ -103,7 +103,7 @@
SUBDIR += giftool
SUBDIR += giftrans
SUBDIR += gimageview
SUBDIR += gimp-devel
SUBDIR += gimp
SUBDIR += gimp-manual-html
SUBDIR += gimp-manual-pdf
SUBDIR += gimp-pmosaic

View File

@ -1,106 +0,0 @@
# 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.0.0
PORTREVISION= 1
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}
MAINTAINER= gnome@FreeBSD.org
COMMENT= A GNU Image Manipulation Program (unstable development version)
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?= 0
NO_LATEST_LINK= yes
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_XPM= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_GNOME= gnomehack intltool gtk20 libartlgpl2 librsvg2
WANT_GNOME= yes
INSTALLS_SHLIB= yes
LIBTOOLFLAGS= --disable-ltlibs --release-ignore
PLIST_SUB= SHLIBVER="${SHLIBVER}"
CONFIGURE_ARGS= --disable-perl \
--with-html-dir=${PREFIX}/share/doc/gimp \
--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.1 gimp-2.0.1 gimptool.1 gimptool-2.0.1 gimp-remote.1 gimp-remote-2.0.1
MAN5= gimprc.5 gimprc-2.0.5
.if defined(WITH_PYTHON)
USE_PYTHON= yes
BUILD_DEPENDS+= ${PYTHON_SITELIBDIR}/gtk-2.0/gtk/_gtk.so:${PORTSDIR}/x11-toolkits/py-gtk2
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/gtk-2.0/gtk/_gtk.so:${PORTSDIR}/x11-toolkits/py-gtk2
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
.include <bsd.port.pre.mk>
.if exists(${X11BASE}/libdata/pkgconfig/libgtkhtml-2.0.pc)
WITH_HTML_HELP_BROWSER= yes
.endif
.if ${HAVE_GNOME:Mgnomepanel}!=""
USE_GNOME+= gnomepanel
CONFIGURE_ARGS+= --with-desktop-dir=${X11BASE}/share/gnome
PKGNAMESUFFIX= -gnome
.endif
.if defined(WITH_HTML_HELP_BROWSER)
USE_GNOME+= libgtkhtml
PLIST_SUB+= HELPBROWSER:=""
.else
PLIST_SUB+= HELPBROWSER:="@comment "
.endif
pre-everything::
@${ECHO_MSG} ""
@${ECHO_MSG} "gimp-devel has the following tunable option(s):"
@${ECHO_MSG} ""
@${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} ""
.include <bsd.port.post.mk>

View File

@ -1,2 +0,0 @@
MD5 (gimp-2.0.0.tar.bz2) = 322cc091da8bbd324b37c60143fa26fa
SIZE (gimp-2.0.0.tar.bz2) = 13208717

View File

@ -1,157 +0,0 @@
#!/usr/bin/perl
# Font setting Perl script for GIMP
#
# by MANTANI Nobutaka <nobutaka@nobutaka.com>
$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 <<EOF;
Usage: gimp.setfont <language>
----------------------------------------------------------------
[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 <<EOF;
\# style <name> [= <name>]
\# {
\# <option>
\# }
\#
\# widget <widget_set> style <style_name>
\# widget_class <widget_class_set> style <style_name>
style "default"
{
fontset = "$fontset"
}
widget_class "*" style "default"
EOF
close(FILE);
print "Done.\n\n";
} else {
print <<EOF;
Directory $path is not found.
Please execute "gimp" and install files into $path
directory first.
EOF
exit;
}
}
sub main() {
my $lang = $ARGV[0];
my $tmp = ucfirst($lang);
print <<EOF;
$progname - Font setting utility for GIMP ($version)
EOF
if (@ARGV != 1) {
usage();
exit;
}
print "Setting for $tmp language...\n\n";
print qq(Please set "LANG" environment variable to "$locale{$lang}" and execute "gimp".\n\n);
if ($lang eq "slovak") {
print <<EOF;
And please make symbolic link from lt_LN.ISO_8859-2 to sk_SK.ISO_8859-2 in
/usr/share/locale.
EOF
}
write_gtkrc($fontset{$lang});
exit;
}
main();

View File

@ -1,20 +0,0 @@
--- app/main.c.orig Sun Oct 5 09:16:02 2003
+++ app/main.c Mon Oct 6 12:14:34 2003
@@ -23,6 +23,7 @@
#include <signal.h>
#include <string.h>
#include <sys/types.h>
+#include <floatingpoint.h>
#ifdef HAVE_SYS_WAIT_H
#include <sys/wait.h>
@@ -113,6 +114,9 @@
/* Initialize variables */
full_prog_name = argv[0];
+
+ /* Ignore floating point exceptions */
+ fpsetmask(0);
/* Initialize i18n support */

View File

@ -1,13 +0,0 @@
--- plug-ins/common/url.c.orig Thu Jun 26 15:45:03 2003
+++ plug-ins/common/url.c Sat Jun 28 18:17:59 2003
@@ -187,8 +187,8 @@
putenv ("LANG=C");
#endif
- execlp ("wget", "wget", "-T", TIMEOUT, filename, "-O", tmpname, NULL);
- g_message ("exec() failed: wget: %s", g_strerror (errno));
+ execlp ("fetch", "fetch", "-T", TIMEOUT, filename, "-p", "-o", tmpname, NULL);
+ g_message ("exec() failed: fetch: %s", g_strerror (errno));
g_free (tmpname);
_exit (127);
}

View File

@ -1,13 +0,0 @@
$FreeBSD$
--- plug-ins/common/plugindetails.c.orig Wed Jan 30 17:25:54 2002
+++ plug-ins/common/plugindetails.c Fri May 17 20:45:33 2002
@@ -27,6 +27,7 @@
#include <stdio.h>
#include <string.h>
#include <time.h>
+#include <sys/types.h>
#ifdef __GNUC__
#warning GTK_DISABLE_DEPRECATED

View File

@ -1,19 +0,0 @@
--- libgimp/gimp.c.orig Fri May 12 12:37:27 2000
+++ libgimp/gimp.c Thu May 18 16:42:21 2000
@@ -26,6 +26,7 @@
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
+#include <floatingpoint.h>
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
@@ -211,6 +212,9 @@
}
progname = argv[0];
+
+ /* Ignore floating point exceptions */
+ fpsetmask(0);
g_set_prgname (g_basename (progname));

View File

@ -1,13 +0,0 @@
--- configure.orig Sun Mar 7 02:08:10 2004
+++ configure Sun Mar 7 02:48:14 2004
@@ -32869,8 +32870,8 @@
fi
fi;
-gimpdatadir="$datadir/$PACKAGE/2.0"
-gimpplugindir="$libdir/$PACKAGE/2.0"
+gimpdatadir="$datadir/$PACKAGE"
+gimpplugindir="$libexecdir/$PACKAGE/2.0"
gimpsysconfdir="$sysconfdir/$PACKAGE/2.0"
localedir='${prefix}/${DATADIRNAME}/locale'

View File

@ -1,29 +0,0 @@
$FreeBSD$
--- gimptool-2.0.in.orig Tue Jan 15 12:21:05 2002
+++ gimptool-2.0.in Fri May 17 20:46:18 2002
@@ -215,19 +215,19 @@
| --uninstall-script | --uninstall-admin-script )
case $1 in
--*install-bin)
- install_cmd="@INSTALL_PROGRAM@"
+ install_cmd="@INSTALL_SCRIPT@"
install_dir="$HOME/@gimpdir@/plug-ins"
;;
--install-bin-strip)
- install_cmd="@INSTALL_PROGRAM@ -s"
+ install_cmd="@INSTALL_SCRIPT@ -s"
install_dir="$HOME/@gimpdir@/plug-ins"
;;
--*install-admin-bin)
- install_cmd="@INSTALL_PROGRAM@"
+ install_cmd="@INSTALL_SCRIPT@"
install_dir="$gimpplugindir/plug-ins"
;;
--install-admin-bin-strip)
- install_cmd="@INSTALL_PROGRAM@ -s"
+ install_cmd="@INSTALL_SCRIPT@ -s"
install_dir="$gimpplugindir/plug-ins"
;;
--*install-script)

View File

@ -1,41 +0,0 @@
--- ltmain.sh.orig Sun Sep 7 16:23:57 2003
+++ ltmain.sh Sat Sep 13 01:29:14 2003
@@ -1278,7 +1278,7 @@
esac
elif test "X$arg" = "X-lc_r"; then
case $host in
- *-*-openbsd* | *-*-freebsd*)
+ *-*-openbsd* | *-*-freebsd4*)
# Do not include libc_r directly, use -pthread flag.
continue
;;
@@ -1288,8 +1288,16 @@
continue
;;
+ -pthread)
+ compile_command="$compile_command -pthread"
+ finalize_command="$finalize_command -pthread"
+ compiler_flags="$compiler_flags -pthread"
+ continue
+ ;;
+
-module)
module=yes
+ build_old_libs=no
continue
;;
@@ -5457,10 +5465,12 @@
fi
# Install the pseudo-library for information purposes.
+ if /usr/bin/false; then
name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
instname="$dir/$name"i
$show "$install_prog $instname $destdir/$name"
$run eval "$install_prog $instname $destdir/$name" || exit $?
+ fi
# Maybe install the static library, too.
test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"

View File

@ -1,11 +0,0 @@
--- plug-ins/print/print.c.orig Tue Dec 26 07:43:54 2000
+++ plug-ins/print/print.c Tue Dec 26 07:44:07 2000
@@ -1417,7 +1417,7 @@
if (i < (sizeof(lpcs) / sizeof(lpcs[0])))
{
- strcat(command, " status < /dev/null");
+ strcat(command, " status all < /dev/null");
type = PRINTERS_LPC;
}
else

View File

@ -1,21 +0,0 @@
The GIMP is designed to provide an intuitive graphical interface to a
variety of image editing operations. Here is a list of the GIMP's
major features:
Image editing
-------------
* Selection tools including rectangle, ellipse, free, fuzzy, bezier
and intelligent.
* Transformation tools including rotate, scale, shear and flip.
* Painting tools including bucket, brush, airbrush, clone, convolve,
blend and text.
* Effects filters (such as blur, edge detect).
* Channel & color operations (such as add, composite, decompose).
* Plug-ins which allow for the easy addition of new file formats and
new effect filters.
* Multiple undo/redo.
This is unstable development version of the GIMP, so use it with caution.
WWW: http://www.gimp.org/

File diff suppressed because it is too large Load Diff

View File

@ -18,7 +18,7 @@ MASTER_SITES= ftp://ftp.gimp.org/pub/%SUBDIR%/ \
MASTER_SITE_SUBDIR= gimp/v${PORTVERSION:R}
MAINTAINER= gnome@FreeBSD.org
COMMENT= A GNU Image Manipulation Program (unstable development version)
COMMENT= A GNU Image Manipulation Program
LIB_DEPENDS= aa.1:${PORTSDIR}/graphics/aalib \
exif.10:${PORTSDIR}/graphics/libexif \
@ -96,7 +96,7 @@ PLIST_SUB+= HELPBROWSER:="@comment "
pre-everything::
@${ECHO_MSG} ""
@${ECHO_MSG} "gimp-devel has the following tunable option(s):"
@${ECHO_MSG} "gimp has the following tunable option(s):"
@${ECHO_MSG} ""
@${ECHO_MSG} " WITH_PYTHON=yes Turns on Python-Fu support"
@${ECHO_MSG} " WITHOUT_PRINT=yes Turns off GIMP printing"

View File

@ -16,6 +16,4 @@ major features:
new effect filters.
* Multiple undo/redo.
This is unstable development version of the GIMP, so use it with caution.
WWW: http://www.gimp.org/

View File

@ -1,106 +0,0 @@
# 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.0.0
PORTREVISION= 1
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}
MAINTAINER= gnome@FreeBSD.org
COMMENT= A GNU Image Manipulation Program (unstable development version)
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?= 0
NO_LATEST_LINK= yes
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_XPM= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_GNOME= gnomehack intltool gtk20 libartlgpl2 librsvg2
WANT_GNOME= yes
INSTALLS_SHLIB= yes
LIBTOOLFLAGS= --disable-ltlibs --release-ignore
PLIST_SUB= SHLIBVER="${SHLIBVER}"
CONFIGURE_ARGS= --disable-perl \
--with-html-dir=${PREFIX}/share/doc/gimp \
--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.1 gimp-2.0.1 gimptool.1 gimptool-2.0.1 gimp-remote.1 gimp-remote-2.0.1
MAN5= gimprc.5 gimprc-2.0.5
.if defined(WITH_PYTHON)
USE_PYTHON= yes
BUILD_DEPENDS+= ${PYTHON_SITELIBDIR}/gtk-2.0/gtk/_gtk.so:${PORTSDIR}/x11-toolkits/py-gtk2
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/gtk-2.0/gtk/_gtk.so:${PORTSDIR}/x11-toolkits/py-gtk2
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
.include <bsd.port.pre.mk>
.if exists(${X11BASE}/libdata/pkgconfig/libgtkhtml-2.0.pc)
WITH_HTML_HELP_BROWSER= yes
.endif
.if ${HAVE_GNOME:Mgnomepanel}!=""
USE_GNOME+= gnomepanel
CONFIGURE_ARGS+= --with-desktop-dir=${X11BASE}/share/gnome
PKGNAMESUFFIX= -gnome
.endif
.if defined(WITH_HTML_HELP_BROWSER)
USE_GNOME+= libgtkhtml
PLIST_SUB+= HELPBROWSER:=""
.else
PLIST_SUB+= HELPBROWSER:="@comment "
.endif
pre-everything::
@${ECHO_MSG} ""
@${ECHO_MSG} "gimp-devel has the following tunable option(s):"
@${ECHO_MSG} ""
@${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} ""
.include <bsd.port.post.mk>

View File

@ -1,2 +0,0 @@
MD5 (gimp-2.0.0.tar.bz2) = 322cc091da8bbd324b37c60143fa26fa
SIZE (gimp-2.0.0.tar.bz2) = 13208717

View File

@ -1,157 +0,0 @@
#!/usr/bin/perl
# Font setting Perl script for GIMP
#
# by MANTANI Nobutaka <nobutaka@nobutaka.com>
$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 <<EOF;
Usage: gimp.setfont <language>
----------------------------------------------------------------
[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 <<EOF;
\# style <name> [= <name>]
\# {
\# <option>
\# }
\#
\# widget <widget_set> style <style_name>
\# widget_class <widget_class_set> style <style_name>
style "default"
{
fontset = "$fontset"
}
widget_class "*" style "default"
EOF
close(FILE);
print "Done.\n\n";
} else {
print <<EOF;
Directory $path is not found.
Please execute "gimp" and install files into $path
directory first.
EOF
exit;
}
}
sub main() {
my $lang = $ARGV[0];
my $tmp = ucfirst($lang);
print <<EOF;
$progname - Font setting utility for GIMP ($version)
EOF
if (@ARGV != 1) {
usage();
exit;
}
print "Setting for $tmp language...\n\n";
print qq(Please set "LANG" environment variable to "$locale{$lang}" and execute "gimp".\n\n);
if ($lang eq "slovak") {
print <<EOF;
And please make symbolic link from lt_LN.ISO_8859-2 to sk_SK.ISO_8859-2 in
/usr/share/locale.
EOF
}
write_gtkrc($fontset{$lang});
exit;
}
main();

View File

@ -1,20 +0,0 @@
--- app/main.c.orig Sun Oct 5 09:16:02 2003
+++ app/main.c Mon Oct 6 12:14:34 2003
@@ -23,6 +23,7 @@
#include <signal.h>
#include <string.h>
#include <sys/types.h>
+#include <floatingpoint.h>
#ifdef HAVE_SYS_WAIT_H
#include <sys/wait.h>
@@ -113,6 +114,9 @@
/* Initialize variables */
full_prog_name = argv[0];
+
+ /* Ignore floating point exceptions */
+ fpsetmask(0);
/* Initialize i18n support */

View File

@ -1,13 +0,0 @@
--- plug-ins/common/url.c.orig Thu Jun 26 15:45:03 2003
+++ plug-ins/common/url.c Sat Jun 28 18:17:59 2003
@@ -187,8 +187,8 @@
putenv ("LANG=C");
#endif
- execlp ("wget", "wget", "-T", TIMEOUT, filename, "-O", tmpname, NULL);
- g_message ("exec() failed: wget: %s", g_strerror (errno));
+ execlp ("fetch", "fetch", "-T", TIMEOUT, filename, "-p", "-o", tmpname, NULL);
+ g_message ("exec() failed: fetch: %s", g_strerror (errno));
g_free (tmpname);
_exit (127);
}

View File

@ -1,13 +0,0 @@
$FreeBSD$
--- plug-ins/common/plugindetails.c.orig Wed Jan 30 17:25:54 2002
+++ plug-ins/common/plugindetails.c Fri May 17 20:45:33 2002
@@ -27,6 +27,7 @@
#include <stdio.h>
#include <string.h>
#include <time.h>
+#include <sys/types.h>
#ifdef __GNUC__
#warning GTK_DISABLE_DEPRECATED

View File

@ -1,19 +0,0 @@
--- libgimp/gimp.c.orig Fri May 12 12:37:27 2000
+++ libgimp/gimp.c Thu May 18 16:42:21 2000
@@ -26,6 +26,7 @@
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
+#include <floatingpoint.h>
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
@@ -211,6 +212,9 @@
}
progname = argv[0];
+
+ /* Ignore floating point exceptions */
+ fpsetmask(0);
g_set_prgname (g_basename (progname));

View File

@ -1,13 +0,0 @@
--- configure.orig Sun Mar 7 02:08:10 2004
+++ configure Sun Mar 7 02:48:14 2004
@@ -32869,8 +32870,8 @@
fi
fi;
-gimpdatadir="$datadir/$PACKAGE/2.0"
-gimpplugindir="$libdir/$PACKAGE/2.0"
+gimpdatadir="$datadir/$PACKAGE"
+gimpplugindir="$libexecdir/$PACKAGE/2.0"
gimpsysconfdir="$sysconfdir/$PACKAGE/2.0"
localedir='${prefix}/${DATADIRNAME}/locale'

View File

@ -1,29 +0,0 @@
$FreeBSD$
--- gimptool-2.0.in.orig Tue Jan 15 12:21:05 2002
+++ gimptool-2.0.in Fri May 17 20:46:18 2002
@@ -215,19 +215,19 @@
| --uninstall-script | --uninstall-admin-script )
case $1 in
--*install-bin)
- install_cmd="@INSTALL_PROGRAM@"
+ install_cmd="@INSTALL_SCRIPT@"
install_dir="$HOME/@gimpdir@/plug-ins"
;;
--install-bin-strip)
- install_cmd="@INSTALL_PROGRAM@ -s"
+ install_cmd="@INSTALL_SCRIPT@ -s"
install_dir="$HOME/@gimpdir@/plug-ins"
;;
--*install-admin-bin)
- install_cmd="@INSTALL_PROGRAM@"
+ install_cmd="@INSTALL_SCRIPT@"
install_dir="$gimpplugindir/plug-ins"
;;
--install-admin-bin-strip)
- install_cmd="@INSTALL_PROGRAM@ -s"
+ install_cmd="@INSTALL_SCRIPT@ -s"
install_dir="$gimpplugindir/plug-ins"
;;
--*install-script)

View File

@ -1,41 +0,0 @@
--- ltmain.sh.orig Sun Sep 7 16:23:57 2003
+++ ltmain.sh Sat Sep 13 01:29:14 2003
@@ -1278,7 +1278,7 @@
esac
elif test "X$arg" = "X-lc_r"; then
case $host in
- *-*-openbsd* | *-*-freebsd*)
+ *-*-openbsd* | *-*-freebsd4*)
# Do not include libc_r directly, use -pthread flag.
continue
;;
@@ -1288,8 +1288,16 @@
continue
;;
+ -pthread)
+ compile_command="$compile_command -pthread"
+ finalize_command="$finalize_command -pthread"
+ compiler_flags="$compiler_flags -pthread"
+ continue
+ ;;
+
-module)
module=yes
+ build_old_libs=no
continue
;;
@@ -5457,10 +5465,12 @@
fi
# Install the pseudo-library for information purposes.
+ if /usr/bin/false; then
name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
instname="$dir/$name"i
$show "$install_prog $instname $destdir/$name"
$run eval "$install_prog $instname $destdir/$name" || exit $?
+ fi
# Maybe install the static library, too.
test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"

View File

@ -1,11 +0,0 @@
--- plug-ins/print/print.c.orig Tue Dec 26 07:43:54 2000
+++ plug-ins/print/print.c Tue Dec 26 07:44:07 2000
@@ -1417,7 +1417,7 @@
if (i < (sizeof(lpcs) / sizeof(lpcs[0])))
{
- strcat(command, " status < /dev/null");
+ strcat(command, " status all < /dev/null");
type = PRINTERS_LPC;
}
else

View File

@ -1,21 +0,0 @@
The GIMP is designed to provide an intuitive graphical interface to a
variety of image editing operations. Here is a list of the GIMP's
major features:
Image editing
-------------
* Selection tools including rectangle, ellipse, free, fuzzy, bezier
and intelligent.
* Transformation tools including rotate, scale, shear and flip.
* Painting tools including bucket, brush, airbrush, clone, convolve,
blend and text.
* Effects filters (such as blur, edge detect).
* Channel & color operations (such as add, composite, decompose).
* Plug-ins which allow for the easy addition of new file formats and
new effect filters.
* Multiple undo/redo.
This is unstable development version of the GIMP, so use it with caution.
WWW: http://www.gimp.org/

File diff suppressed because it is too large Load Diff

View File

@ -18,7 +18,7 @@ MASTER_SITES= ftp://ftp.gimp.org/pub/%SUBDIR%/ \
MASTER_SITE_SUBDIR= gimp/v${PORTVERSION:R}
MAINTAINER= gnome@FreeBSD.org
COMMENT= A GNU Image Manipulation Program (unstable development version)
COMMENT= A GNU Image Manipulation Program
LIB_DEPENDS= aa.1:${PORTSDIR}/graphics/aalib \
exif.10:${PORTSDIR}/graphics/libexif \
@ -96,7 +96,7 @@ PLIST_SUB+= HELPBROWSER:="@comment "
pre-everything::
@${ECHO_MSG} ""
@${ECHO_MSG} "gimp-devel has the following tunable option(s):"
@${ECHO_MSG} "gimp has the following tunable option(s):"
@${ECHO_MSG} ""
@${ECHO_MSG} " WITH_PYTHON=yes Turns on Python-Fu support"
@${ECHO_MSG} " WITHOUT_PRINT=yes Turns off GIMP printing"

View File

@ -16,6 +16,4 @@ major features:
new effect filters.
* Multiple undo/redo.
This is unstable development version of the GIMP, so use it with caution.
WWW: http://www.gimp.org/

View File

@ -18,7 +18,7 @@ MASTER_SITES= ftp://ftp.gimp.org/pub/%SUBDIR%/ \
MASTER_SITE_SUBDIR= gimp/v${PORTVERSION:R}
MAINTAINER= gnome@FreeBSD.org
COMMENT= A GNU Image Manipulation Program (unstable development version)
COMMENT= A GNU Image Manipulation Program
LIB_DEPENDS= aa.1:${PORTSDIR}/graphics/aalib \
exif.10:${PORTSDIR}/graphics/libexif \
@ -96,7 +96,7 @@ PLIST_SUB+= HELPBROWSER:="@comment "
pre-everything::
@${ECHO_MSG} ""
@${ECHO_MSG} "gimp-devel has the following tunable option(s):"
@${ECHO_MSG} "gimp has the following tunable option(s):"
@${ECHO_MSG} ""
@${ECHO_MSG} " WITH_PYTHON=yes Turns on Python-Fu support"
@${ECHO_MSG} " WITHOUT_PRINT=yes Turns off GIMP printing"

View File

@ -16,6 +16,4 @@ major features:
new effect filters.
* Multiple undo/redo.
This is unstable development version of the GIMP, so use it with caution.
WWW: http://www.gimp.org/

View File

@ -33,7 +33,7 @@ WITH_GIMP= yes
.endif
.if defined(WITH_GIMP)
LIB_DEPENDS+= gimp-2.0:${PORTSDIR}/graphics/gimp-devel
LIB_DEPENDS+= gimp-2.0:${PORTSDIR}/graphics/gimp
PLIST_SUB+= GIMP=""
.else
CONFIGURE_ARGS+= --without-gimp

View File

@ -17,7 +17,7 @@ COMMENT= Additional GNOME 2 applications not included in the core desktop
RUN_DEPENDS= pan:${PORTSDIR}/news/pan2 \
xchat:${PORTSDIR}/irc/xchat2 \
gimp-2.0:${PORTSDIR}/graphics/gimp-devel \
gimp-2.0:${PORTSDIR}/graphics/gimp \
sodipodi:${PORTSDIR}/graphics/sodipodi \
gnomeicu:${PORTSDIR}/net/gnomeicu2 \
gthumb:${PORTSDIR}/graphics/gthumb2 \