Balló György pushed to branch main at Arch Linux / Packaging / Packages / 
l3afpad


Commits:
db90f5f3 by Balló György at 2025-10-26T11:06:32+01:00
upgpkg: 0.8.18.1.11-10: Apply one more fix

- - - - -


4 changed files:

- .SRCINFO
- PKGBUILD
- REUSE.toml
- + l3afpad-linenumber-color.patch


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = l3afpad
        pkgdesc = Simple GTK plain text editor
        pkgver = 0.8.18.1.11
-       pkgrel = 9
+       pkgrel = 10
        url = https://github.com/stevenhoneyman/l3afpad
        arch = x86_64
        license = GPL-2.0-or-later
@@ -20,6 +20,7 @@ pkgbase = l3afpad
        source = l3afpad-keywords.patch
        source = l3afpad-right-padding.patch
        source = l3afpad-wrap-mode.patch
+       source = l3afpad-linenumber-color.patch
        b2sums = 
c057db90f13a8f2d2973482eeadbbaba33baf94ee71d2ba94684faa5a4136e58bc26e4b44addf19985867a2988c50d0cb70a2a1450f68ea3f6921c9157e81aad
        b2sums = 
b6f46419d49acfa39bce2c5705f72cecf9bca494a33f5eb14424fa31acd10abc814ae978af8863a0eafa1a78f7082f3579bc61bc00af5bd758e64691ffb32364
        b2sums = 
53537d9ef5b2060fd3a638f222c8003cf80a4a399495e6c9a4a4ab4e2ab1f8cf1e838ff9720c3f18b7126f5c3e2b0fe4f378ec07e6f1f0fd87bda01229845720
@@ -27,5 +28,6 @@ pkgbase = l3afpad
        b2sums = 
18121ed3047324b4ce31463b3ed9ee99e8feac5be47308570203f732f0570130025ba92c456574d395df5001d5c9da5e875b29e321cf95a7700cc30a6055965a
        b2sums = 
f764423f9a1f95e4783638ddb762bb12d2b0581e915463261e2c99c6c4e9ee22763bfd785f6092f41ecb38fea8ed30f55f4b1c368d1f0b2f5429493e562e8d59
        b2sums = 
0f2251c6abb199cd9e6725f4e3a645521e9e227b095cc4b43811d812112561ff0e565ef4d1a5413d6d6bcf903156158cd2ab02e4cade7476a49fc41ec0103498
+       b2sums = 
0eb2ed4696e3d8cb32ddf749fb689d0205f8cb292b574d1095a2f4bfaaf53adcb0f6294c998a02b7bf4666da4c79228e0523fcb4ac83169d563442674ab9c082
 
 pkgname = l3afpad


=====================================
PKGBUILD
=====================================
@@ -4,7 +4,7 @@
 
 pkgname=l3afpad
 pkgver=0.8.18.1.11
-pkgrel=9
+pkgrel=10
 pkgdesc='Simple GTK plain text editor'
 arch=(x86_64)
 url='https://github.com/stevenhoneyman/l3afpad'
@@ -29,6 +29,7 @@ source=(
   l3afpad-keywords.patch
   l3afpad-right-padding.patch
   l3afpad-wrap-mode.patch
+  l3afpad-linenumber-color.patch
 )
 b2sums=(
   
c057db90f13a8f2d2973482eeadbbaba33baf94ee71d2ba94684faa5a4136e58bc26e4b44addf19985867a2988c50d0cb70a2a1450f68ea3f6921c9157e81aad
@@ -38,6 +39,7 @@ b2sums=(
   
18121ed3047324b4ce31463b3ed9ee99e8feac5be47308570203f732f0570130025ba92c456574d395df5001d5c9da5e875b29e321cf95a7700cc30a6055965a
   
f764423f9a1f95e4783638ddb762bb12d2b0581e915463261e2c99c6c4e9ee22763bfd785f6092f41ecb38fea8ed30f55f4b1c368d1f0b2f5429493e562e8d59
   
0f2251c6abb199cd9e6725f4e3a645521e9e227b095cc4b43811d812112561ff0e565ef4d1a5413d6d6bcf903156158cd2ab02e4cade7476a49fc41ec0103498
+  
0eb2ed4696e3d8cb32ddf749fb689d0205f8cb292b574d1095a2f4bfaaf53adcb0f6294c998a02b7bf4666da4c79228e0523fcb4ac83169d563442674ab9c082
 )
 
 prepare() {
@@ -71,6 +73,9 @@ prepare() {
   # https://github.com/stevenhoneyman/l3afpad/pull/50
   git apply -3 ../l3afpad-wrap-mode.patch
 
+  # https://github.com/stevenhoneyman/l3afpad/pull/51
+  git apply -3 ../l3afpad-linenumber-color.patch
+
   autoreconf -fi
 }
 


=====================================
REUSE.toml
=====================================
@@ -25,6 +25,7 @@ SPDX-License-Identifier = "0BSD"
 [[annotations]]
 path = [
     "l3afpad-keywords.patch",
+    "l3afpad-linenumber-color.patch",
     "l3afpad-redraw-line-numbers.patch",
     "l3afpad-right-padding.patch",
     "l3afpad-themed-icon.patch",


=====================================
l3afpad-linenumber-color.patch
=====================================
@@ -0,0 +1,23 @@
+From f98e0fc550b46f977cafa098c9b0e65563a7175f Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= <[email protected]>
+Date: Sun, 26 Oct 2025 11:02:22 +0100
+Subject: [PATCH] Use insensitive color for line numbers
+
+Without this, the color of the line numbers is the same as the color of the 
text and difficult to distinguish.
+---
+ src/linenum.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/linenum.c b/src/linenum.c
+index e78dcd8..f29ffe1 100644
+--- a/src/linenum.c
++++ b/src/linenum.c
+@@ -114,7 +114,7 @@ line_numbers_foreground_attr_new(GtkWidget *widget)
+       GdkRGBA          rgb;
+ 
+       context = gtk_widget_get_style_context(widget);
+-      gtk_style_context_get_color(context, GTK_STATE_FLAG_NORMAL, &rgb);
++      gtk_style_context_get_color(context, GTK_STATE_FLAG_INSENSITIVE, &rgb);
+ 
+       return pango_attr_foreground_new((guint16)(rgb.red   * 65535),
+                                                                        
(guint16)(rgb.green * 65535),



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/l3afpad/-/commit/db90f5f38d66b71a4ba90b095b6b1994219e6d76

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/l3afpad/-/commit/db90f5f38d66b71a4ba90b095b6b1994219e6d76
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to