emacs.git
6 years agoMerge version 1:25.2+1-11+rpi1 and 1:26.1+1-3 to produce 1:26.1+1-3+rpi1 buster-staging archive/raspbian/1%26.1+1-3+rpi1 raspbian/1%26.1+1-3+rpi1
Raspbian forward pporter [Tue, 1 Jan 2019 23:05:43 +0000 (23:05 +0000)]
Merge version 1:25.2+1-11+rpi1 and 1:26.1+1-3 to produce 1:26.1+1-3+rpi1

6 years agoMerge emacs (1:26.1+1-3) import into refs/heads/workingbranch
Rob Browning [Wed, 26 Dec 2018 19:54:16 +0000 (19:54 +0000)]
Merge emacs (1:26.1+1-3) import into refs/heads/workingbranch

6 years agoMark echo-server-with-dns test as :unstable for now
Rob Browning [Mon, 17 Dec 2018 21:27:30 +0000 (15:27 -0600)]
Mark echo-server-with-dns test as :unstable for now

It fails inside a Debian sbuild chroot.

Gbp-Pq: Name 0013-Mark-echo-server-with-dns-test-as-unstable-for-now.patch

6 years agoibuffer-filter-inclusion-3: regexp-quote directory
Rob Browning [Mon, 17 Dec 2018 21:15:25 +0000 (15:15 -0600)]
ibuffer-filter-inclusion-3: regexp-quote directory

Otherwise the test may fail for some paths like those seen in a Debian
sbuild chroot, e.g. build/emacs-i87jK3/emacs-26.1+1/...

Gbp-Pq: Name 0012-ibuffer-filter-inclusion-3-regexp-quote-directory.patch

6 years agotramp-test42-remote-load-path: regexp-quote directory
Rob Browning [Mon, 17 Dec 2018 21:09:12 +0000 (15:09 -0600)]
tramp-test42-remote-load-path: regexp-quote directory

Otherwise the test may fail for some paths like those seen in a Debian
sbuild chroot, e.g. build/emacs-i87jK3/emacs-26.1+1/...

Gbp-Pq: Name 0011-tramp-test42-remote-load-path-regexp-quote-directory.patch

6 years agoMark vc-bzr-test-fauilt-bzr-autoloads as unstable for now
Rob Browning [Sun, 16 Dec 2018 23:13:36 +0000 (17:13 -0600)]
Mark vc-bzr-test-fauilt-bzr-autoloads as unstable for now

Currently the test fails like this:

  Running 3 tests (2018-12-17 12:17:43-0600)
     passed  1/3  vc-bzr-test-bug9726
  Mark set
  Press C-c C-c when you are done editing.
  Enter a change comment.  Type C-c C-c when done
     passed  2/3  vc-bzr-test-bug9781
  Falling back on "slow" status detection ((file-missing "Opening input file" "No such file or directory" "/tmp/vc-bzr-testVlgmsb/bzr/.bzr/checkout/dirstate"))
  Error: (error "Running bzr status --no-classify loaddefs.el...FAILED (status 3)")
  Warnings in `bzr' output: bzr: ERROR: invalid header line: ''

  Error: (error "Running bzr status --no-classify loaddefs.el...FAILED (status 3)")
  Warnings in `bzr' output: bzr: ERROR: invalid header line: ''

  Test vc-bzr-test-faulty-bzr-autoloads backtrace:
    logand(nil 128)
    vc-mode-line("/tmp/vc-bzr-testVlgmsb/bzr/loaddefs.el" Bzr)
    vc-refresh-state()
    run-hooks(find-file-hook)
    after-find-file(t t)
    find-file-noselect-1(#<buffer loaddefs.el> "/tmp/vc-bzr-testVlgmsb/b
    find-file-noselect("/tmp/vc-bzr-testVlgmsb/bzr/loaddefs.el")
    autoload-find-generated-file()
    update-directory-autoloads("/tmp/vc-bzr-testVlgmsb/bzr/")
    (progn (update-directory-autoloads default-directory) t)
    (setq value-35 (progn (update-directory-autoloads default-directory)
    (unwind-protect (setq value-35 (progn (update-directory-autoloads de
    (if (unwind-protect (setq value-35 (progn (update-directory-autoload
    (let (form-description-36) (if (unwind-protect (setq value-35 (progn
    (let ((value-35 (gensym "ert-form-evaluation-aborted-"))) (let (form
    (progn (call-process vc-bzr-program nil nil nil "init") (let ((temp-
    (unwind-protect (progn (call-process vc-bzr-program nil nil nil "ini
    (let* ((homedir (make-temp-file "vc-bzr-test" t)) (bzrdir (expand-fi
    (lambda nil (let* ((fn-30 (function executable-find)) (args-31 (cond
    ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
    ert-run-test(#s(ert-test :name vc-bzr-test-faulty-bzr-autoloads :doc
    ert-run-or-rerun-test(#s(ert--stats :selector (not (or (tag :expensi
    ert-run-tests((not (or (tag :expensive-test) (tag :unstable))) #f(co
    ert-run-tests-batch((not (or (tag :expensive-test) (tag :unstable)))
    ert-run-tests-batch-and-exit((not (or (tag :expensive-test) (tag :un
    eval((ert-run-tests-batch-and-exit '(not (or (tag :expensive-test) (
    command-line-1(("-L" ":/home/locke/tmp/main-26.1/debian/build-src/te
    command-line()
    normal-top-level()
  Test vc-bzr-test-faulty-bzr-autoloads condition:
      (wrong-type-argument number-or-marker-p nil)
     FAILED  3/3  vc-bzr-test-faulty-bzr-autoloads

  Ran 3 tests, 2 results as expected, 1 unexpected (2018-12-17 12:17:46-0600)

  1 unexpected results:
     FAILED  vc-bzr-test-faulty-bzr-autoloads

Gbp-Pq: Name 0010-Mark-vc-bzr-test-fauilt-bzr-autoloads-as-unstable-fo.patch

6 years agoAn epg test failure with recent GnuPG versions has been fixed
Glenn Morris [Sat, 15 Dec 2018 01:09:02 +0000 (20:09 -0500)]
An epg test failure with recent GnuPG versions has been fixed

This patch has been backported from upstream to fix m68k build
failures:

  Fix an epg test for recent GnuPG versions (bug#33439)

  * test/lisp/epg-tests.el (epg-decrypt-1):
  Tell recent GnuPG (e.g. 2.2.11) not to worry about missing MDC.

Origin: backport, commit: fa953b58afd39d396dab4d76a6ff0b8ba4040eb8)
Bug: https://debbugs.gnu.org/33439
Forwarded: not-needed

Gbp-Pq: Name 0009-An-epg-test-failure-with-recent-GnuPG-versions-has-b.patch

6 years agoDon't downcase real xref in elisp-mode-tests
Rob Browning [Sat, 29 Jul 2017 16:50:27 +0000 (11:50 -0500)]
Don't downcase real xref in elisp-mode-tests

The elisp-mode-tests should no longer fail on case sensitive
filesystems when the build path contains uppercase characters.

Previously the code was downcasing the path for both comparison and
lookups.

Gbp-Pq: Name 0008-Don-t-downcase-real-xref-in-elisp-mode-tests.patch

6 years agoKill gpg agent in package-test.el to avoid a race
Rob Browning [Mon, 10 Oct 2016 22:35:56 +0000 (17:35 -0500)]
Kill gpg agent in package-test.el to avoid a race

package-test.el should no longer fail during clean up.

* Previously a delete-directories call raced with the gpg agent's own
  cleanup process (presumably triggered by the first deletion of one of
  the agent's sockets).  As a result, it looks like the agent might
  delete one of its sockets after delete-directories had decided to
  delete the socket, but before it made the attempt, causing an
  exception.

* To fix the problem, explicitly ask gpg-connect-agent to kill the agent
  before attempting to delete the gnupg home directory, and then delete
  via "rm -rf" to ignore any vanishing files.

Gbp-Pq: Name 0007-Kill-gpg-agent-in-package-test.el-to-avoid-a-race.patch

6 years agoDon't try to build src/macuvs.h (via IVD_Sequences.txt)
Rob Browning [Wed, 22 Oct 2014 00:10:17 +0000 (19:10 -0500)]
Don't try to build src/macuvs.h (via IVD_Sequences.txt)

These are OS X specific, and were removed for now, due to uncertainty
over the licensing.

Gbp-Pq: Name 0006-Don-t-try-to-build-src-macuvs.h-via-IVD_Sequences.tx.patch

6 years agoModify the output of (version) to indicate Debian modifications
Rob Browning [Tue, 5 Apr 2011 03:46:28 +0000 (22:46 -0500)]
Modify the output of (version) to indicate Debian modifications

The output of (version) has been modified to indicate Debian modifications.

Author: Rob Browning <rlb@defaultvalue.org>
Added-by: Rob Browning <rlb@defaultvalue.org>
Gbp-Pq: Name 0005-Modify-the-output-of-version-to-indicate-Debian-modi.patch

6 years agoAdjust documentation references for Debian
Rob Browning [Tue, 5 Apr 2011 03:46:25 +0000 (22:46 -0500)]
Adjust documentation references for Debian

Various documentation references have been adjusted for Debian.

References to /usr/local/... have been changed to /usr/... as
appropriate, etc.

Gbp-Pq: Name 0004-Adjust-documentation-references-for-Debian.patch

6 years agoRemove files that appear to be incompatible with the DFSG
Rob Browning [Tue, 5 Apr 2011 03:46:24 +0000 (22:46 -0500)]
Remove files that appear to be incompatible with the DFSG

Files that appear to be incompatible with the DFSG have been removed.

A number of files have been removed from this package because their
licenses are not compatible with the Debian Free Software Guidelines
(DFSG), or because it wasn't completely clear that their licenses are
compatible.

In particular, all of the files which are covered under the GFDL and
have invariant sections have been removed in accordance with this
General Resolution: http://www.debian.org/vote/2006/vote_001.

The files that have been removed, but still appear to be
distributable, have been moved to packages in Debian's non-free
section.

Author: Rob Browning <rlb@defaultvalue.org>
Added-by: Rob Browning <rlb@defaultvalue.org>
Status: new

Gbp-Pq: Name 0003-Remove-files-that-appear-to-be-incompatible-with-the.patch

6 years agoRun debian-startup and set debian-emacs-flavor
Rob Browning [Tue, 5 Apr 2011 03:46:22 +0000 (22:46 -0500)]
Run debian-startup and set debian-emacs-flavor

Emacs runs debian-startup and sets debian-emacs-flavor.

* Emacs runs debian-startup during the startup process unless
  site-run-file is false.

* The global variable debian-emacs-flavor is bound to 'emacs.

Author: Rob Browning <rlb@defaultvalue.org>

Gbp-Pq: Name 0002-Run-debian-startup-and-set-debian-emacs-flavor.patch

6 years agoPrefer /usr/share/info/emacs/
Rob Browning [Sun, 7 Apr 2013 20:03:05 +0000 (15:03 -0500)]
Prefer /usr/share/info/emacs/

Emacs prefers /usr/share/info/emacs to /usr/share/info.

The value of Info-default-directory-list has been augmented via
lisp/info.el to include /usr/share/info/emacs before /usr/share/info.

Gbp-Pq: Name 0001-Prefer-usr-share-info-emacs.patch

6 years agoemacs (1:26.1+1-3) unstable; urgency=medium
Rob Browning [Wed, 26 Dec 2018 19:54:16 +0000 (19:54 +0000)]
emacs (1:26.1+1-3) unstable; urgency=medium

  * Recommend mailutils instead of depending on it.
    (Closes: 917245, 916986)

[dgit import unpatched emacs 1:26.1+1-3]

6 years agoImport emacs_26.1+1-3.debian.tar.xz
Rob Browning [Wed, 26 Dec 2018 19:54:16 +0000 (19:54 +0000)]
Import emacs_26.1+1-3.debian.tar.xz

[dgit import tarball emacs 1:26.1+1-3 emacs_26.1+1-3.debian.tar.xz]

7 years agoImport emacs_26.1+1.orig.tar.xz
Rob Browning [Mon, 17 Dec 2018 22:41:12 +0000 (22:41 +0000)]
Import emacs_26.1+1.orig.tar.xz

[dgit import orig emacs_26.1+1.orig.tar.xz]

7 years agoMerge emacs (1:25.2+1-11+rpi1) import into refs/heads/workingbranch
Peter Michael Green [Fri, 14 Sep 2018 11:26:52 +0000 (12:26 +0100)]
Merge emacs (1:25.2+1-11+rpi1) import into refs/heads/workingbranch

7 years agoEmacs should no longer unexpectedly alter the byte order mark
Eli Zaretskii [Fri, 15 Dec 2017 09:06:07 +0000 (11:06 +0200)]
Emacs should no longer unexpectedly alter the byte order mark

This upstream patch has been incorporated to fix the problem:

  Better support utf-8-with-signature and utf-8-hfs in XML/HTML

  * lisp/international/mule.el (sgml-xml-auto-coding-function):
  Support UTF-8 with BOM and utf-8-hfs as variants of UTF-8, and
  obey the buffer's encoding if it is one of these variants, instead
  of re-encoding in UTF-8 proper.  (Bug#20623)

Origin: backport, commit: 889f07c352f7e0deccf59353a60a45f2716551d8)
Bug: https://bugs.gnu.org/20623
Bug-Debian: http://bugs.debian.org/883434
Forwarded: not-needed

Gbp-Pq: Name 0014-Emacs-should-no-longer-unexpectedly-alter-the-byte-o.patch

7 years agoDisable eieio-test-37-obsolete-name-in-constructor
Rob Browning [Sun, 29 Jul 2018 19:18:23 +0000 (14:18 -0500)]
Disable eieio-test-37-obsolete-name-in-constructor

The eieio-test-37-obsolete-name-in-constructor test has been disabled.

Its behavior is currently unpredictable.

Bug: https://debbugs.gnu.org/24503
Bug-Debian: http://bugs.debian.org/879020
Forwarded: not-needed

Gbp-Pq: Name 0013-Disable-eieio-test-37-obsolete-name-in-constructor.patch

7 years agoA remote execution exploit via enriched text has been blocked
Lars Ingebrigtsen [Sat, 9 Sep 2017 03:23:31 +0000 (20:23 -0700)]
A remote execution exploit via enriched text has been blocked

This upstream patch has been incorporated to fix the problem:

  Remove unsafe enriched mode translations

  * lisp/gnus/mm-view.el (mm-inline-text):
  Do not worry about enriched or richtext type.
  * lisp/textmodes/enriched.el (enriched-translations):
  Remove translations for FUNCTION, display (Bug#28350).
  (enriched-handle-display-prop, enriched-decode-display-prop): Remove.

Origin: backport, commit: 9ad0fcc54442a9a01d41be19880250783426db70)
Bug: https://bugs.gnu.org/28350
Bug-Debian: http://bugs.debian.org/875447
Forwarded: not-needed

Gbp-Pq: Name 0012-A-remote-execution-exploit-via-enriched-text-has-bee.patch

7 years agoDisable eieio-test-method-order-list-6
Rob Browning [Mon, 31 Jul 2017 02:43:10 +0000 (21:43 -0500)]
Disable eieio-test-method-order-list-6

The eieio-test-method-order-list-6 test has been disabled

Its behavior is currently unpredictable.

Bug: https://debbugs.gnu.org/27878
Bug: https://debbugs.gnu.org/cgi/24503#21

Gbp-Pq: Name 0011-Disable-eieio-test-method-order-list-6.patch

7 years agoDon't downcase real xref in elisp-mode-tests
Rob Browning [Sat, 29 Jul 2017 16:50:27 +0000 (11:50 -0500)]
Don't downcase real xref in elisp-mode-tests

The elisp-mode-tests should no longer fail on case sensitive
filesystems when the build path contains uppercase characters.

Previously the code was downcasing the path for both comparison and
lookups.

Gbp-Pq: Name 0010-Don-t-downcase-real-xref-in-elisp-mode-tests.patch

7 years agoA memory alignment problem causing m68k failures has been fixed
Andreas Schwab [Mon, 24 Jul 2017 23:12:50 +0000 (01:12 +0200)]
A memory alignment problem causing m68k failures has been fixed

This patch has been backported from upstream to fix m68k build
failures:

  Properly align global lispsym

  * lib-src/make-docfile.c (close_emacs_globals): Wrap struct
  Lisp_Symbols inside struct.
  * src/alloc.c (sweep_symbols): Update use of lispsym.
  * src/lisp.h (builtin_lisp_symbol): Likewise.

Origin: backport, commit: 7a4d9f6304cffa39642507609605bcbfa40d4675
Bug-Debian: http://bugs.debian.org/868868
Forwarded: not-needed

Gbp-Pq: Name 0009-A-memory-alignment-problem-causing-m68k-failures-has.patch

7 years agoDon't provide openssl s_client as an option for ssl connections
Rob Browning [Sat, 22 Apr 2017 17:02:00 +0000 (12:02 -0500)]
Don't provide openssl s_client as an option for ssl connections

openssl s_client is no longer a default for ssl connections

"s_client is a debug tool, it does not set up a secure connection, it
ignores all errors and just continues.  It also doesn't do checks it
should be doing.  This is all documented behaviour." -- Kurt Roeckx

Bug-Debian: https://bugs.debian.org/766397

Gbp-Pq: Name 0008-Don-t-provide-openssl-s_client-as-an-option-for-ssl-.patch

7 years agoKill gpg agent in package-test.el to avoid a race
Rob Browning [Mon, 10 Oct 2016 22:35:56 +0000 (17:35 -0500)]
Kill gpg agent in package-test.el to avoid a race

package-test.el should no longer fail during clean up.

* Previously a delete-directories call raced with the gpg agent's own
  cleanup process (presumably triggered by the first deletion of one of
  the agent's sockets).  As a result, it looks like the agent might
  delete one of its sockets after delete-directories had decided to
  delete the socket, but before it made the attempt, causing an
  exception.

* To fix the problem, explicitly ask gpg-connect-agent to kill the agent
  before attempting to delete the gnupg home directory, and then delete
  via "rm -rf" to ignore any vanishing files.

Gbp-Pq: Name 0007-Kill-gpg-agent-in-package-test.el-to-avoid-a-race.patch

7 years agoDon't try to build src/macuvs.h (via IVD_Sequences.txt)
Rob Browning [Wed, 22 Oct 2014 00:10:17 +0000 (19:10 -0500)]
Don't try to build src/macuvs.h (via IVD_Sequences.txt)

These are OS X specific, and were removed for now, due to uncertainty
over the licensing.

Gbp-Pq: Name 0006-Don-t-try-to-build-src-macuvs.h-via-IVD_Sequences.tx.patch

7 years agoModify the output of (version) to indicate Debian modifications
Rob Browning [Tue, 5 Apr 2011 03:46:28 +0000 (22:46 -0500)]
Modify the output of (version) to indicate Debian modifications

The output of (version) has been modified to indicate Debian modifications.

Author: Rob Browning <rlb@defaultvalue.org>
Added-by: Rob Browning <rlb@defaultvalue.org>
Gbp-Pq: Name 0005-Modify-the-output-of-version-to-indicate-Debian-modi.patch

7 years agoAdjust documentation references for Debian
Rob Browning [Tue, 5 Apr 2011 03:46:25 +0000 (22:46 -0500)]
Adjust documentation references for Debian

Various documentation references have been adjusted for Debian.

References to /usr/local/... have been changed to /usr/... as
appropriate, etc.

Gbp-Pq: Name 0004-Adjust-documentation-references-for-Debian.patch

7 years agoRemove files that appear to be incompatible with the DFSG
Rob Browning [Tue, 5 Apr 2011 03:46:24 +0000 (22:46 -0500)]
Remove files that appear to be incompatible with the DFSG

Files that appear to be incompatible with the DFSG have been removed.

A number of files have been removed from this package because their
licenses are not compatible with the Debian Free Software Guidelines
(DFSG), or because it wasn't completely clear that their licenses are
compatible.

In particular, all of the files which are covered under the GFDL and
have invariant sections have been removed in accordance with this
General Resolution: http://www.debian.org/vote/2006/vote_001.

The files that have been removed, but still appear to be
distributable, have been moved to packages in Debian's non-free
section.

Author: Rob Browning <rlb@defaultvalue.org>
Added-by: Rob Browning <rlb@defaultvalue.org>
Status: new

Gbp-Pq: Name 0003-Remove-files-that-appear-to-be-incompatible-with-the.patch

7 years agoRun debian-startup and set debian-emacs-flavor
Rob Browning [Tue, 5 Apr 2011 03:46:22 +0000 (22:46 -0500)]
Run debian-startup and set debian-emacs-flavor

Emacs runs debian-startup and sets debian-emacs-flavor.

* Emacs runs debian-startup during the startup process unless
  site-run-file is false.

* The global variable debian-emacs-flavor is bound to 'emacs.

Author: Rob Browning <rlb@defaultvalue.org>

Gbp-Pq: Name 0002-Run-debian-startup-and-set-debian-emacs-flavor.patch

7 years agoPrefer /usr/share/info/emacs/
Rob Browning [Sun, 7 Apr 2013 20:03:05 +0000 (15:03 -0500)]
Prefer /usr/share/info/emacs/

Emacs prefers /usr/share/info/emacs to /usr/share/info.

The value of Info-default-directory-list has been augmented via
lisp/info.el to include /usr/share/info/emacs before /usr/share/info.

Gbp-Pq: Name 0001-Prefer-usr-share-info-emacs.patch

7 years agoemacs (1:25.2+1-11+rpi1) buster-staging; urgency=medium
Peter Michael Green [Fri, 14 Sep 2018 11:26:52 +0000 (12:26 +0100)]
emacs (1:25.2+1-11+rpi1) buster-staging; urgency=medium

  [changes brought forward from emacs25 25.2+1-5+rpi1 by Peter Michael Green <plugwash@raspbian.org> at Thu, 17 Aug 2017 18:29:59 +0000]
  * Disable testsuite.

[dgit import unpatched emacs 1:25.2+1-11+rpi1]

7 years agoImport emacs_25.2+1-11+rpi1.debian.tar.xz
Peter Michael Green [Fri, 14 Sep 2018 11:26:52 +0000 (12:26 +0100)]
Import emacs_25.2+1-11+rpi1.debian.tar.xz

[dgit import tarball emacs 1:25.2+1-11+rpi1 emacs_25.2+1-11+rpi1.debian.tar.xz]

7 years agoMerge emacs (1:25.2+1-11) import into refs/heads/workingbranch
Rob Browning [Sun, 26 Aug 2018 16:49:09 +0000 (17:49 +0100)]
Merge emacs (1:25.2+1-11) import into refs/heads/workingbranch

7 years agoEmacs should no longer unexpectedly alter the byte order mark
Eli Zaretskii [Fri, 15 Dec 2017 09:06:07 +0000 (11:06 +0200)]
Emacs should no longer unexpectedly alter the byte order mark

This upstream patch has been incorporated to fix the problem:

  Better support utf-8-with-signature and utf-8-hfs in XML/HTML

  * lisp/international/mule.el (sgml-xml-auto-coding-function):
  Support UTF-8 with BOM and utf-8-hfs as variants of UTF-8, and
  obey the buffer's encoding if it is one of these variants, instead
  of re-encoding in UTF-8 proper.  (Bug#20623)

Origin: backport, commit: 889f07c352f7e0deccf59353a60a45f2716551d8)
Bug: https://bugs.gnu.org/20623
Bug-Debian: http://bugs.debian.org/883434
Forwarded: not-needed

Gbp-Pq: Name 0014-Emacs-should-no-longer-unexpectedly-alter-the-byte-o.patch

7 years agoDisable eieio-test-37-obsolete-name-in-constructor
Rob Browning [Sun, 29 Jul 2018 19:18:23 +0000 (14:18 -0500)]
Disable eieio-test-37-obsolete-name-in-constructor

The eieio-test-37-obsolete-name-in-constructor test has been disabled.

Its behavior is currently unpredictable.

Bug: https://debbugs.gnu.org/24503
Bug-Debian: http://bugs.debian.org/879020
Forwarded: not-needed

Gbp-Pq: Name 0013-Disable-eieio-test-37-obsolete-name-in-constructor.patch

7 years agoA remote execution exploit via enriched text has been blocked
Lars Ingebrigtsen [Sat, 9 Sep 2017 03:23:31 +0000 (20:23 -0700)]
A remote execution exploit via enriched text has been blocked

This upstream patch has been incorporated to fix the problem:

  Remove unsafe enriched mode translations

  * lisp/gnus/mm-view.el (mm-inline-text):
  Do not worry about enriched or richtext type.
  * lisp/textmodes/enriched.el (enriched-translations):
  Remove translations for FUNCTION, display (Bug#28350).
  (enriched-handle-display-prop, enriched-decode-display-prop): Remove.

Origin: backport, commit: 9ad0fcc54442a9a01d41be19880250783426db70)
Bug: https://bugs.gnu.org/28350
Bug-Debian: http://bugs.debian.org/875447
Forwarded: not-needed

Gbp-Pq: Name 0012-A-remote-execution-exploit-via-enriched-text-has-bee.patch

7 years agoDisable eieio-test-method-order-list-6
Rob Browning [Mon, 31 Jul 2017 02:43:10 +0000 (21:43 -0500)]
Disable eieio-test-method-order-list-6

The eieio-test-method-order-list-6 test has been disabled

Its behavior is currently unpredictable.

Bug: https://debbugs.gnu.org/27878
Bug: https://debbugs.gnu.org/cgi/24503#21

Gbp-Pq: Name 0011-Disable-eieio-test-method-order-list-6.patch

7 years agoDon't downcase real xref in elisp-mode-tests
Rob Browning [Sat, 29 Jul 2017 16:50:27 +0000 (11:50 -0500)]
Don't downcase real xref in elisp-mode-tests

The elisp-mode-tests should no longer fail on case sensitive
filesystems when the build path contains uppercase characters.

Previously the code was downcasing the path for both comparison and
lookups.

Gbp-Pq: Name 0010-Don-t-downcase-real-xref-in-elisp-mode-tests.patch

7 years agoA memory alignment problem causing m68k failures has been fixed
Andreas Schwab [Mon, 24 Jul 2017 23:12:50 +0000 (01:12 +0200)]
A memory alignment problem causing m68k failures has been fixed

This patch has been backported from upstream to fix m68k build
failures:

  Properly align global lispsym

  * lib-src/make-docfile.c (close_emacs_globals): Wrap struct
  Lisp_Symbols inside struct.
  * src/alloc.c (sweep_symbols): Update use of lispsym.
  * src/lisp.h (builtin_lisp_symbol): Likewise.

Origin: backport, commit: 7a4d9f6304cffa39642507609605bcbfa40d4675
Bug-Debian: http://bugs.debian.org/868868
Forwarded: not-needed

Gbp-Pq: Name 0009-A-memory-alignment-problem-causing-m68k-failures-has.patch

7 years agoDon't provide openssl s_client as an option for ssl connections
Rob Browning [Sat, 22 Apr 2017 17:02:00 +0000 (12:02 -0500)]
Don't provide openssl s_client as an option for ssl connections

openssl s_client is no longer a default for ssl connections

"s_client is a debug tool, it does not set up a secure connection, it
ignores all errors and just continues.  It also doesn't do checks it
should be doing.  This is all documented behaviour." -- Kurt Roeckx

Bug-Debian: https://bugs.debian.org/766397

Gbp-Pq: Name 0008-Don-t-provide-openssl-s_client-as-an-option-for-ssl-.patch

7 years agoKill gpg agent in package-test.el to avoid a race
Rob Browning [Mon, 10 Oct 2016 22:35:56 +0000 (17:35 -0500)]
Kill gpg agent in package-test.el to avoid a race

package-test.el should no longer fail during clean up.

* Previously a delete-directories call raced with the gpg agent's own
  cleanup process (presumably triggered by the first deletion of one of
  the agent's sockets).  As a result, it looks like the agent might
  delete one of its sockets after delete-directories had decided to
  delete the socket, but before it made the attempt, causing an
  exception.

* To fix the problem, explicitly ask gpg-connect-agent to kill the agent
  before attempting to delete the gnupg home directory, and then delete
  via "rm -rf" to ignore any vanishing files.

Gbp-Pq: Name 0007-Kill-gpg-agent-in-package-test.el-to-avoid-a-race.patch

7 years agoDon't try to build src/macuvs.h (via IVD_Sequences.txt)
Rob Browning [Wed, 22 Oct 2014 00:10:17 +0000 (19:10 -0500)]
Don't try to build src/macuvs.h (via IVD_Sequences.txt)

These are OS X specific, and were removed for now, due to uncertainty
over the licensing.

Gbp-Pq: Name 0006-Don-t-try-to-build-src-macuvs.h-via-IVD_Sequences.tx.patch

7 years agoModify the output of (version) to indicate Debian modifications
Rob Browning [Tue, 5 Apr 2011 03:46:28 +0000 (22:46 -0500)]
Modify the output of (version) to indicate Debian modifications

The output of (version) has been modified to indicate Debian modifications.

Author: Rob Browning <rlb@defaultvalue.org>
Added-by: Rob Browning <rlb@defaultvalue.org>
Gbp-Pq: Name 0005-Modify-the-output-of-version-to-indicate-Debian-modi.patch

7 years agoAdjust documentation references for Debian
Rob Browning [Tue, 5 Apr 2011 03:46:25 +0000 (22:46 -0500)]
Adjust documentation references for Debian

Various documentation references have been adjusted for Debian.

References to /usr/local/... have been changed to /usr/... as
appropriate, etc.

Gbp-Pq: Name 0004-Adjust-documentation-references-for-Debian.patch

7 years agoRemove files that appear to be incompatible with the DFSG
Rob Browning [Tue, 5 Apr 2011 03:46:24 +0000 (22:46 -0500)]
Remove files that appear to be incompatible with the DFSG

Files that appear to be incompatible with the DFSG have been removed.

A number of files have been removed from this package because their
licenses are not compatible with the Debian Free Software Guidelines
(DFSG), or because it wasn't completely clear that their licenses are
compatible.

In particular, all of the files which are covered under the GFDL and
have invariant sections have been removed in accordance with this
General Resolution: http://www.debian.org/vote/2006/vote_001.

The files that have been removed, but still appear to be
distributable, have been moved to packages in Debian's non-free
section.

Author: Rob Browning <rlb@defaultvalue.org>
Added-by: Rob Browning <rlb@defaultvalue.org>
Status: new

Gbp-Pq: Name 0003-Remove-files-that-appear-to-be-incompatible-with-the.patch

7 years agoRun debian-startup and set debian-emacs-flavor
Rob Browning [Tue, 5 Apr 2011 03:46:22 +0000 (22:46 -0500)]
Run debian-startup and set debian-emacs-flavor

Emacs runs debian-startup and sets debian-emacs-flavor.

* Emacs runs debian-startup during the startup process unless
  site-run-file is false.

* The global variable debian-emacs-flavor is bound to 'emacs.

Author: Rob Browning <rlb@defaultvalue.org>

Gbp-Pq: Name 0002-Run-debian-startup-and-set-debian-emacs-flavor.patch

7 years agoPrefer /usr/share/info/emacs/
Rob Browning [Sun, 7 Apr 2013 20:03:05 +0000 (15:03 -0500)]
Prefer /usr/share/info/emacs/

Emacs prefers /usr/share/info/emacs to /usr/share/info.

The value of Info-default-directory-list has been augmented via
lisp/info.el to include /usr/share/info/emacs before /usr/share/info.

Gbp-Pq: Name 0001-Prefer-usr-share-info-emacs.patch

7 years agoemacs (1:25.2+1-11) unstable; urgency=medium
Rob Browning [Sun, 26 Aug 2018 16:49:09 +0000 (17:49 +0100)]
emacs (1:25.2+1-11) unstable; urgency=medium

  * Add (>= 1:25) restriction to emacs metapackage dependencies.
    Without this it was possible to end up with two empty metapackages
    installed instead of the expected metapackage and actual package.
    Thanks to Shin Yoshida for reporting the problem and Sven Joachim
    for noting the solution. (Closes: 906534)

  * Don't unexpectedly modify the byte order mark.  Add
    0014-Emacs-should-no-longer-unexpectedly-alter-the-byte-o.patch to
    fix the problem.  Thanks to Vincent Lefevre for reporting the
    problem and Eli Zaretskii for the patch. (Closes: 883434)

[dgit import unpatched emacs 1:25.2+1-11]

7 years agoImport emacs_25.2+1-11.debian.tar.xz
Rob Browning [Sun, 26 Aug 2018 16:49:09 +0000 (17:49 +0100)]
Import emacs_25.2+1-11.debian.tar.xz

[dgit import tarball emacs 1:25.2+1-11 emacs_25.2+1-11.debian.tar.xz]

7 years agoImport emacs_25.2+1.orig.tar.xz
Rob Browning [Sun, 27 May 2018 15:57:34 +0000 (16:57 +0100)]
Import emacs_25.2+1.orig.tar.xz

[dgit import orig emacs_25.2+1.orig.tar.xz]

8 years agoMerge emacs25 (25.2+1-6) import into refs/heads/workingbranch
Rob Browning [Tue, 12 Sep 2017 02:51:49 +0000 (03:51 +0100)]
Merge emacs25 (25.2+1-6) import into refs/heads/workingbranch

8 years agoA remote execution exploit via enriched text has been blocked
Lars Ingebrigtsen [Sat, 9 Sep 2017 03:23:31 +0000 (20:23 -0700)]
A remote execution exploit via enriched text has been blocked

This upstream patch has been incorporated to fix the problem:

  Remove unsafe enriched mode translations

  * lisp/gnus/mm-view.el (mm-inline-text):
  Do not worry about enriched or richtext type.
  * lisp/textmodes/enriched.el (enriched-translations):
  Remove translations for FUNCTION, display (Bug#28350).
  (enriched-handle-display-prop, enriched-decode-display-prop): Remove.

Origin: backport, commit: 9ad0fcc54442a9a01d41be19880250783426db70)
Bug: https://bugs.gnu.org/28350
Bug-Debian: http://bugs.debian.org/875447
Forwarded: not-needed

Gbp-Pq: Name 0012-A-remote-execution-exploit-via-enriched-text-has-bee.patch

8 years agoDisable eieio-test-method-order-list-6
Rob Browning [Mon, 31 Jul 2017 02:43:10 +0000 (21:43 -0500)]
Disable eieio-test-method-order-list-6

The eieio-test-method-order-list-6 test has been disabled

Its behavior is currently unpredictable.

Bug: https://debbugs.gnu.org/27878
Bug: https://debbugs.gnu.org/cgi/24503#21

Gbp-Pq: Name 0011-Disable-eieio-test-method-order-list-6.patch

8 years agoDon't downcase real xref in elisp-mode-tests
Rob Browning [Sat, 29 Jul 2017 16:50:27 +0000 (11:50 -0500)]
Don't downcase real xref in elisp-mode-tests

The elisp-mode-tests should no longer fail on case sensitive
filesystems when the build path contains uppercase characters.

Previously the code was downcasing the path for both comparison and
lookups.

Gbp-Pq: Name 0010-Don-t-downcase-real-xref-in-elisp-mode-tests.patch

8 years agoA memory alignment problem causing m68k failures has been fixed
Andreas Schwab [Mon, 24 Jul 2017 23:12:50 +0000 (01:12 +0200)]
A memory alignment problem causing m68k failures has been fixed

This patch has been backported from upstream to fix m68k build
failures:

  Properly align global lispsym

  * lib-src/make-docfile.c (close_emacs_globals): Wrap struct
  Lisp_Symbols inside struct.
  * src/alloc.c (sweep_symbols): Update use of lispsym.
  * src/lisp.h (builtin_lisp_symbol): Likewise.

Origin: backport, commit: 7a4d9f6304cffa39642507609605bcbfa40d4675
Bug-Debian: http://bugs.debian.org/868868
Forwarded: not-needed

Gbp-Pq: Name 0009-A-memory-alignment-problem-causing-m68k-failures-has.patch

8 years agoDon't provide openssl s_client as an option for ssl connections
Rob Browning [Sat, 22 Apr 2017 17:02:00 +0000 (12:02 -0500)]
Don't provide openssl s_client as an option for ssl connections

openssl s_client is no longer a default for ssl connections

"s_client is a debug tool, it does not set up a secure connection, it
ignores all errors and just continues.  It also doesn't do checks it
should be doing.  This is all documented behaviour." -- Kurt Roeckx

Bug-Debian: https://bugs.debian.org/766397

Gbp-Pq: Name 0008-Don-t-provide-openssl-s_client-as-an-option-for-ssl-.patch

8 years agoKill gpg agent in package-test.el to avoid a race
Rob Browning [Mon, 10 Oct 2016 22:35:56 +0000 (17:35 -0500)]
Kill gpg agent in package-test.el to avoid a race

package-test.el should no longer fail during clean up.

* Previously a delete-directories call raced with the gpg agent's own
  cleanup process (presumably triggered by the first deletion of one of
  the agent's sockets).  As a result, it looks like the agent might
  delete one of its sockets after delete-directories had decided to
  delete the socket, but before it made the attempt, causing an
  exception.

* To fix the problem, explicitly ask gpg-connect-agent to kill the agent
  before attempting to delete the gnupg home directory, and then delete
  via "rm -rf" to ignore any vanishing files.

Gbp-Pq: Name 0007-Kill-gpg-agent-in-package-test.el-to-avoid-a-race.patch

8 years agoDon't try to build src/macuvs.h (via IVD_Sequences.txt)
Rob Browning [Wed, 22 Oct 2014 00:10:17 +0000 (19:10 -0500)]
Don't try to build src/macuvs.h (via IVD_Sequences.txt)

These are OS X specific, and were removed for now, due to uncertainty
over the licensing.

Gbp-Pq: Name 0006-Don-t-try-to-build-src-macuvs.h-via-IVD_Sequences.tx.patch

8 years agoModify the output of (version) to indicate Debian modifications
Rob Browning [Tue, 5 Apr 2011 03:46:28 +0000 (22:46 -0500)]
Modify the output of (version) to indicate Debian modifications

The output of (version) has been modified to indicate Debian modifications.

Author: Rob Browning <rlb@defaultvalue.org>
Added-by: Rob Browning <rlb@defaultvalue.org>
Gbp-Pq: Name 0005-Modify-the-output-of-version-to-indicate-Debian-modi.patch

8 years agoAdjust documentation references for Debian
Rob Browning [Tue, 5 Apr 2011 03:46:25 +0000 (22:46 -0500)]
Adjust documentation references for Debian

Various documentation references have been adjusted for Debian.

References to /usr/local/... have been changed to /usr/... as
appropriate, etc.

Gbp-Pq: Name 0004-Adjust-documentation-references-for-Debian.patch

8 years agoRemove files that appear to be incompatible with the DFSG
Rob Browning [Tue, 5 Apr 2011 03:46:24 +0000 (22:46 -0500)]
Remove files that appear to be incompatible with the DFSG

Files that appear to be incompatible with the DFSG have been removed.

A number of files have been removed from this package because their
licenses are not compatible with the Debian Free Software Guidelines
(DFSG), or because it wasn't completely clear that their licenses are
compatible.

In particular, all of the files which are covered under the GFDL and
have invariant sections have been removed in accordance with this
General Resolution: http://www.debian.org/vote/2006/vote_001.

The files that have been removed, but still appear to be
distributable, have been moved to packages in Debian's non-free
section.

Author: Rob Browning <rlb@defaultvalue.org>
Added-by: Rob Browning <rlb@defaultvalue.org>
Status: new

Gbp-Pq: Name 0003-Remove-files-that-appear-to-be-incompatible-with-the.patch

8 years agoRun debian-startup and set debian-emacs-flavor
Rob Browning [Tue, 5 Apr 2011 03:46:22 +0000 (22:46 -0500)]
Run debian-startup and set debian-emacs-flavor

Emacs runs debian-startup and sets debian-emacs-flavor.

* Emacs runs debian-startup during the startup process unless
  site-run-file is false.

* The global variable debian-emacs-flavor is bound to 'emacs25.

Author: Rob Browning <rlb@defaultvalue.org>

Gbp-Pq: Name 0002-Run-debian-startup-and-set-debian-emacs-flavor.patch

8 years agoPrefer /usr/share/info/emacs-MAJORVERSION
Rob Browning [Sun, 7 Apr 2013 20:03:05 +0000 (15:03 -0500)]
Prefer /usr/share/info/emacs-MAJORVERSION

Emacs prefers /usr/share/info/emacs-MAJORVERSION to /usr/share/info.

The value of Info-default-directory-list has been augmented via
lisp/info.el to include /usr/share/info/emacs-MAJORVERSION before
/usr/share/info.

Gbp-Pq: Name 0001-Prefer-usr-share-info-emacs-MAJORVERSION.patch

8 years agoemacs25 (25.2+1-6) unstable; urgency=high
Rob Browning [Tue, 12 Sep 2017 02:51:49 +0000 (03:51 +0100)]
emacs25 (25.2+1-6) unstable; urgency=high

  * Block remote code execution via enriched text.  Add
    0012-A-remote-execution-exploit-via-enriched-text-has-bee.patch to
    fix the problem.  Thanks to David Bremner for the alert and
    Salvatore Bonaccorso for reporting the problem to Debian.
    (Closes: 875447)

[dgit import unpatched emacs25 25.2+1-6]

8 years agoImport emacs25_25.2+1-6.debian.tar.xz
Rob Browning [Tue, 12 Sep 2017 02:51:49 +0000 (03:51 +0100)]
Import emacs25_25.2+1-6.debian.tar.xz

[dgit import tarball emacs25 25.2+1-6 emacs25_25.2+1-6.debian.tar.xz]

8 years agoDisable eieio-test-method-order-list-6
Rob Browning [Mon, 31 Jul 2017 02:43:10 +0000 (21:43 -0500)]
Disable eieio-test-method-order-list-6

The eieio-test-method-order-list-6 test has been disabled

Its behavior is currently unpredictable.

Bug: https://debbugs.gnu.org/27878
Bug: https://debbugs.gnu.org/cgi/24503#21

Gbp-Pq: Name 0011-Disable-eieio-test-method-order-list-6.patch

8 years agoDon't downcase real xref in elisp-mode-tests
Rob Browning [Sat, 29 Jul 2017 16:50:27 +0000 (11:50 -0500)]
Don't downcase real xref in elisp-mode-tests

The elisp-mode-tests should no longer fail on case sensitive
filesystems when the build path contains uppercase characters.

Previously the code was downcasing the path for both comparison and
lookups.

Gbp-Pq: Name 0010-Don-t-downcase-real-xref-in-elisp-mode-tests.patch

8 years agoA memory alignment problem causing m68k failures has been fixed
Andreas Schwab [Mon, 24 Jul 2017 23:12:50 +0000 (01:12 +0200)]
A memory alignment problem causing m68k failures has been fixed

This patch has been backported from upstream to fix m68k build
failures:

  Properly align global lispsym

  * lib-src/make-docfile.c (close_emacs_globals): Wrap struct
  Lisp_Symbols inside struct.
  * src/alloc.c (sweep_symbols): Update use of lispsym.
  * src/lisp.h (builtin_lisp_symbol): Likewise.

Origin: backport, commit: 7a4d9f6304cffa39642507609605bcbfa40d4675
Bug-Debian: http://bugs.debian.org/868868
Forwarded: not-needed

Gbp-Pq: Name 0009-A-memory-alignment-problem-causing-m68k-failures-has.patch

8 years agoDon't provide openssl s_client as an option for ssl connections
Rob Browning [Sat, 22 Apr 2017 17:02:00 +0000 (12:02 -0500)]
Don't provide openssl s_client as an option for ssl connections

openssl s_client is no longer a default for ssl connections

"s_client is a debug tool, it does not set up a secure connection, it
ignores all errors and just continues.  It also doesn't do checks it
should be doing.  This is all documented behaviour." -- Kurt Roeckx

Bug-Debian: https://bugs.debian.org/766397

Gbp-Pq: Name 0008-Don-t-provide-openssl-s_client-as-an-option-for-ssl-.patch

8 years agoKill gpg agent in package-test.el to avoid a race
Rob Browning [Mon, 10 Oct 2016 22:35:56 +0000 (17:35 -0500)]
Kill gpg agent in package-test.el to avoid a race

package-test.el should no longer fail during clean up.

* Previously a delete-directories call raced with the gpg agent's own
  cleanup process (presumably triggered by the first deletion of one of
  the agent's sockets).  As a result, it looks like the agent might
  delete one of its sockets after delete-directories had decided to
  delete the socket, but before it made the attempt, causing an
  exception.

* To fix the problem, explicitly ask gpg-connect-agent to kill the agent
  before attempting to delete the gnupg home directory, and then delete
  via "rm -rf" to ignore any vanishing files.

Gbp-Pq: Name 0007-Kill-gpg-agent-in-package-test.el-to-avoid-a-race.patch

8 years agoDon't try to build src/macuvs.h (via IVD_Sequences.txt)
Rob Browning [Wed, 22 Oct 2014 00:10:17 +0000 (19:10 -0500)]
Don't try to build src/macuvs.h (via IVD_Sequences.txt)

These are OS X specific, and were removed for now, due to uncertainty
over the licensing.

Gbp-Pq: Name 0006-Don-t-try-to-build-src-macuvs.h-via-IVD_Sequences.tx.patch

8 years agoModify the output of (version) to indicate Debian modifications
Rob Browning [Tue, 5 Apr 2011 03:46:28 +0000 (22:46 -0500)]
Modify the output of (version) to indicate Debian modifications

The output of (version) has been modified to indicate Debian modifications.

Author: Rob Browning <rlb@defaultvalue.org>
Added-by: Rob Browning <rlb@defaultvalue.org>
Gbp-Pq: Name 0005-Modify-the-output-of-version-to-indicate-Debian-modi.patch

8 years agoAdjust documentation references for Debian
Rob Browning [Tue, 5 Apr 2011 03:46:25 +0000 (22:46 -0500)]
Adjust documentation references for Debian

Various documentation references have been adjusted for Debian.

References to /usr/local/... have been changed to /usr/... as
appropriate, etc.

Gbp-Pq: Name 0004-Adjust-documentation-references-for-Debian.patch

8 years agoRemove files that appear to be incompatible with the DFSG
Rob Browning [Tue, 5 Apr 2011 03:46:24 +0000 (22:46 -0500)]
Remove files that appear to be incompatible with the DFSG

Files that appear to be incompatible with the DFSG have been removed.

A number of files have been removed from this package because their
licenses are not compatible with the Debian Free Software Guidelines
(DFSG), or because it wasn't completely clear that their licenses are
compatible.

In particular, all of the files which are covered under the GFDL and
have invariant sections have been removed in accordance with this
General Resolution: http://www.debian.org/vote/2006/vote_001.

The files that have been removed, but still appear to be
distributable, have been moved to packages in Debian's non-free
section.

Author: Rob Browning <rlb@defaultvalue.org>
Added-by: Rob Browning <rlb@defaultvalue.org>
Status: new

Gbp-Pq: Name 0003-Remove-files-that-appear-to-be-incompatible-with-the.patch

8 years agoRun debian-startup and set debian-emacs-flavor
Rob Browning [Tue, 5 Apr 2011 03:46:22 +0000 (22:46 -0500)]
Run debian-startup and set debian-emacs-flavor

Emacs runs debian-startup and sets debian-emacs-flavor.

* Emacs runs debian-startup during the startup process unless
  site-run-file is false.

* The global variable debian-emacs-flavor is bound to 'emacs25.

Author: Rob Browning <rlb@defaultvalue.org>

Gbp-Pq: Name 0002-Run-debian-startup-and-set-debian-emacs-flavor.patch

8 years agoPrefer /usr/share/info/emacs-MAJORVERSION
Rob Browning [Sun, 7 Apr 2013 20:03:05 +0000 (15:03 -0500)]
Prefer /usr/share/info/emacs-MAJORVERSION

Emacs prefers /usr/share/info/emacs-MAJORVERSION to /usr/share/info.

The value of Info-default-directory-list has been augmented via
lisp/info.el to include /usr/share/info/emacs-MAJORVERSION before
/usr/share/info.

Gbp-Pq: Name 0001-Prefer-usr-share-info-emacs-MAJORVERSION.patch

8 years agoemacs25 (25.2+1-5) unstable; urgency=medium
Rob Browning [Tue, 1 Aug 2017 04:34:05 +0000 (05:34 +0100)]
emacs25 (25.2+1-5) unstable; urgency=medium

  * Build with -O0 on arm64 to avoid FTBS.  Without this the build
    segfaults in marker.c when trying to construct c-by.el.
    cf. https://lists.gnu.org/archive/html/emacs-devel/2017-03/msg00798.html
    Thanks to Gianfranco Costamagna for reporting the bug and Barry
    Warsaw for suggesting the workaround. (Closes: 868165)

[dgit import unpatched emacs25 25.2+1-5]

8 years agoImport emacs25_25.2+1-5.debian.tar.xz
Rob Browning [Tue, 1 Aug 2017 04:34:05 +0000 (05:34 +0100)]
Import emacs25_25.2+1-5.debian.tar.xz

[dgit import tarball emacs25 25.2+1-5 emacs25_25.2+1-5.debian.tar.xz]

8 years agoImport emacs25_25.2+1.orig.tar.xz
Rob Browning [Sat, 1 Jul 2017 19:35:18 +0000 (20:35 +0100)]
Import emacs25_25.2+1.orig.tar.xz

[dgit import orig emacs25_25.2+1.orig.tar.xz]