From 7df62d7aac94d50a40df2bdb8f67e272b1ef7511 Mon Sep 17 00:00:00 2001 From: marcm Date: Thu, 8 Apr 2004 06:22:34 +0000 Subject: [PATCH] Update to 0.112. From MAINTAINER --- textproc/gpdf/Makefile | 9 +++++---- textproc/gpdf/distinfo | 6 +++--- textproc/gpdf/patches/patch-shell_gpdf_c | 20 ++++++++++++++++++++ 3 files changed, 28 insertions(+), 7 deletions(-) create mode 100644 textproc/gpdf/patches/patch-shell_gpdf_c diff --git a/textproc/gpdf/Makefile b/textproc/gpdf/Makefile index 0be71d5b33c..ecb2a6bbdca 100644 --- a/textproc/gpdf/Makefile +++ b/textproc/gpdf/Makefile @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile,v 1.2 2003/12/04 23:07:25 pvalchev Exp $ +# $OpenBSD: Makefile,v 1.3 2004/04/08 06:22:34 marcm Exp $ COMMENT= "PDF viewer for GNOME" -DISTNAME= gpdf-0.110 +DISTNAME= gpdf-0.112 CATEGORIES= textproc x11/gnome HOMEPAGE= http://www.inf.tu-dresden.de/~mk793652/gpdf/ @@ -15,12 +15,13 @@ PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes -MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gpdf/0.110/} +MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gpdf/0.112/} EXTRACT_SUFX= .tar.bz2 MODULES= gettext -BUILD_DEPENDS= :pkgconfig->=0.14.0:devel/pkgconfig +BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig \ + :p5-XML-Parser-*:textproc/p5-XML-Parser LIB_DEPENDS= gnomeui-2::x11/gnome/libgnomeui \ gnomeprintui-2-2::x11/gnome/libgnomeprintui diff --git a/textproc/gpdf/distinfo b/textproc/gpdf/distinfo index 14dd1f74c11..f8cd5398809 100644 --- a/textproc/gpdf/distinfo +++ b/textproc/gpdf/distinfo @@ -1,3 +1,3 @@ -MD5 (gpdf-0.110.tar.bz2) = ae3682bcd13f5ab2095fa5409462fb6f -RMD160 (gpdf-0.110.tar.bz2) = 4131163d60ca2f2774a7c743c4204f2e1a2c57e5 -SHA1 (gpdf-0.110.tar.bz2) = f0e2cbf252b46b0ae875430fc17dee9d1b512e9f +MD5 (gpdf-0.112.tar.bz2) = 4df88fb2d9998807c05ce6cc395c022f +RMD160 (gpdf-0.112.tar.bz2) = 6067d277d45dd791c2bc1fa4731578fe00123f7f +SHA1 (gpdf-0.112.tar.bz2) = 0ef7d87f4154bdd9f9174c02f2e29a78a23a7007 diff --git a/textproc/gpdf/patches/patch-shell_gpdf_c b/textproc/gpdf/patches/patch-shell_gpdf_c new file mode 100644 index 00000000000..4d7563bbc1b --- /dev/null +++ b/textproc/gpdf/patches/patch-shell_gpdf_c @@ -0,0 +1,20 @@ +--- shell/gpdf.c.orig Sun Apr 4 10:27:08 2004 ++++ shell/gpdf.c Sun Apr 4 10:33:25 2004 +@@ -121,16 +121,7 @@ + static void + set_window_icon_default (void) + { +- GdkPixbuf *pixbuf; +- +- pixbuf = gdk_pixbuf_new_from_file (GNOMEICONDIR "/gnome-pdf.png", NULL); +- +- if (pixbuf == NULL) +- return; +- +- gtk_window_set_default_icon (pixbuf); +- +- g_object_unref (pixbuf); ++ gtk_window_set_default_icon_from_file (GNOMEICONDIR "/gnome-pdf.png", NULL); + } + + int