2
2
3
3
In this fork, I'm working to make Emacs support pure-gtk3, in order to support Wayland.
4
4
5
- Maybe It's only for Wayland now.
6
-
7
- The work is in progress.
8
-
9
5
## Building
10
6
11
7
You need cairo.
@@ -73,26 +69,6 @@ Not implemented:
73
69
74
70
Those may not be developed because I don' t use them.
75
71
76
- # # ImageMagick
77
-
78
- Emacs doesn' t support ImageMagick 7.
79
-
80
- I wrote this code in configure.ac:
81
-
82
- ```sh
83
- if test $HAVE_IMAGEMAGICK != yes; then
84
- IMAGEMAGICK_MODULE="MagickWand-6.Q16HDRI >= 6.3.5 MagickWand-6.Q16HDRI != 6.8.2 MagickWand-6.Q16HDRI < 7 MagickCore-6.Q16HDRI >= 6.9.9 MagickCore-6.Q16HDRI < 7"
85
- EMACS_CHECK_MODULES([IMAGEMAGICK], [$IMAGEMAGICK_MODULE])
86
- fi
87
- ```
88
-
89
- However, MagickWand-6.Q16HDRI requires MagickCore, which may be ImageMagick 7.
90
- So, you may need to fix `Requires:` in `/usr/lib/pkgconfig/MagickWand-6.Q16HDRI.pc`:
91
-
92
- ```
93
- Requires: MagickCore-6.Q16HDRI
94
- ```
95
-
96
72
# # Debugging
97
73
98
74
Edit src/pgtkterm.h to uncomment:
@@ -101,7 +77,7 @@ Edit src/pgtkterm.h to uncomment:
101
77
# define PGTK_DEBUG 1
102
78
` ` `
103
79
104
- It enables so many debugging outputs.
80
+ It enables so much debugging outputs.
105
81
106
82
On gdb, you may want to do:
107
83
@@ -111,13 +87,13 @@ On gdb, you may want to do:
111
87
112
88
# # Supporting Color Emoji Fonts
113
89
114
- By default, color fonts are ignored for stability .
90
+ By default, color fonts are ignored.
115
91
116
92
To use them, you can write this code in ` ~/.emacs` :
117
93
118
94
` ` ` elisp
119
- (if (featurep ' pgtk)
120
- (setq xft-ignore-color-fonts nil))
95
+ (when (featurep ' pgtk)
96
+ (setq xft-ignore-color-fonts nil))
121
97
```
122
98
123
99
Changing this variable on the fly may not work.
@@ -127,14 +103,15 @@ You may need build and install cairo from git repo. 1.15.12 is insufficient.
127
103
## My Environment
128
104
129
105
- archlinux
130
- - gtk+-3.22.30
131
- - glib-2.56.1
132
- - gnome-shell 3.28.1
133
- - gcc 7.3.1
134
- - wayland 1.14.0
135
- - wayland-protocols 1.13
136
- - cairo 1.15.12
137
- - freetype2 2.9
106
+ - gtk+ 3.24.8
107
+ - glib2 2.60.2
108
+ - gnome-shell 3.32.2
109
+ - gcc 8.3.0
110
+ - wayland 1.17.0
111
+ - wayland-protocols 1.17
112
+ - cairo 1.16.0
113
+ - freetype2 2.10.0
114
+ - imagemagick 7.0.8.45
138
115
139
116
## Notice
140
117
0 commit comments