1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
6 VARIANTS= standard desktop
7 SDESC[desktop]= GNU Emacs text editor with X11 support
8 SDESC[standard]= GNU Emacs text editor
9 HOMEPAGE= https://www.gnu.org/software/emacs/
13 SITES[main]= GNU/emacs
14 DISTFILE[1]= emacs-29.2.tar.xz:main
16 SPKGS[desktop]= complete
19 SPKGS[standard]= complete
23 OPTIONS_AVAILABLE= X11GTK
24 OPTIONS_STANDARD= none
25 VOPTS[desktop]= X11GTK=ON
27 BUILD_DEPENDS= gnutls:dev:standard
28 BUILDRUN_DEPENDS= gnutls:primary:standard
29 libsoup-2.4:dev:standard
30 RUN_DEPENDS= coreutils:primary:standard
35 USERGROUP_SPKG= primary
37 USES= cpe gmake makeinfo ncurses pkgconfig zlib
39 GNOME_COMPONENTS= libxml2
41 LICENSE= GPLv3+:primary
42 LICENSE_TERMS= primary:{{WRKDIR}}/TERMS
43 LICENSE_FILE= GPLv3+:{{WRKSRC}}/COPYING
44 LICENSE_AWK= TERMS:"EMACS_COMMANDS_H"
45 LICENSE_SOURCE= TERMS:{{WRKSRC}}/src/commands.h
116 FPC_EQUIVALENT= editors/emacs
117 INFO_PATH= share/emacs/info
121 CONFIGURE_ARGS= --localstatedir=/var
122 --with-gameuser=games:games
128 INSTALL_REQ_TOOLCHAIN= yes
129 PLIST_SUB= VERSION=29.2
130 GNU_HOST={{CONFIGURE_TARGET}}
132 VAR_OPSYS[freebsd]= VAR1=--with-file-notification=kqueue
133 VAR2=--with-sound=oss
134 VAR_OPSYS[dragonfly]= VAR1=--with-file-notification=kqueue
135 VAR2=--with-sound=oss
137 [X11GTK].DESCRIPTION= X window system support (through GTK3)
138 [X11GTK].BUILDRUN_DEPENDS_ON= m17n-lib:primary:standard
139 webkit2:complete:api40
140 [X11GTK].BUILD_DEPENDS_ON= harfbuzz:dev:standard
141 m17n-lib:dev:standard
142 [X11GTK].CONFIGURE_ARGS_ON= --with-x-toolkit=gtk3
145 [X11GTK].CONFIGURE_WITH_BOTH= cairo
159 [X11GTK].GNOME_COMPONENTS_ON= cairo
162 [X11GTK].USES_ON= png
170 [X11GTK].XORG_COMPONENTS_ON= xft
182 ${RM} ${WRKSRC}/doc/man/ctags.1
184 post-patch-X11GTK-OFF:
185 ${REINPLACE_CMD} -i'' -e 's/^Terminal=.*$$/Terminal=true/' \
186 ${WRKSRC}/etc/emacs.desktop
188 post-install-freebsd:
189 ${RM} -r ${STAGEDIR}${PREFIX}/lib/systemd
191 post-install-midnightbsd:
192 ${RM} -r ${STAGEDIR}${PREFIX}/lib/systemd
194 post-install-dragonfly:
195 ${RM} -r ${STAGEDIR}${PREFIX}/lib/systemd
198 # Hash constantly changes, so add this file dynamically
199 (cd ${STAGEDIR}${PREFIX} && \
200 ${FIND} libexec -type f -name "emacs*[.]pdmp" \
201 >> ${WRKDIR}/.manifest.primary.mktmp)
204 ${RM} -r ${STAGEDIR}${PREFIX}/lib/systemd
207 ${RM} -r ${STAGEDIR}${PREFIX}/lib/systemd
210 ${RM} -r ${STAGEDIR}${PREFIX}/lib/systemd
212 [FILE:642:descriptions/desc.primary]
213 GNU Emacs is a self-documenting, customizable, extensible real-time display
216 Users new to Emacs will be able to use basic features fairly rapidly by
217 studying the tutorial and using the self-documentation features. Emacs also
218 has an extensive interactive manual browser. It is easily extensible since
219 its editing commands are written in Lisp.
221 GNU Emacs's many special packages handle mail reading (RMail) and sending
222 (Mail), outline editing (Outline), compiling (Compile), running subshells
223 within Emacs windows (Shell), running a Lisp read-eval-print loop
224 (Lisp-Interaction-Mode), automated psychotherapy (Doctor :-) and many more.
228 7d3d2448988720bf4bf57ad77a5a08bf22df26160f90507a841ba986be2670dc 52162080 emacs-29.2.tar.xz
231 [FILE:64661:manifests/plist.primary]
232 @comment hash-changes;autoplist libexec/emacs/%%VERSION%%/%%GNU_HOST%%/emacs-???.pdmp
233 %%ONLY-LINUX%%lib/systemd/user/emacs.service
234 @(games,games,0664) /var/games/emacs/snake-scores
235 @(games,games,0664) /var/games/emacs/tetris-scores
242 include/emacs-module.h
243 libexec/emacs/%%VERSION%%/%%GNU_HOST%%/
247 @(games,games,4555) libexec/emacs/%%VERSION%%/%%GNU_HOST%%/update-game-score
251 emacsclient-mail.desktop
253 share/emacs/%%VERSION%%/etc/
299 emacsclient-mail.desktop
305 org.gnu.emacs.defaults.gschema.xml
315 share/emacs/%%VERSION%%/etc/charsets/
448 share/emacs/%%VERSION%%/etc/e/
453 share/emacs/%%VERSION%%/etc/forms/
458 share/emacs/%%VERSION%%/etc/gnus/
461 share/emacs/%%VERSION%%/etc/images/
569 sort-column-ascending.pbm
570 sort-column-ascending.xpm
575 sort-row-ascending.pbm
576 sort-row-ascending.xpm
598 share/emacs/%%VERSION%%/etc/images/custom/
608 share/emacs/%%VERSION%%/etc/images/ezimage/
664 share/emacs/%%VERSION%%/etc/images/gnus/
684 toggle-subscription.pbm
685 toggle-subscription.xpm
686 share/emacs/%%VERSION%%/etc/images/gud/
744 share/emacs/%%VERSION%%/etc/images/icons/README
745 share/emacs/%%VERSION%%/etc/images/icons/allout-widgets/dark-bg/
752 extender-connector.png
753 extender-connector.xpm
764 through-descender.png
765 through-descender.xpm
766 unlocked-encrypted.png
767 unlocked-encrypted.xpm
768 share/emacs/%%VERSION%%/etc/images/icons/allout-widgets/light-bg/
775 extender-connector.png
776 extender-connector.xpm
787 through-descender.png
788 through-descender.xpm
789 unlocked-encrypted.png
790 unlocked-encrypted.xpm
791 share/emacs/%%VERSION%%/etc/images/icons/hicolor/128x128/apps/
794 share/emacs/%%VERSION%%/etc/images/icons/hicolor/16x16/apps/
798 share/emacs/%%VERSION%%/etc/images/icons/hicolor/24x24/apps/
802 share/emacs/%%VERSION%%/etc/images/icons/hicolor/32x32/apps/
806 share/emacs/%%VERSION%%/etc/images/icons/hicolor/48x48/apps/
810 share/emacs/%%VERSION%%/etc/images/icons/hicolor/scalable/apps/
814 share/emacs/%%VERSION%%/etc/images/icons/hicolor/scalable/mimetypes/
817 share/emacs/%%VERSION%%/etc/images/low-color/
843 share/emacs/%%VERSION%%/etc/images/mail/
849 flag-for-followup.pbm
850 flag-for-followup.xpm
879 share/emacs/%%VERSION%%/etc/images/mpc/
897 share/emacs/%%VERSION%%/etc/images/newsticker/
911 share/emacs/%%VERSION%%/etc/images/smilies/
937 share/emacs/%%VERSION%%/etc/images/smilies/grayscale/
952 share/emacs/%%VERSION%%/etc/images/smilies/medium/
967 share/emacs/%%VERSION%%/etc/images/tabs/
973 share/emacs/%%VERSION%%/etc/images/tree-widget/default/
995 share/emacs/%%VERSION%%/etc/images/tree-widget/folder/
1017 share/emacs/%%VERSION%%/etc/nxml/
1021 share/emacs/%%VERSION%%/etc/org/
1022 OrgOdtContentTemplate.xml
1025 share/emacs/%%VERSION%%/etc/org/csl/
1027 chicago-author-date.csl
1029 share/emacs/%%VERSION%%/etc/refcards/
1079 share/emacs/%%VERSION%%/etc/schema/
1080 OpenDocument-schema-v1.3+libreoffice.rnc
1081 OpenDocument-schema-v1.3.rnc
1091 od-manifest-schema-v1.2-os.rnc
1129 share/emacs/%%VERSION%%/etc/srecode/
1147 share/emacs/%%VERSION%%/etc/themes/
1149 deeper-blue-theme.el
1151 leuven-dark-theme.el
1156 modus-operandi-theme.el
1158 modus-vivendi-theme.el
1166 share/emacs/%%VERSION%%/etc/tutorials/
1190 TUTORIAL.translators
1193 share/emacs/%%VERSION%%/lisp/
1200 allout-widgets.el.gz
1214 auth-source-pass.el.gz
1215 auth-source-pass.elc
1283 dired-loaddefs.el.gz
1293 display-fill-column-indicator.el.gz
1294 display-fill-column-indicator.elc
1295 display-line-numbers.el.gz
1296 display-line-numbers.elc
1311 dynamic-setting.el.gz
1351 external-completion.el.gz
1352 external-completion.elc
1440 ibuffer-loaddefs.el.gz
1441 ibuffer-loaddefs.elc
1548 password-cache.el.gz
1582 ps-print-loaddefs.el.gz
1583 ps-print-loaddefs.elc
1744 share/emacs/%%VERSION%%/lisp/calc/
1833 share/emacs/%%VERSION%%/lisp/calendar/
1874 diary-loaddefs.el.gz
1876 holiday-loaddefs.el.gz
1877 holiday-loaddefs.elc
1896 share/emacs/%%VERSION%%/lisp/cedet/
1919 share/emacs/%%VERSION%%/lisp/cedet/ede/
1994 share/emacs/%%VERSION%%/lisp/cedet/semantic/
2097 share/emacs/%%VERSION%%/lisp/cedet/semantic/analyze/
2106 share/emacs/%%VERSION%%/lisp/cedet/semantic/bovine/
2127 share/emacs/%%VERSION%%/lisp/cedet/semantic/decorate/
2132 share/emacs/%%VERSION%%/lisp/cedet/semantic/symref/
2145 share/emacs/%%VERSION%%/lisp/cedet/semantic/wisent/
2164 share/emacs/%%VERSION%%/lisp/cedet/srecode/
2215 share/emacs/%%VERSION%%/lisp/emacs-lisp/
2290 eieio-datadebug.el.gz
2294 eieio-speedbar.el.gz
2316 generate-lisp-file.el.gz
2317 generate-lisp-file.elc
2396 tabulated-list.el.gz
2402 text-property-search.el.gz
2403 text-property-search.elc
2420 share/emacs/%%VERSION%%/lisp/emulation/
2455 share/emacs/%%VERSION%%/lisp/erc/
2470 erc-desktop-notifications.el.gz
2471 erc-desktop-notifications.elc
2524 erc-status-sidebar.el.gz
2525 erc-status-sidebar.elc
2534 share/emacs/%%VERSION%%/lisp/eshell/
2597 share/emacs/%%VERSION%%/lisp/gnus/
2646 gnus-icalendar.el.gz
2662 gnus-notifications.el.gz
2663 gnus-notifications.elc
2706 legacy-gnus-agent.el.gz
2707 legacy-gnus-agent.elc
2808 share/emacs/%%VERSION%%/lisp/image/
2815 image-converter.el.gz
2819 image-dired-dired.el.gz
2820 image-dired-dired.elc
2821 image-dired-external.el.gz
2822 image-dired-external.elc
2823 image-dired-tags.el.gz
2824 image-dired-tags.elc
2825 image-dired-util.el.gz
2826 image-dired-util.elc
2831 share/emacs/%%VERSION%%/lisp/international/
2904 uni-decomposition.el
2912 uni-special-lowercase.el
2913 uni-special-titlecase.el
2914 uni-special-uppercase.el
2921 share/emacs/%%VERSION%%/lisp/language/
3004 share/emacs/%%VERSION%%/lisp/leim/leim-list.el
3005 share/emacs/%%VERSION%%/lisp/leim/ja-dic/
3008 share/emacs/%%VERSION%%/lisp/leim/quail/
3103 programmer-dvorak.el.gz
3104 programmer-dvorak.elc
3145 share/emacs/%%VERSION%%/lisp/mail/
3159 ietf-drums-date.el.gz
3197 rmail-spam-filter.el.gz
3198 rmail-spam-filter.elc
3229 share/emacs/%%VERSION%%/lisp/mh-e/
3280 share/emacs/%%VERSION%%/lisp/net/
3287 dictionary-connection.el.gz
3288 dictionary-connection.elc
3309 eudcb-ecomplete.el.gz
3315 eudcb-macos-contacts.el.gz
3316 eudcb-macos-contacts.elc
3317 eudcb-mailabbrev.el.gz
3318 eudcb-mailabbrev.elc
3339 network-stream.el.gz
3343 newst-plainview.el.gz
3349 newst-treeview.el.gz
3371 sasl-scram-rfc.el.gz
3373 sasl-scram-sha256.el.gz
3374 sasl-scram-sha256.elc
3409 tramp-container.el.gz
3419 tramp-integration.el.gz
3420 tramp-integration.elc
3421 tramp-loaddefs.el.gz
3431 tramp-sudoedit.el.gz
3443 share/emacs/%%VERSION%%/lisp/nxml/
3488 share/emacs/%%VERSION%%/lisp/obsolete/
3606 share/emacs/%%VERSION%%/lisp/org/
3749 org-attach-git.el.gz
3793 org-inlinetask.el.gz
3842 ox-koma-letter.el.gz
3860 share/emacs/%%VERSION%%/lisp/play/
3911 share/emacs/%%VERSION%%/lisp/progmodes/
3972 dockerfile-ts-mode.el.gz
3973 dockerfile-ts-mode.elc
4028 idlw-complete-structtag.el.gz
4029 idlw-complete-structtag.elc
4094 typescript-ts-mode.el.gz
4095 typescript-ts-mode.elc
4108 share/emacs/%%VERSION%%/lisp/term/
4168 share/emacs/%%VERSION%%/lisp/textmodes/
4183 emacs-authors-mode.el.gz
4184 emacs-authors-mode.elc
4185 emacs-news-mode.el.gz
4193 glyphless-mode.el.gz
4233 reftex-loaddefs.el.gz
4261 texinfo-loaddefs.el.gz
4262 texinfo-loaddefs.elc
4277 word-wrap-mode.el.gz
4281 share/emacs/%%VERSION%%/lisp/url/
4342 share/emacs/%%VERSION%%/lisp/use-package/
4345 use-package-bind-key.el.gz
4346 use-package-bind-key.elc
4347 use-package-core.el.gz
4348 use-package-core.elc
4349 use-package-delight.el.gz
4350 use-package-delight.elc
4351 use-package-diminish.el.gz
4352 use-package-diminish.elc
4353 use-package-ensure-system-package.el.gz
4354 use-package-ensure-system-package.elc
4355 use-package-ensure.el.gz
4356 use-package-ensure.elc
4357 use-package-jump.el.gz
4358 use-package-jump.elc
4359 use-package-lint.el.gz
4360 use-package-lint.elc
4363 share/emacs/%%VERSION%%/lisp/vc/
4444 share/emacs/%%VERSION%%/site-lisp/subdirs.el
4445 share/emacs/site-lisp/subdirs.el
4446 share/icons/hicolor/128x128/apps/emacs.png
4447 share/icons/hicolor/16x16/apps/emacs.png
4448 share/icons/hicolor/24x24/apps/emacs.png
4449 share/icons/hicolor/32x32/apps/emacs.png
4450 share/icons/hicolor/48x48/apps/emacs.png
4451 share/icons/hicolor/scalable/apps/
4454 share/icons/hicolor/scalable/mimetypes/
4456 emacs-document23.svg
4457 share/metainfo/emacs.metainfo.xml
4460 [FILE:72:manifests/plist.man]
4468 [FILE:543:patches/patch-Makefile.in]
4469 --- Makefile.in.orig 2023-04-29 09:22:11 UTC
4471 @@ -714,7 +714,7 @@ install-arch-indep: lisp install-info in
4472 printf 'Copying %s to %s...\n' "$$dir" "$$dest" ; \
4473 (cd $${dir}; tar -chf - . ) \
4474 | (cd "$${dest}"; umask 022; \
4475 - tar -xvf - && cat > /dev/null) || exit 1; \
4476 + tar -xvf - --no-same-owner --no-same-permissions && cat > /dev/null) || exit 1; \
4477 if [ "$${dir}" = "${srcdir}/etc" ]; then \
4478 rm -f "$${dest}/DOC"* ; \
4479 rm -f "$${dest}/refcards"/*.aux "$${dest}/refcards"/*.dvi; \
4482 [FILE:2160:patches/patch-configure]
4483 --- configure.orig 2023-07-23 07:58:47 UTC
4485 @@ -6082,7 +6082,7 @@ case "${canonical}" in
4490 + *-*-freebsd* | *-*-midnight* )
4494 @@ -6107,9 +6107,9 @@ case "${canonical}" in
4497 ## Apple Darwin / macOS
4500 case "${canonical}" in
4501 - *-apple-darwin[0-9].*) unported=yes ;;
4502 + *-raven-darwin[0-9].*) unported=yes ;;
4503 i[3456]86-* | x86_64-* | arm-* | aarch64-* ) ;;
4506 @@ -22889,9 +22889,9 @@ case "$opsys" in
4507 ## The ncurses library has been moved out of the System framework in
4508 ## Mac OS X 10.2. So if configure detects it, set the command-line
4509 ## option to use it.
4510 - darwin) LIBS_TERMCAP="-lncurses" ;;
4511 + darwin) LIBS_TERMCAP="-lncurses -ltinfo" ;;
4513 - gnu*) test -z "$LIBS_TERMCAP" && LIBS_TERMCAP="-lncurses" ;;
4514 + gnu*) LIBS_TERMCAP="-lncurses -ltinfo" ;;
4517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether FreeBSD is new enough to use terminfo" >&5
4518 @@ -22906,10 +22906,6 @@ else $as_nop
4522 -#if __FreeBSD_version < 400000
4529 @@ -22929,7 +22925,7 @@ fi
4530 printf "%s\n" "$emacs_cv_freebsd_terminfo" >&6; }
4532 if test $emacs_cv_freebsd_terminfo = yes; then
4533 - LIBS_TERMCAP="-lncurses"
4534 + LIBS_TERMCAP="-lncurses -ltinfo"
4537 LIBS_TERMCAP="-ltermcap"
4538 @@ -22941,7 +22937,7 @@ printf "%s\n" "$emacs_cv_freebsd_terminf
4544 # NetBSD versions prior to 6.0 lack native terminfo, but have a
4545 # tputs() built on top of termcap in these libraries. Use native
4546 # termcap instead in this case. NetBSD >= 6.0 has native terminfo
4547 @@ -22952,7 +22948,7 @@ printf "%s\n" "$emacs_cv_freebsd_terminf
4551 - openbsd | dragonfly) LIBS_TERMCAP="-lncurses" ;;
4552 + openbsd | dragonfly | netbsd) LIBS_TERMCAP="-lncurses -ltinfo" ;;
4554 ## hpux: Make sure we get select from libc rather than from libcurses
4555 ## because libcurses on HPUX 10.10 has a broken version of select.
4558 [FILE:474:patches/patch-lib-src_Makefile.in]
4559 --- lib-src/Makefile.in.orig 2023-01-01 13:46:42 UTC
4560 +++ lib-src/Makefile.in
4561 @@ -144,7 +144,7 @@ HAIKU_CFLAGS=@HAIKU_CFLAGS@
4564 # Things that a user might actually run, which should be installed in bindir.
4565 -INSTALLABLES = etags${EXEEXT} ctags${EXEEXT} emacsclient${EXEEXT} $(CLIENTW) \
4566 +INSTALLABLES = etags${EXEEXT} emacsclient${EXEEXT} $(CLIENTW) \
4569 # Things that Emacs runs internally, or during the build process,
4572 [FILE:682:patches/patch-lisp_dired.el]
4573 emacs is trying to get cute with its --dired addition to ls(1)
4574 but fails to parse lt_LT dates having '-' as separators.
4576 --- lisp/dired.el.orig 2023-07-08 09:38:40 UTC
4578 @@ -1683,6 +1683,8 @@ see `dired-use-ls-dired' for more detail
4579 ;; month names; but this should not be necessary any
4580 ;; more, with the new value of
4581 ;; `directory-listing-before-filename-regexp'.
4582 + ;; Cause it doesn't properly handle the lt_LT date format "2016-10-01"
4583 + (setq process-environment (cons "LC_TIME=C" process-environment))
4585 (dolist (f file-list)
4586 (let ((beg (point)))
4589 [FILE:402:patches/patch-lisp_files.el]
4590 --- lisp/files.el.orig 2023-07-09 08:54:39 UTC
4592 @@ -7602,7 +7602,7 @@ need to be passed verbatim to shell comm
4596 -(defvar insert-directory-program (purecopy "ls")
4597 +(defvar insert-directory-program (purecopy "gls")
4598 "Absolute or relative name of the `ls'-like program.
4599 This is used by `insert-directory' and `dired-insert-directory'
4600 \(thus, also by `dired').")
4603 [FILE:253:patches/patch-src_process.h]
4604 --- src/process.h.orig 2023-01-01 13:46:43 UTC
4606 @@ -24,6 +24,9 @@ along with GNU Emacs. If not, see <http
4610 +#ifdef __DragonFly__
4611 +#include <sys/signal.h>