mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
libraries/libdbusmenu: Updated for version 16.04.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
8dcbffd41a
commit
57cfe5ec1a
5 changed files with 11 additions and 61 deletions
|
@ -1,7 +1,8 @@
|
|||
libdbusmenu (library for passing menus over DBus)
|
||||
|
||||
libdbusmenu is a small little library that was created by pulling out some comon
|
||||
code out of indicator-applet.
|
||||
libdbusmenu is a small little library that was created by
|
||||
pulling some common code out of indicator-applet.
|
||||
|
||||
It passes a menu structure across DBus so that a program can create a menu simply
|
||||
without worrying about how it is displayed on the other side of the bus.
|
||||
It passes a menu structure across DBus so that a program
|
||||
can create a menu simply without worrying about how it is
|
||||
displayed on the other side of the bus.
|
||||
|
|
|
@ -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);
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
|
||||
# Slackware build script for libdbusmenu.
|
||||
#
|
||||
|
||||
# Copyright 2015 Edinaldo P. Silva, Rio de Janeiro, Brazil.
|
||||
# All rights reserved.
|
||||
#
|
||||
|
@ -23,7 +23,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=libdbusmenu
|
||||
VERSION=${VERSION:-12.10.2}
|
||||
VERSION=${VERSION:-16.04.0}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -69,9 +69,6 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
patch -p1 < $CWD/g_type_init.patch
|
||||
patch -p1 < $CWD/reference-xinclude.patch
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="libdbusmenu"
|
||||
VERSION="12.10.2"
|
||||
VERSION="16.04.0"
|
||||
HOMEPAGE="https://launchpad.net/libdbusmenu/"
|
||||
DOWNLOAD="https://launchpad.net/libdbusmenu/12.10/12.10.2/+download/libdbusmenu-12.10.2.tar.gz"
|
||||
MD5SUM="e30fc986b447f62513d61225fa573a70"
|
||||
DOWNLOAD="https://launchpad.net/libdbusmenu/16.04/16.04.0/+download/libdbusmenu-16.04.0.tar.gz"
|
||||
MD5SUM="3c05d53053b3ea69384b5f93d7a4c7c4"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="json-glib"
|
||||
|
|
|
@ -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">
|
Loading…
Reference in a new issue