public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/jgmenu] epel9: Version bump
@ 2026-10-28 17:25 TI_Eugene
0 siblings, 0 replies; 3+ messages in thread
From: TI_Eugene @ 2026-10-28 17:25 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/jgmenu
Branch : epel9
Commit : d0d82cf0a8ab35fccfb650ced207701eff0ca89d
Author : TI_Eugene <ti.eugene@gmail.com>
Date : 2021-01-06T22:17:07+03:00
Stats : +11/-3 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/jgmenu/c/d0d82cf0a8ab35fccfb650ced207701eff0ca89d?branch=epel9
Log:
Version bump
---
diff --git a/.gitignore b/.gitignore
index 1681634..5e5887a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/jgmenu-4.2.1.tar.gz
+/jgmenu-4.3.0.tar.gz
diff --git a/jgmenu.spec b/jgmenu.spec
index c49d97c..449cb2b 100644
--- a/jgmenu.spec
+++ b/jgmenu.spec
@@ -1,6 +1,6 @@
Name: jgmenu
-Version: 4.2.1
-Release: 4%{?dist}
+Version: 4.3.0
+Release: 1%{?dist}
Summary: Simple X11 application menu
License: GPLv2+
URL: https://jgmenu.github.io
@@ -55,7 +55,11 @@ GTKtheme plugin for %{name} package.
%package xfce4
Summary: Xfce4 %{name} plugin
# xfce4-panel-devel
+%if 0%{?fedora} > 33
+BuildRequires: pkgconfig(libxfce4panel-2.0)
+%else
BuildRequires: pkgconfig(libxfce4panel-1.0)
+%endif
BuildRequires: make
Requires: %{name}%{?_isa} = %{version}-%{release}
@@ -109,6 +113,9 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
%{_datadir}/xfce4/panel/plugins/%{name}-applet.desktop
%changelog
+* Wed Jan 06 2021 TI_Eugene <ti.eugene@gmail.com> - 4.3.0-1
+- Version bump
+
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
diff --git a/sources b/sources
index 69d70ac..13a2d88 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (jgmenu-4.2.1.tar.gz) = 6849a78feefcff5ff078d4f2aaa3b7a4f05656d337e2be57c19079cb57dc6e4652c980c47b2d89f1f45eeaaf2a4e910e68f32f4f63869f13b40e3dd6759d4898
+SHA512 (jgmenu-4.3.0.tar.gz) = 5e13bc093c1e3e547c577c19a0b358be928048a61f3571e2a575242a3085b0c25127ae476492a8d31b3d23f9bb973b9f637025b7e51b191756849acd1a661a62
^ permalink raw reply related [flat|nested] 3+ messages in thread* [rpms/jgmenu] epel9: Version bump
@ 2026-10-28 17:25 TI_Eugene
0 siblings, 0 replies; 3+ messages in thread
From: TI_Eugene @ 2026-10-28 17:25 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/jgmenu
Branch : epel9
Commit : 4df0d3c335ab653ae3c56fea62fb817c5cf5f45c
Author : TI_Eugene <ti.eugene@gmail.com>
Date : 2021-09-17T21:02:18+03:00
Stats : +7/-3 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/jgmenu/c/4df0d3c335ab653ae3c56fea62fb817c5cf5f45c?branch=epel9
Log:
Version bump
---
diff --git a/.gitignore b/.gitignore
index 5e5887a..0dccceb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/jgmenu-4.2.1.tar.gz
/jgmenu-4.3.0.tar.gz
+/jgmenu-4.4.0.tar.gz
diff --git a/jgmenu.spec b/jgmenu.spec
index 572a454..5c63c9b 100644
--- a/jgmenu.spec
+++ b/jgmenu.spec
@@ -1,6 +1,6 @@
Name: jgmenu
-Version: 4.3.0
-Release: 3%{?dist}
+Version: 4.4.0
+Release: 1%{?dist}
Summary: Simple X11 application menu
License: GPLv2+
URL: https://jgmenu.github.io
@@ -113,6 +113,9 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
%{_datadir}/xfce4/panel/plugins/%{name}-applet.desktop
%changelog
+* Fri Sep 17 2021 TI_Eugene <ti.eugene@gmail.com> - 4.4.0-1
+- Version bump
+
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
diff --git a/sources b/sources
index 13a2d88..236bad7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (jgmenu-4.3.0.tar.gz) = 5e13bc093c1e3e547c577c19a0b358be928048a61f3571e2a575242a3085b0c25127ae476492a8d31b3d23f9bb973b9f637025b7e51b191756849acd1a661a62
+SHA512 (jgmenu-4.4.0.tar.gz) = bb0ca1927c77a1471f5f4566e54509756cd0a2426cf04e1e46687ff5309d86ce7992794fba86d253927fcb6014040891146f1296daa4eb55d71faddf01f596ed
^ permalink raw reply related [flat|nested] 3+ messages in thread* [rpms/jgmenu] epel9: Version bump
@ 2026-10-28 17:25 TI_Eugene
0 siblings, 0 replies; 3+ messages in thread
From: TI_Eugene @ 2026-10-28 17:25 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/jgmenu
Branch : epel9
Commit : 929225f6b401864af494bf84dc51dab12a6df722
Author : TI_Eugene <ti.eugene@gmail.com>
Date : 2026-10-28T19:12:42+03:00
Stats : +154/-24 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/jgmenu/c/929225f6b401864af494bf84dc51dab12a6df722?branch=epel9
Log:
Version bump
---
diff --git a/changelog b/changelog
index d295074..64e8baf 100644
--- a/changelog
+++ b/changelog
@@ -1,3 +1,7 @@
+* Wed Oct 28 2026 TI_Eugene <ti.eugene@gmail.com> - 4.7.0-1
+- Version bump (close #2534268)
+- EL compatibility
+
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 4.5.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
@@ -10,9 +14,6 @@
* Fri Jan 17 2025 Fedora Release Engineering <releng@fedoraproject.org> - 4.5.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
-* Sat Dec 14 2024 TI_Eugene <ti.eugene@gmail.com> - 4.5.0-1
-- Version bump (close #2331624)
-
* Fri Jul 26 2024 Miroslav Suchý <msuchy@redhat.com> - 4.4.1-8
- convert license to SPDX
diff --git a/jgmenu-4.7.0.patch b/jgmenu-4.7.0.patch
new file mode 100644
index 0000000..865b583
--- /dev/null
+++ b/jgmenu-4.7.0.patch
@@ -0,0 +1,122 @@
+diff --git a/contrib/lx/jgmenu-lx.c b/contrib/lx/jgmenu-lx.c
+index 5d00d90..f6e8c65 100644
+--- a/contrib/lx/jgmenu-lx.c
++++ b/contrib/lx/jgmenu-lx.c
+@@ -96,13 +96,13 @@ static void add_metadata(const char * const *categories)
+ }
+ }
+
+-static void strip_exec_field_codes(char **exec)
++static void strip_exec_field_codes(char *exec)
+ {
+ char *p;
+
+- if (!**exec || !*exec)
++ if (!*exec || !exec)
+ return;
+- for (p = *exec; *p; p++) {
++ for (p = exec; *p; p++) {
+ if (*p == '%') {
+ *p = ' ';
+ ++p;
+@@ -154,7 +154,7 @@ static void process_app(MenuCacheApp *app)
+ if (strchr(exec.buf, ','))
+ sbuf_addstr(&cur->buf, "\"\"\"");
+ ugly_hack(&exec);
+- strip_exec_field_codes(&exec.buf);
++ strip_exec_field_codes(exec.buf);
+ sbuf_addstr(&cur->buf, exec.buf);
+ if (strchr(exec.buf, ','))
+ sbuf_addstr(&cur->buf, " \"\"\"");
+diff --git a/src/desktop.c b/src/desktop.c
+index e4caae7..8214975 100644
+--- a/src/desktop.c
++++ b/src/desktop.c
+@@ -247,7 +247,7 @@ static int compare_app_name(const void *a, const void *b)
+ bb_name = bb->name_localized[0] != '\0' ? bb->name_localized : bb->name;
+ aa_name = g_utf8_casefold(aa_name, -1);
+ bb_name = g_utf8_casefold(bb_name, -1);
+- ret = strcmp(aa_name, bb_name);
++ ret = g_utf8_collate(aa_name, bb_name);
+ xfree(aa_name);
+ xfree(bb_name);
+ return ret;
+diff --git a/src/dirs.c b/src/dirs.c
+index 2af7640..49dd77c 100644
+--- a/src/dirs.c
++++ b/src/dirs.c
+@@ -9,6 +9,7 @@
+ #include <string.h>
+ #include <dirent.h>
+ #include <stdbool.h>
++#include <glib.h>
+
+ #include "dirs.h"
+ #include "xdgdirs.h"
+@@ -104,6 +105,24 @@ static void process_builtin_schema(void)
+ schema_builtin[i].value);
+ }
+
++static int compare_dir_name(const void *a, const void *b)
++{
++ const struct dir *aa = (struct dir *)a;
++ const struct dir *bb = (struct dir *)b;
++ const char *aa_name, *bb_name;
++ int ret;
++
++ BUG_ON(!aa->name || !bb->name);
++ aa_name = aa->name_localized[0] != '\0' ? aa->name_localized : aa->name;
++ bb_name = bb->name_localized[0] != '\0' ? bb->name_localized : bb->name;
++ aa_name = g_utf8_casefold(aa_name, -1);
++ bb_name = g_utf8_casefold(bb_name, -1);
++ ret = g_utf8_collate(aa_name, bb_name);
++ xfree(aa_name);
++ xfree(bb_name);
++ return ret;
++}
++
+ void dirs_read_schema(struct dir **vector)
+ {
+ struct list_head xdg_config_dirs;
+@@ -134,5 +153,6 @@ schema_read_success:
+
+ /* NULL terminate vector *dirs */
+ add_dir();
++ qsort(dirs, nr_dirs - 1, sizeof(struct dir), compare_dir_name);
+ *vector = dirs;
+ }
+diff --git a/src/jgmenu-apps.c b/src/jgmenu-apps.c
+index 1ac2bae..0dd30f9 100644
+--- a/src/jgmenu-apps.c
++++ b/src/jgmenu-apps.c
+@@ -5,6 +5,7 @@
+ */
+
+ #include <getopt.h>
++#include <locale.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+@@ -247,6 +248,9 @@ int main(int argc, char **argv)
+ struct dir *dirs;
+ int c;
+
++ if (!setlocale(LC_ALL, ""))
++ warn("setlocale(): locale not supported by C library; using 'C' locale");
++
+ while (1) {
+ int index = 0;
+
+diff --git a/tests/helper/Makefile b/tests/helper/Makefile
+index bb45a21..badba6d 100644
+--- a/tests/helper/Makefile
++++ b/tests/helper/Makefile
+@@ -31,7 +31,7 @@ test-xpm: test-xpm.c $(src)xpm-loader.c $(util)
+ $(CC) $(CFLAGS) -o $@ $^ -I$(src) $(LDFLAGS) `pkg-config cairo --cflags --libs`
+
+ test-dirs: test-dirs.c $(src)dirs.c $(src)xdgdirs.c $(src)argv-buf.c $(src)compat.c $(src)lang.c $(util)
+- $(CC) $(CFLAGS) -o $@ $^ -I$(src) $(LDFLAGS)
++ $(CC) $(CFLAGS) -o $@ $^ -I$(src) $(LDFLAGS) `pkg-config glib-2.0 --cflags --libs`
+
+ test-xdgdirs: test-xdgdirs.c $(src)xdgdirs.c $(src)argv-buf.c $(util)
+ $(CC) $(CFLAGS) -o $@ $^ -I$(src) $(LDFLAGS)
diff --git a/jgmenu.spec b/jgmenu.spec
index 3fe2ce8..e828af0 100644
--- a/jgmenu.spec
+++ b/jgmenu.spec
@@ -1,5 +1,5 @@
%global forgeurl https://github.com/jgmenu/jgmenu
-Version: 4.6.0
+Version: 4.7.0
%forgemeta
Name: jgmenu
@@ -8,6 +8,7 @@ Summary: Simple X11 application menu
License: GPL-2.0-or-later
URL: %{forgeurl}
Source: %{forgesource}
+Patch: %{name}-%{version}.patch
BuildRequires: desktop-file-utils
BuildRequires: gcc
@@ -17,6 +18,7 @@ BuildRequires: pkgconfig(librsvg-2.0) >= 2.46
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(pango)
BuildRequires: pkgconfig(xrandr)
+# https://github.com/jgmenu/jgmenu/issues/276
Requires: hicolor-icon-theme
%description
@@ -25,15 +27,6 @@ ricing and tweaking. Useful for tint2, polymenu, cairo-dock, plank, unity,
openbox, i3, dwm and other light environments.
-%package lx
-Summary: LXDE %{name} plugin
-BuildRequires: pkgconfig(libmenu-cache)
-Requires: %{name}%{?_isa} = %{version}-%{release}
-
-%description lx
-LXDE plugin for %{name} package.
-
-
%package pmenu
Summary: Pmenu %{name} plugin
BuildArch: noarch
@@ -52,26 +45,38 @@ Requires: %{name} = %{version}-%{release}
GTKtheme plugin for %{name} package.
+%if 0%{?fedora}
+%package lx
+Summary: LXDE %{name} plugin
+# menu-cache-devel
+BuildRequires: pkgconfig(libmenu-cache)
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description lx
+LXDE plugin for %{name} package.
+
+
%package xfce4
Summary: Xfce4 %{name} plugin
-%if 0%{?fedora} > 33
BuildRequires: pkgconfig(libxfce4panel-2.0)
-%else
-BuildRequires: pkgconfig(libxfce4panel-1.0)
-%endif
Requires: %{name}%{?_isa} = %{version}-%{release}
%description xfce4
Xfce4 plugin for %{name} package.
+%endif
%prep
-%forgeautosetup
+%forgeautosetup -p1
%build
-# default: --with-lx --with-pmenu --with-gtktheme --with-xfce4-panel-applet
+%if 0%{?fedora}
+# default: --with-pmenu --with-gtktheme --with-lx --with-xfce4-panel-applet
%{configure} -a
+%else
+%{configure} --with-pmenu --with-gtktheme
+%endif
%{make_build}
@@ -106,10 +111,6 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
%{_mandir}/man?/%{name}*.*
%exclude %{_mandir}/man1/%{name}-{lx,pmenu}.1.*
-%files lx
-%{_libexecdir}/%{name}/%{name}-lx
-%{_mandir}/man1/%{name}-lx.1.*
-
%files pmenu
%{_libexecdir}/%{name}/%{name}-pmenu.py
%{_mandir}/man1/%{name}-pmenu.1.*
@@ -117,9 +118,15 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
%files gtktheme
%{_libexecdir}/%{name}/%{name}-gtktheme.py
+%if 0%{?fedora}
+%files lx
+%{_libexecdir}/%{name}/%{name}-lx
+%{_mandir}/man1/%{name}-lx.1.*
+
%files xfce4
%{_libdir}/xfce4/panel/plugins/lib%{name}.so
%{_datadir}/xfce4/panel/plugins/%{name}-applet.desktop
+%endif
%changelog
diff --git a/sources b/sources
index 5e260c1..a36ae97 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (jgmenu-4.6.0.tar.gz) = becf49bd4ee6d6983f90c114ec4cc5b3b8e43bbe2972242d73ebe8ae1ffb6e970a378538fb6c02b9415291c7ea899322b336a16efb2a9897e44392ab267d0ed1
+SHA512 (jgmenu-4.7.0.tar.gz) = b856921672dd2e559e4db9f7d3401b257de4435401017231c386cc1bb7ee48062564b5afd2ef15888908cd48a2f152611d3247597d88bbef7977b7d92ee137bb
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-10-28 17:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-28 17:25 [rpms/jgmenu] epel9: Version bump TI_Eugene
2026-10-28 17:25 TI_Eugene
2026-10-28 17:25 TI_Eugene
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox