1
0
forked from ports/contrib

libdbusmenu-gtk2: initial commit

This commit is contained in:
Tim Biermann 2019-08-04 16:15:51 +02:00
parent ac71904bce
commit 33ad6e88e9
Signed by untrusted user: tb
GPG Key ID: 42F8B4E30B673606
4 changed files with 73 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/
drwxr-xr-x root/root usr/include/libdbusmenu-gtk-0.4/
drwxr-xr-x root/root usr/include/libdbusmenu-gtk-0.4/libdbusmenu-gtk/
-rw-r--r-- root/root usr/include/libdbusmenu-gtk-0.4/libdbusmenu-gtk/client.h
-rw-r--r-- root/root usr/include/libdbusmenu-gtk-0.4/libdbusmenu-gtk/dbusmenu-gtk.h
-rw-r--r-- root/root usr/include/libdbusmenu-gtk-0.4/libdbusmenu-gtk/menu.h
-rw-r--r-- root/root usr/include/libdbusmenu-gtk-0.4/libdbusmenu-gtk/menuitem.h
-rw-r--r-- root/root usr/include/libdbusmenu-gtk-0.4/libdbusmenu-gtk/parser.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/DbusmenuGtk-0.4.typelib
-rw-r--r-- root/root usr/lib/libdbusmenu-gtk.a
-rwxr-xr-x root/root usr/lib/libdbusmenu-gtk.la
lrwxrwxrwx root/root usr/lib/libdbusmenu-gtk.so -> libdbusmenu-gtk.so.4.0.12
lrwxrwxrwx root/root usr/lib/libdbusmenu-gtk.so.4 -> libdbusmenu-gtk.so.4.0.12
-rwxr-xr-x root/root usr/lib/libdbusmenu-gtk.so.4.0.12
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/dbusmenu-gtk-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/DbusmenuGtk-0.4.gir

View File

@ -0,0 +1,6 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF30vabE05b0ZB2bmdeuJI975z+Zg9uGmYDs6JRGrjjilIppb59Hwm07xLMhfivsJ/h5vozGVRmg4vDgp021/FogE=
SHA256 (Pkgfile) = f8dc5f94ce2396da0e3d1f69ebdc086da213ea38983291cd81b083725e7c8c0a
SHA256 (.footprint) = 5bec7509fcf384613bbe208ce5d8551fb2d980836cc383af18e08c5ca58ef981
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 $@

31
libdbusmenu-gtk2/Pkgfile Normal file
View File

@ -0,0 +1,31 @@
# Description: Library for passing menus over DBus - gtk2 Files
# URL: https://launchpad.net/libdbusmenu
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: graphite2 gtk json-glib libdbusmenu-glib util-linux xorg-libxdamage
name=libdbusmenu-gtk2
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
patch -Np1 -i $SRC/0001_no-deprecated-gnome-common-macros.patch
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 \
--with-gtk=2
make -j1
make DESTDIR=$PKG -C libdbusmenu-glib install
make DESTDIR=$PKG -C libdbusmenu-gtk install
make DESTDIR=$PKG -C libdbusmenu-glib uninstall
rm -fr $PKG/usr/share/doc
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
}