Yad migrated to github https://github.com/v1cont/yad/releases
The attached *.diff updates to the latest release. It builds and runs on amd64 and I tested my existing scripts. Webkitgtk has also been updated but I did not configure -html. I personally do not use the --html feature but am open to adding it. As it stands, the update offers the same functionality as the current port only with the current code base. I tried to use CONFIGURE_STYLE = autoreconf but it would not build. See: https://marc.info/?l=openbsd-ports&m=157715985013387&w=2 Comments, testing and consideration for submission appreciated. -- J. Scott Heppler
Index: yad/Makefile =================================================================== RCS file: /cvs/ports/x11/yad/Makefile,v retrieving revision 1.19 diff -u -p -u -p -r1.19 Makefile --- yad/Makefile 12 Jul 2019 21:02:30 -0000 1.19 +++ yad/Makefile 24 Dec 2019 21:19:49 -0000 @@ -2,34 +2,51 @@ COMMENT= display graphical dialogs from shell scripts or command line -DISTNAME= yad-0.40.0 -CATEGORIES= x11 -REVISION= 1 +V= 5.0 +CATEGORIES= x11 +DISTNAME= yad-${V} +EXTRACT_SUFX= .tar.xz -HOMEPAGE= http://sourceforge.net/projects/yad-dialog/ +HOMEPAGE= https://github.com/v1cont/yad + +MASTER_SITES= https://github.com/v1cont/yad/releases/download/v$V/ # GPLv3 -PERMIT_PACKAGE= Yes +PERMIT_PACKAGE= Yes -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=yad-dialog/} -EXTRACT_SUFX= .tar.xz WANTLIB += atk-1.0 c cairo cairo-gobject gdk-3 gdk_pixbuf-2.0 -WANTLIB += gio-2.0 glib-2.0 gobject-2.0 gtk-3 intl pango-1.0 pangocairo-1.0 -WANTLIB += pthread fribidi +WANTLIB += gio-2.0 glib-2.0 gobject-2.0 gtk-3 harfbuzz intl pango-1.0 +WANTLIB += pangocairo-1.0 pthread -MODULES= textproc/intltool +MODULES= devel/dconf \ + textproc/intltool +CONFIGURE_STYLE= gnu USE_GMAKE= Yes + LIB_DEPENDS= devel/gettext,-runtime \ x11/gtk+3 RUN_DEPENDS= x11/gtk+3,-guic -CONFIGURE_STYLE= gnu -CONFIGURE_ARGS= --with-gtk=gtk3 \ +AUTOCONF_VERSION= 2.69 +AUTOMAKE_VERSION= 1.14 + +do-gen: + cd ${WRKSRC} && \ + ${SETENV} \ + AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \ + AUTOCONF_VERSION=${AUTOCONF_VERSION} \ + autoreconf -ivf && libtoolize + +CONFIGURE_ARGS= --localstatedir=/var/run \ + --mandir=${LOCALBASE} \ + --with-gtk=gtk3 \ --disable-html \ - --with-rgb=${X11BASE}/share/X11/rgb.txt + --with-rgb=${X11BASE}/share/X11/rgb.txt \ + --disable-schemas-compile + CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" Index: yad/distinfo =================================================================== RCS file: /cvs/ports/x11/yad/distinfo,v retrieving revision 1.11 diff -u -p -u -p -r1.11 distinfo --- yad/distinfo 28 Apr 2018 13:18:18 -0000 1.11 +++ yad/distinfo 24 Dec 2019 21:19:49 -0000 @@ -1,2 +1,2 @@ -SHA256 (yad-0.40.0.tar.xz) = wtC30bbToIdymfqgDbddWMl0+B/OctUgo6hOZ9HWDvQ= -SIZE (yad-0.40.0.tar.xz) = 263332 +SHA256 (yad-5.0.tar.xz) = bXAI9ywrmx+3HNrkOZ8+avYXuxsq6xN2ryPhp6IZl7c= +SIZE (yad-5.0.tar.xz) = 274632 Index: yad/pkg/PLIST =================================================================== RCS file: /cvs/ports/x11/yad/pkg/PLIST,v retrieving revision 1.6 diff -u -p -u -p -r1.6 PLIST --- yad/pkg/PLIST 29 Jun 2018 22:16:37 -0000 1.6 +++ yad/pkg/PLIST 24 Dec 2019 21:19:49 -0000 @@ -1,7 +1,10 @@ @comment $OpenBSD: PLIST,v 1.6 2018/06/29 22:16:37 espie Exp $ +@bin bin/pfd @bin bin/yad +@man man/man1/pfd.1 @man man/man1/yad.1 share/aclocal/yad.m4 +share/glib-2.0/schemas/yad.gschema.xml share/icons/hicolor/128x128/apps/yad.png share/icons/hicolor/16x16/apps/yad.png share/icons/hicolor/24x24/apps/yad.png @@ -9,6 +12,7 @@ share/icons/hicolor/32x32/apps/yad.png share/icons/hicolor/48x48/apps/yad.png share/icons/hicolor/96x96/apps/yad.png share/locale/de/LC_MESSAGES/yad.mo +share/locale/es/LC_MESSAGES/yad.mo share/locale/fr/LC_MESSAGES/yad.mo share/locale/it/LC_MESSAGES/yad.mo share/locale/pt_BR/LC_MESSAGES/yad.mo @@ -17,3 +21,4 @@ share/locale/sk/LC_MESSAGES/yad.mo share/locale/uk/LC_MESSAGES/yad.mo share/locale/zh_TW/LC_MESSAGES/yad.mo @tag gtk-update-icon-cache %D/share/icons/hicolor +@tag glib-compile-schemas