Hello community,

here is the log from the commit of package budgie-desktop for openSUSE:Factory 
checked in at 2020-09-01 20:09:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/budgie-desktop (Old)
 and      /work/SRC/openSUSE:Factory/.budgie-desktop.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "budgie-desktop"

Tue Sep  1 20:09:52 2020 rev:6 rq:830934 version:10.5.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/budgie-desktop/budgie-desktop.changes    
2020-08-31 16:49:52.340343428 +0200
+++ /work/SRC/openSUSE:Factory/.budgie-desktop.new.3399/budgie-desktop.changes  
2020-09-01 20:10:13.224672446 +0200
@@ -1,0 +2,7 @@
+Mon Aug 31 21:55:03 UTC 2020 - Callum Farmer <[email protected]>
+
+- Add nemo-instead-of-nautilus.patch: Nautilus doesn't have support
+  for desktop icons anymore
+- Add nemo to Requires for desktop icons
+
+-------------------------------------------------------------------

New:
----
  budgie-desktop-nemo-autostart.desktop
  nemo-instead-of-nautilus.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ budgie-desktop.spec ++++++
--- /var/tmp/diff_new_pack.5bUbMS/_old  2020-09-01 20:10:14.000672809 +0200
+++ /var/tmp/diff_new_pack.5bUbMS/_new  2020-09-01 20:10:14.004672811 +0200
@@ -27,6 +27,7 @@
 Source:         
https://github.com/solus-project/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz
 Source1:        
https://github.com/solus-project/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz.asc
 Source2:        %{name}.keyring
+Source3:        budgie-desktop-nemo-autostart.desktop
 # PATCH-FIX-UPSTREAM: Add support for mutter 3.36 
gh#solus-project/budgie-desktop#1918
 Patch:          support-libmutter6.patch
 # PATCH-FIX-UPSTREAM: Resolve losing keyboard shortcuts on login 
gh#solus-project/budgie-desktop#1907
@@ -37,6 +38,8 @@
 Patch3:         gnome-coexistance.patch
 # PATCH-FIX-OPENSUSE: Create a clean separation between Budgie and GNOME 
desktops
 Patch4:         desktop-override.patch
+# PATCH-FIX-OPENSUSE: Use nemo instead of nautilus for desktop icons
+Patch5:         nemo-instead-of-nautilus.patch
 BuildRequires:  intltool
 BuildRequires:  meson >= 0.41.2
 BuildRequires:  pkgconfig
@@ -71,6 +74,7 @@
 Requires:       gnome-settings-daemon
 Requires:       gnome-control-center
 Requires:       budgie-screensaver
+Requires:       nemo
 Recommends:     gnome-software
 Recommends:     NetworkManager-applet
 Recommends:     gnome-backgrounds
@@ -143,7 +147,7 @@
 %autosetup -p1
 
 %build
-%meson -Dwith-desktop-icons=none
+%meson
 %meson_build
 
 %install
@@ -160,6 +164,9 @@
 touch %{buildroot}%{_sysconfdir}/alternatives/default-xsession.desktop
 ln -s %{_sysconfdir}/alternatives/default-xsession.desktop 
%{buildroot}%{_datadir}/xsessions/default.desktop
 
+# nemo autostart
+cp %{SOURCE3} %{buildroot}%{_sysconfdir}/xdg/autostart
+
 %find_lang %{name}
 
 %post
@@ -194,6 +201,7 @@
 %{_libdir}/budgie-desktop
 %{_sysconfdir}/xdg/autostart/budgie-desktop-screensaver.desktop
 %{_sysconfdir}/xdg/autostart/budgie-desktop-nm-applet.desktop
+%{_sysconfdir}/xdg/autostart/budgie-desktop-nemo-autostart.desktop
 %ghost %{_sysconfdir}/alternatives/default-xsession.desktop
 
 %files -n libraven0


++++++ budgie-desktop-nemo-autostart.desktop ++++++
[Desktop Entry]
Type=Application
Name=Nemo
Comment=Start Nemo desktop at log in
Exec=nemo-desktop
OnlyShowIn=Budgie;
AutostartCondition=GSettings org.nemo.desktop show-desktop-icons
X-GNOME-AutoRestart=true
NoDisplay=true


++++++ nemo-instead-of-nautilus.patch ++++++
>From fad652f4140b0165d6fb9c67f6817fc37374a707 Mon Sep 17 00:00:00 2001
From: Callum Farmer <[email protected]>
Date: Mon, 31 Aug 2020 17:04:09 +0100
Subject: [PATCH 1/5] Update meson.build

---
 meson.build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meson.build b/meson.build
index 3c4c6ac1..eda57368 100644
--- a/meson.build
+++ b/meson.build
@@ -101,8 +101,8 @@ cdata.set_quoted('LOCALEDIR', localedir)
 cdata.set_quoted('PACKAGE_URL', 'https://budgie-desktop.org')
 
 with_desktop_icons = get_option('with-desktop-icons')
-if with_desktop_icons ==  'nautilus'
-    warning('You must have Nautilus 3.26 or older for desktop icons with 
Budgie')
+if with_desktop_icons ==  'nemo'
+    warning('You must have Nemo for desktop icons with Budgie')
 endif
 
 with_stateless = get_option('with-stateless')
-- 
2.26.2.windows.1


>From eea4eebe774a97e4d3ce9738d92b990063e0160a Mon Sep 17 00:00:00 2001
From: Callum Farmer <[email protected]>
Date: Mon, 31 Aug 2020 17:04:41 +0100
Subject: [PATCH 2/5] Update meson_options.txt

---
 meson_options.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meson_options.txt b/meson_options.txt
index dca91296..c6b5c8c5 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -2,4 +2,4 @@
 option('with-polkit', type: 'boolean', value: true, description: 'Enable 
PolKit support')
 option('with-bluetooth', type: 'boolean', value: true, description: 'Enable 
gnome-bluetooth support')
 option('with-gtk-doc', type: 'boolean', value: true, description: 'Build 
gtk-doc documentation')
-option('with-desktop-icons', type: 'combo', choices: ['nautilus', 'none'], 
value: 'nautilus', description: 'Desktop icon handling')
+option('with-desktop-icons', type: 'combo', choices: ['nemo', 'none'], value: 
'nemo', description: 'Desktop icon handling')


-- 
2.26.2.windows.1


>From 24fb1622908a899dcc5b7a3dda0ba04045194dbd Mon Sep 17 00:00:00 2001
From: Callum Farmer <[email protected]>
Date: Mon, 31 Aug 2020 17:13:23 +0100
Subject: [PATCH 3/5] Update settings_main.vala

---
 src/panel/settings/settings_main.vala | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/panel/settings/settings_main.vala 
b/src/panel/settings/settings_main.vala
index ec412580..8839d8ca 100644
--- a/src/panel/settings/settings_main.vala
+++ b/src/panel/settings/settings_main.vala
@@ -101,8 +101,8 @@ public class SettingsWindow : Gtk.Window {
     {
         this.add_page(new Budgie.StylePage());
 
-#if HAVE_NAUTILUS
-        if (Environment.find_program_in_path("nautilus") != null) {
+#if HAVE_NEMO
+        if (Environment.find_program_in_path("nemo") != null) {
             this.add_page(new Budgie.DesktopPage());
         }
 #endif
-- 
2.26.2.windows.1


>From b329787021641417dc6c74218056ea709f7905a9 Mon Sep 17 00:00:00 2001
From: Callum Farmer <[email protected]>
Date: Mon, 31 Aug 2020 17:26:53 +0100
Subject: [PATCH 4/5] Update settings_desktop.vala

---
 src/panel/settings/settings_desktop.vala | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/src/panel/settings/settings_desktop.vala 
b/src/panel/settings/settings_desktop.vala
index 943879cf..3bd3c434 100644
--- a/src/panel/settings/settings_desktop.vala
+++ b/src/panel/settings/settings_desktop.vala
@@ -19,9 +19,9 @@ public class DesktopPage : Budgie.SettingsPage {
     private Settings wm_pref_settings;
     private Gtk.SpinButton? workspace_count;
 
-#if HAVE_NAUTILUS
+#if HAVE_NEMO
     private Settings bg_settings;
-    private Settings nautilus_settings;
+    private Settings nemo_settings;
     private Gtk.Switch switch_icons;
     private Gtk.Switch switch_home;
     private Gtk.Switch switch_network;
@@ -42,7 +42,7 @@ public class DesktopPage : Budgie.SettingsPage {
 
         wm_pref_settings = new Settings("org.gnome.desktop.wm.preferences"); 
// Set up our wm preferences Settings
 
-#if HAVE_NAUTILUS
+#if HAVE_NEMO
         /* Allow icons */
         switch_icons = new Gtk.Switch();
         grid.add_row(new SettingsRow(switch_icons,
@@ -50,7 +50,7 @@ public class DesktopPage : Budgie.SettingsPage {
             _("Control whether to allow launchers and icons on the 
desktop.")));
 
         /* Hook up settings */
-        bg_settings = new GLib.Settings("org.gnome.desktop.background");
+        bg_settings = new GLib.Settings("org.nemo.desktop");
         bg_settings.bind("show-desktop-icons", switch_icons, "active", 
SettingsBindFlags.DEFAULT);
         
bg_settings.changed["show-desktop-icons"].connect(this.update_switches);
 
@@ -79,11 +79,11 @@ public class DesktopPage : Budgie.SettingsPage {
             _("Mounted volumes & drives will appear on the desktop.")));
 
 
-        nautilus_settings = new GLib.Settings("org.gnome.nautilus.desktop");
-        nautilus_settings.bind("home-icon-visible", switch_home, "active", 
SettingsBindFlags.DEFAULT);
-        nautilus_settings.bind("network-icon-visible", switch_network, 
"active", SettingsBindFlags.DEFAULT);
-        nautilus_settings.bind("trash-icon-visible", switch_trash, "active", 
SettingsBindFlags.DEFAULT);
-        nautilus_settings.bind("volumes-visible", switch_mounts, "active", 
SettingsBindFlags.DEFAULT);
+        nemo_settings = new GLib.Settings("org.nemo.desktop");
+        nemo_settings.bind("home-icon-visible", switch_home, "active", 
SettingsBindFlags.DEFAULT);
+        nemo_settings.bind("network-icon-visible", switch_network, "active", 
SettingsBindFlags.DEFAULT);
+        nemo_settings.bind("trash-icon-visible", switch_trash, "active", 
SettingsBindFlags.DEFAULT);
+        nemo_settings.bind("volumes-visible", switch_mounts, "active", 
SettingsBindFlags.DEFAULT);
 
         update_switches();
 #endif
@@ -111,7 +111,7 @@ public class DesktopPage : Budgie.SettingsPage {
         ));
     }
 
-#if HAVE_NAUTILUS
+#if HAVE_NEMO
     void update_switches()
     {
 
-- 
2.26.2.windows.1


>From 0e4bc5f7eae610de6c9778c319b57ada6757334c Mon Sep 17 00:00:00 2001
From: Callum Farmer <[email protected]>
Date: Mon, 31 Aug 2020 17:33:13 +0100
Subject: [PATCH 5/5] Update meson.build

---
 src/panel/meson.build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/panel/meson.build b/src/panel/meson.build
index 51ad315f..a8f75234 100644
--- a/src/panel/meson.build
+++ b/src/panel/meson.build
@@ -72,8 +72,8 @@ budgie_panel_vala_args = [
         '--gresources=' + gresource,
 ]
 
-if with_desktop_icons == 'nautilus'
-    budgie_panel_vala_args += ['-D', 'HAVE_NAUTILUS']
+if with_desktop_icons == 'nemo'
+    budgie_panel_vala_args += ['-D', 'HAVE_NEMO']
 endif
 
 budgie_panel_c_args = [
-- 
2.26.2.windows.1


>From 38e53b7e4a278b4f466428f5e4fc9f3eee5d16e9 Mon Sep 17 00:00:00 2001
From: Callum Farmer <[email protected]>
Date: Mon, 31 Aug 2020 19:21:24 +0100
Subject: [PATCH 6/6] Update IconTasklistApplet.vala

---
 src/applets/icon-tasklist/IconTasklistApplet.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/applets/icon-tasklist/IconTasklistApplet.vala 
b/src/applets/icon-tasklist/IconTasklistApplet.vala
index 5e8122b7..3dea06a2 100644
--- a/src/applets/icon-tasklist/IconTasklistApplet.vala
+++ b/src/applets/icon-tasklist/IconTasklistApplet.vala
@@ -262,7 +262,7 @@ public class IconTasklistApplet : Budgie.Applet
         var app_id = (string)selection_data.get_data();
         ButtonWrapper? original_button = null;
 
-        if (app_id.has_prefix("x-nautilus-desktop")) { // Someone is trying to 
drag a desktop icon to an application tasklist for some reason
+        if (app_id.has_prefix("x-nemo-desktop")) { // Someone is trying to 
drag a desktop icon to an application tasklist for some reason
             return;
         }
 
-- 
2.28.0.windows.1


Reply via email to