Created attachment 183404 [details] Patch to update sysutils/garcon - Update to 0.6.1 - Add GTK2 option (it is required by xfce4-whiskermenu-plugin and xfce4-panel) - Sort USES - Adjust dependencies (reported by QA script) - Regenerate configure patch (with 'make makepatch') Note: Mk/Scripts/smart_makepatch.sh seems bogus, it can't apply cleanly garcon-gtk/Makefile.in, that's why it's copied in 'post-extract' target.
Created attachment 183454 [details] Patch to update sysutils/garcon New patch, which replaces Makefile.in by an optional extra build target (I think it's better IMHO). Moreover update description in pkg-descr.
Created attachment 186207 [details] Patch to update sysutils/garcon New diff, with upstream patch (fixes resize of some icons).
Created attachment 186437 [details] garcon patch with mandatory GTK2 While testing with non standard options I noticed that disabling GTK2 causes failures in other ports, due to the fact that we don't have direct control on the options chosen by the user. Since XFCE is anyway using a mix of GTK2 and GTK3 it's reasonable to force both options to be compiled, that was the default anyway. I'll be committing this version of the patch for the time being.
(In reply to Guido Falsi from comment #3) I disagree with you in configure script Gtk2 is optional. I know Gtk2 support is required by some others applications, that's why it is set by default. Users which change default option, they known what they are doing. Usually in Xfce ports default options are safe for end users. By the way commit what seems best to you.
(In reply to Olivier Duchateau from comment #4) > (In reply to Guido Falsi from comment #3) > > I disagree with you in configure script Gtk2 is optional. I know Gtk2 > support is required by some others applications, that's why it is set by > default. > > Users which change default option, they known what they are doing. Usually > in Xfce ports default options are safe for end users. > Adding an option which, when enabled, will cause ports to break in non obvious ways is something which should be avoided, and I don't feel comfortable doing. While users changing option should know what they are doing that's no reason to leave open trapdoors on the floor. This problem could be solved by providing separate ports for the gtk2 and gtk3 versions, so each port can depend on what it actually needs, or slave ports, but that comes with it's share of problems due to conflicts. Unluckily garcon does not seem to support such a scenario. The ports failing without the GTK2 option are quite a few, and also basic ones like panel, so I don't see a scenario for disabling it, but I can see users disabling it and not understanding why their builds fail. > By the way commit what seems best to you. Thanks.
A commit references this bug: Author: madpilot Date: Mon Sep 18 14:17:16 UTC 2017 New revision: 450042 URL: https://svnweb.freebsd.org/changeset/ports/450042 Log: - Update sysutils/garcon to 0.6.1 [1] - Differentiate between gtk2 and gtk3 libraries in Uses/xfce.mk [2] PR: 219334 [2], 219928 [1] Submitted by: Olivier Duchateau <duchateau.olivier@gmail.com> Differential Revision: D12387 [1] [2] Changes: head/Mk/Uses/xfce.mk head/sysutils/garcon/Makefile head/sysutils/garcon/distinfo head/sysutils/garcon/files/patch-configure head/sysutils/garcon/files/patch-garcon-gtk_garcon-gtk-menu.c head/sysutils/garcon/pkg-descr head/sysutils/garcon/pkg-plist
Committed. Thanks!