tomwij      14/03/10 00:31:51

  Added:               
                        mate-screensaver-1.2.0-fix-popsquares-includes.patch
                        mate-screensaver-1.2.0-fix-with-libgl.patch
                        xss-conversion.txt
  Log:
  New ebuild for mate-extra/mate-screensaver, replaces xscreensaver, 
integrating with the MATE desktop; imported from the mate-overlay, reviewed and 
adjusted.
  
  (Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 
6D34E57D)

Revision  Changes    Path
1.1                  
mate-extra/mate-screensaver/files/mate-screensaver-1.2.0-fix-popsquares-includes.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mate-extra/mate-screensaver/files/mate-screensaver-1.2.0-fix-popsquares-includes.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mate-extra/mate-screensaver/files/mate-screensaver-1.2.0-fix-popsquares-includes.patch?rev=1.1&content-type=text/plain

Index: mate-screensaver-1.2.0-fix-popsquares-includes.patch
===================================================================
diff -burN a/savers/popsquares.c b/savers/popsquares.c
--- a/savers/popsquares.c       2012-03-07 22:28:11.000000000 +0100
+++ b/savers/popsquares.c       2012-07-17 19:54:44.062628969 +0200
@@ -21,6 +21,7 @@
 
 #include "config.h"
 
+#include <stdlib.h>
 #include <string.h>
 #include <gdk/gdk.h>
 #include <gdk/gdkx.h>



1.1                  
mate-extra/mate-screensaver/files/mate-screensaver-1.2.0-fix-with-libgl.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mate-extra/mate-screensaver/files/mate-screensaver-1.2.0-fix-with-libgl.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mate-extra/mate-screensaver/files/mate-screensaver-1.2.0-fix-with-libgl.patch?rev=1.1&content-type=text/plain

Index: mate-screensaver-1.2.0-fix-with-libgl.patch
===================================================================
--- a/configure.ac      2012-08-08 19:23:14.026623125 +0200
+++ b/configure.ac      2012-08-08 19:23:20.766623326 +0200
@@ -545,7 +545,7 @@
 dnl - Check for GL
 dnl ---------------------------------------------------------------------------
 
-AC_ARG_WITH(gl, [  --with-libgl          build with GL support])
+AC_ARG_WITH(libgl, [  --with-libgl     build with GL support])
 have_libgl=no
 GL_LIBS=""
 



1.1                  mate-extra/mate-screensaver/files/xss-conversion.txt

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mate-extra/mate-screensaver/files/xss-conversion.txt?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mate-extra/mate-screensaver/files/xss-conversion.txt?rev=1.1&content-type=text/plain

Index: xss-conversion.txt
===================================================================
There is a conversion script which you can use to convert XScreenSaver
screensavers to the gnome-screensaver format.  The conversion script is located
in the documentation directory (/usr/share/doc/${PF}/).

The migrate-xscreensaver-config.sh and xscreensaver-config.xsl files will be
needed to convert the screensaver.  Make sure to enable the executable bit on
the script (chmod +x migrate-xscreensaver-config.sh).

The script takes the module to convert and creates a .desktop file corresponding
to the module.

migrate-xscreensaver-config.sh /usr/share/xscreensaver/config/*.xml

The above command should convert all xscreensaver modules.

You must copy the desktop files into /usr/share/applications/gnome-screensavers 
(cp
*.desktop /usr/share/applications/screensavers), and the executables from
/usr/lib/misc/xscreensaver into /usr/libexec/gnome-screensaver
(cp /usr/lib/misc/xscreensaver/* /usr/libexec/gnome-screensaver)

Going to the gnome-screensaver-preferences dialog should now show the new
modules in the list.




Reply via email to