Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Aug 2010 11:36:28 +0900 (JST)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        ache@nagual.pp.ru
Cc:        doceng@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org
Subject:   Re: cvs commit: ports/print/ghostscript8 Makefile ports/print/ghostscript8/files patch-jbig2dec__os_types.h
Message-ID:  <20100804.113628.191927483.hrs@allbsd.org>
In-Reply-To: <20100803215558.GA28885@nagual.pp.ru>
References:  <20100803193329.GA4824@nagual.pp.ru> <20100803195046.GA22682@nagual.pp.ru> <20100803215558.GA28885@nagual.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
----Security_Multipart0(Wed_Aug__4_11_36_28_2010_493)--
Content-Type: Multipart/Mixed;
	boundary="--Next_Part(Wed_Aug__4_11_36_28_2010_089)--"
Content-Transfer-Encoding: 7bit

----Next_Part(Wed_Aug__4_11_36_28_2010_089)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Andrey Chernov <ache@nagual.pp.ru> wrote
  in <20100803215558.GA28885@nagual.pp.ru>:

ac> On Tue, Aug 03, 2010 at 11:50:47PM +0400, Andrey Chernov wrote:
ac> > On Tue, Aug 03, 2010 at 11:33:30PM +0400, Andrey Chernov wrote:
ac> > > On Tue, Aug 03, 2010 at 03:39:45PM +0000, Hiroki Sato wrote:
ac> > > > hrs         2010-08-03 15:39:45 UTC
ac> > > >
ac> > > >   FreeBSD ports repository
ac> > > >
ac> > > >   Modified files:
ac> > > >     print/ghostscript8   Makefile
ac> > > >   Removed files:
ac> > > >     print/ghostscript8/files patch-jbig2dec__os_types.h
ac> > > >   Log:
ac> > > >   Use graphics/jbig2dec for libjbig2dec instead of the bundled one.
ac> > >
ac> > > Perhaps not due to this commit (I don't build it for a while), but it
ac> > > requires gtk now (dxmain.c compile error).
ac> >
ac> > Should I say "can't find gtk" instead?
ac> > ./psi/dxmain.c:32:21: error: gtk/gtk.h: No such file or directory
ac>
ac> Well, I build gs successfully by upgrading to latest gtk20 but gtk
ac> dependency is still missing in the port (and present for gsx):

 Thanks for the report.  Could you try the attached patch and let me
 know if it solves the dependency issue?

-- Hiroki

----Next_Part(Wed_Aug__4_11_36_28_2010_089)--
Content-Type: Text/X-Patch; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="ghostscript8_gtk.diff"

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/print/ghostscript8/Makefile,v
retrieving revision 1.200
diff -d -u -I \$FreeBSD:.*\$ -I \$NetBSD:.*\$ -I \$OpenBSD:.*\$ -I \$DragonFly:.*\$ -I \$Id:.*\$ -I \$Translation:.*\$ -I \$hrs:.*\$ -r1.200 Makefile
--- Makefile	3 Aug 2010 15:39:45 -0000	1.200
+++ Makefile	4 Aug 2010 02:33:34 -0000
@@ -7,7 +7,7 @@

 PORTNAME=	ghostscript8
 PORTVERSION=	8.71
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	print
 MASTER_SITES=	http://ghostscript.com/releases/:gs_srcs \
 		SF/ghostscript/files/GPL%20Ghostscript/${PORTVERSION}:gs_srcs \
Index: files/Makefile.drivers_post
===================================================================
RCS file: /home/ncvs/ports/print/ghostscript8/files/Makefile.drivers_post,v
retrieving revision 1.3
diff -d -u -I \$FreeBSD:.*\$ -I \$NetBSD:.*\$ -I \$OpenBSD:.*\$ -I \$DragonFly:.*\$ -I \$Id:.*\$ -I \$Translation:.*\$ -I \$hrs:.*\$ -r1.3 Makefile.drivers_post
--- files/Makefile.drivers_post	2 Aug 2010 06:15:08 -0000	1.3
+++ files/Makefile.drivers_post	4 Aug 2010 02:30:02 -0000
@@ -108,8 +108,15 @@
 		--x-includes=${X11BASE}/include \
 		--x-libraries=${X11BASE}/lib
 CONFLICTS+=	ghostscript8-nox11-[0-9]*
+.if defined(WITH_GS_display)
+USE_GNOME=	atk gdkpixbuf glib20 gtk20
+CONFIGURE_ARGS+=--enable-gtk
+.endif
 .else
 CONFIGURE_ARGS+=--without-x
+.if defined(WITH_GS_display)
+CONFIGURE_ARGS+=--disable-gtk
+.endif
 CONFLICTS+=	ghostscript8-[0-9]*
 .endif
 .if defined(WITHOUT_X11)

----Next_Part(Wed_Aug__4_11_36_28_2010_089)----

----Security_Multipart0(Wed_Aug__4_11_36_28_2010_493)--
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iEYEABECAAYFAkxY0iwACgkQTyzT2CeTzy3zCACfalpdV7G99XzEal6acRh4pQjQ
vPYAn2l+17NVM0TCk3bhD+BRhbF/83zw
=u38y
-----END PGP SIGNATURE-----

----Security_Multipart0(Wed_Aug__4_11_36_28_2010_493)----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100804.113628.191927483.hrs>