[arch-commits] Commit in nemo/repos (6 files)

Balló György bgyorgy at archlinux.org
Wed Oct 12 12:42:40 UTC 2016


    Date: Wednesday, October 12, 2016 @ 12:42:39
  Author: bgyorgy
Revision: 192054

archrelease: copy trunk to community-i686, community-x86_64

Added:
  nemo/repos/community-i686/Fix-GTK-3.21.3-desktop-redraw-issue.patch
    (from rev 192053, nemo/trunk/Fix-GTK-3.21.3-desktop-redraw-issue.patch)
  nemo/repos/community-i686/PKGBUILD
    (from rev 192053, nemo/trunk/PKGBUILD)
  nemo/repos/community-x86_64/Fix-GTK-3.21.3-desktop-redraw-issue.patch
    (from rev 192053, nemo/trunk/Fix-GTK-3.21.3-desktop-redraw-issue.patch)
  nemo/repos/community-x86_64/PKGBUILD
    (from rev 192053, nemo/trunk/PKGBUILD)
Deleted:
  nemo/repos/community-i686/PKGBUILD
  nemo/repos/community-x86_64/PKGBUILD

------------------------------------------------------------+
 /PKGBUILD                                                  |  114 +++++++++++
 community-i686/Fix-GTK-3.21.3-desktop-redraw-issue.patch   |   62 +++++
 community-i686/PKGBUILD                                    |   48 ----
 community-x86_64/Fix-GTK-3.21.3-desktop-redraw-issue.patch |   62 +++++
 community-x86_64/PKGBUILD                                  |   48 ----
 5 files changed, 238 insertions(+), 96 deletions(-)

Copied: nemo/repos/community-i686/Fix-GTK-3.21.3-desktop-redraw-issue.patch (from rev 192053, nemo/trunk/Fix-GTK-3.21.3-desktop-redraw-issue.patch)
===================================================================
--- community-i686/Fix-GTK-3.21.3-desktop-redraw-issue.patch	                        (rev 0)
+++ community-i686/Fix-GTK-3.21.3-desktop-redraw-issue.patch	2016-10-12 12:42:39 UTC (rev 192054)
@@ -0,0 +1,62 @@
+From 4e5a1037de0dc24e44a58e239e281b4c2d5740af Mon Sep 17 00:00:00 2001
+From: leigh123linux <leigh123linux at googlemail.com>
+Date: Sat, 23 Jul 2016 18:05:14 +0100
+Subject: [PATCH] Fix GTK 3.21.3 desktop redraw issue (#1231)
+
+---
+ libnemo-private/nemo-icon-container.c | 2 ++
+ src/nemo-desktop-icon-view.c          | 4 ++++
+ src/nemo-style-application.css        | 5 +++++
+ 3 files changed, 11 insertions(+)
+
+diff --git a/libnemo-private/nemo-icon-container.c b/libnemo-private/nemo-icon-container.c
+index 002351f..a26ed2c 100644
+--- a/libnemo-private/nemo-icon-container.c
++++ b/libnemo-private/nemo-icon-container.c
+@@ -4249,11 +4249,13 @@ realize (GtkWidget *widget)
+ 
+ 	container = NEMO_ICON_CONTAINER (widget);
+ 
++#if !GTK_CHECK_VERSION(3, 21, 0)
+ 	/* Ensure that the desktop window is native so the background
+ 	   set on it is drawn by X. */
+ 	if (container->details->is_desktop) {
+ 		gdk_x11_window_get_xid (gtk_layout_get_bin_window (GTK_LAYOUT (widget)));
+ 	}
++#endif
+ 
+ 	/* Set up DnD.  */
+ 	nemo_icon_dnd_init (container);
+diff --git a/src/nemo-desktop-icon-view.c b/src/nemo-desktop-icon-view.c
+index ad025d3..be310b5 100644
+--- a/src/nemo-desktop-icon-view.c
++++ b/src/nemo-desktop-icon-view.c
+@@ -155,6 +155,10 @@ nemo_desktop_icon_view_class_init (NemoDesktopIconViewClass *class)
+ 	vclass->update_menus = real_update_menus;
+ 	vclass->get_view_id = real_get_id;
+ 
++#if GTK_CHECK_VERSION(3, 21, 0)
++	GtkWidgetClass *wclass = GTK_WIDGET_CLASS (class);
++	gtk_widget_class_set_css_name (wclass, "nemo-desktop-icon-view");
++#endif
+ 	g_type_class_add_private (class, sizeof (NemoDesktopIconViewDetails));
+ }
+ 
+diff --git a/src/nemo-style-application.css b/src/nemo-style-application.css
+index f6a781a..aa682b3 100644
+--- a/src/nemo-style-application.css
++++ b/src/nemo-style-application.css
+@@ -1,5 +1,10 @@
+ /* Desktop text stuff */
+ 
++.nemo-window.nemo-desktop-window notebook,
++.nemo-window.nemo-desktop-window paned {
++	background-color: transparent;
++}
++
+ .nemo-canvas-item {
+     border-radius: 3px;
+ }
+-- 
+2.9.2
+

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2016-10-12 12:42:34 UTC (rev 192053)
+++ community-i686/PKGBUILD	2016-10-12 12:42:39 UTC (rev 192054)
@@ -1,48 +0,0 @@
-# $Id$
-# Maintainer: Alexandre Filgueira <alexfilgueira at cinnarch.com>
-# Contributor: Ner0
-
-pkgname=nemo
-pkgver=3.0.6
-pkgrel=1
-pkgdesc="Cinnamon file manager (Nautilus fork)"
-arch=('i686' 'x86_64')
-url="https://github.com/linuxmint/nemo"
-license=('GPL')
-depends=('libexif' 'gvfs' 'dconf' 'desktop-file-utils' 'exempi' 'python'
-         'cinnamon-desktop' 'libnotify' 'libxml2' 'cinnamon-translations')
-makedepends=('gtk-doc' 'gobject-introspection' 'intltool' 'gnome-common'
-      'python-gobject' 'python-polib' 'python2-gobject')
-options=('!emptydirs')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/nemo/tarball/$pkgver")
-sha256sums=('77d5c47a6657dfbaf66c9f80978ce8650595753138d27bd2adaebbe0e46c3e23')
-
-prepare() {
-  cd linuxmint-nemo-*
-
-  # Rename 'Files' app name to avoid having the same as nautilus
-  sed -i 's/^Name\(.*\)=.*/Name\1=Nemo/' data/nemo.desktop.in.in
-}
-
-build() {
-  cd linuxmint-nemo-*
-
-  ./autogen.sh --prefix=/usr --sysconfdir=/etc \
-      --localstatedir=/var --disable-static \
-      --libexecdir=/usr/lib/nemo \
-      --disable-update-mimedb \
-      --disable-tracker \
-      --disable-gtk-doc-html \
-      --disable-schemas-compile
-
-  #https://bugzilla.gnome.org/show_bug.cgi?id=656231
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-
-  make
-}
-
-package() {
-  cd linuxmint-nemo-*
-
-  make DESTDIR="$pkgdir" install
-}

Copied: nemo/repos/community-i686/PKGBUILD (from rev 192053, nemo/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2016-10-12 12:42:39 UTC (rev 192054)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Alexandre Filgueira <alexfilgueira at cinnarch.com>
+# Contributor: Ner0
+
+pkgname=nemo
+pkgver=3.0.6
+pkgrel=2
+pkgdesc="Cinnamon file manager (Nautilus fork)"
+arch=('i686' 'x86_64')
+url="https://github.com/linuxmint/nemo"
+license=('GPL')
+depends=('libexif' 'gvfs' 'dconf' 'desktop-file-utils' 'exempi' 'python'
+         'cinnamon-desktop' 'libnotify' 'libxml2' 'cinnamon-translations')
+makedepends=('gtk-doc' 'gobject-introspection' 'intltool' 'gnome-common'
+      'python-gobject' 'python-polib' 'python2-gobject')
+options=('!emptydirs')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/nemo/tarball/$pkgver"
+        "Fix-GTK-3.21.3-desktop-redraw-issue.patch")
+sha256sums=('77d5c47a6657dfbaf66c9f80978ce8650595753138d27bd2adaebbe0e46c3e23'
+            'ff2fe4fbf6edbdc51e0c6cef08b3b10ae612718d71701c59b28738ad168387eb')
+
+prepare() {
+  cd linuxmint-nemo-*
+
+  # Fix GTK 3.21.3 desktop redraw issue
+  # https://github.com/linuxmint/nemo/issues/1231
+  patch -Np1 -i ../Fix-GTK-3.21.3-desktop-redraw-issue.patch
+
+  # Rename 'Files' app name to avoid having the same as nautilus
+  sed -i 's/^Name\(.*\)=.*/Name\1=Nemo/' data/nemo.desktop.in.in
+}
+
+build() {
+  cd linuxmint-nemo-*
+
+  ./autogen.sh --prefix=/usr --sysconfdir=/etc \
+      --localstatedir=/var --disable-static \
+      --libexecdir=/usr/lib/nemo \
+      --disable-update-mimedb \
+      --disable-tracker \
+      --disable-gtk-doc-html \
+      --disable-schemas-compile
+
+  #https://bugzilla.gnome.org/show_bug.cgi?id=656231
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+  make
+}
+
+package() {
+  cd linuxmint-nemo-*
+
+  make DESTDIR="$pkgdir" install
+
+  # Remove D-Bus activation file to avoid conflict with nautilus-desktop
+  rm "$pkgdir/usr/share/dbus-1/services/org.nemo.freedesktop.FileManager1.service"
+}

Copied: nemo/repos/community-x86_64/Fix-GTK-3.21.3-desktop-redraw-issue.patch (from rev 192053, nemo/trunk/Fix-GTK-3.21.3-desktop-redraw-issue.patch)
===================================================================
--- community-x86_64/Fix-GTK-3.21.3-desktop-redraw-issue.patch	                        (rev 0)
+++ community-x86_64/Fix-GTK-3.21.3-desktop-redraw-issue.patch	2016-10-12 12:42:39 UTC (rev 192054)
@@ -0,0 +1,62 @@
+From 4e5a1037de0dc24e44a58e239e281b4c2d5740af Mon Sep 17 00:00:00 2001
+From: leigh123linux <leigh123linux at googlemail.com>
+Date: Sat, 23 Jul 2016 18:05:14 +0100
+Subject: [PATCH] Fix GTK 3.21.3 desktop redraw issue (#1231)
+
+---
+ libnemo-private/nemo-icon-container.c | 2 ++
+ src/nemo-desktop-icon-view.c          | 4 ++++
+ src/nemo-style-application.css        | 5 +++++
+ 3 files changed, 11 insertions(+)
+
+diff --git a/libnemo-private/nemo-icon-container.c b/libnemo-private/nemo-icon-container.c
+index 002351f..a26ed2c 100644
+--- a/libnemo-private/nemo-icon-container.c
++++ b/libnemo-private/nemo-icon-container.c
+@@ -4249,11 +4249,13 @@ realize (GtkWidget *widget)
+ 
+ 	container = NEMO_ICON_CONTAINER (widget);
+ 
++#if !GTK_CHECK_VERSION(3, 21, 0)
+ 	/* Ensure that the desktop window is native so the background
+ 	   set on it is drawn by X. */
+ 	if (container->details->is_desktop) {
+ 		gdk_x11_window_get_xid (gtk_layout_get_bin_window (GTK_LAYOUT (widget)));
+ 	}
++#endif
+ 
+ 	/* Set up DnD.  */
+ 	nemo_icon_dnd_init (container);
+diff --git a/src/nemo-desktop-icon-view.c b/src/nemo-desktop-icon-view.c
+index ad025d3..be310b5 100644
+--- a/src/nemo-desktop-icon-view.c
++++ b/src/nemo-desktop-icon-view.c
+@@ -155,6 +155,10 @@ nemo_desktop_icon_view_class_init (NemoDesktopIconViewClass *class)
+ 	vclass->update_menus = real_update_menus;
+ 	vclass->get_view_id = real_get_id;
+ 
++#if GTK_CHECK_VERSION(3, 21, 0)
++	GtkWidgetClass *wclass = GTK_WIDGET_CLASS (class);
++	gtk_widget_class_set_css_name (wclass, "nemo-desktop-icon-view");
++#endif
+ 	g_type_class_add_private (class, sizeof (NemoDesktopIconViewDetails));
+ }
+ 
+diff --git a/src/nemo-style-application.css b/src/nemo-style-application.css
+index f6a781a..aa682b3 100644
+--- a/src/nemo-style-application.css
++++ b/src/nemo-style-application.css
+@@ -1,5 +1,10 @@
+ /* Desktop text stuff */
+ 
++.nemo-window.nemo-desktop-window notebook,
++.nemo-window.nemo-desktop-window paned {
++	background-color: transparent;
++}
++
+ .nemo-canvas-item {
+     border-radius: 3px;
+ }
+-- 
+2.9.2
+

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2016-10-12 12:42:34 UTC (rev 192053)
+++ community-x86_64/PKGBUILD	2016-10-12 12:42:39 UTC (rev 192054)
@@ -1,48 +0,0 @@
-# $Id$
-# Maintainer: Alexandre Filgueira <alexfilgueira at cinnarch.com>
-# Contributor: Ner0
-
-pkgname=nemo
-pkgver=3.0.6
-pkgrel=1
-pkgdesc="Cinnamon file manager (Nautilus fork)"
-arch=('i686' 'x86_64')
-url="https://github.com/linuxmint/nemo"
-license=('GPL')
-depends=('libexif' 'gvfs' 'dconf' 'desktop-file-utils' 'exempi' 'python'
-         'cinnamon-desktop' 'libnotify' 'libxml2' 'cinnamon-translations')
-makedepends=('gtk-doc' 'gobject-introspection' 'intltool' 'gnome-common'
-      'python-gobject' 'python-polib' 'python2-gobject')
-options=('!emptydirs')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/nemo/tarball/$pkgver")
-sha256sums=('77d5c47a6657dfbaf66c9f80978ce8650595753138d27bd2adaebbe0e46c3e23')
-
-prepare() {
-  cd linuxmint-nemo-*
-
-  # Rename 'Files' app name to avoid having the same as nautilus
-  sed -i 's/^Name\(.*\)=.*/Name\1=Nemo/' data/nemo.desktop.in.in
-}
-
-build() {
-  cd linuxmint-nemo-*
-
-  ./autogen.sh --prefix=/usr --sysconfdir=/etc \
-      --localstatedir=/var --disable-static \
-      --libexecdir=/usr/lib/nemo \
-      --disable-update-mimedb \
-      --disable-tracker \
-      --disable-gtk-doc-html \
-      --disable-schemas-compile
-
-  #https://bugzilla.gnome.org/show_bug.cgi?id=656231
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-
-  make
-}
-
-package() {
-  cd linuxmint-nemo-*
-
-  make DESTDIR="$pkgdir" install
-}

Copied: nemo/repos/community-x86_64/PKGBUILD (from rev 192053, nemo/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2016-10-12 12:42:39 UTC (rev 192054)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Alexandre Filgueira <alexfilgueira at cinnarch.com>
+# Contributor: Ner0
+
+pkgname=nemo
+pkgver=3.0.6
+pkgrel=2
+pkgdesc="Cinnamon file manager (Nautilus fork)"
+arch=('i686' 'x86_64')
+url="https://github.com/linuxmint/nemo"
+license=('GPL')
+depends=('libexif' 'gvfs' 'dconf' 'desktop-file-utils' 'exempi' 'python'
+         'cinnamon-desktop' 'libnotify' 'libxml2' 'cinnamon-translations')
+makedepends=('gtk-doc' 'gobject-introspection' 'intltool' 'gnome-common'
+      'python-gobject' 'python-polib' 'python2-gobject')
+options=('!emptydirs')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/nemo/tarball/$pkgver"
+        "Fix-GTK-3.21.3-desktop-redraw-issue.patch")
+sha256sums=('77d5c47a6657dfbaf66c9f80978ce8650595753138d27bd2adaebbe0e46c3e23'
+            'ff2fe4fbf6edbdc51e0c6cef08b3b10ae612718d71701c59b28738ad168387eb')
+
+prepare() {
+  cd linuxmint-nemo-*
+
+  # Fix GTK 3.21.3 desktop redraw issue
+  # https://github.com/linuxmint/nemo/issues/1231
+  patch -Np1 -i ../Fix-GTK-3.21.3-desktop-redraw-issue.patch
+
+  # Rename 'Files' app name to avoid having the same as nautilus
+  sed -i 's/^Name\(.*\)=.*/Name\1=Nemo/' data/nemo.desktop.in.in
+}
+
+build() {
+  cd linuxmint-nemo-*
+
+  ./autogen.sh --prefix=/usr --sysconfdir=/etc \
+      --localstatedir=/var --disable-static \
+      --libexecdir=/usr/lib/nemo \
+      --disable-update-mimedb \
+      --disable-tracker \
+      --disable-gtk-doc-html \
+      --disable-schemas-compile
+
+  #https://bugzilla.gnome.org/show_bug.cgi?id=656231
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+  make
+}
+
+package() {
+  cd linuxmint-nemo-*
+
+  make DESTDIR="$pkgdir" install
+
+  # Remove D-Bus activation file to avoid conflict with nautilus-desktop
+  rm "$pkgdir/usr/share/dbus-1/services/org.nemo.freedesktop.FileManager1.service"
+}



More information about the arch-commits mailing list