From 9a6d6ab2193d6e5267bc581423f135edbeeb5bd3 Mon Sep 17 00:00:00 2001 From: piernov Date: Tue, 5 Jun 2012 22:47:08 +0000 Subject: cinnamon 1.4-UP3-1 ajout port --- cinnamon/Pkgfile | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 cinnamon/Pkgfile (limited to 'cinnamon/Pkgfile') 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 +# 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/ +} -- cgit v1.2.3-70-g09d2