From 0f95db33ddd4cf1ce539a7adb4d74d4a0bc011e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Thu, 18 Jul 2013 02:19:24 +0200 Subject: [PATCH 1/4] Perl 5.18 rebuild --- emacs.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/emacs.spec b/emacs.spec index a2084f7..fd95e60 100644 --- a/emacs.spec +++ b/emacs.spec @@ -3,7 +3,7 @@ Summary: GNU Emacs text editor Name: emacs Epoch: 1 Version: 24.3 -Release: 9%{?dist} +Release: 10%{?dist} License: GPLv3+ URL: http://www.gnu.org/software/emacs/ Group: Applications/Editors @@ -456,6 +456,9 @@ update-desktop-database &> /dev/null || : %dir %{_datadir}/emacs/site-lisp/site-start.d %changelog +* Thu Jul 18 2013 Petr Pisar - 1:24.3-10 +- Perl 5.18 rebuild + * Tue Apr 09 2013 Petr Hracek - 1:24.3-9 - Help and man page corrections (#948838) From 11626df7dfc1c4622a596d29f9f70eab411c8cfa Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 3 Aug 2013 04:33:03 -0500 Subject: [PATCH 2/4] - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild --- emacs.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/emacs.spec b/emacs.spec index fd95e60..4563863 100644 --- a/emacs.spec +++ b/emacs.spec @@ -3,7 +3,7 @@ Summary: GNU Emacs text editor Name: emacs Epoch: 1 Version: 24.3 -Release: 10%{?dist} +Release: 11%{?dist} License: GPLv3+ URL: http://www.gnu.org/software/emacs/ Group: Applications/Editors @@ -456,6 +456,9 @@ update-desktop-database &> /dev/null || : %dir %{_datadir}/emacs/site-lisp/site-start.d %changelog +* Sat Aug 03 2013 Fedora Release Engineering - 1:24.3-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + * Thu Jul 18 2013 Petr Pisar - 1:24.3-10 - Perl 5.18 rebuild From e70c486134fbbab300714f70a0ea8184b6a3e46e Mon Sep 17 00:00:00 2001 From: Petr Hracek Date: Fri, 9 Aug 2013 13:57:56 +0200 Subject: [PATCH 3/4] emacs -mm (maximized) does not work (#985729) --- emacs-maximized.patch | 36 ++++++++++++++++++++++++++++++++++++ emacs.spec | 8 +++++++- 2 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 emacs-maximized.patch diff --git a/emacs-maximized.patch b/emacs-maximized.patch new file mode 100644 index 0000000..2e229ee --- /dev/null +++ b/emacs-maximized.patch @@ -0,0 +1,36 @@ +diff --git a/src/xselect.c b/src/xselect.c +index b3017c3..4ba4984 100644 +--- a/src/xselect.c ++++ b/src/xselect.c +@@ -2659,6 +2659,8 @@ x_send_client_event (Lisp_Object display, Lisp_Object dest, Lisp_Object from, + + block_input (); + ++ event.xclient.send_event = True; ++ event.xclient.serial = 0; + event.xclient.message_type = message_type; + event.xclient.display = dpyinfo->display; + +@@ -2667,18 +2669,19 @@ x_send_client_event (Lisp_Object display, Lisp_Object dest, Lisp_Object from, + event.xclient.window = to_root ? FRAME_OUTER_WINDOW (f) : wdest; + + +- memset (event.xclient.data.b, 0, sizeof (event.xclient.data.b)); ++ memset (event.xclient.data.l, 0, sizeof (event.xclient.data.l)); + x_fill_property_data (dpyinfo->display, values, event.xclient.data.b, + event.xclient.format); + + /* If event mask is 0 the event is sent to the client that created + the destination window. But if we are sending to the root window, +- there is no such client. Then we set the event mask to 0xffff. The ++ there is no such client. Then we set the event mask to 0xffffff. The + event then goes to clients selecting for events on the root window. */ + x_catch_errors (dpyinfo->display); + { + int propagate = to_root ? False : True; +- unsigned mask = to_root ? 0xffff : 0; ++ long mask = to_root ? 0xffffff : 0; ++ + XSendEvent (dpyinfo->display, wdest, propagate, mask, &event); + XFlush (dpyinfo->display); + } diff --git a/emacs.spec b/emacs.spec index 4563863..bdbe64e 100644 --- a/emacs.spec +++ b/emacs.spec @@ -3,7 +3,7 @@ Summary: GNU Emacs text editor Name: emacs Epoch: 1 Version: 24.3 -Release: 11%{?dist} +Release: 12%{?dist} License: GPLv3+ URL: http://www.gnu.org/software/emacs/ Group: Applications/Editors @@ -27,6 +27,8 @@ Patch11: emacs-bell-dont-work.patch Patch12: emacs-gtk-warning.patch # Fix for emacs bug #948838 Patch13: emacs-help-update.patch +# Fix for emacs bug #948838 +Patch14: emacs-maximized.patch # Fix for emacs bug #13460. Patch100: emacs-24.3-hunspell.patch # Fix for emacs bug #827033 @@ -171,6 +173,7 @@ packages that add functionality to Emacs. %patch11 -p1 -b .bell-dont-work.patch %patch12 -p1 -b .gtk-warning.patch %patch13 -p1 -b .help-update.patch +%patch14 -p1 -b .maximized.patch %patch100 -p1 -b .hunspell %patch101 -p1 -b .hunspell.2 @@ -456,6 +459,9 @@ update-desktop-database &> /dev/null || : %dir %{_datadir}/emacs/site-lisp/site-start.d %changelog +* Fri Aug 09 2013 Petr Hracek - 1:24.3-12 +- emacs -mm (maximized) does not work (#985729) + * Sat Aug 03 2013 Fedora Release Engineering - 1:24.3-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild From 50c7e79e1466265d10c1cc4b6f235263ff95fe7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jarom=C3=ADr=20Kon=C4=8Dick=C3=BD?= Date: Wed, 14 Aug 2013 15:22:52 +0200 Subject: [PATCH 4/4] Fix for default PDF viewer bug #971162 --- emacs-pdf-default.patch | 13 +++++++++++++ emacs.spec | 8 +++++++- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 emacs-pdf-default.patch diff --git a/emacs-pdf-default.patch b/emacs-pdf-default.patch new file mode 100644 index 0000000..d8b1d84 --- /dev/null +++ b/emacs-pdf-default.patch @@ -0,0 +1,13 @@ +diff --git a/lisp/org/org.el b/lisp/org/org.el +index cc4c93f..285b71c 100644 +--- a/lisp/org/org.el ++++ b/lisp/org/org.el +@@ -1750,7 +1750,7 @@ See `org-file-apps'.") + (auto-mode . emacs) + ("\\.mm\\'" . default) + ("\\.x?html?\\'" . default) +- ("\\.pdf\\'" . default) ++ ("\\.pdf\\'" . xdg-open) + ) + "External applications for opening `file:path' items in a document. + Org-mode uses system defaults for different file types, but diff --git a/emacs.spec b/emacs.spec index bdbe64e..108b376 100644 --- a/emacs.spec +++ b/emacs.spec @@ -3,7 +3,7 @@ Summary: GNU Emacs text editor Name: emacs Epoch: 1 Version: 24.3 -Release: 12%{?dist} +Release: 13%{?dist} License: GPLv3+ URL: http://www.gnu.org/software/emacs/ Group: Applications/Editors @@ -29,6 +29,8 @@ Patch12: emacs-gtk-warning.patch Patch13: emacs-help-update.patch # Fix for emacs bug #948838 Patch14: emacs-maximized.patch +# Fix for default PDF viewer bug #971162 +Patch15: emacs-pdf-default.patch # Fix for emacs bug #13460. Patch100: emacs-24.3-hunspell.patch # Fix for emacs bug #827033 @@ -174,6 +176,7 @@ packages that add functionality to Emacs. %patch12 -p1 -b .gtk-warning.patch %patch13 -p1 -b .help-update.patch %patch14 -p1 -b .maximized.patch +%patch15 -p1 -b .pdf-default.patch %patch100 -p1 -b .hunspell %patch101 -p1 -b .hunspell.2 @@ -459,6 +462,9 @@ update-desktop-database &> /dev/null || : %dir %{_datadir}/emacs/site-lisp/site-start.d %changelog +* Wed Aug 14 2013 Jaromir Koncicky - 1:24.3-13 +- Fix default PDF viewer (#971162) + * Fri Aug 09 2013 Petr Hracek - 1:24.3-12 - emacs -mm (maximized) does not work (#985729)