Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=mate14.git;a=commitdiff;h=b57ee7da06c932d5f1ffb104a2e6bc9f8c6a91cc

commit b57ee7da06c932d5f1ffb104a2e6bc9f8c6a91cc
Author: Pingax <[email protected]>
Date:   Sat Feb 2 15:04:01 2013 +0100

mate-window-manager-1.5.3-1-i686
* New package
* Add patch to fit to our libcanberra split

diff --git a/source/mate-extra/mate-window-manager/FrugalBuild 
b/source/mate-extra/mate-window-manager/FrugalBuild
new file mode 100644
index 0000000..be387c9
--- /dev/null
+++ b/source/mate-extra/mate-window-manager/FrugalBuild
@@ -0,0 +1,33 @@
+# Compiling Time: 0.40 SBU
+# Maintainer: Pingax <[email protected]>
+
+pkgname=mate-window-manager
+pkgver=1.5.3
+pkgrel=1
+pkgdesc="The MATE Desktop window manager"
+archs=('i686' 'x86_64')
+groups=('mate-extra' 'mate-base')
+depends=()
+makedepends=('desktop-file-utils' 'gsettings-desktop-schemas' 
'libcanberra-gtk2' \
+       'mate-common' 'mate-dialogs' 'mate-doc-utils' 'libsm' 'libsoup' 
'libxdamage' 'intltool' 'pkgconfig')
+_F_mate_desktop="y"
+_F_mate_glib="y"
+Finclude mate mate-scriptlet
+source=($source libcanberra.patch)
+sha1sums=('220ef12c3ad10f144977663ab81e35e46e15a7df' \
+          '439caec87b1700a2d33823abc91acd386f1b1b01')
+
+build()
+{
+       Fcd
+       Fpatchall
+       ./autogen.sh \
+               --with-gnu-ld \
+               --with-gtk=2.0 \
+               --with-x || Fdie
+       Fmake
+       Fmakeinstall
+       Fbuild_mate_scriptlet
+}
+
+# optimization OK
diff --git a/source/mate-extra/mate-window-manager/libcanberra.patch 
b/source/mate-extra/mate-window-manager/libcanberra.patch
new file mode 100644
index 0000000..c29d9fc
--- /dev/null
+++ b/source/mate-extra/mate-window-manager/libcanberra.patch
@@ -0,0 +1,22 @@
+--- src/core/bell.c.orig       2013-02-02 14:49:34.022763810 +0100
++++ src/core/bell.c    2013-02-02 14:50:05.829763810 +0100
+@@ -52,7 +52,7 @@
+ #include "bell.h"
+ #include "screen-private.h"
+ #include "prefs.h"
+-#include <canberra-gtk.h>
++#include <canberra-gtk2.h>
+
+ /**
+  * Flashes one entire screen.  This is done by making a window the size of the
+--- src/core/workspace.c.orig  2013-02-02 14:49:43.208763810 +0100
++++ src/core/workspace.c       2013-02-02 14:50:23.184763810 +0100
+@@ -29,7 +29,7 @@
+ #include "prefs.h"
+ #include <X11/Xatom.h>
+ #include <string.h>
+-#include <canberra-gtk.h>
++#include <canberra-gtk2.h>
+
+ void meta_workspace_queue_calc_showing   (MetaWorkspace *workspace);
+ static void set_active_space_hint        (MetaScreen *screen);
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to