Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Juuso Alasuutari (b544b7d060ea653e4f982747d8881a9bd614a54f)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Juuso Alasuutari <scm AT mail.sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Juuso Alasuutari (b544b7d060ea653e4f982747d8881a9bd614a54f)
  • Date: Sat, 24 Mar 2007 07:24:36 -0500

GIT changes to master grimoire by Juuso Alasuutari <iuso AT sourcemage.org>:

ChangeLog | 3 +++
audio-creation/xsynth/BUILD | 1 +
audio-creation/xsynth/CONFIGURE | 3 +++
audio-creation/xsynth/DEPENDS | 10 ++++++++++
audio-creation/xsynth/DETAILS | 17 +++++++++++++++++
audio-creation/xsynth/HISTORY | 2 ++
audio-creation/xsynth/INSTALL | 5 +++++
audio-creation/xsynth/PRE_BUILD | 28 ++++++++++++++++++++++++++++
8 files changed, 69 insertions(+)

New commits:
commit 925b69c19b7061c0c182a2f15d228b92087eb8bd
Author: Juuso Alasuutari <iuso AT sourcemage.org>
Commit: Juuso Alasuutari <iuso AT sourcemage.org>

xsynth: new spell, software synthesizer. this baby is ancient linux audio
history! :)

diff --git a/ChangeLog b/ChangeLog
index 8e577dd..2aed52c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2007-03-24 Juuso Alasuutari <iuso AT sourcemage.org>
+ * audio-creation/xsynth: New spell, software synthesizer.
+
2007-03-24 Andraž "ruskie" Levstik <ruskie AT mages.ath.cx>
* mail/managesieve: added new spell, managesieve ruby script and ruby
lib

diff --git a/audio-creation/xsynth/BUILD b/audio-creation/xsynth/BUILD
new file mode 100755
index 0000000..8f58e6d
--- /dev/null
+++ b/audio-creation/xsynth/BUILD
@@ -0,0 +1 @@
+make
diff --git a/audio-creation/xsynth/CONFIGURE b/audio-creation/xsynth/CONFIGURE
new file mode 100755
index 0000000..129bc6b
--- /dev/null
+++ b/audio-creation/xsynth/CONFIGURE
@@ -0,0 +1,3 @@
+config_query_string XSYNTH_RATE \
+ "What sample rate to use?" \
+ 44100
diff --git a/audio-creation/xsynth/DEPENDS b/audio-creation/xsynth/DEPENDS
new file mode 100755
index 0000000..cce3960
--- /dev/null
+++ b/audio-creation/xsynth/DEPENDS
@@ -0,0 +1,10 @@
+depends X11-LIBS &&
+
+. "$GRIMOIRE/FUNCTIONS" &&
+
+if check_if_xorg_modular_libs
+then
+ depends libx11 &&
+ depends libxau &&
+ depends libxdmcp
+fi
diff --git a/audio-creation/xsynth/DETAILS b/audio-creation/xsynth/DETAILS
new file mode 100755
index 0000000..78b1e49
--- /dev/null
+++ b/audio-creation/xsynth/DETAILS
@@ -0,0 +1,17 @@
+ SPELL=xsynth
+ VERSION=1.0.2
+ SOURCE=$SPELL-$VERSION.tar.gz
+ SOURCE_URL[0]=http://www.ibiblio.org/pub/Linux/apps/sound/misc/$SOURCE
+
SOURCE_HASH=sha512:ab988a88e71896b6a36eb38108f9ce9f5af98265022301a618d1ee70bd76fb736106365fdb6af0c17c1fec67d3499a32b1870a7d2852fd24fe693bbf126710f2
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+ WEB_SITE=http://www.ibiblio.org/pub/Linux/apps/sound/misc/
+ ENTERED=20070324
+ LICENSE[0]=GPL
+ KEYWORDS="editors audio"
+ SHORT="A real-time software synthesizer."
+cat << EOF
+Xsynth is a real-time software synthesizer for any computer running Linux,
+the Open Sound System, and X windows. The program also requires that the
+computer be equipped with a sound-card, and a MIDI keyboard is required to
+play the synthesizer.
+EOF
diff --git a/audio-creation/xsynth/HISTORY b/audio-creation/xsynth/HISTORY
new file mode 100644
index 0000000..1329ce2
--- /dev/null
+++ b/audio-creation/xsynth/HISTORY
@@ -0,0 +1,2 @@
+2007-03-24 Juuso Alasuutari <iuso AT sourcemage.org>
+ * DETAILS, CONFIGURE, DEPENDS, PRE_BUILD, BUILD, INSTALL: Created
spell.
diff --git a/audio-creation/xsynth/INSTALL b/audio-creation/xsynth/INSTALL
new file mode 100755
index 0000000..b144bac
--- /dev/null
+++ b/audio-creation/xsynth/INSTALL
@@ -0,0 +1,5 @@
+cp xsynth "$INSTALL_ROOT/usr/bin/" &&
+
+mkdir -p "$INSTALL_ROOT/usr/share/xsynth/" &&
+
+cp *.Xpatch "$INSTALL_ROOT/usr/share/xsynth/"
diff --git a/audio-creation/xsynth/PRE_BUILD b/audio-creation/xsynth/PRE_BUILD
new file mode 100755
index 0000000..7fc2472
--- /dev/null
+++ b/audio-creation/xsynth/PRE_BUILD
@@ -0,0 +1,28 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+# fix X11 lib path
+if check_if_xorg_modular_libs
+then
+ sed -i "s|/usr/X11R6|\"$INSTALL_ROOT/usr\"|" \
+ Makefile
+else
+ sed -i "s|/usr|\"$INSTALL_ROOT/usr\"|" \
+ Makefile
+fi &&
+
+# fix broken linking
+sed -i "s|-lm|-lm -ldl -lpthread -lXau -lXdmcp|" Makefile &&
+
+# insert own compiler flags
+sed -i "s|-m486 -O3 -ffast-math -fforce-mem -fomit-frame-pointer|$CFLAGS|"
\
+ Makefile
&&
+
+# fix M_PI usage
+sed -i "s|PI|M_PI|g" *.c &&
+
+# define custom sample rate
+if (( XSYNTH_RATE > 0 && XSYNTH_RATE != 44100 ))
+then
+ sed -i "s|44100|$XSYNTH_RATE|" synth.h
+fi



  • [SM-Commit] GIT changes to master grimoire by Juuso Alasuutari (b544b7d060ea653e4f982747d8881a9bd614a54f), Juuso Alasuutari, 03/24/2007

Archive powered by MHonArc 2.6.24.

Top of Page