ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@altlinux.org>
To: devel@lists.altlinux.org
Cc: "Valery V. Inozemtsev" <shrek@altlinux.org>
Subject: Re: [devel] [#262333] EPERM (try 2) libao.git=1.2.2-alt5
Date: Fri, 4 Dec 2020 14:19:41 +0300
Message-ID: <20201204111941.GP31814@imap.altlinux.org> (raw)
In-Reply-To: <20201204103723.GC773597@portlab>

[-- Attachment #1: Type: text/plain, Size: 923 bytes --]

On Fri, Dec 04, 2020 at 01:37:23PM +0300, Vladimir D. Seleznev wrote:
> On Sat, Nov 28, 2020 at 05:21:52PM +0300, Vladimir D. Seleznev wrote:
> > Прошу пропустить задание в Сизиф.

В libao бы ещё это безумное -O20 поправить:

-%make_build
+%make_build AO_CFLAGS="%optflags"

На e2k lcc не делает вид, что такое поддерживается.

> > On Wed, Nov 25, 2020 at 09:22:19AM +0000, Girar awaiter (vseleznv) wrote:
> > > http://git.altlinux.org/tasks/262333/logs/events.2.1.log
> > > 
> > > subtask  name   aarch64  armh  i586  ppc64le  x86_64
> > >    #100  libao       40    59    51       50      44
> > > [...skip...]
> > > #100 libao 1.2.2-alt4 -> 1:1.2.2-alt5
> > >  Mon Nov 23 2020 Vladimir D. Seleznev <vseleznv@altlinux> 1:1.2.2-alt5
> > >  - NMU: fallback to alsa driver if pulse fails (closes: #39337)
> 
> ping
> 

-- 
 ---- WBR, Michael Shigorin / http://altlinux.org
  ------ http://opennet.ru / http://anna-news.info

[-- Attachment #2: 0001-1-1.2.2-alt4.patch --]
[-- Type: text/x-patch, Size: 1609 bytes --]

>From 10f20930f6b7293a89aba1528786d1fc5597f5b4 Mon Sep 17 00:00:00 2001
From: Michael Shigorin <mike@altlinux.org>
Date: Sun, 15 Jul 2018 19:16:05 +0300
Subject: [PATCH] 1:1.2.2-alt4

- piggyback our CFLAGS as these don't get respected by libao
  (thx ldv@ yet again)
- fix and improve pulse knob
---
 libao.spec | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/libao.spec b/libao.spec
index fa17fa2..00c4bb0 100644
--- a/libao.spec
+++ b/libao.spec
@@ -2,7 +2,7 @@
 
 Name: libao
 Version: 1.2.2
-Release: alt3
+Release: alt4
 Epoch: 1
 
 Summary: Cross Platform Audio Output Library
@@ -49,7 +49,7 @@ sed -i 's,-O20,%optflags_optimization,g' configure*
 %build
 %autoreconf
 %configure \
-	--enable-pulse \
+	%{subst_enable pulse} \
 	--enable-alsa \
 	--disable-alsa-mmap \
 	--disable-broken-oss \
@@ -57,14 +57,16 @@ sed -i 's,-O20,%optflags_optimization,g' configure*
 	--disable-esd \
 	--disable-arts \
 	--disable-nas
-%make_build
+%make_build AO_CFLAGS="%optflags"
 
 %install
 %makeinstall_std
 
 mkdir -p %buildroot%_sysconfdir
 cat <<__EOF__ >%buildroot%_sysconfdir/%name.conf
+%if_enabled pulse
 # possible values for "default_driver" are: alsa, pulse
+%endif
 default_driver=alsa
 __EOF__
 
@@ -89,6 +91,11 @@ __EOF__
 %_datadir/aclocal/*
 
 %changelog
+* Sun Jul 15 2018 Michael Shigorin <mike@altlinux.org> 1:1.2.2-alt4
+- piggyback our CFLAGS as these don't get respected by libao
+  (thx ldv@ yet again)
+- fix and improve pulse knob
+
 * Fri Dec 01 2017 Michael Shigorin <mike@altlinux.org> 1:1.2.2-alt3
 - generalized optflags fixup (ldv@)
 
-- 
2.25.4


  reply	other threads:[~2020-12-04 11:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-28 14:21 ` Vladimir D. Seleznev
2020-12-04 10:37   ` Vladimir D. Seleznev
2020-12-04 11:19     ` Michael Shigorin [this message]
2020-12-04 12:10       ` Vladimir D. Seleznev
2020-12-04 12:18         ` Dmitry V. Levin

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=20201204111941.GP31814@imap.altlinux.org \
    --to=mike@altlinux.org \
    --cc=devel@lists.altlinux.org \
    --cc=shrek@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 Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git