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
2294e239
Commit
2294e239
authored
5 years ago
by
Rasmus Thomsen
Committed by
Kevin Daudt
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
testing/accountsservice: update to 0.6.54
parent
92f19e53
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
testing/accountsservice/APKBUILD
+11
-22
11 additions, 22 deletions
testing/accountsservice/APKBUILD
testing/accountsservice/musl-wtmp.patch
+15
-0
15 additions, 0 deletions
testing/accountsservice/musl-wtmp.patch
with
26 additions
and
22 deletions
testing/accountsservice/APKBUILD
+
11
−
22
View file @
2294e239
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname
=
accountsservice
pkgver
=
0.6.5
0
pkgver
=
0.6.5
4
pkgrel
=
1
pkgdesc
=
"D-Bus interface for user account query and manipulation"
url
=
"https://www.freedesktop.org/software/accountsservice/"
arch
=
"all"
license
=
"GPL-3.0-or-later"
depends
=
""
depends_dev
=
"glib-dev gobject-introspection-dev polkit-dev"
makedepends
=
"
$depends_dev
intltool gnome-doc-uti
ls"
subpackages
=
"
$pkgname
-dev
$pkgname
-doc
$pkgname
-lang"
makedepends
=
"
$depends_dev
meson py3-setuptoo
ls"
subpackages
=
"
$pkgname
-dev
$pkgname
-lang"
source
=
"https://www.freedesktop.org/software/accountsservice/accountsservice-
$pkgver
.tar.xz
musl-fgetspent_r.patch
"
musl-wtmp.patch
"
builddir
=
"
$srcdir
"
/
$pkgname
-
$pkgver
build
()
{
cd
"
$builddir
"
# Hack to check for /var/log/wtmp instead of /var/log/utx.log
sed
-i
configure
-e
"s;utx
\.
log;wtmp;g"
ac_cv_file__var_log_utx_log
=
yes
./configure
\
--build
=
$CBUILD
\
--host
=
$CHOST
\
--prefix
=
/usr
\
--sysconfdir
=
/etc
\
--mandir
=
/usr/share/man
\
--infodir
=
/usr/share/info
\
--localstatedir
=
/var
\
--disable-systemd
\
--enable-introspection
=
yes
make
meson
--prefix
=
/usr
-Dsystemdsystemunitdir
=
no
.
output
ninja
-C
output
}
check
()
{
cd
"
$builddir
"
make check
ninja
-C
output
test
}
package
()
{
cd
"
$builddir
"
make
DESTDIR
=
"
$pkgdir
"
install
DESTDIR
=
"
$pkgdir
"
ninja
-C
output
install
}
sha512sums
=
"6e07cd318452b1cbedeacd729f0ebb200525caf1b09981abb2bac16fd90756a790ebec08aca0a0cea016f14ab27c159a68fe1332ef4bc636c5863b8c61040f64 accountsservice-0.6.50.tar.xz
469392beca8f5941eafaa193c4fcb0472770ee4183ce520416a1b5d6abafe0e201990eb74d06bfbd9e20af08e55aff5f0031f267083f6c6879f0fe4e5028103c musl-fgetspent_r.patch"
sha512sums
=
"5fbcccc286dba60efba905aa79b1b51a5478fe52bf2e256d40d9fc2d7a311aea4ce397365045659a4ef2ecb2cc079130fb1d0107749c3c906c394517056ac1c0 accountsservice-0.6.54.tar.xz
469392beca8f5941eafaa193c4fcb0472770ee4183ce520416a1b5d6abafe0e201990eb74d06bfbd9e20af08e55aff5f0031f267083f6c6879f0fe4e5028103c musl-fgetspent_r.patch
e454b66026030577de635b4752c16a51dfa61188d91acb76da7497f61f11b4c773953c08947b2aac902926f847c01b1f289757ed042989a6db9c51b58dfcc2b3 musl-wtmp.patch"
This diff is collapsed.
Click to expand it.
testing/accountsservice/musl-wtmp.patch
0 → 100644
+
15
−
0
View file @
2294e239
Reason: fix build on musl
Tidy up and send upstream soon...
--- a/meson.build
+++ b/meson.build
@@ -82,8 +82,7 @@
if cc.has_header_symbol('utmpx.h', 'WTMPX_FILENAME', prefix: '#define _GNU_SOURC
elif cc.has_header_symbol('paths.h', '_PATH_WTMPX')
config_h.set('PATH_WTMP', '_PATH_WTMPX')
else
- assert(run_command('test', '-e', '/var/log/utx.log').returncode() == 0, 'Do not know which filename to watch for wtmp changes')
- config_h.set_quoted('PATH_WTMP', '/var/log/utx.log')
+ config_h.set_quoted('PATH_WTMP', '/var/log/wtmp')
endif
# compiler flags
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