[arch-commits] Commit in xdg-desktop-portal-gtk/trunk (PKGBUILD build.diff)

Jan Steffens heftig at gemini.archlinux.org
Sat Nov 6 01:13:31 UTC 2021


    Date: Saturday, November 6, 2021 @ 01:13:30
  Author: heftig
Revision: 427390

1.10.0-2: move gnome portals to x-d-p-gnome

Modified:
  xdg-desktop-portal-gtk/trunk/PKGBUILD
Deleted:
  xdg-desktop-portal-gtk/trunk/build.diff

------------+
 PKGBUILD   |   22 +++++++---------------
 build.diff |   21 ---------------------
 2 files changed, 7 insertions(+), 36 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-06 00:50:36 UTC (rev 427389)
+++ PKGBUILD	2021-11-06 01:13:30 UTC (rev 427390)
@@ -4,20 +4,18 @@
 
 pkgname=xdg-desktop-portal-gtk
 pkgver=1.10.0
-pkgrel=1
-pkgdesc="A GTK+ backend for xdg-desktop-portal"
+pkgrel=2
+pkgdesc="A backend implementation for xdg-desktop-portal using GTK"
 url="https://github.com/flatpak/xdg-desktop-portal-gtk"
 arch=(x86_64)
 license=(LGPL)
-depends=(gtk3 gnome-desktop gnome-keyring)
+depends=(gtk3)
 makedepends=(xdg-desktop-portal python git)
 optdepends=("evince: Print preview")
 provides=(xdg-desktop-portal-impl)
 _commit=3a9ac80eb720d1ba8a2aecc2108f66b2f737f185  # tags/1.10.0^0
-source=("git+https://github.com/flatpak/xdg-desktop-portal-gtk#commit=$_commit"
-        build.diff)
-sha256sums=('SKIP'
-            '43cc8f25956d543166bbdf1413ed4fae067a380cecb7415db1422bdb846c5067')
+source=("git+https://github.com/flatpak/xdg-desktop-portal-gtk#commit=$_commit")
+sha256sums=('SKIP')
 
 pkgver() {
   cd $pkgname
@@ -28,7 +26,7 @@
   cd $pkgname
   
   # Fix build
-  git apply -3 ../build.diff
+  git cherry-pick -n e34f49ca8365 19c5385b9f5f
 
   NOCONFIGURE=1 ./autogen.sh
 }
@@ -35,13 +33,7 @@
 
 build() {
   cd $pkgname
-  ./configure --prefix=/usr --libexecdir=/usr/lib \
-    --enable-wallpaper \
-    --enable-screenshot \
-    --enable-screencast \
-    --enable-background \
-    --enable-settings \
-    --enable-appchooser
+  ./configure --prefix=/usr --libexecdir=/usr/lib
   make 
 }
 

Deleted: build.diff
===================================================================
--- build.diff	2021-11-06 00:50:36 UTC (rev 427389)
+++ build.diff	2021-11-06 01:13:30 UTC (rev 427390)
@@ -1,21 +0,0 @@
-diff --git i/po/hi.po w/po/hi.po
-index 14d97bf..5795e0e 100644
---- i/po/hi.po
-+++ w/po/hi.po
-@@ -309,14 +309,14 @@ msgstr "गतिविधियां"
- #~ "Select an application to open “%s”. More applications are available in <a "
- #~ "href='software'>Software.</a>"
- #~ msgstr ""
--#~ "खोलने के लिए एक आवेदन का चयन करें "%s". अधिक एप्लिकेशन उपलब्ध हैं <a "
-+#~ "खोलने के लिए एक आवेदन का चयन करें \"%s\". अधिक एप्लिकेशन उपलब्ध हैं <a "
- #~ "href='software'>सॉफ्टवेयर।</a>"
- 
- #~ msgid ""
- #~ "Select an application. More applications are available in <a "
- #~ "href='software'>Software.</a>"
- #~ msgstr ""
--#~ "एक आवेदन का चयन करें। <a "में अधिक एप्लिकेशन उपलब्ध हैं"
-+#~ "एक आवेदन का चयन करें। <a \"में अधिक एप्लिकेशन उपलब्ध हैं"
- #~ "href=href='software'>सॉफ्टवेयर।</a>"
- 
- #~ msgid "Unable to find a suitable application."



More information about the arch-commits mailing list