[Bug 265559] x11-toolkits/gtksourceview4: Options for docs and the glade catalog
Date: Mon, 01 Aug 2022 22:35:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265559
Sean Champ <lab+bsd@thinkum.space> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |lab+bsd@thinkum.space
--- Comment #1 from Sean Champ <lab+bsd@thinkum.space> ---
Adding the following to the patched Makefile for this port, the gtksourceview3
and gtksourceview4 catalogs will both show up under Glade if installed
concurrently.
~~~~
post-stage-GLADE-on:
${SED} -e
's@\([[:space:]]\)name="gtksourceview"@\1name="${PORTNAME}-${PKGNAMESUFFIX}"@'
\
${WRKSRC}/${MESON_BUILD_DIR}/data/glade/gtksourceview.xml > \
${STAGEDIR}${PREFIX}/share/glade/catalogs/gtksourceview.xml
~~~~
However, they'll both be shown in Glade as providing a GtkSourceView catalog.
The difference in the catalog 'name' field will not be reflected in the Glade
widget selection.
It seems that the glade-widget-group element in the catalog file will also have
to be patched.
I'm certain that a simple 'sed' patch for post-stage would be easier to
maintain. I'll try to limit the patching to this scope, for compatibility with
the gtksourceview3 glade option
--
You are receiving this mail because:
You are the assignee for the bug.