[arch-commits] Commit in nemo/trunk (PKGBUILD desktop-theme.patch)

Balló György bgyorgy at archlinux.org
Wed Oct 1 16:40:51 UTC 2014


    Date: Wednesday, October 1, 2014 @ 18:40:51
  Author: bgyorgy
Revision: 119978

upgpkg: nemo 2.2.4-2

Add better style for the desktop with GNOME 3.14

Added:
  nemo/trunk/desktop-theme.patch
Modified:
  nemo/trunk/PKGBUILD

---------------------+
 PKGBUILD            |   16 ++++++++--------
 desktop-theme.patch |   36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-10-01 16:18:00 UTC (rev 119977)
+++ PKGBUILD	2014-10-01 16:40:51 UTC (rev 119978)
@@ -4,19 +4,20 @@
 
 pkgname=nemo
 pkgver=2.2.4
-pkgrel=1
+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' 'python2'
-         'cinnamon-desktop' 'gnome-icon-theme' 'libnotify' 'libxml2'
-         'cinnamon-translations')
+         'cinnamon-desktop' 'libnotify' 'libxml2' 'cinnamon-translations')
 makedepends=('gtk-doc' 'gobject-introspection' 'intltool' 'gnome-common' 'python2-gobject' 'python2-polib')
 options=('!emptydirs')
 install=nemo.install
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/nemo/tarball/$pkgver")
-sha256sums=('7dea1a9e1360b00840fe6cf3248c888eba09c3c1003c36aece3d40699787934a')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/nemo/tarball/$pkgver"
+        "desktop-theme.patch")
+sha256sums=('7dea1a9e1360b00840fe6cf3248c888eba09c3c1003c36aece3d40699787934a'
+            'cb5a1e6f27d1e5901faf90a21c0ff199080c0c0d7912dbaa461b01dd6b521f51')
 
 prepare() {
   cd linuxmint-nemo-*
@@ -25,9 +26,8 @@
   sed -i 's/bin\/python/bin\/python2/g' files/usr/share/nemo/actions/myaction.py
   find -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
 
-  # Fix desktop style with Adwaita theme
-  sed -i 's/add_class (\(.*\), "nemo-/add_class (\1, "nautilus-/' \
-    libnemo-private/nemo-icon-{canvas-item,container}.c
+  # Add better style for the desktop with GNOME 3.14
+  patch -Np1 -i ../desktop-theme.patch
 
   # Fix build
   sed -i '/AC_SUBST(DISABLE_DEPRECATED_CFLAGS)/d' configure.in

Added: desktop-theme.patch
===================================================================
--- desktop-theme.patch	                        (rev 0)
+++ desktop-theme.patch	2014-10-01 16:40:51 UTC (rev 119978)
@@ -0,0 +1,36 @@
+diff -Naur linuxmint-nemo-0f4f990.orig/src/nemo-style-application.css linuxmint-nemo-0f4f990/src/nemo-style-application.css
+--- linuxmint-nemo-0f4f990.orig/src/nemo-style-application.css	2014-10-01 04:38:14.441980888 +0000
++++ linuxmint-nemo-0f4f990/src/nemo-style-application.css	2014-10-01 16:24:15.092157366 +0000
+@@ -6,3 +6,32 @@
+ .nemo-big-arrow {
+     -GtkArrow-arrow-scaling: 1.0;
+ }
++
++/* For desktop */
++
++.nemo-canvas-item {
++    border-radius: 5px;
++}
++
++.nemo-desktop.nemo-canvas-item {
++    color: @theme_selected_fg_color;
++    text-shadow: 1px 1px black;
++}
++
++.nemo-desktop.nemo-canvas-item:active {
++    color: @theme_text_color;
++}
++
++.nemo-desktop.nemo-canvas-item:selected {
++    color: @theme_selected_fg_color;
++}
++
++.nemo-desktop.nemo-canvas-item:active,
++.nemo-desktop.nemo-canvas-item:prelight,
++.nemo-desktop.nemo-canvas-item:selected {
++    text-shadow: none;
++}
++
++.nemo-desktop.nemo-canvas-item:selected:backdrop {
++    color: @theme_unfocused_selected_fg_color;
++}



More information about the arch-commits mailing list