Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 534016 - x11-libs/gtk+:1 - add multilib support
Summary: x11-libs/gtk+:1 - add multilib support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All All
: Normal enhancement (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2014-12-30 14:13 UTC by David Watzke
Modified: 2015-06-06 21:12 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
glib-1.2.10-r6.ebuild (multilib-converted) (glib-1.2.10-r6.ebuild,1.89 KB, text/plain)
2015-06-04 03:11 UTC, Ian Stakenvicius (RETIRED)
Details
gtk+-1.2.10-r13.ebuild (gtk+-1.2.10-r13.ebuild,2.52 KB, text/plain)
2015-06-04 03:12 UTC, Ian Stakenvicius (RETIRED)
Details
gtk+-1.2.10-r13.ebuild (gtk+-1.2.10-r13.ebuild,2.58 KB, text/plain)
2015-06-04 14:39 UTC, Ian Stakenvicius (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Watzke 2014-12-30 14:13:28 UTC
Hi,

recently I had to switch from pre-compiled emul-linux-x86 packages to true multilib (as I was missing 32bit tinfo from ncurses) and everything went fine but now 32bit gtk+:1 libs are missing and their deps and there's unfortunately no multilib support in gtk+:1.

Is it planned to add it?

Thanks
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-12-30 16:43:44 UTC
Isn't it dead yet?
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2014-12-30 23:34:30 UTC
It is. There is exactly two users of this in tree and I am considering moving it to the last rite list.
Comment 3 Pacho Ramos gentoo-dev 2014-12-31 20:49:53 UTC
+1, I would try to kill gtk1 reverse dependencies instead of trying to add multilib support to that slot
Comment 4 Ulrich Müller gentoo-dev 2015-04-05 11:01:46 UTC
Looks like there are still third-party programs that are using this, see bug 544876 comment 7.
Comment 5 Oldrich Jedlicka 2015-06-03 06:45:39 UTC
(In reply to Ulrich Müller from comment #4)
> Looks like there are still third-party programs that are using this, see bug
> 544876 comment 7.

Anybody working on this? Bug #544876 says that the emul-linux has been removed, but without gtk+-1 I cannot run rather old, but paid program Lingea Lexicon. So I cannot uninstall emul-linux.
Comment 6 Ian Stakenvicius (RETIRED) gentoo-dev 2015-06-03 14:21:58 UTC
Given how old this package is, would it make sense to, instead of porting gtk1 to multilib, put/keep an app-emulation/emul-linux-x86-gtk1 in the tree?
Comment 7 Ulrich Müller gentoo-dev 2015-06-03 15:45:51 UTC
(In reply to Ian Stakenvicius from comment #6)
> Given how old this package is, would it make sense to, instead of porting
> gtk1 to multilib, put/keep an app-emulation/emul-linux-x86-gtk1 in the tree?

Please don't, as it would defeat the purpose of the multilib conversion.

IMHO the choice here is to support or not to support multilib for x11-libs/gtk+:1, but not to add a new binary package.
Comment 8 Ian Stakenvicius (RETIRED) gentoo-dev 2015-06-03 22:03:27 UTC
(In reply to Ulrich Müller from comment #7)
> (In reply to Ian Stakenvicius from comment #6)
> > Given how old this package is, would it make sense to, instead of porting
> > gtk1 to multilib, put/keep an app-emulation/emul-linux-x86-gtk1 in the tree?
> 
> Please don't, as it would defeat the purpose of the multilib conversion.
> 
> IMHO the choice here is to support or not to support multilib for
> x11-libs/gtk+:1, but not to add a new binary package.

Understood.

gtk:1 needs glib:1 to go along with it.  So far both seem to be fairly trivial conversions to autotools-multilib and EAPI5.  Initial testing should be finished tomorrow and I'll get the ebuilds revewed by relevant groups before committing.
Comment 9 Ian Stakenvicius (RETIRED) gentoo-dev 2015-06-04 03:11:42 UTC
Created attachment 404554 [details]
glib-1.2.10-r6.ebuild (multilib-converted)

Here's the version of glib:1 that's been multilib-converted (necessary dep for gtk+:1)
Comment 10 Ian Stakenvicius (RETIRED) gentoo-dev 2015-06-04 03:12:34 UTC
Created attachment 404556 [details]
gtk+-1.2.10-r13.ebuild

Here's the multilib-converted gtk+:1
Comment 11 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-06-04 07:48:08 UTC
Just commit it :). Nobody's going to care enough to review this ancient thing.
Comment 12 Pacho Ramos gentoo-dev 2015-06-04 08:47:49 UTC
Yes, thanks for the work :)

Also, maybe it's a good chance to finally fix https://bugs.gentoo.org/show_bug.cgi?id=257996#c9 in old glib-1 :/
Comment 13 Ian Stakenvicius (RETIRED) gentoo-dev 2015-06-04 14:39:43 UTC
Created attachment 404588 [details]
gtk+-1.2.10-r13.ebuild

(In reply to Michał Górny from comment #11)
> Just commit it :). Nobody's going to care enough to review this ancient
> thing.

Tetromino asked to review it first, and to put the ebuilds on the bug; following his instructions is all.

Updating the gtk+ ebuild to contain properly minver-pegged dependencies and other multilib dependencies I forgot to integrate the first time around.
Comment 14 Alexandre Rostovtsev (RETIRED) gentoo-dev 2015-06-05 01:30:20 UTC
Committed with some fixes (missing a few dependencies, remove .la files, static libs optional in glib and disabled in gtk+, /usr/bin/gtk-config needs wrapping).

I really wished we could finally drive a stake into the heart of gtk+-1, but unfortunately, that happy day remains elusive :/

+*glib-1.2.10-r6 (05 Jun 2015)
+
+  05 Jun 2015; Alexandre Rostovtsev <tetromino@gentoo.org>
+  +glib-1.2.10-r6.ebuild:
+  Add multilib support for glib-1 since it seems a few users still need it;
+  thanks to Ian Stakenvicius for the ebuild (bug #534016).

+*gtk+-1.2.10-r13 (05 Jun 2015)
+
+  05 Jun 2015; Alexandre Rostovtsev <tetromino@gentoo.org>
+  +gtk+-1.2.10-r13.ebuild:
+  Add multilib support for gtk+-1 since it seems a few users still need it;
+  thanks to Ian Stakenvicius for the ebuild (bug #534016).
Comment 15 Oldrich Jedlicka 2015-06-06 21:12:26 UTC
Thanks, guys. Lingea Lexicon is working fine with in-tree multilib gtk+:1 :-)