Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Add gtk+3. #12552

Closed
wants to merge 1 commit into from
Closed

Add gtk+3. #12552

wants to merge 1 commit into from

Conversation

Midar
Copy link
Contributor

@Midar Midar commented Jun 1, 2012

No description provided.

@jacknagel
Copy link
Contributor

On 10.6 I get this:

checking X11/extensions/XInput2.h usability... no
checking X11/extensions/XInput2.h presence... no
checking for X11/extensions/XInput2.h... no
checking for XIAllowTouchEvents... no
configure: error: *** XInput2 extension not found. Check 'config.log' for more details.

The docs (http://developer.gnome.org/gtk3/3.4/gtk-building.html) advertise "--disable-xinput", but configure does not accept it.

@jacknagel
Copy link
Contributor

@Midar
Copy link
Contributor Author

Midar commented Jun 1, 2012

Interesting, it works for me. Is your X11 outdated, maybe?

@jacknagel
Copy link
Contributor

It's as up-to-date as it can be on 10.6.

@Midar
Copy link
Contributor Author

Midar commented Jun 1, 2012

So you are using the latest Xquartz? Interesting. I'm using the latest Xquartz on 10.7 and there it works. Wonder why they would have so different versions of Xquartz for 10.6 and 10.7?

So, just require 10.7 for this package?

@jacknagel
Copy link
Contributor

I am using the stock X11 that ships with SL + whatever updates Apple officially shipped.

Currently Homebrew doesn't support using the separate XQuartz package, so formulae have to assume the stock X11.

(That will have to change for Mountain Lion, obviously, but for the time being...)

@Midar
Copy link
Contributor Author

Midar commented Jun 1, 2012

Requiring the X11 that comes with SL is a really bad idea - it's totally outdated and nobody who is actually using X11 is using it anyway. Apple will drop it in ML because nobody is using it.

Can we have an option to require Xquartz please? Everybody who does something serious with X11 has it installed anyway. Or should I try with stock X11 in 10.7 and require 10.7 if that works?

@jacknagel
Copy link
Contributor

It's fine to use XQuartz, but we can't require it nor provide support for it because none of the maintainers have it installed/use it.

@Midar
Copy link
Contributor Author

Midar commented Jun 1, 2012

So what's the solution to get gtk+3 finally in? I've been trying for so long now… gtk+3 is standard in the Unix world for a long while already, it starts to get embarassing that it's not in homebrew.

@jacknagel
Copy link
Contributor

If you can give it a go with the stock X11 on 10.7 and it works, we can maybe let it in as 10.7 only and sort out out the 10.6 situation later.

@Midar
Copy link
Contributor Author

Midar commented Jun 4, 2012

I have no way to test with the stock X11 from 10.7 as it seems Xquartz just adds the headers to /usr/X11/include and I have no idea which ones came form Xquartz. Can someone else with 10.7 please test?

@jacknagel
Copy link
Contributor

Doesn't Xquartz install stuff to /opt/X11?

@jacknagel
Copy link
Contributor

BTW I bumped some previous discussion about Xquartz on the mailing list: http://librelist.com/browser/homebrew/2012/2/18/clouds-on-the-horizon-for-x11

Though the latest messages haven't posted yet.

@Midar
Copy link
Contributor Author

Midar commented Jun 4, 2012

Oh, I assumed it puts headers in /usr/X11/include or even /usr/include/X11 in order to be found automatically. It seems I was wrong. I guess Xquartz wasn't used for compilation then. To verify, I'm going to rename /opt/X11 and try building it again.

@Midar
Copy link
Contributor Author

Midar commented Jun 4, 2012

Build worked fine. What would be the correct way to require Lion? I couldn't find any other forumla requiring Lion.

@adamv
Copy link
Contributor

adamv commented Jun 4, 2012

I am against adding GTK+3 as Lion only if we can at all support it on Snow Leopard; it will cause a cascade of SL-unsupported stuff

@Midar
Copy link
Contributor Author

Midar commented Jun 4, 2012

If only gtk+3 has the dependency on Lion and not stuff depending on gtk+3, it can be easily ported to SL later. If someone wants to use it on SL, that person would just have to add Xquartz support to Homebrew and change gtk+3 to use Xquartz if not on Lion and all stuff depending on gtk+3 will just work. So where exactly is the problem? As said, it's quite embarrassing that gtk+3 still isn't in Homebrew, considering how everybody in the Linux world already switched to it and considering how many programs require it, so I really think delaying it any further is a really bad idea.

camillol pushed a commit to camillol/homebrew that referenced this pull request Jun 8, 2012
Importing this from pull request Homebrew#12552 for testing.
@jacknagel jacknagel closed this in 06c2ea0 Jul 1, 2012
@jacknagel
Copy link
Contributor

Merged.

mroderick pushed a commit to mroderick/homebrew that referenced this pull request Jul 2, 2012
A demonstration of the new X11/XQuartz dependency support. Includes
relevant fixups for compatibility.

Closes Homebrew#12552.
@ghost
Copy link

ghost commented Jul 6, 2012

@jacknagel Is it now okay to update the GTK+ packages to versions that require GTK+ 3.x, or should we stick with 2.x compatibility for the time being?

@jacknagel
Copy link
Contributor

Hmm. I guess it depends on what users expect. Perhaps someone could create a tap with gtk+3 versions of the packages for the time being?

eproxus pushed a commit to eproxus/homebrew that referenced this pull request Jul 18, 2012
A demonstration of the new X11/XQuartz dependency support. Includes
relevant fixups for compatibility.

Closes Homebrew#12552.
Sharpie pushed a commit to Sharpie/homebrew that referenced this pull request Sep 12, 2012
A demonstration of the new X11/XQuartz dependency support. Includes
relevant fixups for compatibility.

Closes Homebrew#12552.
snakeyroc3 pushed a commit to snakeyroc3/homebrew that referenced this pull request Dec 17, 2012
A demonstration of the new X11/XQuartz dependency support. Includes
relevant fixups for compatibility.

Closes Homebrew#12552.
@Homebrew Homebrew locked and limited conversation to collaborators Feb 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants