summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Rawlins <monster.romster@gmail.com>2019-08-27 00:02:12 +1000
committerDanny Rawlins <monster.romster@gmail.com>2019-08-27 00:02:12 +1000
commitf86abd4190bc02b7b17dab65dbbd0f14956e5fb8 (patch)
tree166839282f48b665285a2716cb71b29ccea80103
parentbb2b71fa13bcfa7ffc4546818872a87a9ee98ed1 (diff)
downloadcompat-32-f86abd4190bc02b7b17dab65dbbd0f14956e5fb8.tar.gz
compat-32-f86abd4190bc02b7b17dab65dbbd0f14956e5fb8.tar.xz
libdbusmenu-glib-32: initial import
-rw-r--r--libdbusmenu-glib-32/.32bit0
-rw-r--r--libdbusmenu-glib-32/.footprint9
-rw-r--r--libdbusmenu-glib-32/.signature6
-rw-r--r--libdbusmenu-glib-32/0001_no-deprecated-gnome-common-macros.patch12
-rw-r--r--libdbusmenu-glib-32/Pkgfile37
5 files changed, 64 insertions, 0 deletions
diff --git a/libdbusmenu-glib-32/.32bit b/libdbusmenu-glib-32/.32bit
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/libdbusmenu-glib-32/.32bit
diff --git a/libdbusmenu-glib-32/.footprint b/libdbusmenu-glib-32/.footprint
new file mode 100644
index 00000000..212d1dae
--- /dev/null
+++ b/libdbusmenu-glib-32/.footprint
@@ -0,0 +1,9 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/lib32/
+-rw-r--r-- root/root usr/lib32/libdbusmenu-glib.a
+-rwxr-xr-x root/root usr/lib32/libdbusmenu-glib.la
+lrwxrwxrwx root/root usr/lib32/libdbusmenu-glib.so -> libdbusmenu-glib.so.4.0.12
+lrwxrwxrwx root/root usr/lib32/libdbusmenu-glib.so.4 -> libdbusmenu-glib.so.4.0.12
+-rwxr-xr-x root/root usr/lib32/libdbusmenu-glib.so.4.0.12
+drwxr-xr-x root/root usr/lib32/pkgconfig/
+-rw-r--r-- root/root usr/lib32/pkgconfig/dbusmenu-glib-0.4.pc
diff --git a/libdbusmenu-glib-32/.signature b/libdbusmenu-glib-32/.signature
new file mode 100644
index 00000000..f344e208
--- /dev/null
+++ b/libdbusmenu-glib-32/.signature
@@ -0,0 +1,6 @@
+untrusted comment: verify with /etc/ports/compat-32.pub
+RWSwxGo/zH7eXSCmMoNtEiyFBSsNSf+5Y2Hfieqy+0wAJnCR7mcl1T5sQVfXg2Q+M1VLy2+9KkCrucRiDRUyLz04lItLWp53swM=
+SHA256 (Pkgfile) = 4fb8e2a135cc8b2a153605d12dafb30c9381279f7f127c434150b6bf4a723118
+SHA256 (.footprint) = 163ce6f24154c47e4477265fb08766e9ec8806f8bbd3dabea92f7e6393a3edeb
+SHA256 (libdbusmenu_18.10.20180917~bzr490+repack1.orig.tar.xz) = f670bc86ea5ae1488b2405f371ceb870ce353127578f9b0aed2862cbbc42053b
+SHA256 (0001_no-deprecated-gnome-common-macros.patch) = a65626ad3dd26a81037332d881736587929c7f8935cd34d2fc3e7f4a988d5a72
diff --git a/libdbusmenu-glib-32/0001_no-deprecated-gnome-common-macros.patch b/libdbusmenu-glib-32/0001_no-deprecated-gnome-common-macros.patch
new file mode 100644
index 00000000..fbe7ca33
--- /dev/null
+++ b/libdbusmenu-glib-32/0001_no-deprecated-gnome-common-macros.patch
@@ -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 $@
diff --git a/libdbusmenu-glib-32/Pkgfile b/libdbusmenu-glib-32/Pkgfile
new file mode 100644
index 00000000..7cce46cd
--- /dev/null
+++ b/libdbusmenu-glib-32/Pkgfile
@@ -0,0 +1,37 @@
+# Description: Library for passing menus over DBus - Common Files (32bit)
+# URL: https://launchpad.net/libdbusmenu
+# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
+# Depends on: glib-32 libdbusmenu-glib
+
+name=libdbusmenu-glib-32
+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() {
+# export CC='gcc -m32'
+# export CXX='g++ -m32'
+# export PKG_CONFIG_PATH='/usr/lib32/pkgconfig:/usr/lib/pkgconfig'
+ export HAVE_VALGRIND_TRUE='#'
+ export HAVE_VALGRIND_FALSE=''
+
+ cd libdbusmenu-18.10.20180917~bzr490
+ 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 \
+ --libdir=/usr/lib32 \
+ --libexecdir=/usr/lib32/$name \
+ --localstatedir=/var \
+ --disable-{dumper,tests,vala,nls,gtk}
+ make -j1
+ make DESTDIR=$PKG -C libdbusmenu-glib -j1 install
+
+# mv $PKG/usr/lib/girepository-1.0 $PKG/usr/lib32
+ rm -fr $PKG/usr/{lib,include,share}
+ 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
+}

Generated by cgit