commit:     6fcffc4c12ddf115dba4ed297ed0f87f87887a5e
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Sat Sep  4 06:54:56 2021 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Sat Sep  4 07:01:51 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fcffc4c

media-sound/audicle: Remove last-rited package

Closes: https://bugs.gentoo.org/740308
Closes: https://bugs.gentoo.org/789816
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 media-sound/audicle/Manifest                       |   1 -
 media-sound/audicle/audicle-1.0.0.7-r2.ebuild      |  99 --------------
 .../audicle/files/audicle-1.0.0.6-font.patch       |  65 ---------
 .../audicle/files/audicle-1.0.0.7-const.patch      |  12 --
 .../audicle/files/audicle-1.0.0.7-gcc43.patch      |  68 ----------
 .../audicle/files/audicle-1.0.0.7-hid-smc.patch    | 149 ---------------------
 media-sound/audicle/metadata.xml                   |  10 --
 profiles/package.mask                              |   1 -
 8 files changed, 405 deletions(-)

diff --git a/media-sound/audicle/Manifest b/media-sound/audicle/Manifest
deleted file mode 100644
index c42d3a9f490..00000000000
--- a/media-sound/audicle/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST audicle-1.0.0.7.tgz 5561088 BLAKE2B 
7056880aa6b902e15e7722d9532736b8d513c6e9135b2b5afb839783e3df83f4e1f29f8c73b0f652d920029f6eb12dd7af1a699cb487b9ad0f76229f6ebd6fae
 SHA512 
c96506620e22e1f7846288cb4f34dc7efe59e14d845425673524d0a89712ea7d3dabed546eb921220e021d4e8526937990a4f5764fbf2bb90339b993f6703772

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 7ea60ba2f27..00000000000
--- 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 9e2658df16c..00000000000
--- 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 38acbf2f2ed..00000000000
--- 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 f6fc08e7da4..00000000000
--- 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 d362ed06423..00000000000
--- 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 69313e7770a..00000000000
--- 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>

diff --git a/profiles/package.mask b/profiles/package.mask
index 975c1dff2c5..a99e34b277c 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -187,7 +187,6 @@ sci-biology/wgs-assembler
 # bug #740308, bug #789816. Removal on 2021-09-05.
 app-eselect/eselect-audicle
 app-eselect/eselect-miniaudicle
-media-sound/audicle
 
 # David Seifert <s...@gentoo.org> (2021-08-04)
 # Last release over 4 years ago, upstream pretty much dead, the

Reply via email to