gnome-print stable port information

Package: gnome-print
Version: 0.37
Revision: 7
Source: mirror:gnome:sources/%n/%v/%n-%v.tar.bz2
Source-MD5: f9e13f4f17b04baceec1cdeed0f88eae
BuildDepends: <<
audiofile (>= 0.2.3-1),
esound (>= 0.2.28-1),
fink (>= 0.24.12),
gdk-pixbuf (>= 0.18.0-12),
gettext-bin,
gettext-dev,
gettext-tools,
glib (>= 1.2.10-18),
gnome-libs-dev (>= 1.4.2-17),
gtk+ (>= 1.2.10-23),
imlib (>= 1.9.14-13),
libxml (>= 1.8.17-14),
x11-dev
<<
Depends: <<
%N-shlibs (>= %v-%r),
audiofile-shlibs (>= 0.2.3-1),
esound-shlibs (>= 0.2.28-1),
gdk-pixbuf-shlibs (>= 0.18.0-12),
gettext,
ghostscript-fonts,
glib-shlibs (>= 1.2.10-18),
gnome-libs-shlibs (>= 1.4.2-17),
gtk+-shlibs (>= 1.2.10-23),
imlib-shlibs (>= 1.9.14-2),
libxml-shlibs (>= 1.8.17-14),
x11-shlibs
<<
PatchFile: %n.patch
PatchFile-MD5: 0bef9803cba50f4a44d700d9a4908fca
PatchScript: <<
sed -e 's|@PREFIX@|%p|g' < %{PatchFile} | patch -p1
perl -pi -e 's/(.*run-gnome-font-install.*)/#\1/' installer/Makefile.in
perl -pi -e 's,(lib\S+)/(lib\S+)\.la,\1/.libs/\2.dylib,g' tests/Makefile.in
<<
UpdatePoMakefile: true
UpdateConfigGuess: true
UpdateLibtool: true
SetCFLAGS: -O2
CompileScript: <<
./configure %c
make
nm libgnomeprint/.libs/libgnomeprint.dylib | egrep ' [DTS] (_g_utf|_g_unichar)' | sed 's/.* //' | sort | uniq >symbol.list
nmedit -R symbol.list libgnomeprint/.libs/libgnomeprint.15.1.11.dylib
<<
InstallScript: <<
make install DESTDIR=%d
install -c -m 644 run-gnome-font-install %i/share/fonts
(cd fonts; install -c -m 644 *.font %i/share/fonts)
<<
PostInstScript: <<
perl %p/share/fonts/run-gnome-font-install %p/bin/gnome-font-install %p/share %p/share
<<
SplitOff: <<
Package: %N-shlibs
Depends: <<
audiofile-shlibs (>= 0.2.3-1),
esound-shlibs (>= 0.2.28-1),
gdk-pixbuf-shlibs (>= 0.18.0-12),
gettext,
glib-shlibs (>= 1.2.10-18),
gnome-base,
gnome-libs-shlibs (>= 1.4.2-17),
gtk+-shlibs,
imlib-shlibs (>= 1.9.14-2),
libglade-shlibs (>= 0.17-3),
libxml-shlibs (>= 1.8.17-14),
x11-shlibs
<<
Replaces: %N (<= 0.35-2)
Files: lib/libgnomeprint.*.dylib
Shlibs: %p/lib/libgnomeprint.15.dylib 17.0.0 %n (>= 0.36-2)
DocFiles: AUTHORS COPYING* ChangeLog installer/ChangeLog:ChangeLog.installer libgnomeprint/ChangeLog:ChangeLog.libgnomeprint po/ChangeLog:ChangeLog.po NEWS README
<<
SplitOff2: <<
Package: %N-dev
BuildDependsOnly: True
Depends: %N-shlibs (= %v-%r)
Replaces: %N (<< 0.36-2)
Files: include lib/libgnomeprint.* lib/*.sh
DocFiles: AUTHORS COPYING* ChangeLog installer/ChangeLog:ChangeLog.installer libgnomeprint/ChangeLog:ChangeLog.libgnomeprint po/ChangeLog:ChangeLog.po NEWS README
<<
DocFiles: AUTHORS COPYING* ChangeLog installer/ChangeLog:ChangeLog.installer libgnomeprint/ChangeLog:ChangeLog.libgnomeprint po/ChangeLog:ChangeLog.po NEWS README
Description: Gnome Print - Printing libraries for GNOME
DescDetail: <<
You should install the gnome-print package if you intend on using any of
the GNOME applications that can print. If you would like to develop GNOME
applications that can print you will also need to install the gnome-print
devel package.
<<
DescPort: <<
Symbols start with _g_utf8_ or _g_unichar_ may conflict with other library.
Uses nmedit to make them private extern symbol.

Brute-force fix for linker path bug in unpatchably-old libtool.
<<
DescPackaging: <<
Don't install fonts into live system during package building.

orbit doesn't appear to be linked or used if detected, so
don't bother with dependencies to force it to be detected
<<
License: GPL/LGPL
Maintainer: The Gnome Core Team
Homepage: http://www.gnome.org/

gnome-print stable port .patch

diff -uNr gnome-print-0.37/libgnomeprint/gnome-print-pclc.c gnome-print-0.37-new/libgnomeprint/gnome-print-pclc.c
--- gnome-print-0.37/libgnomeprint/gnome-print-pclc.c Sat Jul 22 15:59:09 2000
+++ gnome-print-0.37-new/libgnomeprint/gnome-print-pclc.c Mon Nov 3 10:49:28 2003
@@ -16,6 +16,8 @@
4. The application and the print dialog will load the
job specific parameters */

+PCLJobData * jobdata;
+
void
pclc_new_job_data (void)
{
diff -uNr gnome-print-0.37/libgnomeprint/gnome-print-pclr.c gnome-print-0.37-new/libgnomeprint/gnome-print-pclr.c
--- gnome-print-0.37/libgnomeprint/gnome-print-pclr.c Thu May 24 16:35:07 2001
+++ gnome-print-0.37-new/libgnomeprint/gnome-print-pclr.c Mon Nov 3 10:50:11 2003
@@ -62,7 +62,6 @@
#include
#include

-PCLJobData * jobdata;
static GnomePrintRGBPClass *pclr_parent_class;

static int
diff -uNr gnome-print-0.37/libgnomeprint/gnome-print-pclv.c gnome-print-0.37-new/libgnomeprint/gnome-print-pclv.c
--- gnome-print-0.37/libgnomeprint/gnome-print-pclv.c Thu May 24 16:35:07 2001
+++ gnome-print-0.37-new/libgnomeprint/gnome-print-pclv.c Mon Nov 3 10:50:23 2003
@@ -53,7 +53,6 @@
#include
#include

-PCLJobData * jobdata;
static GnomePrintRGBPClass *pclv_parent_class;

static int
diff -uNr gnome-print-0.37/run-gnome-font-install gnome-print-0.37-new/run-gnome-font-install
--- gnome-print-0.37/run-gnome-font-install Mon Jan 14 10:43:06 2002
+++ gnome-print-0.37-new/run-gnome-font-install Mon Nov 3 10:29:55 2003
@@ -10,7 +10,7 @@
my $datadir = $ARGV[1];
my $srcdir = $ARGV[2];
my $sysconfdir = $ARGV[3];
-if (!$sysconfdir) {$sysconfdir="/etc";}
+if (!$sysconfdir) {$sysconfdir="@PREFIX@/etc";}

die "Error: installer not executable.\n" unless -f $installer && -x $installer;
die "Error: datadir is not a directory.\n" unless -d $datadir;
@@ -18,6 +18,10 @@

my @default_paths =
(
+ '@PREFIX@/share/ghostscript/fonts',
+ '@PREFIX@/lib/ghostscript/fonts',
+ '@PREFIX@/share/fonts/default/Type1',
+ '@PREFIX@/share/fonts/default/ghostscript',
'/usr/share/ghostscript/fonts',
'/usr/lib/ghostscript/fonts',
'/usr/share/fonts/default/Type1',
@@ -143,6 +147,12 @@
"--aliases=$datadir/fonts/adobe-urw.font",
"--aliases=$datadir/gnome/fonts/adobe-urw.font",
"$datadir/fonts/afms",
+ '@PREFIX@/lib/texmf/fonts/afm',
+ '@PREFIX@/lib/texmf/fonts/type1/adobe',
+ '@PREFIX@/lib/texmf/fonts/type1/omega',
+ '@PREFIX@/share/texmf/fonts/afm',
+ '@PREFIX@/share/texmf/fonts/type1/adobe',
+ '@PREFIX@/share/texmf/fonts/type1/omega',
'/usr/lib/texmf/fonts/afm',
'/usr/lib/texmf/fonts/type1/adobe',
'/usr/lib/texmf/fonts/type1/omega',
diff -ruN gnome-print-0.37/installer/gf-pfb.c gnome-print-0.37-patched/installer/gf-pfb.c
--- gnome-print-0.37/installer/gf-pfb.c 2002-01-18 16:23:00.000000000 -0800
+++ gnome-print-0.37-patched/installer/gf-pfb.c 2007-07-14 10:36:51.000000000 -0700
@@ -12,6 +12,7 @@
#include
#include
#include
+#include
#include
#include "gf-pfb.h"

diff -ruN gnome-print-0.37/installer/gf-ttf.c gnome-print-0.37-patched/installer/gf-ttf.c
--- gnome-print-0.37/installer/gf-ttf.c 2001-11-05 06:07:28.000000000 -0800
+++ gnome-print-0.37-patched/installer/gf-ttf.c 2007-07-14 10:37:10.000000000 -0700
@@ -32,6 +32,7 @@
#include
#include
#include
+#include
#include

#include "gf-ttf.h"
diff -ruN gnome-print-0.37/installer/gnome-font-install.c gnome-print-0.37-patched/installer/gnome-font-install.c
--- gnome-print-0.37/installer/gnome-font-install.c 2002-01-22 13:44:55.000000000 -0800
+++ gnome-print-0.37-patched/installer/gnome-font-install.c 2007-07-14 10:33:26.000000000 -0700
@@ -26,6 +26,7 @@
#include
#include
/* End of ugly thing */
+#include
#include
#include
#include
diff -ruN gnome-print-0.37/libgnomeprint/gnome-font-private.h gnome-print-0.37-patched/libgnomeprint/gnome-font-private.h
--- gnome-print-0.37/libgnomeprint/gnome-font-private.h 2001-12-05 14:07:58.000000000 -0800
+++ gnome-print-0.37-patched/libgnomeprint/gnome-font-private.h 2007-07-14 10:16:36.000000000 -0700
@@ -22,6 +22,7 @@

BEGIN_GNOME_DECLS

+#include
#include
#include
#include
diff -ruN gnome-print-0.37/libgnomeprint/parseTT.h gnome-print-0.37-patched/libgnomeprint/parseTT.h
--- gnome-print-0.37/libgnomeprint/parseTT.h 2001-11-05 11:27:09.000000000 -0800
+++ gnome-print-0.37-patched/libgnomeprint/parseTT.h 2007-07-14 10:29:33.000000000 -0700
@@ -22,6 +22,7 @@
BEGIN_GNOME_DECLS

#include
+#include
#include

/*

gnome-print _unstable_ port information

Package: gnome-print
Version: 0.37
Revision: 7
Source: mirror:gnome:sources/%n/%v/%n-%v.tar.bz2
Source-MD5: f9e13f4f17b04baceec1cdeed0f88eae
BuildDepends: <<
audiofile (>= 0.2.3-1),
esound (>= 0.2.28-1),
fink (>= 0.24.12),
gdk-pixbuf (>= 0.18.0-12),
gettext-bin,
gettext-dev,
gettext-tools,
glib (>= 1.2.10-18),
gnome-libs-dev (>= 1.4.2-17),
gtk+ (>= 1.2.10-23),
imlib (>= 1.9.14-13),
libxml (>= 1.8.17-14),
x11-dev
<<
Depends: <<
%N-shlibs (>= %v-%r),
audiofile-shlibs (>= 0.2.3-1),
esound-shlibs (>= 0.2.28-1),
gdk-pixbuf-shlibs (>= 0.18.0-12),
gettext,
ghostscript-fonts,
glib-shlibs (>= 1.2.10-18),
gnome-libs-shlibs (>= 1.4.2-17),
gtk+-shlibs (>= 1.2.10-23),
imlib-shlibs (>= 1.9.14-2),
libxml-shlibs (>= 1.8.17-14),
x11-shlibs
<<
PatchFile: %n.patch
PatchFile-MD5: 0bef9803cba50f4a44d700d9a4908fca
PatchScript: <<
sed -e 's|@PREFIX@|%p|g' < %{PatchFile} | patch -p1
perl -pi -e 's/(.*run-gnome-font-install.*)/#\1/' installer/Makefile.in
perl -pi -e 's,(lib\S+)/(lib\S+)\.la,\1/.libs/\2.dylib,g' tests/Makefile.in
<<
UpdatePoMakefile: true
UpdateConfigGuess: true
UpdateLibtool: true
SetCFLAGS: -O2
CompileScript: <<
./configure %c
make
nm libgnomeprint/.libs/libgnomeprint.dylib | egrep ' [DTS] (_g_utf|_g_unichar)' | sed 's/.* //' | sort | uniq >symbol.list
nmedit -R symbol.list libgnomeprint/.libs/libgnomeprint.15.1.11.dylib
<<
InstallScript: <<
make install DESTDIR=%d
install -c -m 644 run-gnome-font-install %i/share/fonts
(cd fonts; install -c -m 644 *.font %i/share/fonts)
<<
PostInstScript: <<
perl %p/share/fonts/run-gnome-font-install %p/bin/gnome-font-install %p/share %p/share
<<
SplitOff: <<
Package: %N-shlibs
Depends: <<
audiofile-shlibs (>= 0.2.3-1),
esound-shlibs (>= 0.2.28-1),
gdk-pixbuf-shlibs (>= 0.18.0-12),
gettext,
glib-shlibs (>= 1.2.10-18),
gnome-base,
gnome-libs-shlibs (>= 1.4.2-17),
gtk+-shlibs,
imlib-shlibs (>= 1.9.14-2),
libglade-shlibs (>= 0.17-3),
libxml-shlibs (>= 1.8.17-14),
x11-shlibs
<<
Replaces: %N (<= 0.35-2)
Files: lib/libgnomeprint.*.dylib
Shlibs: %p/lib/libgnomeprint.15.dylib 17.0.0 %n (>= 0.36-2)
DocFiles: AUTHORS COPYING* ChangeLog installer/ChangeLog:ChangeLog.installer libgnomeprint/ChangeLog:ChangeLog.libgnomeprint po/ChangeLog:ChangeLog.po NEWS README
<<
SplitOff2: <<
Package: %N-dev
BuildDependsOnly: True
Depends: %N-shlibs (= %v-%r)
Replaces: %N (<< 0.36-2)
Files: include lib/libgnomeprint.* lib/*.sh
DocFiles: AUTHORS COPYING* ChangeLog installer/ChangeLog:ChangeLog.installer libgnomeprint/ChangeLog:ChangeLog.libgnomeprint po/ChangeLog:ChangeLog.po NEWS README
<<
DocFiles: AUTHORS COPYING* ChangeLog installer/ChangeLog:ChangeLog.installer libgnomeprint/ChangeLog:ChangeLog.libgnomeprint po/ChangeLog:ChangeLog.po NEWS README
Description: Gnome Print - Printing libraries for GNOME
DescDetail: <<
You should install the gnome-print package if you intend on using any of
the GNOME applications that can print. If you would like to develop GNOME
applications that can print you will also need to install the gnome-print
devel package.
<<
DescPort: <<
Symbols start with _g_utf8_ or _g_unichar_ may conflict with other library.
Uses nmedit to make them private extern symbol.

Brute-force fix for linker path bug in unpatchably-old libtool.
<<
DescPackaging: <<
Don't install fonts into live system during package building.

orbit doesn't appear to be linked or used if detected, so
don't bother with dependencies to force it to be detected
<<
License: GPL/LGPL
Maintainer: The Gnome Core Team
Homepage: http://www.gnome.org/

gnome-print _unstable_ port .patch

diff -uNr gnome-print-0.37/libgnomeprint/gnome-print-pclc.c gnome-print-0.37-new/libgnomeprint/gnome-print-pclc.c
--- gnome-print-0.37/libgnomeprint/gnome-print-pclc.c Sat Jul 22 15:59:09 2000
+++ gnome-print-0.37-new/libgnomeprint/gnome-print-pclc.c Mon Nov 3 10:49:28 2003
@@ -16,6 +16,8 @@
4. The application and the print dialog will load the
job specific parameters */

+PCLJobData * jobdata;
+
void
pclc_new_job_data (void)
{
diff -uNr gnome-print-0.37/libgnomeprint/gnome-print-pclr.c gnome-print-0.37-new/libgnomeprint/gnome-print-pclr.c
--- gnome-print-0.37/libgnomeprint/gnome-print-pclr.c Thu May 24 16:35:07 2001
+++ gnome-print-0.37-new/libgnomeprint/gnome-print-pclr.c Mon Nov 3 10:50:11 2003
@@ -62,7 +62,6 @@
#include
#include

-PCLJobData * jobdata;
static GnomePrintRGBPClass *pclr_parent_class;

static int
diff -uNr gnome-print-0.37/libgnomeprint/gnome-print-pclv.c gnome-print-0.37-new/libgnomeprint/gnome-print-pclv.c
--- gnome-print-0.37/libgnomeprint/gnome-print-pclv.c Thu May 24 16:35:07 2001
+++ gnome-print-0.37-new/libgnomeprint/gnome-print-pclv.c Mon Nov 3 10:50:23 2003
@@ -53,7 +53,6 @@
#include
#include

-PCLJobData * jobdata;
static GnomePrintRGBPClass *pclv_parent_class;

static int
diff -uNr gnome-print-0.37/run-gnome-font-install gnome-print-0.37-new/run-gnome-font-install
--- gnome-print-0.37/run-gnome-font-install Mon Jan 14 10:43:06 2002
+++ gnome-print-0.37-new/run-gnome-font-install Mon Nov 3 10:29:55 2003
@@ -10,7 +10,7 @@
my $datadir = $ARGV[1];
my $srcdir = $ARGV[2];
my $sysconfdir = $ARGV[3];
-if (!$sysconfdir) {$sysconfdir="/etc";}
+if (!$sysconfdir) {$sysconfdir="@PREFIX@/etc";}

die "Error: installer not executable.\n" unless -f $installer && -x $installer;
die "Error: datadir is not a directory.\n" unless -d $datadir;
@@ -18,6 +18,10 @@

my @default_paths =
(
+ '@PREFIX@/share/ghostscript/fonts',
+ '@PREFIX@/lib/ghostscript/fonts',
+ '@PREFIX@/share/fonts/default/Type1',
+ '@PREFIX@/share/fonts/default/ghostscript',
'/usr/share/ghostscript/fonts',
'/usr/lib/ghostscript/fonts',
'/usr/share/fonts/default/Type1',
@@ -143,6 +147,12 @@
"--aliases=$datadir/fonts/adobe-urw.font",
"--aliases=$datadir/gnome/fonts/adobe-urw.font",
"$datadir/fonts/afms",
+ '@PREFIX@/lib/texmf/fonts/afm',
+ '@PREFIX@/lib/texmf/fonts/type1/adobe',
+ '@PREFIX@/lib/texmf/fonts/type1/omega',
+ '@PREFIX@/share/texmf/fonts/afm',
+ '@PREFIX@/share/texmf/fonts/type1/adobe',
+ '@PREFIX@/share/texmf/fonts/type1/omega',
'/usr/lib/texmf/fonts/afm',
'/usr/lib/texmf/fonts/type1/adobe',
'/usr/lib/texmf/fonts/type1/omega',
diff -ruN gnome-print-0.37/installer/gf-pfb.c gnome-print-0.37-patched/installer/gf-pfb.c
--- gnome-print-0.37/installer/gf-pfb.c 2002-01-18 16:23:00.000000000 -0800
+++ gnome-print-0.37-patched/installer/gf-pfb.c 2007-07-14 10:36:51.000000000 -0700
@@ -12,6 +12,7 @@
#include
#include
#include
+#include
#include
#include "gf-pfb.h"

diff -ruN gnome-print-0.37/installer/gf-ttf.c gnome-print-0.37-patched/installer/gf-ttf.c
--- gnome-print-0.37/installer/gf-ttf.c 2001-11-05 06:07:28.000000000 -0800
+++ gnome-print-0.37-patched/installer/gf-ttf.c 2007-07-14 10:37:10.000000000 -0700
@@ -32,6 +32,7 @@
#include
#include
#include
+#include
#include

#include "gf-ttf.h"
diff -ruN gnome-print-0.37/installer/gnome-font-install.c gnome-print-0.37-patched/installer/gnome-font-install.c
--- gnome-print-0.37/installer/gnome-font-install.c 2002-01-22 13:44:55.000000000 -0800
+++ gnome-print-0.37-patched/installer/gnome-font-install.c 2007-07-14 10:33:26.000000000 -0700
@@ -26,6 +26,7 @@
#include
#include
/* End of ugly thing */
+#include
#include
#include
#include
diff -ruN gnome-print-0.37/libgnomeprint/gnome-font-private.h gnome-print-0.37-patched/libgnomeprint/gnome-font-private.h
--- gnome-print-0.37/libgnomeprint/gnome-font-private.h 2001-12-05 14:07:58.000000000 -0800
+++ gnome-print-0.37-patched/libgnomeprint/gnome-font-private.h 2007-07-14 10:16:36.000000000 -0700
@@ -22,6 +22,7 @@

BEGIN_GNOME_DECLS

+#include
#include
#include
#include
diff -ruN gnome-print-0.37/libgnomeprint/parseTT.h gnome-print-0.37-patched/libgnomeprint/parseTT.h
--- gnome-print-0.37/libgnomeprint/parseTT.h 2001-11-05 11:27:09.000000000 -0800
+++ gnome-print-0.37-patched/libgnomeprint/parseTT.h 2007-07-14 10:29:33.000000000 -0700
@@ -22,6 +22,7 @@
BEGIN_GNOME_DECLS

#include
+#include
#include

/*