-
-
Notifications
You must be signed in to change notification settings - Fork 11.3k
Conversation
depends_on "cairo" | ||
depends_on "pygtk" | ||
else | ||
depends_on "pango" => ["without-x11"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nitpick: you don't need an array if there's only one option. You can pass it as a string: depends_on "pango" => "without-x11"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've pushed that change to master :D thanks for the nitpicking :P
Do you mind squashing this down to one commit with the commit message |
depends_on "d-bus" | ||
|
||
def install | ||
system "./configure", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make this one line :).
system "./configure", "--prefix=#{prefix}", "--disable-glibtest"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, added that too to my master.
@mistydemeo sure I don't mind, but do you mind telling me how to achieve that? I've used git for 5 years and I've never squashed commits before :( |
Sure! You can do that via interactive rebase: git rebase -i HEAD~9 # interactive rebase with a range from the latest commit to 9 commits earlier This will pop up a text file that looks somewhat like this:
It has help text printed, there, but essentially you want to |
Thanks again to both of u ;) do you want me to cancel this pull request and make a new one once I've squashed it ? |
Nope, if you force-push back to the same branch on Github it will update the pull request! |
Ended up doing reword for the first one and squash for the rest, hope thats ok :P |
Don't really need the commit messages from the others, but it's not a big deal. :b Thanks! |
There, its just gimp 2.8.14 now, sorry about that. |
depends_on "babl" | ||
depends_on "fontconfig" | ||
|
||
if build.with? "x11" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this work okay with both the X11 GUI and the native GUI?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(i.e. have you tested it with --without-x11 and do things seem to work okay?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works fine with x11, let me try without though, you're right I better test that too.
There are some startup errors. Nothing fatal though, the core functionality seems to be there. The errors seem to be Python based, so perhaps @tdsmith can add something on this.
|
Apart from those Python errors though, which Tim may be able to advise on, everything else is like an absolute dream ❤️. This is great 👍 |
Ugh, why not? Tell it to try harder. :| Guessing you're using Homebrew's Python, Dominyk? Do you have the Homebrew site-packages in sys.path for
change the messages you see at startup? You shouldn't need to rebuild gimp. |
I removed
Always ❤️. |
I don't get those python errors btw, so that's interesting. I've got a fresh homebrew install though, if that makes a difference. I tried to install without-x11, but it failed at make install.
I'll try again after cleaning away the without-x11 packages to force it to re-install them. |
Can you provide the |
Yeah I'll provide them, just re-running it now, hang on ;) |
Are you using brewed python or system python? |
That's system python isn't it. |
@mistydemeo brew gist-logs gimp fails because its referencing a github commit that no longer exists. How do I get rid of it? |
What's the advantage of this over the build at http://www.gimp.org/downloads/? I'm sorry I was late to the other PR but I'm not in favour of us having this in. This is a very good example of something where there are good upstream binaries provided that people should use instead (or with homebrew-cask). |
depends_on "gettext" => :build | ||
depends_on "intltool" => :build | ||
|
||
depends_on :x11 => :recommended |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this defaults to X11 enabled it's worse than the upstream package here: http://www.gimp.org/downloads/
Also, if this is included with X11 enabled by default it should really be in the |
@MikeMcQuaid , because if I want to install the build at gimp.org/downloads I need to open safari, find the link, download it, install it. That's tedious. Also I really want to use the X11 version, not the mac app bundle thing. How come inkscape is in homebrew master then? Isn't it the same deal? Advantages:
|
@mistydemeo here's the gist made it by doing this: |
Gets me:
Same thing if I remove the user
|
I recommend submitting it to
It requires X11 which makes it a little more eligable but yes: it shouldn't be in core and I'll move it at some stage.
Disadvantages:
|
I don't know how willing Cask would be to take it, to be honest. They ship the |
With that being said, can we continue with this pull request? I get the feeling not everybody agrees with @MikeMcQuaid , and this is exactly how the last pull request got torpedoed. |
Disclaimer at this juncture: I have no control whatsoever as to what goes into or out of Homebrew. I'm just a grunt 😉. When it comes down to votes on in or out, I don't have one 😀. |
Also I def think we should continue with X11 as the default, as that seems to be less likely to break. |
If Cask already ship the DMG this makes me even less likely to think this is a good idea. @skela even in the best-case scenario this PR will only be accepted at https://github.com/Homebrew/homebrew-x11. |
@skela I feel pretty strongly about this being a poor user experience, sorry. |
@MikeMcQuaid is there any fundamental differences I have to make to the formula for it to be accepted in homebrew-x11 then? Or will I get similar arguments there against admitting it. The fact that gimp is missing from homebrew is frankly a bit moronic, I can't believe this. |
I don't mind if things get submitted there. Longer-term I want to work on improving our Homebrew Cask integration instead so that people can install things them from there instead. Ultimately, anyone can create their own tap.
https://github.com/Homebrew/homebrew/blob/master/CODEOFCONDUCT.md |
@MikeMcQuaid Genuine question. Not trying to make you drive your head into a wall at 9am, promise: What makes this |
New formulae have a higher barrier of entry than the stuff already in here. If people are already using a formula we can't just remove it. I do want to migrate all those to The libraries I care less about, yeh. It sucks to tell people to install XQuartz just to be able to install something but that's not what concerns me most. X11 on OSX is a terrible and non-default user-experience. That's OK but I do view it similar to devel-only or head-only software; something we don't want to flat out disable but something similarly dissuaded. |
Also, from Acceptable Formula:
This is widely ignored and personally I wish it wasn't. |
@MikeMcQuaid I've made a pull request for the gimp formula in homebrew-x11 without the optional x11 stuff obviously. https://github.com/Homebrew/homebrew-x11/pull/4 Guess its up to you guys now to choose which one you want. homebrew-x11 only allows x11 based ones, and the one this pull request at least offers the user the choice (although atm without-x11 doesn't seem to work). |
Why is this, out of interest? |
This is sadly true. It ain't pretty, backend or front, that's for sure. Alright. Since we seem to be at a brick wall on this PR, and everyone is likely to start tearing strands of hair out pretty soon, as a better-than-nothing-still-onestep-install-process-for-those-who-desire-it we should move this PR over to Homebrew-x11. Further to that, and to address Mike's comments a wee bit, perhaps over time we could consider expanding Homebrew-x11 to deal with more than that, and start shoving things that create .apps into Homebrew-x11 (Or a renamed Homebrew-gui perhaps). I tend to agree that the core should be almost all I'd also propose that we start moving across things to Homebrew-x11 slowly, starting with formulae that haven't been updated for a while and aren't likely to suddenly drown Homebrew in support complaints if they move a little. These are just proposals. Feel free to shoot them down as necessary 😁 |
@MikeMcQuaid because inkscape is the same, and it behaves much nicer for me with regard to scripts, launching it from the command line. Also the mac app built gimp client has always been buggy as hell for me.
|
Closing this in favour of homebrew-x11 PR. I've also created this PR for better Cask integration. #34496 |
As discussed in #34473
This is a formula for gimp version 2.8.14.