Skip to content

Commit 3d2eb57

Browse files
Merge branch 'gnome-46-2404-sdk' into disable-tests-and-docs-enable-introspection-and-vapi
2 parents fd6e769 + 0f79e38 commit 3d2eb57

File tree

1 file changed

+32
-35
lines changed

1 file changed

+32
-35
lines changed

snapcraft.yaml

Lines changed: 32 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,15 @@ parts:
2929
build-environment: &buildenv
3030
- ACLOCAL_PATH: $CRAFT_STAGE/usr/share/aclocal
3131
- XDG_DATA_DIRS: $CRAFT_STAGE/usr/share:/usr/share
32-
- LD_LIBRARY_PATH: $CRAFT_STAGE/usr/lib/vala-0.56:$CRAFT_STAGE/usr/lib:$CRAFT_STAGE/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
32+
- LD_LIBRARY_PATH: "$CRAFT_STAGE/usr/lib/vala-0.56:\
33+
$CRAFT_STAGE/usr/lib:\
34+
$CRAFT_STAGE/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR\
35+
${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
3336
- GDK_PIXBUF_MODULE_FILE: $CRAFT_STAGE/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/gdk-pixbuf-2.0/2.10.0/loaders.cache
34-
- PKG_CONFIG_PATH: $CRAFT_STAGE/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/pkgconfig:$CRAFT_STAGE/usr/lib/pkgconfig:$CRAFT_STAGE/usr/share/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH}
37+
- PKG_CONFIG_PATH: "$CRAFT_STAGE/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/pkgconfig:\
38+
$CRAFT_STAGE/usr/lib/pkgconfig:\
39+
$CRAFT_STAGE/usr/share/pkgconfig\
40+
${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH}"
3541
- CRAFT_EXT_CORE_LEVEL: core24
3642

3743
ninja:
@@ -58,7 +64,7 @@ parts:
5864
after: [ ninja ]
5965
plugin: nil
6066
source: https://github.com/mesonbuild/meson.git
61-
source-tag: '1.5.2'
67+
source-tag: '1.6.0'
6268
source-depth: 1
6369
override-build: |
6470
python3 -m pip install --break-system-packages .
@@ -108,7 +114,7 @@ parts:
108114
glib:
109115
after: [ libffi, meson-deps ]
110116
source: https://gitlab.gnome.org/GNOME/glib.git
111-
source-tag: '2.82.1'
117+
source-tag: '2.82.2'
112118
# ext:updatesnap
113119
# version-format:
114120
# ignore-odd-minor: true
@@ -138,7 +144,7 @@ parts:
138144
pixman:
139145
after: [ glib, meson-deps ]
140146
source: https://gitlab.freedesktop.org/pixman/pixman.git
141-
source-tag: 'pixman-0.43.4'
147+
source-tag: 'pixman-0.44.2'
142148
# ext:updatesnap
143149
# version-format:
144150
# format: 'pixman-%M.%m.%R'
@@ -265,7 +271,7 @@ parts:
265271
harfbuzz:
266272
after: [ fribidi, meson-deps ]
267273
source: https://github.com/harfbuzz/harfbuzz.git
268-
source-tag: '10.0.1' # developers declared that they won't break ABI
274+
source-tag: '10.1.0' # developers declared that they won't break ABI
269275
source-depth: 1
270276
plugin: meson
271277
meson-parameters:
@@ -298,7 +304,7 @@ parts:
298304
pango:
299305
after: [ libffi, harfbuzz, meson-deps ]
300306
source: https://gitlab.gnome.org/GNOME/pango.git
301-
source-tag: '1.54.0'
307+
source-tag: '1.55.0'
302308
source-depth: 1
303309
plugin: meson
304310
meson-parameters:
@@ -351,36 +357,27 @@ parts:
351357
- libtiff-dev
352358

353359
librsvg:
354-
after: [ gdk-pixbuf, vala, meson-deps ]
360+
after: [ gdk-pixbuf, vala ]
355361
source: https://gitlab.gnome.org/GNOME/librsvg.git
356-
source-tag: '2.59.1' # they left the odd->unstable even->stable scheme, and now tags are stable
362+
source-tag: '2.58.5' # they left the odd->unstable even->stable scheme, and now all tags are stable
357363
# ext:updatesnap
358364
# version-format:
359365
# no-9x-revisions: true
360366
source-depth: 1
361-
plugin: meson
362-
meson-parameters:
367+
plugin: autotools
368+
autotools-configure-parameters:
363369
- --prefix=/usr
364-
- -Doptimization=3
365-
- -Ddebug=true
366-
- -Dintrospection=enabled
367-
- -Dvala=enabled
368-
- -Dpixbuf=enabled
369-
- -Dpixbuf-loader=enabled
370-
- -Ddocs=disabled
371-
- -Dtests=false
370+
- --enable-introspection=yes
371+
- --enable-vala=yes
372+
- --enable-pixbuf-loader
372373
build-environment: *buildenv
373374
build-packages:
374-
- libssl-dev
375-
- curl
376-
override-pull: |
375+
- cargo
376+
override-stage: |
377+
set -eux
377378
craftctl default
378-
# cargo version in .deb is too old
379-
curl https://sh.rustup.rs -sSf > cargo.sh
380-
sh ./cargo.sh -y
381-
export PATH=$PATH:$HOME/.cargo/bin
382-
~/.cargo/bin/cargo install cargo-c
383-
cp ~/.cargo/bin/* /usr/local/bin
379+
# snapcraft is adding twice $CRAFT_STAGE
380+
cp -a $CRAFT_STAGE/$CRAFT_STAGE/* $CRAFT_STAGE/
384381
385382
epoxy:
386383
after: [ librsvg, meson-deps ]
@@ -439,7 +436,7 @@ parts:
439436
libsoup3:
440437
after: [ libpsl, meson-deps ]
441438
source: https://gitlab.gnome.org/GNOME/libsoup.git
442-
source-tag: '3.6.0'
439+
source-tag: '3.6.1'
443440
source-depth: 1
444441
plugin: meson
445442
meson-parameters:
@@ -542,7 +539,7 @@ parts:
542539
gtk4:
543540
after: [ wayland-protocols, meson-deps ]
544541
source: https://gitlab.gnome.org/GNOME/gtk.git
545-
source-tag: '4.16.3'
542+
source-tag: '4.16.7'
546543
# ext:updatesnap
547544
# version-format:
548545
# ignore-odd-minor: true
@@ -608,7 +605,7 @@ parts:
608605
609606
libadwaita:
610607
source: https://gitlab.gnome.org/GNOME/libadwaita.git
611-
source-tag: '1.6.1'
608+
source-tag: '1.6.2'
612609
source-depth: 1
613610
after: [ meson-deps, gtk4 ]
614611
plugin: meson
@@ -812,7 +809,7 @@ parts:
812809
gtksourceview:
813810
after: [ gtkmm, meson-deps ]
814811
source: https://gitlab.gnome.org/GNOME/gtksourceview.git
815-
source-tag: '5.14.1'
812+
source-tag: '5.14.2'
816813
# ext:updatesnap
817814
# version-format:
818815
# ignore-odd-minor: true
@@ -954,7 +951,7 @@ parts:
954951
after: [ cogl, meson-deps ]
955952
source: https://github.com/linuxwacom/libwacom
956953
source-type: git
957-
source-tag: 'libwacom-2.13.0'
954+
source-tag: 'libwacom-2.14.0'
958955
# ext:updatesnap
959956
# version-format:
960957
# format: 'libwacom-%M.%m.%R'
@@ -1368,6 +1365,7 @@ parts:
13681365
- libglut-dev
13691366
- gcc
13701367
- gettext
1368+
- heif-gdk-pixbuf
13711369
- itstool
13721370
- libappstream5
13731371
- libblkid1
@@ -1413,6 +1411,7 @@ parts:
14131411
- libgraphviz-dev
14141412
- libhogweed6t64
14151413
- libgpg-error0
1414+
- libheif-dev
14161415
- libidn2-0
14171416
- libjpeg-dev
14181417
- libkrb5-3
@@ -1568,8 +1567,6 @@ parts:
15681567
sed -i 's#includedir=${prefix}/snap/gnome-46-2404-sdk/current#includedir=${prefix}#' $CRAFT_PRIME/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/pkgconfig/igdgmm.pc
15691568
fi
15701569
1571-
sed -i 's#/usr/bin/python#python3#' usr/bin/glib-mkenums
1572-
15731570
LIBTOOLIZE=usr/bin/libtoolize
15741571
sed -i 's#pkgauxdir="$CRAFT_STAGE#pkgauxdir="/snap/gnome-46-2404-sdk/current#' $LIBTOOLIZE
15751572
sed -i 's#pkgltdldir="$CRAFT_STAGE#pkgltdldir="/snap/gnome-46-2404-sdk/current#' $LIBTOOLIZE

0 commit comments

Comments
 (0)