pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libdbusmenu-tools: fix clang build, add vala dependency



Module Name:	pkgsrc-wip
Committed By:	youri <youri%NetBSD.org@localhost>
Pushed By:	youri
Date:		Thu Apr 7 18:28:54 2016 +0200
Changeset:	f54aa4df9e2881dd2695b1b5335dbe2d233466ef

Modified Files:
	libdbusmenu-tools/Makefile
Added Files:
	libdbusmenu-tools/distinfo
	libdbusmenu-tools/patches/patch-tools_dbusmenu-dumper.c
	libdbusmenu-tools/patches/patch-tools_testapp_main.c

Log Message:
libdbusmenu-tools: fix clang build, add vala dependency

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f54aa4df9e2881dd2695b1b5335dbe2d233466ef

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 libdbusmenu-tools/Makefile                              |  1 +
 libdbusmenu-tools/distinfo                              |  8 ++++++++
 libdbusmenu-tools/patches/patch-tools_dbusmenu-dumper.c | 14 ++++++++++++++
 libdbusmenu-tools/patches/patch-tools_testapp_main.c    | 15 +++++++++++++++
 4 files changed, 38 insertions(+)

diffs:
diff --git a/libdbusmenu-tools/Makefile b/libdbusmenu-tools/Makefile
index 0a01689..38633b3 100644
--- a/libdbusmenu-tools/Makefile
+++ b/libdbusmenu-tools/Makefile
@@ -26,6 +26,7 @@ REPLACE_PYTHON+=	tools/dbusmenu-bench
 .include "../../wip/libdbusmenu-glib/buildlink3.mk"
 .include "../../lang/python/application.mk"
 .include "../../devel/glib2/buildlink3.mk"
+.include "../../lang/vala/buildlink3.mk"
 .include "../../textproc/json-glib/buildlink3.mk"
 BUILDLINK_API_DEPENDS.libX11+=	libX11>=1.3
 .include "../../x11/libX11/buildlink3.mk"
diff --git a/libdbusmenu-tools/distinfo b/libdbusmenu-tools/distinfo
new file mode 100644
index 0000000..3b70ef4
--- /dev/null
+++ b/libdbusmenu-tools/distinfo
@@ -0,0 +1,8 @@
+$NetBSD$
+
+SHA1 (libdbusmenu-12.10.2.tar.gz) = 067b77564f90633aa58494e54b99d733a21f3142
+RMD160 (libdbusmenu-12.10.2.tar.gz) = bf424925750549d44d6fc2563caf37e73f21db3d
+SHA512 (libdbusmenu-12.10.2.tar.gz) = cf2e50dc3adbf35d0a4ccdd62a3efd9fae2d079b8d06e6522b70f077f89ac2cf72188e380f476e38d184b69549e90b801bf1e32174fa94bbe612dd52aec94496
+Size (libdbusmenu-12.10.2.tar.gz) = 735730 bytes
+SHA1 (patch-tools_dbusmenu-dumper.c) = 8cd35d4a127e5a889c7e785834ed8bb5a6e4ac58
+SHA1 (patch-tools_testapp_main.c) = dc479b3f4d9584ab8976fb59c5b8630d7bd9d217
diff --git a/libdbusmenu-tools/patches/patch-tools_dbusmenu-dumper.c b/libdbusmenu-tools/patches/patch-tools_dbusmenu-dumper.c
new file mode 100644
index 0000000..7723324
--- /dev/null
+++ b/libdbusmenu-tools/patches/patch-tools_dbusmenu-dumper.c
@@ -0,0 +1,14 @@
+$NetBSD$
+
+Remove deprecated function.
+
+--- tools/dbusmenu-dumper.c.orig	2012-10-03 15:54:22.000000000 +0000
++++ tools/dbusmenu-dumper.c
+@@ -388,7 +388,6 @@ static GOptionEntry general_options[] = 
+ int
+ main (int argc, char ** argv)
+ {
+-	g_type_init();
+ 	GError * error = NULL;
+ 	GOptionContext * context;
+ 
diff --git a/libdbusmenu-tools/patches/patch-tools_testapp_main.c b/libdbusmenu-tools/patches/patch-tools_testapp_main.c
new file mode 100644
index 0000000..6214e00
--- /dev/null
+++ b/libdbusmenu-tools/patches/patch-tools_testapp_main.c
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Remove deprecated function.
+
+--- tools/testapp/main.c.orig	2012-10-03 15:54:22.000000000 +0000
++++ tools/testapp/main.c
+@@ -135,8 +135,6 @@ name_lost (GDBusConnection * connection,
+ 
+ int main (int argc, char ** argv)
+ {
+-	g_type_init();
+-
+ 	if (argc != 2) {
+ 		g_warning(USAGE);
+ 		return 1;


Home | Main Index | Thread Index | Old Index