the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: gpaint2
Version: 0.3.3
Revision: 1
Source: ftp://alpha.gnu.org/gnu/gpaint/gpaint-2-%v.tar.gz
Source-MD5: 037cc283d2cdd806dbdc462839bb3b72
Source2: mirror:debian:pool/main/g/gpaint/gpaint_%v-2.diff.gz
Source2-MD5: c304d111a5be018366e1f7cdcfcd30ea
Depends: <<
atk1-shlibs (>= 1.24.0-1),
cairo-shlibs (>= 1.8-1),
expat1-shlibs,
fontconfig2-shlibs (>= 2.4.1-1),
freetype219-shlibs (>= 2.3.7-7),
glib2-shlibs (>= 2.18.0-1),
glitz-shlibs,
gtk+2-shlibs (>= 2.14.0-1),
libgettext8-shlibs,
libglade2-shlibs (>= 2.6.3-1),
libiconv,
libpng15-shlibs,
libxml2-shlibs (>= 2.6.30-1),
pango1-xft2-ft219-shlibs (>= 1.22.0-4),
pixman-shlibs (>= 0.12.0-1),
x11-shlibs
<<
BuildDepends: <<
atk1 (>= 1.24.0-1),
cairo (>= 1.8-1),
expat1,
fink (>= 0.24.12),
fontconfig2-dev (>= 2.4.1-1),
freetype219 (>= 2.3.7-7),
gettext-bin,
gettext-tools,
glib2-dev (>= 2.18.0-1),
glitz,
gtk+2-dev (>= 2.14.0-1),
libgettext8-dev,
libglade2 (>= 2.6.3-1),
libiconv-dev,
libpng15,
libxml2 (>= 2.6.30-1),
pango1-xft2-ft219-dev (>= 1.22.0-4),
pixman (>= 0.12.0-1),
pkgconfig (>= 0.23),
x11-dev,
xft2-dev
<<
PatchFile: %n.patch
PatchFile-MD5: 73f8a1662107a5d1e0a06a16feb3f04c
PatchScript: <<
#!/bin/sh -ev
gzip -dc ../gpaint_%v-2.diff.gz | patch -p1
for file in \
01_drawing.dpatch \
02_remove_menu_h_reference.dpatch \
09_fix_menu_entry.dpatch \
10_fix_crash_on_font_select.dpatch \
11_fix_image_rotation.dpatch \
20_fix_line_width_combo.dpatch \
; do
echo "applying $file"
patch -p1 < debian/patches/$file
done
%{default_script}
<<
ConfigureParams: --disable-dependency-tracking PKG_CONFIG_PATH="%p/lib/fontconfig2/lib/pkgconfig:$PKG_CONFIG_PATH"
InstallScript: <<
install -d -m 755 %i/share/applications
install -c -m 644 gpaint.desktop %i/share/applications
make install DESTDIR=%d
<<
DocFiles: ABOUT-NLS AUTHORS ChangeLog COPYING NEWS README THANKS TODO
Description: Simple, easy-to-use paint program
DescDetail: <<
This is gpaint (GNU Paint), a small-scale painting program for GNOME,
the GNU Desktop. gpaint does not attempt to compete with GIMP, it is
just a simple drawing package based on xpaint, along the lines of
Paintbrush.
This version is named gpaint2, because it is based on gnome2. It can
be installed along with gpaint.
Currently gpaint has the following features:
Drawing tools such as ovals, freehand, polygon and text, with fill
or shadow for polygons and closed freehand shapes.
Cut and paste by selecting irregular regions or polygons.
Print support using gnome-print.
Modern, ease-to-use user interface with tool and color palettes.
Multiple-image editing in a single instance of the program.
All the image processing features present in xpaint.
<<
DescUsage: <<
Launch it with gpaint-2
<<
DescPort: <<
Have to install the desktop file by hand
Nuke linker flag we don't have on darwin.
<<
License: GPL
DescPackaging: <<
Formerly maintained by Michele Garoche
Make sure we get gtkprint and not libgnomeprint: disable
detection of latter and avoid passing any flags for it.
Grab debian's patches for modern gnome2 and other fixes.
<<
Maintainer: None
Homepage: http://www.gnu.org/software/gpaint/
diff -Nurd -x'*~' gpaint-2-0.3.3.orig/configure gpaint-2-0.3.3/configure
--- gpaint-2-0.3.3.orig/configure 2007-09-10 05:52:55.000000000 -0400
+++ gpaint-2-0.3.3/configure 2009-02-09 21:03:12.000000000 -0500
@@ -19580,6 +19580,7 @@
:
fi
+if false; then
pkg_failed=no
echo "$as_me:$LINENO: checking for PRINT" >&5
echo $ECHO_N "checking for PRINT... $ECHO_C" >&6
@@ -19648,6 +19649,7 @@
echo "${ECHO_T}yes" >&6
gpaint_have_gnome_print=1
fi
+fi
pkg_failed=no
Binary files gpaint-2-0.3.3.orig/gpaint_0.3.3-2.diff.gz and gpaint-2-0.3.3/gpaint_0.3.3-2.diff.gz differ
diff -Nurd -x'*~' gpaint-2-0.3.3.orig/src/Makefile.in gpaint-2-0.3.3/src/Makefile.in
--- gpaint-2-0.3.3.orig/src/Makefile.in 2007-09-10 05:53:53.000000000 -0400
+++ gpaint-2-0.3.3/src/Makefile.in 2009-02-09 21:26:24.000000000 -0500
@@ -169,7 +169,6 @@
gpaint_2_CFLAGS = -I$(srcdir)
gpaint_2_LDADD = $(GUI_LIBS) $(PRINT_LIBS)
-gpaint_2_LDFLAGS = -Wl,--export-dynamic
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_CLEAN_FILES =
bin_PROGRAMS = gpaint-2$(EXEEXT)