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-sound/audicle/files
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-sound/audicle/files')
-rw-r--r--media-sound/audicle/files/audicle-1.0.0.6-font.patch65
-rw-r--r--media-sound/audicle/files/audicle-1.0.0.7-const.patch12
-rw-r--r--media-sound/audicle/files/audicle-1.0.0.7-gcc43.patch68
-rw-r--r--media-sound/audicle/files/audicle-1.0.0.7-hid-smc.patch149
4 files changed, 294 insertions, 0 deletions
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
new file mode 100644
index 000000000000..9e2658df16c3
--- /dev/null
+++ b/media-sound/audicle/files/audicle-1.0.0.6-font.patch
@@ -0,0 +1,65 @@
+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
new file mode 100644
index 000000000000..38acbf2f2ede
--- /dev/null
+++ b/media-sound/audicle/files/audicle-1.0.0.7-const.patch
@@ -0,0 +1,12 @@
+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
new file mode 100644
index 000000000000..f6fc08e7da47
--- /dev/null
+++ b/media-sound/audicle/files/audicle-1.0.0.7-gcc43.patch
@@ -0,0 +1,68 @@
+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
new file mode 100644
index 000000000000..d362ed06423a
--- /dev/null
+++ b/media-sound/audicle/files/audicle-1.0.0.7-hid-smc.patch
@@ -0,0 +1,149 @@
+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