Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo Development (http://www.linux-archive.org/gentoo-development/)
-   -   About how to handle wxGTK based packages with gnome profiles (http://www.linux-archive.org/gentoo-development/654409-about-how-handle-wxgtk-based-packages-gnome-profiles.html)

Pacho Ramos 04-10-2012 06:58 AM

About how to handle wxGTK based packages with gnome profiles
 
Currently gnome profiles enable automatically "gtk" USE flag and, then,
most gtk based GUIs are installed by default on systems using that
profile. A special situation occurs when the package is based in wxGTK
as explained in:
https://bugs.gentoo.org/show_bug.cgi?id=411053

Currently, packages like mkvtoolnix simply builds without no gui at all
when using gnome profile because its gui is build with "wxwidgets" USE
flag. At first, I suggested to move from wxwidgets to "gtk" USE flag for
that package because that wxwidgets based gui is the only gtk gui
offered by that package. The problem is that their maintainers disagree
with that approach as explained in referred bug report.

Other option would be to enable "wxwidgets" by default for that
profiles.

What do you think?

"Paweł Hajdan, Jr." 04-10-2012 07:12 AM

About how to handle wxGTK based packages with gnome profiles
 
On 4/10/12 8:58 AM, Pacho Ramos wrote:
> Other option would be to enable "wxwidgets" by default for that
> profiles.

I prefer this. Changing USE flag meaning in a counter-intuitive way (to
let "gtk" mean "wxwidgets") would seem frustrating to me.

With "wxwidgets" enabled by default people will get the most likely
desired result (i.e. GUI) "out of the box", and setting USE="-wxwidgets"
will have desired effect.

Note that with USE="gtk" really meaning USE="wxwidgets", -wxwidgets
would have no effect on such a package, which is the potentially
surprising behavior I mentioned earlier.

Pacho Ramos 04-10-2012 08:21 PM

About how to handle wxGTK based packages with gnome profiles
 
El mar, 10-04-2012 a las 09:12 +0200, "Paweł Hajdan, Jr." escribió:
> On 4/10/12 8:58 AM, Pacho Ramos wrote:
> > Other option would be to enable "wxwidgets" by default for that
> > profiles.
>
> I prefer this. Changing USE flag meaning in a counter-intuitive way (to
> let "gtk" mean "wxwidgets") would seem frustrating to me.
>
> With "wxwidgets" enabled by default people will get the most likely
> desired result (i.e. GUI) "out of the box", and setting USE="-wxwidgets"
> will have desired effect.
>
> Note that with USE="gtk" really meaning USE="wxwidgets", -wxwidgets
> would have no effect on such a package, which is the potentially
> surprising behavior I mentioned earlier.
>

OK, looks like I misunderstood how wxwidgets work and most opinions
point to enable wxwidgets by default in gnome profiles, ok with that
solution?

Ryan Hill 04-11-2012 06:12 AM

About how to handle wxGTK based packages with gnome profiles
 
On Tue, 10 Apr 2012 22:21:20 +0200
Pacho Ramos <pacho@gentoo.org> wrote:

> OK, looks like I misunderstood how wxwidgets work and most opinions
> point to enable wxwidgets by default in gnome profiles, ok with that
> solution?

As I mentioned in the bug I'd like it default for desktop. There's nothing
inherently "gnome" about wxwidgets other than the fact that it uses gtk+
widgets. If the idea is that you won't get any gui at all if wxwidgets isn't
enabled (and I can't think of any packages where this isn't true) then kde
users should be included too.


--
fonts, gcc-porting
toolchain, wxwidgets
@ gentoo.org

Samuli Suominen 04-11-2012 10:02 AM

About how to handle wxGTK based packages with gnome profiles
 
On 04/11/2012 09:12 AM, Ryan Hill wrote:

On Tue, 10 Apr 2012 22:21:20 +0200
Pacho Ramos<pacho@gentoo.org> wrote:


OK, looks like I misunderstood how wxwidgets work and most opinions
point to enable wxwidgets by default in gnome profiles, ok with that
solution?


As I mentioned in the bug I'd like it default for desktop. There's nothing
inherently "gnome" about wxwidgets other than the fact that it uses gtk+
widgets. If the idea is that you won't get any gui at all if wxwidgets isn't
enabled (and I can't think of any packages where this isn't true) then kde
users should be included too.




+1

wxwidgets is not limited to gnome users, so goes to
profiles/targets/desktop/make.defaults

Pacho Ramos 04-15-2012 04:59 PM

About how to handle wxGTK based packages with gnome profiles
 
El mi, 11-04-2012 a las 13:02 +0300, Samuli Suominen escribi:
> On 04/11/2012 09:12 AM, Ryan Hill wrote:
> > On Tue, 10 Apr 2012 22:21:20 +0200
> > Pacho Ramos<pacho@gentoo.org> wrote:
> >
> >> OK, looks like I misunderstood how wxwidgets work and most opinions
> >> point to enable wxwidgets by default in gnome profiles, ok with that
> >> solution?
> >
> > As I mentioned in the bug I'd like it default for desktop. There's nothing
> > inherently "gnome" about wxwidgets other than the fact that it uses gtk+
> > widgets. If the idea is that you won't get any gui at all if wxwidgets isn't
> > enabled (and I can't think of any packages where this isn't true) then kde
> > users should be included too.
> >
> >
>
> +1
>
> wxwidgets is not limited to gnome users, so goes to
> profiles/targets/desktop/make.defaults
>

OK then to enable wxwidgets in desktop profile?

Ryan Hill 04-16-2012 05:58 AM

About how to handle wxGTK based packages with gnome profiles
 
On Sun, 15 Apr 2012 18:59:11 +0200
Pacho Ramos <pacho@gentoo.org> wrote:

> OK then to enable wxwidgets in desktop profile?

Yes.

--
fonts, gcc-porting
toolchain, wxwidgets
@ gentoo.org

Pacho Ramos 04-16-2012 08:38 AM

About how to handle wxGTK based packages with gnome profiles
 
El dom, 15-04-2012 a las 23:58 -0600, Ryan Hill escribi:
> On Sun, 15 Apr 2012 18:59:11 +0200
> Pacho Ramos <pacho@gentoo.org> wrote:
>
> > OK then to enable wxwidgets in desktop profile?
>
> Yes.
>

Just done


All times are GMT. The time now is 01:32 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.