Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 May 2010 23:05:35 +0800 (CST)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        gnome@FreeBSD.org
Subject:   [PATCH] x11-toolkits/pango: fix pkg-plist when WITHOUT_X11 defined 
Message-ID:  <20100511150535.08E1B2AEC9C8@sunpoet.net>

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

>Submitter-Id:	current-users
>Originator:	Sunpoet Po-Chuan Hsieh
>Organization:	SUNPOET.net
>Confidential:	no 
>Synopsis:	[PATCH] x11-toolkits/pango: fix pkg-plist when WITHOUT_X11 defined 
>Severity:	non-critical
>Priority:	low
>Category:	ports 
>Class:		change-request
>Release:	FreeBSD 8.0-STABLE amd64
>Environment:
System: FreeBSD bonjour.sunpoet.net 8.0-STABLE FreeBSD 8.0-STABLE #0: Wed May  5 00:44:42 CST
>Description:
Fix pkg-plist when WITHOUT_X11 defined.

Port maintainer (gnome@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99

Analysis:
Xft/XRender check in $WRKSRC/configure is skipped due to disabled $have_x,
therefore PangoXft-1.0.gir and PangoXft-1.0.typelib will not be installed.

($WRKSRC/pango/Makefile)
56:# ------------------- libpangoxft -------------------
57:#am__append_12 = $(pangoxft_headers)
58:#am__append_13 = libpangoxft-1.0.la
59:#am__append_14 = PangoXft-1.0.gir
60:#am__append_15 = -export-symbols $(srcdir)/pangoxft.def -Wl,pangoxft-win32-res.o
61:#am__append_16 = pangoxft-win32-res.o pangoxft.def

>How-To-Repeat:

% cd /usr/ports/x11-toolkits/pango/
% make WITHOUT_X11=yes
...
% make package
===>  Building package for pango-1.28.0
Creating package /usr/ports/packages/All/pango-1.28.0.tbz
Registering depends: gobject-introspection-0.6.10 gio-fam-backend-2.24.1 gamin-0.1.10_3 glib-2.24.1 gettext-0.17_1 libiconv-1.13.1_1 bison-2.4.1,1 libffi-3.0.9 m4-1.4.14,1 libsigsegv-2.5 pcre-8.02 cairo-1.8.8_1,1 xorg-fonts-truetype-7.5 bitstream-vera-1.10_4 font-bh-ttf-1.0.1 font-misc-ethiopic-1.0.1 font-misc-meltho-1.0.1 fontconfig-2.8.0,1 mkfontdir-1.0.5 mkfontscale-1.0.7 freetype2-2.3.11 pixman-0.16.6 libfontenc-1.0.5 xproto-7.0.16 pkg-config-0.23_1 png-1.4.1_1 perl-threaded-5.10.1 python26-2.6.4 expat-2.0.1_1 encodings-1.0.3,1 font-util-1.0.2.
Creating bzip'd tar ball in '/usr/ports/packages/All/pango-1.28.0.tbz'
tar: lib/girepository-1.0/PangoXft-1.0.typelib: Cannot stat: No such file or directory
tar: share/gir-1.0/PangoXft-1.0.gir: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors.
pkg_create: make_dist: tar command failed with code 256
*** Error code 1

Stop in /usr/ports/x11-toolkits/pango.

>Fix:

--- pango-1.28.0.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/x11-toolkits/pango/pkg-plist /usr/ports/sunpoet/pango/pkg-plist
--- /usr/ports/x11-toolkits/pango/pkg-plist	2010-05-11 15:44:49.000000000 +0800
+++ /usr/ports/sunpoet/pango/pkg-plist	2010-05-11 22:45:24.000000000 +0800
@@ -39,7 +39,7 @@
 lib/girepository-1.0/Pango-1.0.typelib
 lib/girepository-1.0/PangoCairo-1.0.typelib
 lib/girepository-1.0/PangoFT2-1.0.typelib
-lib/girepository-1.0/PangoXft-1.0.typelib
+%%X11%%lib/girepository-1.0/PangoXft-1.0.typelib
 lib/libpango-1.0.a
 lib/libpango-1.0.la
 lib/libpango-1.0.so
@@ -104,7 +104,7 @@
 share/gir-1.0/Pango-1.0.gir
 share/gir-1.0/PangoCairo-1.0.gir
 share/gir-1.0/PangoFT2-1.0.gir
-share/gir-1.0/PangoXft-1.0.gir
+%%X11%%share/gir-1.0/PangoXft-1.0.gir
 @dirrm lib/pango/%%VERSION%%/modules
 @dirrm lib/pango/%%VERSION%%
 @dirrm lib/pango
--- pango-1.28.0.patch ends here ---




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