diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /mate-extra/mate-screensaver | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'mate-extra/mate-screensaver')
7 files changed, 293 insertions, 0 deletions
diff --git a/mate-extra/mate-screensaver/Manifest b/mate-extra/mate-screensaver/Manifest new file mode 100644 index 000000000000..665e8a7d5b98 --- /dev/null +++ b/mate-extra/mate-screensaver/Manifest @@ -0,0 +1,2 @@ +DIST mate-screensaver-1.8.0.tar.xz 4869084 SHA256 93979d0a6203fa0b59eb5477bdd5b78788a1b1adc861c3d0085339b859ec3106 SHA512 66375f38896bb95f1556f6574f5a91c58d4bf61fc976dee4e457691d3e6c2afbf1616c998fdd8b7e44a0a4781b5654e11b11820543672f4adcb0b29f62b45ecd WHIRLPOOL f2b166fd74fad5807b4c8fa5967d8b66e1d511e635a81215888ec961cc4dd1590cf8155cb22d3b28acf2307ffa47f146d32effedd272c7c4eff4bf356fe4b0ba +DIST mate-screensaver-1.8.1.tar.xz 4874424 SHA256 a3dd1fe9e8d05b7815544fa186c43a35271dd8b512d6b0377038df02c28c9d62 SHA512 e2bb5b4efbd5818834d0e9f9bf13e9f362f1251bdfc975fc93c69ab90163db859ebfc089e056fa73801053cd396d661954bb6e906e02881452b01a0394d7d2ff WHIRLPOOL a46bc84824205bc6a257325dda507b38a83751c30275052e921c3cbceb53a9243caed8704f0e63888f5fa927ff2a0b04b693e5c7fe0514e709fc356a7756af57 diff --git a/mate-extra/mate-screensaver/files/mate-screensaver-1.2.0-fix-popsquares-includes.patch b/mate-extra/mate-screensaver/files/mate-screensaver-1.2.0-fix-popsquares-includes.patch new file mode 100644 index 000000000000..5d13f69486b6 --- /dev/null +++ b/mate-extra/mate-screensaver/files/mate-screensaver-1.2.0-fix-popsquares-includes.patch @@ -0,0 +1,11 @@ +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> diff --git a/mate-extra/mate-screensaver/files/mate-screensaver-1.2.0-fix-with-libgl.patch b/mate-extra/mate-screensaver/files/mate-screensaver-1.2.0-fix-with-libgl.patch new file mode 100644 index 000000000000..45638c0ea10e --- /dev/null +++ b/mate-extra/mate-screensaver/files/mate-screensaver-1.2.0-fix-with-libgl.patch @@ -0,0 +1,11 @@ +--- 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="" + diff --git a/mate-extra/mate-screensaver/files/xss-conversion.txt b/mate-extra/mate-screensaver/files/xss-conversion.txt new file mode 100644 index 000000000000..d69e50619589 --- /dev/null +++ b/mate-extra/mate-screensaver/files/xss-conversion.txt @@ -0,0 +1,22 @@ +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. diff --git a/mate-extra/mate-screensaver/mate-screensaver-1.8.0.ebuild b/mate-extra/mate-screensaver/mate-screensaver-1.8.0.ebuild new file mode 100644 index 000000000000..4ef07c42f1a6 --- /dev/null +++ b/mate-extra/mate-screensaver/mate-screensaver-1.8.0.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GCONF_DEBUG="yes" + +inherit gnome2 multilib versionator + +MATE_BRANCH="$(get_version_component_range 1-2)" + +SRC_URI="http://pub.mate-desktop.org/releases/${MATE_BRANCH}/${P}.tar.xz" +DESCRIPTION="Replaces xscreensaver, integrating with the MATE desktop" +HOMEPAGE="http://mate-desktop.org" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" + +IUSE="X consolekit kernel_linux libnotify opengl pam systemd" + +RDEPEND=" + >=dev-libs/dbus-glib-0.71:0 + >=dev-libs/glib-2.26:2 + gnome-base/dconf:0 + >=mate-base/libmatekbd-1.8:0 + >=mate-base/mate-desktop-1.8:0 + >=mate-base/mate-menus-1.8:0 + >=sys-apps/dbus-0.30:0 + >=x11-libs/gdk-pixbuf-2.14:2 + >=x11-libs/gtk+-2.14:2 + >=x11-libs/libX11-1:0 + x11-libs/cairo:0 + x11-libs/libXext:0 + x11-libs/libXrandr:0 + x11-libs/libXScrnSaver:0 + x11-libs/libXxf86misc:0 + x11-libs/libXxf86vm:0 + x11-libs/libxklavier:0 + x11-libs/pango:0 + virtual/libintl:0 + libnotify? ( >=x11-libs/libnotify-0.7:0 ) + opengl? ( virtual/opengl:0 ) + pam? ( gnome-base/gnome-keyring:0 virtual/pam:0 ) + !pam? ( kernel_linux? ( sys-apps/shadow:0 ) ) + !!<gnome-extra/gnome-screensaver-3:0" + +# FIXME: Why is systemd and consolekit only a DEPEND? ConsoleKit can't be used build-time only. +DEPEND="${RDEPEND} + >=dev-util/intltool-0.35:* + >=mate-base/mate-common-1.8:0 + sys-devel/gettext:* + x11-proto/randrproto:0 + x11-proto/scrnsaverproto:0 + x11-proto/xextproto:0 + x11-proto/xf86miscproto:0 + virtual/pkgconfig:* + consolekit? ( sys-auth/consolekit:0 ) + systemd? ( sys-apps/systemd:0= )" + +src_configure() { + gnome2_src_configure \ + $(use_with consolekit console-kit) \ + $(use_enable debug) \ + $(use_with libnotify) \ + $(use_with opengl libgl) \ + $(use_enable pam) \ + $(use_with systemd) \ + $(use_with X x) \ + --enable-locking \ + --with-kbd-layout-indicator \ + --with-xf86gamma-ext \ + --with-xscreensaverdir=/usr/share/xscreensaver/config \ + --with-xscreensaverhackdir=/usr/$(get_libdir)/misc/xscreensaver +} + +DOCS="AUTHORS ChangeLog NEWS README" + +src_install() { + gnome2_src_install + + # Install the conversion script in the documentation. + dodoc "${S}"/data/migrate-xscreensaver-config.sh + dodoc "${S}"/data/xscreensaver-config.xsl + dodoc "${FILESDIR}"/xss-conversion.txt + + # Non PAM users will need this suid to read the password hashes. + # OpenPAM users will probably need this too when + # http://bugzilla.gnome.org/show_bug.cgi?id=370847 + # is fixed. + if ! use pam ; then + fperms u+s /usr/libexec/mate-screensaver-dialog + fi +} + +pkg_postinst() { + gnome2_pkg_postinst + + if has_version "<x11-base/xorg-server-1.5.3-r4" ; then + ewarn "You have a too old xorg-server installation. This will cause" + ewarn "mate-screensaver to eat up your CPU. Please consider upgrading." + echo + fi + + if has_version "<x11-misc/xscreensaver-4.22-r2" ; then + ewarn "You have xscreensaver installed, you probably want to disable it." + ewarn "To prevent a duplicate screensaver entry in the menu, you need to" + ewarn "build xscreensaver with -gnome in the USE flags." + ewarn "echo \"x11-misc/xscreensaver -gnome\" >> /etc/portage/package.use" + echo + fi + + elog "Information for converting screensavers is located in " + elog "/usr/share/doc/${PF}/xss-conversion.txt.${PORTAGE_COMPRESS}" +} diff --git a/mate-extra/mate-screensaver/mate-screensaver-1.8.1.ebuild b/mate-extra/mate-screensaver/mate-screensaver-1.8.1.ebuild new file mode 100644 index 000000000000..fc112741aaa4 --- /dev/null +++ b/mate-extra/mate-screensaver/mate-screensaver-1.8.1.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GCONF_DEBUG="yes" + +inherit gnome2 multilib readme.gentoo versionator + +MATE_BRANCH="$(get_version_component_range 1-2)" + +SRC_URI="http://pub.mate-desktop.org/releases/${MATE_BRANCH}/${P}.tar.xz" +DESCRIPTION="Replaces xscreensaver, integrating with the MATE desktop" +HOMEPAGE="http://mate-desktop.org" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="X consolekit kernel_linux libnotify opengl pam systemd" + +DOC_CONTENTS=" + Information for converting screensavers is located in + /usr/share/doc/${PF}/xss-conversion.txt* +" + +RDEPEND=" + >=dev-libs/dbus-glib-0.71:0 + >=dev-libs/glib-2.26:2 + gnome-base/dconf:0 + >=mate-base/libmatekbd-1.8:0 + >=mate-base/mate-desktop-1.8:0 + >=mate-base/mate-menus-1.8:0 + >=sys-apps/dbus-0.30:0 + >=x11-libs/gdk-pixbuf-2.14:2 + >=x11-libs/gtk+-2.14:2 + >=x11-libs/libX11-1:0 + x11-libs/cairo:0 + x11-libs/libXext:0 + x11-libs/libXrandr:0 + x11-libs/libXScrnSaver:0 + x11-libs/libXxf86misc:0 + x11-libs/libXxf86vm:0 + x11-libs/libxklavier:0 + x11-libs/pango:0 + virtual/libintl:0 + libnotify? ( >=x11-libs/libnotify-0.7:0 ) + opengl? ( virtual/opengl:0 ) + pam? ( gnome-base/gnome-keyring:0 virtual/pam:0 ) + !pam? ( kernel_linux? ( sys-apps/shadow:0 ) ) + !!<gnome-extra/gnome-screensaver-3:0" + +# FIXME: Why is systemd and consolekit only a DEPEND? ConsoleKit can't be used build-time only. +DEPEND="${RDEPEND} + >=dev-util/intltool-0.35:* + >=mate-base/mate-common-1.8:0 + sys-devel/gettext:* + x11-proto/randrproto:0 + x11-proto/scrnsaverproto:0 + x11-proto/xextproto:0 + x11-proto/xf86miscproto:0 + virtual/pkgconfig:* + consolekit? ( sys-auth/consolekit:0 ) + systemd? ( sys-apps/systemd:0= )" + +src_configure() { + gnome2_src_configure \ + $(use_with consolekit console-kit) \ + $(use_enable debug) \ + $(use_with libnotify) \ + $(use_with opengl libgl) \ + $(use_enable pam) \ + $(use_with systemd) \ + $(use_with X x) \ + --enable-locking \ + --with-kbd-layout-indicator \ + --with-xf86gamma-ext \ + --with-xscreensaverdir=/usr/share/xscreensaver/config \ + --with-xscreensaverhackdir=/usr/$(get_libdir)/misc/xscreensaver +} + +src_install() { + gnome2_src_install + + # Install the conversion script in the documentation. + dodoc "${S}"/data/migrate-xscreensaver-config.sh + dodoc "${S}"/data/xscreensaver-config.xsl + dodoc "${FILESDIR}"/xss-conversion.txt + + # Non PAM users will need this suid to read the password hashes. + # OpenPAM users will probably need this too when + # http://bugzilla.gnome.org/show_bug.cgi?id=370847 + # is fixed. + if ! use pam ; then + fperms u+s /usr/libexec/mate-screensaver-dialog + fi + + readme.gentoo_create_doc +} + +pkg_postinst() { + gnome2_pkg_postinst + + if has_version "<x11-base/xorg-server-1.5.3-r4" ; then + ewarn "You have a too old xorg-server installation. This will cause" + ewarn "mate-screensaver to eat up your CPU. Please consider upgrading." + echo + fi + + if has_version "<x11-misc/xscreensaver-4.22-r2" ; then + ewarn "You have xscreensaver installed, you probably want to disable it." + ewarn "To prevent a duplicate screensaver entry in the menu, you need to" + ewarn "build xscreensaver with -gnome in the USE flags." + ewarn "echo \"x11-misc/xscreensaver -gnome\" >> /etc/portage/package.use" + echo + fi + + readme.gentoo_print_elog +} diff --git a/mate-extra/mate-screensaver/metadata.xml b/mate-extra/mate-screensaver/metadata.xml new file mode 100644 index 000000000000..96aee56156f3 --- /dev/null +++ b/mate-extra/mate-screensaver/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>mate</herd> + <use> + <flag name="consolekit">Enable support for + <pkg>sys-auth/consolkekit</pkg></flag> + </use> + <upstream> + <remote-id type="github">mate-desktop/mate-screensaver</remote-id> + </upstream> +</pkgmetadata> |