[arch-commits] Commit in xdg-desktop-portal-gtk/repos/extra-x86_64 (3 files)

Jan Steffens heftig at archlinux.org
Fri Oct 4 21:09:00 UTC 2019


    Date: Friday, October 4, 2019 @ 21:08:59
  Author: heftig
Revision: 363810

archrelease: copy trunk to extra-x86_64

Added:
  xdg-desktop-portal-gtk/repos/extra-x86_64/0001-configure-Add-missing-dep-on-libX11.patch
    (from rev 363809, xdg-desktop-portal-gtk/trunk/0001-configure-Add-missing-dep-on-libX11.patch)
  xdg-desktop-portal-gtk/repos/extra-x86_64/PKGBUILD
    (from rev 363809, xdg-desktop-portal-gtk/trunk/PKGBUILD)
Deleted:
  xdg-desktop-portal-gtk/repos/extra-x86_64/PKGBUILD

------------------------------------------------+
 0001-configure-Add-missing-dep-on-libX11.patch |   31 ++++++++
 PKGBUILD                                       |   89 +++++++++++------------
 2 files changed, 77 insertions(+), 43 deletions(-)

Copied: xdg-desktop-portal-gtk/repos/extra-x86_64/0001-configure-Add-missing-dep-on-libX11.patch (from rev 363809, xdg-desktop-portal-gtk/trunk/0001-configure-Add-missing-dep-on-libX11.patch)
===================================================================
--- 0001-configure-Add-missing-dep-on-libX11.patch	                        (rev 0)
+++ 0001-configure-Add-missing-dep-on-libX11.patch	2019-10-04 21:08:59 UTC (rev 363810)
@@ -0,0 +1,31 @@
+From 92f478e907094004dbe367db3f6fb42f7fecf5af Mon Sep 17 00:00:00 2001
+From: "Jan Alexander Steffens (heftig)" <jan.steffens at gmail.com>
+Date: Fri, 4 Oct 2019 21:04:17 +0000
+Subject: [PATCH] configure: Add missing dep on libX11
+
+Fixes a link error:
+
+  CCLD     xdg-desktop-portal-gtk
+/usr/bin/ld: src/xdg_desktop_portal_gtk-gsd-remote-display-manager.o: undefined reference to symbol 'XQueryExtension'
+/usr/bin/ld: /usr/lib/libX11.so.6: error adding symbols: DSO missing from command line
+collect2: error: ld returned 1 exit status
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index 88a9cba..b532412 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -61,7 +61,7 @@ PKG_CHECK_MODULES(GTK, [xdg-desktop-portal >= 1.0 glib-2.0 >= 2.44 gio-unix-2.0
+ AC_SUBST(GTK_CFLAGS)
+ AC_SUBST(GTK_LIBS)
+ 
+-PKG_CHECK_MODULES(GTK_X11, gtk+-x11-3.0,
++PKG_CHECK_MODULES(GTK_X11, [gtk+-x11-3.0 x11],
+ 		  have_gtk_x11=yes, have_gtk_x11=no)
+ if test "$have_gtk_x11" = "yes"; then
+ 	AC_DEFINE(HAVE_GTK_X11, 1, [define if we we have gtk+-x11])
+-- 
+2.23.0
+

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-10-04 21:07:31 UTC (rev 363809)
+++ PKGBUILD	2019-10-04 21:08:59 UTC (rev 363810)
@@ -1,43 +0,0 @@
-# Maintainer:  Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
-# Contributor: Patrick Griffis <tingping at tingping.se>
-
-pkgname=xdg-desktop-portal-gtk
-pkgver=1.4.0
-pkgrel=1
-pkgdesc="A GTK+ backend for xdg-desktop-portal"
-url="https://github.com/flatpak/xdg-desktop-portal-gtk"
-arch=(x86_64)
-license=(LGPL2.1)
-depends=(gtk3)
-makedepends=(xdg-desktop-portal python git evince)
-optdepends=("evince: Print preview")
-provides=(xdg-desktop-portal-impl)
-_commit=7bea12533934abdd603982a39065477e8944df02  # tags/1.4.0^0
-source=("git+https://github.com/flatpak/xdg-desktop-portal-gtk#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
-  cd $pkgname
-  git describe --tags | sed 's/^v//;s/-/+/g'
-}
-
-prepare() {
-  cd $pkgname
-  NOCONFIGURE=1 ./autogen.sh
-}
-
-build() {
-  cd $pkgname
-  ./configure --prefix=/usr --libexecdir=/usr/lib
-  make 
-}
-
-check() {
-  cd $pkgname
-  make check
-}
-
-package() {
-  cd $pkgname
-  DESTDIR="$pkgdir" make install
-}

Copied: xdg-desktop-portal-gtk/repos/extra-x86_64/PKGBUILD (from rev 363809, xdg-desktop-portal-gtk/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-10-04 21:08:59 UTC (rev 363810)
@@ -0,0 +1,46 @@
+# Maintainer:  Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Patrick Griffis <tingping at tingping.se>
+
+pkgname=xdg-desktop-portal-gtk
+pkgver=1.5.0
+pkgrel=1
+pkgdesc="A GTK+ backend for xdg-desktop-portal"
+url="https://github.com/flatpak/xdg-desktop-portal-gtk"
+arch=(x86_64)
+license=(LGPL2.1)
+depends=(gtk3)
+makedepends=(xdg-desktop-portal python git evince)
+optdepends=("evince: Print preview")
+provides=(xdg-desktop-portal-impl)
+_commit=ffbbf4ef155f904e697acb7c33c0fe691a5fa49e  # tags/1.5.0^0
+source=("git+https://github.com/flatpak/xdg-desktop-portal-gtk#commit=$_commit"
+        0001-configure-Add-missing-dep-on-libX11.patch)
+sha256sums=('SKIP'
+            '1b855ddbe3aebfa8a21340bab6804b0f244d1885e5197f1d49df4fbd0b4b1bd0')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  git apply -3 ../0001-configure-Add-missing-dep-on-libX11.patch
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgname
+  ./configure --prefix=/usr --libexecdir=/usr/lib
+  make 
+}
+
+check() {
+  cd $pkgname
+  make check
+}
+
+package() {
+  cd $pkgname
+  DESTDIR="$pkgdir" make install
+}



More information about the arch-commits mailing list