1
0
forked from ports/contrib

libdbusmenu-glib: initial commit

This commit is contained in:
Tim Biermann 2019-08-04 16:15:51 +02:00
parent b3fd9c45e0
commit ac71904bce
Signed by untrusted user: tb
GPG Key ID: 42F8B4E30B673606
4 changed files with 72 additions and 0 deletions

View File

@ -0,0 +1,24 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/libdbusmenu-glib-0.4/
drwxr-xr-x root/root usr/include/libdbusmenu-glib-0.4/libdbusmenu-glib/
-rw-r--r-- root/root usr/include/libdbusmenu-glib-0.4/libdbusmenu-glib/client.h
-rw-r--r-- root/root usr/include/libdbusmenu-glib-0.4/libdbusmenu-glib/dbusmenu-glib.h
-rw-r--r-- root/root usr/include/libdbusmenu-glib-0.4/libdbusmenu-glib/enum-types.h
-rw-r--r-- root/root usr/include/libdbusmenu-glib-0.4/libdbusmenu-glib/menuitem-proxy.h
-rw-r--r-- root/root usr/include/libdbusmenu-glib-0.4/libdbusmenu-glib/menuitem.h
-rw-r--r-- root/root usr/include/libdbusmenu-glib-0.4/libdbusmenu-glib/server.h
-rw-r--r-- root/root usr/include/libdbusmenu-glib-0.4/libdbusmenu-glib/types.h
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/girepository-1.0/
-rw-r--r-- root/root usr/lib/girepository-1.0/Dbusmenu-0.4.typelib
-rw-r--r-- root/root usr/lib/libdbusmenu-glib.a
-rwxr-xr-x root/root usr/lib/libdbusmenu-glib.la
lrwxrwxrwx root/root usr/lib/libdbusmenu-glib.so -> libdbusmenu-glib.so.4.0.12
lrwxrwxrwx root/root usr/lib/libdbusmenu-glib.so.4 -> libdbusmenu-glib.so.4.0.12
-rwxr-xr-x root/root usr/lib/libdbusmenu-glib.so.4.0.12
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/dbusmenu-glib-0.4.pc
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/gir-1.0/
-rw-r--r-- root/root usr/share/gir-1.0/Dbusmenu-0.4.gir

View File

@ -0,0 +1,6 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3yw/ecl+5RGB0L3ejFZoPtVtDrmQgfLu9XFAx0BObuI1EEa9N+mBkIaDMcH4WrmDv03/6DQ0D399bD4cy7h8owQ=
SHA256 (Pkgfile) = ad3625d2d85f9ec3c98daa796ec06fa10a49787a8996665f519f4b4c0c94250f
SHA256 (.footprint) = 590077021c94af24ace6ad1e6f9d0c0459da9716d4a44a490f1efd41a8c596b8
SHA256 (libdbusmenu_18.10.20180917~bzr490+repack1.orig.tar.xz) = f670bc86ea5ae1488b2405f371ceb870ce353127578f9b0aed2862cbbc42053b
SHA256 (0001_no-deprecated-gnome-common-macros.patch) = a65626ad3dd26a81037332d881736587929c7f8935cd34d2fc3e7f4a988d5a72

View File

@ -0,0 +1,12 @@
Description: Drop deprecated gnome-common variables.
Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
--- a/autogen.sh
+++ b/autogen.sh
@@ -9,6 +9,4 @@
gtkdocize || exit 1
-USE_GNOME2_MACROS=1 \
-USE_COMMON_DOC_BUILD=yes \
gnome-autogen.sh --enable-gtk-doc $@

30
libdbusmenu-glib/Pkgfile Normal file
View File

@ -0,0 +1,30 @@
# Description: Library for passing menus over DBus - Glib part
# URL: https://launchpad.net/libdbusmenu
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: glib gnome-common gtk-doc intltool
name=libdbusmenu-glib
version=18.10
release=1
source=(http://cdn-fastly.deb.debian.org/debian/pool/main/libd/libdbusmenu/libdbusmenu_18.10.20180917~bzr490+repack1.orig.tar.xz
0001_no-deprecated-gnome-common-macros.patch)
build() {
cd libdbusmenu-18.10.20180917~bzr490
export HAVE_VALGRIND_TRUE='#'
export HAVE_VALGRIND_FALSE=''
patch -Np1 -i $SRC/0001_no-deprecated-gnome-common-macros.patch
sed -e 's/-Werror -Wno-error=deprecated-declarations//g' -i libdbusmenu-{glib,gtk}/Makefile.am
sed -e 's/gtkdocize || exit 1//g' -i autogen.sh
sed -e 's/--enable-gtk-doc//g' -i autogen.sh
./autogen.sh --prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib/$name \
--localstatedir=/var \
--disable-{dumper,tests,nls,gtk}
make -j1
make DESTDIR=$PKG -C libdbusmenu-glib -j1 install
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
}