From owner-svn-ports-all@FreeBSD.ORG Fri Apr 25 09:42:43 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9AE4539D; Fri, 25 Apr 2014 09:42:43 +0000 (UTC) Received: from mailrelay008.isp.belgacom.be (mailrelay008.isp.belgacom.be [195.238.6.174]) by mx1.freebsd.org (Postfix) with ESMTP id B5B9119E4; Fri, 25 Apr 2014 09:42:42 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlYGAActWlNR8aN3/2dsb2JhbABZgwZPS8QsgQ8XdIIlAQEBAwFWIQIFCwsOCgklDyoeBohMDAEIykkXjlkHhDkEkHuICYE5kSSDMzs Received: from 119.163-241-81.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([81.241.163.119]) by relay.skynet.be with ESMTP; 25 Apr 2014 11:42:34 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.8/8.14.8) with ESMTP id s3P9gXCP001859; Fri, 25 Apr 2014 11:42:33 +0200 (CEST) (envelope-from tijl@FreeBSD.org) Date: Fri, 25 Apr 2014 11:42:27 +0200 From: Tijl Coosemans To: Baptiste Daroussin Subject: Re: svn commit: r352093 - head/x11/startup-notification Message-ID: <20140425114227.37f2c3db@kalimero.tijl.coosemans.org> In-Reply-To: <20140425092011.GB38988@ivaldir.etoilebsd.net> References: <201404250738.s3P7c2CV097634@svn.freebsd.org> <20140425111327.3e351b84@kalimero.tijl.coosemans.org> <20140425092011.GB38988@ivaldir.etoilebsd.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/Ff2qesZ/4kbzWloHT37tzf+"; protocol="application/pgp-signature" Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Apr 2014 09:42:43 -0000 --Sig_/Ff2qesZ/4kbzWloHT37tzf+ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 25 Apr 2014 11:20:12 +0200 Baptiste Daroussin wrote: > On Fri, Apr 25, 2014 at 11:13:27AM +0200, Tijl Coosemans wrote: >> On Fri, 25 Apr 2014 07:38:02 +0000 (UTC) Baptiste Daroussin wrote: >>> Modified: head/x11/startup-notification/pkg-plist >>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D >>> --- head/x11/startup-notification/pkg-plist Fri Apr 25 07:34:14 2014 (r= 352092) >>> +++ head/x11/startup-notification/pkg-plist Fri Apr 25 07:38:01 2014 (r= 352093) >>> @@ -5,9 +5,9 @@ include/startup-notification-1.0/libsn/s >>> include/startup-notification-1.0/libsn/sn-util.h >>> include/startup-notification-1.0/libsn/sn.h >>> lib/libstartup-notification-1.a >>> -lib/libstartup-notification-1.la >>> lib/libstartup-notification-1.so >>> lib/libstartup-notification-1.so.0 >>> +lib/libstartup-notification-1.so.0.0.0 >>> libdata/pkgconfig/libstartup-notification-1.0.pc >>> @dirrm include/startup-notification-1.0/libsn >>> @dirrm include/startup-notification-1.0 >>=20 >> It's probably better to use libtool:keepla here. There are too many >> ports that depend on this port with .la files that may refer to >> libstartup-notification-1.la. >>=20 >> I've been thinking if it would be possible for pkg to register .la files >> (and their references to other libraries) like it does with .so files. >> Then you could find out if there are references lurking in other ports >> with pkg rquery. >=20 > Concerning gnome related ports like this one I'm pretty confident about r= emoving > the .la as upstream jhbuild continuous integration system expect everythi= ng to > be install without .la, so almost nothing should expect to find the .la h= ere. The problem is that it was previously there so other .la files now contain references to it. For instance on my xfce system: % grep -Rl libstartup-notification-1.la /usr/local/lib/* /usr/local/lib/libstartup-notification-1.la /usr/local/lib/libwnck-1.la /usr/local/lib/libxfce4kbd-private-2.la /usr/local/lib/libxfce4ui-1.la /usr/local/lib/libxfsm-4.6.la /usr/local/lib/thunarx-2/thunar-uca.la /usr/local/lib/xfce4/panel/plugins/libactions.la /usr/local/lib/xfce4/panel/plugins/libapplicationsmenu.la /usr/local/lib/xfce4/panel/plugins/libclock.la /usr/local/lib/xfce4/panel/plugins/libdirectorymenu.la /usr/local/lib/xfce4/panel/plugins/liblauncher.la /usr/local/lib/xfce4/panel/plugins/libpager.la /usr/local/lib/xfce4/panel/plugins/libseparator.la /usr/local/lib/xfce4/panel/plugins/libshowdesktop.la /usr/local/lib/xfce4/panel/plugins/libsystray.la /usr/local/lib/xfce4/panel/plugins/libtasklist.la /usr/local/lib/xfce4/panel/plugins/libwindowmenu.la /usr/local/lib/xfce4/panel/plugins/libclipman.la /usr/local/lib/xfce4/panel/plugins/libxfce4dict.la /usr/local/lib/xfce4/session/splash-engines/libbalou.la /usr/local/lib/xfce4/session/splash-engines/libmice.la /usr/local/lib/xfce4/session/splash-engines/libsimple.la The problem is that when I update x11/startup-notification now these references go stale. If I then update a port that links with libwnck-1.la for instance using libtool, that will be broken because libtool cannot find libstartup-notification-1.la. > concerning registering the .la that will be quite complicated because as = far as > I know, no trace of .la is left inside the resulted binaries, but if you = think > about a clever way, I'm not against it :) No, you need to scan the .la files itself just like you scan .so files. Think of an .la file as a library on its own. A package can provide .la files and it can have other .la files as dependencies. We're trying to get rid of these .la dependencies, but it would be nice to have a way to detect them. --Sig_/Ff2qesZ/4kbzWloHT37tzf+ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iF4EAREKAAYFAlNaLgkACgkQfoCS2CCgtiv9/gD/cfo5WqRDeAwgKFIxUR1E/G6s C78lx43/4YartZAHWhwA/3RpOrY3S3WTGVVKmGgrcrE8QdhhGu225hfsFJVFaGfh =1uQs -----END PGP SIGNATURE----- --Sig_/Ff2qesZ/4kbzWloHT37tzf+--