From 825ae556298f1e4c04c2db32e18d0d6cccbeaae702fabb3ce4c39360fcca0042 Mon Sep 17 00:00:00 2001 From: Manfred Hollstein Date: Sat, 9 Aug 2025 17:50:09 +0000 Subject: [PATCH] - update to version 2.4.0: * Improved desktop environment integration * The new "Exec Editor" makes editing command arguments easier * Help dialogs replace the wall-of-text tooltips * Separators are displayed in the sidebar again * Numerous UX tweaks make MenuLibre easier on the eyes - use the pyproject macros, as using python install is going to be deprecated OBS-URL: https://build.opensuse.org/package/show/X11:xfce/menulibre?expand=0&rev=31 --- .gitattributes | 23 ++++++ .gitignore | 1 + menulibre-2.2.3.tar.gz | 3 + menulibre-2.4.0.tar.gz | 3 + menulibre.changes | 156 +++++++++++++++++++++++++++++++++++++++++ menulibre.spec | 105 +++++++++++++++++++++++++++ 6 files changed, 291 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 menulibre-2.2.3.tar.gz create mode 100644 menulibre-2.4.0.tar.gz create mode 100644 menulibre.changes create mode 100644 menulibre.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/menulibre-2.2.3.tar.gz b/menulibre-2.2.3.tar.gz new file mode 100644 index 0000000..1ee4c76 --- /dev/null +++ b/menulibre-2.2.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:58ed228f066fa92c1c7889949d218f89a2e1505cd73e843409dfb5e6f2aedb4a +size 488117 diff --git a/menulibre-2.4.0.tar.gz b/menulibre-2.4.0.tar.gz new file mode 100644 index 0000000..471a565 --- /dev/null +++ b/menulibre-2.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d906acf9cc13b0e15b8e342ae9aab8b0680db336a382d0c42f5d5f465f593c9f +size 520920 diff --git a/menulibre.changes b/menulibre.changes new file mode 100644 index 0000000..c527c8b --- /dev/null +++ b/menulibre.changes @@ -0,0 +1,156 @@ +------------------------------------------------------------------- +Fri Aug 8 20:04:53 UTC 2025 - Richard Rahl + +- update to version 2.4.0: + * Improved desktop environment integration + * The new "Exec Editor" makes editing command arguments easier + * Help dialogs replace the wall-of-text tooltips + * Separators are displayed in the sidebar again + * Numerous UX tweaks make MenuLibre easier on the eyes +- use the pyproject macros, as using python install is going to be + deprecated + +------------------------------------------------------------------- +Tue Feb 6 13:45:08 UTC 2024 - Manfred Hollstein + +- As long as a new Python version does not ship a broken + python3-distutils, like python311 did in its early days, there is + no need to deal with or skip a specific python version at all. + Disable all %%{python_module ...} and skip_python... stuff again. + +------------------------------------------------------------------- +Tue Feb 6 10:08:38 UTC 2024 - Manfred Hollstein + +- Don't use %%{python_module ...} as we only build for the default + Python interpreter. python312 still needs to be skipped due to + python3-distutils! + +------------------------------------------------------------------- +Sat Feb 3 14:41:08 UTC 2024 - Manfred Hollstein + +- Skip python312 for now until all required Python modules have been + built. + +------------------------------------------------------------------- +Wed Nov 15 15:04:38 UTC 2023 - Manfred Hollstein + +- Use %%{python_module ...} to specify required Python modules to + build this package. + +------------------------------------------------------------------- +Mon Sep 27 05:33:07 UTC 2021 - Maurizio Galli + +- Fixed Source URL (previous commit was wrong) + +------------------------------------------------------------------- +Mon Sep 27 03:19:35 UTC 2021 - Maurizio Galli + +- Fixed Source URL + +------------------------------------------------------------------- +Sun Sep 26 19:36:10 UTC 2021 - Marcel Kuehlhorn + +- Update to version 2.2.3 + * Fixed making diagnostic text selectable on KDE + * Fixed loading from non-existent directories + * Added diagnostics for failed menu loading + * Added support for GNOME-specific categories + (gh#bluesabre/menulibre#56) + * Added support for PrefersNonDefaultGPU (gh#bluesabre/menulibre#50) + * Added support for unprefixed applications.menu + (gh#bluesabre/menulibre#67) + * Added support for X-GNOME-UsesNotifications + (gh#bluesabre/menulibre#79) + * Added support for XFCE specific categories + (gh#bluesabre/menulibre#54) + * Enabled opening a root editor for root-owned files with pkexec + (gh#bluesabre/menulibre#62) + * Enabled searching for Exec key and desktop entry + (gh#bluesabre/menulibre#52) + * Added AppData file (gh#bluesabre/menulibre#61) + * Documented intltool build requirement (gh#bluesabre/menulibre#59) + * Switched to the MenuLibre wiki for key descriptions + (gh#bluesabre/menulibre#48) + * Added valid types to validator, reducing false positives + (gh#bluesabre/menulibre#66) + * Fixed builds with newer versions of GTK (gh#bluesabre/menulibre#77) + * Fixed history state when editing Name and Comment + (gh#bluesabre/menulibre#57) + * Fixed msgfmt errors + * Fixed running with newer versions of GTK (gh#bluesabre/menulibre#82) + * Fixed selection leaving screen while moving items + (gh#bluesabre/menulibre#25) + * Fixed typo in desktop file processing error + * Translation Updates + +------------------------------------------------------------------- +Fri May 31 15:33:30 UTC 2019 - Maurizio Galli + +- Polished spec file: + - Remove hashbang line from non-executable library files + - Replaced python3 with %{__python3} macro + - Added check with desktop-file-validate + +------------------------------------------------------------------- +Fri May 31 12:24:15 UTC 2019 - Vinzenz Vietzke + +- Update version to 2.2.1 + * Automatically generate changelog when built from git or released + * Bug Fixes + - Correctly display markup in the application name (lp#1813427) + - Fix UnicodeDecodeError with non-English locales (lp#1825213) + - Drop invalid error for non-existent Exec key (lp#1788814) + - Decode stderr as UTF-8 (lp#1789635) + * Translation Updates + +------------------------------------------------------------------- +Fri Oct 12 14:20:29 UTC 2018 - Jan Engelhardt + +- Trim filler wording from description. + +------------------------------------------------------------------- +Fri Oct 12 11:38:03 UTC 2018 - Maurizio Galli + +- Added fix for duplicate icons warnings +- Added BuildRequires: hicolor-icon-theme +- Added Requres: xdg-utils, hicolor-icon-theme +- Run spec-cleaner +------------------------------------------------------------------- +Fri Oct 12 10:55:50 UTC 2018 - Maurizio Galli + +- added %{__python3} macro in %install section + +------------------------------------------------------------------- +Fri Oct 12 08:31:57 UTC 2018 - Maurizio Galli + +- Added fix duplicate doc folder in spec file +- Cleaned Change Log +- Modified %install to include Python binary path +- Fixed several BuildRequires and Requires dependencies +- typelib(gtk) = 3.0 needed as RB to prevent some Python module errors during build +- Edited %build arguments +- Cleaned %file section and added folders and files +- Run spec-cleaner + +------------------------------------------------------------------- +Wed Oct 10 11:13:01 UTC 2018 - Maurizio Galli + +- Changed license in spec file to GPL-3.0-only +- Removed # FIXME comments in spec file + +------------------------------------------------------------------- +Mon Oct 8 08:53:33 UTC 2018 - Maurizio Galli + +- fixed Source address + +------------------------------------------------------------------- +Sun Oct 7 04:40:26 UTC 2018 - Maurizio Galli + +- run spec-cleaner and cleaned up spec file +- removed duplicate dependency + +------------------------------------------------------------------- +Mon Oct 1 08:10:28 UTC 2018 - Maurizio Galli + +- menulibre-2.2.0 +- New Package diff --git a/menulibre.spec b/menulibre.spec new file mode 100644 index 0000000..97a3725 --- /dev/null +++ b/menulibre.spec @@ -0,0 +1,105 @@ +# +# spec file for package menulibre +# +# Copyright (c) 2025 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: menulibre +Version: 2.4.0 +Release: 0 +Summary: Desktop menu editor +License: GPL-3.0-only +Group: System/GUI/Other +URL: https://bluesabre.org/projects/menulibre/ +Source0: https://github.com/bluesabre/menulibre/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz +BuildRequires: appstream-glib +BuildRequires: desktop-file-utils +BuildRequires: fdupes +BuildRequires: gnome-menus +BuildRequires: gobject-introspection +BuildRequires: hicolor-icon-theme +BuildRequires: intltool +BuildRequires: pkgconfig(libgnome-menu-3.0) +BuildRequires: python-rpm-macros +BuildRequires: python3-distutils-extra +BuildRequires: python3-gobject-devel +BuildRequires: python3-pip +BuildRequires: python3-psutil +BuildRequires: typelib(Gtk) = 3.0 +BuildRequires: xdg-utils +Requires: gnome-menus +Requires: hicolor-icon-theme +Requires: python3-gobject +Requires: python3-psutil +Requires: xdg-utils +BuildArch: noarch + +%description +A desktop menu editor. Budgie, Cinnamon, GNOME, KDE (Plasma), LXDE, LXQt, MATE, +Pantheon, Unity, and Xfce are supported. + +%lang_package + +%prep +%autosetup + +%build +%if 0%{?suse_version} > 1500 +%python3_pyproject_wheel +%endif + +%install +%if 0%{?suse_version} > 1500 +%python3_pyproject_install +%else +%{__python3} setup.py install --root=%{buildroot} +%endif +%fdupes %{buildroot} +%find_lang %{name} + +# fix upstream +rm %{buildroot}%{python_sitelib}/uninstall.py +rm -r %{buildroot}%{_datadir}/doc/%{name} +rm -r %{buildroot}%{_datadir}/icons/hicolor/*x*/ +rm -r %{buildroot}%{python_sitelib}/__pycache__ +sed -i 's|#!/usr/bin/python3||g' %{buildroot}%{python_sitelib}/%{name}/*.py +sed -i 's|#!/usr/bin/python3||g' %{buildroot}%{python_sitelib}/%{name}_lib/*.py + +%check +appstream-util validate --nonet %{buildroot}%{_datadir}/metainfo/%{name}.appdata.xml +desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop + +%files +%license COPYING +%doc AUTHORS NEWS README.md +%{_bindir}/%{name} +%{_bindir}/%{name}-menu-validate +%{_datadir}/applications/%{name}.desktop +%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg +%{_datadir}/metainfo/%{name}.appdata.xml +%{_datadir}/pixmaps/%{name}.png +%{_mandir}/man?/%{name}-menu-validate.?%{?ext_man} +%{_mandir}/man?/%{name}.?%{?ext_man} +%{python_sitelib}/%{name} +%if 0%{?suse_version} > 1500 +%{python_sitelib}/%{name}-%{version}.dist-info +%else +%{python_sitelib}/%{name}-%{version}-py%{python_version}.egg-info +%endif +%{python_sitelib}/%{name}_lib + +%files lang -f %{name}.lang + +%changelog -- 2.51.1