From: Bjoern V. <bj...@cs...> - 2004-01-07 12:25:23
|
On 7.1.2004 James Ogley <jam...@pi...> wrote: > > If there are SuSE users here, please test the patch. > > There is a small remaining problem: SuSE Linux 8.2 and 9.0 uses > > /opt/gnome as Gaim's prefix. Gaim's spec file uses %{_prefix} which is > > normally /usr as the prefix. I have not changed this because this > > causes much changes in the gaim.spec file.=20 >=20 > No no no, this is all wrong, SuSE 8.2 uses /opt/gnome2 for a start... Not really. SuSE 8.2 uses /opt/gnome for GNOME 1.4 programs and /opt/gnome2 for GNOME 2.2 programs. SuSE 8.2 includes Gaim 0.59.8. This is a GTK1 program and SuSE puts this in /opt/gnome. I checked this in ARCHIVES.gz (first CDROM of SuSE 8.2).=20 If usr-local-bin builds Gaim>0.60 in /opt/gnome2 this is also good.=20 But what is the consequence, if Gaim's new rpm spec file builds Gaim in a different location, for instance /usr (my patch) or /opt/gnome2? All this paths are in $PATH and Gaim is found. The only problem can be, that Gaim doesn't show up in the menus of Gnome or KDE. This may be hard to fix, because SuSE<=3D8.2 uses the susewm system and SuSE 9.0 uses a new menu system which is backported from KDE 3.2 and uses a freedesktop standard.=20 I know that Gaim's rpm spec file cannot be as good as a hand-optimized rpm spec file for a specific distribution.=20 But I want a spec file, which is usable for SuSE without modifications for people who like to install Gaim from source with=20 rpm(build) --tarball -tb gaim-0.75cvs.tar.gz or something similar. usr-local-bin's build will be even better. By the way, thanks for www.usr-local-bin.org, it's great! > Gosh, what else is wrong, you need to use rpath to make sure the Mozilla > libs are picked up. If has downloaded the spec file from www.usr-local-bin.org for Gaim 0.74 and compared it with my version. My spec patch also has rpath. Please take a lot on it.=20 > Yes, SuSE 8.2 lacks gtkspell, but it's available from the usr-local-bin > APT repository. This is true. But I don't know, if everyone knows it. gtkspell is hard to find. If gtkspell is optional it may be better to remove it from the dependencies. > I've attached the spec file I use for www.usr-local-bin.org's packages - > if I have time, I may merge it into the distributed spec and then > produce a diff, or it could just be included as a separate file. Good idea. You have much experience with rpm, please take a look on it. Regards, Bj=F6rn |