From: "Антон Мидюков" <midyukov-anton@ya.ru>
To: devel-distro@lists.altlinux.org
Subject: [devel-distro] feature use/sound/alsa
Date: Sat, 6 Jan 2018 16:22:27 +0700
Message-ID: <cd5e11cf-158c-fce3-3189-2174d0c6eaaf@ya.ru> (raw)
[-- Attachment #1: Type: text/plain, Size: 930 bytes --]
Здравствуйте!
1. Предлагаю в фичу use/sound/alsa (+alsa) добавить пакет udev-alsa,
который чинит пропадающий уровень громкости при перезагрузке на системах
без pulseaudio. В этой фиче сейчас только apulse. Смотреть первый
приложенный патч.
2. Предлагаю добавить эту фичу всем десктопным дистрибутивам без
pulseaudio. Ну, а регуляркам на Cinnamon и gnome3 добавить фичу +pulse.
Если считаете, что пульса на гноме и циннамоне не нужна, то бог с ней,
давайте аналогично добавим им +alsa. Смотреть второй патч.
--
С уважением, Антон Мидюков <antohami@altlinux.org>
[-- Attachment #2: 0001-Added-udev-alsa-in-feature-use-sound-alsa-alsa.patch --]
[-- Type: text/x-patch, Size: 782 bytes --]
>From 971d45d037a03d320e3c394db6ebdcea4187e97d Mon Sep 17 00:00:00 2001
From: Anton Midyukov <antohami@altlinux.org>
Date: Sat, 6 Jan 2018 16:06:55 +0700
Subject: [PATCH 1/2] Added udev-alsa in feature use/sound/alsa (+alsa)
---
features.in/sound/config.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/features.in/sound/config.mk b/features.in/sound/config.mk
index 02b603e..5761963 100644
--- a/features.in/sound/config.mk
+++ b/features.in/sound/config.mk
@@ -10,6 +10,7 @@ use/sound:
# ALSA only sound (additional utils needed if using pulseaudio)
use/sound/alsa: use/sound
@$(call add,THE_PACKAGES,apulse)
+ @$(call add,THE_PACKAGES,udev-alsa)
# PulseAudio (useful for per-app levels, dynamic devices and networked sound)
use/sound/pulse: use/sound
--
2.10.4
[-- Attachment #3: 0002-Added-features-alsa-or-pulse-in-regular.mk-for-deskt.patch --]
[-- Type: text/x-patch, Size: 5440 bytes --]
>From 3f3c75de4c0e78b3aa6e283eab474084760ba81f Mon Sep 17 00:00:00 2001
From: Anton Midyukov <antohami@altlinux.org>
Date: Sat, 6 Jan 2018 16:08:28 +0700
Subject: [PATCH 2/2] Added features +alsa or +pulse in regular.mk for desktop
distrbution
---
conf.d/regular.mk | 34 +++++++++++++++++-----------------
1 file changed, 17 insertions(+), 17 deletions(-)
diff --git a/conf.d/regular.mk b/conf.d/regular.mk
index d0e095d..ba9f0cd 100644
--- a/conf.d/regular.mk
+++ b/conf.d/regular.mk
@@ -101,7 +101,7 @@ distro/.regular-install-x11-full: distro/.regular-install-x11 \
@$(call add,RESCUE_LISTS,$(call tags,rescue misc))
@$(call add,MAIN_PACKAGES,anacron man-whatis usb-modeswitch)
-distro/regular-icewm: distro/.regular-sysv-gtk +icewm +nm \
+distro/regular-icewm: distro/.regular-sysv-gtk +icewm +nm +alsa \
use/x11/lightdm/gtk use/init/sysv/polkit use/deflogin/sysv/nm \
use/browser/chromium use/fonts/ttf/redhat
@$(call add,LIVE_LISTS,$(call tags,desktop nm))
@@ -111,50 +111,50 @@ distro/regular-icewm: distro/.regular-sysv-gtk +icewm +nm \
@$(call set,KFLAVOURS,un-def)
# wdm can't do autologin so add standalone one for livecd
-distro/regular-wmaker: distro/.regular-sysv \
+distro/regular-wmaker: distro/.regular-sysv +alsa \
mixin/regular-wmaker use/live/autologin use/browser/palemoon/i18n
@$(call add,LIVE_PACKAGES,wdm wmxkbru)
-distro/regular-gnustep: distro/.regular-sysv \
+distro/regular-gnustep: distro/.regular-sysv +alsa \
mixin/regular-wmaker mixin/regular-gnustep; @:
-distro/regular-gnustep-systemd: distro/.regular-wm +systemd \
+distro/regular-gnustep-systemd: distro/.regular-wm +systemd +alsa \
mixin/regular-wmaker mixin/regular-gnustep; @:
-distro/regular-xfce: distro/.regular-gtk mixin/regular-xfce \
+distro/regular-xfce: distro/.regular-gtk mixin/regular-xfce +alsa \
use/x11/xfce/full use/domain-client
@$(call set,KFLAVOURS,un-def)
-distro/regular-xfce-sysv: distro/.regular-sysv-gtk \
+distro/regular-xfce-sysv: distro/.regular-sysv-gtk +alsa \
mixin/regular-xfce mixin/regular-xfce-sysv; @:
-distro/regular-lxde: distro/.regular-gtk mixin/regular-lxde
+distro/regular-lxde: distro/.regular-gtk mixin/regular-lxde +alsa
@$(call add,THE_PACKAGES,lxde)
-distro/regular-lxde-sysv: distro/.regular-sysv-gtk mixin/regular-lxde
+distro/regular-lxde-sysv: distro/.regular-sysv-gtk mixin/regular-lxde +alsa
@$(call add,THE_PACKAGES,lxde-sysvinit)
distro/regular-xmonad: distro/.regular-gtk use/x11/xmonad
@$(call add,LIVE_PACKAGES,livecd-regular-xmonad)
-distro/regular-mate: distro/.regular-gtk +nm \
+distro/regular-mate: distro/.regular-gtk +nm +alsa \
use/x11/mate use/fonts/ttf/google use/domain-client
@$(call add,LIVE_LISTS,$(call tags,mobile mate))
@$(call add,LIVE_LISTS,$(call tags,desktop sane))
@$(call add,LIVE_LISTS,$(call tags,base smartcard))
-distro/regular-enlightenment: distro/.regular-gtk \
+distro/regular-enlightenment: distro/.regular-gtk +alsa \
use/x11/enlightenment use/fonts/infinality; @:
distro/regular-enlightenment-sysv: distro/.regular-sysv-gtk \
use/x11/enlightenment
@$(call set,META_VOL_ID,ALT regular-E-SysV/$(ARCH)) # see also #28271
-distro/regular-cinnamon: distro/.regular-gtk \
+distro/regular-cinnamon: distro/.regular-gtk +pulse \
use/x11/cinnamon use/fonts/infinality use/fonts/ttf/google \
use/net/nm/mmgui use/im; @:
# not .regular-gtk due to gdm vs lightdm
-distro/regular-gnome3: distro/.regular-desktop +plymouth +nm \
+distro/regular-gnome3: distro/.regular-desktop +plymouth +nm +pulse \
use/x11/gnome3 use/browser/epiphany use/fonts/ttf/redhat
@$(call set,KFLAVOURS,un-def)
@$(call add,LIVE_PACKAGES,livecd-gnome3-setup-done)
@@ -164,7 +164,7 @@ distro/regular-gnome3: distro/.regular-desktop +plymouth +nm \
distro/regular-tde: distro/.regular-desktop mixin/regular-tde +plymouth \
use/x11/gtk/nm use/net/nm/mmgui
-distro/regular-tde-sysv: distro/.regular-sysv mixin/regular-tde \
+distro/regular-tde-sysv: distro/.regular-sysv mixin/regular-tde +alsa \
use/net-eth/dhcp use/efi/refind; @:
distro/regular-kde4: distro/.regular-desktop use/x11/kde4/nm use/x11/kdm4 \
@@ -175,9 +175,9 @@ distro/regular-kde4: distro/.regular-desktop use/x11/kde4/nm use/x11/kdm4 \
@$(call set,THE_IMAGEWRITER,rosa-imagewriter)
@$(call add,DEFAULT_SERVICES_ENABLE,prefdm)
-distro/regular-lxqt: distro/.regular-desktop mixin/regular-lxqt; @:
+distro/regular-lxqt: distro/.regular-desktop mixin/regular-lxqt +alsa; @:
-distro/regular-lxqt-sysv: distro/.regular-sysv mixin/regular-lxqt \
+distro/regular-lxqt-sysv: distro/.regular-sysv mixin/regular-lxqt +alsa \
use/net-eth/dhcp use/efi/refind; @:
distro/regular-kde5: distro/.regular-desktop \
@@ -201,12 +201,12 @@ distro/regular-rescue-netbootxyz: distro/.regular-bare mixin/regular-rescue
@$(call set,META_VOL_ID,ALT Rescue)
@$(call set,META_APP_ID,$(ARCH))
-distro/regular-sysv-tde: distro/.regular-install-x11-full mixin/regular-tde
+distro/regular-sysv-tde: distro/.regular-install-x11-full mixin/regular-tde +alsa
@$(call add,THE_LISTS,$(call tags,base desktop))
@$(call add,THE_LISTS,$(call tags,regular tde))
@$(call add,THE_PACKAGES,kpowersave)
-distro/regular-sysv-xfce: distro/.regular-install-x11-full \
+distro/regular-sysv-xfce: distro/.regular-install-x11-full +alsa \
mixin/regular-xfce mixin/regular-xfce-sysv; @:
distro/.regular-server-base: distro/.regular-install \
--
2.10.4
next reply other threads:[~2018-01-06 9:22 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-06 9:22 Антон Мидюков [this message]
2018-01-07 15:17 ` Michael Shigorin
2018-01-08 9:11 ` Антон Мидюков
2018-01-09 12:39 ` [devel-distro] m-p ошибка при сборке regular-icewm.iso Oleg
2018-01-09 12:44 ` Антон Мидюков
2018-01-10 7:22 ` Антон Мидюков
2018-01-09 13:21 ` Michael Shigorin
2018-01-10 8:35 ` Oleg
2018-01-11 8:03 ` Michael Shigorin
2018-01-21 14:25 ` Антон Мидюков
2018-01-18 11:44 ` [devel-distro] feature use/sound/alsa Michael Shigorin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cd5e11cf-158c-fce3-3189-2174d0c6eaaf@ya.ru \
--to=midyukov-anton@ya.ru \
--cc=devel-distro@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Distributions development
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel-distro/0 devel-distro/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel-distro devel-distro/ http://lore.altlinux.org/devel-distro \
devel-distro@lists.altlinux.org devel-distro@lists.altlinux.ru devel-distro@lists.altlinux.com
public-inbox-index devel-distro
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel-distro
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git