Skip to content

build: rename shared libraries to libaudioreach - #116

Open
slyon wants to merge 2 commits into
AudioReach:masterfrom
slyon:rename-libaudioreach
Open

slyon wants to merge 2 commits into
AudioReach:masterfrom
slyon:rename-libaudioreach

Conversation

@slyon

@slyon slyon commented Sep 8, 2026

Copy link
Copy Markdown

Rename Autotools and Android shared-library targets from libar-* to libaudioreach-* and update all internal dependencies and ABI-check paths.

Keep the pkg-config package names and filenames stable while updating their Libs entries, so pkg-config consumers continue to resolve the libraries after the rename.

The rationale behind this change is that the "ar" in "libar-" stands for "AudioReach", but can be easily confused with binutils' ar archive format. We might consider spelling it out as libaudioreach-.so.1, so that we do not get into any namespace conflicts (or confusion), when integrating the project with a general purpose Linux distribution, such as Debian.

Fixes: #110

In addition to that, we're dropping the empty libaudioreach-spfhdrs.so library. SPF contains only headers, so install them directly without generating the empty libaudioreach-spfhdrs shared object. Remove GSLs dependency on the target and make spf.pc header-only while retaining its pkg-config include flags.

Fixes: #104

CRs-Fixed: 4673839

@slyon
slyon requested review from a team September 8, 2026 14:29
@slyon

slyon commented Sep 8, 2026

Copy link
Copy Markdown
Author

CC @qti-sbojja

@rchiluka29

Copy link
Copy Markdown
Contributor

@slyon , please clear the checks.

@slyon
slyon force-pushed the rename-libaudioreach branch from 66b4cd2 to 5135548 Compare September 10, 2026 13:30
@slyon

slyon commented Sep 10, 2026

Copy link
Copy Markdown
Author

@slyon , please clear the checks.

@rchiluka29 Done: Fixed the commit-message checks. The other CI failures seem to be unrelated to this change.

@qti-sbojja

Copy link
Copy Markdown
Contributor

Rename Autotools and Android shared-library targets from libar-* to
libaudioreach-* and update all internal dependencies and ABI-check
paths.

Keep the pkg-config package names and filenames stable while updating
their Libs entries, so pkg-config consumers continue to resolve the
libraries after the rename.

Fixes: http://github.com/AudioReach/audioreach-graphservices/issues/110

Signed-off-by: Lukas Märdian <lukas.maerdian@oss.qualcomm.com>
SPF contains only headers, so install them directly without generating
the empty libaudioreach-spfhdrs shared object. Remove GSLs dependency
on the target and make spf.pc header-only while retaining its
pkg-config include flags.

Fixes: http://github.com/AudioReach/audioreach-graphservices/issues/104

Signed-off-by: Lukas Märdian <lukas.maerdian@oss.qualcomm.com>
@slyon
slyon force-pushed the rename-libaudioreach branch from 5135548 to e672de7 Compare September 10, 2026 13:46
@slyon

slyon commented Sep 10, 2026

Copy link
Copy Markdown
Author

@rchiluka29 , please help to update lib names for dependent packages. ex: https://github.com/AudioReach/audioreach-graphmgr/blob/71fd87a1ca48927e06d529e43d327317e625a044/service/Makefile.am#L28C31-L28C40

Ideally, it should be consumed via pkgconfig, in which case we would not need to modify the library names individually, as the corresponding .pc files are already updated in this PR.

@rchiluka29

rchiluka29 commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

@slyon : please add this in PR desciption: CRs-Fixed: 4673839.

Please refer this PAL PR description for reference.

@rchiluka29

rchiluka29 commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

@rchiluka29 , please help to update lib names for dependent packages. ex: https://github.com/AudioReach/audioreach-graphmgr/blob/71fd87a1ca48927e06d529e43d327317e625a044/service/Makefile.am#L28C31-L28C40

AudioReach/audioreach-pal#87
AudioReach/audioreach-graphmgr#138

Made changes implemented it properly in above both repos on using by pkg-config rather than name swap.

@slyon

slyon commented Sep 14, 2026

Copy link
Copy Markdown
Author

I see the "CRs-Fixed" tag has already been added to the PR description. Thank you for driving those changes in -pal and -graphmgr! What else do we need to get this merged?

@qti-sbojja

Copy link
Copy Markdown
Contributor

@quic-aditrath can you please review and merge. And pal change also.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reconsider naming of libar-*.so.1 libraries Consider dropping the libar-spfhdrs.so shared object

3 participants