Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Apr 2014 11:42:27 +0200
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        Baptiste Daroussin <bapt@FreeBSD.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
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>

next in thread | previous in thread | raw e-mail | index | archive | help
--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+--



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