diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-09-10 04:21:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-09-10 04:21:55 +0100 |
commit | 677b7ba5c317778df2ad7e70df94b9b7eec4adbc (patch) | |
tree | 6c418a1546fff5becab5d8b9ed6803323e7f316e /media-sound/audicle | |
parent | fbda87924e6faa7a1919f1a2b4182490bde5ec5c (diff) |
gentoo resync : 10.09.2021
Diffstat (limited to 'media-sound/audicle')
-rw-r--r-- | media-sound/audicle/Manifest | 7 | ||||
-rw-r--r-- | media-sound/audicle/audicle-1.0.0.7-r2.ebuild | 99 | ||||
-rw-r--r-- | media-sound/audicle/files/audicle-1.0.0.6-font.patch | 65 | ||||
-rw-r--r-- | media-sound/audicle/files/audicle-1.0.0.7-const.patch | 12 | ||||
-rw-r--r-- | media-sound/audicle/files/audicle-1.0.0.7-gcc43.patch | 68 | ||||
-rw-r--r-- | media-sound/audicle/files/audicle-1.0.0.7-hid-smc.patch | 149 | ||||
-rw-r--r-- | media-sound/audicle/metadata.xml | 10 |
7 files changed, 0 insertions, 410 deletions
diff --git a/media-sound/audicle/Manifest b/media-sound/audicle/Manifest deleted file mode 100644 index 55961f82d4d9..000000000000 --- a/media-sound/audicle/Manifest +++ /dev/null @@ -1,7 +0,0 @@ -AUX audicle-1.0.0.6-font.patch 2862 BLAKE2B e22a130850bc10ab14bd101a581d936629742113b1c4e727a87066f0179e6739f74ac5a8f9349f588bd25fa697330488575d3d1943246d7039123b8dba474b01 SHA512 4cb763b5b38c5e3768d8da38129bdd6fd281c818adfa1ec7e28fcec1c1352d0d677408f3f79ee96ee64ace40e49722b8f2f9c12e3cac9206e0afd72949a95d31 -AUX audicle-1.0.0.7-const.patch 455 BLAKE2B b030468b23e5a05b2a79c72be9f44e61a31c7cc15ec3fdee9878f8d584c208f0f4e23680034ec722ace8e1e9544462623e3c60d8f90ebe1f5971f6ff7e2ae5e4 SHA512 203e760a772f4283e5add18883091d819935226a0fa82a56bc79ff585a2450d08067fee0b3a4a4b6421f393c707d41d342966c5dc72527fb59cb877c1041079f -AUX audicle-1.0.0.7-gcc43.patch 2777 BLAKE2B 5b0be13a8a91de81ccc0c3bc54978b43bbeeba187493890ec9192f03259bd9d8b3b2e215a8c781c662cf9bcbb815f71ffdbe98b234eb62bc66c138e9017a7f98 SHA512 e9858e7c7cea35d8f5af5c4c8ca22c80c030eb14bd8798cb617b86bc55067413d3875c9cc30700c2a3aa86a5439dd60708a266acd41195280e744affa89503cf -AUX audicle-1.0.0.7-hid-smc.patch 3181 BLAKE2B bfdaf969b98c77449a46f79a7f20be976028821f7136413838cb05dcf7fc33d98d4d822c0202e8f631670b802060191e52a8115354b53480c64833b6b7efd215 SHA512 8092d8de0fb6aea240e38c98a45218c002e78af0b1d7b285bca8d9d81ae77a76b15b0db57aaf42c70a65fd52c8ced89c0e31b22213654ba52ac3105f2a764ff5 -DIST audicle-1.0.0.7.tgz 5561088 BLAKE2B 7056880aa6b902e15e7722d9532736b8d513c6e9135b2b5afb839783e3df83f4e1f29f8c73b0f652d920029f6eb12dd7af1a699cb487b9ad0f76229f6ebd6fae SHA512 c96506620e22e1f7846288cb4f34dc7efe59e14d845425673524d0a89712ea7d3dabed546eb921220e021d4e8526937990a4f5764fbf2bb90339b993f6703772 -EBUILD audicle-1.0.0.7-r2.ebuild 2395 BLAKE2B 92c0e6881575eafdf168e26d593a8aff46f53f2ae97d7c615ae58f87c6165bd6cc10ee4962b6062b5f90d20abffc714bf682df5ab8a799ea31c6aba5b618d423 SHA512 eda677f65129704a09fb5e8f7f4a0812f1fcaacdc13310cfbca60a3fd29b54cbc3c8895a18dfdb8ca21b9ebfffca8902c41b43bab3b3cc9da2888af355f6532f -MISC metadata.xml 386 BLAKE2B 77bb79297d16b8580b574e44a07ec2b8d5ec323528e804aef9e35f7274731e2e46976661b3089fd8d526491984f9564d3dd528564c8559e027b26d2fe3ba3bff SHA512 df4591da51216c3a5b15ef353db9b5666b7e5e4082f3e8214a596a9ab7a344c5e64178c437fe2d15b9f8b5eb1ace88e6ed800595f3b94ebb17c972fe91bed414 diff --git a/media-sound/audicle/audicle-1.0.0.7-r2.ebuild b/media-sound/audicle/audicle-1.0.0.7-r2.ebuild deleted file mode 100644 index 7ea60ba2f27f..000000000000 --- a/media-sound/audicle/audicle-1.0.0.7-r2.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs flag-o-matic - -DESCRIPTION="A Context-sensitive, On-the-fly Audio Programming Environ/mentality" -HOMEPAGE="http://audicle.cs.princeton.edu/" -SRC_URI="http://audicle.cs.princeton.edu/release/files/${P}.tgz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+alsa jack oss truetype" - -BDEPEND=" - sys-devel/bison - sys-devel/flex - virtual/pkgconfig -" -DEPEND=" - app-eselect/eselect-audicle - media-libs/freeglut - media-libs/libsndfile - virtual/opengl - virtual/glu - x11-libs/gtk+:2 - alsa? ( >=media-libs/alsa-lib-0.9 ) - jack? ( virtual/jack ) - truetype? ( - media-fonts/corefonts - media-libs/ftgl - ) -" -rDEPEND="${DEPEND}" - -REQUIRED_USE="|| ( alsa jack oss )" - -DOCS=( AUTHORS PROGRAMMER README THANKS TODO VERSIONS ) - -PATCHES=( - "${FILESDIR}/${PN}-1.0.0.6-font.patch" - "${FILESDIR}/${P}-hid-smc.patch" - "${FILESDIR}/${P}-gcc43.patch" - "${FILESDIR}/${P}-const.patch" -) - -src_prepare() { - default - - sed -i \ - -e 's@../ftgl_lib/FTGL/include@/usr/include/FTGL@' \ - -e 's@../ftgl_lib/FTGL/mac/build@/usr/lib@' \ - -e 's/gcc -o/$(CC) -o/' \ - -e 's/-O3 -c/-c $(CFLAGS)/' \ - -e 's/$(LIBS)/$(LDFLAGS) $(LIBS)/' \ - src/makefile.{alsa,jack,oss} || die "sed failed" -} - -compile_backend() { - local backend="$1" - local config - use truetype && config="USE_FREETYPE_LIBS=1" - einfo "Compiling against ${backend}" - cd "${S}/src" - emake -f "makefile.${backend}" CC="$(tc-getCC)" CXX="$(tc-getCXX)" LEX=flex \ - YACC=bison ${config} - mv audicle{,-${backend}} - emake -f makefile clean -} - -src_compile() { - # when compile with athlon or athlon-xp flags - # audicle crashes on removing a shred with a double free or corruption - # it happens in Chuck_VM_Stack::shutdown() on the line - # SAFE_DELETE_ARRAY( stack ); - replace-cpu-flags athlon athlon-xp i686 - - use jack && compile_backend jack - use alsa && compile_backend alsa - use oss && compile_backend oss -} - -src_install() { - use jack && dobin src/audicle-jack - use alsa && dobin src/audicle-alsa - use oss && dobin src/audicle-oss - dodoc ${DOCS[@]} -} - -pkg_postinst() { - elog "Audicle now can use many audio engines, so you can specify audio engine" - elog "with audicle-{jack,alsa,oss}" - elog "Or you can use 'eselect audicle' to set the audio engine" - - einfo "Calling eselect audicle update..." - eselect audicle update --if-unset -} diff --git a/media-sound/audicle/files/audicle-1.0.0.6-font.patch b/media-sound/audicle/files/audicle-1.0.0.6-font.patch deleted file mode 100644 index 9e2658df16c3..000000000000 --- a/media-sound/audicle/files/audicle-1.0.0.6-font.patch +++ /dev/null @@ -1,65 +0,0 @@ -diff -ru audicle-1.0.0.6~/src/audicle_font.cpp audicle-1.0.0.6/src/audicle_font.cpp ---- audicle-1.0.0.6~/src/audicle_font.cpp 2008-03-30 00:29:37.000000000 +0100 -+++ audicle-1.0.0.6/src/audicle_font.cpp 2008-03-30 01:04:46.000000000 +0100 -@@ -201,13 +201,13 @@ - #ifdef __PLATFORM_WIN32__ - char fontpath[] = "C:\\WINDOWS\\FONTS\\"; - #else --char fontpath[] = "/define/this/directory/"; -+char fontpath[] = "/usr/share/fonts/corefonts/"; - - #endif - #endif - --char kernedfontfile[] = "FTGL:verdana.TTF"; --char monospacedfontfile[] = "FTGL:LUCON.TTF"; -+char kernedfontfile[] = "FTGL:verdana.ttf"; -+char monospacedfontfile[] = "FTGL:couri.ttf"; - - - class AudicleFTGLFont : public AudicleFont { -@@ -301,13 +301,11 @@ - #endif - - // we should do a directory scan here... -- AudicleFont::available_fonts().push_back( "FTGL:ARIAL.TTF" ); -- AudicleFont::available_fonts().push_back( "FTGL:ARIBLK.TTF" ); -- AudicleFont::available_fonts().push_back( "FTGL:BYTE.TTF" ); -- AudicleFont::available_fonts().push_back( "FTGL:COUR.TTF" ); -- AudicleFont::available_fonts().push_back( "FTGL:LUCON.TTF" ); -- AudicleFont::available_fonts().push_back( "FTGL:TIMES.TTF" ); -- AudicleFont::available_fonts().push_back( "FTGL:verdana.TTF" ); -+ AudicleFont::available_fonts().push_back( "FTGL:arial.ttf" ); -+ AudicleFont::available_fonts().push_back( "FTGL:ariblk.ttf" ); -+ AudicleFont::available_fonts().push_back( "FTGL:cour.ttf" ); -+ AudicleFont::available_fonts().push_back( "FTGL:times.ttf" ); -+ AudicleFont::available_fonts().push_back( "FTGL:verdana.ttf" ); - - }; - -diff -ru audicle-1.0.0.6~/src/audicle_ui_base.cpp audicle-1.0.0.6/src/audicle_ui_base.cpp ---- audicle-1.0.0.6~/src/audicle_ui_base.cpp 2008-03-30 00:29:37.000000000 +0100 -+++ audicle-1.0.0.6/src/audicle_ui_base.cpp 2008-03-30 00:30:32.000000000 +0100 -@@ -47,8 +47,8 @@ - void init_UI_Fonts() { - if ( _ui_fonts_inited ) return; - #ifdef _USE_FTGL_FONTS_ -- labelFont = AudicleFont::loadFont ( "FTGL:verdana.TTF" ); -- labelFontMono = AudicleFont::loadFont ( "FTGL:LUCON.TTF" ); -+ labelFont = AudicleFont::loadFont ( "FTGL:verdana.ttf" ); -+ labelFontMono = AudicleFont::loadFont ( "FTGL:couri.ttf" ); - #else - labelFont = AudicleFont::loadFont ( "OpenGL:variable" ); - labelFontMono = AudicleFont::loadFont ( "OpenGL:variable" ); -diff -ru audicle-1.0.0.6~/src/audicle_ui_editor.cpp audicle-1.0.0.6/src/audicle_ui_editor.cpp ---- audicle-1.0.0.6~/src/audicle_ui_editor.cpp 2008-03-30 00:29:37.000000000 +0100 -+++ audicle-1.0.0.6/src/audicle_ui_editor.cpp 2008-03-30 00:30:32.000000000 +0100 -@@ -46,7 +46,7 @@ - - void init_Buffer_Font() { - #ifdef _USE_FTGL_FONTS_ -- bufferFont = AudicleFont::loadFont ( "FTGL:LUCON.TTF" ); -+ bufferFont = AudicleFont::loadFont ( "FTGL:couri.ttf" ); - #else - bufferFont = AudicleFont::loadFont ( "OpenGL:mono" ); - #endif diff --git a/media-sound/audicle/files/audicle-1.0.0.7-const.patch b/media-sound/audicle/files/audicle-1.0.0.7-const.patch deleted file mode 100644 index 38acbf2f2ede..000000000000 --- a/media-sound/audicle/files/audicle-1.0.0.7-const.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -ru audicle-1.0.0.7.orig//src/audicle_font.cpp audicle-1.0.0.7/src/audicle_font.cpp ---- audicle-1.0.0.7.orig//src/audicle_font.cpp 2012-03-17 10:23:39.000000000 +0100 -+++ audicle-1.0.0.7/src/audicle_font.cpp 2012-03-17 10:49:24.000000000 +0100 -@@ -215,7 +215,7 @@ - protected : - FTFont * m_font; - public: -- AudicleFTGLFont( char * name ) { -+ AudicleFTGLFont( const char * name ) { - - glEnable ( GL_TEXTURE_2D ); - diff --git a/media-sound/audicle/files/audicle-1.0.0.7-gcc43.patch b/media-sound/audicle/files/audicle-1.0.0.7-gcc43.patch deleted file mode 100644 index f6fc08e7da47..000000000000 --- a/media-sound/audicle/files/audicle-1.0.0.7-gcc43.patch +++ /dev/null @@ -1,68 +0,0 @@ -diff -ru audicle-1.0.0.7.orig//lang/chuck-1.2.1.3/src/chuck_vm.cpp audicle-1.0.0.7/lang/chuck-1.2.1.3/src/chuck_vm.cpp ---- audicle-1.0.0.7.orig//lang/chuck-1.2.1.3/src/chuck_vm.cpp 2012-03-17 10:23:39.000000000 +0100 -+++ audicle-1.0.0.7/lang/chuck-1.2.1.3/src/chuck_vm.cpp 2012-03-17 10:27:23.000000000 +0100 -@@ -48,6 +48,7 @@ - #else - #include <unistd.h> - #include <pthread.h> -+ #include <algorithm> - #endif - - -Only in audicle-1.0.0.7/lang/chuck-1.2.1.3/src: chuck_vm.cpp.orig -Only in audicle-1.0.0.7/lang/chuck-1.2.1.3/src: rtaudio.cpp.orig -Only in audicle-1.0.0.7/lang/chuck-1.2.1.3/src: rtaudio.cpp.rej -Only in audicle-1.0.0.7/lang/chuck-1.2.1.3/src: ugen_stk.cpp.orig -Only in audicle-1.0.0.7/lang/chuck-1.2.1.3/src: ugen_stk.cpp.rej -Only in audicle-1.0.0.7/lang/chuck-1.2.1.3/src: ugen_xxx.cpp.orig -Only in audicle-1.0.0.7/lang/chuck-1.2.1.3/src: ugen_xxx.cpp.rej -diff -ru audicle-1.0.0.7.orig//lang/chuck-1.2.1.3/src/util_hid.cpp audicle-1.0.0.7/lang/chuck-1.2.1.3/src/util_hid.cpp ---- audicle-1.0.0.7.orig//lang/chuck-1.2.1.3/src/util_hid.cpp 2012-03-17 10:23:39.000000000 +0100 -+++ audicle-1.0.0.7/lang/chuck-1.2.1.3/src/util_hid.cpp 2012-03-17 10:27:23.000000000 +0100 -@@ -38,6 +38,7 @@ - #include <limits.h> - #include <vector> - #include <map> -+#include <climits> - - using namespace std; - -Only in audicle-1.0.0.7/lang/chuck-1.2.1.3/src: util_hid.cpp.orig -diff -ru audicle-1.0.0.7.orig//lang/chuck-1.2.1.3/src/util_opsc.cpp audicle-1.0.0.7/lang/chuck-1.2.1.3/src/util_opsc.cpp ---- audicle-1.0.0.7.orig//lang/chuck-1.2.1.3/src/util_opsc.cpp 2012-03-17 10:23:39.000000000 +0100 -+++ audicle-1.0.0.7/lang/chuck-1.2.1.3/src/util_opsc.cpp 2012-03-17 10:27:23.000000000 +0100 -@@ -57,6 +57,7 @@ - #include <netinet/tcp.h> - #include <arpa/inet.h> - #include <netdb.h> -+#include <algorithm> - #endif - - #if defined(__MACOSX_CORE__) -Only in audicle-1.0.0.7/lang/chuck-1.2.1.3/src: util_opsc.cpp.orig -diff -ru audicle-1.0.0.7.orig//lang/chuck-1.2.1.3/src/util_string.h audicle-1.0.0.7/lang/chuck-1.2.1.3/src/util_string.h ---- audicle-1.0.0.7.orig//lang/chuck-1.2.1.3/src/util_string.h 2012-03-17 10:23:39.000000000 +0100 -+++ audicle-1.0.0.7/lang/chuck-1.2.1.3/src/util_string.h 2012-03-17 10:27:23.000000000 +0100 -@@ -36,6 +36,7 @@ - #include "chuck_def.h" - #include <string> - #include <vector> -+#include <cstdio> - - - // itoa -diff -ru audicle-1.0.0.7.orig//src/audicle_def.h audicle-1.0.0.7/src/audicle_def.h ---- audicle-1.0.0.7.orig//src/audicle_def.h 2012-03-17 10:23:39.000000000 +0100 -+++ audicle-1.0.0.7/src/audicle_def.h 2012-03-17 10:28:40.000000000 +0100 -@@ -39,8 +39,9 @@ - - #include "chuck_def.h" - --#include <stdio.h> --#include <math.h> -+#include <cstdio> -+#include <cmath> -+#include <algorithm> - #include <assert.h> - #ifndef __PLATFORM_WIN32__ - #include <unistd.h> diff --git a/media-sound/audicle/files/audicle-1.0.0.7-hid-smc.patch b/media-sound/audicle/files/audicle-1.0.0.7-hid-smc.patch deleted file mode 100644 index d362ed06423a..000000000000 --- a/media-sound/audicle/files/audicle-1.0.0.7-hid-smc.patch +++ /dev/null @@ -1,149 +0,0 @@ -diff -ru audicle-1.0.0.7.orig//lang/chuck-1.2.1.3/src/util_hid.cpp audicle-1.0.0.7/lang/chuck-1.2.1.3/src/util_hid.cpp ---- audicle-1.0.0.7.orig//lang/chuck-1.2.1.3/src/util_hid.cpp 2012-03-17 10:23:39.000000000 +0100 -+++ audicle-1.0.0.7/lang/chuck-1.2.1.3/src/util_hid.cpp 2012-03-17 10:25:03.000000000 +0100 -@@ -7392,14 +7392,139 @@ - int WiiRemote_send( const HidMsg * msg ){ return -1; } - const char * WiiRemote_name( int wr ){ return NULL; } - -+#define SYSFS_TILTSENSOR_FILE "/sys/devices/platform/applesmc/position" -+#define TILTSENSOR_BUF_LEN 32 -+ -+static struct t_TiltSensor_data -+{ -+ union -+ { -+ struct t_macbook -+ { -+ int x; -+ int y; -+ int z; -+ } macbook; -+ } data; -+ int dataType; -+ int detected; -+ int refcount; -+ -+ t_TiltSensor_data() -+ { -+ refcount = 0; -+ dataType = -1; -+ detected = 0; -+ } -+ -+} TiltSensor_data; -+enum -+{ -+ linuxAppleSMCMacBookDataType -+}; -+static int TiltSensor_detect() -+{ -+ int fd; -+ -+ fd = open(SYSFS_TILTSENSOR_FILE, O_RDONLY); -+ -+ if (fd > 0) -+ { -+ TiltSensor_data.dataType = linuxAppleSMCMacBookDataType; -+ TiltSensor_data.detected = 1; -+ close(fd); -+ return 1; -+ } -+ -+ TiltSensor_data.detected = -1; -+ -+ return 0; -+} -+ -+static int TiltSensor_do_read() -+{ -+ -+ switch(TiltSensor_data.dataType) -+ { -+ case linuxAppleSMCMacBookDataType: -+ char buf[TILTSENSOR_BUF_LEN]; -+ int ret, fd; -+ fd = open(SYSFS_TILTSENSOR_FILE, O_RDONLY); -+ -+ if (fd < 0) { -+ return -1; -+ } -+ ret = read(fd, buf, TILTSENSOR_BUF_LEN); -+ if (ret < 0) { -+ close(fd); -+ return -1; -+ } -+ if (sscanf(buf, "(%d,%d,%d)\n", &TiltSensor_data.data.macbook.x, &TiltSensor_data.data.macbook.y, &TiltSensor_data.data.macbook.z) != 3) { -+ close(fd); -+ return -1; -+ } -+ close(fd); -+ break; -+ default: -+ return 0; -+ } -+ return 1; -+} - void TiltSensor_init(){} - void TiltSensor_quit(){} - void TiltSensor_probe(){} --int TiltSensor_count(){ return 0; } --int TiltSensor_open( int ts ){ return -1; } --int TiltSensor_close( int ts ){ return -1; } --int TiltSensor_read( int ts, int type, int num, HidMsg * msg ){ return -1; } --const char * TiltSensor_name( int ts ){ return NULL; } -+int TiltSensor_count() -+{ -+ if(TiltSensor_data.detected == 0) -+ TiltSensor_detect(); -+ -+ if(TiltSensor_data.detected == -1) -+ return 0; -+ else if(TiltSensor_data.detected == 1) -+ return 1; -+ -+ return 0; -+} -+int TiltSensor_open( int ts ) -+{ -+ if(TiltSensor_data.detected == 0) -+ TiltSensor_detect(); -+ -+ if(TiltSensor_data.detected == -1) -+ return -1; -+ -+ TiltSensor_data.refcount++; -+ -+ return 0; -+} -+int TiltSensor_close( int ts ) -+{ -+ TiltSensor_data.refcount--; -+ -+ return 0; -+} -+int TiltSensor_read( int ts, int type, int num, HidMsg * msg ) -+{ -+ -+ if(TiltSensor_data.detected == -1) -+ return -1; -+ -+ if(!TiltSensor_do_read()) -+ return -1; -+ -+ if(TiltSensor_data.dataType == linuxAppleSMCMacBookDataType) -+ { -+ msg->idata[0] = TiltSensor_data.data.macbook.x; -+ msg->idata[1] = TiltSensor_data.data.macbook.y; -+ msg->idata[2] = TiltSensor_data.data.macbook.z; -+ } -+ -+ return 0; -+} -+const char * TiltSensor_name( int ts ) -+{ -+ return "Apple Sudden Motion Sensor"; -+} - - - #endif -Only in audicle-1.0.0.7/lang/chuck-1.2.1.3/src: util_hid.cpp.orig diff --git a/media-sound/audicle/metadata.xml b/media-sound/audicle/metadata.xml deleted file mode 100644 index 69313e7770a3..000000000000 --- a/media-sound/audicle/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <!-- maintainer-needed --> - <longdescription lang="en"> - a potentially new type of audio programming environment that integrates - the programmability of the development environment with elements of the - runtime environment - </longdescription> -</pkgmetadata> |