all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Change default toolkit to Gtk3?
@ 2012-09-08 16:10 Jan Djärv
  2012-09-08 20:09 ` Paul Eggert
                   ` (2 more replies)
  0 siblings, 3 replies; 21+ messages in thread
From: Jan Djärv @ 2012-09-08 16:10 UTC (permalink / raw)
  To: emacs-devel@gnu.org developers

Hello.

I'd like to suggest that we change the default toolkit to Gtk3, like so:

configure    (Gtk3 is tried, then Gtk2)
configure --with-x-toolkit=gtk  (as above)
configure --with-x-toolkit=gtk3 (try Gtk3 only).

Is that OK?

	Jan D.




^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Change default toolkit to Gtk3?
  2012-09-08 16:10 Change default toolkit to Gtk3? Jan Djärv
@ 2012-09-08 20:09 ` Paul Eggert
  2012-09-08 21:09   ` Jan Djärv
  2012-09-09  2:37 ` Chong Yidong
  2012-09-09  6:25 ` Ulrich Mueller
  2 siblings, 1 reply; 21+ messages in thread
From: Paul Eggert @ 2012-09-08 20:09 UTC (permalink / raw)
  To: Jan Djärv; +Cc: emacs-devel@gnu.org developers

On 09/08/2012 09:10 AM, Jan Djärv wrote:
> Hello.
> 
> I'd like to suggest that we change the default toolkit to Gtk3, like so:

That sounds good to me.

Would it also make sense to add new option
configure --with-x-toolkit=gtk2 ?
Or do you think that nobody will want Gtk2
anymore, so why bother?



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Change default toolkit to Gtk3?
  2012-09-08 20:09 ` Paul Eggert
@ 2012-09-08 21:09   ` Jan Djärv
  0 siblings, 0 replies; 21+ messages in thread
From: Jan Djärv @ 2012-09-08 21:09 UTC (permalink / raw)
  To: Paul Eggert; +Cc: emacs-devel@gnu.org developers

Hello.

8 sep 2012 kl. 22:09 skrev Paul Eggert <eggert@cs.ucla.edu>:

> On 09/08/2012 09:10 AM, Jan Djärv wrote:
>> Hello.
>> 
>> I'd like to suggest that we change the default toolkit to Gtk3, like so:
> 
> That sounds good to me.
> 
> Would it also make sense to add new option
> configure --with-x-toolkit=gtk2 ?
> Or do you think that nobody will want Gtk2
> anymore, so why bother?

The latter.

	Jan D.





^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Change default toolkit to Gtk3?
  2012-09-08 16:10 Change default toolkit to Gtk3? Jan Djärv
  2012-09-08 20:09 ` Paul Eggert
@ 2012-09-09  2:37 ` Chong Yidong
  2012-09-09  6:25 ` Ulrich Mueller
  2 siblings, 0 replies; 21+ messages in thread
From: Chong Yidong @ 2012-09-09  2:37 UTC (permalink / raw)
  To: Jan Djärv; +Cc: emacs-devel@gnu.org developers

Jan Djärv <jan.h.d@swipnet.se> writes:

> I'd like to suggest that we change the default toolkit to Gtk3, like so:
>
> configure    (Gtk3 is tried, then Gtk2)
> configure --with-x-toolkit=gtk  (as above)
> configure --with-x-toolkit=gtk3 (try Gtk3 only).

Fine by me.



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Change default toolkit to Gtk3?
  2012-09-08 16:10 Change default toolkit to Gtk3? Jan Djärv
  2012-09-08 20:09 ` Paul Eggert
  2012-09-09  2:37 ` Chong Yidong
@ 2012-09-09  6:25 ` Ulrich Mueller
  2012-09-09  6:49   ` Chong Yidong
  2012-09-09 10:11   ` Jan Djärv
  2 siblings, 2 replies; 21+ messages in thread
From: Ulrich Mueller @ 2012-09-09  6:25 UTC (permalink / raw)
  To: Jan Djärv; +Cc: emacs-devel

>>>>> On Sat, 8 Sep 2012, Jan Djärv wrote:

> I'd like to suggest that we change the default toolkit to Gtk3, like so:

> configure    (Gtk3 is tried, then Gtk2)
> configure --with-x-toolkit=gtk  (as above)
> configure --with-x-toolkit=gtk3 (try Gtk3 only).

> Is that OK?

In Gentoo we needs a way for our ebuild to explicitly select Gtk2.
AFAICS, that wouldn't be possible any more?

How about this:

configure    (Gtk3 is tried, then Gtk2)
configure --with-x-toolkit=gtk  (as above)
configure --with-x-toolkit=gtk2 (try Gtk2 only).

Ulrich



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Change default toolkit to Gtk3?
  2012-09-09  6:25 ` Ulrich Mueller
@ 2012-09-09  6:49   ` Chong Yidong
  2012-09-09  7:13     ` Andreas Schwab
  2012-09-09 10:11   ` Jan Djärv
  1 sibling, 1 reply; 21+ messages in thread
From: Chong Yidong @ 2012-09-09  6:49 UTC (permalink / raw)
  To: Ulrich Mueller; +Cc: Jan Djärv, emacs-devel

Ulrich Mueller <ulm@gentoo.org> writes:

> How about this:
>
> configure    (Gtk3 is tried, then Gtk2)
> configure --with-x-toolkit=gtk  (as above)
> configure --with-x-toolkit=gtk2 (try Gtk2 only).

I don't think we should drop configure flags, so --with-x-toolkit=gtk3
needs to still be recognized.  So, it should be

configure    (Gtk3 is tried, then Gtk2)
configure --with-x-toolkit=gtk  (as above)
configure --with-x-toolkit=gtk3 (as above)
configure --with-x-toolkit=gtk2 (try Gtk2 only).



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Change default toolkit to Gtk3?
  2012-09-09  6:49   ` Chong Yidong
@ 2012-09-09  7:13     ` Andreas Schwab
  0 siblings, 0 replies; 21+ messages in thread
From: Andreas Schwab @ 2012-09-09  7:13 UTC (permalink / raw)
  To: Chong Yidong; +Cc: Ulrich Mueller, Jan Djärv, emacs-devel

Chong Yidong <cyd@gnu.org> writes:

> configure    (Gtk3 is tried, then Gtk2)
> configure --with-x-toolkit=gtk  (as above)
> configure --with-x-toolkit=gtk3 (as above)

I don't think it makes sense to try gtk2 when gtk3 is requested.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Change default toolkit to Gtk3?
  2012-09-09  6:25 ` Ulrich Mueller
  2012-09-09  6:49   ` Chong Yidong
@ 2012-09-09 10:11   ` Jan Djärv
  2012-09-09 10:25     ` Ulrich Mueller
  1 sibling, 1 reply; 21+ messages in thread
From: Jan Djärv @ 2012-09-09 10:11 UTC (permalink / raw)
  To: Ulrich Mueller; +Cc: emacs-devel

Hello.

9 sep 2012 kl. 08:25 skrev Ulrich Mueller <ulm@gentoo.org>:

>>>>>> On Sat, 8 Sep 2012, Jan Djärv wrote:
> 
>> I'd like to suggest that we change the default toolkit to Gtk3, like so:
> 
>> configure    (Gtk3 is tried, then Gtk2)
>> configure --with-x-toolkit=gtk  (as above)
>> configure --with-x-toolkit=gtk3 (try Gtk3 only).
> 
>> Is that OK?
> 
> In Gentoo we needs a way for our ebuild to explicitly select Gtk2.
> AFAICS, that wouldn't be possible any more?
> 
> How about this:
> 
> configure    (Gtk3 is tried, then Gtk2)
> configure --with-x-toolkit=gtk  (as above)
> configure --with-x-toolkit=gtk2 (try Gtk2 only).

I did not consider atomated builders/testers.  So I agree, an explicit gtk2 is needed.

9 sep 2012 kl. 08:49 skrev Chong Yidong <cyd@gnu.org>:

> 
> I don't think we should drop configure flags, so --with-x-toolkit=gtk3
> needs to still be recognized.  So, it should be
> 
> configure    (Gtk3 is tried, then Gtk2)
> configure --with-x-toolkit=gtk  (as above)
> configure --with-x-toolkit=gtk3 (as above)
> configure --with-x-toolkit=gtk2 (try Gtk2 only).

I agree.

9 sep 2012 kl. 09:13 skrev Andreas Schwab <schwab@linux-m68k.org>:

> I don't think it makes sense to try gtk2 when gtk3 is requested.
> 

I agree, it would also change its current meaning.

So this is what I will do if nobody objects:

configure    (Gtk3 is tried, then Gtk2)
configure --with-x-toolkit=gtk  (as above)
configure --with-x-toolkit=gtk3 (try Gtk3 only)
configure --with-x-toolkit=gtk2 (try Gtk2 only)

	Jan D.






^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Change default toolkit to Gtk3?
  2012-09-09 10:11   ` Jan Djärv
@ 2012-09-09 10:25     ` Ulrich Mueller
  2012-09-12 20:23       ` Jan Djärv
  0 siblings, 1 reply; 21+ messages in thread
From: Ulrich Mueller @ 2012-09-09 10:25 UTC (permalink / raw)
  To: Jan Djärv; +Cc: emacs-devel

>>>>> On Sun, 9 Sep 2012, Jan Djärv wrote:

>> In Gentoo we need a way for our ebuild to explicitly select Gtk2.

> I did not consider atomated builders/testers.

Not necessarily automated, but the problem arises e.g. if the build
host has both Gtk2 and Gtk3 but the target host has only Gtk2.

> So I agree, an explicit gtk2 is needed.

> [...]

> So this is what I will do if nobody objects:

> configure    (Gtk3 is tried, then Gtk2)
> configure --with-x-toolkit=gtk  (as above)
> configure --with-x-toolkit=gtk3 (try Gtk3 only)
> configure --with-x-toolkit=gtk2 (try Gtk2 only)

Looks good to me.

Ulrich



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Change default toolkit to Gtk3?
  2012-09-09 10:25     ` Ulrich Mueller
@ 2012-09-12 20:23       ` Jan Djärv
  2012-09-13  2:42         ` Chong Yidong
                           ` (2 more replies)
  0 siblings, 3 replies; 21+ messages in thread
From: Jan Djärv @ 2012-09-12 20:23 UTC (permalink / raw)
  To: emacs-devel@gnu.org developers

Hello.

This has been checked in.  Do we want a NEWS-entry for this?

	Jan D.

9 sep 2012 kl. 12:25 skrev Ulrich Mueller <ulm@gentoo.org>:

>>>>>> On Sun, 9 Sep 2012, Jan Djärv wrote:
> 
>>> In Gentoo we need a way for our ebuild to explicitly select Gtk2.
> 
>> I did not consider atomated builders/testers.
> 
> Not necessarily automated, but the problem arises e.g. if the build
> host has both Gtk2 and Gtk3 but the target host has only Gtk2.
> 
>> So I agree, an explicit gtk2 is needed.
> 
>> [...]
> 
>> So this is what I will do if nobody objects:
> 
>> configure    (Gtk3 is tried, then Gtk2)
>> configure --with-x-toolkit=gtk  (as above)
>> configure --with-x-toolkit=gtk3 (try Gtk3 only)
>> configure --with-x-toolkit=gtk2 (try Gtk2 only)
> 
> Looks good to me.
> 
> Ulrich




^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Change default toolkit to Gtk3?
  2012-09-12 20:23       ` Jan Djärv
@ 2012-09-13  2:42         ` Chong Yidong
  2012-09-13  6:14           ` Jan Djärv
  2012-09-13  3:38         ` Dmitry Antipov
  2012-09-13  5:21         ` Ulrich Mueller
  2 siblings, 1 reply; 21+ messages in thread
From: Chong Yidong @ 2012-09-13  2:42 UTC (permalink / raw)
  To: Jan Djärv; +Cc: emacs-devel@gnu.org developers

Jan Djärv <jan.h.d@swipnet.se> writes:

> This has been checked in.  Do we want a NEWS-entry for this?

Yes, under "Installation Changes".  Thanks.



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Change default toolkit to Gtk3?
  2012-09-12 20:23       ` Jan Djärv
  2012-09-13  2:42         ` Chong Yidong
@ 2012-09-13  3:38         ` Dmitry Antipov
  2012-09-13  6:15           ` Jan Djärv
  2012-09-13  5:21         ` Ulrich Mueller
  2 siblings, 1 reply; 21+ messages in thread
From: Dmitry Antipov @ 2012-09-13  3:38 UTC (permalink / raw)
  To: Jan Djärv; +Cc: emacs-devel@gnu.org developers

On 09/13/2012 12:23 AM, Jan Djärv wrote:

> This has been checked in.  Do we want a NEWS-entry for this?

Can you also adjust configure.ac so that an answer to "What toolkit
should Emacs use" question was one of GTK, GTK2 or GTK3 (if GTK
is used at all)?

Dmitry





^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Change default toolkit to Gtk3?
  2012-09-12 20:23       ` Jan Djärv
  2012-09-13  2:42         ` Chong Yidong
  2012-09-13  3:38         ` Dmitry Antipov
@ 2012-09-13  5:21         ` Ulrich Mueller
  2012-09-13  6:21           ` Jan Djärv
  2 siblings, 1 reply; 21+ messages in thread
From: Ulrich Mueller @ 2012-09-13  5:21 UTC (permalink / raw)
  To: emacs-devel

>>>>> On Wed, 12 Sep 2012, Jan Djärv wrote:

> This has been checked in.

I don't know if it's related to this, but I see a minor problem in the
output of configure --with-x-toolkit=lucid:

   checking for xaw3d... checking for XawScrollbarSetThumb in -lXaw3d... yes
   yes; using Lucid toolkit

Ulrich



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Change default toolkit to Gtk3?
  2012-09-13  2:42         ` Chong Yidong
@ 2012-09-13  6:14           ` Jan Djärv
  0 siblings, 0 replies; 21+ messages in thread
From: Jan Djärv @ 2012-09-13  6:14 UTC (permalink / raw)
  To: Chong Yidong; +Cc: emacs-devel@gnu.org developers

Hello.

13 sep 2012 kl. 04:42 skrev Chong Yidong <cyd@gnu.org>:

> Jan Djärv <jan.h.d@swipnet.se> writes:
> 
>> This has been checked in.  Do we want a NEWS-entry for this?
> 
> Yes, under "Installation Changes".  Thanks.

Done.

	Jan D.




^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Change default toolkit to Gtk3?
  2012-09-13  3:38         ` Dmitry Antipov
@ 2012-09-13  6:15           ` Jan Djärv
  2012-09-13  7:04             ` Dmitry Antipov
  2012-09-13 12:42             ` Stefan Monnier
  0 siblings, 2 replies; 21+ messages in thread
From: Jan Djärv @ 2012-09-13  6:15 UTC (permalink / raw)
  To: Dmitry Antipov; +Cc: emacs-devel@gnu.org developers

Hello.

13 sep 2012 kl. 05:38 skrev Dmitry Antipov <dmantipov@yandex.ru>:

> On 09/13/2012 12:23 AM, Jan Djärv wrote:
> 
>> This has been checked in.  Do we want a NEWS-entry for this?
> 
> Can you also adjust configure.ac so that an answer to "What toolkit
> should Emacs use" question was one of GTK, GTK2 or GTK3 (if GTK
> is used at all)?

I'd rather not.  We don't distinguish between versions (Motif, X, NS) in other cases, so why here?

	Jan D.





^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Change default toolkit to Gtk3?
  2012-09-13  5:21         ` Ulrich Mueller
@ 2012-09-13  6:21           ` Jan Djärv
  0 siblings, 0 replies; 21+ messages in thread
From: Jan Djärv @ 2012-09-13  6:21 UTC (permalink / raw)
  To: Ulrich Mueller; +Cc: emacs-devel

Hello.

13 sep 2012 kl. 07:21 skrev Ulrich Mueller <ulm@kph.uni-mainz.de>:

>>>>>> On Wed, 12 Sep 2012, Jan Djärv wrote:
> 
>> This has been checked in.
> 
> I don't know if it's related to this, but I see a minor problem in the
> output of configure --with-x-toolkit=lucid:
> 
>   checking for xaw3d... checking for XawScrollbarSetThumb in -lXaw3d... yes
>   yes; using Lucid toolkit
> 

It is not related, it probably has been that way for some time.  I'll see if I can restructure the messages.

	Jan D.




^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Change default toolkit to Gtk3?
  2012-09-13  6:15           ` Jan Djärv
@ 2012-09-13  7:04             ` Dmitry Antipov
  2012-09-13  8:34               ` Jan Djärv
  2012-09-13 12:42             ` Stefan Monnier
  1 sibling, 1 reply; 21+ messages in thread
From: Dmitry Antipov @ 2012-09-13  7:04 UTC (permalink / raw)
  To: Jan Djärv; +Cc: emacs-devel@gnu.org developers

On 09/13/2012 10:15 AM, Jan Djärv wrote:

>> Can you also adjust configure.ac so that an answer to "What toolkit
>> should Emacs use" question was one of GTK, GTK2 or GTK3 (if GTK
>> is used at all)?
>
> I'd rather not.  We don't distinguish between versions (Motif, X, NS)
> in other cases, so why here?

OK, but this means that 109113 becomes useless.

Dmitry





^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Change default toolkit to Gtk3?
  2012-09-13  7:04             ` Dmitry Antipov
@ 2012-09-13  8:34               ` Jan Djärv
  2012-09-13  8:48                 ` Dmitry Antipov
  0 siblings, 1 reply; 21+ messages in thread
From: Jan Djärv @ 2012-09-13  8:34 UTC (permalink / raw)
  To: Dmitry Antipov; +Cc: emacs-devel@gnu.org developers

Hello. 


13 sep 2012 kl. 09:04 skrev Dmitry Antipov <dmantipov@yandex.ru>:

> On 09/13/2012 10:15 AM, Jan Djärv wrote:
> 
>>> Can you also adjust configure.ac so that an answer to "What toolkit
>>> should Emacs use" question was one of GTK, GTK2 or GTK3 (if GTK
>>> is used at all)?
>> 
>> I'd rather not.  We don't distinguish between versions (Motif, X, NS)
>> in other cases, so why here?
> 
> OK, but this means that 109113 becomes useless.
> 

What is an "109113"?

      Jan D. 


^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Change default toolkit to Gtk3?
  2012-09-13  8:34               ` Jan Djärv
@ 2012-09-13  8:48                 ` Dmitry Antipov
  0 siblings, 0 replies; 21+ messages in thread
From: Dmitry Antipov @ 2012-09-13  8:48 UTC (permalink / raw)
  To: Jan Djärv; +Cc: emacs-devel@gnu.org developers

On 09/13/2012 12:34 PM, Jan Djärv wrote:

>> OK, but this means that 109113 becomes useless.
>>
>
> What is an "109113"?
>
>        Jan D.
>

bzr log revno :-), or commit ID. Feel free to revert it
if you don't want to report GTK version from configure.

Dmitry





^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Change default toolkit to Gtk3?
  2012-09-13  6:15           ` Jan Djärv
  2012-09-13  7:04             ` Dmitry Antipov
@ 2012-09-13 12:42             ` Stefan Monnier
  2012-09-18 18:13               ` Jan Djärv
  1 sibling, 1 reply; 21+ messages in thread
From: Stefan Monnier @ 2012-09-13 12:42 UTC (permalink / raw)
  To: Jan Djärv; +Cc: Dmitry Antipov, emacs-devel@gnu.org developers

> I'd rather not.  We don't distinguish between versions (Motif, X, NS)
> in other cases, so why here?

But we've never offered a way for the user to select which version of
motif/X/NS to use either.  So I think it would make sense to say "GTK2"
or "GTK3" depending on which one got chosen by `configure' in the end.
Not terribly important, but if it can be done cheaply, it's better to do it.


        Stefan



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Change default toolkit to Gtk3?
  2012-09-13 12:42             ` Stefan Monnier
@ 2012-09-18 18:13               ` Jan Djärv
  0 siblings, 0 replies; 21+ messages in thread
From: Jan Djärv @ 2012-09-18 18:13 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: Dmitry Antipov, emacs-devel@gnu.org developers


13 sep 2012 kl. 14:42 skrev Stefan Monnier <monnier@iro.umontreal.ca>:

>> I'd rather not.  We don't distinguish between versions (Motif, X, NS)
>> in other cases, so why here?
> 
> But we've never offered a way for the user to select which version of
> motif/X/NS to use either.  So I think it would make sense to say "GTK2"
> or "GTK3" depending on which one got chosen by `configure' in the end.
> Not terribly important, but if it can be done cheaply, it's better to do it.
> 


Ok, done.

	Jan D.




^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2012-09-18 18:13 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-08 16:10 Change default toolkit to Gtk3? Jan Djärv
2012-09-08 20:09 ` Paul Eggert
2012-09-08 21:09   ` Jan Djärv
2012-09-09  2:37 ` Chong Yidong
2012-09-09  6:25 ` Ulrich Mueller
2012-09-09  6:49   ` Chong Yidong
2012-09-09  7:13     ` Andreas Schwab
2012-09-09 10:11   ` Jan Djärv
2012-09-09 10:25     ` Ulrich Mueller
2012-09-12 20:23       ` Jan Djärv
2012-09-13  2:42         ` Chong Yidong
2012-09-13  6:14           ` Jan Djärv
2012-09-13  3:38         ` Dmitry Antipov
2012-09-13  6:15           ` Jan Djärv
2012-09-13  7:04             ` Dmitry Antipov
2012-09-13  8:34               ` Jan Djärv
2012-09-13  8:48                 ` Dmitry Antipov
2012-09-13 12:42             ` Stefan Monnier
2012-09-18 18:13               ` Jan Djärv
2012-09-13  5:21         ` Ulrich Mueller
2012-09-13  6:21           ` Jan Djärv

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.