From c2b411c288637d2877aaa2785500fea235f6fd32 Mon Sep 17 00:00:00 2001 From: ng0 Date: Sun, 21 Aug 2016 02:17:27 +0000 Subject: gnu: Add freealut. * gnu/packages/audio.scm (freealut): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/audio.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu/packages/audio.scm') diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 67701a0f37..9f03368168 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -6,6 +6,7 @@ ;;; Copyright © 2015, 2016 Mark H Weaver ;;; Copyright © 2016 Efraim Flashner ;;; Copyright © 2016 Alex Griffin +;;; Copyright © 2016 ng0 ;;; ;;; This file is part of GNU Guix. ;;; @@ -1511,6 +1512,32 @@ buffers, and audio capture.") (home-page "http://kcat.strangesoft.net/openal.html") (license license:lgpl2.0+))) +(define-public freealut + (package + (name "freealut") + (version "1.1.0") + (source (origin + (method url-fetch) + ;; Upstream url is unclear, many systems use Fedora, there is also + ;; https://github.com/vancegroup/freealut though the status of it + ;; (official? unofficial?) is not clear. + (uri (string-append + "https://pkgs.fedoraproject.org/repo/pkgs/" name "/" name "-" + version ".tar.gz" "/e089b28a0267faabdb6c079ee173664a/" name + "-" version ".tar.gz")) + (sha256 + (base32 + "0kzlil6112x2429nw6mycmif8y6bxr2cwjcvp18vh6s7g63ymlb0")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f)) ; no check target + (inputs + `(("openal" ,openal))) + (synopsis "Free implementation of OpenAL's ALUT standard") + (description "freealut is the OpenAL Utility Toolkit.") + (home-page "http://kcat.strangesoft.net/openal.html") + (license license:lgpl2.0))) + (define-public patchage (package (name "patchage") -- cgit 1.4.1 From a232d2c6a81d19b2389efef549954111e20926e5 Mon Sep 17 00:00:00 2001 From: Erik Edrosa Date: Wed, 7 Sep 2016 21:00:00 -0400 Subject: gnu: openal: Update to 1.17.2. * gnu/packages/audio.scm (openal): Update to 1.17.2. Signed-off-by: Efraim Flashner --- gnu/packages/audio.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/audio.scm') diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 9f03368168..40cc029424 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -1468,7 +1468,7 @@ lv2-c++-tools.") (define-public openal (package (name "openal") - (version "1.15.1") + (version "1.17.2") (source (origin (method url-fetch) (uri (string-append @@ -1476,7 +1476,7 @@ lv2-c++-tools.") version ".tar.bz2")) (sha256 (base32 - "0mmhdqiyb3c9dzvxspm8h2v8jibhi8pfjxnf6m0wn744y1ia2a8f")))) + "051k5fy8pk4fd9ha3qaqcv08xwbks09xl5qs4ijqq2qz5xaghhd3")))) (build-system cmake-build-system) (arguments `(#:tests? #f ; no check target -- cgit 1.4.1 From 96262573a34f70291608c5ab1f3cff2a9d9b685e Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 9 Sep 2016 07:20:31 +0200 Subject: gnu: ardour: Update to 5.3. * gnu/packages/audio.scm (ardour): Update to 5.3. --- gnu/packages/audio.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu/packages/audio.scm') diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 40cc029424..cad6ad4d32 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -178,7 +178,7 @@ streams from live audio.") (define-public ardour (package (name "ardour") - (version "5.0") + (version "5.3") (source (origin (method git-fetch) (uri (git-reference @@ -192,10 +192,10 @@ streams from live audio.") "libs/ardour/revision.cc" (lambda (port) (format port "#include \"ardour/revision.h\" -namespace ARDOUR { const char* revision = \"5.0-10-g23d1d1f\" ; }")))) +namespace ARDOUR { const char* revision = \"5.3\" ; }")))) (sha256 (base32 - "0ihd6zxha1vvp4jy5s49pqyw09qxxjgrdlslrkz6ll59zdh6x7am")) + "0xdyc3syxg4drg7rafadhlrn6nycg169ay6q5xhga19kcwy6qmqm")) (file-name (string-append name "-" version)))) (build-system waf-build-system) (arguments -- cgit 1.4.1 From b5fc72ff571e05c52af38cd0b04aeae8a90ba5c4 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 9 Sep 2016 07:55:00 +0200 Subject: gnu: ardour: Do not contact ardour.org on start. * gnu/packages/audio.scm (ardour)[arguments]: Add configure flag "--no-phone-home". --- gnu/packages/audio.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gnu/packages/audio.scm') diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index cad6ad4d32..3070fc8f30 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -199,7 +199,8 @@ namespace ARDOUR { const char* revision = \"5.3\" ; }")))) (file-name (string-append name "-" version)))) (build-system waf-build-system) (arguments - `(#:configure-flags '("--cxx11") ; required by gtkmm + `(#:configure-flags '("--cxx11" ; required by gtkmm + "--no-phone-home") ; don't contact ardour.org #:phases (modify-phases %standard-phases (add-after -- cgit 1.4.1 From eb64bde158e7ddb2d3c4be9cf0633391a0415e99 Mon Sep 17 00:00:00 2001 From: Erik Edrosa Date: Thu, 8 Sep 2016 21:02:30 -0400 Subject: gnu: Add filteraudio. * gnu/packages/audio.scm (filteraudio): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/audio.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'gnu/packages/audio.scm') diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 3070fc8f30..d818216047 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -2484,3 +2484,35 @@ with support for HD extensions.") flavors EBU R128, ATSC A/85, and ReplayGain 2.0. It helps normalizing the loudness of audio and video files to the same level.") (license license:gpl2+))) + +(define-public filteraudio + (let ((revision "1") + (commit "2fc669581e2a0ff87fba8de85861b49133306094")) + (package + (name "filteraudio") + (version (string-append "0.0.0-" revision "." + (string-take commit 7))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/irungentoo/filter_audio.git") + (commit commit))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "0hbb290n3wb23f2k692a6bhc23nnqmxqi9sc9j15pnya8wifw64g")))) + (build-system gnu-build-system) + (arguments + '(#:make-flags (list (string-append "PREFIX=" %output) + "CC=gcc") + #:tests? #f ; No tests + #:phases + (modify-phases %standard-phases + ;; No configure script + (delete 'configure)))) + (synopsis "Lightweight audio filtering library") + (description "An easy to use audio filtering library made from webrtc +code, used in @code{libtoxcore}.") + (home-page "https://github.com/irungentoo/filter_audio") + (license license:bsd-3)))) -- cgit 1.4.1 From 204adc301785073bc07a936d4f3c494876f68449 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 26 Sep 2016 10:47:58 +0200 Subject: gnu: azr3: Fix libsigc++ build errors. * gnu/packages/audio.scm (azr3)[arguments]: Add "-std=gnu++11" flag. [source]: Add patch. * gnu/packages/patches/azr3.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. --- gnu/local.mk | 1 + gnu/packages/audio.scm | 5 +- gnu/packages/patches/azr3.patch | 151 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 156 insertions(+), 1 deletion(-) create mode 100644 gnu/packages/patches/azr3.patch (limited to 'gnu/packages/audio.scm') diff --git a/gnu/local.mk b/gnu/local.mk index 2f06ec46f6..c2cdf8b448 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -458,6 +458,7 @@ dist_patch_DATA = \ %D%/packages/patches/avahi-localstatedir.patch \ %D%/packages/patches/avidemux-install-to-lib.patch \ %D%/packages/patches/awesome-reproducible-png.patch \ + %D%/packages/patches/azr3.patch \ %D%/packages/patches/bash-completion-directories.patch \ %D%/packages/patches/bigloo-gc-shebangs.patch \ %D%/packages/patches/binutils-ld-new-dtags.patch \ diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index d818216047..9699a55030 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -266,12 +266,15 @@ engineers, musicians, soundtrack editors and composers.") ".tar.bz2")) (sha256 (base32 - "18mdw6nc0vgj6k9rsy0x8w64wvzld0frqshrxxbxfj9qi9843vlc")))) + "18mdw6nc0vgj6k9rsy0x8w64wvzld0frqshrxxbxfj9qi9843vlc")) + (patches (search-patches "azr3.patch")))) (build-system gnu-build-system) (arguments `(#:tests? #f ; no check target #:make-flags (list "LV2PEG=ttl2c" + "CXXFLAGS=-std=gnu++11" + "CFLAGS=-std=gnu++11" (string-append "prefix=" %output) (string-append "pkgdatadir=" %output "/share/azr3-jack")))) (inputs diff --git a/gnu/packages/patches/azr3.patch b/gnu/packages/patches/azr3.patch new file mode 100644 index 0000000000..5849383c5b --- /dev/null +++ b/gnu/packages/patches/azr3.patch @@ -0,0 +1,151 @@ +This patch adds the "sigc" and "std" namespace prefixes where needed. It also +replaces a double single-argument "bind" with a single two-argument "bind", +because the former would confuse the compiler. + +The patch has been sent to the developer on 2016-09-26. + +--- azr3-jack-1.2.3/azr3/knob.cpp 2016-09-26 10:29:27.653375902 +0200 ++++ azr3-jack-1.2.3/azr3/knob.cpp 2016-09-26 10:29:38.693430647 +0200 +@@ -44,7 +44,7 @@ + set_size_request(44, 44); + add_events(EXPOSURE_MASK | BUTTON1_MOTION_MASK | + BUTTON_PRESS_MASK | SCROLL_MASK); +- m_adj.signal_value_changed().connect(mem_fun(*this, &Knob::queue_draw)); ++ m_adj.signal_value_changed().connect(sigc::mem_fun(*this, &Knob::queue_draw)); + } + + +--- azr3-jack-1.2.3/azr3/drawbar.cpp 2016-09-26 10:27:40.632845216 +0200 ++++ azr3-jack-1.2.3/azr3/drawbar.cpp 2016-09-26 10:27:48.952886473 +0200 +@@ -37,7 +37,7 @@ + set_size_request(22, 150); + add_events(EXPOSURE_MASK | BUTTON1_MOTION_MASK | + BUTTON_PRESS_MASK | SCROLL_MASK); +- m_adj.signal_value_changed().connect(mem_fun(*this, &Drawbar::queue_draw)); ++ m_adj.signal_value_changed().connect(sigc::mem_fun(*this, &Drawbar::queue_draw)); + } + + +--- azr3-jack-1.2.3/azr3/switch.cpp 2016-09-26 10:28:48.169180111 +0200 ++++ azr3-jack-1.2.3/azr3/switch.cpp 2016-09-26 10:28:55.713217520 +0200 +@@ -49,7 +49,7 @@ + } + set_size_request(m_width, m_height); + add_events(EXPOSURE_MASK | BUTTON_PRESS_MASK | SCROLL_MASK); +- m_adj.signal_value_changed().connect(mem_fun(*this, &Switch::queue_draw)); ++ m_adj.signal_value_changed().connect(sigc::mem_fun(*this, &Switch::queue_draw)); + } + + +--- azr3-jack-1.2.3/azr3/azr3gui.cpp 2016-09-26 09:05:10.106963561 +0200 ++++ azr3-jack-1.2.3/azr3/azr3gui.cpp 2016-09-26 10:26:47.480581648 +0200 +@@ -73,19 +73,19 @@ + m_tbox = add_textbox(m_fbox, pixmap, 391, 19, 3, 140, 39); + m_tbox->add_events(SCROLL_MASK); + m_tbox->signal_scroll_display. +- connect(mem_fun(*this, &AZR3GUI::display_scroll)); ++ connect(sigc::mem_fun(*this, &AZR3GUI::display_scroll)); + m_splitpoint_adj = new Adjustment(0, 0, 1); + m_adj[n_splitpoint] = m_splitpoint_adj; + m_splitpoint_adj->signal_value_changed(). +- connect(mem_fun(*this, &AZR3GUI::splitpoint_changed)); ++ connect(sigc::mem_fun(*this, &AZR3GUI::splitpoint_changed)); + Menu* menu = create_menu(); + m_tbox->signal_button_press_event(). +- connect(bind(mem_fun(*this, &AZR3GUI::popup_menu), menu)); ++ connect(sigc::bind(sigc::mem_fun(*this, &AZR3GUI::popup_menu), menu)); + + // keyboard split switch + m_splitswitch = add_switch(m_fbox, -1, 537, 49, Switch::Mini); + m_splitswitch->get_adjustment().signal_value_changed(). +- connect(mem_fun(*this, &AZR3GUI::splitbox_clicked)); ++ connect(sigc::mem_fun(*this, &AZR3GUI::splitbox_clicked)); + + // upper knobs + add_switch(m_fbox, n_mono, 61, 105, Switch::Mini); +@@ -141,8 +141,8 @@ + // mode switcher + Widget* eb = add_clickbox(m_fbox, 14, 319, 14, 44); + eb->signal_button_press_event(). +- connect(sigc::hide(bind(bind(mem_fun(*this, &AZR3GUI::change_mode), +- ref(m_fbox)), false))); ++ connect(sigc::hide(sigc::bind(sigc::mem_fun(*this, &AZR3GUI::change_mode), ++ false, std::ref(m_fbox)))); + m_fx_widgets.push_back(eb); + + // Mr Valve controls +@@ -182,8 +182,8 @@ + // mode switcher 2 + Widget* eb2 = add_clickbox(m_vbox, 14, 53, 14, 44); + eb2->signal_button_press_event(). +- connect(sigc::hide(bind(bind(mem_fun(*this, &AZR3GUI::change_mode), +- ref(m_fbox)), true))); ++ connect(sigc::hide(sigc::bind(sigc::mem_fun(*this, &AZR3GUI::change_mode), ++ true, std::ref(m_fbox)))); + + // vibrato controls + add_switch(m_vbox, n_1_vibrato, 39, 17, Switch::Green); +@@ -352,9 +352,9 @@ + knob->set_style(s); + if (port >= 0 && port < m_adj.size()) { + knob->get_adjustment().signal_value_changed(). +- connect(compose(bind<0>(mem_fun(*this, &AZR3GUI::control_changed), port), +- mem_fun(knob->get_adjustment(), +- &Adjustment::get_value))); ++ connect(compose(sigc::bind<0>(sigc::mem_fun(*this, &AZR3GUI::control_changed), port), ++ sigc::mem_fun(knob->get_adjustment(), ++ &Adjustment::get_value))); + assert(m_adj[port] == 0); + m_adj[port] = &knob->get_adjustment(); + } +@@ -382,8 +382,8 @@ + db->set_style(s); + if (port >= 0 && port < m_adj.size()) { + db->get_adjustment().signal_value_changed(). +- connect(compose(bind<0>(mem_fun(*this, &AZR3GUI::control_changed), port), +- mem_fun(db->get_adjustment(), &Adjustment::get_value))); ++ connect(compose(sigc::bind<0>(sigc::mem_fun(*this, &AZR3GUI::control_changed), port), ++ sigc::mem_fun(db->get_adjustment(), &Adjustment::get_value))); + assert(m_adj[port] == 0); + m_adj[port] = &db->get_adjustment(); + } +@@ -397,8 +397,8 @@ + fbox.put(*sw, xoffset, yoffset); + if (port >= 0 && port < m_adj.size()) { + sw->get_adjustment().signal_value_changed(). +- connect(compose(bind<0>(mem_fun(*this, &AZR3GUI::control_changed),port), +- mem_fun(sw->get_adjustment(), &Adjustment::get_value))); ++ connect(compose(sigc::bind<0>(sigc::mem_fun(*this, &AZR3GUI::control_changed),port), ++ sigc::mem_fun(sw->get_adjustment(), &Adjustment::get_value))); + assert(m_adj[port] == 0); + m_adj[port] = &sw->get_adjustment(); + } +@@ -489,7 +489,7 @@ + oss<first<<' '<second.substr(0, 23); + MenuItem* item = manage(new MenuItem(oss.str())); + item->signal_activate(). +- connect(bind(mem_fun(*this, &AZR3GUI::program_changed), iter->first)); ++ connect(sigc::bind(sigc::mem_fun(*this, &AZR3GUI::program_changed), iter->first)); + m_program_menu->items().push_back(*item); + item->show(); + item->get_child()->modify_bg(STATE_NORMAL, m_menu_bg); +@@ -503,8 +503,8 @@ + for (int i = 0; i < 128; ++i) { + MenuItem* item = manage(new MenuItem(note2str(i))); + item->signal_activate(). +- connect(bind(mem_fun(*m_splitpoint_adj, &Adjustment::set_value), +- i / 128.0)); ++ connect(sigc::bind(sigc::mem_fun(*m_splitpoint_adj, &Adjustment::set_value), ++ i / 128.0)); + m_split_menu->items().push_back(*item); + item->show(); + item->get_child()->modify_bg(STATE_NORMAL, m_menu_bg); +@@ -533,7 +533,7 @@ + + MenuItem* save_item = manage(new MenuItem("Save program")); + save_item->signal_activate(). +- connect(mem_fun(*this, &AZR3GUI::save_program)); ++ connect(sigc::mem_fun(*this, &AZR3GUI::save_program)); + save_item->show(); + save_item->get_child()->modify_fg(STATE_NORMAL, m_menu_bg); + save_item->get_child()->modify_fg(STATE_NORMAL, m_menu_fg); -- cgit 1.4.1 From 9a4c032cc448ca77e41cad1455b2b3e53e04d1c6 Mon Sep 17 00:00:00 2001 From: Lukas Gradl Date: Tue, 9 Aug 2016 16:43:36 -0500 Subject: gnu: Add gsm. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/audio.scm (gsm): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/audio.scm | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) (limited to 'gnu/packages/audio.scm') diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 9699a55030..ed1a8f62d7 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -7,6 +7,7 @@ ;;; Copyright © 2016 Efraim Flashner ;;; Copyright © 2016 Alex Griffin ;;; Copyright © 2016 ng0 +;;; Copyright © 2016 Lukas Gradl ;;; ;;; This file is part of GNU Guix. ;;; @@ -2519,3 +2520,48 @@ loudness of audio and video files to the same level.") code, used in @code{libtoxcore}.") (home-page "https://github.com/irungentoo/filter_audio") (license license:bsd-3)))) + +(define-public gsm + (package + (name "gsm") + (version "1.0.14") + (source + (origin + (method url-fetch) + (uri + (string-append "http://www.quut.com/" name "/" name + "-" version ".tar.gz")) + (sha256 + (base32 + "0b1mx69jq88wva3wk0hi6fcl5a52qhnq2f9p3f3jdh5k61ma252q")))) + (build-system gnu-build-system) + (arguments + `(#:test-target "tst" + #:phases + (modify-phases %standard-phases + (add-before 'install 'pre-install + (lambda _ + (let ((out (assoc-ref %outputs "out"))) + (substitute* "Makefile" + (("INSTALL_ROOT\t=") + (string-append "INSTALL_ROOT\t=\t" out))) + (mkdir-p (string-append out "/inc")) + (mkdir-p (string-append out "/man")) + (mkdir-p (string-append out "/man/man1")) + (mkdir-p (string-append out "/man/man3")) + (mkdir-p (string-append out "/bin")) + (mkdir-p (string-append out "/lib"))))) + (add-after 'install 'post-install + (lambda _ + (let ((out (assoc-ref %outputs "out"))) + (rename-file (string-append out "/inc") + (string-append out "/include")) + (mkdir-p (string-append out "/include/gsm")) + (copy-recursively "inc" + (string-append out "/include/gsm"))))) + (delete 'configure)))) + (synopsis "GSM 06.10 lossy speech compression library") + (description "This C library provides an encoder and a decoder for the GSM +06.10 RPE-LTP lossy speech compression algorithm.") + (home-page "http://quut.com/gsm/") + (license (license:non-copyleft "file://COPYRIGHT")))) -- cgit 1.4.1