1
0
forked from pool/budgie-extras
Richard Brown 2021-04-06 15:30:27 +00:00 committed by Git OBS Bridge
parent db5bcfe59f
commit 3d1959e30f
8 changed files with 280 additions and 471 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:674fdb41a65189efeb00ba085213fdde9a2b7f09f5361a263a2bc11d1ced4159
size 7387520

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEHh+wAXyZiorixJimwuqoomrcWe4FAl9j2pkACgkQwuqoomrc
We5ZqBAAghbyo4HLLfAHyQzkRmMILoeOToLZFwBJl+rkAl7sXbxNRIxDCbE6TidY
weum13LDojaePunKgDbj429Y6mwdDv+5Z9SuGYltbzn7Q19EH2A38JpaxWCMXsQy
BoOKpE9488GzRineBY0wpKepv+wN85V/4fdIKM/7M+eg+fL2TeQeek7V60B6UHIx
uLCkVPClxz1h7RAbRZd/Fy1HjZb1As/JcF/374Ry1lujuDReYuAakK7bJNIPnIFn
MCWndty6Cwqs/yvekCF+Bmy/HwRfEeP2TXbOm5UE6UkvFuyoGk/Bo4MV86zxpQiX
YIOaDS17lRHOAkGiAS2Ds9dwrmq8kZJWbPHpXGmI9b0wD7mdlTKzOPrrEvD5YYNZ
367WvbXFb0fFf2RnDRRGMMK1eHHtvvB+fXfe3ndN/ELX+ly8zkJgrosFFTdb4r/Y
cutPheuesKV+SbQbt1y18Aah1JpiNePDQCM13/rOF8tus1hBU/emdTZdzs53NBRx
I6h94vID7NacqW8s9XQTwS+xl6opYxLyzFqYwi3prRpSA2K6aFFQumjW8BTlwSCF
t11LN6lyQt4SKd4nhvtuRVKTaNVBAdpdy6PlQcbalentVnE5PmjYwjAWXA3cFYTf
z62Xy+kgMMki6VLWcTUIb7d2otWhQGMudw3BMk7rvtegi9eN9bI=
=c6LV
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fa9af5a6665c44adcacd29187dbf4810c82078b0c3aa79b8dbc121b672765733
size 11293136

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEHh+wAXyZiorixJimwuqoomrcWe4FAmBQ94cACgkQwuqoomrc
We4Muw//bDLo2vx9KrDvIptKnst9dSgsmmhE8naU/NGW6Il3Z1IGnaL4U8czUx6x
MF/2aDeGkGYspLoFbOiPVDtsusvc6kUNJQ28uXSKLQ94BIURflWFsmFxhCvFe8CW
+Vny2UH/aFfWTvRm4xZEg0+tDsxnx8mDDlRlwJ1JOfszEUxqEXCl0lfb/CeIpqmn
74o+cVU2qDFQb8IvIz76ZCZ0FYuIpzPmO2yJ0Sw3YM8tY5rk4Wk3b6iRl6doWD4U
waSuxVglbV041NJHazAtlExTJjJRkjD4eR9PhFFOgr2IkG0jYTwx1tlzPU3q4gV9
wZHsl3IuDB2uoEhFc20CXDa5ntVLOn1fLd/AaR1eu6S3OjdYyhdTHZnKCI0VknMC
FqgbG6xVqUfqunesLG/WcAva9nHQuowSjz3K08fZMPfbht4ofEsIRHcoPlyXr/+5
6ISdWubFFw6l6lWqH7XIpJdHe8r365u838bGdVRdNH8aVjgwGeCeRGj7O7lck4AG
c67UnfAo8MbkKQUkwZZozyucuecy43UOCWwefhQ9GvdzAP4o9e4l/qFWTq+aHPm7
L9FKPiwsljnksP+ShO6vftSWuhNN88e4wkNMIIaD1tlnuqAFkl1Y1JefqpEjjbkM
fNYGdzl7hadAwMgVriqtyEjYHSaDokEwO0v71TsoePE1zm+jwm4=
=nn7o
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Sun Apr 4 10:38:16 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>
- Update to version 1.2.0 "Magic Windows"
* QuickChar installation is now easier on other than Debian
* Bug fix for the applications menu so that rollover menus
settings is remembered on logon.
* The number of cities that our weather applet can now
search has increased from 22.6k to 185k
* Applets now support stateless based distros and
the XDG autostart path can both be defined
at compilation time
* Bug fix for the brightness applet to not change
the popup width when percentage changes between 100% and 0%
* Translations have been updated from all our
Transifex translators
* Take-a-break applet now depends on libnotify-dev
- Remove executable-location.patch: upstreamed
-------------------------------------------------------------------
Wed Feb 17 11:13:22 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>

View File

@ -15,8 +15,9 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: budgie-extras
Version: 1.1.0
Version: 1.2.0
Release: 0
Summary: Additional Budgie Desktop enhancements for user experience
License: GPL-3.0-or-later
@ -26,354 +27,380 @@ Source: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.xz
Source1: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.xz.asc
Source2: %{name}.keyring
# PATCH-FIX-OPENSUSE Change all shebang lines to /usr/bin/python3
Patch: python3-shebangs.patch
# PATCH-FIX-OPENSUSE Correct location of executable in desktop file
Patch1: executable-location.patch
Patch0: python3-shebangs.patch
Patch2: xdg-config.patch
BuildRequires: fdupes
BuildRequires: intltool
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: vala
BuildRequires: intltool
BuildRequires: fdupes
BuildRequires: pkgconfig(budgie-1.0)
BuildRequires: pkgconfig(gee-0.8)
BuildRequires: pkgconfig(granite)
BuildRequires: pkgconfig(libsoup-2.4)
BuildRequires: pkgconfig(json-glib-1.0)
BuildRequires: pkgconfig(libgnome-menu-3.0)
BuildRequires: pkgconfig(libwnck-3.0)
BuildRequires: pkgconfig(keybinder-3.0)
BuildRequires: pkgconfig(gnome-settings-daemon)
BuildRequires: pkgconfig(granite)
BuildRequires: pkgconfig(json-glib-1.0)
BuildRequires: pkgconfig(keybinder-3.0)
BuildRequires: pkgconfig(libgnome-menu-3.0)
BuildRequires: pkgconfig(libhandy-1)
BuildRequires: pkgconfig(libnm)
BuildRequires: pkgconfig(libnma)
BuildRequires: pkgconfig(libnotify)
BuildRequires: pkgconfig(libsoup-2.4)
BuildRequires: pkgconfig(libwnck-3.0)
BuildRequires: pkgconfig(plank)
BuildRequires: pkgconfig(libhandy-1)
# All applets
Recommends: budgie-app-launcher-applet
Recommends: budgie-brightness-controller-applet
Recommends: budgie-clockworks-applet
Recommends: budgie-countdown-applet
Recommends: budgie-dropby-applet
Recommends: budgie-fuzzyclock-applet
Recommends: budgie-hotcorners-applet
Recommends: budgie-kangaroo-applet
Recommends: budgie-keyboard-autoswitch-applet
Recommends: budgie-network-manager-applet
Recommends: budgie-previews
Recommends: budgie-quickchar
Recommends: budgie-quicknote-applet
Recommends: budgie-recentlyused-applet
Recommends: budgie-rotation-lock-applet
Recommends: budgie-showtime-applet
Recommends: budgie-takeabreak-applet
Recommends: budgie-trash-applet
Recommends: budgie-visualspace-applet
Recommends: budgie-wallstreet
Recommends: budgie-weathershow-applet
Recommends: budgie-window-mover-applet
Recommends: budgie-window-shuffler
Recommends: budgie-workspace-overview-applet
Recommends: budgie-workspace-stopwatch-applet
Recommends: budgie-workspace-wallpaper-applet
Recommends: budgie-app-launcher-applet
Recommends: budgie-brightness-controller-applet
Recommends: budgie-clockworks-applet
Recommends: budgie-countdown-applet
Recommends: budgie-dropby-applet
Recommends: budgie-fuzzyclock-applet
Recommends: budgie-hotcorners-applet
Recommends: budgie-kangaroo-applet
Recommends: budgie-keyboard-autoswitch-applet
Recommends: budgie-network-manager-applet
Recommends: budgie-previews
Recommends: budgie-quickchar
Recommends: budgie-quicknote-applet
Recommends: budgie-recentlyused-applet
Recommends: budgie-rotation-lock-applet
Recommends: budgie-showtime-applet
Recommends: budgie-takeabreak-applet
Recommends: budgie-trash-applet
Recommends: budgie-visualspace-applet
Recommends: budgie-wallstreet
Recommends: budgie-weathershow-applet
Recommends: budgie-window-mover-applet
Recommends: budgie-window-shuffler
Recommends: budgie-workspace-overview-applet
Recommends: budgie-workspace-stopwatch-applet
Recommends: budgie-workspace-wallpaper-applet
%description
Additional Budgie Desktop enhancements for the user experience
%package -n budgie-app-launcher-applet
Summary: App Launcher applet
Requires: python3-gobject-Gdk
Summary: App Launcher applet
Group: System/GUI/Other
Requires: python3-gobject-Gdk
%description -n budgie-app-launcher-applet
App Launcher is a Budgie Desktop applet for productivity. This applet lists your favourite apps.
%package -n budgie-brightness-controller-applet
Summary: Brightness controller applet
Requires: budgie-extras-lang
Summary: Brightness controller applet
Group: System/GUI/Other
Requires: budgie-extras-lang
%description -n budgie-brightness-controller-applet
Brightness Controller is a Budgie Desktop applet for productivity.
%package -n budgie-clockworks-applet
Summary: Clockworks applet
Requires: python3-CairoSVG
Requires: python3-gobject-Gdk
Requires: python3-Pillow
Requires: python3-svgwrite
Summary: Clockworks applet
Group: System/GUI/Other
Requires: python3-CairoSVG
Requires: python3-Pillow
Requires: python3-gobject-Gdk
Requires: python3-svgwrite
%description -n budgie-clockworks-applet
A multi-clock applet to show the time across multiple timezones.
Clocks can be created and deleted in a single click, and easily be (re-) named.
A multi-clock applet to show the time across multiple timezones.
Clocks can be created and deleted in a single click, and easily be (re-) named.
Timezones can be looked up from the applet's popup menu.
%package -n budgie-countdown-applet
Summary: Countdown applet
Requires: python3-gobject-Gdk
Requires: python3-psutil
Requires: sound-theme-freedesktop
Requires: vorbis-tools
Requires: zenity
Summary: Countdown applet
Group: System/GUI/Other
Requires: python3-gobject-Gdk
Requires: python3-psutil
Requires: sound-theme-freedesktop
Requires: vorbis-tools
Requires: zenity
%description -n budgie-countdown-applet
A count down applet with the following options: ring a bell, flash the (panel) icon, display a message window or run a (any) command.
A count down applet with the following options: ring a bell, flash the (panel) icon, display a message window or run a (any) command.
The applet also offers the option to overrule possible user settings on suspend, to keep the clock going while time is running.
%package -n budgie-dropby-applet
Summary: DropBy applet
Requires: python3-gobject-Gdk
Requires: python3-psutil
Requires: python3-pyudev
Requires: util-linux
Requires: wmctrl
Requires: zenity
Summary: DropBy applet
Group: System/GUI/Other
Requires: python3-gobject-Gdk
Requires: python3-psutil
Requires: python3-pyudev
Requires: util-linux
Requires: wmctrl
Requires: zenity
%description -n budgie-dropby-applet
The DropBy applet pops up on the occasion of connecting a usb device.
The applet subsequently offers the option(s) to mount, unmount/eject, and, in case of a flash drive, to make a local copy of the drive's content.
The DropBy applet pops up on the occasion of connecting a usb device.
The applet subsequently offers the option(s) to mount, unmount/eject, and, in case of a flash drive, to make a local copy of the drive's content.
The info shows the free space on the volume.
%package daemon
Summary: Daemon for Budgie Extras
Summary: Daemon for Budgie Extras
Group: System/GUI/Other
%description daemon
This on logon process manages keyboard shortcuts delivered via .bde files for various extras-plugins.
%package -n budgie-fuzzyclock-applet
Summary: Fuzzyclock Applet
Requires: budgie-extras-lang
Summary: Fuzzyclock Applet
Group: System/GUI/Other
Requires: budgie-extras-lang
%description -n budgie-fuzzyclock-applet
This applet shows the time in a Fuzzy Way.
%package -n budgie-hotcorners-applet
Summary: Hotcorners applet
Requires: budgie-extras-lang
Requires: dconf
Requires: budgie-screensaver
Requires: libnotify-tools
Requires: xdotool
Summary: Hotcorners applet
Group: System/GUI/Other
Requires: budgie-extras-lang
Requires: budgie-screensaver
Requires: dconf
Requires: libnotify-tools
Requires: xdotool
%description -n budgie-hotcorners-applet
Hotcorners offers the option to set corner actions, both from preset and custom commands.
Pressure can be set from Budgie Settings.
Hotcorners offers the option to set corner actions, both from preset and custom commands.
Pressure can be set from Budgie Settings.
This is the new Vala-based hotcorners applet.
%package -n budgie-kangaroo-applet
Summary: Kangaroo applet
Requires: python3-gobject-Gdk
Requires: python3-psutil
Requires: xdg-utils
Requires: zenity
Summary: Kangaroo applet
Group: System/GUI/Other
Requires: python3-gobject-Gdk
Requires: python3-psutil
Requires: xdg-utils
Requires: zenity
%description -n budgie-kangaroo-applet
Kangaroo is an applet for quick & easy browsing, across (possibly) many directory layers, without having to do a single mouse click.
%package -n budgie-keyboard-autoswitch-applet
Summary: Keyboard autoswitch applet
Requires: python3-gobject-Gdk
Requires: python3-psutil
Requires: wmctrl
Requires: xdpyinfo
Requires: xev
Requires: xlsatoms
Requires: xlsclients
Requires: xlsfonts
Requires: xprop
Requires: xvinfo
Requires: xwininfo
Summary: Keyboard autoswitch applet
Group: System/GUI/Other
Requires: python3-gobject-Gdk
Requires: python3-psutil
Requires: wmctrl
Requires: xdpyinfo
Requires: xev
Requires: xlsatoms
Requires: xlsclients
Requires: xlsfonts
Requires: xprop
Requires: xvinfo
Requires: xwininfo
%description -n budgie-keyboard-autoswitch-applet
Keyboard Auto Switch is an applet to use a different input keyboard layout per application.
Simply set a default layout to be used in general.
Keyboard Auto Switch is an applet to use a different input keyboard layout per application.
Simply set a default layout to be used in general.
Subsequently, simply set a different layout, with the application's window in front, and an exception for that specific application is remembered.
%package -n budgie-network-manager-applet
Summary: Network manager applet
Requires: budgie-extras-lang
Summary: Network manager applet
Group: System/GUI/Other
Requires: budgie-extras-lang
%description -n budgie-network-manager-applet
This is a fork of Wingpanel Network Indicator, ported to budgie desktop
%package -n budgie-previews
Summary: Previews applet
Requires: budgie-extras-daemon
Requires: xinput
Requires: xprintidle
Summary: Previews applet
Group: System/GUI/Other
Requires: budgie-extras-daemon
Requires: xinput
Requires: xprintidle
%description -n budgie-previews
Provides window previews capabilities for the Budgie Desktop
%package -n budgie-quickchar
Summary: Quickchar applet
Requires: budgie-extras-daemon
Requires: python3-gobject-Gdk
Requires: python3-pyperclip
Requires: python3-python-xlib
Requires: wmctrl
Requires: xdpyinfo
Requires: xev
Requires: xlsatoms
Requires: xlsclients
Requires: xlsfonts
Requires: xprop
Requires: xvinfo
Requires: xwininfo
Summary: Quickchar applet
Group: System/GUI/Other
Requires: budgie-extras-daemon
Requires: python3-gobject-Gdk
Requires: python3-pyperclip
Requires: python3-python-xlib
Requires: wmctrl
Requires: xdpyinfo
Requires: xev
Requires: xlsatoms
Requires: xlsclients
Requires: xlsfonts
Requires: xprop
Requires: xvinfo
Requires: xwininfo
%description -n budgie-quickchar
QuickChar is a mini-app to quickly choose and insert equivalents of ascii characters.
QuickChar is a mini-app to quickly choose and insert equivalents of ascii characters.
QuickChar is activated via the Budgie Menu.
%package -n budgie-quicknote-applet
Summary: Quicknote applet
Requires: budgie-extras-lang
Summary: Quicknote applet
Group: System/GUI/Other
Requires: budgie-extras-lang
%description -n budgie-quicknote-applet
Quicknote is an applet to provide the easiest possible way to make small notes.
Just click the icon and write down your notes.
Quicknote is an applet to provide the easiest possible way to make small notes.
Just click the icon and write down your notes.
QuickNote autosaves the text while writing, and comes with a ten- level undo/redo function.
%package -n budgie-recentlyused-applet
Summary: Recently Used applet
Requires: budgie-extras-lang
Requires: xdg-utils
Summary: Recently Used applet
Group: System/GUI/Other
Requires: budgie-extras-lang
Requires: xdg-utils
%description -n budgie-recentlyused-applet
Show (Gtk applications') recently used items in a menu.
%package -n budgie-rotation-lock-applet
Summary: Rotationlock applet
Requires: python3-gobject-Gdk
Summary: Rotationlock applet
Group: System/GUI/Other
Requires: python3-gobject-Gdk
%description -n budgie-rotation-lock-applet
RotationLock is a simple applet that lets you toggle the "Rotation Lock" feature for Budgie.
%package -n budgie-showtime-applet
Summary: Showtime applet
Requires: budgie-extras-lang
Requires: dconf
Summary: Showtime applet
Group: System/GUI/Other
Requires: budgie-extras-lang
Requires: dconf
%description -n budgie-showtime-applet
Budgie Showtime is a digital desktop clock, showing time, and optionally, date.
Budgie Showtime is a digital desktop clock, showing time, and optionally, date.
Textcolor of both can be set separately from the applet's menu.
%package -n budgie-takeabreak-applet
Summary: Takeabreak applet
Requires: python3-gobject-Gdk
Requires: iceauth
Requires: sessreg
Requires: rgb
Requires: xcmsdb
Requires: xgamma
Requires: xhost
Requires: xmodmap
Requires: xrandr
Requires: xrdb
Requires: xrefresh
Requires: xset
Requires: xsetmode
Requires: xsetpointer
Requires: xsetroot
Requires: xstdcmap
Requires: xvidtune
Summary: Takeabreak applet
Group: System/GUI/Other
Requires: iceauth
Requires: python3-gobject-Gdk
Requires: rgb
Requires: sessreg
Requires: xcmsdb
Requires: xgamma
Requires: xhost
Requires: xmodmap
Requires: xrandr
Requires: xrdb
Requires: xrefresh
Requires: xset
Requires: xsetmode
Requires: xsetpointer
Requires: xsetroot
Requires: xstdcmap
Requires: xvidtune
%description -n budgie-takeabreak-applet
Budgie TakeaBreak is a pomodoro- like applet, to make sure to take regular breaks from working.
Options from Budgie Settings include turning the screen upside down, dim the screen, lock screen or show a countdown message on break time.
Budgie TakeaBreak is a pomodoro- like applet, to make sure to take regular breaks from working.
Options from Budgie Settings include turning the screen upside down, dim the screen, lock screen or show a countdown message on break time.
The applet can be accessed quickly from the panel to temporarily switch it off.
%package -n budgie-trash-applet
Summary: Trash applet
Requires: budgie-extras-lang
Summary: Trash applet
Group: System/GUI/Other
Requires: budgie-extras-lang
%description -n budgie-trash-applet
Trash is a Budgie Desktop applet for productivity.
%package -n budgie-visualspace-applet
Summary: Visualspace applet
Requires: budgie-extras-lang
Summary: Visualspace applet
Group: System/GUI/Other
Requires: budgie-extras-lang
%description -n budgie-visualspace-applet
Budgie VisualSpace shows the current workspace(s), as bullet(s).
Budgie VisualSpace shows the current workspace(s), as bullet(s).
The applet includes a menu to navigate to either one of the windows or their corresponding workspace.
%package -n budgie-wallstreet
Summary: Wallstreet applet
Requires: budgie-extras-lang
Summary: Wallstreet applet
Group: System/GUI/Other
Requires: budgie-extras-lang
%description -n budgie-wallstreet
Budgie WallStreet is a mini-app to switch wallpapers on regular intervalls.
%package -n budgie-weathershow-applet
Summary: Weathershow applet
Requires: budgie-extras-lang
Requires: dconf
Requires: procps
Summary: Weathershow applet
Group: System/GUI/Other
Requires: budgie-extras-lang
Requires: dconf
Requires: procps
%description -n budgie-weathershow-applet
WeatherShowII is a completely rewritten version of the existing python WeatherShow applet.
%package -n budgie-window-mover-applet
Summary: Window Mover applet
Requires: dconf
Requires: python3-gobject-Gdk
Requires: python3-psutil
Requires: wmctrl
Requires: xdpyinfo
Requires: xev
Requires: xlsatoms
Requires: xlsclients
Requires: xlsfonts
Requires: xprop
Requires: xvinfo
Requires: xwininfo
Requires: xdotool
Summary: Window Mover applet
Group: System/GUI/Other
Requires: dconf
Requires: python3-gobject-Gdk
Requires: python3-psutil
Requires: wmctrl
Requires: xdotool
Requires: xdpyinfo
Requires: xev
Requires: xlsatoms
Requires: xlsclients
Requires: xlsfonts
Requires: xprop
Requires: xvinfo
Requires: xwininfo
%description -n budgie-window-mover-applet
Budgie WindoMover is an application (applet) to quickly move windows to any of the other workspaces.
%package -n budgie-window-shuffler
Summary: Window shuffler applet
Requires: budgie-extras-lang
Requires: budgie-extras-daemon
Requires: xdpyinfo
Requires: xev
Requires: xlsatoms
Requires: xlsclients
Requires: xlsfonts
Requires: xprop
Requires: xvinfo
Requires: xwininfo
Summary: Window shuffler applet
Group: System/GUI/Other
Requires: budgie-extras-daemon
Requires: budgie-extras-lang
Requires: xdpyinfo
Requires: xev
Requires: xlsatoms
Requires: xlsclients
Requires: xlsfonts
Requires: xprop
Requires: xvinfo
Requires: xwininfo
%description -n budgie-window-shuffler
GUI and keyboard friendly window arranger for the budgie desktop
%package -n budgie-workspace-overview-applet
Summary: Workspace Overview applet
Requires: python3-gobject-Gdk
Requires: python3-psutil
Requires: wmctrl
Requires: xdpyinfo
Requires: xev
Requires: xlsatoms
Requires: xlsclients
Requires: xlsfonts
Requires: xprop
Requires: xvinfo
Requires: xwininfo
Summary: Workspace Overview applet
Group: System/GUI/Other
Requires: python3-gobject-Gdk
Requires: python3-psutil
Requires: wmctrl
Requires: xdpyinfo
Requires: xev
Requires: xlsatoms
Requires: xlsclients
Requires: xlsfonts
Requires: xprop
Requires: xvinfo
Requires: xwininfo
%description -n budgie-workspace-overview-applet
An applet to have quick access to all windows across all workspaces
%package -n budgie-workspace-stopwatch-applet
Summary: Workspace stopwatch applet
Requires: python3-gobject-Gdk
Summary: Workspace stopwatch applet
Group: System/GUI/Other
Requires: python3-gobject-Gdk
%description -n budgie-workspace-stopwatch-applet
Workspace Timer Applet is an applet to keep track of usage per workspace, e.g. to find out how much minutes/hours were actually spent on a job.
Workspace Timer Applet is an applet to keep track of usage per workspace, e.g. to find out how much minutes/hours were actually spent on a job.
Workspaces can be freely named, custom names and all data are rmembered, also after logout/restart, until the RESET button is pressed.
%package -n budgie-workspace-wallpaper-applet
Summary: Workspace Wallpaper applet
Requires: budgie-extras-lang
Summary: Workspace Wallpaper applet
Group: System/GUI/Other
Requires: budgie-extras-lang
%description -n budgie-workspace-wallpaper-applet
Budgie Wallpaper Workspace Switcher is an application (applet) to show a different wallpaper on each of the workspaces.
@ -433,7 +460,7 @@ Budgie Wallpaper Workspace Switcher is an application (applet) to show a differe
%{_libdir}/budgie-extras-daemon
%{_datadir}/budgie-extras-daemon
%{_bindir}/budgie-extras-daemon
%{_mandir}/man1/budgie-extras-daemon.1.gz
%{_mandir}/man1/budgie-extras-daemon.1%{?ext_man}
%{_distconfdir}/xdg/autostart/budgie-extras-daemon.desktop
%files -n budgie-app-launcher-applet
@ -496,7 +523,7 @@ Budgie Wallpaper Workspace Switcher is an application (applet) to show a differe
%{_datadir}/applications/quickchar.desktop
%{_distconfdir}/xdg/autostart/quickchar-autostart.desktop
%{_datadir}/glib-2.0/schemas/org.ubuntubudgie.quickchar.gschema.xml
%{_mandir}/man1/quickchar.1.gz
%{_mandir}/man1/quickchar.1%{?ext_man}
%files -n budgie-quicknote-applet
%{_datadir}/pixmaps/budgie-quicknote-symbolic.svg
@ -554,6 +581,7 @@ Budgie Wallpaper Workspace Switcher is an application (applet) to show a differe
%{_datadir}/glib-2.0/schemas/org.ubuntubudgie.windowshuffler.gschema.xml
%{_distconfdir}/xdg/autostart/shufflerdaemon-autostart.desktop
%{_distconfdir}/xdg/autostart/shufflergui-autostart.desktop
%{_distconfdir}/xdg/autostart/layoutspopup-autostart.desktop
%files -n budgie-workspace-overview-applet
%{_datadir}/pixmaps/ws*-symbolic.svg

View File

@ -1,90 +0,0 @@
From 485df21d0225df72b50db062b6ca97d53fa6ce7c Mon Sep 17 00:00:00 2001
From: Callum Farmer <callumjfarmer13@gmail.com>
Date: Sat, 26 Sep 2020 14:15:39 +0100
Subject: [PATCH] Don't hardcode the path to the QuickChar install
---
budgie-quickchar/quickchar/data/meson.build | 9 +++--
...quickchar.desktop => quickchar.desktop.in} | 2 +-
budgie-quickchar/quickchar/data/subst.py | 34 +++++++++++++++++++
3 files changed, 41 insertions(+), 4 deletions(-)
rename budgie-quickchar/quickchar/data/{quickchar.desktop => quickchar.desktop.in} (78%)
create mode 100644 budgie-quickchar/quickchar/data/subst.py
diff --git a/budgie-quickchar/quickchar/data/meson.build b/budgie-quickchar/quickchar/data/meson.build
index 76cada6..8bfd416 100644
--- a/budgie-quickchar/quickchar/data/meson.build
+++ b/budgie-quickchar/quickchar/data/meson.build
@@ -9,9 +9,13 @@ install_data(
install_dir: join_paths(sysconfdir, 'xdg', 'autostart')
)
-install_data(
- 'quickchar.desktop',
- install_dir: join_paths(datadir, 'applications')
+substprog = find_program('subst.py')
+desktopfile = custom_target('desktopfile',
+ output : 'quickchar.desktop',
+ input : 'quickchar.desktop.in',
+ command : [substprog, '@INPUT@', pkgdatadir, '@OUTPUT@'],
+ install : true,
+ install_dir : join_paths(datadir, 'applications')
)
install_data(
diff --git a/budgie-quickchar/quickchar/data/quickchar.desktop b/budgie-quickchar/quickchar/data/quickchar.desktop.in
similarity index 78%
rename from budgie-quickchar/quickchar/data/quickchar.desktop
rename to budgie-quickchar/quickchar/data/quickchar.desktop.in
index 04ed7cd..d3e80b9 100644
--- a/budgie-quickchar/quickchar/data/quickchar.desktop
+++ b/budgie-quickchar/quickchar/data/quickchar.desktop.in
@@ -1,7 +1,7 @@
[Desktop Entry]
Type=Application
Name=QuickChar Control
-Exec=/usr/lib/quickchar/quickchar control
+Exec=PATH_LOC/quickchar control
Icon=gnome-characters
Categories=GNOME;GTK;Utility;
Keywords=characters;unicode;punctuation;letters;
diff --git a/budgie-quickchar/quickchar/data/subst.py b/budgie-quickchar/quickchar/data/subst.py
new file mode 100644
index 0000000..1f159c4
--- /dev/null
+++ b/budgie-quickchar/quickchar/data/subst.py
@@ -0,0 +1,34 @@
+#!/usr/bin/python3
+
+import os
+import subprocess
+import sys
+
+inputfile = sys.argv[1]
+replacetext = sys.argv[2]
+outputfile = sys.argv[3]
+args = len(sys.argv)
+if args == 5:
+ podir = sys.argv[4]
+
+# Read in the file
+with open(inputfile, 'r') as file:
+ filedata = file.read()
+
+# Replace the target string
+filedata = filedata.replace('PATH_LOC', replacetext)
+
+# Write the file out again
+if args == 5:
+ staging = "staging"
+else:
+ staging = ""
+with open(outputfile + staging, 'w') as file:
+ file.write(filedata)
+
+if args == 5:
+ subprocess.run(['intltool-merge',
+ '--desktop-style',
+ podir,
+ outputfile + staging,
+ outputfile])

View File

@ -1,80 +1,18 @@
From b37307248abfba6215677b662fe7abc39ec73ec8 Mon Sep 17 00:00:00 2001
From: Callum Farmer <callumjfarmer13@gmail.com>
Date: Sat, 24 Oct 2020 11:57:03 +0100
Subject: [PATCH] Make xdg directory configurable
From 4e5d5149f7fc67408c994e84a1cf0ccf74f82289 Mon Sep 17 00:00:00 2001
From: Algent Albrahimi <46356616+algent-al@users.noreply.github.com>
Date: Sun, 21 Mar 2021 23:38:47 +0100
Subject: [PATCH] Add layoutspopup-autostart to configurable xdg dir (#382)
---
budgie-extras-daemon/src/meson.build | 2 +-
budgie-visualspace/data/meson.build | 3 +--
budgie-wallstreet/data/meson.build | 2 +-
budgie-window-shuffler/data/meson.build | 4 ++--
budgie-wpreviews/data/meson.build | 5 ++---
meson.build | 14 ++++++++++++++
meson_options.txt | 2 ++
7 files changed, 23 insertions(+), 9 deletions(-)
budgie-window-shuffler/data/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/budgie-extras-daemon/src/meson.build b/budgie-extras-daemon/src/meson.build
index f176202..8592222 100644
--- a/budgie-extras-daemon/src/meson.build
+++ b/budgie-extras-daemon/src/meson.build
@@ -6,7 +6,8 @@
output : 'budgie-extras-daemon.desktop',
command : [intltool, '--desktop-style', podir, '@INPUT@', '@OUTPUT@'],
install : true,
- install_dir : join_paths(get_option('sysconfdir'), 'xdg', 'autostart'))
+ install_dir : xdg_appdir
+)
subdir('config')
diff --git a/budgie-visualspace/data/meson.build b/budgie-visualspace/data/meson.build
index bc3734a..2eb22f9 100644
--- a/budgie-visualspace/data/meson.build
+++ b/budgie-visualspace/data/meson.build
@@ -4,7 +4,6 @@ install_data(
install_dir: PIXMAPS_DIR
)
-AUTOSTART_LOC=join_paths(sysconfdir, 'xdg', 'autostart')
substprog = find_program('subst.py')
mytarget = custom_target('autoworkspace',
@@ -12,5 +11,5 @@ mytarget = custom_target('autoworkspace',
input : 'visualspace-autostart.desktop.in',
command : [substprog, '@INPUT@', LIB_INSTALL_DIR, '@OUTPUT@'],
install : true,
- install_dir : AUTOSTART_LOC
+ install_dir : xdg_appdir
)
diff --git a/budgie-wallstreet/data/meson.build b/budgie-wallstreet/data/meson.build
index 213823a..63478b2 100644
--- a/budgie-wallstreet/data/meson.build
+++ b/budgie-wallstreet/data/meson.build
@@ -9,7 +9,7 @@ mytargeta = custom_target('wallstreetautostart',
input : 'wallstreet-autostart.desktop.in',
command : [substprog, '@INPUT@', LIB_INSTALL_DIR, '@OUTPUT@', podir],
install : true,
- install_dir : join_paths(sysconfdir, 'xdg', 'autostart')
+ install_dir : xdg_appdir
)
mytargetw = custom_target('wallstreetcontrols',
diff --git a/budgie-window-shuffler/data/meson.build b/budgie-window-shuffler/data/meson.build
index efe9476..7ca7961 100644
index 543964d..0725d6f 100644
--- a/budgie-window-shuffler/data/meson.build
+++ b/budgie-window-shuffler/data/meson.build
@@ -13,7 +13,7 @@ shufflertargetauto = custom_target('shufflerautostart',
input : 'shufflerdaemon-autostart.desktop.in',
command : [substprog, '@INPUT@', LIB_INSTALL_DIR, '@OUTPUT@', podir],
install : true,
- install_dir : join_paths(sysconfdir, 'xdg', 'autostart')
+ install_dir : xdg_appdir
)
shufflerguitargetauto = custom_target('shufflerguiautostart',
@@ -21,7 +21,7 @@ shufflerguitargetauto = custom_target('shufflerguiautostart',
input : 'shufflergui-autostart.desktop.in',
@@ -29,7 +29,7 @@ shufflerlayoutstargetauto = custom_target('layoutsautostart',
input : 'layoutspopup-autostart.desktop.in',
command : [substprog, '@INPUT@', LIB_INSTALL_DIR, '@OUTPUT@', podir],
install : true,
- install_dir : join_paths(sysconfdir, 'xdg', 'autostart')
@ -82,89 +20,3 @@ index efe9476..7ca7961 100644
)
shufflertargetw = custom_target('shufflercontrols',
diff --git a/budgie-wpreviews/data/meson.build b/budgie-wpreviews/data/meson.build
index c2ac8f8..9571b84 100644
--- a/budgie-wpreviews/data/meson.build
+++ b/budgie-wpreviews/data/meson.build
@@ -49,14 +49,13 @@ mytarget4a = custom_target('preview_currentforward_grave',
install_dir : BDE_LOC
)
-AUTOSTART_LOC=join_paths(sysconfdir, 'xdg', 'autostart')
mytarget5 = custom_target('preview_creator',
output : 'previews-creator-autostart.desktop',
input : 'previews-creator-autostart.desktop.in',
command : [substprog, '@INPUT@', LIB_INSTALL_DIR, '@OUTPUT@'],
install : true,
- install_dir : AUTOSTART_LOC
+ install_dir : xdg_appdir
)
mytarget6 = custom_target('previews_daemon',
@@ -64,7 +63,7 @@ mytarget6 = custom_target('previews_daemon',
input : 'previews-daemon-autostart.desktop.in',
command : [substprog, '@INPUT@', LIB_INSTALL_DIR, '@OUTPUT@'],
install : true,
- install_dir : AUTOSTART_LOC
+ install_dir : xdg_appdir
)
APP_LOC=join_paths(datadir, 'applications')
diff --git a/meson.build b/meson.build
index 5b2d958..ca50d90 100644
--- a/meson.build
+++ b/meson.build
@@ -69,6 +69,20 @@ conf.set_quoted('PREVIEWS_DIR', join_paths(libdir, PREVIEWS))
WSWITCHER = 'budgie-wswitcher'
conf.set_quoted('WSWITCHER_DIR', join_paths(PLUGINS_INSTALL_DIR, WSWITCHER))
+with_stateless = get_option('with-stateless')
+if with_stateless == true
+ warning('Only use stateless option with a supported OS like Solus')
+endif
+
+xdg_appdir = get_option('xdg-appdir')
+if xdg_appdir == ''
+ if with_stateless == true
+ xdg_appdir = join_paths(datadir, 'xdg', 'autostart')
+ else
+ xdg_appdir = join_paths(get_option('sysconfdir'), 'xdg', 'autostart')
+ endif
+endif
+
config_h = configure_file(
output: 'config.h',
diff --git a/meson_options.txt b/meson_options.txt
index 6820986..0fe925d 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -28,3 +28,5 @@ option('build-applications-menu', type: 'boolean', value: false, description: 'B
option('build-network-manager', type: 'boolean', value: false, description: 'Build network-manager applet')
option('build-window-shuffler', type: 'boolean', value: false, description: 'Build window shuffler')
option('with-zeitgeist', type : 'boolean', value : 'true', description : 'Add Zeitgeist support')
+option('with-stateless', type: 'boolean', value: false, description: 'Enable stateless XDG paths')
+option('xdg-appdir', type: 'string', description: 'XDG autostart path')
From 53a059ba556fc6fc6a6d46eab0cd22e289879d98 Mon Sep 17 00:00:00 2001
From: Callum Farmer <gmbr3@opensuse.org>
Date: Wed, 17 Feb 2021 10:43:37 +0000
Subject: [PATCH] Make xdg directory configurable
---
budgie-quickchar/quickchar/data/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/budgie-quickchar/quickchar/data/meson.build b/budgie-quickchar/quickchar/data/meson.build
index 5aabd3d..2023529 100644
--- a/budgie-quickchar/quickchar/data/meson.build
+++ b/budgie-quickchar/quickchar/data/meson.build
@@ -6,7 +6,7 @@ install_data(
install_data(
'quickchar-autostart.desktop',
- install_dir: join_paths(sysconfdir, 'xdg', 'autostart')
+ install_dir: xdg_appdir
)
substprog = find_program('subst.py')