-
-
Notifications
You must be signed in to change notification settings - Fork 11.4k
Conversation
@@ -22,7 +21,6 @@ class Cairo < Formula | |||
depends_on "libpng" | |||
depends_on "pixman" | |||
depends_on "glib" | |||
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.
:optional
, probably?
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 vote no. Let's slay the X11 monster and keep it from showing its ugly head ever again in the gtk+ dependency graph.
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'm OK with that.
7c828ea
to
ff78579
Compare
depends_on "gobject-introspection" | ||
option "with-quartz-relocation" |
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.
Let's move the option above the dependencies, with space between the two blocks.
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.
Also, option
should have some explain message.
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.
taken care of in latest commit
Personally I think it's bad to put all of these inside on PR. It consumes too many ci resources. |
Wouldn't it be better to configure ci to build only the last commit? It's much easier to do this in one commit since this update will need to happen simultaneously for all packages involved |
@@ -1,10 +1,9 @@ | |||
require "formula" | |||
|
|||
class Cairo < Formula | |||
homepage "http://cairographics.org/" | |||
url "http://cairographics.org/releases/cairo-1.14.2.tar.xz" | |||
mirror "http://www.mirrorservice.org/sites/ftp.netbsd.org/pub/pkgsrc/distfiles/cairo-1.14.2.tar.xz" |
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.
It'd suggest https
for this mirror, it does support it:
https://www.mirrorservice.org/sites/ftp.netbsd.org/pub/pkgsrc/distfiles/cairo-1.14.2.tar.xz
It's probably sensible to tuck them all inside the same PR so we can test they all actually work against the new changes, since a potential breakage and revert would be a nightmare given how deep GTK+ runs. It's best to not push each change as you make it though, make them locally and then push the end result. Means we only need to whack the CI a few times rather than 40+ times. |
fair enough, will make only pushes when I have to from now on. still I think the best solution would be for the build-bot to look only to the latest commit |
It does but if it's already started a job when you've pushed another it doesn't know to stop the existing job. |
It's not current configure. @MikeMcQuaid may have some opinion on this.
I think the magnitude may be over the capacity that one PR can handle. As one of jacknagel's old advice, I would suggest to create a temporary tap and move all of gtk related formulae there. Therefore, we can test each commit one by one using Travis CI. After that, we can move these formulae back to core. |
Disagree personally. It handled OpenSSL before, and OpenSSL was a bigger PR with some significantly heftier formulae. I would be surprised if all the GTK+ changes here in the end stress the bot more than one Rust build does. We would have a similar, if not more PITA, problem with Travis in that the build would be likely to timeout or exceed the 5MB log limit imposed on free Travis. If someone wants to follow Jack's advice I'm fine with that too, but I think Jack's suggestion was to not actually remove them from the core, just to copy them, remove the x11 tie in, and then merge them back in to core? |
By the way: if someone wants to help out, I would really appreciate it if someone would move all Formulas from homebrew-x11 that depend on either gtk+ or gtk+3 to the homebrew tap. They have no longer any business being there. |
Please don't PR this yet, though. |
Please remember that every time you push it starts a new CI job and does not kill those that are already queued. I understand this isn't ideal, but at this moment that's how it works, so let's try to ease up on the push frequency. Thanks! |
It looks like the CI jobs stopped. Can anyone check whats going on? |
They were probably manually killed and/or timed out. |
The last build failed on |
@BrewTestBot test this please |
Thanks, the My latest commits have bumped the revision number of both gdk-pixbuf and librsvg, hoping it may fix this problem. Could anyone have a look at the
Thanks |
Ignore the |
Ok, will do. Any reason to keep libgnomecanvas and libgnomecamvasmm? No other formulas appear to use them and they haven't seen an update in 5 years. |
Seems a good enough reason to 💀 them to me. |
Ok, will delete them then. I was also thinking to remove |
Also: if any of this stuff can be made to work with GTK+3 instead of 2 that'd be handy too. |
I'd also prefer we keep |
@tschoonj Please don't push any more changes to this branch. I'll address these nits when I pull, thanks. |
@DomT4 |
@MikeMcQuaid thanks Mike! After pulling in, can you restart the PRs in homebrew-x11 and homebrew-science? |
@tschoonj Thanks for the explanation on |
@DomT4 you're most welcome but we aren't done yet. As soon as this PR gets pulled in, after updating people will have runtime linking errors to their gtk-dependent homebrew-science and homebrew-x11 packages. |
@MikeMcQuaid by the way I still need to boneyard two formulas here: |
Once X11's PR is green I'll pull it there pretty quickly. I don't know how @MikeMcQuaid feels but potentially a lot of the GTK stuff can be moved back to the core now the X11 backend has been killed off. |
Well all packages in x11 and science need to be rebuilt against the new gtk+, which I guess will take a few hours. And yes a lot of those packages really won't belong there anymore, including those that depend on gtk+3. |
victims of the transitioning to gtk-quartz-only: Homebrew/legacy-homebrew#39868 NOTE: these formulas will not be deleted with this PR, a separate will be opened for that later...
victims of the transitioning to gtk-quartz-only: Homebrew#39868 a PR has been opened in the boneyard: Homebrew/homebrew-boneyard#54
@DomT4 Just wondering about the migration to the boneyard: since I am not migrating out of the core tap, do I have to update the |
@DomT4 sorry wrong PR, this refers of course to the X11 tap migration |
Theoretically if stuff has been migrated from If they never existed in Homebrew/homebrew and aren't in the |
I checked and all three formulas are indeed mentioned in |
@MikeMcQuaid thanks! I pushed my latest changes to homebrew-x11, the build has already started. Can you manually restart the build in the homebrew-science PR? |
@tschoonj On it. The rebottling will take priority but I'll get on this ASAP. |
All PRs merged. Thanks for all your work here @tschoonj! |
you're most welcome. I expect people will file issues now and then when their formulas with optional gtk+ dependency fail to compile (like the vim one this morning). If so ping me and I will try to fix it |
Homebrew has dropped support to X11 on every GTK+ related formula since (Homebrew/legacy-homebrew#39868). This change reflects this decision on go-gtk. By default, builds without support to X11. X11 support can be enabled by using the build flag `with-x11` for users containing a GTK+ installation with X11 support.
Homebrew has dropped support to X11 on every GTK+ related formula since (Homebrew/legacy-homebrew#39868). This change reflects this decision on go-gtk. By default, builds without support to X11. X11 support can be enabled by using the build flag `with-x11` for users containing a GTK+ installation with X11 support.
@MikeMcQuaid
This branch represents an effort to remove the X11 dependency completely from gtk+ and its dependencies cairo and pango.
The rationale behind this move is:
Are there any packages that really need the gtk+ X11 backend to work properly anyway?Apparentlygtkglarea
does, it will be moved to the boneyard...My plan is basically to:
It is possible that some formulas that depend only on cairo and/or pango will also need a revision bump if they depend explicitly on the cairo/pango dylibs that are linked to X11. Not sure how to identify these though.
TO DO list (will get longer...):
fsv
. Will be moved to the boneyardaudit --strict
problem I cannot seem to fix