public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/vimb] rawhide: Update to v4.0.0
@ 2026-09-18 8:06 Artur Frenszek-Iwicki
0 siblings, 0 replies; only message in thread
From: Artur Frenszek-Iwicki @ 2026-09-18 8:06 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/vimb
Branch : rawhide
Commit : 21e340a45ff4a9c7f05652278c258d2958fc6740
Author : Artur Frenszek-Iwicki <fedora@svgames.pl>
Date : 2026-08-30T16:29:06+02:00
Stats : +55/-6 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/vimb/c/21e340a45ff4a9c7f05652278c258d2958fc6740?branch=rawhide
Log:
Update to v4.0.0
---
diff --git a/.gitignore b/.gitignore
index e74e549..ed9f392 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/vimb-3.6.0.tar.gz
/vimb-3.7.0.tar.gz
+/vimb-4.0.0.tar.gz
diff --git a/0000-include-gdk.patch b/0000-include-gdk.patch
new file mode 100644
index 0000000..6cc8d48
--- /dev/null
+++ b/0000-include-gdk.patch
@@ -0,0 +1,42 @@
+diff -rU4 vimb-4.0.0--orig/src/hints.c vimb-4.0.0/src/hints.c
+--- vimb-4.0.0--orig/src/hints.c 2026-08-10 12:22:39.000000000 +0200
++++ vimb-4.0.0/src/hints.c 2026-08-30 16:26:09.426187243 +0200
+@@ -20,9 +20,9 @@
+ #include "config.h"
+ #include <string.h>
+ #include <webkit/webkit.h>
+ #include <jsc/jsc.h>
+-#include <gdk/gdkkeysyms.h>
++#include <gdk/gdk.h>
+ #include "hints.h"
+ #include "main.h"
+ #include "ascii.h"
+ #include "command.h"
+diff -rU4 vimb-4.0.0--orig/src/map.c vimb-4.0.0/src/map.c
+--- vimb-4.0.0--orig/src/map.c 2026-08-10 12:22:39.000000000 +0200
++++ vimb-4.0.0/src/map.c 2026-08-30 16:25:57.382048966 +0200
+@@ -17,9 +17,9 @@
+ * along with this program. If not, see http://www.gnu.org/licenses/.
+ */
+
+ /* GTK4: gdkkeysyms-compat.h removed - all keys use GDK_KEY_ prefix now */
+-#include <gdk/gdkkeysyms.h>
++#include <gdk/gdk.h>
+ #include <string.h>
+
+ #include "ascii.h"
+ #include "config.h"
+diff -rU4 vimb-4.0.0--orig/src/normal.c vimb-4.0.0/src/normal.c
+--- vimb-4.0.0--orig/src/normal.c 2026-08-10 12:22:39.000000000 +0200
++++ vimb-4.0.0/src/normal.c 2026-08-30 16:25:43.357367476 +0200
+@@ -17,9 +17,9 @@
+ * along with this program. If not, see http://www.gnu.org/licenses/.
+ */
+
+ #include <ctype.h>
+-#include <gdk/gdkkeysyms.h>
++#include <gdk/gdk.h>
+ #include <string.h>
+
+ #include "ascii.h"
+ #include "command.h"
diff --git a/sources b/sources
index 53adca1..9923389 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (vimb-3.7.0.tar.gz) = 00101b799c33b7cdb91db407654cbccbf2041d06ae604541ba90806c6fa26345fbfe54fa42ad457817a186493b233e9ee24dc301eacf19d8cd15f546d87615a7
+SHA512 (vimb-4.0.0.tar.gz) = cb2c5ac0c0f0f83b54c6158adea0cce92ab3ce566e17a5b65afc1aa3270019dac61044bfe6763b2b8778391dfbecec90a5086889629bb85de4fe9405022aede9
diff --git a/vimb.spec b/vimb.spec
index a282055..308a5c1 100644
--- a/vimb.spec
+++ b/vimb.spec
@@ -2,18 +2,21 @@ Summary: A fast and lightweight vim like web browser
Name: vimb
License: GPL-3.0-only
-Version: 3.7.0
-Release: 7%{?dist}
+Version: 4.0.0
+Release: 1%{?dist}
URL: https://fanglingsu.github.io/vimb/
Source0: https://github.com/fanglingsu/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
+# GDK sub-files have «#error "Only <gdk/gdk.h> can be included directly."»
+Patch0: 0000-include-gdk.patch
+
BuildRequires: gcc
BuildRequires: desktop-file-utils
BuildRequires: libappstream-glib
BuildRequires: make
-BuildRequires: pkgconfig(webkit2gtk-4.1)
-BuildRequires: pkgconfig(gtk+-3.0)
+BuildRequires: pkgconfig(webkitgtk-6.0)
+BuildRequires: pkgconfig(gtk4)
%description
Vimb is a fast and lightweight vim like web browser based on the webkit
@@ -23,7 +26,7 @@ keyboard driven and does not distract you from your daily work.
%prep
-%autosetup
+%autosetup -p1
%build
sed -i 's/EXTLDFLAGS =/EXTLDFLAGS = ${LDFLAGS} /g' config.mk
@@ -53,6 +56,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{name}.metain
%{_metainfodir}/%{name}.metainfo.xml
%changelog
+* Sun Aug 30 2026 Artur Frenszek-Iwicki <fedora@svgames.pl> - 4.0.0-1
+- Update to v4.0.0
+
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-18 8:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-18 8:06 [rpms/vimb] rawhide: Update to v4.0.0 Artur Frenszek-Iwicki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox