diff options
Diffstat (limited to 'deskutils/gnome-tweaks/files')
4 files changed, 61 insertions, 8 deletions
diff --git a/deskutils/gnome-tweaks/files/patch-gnome-tweaks b/deskutils/gnome-tweaks/files/patch-gnome-tweaks new file mode 100644 index 000000000000..1d9301de3115 --- /dev/null +++ b/deskutils/gnome-tweaks/files/patch-gnome-tweaks @@ -0,0 +1,11 @@ +--- gnome-tweaks.orig 2024-04-26 06:06:48 UTC ++++ gnome-tweaks +@@ -76,7 +76,7 @@ if __name__ == '__main__': + parser = optparse.OptionParser(version=VERSION) + parser.add_option("-p", "--prefix", + help="Installation prefix (for gsettings schema, themes, etc)", +- metavar="[/, /usr]") ++ metavar="[%%LOCALBASE%%]") + parser.add_option("-v", "--verbose", action="store_true", + help="Print the names of settings modified") + parser.add_option("-d", "--debug", action="store_true", diff --git a/deskutils/gnome-tweaks/files/patch-gtweak_app.py b/deskutils/gnome-tweaks/files/patch-gtweak_app.py new file mode 100644 index 000000000000..d148e3856a70 --- /dev/null +++ b/deskutils/gnome-tweaks/files/patch-gtweak_app.py @@ -0,0 +1,21 @@ +The URL should be adapted with releases of x11/gnome-shell + +--- gtweak/app.py.orig 2024-04-26 06:06:48 UTC ++++ gtweak/app.py +@@ -23,14 +23,10 @@ class ExtensionNotice(Gtk.MessageDialog): + self.set_markup("<b>{0}</b>".format(_("Extensions Has Moved"))) + + self.props.secondary_use_markup = True +- self.props.secondary_text = "{0}\n\n{1}".format( ++ self.props.secondary_text = "{0}\n".format( + # Translators: Placeholder will be replaced with "GNOME Extensions" in active link form + _("Extensions management has been moved to {0}.").format( +- '<a href="https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/HEAD/subprojects/extensions-app/README.md">GNOME Extensions</a>', +- ), +- # Translators: Placeholder will be replaced with "Flathub" in active link form +- _("We recommend downloading GNOME Extensions from {0} if your distribution does not include it.").format( +- '<a href="https://flathub.org/apps/details/org.gnome.Extensions">Flathub</a>' ++ '<a href="https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/HEAD/subprojects/extensions-app/README.md">GNOME Extensions</a>' + ) + ) + diff --git a/deskutils/gnome-tweaks/files/patch-gtweak_tweaks_tweak__group__appearance.py b/deskutils/gnome-tweaks/files/patch-gtweak_tweaks_tweak__group__appearance.py new file mode 100644 index 000000000000..567743dc096e --- /dev/null +++ b/deskutils/gnome-tweaks/files/patch-gtweak_tweaks_tweak__group__appearance.py @@ -0,0 +1,21 @@ +x11-themes/gnome-backgrounds 44.x contains .webp images +x11-themes/gnome-backgrounds 45.x and higher contains .jxl images + +--- gtweak/tweaks/tweak_group_appearance.py.orig 2024-04-26 06:06:48 UTC ++++ gtweak/tweaks/tweak_group_appearance.py +@@ -253,13 +253,13 @@ TWEAK_GROUP = TweakPreferencesPage("appearance", _("Ap + _("Default Image"), + "org.gnome.desktop.background", + "picture-uri", +- mimetypes=["application/xml", "image/png", "image/jpeg"], ++ mimetypes=["application/xml", "image/svg+xml", "image/png", "image/jpeg", "image/webp", "image/jxl"], + ), + GSettingsFileChooserButtonTweak( + _("Dark Style Image"), + "org.gnome.desktop.background", + "picture-uri-dark", +- mimetypes=["application/xml", "image/png", "image/jpeg"], ++ mimetypes=["application/xml", "image/svg+xml", "image/png", "image/jpeg", "image/webp", "image/jxl"], + ), + GSettingsTweakComboRow( + _("Adjustment"), "org.gnome.desktop.background", "picture-options" diff --git a/deskutils/gnome-tweaks/files/patch-gtweak_tweaks_tweak__group__startup.py b/deskutils/gnome-tweaks/files/patch-gtweak_tweaks_tweak__group__startup.py index 8e6f662bd102..00c2db0168e8 100644 --- a/deskutils/gnome-tweaks/files/patch-gtweak_tweaks_tweak__group__startup.py +++ b/deskutils/gnome-tweaks/files/patch-gtweak_tweaks_tweak__group__startup.py @@ -1,14 +1,14 @@ FreeBSD ps(1) does not have "cmd" display format like in linuxes, but "args" is equivalent. ---- gtweak/tweaks/tweak_group_startup.py.orig 2015-10-26 16:48:16 UTC +--- gtweak/tweaks/tweak_group_startup.py.orig 2024-04-26 06:06:48 UTC +++ gtweak/tweaks/tweak_group_startup.py -@@ -334,7 +334,7 @@ class AutostartListBoxTweakGroup(ListBox - exes = [] +@@ -335,7 +335,7 @@ class AutostartTweakGroup(Adw.PreferencesPage, TweakGr + exes = set() cmd = subprocess.Popen([ - 'ps','-e','-w','-w','-U', -- str(os.getuid()),'-o','cmd'], -+ str(os.getuid()),'-o','args'], - stdout=subprocess.PIPE) + 'ps', '-e', '-w', '-w', '-U', +- str(os.getuid()), '-o', 'cmd'], ++ str(os.getuid()), '-o', 'args'], + stdout=subprocess.PIPE) out = cmd.communicate()[0] - for l in out.split('\n'): + for process in out.decode('utf8').split('\n'): |