mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
fix(budgie-extras): remove patch (fixed in upstream) (#3271)
* fix(budgie-extras): remove patch (fixed in upstream) * new directory location for weathershow applet icons
This commit is contained in:
-12
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user