summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-plugins/vdr-solitaire
downloadgentoo-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 'media-plugins/vdr-solitaire')
-rw-r--r--media-plugins/vdr-solitaire/Manifest1
-rw-r--r--media-plugins/vdr-solitaire/files/vdr-solitaire-0.0.2-vdr-1.5.5.diff12
-rw-r--r--media-plugins/vdr-solitaire/files/vdr-solitaire-0.0.2.patch129
-rw-r--r--media-plugins/vdr-solitaire/metadata.xml10
-rw-r--r--media-plugins/vdr-solitaire/vdr-solitaire-0.0.3.ebuild36
5 files changed, 188 insertions, 0 deletions
diff --git a/media-plugins/vdr-solitaire/Manifest b/media-plugins/vdr-solitaire/Manifest
new file mode 100644
index 000000000000..8cdab6208d7f
--- /dev/null
+++ b/media-plugins/vdr-solitaire/Manifest
@@ -0,0 +1 @@
+DIST vdr-solitaire-0.0.3.tbz2 284862 SHA256 1b6714a5afb1b402cc968307bc6491c786521eb5b4db0bbd55458c31c1315ab7 SHA512 508d3d52d799defc7e2ca9ddbd4f91c89860d0146926a1ffe388651b922c8c9835fae2416fcbf13d171df12e493d8b4ed8d00660f5cfa8662c45f12a8d7d7729 WHIRLPOOL d5946299eb86fafefa26e65c5abdd7e4e97e2ea40c3ad7bae64430a3d0166da0ca250c6afd258ad991a816cd515c1de1554e9cd9873009636f1ef60972ded157
diff --git a/media-plugins/vdr-solitaire/files/vdr-solitaire-0.0.2-vdr-1.5.5.diff b/media-plugins/vdr-solitaire/files/vdr-solitaire-0.0.2-vdr-1.5.5.diff
new file mode 100644
index 000000000000..431e6d353fa6
--- /dev/null
+++ b/media-plugins/vdr-solitaire/files/vdr-solitaire-0.0.2-vdr-1.5.5.diff
@@ -0,0 +1,12 @@
+diff -ru solitaire-0.0.2-orig/tools/list.h solitaire-0.0.2/tools/list.h
+--- solitaire-0.0.2-orig/tools/list.h 2007-06-26 22:43:49.559179067 +0200
++++ solitaire-0.0.2/tools/list.h 2007-06-26 22:44:10.561050626 +0200
+@@ -523,7 +523,7 @@
+ return neu;
+ }
+
+-typedef class cTBList<cTBString> cStringList;
++// typedef class cTBList<cTBString> cStringList;
+ typedef class cTBList<void*> cPtrList;
+
+ // Special Overrides for String lists
diff --git a/media-plugins/vdr-solitaire/files/vdr-solitaire-0.0.2.patch b/media-plugins/vdr-solitaire/files/vdr-solitaire-0.0.2.patch
new file mode 100644
index 000000000000..83db65b01351
--- /dev/null
+++ b/media-plugins/vdr-solitaire/files/vdr-solitaire-0.0.2.patch
@@ -0,0 +1,129 @@
+diff -ruN solitaire-0.0.2.org/tools/list.h solitaire-0.0.2/tools/list.h
+--- solitaire-0.0.2.org/tools/list.h 2004-08-24 00:49:04.000000000 +0200
++++ solitaire-0.0.2/tools/list.h 2006-02-03 11:35:36.000000000 +0100
+@@ -90,22 +90,22 @@
+ T &SetNextCurrent ();
+ T &SetPrevCurrent ();
+
+- friend cTBList<T> &operator+= <> (cTBList<T> &list1, const cTBList<T> &list2);
+- friend cTBList<T> &operator+= <> (cTBList<T> &list, const T &element);
++// friend cTBList<T> &operator+= <> (cTBList<T> &list1, const cTBList<T> &list2);
++// friend cTBList<T> &operator+= <> (cTBList<T> &list, const T &element);
+
+- friend cTBList<T> operator+ <> (const cTBList<T> &list1, const cTBList<T> &list2);
+- friend cTBList<T> operator+ <> (const T &element, const cTBList<T> &list);
+- friend cTBList<T> operator+ <> (const cTBList<T> &list, const T &element);
++// friend cTBList<T> operator+ <> (const cTBList<T> &list1, const cTBList<T> &list2);
++// friend cTBList<T> operator+ <> (const T &element, const cTBList<T> &list);
++// friend cTBList<T> operator+ <> (const cTBList<T> &list, const T &element);
+
+ /*friend cSource &operator<< <> (cSource &dest, const cTBList<T> &list);
+- friend cSource &operator>> <> (cSource &dest, cTBList<T> &list);*/
++// friend cSource &operator>> <> (cSource &dest, cTBList<T> &list);*/
+ };
+
+ // Template Implementation (inline funcs)
+
+ template<class T>
+ inline int cTBList<T>::Find (const T & i) {
+- cTBList<T>::cItem *item = m_First;
++ typename cTBList<T>::cItem *item = m_First;
+ int index = 0;
+
+ while (item && (item->Data != i)) {
+@@ -203,7 +203,7 @@
+
+ template<class T>
+ typename cTBList<T>::cItem *cTBList<T>::NewItem (cTBList<T>::cItem *pBefore, cTBList<T>::cItem *pAfter) const {
+- cTBList<T>::cItem *item = new cTBList<T>::cItem;
++ typename cTBList<T>::cItem *item = new typename cTBList<T>::cItem;
+
+ item->Next = pAfter;
+ item->Prev = pBefore;
+@@ -235,7 +235,7 @@
+ if ((int)idx == m_CurPos)
+ return m_Current;
+
+- cTBList<T>::cItem *item;
++ typename cTBList<T>::cItem *item;
+ int dist = idx - m_CurPos;
+ bool direct;
+
+@@ -271,7 +271,7 @@
+
+ template<class T>
+ T &cTBList<T>::Prepend () {
+- cTBList<T>::cItem *item = NewItem(NULL, m_First);
++ typename cTBList<T>::cItem *item = NewItem(NULL, m_First);
+
+ m_First = m_Current = item;
+ if (!m_Last)
+@@ -285,7 +285,7 @@
+
+ template<class T>
+ T &cTBList<T>::Append () {
+- cTBList<T>::cItem *item = NewItem(m_Last, NULL);
++ typename cTBList<T>::cItem *item = NewItem(m_Last, NULL);
+
+ m_Last = m_Current = item;
+ if (!m_First)
+@@ -317,13 +317,13 @@
+ return true;
+ }
+
+- cTBList<T>::cItem *nextItem = Locate(idx);
++ typename cTBList<T>::cItem *nextItem = Locate(idx);
+ if (!nextItem)
+ return false;
+
+- cTBList<T>::cItem *prevItem = nextItem->Prev;
++ typename cTBList<T>::cItem *prevItem = nextItem->Prev;
+
+- cTBList<T>::cItem *item = NewItem(prevItem, nextItem);
++ typename cTBList<T>::cItem *item = NewItem(prevItem, nextItem);
+ item->Data = i;
+
+ m_CurPos = idx;
+@@ -338,7 +338,7 @@
+ if (!m_Current)
+ return NULL;
+
+- cTBList<T>::cItem *item = m_Current;
++ typename cTBList<T>::cItem *item = m_Current;
+ if (item == m_First) {
+ if (m_First = item->Next)
+ m_First->Prev = NULL;
+@@ -370,7 +370,7 @@
+ if (Find(i) == -1)
+ return false;
+
+- cTBList<T>::cItem *item = Unlink();
++ typename cTBList<T>::cItem *item = Unlink();
+ if (!item)
+ return false;
+
+@@ -383,7 +383,7 @@
+ if (!Locate(idx))
+ return false;
+
+- cTBList<T>::cItem *item = Unlink();
++ typename cTBList<T>::cItem *item = Unlink();
+ if (!item)
+ return false;
+
+@@ -412,13 +412,13 @@
+
+ template<class T>
+ void cTBList<T>::Clear () {
+- cTBList<T>::cItem *item = m_First;
++ typename cTBList<T>::cItem *item = m_First;
+
+ m_First = m_Last = m_Current = NULL;
+ m_Count = 0;
+ m_CurPos = -1;
+
+- cTBList<T>::cItem *Prev;
++ typename cTBList<T>::cItem *Prev;
+ while (item) {
+ Prev = item;
+ item = item->Next;
diff --git a/media-plugins/vdr-solitaire/metadata.xml b/media-plugins/vdr-solitaire/metadata.xml
new file mode 100644
index 000000000000..b9c00d0c96fd
--- /dev/null
+++ b/media-plugins/vdr-solitaire/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>media-tv</herd>
+ <maintainer>
+ <email>vdr@gentoo.org</email>
+ <name>Gentoo VDR Project</name>
+ </maintainer>
+</pkgmetadata>
+
diff --git a/media-plugins/vdr-solitaire/vdr-solitaire-0.0.3.ebuild b/media-plugins/vdr-solitaire/vdr-solitaire-0.0.3.ebuild
new file mode 100644
index 000000000000..67d036adb19e
--- /dev/null
+++ b/media-plugins/vdr-solitaire/vdr-solitaire-0.0.3.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit vdr-plugin-2
+
+DESCRIPTION="VDR Plugin: Solitaire game"
+HOMEPAGE="http://www.djdagobert.com/vdr/solitaire/index.html"
+SRC_URI="http://www.djdagobert.com/vdr/solitaire/${P}.tbz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+DEPEND=">=media-video/vdr-1.3.25"
+
+SOLITAIRE_DATA_DIR="/usr/share/vdr/solitaire"
+
+src_prepare() {
+ vdr-plugin-2_src_prepare
+
+ sed -i cards.c cursor.c \
+ -e 's#cPlugin::ConfigDirectory("solitaire")#"'${SOLITAIRE_DATA_DIR}'"#'
+
+ sed -i solitaire.c -e "s:RegisterI18n://RegisterI18n:"
+}
+
+src_install() {
+ vdr-plugin-2_src_install
+
+ insinto "${SOLITAIRE_DATA_DIR}"
+ doins "${S}"/solitaire/*.xpm
+}