summaryrefslogtreecommitdiffstats
path: root/cinnamon/Pkgfile
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2012-06-05 22:47:08 +0000
committerpiernov <piernov@piernov.org>2012-06-05 22:47:08 +0000
commit9a6d6ab2193d6e5267bc581423f135edbeeb5bd3 (patch)
treed8218f929b3717dc5b062c09f2bd6f83b506d2e4 /cinnamon/Pkgfile
parent8992969f78635c7279e6026048e84d61fa3454a9 (diff)
downloadgnome3-9a6d6ab2193d6e5267bc581423f135edbeeb5bd3.tar.gz
gnome3-9a6d6ab2193d6e5267bc581423f135edbeeb5bd3.tar.bz2
gnome3-9a6d6ab2193d6e5267bc581423f135edbeeb5bd3.tar.xz
gnome3-9a6d6ab2193d6e5267bc581423f135edbeeb5bd3.zip
cinnamon 1.4-UP3-1 ajout port
Diffstat (limited to 'cinnamon/Pkgfile')
-rw-r--r--cinnamon/Pkgfile52
1 files changed, 52 insertions, 0 deletions
diff --git a/cinnamon/Pkgfile b/cinnamon/Pkgfile
new file mode 100644
index 0000000..46a6dfe
--- /dev/null
+++ b/cinnamon/Pkgfile
@@ -0,0 +1,52 @@
+# Description: Fork de Gnome-Shell.
+# URL: http://cinnamon.linuxmint.com/
+# Maintainer: NuTyX GNOME team
+# Packager: piernov <piernov@piernov.org>
+# Depends on: ca-certificates, gnome-menus, pulseaudio, gnome-desktop, gnome-bluetooth, gjs, libcrocro, folks, telepathy-logger, networkmanager, nautilus, gnome-session, muffin, gconf, metacity, libgnomekbd, notification-daemon, gnome-panel, gnome-settings-daemon, accountsservice
+# Run on: ca-certificates,gnome-menus,pulseaudio,gnome-desktop,gnome-bluetooth,gjs,libcrocro,folks,telepathy-logger,networkmanager,nautilus,gnome-session,muffin,gconf,metacity,libgnomekbd,notification-daemon,gnome-panel,gnome-settings-daemon,accountsservice
+
+name=cinnamon
+version=1.4-UP3
+release=1
+source=(http://packages.linuxmint.com/pool/main/c/$name/${name}_$version.tar.gz
+ fix-build-with-gnome-bluetooth-3.4.patch
+ fix-cinnamon-settings.patch)
+
+build() {
+ cd Cinnamon
+
+ export CFLAGS="${CFLAGS} -Wno-deprecated-declarations"
+
+ patch -p1 < ../fix-build-with-gnome-bluetooth-3.4.patch
+ patch -p0 < ../fix-cinnamon-settings.patch
+
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib/$name \
+ --localstatedir=/var \
+ --disable-schemas-compile \
+ --disable-schemas-install \
+ --enable-compile-warnings=yes
+ make
+ make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR=$PKG install
+ rm -rf $PKG/usr/share/gtk-doc
+
+ sed -i \
+ -e 's|^\(#!.*python\)$|\12|g' \
+ -e '/python[ \t]\+[-a-zA-Z0-9]\+$/ s|^\(#!.*python\)[ \t]*\(.*\)$|\12 \2|g' \
+ $PKG/usr/bin/$name-extension-tool \
+ $PKG/usr/lib/$name-settings/$name-settings.py \
+ $PKG/usr/bin/$name-settings \
+ $PKG/usr/bin/$name-menu-editor
+
+ mkdir -p $PKG/usr/share/apps/kdm/sessions/
+ cp $PKG/usr/share/xsessions/$name.desktop $PKG/usr/share/apps/kdm/sessions/
+
+ sed "s|/usr/lib/gnome-session/|/usr/lib/|" -i $PKG/usr/share/gnome-session/sessions/$name.session
+
+ install -dm755 $PKG/usr/share/gconf/schemas/
+ gconf-merge-schema $PKG/usr/share/gconf/schemas/$name.schemas \
+ --domain cinnamon $PKG/etc/gconf/schemas/*.schemas
+ rm $PKG/etc/gconf/schemas/*.schemas
+ rm -r $PKG/etc/gconf/
+}