Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Mar 2026 15:30:53 +0000
From:      Don Lewis <truckman@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Cc:        Olivier Duchateau <duchateau.olivier@gmail.com>
Subject:   git: 9bbc918dbb5e - main - devel/manuals: new port
Message-ID:  <69c945ad.37393.345bf357@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by truckman:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9bbc918dbb5e7b795f926e275dbae7070a696aa6

commit 9bbc918dbb5e7b795f926e275dbae7070a696aa6
Author:     Olivier Duchateau <duchateau.olivier@gmail.com>
AuthorDate: 2026-03-29 14:54:13 +0000
Commit:     Don Lewis <truckman@FreeBSD.org>
CommitDate: 2026-03-29 15:29:45 +0000

    devel/manuals: new port
    
    New port: devel/manuals: browse, search GNOME developer documentation
    
    Manuals indexes your developer manuals and provides robust browsing
    and searching capabilities. It supports the devhelp documentation format
    used by many libraries integrating with the GTK platform.
    
    desktop-file-utils is not needed. (truckman)
    
    PR:             294103
---
 devel/Makefile                                  |  1 +
 devel/manuals/Makefile                          | 27 ++++++++++++++++++
 devel/manuals/distinfo                          |  3 ++
 devel/manuals/files/patch-meson.build           | 26 +++++++++++++++++
 devel/manuals/files/patch-src_manuals-window.ui | 13 +++++++++
 devel/manuals/files/patch-src_meson.build       | 10 +++++++
 devel/manuals/pkg-descr                         |  3 ++
 devel/manuals/pkg-plist                         | 38 +++++++++++++++++++++++++
 8 files changed, 121 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index d3b108ca8728..95b701b4179d 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1664,6 +1664,7 @@
     SUBDIR += magit
     SUBDIR += makedepend
     SUBDIR += malloy
+    SUBDIR += manuals
     SUBDIR += marisa-trie
     SUBDIR += marl
     SUBDIR += massif-visualizer
diff --git a/devel/manuals/Makefile b/devel/manuals/Makefile
new file mode 100644
index 000000000000..b7ad4312b0b7
--- /dev/null
+++ b/devel/manuals/Makefile
@@ -0,0 +1,27 @@
+PORTNAME=	manuals
+DISTVERSION=	49.0
+CATEGORIES=	devel gnome
+MASTER_SITES=	GNOME
+DIST_SUBDIR=	gnome
+
+MAINTAINER=	gnome@FreeBSD.org
+COMMENT=	Browse, search GNOME developer documentation
+WWW=		https://gitlab.gnome.org/GNOME/manuals
+
+LICENSE=	GPLv3+
+
+BUILD_DEPENDS=	appstreamcli:devel/appstream
+LIB_DEPENDS=	libgom-1.0.so:databases/gom \
+		libdex-1.so:devel/libdex \
+		libpanel-1.so:x11-toolkits/libpanel \
+		libwebkitgtk-6.0.so:www/webkit2-gtk@60 \
+		libfoundry-1.so:devel/foundry
+
+USES=		compiler:c11 gettext-tools gnome meson \
+		pkgconfig tar:xz
+USE_GNOME=	glib20 gtk40 libadwaita
+GLIB_SCHEMAS=	app.devsuite.Manuals.gschema.xml
+
+PORTSCOUT=	limit:^49\.
+
+.include <bsd.port.mk>
diff --git a/devel/manuals/distinfo b/devel/manuals/distinfo
new file mode 100644
index 000000000000..a637d80fc225
--- /dev/null
+++ b/devel/manuals/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1774714622
+SHA256 (gnome/manuals-49.0.tar.xz) = ed6446c4c2d29c2b9062b2a8ca7271cdbacfc78cfdb4fdcd0f3bc48d8c9e7f08
+SIZE (gnome/manuals-49.0.tar.xz) = 1262344
diff --git a/devel/manuals/files/patch-meson.build b/devel/manuals/files/patch-meson.build
new file mode 100644
index 000000000000..bcb1035fb164
--- /dev/null
+++ b/devel/manuals/files/patch-meson.build
@@ -0,0 +1,26 @@
+--- meson.build.orig	2025-09-13 00:58:35 UTC
++++ meson.build
+@@ -10,7 +10,6 @@ dex_req_version = '0.4'
+ 
+ adw_req_version = '1.7'
+ dex_req_version = '0.4'
+-flatpak_req_version = '1.0'
+ foundry_req_version = '1.0'
+ glib_req_version = '2.78'
+ gom_req_version = '0.4'
+@@ -20,7 +19,6 @@ dex_req = '>= @0@'.format(dex_req_version)
+ 
+ adw_req = '>= @0@'.format(adw_req_version)
+ dex_req = '>= @0@'.format(dex_req_version)
+-flatpak_req = '>= @0@'.format(flatpak_req_version)
+ foundry_req = '>= @0@'.format(foundry_req_version)
+ glib_req = '>= @0@'.format(glib_req_version)
+ gom_req = '>= @0@'.format(gom_req_version)
+@@ -30,7 +28,6 @@ dex_dep = dependency('libdex-1', version: dex_req)
+ 
+ adw_dep = dependency('libadwaita-1', version: adw_req)
+ dex_dep = dependency('libdex-1', version: dex_req)
+-flatpak_dep = dependency('flatpak', version: flatpak_req)
+ foundry_dep = dependency('libfoundry-1', version: foundry_req)
+ glib_dep = dependency('glib-2.0', version: glib_req)
+ gom_dep = dependency('gom-1.0', version: gom_req)
diff --git a/devel/manuals/files/patch-src_manuals-window.ui b/devel/manuals/files/patch-src_manuals-window.ui
new file mode 100644
index 000000000000..6fd4fe71a35f
--- /dev/null
+++ b/devel/manuals/files/patch-src_manuals-window.ui
@@ -0,0 +1,13 @@
+Hide Gtk.Button because the GNOME Software Developmen Kit on Flathub is
+only available for Linux.
+
+--- src/manuals-window.ui.orig	2025-09-13 00:58:35 UTC
++++ src/manuals-window.ui
+@@ -131,6 +131,7 @@ Or, press Ctrl+W to close the window</property>
+                             <property name="action-name">win.show-bundle-dialog</property>
+                             <property name="label" translatable="yes">Install Documentation…</property>
+                             <property name="halign">center</property>
++                            <property name="visible">false</property>
+                             <style>
+                               <class name="pill"/>
+                             </style>
diff --git a/devel/manuals/files/patch-src_meson.build b/devel/manuals/files/patch-src_meson.build
new file mode 100644
index 000000000000..71468aa9e059
--- /dev/null
+++ b/devel/manuals/files/patch-src_meson.build
@@ -0,0 +1,10 @@
+--- src/meson.build.orig	2025-09-13 00:58:35 UTC
++++ src/meson.build
+@@ -20,7 +20,6 @@ manuals_deps = [
+ manuals_deps = [
+   adw_dep,
+   dex_dep,
+-  flatpak_dep,
+   foundry_dep,
+   glib_dep,
+   gom_dep,
diff --git a/devel/manuals/pkg-descr b/devel/manuals/pkg-descr
new file mode 100644
index 000000000000..0f5ff5944709
--- /dev/null
+++ b/devel/manuals/pkg-descr
@@ -0,0 +1,3 @@
+Manuals indexes your developer manuals and provides robust browsing
+and searching capabilities. It supports the devhelp documentation format
+used by many libraries integrating with the GTK platform.
diff --git a/devel/manuals/pkg-plist b/devel/manuals/pkg-plist
new file mode 100644
index 000000000000..5bf06ba8860a
--- /dev/null
+++ b/devel/manuals/pkg-plist
@@ -0,0 +1,38 @@
+bin/manuals
+share/applications/app.devsuite.Manuals.desktop
+share/dbus-1/services/app.devsuite.Manuals.service
+share/icons/hicolor/scalable/apps/app.devsuite.Manuals.svg
+share/icons/hicolor/symbolic/apps/app.devsuite.Manuals-symbolic.svg
+share/locale/be/LC_MESSAGES/manuals.mo
+share/locale/bg/LC_MESSAGES/manuals.mo
+share/locale/ca/LC_MESSAGES/manuals.mo
+share/locale/cs/LC_MESSAGES/manuals.mo
+share/locale/da/LC_MESSAGES/manuals.mo
+share/locale/de/LC_MESSAGES/manuals.mo
+share/locale/en_GB/LC_MESSAGES/manuals.mo
+share/locale/eo/LC_MESSAGES/manuals.mo
+share/locale/es/LC_MESSAGES/manuals.mo
+share/locale/eu/LC_MESSAGES/manuals.mo
+share/locale/fa/LC_MESSAGES/manuals.mo
+share/locale/fi/LC_MESSAGES/manuals.mo
+share/locale/gl/LC_MESSAGES/manuals.mo
+share/locale/he/LC_MESSAGES/manuals.mo
+share/locale/hu/LC_MESSAGES/manuals.mo
+share/locale/ia/LC_MESSAGES/manuals.mo
+share/locale/ka/LC_MESSAGES/manuals.mo
+share/locale/ko/LC_MESSAGES/manuals.mo
+share/locale/lt/LC_MESSAGES/manuals.mo
+share/locale/nl/LC_MESSAGES/manuals.mo
+share/locale/oc/LC_MESSAGES/manuals.mo
+share/locale/pl/LC_MESSAGES/manuals.mo
+share/locale/pt/LC_MESSAGES/manuals.mo
+share/locale/pt_BR/LC_MESSAGES/manuals.mo
+share/locale/ro/LC_MESSAGES/manuals.mo
+share/locale/ru/LC_MESSAGES/manuals.mo
+share/locale/sk/LC_MESSAGES/manuals.mo
+share/locale/sl/LC_MESSAGES/manuals.mo
+share/locale/sv/LC_MESSAGES/manuals.mo
+share/locale/tr/LC_MESSAGES/manuals.mo
+share/locale/uk/LC_MESSAGES/manuals.mo
+share/locale/zh_CN/LC_MESSAGES/manuals.mo
+share/metainfo/app.devsuite.Manuals.metainfo.xml


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69c945ad.37393.345bf357>