The attached diff and tarball update tint2 to the latest stable version.
Using clang4.0, it compiled without patches or errors.

Passed portcheck and tested on amd64 with several example config files. --
J. Scott Heppler
? 0
Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/tint2/Makefile,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 Makefile
--- Makefile    26 Nov 2016 02:06:16 -0000      1.5
+++ Makefile    2 Aug 2017 23:59:34 -0000
@@ -2,12 +2,11 @@
 
 COMMENT=        freedesktop-compliant panel
 
-V=             0.12.2
-REVISION=      2
+V=             0.14.6
 CATEGORIES=    x11
 DISTNAME=      tint2-$V
 DISTFILES=     ${DISTNAME}${EXTRACT_SUFX}{archive${EXTRACT_SUFX}?ref=v$V}
-WRKDIST=       ${WRKDIR}/tint2-v$V-dc300c021531f47cca336e15b50adf3b4a9bc9ae
+WRKDIST=       ${WRKDIR}/tint2-v$V-8046600a552774253939b8a83bdd3fc0e60dacec
 INSTDIR=       ${PREFIX}/tint2
 
 HOMEPAGE=      https://gitlab.com/o9000/tint2/
@@ -45,10 +44,8 @@ NO_TEST=     Yes
 CONFIGURE_ARGS= -DMANDIR="${PREFIX}/man"
 
 post-install:
-       cp -R ${WRKSRC}/sample/ ${PREFIX}/share/examples/tint2/
-       sed -i -e '/\/usr\/local\/share\/applications/d' -e \
-           's,/usr/share/applications,${LOCALBASE}/share/applications,g' \
-           ${PREFIX}/share/examples/tint2/*tint2rc
-       rm ${PREFIX}/share/tint2/*.tint2rc
+               cp -R ${PREFIX}/share/tint2/ ${PREFIX}/share/examples/tint2/
+               rm ${PREFIX}/share/tint2/*.tint2rc
+               rm ${PREFIX}/share/examples/tint2/*.png
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/x11/tint2/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 distinfo
--- distinfo    11 Sep 2015 14:14:07 -0000      1.1.1.1
+++ distinfo    2 Aug 2017 23:59:34 -0000
@@ -1,2 +1,2 @@
-SHA256 (tint2-0.12.2.tar.gz) = vanMkT1Ln9QTKF6jRGasFJVZ6emTjhKfRqZkwxEBM0U=
-SIZE (tint2-0.12.2.tar.gz) = 229320
+SHA256 (tint2-0.14.6.tar.gz) = F3Dio33IBmozr3OFuhu+dAUQG87Y6fx+6V1IzvU801E=
+SIZE (tint2-0.14.6.tar.gz) = 466533
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/x11/tint2/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 PLIST
--- pkg/PLIST   11 Sep 2015 14:14:07 -0000      1.1.1.1
+++ pkg/PLIST   2 Aug 2017 23:59:34 -0000
@@ -1,4 +1,4 @@
-@comment $OpenBSD: PLIST,v 1.1.1.1 2015/09/11 14:14:07 sthen Exp $
+@comment $OpenBSD$
 @pkgpath x11/tint
 @bin bin/tint2
 @bin bin/tint2conf
@@ -9,8 +9,16 @@ share/doc/tint2/
 share/doc/tint2/AUTHORS
 share/doc/tint2/ChangeLog
 share/doc/tint2/README.md
+share/doc/tint2/html/
+share/doc/tint2/html/images/
+share/doc/tint2/html/images/panel_padding.jpg
+share/doc/tint2/html/images/panel_size_margin.jpg
+share/doc/tint2/html/images/task_padding.jpg
+share/doc/tint2/html/images/taskbar_padding.jpg
+share/doc/tint2/html/manual.html
+share/doc/tint2/html/readme.html
+share/doc/tint2/tint2.md
 share/examples/tint2/
-@sample ${SYSCONFDIR}/xdg/
 share/examples/tint2/horizontal-dark-opaque.tint2rc
 share/examples/tint2/horizontal-dark-transparent.tint2rc
 share/examples/tint2/horizontal-light-opaque.tint2rc
@@ -31,20 +39,20 @@ share/examples/tint2/text_only_3.tint2rc
 share/examples/tint2/text_only_4.tint2rc
 share/examples/tint2/text_only_5.tint2rc
 share/examples/tint2/text_only_6.tint2rc
-share/examples/tint2/tint2rc
-@sample ${SYSCONFDIR}/xdg/tint2/
-@sample ${SYSCONFDIR}/xdg/tint2/tint2rc
 share/examples/tint2/vertical-dark-opaque.tint2rc
 share/examples/tint2/vertical-dark-transparent.tint2rc
 share/examples/tint2/vertical-light-opaque.tint2rc
 share/examples/tint2/vertical-light-transparent.tint2rc
+share/examples/tint2/vertical-neutral-icons.tint2rc
 share/icons/hicolor/scalable/apps/tint2.svg
 share/icons/hicolor/scalable/apps/tint2conf.svg
 share/locale/bs/LC_MESSAGES/tint2conf.mo
 share/locale/fr/LC_MESSAGES/tint2conf.mo
 share/locale/hr/LC_MESSAGES/tint2conf.mo
 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
 share/tint2/
 share/tint2/default_icon.png
 @exec %D/bin/update-desktop-database

Attachment: tint2-0.14.6.tar.gz
Description: application/tar-gz

Reply via email to