git: 1bc3cc294caa - main - x11-toolkits/libgedit-gtksourceview: update to 299.6.0

From: Don Lewis <truckman_at_FreeBSD.org>
Date: Sat, 14 Feb 2026 22:30:41 UTC
The branch main has been updated by truckman:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1bc3cc294caa5aa231ac0a7030770f7ce83bd3f8

commit 1bc3cc294caa5aa231ac0a7030770f7ce83bd3f8
Author:     Olivier Duchateau <duchateau.olivier@gmail.com>
AuthorDate: 2026-02-14 05:22:54 +0000
Commit:     Don Lewis <truckman@FreeBSD.org>
CommitDate: 2026-02-14 22:29:45 +0000

    x11-toolkits/libgedit-gtksourceview: update to 299.6.0
    
    Update to 299.6.0
    
      News in 299.6.0, 2026-01-03
      ---------------------------
    
      Completion framework:
      * The GtkSourceCompletion class no longer implements the GtkBuildable interface.
      * GtkSourceCompletionProposal: various improvements.
      * GtkSourceCompletionItem:
        - Various improvements.
        - Remove all the properties.
    
      Microsoft Windows:
      * Fix compilation warnings.
      * Fix unit tests failures.
    
      Various gardening tasks:
      * Move back almost all typedefs from gtksourcetypes.h to the corresponding
        headers, with the goal to keep in gtksourcetypes.h only what is strictly
        necessary.
      * Convert #include guards to #pragma once with the guardonce utility:
        https://github.com/cgmb/guardonce
      * Add missing G_BEGIN_DECLS/G_END_DECLS pairs.
      * Add missing G_GNUC_CONST annotation for get_type() functions.
      * Have a LICENSES directory, to better follow the REUSE way of applying
        licenses: https://reuse.software/ (FSFE initiative)
      * Reduce the padding for future expansion in public Class structs, the API/ABI
        is anyway no longer guaranteed to be stable.
    
      Other:
      * Translation updates.
    
      News in 299.6.alpha2, 2025-11-17
      --------------------------------
    
      File loading and saving:
      * Small bug fix in GtkSourceFile.
      * GtkSourceBufferOutputStream private class:
        - Start to refactor it.
        - Extract the try_convert() function out of the class and re-implement it with
          GtkSourceIconv.
      * GtkSourceIconv:
        - Add the feed_discard_output() function.
        - Write unit tests.
      * GtkSourceFileLoader:
        - Add max-size property.
        - Improve the unit tests.
    
      GtkSourceView class:
      * Improve the API documentation.
      * Remove GtkBuildable interface implementation.
    
      Other:
      * Translation updates.
      * Docs: improve the CSS for the docs that is manually written in HTML.
    
      News in 299.6.alpha1, 2025-09-05
      --------------------------------
    
      GtkSourceIter:
      - Make some gtk_source_iter_*() functions public.
      - Move the single tepl_iter_*() function as a public gtk_source_iter_*().
      - Write more unit tests.
    
      File loading and saving:
      - GtkSourceEncoding, GtkSourceFile, GtkSourceFileLoader and GtkSourceFileSaver
        are maintained again. Remove the warnings in the docs about using the
        corresponding classes from libgedit-tepl. (It is planned to improve the file
        loading and saving feature in this module instead, and have in libgedit-tepl a
        higher-level API).
      - Create the "Low-Level File Loading and Saving" category in the API docs, and
        add GtkSourceIconv and GtkSourceInputStream (new classes).
      - Rework GtkSourceEncoding.
      - Start to rework GtkSourceFile.
      - Rework GtkSourceFileLoader (modernize the code and use GtkSourceInputStream
        internally).
      - Code organization: create the file-loading-and-saving/ subdir.
    
      GtkSourceView class:
      - Small improvements to both the API docs and the implementation.
    
      Tools:
      - Some small changes/improvements to the 'list-langs' and 'uncrustify' tools.
    
      Other:
      - Improve the documentation for contributors. Start to write a list of possible
        tasks in the “docs/possible-tasks/” directory.
      - Build system: tune the CFLAGS in order to run code-coverage tools
        conveniently.
      - Get rid of HAVE_CONFIG_H (Autotoolism).
      - Move some typedefs to their corresponding classes.
      - License headers for *.c and *h files: follow REUSE way of applying licenses.
        https://reuse.software/
      - Remove modelines.
      - For translations: fix issue reported by GNOME Damned Lies.
      - Translations updates.o
    
    Swith to USES= gettext-tools
    
    Add USE_LDCONFIG=yes because we install a shared library (truckman)
    
    PR:             292418
---
 x11-toolkits/libgedit-gtksourceview/Makefile  | 6 +++---
 x11-toolkits/libgedit-gtksourceview/distinfo  | 6 +++---
 x11-toolkits/libgedit-gtksourceview/pkg-plist | 5 ++++-
 3 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/x11-toolkits/libgedit-gtksourceview/Makefile b/x11-toolkits/libgedit-gtksourceview/Makefile
index 2691fa8524ac..64096f49fcf3 100644
--- a/x11-toolkits/libgedit-gtksourceview/Makefile
+++ b/x11-toolkits/libgedit-gtksourceview/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	libgedit-gtksourceview
-DISTVERSION=	299.5.0
-PORTREVISION=	1
+DISTVERSION=	299.6.0
 CATEGORIES=	x11-toolkits
 DIST_SUBDIR=	gnome
 
@@ -10,8 +9,9 @@ WWW=		https://gitlab.gnome.org/World/gedit/libgedit-gtksourceview
 
 LICENSE=	LGPL21
 
-USES=		gettext gnome meson pkgconfig tar:bz2
+USES=		gettext-tools gnome meson pkgconfig tar:bz2
 USE_GNOME=	cairo gdkpixbuf glib20 gtk30 libxml2 introspection:build
+USE_LDCONFIG=	yes
 
 USE_GITLAB=	yes
 GL_SITE=	https://gitlab.gnome.org
diff --git a/x11-toolkits/libgedit-gtksourceview/distinfo b/x11-toolkits/libgedit-gtksourceview/distinfo
index 201eb2176eec..10b7362f732d 100644
--- a/x11-toolkits/libgedit-gtksourceview/distinfo
+++ b/x11-toolkits/libgedit-gtksourceview/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1746188940
-SHA256 (gnome/libgedit-gtksourceview-299.5.0.tar.bz2) = 3b452764b7c0868ade614972d85f8c0388d4d65ef88ba6d41487aab97cbbedc9
-SIZE (gnome/libgedit-gtksourceview-299.5.0.tar.bz2) = 681088
+TIMESTAMP = 1768240022
+SHA256 (gnome/libgedit-gtksourceview-299.6.0.tar.bz2) = e0c79788f548dbc94f932faaab91ef823a9e9d336ef6f1f049623116121d2e75
+SIZE (gnome/libgedit-gtksourceview-299.6.0.tar.bz2) = 694671
diff --git a/x11-toolkits/libgedit-gtksourceview/pkg-plist b/x11-toolkits/libgedit-gtksourceview/pkg-plist
index 7eaac858eb7f..d7b7e8831062 100644
--- a/x11-toolkits/libgedit-gtksourceview/pkg-plist
+++ b/x11-toolkits/libgedit-gtksourceview/pkg-plist
@@ -1,4 +1,6 @@
 include/libgedit-gtksourceview-300/gtksourceview/completion-providers/words/gtksourcecompletionwords.h
+include/libgedit-gtksourceview-300/gtksourceview/file-loading-and-saving/gtksourceiconv.h
+include/libgedit-gtksourceview-300/gtksourceview/file-loading-and-saving/gtksourceinputstream.h
 include/libgedit-gtksourceview-300/gtksourceview/gtksource-enumtypes.h
 include/libgedit-gtksourceview-300/gtksourceview/gtksource.h
 include/libgedit-gtksourceview-300/gtksourceview/gtksourceautocleanups.h
@@ -18,6 +20,7 @@ include/libgedit-gtksourceview-300/gtksourceview/gtksourcegutterrenderer.h
 include/libgedit-gtksourceview-300/gtksourceview/gtksourcegutterrendererpixbuf.h
 include/libgedit-gtksourceview-300/gtksourceview/gtksourcegutterrenderertext.h
 include/libgedit-gtksourceview-300/gtksourceview/gtksourceinit.h
+include/libgedit-gtksourceview-300/gtksourceview/gtksourceiter.h
 include/libgedit-gtksourceview-300/gtksourceview/gtksourcelanguage.h
 include/libgedit-gtksourceview-300/gtksourceview/gtksourcelanguagemanager.h
 include/libgedit-gtksourceview-300/gtksourceview/gtksourcemark.h
@@ -37,7 +40,7 @@ include/libgedit-gtksourceview-300/gtksourceview/gtksourceutils.h
 include/libgedit-gtksourceview-300/gtksourceview/gtksourceview.h
 lib/girepository-1.0/GtkSource-300.typelib
 lib/libgedit-gtksourceview-300.so
-lib/libgedit-gtksourceview-300.so.3
+lib/libgedit-gtksourceview-300.so.4
 libdata/pkgconfig/libgedit-gtksourceview-300.pc
 share/gir-1.0/GtkSource-300.gir
 %%DATADIR%%-300/language-specs/R.lang