* [gentoo-dev] gtk3 useflag and support of older toolkits @ 2012-06-10 2:38 hasufell 2012-06-10 3:54 ` Alexandre Rostovtsev 2012-06-11 9:24 ` hasufell 0 siblings, 2 replies; 36+ messages in thread From: hasufell @ 2012-06-10 2:38 UTC (permalink / raw To: gentoo-dev Bug #420433 lately introduced the discussion again if and when we should support older (deprecated) toolkit versions. As for the named bug it may make sense to support it, cause the gtk3 useflag would lead to different (reduced) functionality of that package. (but that shall not be the discussion here) Generally I think gtk3 useflags should be avoided and only be a workaround during migration to gtk+:3. Optimally gtk+:3 should always be forced when available and not leading to major issues. On the other hand... if gtk+:3 implementation is broken I would suggest to simply force gtk+:2 without any gtk3 useflag. So we have ONE working toolkit version. Introducing stuff like gtk3 useflag will let users think this is about choice, but it's actually not (gtk+:2 is not being developed any longer afais). Would it make sense to add a tracker for packages currently using gtk3 useflag, so this will not become a habit and only be a workaround? # quse -N gtk3 app-editors/emacs/emacs-24.1_rc.ebuild app-editors/emacs-vcs/emacs-vcs-24.1.9999-r1.ebuild app-emulation/virt-viewer/virt-viewer-0.4.2.ebuild app-emulation/virt-viewer/virt-viewer-0.5.2.ebuild app-emulation/virt-viewer/virt-viewer-0.5.3.ebuild app-i18n/fcitx/fcitx-4.2.1.ebuild app-i18n/fcitx/fcitx-4.2.4.ebuild app-i18n/fcitx-configtool/fcitx-configtool-0.4.1.ebuild app-i18n/fcitx-configtool/fcitx-configtool-0.4.4.ebuild app-i18n/ibus/ibus-1.4.1.ebuild app-i18n/ibus-unikey/ibus-unikey-0.6.1.ebuild app-i18n/uim/uim-1.7.1-r1.ebuild app-i18n/uim/uim-1.7.1.ebuild app-i18n/uim/uim-1.7.3.ebuild app-i18n/uim/uim-1.8.0.ebuild app-office/libreoffice/libreoffice-3.6.9999.ebuild app-office/libreoffice/libreoffice-9999-r2.ebuild gnome-base/librsvg/librsvg-2.34.1-r1.ebuild gnome-base/librsvg/librsvg-2.34.2.ebuild lxde-base/lxdm/lxdm-0.4.1-r1.ebuild lxde-base/lxdm/lxdm-0.4.1-r2.ebuild lxde-base/lxdm/lxdm-0.4.1-r4.ebuild lxde-base/lxdm/lxdm-0.4.1-r5.ebuild media-libs/libcanberra/libcanberra-0.28-r5.ebuild media-plugins/audacious-plugins/audacious-plugins-3.2.2-r1.ebuild media-plugins/audacious-plugins/audacious-plugins-3.2.3.ebuild media-sound/audacious/audacious-3.2.2-r1.ebuild media-sound/audacious/audacious-3.2.3.ebuild media-sound/mp3splt-gtk/mp3splt-gtk-0.7.0.930.ebuild media-sound/mp3splt-gtk/mp3splt-gtk-0.7.1.ebuild media-sound/mp3splt-gtk/mp3splt-gtk-0.7.2.ebuild net-dns/avahi/avahi-0.6.30-r1.ebuild net-dns/avahi/avahi-0.6.30-r3.ebuild net-libs/gtk-vnc/gtk-vnc-0.4.3-r1.ebuild net-libs/gtk-vnc/gtk-vnc-0.4.4.ebuild net-libs/gtk-vnc/gtk-vnc-0.5.0-r1.ebuild net-libs/gtk-vnc/gtk-vnc-0.5.0.ebuild net-misc/spice-gtk/spice-gtk-0.11.ebuild net-misc/spice-gtk/spice-gtk-0.12.ebuild net-misc/spice-gtk/spice-gtk-0.7.159.ebuild net-misc/spice-gtk/spice-gtk-0.8.ebuild net-p2p/eiskaltdcpp/eiskaltdcpp-2.2.6.ebuild net-p2p/eiskaltdcpp/eiskaltdcpp-2.2.7.ebuild net-p2p/eiskaltdcpp/eiskaltdcpp-9999.ebuild sci-mathematics/gretl/gretl-1.9.7.ebuild sci-mathematics/gretl/gretl-1.9.8.ebuild www-client/dwb/dwb-2012.02.01.ebuild www-client/dwb/dwb-2012.05.11.ebuild www-client/dwb/dwb-9999.ebuild www-client/opera/opera-11.64.1403.ebuild www-client/opera/opera-12.00.1448.ebuild www-client/opera/opera-12.00.1450.ebuild www-client/opera-next/opera-next-12.00.1440.ebuild www-client/opera-next/opera-next-12.00.1441.ebuild www-client/opera-next/opera-next-12.00.1445.ebuild www-client/opera-next/opera-next-12.00.1448.ebuild www-client/opera-next/opera-next-12.00.1450.ebuild www-client/uget/uget-1.8.0.ebuild www-client/uget/uget-9999.ebuild www-client/uzbl/uzbl-2011.07.17.ebuild www-client/uzbl/uzbl-2011.07.25.ebuild www-client/uzbl/uzbl-2011.10.01.ebuild www-client/uzbl/uzbl-2011.11.28.ebuild www-client/uzbl/uzbl-9999.ebuild x11-themes/light-themes/light-themes-0.1.8.29.ebuild x11-themes/light-themes/light-themes-0.1.8.32.ebuild x11-themes/light-themes/light-themes-0.1.9.1.ebuild ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-dev] gtk3 useflag and support of older toolkits 2012-06-10 2:38 [gentoo-dev] gtk3 useflag and support of older toolkits hasufell @ 2012-06-10 3:54 ` Alexandre Rostovtsev 2012-06-10 8:45 ` Maxim Kammerer ` (2 more replies) 2012-06-11 9:24 ` hasufell 1 sibling, 3 replies; 36+ messages in thread From: Alexandre Rostovtsev @ 2012-06-10 3:54 UTC (permalink / raw To: gentoo-dev On Sun, 2012-06-10 at 04:38 +0200, hasufell wrote: > Bug #420433 lately introduced the discussion again if and when we should > support older (deprecated) toolkit versions. > > As for the named bug it may make sense to support it, cause the gtk3 > useflag would lead to different (reduced) functionality of that package. > (but that shall not be the discussion here) > > Generally I think gtk3 useflags should be avoided and only be a > workaround during migration to gtk+:3. Optimally gtk+:3 should always be > forced when available and not leading to major issues. > On the other hand... if gtk+:3 implementation is broken I would suggest > to simply force gtk+:2 without any gtk3 useflag. So we have ONE working > toolkit version. > > Introducing stuff like gtk3 useflag will let users think this is about > choice, but it's actually not (gtk+:2 is not being developed any longer > afais). > > Would it make sense to add a tracker for packages currently using gtk3 > useflag, so this will not become a habit and only be a workaround? The Gnome team's recommendation is to avoid gtk3 or gtk2 USE flags. For libraries, if possible, try splitting gtk2 and gtk3 support into different slots (see net-libs/webkit-gtk for an example; the gtk2-based versions have -r2xx revision numbers and go in slot 2, while the gtk3-based versions have -r3xx revision numbers and go in slot 3). Unfortunately, for a few libraries, this splitting is difficult to do in a sane and maintainable manner, so then a gtk3 USE flag could be the least bad solution. For applications, just pick one version of gtk. If a particular version works better, use only that one (e.g. if building an application against gtk3 would result in reduced functionality or introduce crashes, or if upstream calls it experimental, you should probably stick with gtk2 for now). If the results of building against gtk2 or gtk2 are mostly equivalent, I suggest only building against gtk3, because gtk2 is basically legacy code that doesn't get much attention from gtk upstream. -Alexandre ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-dev] gtk3 useflag and support of older toolkits 2012-06-10 3:54 ` Alexandre Rostovtsev @ 2012-06-10 8:45 ` Maxim Kammerer 2012-06-10 9:47 ` Pacho Ramos 2012-06-10 19:55 ` Sebastian Pipping 2012-06-10 20:19 ` Ciaran McCreesh 2 siblings, 1 reply; 36+ messages in thread From: Maxim Kammerer @ 2012-06-10 8:45 UTC (permalink / raw To: gentoo-dev Just to illustrate the USE=gtk3 confusion, on packages I has personal experience with: app-i18n/uim x11-themes/light-themes --> flag provides support for gtk3 apps, in addition to gtk(2) (with independent USE=gtk in uim); most users would probably want this. gnome-base/librsvg --> flag for gtk3 libraries *and* executables (independent USE=gtk; an example of a package that should be slotted?) media-sound/audacious --> REQUIRED_USE="^^ ( gtk gtk3 )" with default switching from version to version (current stable is gtk, previous was gtk3). www-client/midori --> USE=deprecated instead of USE=gtk3 in unstable. www-client/uget --> for once, a "simple" USE=gtk3 that enables gtk3 instead of gtk (gtk3 support still experimental?) media-libs/libcanberra --> USE=gtk3 enables extra support, in addition to gtk: "Enables building of gtk+3 helper library, gtk+3 runtime sound effects and the canberra-gtk-play utility. To enable the gtk+3 sound effects add canberra-gtk-module to the colon separated list of modules in the GTK_MODULES environment variable." — very unclear: is it needed? recommended? also, why doesn't the package handle the environment variable by itself? -- Maxim Kammerer Liberté Linux: http://dee.su/liberte ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-dev] gtk3 useflag and support of older toolkits 2012-06-10 8:45 ` Maxim Kammerer @ 2012-06-10 9:47 ` Pacho Ramos 0 siblings, 0 replies; 36+ messages in thread From: Pacho Ramos @ 2012-06-10 9:47 UTC (permalink / raw To: gentoo-dev [-- Attachment #1: Type: text/plain, Size: 853 bytes --] El dom, 10-06-2012 a las 11:45 +0300, Maxim Kammerer escribió: > Just to illustrate the USE=gtk3 confusion, on packages I has personal > experience with: > [...] > gnome-base/librsvg > --> flag for gtk3 libraries *and* executables (independent USE=gtk; an > example of a package that should be slotted?) This has been improved in 2.36.1 (thanks tetromino!) [...] > media-libs/libcanberra > --> USE=gtk3 enables extra support, in addition to gtk: "Enables > building of gtk+3 helper library, gtk+3 runtime sound effects and the > canberra-gtk-play utility. To enable the gtk+3 sound effects add > canberra-gtk-module to the colon separated list of modules in the > GTK_MODULES environment variable." — very unclear: is it needed? > recommended? also, why doesn't the package handle the environment > variable by itself? > [-- Attachment #2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-dev] gtk3 useflag and support of older toolkits 2012-06-10 3:54 ` Alexandre Rostovtsev 2012-06-10 8:45 ` Maxim Kammerer @ 2012-06-10 19:55 ` Sebastian Pipping 2012-06-23 12:53 ` Gilles Dartiguelongue 2012-06-10 20:19 ` Ciaran McCreesh 2 siblings, 1 reply; 36+ messages in thread From: Sebastian Pipping @ 2012-06-10 19:55 UTC (permalink / raw To: gentoo-dev On 06/10/2012 05:54 AM, Alexandre Rostovtsev wrote: > For libraries, if possible, try splitting gtk2 and gtk3 support into > different slots (see net-libs/webkit-gtk for an example; the gtk2-based > versions have -r2xx revision numbers and go in slot 2, while the > gtk3-based versions have -r3xx revision numbers and go in slot 3). That's a crazy but interesting approach. Best, Sebastian ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-dev] gtk3 useflag and support of older toolkits 2012-06-10 19:55 ` Sebastian Pipping @ 2012-06-23 12:53 ` Gilles Dartiguelongue 2012-06-23 12:56 ` Ciaran McCreesh 0 siblings, 1 reply; 36+ messages in thread From: Gilles Dartiguelongue @ 2012-06-23 12:53 UTC (permalink / raw To: gentoo-dev Le dimanche 10 juin 2012 à 21:55 +0200, Sebastian Pipping a écrit : > On 06/10/2012 05:54 AM, Alexandre Rostovtsev wrote: > > For libraries, if possible, try splitting gtk2 and gtk3 support into > > different slots (see net-libs/webkit-gtk for an example; the gtk2-based > > versions have -r2xx revision numbers and go in slot 2, while the > > gtk3-based versions have -r3xx revision numbers and go in slot 3). > > That's a crazy but interesting approach. That's not crazy, it's the least confusing way to go as package managers cannot have the same version in two slots. We added a suffix that allows differenciation and still easy reading of which slot the upgrade is about. -- Gilles Dartiguelongue <eva@gentoo.org> Gentoo ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-dev] gtk3 useflag and support of older toolkits 2012-06-23 12:53 ` Gilles Dartiguelongue @ 2012-06-23 12:56 ` Ciaran McCreesh 0 siblings, 0 replies; 36+ messages in thread From: Ciaran McCreesh @ 2012-06-23 12:56 UTC (permalink / raw To: gentoo-dev [-- Attachment #1: Type: text/plain, Size: 1000 bytes --] On Sat, 23 Jun 2012 14:53:47 +0200 Gilles Dartiguelongue <eva@gentoo.org> wrote: > Le dimanche 10 juin 2012 à 21:55 +0200, Sebastian Pipping a écrit : > > On 06/10/2012 05:54 AM, Alexandre Rostovtsev wrote: > > > For libraries, if possible, try splitting gtk2 and gtk3 support > > > into different slots (see net-libs/webkit-gtk for an example; the > > > gtk2-based versions have -r2xx revision numbers and go in slot 2, > > > while the gtk3-based versions have -r3xx revision numbers and go > > > in slot 3). > > > > That's a crazy but interesting approach. > > That's not crazy, it's the least confusing way to go as package > managers cannot have the same version in two slots. We added a suffix > that allows differenciation and still easy reading of which slot the > upgrade is about. Perhaps you should be asking for a feature that allows you to solve it properly, rather than abusing existing features to do something they're not intended for. -- Ciaran McCreesh [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-dev] gtk3 useflag and support of older toolkits 2012-06-10 3:54 ` Alexandre Rostovtsev 2012-06-10 8:45 ` Maxim Kammerer 2012-06-10 19:55 ` Sebastian Pipping @ 2012-06-10 20:19 ` Ciaran McCreesh 2012-06-10 20:27 ` hasufell ` (2 more replies) 2 siblings, 3 replies; 36+ messages in thread From: Ciaran McCreesh @ 2012-06-10 20:19 UTC (permalink / raw To: gentoo-dev [-- Attachment #1: Type: text/plain, Size: 523 bytes --] On Sat, 09 Jun 2012 23:54:21 -0400 Alexandre Rostovtsev <tetromino@gentoo.org> wrote: > For libraries, if possible, try splitting gtk2 and gtk3 support into > different slots (see net-libs/webkit-gtk for an example; the > gtk2-based versions have -r2xx revision numbers and go in slot 2, > while the gtk3-based versions have -r3xx revision numbers and go in > slot 3). That is not what revisions are for. If you can't solve a problem properly using existing mechanisms, ask for new ones. -- Ciaran McCreesh [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-dev] gtk3 useflag and support of older toolkits 2012-06-10 20:19 ` Ciaran McCreesh @ 2012-06-10 20:27 ` hasufell 2012-06-10 20:42 ` Ciaran McCreesh 2012-06-10 20:45 ` Nirbheek Chauhan 2012-06-23 15:59 ` Michał Górny 2 siblings, 1 reply; 36+ messages in thread From: hasufell @ 2012-06-10 20:27 UTC (permalink / raw To: gentoo-dev On 06/10/2012 10:19 PM, Ciaran McCreesh wrote: > On Sat, 09 Jun 2012 23:54:21 -0400 > Alexandre Rostovtsev <tetromino@gentoo.org> wrote: >> For libraries, if possible, try splitting gtk2 and gtk3 support into >> different slots (see net-libs/webkit-gtk for an example; the >> gtk2-based versions have -r2xx revision numbers and go in slot 2, >> while the gtk3-based versions have -r3xx revision numbers and go in >> slot 3). > > That is not what revisions are for. If you can't solve a problem > properly using existing mechanisms, ask for new ones. > I disagree. This is a proper solution, cause we use SLOTs and on top of that revision numbers to make a difference for the ebuild name. Another solution would be to include the SLOT in the ebuild name, but I see more potential problems with that. ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-dev] gtk3 useflag and support of older toolkits 2012-06-10 20:27 ` hasufell @ 2012-06-10 20:42 ` Ciaran McCreesh 0 siblings, 0 replies; 36+ messages in thread From: Ciaran McCreesh @ 2012-06-10 20:42 UTC (permalink / raw To: gentoo-dev [-- Attachment #1: Type: text/plain, Size: 1125 bytes --] On Sun, 10 Jun 2012 22:27:07 +0200 hasufell <hasufell@gentoo.org> wrote: > On 06/10/2012 10:19 PM, Ciaran McCreesh wrote: > > On Sat, 09 Jun 2012 23:54:21 -0400 > > Alexandre Rostovtsev <tetromino@gentoo.org> wrote: > >> For libraries, if possible, try splitting gtk2 and gtk3 support > >> into different slots (see net-libs/webkit-gtk for an example; the > >> gtk2-based versions have -r2xx revision numbers and go in slot 2, > >> while the gtk3-based versions have -r3xx revision numbers and go in > >> slot 3). > > > > That is not what revisions are for. If you can't solve a problem > > properly using existing mechanisms, ask for new ones. > > I disagree. This is a proper solution, cause we use SLOTs and on top > of that revision numbers to make a difference for the ebuild name. Uh, no. -rX, where X goes up by 1 each time, is used to indicate a revised ebuild (for example, when adding patches) where the upstream version remains the same. What you're trying to do is completely different. The fact that something happens to "work" is not enough to make it right. -- Ciaran McCreesh [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-dev] gtk3 useflag and support of older toolkits 2012-06-10 20:19 ` Ciaran McCreesh 2012-06-10 20:27 ` hasufell @ 2012-06-10 20:45 ` Nirbheek Chauhan 2012-06-10 20:49 ` Ciaran McCreesh 2012-06-23 15:59 ` Michał Górny 2 siblings, 1 reply; 36+ messages in thread From: Nirbheek Chauhan @ 2012-06-10 20:45 UTC (permalink / raw To: gentoo-dev On Sun, Jun 10, 2012 at 9:19 PM, Ciaran McCreesh <ciaran.mccreesh@googlemail.com> wrote: > On Sat, 09 Jun 2012 23:54:21 -0400 > Alexandre Rostovtsev <tetromino@gentoo.org> wrote: >> For libraries, if possible, try splitting gtk2 and gtk3 support into >> different slots (see net-libs/webkit-gtk for an example; the >> gtk2-based versions have -r2xx revision numbers and go in slot 2, >> while the gtk3-based versions have -r3xx revision numbers and go in >> slot 3). > > That is not what revisions are for. If you can't solve a problem > properly using existing mechanisms, ask for new ones. > It's a simple workaround for the lack of proper ebuild namespacing on the basis of slots. So, till we have that, this works pretty well. :) -- ~Nirbheek Chauhan Gentoo GNOME+Mozilla Team ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-dev] gtk3 useflag and support of older toolkits 2012-06-10 20:45 ` Nirbheek Chauhan @ 2012-06-10 20:49 ` Ciaran McCreesh 2012-06-11 12:15 ` Nirbheek Chauhan 0 siblings, 1 reply; 36+ messages in thread From: Ciaran McCreesh @ 2012-06-10 20:49 UTC (permalink / raw To: gentoo-dev [-- Attachment #1: Type: text/plain, Size: 1006 bytes --] On Sun, 10 Jun 2012 21:45:27 +0100 Nirbheek Chauhan <nirbheek@gentoo.org> wrote: > On Sun, Jun 10, 2012 at 9:19 PM, Ciaran McCreesh > <ciaran.mccreesh@googlemail.com> wrote: > > On Sat, 09 Jun 2012 23:54:21 -0400 > > Alexandre Rostovtsev <tetromino@gentoo.org> wrote: > >> For libraries, if possible, try splitting gtk2 and gtk3 support > >> into different slots (see net-libs/webkit-gtk for an example; the > >> gtk2-based versions have -r2xx revision numbers and go in slot 2, > >> while the gtk3-based versions have -r3xx revision numbers and go in > >> slot 3). > > > > That is not what revisions are for. If you can't solve a problem > > properly using existing mechanisms, ask for new ones. > > It's a simple workaround for the lack of proper ebuild namespacing on > the basis of slots. > > So, till we have that, this works pretty well. :) Until you have that, or something else designed to do what you want, don't come up with some disgusting hack. -- Ciaran McCreesh [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-dev] gtk3 useflag and support of older toolkits 2012-06-10 20:49 ` Ciaran McCreesh @ 2012-06-11 12:15 ` Nirbheek Chauhan 2012-06-11 17:08 ` Ciaran McCreesh 0 siblings, 1 reply; 36+ messages in thread From: Nirbheek Chauhan @ 2012-06-11 12:15 UTC (permalink / raw To: gentoo-dev On Sun, Jun 10, 2012 at 9:49 PM, Ciaran McCreesh <ciaran.mccreesh@googlemail.com> wrote: > On Sun, 10 Jun 2012 21:45:27 +0100 > Nirbheek Chauhan <nirbheek@gentoo.org> wrote: >> It's a simple workaround for the lack of proper ebuild namespacing on >> the basis of slots. >> >> So, till we have that, this works pretty well. :) > > Until you have that, or something else designed to do what you want, > don't come up with some disgusting hack. > So the PMS process should be a bottleneck to getting software out to users? I think that's counter-productive. Our goal here is not to facilitate package manager development but to package and distribute software to users. On the other hand, you seem to be uniquely inclined to give a priority to this, and hence I implore you to continue your investigations into adding this feature to PMS and portage. :) Cheers, -- ~Nirbheek Chauhan Gentoo GNOME+Mozilla Team ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-dev] gtk3 useflag and support of older toolkits 2012-06-11 12:15 ` Nirbheek Chauhan @ 2012-06-11 17:08 ` Ciaran McCreesh 2012-06-11 18:41 ` Pacho Ramos 2012-06-23 18:31 ` hasufell 0 siblings, 2 replies; 36+ messages in thread From: Ciaran McCreesh @ 2012-06-11 17:08 UTC (permalink / raw To: gentoo-dev [-- Attachment #1: Type: text/plain, Size: 1465 bytes --] On Mon, 11 Jun 2012 13:15:40 +0100 Nirbheek Chauhan <nirbheek@gentoo.org> wrote: > On Sun, Jun 10, 2012 at 9:49 PM, Ciaran McCreesh > <ciaran.mccreesh@googlemail.com> wrote: > > On Sun, 10 Jun 2012 21:45:27 +0100 > > Nirbheek Chauhan <nirbheek@gentoo.org> wrote: > >> It's a simple workaround for the lack of proper ebuild namespacing > >> on the basis of slots. > >> > >> So, till we have that, this works pretty well. :) > > > > Until you have that, or something else designed to do what you want, > > don't come up with some disgusting hack. > > So the PMS process should be a bottleneck to getting software out to > users? I think that's counter-productive. There is no PMS bottleneck. There is a Portage bottleneck, and there is a "figuring out how to ensure new features don't interact badly with either old features or stupid hacks people have done". Abuse of the kind under discussion is a large contributor to both of those bottlenecks. > Our goal here is not to facilitate package manager development but to > package and distribute software to users. No, your goal is to provide a distribution. Gentoo has repeatedly shot itself in the foot, leg, groin etc by favouring short-term hacks over a well thought out, validated, self-enforcing design. Right now nearly all of the package manager work is on paying off previously incurred technical debt, and in the mean time you're busy adding to it. -- Ciaran McCreesh [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-dev] gtk3 useflag and support of older toolkits 2012-06-11 17:08 ` Ciaran McCreesh @ 2012-06-11 18:41 ` Pacho Ramos 2012-06-11 18:48 ` Ciaran McCreesh 2012-06-23 18:31 ` hasufell 1 sibling, 1 reply; 36+ messages in thread From: Pacho Ramos @ 2012-06-11 18:41 UTC (permalink / raw To: gentoo-dev [-- Attachment #1: Type: text/plain, Size: 1791 bytes --] El lun, 11-06-2012 a las 18:08 +0100, Ciaran McCreesh escribió: > On Mon, 11 Jun 2012 13:15:40 +0100 > Nirbheek Chauhan <nirbheek@gentoo.org> wrote: > > On Sun, Jun 10, 2012 at 9:49 PM, Ciaran McCreesh > > <ciaran.mccreesh@googlemail.com> wrote: > > > On Sun, 10 Jun 2012 21:45:27 +0100 > > > Nirbheek Chauhan <nirbheek@gentoo.org> wrote: > > >> It's a simple workaround for the lack of proper ebuild namespacing > > >> on the basis of slots. > > >> > > >> So, till we have that, this works pretty well. :) > > > > > > Until you have that, or something else designed to do what you want, > > > don't come up with some disgusting hack. > > > > So the PMS process should be a bottleneck to getting software out to > > users? I think that's counter-productive. > > There is no PMS bottleneck. There is a Portage bottleneck, and there is > a "figuring out how to ensure new features don't interact badly with > either old features or stupid hacks people have done". Abuse of the > kind under discussion is a large contributor to both of those > bottlenecks. > > > Our goal here is not to facilitate package manager development but to > > package and distribute software to users. > > No, your goal is to provide a distribution. Gentoo has repeatedly shot > itself in the foot, leg, groin etc by favouring short-term hacks over a > well thought out, validated, self-enforcing design. Right now nearly > all of the package manager work is on paying off previously incurred > technical debt, and in the mean time you're busy adding to it. > The problem here is that we (or, at least, I) are a bit unsure about how this could be handled better and, then, try to use that better way in the future. If you (or any) have some suggestion, it would be nice :) [-- Attachment #2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-dev] gtk3 useflag and support of older toolkits 2012-06-11 18:41 ` Pacho Ramos @ 2012-06-11 18:48 ` Ciaran McCreesh 2012-06-23 13:02 ` Gilles Dartiguelongue 0 siblings, 1 reply; 36+ messages in thread From: Ciaran McCreesh @ 2012-06-11 18:48 UTC (permalink / raw To: gentoo-dev [-- Attachment #1: Type: text/plain, Size: 900 bytes --] On Mon, 11 Jun 2012 20:41:37 +0200 Pacho Ramos <pacho@gentoo.org> wrote: > > No, your goal is to provide a distribution. Gentoo has repeatedly > > shot itself in the foot, leg, groin etc by favouring short-term > > hacks over a well thought out, validated, self-enforcing design. > > Right now nearly all of the package manager work is on paying off > > previously incurred technical debt, and in the mean time you're > > busy adding to it. > > The problem here is that we (or, at least, I) are a bit unsure about > how this could be handled better and, then, try to use that better > way in the future. If you (or any) have some suggestion, it would be > nice :) It is handled better by working out what exactly the problem is, and if you can't implement it nicely using existing features, then not implementing it at all until you have suitable features. -- Ciaran McCreesh [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-dev] gtk3 useflag and support of older toolkits 2012-06-11 18:48 ` Ciaran McCreesh @ 2012-06-23 13:02 ` Gilles Dartiguelongue 2012-06-23 13:08 ` Ciaran McCreesh 0 siblings, 1 reply; 36+ messages in thread From: Gilles Dartiguelongue @ 2012-06-23 13:02 UTC (permalink / raw To: gentoo-dev [-- Attachment #1: Type: text/plain, Size: 1636 bytes --] Le lundi 11 juin 2012 à 19:48 +0100, Ciaran McCreesh a écrit : > On Mon, 11 Jun 2012 20:41:37 +0200 > Pacho Ramos <pacho@gentoo.org> wrote: > > > No, your goal is to provide a distribution. Gentoo has repeatedly > > > shot itself in the foot, leg, groin etc by favouring short-term > > > hacks over a well thought out, validated, self-enforcing design. > > > Right now nearly all of the package manager work is on paying off > > > previously incurred technical debt, and in the mean time you're > > > busy adding to it. > > > > The problem here is that we (or, at least, I) are a bit unsure about > > how this could be handled better and, then, try to use that better > > way in the future. If you (or any) have some suggestion, it would be > > nice :) > > It is handled better by working out what exactly the problem is, and if > you can't implement it nicely using existing features, then not > implementing it at all until you have suitable features. > Sorry to make this old thread pop up again but, no, it is not acceptable to not ship packages like webkit just because you dislike the solution we used to workaround a well known problem in ebuild packaging. FTR, this solution may have problems, that you are free to highlight, but it is has been carefully thought out to not be too much of a burden for devs and users alike. When someone comes up with a solution that is accepted for PMS, we will be more than happy to switch to it. So please stop complaining and do what you are best known for, find a solution that can fit PMS. TIA. -- Gilles Dartiguelongue <eva@gentoo.org> Gentoo [-- Attachment #2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-dev] gtk3 useflag and support of older toolkits 2012-06-23 13:02 ` Gilles Dartiguelongue @ 2012-06-23 13:08 ` Ciaran McCreesh 2012-06-23 13:33 ` Gilles Dartiguelongue 2012-06-23 13:39 ` Gilles Dartiguelongue 0 siblings, 2 replies; 36+ messages in thread From: Ciaran McCreesh @ 2012-06-23 13:08 UTC (permalink / raw To: gentoo-dev [-- Attachment #1: Type: text/plain, Size: 1026 bytes --] On Sat, 23 Jun 2012 15:02:41 +0200 Gilles Dartiguelongue <eva@gentoo.org> wrote: > > It is handled better by working out what exactly the problem is, > > and if you can't implement it nicely using existing features, then > > not implementing it at all until you have suitable features. > > Sorry to make this old thread pop up again but, no, it is not > acceptable to not ship packages like webkit just because you dislike > the solution we used to workaround a well known problem in ebuild > packaging. No-one is saying "don't ship webkit". What is being asked is that a) you ship webkit with a subset of functionality disabled if necessary for now, and b) that you provide a general description of what you can't provide cleanly using existing functionality. If you really think it's necessary to come up with a workaround like this, though, then you should be mailing the list and asking for QA or Council approval, rather than doing it and then asking for forgiveness later. -- Ciaran McCreesh [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-dev] gtk3 useflag and support of older toolkits 2012-06-23 13:08 ` Ciaran McCreesh @ 2012-06-23 13:33 ` Gilles Dartiguelongue 2012-06-23 13:40 ` Ciaran McCreesh 2012-06-23 13:39 ` Gilles Dartiguelongue 1 sibling, 1 reply; 36+ messages in thread From: Gilles Dartiguelongue @ 2012-06-23 13:33 UTC (permalink / raw To: gentoo-dev [-- Attachment #1: Type: text/plain, Size: 2160 bytes --] Le samedi 23 juin 2012 à 14:08 +0100, Ciaran McCreesh a écrit : > On Sat, 23 Jun 2012 15:02:41 +0200 > Gilles Dartiguelongue <eva@gentoo.org> wrote: > > > It is handled better by working out what exactly the problem is, > > > and if you can't implement it nicely using existing features, then > > > not implementing it at all until you have suitable features. > > > > Sorry to make this old thread pop up again but, no, it is not > > acceptable to not ship packages like webkit just because you dislike > > the solution we used to workaround a well known problem in ebuild > > packaging. > > No-one is saying "don't ship webkit". What is being asked is that a) you > ship webkit with a subset of functionality disabled if necessary for > now, and b) that you provide a general description of what you can't > provide cleanly using existing functionality. Well the problem is simple, we need to ship webkit with gtk2 and gtk3 support. This is needed because gentoo has gtk2 based desktop/apps and because we want to ship gnome3 for example. Cool thing is that webkit supports being built with each toolkit without conflicting with the build from the other toolkit hence we ended up using SLOTS. Then the problem is that you cannot have two ebuilds of the same version in two different slots. We then had a couple of solutions, most notable being: * using -r${SLOT}${PATCHLEVEL} suffix, being a strictly increasing number that is not expected to go over 300 which is the start of the sequence for the other slot. * using a new package name, duplicating ebuilds > If you really think it's necessary to come up with a workaround like > this, though, then you should be mailing the list and asking for QA or > Council approval, rather than doing it and then asking for forgiveness > later. As far as I remember the subject was discussed (at least) once on this mailing list before the problem even occurred for gtk2/gtk3 handling and everyone was ok with it. Shall we add that subject to next council meeting or do we just wait for QA's opinion here ? -- Gilles Dartiguelongue <eva@gentoo.org> Gentoo [-- Attachment #2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-dev] gtk3 useflag and support of older toolkits 2012-06-23 13:33 ` Gilles Dartiguelongue @ 2012-06-23 13:40 ` Ciaran McCreesh 2012-06-23 14:45 ` Gilles Dartiguelongue 2012-06-23 18:26 ` Michał Górny 0 siblings, 2 replies; 36+ messages in thread From: Ciaran McCreesh @ 2012-06-23 13:40 UTC (permalink / raw To: gentoo-dev [-- Attachment #1: Type: text/plain, Size: 1251 bytes --] On Sat, 23 Jun 2012 15:33:47 +0200 Gilles Dartiguelongue <eva@gentoo.org> wrote: > Well the problem is simple, we need to ship webkit with gtk2 and gtk3 > support. This is needed because gentoo has gtk2 based desktop/apps and > because we want to ship gnome3 for example. > > Cool thing is that webkit supports being built with each toolkit > without conflicting with the build from the other toolkit hence we > ended up using SLOTS. You could just have gtk2 and gtk3 use flags in the ebuild, use REQUIRED_USE to ensure that at least one is enabled, and build things twice in the ebuild if necessary. Yes, your ebuild will probably be fairly ugly. This won't be visible to users, though. Users will have to rebuild a version unnecessarily if they want to go from having just gtk2 to gtk2 and gtk3 (or so on). That should be rare enough, compared to frequency of bumps etc, that it's not a severe enough problem to warrant a hack until a nice alternative is available. > Shall we add that subject to next council meeting or do we just wait > for QA's opinion here ? I'd like to know why using USE flags until a nicer solution is available is sufficiently terrible that it warrants a hackaround. -- Ciaran McCreesh [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-dev] gtk3 useflag and support of older toolkits 2012-06-23 13:40 ` Ciaran McCreesh @ 2012-06-23 14:45 ` Gilles Dartiguelongue 2012-06-23 16:09 ` Ciaran McCreesh ` (2 more replies) 2012-06-23 18:26 ` Michał Górny 1 sibling, 3 replies; 36+ messages in thread From: Gilles Dartiguelongue @ 2012-06-23 14:45 UTC (permalink / raw To: gentoo-dev [-- Attachment #1: Type: text/plain, Size: 633 bytes --] Le samedi 23 juin 2012 à 14:40 +0100, Ciaran McCreesh a écrit : > > I'd like to know why using USE flags until a nicer solution is > available > is sufficiently terrible that it warrants a hackaround. remember qt3/qt4, gtk/gtk2. We want to avoid repeating these "mistakes" hence the guidelines already exposed back when we introduced gtk3 to the tree. As you may have noticed, this is still the solution applied for things hard to split or slot like gtk-vnc or avahi but we didn't see the need to have such USE flags when the library was so easily slottable. -- Gilles Dartiguelongue <eva@gentoo.org> Gentoo [-- Attachment #2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-dev] gtk3 useflag and support of older toolkits 2012-06-23 14:45 ` Gilles Dartiguelongue @ 2012-06-23 16:09 ` Ciaran McCreesh 2012-06-24 4:15 ` Doug Goldstein 2012-06-24 8:07 ` Ben de Groot 2 siblings, 0 replies; 36+ messages in thread From: Ciaran McCreesh @ 2012-06-23 16:09 UTC (permalink / raw To: gentoo-dev [-- Attachment #1: Type: text/plain, Size: 800 bytes --] On Sat, 23 Jun 2012 16:45:09 +0200 Gilles Dartiguelongue <eva@gentoo.org> wrote: > Le samedi 23 juin 2012 à 14:40 +0100, Ciaran McCreesh a écrit : > > I'd like to know why using USE flags until a nicer solution is > > available > > is sufficiently terrible that it warrants a hackaround. > > remember qt3/qt4, gtk/gtk2. We want to avoid repeating these > "mistakes" hence the guidelines already exposed back when we > introduced gtk3 to the tree. We didn't have REQUIRED_USE or use dependencies back then. We do now. > As you may have noticed, this is still the solution applied for things > hard to split or slot like gtk-vnc or avahi but we didn't see the need > to have such USE flags when the library was so easily slottable. Again, REQUIRED_USE. -- Ciaran McCreesh [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-dev] gtk3 useflag and support of older toolkits 2012-06-23 14:45 ` Gilles Dartiguelongue 2012-06-23 16:09 ` Ciaran McCreesh @ 2012-06-24 4:15 ` Doug Goldstein 2012-06-24 8:07 ` Ben de Groot 2 siblings, 0 replies; 36+ messages in thread From: Doug Goldstein @ 2012-06-24 4:15 UTC (permalink / raw To: gentoo-dev On Sat, Jun 23, 2012 at 9:45 AM, Gilles Dartiguelongue <eva@gentoo.org> wrote: > Le samedi 23 juin 2012 à 14:40 +0100, Ciaran McCreesh a écrit : >> >> I'd like to know why using USE flags until a nicer solution is >> available >> is sufficiently terrible that it warrants a hackaround. > > remember qt3/qt4, gtk/gtk2. We want to avoid repeating these "mistakes" > hence the guidelines already exposed back when we introduced gtk3 to the > tree. > > As you may have noticed, this is still the solution applied for things > hard to split or slot like gtk-vnc or avahi but we didn't see the need > to have such USE flags when the library was so easily slottable. > It's funny you bring up qt3/qt4 and gtk/gtk2 since I'm only of the few developers that worked on resolving both of those as they came and went. Right now the resources we've got available to us from a Package Manager stand point. Being a Gentoo dev for so long has allowed me to see how our distro has evolved so let me give you a short walk down memory lane, when gtk/gtk2 & qt3/qt4 occurred we had the following: - Portage 1.x (gtk/gtk2) / Portage 2.0.x (qt3/qt4) - No EAPI - No way to add features quickly to the Package Manager and the spec for it. During gtk/gtk2, the rule was you had to wait until a feature was available in the STABLE version of Portage, 4 releases back before you could use a new feature. For everyone's knowledge, we did 4 releases a year then. We knew our solution to gtk/gtk2 sucked and we hated it but there was absolutely nothing we could do about it. It was a bitter battle of band aids and hacks that we couldn't wait to get rid of. We even attempted to throw gtk1 out of the tree entirely (ah the XMMS flamewar) to get rid of the hacks. You couldn't even modify eclasses since they weren't stored with the install, which lead to the -rX revisioning of eclasses. On top of all this, Portage 1.x SUCKED to modify or hack at. The only solution with that codebase was to nuke it from orbit, which we finally did with Portage 2.0.x. During qt3/qt4, the rule was you had to wait until the feature you were trying to use was in a STABLE Portage for 6 months. We didn't have a lot of options available but we worked with the current Portage maintainer at the time to get some of the resolver improved and fixed and get those updates pushed out to the tree as quickly as possible. Once the updates were available the hacks went away and life was better. Now fast forward to 2011/2012, we were obviously aware that the gtk2/gtk3 change would cause some problems. Heck people encountered it when they tried to add ebuilds to the tree. The right path forward was to speak to Zac, Brian and the rest of the PMS guys and see what the best solution was. If it was implementing some new features then we could have done that and gotten and EAPI approved quickly and had it available before we even saw the first gtk3 ebuild unmasked. But alas, that wasn't the case and here we are today. So here's what I suggest, let's stop bickering and revisit the "hacks" you did to make things work. Speak to Zac, Brian and the rest of the PMS guys and get what you need implemented as a feature and get that feature into the very next EAPI bump. Fix the tree to use that EAPI and get rid of the hacks. You'll thank yourselves in the long run since things will be easier to maintain and you can focus on what you enjoy doing. -- Doug Goldstein ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-dev] gtk3 useflag and support of older toolkits 2012-06-23 14:45 ` Gilles Dartiguelongue 2012-06-23 16:09 ` Ciaran McCreesh 2012-06-24 4:15 ` Doug Goldstein @ 2012-06-24 8:07 ` Ben de Groot 2012-06-24 9:09 ` hasufell 2 siblings, 1 reply; 36+ messages in thread From: Ben de Groot @ 2012-06-24 8:07 UTC (permalink / raw To: gentoo-dev On 23 June 2012 22:45, Gilles Dartiguelongue <eva@gentoo.org> wrote: > Le samedi 23 juin 2012 à 14:40 +0100, Ciaran McCreesh a écrit : >> >> I'd like to know why using USE flags until a nicer solution is >> available is sufficiently terrible that it warrants a hackaround. > > remember qt3/qt4, gtk/gtk2. We want to avoid repeating these "mistakes" > hence the guidelines already exposed back when we introduced gtk3 to the > tree. I don't see what the problem is now. We have slots, usedeps and required_use. Why would we need to avoid using gtk2/gtk3 useflags? We of the Qt team are expecting Qt5 to enter the tree within the next few months, and I'm not expecting any trouble with using qt4 and qt5 useflags. -- Cheers, Ben | yngwin Gentoo developer Gentoo Qt project lead ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-dev] gtk3 useflag and support of older toolkits 2012-06-24 8:07 ` Ben de Groot @ 2012-06-24 9:09 ` hasufell 2012-06-24 10:11 ` Gilles Dartiguelongue 0 siblings, 1 reply; 36+ messages in thread From: hasufell @ 2012-06-24 9:09 UTC (permalink / raw To: gentoo-dev On 06/24/2012 10:07 AM, Ben de Groot wrote: > I don't see what the problem is now. We have slots, usedeps and > required_use. Why would we need to avoid using gtk2/gtk3 useflags? > > We of the Qt team are expecting Qt5 to enter the tree within the > next few months, and I'm not expecting any trouble with using > qt4 and qt5 useflags. Afais qt team has done this from the start? If there was no "gtk" useflag, but only "gtk2" the situation would maybe be different. Now we have gtk, gtk2 and gtk3 and the user has to figure out what they mean for each package, cause they are not used consistently. This is a problem. Either cleanly avoid slot reference in useflag name or go it all the way, but afaik the gnome herd is not interested much in supporting older versions of gtk+, so the first way seems the best. ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-dev] gtk3 useflag and support of older toolkits 2012-06-24 9:09 ` hasufell @ 2012-06-24 10:11 ` Gilles Dartiguelongue 2012-06-24 10:33 ` hasufell 0 siblings, 1 reply; 36+ messages in thread From: Gilles Dartiguelongue @ 2012-06-24 10:11 UTC (permalink / raw To: gentoo-dev [-- Attachment #1: Type: text/plain, Size: 1157 bytes --] Just to remember everyone what gnome team actually tried to achieve to reduce any pain from users or devs alike with gnome3 work: * have libs slotted when possible (to the extent of manpower available), so gtk USE flag means gtk, whatever slot is needed by the package using it, * have applications use one toolkit or the other according to maturity of the interface and will of the maintainer. This avoids useless back/forward porting work when upstream actually doesn't care about one of the toolkits in question The problem raised in this thread is when the package is hard to maintain in a splitted form, not in the control of gnome team, or upstream does not want to split at all. We do this split work when it is sustainable by the team, not just because it's better, please bear that in mind. FTR, I still don't see the real problem in the current solution hence the issue was not brought formally to PMS team earlier. Again, this approach was exposed months ago to this very ml and most likely to #gentoo-dev as well and nobody raised an objection on the method used. -- Gilles Dartiguelongue <eva@gentoo.org> Gentoo [-- Attachment #2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-dev] gtk3 useflag and support of older toolkits 2012-06-24 10:11 ` Gilles Dartiguelongue @ 2012-06-24 10:33 ` hasufell 0 siblings, 0 replies; 36+ messages in thread From: hasufell @ 2012-06-24 10:33 UTC (permalink / raw To: gentoo-dev -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 06/24/2012 12:11 PM, Gilles Dartiguelongue wrote: > Just to remember everyone what gnome team actually tried to > achieve to reduce any pain from users or devs alike with gnome3 > work: * have libs slotted when possible (to the extent of manpower > available), so gtk USE flag means gtk, whatever slot is needed by > the package using it, * have applications use one toolkit or the > other according to maturity of the interface and will of the > maintainer. This avoids useless back/forward porting work when > upstream actually doesn't care about one of the toolkits in > question I agree and this is exactly what my tracker is about, to track porting issues or even misuse of gtk{,2,3} useflags. You confuse me. My tracker has shown that not all ebuilds follow that policy or even can't because of migration issues or cause they are special in another way. If you think I missed something in my explanation there, add a comment. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJP5uzxAAoJEFpvPKfnPDWzzO8H/1+Zs4BiZWIPwsLmCTfHWdH8 kGBylD/TKhJqOU9BimIzlqqKVa0Ikw/hak2vWSdsor/P5dJ/oAQqvUK+S9HWsEaI fCxzoZQZ/ghbYE4a3Ob8V0KWc0602OYO0WKZ9DAHqb47377VYO/CIQ2tsBG9oKM5 gah5fBZnf9mbMGRKREkPLwMG5L6Nl9j34JNO+BB5xBAWhLnNp3JmWfKLMzILWaKf R14uHG78ETDVp3uvQdgbMYzEzRE+a8iaH0lF9ekJwJ5qcGGWhP4mafDHTO4PGPjM OC9Hqt9eMqQFLdjaAxguH9HDyWEhoEg90RQfSK+FsOj2HOMX5s/XevXrdrNF2Uk= =hxx4 -----END PGP SIGNATURE----- ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-dev] gtk3 useflag and support of older toolkits 2012-06-23 13:40 ` Ciaran McCreesh 2012-06-23 14:45 ` Gilles Dartiguelongue @ 2012-06-23 18:26 ` Michał Górny 2012-06-23 18:29 ` Ciaran McCreesh 2012-06-24 3:49 ` Doug Goldstein 1 sibling, 2 replies; 36+ messages in thread From: Michał Górny @ 2012-06-23 18:26 UTC (permalink / raw To: gentoo-dev; +Cc: ciaran.mccreesh [-- Attachment #1: Type: text/plain, Size: 1011 bytes --] On Sat, 23 Jun 2012 14:40:50 +0100 Ciaran McCreesh <ciaran.mccreesh@googlemail.com> wrote: > On Sat, 23 Jun 2012 15:33:47 +0200 > Gilles Dartiguelongue <eva@gentoo.org> wrote: > > Well the problem is simple, we need to ship webkit with gtk2 and > > gtk3 support. This is needed because gentoo has gtk2 based > > desktop/apps and because we want to ship gnome3 for example. > > > > Cool thing is that webkit supports being built with each toolkit > > without conflicting with the build from the other toolkit hence we > > ended up using SLOTS. > > You could just have gtk2 and gtk3 use flags in the ebuild, use > REQUIRED_USE to ensure that at least one is enabled, and build things > twice in the ebuild if necessary. Ah, so because a few paludis users may be building an additional variant of webkit-gtk unnecessarily, we should force all Gentoo users to randomly rebuild 1-2 variants depending on how soon they're going to get the USE correctly. -- Best regards, Michał Górny [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 316 bytes --] ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-dev] gtk3 useflag and support of older toolkits 2012-06-23 18:26 ` Michał Górny @ 2012-06-23 18:29 ` Ciaran McCreesh 2012-06-24 3:49 ` Doug Goldstein 1 sibling, 0 replies; 36+ messages in thread From: Ciaran McCreesh @ 2012-06-23 18:29 UTC (permalink / raw To: Michał Górny; +Cc: gentoo-dev [-- Attachment #1: Type: text/plain, Size: 820 bytes --] On Sat, 23 Jun 2012 20:26:01 +0200 Michał Górny <mgorny@gentoo.org> wrote: > > You could just have gtk2 and gtk3 use flags in the ebuild, use > > REQUIRED_USE to ensure that at least one is enabled, and build > > things twice in the ebuild if necessary. > > Ah, so because a few paludis users may be building an additional > variant of webkit-gtk unnecessarily, we should force all Gentoo users > to randomly rebuild 1-2 variants depending on how soon they're going > to get the USE correctly. No. Because the ebuilds would be abusing functionality in a fairly horrible way, we should avoid doing that until we have a good solution in place. Or, looking at it another way, Portage's upgrade rules shouldn't be locked in place because of weird behaviour from a few packages. -- Ciaran McCreesh [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-dev] gtk3 useflag and support of older toolkits 2012-06-23 18:26 ` Michał Górny 2012-06-23 18:29 ` Ciaran McCreesh @ 2012-06-24 3:49 ` Doug Goldstein 2012-06-24 9:28 ` Michał Górny 1 sibling, 1 reply; 36+ messages in thread From: Doug Goldstein @ 2012-06-24 3:49 UTC (permalink / raw To: gentoo-dev On Sat, Jun 23, 2012 at 1:26 PM, Michał Górny <mgorny@gentoo.org> wrote: > On Sat, 23 Jun 2012 14:40:50 +0100 > Ciaran McCreesh <ciaran.mccreesh@googlemail.com> wrote: > >> On Sat, 23 Jun 2012 15:33:47 +0200 >> Gilles Dartiguelongue <eva@gentoo.org> wrote: >> > Well the problem is simple, we need to ship webkit with gtk2 and >> > gtk3 support. This is needed because gentoo has gtk2 based >> > desktop/apps and because we want to ship gnome3 for example. >> > >> > Cool thing is that webkit supports being built with each toolkit >> > without conflicting with the build from the other toolkit hence we >> > ended up using SLOTS. >> >> You could just have gtk2 and gtk3 use flags in the ebuild, use >> REQUIRED_USE to ensure that at least one is enabled, and build things >> twice in the ebuild if necessary. > > Ah, so because a few paludis users may be building an additional > variant of webkit-gtk unnecessarily, we should force all Gentoo users > to randomly rebuild 1-2 variants depending on how soon they're going to > get the USE correctly. > Let's all agree that the current solution is less than ideal and could use improvement. I have several Gentoo & Portage only desktops and I find myself annoyed with webkit-gtk and its revisions and rebuilds. -- Doug Goldstein ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-dev] gtk3 useflag and support of older toolkits 2012-06-24 3:49 ` Doug Goldstein @ 2012-06-24 9:28 ` Michał Górny 0 siblings, 0 replies; 36+ messages in thread From: Michał Górny @ 2012-06-24 9:28 UTC (permalink / raw To: gentoo-dev; +Cc: cardoe [-- Attachment #1: Type: text/plain, Size: 1523 bytes --] On Sat, 23 Jun 2012 22:49:30 -0500 Doug Goldstein <cardoe@gentoo.org> wrote: > On Sat, Jun 23, 2012 at 1:26 PM, Michał Górny <mgorny@gentoo.org> > wrote: > > On Sat, 23 Jun 2012 14:40:50 +0100 > > Ciaran McCreesh <ciaran.mccreesh@googlemail.com> wrote: > > > >> On Sat, 23 Jun 2012 15:33:47 +0200 > >> Gilles Dartiguelongue <eva@gentoo.org> wrote: > >> > Well the problem is simple, we need to ship webkit with gtk2 and > >> > gtk3 support. This is needed because gentoo has gtk2 based > >> > desktop/apps and because we want to ship gnome3 for example. > >> > > >> > Cool thing is that webkit supports being built with each toolkit > >> > without conflicting with the build from the other toolkit hence > >> > we ended up using SLOTS. > >> > >> You could just have gtk2 and gtk3 use flags in the ebuild, use > >> REQUIRED_USE to ensure that at least one is enabled, and build > >> things twice in the ebuild if necessary. > > > > Ah, so because a few paludis users may be building an additional > > variant of webkit-gtk unnecessarily, we should force all Gentoo > > users to randomly rebuild 1-2 variants depending on how soon > > they're going to get the USE correctly. > > > > Let's all agree that the current solution is less than ideal and could > use improvement. I have several Gentoo & Portage only desktops and I > find myself annoyed with webkit-gtk and its revisions and rebuilds. Any other solution would involve the same rebuilds... -- Best regards, Michał Górny [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 316 bytes --] ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-dev] gtk3 useflag and support of older toolkits 2012-06-23 13:08 ` Ciaran McCreesh 2012-06-23 13:33 ` Gilles Dartiguelongue @ 2012-06-23 13:39 ` Gilles Dartiguelongue 1 sibling, 0 replies; 36+ messages in thread From: Gilles Dartiguelongue @ 2012-06-23 13:39 UTC (permalink / raw To: gentoo-dev [-- Attachment #1: Type: text/plain, Size: 693 bytes --] Forgot to mention that, at least for webkit, this is really a case for slots usage as this is the same software, built for another toolkit. This applies to a couple other ebuilds in this gtk2/gtk3 discussion, but admittedly not all of them. We have at least three cases that Alexandre summed up: * packages shipping gtk based libs only * packages shipping gtk based libs and other libs (gtk-vnc for example) * packages shipping gtk based libs and gtk or non-gtk utilities Some packages most likely should be split, like avahi, but it is not always in the interest of everyone as it makes things much harder to maintain. -- Gilles Dartiguelongue <eva@gentoo.org> Gentoo [-- Attachment #2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-dev] gtk3 useflag and support of older toolkits 2012-06-11 17:08 ` Ciaran McCreesh 2012-06-11 18:41 ` Pacho Ramos @ 2012-06-23 18:31 ` hasufell 2012-06-24 3:47 ` Doug Goldstein 1 sibling, 1 reply; 36+ messages in thread From: hasufell @ 2012-06-23 18:31 UTC (permalink / raw To: gentoo-dev -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 06/11/2012 07:08 PM, Ciaran McCreesh wrote: > No, your goal is to provide a distribution. Gentoo has repeatedly > shot itself in the foot, leg, groin etc by favouring short-term > hacks over a well thought out, validated, self-enforcing design. > Right now nearly all of the package manager work is on paying off > previously incurred technical debt, and in the mean time you're > busy adding to it. > Please take your exherbo trolling somewhere else. Our goal is not to provide a distribution, because gentoo sees itself as a metadistribution. Please familiarize yourself with: http://www.gentoo.org/main/en/about.xml -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJP5guCAAoJEFpvPKfnPDWz6sMH+wVghjCDgYUv6sQzuFCm/xyO gi5fUBRQR7OcpG2KmWsZE6WHLFd1StsoVYwkJB3phwwLeP3P6oEuGvyfjOjY3iIb m8jqbVWbFm9YDS58koGktU7zhOWXbsj/hi3XrbCz2qYlKF23rJfubGehlaNZHIQf OpkBoO1kuPC6AJtJdcY8iXEbneZ7NY/OMOHGasZB/B6O51anbBZ3nuSu1GDbQJ47 NbnJIG/Iuf2FiLgCOCNicRjnnd0AEoQMIhXkrhLcixYNJJ3BMWxPLUA/uJshXUtg HiJqVGEv0ljGgo45rQIDZo5w44tgdOQ7nH6C6criBFKU6/wlbbnbH6ZFpW1Dg9o= =iWGS -----END PGP SIGNATURE----- ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-dev] gtk3 useflag and support of older toolkits 2012-06-23 18:31 ` hasufell @ 2012-06-24 3:47 ` Doug Goldstein 0 siblings, 0 replies; 36+ messages in thread From: Doug Goldstein @ 2012-06-24 3:47 UTC (permalink / raw To: gentoo-dev On Sat, Jun 23, 2012 at 1:31 PM, hasufell <hasufell@gentoo.org> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 06/11/2012 07:08 PM, Ciaran McCreesh wrote: >> No, your goal is to provide a distribution. Gentoo has repeatedly >> shot itself in the foot, leg, groin etc by favouring short-term >> hacks over a well thought out, validated, self-enforcing design. >> Right now nearly all of the package manager work is on paying off >> previously incurred technical debt, and in the mean time you're >> busy adding to it. >> > > Please take your exherbo trolling somewhere else. > > Our goal is not to provide a distribution, because gentoo sees itself > as a metadistribution. > > Please familiarize yourself with: > http://www.gentoo.org/main/en/about.xml Let's keep the discussions on this mailing list technical and not personal. Thanks. -- Doug Goldstein ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-dev] gtk3 useflag and support of older toolkits 2012-06-10 20:19 ` Ciaran McCreesh 2012-06-10 20:27 ` hasufell 2012-06-10 20:45 ` Nirbheek Chauhan @ 2012-06-23 15:59 ` Michał Górny 2 siblings, 0 replies; 36+ messages in thread From: Michał Górny @ 2012-06-23 15:59 UTC (permalink / raw To: gentoo-dev; +Cc: ciaran.mccreesh [-- Attachment #1: Type: text/plain, Size: 762 bytes --] On Sun, 10 Jun 2012 21:19:19 +0100 Ciaran McCreesh <ciaran.mccreesh@googlemail.com> wrote: > On Sat, 09 Jun 2012 23:54:21 -0400 > Alexandre Rostovtsev <tetromino@gentoo.org> wrote: > > For libraries, if possible, try splitting gtk2 and gtk3 support into > > different slots (see net-libs/webkit-gtk for an example; the > > gtk2-based versions have -r2xx revision numbers and go in slot 2, > > while the gtk3-based versions have -r3xx revision numbers and go in > > slot 3). > > That is not what revisions are for. If you can't solve a problem > properly using existing mechanisms, ask for new ones. Indeed. But reusing revisions is probably saner than abusing the version number to achieve the same goal. -- Best regards, Michał Górny [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 316 bytes --] ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [gentoo-dev] gtk3 useflag and support of older toolkits 2012-06-10 2:38 [gentoo-dev] gtk3 useflag and support of older toolkits hasufell 2012-06-10 3:54 ` Alexandre Rostovtsev @ 2012-06-11 9:24 ` hasufell 1 sibling, 0 replies; 36+ messages in thread From: hasufell @ 2012-06-11 9:24 UTC (permalink / raw To: gentoo-dev I took the freedom to open a few bugs about that with a tracker: https://bugs.gentoo.org/show_bug.cgi?id=420493 This is not an urgent thing, but I think it's good to have an overview of gtk3 useflag usage, cause they are all more or less migration issues, some maybe not even fixable or exceptions. ^ permalink raw reply [flat|nested] 36+ messages in thread
end of thread, other threads:[~2012-06-24 10:38 UTC | newest] Thread overview: 36+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2012-06-10 2:38 [gentoo-dev] gtk3 useflag and support of older toolkits hasufell 2012-06-10 3:54 ` Alexandre Rostovtsev 2012-06-10 8:45 ` Maxim Kammerer 2012-06-10 9:47 ` Pacho Ramos 2012-06-10 19:55 ` Sebastian Pipping 2012-06-23 12:53 ` Gilles Dartiguelongue 2012-06-23 12:56 ` Ciaran McCreesh 2012-06-10 20:19 ` Ciaran McCreesh 2012-06-10 20:27 ` hasufell 2012-06-10 20:42 ` Ciaran McCreesh 2012-06-10 20:45 ` Nirbheek Chauhan 2012-06-10 20:49 ` Ciaran McCreesh 2012-06-11 12:15 ` Nirbheek Chauhan 2012-06-11 17:08 ` Ciaran McCreesh 2012-06-11 18:41 ` Pacho Ramos 2012-06-11 18:48 ` Ciaran McCreesh 2012-06-23 13:02 ` Gilles Dartiguelongue 2012-06-23 13:08 ` Ciaran McCreesh 2012-06-23 13:33 ` Gilles Dartiguelongue 2012-06-23 13:40 ` Ciaran McCreesh 2012-06-23 14:45 ` Gilles Dartiguelongue 2012-06-23 16:09 ` Ciaran McCreesh 2012-06-24 4:15 ` Doug Goldstein 2012-06-24 8:07 ` Ben de Groot 2012-06-24 9:09 ` hasufell 2012-06-24 10:11 ` Gilles Dartiguelongue 2012-06-24 10:33 ` hasufell 2012-06-23 18:26 ` Michał Górny 2012-06-23 18:29 ` Ciaran McCreesh 2012-06-24 3:49 ` Doug Goldstein 2012-06-24 9:28 ` Michał Górny 2012-06-23 13:39 ` Gilles Dartiguelongue 2012-06-23 18:31 ` hasufell 2012-06-24 3:47 ` Doug Goldstein 2012-06-23 15:59 ` Michał Górny 2012-06-11 9:24 ` hasufell
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox