summaryrefslogtreecommitdiff
path: root/x11-misc/bbcd
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-misc/bbcd
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-misc/bbcd')
-rw-r--r--x11-misc/bbcd/Manifest8
-rw-r--r--x11-misc/bbcd/bbcd-0.3.1-r2.ebuild28
-rw-r--r--x11-misc/bbcd/files/bbcd-0.3.1-gcc3.3.patch20
-rw-r--r--x11-misc/bbcd/files/bbcd-0.3.1-gcc4.3.patch11
-rw-r--r--x11-misc/bbcd/files/bbcd-0.3.1_0.3.1a.diff41
-rw-r--r--x11-misc/bbcd/metadata.xml8
6 files changed, 116 insertions, 0 deletions
diff --git a/x11-misc/bbcd/Manifest b/x11-misc/bbcd/Manifest
new file mode 100644
index 000000000000..4fed569ffc09
--- /dev/null
+++ b/x11-misc/bbcd/Manifest
@@ -0,0 +1,8 @@
+AUX bbcd-0.3.1-gcc3.3.patch 547 SHA256 961f8e8fba93080d102030575d9ede97e37a1e99d712a08a0aa79c8086d8a57a SHA512 ceb69249e5dabf300bffdd45af3edb25d69262368ec6b27c2493d294ddfdb834fa744f21627d274c1c081aa7814f9a0fdbae7a39e6d4f8ea8d31c21af66bc204 WHIRLPOOL 5a67108ec4200760805097b89bbc56037c8edb658da80c308eebcca141e57af5595cc62dbd7831cae1c44421db976d10d81c893d456a9b851cd5be61be2bb908
+AUX bbcd-0.3.1-gcc4.3.patch 254 SHA256 ef56df529ab3ea934ea8c79a84cb8881f56d6968a6ede4130c8f557e41d3a126 SHA512 8bee8daa0579736f5678f59023ebe54617106fbd53aa0b938ebcbae1b6d7b15e4798baf7e81ae4b3f84ffe36cd18789639ac13657110271d174039b9723fa737 WHIRLPOOL dded69c66c7249c7444e3398f333392bb8eab4e8a1b076b86634d299687c4584307e21e884a792f9dfc96d87c64eb2e8c7db98b9f9bd8e3985025859f47604e1
+AUX bbcd-0.3.1_0.3.1a.diff 1794 SHA256 db8e9e1c3bffa0863403b9a71860ebe526cc9d0dcf419a0efd00f8d9b16f0e55 SHA512 422ae54b3e18e3d9dfaa4adc28e8d0285d127cb28a175fce2772ef4d3577755e95c43bdd15e1000469da64dd9b6693cb2f11d92c5d261266cc791b9671cdfd82 WHIRLPOOL 561a3381fd068e10b5c9aefa6f1ac215cfa621d2f6fb314fa8340ebaf3e567f3a3c4d851ab9236d79bceedb919941cd659587f2074600b7368471b27102c6e25
+DIST bbcd-0.3.1.tar.gz 74853 SHA256 30a63b349d6eb6dd0018e5d76e8f1f97fdde60798f9dfec210662a47e65a8875 SHA512 817c41e8989d28fed45b3a797ffac193ce2060bae7d8793253a8f2812945b0f72e2f14ecd607329f769fc07773b678ca507a84c7f3b214fb5ac4afd62d77de7f WHIRLPOOL 388cd3a496fa6eb0e47dba8dd8576a7c598a1dd738dffdd0bd6c449ece99df7a4f9fb45e7320b9002f8344188f78a7a44cdb15669edd4cf397ff2f6cba263ba4
+EBUILD bbcd-0.3.1-r2.ebuild 583 SHA256 88e7fe25e5b8bbec682532665cc3f420081a1bb45b6ab923d5a8a9eee06e6e87 SHA512 6f0891892cca2bb9274f2f98890cd29915f148afc6d290e1f4976b7ade0701db9921bc1de89f5bba135dcd6190532404d3d5ad0368482a0b4ac39d143ca7b37f WHIRLPOOL 66c075ce74c55dc050ef7bddd8d3d399964704f474112f472798bd5e9b7c7cdbb8a47cbaff5b6ba8075a2dbaf3c78ebbf2eb1a18c8f0166df6e386af1010fc17
+MISC ChangeLog 2616 SHA256 a871e2eb79c677559a3881ea09b0ab2d4dd9722defd0118d8624ca79845b606f SHA512 93bb32fa98c9b99f9a4cffcabb87ba9ee0290acbbc796009b991914fa7fc1ae327473e6de8881948d0e209ba19c4b48f30b6ad0f6289c83bd4e931785748d3a4 WHIRLPOOL b6d0b05a2e9cb1f1e996087087b48248b64b4ef2a96c46a98d4afa54ee4c53d373a0ae1990eefb2f6c3b335f684f3b13aa802e03a0b6b27bcaea943621741e20
+MISC ChangeLog-2015 2116 SHA256 f4f15a861bfa099a5c17f24b56f621579437d4062dc2a30a3b1c1dc0f69f93d7 SHA512 fa4dcadf0c0deebf6ff1b8b702f936ac24124a7d5c8d04db3437a1b09055de237081212e76d621054729be1d841099e32b42a65873fc1d7c4de00d09ddedfd5f WHIRLPOOL 061011f319008538fa667a27cc28485693ce889f1a4b4bc0f969b537e7a7adf5c7331156cf7e67cba0af20f63695c5ae094b490963a2ba88ef6f309e8c4d680d
+MISC metadata.xml 241 SHA256 632199275d7215290f9d37dc68d0b998509dea07119609fba5d4486e6e313051 SHA512 fa9ab655c8afc6023086bbfbda56113653deee76679bff4f0edad7e86412a4dea3c943209426bee532ad0dfe0b5967aeefb121a8f45cc2f091fc79d429d7b71d WHIRLPOOL a24468e0f691b39d48effc8e2afedfa1a68e60eb0688b1ae2f3feab0b53d0e0d663d2a19d2397fc372b6a67fdc66ab7163e58b81eda1015ea2e4d75573b58ae5
diff --git a/x11-misc/bbcd/bbcd-0.3.1-r2.ebuild b/x11-misc/bbcd/bbcd-0.3.1-r2.ebuild
new file mode 100644
index 000000000000..6bfbcd066254
--- /dev/null
+++ b/x11-misc/bbcd/bbcd-0.3.1-r2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Basic CD Player for blackbox wm"
+HOMEPAGE="http://tranber1.free.fr/bbcd.html"
+SRC_URI="http://tranber1.free.fr/${P}.tar.gz"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64 ppc x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND="media-libs/libcdaudio
+ x11-libs/libX11"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${P}_${PV}a.diff
+ "${FILESDIR}"/${P}-gcc3.3.patch
+ "${FILESDIR}"/${P}-gcc4.3.patch
+)
+
+src_install() {
+ default
+ rm "${ED%/}"/usr/share/bbtools/README.bbcd || die
+}
diff --git a/x11-misc/bbcd/files/bbcd-0.3.1-gcc3.3.patch b/x11-misc/bbcd/files/bbcd-0.3.1-gcc3.3.patch
new file mode 100644
index 000000000000..906dabf616ca
--- /dev/null
+++ b/x11-misc/bbcd/files/bbcd-0.3.1-gcc3.3.patch
@@ -0,0 +1,20 @@
+--- bbcd-0.3.1/Color.cc.org 2003-12-07 14:55:51.791299707 +0100
++++ bbcd-0.3.1/Color.cc 2003-12-07 14:56:07.724194970 +0100
+@@ -32,6 +32,7 @@
+ //#include <stdio.h>
+ //}
+ #include <iostream>
++#include <assert.h>
+
+
+ BColor::ColorCache BColor::colorcache;
+--- bbcd-0.3.1/Texture.cc.org 2003-12-07 14:55:57.382507797 +0100
++++ bbcd-0.3.1/Texture.cc 2003-12-07 14:56:41.924228114 +0100
+@@ -37,6 +37,7 @@
+ #include "Texture.hh"
+ //#include "BaseDisplay.hh"
+ #include "Image.hh"
++#include <assert.h>
+ //#include "Screen.hh"
+ //#include "blackbox.hh"
+
diff --git a/x11-misc/bbcd/files/bbcd-0.3.1-gcc4.3.patch b/x11-misc/bbcd/files/bbcd-0.3.1-gcc4.3.patch
new file mode 100644
index 000000000000..90c2d4ab8d8e
--- /dev/null
+++ b/x11-misc/bbcd/files/bbcd-0.3.1-gcc4.3.patch
@@ -0,0 +1,11 @@
+Add header to be compatible with gcc-4.3 and glibc-2.8.
+--- bbcd-0.3.1/Image.cc
++++ bbcd-0.3.1/Image.cc
+@@ -29,6 +29,7 @@
+ //# include <stdio.h>
+ //#endif // HAVE_STDIO_H
+ #include <iostream>
++#include <cstring>
+
+ #include <algorithm>
+ using std::max;
diff --git a/x11-misc/bbcd/files/bbcd-0.3.1_0.3.1a.diff b/x11-misc/bbcd/files/bbcd-0.3.1_0.3.1a.diff
new file mode 100644
index 000000000000..75db91941727
--- /dev/null
+++ b/x11-misc/bbcd/files/bbcd-0.3.1_0.3.1a.diff
@@ -0,0 +1,41 @@
+diff -urN bbcd-0.3.1/CD_Ctrl.cc bbcd-0.3.2/CD_Ctrl.cc
+--- bbcd-0.3.1/CD_Ctrl.cc Sun Jun 23 18:35:27 2002
++++ bbcd-0.3.2/CD_Ctrl.cc Mon Feb 3 09:29:00 2003
+@@ -116,7 +116,7 @@
+ cd_resume(getCdFd());
+ return di.disc_current_track;
+ }
+- if(di.disc_mode == CDAUDIO_COMPLETED) {
++ if(di.disc_mode == CDAUDIO_COMPLETED || di.disc_mode == CDAUDIO_NOSTATUS) {
+ cd_play(getCdFd(), di.disc_first_track);
+ return di.disc_first_track;
+ }
+Binary files bbcd-0.3.1/test_cd_ctrl and bbcd-0.3.2/test_cd_ctrl differ
+diff -urN bbcd-0.3.1/test_cd_ctrl.cc bbcd-0.3.2/test_cd_ctrl.cc
+--- bbcd-0.3.1/test_cd_ctrl.cc Thu Jun 27 22:52:36 2002
++++ bbcd-0.3.2/test_cd_ctrl.cc Mon Feb 3 09:19:42 2003
+@@ -88,10 +88,20 @@
+
+ CD_Controler cd(deviceName);
+ if(info) {
+- std::cout << "Drive status: \n";
+- std::cout << "Disc present ? " << (cd.isDiscPresent()?"yes":"no") << "\n";
+- std::cout << "Is drive playing ? " << (cd.isPlaying()?"yes":"no") << "\n"
+- << "Is drive paused ? " << (cd.isPaused()?"yes":"no") << "\n";
++ std::cout << "Drive status: \n"
++ << "Disc present? " << (cd.isDiscPresent()?"yes":"no") << "\n"
++ << "Is drive playing? " << (cd.isPlaying()?"yes":"no") << "\n"
++ << "Is drive paused? " << (cd.isPaused()?"yes":"no") << "\n"
++ << "Audio status: ";
++ switch(cd.getAudioStatus()) {
++ case CD_Controler::Invalid: std::cout<<"Invalid"; break;
++ case CD_Controler::Play: std::cout<<"Play"; break;
++ case CD_Controler::Paused: std::cout<<"Paused"; break;
++ case CD_Controler::Completed: std::cout<<"Completed"; break;
++ case CD_Controler::Error: std::cout<<"Error"; break;
++ case CD_Controler::NoStatus: std::cout<<"No Status"; break;
++ }
++ std::cout<<std::endl;
+ }
+
+ if(pause) {
diff --git a/x11-misc/bbcd/metadata.xml b/x11-misc/bbcd/metadata.xml
new file mode 100644
index 000000000000..abca1b86fad6
--- /dev/null
+++ b/x11-misc/bbcd/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+<longdescription>
+ Basic CD Player app for Blackbox.
+ </longdescription>
+</pkgmetadata>