Compare commits

...
Sign in to create a new pull request.

46 commits

Author SHA1 Message Date
Jerry James
9cb7ea0e93 Unmaintained upstream 2022-01-17 09:54:47 -07:00
Sahana Prasad
f29cd9af4c Rebuilt with OpenSSL 3.0.0 2021-09-14 19:17:57 +02:00
Jerry James
8dd60e636a Add -xlinker patch to fix link failure. 2021-08-04 09:43:44 -06:00
Fedora Release Engineering
ca3ac70be7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 21:26:04 +00:00
Fedora Release Engineering
86b2e621c3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 23:55:09 +00:00
Jerry James
9201297f41 Mark as deprecated (bz 1916926). 2021-01-21 21:27:47 -07:00
Jerry James
f60634b591 Explicitly BR make. 2020-11-09 21:33:37 -07:00
Fedora Release Engineering
7db6db0fd3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 14:35:09 +00:00
Jerry James
e70c0a7c88 Update to latest mercurial snapshot for miscellaneous bug fixes.
- Add -strsignal patch to fix build with latest glibc.
2020-07-22 16:32:12 -06:00
Tom Stellard
20b6445349 Use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
2020-07-22 03:44:34 +00:00
Jerry James
621bba2cd1 Explicitly ask configure for gdbm. 2020-07-21 19:41:14 -06:00
Fedora Release Engineering
6b4e167749 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-31 04:16:14 +00:00
Jerry James
a475a09fb8 Replace libdb with gdbm. Use pkgconfig BRs. 2020-01-28 08:49:54 -07:00
Jerry James
5a36dcffe1 Minor spec file cleanups. 2020-01-24 22:23:45 -07:00
Fedora Release Engineering
482e4ef313 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-27 04:01:18 +00:00
Jerry James
39d3e7e6bc One more upstream update to fix the big endian build.
Obsolete -el subpackage.
Compress the Lisp source files.
2019-03-23 20:07:46 -06:00
Jerry James
b05cd20d3c One more upstream update to fix 32-bit builds. 2019-03-21 22:03:17 -06:00
Jerry James
2fa224b10b Update to latest mercurial snapshot for miscellaneous bug fixes.
Also:
- Switch from NSS to OpenSSL
- Build with openldap support
- Enable test suite
2019-03-21 20:14:15 -06:00
Fedora Release Engineering
8be405a05f - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-03 12:15:00 +00:00
Peter Robinson
ec5eeb7200 Update alternatives dep 2018-10-15 00:55:07 +01:00
Fedora Release Engineering
4317a6357e - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 09:11:35 +00:00
Jerry James
0e44989678 Remove info-related scriptlets. 2018-07-07 16:26:44 -06:00
Jerry James
339fe2fabe Update to latest mercurial snapshot for miscellaneous bug fixes.
Also:
- Remove obsolete scriptlets.
- Drop upstreamed -endian, -gcpro, and -format-overflow patches.
- Install a scalable icon.
2018-03-04 15:10:08 -07:00
Sandro Mani
21dca45898 Rebuild (giflib) 2018-02-11 22:29:52 +01:00
Fedora Release Engineering
de837c3477 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 21:28:39 +00:00
Jerry James
932223be1f Add -endian patch to fix FTBFS on ppc64/s390x. 2017-12-28 22:29:32 -07:00
Jerry James
efb46bac1e Update to latest mercurial snapshot for Unicode support.
Also:
- Add -gcpro patch to fix FTBFS.
- Add -overflow patch to fix possible bad code generation.
- Add -data-start patch to fix FTBFS on ppc64/ppc64le.
2017-12-28 17:33:17 -07:00
Jerry James
a451a963f6 Update to latest mercurial snapshot for miscellaneous bug fixes.
Drop Canna support (bz 1517235).
2017-11-28 20:29:51 -07:00
Jerry James
07647a254b Update to latest mercurial snapshot for miscellaneous bug fixes. 2017-08-05 13:29:30 -06:00
Fedora Release Engineering
e5271126d2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 10:34:03 +00:00
Fedora Release Engineering
f0339dbaf0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 21:59:16 +00:00
Jerry James
06b7de7139 Rebuild for NSS 3.29.1. 2017-02-22 08:51:36 -07:00
Fedora Release Engineering
6ddabfd1a2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 17:44:45 +00:00
Jerry James
fc2f2f821f Update to latest mercurial snapshot to really fix bz 1408201.
Also, drop upstreamed -with-output-to-string patch.
2017-01-24 20:35:05 -07:00
Jerry James
350f5ce8b7 Update to latest mercurial snapshot (bz 1408201).
Also:
- Use glibc malloc on all platforms.
- Add -with-output-to-string patch.
2017-01-14 17:07:56 -07:00
Jerry James
155946898a Update to latest mercurial snapshot. 2016-10-18 14:46:22 -06:00
Jerry James
771e41e16d Update to fix NSS breakage. Drop upstreamed -tls and -setsid patches. 2016-06-03 14:41:30 -06:00
Jerry James
e1eb076aee Update to latest mercurial snapshot.
Also, fix M-x shell under tcsh (bz 1222897, 1260785).
2016-05-28 15:09:29 -06:00
Jerry James
ef0d6ccc39 Update to latest mercurial snapshot. 2016-02-20 17:29:55 -07:00
Fedora Release Engineering
f3f85a99c8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-05 03:22:23 +00:00
Jerry James
d715a06a13 Use system malloc on 32-bit MIPS (bz 1294893). 2015-12-30 13:21:28 -07:00
Jerry James
eac4eb5a41 Update to snapshot: fixes multiple bugs.
Also add -alsaplay patch to fix playing sounds through ALSA.
2015-10-03 11:29:04 -06:00
Dennis Gilmore
76cde9c660 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-19 03:51:11 +00:00
Jerry James
ac99c27d0e Update to snapshot: fixes multiple bugs.
Also:
- Drop upstreamed -c11 patch.
- Enable NSS support.
2015-04-20 17:14:33 -06:00
Jerry James
354ce5dd82 Add -c11 patch to fix build failure with gcc 5.0.
Also:
- Set compiling username to get reproducible builds.
- Use license macro.
2015-02-09 15:21:30 -07:00
7b022918c4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-18 09:34:21 +00:00
18 changed files with 1 additions and 1433 deletions

2
.gitignore vendored
View file

@ -1,2 +0,0 @@
/xemacs-21.5.34.tar.gz
/xemacs-20140605hgacf1c26e3019.tar.xz

1
dead.package Normal file
View file

@ -0,0 +1 @@
Unmaintained upstream

View file

@ -1,28 +0,0 @@
;;; default.el - loaded at startup after "~/.xemacs/init.el" by default
;;;
;;; Setting `inhibit-default-init' to non-nil in "~/.xemacs/init.el"
;;; prevents loading of this file. The "-q" option to xemacs
;;; prevents "~/.xemacs/init.el" *and* this file from being loaded
;;; at startup.
;; enable wheel mouse support by default
(when window-system
(mwheel-install))
;; make gnus save articles be mbox format not rmail format
(defvar gnus-default-article-saver 'gnus-summary-save-in-file)
;; use terminfo by default
(defvar system-uses-terminfo t)
;; turn on syntax highlighting by default if lazy-lock is available
(when (fboundp 'turn-on-lazy-lock)
(require 'font-lock)
;; use lazy-lock by default if lazy-shot is not enabled
(remove-hook 'font-lock-mode-hook 'turn-on-lazy-lock)
(add-hook 'font-lock-mode-hook
(function
(lambda ()
(unless (and (boundp 'lazy-shot-mode) lazy-shot-mode)
(turn-on-lazy-lock))))
t))

View file

@ -1,4 +0,0 @@
;;; ~/.xemacs/init.el
;;; uncomment this line to disable loading of "default.el" at startup
;(setq inhibit-default-init t)

View file

@ -1,11 +0,0 @@
[Desktop Entry]
Name=Gnuclient
GenericName=Text Editor
Comment=Edit text
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++;
Exec=gnuclient %f
Icon=xemacs
Type=Application
Terminal=false
Categories=Application;Utility;TextEditor;
StartupWMClass=XEmacs

View file

@ -1 +0,0 @@
acbecd8dd6a032de44bcdb69b51d5708 xemacs-20140605hgacf1c26e3019.tar.xz

View file

@ -1,11 +0,0 @@
--- ./Makefile.in.in.orig 2012-08-02 12:38:27.000000000 -0600
+++ ./Makefile.in.in 2012-08-06 20:27:16.084145753 -0600
@@ -394,7 +394,7 @@ etc/PROBLEMS: $(srcdir)/PROBLEMS
install-only: ${MAKE_SUBDIR} check-features install-arch-dep install-arch-indep
-install: all check-features install-arch-dep install-arch-indep
+install: all install-arch-dep install-arch-indep
install-arch-dep: mkdir
for subdir in ${INSTALL_ARCH_DEP_SUBDIR}; do \

View file

@ -1,61 +0,0 @@
--- src/mule-wnnfns.c.orig 2011-04-29 07:31:16.000000000 -0600
+++ src/mule-wnnfns.c 2011-05-03 14:00:02.625969757 -0600
@@ -316,7 +316,7 @@
Lisp_Object Qwnn_jisho, Qwnn_sbn, Qwnn_dbn_len, Qwnn_sbn_cnt, Qwnn_suuji;
Lisp_Object Qwnn_kana, Qwnn_eisuu, Qwnn_kigou, Qwnn_toji_kakko, Qwnn_fuzokogo, Qwnn_kaikakko;
Lisp_Object Vwnn_server_type;
-Lisp_Object Vcwnn_zhuyin;
+//Lisp_Object Vcwnn_zhuyin;
Lisp_Object Vwnnenv_sticky;
Lisp_Object Vwnn_uniq_level;
Lisp_Object Qchinese_sisheng;
@@ -1914,9 +1914,11 @@
DEFVAR_LISP ("wnn-server-type", &Vwnn_server_type /*
*jserver, cserver ..
*/ );
- DEFVAR_LISP ("cwnn-zhuyin", &Vcwnn_zhuyin /*
+#if 0
+ DEFVAR_LISP ("cwnn-zhuyin", &Vcwnn_zhuyin /*
*pinyin or zhuyin
*/ );
+#endif
DEFVAR_LISP ("wnnenv-sticky", &Vwnnenv_sticky /*
*If non-nil, make environment sticky
*/ );
@@ -1925,7 +1927,7 @@
*/ );
Vwnn_server_type = Qjserver;
- Vcwnn_zhuyin = Qnil;
+ //Vcwnn_zhuyin = Qnil;
Vwnnenv_sticky = Qnil;
DEFSYMBOL (Qchinese_sisheng);
@@ -1952,10 +1954,14 @@
case 0x80:
if (EQ(Vwnn_server_type, Qcserver))
{
+#if 0
len = cwnn_yincod_pzy (pzy, wc,
NILP (Vcwnn_zhuyin)
? CWNN_PINYIN
: CWNN_ZHUYIN);
+#else
+ len = 0;
+#endif
for (i = 0; i < len; i++)
{
if (pzy[i] & 0x80)
@@ -2055,8 +2061,12 @@
else *pin = *w;
w++; pin++;
}
+#if 0
len = cwnn_pzy_yincod (ybuf, pbuf,
NILP (Vcwnn_zhuyin) ? CWNN_PINYIN : CWNN_ZHUYIN);
+#else
+ return;
+#endif
if (len <= 0)
return;

View file

@ -1,28 +0,0 @@
--- ./aclocal.m4.orig 2012-08-02 12:38:27.000000000 -0600
+++ ./aclocal.m4 2012-08-06 20:28:23.842705270 -0600
@@ -533,7 +533,10 @@ if test "$xe_gnu_ld" = yes -a "$ld_shlib
;;
*)
- ld_dynamic_link_flags="${wl}-export-dynamic"
+ # avoid -export-dynamic on ia64
+ if test "$xehost_cpu" != "ia64"; then
+ ld_dynamic_link_flags="${wl}-export-dynamic"
+ fi
;;
esac
fi
--- ./configure.orig 2012-08-02 12:39:01.000000000 -0600
+++ ./configure 2012-08-06 20:28:23.841705350 -0600
@@ -15007,7 +15007,10 @@ if test "$xe_gnu_ld" = yes -a "$ld_shlib
;;
*)
- ld_dynamic_link_flags="${wl}-export-dynamic"
+ # avoid -export-dynamic on ia64
+ if test "$xehost_cpu" != "ia64"; then
+ ld_dynamic_link_flags="${wl}-export-dynamic"
+ fi
;;
esac
fi

View file

@ -1,11 +0,0 @@
--- ./src/faces.c.orig 2012-08-02 12:38:29.000000000 -0600
+++ ./src/faces.c 2012-08-06 20:29:33.659097709 -0600
@@ -2484,7 +2484,7 @@ complex_vars_of_faces (void)
Fcons
(Fcons
(list1 (device_symbol),
- build_ascstring ("-*-lucidatypewriter-medium-r-*-*-*-120-*-*-*-*-*-*")),
+ build_ascstring ("-*-courier-medium-r-*-*-*-120-*-*-*-*-*-*")),
inst_list);
#endif /* !HAVE_XFT */

View file

@ -1,11 +0,0 @@
--- ./lisp/x-init.el.orig 2012-08-02 12:38:28.000000000 -0600
+++ ./lisp/x-init.el 2012-08-06 20:31:09.330411828 -0600
@@ -154,7 +154,7 @@ it was previously unaware of, the predic
(string-equal "X Consortium" vendor))
;; Ok, we think this could be a Sun keyboard. Run the Sun code.
(x-win-init-sun device))
- ((string-match #r"XFree86\|Cygwin/X\|The X\.Org Foundation" vendor)
+ ((string-match #r"XFree86\|Cygwin/X\|The X\.Org Foundation\|Fedora Project" vendor)
;; Those XFree86 people do some weird keysym stuff, too.
(x-win-init-xfree86 device)))))

View file

@ -1,64 +0,0 @@
--- etc/Emacs.ad.orig 2013-08-21 11:43:43.000000000 -0600
+++ etc/Emacs.ad 2013-10-24 20:00:00.000000000 -0600
@@ -222,36 +222,40 @@
! *menubar*FontSet: -*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*, \
! -*-*-*-*-*-*-*-120-*-jisx0208.1983-0
!
-*menubar*Font: -*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*
-*popup*Font: -*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*
-*menubar*FontSet: -*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*, \
+*menubar*Font: -*-helvetica-bold-r-*-*-*-120-*-*-*-*-*-*
+*popup*Font: -*-helvetica-bold-r-*-*-*-120-*-*-*-*-*-*
+
+XEmacs*FontSet: -*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso10646-1, \
+ -*-helvetica-bold-r-*-*-*-120-*-*-*-*-*-*, \
+ *
+*menubar*FontSet: -*-helvetica-bold-r-*-*-*-120-*-*-*-*-*-*, \
-*-*-*-*-*-*-*-120-*-iso10646-1, \
-*-*-*-*-*-*-*-120-*-jisx0208.1983-0, \
-*-*-*-*-*-*-*-120-*-jisx0201.1976-0
-*popup*FontSet: -*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*, \
+*popup*FontSet: -*-helvetica-bold-r-*-*-*-120-*-*-*-*-*-*, \
-*-*-*-*-*-*-*-120-*-iso10646-1, \
-*-*-*-*-*-*-*-120-*-jisx0208.1983-0, \
-*-*-*-*-*-*-*-120-*-jisx0201.1976-0
! Gui elements share this font
!
-Emacs.gui-element.attributeFont: -*-helvetica-medium-r-*-*-*-120-*-*-*-*-iso8859-*
+Emacs.gui-element.attributeFont: -*-helvetica-medium-r-*-*-*-120-*-*-*-*-*-*
! Font in the Motif dialog boxes.
! (Motif uses `fontList' while most other things use `font' - if you don't
! know why you probably don't want to.)
!
-*XmDialogShell*FontList: -*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*
-*XmTextField*FontList: -*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-*
-*XmText*FontList: -*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-*
-*XmList*FontList: -*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-*
+*XmDialogShell*FontList: -*-helvetica-bold-r-*-*-*-120-*-*-*-*-*-*
+*XmTextField*FontList: -*-courier-medium-r-*-*-*-120-*-*-*-*-*-*
+*XmText*FontList: -*-courier-medium-r-*-*-*-120-*-*-*-*-*-*
+*XmList*FontList: -*-courier-medium-r-*-*-*-120-*-*-*-*-*-*
! Font in the Athena dialog boxes.
! I think 14-point looks nicer than 12-point.
! Some people use 12-point anyway because you get more text, but
! there's no purpose at all in doing this for dialog boxes.
-*Dialog*Font: -*-helvetica-bold-r-*-*-*-140-*-*-*-*-iso8859-*
+*Dialog*Font: -*-helvetica-bold-r-*-*-*-140-*-*-*-*-*-*
! Dialog box translations.
! =======================
--- lwlib/xlwmenu.c.orig 2013-08-21 11:43:43.000000000 -0600
+++ lwlib/xlwmenu.c 2013-10-24 20:00:00.000000000 -0600
@@ -108,7 +108,7 @@
/* We must use an iso8859-1 font here, or people without $LANG set lose.
It's fair to assume that those who do have $LANG set also have the
*fontList resource set, or at least know how to deal with this. */
- XtRString, (XtPointer) "-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-1"),
+ XtRString, (XtPointer) "-*-helvetica-bold-r-*-*-*-120-*-*-*-*-*-1"),
#else
fontres (XtNfont, XtCFont, XtRFontStruct, XFontStruct *, font,
"XtDefaultFont"),

View file

@ -1,156 +0,0 @@
;;; site-start.el - loaded at startup before "~/.xemacs/init.el"
;;;
;;; The "-no-site-file" option to xemacs prevents this file from being loaded.
;;; psgml catalog list
(setq sgml-catalog-files
(if (getenv "SGML_CATALOG_FILES")
(split-path (getenv "SGML_CATALOG_FILES"))
(list "CATALOG" "catalog"
"/etc/sgml/catalog"
"/etc/xml/catalog"
(locate-data-file "CATALOG"))))
;; default to non-kerberos ftp
(setq efs-ftp-program-name "/usr/bin/ftp")
;; default to unified diffs
(setq-default diff-switches "-u")
;; decrease lazy-lock default threshold
(setq-default lazy-lock-minimum-size (* 2 1024))
;; load .el files in "site-start.d/"
(let ((files (directory-files
"/usr/share/xemacs/site-packages/lisp/site-start.d" t "\\.el$")))
(mapc 'load-file files))
;; fix default courier italics
;; for courier, oblique usually produces better results than italic
(setq try-oblique-before-italic-fonts t)
(when window-system
(make-face-italic 'italic)
(make-face-italic 'bold-italic))
;; Set up language environment and coding systems
(when (featurep 'mule)
(let* ((locale (getenv "LANG"))
(lang-region (and locale
(substring locale 0 (min 5 (length locale)))))
(lang (and lang-region
(substring lang-region 0 (min 2 (length lang-region))))))
(cond ((equal lang "af")
(set-language-environment "Afrikaans"))
((equal lang "sq")
(set-language-environment "Albanian"))
((equal lang "ca")
(set-language-environment "Catalan"))
((or (equal lang-region "zh_TW") (equal lang-region "zh_HK"))
(set-language-environment "Chinese-BIG5"))
((or (equal lang-region "zh_CN") (equal lang-region "zh_SG"))
(set-language-environment "Chinese-GB"))
((equal lang "hr")
(set-language-environment "Croatian"))
((equal lang "ru")
(set-language-environment "Cyrillic-KOI8"))
((equal lang "cs")
(set-language-environment "Czech"))
((equal lang "da")
(set-language-environment "Danish"))
((equal lang "nl")
(set-language-environment "Dutch"))
((equal lang "et")
(set-language-environment "Estonian"))
((equal lang "fi")
(set-language-environment "Finnish"))
((equal lang "fr")
(set-language-environment "French"))
((equal lang "gl")
(set-language-environment "Galician"))
((equal lang "de")
(set-language-environment "German"))
((equal lang "el")
(set-language-environment "Greek"))
((equal lang "kl")
(set-language-environment "Greenlandic"))
((or (equal lang "he") (equal lang "iw"))
(set-language-environment "Hebrew"))
((equal lang "hu")
(set-language-environment "Hungarian"))
((equal lang "ga")
(set-language-environment "Irish"))
((equal lang "it")
(set-language-environment "Italian"))
((equal lang "ja")
(set-language-environment "Japanese"))
((equal lang "ko")
(set-language-environment "Korean"))
((equal lang "lt")
(set-language-environment "Lithuanian"))
((equal lang "mt")
(set-language-environment "Maltese"))
((or (equal lang "nb") (equal lang "nn") (equal lang "no"))
(set-language-environment "Norwegian"))
((equal lang "pl")
(set-language-environment "Polish"))
((equal lang "pt")
(set-language-environment "Portuguese"))
((equal lang "ro")
(set-language-environment "Romanian"))
((equal lang "sk")
(set-language-environment "Slovak"))
((equal lang "sl")
(set-language-environment "Slovenian"))
((equal lang "es")
(set-language-environment "Spanish"))
((equal lang "sv")
(set-language-environment "Swedish"))
((equal lang "th")
(set-language-environment "Thai-XTIS"))
((equal lang "tr")
(set-language-environment "Turkish"))
((equal lang "vi")
(set-language-environment "Vietnamese"))
(t
(set-language-environment "English")))
;; set-language-environment changes the locale; restore it.
(setenv "LANG" locale)
(set-current-locale (or locale "C"))
(let* ((tmp (shell-command-to-string "locale charmap"))
(tmp (substring tmp 0 (string-match "\[ \t\n\]" tmp)))
(tmp (intern (downcase tmp))))
(when (find-coding-system tmp)
(let ((cat (or (coding-system-category tmp) tmp)))
(set-coding-priority-list (list cat))
(set-coding-category-system cat tmp))
(set-default-output-coding-systems tmp)
(set-keyboard-coding-system tmp)
(set-terminal-coding-system tmp)
(setq file-name-coding-system tmp)
(setq process-coding-system-alist (cons (cons ".*" tmp) '()))
(define-coding-system-alias 'native tmp)))
;; Register available Input Methods.
(load "leim-list" t)
(when (member lang '("ja" "ko" "zh"))
;; ispell doesn't support CJK
(setq-default ispell-local-dictionary "english"))))
;; Set input mode
;(let ((value (current-input-mode)))
; (set-input-mode (nth 0 value)
; (nth 1 value)
; (terminal-coding-system)
; ;; This quit value is optional
; (nth 3 value)))
;; try to preserve user/group when saving files
(setq-default backup-by-copying-when-mismatch t)
;; when saving a buffer always end it with a newline
(setq-default require-final-newline t)
;; the graphical progress bar is buggy - disable it by default (#188973)
(setq-default progress-feedback-use-echo-area t)

View file

@ -1,34 +0,0 @@
#!/bin/bash
set -e
if [ -z "$1" -o $# -ne 1 ]; then
echo "Usage: $0 <hg-revision>"
exit 2
fi
rev="$1"
tmp=$(mktemp -d)
tarball="xemacs-$(date +%Y%m%d)hg$rev.tar"
trap cleanup EXIT
cleanup() {
set +e
[ -z "$tmp" -o ! -d "$tmp" ] || rm -rf "$tmp"
}
unset CDPATH
pwd=$(pwd)
now=$(date +%Y%m%d)
cd "$tmp"
hg clone https://bitbucket.org/xemacs/xemacs-beta
cd xemacs-beta
hg update -r "$rev"
# Hack to avoid needing .hg/ around but still getting xemacs-extra-name right
hg identify | cut -d " " -f 1 >> version.sh.in # see configure.ac
rm -r .hg*
cd ..
tar cf "$pwd/$tarball" xemacs-beta
xz -9f "$pwd/$tarball"
cd - >/dev/null

View file

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<application>
<id type="desktop">xemacs.desktop</id>
<licence>CC0</licence>
<description>
<p>
XEmacs is a highly customizable open source text editor and application
development system.
</p>
<p>XEmacs is protected under the GNU General Public License. It is related
to other versions of Emacs, in particular GNU Emacs. Its emphasis is on
modern graphical user interface support and an open software development
model, similar to Linux.
</p>
</description>
<screenshots>
<screenshot type="default">http://www.xemacs.org/Images/gnus.png</screenshot>
<screenshot>http://www.xemacs.org/Images/custom.png</screenshot>
</screenshots>
<url type="homepage">http://www.xemacs.org/</url>
<updatecontact>james@xemacs.org</updatecontact>
</application>

View file

@ -1,34 +0,0 @@
[Desktop Entry]
Name=XEmacs Text Editor
Name[bg]=редактор XEmacs
Name[ca]=Editor XEmacs
Name[cs]=Editor XEmacs
Name[da]=XEmacs tekstredigerer
Name[de]=XEmacs Texteditor
Name[eo]=La redaktilo XEmakso
Name[es]=Emacs para X
Name[et]=Emacs X'i kasutajaliidesega
Name[fi]=XEmacs editori
Name[fr]=Éditeur XEmacs
Name[hu]=XEmacs szövegszerkesztő
Name[is]=XEmacs-ritill
Name[it]=Emacs per X
Name[ja]=XEmacs
Name[mk]=Софистицираниот XEmacs уредувач
Name[no]=XEmacs-tekstredigerer
Name[pt]=Editor XEmacs
Name[ro]=Editorul XEmacs
Name[ru]=Редактор XEmacs
Name[sk]=Editor XEmacs
Name[sl]=Urejevalnik XEmacs
Name[uk]=Редактор XEmacs
GenericName=Text Editor
Comment=Edit text
Comment[zh_TW]=
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++;
Exec=xemacs %f
Icon=xemacs
Type=Application
Terminal=false
Categories=Application;Utility;TextEditor;
StartupWMClass=XEmacs

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

View file

@ -1,955 +0,0 @@
# TODO: review desktop entry associations (does text/* work?)
# TODO: zero-length /usr/share/xemacs-21.5-b26/lisp/dump-paths.el
# TODO: non-ASCII in buffer tabs
%bcond_with gtk
%bcond_with wnn
%bcond_with xaw3d
%bcond_with xfs
%bcond_with xim
%bcond_without mule
%bcond_without nox
%ifarch ia64
# no-expdyn-ia64 patch, https://bugzilla.redhat.com/show_bug.cgi?id=106744#c39
%bcond_with modules
%else
%bcond_without modules
%endif
%global snap 20140605hgacf1c26e3019
Name: xemacs
Version: 21.5.34
Release: 7%{?snap:.%{snap}}%{?dist}
Summary: Different version of Emacs
%global majver %(cut -d. -f1-2 <<<%{version})
Group: Applications/Editors
License: GPLv3+
URL: http://www.xemacs.org/
%if 0%{?snap:1}
Source0: %{name}-%{snap}.tar.xz
%else
Source0: http://ftp.xemacs.org/xemacs-%{majver}/xemacs-%{version}.tar.gz
%endif
Source1: %{name}.png
Source2: xemacs.desktop
Source3: dotxemacs-init.el
Source4: default.el
Source5: xemacs-sitestart.el
Source6: gnuclient.desktop
Source7: %{name}.appdata.xml
# Fedora-specific. Don't run the check-features Makefile target. It checks
# that necessary packages are installed, but they aren't installed while
# building an RPM.
Patch0: %{name}-21.5.25-mk-nochk-features.patch
# Experimental patch. Fix WNN support. This patch is no longer sufficient.
# WNN still doesn't work.
Patch1: %{name}-21.5.25-wnnfix-128362.patch
# Fedora-specific. Don't force ISO-8859 fonts.
Patch2: %{name}-21.5.34-utf8-fonts.patch
# Experimental patch, to be sent upstream eventually. Don't use
# -export-dynamic on IA64; leads to segfaults due to function pointer issues.
Patch3: %{name}-21.5.27-no-expdyn-ia64-106744.patch
# Fedora-specific. Default to courier instead of lucidatypewriter.
Patch4: %{name}-21.5.28-courier-default.patch
# Fedora-specific. Recognize the Fedora X server.
Patch5: %{name}-21.5.29-x-server.patch
BuildRequires: texinfo
BuildRequires: ncurses-devel
BuildRequires: gpm-devel
BuildRequires: pam-devel
BuildRequires: zlib-devel
BuildRequires: libjpeg-devel
BuildRequires: compface-devel
BuildRequires: libpng-devel
BuildRequires: libtiff-devel
BuildRequires: giflib-devel
BuildRequires: desktop-file-utils
%if %{with mule}
BuildRequires: Canna-devel
%if %{with wnn}
BuildRequires: FreeWnn-devel
%endif # wnn
%endif # mule
BuildRequires: xmkmf
BuildRequires: libXau-devel
BuildRequires: libXpm-devel
BuildRequires: alsa-lib-devel
BuildRequires: libdb-devel
BuildRequires: gmp-devel
%if %{with gtk}
BuildRequires: gtk+-devel
BuildRequires: libglade-devel
%else # gtk
BuildRequires: xorg-x11-xbitmaps
%if %{with xaw3d}
BuildRequires: Xaw3d-devel
%else # xaw3d
BuildRequires: neXtaw-devel
%endif # xaw3d
%endif # gtk
BuildRequires: libXft-devel
# Note: no xemacs-packages-extra dependency here, need main pkg to build it.
Requires: xemacs-packages-base >= 20060510
Requires: %{name}-common = %{version}-%{release}
Requires: xorg-x11-fonts-ISO8859-1-75dpi
Requires: xorg-x11-fonts-ISO8859-1-100dpi
Requires: xorg-x11-fonts-misc
Requires(post): chkconfig
Requires(post): coreutils
Requires(postun): chkconfig
Requires(postun): coreutils
Provides: xemacs(bin) = %{version}-%{release}
%global xver %(echo %{version} | sed -e 's/\\.\\([0-9]\\+\\)$/-b\\1/')
%global xbuild %(echo %{_build} | sed -e 's/^\\([^-]*-[^-]*-[^-]*\\).*/\\1/')
%description
XEmacs is a highly customizable open source text editor and
application development system. It is protected under the GNU General
Public License and related to other versions of Emacs, in particular
GNU Emacs. Its emphasis is on modern graphical user interface support
and an open software development model, similar to Linux.
This package contains XEmacs built for X Windows%{?with_mule: with MULE support}.
%package common
Summary: Byte-compiled lisp files and other common files for XEmacs
Group: Applications/Editors
Requires: %{name}-filesystem = %{version}-%{release}
Requires(post): chkconfig
Requires(preun): chkconfig
%description common
XEmacs is a highly customizable open source text editor and
application development system. It is protected under the GNU General
Public License and related to other versions of Emacs, in particular
GNU Emacs. Its emphasis is on modern graphical user interface support
and an open software development model, similar to Linux.
This package contains byte-compiled lisp and other common files for XEmacs.
%package nox
Summary: Different version of Emacs built without X Windows support
Group: Applications/Editors
# Note: no xemacs-packages* dependencies here, we need -nox to build the
# base package set.
Requires: %{name}-common = %{version}-%{release}
Requires(post): chkconfig
Requires(post): coreutils
Requires(postun): chkconfig
Provides: xemacs(bin) = %{version}-%{release}
%description nox
XEmacs is a highly customizable open source text editor and
application development system. It is protected under the GNU General
Public License and related to other versions of Emacs, in particular
GNU Emacs. Its emphasis is on modern graphical user interface support
and an open software development model, similar to Linux.
This package contains XEmacs built without X Windows support.
%package xft
Summary: Different version of Emacs built with Xft/fontconfig support
Group: Applications/Editors
Requires: %{name}-common = %{version}-%{release}
Requires: xemacs-packages-base >= 20060510
Requires(post): chkconfig
Requires(post): coreutils
Requires(postun): chkconfig
Provides: xemacs(bin) = %{version}-%{release}
%description xft
XEmacs is a highly customizable open source text editor and
application development system. It is protected under the GNU General
Public License and related to other versions of Emacs, in particular
GNU Emacs. Its emphasis is on modern graphical user interface support
and an open software development model, similar to Linux.
This package contains XEmacs built with Xft and fontconfig support.
%package el
Summary: Emacs lisp source files for XEmacs
Group: Development/Libraries
Requires: %{name}-filesystem = %{version}-%{release}
%description el
XEmacs is a highly customizable open source text editor and
application development system. It is protected under the GNU General
Public License and related to other versions of Emacs, in particular
GNU Emacs. Its emphasis is on modern graphical user interface support
and an open software development model, similar to Linux.
This package contains the lisp source files for XEmacs, mainly of
interest when developing or debugging XEmacs itself.
%package info
Summary: XEmacs documentation in GNU texinfo format
Group: Documentation
BuildArch: noarch
Requires(post): info
Requires(preun): info
%description info
XEmacs is a highly customizable open source text editor and
application development system. It is protected under the GNU General
Public License and related to other versions of Emacs, in particular
GNU Emacs. Its emphasis is on modern graphical user interface support
and an open software development model, similar to Linux.
This package contains XEmacs documentation in GNU texinfo format.
%package devel
Summary: Development files for XEmacs
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: pkgconfig
%description devel
XEmacs is a highly customizable open source text editor and
application development system. It is protected under the GNU General
Public License and related to other versions of Emacs, in particular
GNU Emacs. Its emphasis is on modern graphical user interface support
and an open software development model, similar to Linux.
This package contains XEmacs development support files.
%package filesystem
Summary: XEmacs filesystem layout
Group: Applications/Editors
BuildArch: noarch
%description filesystem
XEmacs is a highly customizable open source text editor and
application development system. It is protected under the GNU General
Public License and related to other versions of Emacs, in particular
GNU Emacs. Its emphasis is on modern graphical user interface support
and an open software development model, similar to Linux.
This package contains directories that are required by other packages that
add functionality to XEmacs.
%prep
%setup -q -n %{name}-%{?snap:beta}%{!?snap:%{version}}
find . -type f -name "*.elc" -o -name "*.info*" | xargs rm -f
rm -f configure.in
sed -i -e /tetris/d lisp/menubar-items.el
%patch0
%patch1
%patch2
%patch3
%patch4
%patch5
sed -e 's/"lib"/"%{_lib}"/' lisp/setup-paths.el > lisp/setup-paths.el.new
touch -r lisp/setup-paths.el lisp/setup-paths.el.new
mv -f lisp/setup-paths.el.new lisp/setup-paths.el
for f in man/lispref/mule.texi man/xemacs-faq.texi CHANGES-beta ; do
iconv -f iso-8859-1 -t utf-8 -o $f.utf8 $f
touch -r $f $f.utf8
mv -f $f.utf8 $f
done
%build
%if %{with gtk}
CFLAGS="$CFLAGS $(pkg-config libglade --cflags) -fno-strict-aliasing"
%else
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%endif
export CFLAGS
export EMACSLOADPATH=$PWD/lisp:$PWD/lisp/mule
export LDFLAGS="$RPM_LD_FLAGS -Wl,--as-needed"
# The --with-*dir args can probably go away in the future if/when upstream
# configure learns to honor standard autofoo dirs better.
common_options="
--mandir=%{_mandir}/man1
--with-archlibdir=%{_libdir}/xemacs-%{xver}/%{xbuild}
%if %{with modules}
--with-moduledir=%{_libdir}/xemacs-%{xver}/%{xbuild}/modules
%endif
--with-lispdir=%{_datadir}/xemacs-%{xver}/lisp
--with-etcdir=%{_datadir}/xemacs-%{xver}/etc
--with-system-packages=%{_datadir}/xemacs
--without-msw
%if %{with mule}
--with-mule
%endif
--with-clash-detection
--with-database=berkdb
--without-ldap
--without-postgresql
--with-mail-locking=lockf
--with-pop
--without-hesiod
%ifarch alpha ia64 ppc64
--with-system-malloc
%endif
--with-pdump
%if ! %{with modules}
--without-modules
%endif
--with-debug
--with-error-checking=none
--enable-bignum=gmp
--with-union-type
"
%if %{with nox}
# build without X
%configure $common_options \
--with-docdir=%{_libdir}/xemacs-%{xver}/doc-nox \
--with-sound=none \
--with-xim=no \
--without-canna \
--without-wnn \
--without-x
make EMACSDEBUGPATHS=yes # toplevel parallel make fails
mv lib-src/DOC{,-nox}
mv src/xemacs{,-nox-%{xver}}
mv lib-src/config.values{,-nox}
mv Installation{,-nox}
%endif # nox
# build with Xft
%configure $common_options \
--with-docdir=%{_libdir}/xemacs-%{xver}/doc-xft \
--with-sound=nonative,alsa \
--with-xft=all \
%if %{with gtk}
--with-gtk \
--with-gnome \
%else
--with-athena=%{?with_xaw3d:3d}%{!?with_xaw3d:next} \
--with-menubars=lucid \
--with-widgets=athena \
--with-dialogs=athena \
--with-scrollbars=lucid \
--with-xim=%{?with_xim:xlib}%{!?with_xim:no} \
%endif
%if ! %{with wnn}
--without-wnn
%endif
make EMACSDEBUGPATHS=yes # toplevel parallel make fails
mv lib-src/DOC{,-xft}
mv src/xemacs{,-xft-%{xver}}
mv lib-src/config.values{,-xft}
mv Installation{,-xft}
# build with X
%configure $common_options \
--with-docdir=%{_libdir}/xemacs-%{xver}/doc \
--with-sound=nonative,alsa \
%if %{with xft}
--with-xft=all \
%else
%if %{with xfs}
--with-xfs \
%endif
%endif
%if %{with gtk}
--with-gtk \
--with-gnome \
%else
--with-athena=%{?with_xaw3d:3d}%{!?with_xaw3d:next} \
--with-menubars=lucid \
--with-widgets=athena \
--with-dialogs=athena \
--with-scrollbars=lucid \
--with-xim=%{?with_xim:xlib}%{!?with_xim:no} \
%endif
%if ! %{with wnn}
--without-wnn
%endif
make EMACSDEBUGPATHS=yes # toplevel parallel make fails
cat << \EOF > xemacs.pc
prefix=%{_prefix}
%if %{with modules}
includedir=%{_libdir}/xemacs-%{xver}/%{xbuild}/include
sitemoduledir=%{_libdir}/xemacs/site-modules
%endif
sitestartdir=%{_datadir}/xemacs/site-packages/lisp/site-start.d
sitepkglispdir=%{_datadir}/xemacs/site-packages/lisp
Name: xemacs
Description: Different version of Emacs
Version: %{version}
%if %{with modules}
Cflags: -I${includedir}
%endif
EOF
cat > macros.xemacs << EOF
%%_xemacs_version %{majver}
%%_xemacs_ev %{?epoch:%{epoch}:}%{version}
%%_xemacs_evr %{?epoch:%{epoch}:}%{version}-%{release}
%%_xemacs_sitepkgdir %{_datadir}/xemacs/site-packages
%%_xemacs_sitelispdir %{_datadir}/xemacs/site-packages/lisp
%%_xemacs_sitestartdir %{_datadir}/xemacs/site-packages/lisp/site-start.d
%%_xemacs_bytecompile /usr/bin/xemacs -q -no-site-file -batch -eval '(push "." load-path)' -f batch-byte-compile
%if %{with modules}
%%_xemacs_includedir %{_libdir}/xemacs-%{xver}/%{xbuild}/include
%%_xemacs_sitemoduledir %{_libdir}/xemacs/site-modules
%endif
EOF
%install
make install DESTDIR=$RPM_BUILD_ROOT
%if %{with nox}
# install nox files
echo ".so man1/xemacs.1" > $RPM_BUILD_ROOT%{_mandir}/man1/xemacs-nox.1
install -pm 755 src/xemacs-nox-%{xver} $RPM_BUILD_ROOT%{_bindir}
ln -s xemacs-nox-%{xver} $RPM_BUILD_ROOT%{_bindir}/xemacs-nox
install -dm 755 $RPM_BUILD_ROOT%{_libdir}/xemacs-%{xver}/doc-nox
install -pm 644 lib-src/DOC-nox \
$RPM_BUILD_ROOT%{_libdir}/xemacs-%{xver}/doc-nox/DOC
install -pm 644 lib-src/config.values-nox \
$RPM_BUILD_ROOT%{_libdir}/xemacs-%{xver}/doc-nox/config.values
%endif # nox
# install xft files
echo ".so man1/xemacs.1" > $RPM_BUILD_ROOT%{_mandir}/man1/xemacs-xft.1
install -pm 755 src/xemacs-xft-%{xver} $RPM_BUILD_ROOT%{_bindir}
ln -s xemacs-xft-%{xver} $RPM_BUILD_ROOT%{_bindir}/xemacs-xft
install -dm 755 $RPM_BUILD_ROOT%{_libdir}/xemacs-%{xver}/doc-xft
install -pm 644 lib-src/DOC-xft \
$RPM_BUILD_ROOT%{_libdir}/xemacs-%{xver}/doc-xft/DOC
install -pm 644 lib-src/config.values-xft \
$RPM_BUILD_ROOT%{_libdir}/xemacs-%{xver}/doc-xft/config.values
# these clash with GNU Emacs
mv $RPM_BUILD_ROOT%{_bindir}/etags{,.xemacs}
rm -f $RPM_BUILD_ROOT%{_bindir}/{ctags,rcs-checkin,b2m}
mv $RPM_BUILD_ROOT%{_mandir}/man1/etags{,.xemacs}.1
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/ctags.1
rm -f $RPM_BUILD_ROOT%{_infodir}/{cl,widget}.info*
# these clash with other packages
rm -f $RPM_BUILD_ROOT%{_infodir}/info*
rm -f $RPM_BUILD_ROOT%{_infodir}/standards*
rm -f $RPM_BUILD_ROOT%{_infodir}/termcap*
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
desktop-file-install --mode=644 --dir=$RPM_BUILD_ROOT%{_datadir}/applications \
%{SOURCE2}
desktop-file-install --mode=644 --dir=$RPM_BUILD_ROOT%{_datadir}/applications \
%{SOURCE6}
# AppData file
mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
install -pm 644 %{SOURCE7} $RPM_BUILD_ROOT%{_datadir}/appdata
# site-start.el
install -dm 755 \
$RPM_BUILD_ROOT%{_datadir}/xemacs/site-packages/lisp/site-start.d
install -pm 644 %{SOURCE5} \
$RPM_BUILD_ROOT%{_datadir}/xemacs/site-packages/lisp/site-start.el
# default.el
install -pm 644 %{SOURCE4} $RPM_BUILD_ROOT%{_datadir}/xemacs/site-packages/lisp
# default user init file
install -Dpm 644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/skel/.xemacs/init.el
# icon
install -Dpm 644 %{SOURCE1} \
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/xemacs.png
# macro file
install -Dpm 644 macros.xemacs $RPM_BUILD_ROOT%{_rpmconfigdir}/macros.d/macros.%{name}
# Empty directories for external packages to use
mkdir -m 0755 $RPM_BUILD_ROOT%{_datadir}/xemacs/site-packages/etc
mkdir -m 0755 $RPM_BUILD_ROOT%{_datadir}/xemacs/site-packages/info
mkdir -m 0755 $RPM_BUILD_ROOT%{_datadir}/xemacs/site-packages/lib-src
mkdir -m 0755 $RPM_BUILD_ROOT%{_datadir}/xemacs/site-packages/man
mkdir -m 0755 $RPM_BUILD_ROOT%{_datadir}/xemacs/site-packages/pkginfo
# make sure nothing is 0400
chmod -R a+rX $RPM_BUILD_ROOT%{_prefix}
chmod a+x $RPM_BUILD_ROOT%{_datadir}/xemacs-%{xver}%{_sysconfdir}/xemacs-fe.sh
# clean up unneeded stuff (TODO: there's probably much more)
find $RPM_BUILD_ROOT%{_prefix} -name "*~" | xargs -r rm
rm $RPM_BUILD_ROOT%{_libdir}/xemacs-%{xver}/%{xbuild}/gzip-el.sh
rm $RPM_BUILD_ROOT{%{_bindir}/gnuattach,%{_mandir}/man1/gnuattach.1}
cd $RPM_BUILD_ROOT%{_datadir}/xemacs-%{xver}/etc
rm -r InstallGuide tests XKeysymDB *.1
cd -
# separate files
rm -f *.files base-files el-files info-files
echo "%%defattr(-,root,root,-)" > base-files
echo "%%defattr(-,root,root,-)" > el-files
echo "%%defattr(-,root,root,-)" > info-files
find $RPM_BUILD_ROOT%{_datadir}/xemacs{-%{xver},/site-packages/lisp/*} \
\( -type f -not -name '*.el' -fprint base-non-el.files \) -o \
\( -type d -name info -fprint info.files -prune \) -o \
\( -type d -not -name site-start.d -fprintf dir.files "%%%%dir %%p\n" \) -o \
\( -name '*.el' \( -exec test -e '{}'c \; -fprint el-bytecomped.files -o \
-fprint base-el-not-bytecomped.files \) \)
sed -i -e "s|$RPM_BUILD_ROOT||" *.files
# make site-packages lisp files config files
sed -i -e 's|^\(.*/site-packages/lisp/.*\)$|%%config(noreplace) \1|' \
base-el-not-bytecomped.files
# combine the file lists
cat base-*.files dir.files >> base-files
cat el-*.files >> el-files
cat info.files >> info-files
install -Dpm 644 xemacs.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/xemacs.pc
%post
%{_sbindir}/alternatives --install %{_bindir}/xemacs xemacs \
%{_bindir}/xemacs-%{xver} 80
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
%postun
[ -e %{_bindir}/xemacs-%{xver} ] || \
%{_sbindir}/alternatives --remove xemacs %{_bindir}/xemacs-%{xver}
if [ $1 -eq 0 ] ; then
update-desktop-database %{_datadir}/applications &>/dev/null
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null
fi
%posttrans
update-desktop-database %{_datadir}/applications &>/dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%post nox
%{_sbindir}/alternatives --install %{_bindir}/xemacs xemacs \
%{_bindir}/xemacs-nox-%{xver} 40 || :
%postun nox
[ -e %{_bindir}/xemacs-nox-%{xver} ] || \
%{_sbindir}/alternatives --remove xemacs %{_bindir}/xemacs-nox-%{xver} || :
%post xft
%{_sbindir}/alternatives --install %{_bindir}/xemacs xemacs \
%{_bindir}/xemacs-xft-%{xver} 40 || :
%postun xft
[ -e %{_bindir}/xemacs-xft-%{xver} ] || \
%{_sbindir}/alternatives --remove xemacs %{_bindir}/xemacs-xft-%{xver} || :
%post common
%{_sbindir}/alternatives --install %{_bindir}/etags etags \
%{_bindir}/etags.xemacs 40 || :
%preun common
[ $1 -ne 0 ] || \
%{_sbindir}/alternatives --remove etags %{_bindir}/etags.xemacs || :
%post info
for file in xemacs internals lispref new-users-guide ; do
/sbin/install-info %{_infodir}/$file.info %{_infodir}/dir
done
:
%preun info
if [ $1 -eq 0 ] ; then
for file in xemacs internals lispref new-users-guide ; do
/sbin/install-info --delete %{_infodir}/$file.info %{_infodir}/dir
done
fi
:
%files
%doc Installation
# gnuclient needs X libs, so not in -common
%{_bindir}/gnuclient
%{_bindir}/gnudoit
%ghost %{_bindir}/xemacs
%{_bindir}/xemacs-%{xver}
%{_libdir}/xemacs-%{xver}/doc/
%if %{with modules}
%if %{with mule}
%{_libdir}/xemacs-%{xver}/%{xbuild}/modules/canna_api.ell
%endif
%endif
%{_datadir}/appdata/%{name}.appdata.xml
%{_datadir}/applications/%{name}.desktop
%{_datadir}/applications/gnuclient.desktop
%{_datadir}/icons/hicolor/48x48/apps/xemacs.png
%{_mandir}/man1/gnuclient.1*
%{_mandir}/man1/gnudoit.1*
%if %{with nox}
%files nox
%doc Installation-nox
%ghost %{_bindir}/xemacs
%{_bindir}/xemacs-nox
%{_bindir}/xemacs-nox-%{xver}
%{_libdir}/xemacs-%{xver}/doc-nox/
%{_mandir}/man1/xemacs-nox.1*
%endif
%files xft
%doc Installation-xft
%ghost %{_bindir}/xemacs
%{_bindir}/xemacs-xft
%{_bindir}/xemacs-xft-%{xver}
%{_libdir}/xemacs-%{xver}/doc-xft/
%{_mandir}/man1/xemacs-xft.1*
%files common -f base-files
%doc INSTALL README COPYING PROBLEMS CHANGES-beta etc/NEWS etc/TUTORIAL
%{_bindir}/etags.xemacs
%{_bindir}/ootags
%{_bindir}/xemacs-script
%dir %{_libdir}/xemacs-%{xver}/
%dir %{_libdir}/xemacs-%{xver}/%{xbuild}/
%{_libdir}/xemacs-%{xver}/%{xbuild}/[acdfghprsvwy]*
%{_libdir}/xemacs-%{xver}/%{xbuild}/m[am]*
%{_libdir}/xemacs-%{xver}/%{xbuild}/movemail
%if %{with modules}
%{_libdir}/xemacs/
%dir %{_libdir}/xemacs-%{xver}/%{xbuild}/modules/
%{_libdir}/xemacs-%{xver}/%{xbuild}/modules/auto-autoloads.elc
%endif
%{_rpmconfigdir}/macros.d/macros.%{name}
%config(noreplace) %{_sysconfdir}/skel/.xemacs/
%{_mandir}/man1/etags.xemacs.1*
%{_mandir}/man1/gnuserv.1*
%{_mandir}/man1/xemacs.1*
%files el -f el-files
%if %{with modules}
%{_libdir}/xemacs-%{xver}/%{xbuild}/modules/auto-autoloads.el
%endif
%files info -f info-files
%doc COPYING
%{_infodir}/*.info*
%files devel
%if %{with modules}
%{_bindir}/ellcc
%{_libdir}/xemacs-%{xver}/%{xbuild}/include/
%endif
%{_libdir}/pkgconfig/xemacs.pc
%files filesystem
%dir %{_datadir}/xemacs
%dir %{_datadir}/xemacs/site-lisp
%dir %{_datadir}/xemacs/site-packages
%dir %{_datadir}/xemacs/site-packages/etc
%dir %{_datadir}/xemacs/site-packages/info
%dir %{_datadir}/xemacs/site-packages/lib-src
%dir %{_datadir}/xemacs/site-packages/lisp
%dir %{_datadir}/xemacs/site-packages/lisp/site-start.d
%dir %{_datadir}/xemacs/site-packages/man
%dir %{_datadir}/xemacs/site-packages/pkginfo
%changelog
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 21.5.34-7.20140605hgacf1c26e3019
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Thu Jun 5 2014 Jerry James <loganjerry@gmail.com> - 21.5.34-6.20140605hgacf1c26e3019
- Update to snapshot: fixes bz 1095405 and allows diagnosis of bz 1078159
- Update snapshot creating script to use bitbucket and maximally compress
- Don't need to exclude texinfo info files; upstream has dropped them
* Wed Feb 5 2014 Jerry James <loganjerry@gmail.com> - 21.5.34-5
- Disable XIM by default. It hasn't worked since the release of Fedora 19 due
to a fixed size buffer inside libX11 that is too small (see _XimProtoCreateIC
in modules/im/ximcp/imDefIc.c), and nobody has complained.
- Update location of rpm macro file for rpm >= 4.11
* Tue Nov 12 2013 Jerry James <loganjerry@gmail.com> - 21.5.34-4
- Add an AppData file
* Fri Oct 25 2013 Jerry James <loganjerry@gmail.com> - 21.5.34-3
- Update the -utf8-fonts patch to remove more references to iso8859 fonts
* Wed Oct 2 2013 Jerry James <loganjerry@gmail.com> - 21.5.34-2
- Don't package the texinfo info files; they clash with texinfo 5.2
* Thu Aug 22 2013 Jerry James <loganjerry@gmail.com> - 21.5.34-1
- New upstream version
- Drop upstreamed -menubar, -aarch64, and -texinfo patches
- Drop unnecessary sed BR
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 21.5.33-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Wed Jun 19 2013 Jerry James <loganjerry@gmail.com> - 21.5.33-6
- Rebuild for libpng 1.6
* Mon Apr 8 2013 Jerry James <loganjerry@gmail.com> - 21.5.33-5
- Add -texinfo patch to fix problems with texinfo 5 (bz 923365)
- Add -aarch64 patch (bz 926766)
- Build with libdb version 5
- Emacs started shipping cl and widget info files, so we drop them
* Tue Feb 5 2013 Jerry James <loganjerry@gmail.com> - 21.5.33-4
- Update -menubar patch so :visible keyword is accepted in menus (bz 890565)
* Mon Jan 21 2013 Jerry James <loganjerry@gmail.com> - 21.5.33-3
- Add -menubar patch to fix bz 890565
* Mon Jan 21 2013 Adam Tkac <atkac redhat com> - 21.5.33-2
- rebuild due to "jpeg8-ABI" feature drop
* Mon Jan 7 2013 Jerry James <loganjerry@gmail.com> - 21.5.33-1
- New upstream version
- Drop upstreamed view-mode patch
* Fri Dec 21 2012 Adam Tkac <atkac redhat com> - 21.5.32-2
- rebuild against new libjpeg
* Mon Aug 6 2012 Jerry James <loganjerry@gmail.com> - 21.5.32-1
- New upstream version
- Drop upstreamed patches
- Running autoconf no longer necessary
- Drop conditionals for ancient versions of Fedora
- Package X versions of lib-src binaries to get gnuclient linked with -lXau
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 21.5.31-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Sat Jan 7 2012 Jerry James <loganjerry@gmail.com> - 21.5.31-4
- Rebuild for GCC 4.7
- Minor spec file cleanups
* Mon Nov 7 2011 Jerry James <loganjerry@gmail.com> - 21.5.31-3
- Rebuild with new libpng
* Wed Oct 26 2011 Marcela Mašláňová <mmaslano@redhat.com> - 21.5.31-2.2
- rebuild with new gmp without compat lib
* Wed Oct 12 2011 Peter Schiffer <pschiffe@redhat.com> - 21.5.31-2.1
- rebuild with new gmp
* Fri Aug 5 2011 Jerry James <loganjerry@gmail.com> - 21.5.31-2
- Build --with-union-type to avoid a make-int bug in lisp-disunion.h
- Add view-mode patch (bz 709399)
- Add get-other-frame patch from upstream
- Add lib-src patch to eliminate unnecessary linkage
* Tue May 3 2011 Jerry James <loganjerry@gmail.com> - 21.5.31-1
- Update to 21.5.31
- License is now GPLv3+
- Drop upstreamed patches: x-paths, image-overflow, no-xft, png, tty-font,
etags-memmove, arabic, dired, infodir
- Rebase and renumber remaining patches
- Drop workaround for ancient alternatives bug
* Tue Mar 1 2011 Jerry James <loganjerry@gmail.com> - 21.5.29-18
- Make -filesystem subpackage be noarch.
* Tue Mar 1 2011 Jerry James <loganjerry@gmail.com> - 21.5.29-17
- Add filesystem subpackage (bz 672093).
- Add gnuclient desktop file.
- Fix CFLAGS so -fno-strict-aliasing actually gets used.
- Add . to the default load-path in _xemacs_bytecompile.
- Update Requires for pre/post(un) scripts.
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 21.5.29-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Wed Dec 1 2010 Jerry James <loganjerry@gmail.com> - 21.5.29-15
- Don't create /var/lock/xemacs; it is not used (bz 656723).
- Drop the BuildRoot tag.
- Ship COPYING with the -info subpackage.
* Wed Nov 10 2010 Jerry James <loganjerry@gmail.com> - 21.5.29-14
- Create and own subdirectories of site-packages
* Tue Jul 6 2010 Jerry James <loganjerry@gmail.com> - 21.5.29-13
- Add db4 support (bz 581614).
- Add -xft subpackage (bz 356961).
- Recognize Fedora's X server.
* Tue Mar 2 2010 Jerry James <loganjerry@gmail.com> - 21.5.29-12
- Remove the bitmap-fonts dependency.
* Thu Jan 7 2010 Jerry James <loganjerry@gmail.com> - 21.5.29-11
- New upstream patch for bz 547840.
- Add dired patch for large files (bz 550145).
- Replace "lzma" with "xz" for snapshots.
* Mon Dec 21 2009 Jerry James <loganjerry@gmail.com> - 21.5.29-10
- Don't crash with a Persian keyboard layout (bz 547840)
* Tue Dec 8 2009 Jerry James <loganjerry@gmail.com> - 21.5.29-9
- Add patch to use memmove in etags (bz 545399).
* Mon Nov 9 2009 Jerry James <loganjerry@gmail.com> - 21.5.29-8
- Move macros.xemacs to the -common subpackage (bz 533611).
- Updated TTY font patch from upstream.
* Tue Nov 3 2009 Jerry James <loganjerry@gmail.com> - 21.5.29-7
- Make the desktop file consistent with Emacs (bz 532296).
* Wed Oct 28 2009 Jerry James <loganjerry@gmail.com> - 21.5.29-6
- Bring back the courier font patch; that was a red herring.
- Really, seriously fix bz 512623 with a TTY font patch.
- Fix the version number in macros.xemacs.
- Build with bignum support.
- Turn off OSS support.
* Wed Sep 23 2009 Jerry James <loganjerry@gmail.com> - 21.5.29-5
- Final fix for bz 512623, which is actually two bugs, because ...
- ... the courier font patch breaks TTY font detection. Removed that patch
and Require bitmap-fonts to supply the original font name.
- Add macros.xemacs (bz 480546)
- Add png patch to fix a problem with reading PNG files
* Wed Aug 26 2009 Jerry James <loganjerry@gmail.com> - 21.5.29-4
- Use upstream's attempt at fixing #512623 instead of mine, which didn't work.
* Mon Aug 24 2009 Jerry James <loganjerry@gmail.com> - 21.5.29-3
- Fix image overflow bug (CVE-2009-2688).
- Fix calling xft-font-create-object in non-Xft builds (#512623).
- Rebase patches to eliminate fuzz/offsets.
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 21.5.29-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Wed May 20 2009 Ville Skyttä <ville.skytta at iki.fi> - 21.5.29-1
- Update to 21.5.29; gtk-gcc4, finder-lisp-dir, 3d-athena, autoconf262,
doc-encodings, revert-modified, and xemacs-base-autoloads patches applied
upstream.
* Thu Mar 12 2009 Ville Skyttä <ville.skytta at iki.fi> - 21.5.28-13
- Add possibility to build upstream hg snapshots.
- Add dependency on xorg-x11-fonts-misc (#478370, Carl Brune).
- Include Installation{,-nox} in docs.
* Sun Mar 8 2009 Ville Skyttä <ville.skytta at iki.fi> - 21.5.28-12
- Make XFontSet support optional at build time and disable it by default
to work around #478370.
* Thu Feb 26 2009 Ville Skyttä <ville.skytta at iki.fi> - 21.5.28-11
- Apply upstream autoload changes to be able to build recent XEmacs packages.
- Make support for XIM optional at build time, still enabled by default.
- Drop support for building without stack protector compiler flags.
- Make -info subpackage noarch when built for Fedora >= 10.
- Improve icon cache and desktop database refresh scriptlets.
- Use %%global instead of %%define.
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 21.5.28-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Sun Jul 20 2008 Ville Skyttä <ville.skytta at iki.fi> - 21.5.28-9
- Rebuild.
* Sun Jul 6 2008 Ville Skyttä <ville.skytta at iki.fi> - 21.5.28-8
- Apply upstream fix for detection of 3D Athena widget sets.
* Sun Jul 6 2008 Ville Skyttä <ville.skytta at iki.fi> - 21.5.28-7
- Fix build with autoconf >= 2.62 (#449626).
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 21.5.28-6
- Autorebuild for GCC 4.3
* Fri Aug 17 2007 Ville Skyttä <ville.skytta at iki.fi> - 21.5.28-5
- Turn on syntax highlighting by default only if lazy-lock is available.
- Requires(post): coreutils in main package and -nox.
- Scriptlet cleanups.
- License: GPLv2+
* Sat Jun 30 2007 Ville Skyttä <ville.skytta at iki.fi> - 21.5.28-4
- Turn on syntax highlighting with lazy-lock by default.
- Drop Application and X-Fedora categories and Encoding from desktop entry.
- Move diff-switches default from skeleton init.el to site-start.el.
* Sun Jun 24 2007 Ville Skyttä <ville.skytta at iki.fi> - 21.5.28-3
- Apply upstream fix for #245017.
* Wed Jun 6 2007 Ville Skyttä <ville.skytta at iki.fi> - 21.5.28-2
- Set more dirs explicitly until upstream configure honors them better.
- Borrow DESTDIR install patch from openSUSE.
- Add pkgconfig file to -devel.
* Mon May 21 2007 Ville Skyttä <ville.skytta at iki.fi> - 21.5.28-1
- 21.5.28, module path fix applied upstream.
- Patch to retain courier as the default font.
- Fix some corrupt characters in docs.
* Fri May 18 2007 Ville Skyttä <ville.skytta at iki.fi> - 21.5.27-9
- Require one of the actual editor variants in -common.
- Require -common in -el, drop duplicate dir ownerships.
* Wed Jan 24 2007 Ville Skyttä <ville.skytta at iki.fi> - 21.5.27-8
- Fix canna_api.ell install/load paths (#222559).
- Fix site-start.el locale setup when the LANG env var is unset.
* Thu Jan 4 2007 Ville Skyttä <ville.skytta at iki.fi> - 21.5.27-7
- Don't run autoconf during build.
* Wed Jan 3 2007 Ville Skyttä <ville.skytta at iki.fi> - 21.5.27-6
- Fix site-start.el coding system setup in non-UTF8 locales (#213582).
- Fix "--without modules" build.
* Mon Oct 2 2006 Ville Skyttä <ville.skytta at iki.fi> - 21.5.27-5
- Rebuild.
* Wed Sep 20 2006 Ville Skyttä <ville.skytta at iki.fi> - 21.5.27-4
- Disable graphical progress bar by default (#188973).
- Make Wnn support optional at build time, disabled by default.
* Sun Sep 10 2006 Ville Skyttä <ville.skytta at iki.fi> - 21.5.27-3
- Adjust to split xemacs-packages-{base,extra}.
- Provide xemacs(bin) in main package and -nox.
* Sat Sep 2 2006 Ville Skyttä <ville.skytta at iki.fi> - 21.5.27-2
- Fix build when previous revision of the same XEmacs version is installed.
- BuildRequire compface-devel instead of compface.
- Turn error checking off.
- Specfile cleanups.
* Tue May 16 2006 Ville Skyttä <ville.skytta at iki.fi> - 21.5.27-1
- 21.5.27, maximize patch included upstream.
- Drop no longer needed find-paths patch.
- Fix alternatives setup.
* Sun May 7 2006 Ville Skyttä <ville.skytta at iki.fi> - 21.5.26-5
- Apply upstream fix for window maximization problems (#111225).
* Sun Apr 23 2006 Ville Skyttä <ville.skytta at iki.fi> - 21.5.26-4
- Bring StartupWMClass in desktop entry up to date.
- Fix non-MULE build.
* Sat Apr 15 2006 Ville Skyttä <ville.skytta at iki.fi> - 21.5.26-3
- Don't expect to find ellcc if building without modules (#188929).
- New --with/--without rpmbuild flags:
- xft: enable/disable Xft support, default disabled.
- nox: enable/disable building the non-X version, default enabled
- modules: enable/disable module support, default arch-dependent.
- Re-enable XFontSet support for menubars for non-Xft builds (from openSUSE).
- Move gnuserv to -common, gnudoit to base package, drop gnuattach.
- Split ellcc and headers to -devel subpackage.
- Drop unneeded libXaw-devel build dependency.
- Move -nox "man page" to -nox subpackage.
- Fix GTK build and glade detection for it.
- Avoid -common dependency on ALSA.
* Thu Apr 6 2006 Ville Skyttä <ville.skytta at iki.fi> - 21.5.26-2
- Borrow Mike Fabian's site-start.el work from the SuSE package.
* Tue Apr 4 2006 Ville Skyttä <ville.skytta at iki.fi> - 21.5.26-1
- 21.5.26 (WIP).
- Make %%{_bindir}/xemacs an alternative (main/nox).
- Convert some info docs to UTF-8.
* Fri Mar 31 2006 Ville Skyttä <ville.skytta at iki.fi> - 21.5.25-1
- 21.5.25 (WIP).
- Trim pre-21.5 %%changelog entries.