Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
5d0c9c08
Commit
5d0c9c08
authored
3 years ago
by
Jakub Jirutka
Committed by
Michał Polański
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
community/basu: backport patch to link basuctl with libbasu dynamically
https://git.sr.ht/~emersion/basu/commit/34471140993750d4af0da3f8feef77801276db36
parent
cb053f35
No related branches found
No related tags found
1 merge request
!25512
community/basu: backport patch to link basuctl with libbasu dynamically
Pipeline
#93979
passed
3 years ago
Stage: lint
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
community/basu/APKBUILD
+3
-1
3 additions, 1 deletion
community/basu/APKBUILD
community/basu/link-basuctl-with-libbasu-dynamically.patch
+30
-0
30 additions, 0 deletions
community/basu/link-basuctl-with-libbasu-dynamically.patch
with
33 additions
and
1 deletion
community/basu/APKBUILD
+
3
−
1
View file @
5d0c9c08
...
...
@@ -2,7 +2,7 @@
# Maintainer: Michał Polański <michal@polanski.me>
pkgname
=
basu
pkgver
=
0.2.0
pkgrel
=
0
pkgrel
=
1
pkgdesc
=
"The sd-bus library, extracted from systemd"
url
=
"https://sr.ht/~emersion/basu/"
license
=
"LGPL-2.1-or-later"
...
...
@@ -12,6 +12,7 @@ subpackages="$pkgname-static $pkgname-dev"
# NOTE: Switch to new upstream repo at sr.ht as soon as release tags are available there.
source
=
"https://github.com/emersion/basu/archive/v
$pkgver
/basu-
$pkgver
.tar.gz
allow-both-shared-and-static-lib.patch
link-basuctl-with-libbasu-dynamically.patch
"
build
()
{
...
...
@@ -33,4 +34,5 @@ package() {
sha512sums
=
"
dbc2f72b6e1a880fa41fe6067a38a301f456e4305dae6eb4d465089d7d9c2f629677ba23752b3e1a1fd476cb440db01ef3a218c1c976f38d0058eed584c80165 basu-0.2.0.tar.gz
ce3edb36ec08012deeab1616a1df20f0bcbb7157a0b544b188ee1ccbe0f2cbcff8dd23b7f36bc1f75c993ff8409bd57d9bbe3bde1f4ba575b669bbe085f97cb3 allow-both-shared-and-static-lib.patch
172c6e519fcee29edff010423487a93f4e7e144836bf0d1e92181b5518e6a1c4e477f5d971e7cf93314b69d33674a5ae69cd963f0dd876496c34dd1fb0047020 link-basuctl-with-libbasu-dynamically.patch
"
This diff is collapsed.
Click to expand it.
community/basu/link-basuctl-with-libbasu-dynamically.patch
0 → 100644
+
30
−
0
View file @
5d0c9c08
From 34471140993750d4af0da3f8feef77801276db36 Mon Sep 17 00:00:00 2001
From: Jakub Jirutka <jakub@jirutka.cz>
Date: Fri, 17 Sep 2021 22:36:55 +0200
Subject: [PATCH] meson: Link basuctl with libbasu dynamically
This reduces the installed size significantly. I don't know about any
reason for bundling libbasu in basuctl when they both come from the
same package.
---
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Patch-Source: https://git.sr.ht/~emersion/basu/commit/34471140993750d4af0da3f8feef77801276db36
diff --git a/meson.build b/meson.build
index 121c0b9..056c7c4 100644
--- a/meson.build
+++ b/meson.build
@@ -330,7 +330,7 @@
exe = executable('basuctl',
'src/busctl/busctl-introspect.h',
include_directories : includes,
link_with : [libbasic,
- libsystemd_static],
+ libsystemd],
install : true)
meson.override_dependency('basu', declare_dependency(
--
2.32.0
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment