[Bug 283864] editors/gobby: Update to 0.6.0

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 05 Jan 2025 20:23:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283864

Yusuf Yaman <nxjoseph@protonmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #256443|0                           |1
        is obsolete|                            |

--- Comment #3 from Yusuf Yaman <nxjoseph@protonmail.com> ---
Created attachment 256452
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=256452&action=edit
editors/gobby.patch: Update to 0.6.0

Added some of LIB_DEPENDS to available USE_GNOME.
Remove cpe useflag as it seem unnecessary.
Rename manpage and binaries without version number.

Here is the diff (attached patch is whole patch)

diff --git a/editors/gobby/Makefile b/editors/gobby/Makefile
index 2c7dde337e74..2fe07f0c61e7 100644
--- a/editors/gobby/Makefile
+++ b/editors/gobby/Makefile
@@ -11,28 +11,27 @@ LICENSE=    ISCL
 LICENSE_FILE=  ${WRKSRC}/COPYING

 BUILD_DEPENDS= itstool:textproc/itstool
-LIB_DEPENDS=   libatkmm-1.6.so:accessibility/atkmm \
-               libcairomm-1.0.so:graphics/cairomm \
-               libgiomm-2.4.so:devel/glibmm \
-               libglibmm-2.4.so:devel/glibmm \
-               libgnutls.so:security/gnutls \
+LIB_DEPENDS=   libgnutls.so:security/gnutls \
                libgsasl.so:security/libgsasl \
-               libgtkmm-3.0.so:x11-toolkits/gtkmm30 \
-               libgtksourceview-3.0.so:x11-toolkits/gtksourceview3 \
                libinfgtk-0.7.so:textproc/libinfinity \
                libinfinity-0.7.so:textproc/libinfinity \
                libinftext-0.7.so:textproc/libinfinity \
-               libinftextgtk-0.7.so:textproc/libinfinity \
-               libpangomm-1.4.so:x11-toolkits/pangomm \
-               libsigc-2.0.so:devel/libsigc++20 \
-               libxml++-2.6.so:textproc/libxml++26
+               libinftextgtk-0.7.so:textproc/libinfinity

-USES=          compiler:c++11-lang cpe desktop-file-utils gettext gmake gnome
\
+USES=          compiler:c++11-lang desktop-file-utils gettext gmake gnome \
                pathfix pkgconfig
-CPE_VENDOR=    ${PORTNAME}_project
 USE_CXXSTD=    c++11
-USE_GNOME=     gtksourceview3 intltool
+USE_GNOME=     atkmm cairomm glibmm gtkmm30 gtksourceview3 intltool \
+               libsigc++20 libxml++26 pangomm

 GNU_CONFIGURE= yes

+post-install:
+       @cd ${STAGEDIR}${PREFIX}/bin && \
+               ${MV} gobby-0.5 \
+               gobby
+       @cd ${STAGEDIR}${PREFIX}/share/man/man1 && \
+               ${MV} gobby-0.5.1 \
+               gobby.1
+
 .include <bsd.port.mk>
diff --git a/editors/gobby/pkg-plist b/editors/gobby/pkg-plist
index dc7d11be3d82..061bb4e2f3f1 100644
--- a/editors/gobby/pkg-plist
+++ b/editors/gobby/pkg-plist
@@ -1,4 +1,4 @@
-bin/gobby-0.5
+bin/gobby
 share/applications/gobby-0.5.desktop
 share/glib-2.0/schemas/de.0x539.gobby.gschema.xml
 %%DATADIR%%-0.5/icons/HighContrastLargePrint/48x48/actions/chat.png
@@ -43,5 +43,5 @@ share/locale/it_IT/LC_MESSAGES/gobby05.mo
 share/locale/ja/LC_MESSAGES/gobby05.mo
 share/locale/pt_BR/LC_MESSAGES/gobby05.mo
 share/locale/zh_TW/LC_MESSAGES/gobby05.mo
-share/man/man1/gobby-0.5.1.gz
+share/man/man1/gobby.1.gz
 share/metainfo/gobby-0.5.metainfo.xml

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