Bug 245321 - audio/alsa-lib: (and others) update to 1.2.2
Summary: audio/alsa-lib: (and others) update to 1.2.2
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-03 16:22 UTC by Greg V
Modified: 2020-09-29 17:42 UTC (History)
0 users

See Also:


Attachments
alsa.patch (41.02 KB, patch)
2020-04-03 16:22 UTC, Greg V
no flags Details | Diff
alsa.patch v2 (41.63 KB, patch)
2020-09-29 17:42 UTC, Greg V
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Greg V 2020-04-03 16:22:08 UTC
Created attachment 213022 [details]
alsa.patch

- Update to latest version
- Enable Pulseaudio plugin by default (pulse port doesn't enable ALSA by default, so no circular dependencies in default package builds here)
- I can take maintainership I guess.. (but if anyone else wants to, go for it)
Comment 1 Jan Beich freebsd_committer 2020-04-03 19:11:31 UTC
Comment on attachment 213022 [details]
alsa.patch

$ poudriere testport -j 113i386 audio/alsa-plugins
[...]
===========================================================================
====> Running Q/A tests (stage-qa)
Warning: Bad symlink '/usr/local/etc/alsa/conf.d/50-arcam-av-ctl.conf' pointing to an absolute pathname '/usr/local/share/alsa/alsa.conf.d/50-arcam-av-ctl.conf'
Warning: Bad symlink '/usr/local/etc/alsa/conf.d/60-vdownmix.conf' pointing to an absolute pathname '/usr/local/share/alsa/alsa.conf.d/60-vdownmix.conf'
Warning: Bad symlink '/usr/local/etc/alsa/conf.d/50-pulseaudio.conf' pointing to an absolute pathname '/usr/local/share/alsa/alsa.conf.d/50-pulseaudio.conf'
Warning: Bad symlink '/usr/local/etc/alsa/conf.d/60-upmix.conf' pointing to an absolute pathname '/usr/local/share/alsa/alsa.conf.d/60-upmix.conf'
Warning: Bad symlink '/usr/local/etc/alsa/conf.d/50-oss.conf' pointing to an absolute pathname '/usr/local/share/alsa/alsa.conf.d/50-oss.conf'
Warning: Bad symlink '/usr/local/etc/alsa/conf.d/98-usb-stream.conf' pointing to an absolute pathname '/usr/local/share/alsa/alsa.conf.d/98-usb-stream.conf'
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: etc/alsa/conf.d/50-arcam-av-ctl.conf
Error: Orphaned: etc/alsa/conf.d/50-oss.conf
Error: Orphaned: etc/alsa/conf.d/50-pulseaudio.conf
Error: Orphaned: etc/alsa/conf.d/60-upmix.conf
Error: Orphaned: etc/alsa/conf.d/60-vdownmix.conf
Error: Orphaned: etc/alsa/conf.d/98-usb-stream.conf
Error: Orphaned: etc/alsa/conf.d/99-pulseaudio-default.conf.example
Error: Orphaned: share/alsa/alsa.conf.d/50-arcam-av-ctl.conf
Error: Orphaned: share/alsa/alsa.conf.d/50-oss.conf
Error: Orphaned: share/alsa/alsa.conf.d/60-upmix.conf
Error: Orphaned: share/alsa/alsa.conf.d/60-vdownmix.conf
Error: Orphaned: share/alsa/alsa.conf.d/98-usb-stream.conf
===> Checking for items in pkg-plist which are not in STAGEDIR
===> Error: Plist issues found.
*** Error code 1


$ poudriere testport -j 113i386 audio/alsa-utils
[00:00:00] Warning: (audio/alsa-utils): Error: audio/alsa-utils depends on nonexistent origin 'BAT_CONFIGURE_ENABLE=bat'; Please contact maintainer of the port to fix this.
[...]
monitor.c:26:10: fatal error: 'sys/inotify.h' file not found
#include <sys/inotify.h>
         ^~~~~~~~~~~~~~~
Comment 2 Greg V 2020-04-03 20:10:35 UTC
> Checking for items in STAGEDIR missing from pkg-plist

Is there a good way to ignore this? ${RM} the files?

> nonexistent origin 'BAT_CONFIGURE_ENABLE=bat'

lol, fail with the backslash, sorry

> fatal error: 'sys/inotify.h' file not found

How?? inotify is in LIB_DEPENDS and USES=localbase is present.. o_0
Comment 3 Jan Beich freebsd_committer 2020-04-03 22:28:59 UTC
(In reply to Greg V from comment #2)
> Is there a good way to ignore this? ${RM} the files?

Patching the source or marking undesired files with @comment in pkg-plist.

> How?? inotify is in LIB_DEPENDS and USES=localbase is present.. o_0

Sorry, I had bug 235240 applied which requires using pkg-config for libinotify.
Comment 4 Greg V 2020-09-29 17:42:15 UTC
Created attachment 218412 [details]
alsa.patch v2

Rebased, fixed aforementioned issues (hopefully did the plist correctly)