fix(budgie-extras): remove patch (fixed in upstream) (#3271) (#3272)

* fix(budgie-extras): remove patch (fixed in upstream)

* new directory location for weathershow applet icons

(cherry picked from commit ddb7802768)

Co-authored-by: sadlerm4 <sad_lerm@hotmail.com>
This commit is contained in:
Raboneko
2025-02-10 21:12:53 -08:00
committed by GitHub
parent 5dbac8d49d
commit bf3a024377
2 changed files with 3 additions and 14 deletions
@@ -1,12 +0,0 @@
diff --color -ru budgie-extras-1.4.0/budgie-weathershow/src/desktop_weather/desktop_weather.vala budgie-extras-1.4.0-patched/budgie-weathershow/src/desktop_weather/desktop_weather.vala
--- budgie-extras-1.4.0/budgie-weathershow/src/desktop_weather/desktop_weather.vala 2022-03-11 06:24:44.000000000 +0700
+++ budgie-extras-1.4.0-patched/budgie-weathershow/src/desktop_weather/desktop_weather.vala 2022-06-09 14:57:46.677283438 +0700
@@ -308,7 +308,7 @@
private void get_icondata () {
// fetch the icon list
string icondir = "/".concat(
- "usr/lib/budgie-desktop/plugins",
+ "usr/lib64/budgie-desktop/plugins",
"/budgie-weathershow/weather_icons"
);
iconnames = {};
@@ -7,7 +7,6 @@ Summary: Additional Budgie Desktop enhancements for user experience
URL: https://ubuntubudgie.org/
Source0: https://github.com/UbuntuBudgie/budgie-extras/releases/download/v%{version}/budgie-extras-%{version}.tar.xz
Patch0: 0001-fix-weathershow-desktop-widget-icon-path.patch
BuildRequires: rpm_macro(fdupes)
BuildRequires: cmake
@@ -277,7 +276,7 @@ workspaces.
# Remove absolute symlink and replace with relative symlink
rm -f %{buildroot}%{_bindir}/quickchar
%fdupes %_libdir/budgie-desktop/plugins/budgie-weathershow/weather_icons
%fdupes %{buildroot}%{_datadir}/budgie-desktop/budgie-weathershow/weather_icons
%post
@@ -403,6 +402,8 @@ rm -f %{buildroot}%{_bindir}/quickchar
%files -n budgie-applet-weathershow
%{_libdir}/budgie-desktop/plugins/budgie-weathershow
%{_datadir}/budgie-desktop/budgie-weathershow/cities
%{_datadir}/budgie-desktop/budgie-weathershow/weather_icons/*
%{_datadir}/glib-2.0/schemas/org.ubuntubudgie.plugins.weathershow.gschema.xml
%{_datadir}/pixmaps/budgie-wticon-symbolic.svg