-
Notifications
You must be signed in to change notification settings - Fork 2
chore(ci): import glib2, libxkbcommon, libstdc++6 #1447
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
nevermarine
wants to merge
37
commits into
main
Choose a base branch
from
chore/ci/import-glib2
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
35e7033
chore(ci): import glib2
nevermarine 5e2a2bb
add glib2 to more libs and images
nevermarine ef5d584
remove glib entirely from p11-kit
nevermarine 98e9ac8
util-linux
nevermarine eeaa28f
add glib2 to more libs
nevermarine 5c42a5c
add util-linux to libjson-glib
nevermarine d482e1f
fix template
nevermarine 527b7f0
debug qemu
nevermarine 508d612
fix qemu
nevermarine e028c4b
Merge branch 'main' into chore/ci/import-glib2
nevermarine 307df64
fix libgio
nevermarine 23af855
add xkbcommon
nevermarine 8d19f68
add version
nevermarine b35c78f
add bison
nevermarine c6917a8
add xcb
nevermarine 96f7655
rm -rf /usr/share
nevermarine f1aa85f
import libxkbcommon
nevermarine 75bf9b1
libxkbcommon readme
nevermarine 499f5dc
add gcc tree hp
nevermarine 72acea1
add libgcc1 to qemu
nevermarine e138d48
Merge branch 'main' into chore/ci/import-glib2
nevermarine 2242cfc
fix
nevermarine 422b148
add libgcc1 to nbdkit
nevermarine ab7a996
update readme
nevermarine e1d9afd
add libffi
nevermarine 149c47d
add openssl
nevermarine 9b7f9e8
resolve comments
nevermarine 2f2c3f9
fix selinux version
nevermarine e8ae93d
remove glib2 from selinux
nevermarine d93b90f
debug libselinux
nevermarine bef3a70
return libfuse to swtpm
nevermarine 527000c
update selinux readme
nevermarine 3ba2016
add libxml2 to virt-launcher
nevermarine f36eafd
Merge branch 'main' into chore/ci/import-glib2
nevermarine 01f03fb
fix build
nevermarine db4d2db
add gnutls
nevermarine 1de2da4
Merge branch 'main' into chore/ci/import-glib2
nevermarine File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# libxkbcommon | ||
``` | ||
└── [drwxr-xr-x 6] usr | ||
├── [drwxr-xr-x 3] bin | ||
│ └── [-rwxr-xr-x 23K] xkbcli | ||
├── [drwxr-xr-x 3] include | ||
│ └── [drwxr-xr-x 9] xkbcommon | ||
│ ├── [-rw-r--r-- 3.1K] xkbcommon-compat.h | ||
│ ├── [-rw-r--r-- 19K] xkbcommon-compose.h | ||
│ ├── [-rw-r--r-- 244K] xkbcommon-keysyms.h | ||
│ ├── [-rw-r--r-- 3.8K] xkbcommon-names.h | ||
│ ├── [-rw-r--r-- 8.0K] xkbcommon-x11.h | ||
│ ├── [-rw-r--r-- 72K] xkbcommon.h | ||
│ └── [-rw-r--r-- 24K] xkbregistry.h | ||
├── [drwxr-xr-x 12] lib64 | ||
│ ├── [lrwxrwxrwx 21] libxkbcommon-x11.so -> libxkbcommon-x11.so.0 | ||
│ ├── [lrwxrwxrwx 26] libxkbcommon-x11.so.0 -> libxkbcommon-x11.so.0.10.0 | ||
│ ├── [-rwxr-xr-x 51K] libxkbcommon-x11.so.0.10.0 | ||
│ ├── [lrwxrwxrwx 17] libxkbcommon.so -> libxkbcommon.so.0 | ||
│ ├── [lrwxrwxrwx 22] libxkbcommon.so.0 -> libxkbcommon.so.0.10.0 | ||
│ ├── [-rwxr-xr-x 416K] libxkbcommon.so.0.10.0 | ||
│ ├── [lrwxrwxrwx 19] libxkbregistry.so -> libxkbregistry.so.0 | ||
│ ├── [lrwxrwxrwx 24] libxkbregistry.so.0 -> libxkbregistry.so.0.10.0 | ||
│ ├── [-rwxr-xr-x 43K] libxkbregistry.so.0.10.0 | ||
│ └── [drwxr-xr-x 5] pkgconfig | ||
│ ├── [-rw-r--r-- 291] xkbcommon-x11.pc | ||
│ ├── [-rw-r--r-- 202] xkbcommon.pc | ||
│ └── [-rw-r--r-- 269] xkbregistry.pc | ||
└── [drwxr-xr-x 3] libexec | ||
└── [drwxr-xr-x 11] xkbcommon | ||
├── [-rwxr-xr-x 27K] xkbcli-compile-compose | ||
├── [-rwxr-xr-x 31K] xkbcli-compile-keymap | ||
├── [-rwxr-xr-x 47K] xkbcli-dump-keymap-wayland | ||
├── [-rwxr-xr-x 23K] xkbcli-dump-keymap-x11 | ||
├── [-rwxr-xr-x 31K] xkbcli-how-to-type | ||
├── [-rwxr-xr-x 31K] xkbcli-interactive-evdev | ||
├── [-rwxr-xr-x 47K] xkbcli-interactive-wayland | ||
├── [-rwxr-xr-x 27K] xkbcli-interactive-x11 | ||
└── [-rwxr-xr-x 19K] xkbcli-list | ||
|
||
9 directories, 29 files | ||
``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
--- | ||
image: {{ .ModuleNamePrefix }}{{ .PackagePath }}/{{ .ImageName }} | ||
final: false | ||
fromImage: builder/scratch | ||
import: | ||
- image: {{ .ModuleNamePrefix }}{{ .PackagePath }}/{{ .ImageName }}-builder | ||
add: /out | ||
to: /{{ $.ImageName }} | ||
before: setup | ||
|
||
--- | ||
{{- $version := get .PackageVersion .ImageName }} | ||
{{- $gitRepoUrl := "xkbcommon/libxkbcommon.git" }} | ||
image: {{ .ModuleNamePrefix }}{{ .PackagePath }}/{{ .ImageName }}-src-artifact | ||
final: false | ||
fromImage: builder/src | ||
secrets: | ||
- id: SOURCE_REPO | ||
value: {{ $.SOURCE_REPO_GIT }} | ||
shell: | ||
install: | ||
- | | ||
git clone --depth=1 $(cat /run/secrets/SOURCE_REPO)/{{ $gitRepoUrl }} --branch {{ $version }} /src | ||
|
||
--- | ||
|
||
{{- $name := print $.ImageName "-dependencies" -}} | ||
{{- define "$name" -}} | ||
altPackages: | ||
- gcc git make libtool gettext-tools meson ninja-build bison | ||
- xkeyboard-config-devel | ||
- wayland-devel libwayland-client-devel wayland-protocols | ||
- libxcb-devel | ||
- bash-completion | ||
- tree | ||
packages: | ||
- libxml2 | ||
{{- end -}} | ||
|
||
{{ $builderDependencies := include "$name" . | fromYaml }} | ||
|
||
|
||
image: {{ .ModuleNamePrefix }}{{ .PackagePath }}/{{ .ImageName }}-builder | ||
final: false | ||
fromImage: builder/alt | ||
secrets: | ||
- id: SOURCE_REPO | ||
value: {{ $.SOURCE_REPO_GIT }} | ||
import: | ||
- image: {{ .ModuleNamePrefix }}{{ .PackagePath }}/{{ .ImageName }}-src-artifact | ||
add: /src | ||
to: /src | ||
before: install | ||
{{- include "importPackageImages" (list . $builderDependencies.packages "install") -}} | ||
shell: | ||
beforeInstall: | ||
{{- include "alt packages proxy" . | nindent 2 }} | ||
- | | ||
apt-get install -y \ | ||
{{ $builderDependencies.altPackages | join " " }} | ||
|
||
{{- include "alt packages clean" . | nindent 2 }} | ||
|
||
install: | ||
- | | ||
# Install packages | ||
PKGS="{{ $builderDependencies.packages | join " " }}" | ||
for pkg in $PKGS; do | ||
cp -a /$pkg/. / | ||
rm -rf /$pkg | ||
done | ||
|
||
OUTDIR=/out | ||
cd /src | ||
mkdir _build | ||
/usr/bin/meson setup _build \ | ||
--prefix=/usr \ | ||
--libdir=/usr/lib64 \ | ||
--wrap-mode=nofallback \ | ||
--wrap-mode=nodownload \ | ||
-Denable-docs=false \ | ||
-Denable-x11=true \ | ||
-Denable-xkbregistry=true \ | ||
-Ddefault_library=shared | ||
|
||
ninja-build -j$(nproc) -C _build | ||
DESTDIR=$OUTDIR ninja-build install -C _build | ||
rm -rf $OUTDIR/usr/share | ||
find $OUTDIR -type f -executable | while read -r execfile; do | ||
if strip "$execfile"; then | ||
echo "Stripped: $execfile" | ||
fi | ||
done | ||
tree -hp $OUTDIR | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,6 +43,7 @@ packages: | |
- zstd | ||
- libxml2 | ||
- libtasn1 | ||
- libgcc1 | ||
- libunistring | ||
{{- end -}} | ||
|
||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.