[gnome-build-meta/valentindavid/riscv64: 5/6] freedesktop-sdk.bst: Update to master
- From: Valentin David <valentindavid src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/valentindavid/riscv64: 5/6] freedesktop-sdk.bst: Update to master
- Date: Sat, 22 May 2021 12:00:29 +0000 (UTC)
commit 8834553ef01e4f9cee3a6a39b79af3584b42c70f
Author: Valentin David <valentin david codethink co uk>
Date: Wed Apr 21 19:16:15 2021 +0200
freedesktop-sdk.bst: Update to master
elements/core-deps/babl.bst | 2 ++
elements/core-deps/cvt.bst | 38 ++++++++++++++++++++
elements/core-deps/gsound.bst | 2 ++
elements/core-deps/slirp-helper.bst | 5 +--
elements/core/gnome-tour.bst | 4 +--
elements/core/mutter.bst | 3 +-
elements/freedesktop-sdk.bst | 4 +--
elements/iso/initramfs.bst | 1 -
elements/sdk-platform.bst | 5 +--
elements/sdk.bst | 2 +-
elements/sdk/gst-plugins-bad.bst | 2 +-
elements/sdk/gtk+-3.bst | 2 ++
elements/sdk/gtk.bst | 3 ++
elements/sdk/librsvg.bst | 4 +--
elements/sdk/libsecret.bst | 2 +-
files/qemu/no-pie-build-error.patch | 69 +++++++++++++++++++++++++++++++++++++
junction.refs | 2 +-
project.conf | 6 ++--
18 files changed, 133 insertions(+), 23 deletions(-)
---
diff --git a/elements/core-deps/babl.bst b/elements/core-deps/babl.bst
index 19b0caca..ac1f7956 100644
--- a/elements/core-deps/babl.bst
+++ b/elements/core-deps/babl.bst
@@ -3,6 +3,8 @@ kind: meson
sources:
- kind: tar
url: https://download.gimp.org/pub/babl/0.1/babl-0.1.86.tar.xz
+- kind: patch
+ path: files/babl/meson-fix.patch
build-depends:
- sdk/gobject-introspection.bst
diff --git a/elements/core-deps/cvt.bst b/elements/core-deps/cvt.bst
new file mode 100644
index 00000000..f94c02f2
--- /dev/null
+++ b/elements/core-deps/cvt.bst
@@ -0,0 +1,38 @@
+kind: autotools
+
+build-depends:
+- freedesktop-sdk.bst:public-stacks/buildsystem-autotools.bst
+- freedesktop-sdk.bst:components/xorg-lib-x11.bst
+- freedesktop-sdk.bst:components/xorg-lib-xkbfile.bst
+- freedesktop-sdk.bst:components/xorg-lib-xfont2.bst
+
+depends:
+- freedesktop-sdk.bst:components/pixman.bst
+- freedesktop-sdk.bst:bootstrap-import.bst
+
+variables:
+ conf-local: >-
+ --disable-xvfb
+ --disable-xnest
+ --disable-xwin
+ --disable-libdrm
+ --disable-glamor
+ --disable-dri
+ --disable-dri2
+ --disable-dri3
+ --disable-glx
+ --disable-pciaccess
+ --disable-int10-module
+
+config:
+ build-commands:
+ - |
+ make -C 'hw/xfree86/modes'
+
+ install-commands:
+ - |
+ make -j1 -C 'hw/xfree86/utils/cvt' install-binPROGRAMS DESTDIR='%{install-root}'
+
+sources:
+- kind: tar
+ url: https://www.x.org/archive/individual/xserver/xorg-server-1.20.11.tar.bz2
diff --git a/elements/core-deps/gsound.bst b/elements/core-deps/gsound.bst
index 958b87e4..9d9fe5bd 100644
--- a/elements/core-deps/gsound.bst
+++ b/elements/core-deps/gsound.bst
@@ -3,6 +3,8 @@ sources:
- kind: git_tag
url: gitlab_gnome_org:GNOME/gsound.git
track: master
+- kind: patch
+ path: files/gsound/automake-fix.patch
build-depends:
- sdk/gobject-introspection.bst
- sdk/gtk-doc.bst
diff --git a/elements/core-deps/slirp-helper.bst b/elements/core-deps/slirp-helper.bst
index c53cd182..6d93de1a 100644
--- a/elements/core-deps/slirp-helper.bst
+++ b/elements/core-deps/slirp-helper.bst
@@ -1,7 +1,7 @@
kind: manual
build-depends:
-- freedesktop-sdk.bst:extensions/rust/rust.bst
+- freedesktop-sdk.bst:components/rust.bst
- freedesktop-sdk.bst:components/libffi.bst
- freedesktop-sdk.bst:components/pkg-config.bst
@@ -10,9 +10,6 @@ depends:
- freedesktop-sdk.bst:components/dbus.bst
- freedesktop-sdk.bst:bootstrap-import.bst
-environment:
- PATH: /usr/bin:/usr/lib/sdk/rust/bin
-
sources:
- kind: tar
url: https://static.crates.io/crates/libslirp/libslirp-4.3.0.crate
diff --git a/elements/core/gnome-tour.bst b/elements/core/gnome-tour.bst
index 29c7ecc2..67da6e24 100644
--- a/elements/core/gnome-tour.bst
+++ b/elements/core/gnome-tour.bst
@@ -5,12 +5,10 @@ sources:
track: master
- kind: cargo
build-depends:
-- freedesktop-sdk.bst:extensions/rust/rust.bst
+- freedesktop-sdk.bst:components/rust.bst
- freedesktop-sdk.bst:public-stacks/buildsystem-meson.bst
depends:
- sdk/adwaita-icon-theme.bst
- sdk/gtk+-3.bst
- sdk/libhandy.bst
- freedesktop-sdk.bst:bootstrap-import.bst
-environment:
- PATH: /usr/bin:/usr/lib/sdk/rust/bin
diff --git a/elements/core/mutter.bst b/elements/core/mutter.bst
index cc883002..0e5778f0 100644
--- a/elements/core/mutter.bst
+++ b/elements/core/mutter.bst
@@ -6,6 +6,7 @@ sources:
track: master
build-depends:
+- core-deps/cvt.bst
- core/sysprof.bst
- sdk/gtk-doc.bst
- freedesktop-sdk.bst:public-stacks/buildsystem-meson.bst
@@ -35,7 +36,7 @@ depends:
- freedesktop-sdk.bst:components/wayland.bst
- freedesktop-sdk.bst:components/xorg-lib-xcursor.bst
- freedesktop-sdk.bst:components/xorg-lib-xtst.bst
-- freedesktop-sdk.bst:components/xorg-server.bst
+- freedesktop-sdk.bst:components/xwayland.bst
- freedesktop-sdk.bst:bootstrap-import.bst
variables:
diff --git a/elements/freedesktop-sdk.bst b/elements/freedesktop-sdk.bst
index 0b14f9e1..e696d243 100644
--- a/elements/freedesktop-sdk.bst
+++ b/elements/freedesktop-sdk.bst
@@ -2,8 +2,8 @@ kind: junction
sources:
- kind: git_tag
url: https://gitlab.com/freedesktop-sdk/freedesktop-sdk.git
- track: release/20.08
- track-tags: true
+ track: master
+ track-tags: false
config:
options:
target_arch: '%{arch}'
diff --git a/elements/iso/initramfs.bst b/elements/iso/initramfs.bst
index cb18f242..39959874 100644
--- a/elements/iso/initramfs.bst
+++ b/elements/iso/initramfs.bst
@@ -8,7 +8,6 @@ build-depends:
variables:
uuidnamespace: aea54278-2587-4075-ae67-8688ace4ce3d
install-root: /boot
-
efi-arch: "%{arch}"
(?):
- arch == "x86_64":
diff --git a/elements/sdk-platform.bst b/elements/sdk-platform.bst
index e1bd72cd..28f8f31f 100644
--- a/elements/sdk-platform.bst
+++ b/elements/sdk-platform.bst
@@ -113,7 +113,6 @@ depends:
- freedesktop-sdk.bst:components/libarchive.bst
- freedesktop-sdk.bst:components/libassuan.bst
- freedesktop-sdk.bst:components/libcap.bst
-- freedesktop-sdk.bst:components/libclc.bst
- freedesktop-sdk.bst:components/libdatrie.bst
- freedesktop-sdk.bst:components/libdbus.bst
- freedesktop-sdk.bst:components/libdrm.bst
@@ -195,7 +194,9 @@ depends:
- freedesktop-sdk.bst:components/unzip.bst
- freedesktop-sdk.bst:components/util-linux.bst
- freedesktop-sdk.bst:components/v4l-utils.bst
-- freedesktop-sdk.bst:components/vulkan.bst
+- freedesktop-sdk.bst:components/vulkan-headers.bst
+- freedesktop-sdk.bst:components/vulkan-icd-loader.bst
+- freedesktop-sdk.bst:components/vulkan-validation-layers.bst
- freedesktop-sdk.bst:components/wayland.bst
- freedesktop-sdk.bst:components/webrtc-audio-processing.bst
- freedesktop-sdk.bst:components/wget.bst
diff --git a/elements/sdk.bst b/elements/sdk.bst
index 42fc22e7..51c5b864 100644
--- a/elements/sdk.bst
+++ b/elements/sdk.bst
@@ -49,7 +49,7 @@ depends:
- freedesktop-sdk.bst:components/spirv-tools.bst
- freedesktop-sdk.bst:components/strace.bst
- freedesktop-sdk.bst:components/texinfo.bst
-- freedesktop-sdk.bst:components/valgrind.bst
+- freedesktop-sdk.bst:components/valgrind-maybe.bst
- freedesktop-sdk.bst:components/desktop-file-utils.bst
- freedesktop-sdk.bst:components/itstool.bst
- freedesktop-sdk.bst:components/jq.bst
diff --git a/elements/sdk/gst-plugins-bad.bst b/elements/sdk/gst-plugins-bad.bst
index 5d5beb21..de26db1d 100644
--- a/elements/sdk/gst-plugins-bad.bst
+++ b/elements/sdk/gst-plugins-bad.bst
@@ -21,7 +21,7 @@ runtime-depends:
- freedesktop-sdk.bst:components/openal.bst
- freedesktop-sdk.bst:components/orc.bst
- freedesktop-sdk.bst:components/sndfile.bst
-- freedesktop-sdk.bst:components/vulkan.bst
+- freedesktop-sdk.bst:components/vulkan-headers.bst
- freedesktop-sdk.bst:components/wayland.bst
- freedesktop-sdk.bst:components/webrtc-audio-processing.bst
- freedesktop-sdk.bst:bootstrap-import.bst
diff --git a/elements/sdk/gtk+-3.bst b/elements/sdk/gtk+-3.bst
index e0dddebd..45e53d8c 100644
--- a/elements/sdk/gtk+-3.bst
+++ b/elements/sdk/gtk+-3.bst
@@ -4,6 +4,8 @@ sources:
- kind: git_tag
url: gitlab_gnome_org:GNOME/gtk.git
track: gtk-3-24
+- kind: patch
+ path: files/gtk3-werror.patch
build-depends:
- sdk/gobject-introspection.bst
diff --git a/elements/sdk/gtk.bst b/elements/sdk/gtk.bst
index 6733837a..7d39d291 100644
--- a/elements/sdk/gtk.bst
+++ b/elements/sdk/gtk.bst
@@ -9,6 +9,7 @@ build-depends:
- sdk-deps/sassc.bst
- sdk/gobject-introspection.bst
- sdk/gtk-doc.bst
+- freedesktop-sdk.bst:components/vulkan-headers.bst
- freedesktop-sdk.bst:public-stacks/buildsystem-meson.bst
depends:
@@ -26,6 +27,8 @@ depends:
- freedesktop-sdk.bst:components/hicolor-icon-theme.bst
- freedesktop-sdk.bst:components/libepoxy.bst
- freedesktop-sdk.bst:components/libxkbcommon.bst
+- freedesktop-sdk.bst:components/vulkan-icd-loader.bst
+- freedesktop-sdk.bst:components/vulkan-validation-layers.bst
- freedesktop-sdk.bst:components/wayland-protocols.bst
- freedesktop-sdk.bst:components/wayland.bst
- freedesktop-sdk.bst:bootstrap-import.bst
diff --git a/elements/sdk/librsvg.bst b/elements/sdk/librsvg.bst
index b066fdde..dcb584fd 100644
--- a/elements/sdk/librsvg.bst
+++ b/elements/sdk/librsvg.bst
@@ -8,7 +8,7 @@ build-depends:
- sdk/gobject-introspection.bst
- sdk/gtk-doc.bst
- sdk/vala.bst
-- freedesktop-sdk.bst:extensions/rust/rust.bst
+- freedesktop-sdk.bst:components/rust.bst
- freedesktop-sdk.bst:public-stacks/buildsystem-autotools.bst
depends:
- sdk/gdk-pixbuf.bst
@@ -20,8 +20,6 @@ variables:
conf-local: >-
--disable-gtk-doc
--enable-vala
-environment:
- PATH: /usr/bin:/usr/lib/sdk/rust/bin
public:
bst:
split-rules:
diff --git a/elements/sdk/libsecret.bst b/elements/sdk/libsecret.bst
index 7e5ee804..0d6a4cef 100644
--- a/elements/sdk/libsecret.bst
+++ b/elements/sdk/libsecret.bst
@@ -7,7 +7,7 @@ build-depends:
- sdk/gobject-introspection.bst
- sdk/gtk-doc.bst
- sdk/vala.bst
-- freedesktop-sdk.bst:components/valgrind.bst
+- freedesktop-sdk.bst:components/valgrind-maybe.bst
- freedesktop-sdk.bst:public-stacks/buildsystem-meson.bst
depends:
- sdk/glib.bst
diff --git a/files/qemu/no-pie-build-error.patch b/files/qemu/no-pie-build-error.patch
new file mode 100644
index 00000000..058b29be
--- /dev/null
+++ b/files/qemu/no-pie-build-error.patch
@@ -0,0 +1,69 @@
+commit bbd2d5a8120771ec59b86a80a1f51884e0a26e53
+Author: Christian Ehrhardt <christian ehrhardt canonical com>
+Date: Mon Dec 14 16:09:38 2020 +0100
+
+ build: -no-pie is no functional linker flag
+
+ Recent binutils changes dropping unsupported options [1] caused a build
+ issue in regard to the optionroms.
+
+ ld -m elf_i386 -T /<<PKGBUILDDIR>>/pc-bios/optionrom//flat.lds -no-pie \
+ -s -o multiboot.img multiboot.o
+ ld.bfd: Error: unable to disambiguate: -no-pie (did you mean --no-pie ?)
+
+ This isn't really a regression in ld.bfd, filing the bug upstream
+ revealed that this never worked as a ld flag [2] - in fact it seems we
+ were by accident setting --nmagic).
+
+ Since it never had the wanted effect this usage of LDFLAGS_NOPIE, should be
+ droppable without any effect. This also is the only use-case of LDFLAGS_NOPIE
+ in .mak, therefore we can also remove it from being added there.
+
+ [1]: https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=983d925d
+ [2]: https://sourceware.org/bugzilla/show_bug.cgi?id=27050#c5
+
+ Signed-off-by: Christian Ehrhardt <christian ehrhardt canonical com>
+ Message-Id: <20201214150938 1297512-1-christian ehrhardt canonical com>
+ Cc: qemu-stable nongnu org
+ Signed-off-by: Paolo Bonzini <pbonzini redhat com>
+
+diff --git a/configure b/configure
+index cb21108d34..c228f7c21e 100755
+--- a/configure
++++ b/configure
+@@ -2137,7 +2137,6 @@ EOF
+ # Check we support --no-pie first; we will need this for building ROMs.
+ if compile_prog "-Werror -fno-pie" "-no-pie"; then
+ CFLAGS_NOPIE="-fno-pie"
+- LDFLAGS_NOPIE="-no-pie"
+ fi
+
+ if test "$static" = "yes"; then
+@@ -2153,7 +2152,6 @@ if test "$static" = "yes"; then
+ fi
+ elif test "$pie" = "no"; then
+ CONFIGURE_CFLAGS="$CFLAGS_NOPIE $CONFIGURE_CFLAGS"
+- CONFIGURE_LDFLAGS="$LDFLAGS_NOPIE $CONFIGURE_LDFLAGS"
+ elif compile_prog "-Werror -fPIE -DPIE" "-pie"; then
+ CONFIGURE_CFLAGS="-fPIE -DPIE $CONFIGURE_CFLAGS"
+ CONFIGURE_LDFLAGS="-pie $CONFIGURE_LDFLAGS"
+@@ -6714,7 +6712,6 @@ echo "QEMU_CXXFLAGS=$QEMU_CXXFLAGS" >> $config_host_mak
+ echo "GLIB_CFLAGS=$glib_cflags" >> $config_host_mak
+ echo "GLIB_LIBS=$glib_libs" >> $config_host_mak
+ echo "QEMU_LDFLAGS=$QEMU_LDFLAGS" >> $config_host_mak
+-echo "LDFLAGS_NOPIE=$LDFLAGS_NOPIE" >> $config_host_mak
+ echo "LD_I386_EMULATION=$ld_i386_emulation" >> $config_host_mak
+ echo "EXESUF=$EXESUF" >> $config_host_mak
+ echo "HOST_DSOSUF=$HOST_DSOSUF" >> $config_host_mak
+diff --git a/pc-bios/optionrom/Makefile b/pc-bios/optionrom/Makefile
+index 084fc10f05..30771f8d17 100644
+--- a/pc-bios/optionrom/Makefile
++++ b/pc-bios/optionrom/Makefile
+@@ -41,7 +41,6 @@ override CFLAGS += $(call cc-option, $(Wa)-32)
+
+ LD_I386_EMULATION ?= elf_i386
+ override LDFLAGS = -m $(LD_I386_EMULATION) -T $(SRC_DIR)/flat.lds
+-override LDFLAGS += $(LDFLAGS_NOPIE)
+
+ all: multiboot.bin linuxboot.bin linuxboot_dma.bin kvmvapic.bin pvh.bin
+
diff --git a/junction.refs b/junction.refs
index 436294ef..f5fe5138 100644
--- a/junction.refs
+++ b/junction.refs
@@ -1,6 +1,6 @@
projects:
gnome:
freedesktop-sdk.bst:
- - ref: freedesktop-sdk-20.08.11-0-g1cb7886b948a9f5c58475a917db2c816774e0934
+ - ref: freedesktop-sdk-20.08rc.1-1145-g490a8d63f863283842c7035d4aecb2b4478d6495
openh264-extension.bst:
- ref: openh264-2.0.0-4-0-g7191bc88fbeed3ac842543706f856cb6dde99bc9
diff --git a/project.conf b/project.conf
index 035e6263..547cf01c 100644
--- a/project.conf
+++ b/project.conf
@@ -17,6 +17,9 @@ artifacts:
fatal-warnings:
- overlaps
+(@):
+- freedesktop-sdk.bst:include/strip.yml
+
# Options to specify for the project, these provide
# command line switches which control the behavior of
# conditional directives in the element.bst files.
@@ -317,9 +320,6 @@ variables:
- arch == "ppc64le":
gcc_arch: "powerpc64le"
- (@):
- - freedesktop-sdk.bst:include/strip.yml
-
plugins:
- origin: pip
package-name: buildstream-external
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]