ports/181790: x11/yad update
Danilo Egêa Gondolfo
danilogondolfo at gmail.com
Wed Sep 4 04:10:00 UTC 2013
>Number: 181790
>Category: ports
>Synopsis: x11/yad update
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed Sep 04 04:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Danilo Egêa Gondolfo
>Release: FreeBSD 9.2-RC3
>Organization:
>Environment:
FreeBSD mac 9.2-RC3 FreeBSD 9.2-RC3 #3 r254983: Tue Aug 27 23:55:24 BRT 2013 root at mac:/usr/obj/usr/src/sys/MAC amd64
>Description:
Changes
- Updated from 0.22.1 to 0.23.0
- Added header
- Options changed to options helpers
- Added YAD Icon Browser option
Changelog: https://code.google.com/p/yad/source/browse/trunk/ChangeLog?spec=svn687&r=687
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: Makefile
===================================================================
--- Makefile (revision 326242)
+++ Makefile (working copy)
@@ -1,7 +1,8 @@
+# Created by: Danilo Egea Gondolfo <danilogondolfo at gmail.com>
# $FreeBSD$
PORTNAME= yad
-PORTVERSION= 0.22.1
+PORTVERSION= 0.23.0
CATEGORIES= x11 gnome
MASTER_SITES= GOOGLE_CODE
@@ -17,7 +18,9 @@
MAN1= yad.1
-OPTIONS_DEFINE= NLS
+OPTIONS_DEFINE= NLS ICONBROWSER
+ICONBROWSER_DESC= Build YAD icon browser
+OPTIONS_SUB= yes
OPTIONS_SINGLE= GTK
OPTIONS_SINGLE_GTK= GTK2 GTK3
@@ -24,26 +27,20 @@
OPTIONS_DEFAULT= GTK2
+NLS_CONFIGURE_OFF= --disable-nls
+NLS_USES= gettext
+GTK2_CONFIGURE_ON= --with-gtk=gtk2
+GTK3_CONFIGURE_ON= --with-gtk=gtk3
+ICONBROWSER_CONFIGURE_ENABLE= icon-browser
+
.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MNLS}
-PLIST_SUB+= NLS=""
-USES+= gettext
+.if ${PORT_OPTIONS:MGTK2}
+USE_GNOME= gtk20
.else
-PLIST_SUB+= NLS="@comment "
-CONFIGURE_ARGS+= --disable-nls
-.endif
-
-.if ${PORT_OPTIONS:MGTK3}
USE_GNOME= gtk30
-CONFIGURE_ARGS+= --with-gtk=gtk3
.endif
-.if ${PORT_OPTIONS:MGTK2}
-USE_GNOME= gtk20
-CONFIGURE_ARGS+= --with-gtk=gtk2
-.endif
-
post-configure:
.if empty(PORT_OPTIONS:MNLS)
@${REINPLACE_CMD} -e '/^SUBDIRS =/ s/ po//' ${WRKSRC}/Makefile
Index: distinfo
===================================================================
--- distinfo (revision 326242)
+++ distinfo (working copy)
@@ -1,2 +1,2 @@
-SHA256 (yad-0.22.1.tar.xz) = 4dd9239ac0905c5d6e856725b16420322d27ef1a05aa7ee1ac45ef1a3a37b8e3
-SIZE (yad-0.22.1.tar.xz) = 223788
+SHA256 (yad-0.23.0.tar.xz) = ba84fe2953f398df5b091d7e863412c792a56f995319b1313e70c5579de1cdda
+SIZE (yad-0.23.0.tar.xz) = 224404
Index: pkg-plist
===================================================================
--- pkg-plist (revision 326242)
+++ pkg-plist (working copy)
@@ -13,3 +13,5 @@
%%NLS%%share/locale/sk/LC_MESSAGES/yad.mo
%%NLS%%share/locale/uk/LC_MESSAGES/yad.mo
%%NLS%%share/locale/zh_TW/LC_MESSAGES/yad.mo
+%%ICONBROWSER%%bin/yad-icon-browser
+%%ICONBROWSER%%share/applications/yad-icon-browser.desktop
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list