[arch-commits] Commit in nemo/repos (8 files)
Alexandre Filgueira
faidoc at archlinux.org
Sat Nov 1 19:24:25 UTC 2014
Date: Saturday, November 1, 2014 @ 20:24:25
Author: faidoc
Revision: 121675
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
nemo/repos/community-staging-i686/
nemo/repos/community-staging-i686/PKGBUILD
(from rev 121674, nemo/trunk/PKGBUILD)
nemo/repos/community-staging-i686/desktop-theme.patch
(from rev 121674, nemo/trunk/desktop-theme.patch)
nemo/repos/community-staging-i686/nemo.install
(from rev 121674, nemo/trunk/nemo.install)
nemo/repos/community-staging-x86_64/
nemo/repos/community-staging-x86_64/PKGBUILD
(from rev 121674, nemo/trunk/PKGBUILD)
nemo/repos/community-staging-x86_64/desktop-theme.patch
(from rev 121674, nemo/trunk/desktop-theme.patch)
nemo/repos/community-staging-x86_64/nemo.install
(from rev 121674, nemo/trunk/nemo.install)
----------------------------------------------+
community-staging-i686/PKGBUILD | 55 +++++++++++++++++++++++++
community-staging-i686/desktop-theme.patch | 36 ++++++++++++++++
community-staging-i686/nemo.install | 14 ++++++
community-staging-x86_64/PKGBUILD | 55 +++++++++++++++++++++++++
community-staging-x86_64/desktop-theme.patch | 36 ++++++++++++++++
community-staging-x86_64/nemo.install | 14 ++++++
6 files changed, 210 insertions(+)
Copied: nemo/repos/community-staging-i686/PKGBUILD (from rev 121674, nemo/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2014-11-01 19:24:25 UTC (rev 121675)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Alexandre Filgueira <alexfilgueira at cinnarch.com>
+# Contributor: Ner0
+
+pkgname=nemo
+pkgver=2.4.0
+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' 'python2'
+ '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"
+ "desktop-theme.patch")
+sha256sums=('3d57751841bbdaa432c3d45ea26eb1fd5f3735e676e014ce0aa7c6792a325ada'
+ 'cb5a1e6f27d1e5901faf90a21c0ff199080c0c0d7912dbaa461b01dd6b521f51')
+
+prepare() {
+ cd linuxmint-nemo-*
+
+ # Python2 fix
+ find -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
+
+ # 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
+
+ # 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
+ make
+}
+
+package() {
+ cd linuxmint-nemo-*
+
+ make DESTDIR="$pkgdir/" install
+}
Copied: nemo/repos/community-staging-i686/desktop-theme.patch (from rev 121674, nemo/trunk/desktop-theme.patch)
===================================================================
--- community-staging-i686/desktop-theme.patch (rev 0)
+++ community-staging-i686/desktop-theme.patch 2014-11-01 19:24:25 UTC (rev 121675)
@@ -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;
++}
Copied: nemo/repos/community-staging-i686/nemo.install (from rev 121674, nemo/trunk/nemo.install)
===================================================================
--- community-staging-i686/nemo.install (rev 0)
+++ community-staging-i686/nemo.install 2014-11-01 19:24:25 UTC (rev 121675)
@@ -0,0 +1,14 @@
+post_install() {
+ glib-compile-schemas --allow-any-name usr/share/glib-2.0/schemas
+ update-desktop-database -q
+ gtk-update-icon-cache -ftq usr/share/icons/hicolor
+ update-mime-database usr/share/mime > /dev/null
+}
+
+post_upgrade() {
+ post_install "$1"
+}
+
+post_remove() {
+ post_install "$1"
+}
Copied: nemo/repos/community-staging-x86_64/PKGBUILD (from rev 121674, nemo/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2014-11-01 19:24:25 UTC (rev 121675)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Alexandre Filgueira <alexfilgueira at cinnarch.com>
+# Contributor: Ner0
+
+pkgname=nemo
+pkgver=2.4.0
+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' 'python2'
+ '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"
+ "desktop-theme.patch")
+sha256sums=('3d57751841bbdaa432c3d45ea26eb1fd5f3735e676e014ce0aa7c6792a325ada'
+ 'cb5a1e6f27d1e5901faf90a21c0ff199080c0c0d7912dbaa461b01dd6b521f51')
+
+prepare() {
+ cd linuxmint-nemo-*
+
+ # Python2 fix
+ find -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
+
+ # 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
+
+ # 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
+ make
+}
+
+package() {
+ cd linuxmint-nemo-*
+
+ make DESTDIR="$pkgdir/" install
+}
Copied: nemo/repos/community-staging-x86_64/desktop-theme.patch (from rev 121674, nemo/trunk/desktop-theme.patch)
===================================================================
--- community-staging-x86_64/desktop-theme.patch (rev 0)
+++ community-staging-x86_64/desktop-theme.patch 2014-11-01 19:24:25 UTC (rev 121675)
@@ -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;
++}
Copied: nemo/repos/community-staging-x86_64/nemo.install (from rev 121674, nemo/trunk/nemo.install)
===================================================================
--- community-staging-x86_64/nemo.install (rev 0)
+++ community-staging-x86_64/nemo.install 2014-11-01 19:24:25 UTC (rev 121675)
@@ -0,0 +1,14 @@
+post_install() {
+ glib-compile-schemas --allow-any-name usr/share/glib-2.0/schemas
+ update-desktop-database -q
+ gtk-update-icon-cache -ftq usr/share/icons/hicolor
+ update-mime-database usr/share/mime > /dev/null
+}
+
+post_upgrade() {
+ post_install "$1"
+}
+
+post_remove() {
+ post_install "$1"
+}
More information about the arch-commits
mailing list