Skip to content

Commit 967220d

Browse files
committed
Merge branch 'dev-lucid'
2 parents be95283 + 118d2e1 commit 967220d

File tree

8 files changed

+23
-11
lines changed

8 files changed

+23
-11
lines changed

.github/workflows/daily-master.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ jobs:
4343
strategy:
4444
matrix:
4545
build_gui:
46-
- x11
46+
- gtk3
47+
- lucid
4748
- pgtk
4849
- nox
4950
arch:

.github/workflows/daily-mps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
fail-fast: false
4545
matrix:
4646
build_gui:
47-
- x11
47+
- gtk3
4848
- nox
4949
arch:
5050
- x86_64

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ jobs:
3131
strategy:
3232
matrix:
3333
build_gui:
34-
- x11
34+
- gtk3
35+
- lucid
3536
- pgtk
3637
- nox
3738
arch:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ RUN wget -O mps-release-1.118.0.tar.gz https://github.com/Ravenbrook/mps/archive
5050
cd .. && rm -rf mps-release-1.118.0 mps-release-1.118.0.tar.gz
5151

5252
RUN apt-get update && apt-get install -y \
53-
xorg libx11-dev libgtk-3-dev \
53+
xorg libx11-dev libgtk-3-dev libxaw7-dev \
5454
libjpeg-dev libgif-dev libtiff-dev libxmp-dev \
5555
libsqlite3-dev libmagickcore-dev libmagickwand-dev \
5656
libwebp-dev libotf-dev libcairo-dev libjansson-dev \

local-run.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ rm -rf ./dist ./build
55

66
mkdir build
77
pushd build
8-
git clone -b emacs-29.4 --depth 1 https://github.com/emacs-mirror/emacs emacs-src
8+
git clone -b emacs-30.1 --depth 1 https://github.com/emacs-mirror/emacs emacs-src
99
popd
1010

1111
docker build . # next step has no log, so build first
1212
IMAGE_ID=$(docker build -q .)
1313

14-
./build.sh "$IMAGE_ID" ./build/emacs-src BUILD_GUI=x11 BUILD_NATIVE_COMP=no
14+
./build.sh "$IMAGE_ID" ./build/emacs-src BUILD_GUI=lucid BUILD_NATIVE_COMP=no

readme.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ This repo builds Emacs as AppImages for x86-64 & aarch64 linux systems.
2020

2121
## Version string meanings
2222

23-
- `x11`: built with X11 GUI support
23+
- `gtk3` (or `x11` in legacy builds): built with X11 GTK3 toolkit (requires gtk3 libraries installed)
24+
- `lucid`: built with X11 lucid toolkit (requires libxaw installed)
2425
- `pgtk`: built with PGTK GUI support, for wayland desktop
2526
- `nox`: built without GUI support
2627

scripts/build_emacs_in_docker.sh

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,18 @@ ARGS+=" --with-dbus --with-xml2 --with-modules --with-libgmp --with-gpm --with-l
1818
# always add mps. it will be ignored in master branch.
1919
ARGS+=" --with-mps"
2020

21-
if [ "$BUILD_GUI" = "pgtk" ]; then
21+
IS_GUI=no
22+
23+
if [[ "$BUILD_GUI" = "pgtk" ]]; then
24+
IS_GUI=yes
2225
ARGS+=" --with-pgtk --without-x --without-gconf --without-ns"
23-
elif [ "$BUILD_GUI" = "x11" ]; then
26+
elif [[ "$BUILD_GUI" = "x11" || "$BUILD_GUI" = "gtk3" ]]; then
27+
IS_GUI=yes
2428
ARGS+=" --with-x --without-pgtk --without-gconf --with-x-toolkit=gtk3"
2529
ARGS+=" --with-xft"
30+
elif [[ "$BUILD_GUI" = "lucid" ]]; then
31+
IS_GUI=yes
32+
ARGS+=" --with-x --without-pgtk --without-gconf --with-x-toolkit=lucid"
2633
else
2734
ARGS+=" --without-x --without-pgtk --without-ns"
2835
fi
@@ -33,7 +40,7 @@ fi
3340
# TODO: imagemagick requires dynamic coders. we don't support them correctly now (so it cannot work correctly)
3441
# so disable imagemagick for now
3542
ARGS+=" --without-tiff --without-imagemagick"
36-
if [ "$BUILD_GUI" != "no" ]; then
43+
if [[ "$IS_GUI" = "yes" ]]; then
3744
ARGS+=" --with-gif --with-png --with-rsvg --with-webp"
3845
ARGS+=" --with-harfbuzz --with-cairo --with-libotf --without-m17n-flt"
3946
# use static lib for libjpeg, to prevent incompatible libjpeg.so version because it's depend by gtk

tests/Dockerfile.archlinux

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ FROM archlinux:latest
22

33
RUN pacman-key --init \
44
&& pacman -Syu --noconfirm \
5-
&& pacman -S --noconfirm xfce4
5+
&& pacman -S --noconfirm xfce4 libxaw
6+
7+
# libxaw is required by lucid build
68

79
ADD scripts /scripts

0 commit comments

Comments
 (0)