[arch-commits] Commit in qterminal/trunk (PKGBUILD fix-preferences.diff)

Chih-Hsuan Yen yan12125 at archlinux.org
Thu Nov 5 16:27:37 UTC 2020


    Date: Thursday, November 5, 2020 @ 16:27:34
  Author: yan12125
Revision: 743283

upgpkg: qterminal 0.16.0-2; fix a minor regression

Added:
  qterminal/trunk/fix-preferences.diff
Modified:
  qterminal/trunk/PKGBUILD

----------------------+
 PKGBUILD             |   33 ++++++++++++++++++++-------------
 fix-preferences.diff |   13 +++++++++++++
 2 files changed, 33 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-05 16:27:05 UTC (rev 743282)
+++ PKGBUILD	2020-11-05 16:27:34 UTC (rev 743283)
@@ -1,8 +1,9 @@
 # Maintainer: Jerome Leclanche <jerome at leclan.ch>
+# Co-Maintainer: Chih-Hsuan Yen <yan12125 at gmail.com>
 
 pkgname=qterminal
 pkgver=0.16.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A lightweight Qt-based terminal emulator"
 arch=("x86_64")
 groups=("lxqt")
@@ -11,27 +12,33 @@
 depends=("hicolor-icon-theme" "qtermwidget" "qt5-x11extras")
 makedepends=("cmake" "lxqt-build-tools")
 source=(
-	"https://github.com/lxqt/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz"{,.asc}
+  "https://github.com/lxqt/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz"{,.asc}
+  "fix-preferences.diff"
 )
 sha256sums=('871d7b3ed8d6e815b6feccf6a603781c1794ac6bc20c6a52f067ee7fa192ed24'
-            'SKIP')
+            'SKIP'
+            'a3f5a2e8361434a60087bd358e90a9b71eb15f2f3f764eda8900c8b6e2857f05')
 validpgpkeys=(
-	"169704C6FB490C6892C7F23C37E0AF1FDA48F373"  # Jerome Leclanche <jerome at leclan.ch>
-	"7C733BA5F585AAD669E4D23A42C9C8D3AF5EA5E3"  # Alf Gaida <agaida at siduction.org>
-	"19DFDF3A579BD509DBB572D8BE793007AD22DF7E"  # Pedram Pourang <tsujan2000 at gmail.com>
+  "169704C6FB490C6892C7F23C37E0AF1FDA48F373"  # Jerome Leclanche <jerome at leclan.ch>
+  "7C733BA5F585AAD669E4D23A42C9C8D3AF5EA5E3"  # Alf Gaida <agaida at siduction.org>
+  "19DFDF3A579BD509DBB572D8BE793007AD22DF7E"  # Pedram Pourang <tsujan2000 at gmail.com>
 )
 
+prepare() {
+  cd $pkgname-$pkgver
+  patch -Np1 -i ../fix-preferences.diff
+}
 
 build() {
-	mkdir -p build
-	cd build
+  mkdir -p build
+  cd build
 
-	cmake "$srcdir/$pkgname-$pkgver" \
-		-DCMAKE_INSTALL_PREFIX=/usr
-	make
+  cmake "$srcdir/$pkgname-$pkgver" \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
 }
 
 package() {
-	cd build
-	make DESTDIR="$pkgdir" install
+  cd build
+  make DESTDIR="$pkgdir" install
 }

Added: fix-preferences.diff
===================================================================
--- fix-preferences.diff	                        (rev 0)
+++ fix-preferences.diff	2020-11-05 16:27:34 UTC (rev 743283)
@@ -0,0 +1,13 @@
+diff --git a/src/forms/propertiesdialog.ui b/src/forms/propertiesdialog.ui
+index bb487b4..a7c0ccd 100644
+--- a/src/forms/propertiesdialog.ui
++++ b/src/forms/propertiesdialog.ui
+@@ -279,7 +279,7 @@
+              </property>
+             </widget>
+            </item>
+-           <item row="21" column="1">
++           <item row="22" column="1">
+             <layout class="QHBoxLayout" name="horizontalLayout_3">
+              <item>
+               <widget class="QLineEdit" name="backgroundImageLineEdit"/>



More information about the arch-commits mailing list