ALT Linux Bugzilla
– Attachment 7526 Details for
Bug 34609
В pnmixer по кнопке Микшер, микшер не появляется
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Добавляет микшер alsamixer
added_alsamixer.diff (text/plain), 1.29 KB, created by
Антон Мидюков
on 2018-05-01 05:19:37 MSK
(
hide
)
Description:
Добавляет микшер alsamixer
Filename:
MIME Type:
Creator:
Антон Мидюков
Created:
2018-05-01 05:19:37 MSK
Size:
1.29 KB
patch
obsolete
>diff --git a/added-alsamixer.patch b/added-alsamixer.patch >new file mode 100644 >index 0000000..608c38a >--- /dev/null >+++ b/added-alsamixer.patch >@@ -0,0 +1,23 @@ >+diff --git a/src/prefs.c b/src/prefs.c >+index e608d8f..41e421c 100644 >+--- a/src/prefs.c >++++ b/src/prefs.c >+@@ -61,6 +61,7 @@ static const gchar *vol_control_commands[] = { >+ "gnome-alsamixer", >+ "xfce4-mixer", >+ "alsamixergui", >++ "alsamixer", >+ NULL >+ }; >+ >+@@ -185,7 +186,9 @@ prefs_get_string(const gchar *key, const gchar *def) >+ */ >+ if (!g_strcmp0(key, "VolumeControlCommand")) { >+ const gchar *cmd = find_vol_control_command(); >+- if (cmd) >++ if (cmd == "alsamixer") >++ return g_strdup("xterm -e alsamixer"); >++ else if (cmd) >+ return g_strdup(cmd); >+ } >+ >diff --git a/pnmixer.spec b/pnmixer.spec >index d2d88f1..c07e906 100644 >--- a/pnmixer.spec >+++ b/pnmixer.spec >@@ -11,6 +11,9 @@ Url: https://github.com/nicklan/pnmixer > Source: %name-%version.tar > Patch: %name-%version-%release.patch > >+# https://github.com/nicklan/pnmixer/pull/177 >+Patch1: added-alsamixer.patch >+ > BuildRequires(pre): rpm-build-licenses rpm-macros-cmake > BuildRequires: cmake gettext libalsa-devel libnotify-devel > %if_without gtk3 >@@ -39,6 +42,7 @@ Feel free to try and to give some feedback. > %prep > %setup > %patch -p1 >+%patch1 -p1 > > %build > %cmake \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 34609
: 7526