In the PLIST, I kept the old @pkgpath x11/tint entries even though it
has been quite awhile since the port was renamed tint -tint2.
This revision cleans up the /etc/xdg/tint2 entry compared to the prior
email.
Thanks
--
J. Scott Heppler
Index: x11/tint2/Makefile
===================================================================
RCS file: /cvs/ports/x11/tint2/Makefile,v
retrieving revision 1.17
diff -u -p -u -r1.17 Makefile
--- x11/tint2/Makefile 27 Mar 2022 16:23:07 -0000 1.17
+++ x11/tint2/Makefile 4 Nov 2022 20:19:16 -0000
@@ -2,11 +2,10 @@ ONLY_FOR_ARCHS= ${APM_ARCHS}
COMMENT= freedesktop-compliant panel
-V= 16.7
+V= 17.0.2
CATEGORIES= x11
DISTNAME= tint2-${V}
HOMEPAGE= https://gitlab.com/o9000/tint2/
-REVISION= 0
# GPLv2 only
PERMIT_PACKAGE= Yes
@@ -15,10 +14,9 @@ MASTER_SITES= https://gitlab.com/o9000/t
WANTLIB = Imlib2 X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama
WANTLIB += Xrandr Xrender atk-1.0 c cairo fontconfig freetype
-WANTLIB += gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0
-WANTLIB += gthread-2.0 gtk-x11-2.0 harfbuzz intl m pango-1.0
-WANTLIB += pangocairo-1.0 pangoft2-1.0 pthread rsvg-2
-WANTLIB += startup-notification-1 z
+WANTLIB += gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0 gthread-2.0
+WANTLIB += harfbuzz intl m pango-1.0 pangocairo-1.0 pangoft2-1.0 pthread
+WANTLIB += rsvg-2 startup-notification-1 z
BUILD_DEPENDS= devel/gettext,-tools
@@ -26,7 +24,7 @@ LIB_DEPENDS= devel/pango \
devel/startup-notification \
x11/gnome/librsvg \
graphics/imlib2 \
- x11/gtk+2
+ x11/gtk+3
MODULES= devel/cmake \
x11/gnome
Index: x11/tint2/distinfo
===================================================================
RCS file: /cvs/ports/x11/tint2/distinfo,v
retrieving revision 1.5
diff -u -p -u -r1.5 distinfo
--- x11/tint2/distinfo 18 Oct 2019 12:50:00 -0000 1.5
+++ x11/tint2/distinfo 4 Nov 2022 20:19:16 -0000
@@ -1,2 +1,2 @@
-SHA256 (tint2-16.7.tar.gz) = K34MBCW/H3f4l0jnKVqb3ABvGM4LWBSAIv4p4UBau28=
-SIZE (tint2-16.7.tar.gz) = 551146
+SHA256 (tint2-17.0.2.tar.gz) = +H8UfhdtMvMfEvwXN/dfVMTG93lhxqJhXvnWTLKc4kw=
+SIZE (tint2-17.0.2.tar.gz) = 553697
Index: x11/tint2/patches/patch-CMakeLists_txt
===================================================================
RCS file: /cvs/ports/x11/tint2/patches/patch-CMakeLists_txt,v
retrieving revision 1.5
diff -u -p -u -r1.5 patch-CMakeLists_txt
--- x11/tint2/patches/patch-CMakeLists_txt 11 Mar 2022 20:17:26 -0000
1.5
+++ x11/tint2/patches/patch-CMakeLists_txt 4 Nov 2022 20:19:16 -0000
@@ -1,7 +1,7 @@
Index: CMakeLists.txt
--- CMakeLists.txt.orig
+++ CMakeLists.txt
-@@ -289,8 +289,7 @@ set_target_properties( tint2 PROPERTIES LINK_FLAGS "-p
+@@ -292,8 +292,7 @@ target_link_libraries(tint2-send ${X11_LIBRARIES})
install( TARGETS tint2 DESTINATION bin )
install( FILES tint2.svg DESTINATION
${CMAKE_INSTALL_DATADIR}/icons/hicolor/scalable/apps )
install( FILES tint2.desktop DESTINATION
${CMAKE_INSTALL_DATADIR}/applications )
Index: x11/tint2/pkg/PLIST
===================================================================
RCS file: /cvs/ports/x11/tint2/pkg/PLIST,v
retrieving revision 1.8
diff -u -p -u -r1.8 PLIST
--- x11/tint2/pkg/PLIST 11 Mar 2022 20:17:26 -0000 1.8
+++ x11/tint2/pkg/PLIST 4 Nov 2022 20:19:16 -0000
@@ -1,4 +1,5 @@
@pkgpath x11/tint
+@pkgpath x11/tint
@bin bin/tint2
@bin bin/tint2conf
@man man/man1/tint2.1
@@ -44,6 +45,6 @@ share/locale/pl/LC_MESSAGES/tint2conf.mo
share/locale/ru/LC_MESSAGES/tint2conf.mo
share/locale/sr/LC_MESSAGES/tint2conf.mo
share/mime/packages/tint2conf.xml
-@tag update-desktop-database
@tag gtk-update-icon-cache %D/share/icons/hicolor
@tag update-mime-database
+@tag update-desktop-database