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 /gnome-extra/cinnamon-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 'gnome-extra/cinnamon-screensaver')
6 files changed, 336 insertions, 0 deletions
diff --git a/gnome-extra/cinnamon-screensaver/Manifest b/gnome-extra/cinnamon-screensaver/Manifest new file mode 100644 index 000000000000..2d148bc3e947 --- /dev/null +++ b/gnome-extra/cinnamon-screensaver/Manifest @@ -0,0 +1,3 @@ +DIST cinnamon-screensaver-2.4.2.tar.gz 142557 SHA256 52afb2c9b5b00e1d026469c7f2b1865ca44c784b920e35bfcd61d2a75b87bbda SHA512 54131d1c8aab2abf31210031f0888e9913535ce2697e3310c6f86a9edefe832fc46b0340af792d88d97788aa65c15d210e703dc3b15d419f08f64352444ccc61 WHIRLPOOL 56f87bc6fdf5eba04cd68df9546d6451ba1d7c146903813b76e368e6a71f45a97814923cdfa5bba881d4e53761b3c711a51a139e38c09c3ecc29902aa3b9949d +DIST cinnamon-screensaver-2.6.3.tar.gz 145989 SHA256 cef3e6ccbb77e91f7e4ef04115b45696c5b6070b8517a60c8782b1f0a67a348a SHA512 d18fac08f7a56e79629b1e78c7ea69bb14c8e906a56252d523bc1129e97f58a3f6a6dc9b9adc21b3e2fb8826783e74375abb50b5b14d35f178522eb5c6d7e509 WHIRLPOOL 4b534d363f04dbd7f3785e19c9ebd847f78b8263aadcf8f9e1ab80dc4183a866f8d269704ebe5bdb9c18b5f5dcd44b5908f5859d72d16f775e2d7d3052614b5b +DIST cinnamon-screensaver-2.6.4.tar.gz 146059 SHA256 b5da1cd64ab20e52582088c1fa8ac79741b1a17cc018a8f370936d9707dbbbde SHA512 dca368928fc7edeaa83a36d2045926bd041e1a73815484be8ef37c758d75922ab54a196ebe075522e7363faa224547b94934b54019c417ba0da200c8ebf3b403 WHIRLPOOL c570c6803d8c8ce74a2d2143622bdfa0157b243f95e44ac84969c7426bbc6d0a8e7dad27fc9c0b61b1c750f4c37d5446f703d95ad1b93d55393b56266b868986 diff --git a/gnome-extra/cinnamon-screensaver/cinnamon-screensaver-2.4.2.ebuild b/gnome-extra/cinnamon-screensaver/cinnamon-screensaver-2.4.2.ebuild new file mode 100644 index 000000000000..2fd988a37a32 --- /dev/null +++ b/gnome-extra/cinnamon-screensaver/cinnamon-screensaver-2.4.2.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GCONF_DEBUG="yes" + +inherit autotools eutils gnome2 + +DESCRIPTION="Screensaver for Cinnamon" +HOMEPAGE="http://cinnamon.linuxmint.com/" +SRC_URI="https://github.com/linuxmint/cinnamon-screensaver/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +IUSE="doc pam systemd" +KEYWORDS="amd64 x86" + +COMMON_DEPEND=" + >=dev-libs/glib-2.25.6:2[dbus] + >=x11-libs/gtk+-2.99.3:3 + >=gnome-extra/cinnamon-desktop-2.4:0= + >=gnome-base/gsettings-desktop-schemas-0.1.7 + >=gnome-base/libgnomekbd-3.6 + >=dev-libs/dbus-glib-0.71 + + sys-apps/dbus + x11-libs/libxklavier + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXrandr + x11-libs/libXScrnSaver + x11-libs/libXxf86misc + x11-libs/libXxf86vm + x11-themes/gnome-icon-theme-symbolic + + pam? ( virtual/pam ) + systemd? ( >=sys-apps/systemd-31:0= ) +" +# our cinnamon-1.8 ebuilds installed a cinnamon-screensaver.desktop hack +RDEPEND=" + !~gnome-extra/cinnamon-1.8.8.1 + !systemd? ( sys-auth/consolekit ) +" +DEPEND="${COMMON_DEPEND} + >=dev-util/intltool-0.35 + gnome-base/gnome-common + sys-devel/gettext + virtual/pkgconfig + x11-proto/xextproto + x11-proto/randrproto + x11-proto/scrnsaverproto + x11-proto/xf86miscproto + doc? ( + app-text/xmlto + app-text/docbook-xml-dtd:4.1.2 + app-text/docbook-xml-dtd:4.4 ) +" + +src_prepare() { + epatch_user + eautoreconf + gnome2_src_prepare +} + +src_configure() { + DOCS="AUTHORS ChangeLog HACKING NEWS README" + gnome2_src_configure \ + $(use_enable doc docbook-docs) \ + $(use_enable pam locking) \ + $(use_with systemd) \ + --with-mit-ext \ + --with-pam-prefix=/etc \ + --with-xf86gamma-ext \ + --with-kbd-layout-indicator + # Do not use --without-console-kit, it would provide no benefit: there is + # no build-time or run-time check for consolekit, $PN merely listens to + # consolekit's messages over dbus. +} diff --git a/gnome-extra/cinnamon-screensaver/cinnamon-screensaver-2.6.3.ebuild b/gnome-extra/cinnamon-screensaver/cinnamon-screensaver-2.6.3.ebuild new file mode 100644 index 000000000000..3da50a3845db --- /dev/null +++ b/gnome-extra/cinnamon-screensaver/cinnamon-screensaver-2.6.3.ebuild @@ -0,0 +1,107 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GCONF_DEBUG="yes" + +PYTHON_COMPAT=( python2_7 ) + +inherit autotools eutils gnome2 multilib python-single-r1 + +DESCRIPTION="Screensaver for Cinnamon" +HOMEPAGE="http://cinnamon.linuxmint.com/" +SRC_URI="https://github.com/linuxmint/cinnamon-screensaver/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +IUSE="doc pam systemd" +KEYWORDS="~amd64 ~x86" + +COMMON_DEPEND=" + >=dev-libs/glib-2.37.3:2[dbus] + >=x11-libs/gtk+-3.1.4:3[introspection] + >=gnome-extra/cinnamon-desktop-2.6.3:0=[systemd=] + >=gnome-base/gsettings-desktop-schemas-0.1.7 + >=gnome-base/libgnomekbd-3.6 + >=dev-libs/dbus-glib-0.78 + + net-libs/webkit-gtk:3[introspection] + + sys-apps/dbus + x11-libs/libxklavier + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXrandr + x11-libs/libXScrnSaver + x11-libs/libXxf86misc + x11-libs/libXxf86vm + x11-themes/gnome-icon-theme-symbolic + + ${PYTHON_DEPS} + + pam? ( virtual/pam ) + systemd? ( >=sys-apps/systemd-31:0= ) +" +# our cinnamon-1.8 ebuilds installed a cinnamon-screensaver.desktop hack +RDEPEND=" + !~gnome-extra/cinnamon-1.8.8.1 + !systemd? ( sys-auth/consolekit ) + + dev-python/pygobject:3[${PYTHON_USEDEP}] +" +DEPEND="${COMMON_DEPEND} + >=dev-util/intltool-0.35 + gnome-base/gnome-common + sys-devel/gettext + virtual/pkgconfig + x11-proto/xextproto + x11-proto/randrproto + x11-proto/scrnsaverproto + x11-proto/xf86miscproto + doc? ( + app-text/xmlto + app-text/docbook-xml-dtd:4.1.2 + app-text/docbook-xml-dtd:4.4 ) +" + +pkg_setup() { + python_setup +} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-2.6.3-automagic-logind.patch + + # Fix xscreensaver paths for gentoo + sed -e "s#/usr/lib/xscreensaver/#${EPREFIX}/usr$(get_libdir)/misc/xscreensaver/#" \ + -i data/screensavers/xscreensaver@cinnamon.org/main || die + + python_fix_shebang data/screensavers + + epatch_user + eautoreconf + gnome2_src_prepare +} + +src_configure() { + DOCS="AUTHORS ChangeLog HACKING NEWS README" + gnome2_src_configure \ + $(use_enable doc docbook-docs) \ + $(use_enable pam locking) \ + $(use_enable systemd logind) \ + --with-mit-ext \ + --with-pam-prefix=/etc \ + --with-xf86gamma-ext \ + --with-kbd-layout-indicator + # Do not use --without-console-kit, it would provide no benefit: there is + # no build-time or run-time check for consolekit, $PN merely listens to + # consolekit's messages over dbus. +} + +pkg_postinst() { + gnome2_pkg_postinst + + if ! has_version x11-misc/xscreensaver; then + elog "${PN} can use screensavers from x11-misc/xscreensaver" + fi +} diff --git a/gnome-extra/cinnamon-screensaver/cinnamon-screensaver-2.6.4.ebuild b/gnome-extra/cinnamon-screensaver/cinnamon-screensaver-2.6.4.ebuild new file mode 100644 index 000000000000..9adc0c9dfb84 --- /dev/null +++ b/gnome-extra/cinnamon-screensaver/cinnamon-screensaver-2.6.4.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GCONF_DEBUG="yes" +PYTHON_COMPAT=( python2_7 ) + +inherit autotools eutils gnome2 multilib python-single-r1 + +DESCRIPTION="Screensaver for Cinnamon" +HOMEPAGE="http://cinnamon.linuxmint.com/" +SRC_URI="https://github.com/linuxmint/cinnamon-screensaver/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +IUSE="doc pam systemd" +KEYWORDS="~amd64 ~x86" + +COMMON_DEPEND=" + >=dev-libs/glib-2.37.3:2[dbus] + >=x11-libs/gtk+-3.1.4:3[introspection] + >=gnome-extra/cinnamon-desktop-2.6.3:0=[systemd=] + >=gnome-base/gsettings-desktop-schemas-0.1.7 + >=gnome-base/libgnomekbd-3.6 + >=dev-libs/dbus-glib-0.78 + + net-libs/webkit-gtk:3[introspection] + + sys-apps/dbus + x11-libs/libxklavier + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXrandr + x11-libs/libXScrnSaver + x11-libs/libXxf86misc + x11-libs/libXxf86vm + x11-themes/gnome-icon-theme-symbolic + + ${PYTHON_DEPS} + + pam? ( virtual/pam ) + systemd? ( >=sys-apps/systemd-31:0= ) +" +# our cinnamon-1.8 ebuilds installed a cinnamon-screensaver.desktop hack +RDEPEND=" + !~gnome-extra/cinnamon-1.8.8.1 + !systemd? ( sys-auth/consolekit ) + + dev-python/pygobject:3[${PYTHON_USEDEP}] +" +DEPEND="${COMMON_DEPEND} + >=dev-util/intltool-0.35 + gnome-base/gnome-common + sys-devel/gettext + virtual/pkgconfig + x11-proto/xextproto + x11-proto/randrproto + x11-proto/scrnsaverproto + x11-proto/xf86miscproto + doc? ( + app-text/xmlto + app-text/docbook-xml-dtd:4.1.2 + app-text/docbook-xml-dtd:4.4 ) +" + +pkg_setup() { + python_setup +} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-2.6.3-automagic-logind.patch + + # Fix xscreensaver paths for gentoo + sed -e "s#/usr/lib/xscreensaver/#${EPREFIX}/usr$(get_libdir)/misc/xscreensaver/#" \ + -i data/screensavers/xscreensaver@cinnamon.org/main || die + + python_fix_shebang data/screensavers + + epatch_user + eautoreconf + gnome2_src_prepare +} + +src_configure() { + DOCS="AUTHORS ChangeLog HACKING NEWS README" + gnome2_src_configure \ + $(use_enable doc docbook-docs) \ + $(use_enable pam locking) \ + $(use_enable systemd logind) \ + --with-mit-ext \ + --with-pam-prefix=/etc \ + --with-xf86gamma-ext \ + --with-kbd-layout-indicator + # Do not use --without-console-kit, it would provide no benefit: there is + # no build-time or run-time check for consolekit, $PN merely listens to + # consolekit's messages over dbus. +} + +pkg_postinst() { + gnome2_pkg_postinst + + if ! has_version x11-misc/xscreensaver; then + elog "${PN} can use screensavers from x11-misc/xscreensaver" + fi +} diff --git a/gnome-extra/cinnamon-screensaver/files/cinnamon-screensaver-2.6.3-automagic-logind.patch b/gnome-extra/cinnamon-screensaver/files/cinnamon-screensaver-2.6.3-automagic-logind.patch new file mode 100644 index 000000000000..cc12685296cd --- /dev/null +++ b/gnome-extra/cinnamon-screensaver/files/cinnamon-screensaver-2.6.3-automagic-logind.patch @@ -0,0 +1,33 @@ +From b382066324d2c42c3d5d04fbb21cf144c79daff0 Mon Sep 17 00:00:00 2001 +From: Alexandre Rostovtsev <tetromino@gentoo.org> +Date: Sat, 13 Jun 2015 17:16:34 -0400 +Subject: [PATCH] Make logind check non-automagic + +--- + configure.ac | 10 +++++++++- + 1 file changed, 9 insertions(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index c6c424c..0eae195 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -581,7 +581,15 @@ dnl --------------------------------------------------------------------------- + dnl logind support + dnl --------------------------------------------------------------------------- + +-PKG_CHECK_MODULES(LOGIND, [libsystemd-login], [have_logind=yes], [have_logind=no]) ++AC_ARG_ENABLE([logind], ++ AS_HELP_STRING([--disable-logind], [Do not check for logind]), ++ [enable_logind=$enableval], ++ [enable_logind=auto]) ++ ++have_logind=no ++if test x$enable_logind != xno ; then ++ PKG_CHECK_MODULES(LOGIND, [libsystemd-login], [have_logind=yes], [have_logind=no]) ++fi + + if test x$have_logind = xyes ; then + AC_DEFINE(HAVE_LOGIND, 1, [logind support]) +-- +2.4.3 + diff --git a/gnome-extra/cinnamon-screensaver/metadata.xml b/gnome-extra/cinnamon-screensaver/metadata.xml new file mode 100644 index 000000000000..a5dc7d53ef2f --- /dev/null +++ b/gnome-extra/cinnamon-screensaver/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>gnome</herd> + <upstream> + <remote-id type="github">linuxmint/cinnamon-screensaver</remote-id> + </upstream> +</pkgmetadata> |