Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Mar 2007 09:20:55 GMT
From:      Alexey Shuvaev<shuvaev@physik.uni-wuerzburg.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/110508: [PATCH] print/fontforge fix install on -CURRENT
Message-ID:  <200703190920.l2J9KtPw016067@www.freebsd.org>
Resent-Message-ID: <200703190930.l2J9UFv8040987@freefall.freebsd.org>

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

>Number:         110508
>Category:       ports
>Synopsis:       [PATCH] print/fontforge fix install on -CURRENT
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 19 09:30:15 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Alexey Shuvaev
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
Universitaet Wuerzburg
>Environment:
System: FreeBSD localhost.my.domain 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Sun Mar 18 18:19:17 CET 2007 root@localhost.my.domain:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Before:
The port print/fontforge installs wrong shared libraries
on -CURRENT. Namely, port installs libgdraw.so.1.10
instead of libgdraw.so.1 + symbolic link libgdraw.so,
libgunicode.so.2.3 instead of libgunicode.so.2 + libgunicode.so
in /usr/local/lib and
libgb12345.so.0.0 instead of gb12345.so.0 + gb12345.so +
in /usr/local/share/fontforge/plugins.

What has been done:
With attached patches everything works but the port
installs also static libraries and gb12345.o.
Due to this I attach also patch for pkg-plist.
The port now seems to behave identically both on 6-STABLE and
7-CURRENT systems (more or less tested).

>How-To-Repeat:
Try to install print/fontforge from the ports on -CURRENT.
>Fix:
--- patch-Makefile begins here ---
--- Makefile.orig	Sun Mar  4 18:21:20 2007
+++ Makefile	Sun Mar 18 19:51:53 2007
@@ -59,6 +59,7 @@
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
+USE_AUTOTOOLS=	libtool:15
 USE_GCC=	3.2+
 
 MAN1=		fontforge.1 sfddiff.1
--- patch-Makefile ends here ---


--- patch-pkg-plist begins here ---
--- pkg-plist.orig	Sat Sep  9 00:11:14 2006
+++ pkg-plist	Sun Mar 18 23:29:13 2007
@@ -1,8 +1,10 @@
 bin/fontforge
 bin/sfddiff
+lib/libgdraw.a
 lib/libgdraw.la
 lib/libgdraw.so
 lib/libgdraw.so.1
+lib/libgunicode.a
 lib/libgunicode.la
 lib/libgunicode.so
 lib/libgunicode.so.2
@@ -21,8 +23,10 @@
 %%DATADIR%%/Adobe-Japan1-6.cidmap
 %%DATADIR%%/Adobe-Japan2-0.cidmap
 %%DATADIR%%/Adobe-Korea1-2.cidmap
+%%DATADIR%%/plugins/gb12345.a
 %%DATADIR%%/plugins/gb12345.la
 %%DATADIR%%/plugins/gb12345.lai
+%%DATADIR%%/plugins/gb12345.o
 %%DATADIR%%/plugins/gb12345.so
 %%DATADIR%%/plugins/gb12345.so.0
 %%PORTDOCS%%%%DOCSDIR%%/AA-Comparison.html
@@ -735,5 +739,26 @@
 @dirrm %%DOCSDIR%%/ja/nonBMP
 @dirrm %%DOCSDIR%%/ja
 @dirrm %%DOCSDIR%%
+@dirrmtry share/locale/es/LC_MESSAGES
+@dirrmtry share/locale/es
+@dirrmtry share/locale/fr/LC_MESSAGES
+@dirrmtry share/locale/fr
 @dirrmtry share/locale/gr/LC_MESSAGES
 @dirrmtry share/locale/gr
+@dirrmtry share/locale/it/LC_MESSAGES
+@dirrmtry share/locale/it
+@dirrmtry share/locale/ja/LC_MESSAGES
+@dirrmtry share/locale/ja
+@dirrmtry share/locale/ru/LC_MESSAGES
+@dirrmtry share/locale/ru
+@dirrmtry share/locale/vi/LC_MESSAGES
+@dirrmtry share/locale/vi
+@dirrmtry share/locale
+@dirrmtry share/doc
+@dirrmtry share
+@dirrmtry man/man1
+@dirrmtry man
+@dirrmtry libdata/pkgconfig
+@dirrmtry libdata
+@dirrmtry lib
+@dirrmtry bin
--- patch-pkg-plist ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



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