Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Oct 2012 22:23:20 +0000 (UTC)
From:      Renato Botelho <garga@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r305226 - in head/x11: . yad yad/files
Message-ID:  <201210032223.q93MNKIP003331@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: garga
Date: Wed Oct  3 22:23:20 2012
New Revision: 305226
URL: http://svn.freebsd.org/changeset/ports/305226

Log:
  Yad (yet another dialog) is a fork of Zenity with
  many improvements, such as custom buttons, additional
  dialogs, pop-up menu in notification icon and more.
  
  PR:		ports/172257

Added:
  head/x11/yad/
  head/x11/yad/Makefile   (contents, props changed)
  head/x11/yad/distinfo   (contents, props changed)
  head/x11/yad/files/
  head/x11/yad/files/patch-src__util.c   (contents, props changed)
  head/x11/yad/files/patch-src__yad.h   (contents, props changed)
  head/x11/yad/pkg-descr   (contents, props changed)
  head/x11/yad/pkg-plist   (contents, props changed)
Modified:
  head/x11/Makefile

Modified: head/x11/Makefile
==============================================================================
--- head/x11/Makefile	Wed Oct  3 22:19:13 2012	(r305225)
+++ head/x11/Makefile	Wed Oct  3 22:23:20 2012	(r305226)
@@ -472,6 +472,7 @@
     SUBDIR += xwud
     SUBDIR += xxkb
     SUBDIR += xzoom
+    SUBDIR += yad
     SUBDIR += yakuake
     SUBDIR += yakuake-kde4
     SUBDIR += yalias

Added: head/x11/yad/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/yad/Makefile	Wed Oct  3 22:23:20 2012	(r305226)
@@ -0,0 +1,54 @@
+# $FreeBSD$
+
+PORTNAME=	yad
+PORTVERSION=	0.17.1.1
+CATEGORIES=	x11 gnome
+MASTER_SITES=	GOOGLE_CODE
+
+MAINTAINER=	danilogondolfo@gmail.com
+COMMENT=	Display GNOME dialogs from the command line
+
+USE_GMAKE=	yes
+USE_XZ=		yes
+GNU_CONFIGURE=	yes
+INSTALLS_OMF=	yes
+INSTALLS_ICONS=	yes
+CONFIGURE_ENV+=	DATADIRNAME=share
+
+MAKE_JOBS_SAFE=	yes
+
+MAN1=	yad.1
+
+OPTIONS_DEFINE=	NLS
+
+OPTIONS_SINGLE=	GTK
+OPTIONS_SINGLE_GTK=	GTK2 GTK3
+
+OPTIONS_DEFAULT=	GTK2
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
+PLIST_SUB+=	NLS=""
+USE_GETTEXT=	yes
+.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
+.endif
+
+.include <bsd.port.mk>

Added: head/x11/yad/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/yad/distinfo	Wed Oct  3 22:23:20 2012	(r305226)
@@ -0,0 +1,2 @@
+SHA256 (yad-0.17.1.1.tar.xz) = eeaef10438dfb7f0d8d76598cd63735ade6957e767d8d7648174c72010e099fe
+SIZE (yad-0.17.1.1.tar.xz) = 207032

Added: head/x11/yad/files/patch-src__util.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/yad/files/patch-src__util.c	Wed Oct  3 22:23:20 2012	(r305226)
@@ -0,0 +1,12 @@
+--- ../yad-0.17.1.1-a/src/util.c       2012-02-28 07:18:06.000000000 -0300
++++ src/util.c 2012-10-01 17:09:25.640983063 -0300
+@@ -187,7 +187,7 @@
+   return pb;
+ }
+ 
+-inline void
++void
+ strip_new_line (gchar *str)
+ {
+   gint nl = strlen (str) - 1;
+diff -ruN ../yad-0.17.1.1-a/src/yad.h src/yad.h

Added: head/x11/yad/files/patch-src__yad.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/yad/files/patch-src__yad.h	Wed Oct  3 22:23:20 2012	(r305226)
@@ -0,0 +1,11 @@
+--- ../yad-0.17.1.1-a/src/yad.h        2012-02-28 07:09:00.000000000 -0300
++++ src/yad.h  2012-10-01 17:09:46.007019884 -0300
+@@ -395,7 +395,7 @@
+ 
+ GdkPixbuf * get_pixbuf (gchar *name, YadIconSize size);
+ 
+-inline void strip_new_line (gchar *str);
++void strip_new_line (gchar *str);
+ gchar **split_arg (const gchar *str);
+ 
+ char *escape_markup (char *str);

Added: head/x11/yad/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/yad/pkg-descr	Wed Oct  3 22:23:20 2012	(r305226)
@@ -0,0 +1,3 @@
+Yad (yet another dialog) is a fork of Zenity with
+many improvements, such as custom buttons, additional
+dialogs, pop-up menu in notification icon and more.

Added: head/x11/yad/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/yad/pkg-plist	Wed Oct  3 22:23:20 2012	(r305226)
@@ -0,0 +1,14 @@
+bin/yad
+share/aclocal/yad.m4
+share/icons/hicolor/128x128/apps/yad.png
+share/icons/hicolor/16x16/apps/yad.png
+share/icons/hicolor/24x24/apps/yad.png
+share/icons/hicolor/32x32/apps/yad.png
+share/icons/hicolor/48x48/apps/yad.png
+share/icons/hicolor/96x96/apps/yad.png
+%%NLS%%share/locale/de/LC_MESSAGES/yad.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/yad.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/yad.mo
+%%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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210032223.q93MNKIP003331>