Skip to contentSkip to conversation

Git branches with Gentoo fixes

DISCUSSION Diego 'Flameeyes' Pettenò 3 participants 13 messages Nov 13, 2008

lore
Share & tools
lore
#0 lore raw

Hi all,

Since I have just had to fix (again) an --as-needed issues on alsa-tools on the Gentoo ebuild, I've decided to clone the git repo and see to try pushing (again, I'm sure I tried before) the Gentoo-specific patches.

You can find two git branches for alsa-tools and alsa-utils at these addresses:

git://git.flameeyes.eu/others/alsa/alsa-tools.git
git://git.flameeyes.eu/others/alsa/alsa-utils.git

For the patches coming from users, the proper Author setting was done so that they are reported coming from the correct contributor.

HTH,

Signature · 2 lines
Diego "Flameeyes" Pettenò
http://blog.flameeyes.eu/

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#1 lore raw
Quoted 2 lines · [email protected] (Diego 'Flameeyes' Pettenò) writes:

git://git.flameeyes.eu/others/alsa/alsa-tools.git
git://git.flameeyes.eu/others/alsa/alsa-utils.git

Add to this also

git://git.flameeyes.eu/others/alsa/alsa-plugins.git

Signature · 2 lines
Diego "Flameeyes" Pettenò
http://blog.flameeyes.eu/

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#2 lore raw
Quoted 7 lines · Diego 'Flameeyes' Pettenò
Quoted 2 lines · [email protected] (Diego 'Flameeyes' Pettenò) writes:

git://git.flameeyes.eu/others/alsa/alsa-tools.git
git://git.flameeyes.eu/others/alsa/alsa-utils.git

Add to this also

git://git.flameeyes.eu/others/alsa/alsa-plugins.git

Are the -9999 ebuilds in portage still pointing to the HG repo ?

Travis.
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#3 lore raw
Quoted 1 line · Travis Place

Are the -9999 ebuilds in portage still pointing to the HG repo ?

There used to be one for alsa-driver, since I decided some time ago not to follow ALSA in Gentoo (for difference in view with the kernel developers and the docs team) I have sincerely no clue what the destiny of the -9999 ebuild has been, so I have to check...

... it seems so. I'll let it be known to who does maintain ALSA nowadays of that.

Signature · 2 lines
Diego "Flameeyes" Pettenò
http://blog.flameeyes.eu/

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#4 lore raw
In reply to Diego 'Flameeyes' Pettenò

At Thu, 13 Nov 2008 01:28:22 +0100,

Quoted 9 lines · Diego 'Flameeyes' Pettenò
Quoted 2 lines · [email protected] (Diego 'Flameeyes' Pettenò) writes:

git://git.flameeyes.eu/others/alsa/alsa-tools.git
git://git.flameeyes.eu/others/alsa/alsa-utils.git

Add to this also

git://git.flameeyes.eu/others/alsa/alsa-plugins.git

Could you post the summary of your changes, at least?

thanks,

Takashi

#5 lore raw

At Thu, 13 Nov 2008 08:44:39 +0100,

Quoted 6 lines · I wrote:

At Thu, 13 Nov 2008 01:28:22 +0100,

Quoted 3 lines · Diego 'Flameeyes' Pettenò

[email protected] (Diego 'Flameeyes' Pettenò) writes:

Quoted 8 lines
Quoted 6 lines
Quoted 2 lines

git://git.flameeyes.eu/others/alsa/alsa-tools.git
git://git.flameeyes.eu/others/alsa/alsa-utils.git

Add to this also

git://git.flameeyes.eu/others/alsa/alsa-plugins.git

Could you post the summary of your changes, at least?

Also, please put the branch name to pull in the same line. I guess it's master, but the recent git requires the pulling branch explicitly.

thanks,

Takashi

#6 lore raw
In reply to Diego 'Flameeyes' Pettenò

At Thu, 13 Nov 2008 01:28:22 +0100,

Quoted 9 lines · Diego 'Flameeyes' Pettenò
Quoted 2 lines · [email protected] (Diego 'Flameeyes' Pettenò) writes:

git://git.flameeyes.eu/others/alsa/alsa-tools.git
git://git.flameeyes.eu/others/alsa/alsa-utils.git

Add to this also

git://git.flameeyes.eu/others/alsa/alsa-plugins.git

Use rather AC_ENABLE() instead of AC_WITH().
It's more intuitive.

BTW, we'd like also a sign-off in each commit by the committer for non-kernel repos (although not strictly needed).
Don't forget to add --sign option at each time.

thanks,

Takashi

#7 lore raw
Quoted 2 lines · Takashi Iwai

Use rather AC_ENABLE() instead of AC_WITH().
It's more intuitive.

Okay, I actually had ENABLE in the original patch I made about two years ago, but switched to WITH since speex was using that.

Quoted 3 lines

BTW, we'd like also a sign-off in each commit by the committer for non-kernel repos (although not strictly needed).
Don't forget to add --sign option at each time.

Done now, I've rewritten history for the repositories and now they all should be fine.

I also further fixed the hdspmixer issue in the proper way, I was tired for sure for not noticing the hack I've been using.

Signature · 2 lines
Diego "Flameeyes" Pettenò
http://blog.flameeyes.eu/

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#8 lore raw

At Thu, 13 Nov 2008 13:24:39 +0100,

Quoted 13 lines · Diego 'Flameeyes' Pettenò
Quoted 2 lines · Takashi Iwai

Use rather AC_ENABLE() instead of AC_WITH().
It's more intuitive.

Okay, I actually had ENABLE in the original patch I made about two years ago, but switched to WITH since speex was using that.

Quoted 3 lines

BTW, we'd like also a sign-off in each commit by the committer for non-kernel repos (although not strictly needed).
Don't forget to add --sign option at each time.

Quoted 5 lines

Done now, I've rewritten history for the repositories and now they all should be fine.

I also further fixed the hdspmixer issue in the proper way, I was tired for sure for not noticing the hack I've been using.

Thanks for fixing. If finished, please post again with summaries.

Takashi

#9 lore raw
Quoted 1 line · Takashi Iwai

Thanks for fixing. If finished, please post again with summaries.

git://git.flameeyes.eu/others/alsa/alsa-utils.git master

- Fix building speaker-test when NLS is enabled, locale.h was not being included;
- Fix alsaconf use of dialog by redirecting to a new descriptor, or "snd-***" was tried for loading in case of errors;
- Replace modules-update with update-modules in alsaconf, since Gentoo also use the same command name as Debian.

git://git.flameeyes.eu/others/alsa/alsa-tools.git master

- Fix building with --as-needed ld option, by not passing library names on LDFLAGS variables;

git://git.flameeyes.eu/others/alsa/alsa-plugins.git master

- Add --disable options for jack, pulseaudio, libsamplerate and libavcodec based plugins, so that they can be disabled even if the software is found in the system;

Signature · 2 lines
Diego "Flameeyes" Pettenò
http://blog.flameeyes.eu/

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#10 lore raw

At Thu, 13 Nov 2008 14:21:12 +0100,

Quoted 16 lines · Diego 'Flameeyes' Pettenò
Quoted 1 line · Takashi Iwai

Thanks for fixing. If finished, please post again with summaries.

git://git.flameeyes.eu/others/alsa/alsa-utils.git master

- Fix building speaker-test when NLS is enabled, locale.h was not being included;
- Fix alsaconf use of dialog by redirecting to a new descriptor, or "snd-***" was tried for loading in case of errors;
- Replace modules-update with update-modules in alsaconf, since Gentoo also use the same command name as Debian.

git://git.flameeyes.eu/others/alsa/alsa-tools.git master

Quoted 8 lines

- Fix building with --as-needed ld option, by not passing library names on LDFLAGS variables;

git://git.flameeyes.eu/others/alsa/alsa-plugins.git master

- Add --disable options for jack, pulseaudio, libsamplerate and libavcodec based plugins, so that they can be disabled even if the software is found in the system;

Thanks, all pulled in, pushed out now.

BTW, you can create summaries more easily via git-shortlog:

% git shortlog origin/master..HEAD

Takashi

#11 lore raw
In reply to Diego 'Flameeyes' Pettenò

At Thu, 13 Nov 2008 01:14:51 +0100,

Quoted 7 lines · Diego 'Flameeyes' Pettenò

Hi all,

Since I have just had to fix (again) an --as-needed issues on alsa-tools on the Gentoo ebuild, I've decided to clone the git repo and see to try pushing (again, I'm sure I tried before) the Gentoo-specific patches.

Quoted 8 lines

You can find two git branches for alsa-tools and alsa-utils at these addresses:

git://git.flameeyes.eu/others/alsa/alsa-tools.git
git://git.flameeyes.eu/others/alsa/alsa-utils.git

For the patches coming from users, the proper Author setting was done so that they are reported coming from the correct contributor.

In commit de0aea763c5113f2373fc1cf6034b018d255bd94,

Quoted 8 lines
alsaconf/alsaconf.in +0 -0
index 806ddb6..56f2a4b 100644
@@ -908,13 +908,8 @@ BEGIN { in_sound=0; }
 
     farewell
     clear

alsaconf/alsaconf.in BEGIN { in_sound=0; } · line 913

Quoted 10 lines
alsaconf/alsaconf.in +2 -7
-    if [ "$distribution" = "gentoo" ]; then
-      xecho "Running modules-update..."
-      modules-update
-    elif [ "$distribution" = "debian" ]; then
-      xecho "Running update-modules..."
-      update-modules
-    fi
+    xecho "Running update-modules..."
+    update-modules
     if [ -x $rcalsasound ] ; then

You unconditionally call update-modules, but this doesn't exist in all distros, but this is wrong. The world isn't ruled by only debian and gentoo :)

Check the availability before calling it.

Other changes in alsa-utils look OK.

thanks,

Takashi

#12 lore raw
In reply to Diego 'Flameeyes' Pettenò

At Thu, 13 Nov 2008 01:14:51 +0100,

Quoted 4 lines · Diego 'Flameeyes' Pettenò

git://git.flameeyes.eu/others/alsa/alsa-tools.git

...

hdspmixer/src/Makefile.am hdspmixer_SOURCES = \ · line 60

Quoted 10 lines
hdspmixer/src/Makefile.am +2 -0
index 9bb83af..1b898bc 100644
@@ -56,3 +56,5 @@ hdspmixer_SOURCES = \
 	pixmaps.cxx \
 	pixmaps.h \
 	defines.h
+
+hdspmixer_LDADD = -lfltk

Looks like a wrong fix.

thanks,

Takashi