hash 已修改 . 還原成這個修訂版本
4 files changed, 92 insertions
build.sh(檔案已創建)
| @@ -0,0 +1,20 @@ | |||
| 1 | + | #!/bin/sh | |
| 2 | + | ||
| 3 | + | ./configure \ | |
| 4 | + | --disable-gc-mark-trace \ | |
| 5 | + | --with-cairo \ | |
| 6 | + | --with-dbus \ | |
| 7 | + | --with-gif \ | |
| 8 | + | --with-gpm=no \ | |
| 9 | + | --with-harfbuzz \ | |
| 10 | + | --with-jpeg \ | |
| 11 | + | --with-modules \ | |
| 12 | + | --with-native-compilation=aot \ | |
| 13 | + | --with-pgtk \ | |
| 14 | + | --with-png \ | |
| 15 | + | --with-rsvg \ | |
| 16 | + | --with-sqlite3 \ | |
| 17 | + | --with-tiff \ | |
| 18 | + | --with-tree-sitter \ | |
| 19 | + | --with-webp \ | |
| 20 | + | --with-xpm \ | |
deps.txt(檔案已創建)
| @@ -0,0 +1,38 @@ | |||
| 1 | + | alsa-lib-devel | |
| 2 | + | atk-devel | |
| 3 | + | autoconf | |
| 4 | + | bzip2 | |
| 5 | + | cairo | |
| 6 | + | cairo-devel | |
| 7 | + | dbus-devel | |
| 8 | + | desktop-file-utils | |
| 9 | + | fontconfig-devel | |
| 10 | + | freetype-devel | |
| 11 | + | gcc | |
| 12 | + | giflib-devel | |
| 13 | + | glibc-devel | |
| 14 | + | gnupg2 | |
| 15 | + | gnutls-devel | |
| 16 | + | gtk3-devel | |
| 17 | + | gzip | |
| 18 | + | harfbuzz-devel | |
| 19 | + | libacl-devel | |
| 20 | + | libappstream-glib | |
| 21 | + | libgccjit-devel | |
| 22 | + | libjpeg-turbo | |
| 23 | + | libjpeg-turbo-devel | |
| 24 | + | libotf-devel | |
| 25 | + | libpng-devel | |
| 26 | + | librsvg2-devel | |
| 27 | + | libselinux-devel | |
| 28 | + | libtiff-devel | |
| 29 | + | libtree-sitter-devel | |
| 30 | + | libwebp-devel | |
| 31 | + | libxml2-devel | |
| 32 | + | m17n-lib-devel | |
| 33 | + | make | |
| 34 | + | ncurses-devel | |
| 35 | + | sqlite-devel | |
| 36 | + | systemd-devel | |
| 37 | + | texinfo | |
| 38 | + | zlib-devel | |
emacs.desktop(檔案已創建)
| @@ -0,0 +1,12 @@ | |||
| 1 | + | [Desktop Entry] | |
| 2 | + | Name=Emacs | |
| 3 | + | GenericName=Text Editor | |
| 4 | + | Comment=Edit text | |
| 5 | + | MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++; | |
| 6 | + | Exec=toolbox run --container main emacs %F | |
| 7 | + | Icon=emacs | |
| 8 | + | Type=Application | |
| 9 | + | Terminal=false | |
| 10 | + | Categories=Development;TextEditor; | |
| 11 | + | StartupNotify=true | |
| 12 | + | StartupWMClass=Emacs | |
emacsclient.desktop(檔案已創建)
| @@ -0,0 +1,22 @@ | |||
| 1 | + | [Desktop Entry] | |
| 2 | + | Name=Emacs (Client) | |
| 3 | + | GenericName=Text Editor | |
| 4 | + | Comment=Edit text | |
| 5 | + | MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;x-scheme-handler/org-protocol; | |
| 6 | + | Exec=toolbox run --container main sh -c "if [ -n \\"\\$*\\" ]; then exec /usr/local/bin/emacsclient --alternate-editor= --reuse-frame \\"\\$@\\"; else exec emacsclient --alternate-editor= --create-frame; fi" sh %F | |
| 7 | + | Icon=emacs | |
| 8 | + | Type=Application | |
| 9 | + | Terminal=false | |
| 10 | + | Categories=Development;TextEditor; | |
| 11 | + | StartupNotify=true | |
| 12 | + | StartupWMClass=Emacs | |
| 13 | + | Keywords=emacsclient; | |
| 14 | + | Actions=new-window;new-instance; | |
| 15 | + | ||
| 16 | + | [Desktop Action new-window] | |
| 17 | + | Name=New Window | |
| 18 | + | Exec=toolbox run --container main /usr/local/bin/emacsclient --alternate-editor= --create-frame %F | |
| 19 | + | ||
| 20 | + | [Desktop Action new-instance] | |
| 21 | + | Name=New Instance | |
| 22 | + | Exec=toolbox run --container main emacs %F | |