[Bug 265559] x11-toolkits/gtksourceview4: Options for docs and the glade catalog

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 01 Aug 2022 21:58:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265559

            Bug ID: 265559
           Summary: x11-toolkits/gtksourceview4: Options for docs and the
                    glade catalog
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: gnome@FreeBSD.org
          Reporter: lab+bsd@thinkum.space
          Assignee: gnome@FreeBSD.org
             Flags: maintainer-feedback?(gnome@FreeBSD.org)

Created attachment 235616
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=235616&action=edit
Adding options for docs and the glade catalog

This diff is based on the changeset c13acc0d2139 in git @ FreeBSD ports
circa 2022-05-15 16:30:54 -0700 for x11-toolkits/gtksourceview4
version 4.8.3

Options added:
- GLADE: Build and install the gtksourceview4 Glade catalog file.

  This option will conflict with any GLADE option added for
  gtksourceview3

  A patch for adding a GLADE option to gtksourceview3 has been
  published separately 
  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265558

- DOCS: Build and install the GtkSourceView 4 Reference Manual

  For a purpose of easing maintenance, gtk-doc files installed to
  the gtk-doc dir will automatically be added to the plist with
  add-plist-docs

  The project's NEWS file will be installed under the DOCS
  option. This file is added to pkg-plist


Known Limitation: Concerning the conflict for installing the glade catalog with
patches for gtksourceview3 and gtksourceview4 

With the additional glade option enabled for the gtksourceview3 port, a Glade
catalog file is installed to
/usr/local/share/glade/catalogs/gtksourceview-3.xml

With the additional glade option enabled for this port, a Glade catalog file is
installed to /usr/local/share/glade/catalogs/gtksourceview.xml

The conflict is not in the files itself. If both catalogs are built and
installed, the Glade UI designer will only show one set of GTK Sourceview
widgets however. 

Maybe there's a way to patch this in the source. 

This is actually a fairly old diff here, I wanted to send it along presently,
will take a look at the possibility of patching each catalog to differentiate
which set of sourceview widgets will show up in Glade, maybe there's a simple
label field that can be patched?

-- 
You are receiving this mail because:
You are the assignee for the bug.