You are not logged in.

#1 2009-07-12 00:32:05

Falcata
Member
From: Michiana
Registered: 2008-01-23
Posts: 501
Website

PKGBUILD for Ubuntu GTK2

I'm presently having problems with some versions of the Second Life client software.  It uses some deprecated code in gtk2 that was removed in gtk 2.16, notably the file dialogs.  As a result, attempts to use the file dialogs generally result in a nasty freeze and crash.  However, Ubuntu and a few other distributions have patched their gtk2 packages to be compiled with the deprecated code, so the file dialogs work on those platforms.

Could someone help me find this patch in Ubuntu's gtk2 sources?  I would like to try and make a PKGBUILD that patches it against Arch Linux's gtk2 sources, so that I can use the file dialogs normally.  I know that the problem was fixed in the 1.23.4 version of the client, but I'm also using some 3rd party viewers (Hippo and Meerkat) which do not presently have the fix.

Offline

#2 2009-07-12 07:14:48

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: PKGBUILD for Ubuntu GTK2

Why don't you ask this in ubuntu forums too ? We're archlinux user smile

Offline

#3 2009-07-12 14:47:47

Falcata
Member
From: Michiana
Registered: 2008-01-23
Posts: 501
Website

Re: PKGBUILD for Ubuntu GTK2

I'm asking here because this I'm looking for a solution to an Arch Linux problem.

Offline

#4 2009-07-12 15:07:17

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: PKGBUILD for Ubuntu GTK2

[edit]experimenting. coming back soon tongue [/edit]

Last edited by bangkok_manouel (2009-07-12 15:11:13)

Offline

#5 2009-07-12 15:16:33

hbekel
Member
Registered: 2008-10-04
Posts: 311

Re: PKGBUILD for Ubuntu GTK2

Falcata wrote:

[...]I would like to try and make a PKGBUILD that patches it against Arch Linux's gtk2 sources[...]I'm asking here because this I'm looking for a solution to an Arch Linux problem.

Go ahead then and make a patched version if you need it. Afaik the ubuntu package pages provide the diffs in a separate .tar.gz. You could also compile an older version of gtk and use the resulting libraries via LD_PRELOAD (which is probably cleaner than installing a patched lib system-wide just for one binary), or try LD_PRELOADing with a binary version of the patched lib from ubuntu (at your own risk, of course).

Please note that this is not an "Arch Linux problem". It's a general problem that binary-only packages face in an evolving open source environment. Arch is a vanilla distribution after all, and it's refusal to patch just because some (however popular) piece of closed source software would require it is A Good Thing(TM).

Offline

#6 2009-07-12 15:25:36

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: PKGBUILD for Ubuntu GTK2

Yes - it's not an Arch problem, and according to your first post, it's not even a SL problem, if they fixed it in the current client. You should be asking whoever's in charge of Hippo and Meerkat to provide updated versions.

Offline

#7 2009-07-12 15:26:10

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: PKGBUILD for Ubuntu GTK2

ok super dirty way but it seems to work (just patched the sources, didn't try to build it however). i'm sure there's a better way to do that but ahem, i'm that lazy type of person...
download the diff here:
http://archive.ubuntu.com/ubuntu/pool/m … u2.diff.gz
first, you have to patch 2.16.1 source code with this. then you'll see a debian directory in which you'll find a patches directory. use quilt push -a to patch the source, all patches applied well. good luck.

Offline

#8 2009-07-12 15:35:22

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: PKGBUILD for Ubuntu GTK2

if you don't want to mess with quilt, here's a simple patch to apply directly to the source:
http://omploader.org/vMXlzNQ/big_fat.patch.tar.bz2
e59126e4897ffff404c1e958fbfa990f  big_fat.patch.tar.bz2

[edit]
*maybe* that's what you're looking for, it applies fine on 2.16.4, maybe it's worth a try:
http://omploader.org/vMXlzNw/009_gtk-ex … oser.patch
[/edit]

Last edited by bangkok_manouel (2009-07-12 15:48:14)

Offline

Board footer

Powered by FluxBB