fbmenugen: 0.85 -> 0.86

This commit is contained in:
José Romildo 2021-08-25 12:04:40 -03:00
parent 83514ae7a9
commit ca4678e6b3
2 changed files with 13 additions and 22 deletions

View file

@ -1,14 +1,14 @@
From 76c25147328d71960c70bbdd5a9396aac4a362a2 Mon Sep 17 00:00:00 2001 From b65921873585616c86a591eee9efbc68f84eb3d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jos=C3=A9=20Romildo=20Malaquias?= <malaquias@gmail.com> From: =?UTF-8?q?Jos=C3=A9=20Romildo?= <malaquias@gmail.com>
Date: Wed, 20 May 2020 14:19:07 -0300 Date: Wed, 25 Aug 2021 12:03:09 -0300
Subject: [PATCH] Fix paths Subject: [PATCH] Fix paths
--- ---
fbmenugen | 14 ++++++-------- fbmenugen | 11 +++++------
1 file changed, 6 insertions(+), 8 deletions(-) 1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/fbmenugen b/fbmenugen diff --git a/fbmenugen b/fbmenugen
index 46a18dc..0c8eb08 100755 index 241be16..5fc9aea 100755
--- a/fbmenugen --- a/fbmenugen
+++ b/fbmenugen +++ b/fbmenugen
@@ -214,9 +214,7 @@ my %CONFIG = ( @@ -214,9 +214,7 @@ my %CONFIG = (
@ -22,15 +22,6 @@ index 46a18dc..0c8eb08 100755
"$home_dir/.local/share/applications", "$home_dir/.local/share/applications",
], ],
#>>> #>>>
@@ -232,7 +230,7 @@ my %CONFIG = (
force_icon_size => 0,
generic_fallback => 0,
locale_support => 1,
- use_gtk3 => 0,
+ use_gtk3 => 1,
VERSION => $version,
);
@@ -252,7 +250,7 @@ if (not -e $config_file) { @@ -252,7 +250,7 @@ if (not -e $config_file) {
} }
@ -40,7 +31,7 @@ index 46a18dc..0c8eb08 100755
require File::Copy; require File::Copy;
File::Copy::copy($etc_schema_file, $schema_file) File::Copy::copy($etc_schema_file, $schema_file)
or warn "$0: can't copy file `$etc_schema_file' to `$schema_file': $!\n"; or warn "$0: can't copy file `$etc_schema_file' to `$schema_file': $!\n";
@@ -570,7 +568,7 @@ EXIT @@ -588,7 +586,7 @@ EXIT
$generated_menu .= begin_category(@{$schema->{fluxbox}}) . <<"FOOTER"; $generated_menu .= begin_category(@{$schema->{fluxbox}}) . <<"FOOTER";
[config] (Configure) [config] (Configure)
[submenu] (System Styles) {Choose a style...} [submenu] (System Styles) {Choose a style...}
@ -49,7 +40,7 @@ index 46a18dc..0c8eb08 100755
[end] [end]
[submenu] (User Styles) {Choose a style...} [submenu] (User Styles) {Choose a style...}
[stylesdir] (~/.fluxbox/styles) [stylesdir] (~/.fluxbox/styles)
@@ -580,12 +578,12 @@ EXIT @@ -598,12 +596,13 @@ EXIT
[exec] (Screenshot - JPG) {import screenshot.jpg && display -resize 50% screenshot.jpg} [exec] (Screenshot - JPG) {import screenshot.jpg && display -resize 50% screenshot.jpg}
[exec] (Screenshot - PNG) {import screenshot.png && display -resize 50% screenshot.png} [exec] (Screenshot - PNG) {import screenshot.png && display -resize 50% screenshot.png}
[exec] (Run) {fbrun} [exec] (Run) {fbrun}
@ -59,11 +50,11 @@ index 46a18dc..0c8eb08 100755
[commanddialog] (Fluxbox Command) [commanddialog] (Fluxbox Command)
[reconfig] (Reload config) [reconfig] (Reload config)
[restart] (Restart) [restart] (Restart)
- [exec] (About) {(fluxbox -v; fluxbox -info | sed 1d) | xmessage -file - -center} [exec] (About) {(fluxbox -v; fluxbox -info | sed 1d) | xmessage -file - -center}
+ [exec] (About) {(@fluxbox@/bin/fluxbox -v; @fluxbox@/bin/fluxbox -info | @gnused@/bin/sed 1d) | @xmessage@/bin/xmessage -file - -center} + [exec] (About) {(@fluxbox@/bin/fluxbox -v; @fluxbox@/bin/fluxbox -info | @gnused@/bin/sed 1d) | @xmessage@/bin/xmessage -file - -center}
[separator] [separator]
[exit] (Exit) [exit] (Exit)
[end] [end]
-- --
2.26.2 2.32.0

View file

@ -11,13 +11,13 @@
perlPackages.buildPerlPackage rec { perlPackages.buildPerlPackage rec {
pname = "fbmenugen"; pname = "fbmenugen";
version = "0.85"; version = "0.86";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "trizen"; owner = "trizen";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "1pmms3wzkm8h41a8zrkpn6gq9m9yy5wr5rrzmb84lbacprqq6q7q"; sha256 = "0ya7s8b5xbaplz365bnr580szxxsngrs2n7smj8vz8a7kwi0319q";
}; };
patches = [ patches = [
@ -68,7 +68,7 @@ perlPackages.buildPerlPackage rec {
meta = with lib; { meta = with lib; {
homepage = "https://github.com/trizen/fbmenugen"; homepage = "https://github.com/trizen/fbmenugen";
description = "Simple menu generator for the Fluxbox Window Manager"; description = "Simple menu generator for the Fluxbox Window Manager";
license = licenses.gpl3; license = licenses.gpl3Only;
platforms = platforms.linux; platforms = platforms.linux;
maintainers = [ maintainers.romildo ]; maintainers = [ maintainers.romildo ];
}; };