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-28.2.tar.xz:main
16 SPKGS[desktop]= single
17 SPKGS[standard]= single
19 OPTIONS_AVAILABLE= X11GTK
20 OPTIONS_STANDARD= none
21 VOPTS[desktop]= X11GTK=ON
23 BUILDRUN_DEPENDS= gnutls:primary:standard
24 libsoup-2.4:dev:standard
25 RUN_DEPENDS= coreutils:primary:standard
30 USERGROUP_SPKG= single
32 USES= cpe gmake makeinfo ncurses pkgconfig zlib
34 GNOME_COMPONENTS= libxml2
36 LICENSE= GPLv3+:single
37 LICENSE_TERMS= single:{{WRKDIR}}/TERMS
38 LICENSE_FILE= GPLv3+:{{WRKSRC}}/COPYING
39 LICENSE_AWK= TERMS:"EMACS_COMMANDS_H"
40 LICENSE_SOURCE= TERMS:{{WRKSRC}}/src/commands.h
106 FPC_EQUIVALENT= editors/emacs
107 INFO_PATH= share/emacs/info
111 CONFIGURE_ARGS= --localstatedir=/var
112 --with-gameuser=games:games
118 INSTALL_REQ_TOOLCHAIN= yes
119 PLIST_SUB= VERSION=28.2
120 GNU_HOST={{CONFIGURE_TARGET}}
122 VAR_OPSYS[freebsd]= VAR1=--with-file-notification=kqueue
123 VAR2=--with-sound=oss
124 VAR_OPSYS[dragonfly]= VAR1=--with-file-notification=kqueue
125 VAR2=--with-sound=oss
127 [X11GTK].DESCRIPTION= X window system support (through GTK3)
128 [X11GTK].BUILDRUN_DEPENDS_ON= freetype:primary:standard
129 m17n-lib:single:standard
130 webkit2:complete:api40
131 [X11GTK].BUILD_DEPENDS_ON= harfbuzz:dev:standard
132 [X11GTK].CONFIGURE_ARGS_ON= --with-x-toolkit=gtk3
135 [X11GTK].CONFIGURE_WITH_BOTH= cairo
149 [X11GTK].GNOME_COMPONENTS_ON= cairo
152 [X11GTK].USES_ON= png
159 [X11GTK].XORG_COMPONENTS_ON= xft
171 ${RM} ${WRKSRC}/doc/man/ctags.1
173 post-patch-X11GTK-OFF:
174 ${REINPLACE_CMD} -i'' -e 's/^Terminal=.*$$/Terminal=true/' \
175 ${WRKSRC}/etc/emacs.desktop
177 post-install-freebsd:
178 ${RM} -r ${STAGEDIR}${PREFIX}/lib/systemd
180 post-install-dragonfly:
181 ${RM} -r ${STAGEDIR}${PREFIX}/lib/systemd
184 ${RM} -r ${STAGEDIR}${PREFIX}/lib/systemd
187 ${RM} -r ${STAGEDIR}${PREFIX}/lib/systemd
190 ${RM} -r ${STAGEDIR}${PREFIX}/lib/systemd
192 [FILE:642:descriptions/desc.single]
193 GNU Emacs is a self-documenting, customizable, extensible real-time display
196 Users new to Emacs will be able to use basic features fairly rapidly by
197 studying the tutorial and using the self-documentation features. Emacs also
198 has an extensive interactive manual browser. It is easily extensible since
199 its editing commands are written in Lisp.
201 GNU Emacs's many special packages handle mail reading (RMail) and sending
202 (Mail), outline editing (Outline), compiling (Compile), running subshells
203 within Emacs windows (Shell), running a Lisp read-eval-print loop
204 (Lisp-Interaction-Mode), automated psychotherapy (Doctor :-) and many more.
208 ee21182233ef3232dc97b486af2d86e14042dbb65bbc535df562c3a858232488 47722600 emacs-28.2.tar.xz
211 [FILE:61976:manifests/plist.single]
212 %%ONLY-LINUX%%lib/systemd/user/emacs.service
213 @(games,games,0664) /var/games/emacs/snake-scores
214 @(games,games,0664) /var/games/emacs/tetris-scores
221 include/emacs-module.h
222 libexec/emacs/%%VERSION%%/%%GNU_HOST%%/
227 @(games,games,4555) libexec/emacs/%%VERSION%%/%%GNU_HOST%%/update-game-score
231 emacsclient-mail.desktop
233 share/emacs/%%VERSION%%/etc/
276 emacsclient-mail.desktop
291 share/emacs/%%VERSION%%/etc/charsets/
424 share/emacs/%%VERSION%%/etc/e/
428 share/emacs/%%VERSION%%/etc/forms/
433 share/emacs/%%VERSION%%/etc/gnus/
436 share/emacs/%%VERSION%%/etc/images/
538 sort-column-ascending.pbm
539 sort-column-ascending.xpm
544 sort-row-ascending.pbm
545 sort-row-ascending.xpm
567 share/emacs/%%VERSION%%/etc/images/custom/
577 share/emacs/%%VERSION%%/etc/images/ezimage/
633 share/emacs/%%VERSION%%/etc/images/gnus/
689 toggle-subscription.pbm
690 toggle-subscription.xpm
699 share/emacs/%%VERSION%%/etc/images/gud/
757 share/emacs/%%VERSION%%/etc/images/icons/README
758 share/emacs/%%VERSION%%/etc/images/icons/allout-widgets/dark-bg/
765 extender-connector.png
766 extender-connector.xpm
777 through-descender.png
778 through-descender.xpm
779 unlocked-encrypted.png
780 unlocked-encrypted.xpm
781 share/emacs/%%VERSION%%/etc/images/icons/allout-widgets/light-bg/
788 extender-connector.png
789 extender-connector.xpm
800 through-descender.png
801 through-descender.xpm
802 unlocked-encrypted.png
803 unlocked-encrypted.xpm
804 share/emacs/%%VERSION%%/etc/images/icons/hicolor/128x128/apps/
807 share/emacs/%%VERSION%%/etc/images/icons/hicolor/16x16/apps/
811 share/emacs/%%VERSION%%/etc/images/icons/hicolor/24x24/apps/
815 share/emacs/%%VERSION%%/etc/images/icons/hicolor/32x32/apps/
819 share/emacs/%%VERSION%%/etc/images/icons/hicolor/48x48/apps/
823 share/emacs/%%VERSION%%/etc/images/icons/hicolor/scalable/apps/
827 share/emacs/%%VERSION%%/etc/images/icons/hicolor/scalable/mimetypes/
830 share/emacs/%%VERSION%%/etc/images/low-color/
856 share/emacs/%%VERSION%%/etc/images/mail/
862 flag-for-followup.pbm
863 flag-for-followup.xpm
892 share/emacs/%%VERSION%%/etc/images/mpc/
910 share/emacs/%%VERSION%%/etc/images/newsticker/
924 share/emacs/%%VERSION%%/etc/images/smilies/
950 share/emacs/%%VERSION%%/etc/images/smilies/grayscale/
965 share/emacs/%%VERSION%%/etc/images/smilies/medium/
980 share/emacs/%%VERSION%%/etc/images/tabs/
986 share/emacs/%%VERSION%%/etc/images/tree-widget/default/
1006 share/emacs/%%VERSION%%/etc/images/tree-widget/folder/
1026 share/emacs/%%VERSION%%/etc/nxml/
1030 share/emacs/%%VERSION%%/etc/org/
1031 OrgOdtContentTemplate.xml
1034 share/emacs/%%VERSION%%/etc/org/csl/
1036 chicago-author-date.csl
1038 share/emacs/%%VERSION%%/etc/refcards/
1088 share/emacs/%%VERSION%%/etc/schema/
1089 OpenDocument-schema-v1.3+libreoffice.rnc
1090 OpenDocument-schema-v1.3.rnc
1100 od-manifest-schema-v1.2-os.rnc
1138 share/emacs/%%VERSION%%/etc/srecode/
1156 share/emacs/%%VERSION%%/etc/themes/
1158 deeper-blue-theme.el
1164 modus-operandi-theme.el
1166 modus-vivendi-theme.el
1174 share/emacs/%%VERSION%%/etc/tutorials/
1196 TUTORIAL.translators
1198 share/emacs/%%VERSION%%/lisp/
1205 allout-widgets.el.gz
1217 auth-source-pass.el.gz
1218 auth-source-pass.elc
1297 display-fill-column-indicator.el.gz
1298 display-fill-column-indicator.elc
1299 display-line-numbers.el.gz
1300 display-line-numbers.elc
1315 dynamic-setting.el.gz
1436 htmlfontify-loaddefs.el
1553 password-cache.el.gz
1585 ps-print-loaddefs.el
1743 share/emacs/%%VERSION%%/lisp/calc/
1831 share/emacs/%%VERSION%%/lisp/calendar/
1891 share/emacs/%%VERSION%%/lisp/cedet/
1914 share/emacs/%%VERSION%%/lisp/cedet/ede/
1988 share/emacs/%%VERSION%%/lisp/cedet/semantic/
2090 share/emacs/%%VERSION%%/lisp/cedet/semantic/analyze/
2099 share/emacs/%%VERSION%%/lisp/cedet/semantic/bovine/
2120 share/emacs/%%VERSION%%/lisp/cedet/semantic/decorate/
2125 share/emacs/%%VERSION%%/lisp/cedet/semantic/symref/
2138 share/emacs/%%VERSION%%/lisp/cedet/semantic/wisent/
2157 share/emacs/%%VERSION%%/lisp/cedet/srecode/
2207 share/emacs/%%VERSION%%/lisp/emacs-lisp/
2283 eieio-datadebug.el.gz
2288 eieio-speedbar.el.gz
2376 tabulated-list.el.gz
2382 text-property-search.el.gz
2383 text-property-search.elc
2398 share/emacs/%%VERSION%%/lisp/emulation/
2433 share/emacs/%%VERSION%%/lisp/erc/
2446 erc-desktop-notifications.el.gz
2447 erc-desktop-notifications.elc
2497 erc-status-sidebar.el.gz
2498 erc-status-sidebar.elc
2507 share/emacs/%%VERSION%%/lisp/eshell/
2565 share/emacs/%%VERSION%%/lisp/gnus/
2614 gnus-icalendar.el.gz
2630 gnus-notifications.el.gz
2631 gnus-notifications.elc
2672 legacy-gnus-agent.el.gz
2673 legacy-gnus-agent.elc
2774 share/emacs/%%VERSION%%/lisp/image/
2781 image-converter.el.gz
2783 share/emacs/%%VERSION%%/lisp/international/
2847 uni-decomposition.el
2854 uni-special-lowercase.el
2855 uni-special-titlecase.el
2856 uni-special-uppercase.el
2863 share/emacs/%%VERSION%%/lisp/language/
2942 share/emacs/%%VERSION%%/lisp/leim/leim-list.el
2943 share/emacs/%%VERSION%%/lisp/leim/ja-dic/
2946 share/emacs/%%VERSION%%/lisp/leim/quail/
3033 programmer-dvorak.el.gz
3034 programmer-dvorak.elc
3075 share/emacs/%%VERSION%%/lisp/mail/
3126 rmail-spam-filter.el.gz
3127 rmail-spam-filter.elc
3160 share/emacs/%%VERSION%%/lisp/mh-e/
3211 share/emacs/%%VERSION%%/lisp/net/
3218 dictionary-connection.el.gz
3219 dictionary-connection.elc
3242 eudcb-macos-contacts.el.gz
3243 eudcb-macos-contacts.elc
3266 network-stream.el.gz
3270 newst-plainview.el.gz
3276 newst-treeview.el.gz
3302 sasl-scram-rfc.el.gz
3304 sasl-scram-sha256.el.gz
3305 sasl-scram-sha256.elc
3348 tramp-integration.el.gz
3349 tramp-integration.elc
3359 tramp-sudoedit.el.gz
3371 share/emacs/%%VERSION%%/lisp/nxml/
3416 share/emacs/%%VERSION%%/lisp/obsolete/
3435 erc-hecomplete.el.gz
3472 old-emacs-lock.el.gz
3530 share/emacs/%%VERSION%%/lisp/org/
3671 org-attach-git.el.gz
3709 org-inlinetask.el.gz
3756 ox-koma-letter.el.gz
3774 share/emacs/%%VERSION%%/lisp/play/
3825 share/emacs/%%VERSION%%/lisp/progmodes/
3926 idlw-complete-structtag.el.gz
3927 idlw-complete-structtag.elc
3996 share/emacs/%%VERSION%%/lisp/term/
4052 share/emacs/%%VERSION%%/lisp/textmodes/
4069 etc-authors-mode.el.gz
4070 etc-authors-mode.elc
4149 share/emacs/%%VERSION%%/lisp/url/
4214 share/emacs/%%VERSION%%/lisp/vc/
4297 share/emacs/%%VERSION%%/site-lisp/subdirs.el
4299 modus-themes.info.gz
4301 share/emacs/site-lisp/subdirs.el
4302 share/icons/hicolor/128x128/apps/emacs.png
4303 share/icons/hicolor/16x16/apps/emacs.png
4304 share/icons/hicolor/24x24/apps/emacs.png
4305 share/icons/hicolor/32x32/apps/emacs.png
4306 share/icons/hicolor/48x48/apps/emacs.png
4307 share/icons/hicolor/scalable/apps/
4310 share/icons/hicolor/scalable/mimetypes/
4312 emacs-document23.svg
4318 share/metainfo/emacs.metainfo.xml
4321 [FILE:543:patches/patch-Makefile.in]
4322 --- Makefile.in.orig 2022-09-06 21:31:52 UTC
4324 @@ -613,7 +613,7 @@ install-arch-indep: lisp install-info in
4325 printf 'Copying %s to %s...\n' "$$dir" "$$dest" ; \
4326 (cd $${dir}; tar -chf - . ) \
4327 | (cd "$${dest}"; umask 022; \
4328 - tar -xvf - && cat > /dev/null) || exit 1; \
4329 + tar -xvf - --no-same-owner --no-same-permissions && cat > /dev/null) || exit 1; \
4330 if [ "$${dir}" = "${srcdir}/etc" ]; then \
4331 rm -f "$${dest}/DOC"* ; \
4332 rm -f "$${dest}/refcards"/*.aux "$${dest}/refcards"/*.dvi; \
4335 [FILE:1700:patches/patch-configure]
4336 --- configure.orig 2022-09-06 22:41:02 UTC
4338 @@ -5139,9 +5139,9 @@ case "${canonical}" in
4341 ## Apple Darwin / macOS
4344 case "${canonical}" in
4345 - *-apple-darwin[0-9].*) unported=yes ;;
4346 + *-raven-darwin[0-9].*) unported=yes ;;
4347 i[3456]86-* | x86_64-* | arm-* | aarch64-* ) ;;
4350 @@ -18784,9 +18784,9 @@ case "$opsys" in
4351 ## The ncurses library has been moved out of the System framework in
4352 ## Mac OS X 10.2. So if configure detects it, set the command-line
4353 ## option to use it.
4354 - darwin) LIBS_TERMCAP="-lncurses" ;;
4355 + darwin) LIBS_TERMCAP="-lncurses -ltinfo" ;;
4357 - gnu*) test -z "$LIBS_TERMCAP" && LIBS_TERMCAP="-lncurses" ;;
4358 + gnu*) LIBS_TERMCAP="-lncurses -ltinfo" ;;
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether FreeBSD is new enough to use terminfo" >&5
4362 @@ -18822,7 +18822,7 @@ fi
4363 $as_echo "$emacs_cv_freebsd_terminfo" >&6; }
4365 if test $emacs_cv_freebsd_terminfo = yes; then
4366 - LIBS_TERMCAP="-lncurses"
4367 + LIBS_TERMCAP="-lncurses -ltinfo"
4370 LIBS_TERMCAP="-ltermcap"
4371 @@ -18834,14 +18834,14 @@ $as_echo "$emacs_cv_freebsd_terminfo" >&
4377 if test "x$LIBS_TERMCAP" != "x-lterminfo"; then
4379 LIBS_TERMCAP="-ltermcap"
4383 - openbsd | dragonfly) LIBS_TERMCAP="-lncurses" ;;
4384 + openbsd | dragonfly | netbsd) LIBS_TERMCAP="-lncurses -ltinfo" ;;
4386 ## hpux: Make sure we get select from libc rather than from libcurses
4387 ## because libcurses on HPUX 10.10 has a broken version of select.
4390 [FILE:466:patches/patch-lib-src_Makefile.in]
4391 --- lib-src/Makefile.in.orig 2022-09-06 21:31:53 UTC
4392 +++ lib-src/Makefile.in
4393 @@ -134,7 +134,7 @@ MKDIR_P = @MKDIR_P@
4396 # Things that a user might actually run, which should be installed in bindir.
4397 -INSTALLABLES = etags${EXEEXT} ctags${EXEEXT} emacsclient${EXEEXT} $(CLIENTW) \
4398 +INSTALLABLES = etags${EXEEXT} emacsclient${EXEEXT} $(CLIENTW) \
4401 # Things that Emacs runs internally, or during the build process,
4404 [FILE:682:patches/patch-lisp_dired.el]
4405 emacs is trying to get cute with its --dired addition to ls(1)
4406 but fails to parse lt_LT dates having '-' as separators.
4408 --- lisp/dired.el.orig 2022-09-06 21:31:53 UTC
4410 @@ -1552,6 +1552,8 @@ see `dired-use-ls-dired' for more detail
4411 ;; month names; but this should not be necessary any
4412 ;; more, with the new value of
4413 ;; `directory-listing-before-filename-regexp'.
4414 + ;; Cause it doesn't properly handle the lt_LT date format "2016-10-01"
4415 + (setq process-environment (cons "LC_TIME=C" process-environment))
4417 (dolist (f file-list)
4418 (let ((beg (point)))
4421 [FILE:402:patches/patch-lisp_files.el]
4422 --- lisp/files.el.orig 2022-09-06 21:31:53 UTC
4424 @@ -7244,7 +7244,7 @@ need to be passed verbatim to shell comm
4428 -(defvar insert-directory-program (purecopy "ls")
4429 +(defvar insert-directory-program (purecopy "gls")
4430 "Absolute or relative name of the `ls'-like program.
4431 This is used by `insert-directory' and `dired-insert-directory'
4432 \(thus, also by `dired').")
4435 [FILE:253:patches/patch-src_process.h]
4436 --- src/process.h.orig 2022-09-06 21:31:54 UTC
4438 @@ -24,6 +24,9 @@ along with GNU Emacs. If not, see <http
4442 +#ifdef __DragonFly__
4443 +#include <sys/signal.h>