Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 May 2011 11:18:35 -0500
From:      Zhihao Yuan <lichray@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/156980: print/acroreadwrapper: Supports Linux GTK theme engine
Message-ID:  <4dcc085e.853f2b0a.5bec.2db2@mx.google.com>
Resent-Message-ID: <201105121620.p4CGK5BS018849@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         156980
>Category:       ports
>Synopsis:       print/acroreadwrapper: Supports Linux GTK theme engine
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 12 16:20:04 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Zhihao Yuan
>Release:        FreeBSD 8.2-STABLE amd64
>Organization:
Northern Illinois University
>Environment:
System: FreeBSD compaq.yuetime 8.2-STABLE FreeBSD 8.2-STABLE #1 r221793M: Wed May 11 21:44:19 CDT 2011 lichray@compaq.yuetime:/home/lichray/temp/obj/home/lichray/devel/freebsd-stable/sys/HOUKAGO amd64


	
>Description:
	
	This script automatically uses the FreeBSD native GTK theme engine. My patch changes the GTK_PATH within the script to deal with the problem.
>How-To-Repeat:
	
>Fix:

	

--- acroreadwrapper_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/print/acroreadwrapper.orig/Makefile /usr/ports/print/acroreadwrapper/Makefile
--- /usr/ports/print/acroreadwrapper.orig/Makefile	2010-08-07 23:16:02.000000000 -0500
+++ /usr/ports/print/acroreadwrapper/Makefile	2011-05-12 11:13:14.271916824 -0500
@@ -7,6 +7,7 @@
 
 PORTNAME=	acroreadwrapper
 PORTVERSION=	0.0.20100806
+PORTREVISION=	1
 CATEGORIES=	print
 MASTER_SITES=	# empty
 DISTFILES=	# empty
diff -ruN --exclude=CVS /usr/ports/print/acroreadwrapper.orig/files/acroread.in /usr/ports/print/acroreadwrapper/files/acroread.in
--- /usr/ports/print/acroreadwrapper.orig/files/acroread.in	2010-08-07 23:16:02.000000000 -0500
+++ /usr/ports/print/acroreadwrapper/files/acroread.in	2011-05-12 11:13:50.330977012 -0500
@@ -126,6 +126,7 @@
 esac
 
 UNAME_s=Linux; export UNAME_s
+GTK_PATH="${LINUXBASE}/usr/lib/gtk-2.0/"
 
 if [ -x %%PREFIX%%/${ACROBASE}/${ADOBE_LANG}/${BINPREFIX}/acroread ]; then
 	exec %%LINUXSH%% %%PREFIX%%/${ACROBASE}/${ADOBE_LANG}/${BINPREFIX}/acroread "$@"
--- acroreadwrapper_1.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4dcc085e.853f2b0a.5bec.2db2>