2025-01-29 14:36:55 +00:00
|
|
|
#
|
|
|
|
# spec file for package budgie-desktop
|
|
|
|
#
|
|
|
|
# Copyright (c) 2023 SUSE LLC
|
|
|
|
# Copyright (c) 2013-2016 Ikey Doherty <ikey@solus-project.com>
|
|
|
|
# Copyright (c) 2021 Callum Farmer <gmbr3@opensuse.org>
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?suse_version} < 1550
|
|
|
|
%define _distconfdir %{_sysconfdir}
|
|
|
|
%endif
|
|
|
|
Name: budgie-desktop
|
2025-01-29 18:47:53 +00:00
|
|
|
Version: 10.9.2+24
|
2025-01-29 14:36:55 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: GTK3 Desktop Environment
|
|
|
|
License: GPL-2.0-or-later AND LGPL-2.1-or-later
|
|
|
|
Group: System/GUI/Other
|
|
|
|
URL: https://github.com/BuddiesOfBudgie/budgie-desktop
|
|
|
|
Source0: %{name}-%{version}.tar.xz
|
2025-01-30 10:41:32 +00:00
|
|
|
Patch0: user-config-path.patch
|
2025-02-02 19:34:34 +00:00
|
|
|
Patch1: wrong-typelib-version.patch
|
2025-01-29 14:36:55 +00:00
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: meson
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: sassc
|
|
|
|
BuildRequires: zenity
|
|
|
|
BuildRequires: pkgconfig(accountsservice)
|
|
|
|
BuildRequires: pkgconfig(alsa)
|
|
|
|
BuildRequires: pkgconfig(gio-2.0)
|
|
|
|
BuildRequires: pkgconfig(gio-unix-2.0)
|
|
|
|
BuildRequires: pkgconfig(gnome-desktop-3.0)
|
|
|
|
BuildRequires: pkgconfig(gnome-settings-daemon) >= 41.0
|
|
|
|
BuildRequires: pkgconfig(gobject-2.0)
|
|
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
|
|
|
BuildRequires: pkgconfig(gtk+-3.0)
|
|
|
|
BuildRequires: pkgconfig(gtk-doc)
|
|
|
|
BuildRequires: pkgconfig(ibus-1.0)
|
|
|
|
BuildRequires: pkgconfig(libgnome-menu-3.0)
|
|
|
|
BuildRequires: pkgconfig(libnotify)
|
|
|
|
BuildRequires: pkgconfig(libpeas-gtk-1.0)
|
|
|
|
BuildRequires: pkgconfig(libpulse)
|
|
|
|
BuildRequires: pkgconfig(libwnck-3.0)
|
|
|
|
BuildRequires: pkgconfig(polkit-agent-1)
|
|
|
|
BuildRequires: pkgconfig(polkit-gobject-1)
|
|
|
|
BuildRequires: pkgconfig(upower-glib)
|
|
|
|
BuildRequires: pkgconfig(uuid)
|
|
|
|
BuildRequires: pkgconfig(vapigen)
|
|
|
|
BuildRequires: pkgconfig(gee-0.8)
|
|
|
|
BuildRequires: pkgconfig(gstreamer-1.0)
|
|
|
|
BuildRequires: pkgconfig(libcanberra)
|
|
|
|
BuildRequires: pkgconfig(libcanberra-gtk3)
|
|
|
|
BuildRequires: pkgconfig(libxfce4windowing-0) >= 4.19.7
|
|
|
|
BuildRequires: pkgconfig(upower-glib) >= 1.0
|
2025-03-06 15:17:10 +00:00
|
|
|
BuildRequires: pkgconfig(gtk-layer-shell-0) >= 0.9.0
|
2025-01-29 14:36:55 +00:00
|
|
|
# remove old applet
|
|
|
|
Provides: budgie-trash-applet = 1.7.0
|
|
|
|
Obsoletes: budgie-trash-applet
|
2025-01-30 09:01:17 +00:00
|
|
|
# remove X11 stuff
|
|
|
|
Obsoletes: budgie-screensaver
|
2025-01-29 14:36:55 +00:00
|
|
|
# flatpak/snap
|
|
|
|
BuildRequires: xdg-desktop-portal
|
|
|
|
Requires: xdg-desktop-portal
|
|
|
|
Requires: xdg-desktop-portal-gtk
|
|
|
|
# rebrand and gnome porting
|
2025-01-29 18:51:44 +00:00
|
|
|
Requires: (budgie-desktop-view >= 1.3+4 or nemo or desktopfolder)
|
|
|
|
Suggests: budgie-desktop-view >= 1.3+4
|
2025-01-29 14:36:55 +00:00
|
|
|
Requires: gtklock
|
|
|
|
Requires: swaybg
|
2025-02-02 17:37:47 +00:00
|
|
|
Requires: wlopm
|
|
|
|
Requires: swayidle
|
2025-02-02 13:30:46 +00:00
|
|
|
Requires: budgie-session-manager
|
|
|
|
Suggests: budgie-wayland-session
|
2025-01-29 14:36:55 +00:00
|
|
|
Requires: typelib-1_0-Budgie-2_0 >= %{version}
|
|
|
|
Requires: typelib-1_0-BudgieRaven-1_0 >= %{version}
|
2025-03-06 15:17:10 +00:00
|
|
|
Requires: budgie-desktop-branding >= 20250305.1
|
2025-01-29 14:36:55 +00:00
|
|
|
Requires: budgie-control-center >= 1.4.0+2
|
|
|
|
Requires: budgie-session >= 0.9.1
|
|
|
|
Requires: budgie-backgrounds >= 3.0
|
|
|
|
#
|
|
|
|
# unchanged SOVER but new APIs
|
|
|
|
Requires: libraven0 >= %{version}
|
|
|
|
Requires: libbudgietheme0 >= %{version}
|
|
|
|
Requires: libbudgie-plugin0 >= %{version}
|
|
|
|
Requires: libbudgie-private0 >= %{version}
|
|
|
|
Requires: libbudgie-appindexer0 >= %{version}
|
|
|
|
Requires: libbudgie-raven-plugin0 >= %{version}
|
|
|
|
#
|
|
|
|
Requires: upower >= 1.0
|
|
|
|
Requires: gstreamer
|
|
|
|
Requires: libnotify-tools
|
|
|
|
Requires: libcanberra-gtk3-module
|
|
|
|
Requires: gnome-settings-daemon
|
|
|
|
Requires: ibus
|
|
|
|
Requires: libgnomesu
|
|
|
|
Requires: xdg-user-dirs-gtk
|
|
|
|
Requires: zenity
|
|
|
|
Requires: NetworkManager-applet
|
|
|
|
|
|
|
|
%description
|
2025-03-06 15:28:03 +00:00
|
|
|
The Budgie Desktop is a feature-rich, modern desktop designed to keep out the way of the user.
|
|
|
|
|
2025-01-29 14:36:55 +00:00
|
|
|
|
|
|
|
%package -n typelib-1_0-Budgie-2_0
|
|
|
|
Summary: Main Introspection bindings for the Budgie Desktop
|
|
|
|
Group: System/Libraries
|
|
|
|
Requires: typelib-1_0-PeasGtk-1_0
|
|
|
|
|
|
|
|
%description -n typelib-1_0-Budgie-2_0
|
|
|
|
This package provides GObject Introspection files required for
|
|
|
|
developing Budgie Applets using interpreted languages, such as Python
|
|
|
|
GObject Introspection bindings.
|
|
|
|
|
|
|
|
%package -n typelib-1_0-BudgieRaven-1_0
|
|
|
|
Summary: Raven Introspection bindings for the Budgie Desktop
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n typelib-1_0-BudgieRaven-1_0
|
|
|
|
This package provides GObject Introspection files required for
|
|
|
|
developing Budgie Raven plugins using interpreted languages, such as Python
|
|
|
|
GObject Introspection bindings.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for the Budgie Desktop
|
|
|
|
Group: Development/Libraries/GNOME
|
|
|
|
Requires: libraven0 = %{version}
|
|
|
|
Requires: libbudgietheme0 = %{version}
|
|
|
|
Requires: libbudgie-plugin0 = %{version}
|
|
|
|
Requires: libbudgie-private0 = %{version}
|
|
|
|
Requires: libbudgie-appindexer0 = %{version}
|
|
|
|
Requires: libbudgie-raven-plugin0 = %{version}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package provides development files required for software to be
|
|
|
|
able to use and link against the Budgie APIs, to create their own
|
|
|
|
applets for the Budgie Panel.
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
Summary: Documentation files for the Budgie Desktop
|
|
|
|
Group: Documentation/HTML
|
|
|
|
Supplements: (budgie-desktop and patterns-base-documentation)
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
This package provides API Documentation for the Budgie Plugin API, in the
|
|
|
|
GTK-Doc HTML format.
|
|
|
|
|
|
|
|
%package -n libraven0
|
|
|
|
Summary: Shared library for Raven
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libraven0
|
|
|
|
Budgie Desktop Notification Center.
|
|
|
|
|
|
|
|
%package -n libbudgietheme0
|
|
|
|
Summary: Shared library for Budgie theming
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libbudgietheme0
|
|
|
|
Budgie theming engine shared library package.
|
|
|
|
|
|
|
|
%package -n libbudgie-plugin0
|
|
|
|
Summary: Shared library for Budgie plugins
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libbudgie-plugin0
|
|
|
|
Shared library for budgie plugins to link against.
|
|
|
|
|
|
|
|
%package -n libbudgie-private0
|
|
|
|
Summary: Private library for Budgie
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libbudgie-private0
|
|
|
|
Private library for Budgie desktop to link against.
|
|
|
|
|
|
|
|
%package -n libbudgie-appindexer0
|
|
|
|
Summary: Private library for Budgie Menu
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libbudgie-appindexer0
|
|
|
|
Private library for Budgie menu to link against.
|
|
|
|
|
|
|
|
%package -n libbudgie-raven-plugin0
|
|
|
|
Summary: Shared library for Budgie raven plugins
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libbudgie-raven-plugin0
|
|
|
|
Shared library for budgie raven plugins to link against.
|
|
|
|
|
2025-02-02 13:30:46 +00:00
|
|
|
%package -n budgie-labwc-session
|
|
|
|
Summary: Labwc session files for Budgie
|
|
|
|
Group: System/GUI/Other
|
|
|
|
Requires: python3-systemd
|
|
|
|
Requires: labwc
|
2025-03-06 15:49:12 +00:00
|
|
|
Requires: (sddm or lightdm or gdm)
|
2025-03-06 15:52:25 +00:00
|
|
|
Suggests: sddm
|
2025-02-02 13:30:46 +00:00
|
|
|
Provides: budgie-session-manager = %{version}
|
2025-02-02 13:34:06 +00:00
|
|
|
Requires(post): update-alternatives
|
|
|
|
Requires(postun):update-alternatives
|
2025-02-02 13:30:46 +00:00
|
|
|
|
|
|
|
%description -n budgie-labwc-session
|
|
|
|
Provides the labwc session files for Budgie
|
|
|
|
|
2025-01-29 14:36:55 +00:00
|
|
|
%lang_package
|
|
|
|
|
|
|
|
%prep
|
2025-01-30 10:41:32 +00:00
|
|
|
%autosetup -p1
|
2025-01-29 14:36:55 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
export CFLAGS="%{optflags} -Wno-pedantic"
|
|
|
|
%meson -Dc_std=none -Dxdg-appdir=%{_distconfdir}/xdg/autostart -Dwith-runtime-dependencies=false
|
|
|
|
%meson_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%meson_install
|
|
|
|
|
|
|
|
# update-alternatives
|
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
|
|
|
touch %{buildroot}%{_sysconfdir}/alternatives/default-waylandsession.desktop
|
|
|
|
ln -s %{_sysconfdir}/alternatives/default-waylandsession.desktop %{buildroot}%{_datadir}/wayland-sessions/default.desktop
|
|
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
2025-02-02 13:30:46 +00:00
|
|
|
%post -n budgie-labwc-session
|
2025-01-29 14:36:55 +00:00
|
|
|
%{_sbindir}/update-alternatives --install %{_datadir}/wayland-sessions/default.desktop \
|
|
|
|
default-waylandsession.desktop %{_datadir}/wayland-sessions/budgie-desktop.desktop 20
|
|
|
|
|
2025-02-02 13:30:46 +00:00
|
|
|
%postun -n budgie-labwc-session
|
2025-01-30 08:57:23 +00:00
|
|
|
[ -f %{_datadir}/wayland-sessions/budgie-desktop.desktop ] || %{_sbindir}/update-alternatives \
|
2025-01-29 14:36:55 +00:00
|
|
|
--remove default-waylandsession.desktop %{_datadir}/wayland-sessions/budgie-desktop.desktop
|
|
|
|
|
|
|
|
%ldconfig_scriptlets -n libraven0
|
|
|
|
%ldconfig_scriptlets -n libbudgietheme0
|
|
|
|
%ldconfig_scriptlets -n libbudgie-plugin0
|
|
|
|
%ldconfig_scriptlets -n libbudgie-private0
|
|
|
|
%ldconfig_scriptlets -n libbudgie-appindexer0
|
|
|
|
%ldconfig_scriptlets -n libbudgie-raven-plugin0
|
|
|
|
|
|
|
|
%files
|
|
|
|
%license LICENSE LICENSE.LGPL2.1
|
|
|
|
%{_bindir}/budgie-*
|
|
|
|
%{_bindir}/org.buddiesofbudgie*
|
|
|
|
%{_libexecdir}/budgie-desktop
|
|
|
|
%{_mandir}/man1/*%{?ext_man}
|
|
|
|
%{_datadir}/budgie
|
2025-01-29 18:47:53 +00:00
|
|
|
%{_datadir}/%{name}
|
2025-01-29 14:36:55 +00:00
|
|
|
%{_datadir}/applications/*.desktop
|
|
|
|
%{_datadir}/backgrounds
|
|
|
|
%{_datadir}/glib-2.0/schemas/*.gschema.xml
|
|
|
|
%{_datadir}/glib-2.0/schemas/*.gschema.override
|
|
|
|
%{_datadir}/icons/hicolor/scalable/*/*.svg
|
|
|
|
%{_datadir}/icons/hicolor/symbolic/*/*.svg
|
|
|
|
%{_datadir}/gnome-session
|
|
|
|
%{_datadir}/xdg-desktop-portal/budgie-portals.conf
|
|
|
|
%{_libdir}/budgie-desktop
|
|
|
|
%{_distconfdir}/xdg/autostart/*.desktop
|
2025-03-05 19:10:47 +00:00
|
|
|
%exclude %{_distconfdir}/xdg/autostart/org.buddiesofbudgie.labwc-bridge.desktop
|
2025-01-29 14:36:55 +00:00
|
|
|
|
|
|
|
%files -n libraven0
|
|
|
|
%{_libdir}/libraven.so.*
|
|
|
|
|
|
|
|
%files -n libbudgietheme0
|
|
|
|
%{_libdir}/libbudgietheme.so.*
|
|
|
|
|
|
|
|
%files -n libbudgie-plugin0
|
|
|
|
%dir %{_libdir}/budgie-desktop
|
|
|
|
%dir %{_libdir}/budgie-desktop/plugins
|
|
|
|
%{_libdir}/libbudgie-plugin.so.*
|
|
|
|
|
|
|
|
%files -n libbudgie-private0
|
|
|
|
%{_libdir}/libbudgie-private.so.*
|
|
|
|
|
|
|
|
%files -n libbudgie-appindexer0
|
|
|
|
%{_libdir}/libbudgie-appindexer.so.*
|
|
|
|
|
|
|
|
%files -n libbudgie-raven-plugin0
|
|
|
|
%{_libdir}/libbudgie-raven-plugin.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_includedir}/budgie-desktop
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_datadir}/gir-1.0/Budgie-2.0.gir
|
|
|
|
%{_datadir}/gir-1.0/BudgieRaven-1.0.gir
|
|
|
|
%{_datadir}/vala/vapi/budgie-2.0.*
|
|
|
|
%{_datadir}/vala/vapi/budgie-raven-plugin-1.0.*
|
|
|
|
|
|
|
|
%files -n typelib-1_0-Budgie-2_0
|
|
|
|
%{_libdir}/girepository-1.0/Budgie-2.0.typelib
|
|
|
|
|
|
|
|
%files -n typelib-1_0-BudgieRaven-1_0
|
|
|
|
%{_libdir}/girepository-1.0/BudgieRaven-1.0.typelib
|
|
|
|
|
2025-02-02 13:30:46 +00:00
|
|
|
%files -n budgie-labwc-session
|
2025-03-05 19:10:47 +00:00
|
|
|
%{_distconfdir}/xdg/autostart/org.buddiesofbudgie.labwc-bridge.desktop
|
2025-02-02 13:30:46 +00:00
|
|
|
%dir %{_datadir}/wayland-sessions
|
|
|
|
%{_datadir}/wayland-sessions/default.desktop
|
|
|
|
%{_datadir}/wayland-sessions/budgie-desktop.desktop
|
|
|
|
%ghost %{_sysconfdir}/alternatives/default-waylandsession.desktop
|
|
|
|
%ghost %{_sysconfdir}/alternatives/default.desktop
|
|
|
|
|
2025-01-29 14:36:55 +00:00
|
|
|
%files doc
|
|
|
|
%{_datadir}/gtk-doc/html/budgie-desktop
|
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
|
|
|
%changelog
|