pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/audio/din



Module Name:    pkgsrc
Committed By:   fox
Date:           Sun Jan 19 21:32:47 UTC 2025

Modified Files:
        pkgsrc/audio/din: Makefile PLIST distinfo
        pkgsrc/audio/din/patches: patch-src_Makefile.am
Added Files:
        pkgsrc/audio/din/patches: patch-src_RtMidi.h

Log Message:
audio/din: Update to 59

Changes since 58.1:

DIN Is Noise 59:
  /*
    track phrase position while scrubbing
      Menu > Voice > Track
        default is off
  *\

  /*
    record multiple mouse phrases on the phrasor:
      press f to record a phrase. move mouse.
        press f again to stop recording and start playing
      press f to record another phrase. din appends this phrase to existing phrase.
        press f again to stop recording and start playing from the start
      press g to clear all phrases
  *\

  /*

    Gater is now called Beater in preparation for the new beat engine in DIN (still WIP
    as of 59)

    edit beat pattern in beat pattern editor
      press 5 from microtonal-keyboard or Menu > Editors > Beater
    new beat patterns in the library
    use 9 and 0 keys to go thru beat patterns

    in the beat pattern editor:

      press F3 to halve current BPM
      press F4 to double current BPM
      press F5 to shift key up an octave
      press F6 to shift key down an octave

    on the microtonal keyboard:

      press F3 to halve current BPM
      press F4 to double current BPM

  *\

  in a curve editor:

    /*

      increase/decrease size of tangent of a curve

      click+pick a tangent of a curve and press f or Menu > Tools > Size tangent
      and just mouse up and down to size tangent

    *\

    /*

      pin / unpin vertices & tangents of a curve in a curve editor

      choose Menu > Tools > Pin / Unpin
      and click+pick a vertex or tangent. ESC to stop.

      or click-pick a vertex or tangent and press p to pin/unpin. click to stop.

      why pin?

        pinned vertices and tangents dont rotate when curve rotates.
        pinned tangents dont move when their vertex moves

          try it on shapeforms!
          watch fft!

    *\

    /*
        press ' to draw/hide snapping guides or Menu > Tools > Draw
        press g to draw/hide cursor or Menu > Tools > Draw cursor
        press u to restore view too on undo/redo or Menu > Tools > View too
    *\

  /* press SHIFT when clicking into a text/value field to clear its contents *\

  /* timestamps on log file at start and shutdown of program *\

  * changes to default parameters in binaural drones instrument
    * start pitch is 128 Hz
    * justification is left
    * scale notes at C D G B when C = 128 hz (if A = 432 Hz)

  * default tuning is pythagoras for all instruments
    * tuning is global ie applies to all instruments

  * Menu > Tools > Fold tangents with Selection only ON, folds just the selected tangent
    and if you select a vertex folds both its tangents

  * improved delay lines
  * optimised handling of parameter spinners in UI *

  * boxes not filled by default in Mondrian

  :( mouse returns to last position on all screens :)
  :( bug asked user to select drones when no drones were selected and drone volume change was attempted :)
  :( fixed bug not saving inner, letter and word spacing curves on morse code module :)
  :( fixed fold tangents only folding tangents of the selected vertex then stopping, instead of offering
     to fold other tangents until canceled by user :)


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 pkgsrc/audio/din/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/audio/din/PLIST
cvs rdiff -u -r1.34 -r1.35 pkgsrc/audio/din/distinfo
cvs rdiff -u -r1.16 -r1.17 pkgsrc/audio/din/patches/patch-src_Makefile.am
cvs rdiff -u -r0 -r1.1 pkgsrc/audio/din/patches/patch-src_RtMidi.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/audio/din/Makefile
diff -u pkgsrc/audio/din/Makefile:1.53 pkgsrc/audio/din/Makefile:1.54
--- pkgsrc/audio/din/Makefile:1.53      Mon Jan  6 21:49:01 2025
+++ pkgsrc/audio/din/Makefile   Sun Jan 19 21:32:46 2025
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.53 2025/01/06 21:49:01 ktnb Exp $
+# $NetBSD: Makefile,v 1.54 2025/01/19 21:32:46 fox Exp $
 
-DISTNAME=      din-58.1
-PKGREVISION=   3
+DISTNAME=      din-59
 CATEGORIES=    audio
-MASTER_SITES=  https://archive.org/download/dinisnoise_source_code/
+MASTER_SITES=  https://dinisnoise.org/files/
 
 MAINTAINER=    fox%NetBSD.org@localhost
 HOMEPAGE=      https://dinisnoise.org/

Index: pkgsrc/audio/din/PLIST
diff -u pkgsrc/audio/din/PLIST:1.12 pkgsrc/audio/din/PLIST:1.13
--- pkgsrc/audio/din/PLIST:1.12 Wed Nov  8 16:49:02 2023
+++ pkgsrc/audio/din/PLIST      Sun Jan 19 21:32:46 2025
@@ -1,9 +1,10 @@
-@comment $NetBSD: PLIST,v 1.12 2023/11/08 16:49:02 bacon Exp $
+@comment $NetBSD: PLIST,v 1.13 2025/01/19 21:32:46 fox Exp $
 bin/din
 share/applications/din.desktop
 share/din/factory/2600
 share/din/factory/2600.help.tcl
 share/din/factory/2600.patch.tcl
+share/din/factory/CDGB
 share/din/factory/Makefile.am
 share/din/factory/Sine_Mixer
 share/din/factory/all_notes
@@ -12,7 +13,6 @@ share/din/factory/attack.crv
 share/din/factory/attack.ed
 share/din/factory/attack.lib
 share/din/factory/audio_prefs
-share/din/factory/bd.ins
 share/din/factory/binaural-drone.help.tcl
 share/din/factory/binaural-drones-waveform.crv
 share/din/factory/binaural-drones-waveform.ed
@@ -359,8 +359,6 @@ share/din/factory/get-selection.help.tcl
 share/din/factory/get-style.help.tcl
 share/din/factory/get-var.help.tcl
 share/din/factory/globals
-share/din/factory/gravmod.crv
-share/din/factory/gravmod.ed
 share/din/factory/harmonics
 share/din/factory/harmonics.help.tcl
 share/din/factory/harmonics.patch.tcl
@@ -371,7 +369,6 @@ share/din/factory/inner.crv
 share/din/factory/inner_space.crv
 share/din/factory/jag.fnt
 share/din/factory/just-intonation.tuning
-share/din/factory/kbkb.ins
 share/din/factory/key.help.tcl
 share/din/factory/keyboard-keyboard-waveform.crv
 share/din/factory/keyboard-keyboard-waveform.ed
@@ -384,13 +381,11 @@ share/din/factory/list-audio.help.tcl
 share/din/factory/list-patches.help.tcl
 share/din/factory/load-patch.help.tcl
 share/din/factory/load-scale.help.tcl
-share/din/factory/major-chord
 share/din/factory/make-interval-note-vars.tcl
 share/din/factory/microtonal-keyboard-waveform.crv
 share/din/factory/microtonal-keyboard-waveform.ed
 share/din/factory/midimap.help.tcl
 share/din/factory/midimap.patch.tcl
-share/din/factory/mkb.ins
 share/din/factory/modulation.ed
 share/din/factory/modv.crv
 share/din/factory/modv.ed

Index: pkgsrc/audio/din/distinfo
diff -u pkgsrc/audio/din/distinfo:1.34 pkgsrc/audio/din/distinfo:1.35
--- pkgsrc/audio/din/distinfo:1.34      Sun Feb 18 01:00:04 2024
+++ pkgsrc/audio/din/distinfo   Sun Jan 19 21:32:46 2025
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.34 2024/02/18 01:00:04 fox Exp $
+$NetBSD: distinfo,v 1.35 2025/01/19 21:32:46 fox Exp $
 
-BLAKE2s (din-58.1.tar.gz) = 1776667a034fb175228b6e45c1381963f0e763fa8409572698cbef8574a38bf8
-SHA512 (din-58.1.tar.gz) = ee2d63309347167af3b4e41a0ad3ce1faad727a4e079cd9e63d402b680144aed81dbee9d38bc517acbb30a1c9af18b726841d0c94d96cbfb2b1581da98af21c1
-Size (din-58.1.tar.gz) = 3689591 bytes
-SHA1 (patch-src_Makefile.am) = 81bc3100ab2de28185f6232735b7f088598cb58f
+BLAKE2s (din-59.tar.gz) = 042e906419251fbd971049ee6ef28d0fe87d2f1ff7e10da0e02a0fc69570f006
+SHA512 (din-59.tar.gz) = c56d23382a933ff8fa3e1f6c5238aef8059bcb757a56ea6f12db249a7ffcf320f67e88ad9582a859d9132d806397d76a5f79bc17a5faf8eb16d6eff52b7b94b6
+Size (din-59.tar.gz) = 3700930 bytes
+SHA1 (patch-src_Makefile.am) = 6b96e6766c283d5e47a0906f9f7099ffe24a2c80
 SHA1 (patch-src_Makefile.in) = 3135bd8315cfdd65e7d885fc80f4baa89b7d94dc
+SHA1 (patch-src_RtMidi.h) = 5852cd213e647b55b0dcd05bb15debf2ae998772

Index: pkgsrc/audio/din/patches/patch-src_Makefile.am
diff -u pkgsrc/audio/din/patches/patch-src_Makefile.am:1.16 pkgsrc/audio/din/patches/patch-src_Makefile.am:1.17
--- pkgsrc/audio/din/patches/patch-src_Makefile.am:1.16 Sun Feb 18 01:00:05 2024
+++ pkgsrc/audio/din/patches/patch-src_Makefile.am      Sun Jan 19 21:32:47 2025
@@ -1,16 +1,16 @@
-$NetBSD: patch-src_Makefile.am,v 1.16 2024/02/18 01:00:05 fox Exp $
+$NetBSD: patch-src_Makefile.am,v 1.17 2025/01/19 21:32:47 fox Exp $
 
 Removed tcl8.6, asound and jack flags, this is now handled in the pkgsrc
 script.
 
---- src/Makefile.am.orig       2024-01-12 06:34:36.000000000 +0000
+--- src/Makefile.am.orig       2024-09-15 12:03:12.000000000 +0000
 +++ src/Makefile.am
 @@ -1,7 +1,7 @@
  #dinincludedir = $(pkgsrcdir)
  
--AM_CXXFLAGS = -I /usr/include/tcl8.6 -Wall -D_THREAD_SAFE -DHAVE_OPENGL -D__LICENSED__ -D__SVG__ -D__GPL20__ -DPREFIX=\"@prefix@\"
+-AM_CXXFLAGS = -I /usr/include/tcl8.6 -Wall -D_THREAD_SAFE -DHAVE_OPENGL -D__LICENSED__ -D__SVG__ -D__GPL20__ -DPREFIX=\"@prefix@\" 
 -LIBS +=  -ltcl8.6 -lSDL -lGL -lpthread -lasound
-+AM_CXXFLAGS = -Wall -D_THREAD_SAFE -DHAVE_OPENGL -D__LICENSED__ -D__SVG__ -D__GPL20__ -DPREFIX=\"@prefix@\"
++AM_CXXFLAGS = -Wall -D_THREAD_SAFE -DHAVE_OPENGL -D__LICENSED__ -D__SVG__ -D__GPL20__ -DPREFIX=\"@prefix@\" 
 +LIBS +=  @LIBS@
  
  bin_PROGRAMS = din

Added files:

Index: pkgsrc/audio/din/patches/patch-src_RtMidi.h
diff -u /dev/null pkgsrc/audio/din/patches/patch-src_RtMidi.h:1.1
--- /dev/null   Sun Jan 19 21:32:47 2025
+++ pkgsrc/audio/din/patches/patch-src_RtMidi.h Sun Jan 19 21:32:47 2025
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_RtMidi.h,v 1.1 2025/01/19 21:32:47 fox Exp $
+
+pthread_yield() is not in NetBSD's pthread. Provide sched_yield() instead.
+
+--- src/RtMidi.h.orig  2024-08-05 22:04:30.000000000 +0000
++++ src/RtMidi.h
+@@ -65,6 +65,10 @@
+ #include <string>
+ #include <vector>
+ 
++#if defined __NetBSD__ 
++#include <sched.h>
++#define pthread_yield()       sched_yield()
++#endif
+ 
+ /************************************************************************/
+ /*! \class RtMidiError



Home | Main Index | Thread Index | Old Index