Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Sep 2010 17:38:27 -0700
From:      Craig Leres <leres@ee.lbl.gov>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/150210: [PATCH] x11/xlockmore: missing dependency on print/freetype2
Message-ID:  <4C7EF203.70302@ee.lbl.gov>
Resent-Message-ID: <201009020040.o820e28k038859@freefall.freebsd.org>

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

>Number:         150210
>Category:       ports
>Synopsis:       [PATCH] x11/xlockmore: missing dependency on print/freetype2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 02 00:40:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Craig Leres
>Release:        FreeBSD 7.2-RELEASE amd64
>Organization:
Lawrence Berkeley National Laboratory
>Environment:
	    FreeBSD hot.ee.lbl.gov 7.2-RELEASE FreeBSD 7.2-RELEASE #24: Thu Aug
19 18:07:35 PDT 2010
leres@hot.ee.lbl.gov:/usr/src/7.2-RELEASE/sys/amd64/compile/LBLSMPIPV6
amd64

>Description:
	xlockmore is missing a dependency on freetype2

>How-To-Repeat:
    # pkg_info | egrep 'xlockmore|freetype2'
    freetype2-2.4.2     A free and portable TrueType font rendering engine
    xlockmore-5.31      Like XLock session locker/screen saver, but just
more
    # ldd /usr/local/bin/xlock | grep freetype
	    libfreetype.so.9 => /usr/local/lib/libfreetype.so.9 (0x800a0a000)
    # pkg_delete -f freetype2-2.4.2
    [...]
    # ldd /usr/local/bin/xlock | grep freetype
	    libfreetype.so.9 => not found (0x0)

>Fix:
	Add a package dependency on freetype2 (see attached patch).



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkx+8gMACgkQWxlAhAje3Jt9UgCcC6E37Nadxa/CpGty5S3+gK+i
kOUAnRreaEtWEEw80To6nAM22nBpe1fc
=o/3C
-----END PGP SIGNATURE-----

--------------000901040901090602090800
Content-Type: text/plain;
 name="patch-Makefile.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="patch-Makefile.txt"

--- Makefile.virgin	2010-06-26 04:28:02.000000000 -0700
+++ Makefile	2010-09-01 17:33:52.000000000 -0700
@@ -7,6 +7,7 @@
 
 PORTNAME=	xlockmore
 PORTVERSION=	5.31
+PORTREVISION=	1
 CATEGORIES?=	x11
 MASTER_SITES=	ftp://ibiblio.org/pub/Linux/X11/screensavers/ \
 		http://www.tux.org/~bagleyd/xlock/${PORTNAME}-${PORTVERSION}/ \
@@ -32,6 +33,8 @@
 USE_GNOME=	#
 USE_XORG=	x11 xaw ice
 
+LIB_DEPENDS+= freetype:${PORTSDIR}/print/freetype2
+
 MAN1=		xlock.1
 PLIST_FILES=	bin/xlock lib/X11/app-defaults/XLock
 


--------------000901040901090602090800
Content-Type: application/octet-stream;
 name="patch-Makefile.txt.sig"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="patch-Makefile.txt.sig"

iEYEABECAAYFAkx+8gMACgkQWxlAhAje3JusJQCgi2IGBlLAB4MU5Ek54d+qpb91yE0AnidJ
ADJ26PXB6cJf1cX7OoupO2ws
--------------000901040901090602090800--
>Release-Note:
>Audit-Trail:
>Unformatted:
 This is a multi-part message in MIME format.
 --------------000901040901090602090800
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 



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