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 43
43
strategy :
44
44
matrix :
45
45
build_gui :
46
- - x11
46
+ - gtk3
47
+ - lucid
47
48
- pgtk
48
49
- nox
49
50
arch :
Original file line number Diff line number Diff line change 44
44
fail-fast : false
45
45
matrix :
46
46
build_gui :
47
- - x11
47
+ - gtk3
48
48
- nox
49
49
arch :
50
50
- x86_64
Original file line number Diff line number Diff line change 31
31
strategy :
32
32
matrix :
33
33
build_gui :
34
- - x11
34
+ - gtk3
35
+ - lucid
35
36
- pgtk
36
37
- nox
37
38
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
50
50
cd .. && rm -rf mps-release-1.118.0 mps-release-1.118.0.tar.gz
51
51
52
52
RUN apt-get update && apt-get install -y \
53
- xorg libx11-dev libgtk-3-dev \
53
+ xorg libx11-dev libgtk-3-dev libxaw7-dev \
54
54
libjpeg-dev libgif-dev libtiff-dev libxmp-dev \
55
55
libsqlite3-dev libmagickcore-dev libmagickwand-dev \
56
56
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
5
5
6
6
mkdir build
7
7
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
9
9
popd
10
10
11
11
docker build . # next step has no log, so build first
12
12
IMAGE_ID=$( docker build -q .)
13
13
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.
20
20
21
21
## Version string meanings
22
22
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)
24
25
- ` pgtk ` : built with PGTK GUI support, for wayland desktop
25
26
- ` nox ` : built without GUI support
26
27
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
18
18
# always add mps. it will be ignored in master branch.
19
19
ARGS+=" --with-mps"
20
20
21
- if [ " $BUILD_GUI " = " pgtk" ]; then
21
+ IS_GUI=no
22
+
23
+ if [[ " $BUILD_GUI " = " pgtk" ]]; then
24
+ IS_GUI=yes
22
25
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
24
28
ARGS+=" --with-x --without-pgtk --without-gconf --with-x-toolkit=gtk3"
25
29
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"
26
33
else
27
34
ARGS+=" --without-x --without-pgtk --without-ns"
28
35
fi
33
40
# TODO: imagemagick requires dynamic coders. we don't support them correctly now (so it cannot work correctly)
34
41
# so disable imagemagick for now
35
42
ARGS+=" --without-tiff --without-imagemagick"
36
- if [ " $BUILD_GUI " ! = " no " ]; then
43
+ if [[ " $IS_GUI " = " yes " ] ]; then
37
44
ARGS+=" --with-gif --with-png --with-rsvg --with-webp"
38
45
ARGS+=" --with-harfbuzz --with-cairo --with-libotf --without-m17n-flt"
39
46
# 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
2
2
3
3
RUN pacman-key --init \
4
4
&& pacman -Syu --noconfirm \
5
- && pacman -S --noconfirm xfce4
5
+ && pacman -S --noconfirm xfce4 libxaw
6
+
7
+ # libxaw is required by lucid build
6
8
7
9
ADD scripts /scripts
You can’t perform that action at this time.
0 commit comments