Balló György pushed to branch main at Arch Linux / Packaging / Packages / commit
Commits:
226ae9c3 by Balló György at 2025-03-25T01:35:04+01:00
upgpkg: 4.2-5: Fix initialization with GTK 4.18
- - - - -
3 changed files:
- .SRCINFO
- PKGBUILD
- commit-gtk-init.patch
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = commit
pkgdesc = Editor that helps you write better Git and Mercurial commit
messages
pkgver = 4.2
- pkgrel = 4
+ pkgrel = 5
url = https://apps.gnome.org/Commit/
arch = any
license = GPL-3.0-or-later
@@ -25,7 +25,7 @@ pkgbase = commit
source = troll-gtk-init.patch
b2sums =
9e6f0d4dd86298241340176e4cb8053070a90d352e90d1198ae759bdc5fd9a577937f5191a2b7cf06109e049abfc83466657243886d11a1ca3ffcb2698d3e513
b2sums = SKIP
- b2sums =
490436300057733dd3c3d2eed3b0a4152452b1b74e86c3fa5b89b93556abbfc533afca5a428283e7aa58b114ca583fa763be9727d12feeef5e4db2965cd96e59
+ b2sums =
1fa8ad0cf0637d213f1856c4187f9dbb28845681ca0586b18c5aa19efd3b89d7b6db46896281309accebf65a751bbb0c39f45864ca2f9ffcd0a13ed6ad703366
b2sums =
7190a1851b490e1e429de5f571f6acdf7e2254c30d5368acbed270bac9d09e9e4d33ac5479d8f2b813a4178d2c3b3d82d49e82b76111530b05c36fe89d407338
pkgname = commit
=====================================
PKGBUILD
=====================================
@@ -2,7 +2,7 @@
pkgname=commit
pkgver=4.2
-pkgrel=4
+pkgrel=5
pkgdesc='Editor that helps you write better Git and Mercurial commit messages'
arch=(any)
url='https://apps.gnome.org/Commit/'
@@ -36,7 +36,7 @@ source=(
b2sums=(
9e6f0d4dd86298241340176e4cb8053070a90d352e90d1198ae759bdc5fd9a577937f5191a2b7cf06109e049abfc83466657243886d11a1ca3ffcb2698d3e513
SKIP
-
490436300057733dd3c3d2eed3b0a4152452b1b74e86c3fa5b89b93556abbfc533afca5a428283e7aa58b114ca583fa763be9727d12feeef5e4db2965cd96e59
+
1fa8ad0cf0637d213f1856c4187f9dbb28845681ca0586b18c5aa19efd3b89d7b6db46896281309accebf65a751bbb0c39f45864ca2f9ffcd0a13ed6ad703366
7190a1851b490e1e429de5f571f6acdf7e2254c30d5368acbed270bac9d09e9e4d33ac5479d8f2b813a4178d2c3b3d82d49e82b76111530b05c36fe89d407338
)
=====================================
commit-gtk-init.patch
=====================================
@@ -1,4 +1,4 @@
-From ea8515b3d45e5ceb3cccaf2c2090ed061eb6bd40 Mon Sep 17 00:00:00 2001
+From d2b130f9c87027e42f5af07e1c724a90f5da7503 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= <[email protected]>
Date: Tue, 25 Mar 2025 01:02:35 +0100
Subject: [PATCH] Set preferred color scheme later
@@ -45,7 +45,7 @@ index 5ef6543..b738b92 100644
this.buffer.set_style_scheme(style_scheme);
}
diff --git a/src/application.js b/src/application.js
-index 5c3d9d8..76f73e5 100644
+index 5c3d9d8..92ad4b3 100644
--- a/src/application.js
+++ b/src/application.js
@@ -13,8 +13,6 @@ import { settings } from "./settings.js";
@@ -57,12 +57,15 @@ index 5c3d9d8..76f73e5 100644
export default function Application() {
const application = new Adw.Application({
application_id: "re.sonny.Commit",
-@@ -136,12 +134,13 @@ function openEditor({ file, application, readonly }) {
- // Add the dialog to the application as its main window.
- application.add_window(window);
+@@ -61,6 +59,7 @@ export default function Application() {
-+ setColorScheme();
- window.present();
+ application.connect("startup", () => {
+ console.debug("startup");
++ setColorScheme();
+ });
+
+ application.connect("activate", () => {
+@@ -140,8 +139,8 @@ function openEditor({ file, application, readonly }) {
}
function setColorScheme() {
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/commit/-/commit/226ae9c32c49aebf8b1dc9e4e18b2658904758ed
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/commit/-/commit/226ae9c32c49aebf8b1dc9e4e18b2658904758ed
You're receiving this email because of your account on gitlab.archlinux.org.