Package: denemo
Version: 2.0.6-1
Severity: normal
Tags: patch

Dear Maintainer,

A fresh install of denemo was not playing sounds because it was
expecting the soundfonts to be located in /usr/share/denemo/soundfonts.
With the attached patch the problem is solved changing the soundfont
path to /usr/share/sounds/sf2. I hope it can be useful.

Regards,


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.5.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=es_VE.utf8, LC_CTYPE=es_VE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages denemo depends on:
ii  denemo-data             2.0.6-1
ii  guile-2.0-libs          2.0.11+1-10+b1
ii  libasound2              1.1.0-1
ii  libatk1.0-0             2.20.0-1
ii  libaubio4               0.4.1-2.1+b1
ii  libc6                   2.22-7
ii  libcairo-gobject2       1.14.6-1+b1
ii  libcairo2               1.14.6-1+b1
ii  libevdocument3-4        3.20.0-3
ii  libevview3-3            3.20.0-3
ii  libfftw3-double3        3.3.4-2+b1
ii  libfluidsynth1          1.1.6-3
ii  libfontconfig1          2.11.0-6.4
ii  libfreetype6            2.6.3-3+b1
ii  libgc1c2                1:7.4.2-7.4
ii  libgdk-pixbuf2.0-0      2.34.0-1
ii  libglib2.0-0            2.48.0-1
ii  libgtk-3-0              3.20.3-2
ii  libgtksourceview-3.0-1  3.20.2-1
ii  libpango-1.0-0          1.40.1-1
ii  libpangocairo-1.0-0     1.40.1-1
ii  libportaudio2           19+svn20140130-1
ii  libportmidi0            1:184-2.2
ii  librsvg2-2              2.40.15-1
ii  librubberband2          1.8.1-6+b1
ii  libsmf0                 1.3-2+b1
ii  libsndfile1             1.0.25-10
ii  libxml2                 2.9.3+dfsg1-1
ii  ttf-denemo              2.0.6-1

Versions of packages denemo recommends:
pn  alsa        <none>
ii  denemo-doc  2.0.6-1
ii  lilypond    2.18.2-4.1

denemo suggests no packages.

-- no debconf information

-- 
Dhionel Díaz
Centro Nacional de Desarrollo e Investigación en Tecnologías Libres
Ministerio del Poder Popular para
Educación Universitaria, Ciencia y Tecnología
diff -Nru denemo-2.0.6/debian/patches/0008-Change-soundfont-path.patch denemo-2.0.6/debian/patches/0008-Change-soundfont-path.patch
--- denemo-2.0.6/debian/patches/0008-Change-soundfont-path.patch	1969-12-31 20:00:00.000000000 -0400
+++ denemo-2.0.6/debian/patches/0008-Change-soundfont-path.patch	2016-05-10 09:30:55.000000000 -0400
@@ -0,0 +1,32 @@
+Description: Change soundfonts path
+Change the path where denemo looks for the soundfonts to
+the typical location in Debian.
+Author: Dhionel Díaz <dd...@cenditel.gob.ve>
+Last-Update: 2016-05-10
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/include/denemo/denemo.h
++++ b/include/denemo/denemo.h
+@@ -132,7 +132,7 @@
+ 
+ #define COMMANDS_DIR   "actions"
+ #define UI_DIR         "ui"
+-#define SOUNDFONTS_DIR "soundfonts"
++#define SOUNDFONTS_DIR "sf2"
+ #define PIXMAPS_DIR    "pixmaps"
+ #define FONTS_DIR      "denemo"
+ #define LOCALE_DIR     "po"
+--- a/src/core/utils.c
++++ b/src/core/utils.c
+@@ -2815,9 +2815,10 @@
+   {
+     case DENEMO_DIR_FONTS:
+       return g_build_filename("/usr/share/fonts/truetype/", get_local_dir(dir), NULL);
++    case DENEMO_DIR_SOUNDFONTS:
++      return g_build_filename("/usr/share/sounds/", get_local_dir(dir), NULL);
+     case DENEMO_DIR_COMMANDS:
+     case DENEMO_DIR_UI:
+-    case DENEMO_DIR_SOUNDFONTS:
+     case DENEMO_DIR_LILYPOND_INCLUDE:
+       return g_build_filename(get_system_data_dir (), get_local_dir(dir), NULL);
+     case DENEMO_DIR_PIXMAPS:
diff -Nru denemo-2.0.6/debian/patches/series denemo-2.0.6/debian/patches/series
--- denemo-2.0.6/debian/patches/series	2016-04-15 14:42:53.000000000 -0430
+++ denemo-2.0.6/debian/patches/series	2016-05-10 09:30:55.000000000 -0400
@@ -5,3 +5,4 @@
 0005-Change-zoom-for-testing-to-100.patch
 0006-Fix-italian-translation.patch
 0007-Install-soundfont-into-correct-directory.patch
+0008-Change-soundfont-path.patch

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to