The Gimp stable port (1.2.3)
This commit is contained in:
parent
30b437b1ac
commit
074f47f4f2
52
graphics/gimp/stable/Makefile
Normal file
52
graphics/gimp/stable/Makefile
Normal file
@ -0,0 +1,52 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2002/07/28 21:55:10 brad Exp $
|
||||
|
||||
COMMENT= "GNU Image Manipulation Program"
|
||||
|
||||
VERSION= 1.2.3
|
||||
DISTNAME= gimp-${VERSION}
|
||||
CATEGORIES= graphics
|
||||
DIR= gimp/v1.2/v${VERSION}
|
||||
MASTER_SITES= ftp://ftp.gimp.org/pub/${DIR}/ \
|
||||
ftp://ftp.sunet.se/pub/gnu/${DIR}/ \
|
||||
ftp://ftp.cs.umn.edu/pub/${DIR}/ \
|
||||
ftp://ftp.funet.fi/pub/mirrors/ftp.gimp.org/${DIR}/
|
||||
|
||||
HOMEPAGE= http://www.gimp.org/
|
||||
|
||||
LIB_DEPENDS+= gtk.1.2,gdk.1.2::x11/gtk+ \
|
||||
aa.1.3::graphics/aalib \
|
||||
mpeg.13::graphics/mpeg-lib \
|
||||
png.2::graphics/png \
|
||||
tiff.35::graphics/tiff
|
||||
BUILD_DEPENDS= :wget-*:net/wget
|
||||
RUN_DEPENDS= :wget-*:net/wget
|
||||
|
||||
MAINTAINER= Brad Smith <brad@openbsd.org>
|
||||
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
USE_X11= Yes
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
||||
CONFIGURE_ARGS+= --enable-static --disable-perl
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/libpng -I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
||||
pre-extract:
|
||||
@if [ -f ${LOCALBASE}/lib/libgimp.so.?.? ]; then \
|
||||
echo "+-------------------"; \
|
||||
echo "| ERROR: you MUST remove the existing gimp installation"; \
|
||||
echo "| before compiling this version. To fully remove run"; \
|
||||
echo "| these commands as user root"; \
|
||||
echo "|"; \
|
||||
echo "| pkg_delete -f `pkg_info -e 'gimp-*'`"; \
|
||||
echo "| ldconfig -R"; \
|
||||
echo "|"; \
|
||||
echo "+-------------------"; \
|
||||
exit 1; \
|
||||
fi
|
||||
|
||||
.include <bsd.port.mk>
|
3
graphics/gimp/stable/distinfo
Normal file
3
graphics/gimp/stable/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (gimp-1.2.3.tar.gz) = ab0cf46dd680acb7e293ecf554d5d743
|
||||
RMD160 (gimp-1.2.3.tar.gz) = eba1c92242d6a9509b3554ed1198917f4b953c32
|
||||
SHA1 (gimp-1.2.3.tar.gz) = 747a5ea2469d41898564cdd2a15cc9e9dce16d6c
|
40
graphics/gimp/stable/patches/patch-Makefile.in
Normal file
40
graphics/gimp/stable/patches/patch-Makefile.in
Normal file
@ -0,0 +1,40 @@
|
||||
$OpenBSD: patch-Makefile.in,v 1.1.1.1 2002/07/28 21:55:10 brad Exp $
|
||||
--- Makefile.in.orig Mon Feb 11 16:45:59 2002
|
||||
+++ Makefile.in Sun Jul 28 15:20:12 2002
|
||||
@@ -429,21 +429,21 @@ uninstall-gimpdataDATA:
|
||||
|
||||
install-gimpsysconfDATA: $(gimpsysconf_DATA)
|
||||
@$(NORMAL_INSTALL)
|
||||
- $(mkinstalldirs) $(DESTDIR)$(gimpsysconfdir)
|
||||
+ $(mkinstalldirs) $(DESTDIR)$(datadir)/examples/gimp
|
||||
@list='$(gimpsysconf_DATA)'; for p in $$list; do \
|
||||
if test -f $(srcdir)/$$p; then \
|
||||
- echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(gimpsysconfdir)/$$p"; \
|
||||
- $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(gimpsysconfdir)/$$p; \
|
||||
+ echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(datadir)/examples/gimp/$$p-sample"; \
|
||||
+ $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(datadir)/examples/gimp/$$p-sample; \
|
||||
else if test -f $$p; then \
|
||||
- echo " $(INSTALL_DATA) $$p $(DESTDIR)$(gimpsysconfdir)/$$p"; \
|
||||
- $(INSTALL_DATA) $$p $(DESTDIR)$(gimpsysconfdir)/$$p; \
|
||||
+ echo " $(INSTALL_DATA) $$p $(DESTDIR)$(datadir)/examples/gimp/$$p-sample"; \
|
||||
+ $(INSTALL_DATA) $$p $(DESTDIR)$(datadir)/examples/gimp/$$p-sample; \
|
||||
fi; fi; \
|
||||
done
|
||||
|
||||
uninstall-gimpsysconfDATA:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
list='$(gimpsysconf_DATA)'; for p in $$list; do \
|
||||
- rm -f $(DESTDIR)$(gimpsysconfdir)/$$p; \
|
||||
+ rm -f $(DESTDIR)$(datadir)/examples/gimp/$$p-sample; \
|
||||
done
|
||||
|
||||
install-m4dataDATA: $(m4data_DATA)
|
||||
@@ -655,7 +655,7 @@ installdirs: installdirs-recursive
|
||||
installdirs-am:
|
||||
$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(gimpdatadir) \
|
||||
$(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man5 \
|
||||
- $(DESTDIR)$(gimpdatadir) $(DESTDIR)$(gimpsysconfdir) \
|
||||
+ $(DESTDIR)$(gimpdatadir) $(DESTDIR)$(datadir)/examples/gimp \
|
||||
$(DESTDIR)$(m4datadir)
|
||||
|
||||
|
12
graphics/gimp/stable/patches/patch-app_plug_in_c
Normal file
12
graphics/gimp/stable/patches/patch-app_plug_in_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-app_plug_in_c,v 1.1.1.1 2002/07/28 21:55:10 brad Exp $
|
||||
--- app/plug_in.c.orig Wed Jun 12 09:14:05 2002
|
||||
+++ app/plug_in.c Wed Jun 12 09:14:19 2002
|
||||
@@ -224,7 +224,7 @@ plug_in_init_shm (void)
|
||||
*/
|
||||
|
||||
#ifdef HAVE_SHM_H
|
||||
- shm_ID = shmget (IPC_PRIVATE, TILE_WIDTH * TILE_HEIGHT * 4, IPC_CREAT | 0777);
|
||||
+ shm_ID = shmget (IPC_PRIVATE, TILE_WIDTH * TILE_HEIGHT * 4, IPC_CREAT | 0600);
|
||||
|
||||
if (shm_ID == -1)
|
||||
g_message ("shmget() failed: Disabling shared memory tile transport.");
|
47
graphics/gimp/stable/patches/patch-configure
Normal file
47
graphics/gimp/stable/patches/patch-configure
Normal file
@ -0,0 +1,47 @@
|
||||
$OpenBSD: patch-configure,v 1.1.1.1 2002/07/28 21:55:10 brad Exp $
|
||||
--- configure.orig Sun Feb 10 01:21:30 2002
|
||||
+++ configure Sun Jul 28 15:38:55 2002
|
||||
@@ -3774,8 +3774,8 @@ else
|
||||
hardcode_direct=yes
|
||||
hardcode_shlibpath_var=no
|
||||
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
||||
- archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
|
||||
- hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
||||
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
||||
+ hardcode_libdir_flag_spec='${wl}-R$libdir'
|
||||
export_dynamic_flag_spec='${wl}-E'
|
||||
else
|
||||
case "$host_os" in
|
||||
@@ -3784,8 +3784,8 @@ else
|
||||
hardcode_libdir_flag_spec='-R$libdir'
|
||||
;;
|
||||
*)
|
||||
- archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
|
||||
- hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
||||
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
||||
+ hardcode_libdir_flag_spec='${wl}-R$libdir'
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
@@ -10102,7 +10102,7 @@ else
|
||||
{
|
||||
int id;
|
||||
char *shmaddr;
|
||||
- id = shmget (IPC_PRIVATE, 4, IPC_CREAT | 0777);
|
||||
+ id = shmget (IPC_PRIVATE, 4, IPC_CREAT | 0600);
|
||||
if (id == -1)
|
||||
exit (2);
|
||||
shmaddr = shmat (id, 0, 0);
|
||||
@@ -11957,9 +11957,9 @@ fi
|
||||
|
||||
fi
|
||||
|
||||
-gimpdatadir=$datadir/$PACKAGE/$GIMP_MAJOR_VERSION.$GIMP_MINOR_VERSION
|
||||
-gimpplugindir=$libdir/$PACKAGE/$GIMP_MAJOR_VERSION.$GIMP_MINOR_VERSION
|
||||
-gimpsysconfdir=$sysconfdir/$PACKAGE/$GIMP_MAJOR_VERSION.$GIMP_MINOR_VERSION
|
||||
+gimpdatadir=$datadir/$PACKAGE
|
||||
+gimpplugindir=$libdir/$PACKAGE
|
||||
+gimpsysconfdir=$sysconfdir/$PACKAGE
|
||||
|
||||
localedir='${prefix}/${DATADIRNAME}/locale'
|
||||
|
37
graphics/gimp/stable/patches/patch-gimptool-1_2_in
Normal file
37
graphics/gimp/stable/patches/patch-gimptool-1_2_in
Normal file
@ -0,0 +1,37 @@
|
||||
$OpenBSD: patch-gimptool-1_2_in,v 1.1.1.1 2002/07/28 21:55:12 brad Exp $
|
||||
--- gimptool-1.2.in.orig Sun Jul 28 15:06:45 2002
|
||||
+++ gimptool-1.2.in Sun Jul 28 15:10:31 2002
|
||||
@@ -227,27 +227,27 @@ while test $# -gt 0; do
|
||||
| --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)
|
||||
- install_cmd="@INSTALL_DATA@"
|
||||
+ install_cmd="@INSTALL_SCRIPT@"
|
||||
install_dir="$HOME/@gimpdir@/scripts"
|
||||
;;
|
||||
--*install-admin-script)
|
||||
- install_cmd="@INSTALL_DATA@"
|
||||
+ install_cmd="@INSTALL_SCRIPT@"
|
||||
install_dir="$gimpdatadir/scripts"
|
||||
;;
|
||||
esac
|
19
graphics/gimp/stable/patches/patch-libgimp_Makefile.in
Normal file
19
graphics/gimp/stable/patches/patch-libgimp_Makefile.in
Normal file
@ -0,0 +1,19 @@
|
||||
$OpenBSD: patch-libgimp_Makefile.in,v 1.1.1.1 2002/07/28 21:55:10 brad Exp $
|
||||
--- libgimp/Makefile.in.orig Mon Feb 11 16:46:08 2002
|
||||
+++ libgimp/Makefile.in Sun Jul 28 17:00:41 2002
|
||||
@@ -225,13 +225,13 @@ libgimpui_la_SOURCES = gimpmenu.c gi
|
||||
gimpinclude_HEADERS = gimp.h ${PDB_WRAPPERS_H} gimpchainbutton.h gimpchannel.h gimpcolorbutton.h gimpcolordisplay.h gimpcolorselector.h gimpcolorspace.h gimpcompat.h gimpdrawable.h gimpdialog.h gimpenums.h gimpenv.h gimpexport.h gimpfeatures.h gimpfileselection.h gimpgradientselect.h gimphelpui.h gimpimage.h gimplayer.h gimplimits.h gimpmath.h gimpmatrix.h gimpmenu.h gimpmodule.h gimpparasite.h gimpparasiteio.h gimppatheditor.h gimppixelrgn.h gimppixmap.h gimpproceduraldb.h gimpquerybox.h gimpselection.h gimpsignal.h gimpsizeentry.h gimptile.h gimptypes.h gimpui.h gimpunit.h gimpunitmenu.h gimputils.h gimpvector.h gimpwidgets.h gimpintl.h
|
||||
|
||||
|
||||
-libgimp_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -release $(LT_RELEASE) $(no_undefined) $(libgimp_export_symbols)
|
||||
+libgimp_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) $(no_undefined) $(libgimp_export_symbols)
|
||||
|
||||
libgimp_la_LIBADD = $(GLIB_LIBS) -lm
|
||||
|
||||
libgimp_la_DEPENDENCIES = $(gimp_def)
|
||||
|
||||
-libgimpui_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -release $(LT_RELEASE) $(no_undefined) $(libgimpui_export_symbols)
|
||||
+libgimpui_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) $(no_undefined) $(libgimpui_export_symbols)
|
||||
|
||||
|
||||
libgimpui_la_LIBADD = $(GTK_LIBS) $(conditional_libgimp_la)
|
74
graphics/gimp/stable/patches/patch-ltmain.sh
Normal file
74
graphics/gimp/stable/patches/patch-ltmain.sh
Normal file
@ -0,0 +1,74 @@
|
||||
$OpenBSD: patch-ltmain.sh,v 1.1.1.1 2002/07/28 21:55:10 brad Exp $
|
||||
--- ltmain.sh.orig Sun Jul 28 15:41:41 2002
|
||||
+++ ltmain.sh Sun Jul 28 15:45:42 2002
|
||||
@@ -1062,6 +1062,17 @@ compiler."
|
||||
continue
|
||||
;;
|
||||
|
||||
+ -pthread)
|
||||
+ case $host in
|
||||
+ *-*-openbsd*)
|
||||
+ deplibs="$deplibs $arg"
|
||||
+ ;;
|
||||
+ *)
|
||||
+ continue
|
||||
+ ;;
|
||||
+ esac
|
||||
+ ;;
|
||||
+
|
||||
-module)
|
||||
module=yes
|
||||
continue
|
||||
@@ -1747,11 +1758,6 @@ compiler."
|
||||
continue
|
||||
fi
|
||||
|
||||
- if test "$installed" = no; then
|
||||
- notinst_deplibs="$notinst_deplibs $lib"
|
||||
- need_relink=yes
|
||||
- fi
|
||||
-
|
||||
if test -n "$old_archive_from_expsyms_cmds"; then
|
||||
# figure out the soname
|
||||
set dummy $library_names
|
||||
@@ -4491,40 +4497,6 @@ relink_command=\"$relink_command\""
|
||||
# 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 the \`-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
|
||||
;;
|
||||
|
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-plug-ins_libgck_gck_Makefile.in,v 1.1.1.1 2002/07/28 21:55:10 brad Exp $
|
||||
--- plug-ins/libgck/gck/Makefile.in.orig Mon Feb 11 16:46:23 2002
|
||||
+++ plug-ins/libgck/gck/Makefile.in Sun Jul 28 17:05:52 2002
|
||||
@@ -193,7 +193,7 @@ libgck_la_SOURCES = gckcolor.c
|
||||
gckinclude_HEADERS = gck.h
|
||||
|
||||
|
||||
-libgck_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -release $(LT_RELEASE) $(no_undefined)
|
||||
+libgck_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) $(no_undefined)
|
||||
|
||||
|
||||
INCLUDES = -I.. -I$(srcdir)/.. -I$(top_srcdir) $(GTK_CFLAGS) -I$(includedir)
|
58
graphics/gimp/stable/patches/patch-po-libgimp_Makefile.in.in
Normal file
58
graphics/gimp/stable/patches/patch-po-libgimp_Makefile.in.in
Normal file
@ -0,0 +1,58 @@
|
||||
$OpenBSD: patch-po-libgimp_Makefile.in.in,v 1.1.1.1 2002/07/28 21:55:10 brad Exp $
|
||||
--- po-libgimp/Makefile.in.in.orig Thu Jan 27 05:46:58 2000
|
||||
+++ po-libgimp/Makefile.in.in Sun Jul 28 15:20:12 2002
|
||||
@@ -111,9 +111,9 @@ install-data: install-data-@USE_NLS@
|
||||
install-data-no: all
|
||||
install-data-yes: all
|
||||
if test -r "$(MKINSTALLDIRS)"; then \
|
||||
- $(MKINSTALLDIRS) $(datadir); \
|
||||
+ $(MKINSTALLDIRS) $(DESTDIR)$(datadir); \
|
||||
else \
|
||||
- $(SHELL) $(top_srcdir)/mkinstalldirs $(datadir); \
|
||||
+ $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(datadir); \
|
||||
fi
|
||||
@catalogs='$(CATALOGS)'; \
|
||||
for cat in $$catalogs; do \
|
||||
@@ -123,7 +123,7 @@ install-data-yes: all
|
||||
*) destdir=$(localedir);; \
|
||||
esac; \
|
||||
lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
|
||||
- dir=$$destdir/$$lang/LC_MESSAGES; \
|
||||
+ dir=$(DESTDIR)$$destdir/$$lang/LC_MESSAGES; \
|
||||
if test -r "$(MKINSTALLDIRS)"; then \
|
||||
$(MKINSTALLDIRS) $$dir; \
|
||||
else \
|
||||
@@ -153,12 +153,12 @@ install-data-yes: all
|
||||
done
|
||||
if test "$(PACKAGE)" = "gettext"; then \
|
||||
if test -r "$(MKINSTALLDIRS)"; then \
|
||||
- $(MKINSTALLDIRS) $(gettextsrcdir); \
|
||||
+ $(MKINSTALLDIRS) $(DESTDIR)$(gettextsrcdir); \
|
||||
else \
|
||||
- $(SHELL) $(top_srcdir)/mkinstalldirs $(gettextsrcdir); \
|
||||
+ $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(gettextsrcdir); \
|
||||
fi; \
|
||||
$(INSTALL_DATA) $(srcdir)/Makefile.in.in \
|
||||
- $(gettextsrcdir)/Makefile.in.in; \
|
||||
+ $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \
|
||||
else \
|
||||
: ; \
|
||||
fi
|
||||
@@ -171,12 +171,12 @@ uninstall:
|
||||
for cat in $$catalogs; do \
|
||||
cat=`basename $$cat`; \
|
||||
lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
|
||||
- rm -f $(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \
|
||||
- rm -f $(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT).m; \
|
||||
- rm -f $(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \
|
||||
- rm -f $(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT).m; \
|
||||
+ rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \
|
||||
+ rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT).m; \
|
||||
+ rm -f $(DESTDIR)$(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \
|
||||
+ rm -f $(DESTDIR)$(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT).m; \
|
||||
done
|
||||
- rm -f $(gettextsrcdir)/po-Makefile.in.in
|
||||
+ rm -f $(DESTDIR)$(gettextsrcdir)/po-Makefile.in.in
|
||||
|
||||
check: all
|
||||
|
@ -0,0 +1,58 @@
|
||||
$OpenBSD: patch-po-plug-ins_Makefile.in.in,v 1.1.1.1 2002/07/28 21:55:10 brad Exp $
|
||||
--- po-plug-ins/Makefile.in.in.orig Thu Feb 3 19:19:34 2000
|
||||
+++ po-plug-ins/Makefile.in.in Sun Jul 28 15:20:12 2002
|
||||
@@ -18,7 +18,7 @@ VPATH = @srcdir@
|
||||
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
-datadir = $(prefix)/@DATADIRNAME@
|
||||
+datadir = $(prefix)/share
|
||||
localedir = $(datadir)/locale
|
||||
gnulocaledir = $(prefix)/share/locale
|
||||
gettextsrcdir = $(prefix)/share/gettext/po
|
||||
@@ -111,9 +111,9 @@ install-data: install-data-@USE_NLS@
|
||||
install-data-no: all
|
||||
install-data-yes: all
|
||||
if test -r "$(MKINSTALLDIRS)"; then \
|
||||
- $(MKINSTALLDIRS) $(datadir); \
|
||||
+ $(MKINSTALLDIRS) $(DESTDIR)$(datadir); \
|
||||
else \
|
||||
- $(SHELL) $(top_srcdir)/mkinstalldirs $(datadir); \
|
||||
+ $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(datadir); \
|
||||
fi
|
||||
@catalogs='$(CATALOGS)'; \
|
||||
for cat in $$catalogs; do \
|
||||
@@ -153,12 +153,12 @@ install-data-yes: all
|
||||
done
|
||||
if test "$(PACKAGE)" = "gettext"; then \
|
||||
if test -r "$(MKINSTALLDIRS)"; then \
|
||||
- $(MKINSTALLDIRS) $(gettextsrcdir); \
|
||||
+ $(MKINSTALLDIRS) $(DESTDIR)$(gettextsrcdir); \
|
||||
else \
|
||||
- $(SHELL) $(top_srcdir)/mkinstalldirs $(gettextsrcdir); \
|
||||
+ $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(gettextsrcdir); \
|
||||
fi; \
|
||||
$(INSTALL_DATA) $(srcdir)/Makefile.in.in \
|
||||
- $(gettextsrcdir)/Makefile.in.in; \
|
||||
+ $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \
|
||||
else \
|
||||
: ; \
|
||||
fi
|
||||
@@ -171,12 +171,12 @@ uninstall:
|
||||
for cat in $$catalogs; do \
|
||||
cat=`basename $$cat`; \
|
||||
lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
|
||||
- rm -f $(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \
|
||||
- rm -f $(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT).m; \
|
||||
- rm -f $(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \
|
||||
- rm -f $(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT).m; \
|
||||
+ rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \
|
||||
+ rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT).m; \
|
||||
+ rm -f $(DESTDIR)$(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \
|
||||
+ rm -f $(DESTDIR)$(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT).m; \
|
||||
done
|
||||
- rm -f $(gettextsrcdir)/po-Makefile.in.in
|
||||
+ rm -f $(DESTDIR)$(gettextsrcdir)/po-Makefile.in.in
|
||||
|
||||
check: all
|
||||
|
@ -0,0 +1,58 @@
|
||||
$OpenBSD: patch-po-script-fu_Makefile.in.in,v 1.1.1.1 2002/07/28 21:55:12 brad Exp $
|
||||
--- po-script-fu/Makefile.in.in.orig Sat Jun 24 06:46:57 2000
|
||||
+++ po-script-fu/Makefile.in.in Sun Jul 28 15:20:12 2002
|
||||
@@ -118,9 +118,9 @@ install-data: install-data-@USE_NLS@
|
||||
install-data-no: all
|
||||
install-data-yes: all
|
||||
if test -r "$(MKINSTALLDIRS)"; then \
|
||||
- $(MKINSTALLDIRS) $(datadir); \
|
||||
+ $(MKINSTALLDIRS) $(DESTDIR)$(datadir); \
|
||||
else \
|
||||
- $(SHELL) $(top_srcdir)/mkinstalldirs $(datadir); \
|
||||
+ $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(datadir); \
|
||||
fi
|
||||
@catalogs='$(CATALOGS)'; \
|
||||
for cat in $$catalogs; do \
|
||||
@@ -130,7 +130,7 @@ install-data-yes: all
|
||||
*) destdir=$(localedir);; \
|
||||
esac; \
|
||||
lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
|
||||
- dir=$$destdir/$$lang/LC_MESSAGES; \
|
||||
+ dir=$(DESTDIR)$$destdir/$$lang/LC_MESSAGES; \
|
||||
if test -r "$(MKINSTALLDIRS)"; then \
|
||||
$(MKINSTALLDIRS) $$dir; \
|
||||
else \
|
||||
@@ -160,12 +160,12 @@ install-data-yes: all
|
||||
done
|
||||
if test "$(PACKAGE)" = "gettext"; then \
|
||||
if test -r "$(MKINSTALLDIRS)"; then \
|
||||
- $(MKINSTALLDIRS) $(gettextsrcdir); \
|
||||
+ $(MKINSTALLDIRS) $(DESTDIR)$(gettextsrcdir); \
|
||||
else \
|
||||
- $(SHELL) $(top_srcdir)/mkinstalldirs $(gettextsrcdir); \
|
||||
+ $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(gettextsrcdir); \
|
||||
fi; \
|
||||
$(INSTALL_DATA) $(srcdir)/Makefile.in.in \
|
||||
- $(gettextsrcdir)/Makefile.in.in; \
|
||||
+ $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \
|
||||
else \
|
||||
: ; \
|
||||
fi
|
||||
@@ -178,12 +178,12 @@ uninstall:
|
||||
for cat in $$catalogs; do \
|
||||
cat=`basename $$cat`; \
|
||||
lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
|
||||
- rm -f $(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \
|
||||
- rm -f $(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT).m; \
|
||||
- rm -f $(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \
|
||||
- rm -f $(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT).m; \
|
||||
+ rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \
|
||||
+ rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT).m; \
|
||||
+ rm -f $(DESTDIR)$(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \
|
||||
+ rm -f $(DESTDIR)$(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT).m; \
|
||||
done
|
||||
- rm -f $(gettextsrcdir)/po-Makefile.in.in
|
||||
+ rm -f $(DESTDIR)$(gettextsrcdir)/po-Makefile.in.in
|
||||
|
||||
check: all
|
||||
|
25
graphics/gimp/stable/pkg/DEINSTALL
Normal file
25
graphics/gimp/stable/pkg/DEINSTALL
Normal file
@ -0,0 +1,25 @@
|
||||
#!/bin/sh
|
||||
# $OpenBSD: DEINSTALL,v 1.1.1.1 2002/07/28 21:55:12 brad Exp $
|
||||
#
|
||||
# gimp de-installation
|
||||
|
||||
set -e
|
||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||
PREFIX=${PKG_PREFIX:-/usr/local}
|
||||
CONFIG_DIR=${SYSCONFDIR}/gimp
|
||||
|
||||
if [ -d $CONFIG_DIR ]; then
|
||||
echo
|
||||
echo "+---------------"
|
||||
echo "| To completely deinstall the $1 package you need to perform"
|
||||
echo "| this step as root:"
|
||||
echo "|"
|
||||
echo "| rm -rf $CONFIG_DIR"
|
||||
echo "|"
|
||||
echo "| Do not do this if you plan on re-installing $1"
|
||||
echo "| at some future time."
|
||||
echo "+---------------"
|
||||
echo
|
||||
fi
|
||||
|
||||
exit 0
|
26
graphics/gimp/stable/pkg/DESCR
Normal file
26
graphics/gimp/stable/pkg/DESCR
Normal file
@ -0,0 +1,26 @@
|
||||
The GNU Image Manipulation Program (GIMP) is a powerful tool for the
|
||||
preparation and manipulation of digital images. The GIMP provides the user
|
||||
with a wide variety of image manipulation, painting, processing, and
|
||||
rendering tools. The key to the GIMP's power lies in its flexible
|
||||
core and easily extensible design. The GIMP's open design and
|
||||
extensible architecture make for a very powerful end product which can
|
||||
continue to be extended to meet the needs of the photo compositor,
|
||||
image retoucher, web graphics designer, or digital illustrator for a
|
||||
very long time.
|
||||
|
||||
The GIMP's extensible plug-in architecture allows for image
|
||||
manipulation procedures and other functionality to be easily added
|
||||
without requiring any change to the application core. A plug-in can
|
||||
provide functionality as simple as rotating an image, or as
|
||||
complicated as rendering iterated function system fractals. There are
|
||||
over 140+ plug-ins available in version 1.1, and more are sure to
|
||||
follow.
|
||||
|
||||
The plug-in architecture also allows the GIMP to support a wide
|
||||
variety of file formats. File operations are implemented by special
|
||||
file plug-ins, allowing additional file formats to be added
|
||||
without modification to the core. File formats supported in version
|
||||
1.1 include the popular GIF and JPEG standards, as well as PNG, TIFF,
|
||||
XPM, SGI, PCX, and Windows BMP.
|
||||
|
||||
WWW: ${HOMEPAGE}
|
72
graphics/gimp/stable/pkg/INSTALL
Normal file
72
graphics/gimp/stable/pkg/INSTALL
Normal file
@ -0,0 +1,72 @@
|
||||
#!/bin/sh
|
||||
# $OpenBSD: INSTALL,v 1.1.1.1 2002/07/28 21:55:12 brad Exp $
|
||||
#
|
||||
# Pre/post-installation setup of gimp
|
||||
|
||||
# exit on errors, use a sane path and install prefix
|
||||
#
|
||||
set -e
|
||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||
PREFIX=${PKG_PREFIX:-/usr/local}
|
||||
CONFIG_DIR=${SYSCONFDIR}/gimp
|
||||
SAMPLE_CONFIG_DIR=$PREFIX/share/examples/gimp
|
||||
|
||||
do_notice()
|
||||
{
|
||||
echo
|
||||
echo "+---------------"
|
||||
echo "| The existing $1 configuration files in $CONFIG_DIR,"
|
||||
echo "| have NOT been changed. You may want to compare them to the"
|
||||
echo "| current sample files in $SAMPLE_CONFIG_DIR,"
|
||||
echo "| and update your configuration as needed."
|
||||
echo "+---------------"
|
||||
echo
|
||||
}
|
||||
|
||||
do_install()
|
||||
{
|
||||
install -d -o root -g wheel -m 755 $CONFIG_DIR
|
||||
install -o root -g wheel -m 644 $SAMPLE_CONFIG_DIR/gimprc-sample $CONFIG_DIR/gimprc
|
||||
install -o root -g wheel -m 644 $SAMPLE_CONFIG_DIR/gimprc_user-sample $CONFIG_DIR/gimprc_user
|
||||
install -o root -g wheel -m 644 $SAMPLE_CONFIG_DIR/gtkrc-sample $CONFIG_DIR/gtkrc
|
||||
install -o root -g wheel -m 644 $SAMPLE_CONFIG_DIR/gtkrc_user-sample $CONFIG_DIR/gtkrc_user
|
||||
install -o root -g wheel -m 644 $SAMPLE_CONFIG_DIR/ps-menurc-sample $CONFIG_DIR/ps-menurc
|
||||
install -o root -g wheel -m 644 $SAMPLE_CONFIG_DIR/unitrc-sample $CONFIG_DIR/unitrc
|
||||
echo
|
||||
echo "+---------------"
|
||||
echo "| The $1 configuration files have been installed into"
|
||||
echo "| $CONFIG_DIR. Please view these files and change the configuration"
|
||||
echo "| to meet your needs."
|
||||
echo "+---------------"
|
||||
echo
|
||||
}
|
||||
|
||||
# verify proper execution
|
||||
#
|
||||
if [ $# -ne 2 ]; then
|
||||
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Verify/process the command
|
||||
#
|
||||
case $2 in
|
||||
PRE-INSTALL)
|
||||
: nothing to pre-install for this port
|
||||
;;
|
||||
POST-INSTALL)
|
||||
if [ ! -d $CONFIG_DIR ]; then
|
||||
do_install $1
|
||||
elif [ ! -f $CONFIG_DIR/gimprc ]; then
|
||||
do_install $1
|
||||
else
|
||||
do_notice $1
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
8
graphics/gimp/stable/pkg/PFRAG.shared
Normal file
8
graphics/gimp/stable/pkg/PFRAG.shared
Normal file
@ -0,0 +1,8 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2002/07/28 21:55:19 brad Exp $
|
||||
lib/gimp/modules/libcolorsel_gtk.so
|
||||
lib/gimp/modules/libcolorsel_triangle.so
|
||||
lib/gimp/modules/libcolorsel_water.so
|
||||
lib/libgck.so.0.3
|
||||
lib/libgimp.so.0.3
|
||||
lib/libgimpui.so.0.3
|
||||
DYNLIBDIR(%B)
|
1510
graphics/gimp/stable/pkg/PLIST
Normal file
1510
graphics/gimp/stable/pkg/PLIST
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user