File tree Expand file tree Collapse file tree 8 files changed +23
-11
lines changed Expand file tree Collapse file tree 8 files changed +23
-11
lines changed Original file line number Diff line number Diff line change 4343 strategy :
4444 matrix :
4545 build_gui :
46- - x11
46+ - gtk3
47+ - lucid
4748 - pgtk
4849 - nox
4950 arch :
Original file line number Diff line number Diff line change 4444 fail-fast : false
4545 matrix :
4646 build_gui :
47- - x11
47+ - gtk3
4848 - nox
4949 arch :
5050 - x86_64
Original file line number Diff line number Diff line change 3131 strategy :
3232 matrix :
3333 build_gui :
34- - x11
34+ - gtk3
35+ - lucid
3536 - pgtk
3637 - nox
3738 arch :
Original file line number Diff line number Diff 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
5252RUN 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 \
Original file line number Diff line number Diff line change @@ -5,10 +5,10 @@ rm -rf ./dist ./build
55
66mkdir build
77pushd 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
99popd
1010
1111docker build . # next step has no log, so build first
1212IMAGE_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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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.
1919ARGS+=" --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"
2633else
2734 ARGS+=" --without-x --without-pgtk --without-ns"
2835fi
3340# TODO: imagemagick requires dynamic coders. we don't support them correctly now (so it cannot work correctly)
3441# so disable imagemagick for now
3542ARGS+=" --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
Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ FROM archlinux:latest
22
33RUN 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
79ADD scripts /scripts
You can’t perform that action at this time.
0 commit comments