Skip to content

Commit

Permalink
*: qemu-user-static -> qemu-user
Browse files Browse the repository at this point in the history
  • Loading branch information
classabbyamp committed Sep 7, 2024
1 parent 3e51307 commit b9b025a
Show file tree
Hide file tree
Showing 13 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion common/build-helper/gir.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if [ "$build_option_gir" ] || [[ $build_options != *"gir"* ]]; then
if [ "$CROSS_BUILD" ]; then
# Required for running binaries produced from g-ir-compiler
# via g-ir-scanner-qemuwrapper
hostmakedepends+=" qemu-user-static"
hostmakedepends+=" qemu-user"

# Required for running the g-ir-scanner-lddwrapper
hostmakedepends+=" prelink-cross"
Expand Down
4 changes: 2 additions & 2 deletions common/build-helper/qemu.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
if [ "$CROSS_BUILD" ]; then
export QEMU_LD_PREFIX=${XBPS_CROSS_BASE}
if [[ $hostmakedepends != *"qemu-user-static"* ]]; then
hostmakedepends+=" qemu-user-static"
if [[ $hostmakedepends != *"qemu-user"* ]]; then
hostmakedepends+=" qemu-user"
fi
fi

Expand Down
2 changes: 1 addition & 1 deletion srcpkgs/aravis/template
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ checksum=d70b125666b23ca4c0f8986fa0786a3d2b9efb7a56b558b703083cdfaa793f4e
make_check=ci-skip

if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" glib-devel prelink-cross qemu-user-static"
hostmakedepends+=" glib-devel prelink-cross qemu-user"
fi

libaravis_package() {
Expand Down
2 changes: 1 addition & 1 deletion srcpkgs/glib-bootstrap/template
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pkgname=glib-bootstrap
version=2.80.3
revision=1
build_style=meson
# static version is necessary for qemu-user-static;
# static version is necessary for qemu-user
# also disable LTO, otherwise there are multiple failures when linking qemu
configure_args="-Dman=true -Dselinux=disabled
--default-library=both -Db_lto=false -Dintrospection=disabled"
Expand Down
2 changes: 1 addition & 1 deletion srcpkgs/glib/template
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ version=2.80.3
revision=1
build_style=meson
build_helper=qemu
# static version is necessary for qemu-user-static;
# static version is necessary for qemu-user
# also disable LTO, otherwise there are multiple failures when linking qemu
configure_args="-Dman=true -Dselinux=disabled -Dintrospection=enabled
$(vopt_bool gtk_doc documentation) --default-library=both -Db_lto=false"
Expand Down
2 changes: 1 addition & 1 deletion srcpkgs/gobject-introspection-bootstrap/template
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ conflicts="libgirepository libgirepository-devel gobject-introspection"
noverifyrdeps=yes

if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" gobject-introspection-bootstrap qemu-user-static prelink-cross"
hostmakedepends+=" gobject-introspection-bootstrap qemu-user prelink-cross"
configure_args+=" -Dgi_cross_use_prebuilt_gi=true
-Dgi_cross_binary_wrapper=/usr/bin/g-ir-scanner-qemuwrapper
-Dgi_cross_ldd_wrapper=/usr/bin/g-ir-scanner-lddwrapper
Expand Down
2 changes: 1 addition & 1 deletion srcpkgs/gobject-introspection/template
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ checksum=a1df7c424e15bda1ab639c00e9051b9adf5cea1a9e512f8a603b53cd199bc6d8
python_version=3

if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" gobject-introspection qemu-user-static prelink-cross"
hostmakedepends+=" gobject-introspection qemu-user prelink-cross"
configure_args+=" -Dgi_cross_use_prebuilt_gi=true
-Dgi_cross_binary_wrapper=/usr/bin/g-ir-scanner-qemuwrapper
-Dgi_cross_ldd_wrapper=/usr/bin/g-ir-scanner-lddwrapper
Expand Down
2 changes: 1 addition & 1 deletion srcpkgs/libgpg-error/template
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ distfiles="https://www.gnupg.org/ftp/gcrypt/${pkgname}/${pkgname}-${version}.tar
checksum=8b79d54639dbf4abc08b5406fb2f37e669a2dec091dd024fb87dd367131c63a9

if [ "$CROSS_BUILD" ]; then
hostmakedepends="qemu-user-static"
hostmakedepends="qemu-user"
fi

post_install() {
Expand Down
2 changes: 1 addition & 1 deletion srcpkgs/libportal/template
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ build_options="gir gtk_doc"
build_options_default="gir gtk_doc"

if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qemu-user-static prelink-cross"
hostmakedepends+=" qemu-user prelink-cross"
fi

libportal-devel_package() {
Expand Down
2 changes: 1 addition & 1 deletion srcpkgs/php8.2/template
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ lib32disabled=yes

if [ -n "$CROSS_BUILD" ]; then
# phar and pear need php to build
hostmakedepends+=" php${_php_version} qemu-user-static"
hostmakedepends+=" php${_php_version} qemu-user"
CFLAGS+=" -DHAVE_LIBDL
-DHAVE_DLOPEN
-DHAVE_DLSYM
Expand Down
2 changes: 1 addition & 1 deletion srcpkgs/php8.3/template
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ lib32disabled=yes

if [ -n "$CROSS_BUILD" ]; then
# phar and pear need php to build
hostmakedepends+=" php${_php_version} qemu-user-static"
hostmakedepends+=" php${_php_version} qemu-user"
CFLAGS+=" -DHAVE_LIBDL
-DHAVE_DLOPEN
-DHAVE_DLSYM
Expand Down
2 changes: 1 addition & 1 deletion srcpkgs/umockdev/template
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ distfiles="https://github.com/martinpitt/umockdev/releases/download/${version}/u
checksum=6c6ebf6e6209b6a49746e0d91a448d027b54271bab82ed70a132ecf294ca13cf

if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" gobject-introspection qemu-user-static"
hostmakedepends+=" gobject-introspection qemu-user"
fi

umockdev-devel_package() {
Expand Down
2 changes: 1 addition & 1 deletion xbps-src
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ Options:
-A <host>
Use this host machine. Automatically creates masterdir-<host> if it doesn't
already exist. Some host machines may require qemu-user-static and
already exist. Some host machines may require qemu-user and
binfmt-support if not natively supported by the processor. Supported hosts:
$(print_cross_targets)
Expand Down

0 comments on commit b9b025a

Please sign in to comment.