This commit is contained in:
parent
99bb6b4ae9
commit
3946aa5c2d
21
bugzilla-292811-make-x-make-font-bold-italic-xft-work.patch
Normal file
21
bugzilla-292811-make-x-make-font-bold-italic-xft-work.patch
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
diff -ru xemacs-21.5.28.orig/lisp/x-faces.el xemacs-21.5.28/lisp/x-faces.el
|
||||||
|
--- xemacs-21.5.28.orig/lisp/x-faces.el 2007-05-07 16:27:44.000000000 +0200
|
||||||
|
+++ xemacs-21.5.28/lisp/x-faces.el 2007-07-18 19:25:10.000000000 +0200
|
||||||
|
@@ -198,7 +198,7 @@
|
||||||
|
(fc-name-parse font))))
|
||||||
|
(if pattern
|
||||||
|
(let ((size (fc-pattern-get-size pattern 0))
|
||||||
|
- (copy (fc-copy-pattern-partial pattern (list "family"))))
|
||||||
|
+ (copy (fc-copy-pattern-partial pattern (list "family" "slant"))))
|
||||||
|
(fc-pattern-del-weight copy)
|
||||||
|
(fc-pattern-del-style copy)
|
||||||
|
(when copy
|
||||||
|
@@ -272,7 +272,7 @@
|
||||||
|
(fc-name-parse font))))
|
||||||
|
(if pattern
|
||||||
|
(let ((size (fc-pattern-get-size pattern 0))
|
||||||
|
- (copy (fc-copy-pattern-partial pattern (list "family"))))
|
||||||
|
+ (copy (fc-copy-pattern-partial pattern (list "family" "weight"))))
|
||||||
|
(when copy
|
||||||
|
(fc-pattern-del-slant copy)
|
||||||
|
(fc-pattern-del-style copy)
|
@ -11,7 +11,7 @@
|
|||||||
;;; Test whether this works by evaluating (find-function 'next-line)
|
;;; Test whether this works by evaluating (find-function 'next-line)
|
||||||
;;;
|
;;;
|
||||||
|
|
||||||
(defvar build-directory
|
(defvar suse-build-directory
|
||||||
(let ((dumped-file (symbol-file 'next-line)))
|
(let ((dumped-file (symbol-file 'next-line)))
|
||||||
(and lisp-directory
|
(and lisp-directory
|
||||||
(file-directory-p lisp-directory)
|
(file-directory-p lisp-directory)
|
||||||
@ -21,9 +21,9 @@
|
|||||||
(substring dumped-file (match-beginning 1) (match-end 1))))
|
(substring dumped-file (match-beginning 1) (match-end 1))))
|
||||||
"The directory that is stored in load-history for dumped files")
|
"The directory that is stored in load-history for dumped files")
|
||||||
|
|
||||||
(when build-directory
|
(when suse-build-directory
|
||||||
(eval-after-load 'find-func
|
(eval-after-load 'find-func
|
||||||
(dolist (entry load-history)
|
(dolist (entry load-history)
|
||||||
(when (string-match (regexp-quote build-directory) (car entry))
|
(when (string-match (regexp-quote suse-build-directory) (car entry))
|
||||||
(setcar entry (replace-match lisp-directory t t (car entry)))))))
|
(setcar entry (replace-match lisp-directory t t (car entry)))))))
|
||||||
|
|
||||||
|
@ -1,3 +1,20 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 18 19:33:57 CEST 2007 - mfabian@suse.de
|
||||||
|
|
||||||
|
- Bugzilla #292811: make the function 'x-make-font-bold-italic-xft'
|
||||||
|
work.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 18 16:39:12 CEST 2007 - mfabian@suse.de
|
||||||
|
|
||||||
|
- fix the hack in fix-load-history.el to fix the load history
|
||||||
|
which made it possible to use find-function on functions which
|
||||||
|
are in dumped lisp files, even if XEmacs was not dumped at the
|
||||||
|
place where it is finally running. This hack stopped working
|
||||||
|
because the variable 'build-history' now exists already
|
||||||
|
and therefore the 'defvar' in fix-load-history failed to set
|
||||||
|
its value. Renamed the variable to suse-build-directory.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jul 16 15:03:47 CEST 2007 - mfabian@suse.de
|
Mon Jul 16 15:03:47 CEST 2007 - mfabian@suse.de
|
||||||
|
|
||||||
|
15
xemacs.spec
15
xemacs.spec
@ -37,7 +37,7 @@ Requires: xemacs-info xemacs-packages ctags
|
|||||||
Conflicts: gnuserv
|
Conflicts: gnuserv
|
||||||
Autoreqprov: on
|
Autoreqprov: on
|
||||||
Version: 21.5.28
|
Version: 21.5.28
|
||||||
Release: 15
|
Release: 17
|
||||||
Summary: XEmacs
|
Summary: XEmacs
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
# Howto get the cvs tree of XEmacs:
|
# Howto get the cvs tree of XEmacs:
|
||||||
@ -79,6 +79,7 @@ Patch33: set-locale-to-c-when-not-supported-by-x.patch
|
|||||||
Patch34: suppress-warning-about-undefined-unicode-key-mappings.patch
|
Patch34: suppress-warning-about-undefined-unicode-key-mappings.patch
|
||||||
Patch38: unitialized-variables.patch
|
Patch38: unitialized-variables.patch
|
||||||
Patch40: cast-pointer-integer-different-size.patch
|
Patch40: cast-pointer-integer-different-size.patch
|
||||||
|
Patch292811: bugzilla-292811-make-x-make-font-bold-italic-xft-work.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This is the current version of XEmacs, formerly known as Lucid-Emacs.
|
This is the current version of XEmacs, formerly known as Lucid-Emacs.
|
||||||
@ -164,6 +165,7 @@ Authors:
|
|||||||
#%patch34 -p1
|
#%patch34 -p1
|
||||||
%patch38 -p1
|
%patch38 -p1
|
||||||
%patch40 -p1
|
%patch40 -p1
|
||||||
|
%patch292811 -p1
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
find lisp/ etc/ -name '*.elc' | xargs -r rm -f
|
find lisp/ etc/ -name '*.elc' | xargs -r rm -f
|
||||||
%ifarch ia64
|
%ifarch ia64
|
||||||
@ -558,6 +560,17 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%dir /usr/share/xemacs/site-packages/lisp/term/
|
%dir /usr/share/xemacs/site-packages/lisp/term/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jul 18 2007 - mfabian@suse.de
|
||||||
|
- Bugzilla #292811: make the function 'x-make-font-bold-italic-xft'
|
||||||
|
work.
|
||||||
|
* Wed Jul 18 2007 - mfabian@suse.de
|
||||||
|
- fix the hack in fix-load-history.el to fix the load history
|
||||||
|
which made it possible to use find-function on functions which
|
||||||
|
are in dumped lisp files, even if XEmacs was not dumped at the
|
||||||
|
place where it is finally running. This hack stopped working
|
||||||
|
because the variable 'build-history' now exists already
|
||||||
|
and therefore the 'defvar' in fix-load-history failed to set
|
||||||
|
its value. Renamed the variable to suse-build-directory.
|
||||||
* Mon Jul 16 2007 - mfabian@suse.de
|
* Mon Jul 16 2007 - mfabian@suse.de
|
||||||
- enable Xft only for openSUSE >= 10.2.
|
- enable Xft only for openSUSE >= 10.2.
|
||||||
* Fri Jul 13 2007 - mfabian@suse.de
|
* Fri Jul 13 2007 - mfabian@suse.de
|
||||||
|
Loading…
Reference in New Issue
Block a user