libraries/libdbusmenu: Updated for version 16.04.0.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Edinaldo P. Silva 2016-07-24 21:22:15 -05:00 committed by Willy Sudiarto Raharjo
parent 8dcbffd41a
commit 57cfe5ec1a
No known key found for this signature in database
GPG key ID: 887B8374D7333381
5 changed files with 11 additions and 61 deletions

View file

@ -1,7 +1,8 @@
libdbusmenu (library for passing menus over DBus) libdbusmenu (library for passing menus over DBus)
libdbusmenu is a small little library that was created by pulling out some comon libdbusmenu is a small little library that was created by
code out of indicator-applet. pulling some common code out of indicator-applet.
It passes a menu structure across DBus so that a program can create a menu simply It passes a menu structure across DBus so that a program
without worrying about how it is displayed on the other side of the bus. can create a menu simply without worrying about how it is
displayed on the other side of the bus.

View file

@ -1,26 +0,0 @@
--- a/tools/dbusmenu-dumper.c
+++ b/tools/dbusmenu-dumper.c
@@ -388,7 +388,10 @@
int
main (int argc, char ** argv)
{
+#if GLIB_VERSION_CUR_STABLE < G_ENCODE_VERSION(2, 36)
+ // g_type_init is deprecated after 2.36
g_type_init();
+#endif
GError * error = NULL;
GOptionContext * context;
--- a/tools/testapp/main.c
+++ b/tools/testapp/main.c
@@ -135,7 +135,10 @@
int main (int argc, char ** argv)
{
+#if GLIB_VERSION_CUR_STABLE < G_ENCODE_VERSION(2, 36)
+ // g_type_init is deprecated after 2.36
g_type_init();
+#endif
if (argc != 2) {
g_warning(USAGE);

View file

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
#
# Slackware build script for libdbusmenu. # Slackware build script for libdbusmenu.
#
# Copyright 2015 Edinaldo P. Silva, Rio de Janeiro, Brazil. # Copyright 2015 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved. # All rights reserved.
# #
@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libdbusmenu PRGNAM=libdbusmenu
VERSION=${VERSION:-12.10.2} VERSION=${VERSION:-16.04.0}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -69,9 +69,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
patch -p1 < $CWD/g_type_init.patch
patch -p1 < $CWD/reference-xinclude.patch
CFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \
./configure \ ./configure \

View file

@ -1,8 +1,8 @@
PRGNAM="libdbusmenu" PRGNAM="libdbusmenu"
VERSION="12.10.2" VERSION="16.04.0"
HOMEPAGE="https://launchpad.net/libdbusmenu/" HOMEPAGE="https://launchpad.net/libdbusmenu/"
DOWNLOAD="https://launchpad.net/libdbusmenu/12.10/12.10.2/+download/libdbusmenu-12.10.2.tar.gz" DOWNLOAD="https://launchpad.net/libdbusmenu/16.04/16.04.0/+download/libdbusmenu-16.04.0.tar.gz"
MD5SUM="e30fc986b447f62513d61225fa573a70" MD5SUM="3c05d53053b3ea69384b5f93d7a4c7c4"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="json-glib" REQUIRES="json-glib"

View file

@ -1,22 +0,0 @@
--- a/docs/libdbusmenu-glib/reference/libdbusmenu-glib-docs.sgml
+++ b/docs/libdbusmenu-glib/reference/libdbusmenu-glib-docs.sgml
@@ -15,9 +15,6 @@
<xi:include href="xml/menuitem-proxy.xml"/>
<xi:include href="xml/menuitem.xml"/>
<xi:include href="xml/client.xml"/>
- <xi:include href="xml/client-menuitem.xml"/>
- <xi:include href="xml/dbusmenu-client.xml"/>
- <xi:include href="xml/dbusmenu-server.xml"/>
<xi:include href="xml/types.xml"/>
</chapter>
--- a/docs/libdbusmenu-gtk/reference/libdbusmenu-gtk-docs.sgml
+++ b/docs/libdbusmenu-gtk/reference/libdbusmenu-gtk-docs.sgml
@@ -15,7 +15,6 @@
<xi:include href="xml/menuitem.xml"/>
<xi:include href="xml/client.xml"/>
<xi:include href="xml/parser.xml"/>
- <xi:include href="xml/serializablemenuitem.xml"/>
</chapter>
<chapter id="object-tree">