diff -pruN 12.2-1/debian/changelog 12.2-1ubuntu1/debian/changelog
--- 12.2-1/debian/changelog	2020-08-21 14:05:59.000000000 +0000
+++ 12.2-1ubuntu1/debian/changelog	2021-04-20 08:20:49.000000000 +0000
@@ -1,3 +1,16 @@
+auctex (12.2-1ubuntu1) devel; urgency=low
+
+  * Merge from Debian unstable.  Remaining changes:
+    - debian/control:
+      + Recommend xdg-utils.
+      + Recommend evince (main) instead of xpdf (universe).
+    - d/p/use-xdg-open.patch: use xdg-open instead of hard-coded 'xpdf'.
+    - d/p/use-firefox.patch: use firefox instead of hard-coded 'netscape'.
+  * Dropped changes:
+    - Build-Depends on texlive-extra-utils (applied upstream).
+
+ -- Lukas Märdian <slyon@ubuntu.com>  Tue, 20 Apr 2021 10:20:49 +0200
+
 auctex (12.2-1) unstable; urgency=medium
 
   * [0c6b2de] New upstream release 12.2
@@ -15,6 +28,27 @@ auctex (12.2-1) unstable; urgency=medium
 
  -- Davide G. M. Salvetti <salve@debian.org>  Fri, 21 Aug 2020 16:05:59 +0200
 
+auctex (11.91-2ubuntu2) focal; urgency=medium
+
+  * debian/control:
+    - Build-Depends on texlive-extra-utils
+      https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=951973
+
+ -- Sebastien Bacher <seb128@ubuntu.com>  Thu, 02 Apr 2020 21:23:07 +0200
+
+auctex (11.91-2ubuntu1) eoan; urgency=low
+
+  * Merge from Debian unstable.  Remaining changes:
+    - debian/control:
+      + Recommend xdg-utils.
+      + Recommend evince (main) instead of xpdf (universe).
+    - debian/patches/use-xdg-open.patch: use xdg-open instead of hard-coded
+      xpdf.
+    - debian/patches/use-firefox.patch: use firefox instead of hard-coded
+      'netscape'.
+
+ -- Gianfranco Costamagna <locutusofborg@debian.org>  Thu, 25 Jul 2019 17:07:57 +0200
+
 auctex (11.91-2) unstable; urgency=medium
 
   * [f70e735] debian/update-auctex-elisp: Ensure correct file permissions
@@ -30,6 +64,19 @@ auctex (11.91-2) unstable; urgency=mediu
 
  -- Davide G. M. Salvetti <salve@debian.org>  Sat, 08 Dec 2018 18:42:21 +0100
 
+auctex (11.91-1ubuntu1) bionic; urgency=low
+
+  * Merge from Debian unstable.  Remaining changes:
+    - debian/control:
+      + Recommend xdg-utils.
+      + Recommend evince (main) instead of xpdf (universe).
+    - debian/patches/use-xdg-open.patch: use xdg-open instead of hard-coded
+      xpdf.
+    - debian/patches/use-firefox.patch: use firefox instead of hard-coded
+      'netscape'.
+
+ -- Dimitri John Ledkov <xnox@ubuntu.com>  Thu, 16 Nov 2017 05:59:20 +0000
+
 auctex (11.91-1) unstable; urgency=medium
 
   * [58672fd] Remove files autogenerated from vcs sources
@@ -52,6 +99,19 @@ auctex (11.91-1) unstable; urgency=mediu
 
  -- Davide G. M. Salvetti <salve@debian.org>  Fri, 11 Aug 2017 10:22:47 +0200
 
+auctex (11.90-2ubuntu1) artful; urgency=low
+
+  * Merge from Debian unstable.  Remaining changes:
+    - debian/control:
+      + Recommend xdg-utils.
+      + Recommend evince (main) instead of xpdf (universe).
+    - debian/patches/use-xdg-open.patch: use xdg-open instead of hard-coded
+      xpdf.
+    - debian/patches/use-firefox.patch: use firefox instead of hard-coded
+      'netscape'.
+
+ -- Dimitri John Ledkov <xnox@ubuntu.com>  Thu, 27 Jul 2017 09:39:09 +0100
+
 auctex (11.90-2) unstable; urgency=medium
 
   [ Davide G. M. Salvetti ]
@@ -66,6 +126,19 @@ auctex (11.90-2) unstable; urgency=mediu
 
  -- Davide G. M. Salvetti <salve@debian.org>  Fri, 21 Jul 2017 14:14:32 +0200
 
+auctex (11.90-1ubuntu1) zesty; urgency=low
+
+  * Merge from Debian unstable.  Remaining changes:
+    - debian/control:
+      + Recommend xdg-utils.
+      + Recommend evince (main) instead of xpdf (universe).
+    - debian/patches/use-xdg-open.patch: use xdg-open instead of hard-coded
+      xpdf.
+    - debian/patches/use-firefox.patch: use firefox instead of hard-coded
+      'netscape'.
+
+ -- Dimitri John Ledkov <xnox@ubuntu.com>  Thu, 19 Jan 2017 15:09:35 +0000
+
 auctex (11.90-1) unstable; urgency=medium
 
   * [ca6576f] New upstream release 11.90
@@ -131,6 +204,19 @@ auctex (11.88-2) unstable; urgency=mediu
 
  -- Davide G. M. Salvetti <salve@debian.org>  Thu, 08 Dec 2016 21:12:49 +0100
 
+auctex (11.88-1.3ubuntu1) zesty; urgency=low
+
+  * Merge from Debian unstable.  Remaining changes:
+    - debian/control:
+      + Recommend xdg-utils.
+      + Recommend evince (main) instead of xpdf (universe).
+    - debian/patches/use-xdg-open.patch: use xdg-open instead of hard-coded
+      xpdf.
+    - debian/patches/use-firefox.patch: use firefox instead of hard-coded
+      'netscape'.
+
+ -- Dimitri John Ledkov <xnox@ubuntu.com>  Tue, 06 Dec 2016 15:29:16 +0100
+
 auctex (11.88-1.3) unstable; urgency=medium
 
   * Non-maintainer upload.
@@ -144,6 +230,20 @@ auctex (11.88-1.3) unstable; urgency=med
 
  -- Rémi Vanicat <vanicat@debian.org>  Fri, 25 Nov 2016 12:00:39 +0100
 
+auctex (11.88-1.2ubuntu1) zesty; urgency=low
+
+  * Merge from Debian unstable.  Remaining changes:
+    - drop emacs23, default to emacs25.
+    - debian/control:
+      + Recommend xdg-utils.
+      + Recommend evince (main) instead of xpdf (universe).
+    - debian/patches/use-xdg-open.patch: use xdg-open instead of hard-coded
+      xpdf.
+    - debian/patches/use-firefox.patch: use firefox instead of hard-coded
+      'netscape'.
+
+ -- Dimitri John Ledkov <xnox@ubuntu.com>  Mon, 21 Nov 2016 13:33:52 +0000
+
 auctex (11.88-1.2) unstable; urgency=medium
 
   * Non-maintainer upload.
@@ -152,6 +252,20 @@ auctex (11.88-1.2) unstable; urgency=med
 
  -- Rémi Vanicat <vanicat@debian.org>  Fri, 23 Sep 2016 17:36:05 +0200
 
+auctex (11.88-1.1ubuntu1) xenial; urgency=low
+
+  * Merge from Debian unstable.  Remaining changes:
+    - drop emacs23, default to emacs24.
+    - debian/control:
+      + Recommend xdg-utils.
+      + Recommend evince (main) instead of xpdf (universe).
+    - debian/patches/use-xdg-open.patch: use xdg-open instead of hard-coded
+      xpdf.
+    - debian/patches/use-firefox.patch: use firefox instead of hard-coded
+      'netscape'.
+
+ -- Dimitri John Ledkov <xnox@ubuntu.com>  Thu, 19 Nov 2015 14:17:50 +0000
+
 auctex (11.88-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.
@@ -159,6 +273,20 @@ auctex (11.88-1.1) unstable; urgency=med
 
  -- Michael Gilbert <mgilbert@debian.org>  Fri, 02 Jan 2015 18:14:08 +0000
 
+auctex (11.88-1ubuntu1) vivid; urgency=medium
+
+  * Merge from debian, remaining changes:
+    - drop emacs23, default to emacs24.
+    - debian/control:
+      + Recommend xdg-utils.
+      + Recommend evince (main) instead of xpdf (universe).
+    - debian/patches/use-xdg-open.patch: use xdg-open instead of hard-coded
+      xpdf.
+    - debian/patches/use-firefox.patch: use firefox instead of hard-coded
+      'netscape'.
+
+ -- Dimitri John Ledkov <dimitri.j.ledkov@linux.intel.com>  Sat, 06 Dec 2014 16:40:59 +0000
+
 auctex (11.88-1) unstable; urgency=medium
 
   * [9129986] Imported Upstream version 11.88
@@ -202,6 +330,25 @@ auctex (11.87-2) unstable; urgency=mediu
 
  -- Davide G. M. Salvetti <salve@debian.org>  Mon, 13 Oct 2014 15:56:19 +0200
 
+auctex (11.87-1ubuntu2) trusty; urgency=low
+
+  * Drop emacs23 from [build-]depends, default to emacs24.
+
+ -- Dmitrijs Ledkovs <xnox@ubuntu.com>  Thu, 07 Nov 2013 10:39:56 +0000
+
+auctex (11.87-1ubuntu1) raring; urgency=low
+
+  * Merge from Debian unstable. Remaining changes:
+    - debian/control:
+      + Recommend xdg-utils.
+      + Recommend evince (main) instead of xpdf (universe).
+    - debian/patches/use-xdg-open.patch: use xdg-open instead of hard-coded
+      xpdf.
+    - debian/patches/use-firefox.patch: use firefox instead of hard-coded
+      'netscape'.
+
+ -- Logan Rosen <logatronico@gmail.com>  Sun, 06 Jan 2013 02:41:22 -0500
+
 auctex (11.87-1) unstable; urgency=low
 
   * [2d85583] Imported Upstream version 11.87
@@ -228,6 +375,20 @@ auctex (11.86-12) unstable; urgency=low
 
  -- Davide G. M. Salvetti <salve@debian.org>  Wed, 28 Nov 2012 22:22:51 +0100
 
+auctex (11.86-11ubuntu1) raring; urgency=low
+
+  * Merge from Debian unstable (LP: #987711). Remaining changes:
+    - Recommend xdg-utils.
+    - debian/patches/use-xdg-open.patch: use xdg-open instead of hard-coded
+      xpdf.
+    - debian/patches/use-firefox.patch: use firefox instead of hard-coded
+      'netscape'.
+    - debian/control: drop the "Vcs-Bzr" field as we're using
+      lp:ubuntu/auctex.
+    - Recommend evince (main) instead of xpdf (universe).
+
+ -- Logan Rosen <logatronico@gmail.com>  Thu, 22 Nov 2012 21:35:08 -0500
+
 auctex (11.86-11) unstable; urgency=medium
 
   * [2ff9458] Fix emacs-snapshot support.
@@ -378,6 +539,33 @@ auctex (11.86-2.1) unstable; urgency=low
 
  -- Matthias Kümmerer <matthias@matthias-k.org>  Thu, 02 Jun 2011 16:03:08 +0200
 
+auctex (11.86-2ubuntu2) quantal; urgency=low
+
+  * Recommend evince (main) instead of xpdf (universe).
+
+ -- Matthias Klose <doko@ubuntu.com>  Mon, 10 Sep 2012 22:37:42 +0200
+
+auctex (11.86-2ubuntu1) natty; urgency=low
+
+  [ Lorenzo De Liso ]
+  * Merge from debian unstable (LP: #670942, #531680), remaining changes:
+    - Follow Ubuntu Maintainer spec.
+    - Recommend xdg-utils LP: #442467
+  * debian/patches/use-xdg-open.patch: use xdg-open instead of hard-coded
+    xpdf, LP: #379874
+  * debian/patches/use-firefox.patch: use firefox instead of hard-coded
+    'netscape'
+  * debian/control: drop the "Vcs-Bzr" field as we're using lp:ubuntu/auctex
+  * Dropped changes:
+    - drop dependency on texlive-base-bin. It was included for lp #148469, but
+      the current maintainer scripts no longer seem to use it: this change
+      was documented but never applied
+
+  [ Reinhard Tartler ]
+  * Add patch documentation for use-xdg-open.patch and use-firefox.patch
+
+ -- Reinhard Tartler <siretart@tauware.de>  Thu, 04 Nov 2010 16:08:19 +0100
+
 auctex (11.86-2) unstable; urgency=low
 
   * [764585e] Add patch: Fix TeX engine alist builtin defvar.
@@ -403,6 +591,23 @@ auctex (11.86-1) unstable; urgency=low
 
  -- Davide G. M. Salvetti <salve@debian.org>  Fri, 27 Aug 2010 17:06:08 +0200
 
+auctex (11.85-1ubuntu1) lucid; urgency=low
+
+  * Merge from debian/squeeze. remaining changes:
+    - Follow Ubuntu Maintainer spec.
+    - use xdg-open instead of hard-coded xpdf,  LP: #379874
+    - use firefox instead of hard-coded 'mozilla'
+  * drop dependency on texlive-base-bin. It was included for lp #148469, but
+    the current maintainer scripts no longer seem to use it.
+  * recommend xdg-utils instead of xdg-open, LP: #442467
+  * new upstream version fixes:
+     - "Preview of doc that includes PDF". LP: #439463
+       Closed based on information from bug submitter
+     - Some parsing defects. LP: #240135
+       At least the shown example does not show the defect anmore
+
+ -- Reinhard Tartler <siretart@tauware.de>  Thu, 05 Nov 2009 08:42:04 +0100
+
 auctex (11.85-1) unstable; urgency=low
 
   * New upstream release.  (Closes: #482956)
@@ -524,6 +729,58 @@ auctex (11.83-7.1) unstable; urgency=low
 
  -- Christian Perrier <bubulle@debian.org>  Mon, 31 Mar 2008 17:56:23 +0200
 
+auctex (11.84-0ubuntu3) karmic; urgency=low
+
+  * use xdg-open instead of hard-coded,  LP: #379874
+  * add dependency alternative on emacs23, LP: #434688
+
+ -- Reinhard Tartler <siretart@tauware.de>  Mon, 28 Sep 2009 20:51:08 +0000
+
+auctex (11.84-0ubuntu2) intrepid; urgency=low
+
+  * Drop "xpdf-reader | pdf-viewer" recommends altogether. xpdf is in main,
+    and we already install a PDF viewer in all Ubuntu flavours.
+  * While I was at it, replace "gs-gpl | gs" with "ghostscript".
+
+ -- Martin Pitt <martin.pitt@ubuntu.com>  Fri, 17 Oct 2008 17:13:44 +0200
+
+auctex (11.84-0ubuntu1) hardy; urgency=low
+
+  * Upload to hardy. Freeze exception granted in LP: #103631
+
+ -- Reinhard Tartler <siretart@tauware.de>  Fri, 21 Mar 2008 14:54:04 +0100
+
+auctex (11.84-0ubuntu1~ppa2) gutsy; urgency=low
+
+  * Merge changes from 11.83-7ubuntu1:
+    - Add missing depends on texlive-base-bin so that the postrm does not
+      fail on missing mktexlsr (LP: #148469).
+
+ -- Michael W. Olson (GNU address) <mwolson@gnu.org>  Fri, 05 Oct 2007 14:13:51 -0400
+
+auctex (11.84-0ubuntu1~ppa1) gutsy; urgency=low
+
+  * New upstream release.
+  * tex.el: Apply bug fix for "Wrong type argument: sequencep, t" error.
+    (Addresses LP: #103631)
+  * debian/rules:
+    - (build): Add --with-lispdir option so that files get installed into
+      /usr/share/emacs/site-lisp rather than
+      /usr/local/share/emacs/site-lisp.
+    - (binary-indep-auctex): Use "DESTDIR" rather than "prefix", and don't
+      include the /usr part.
+  * debian/control:
+    - Follow Ubuntu Maintainer spec.
+
+ -- Michael W. Olson (GNU address) <mwolson@gnu.org>  Thu, 04 Oct 2007 00:16:01 -0400
+
+auctex (11.83-7ubuntu1) gutsy; urgency=low
+
+  * add missing depends on texlive-base-bin so that the postrm
+    does not fail on missing mktexlsr (LP: #148469)
+
+ -- Michael Vogt <michael.vogt@ubuntu.com>  Fri, 05 Oct 2007 18:26:18 +0200
+
 auctex (11.83-7) unstable; urgency=medium
 
   * copyright.in, COPYRIGHT, variables: Update copyright.
diff -pruN 12.2-1/debian/control 12.2-1ubuntu1/debian/control
--- 12.2-1/debian/control	2020-08-21 13:56:34.000000000 +0000
+++ 12.2-1ubuntu1/debian/control	2021-04-20 08:16:13.000000000 +0000
@@ -1,7 +1,8 @@
 Source: auctex
 Priority: optional
 Section: tex
-Maintainer: Davide G. M. Salvetti <salve@debian.org>
+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
+XSBC-Original-Maintainer: Davide G. M. Salvetti <salve@debian.org>
 Uploaders: OHURA Makoto <ohura@debian.org>
 Standards-Version: 4.5.0
 Build-Depends-Indep: autoconf, debhelper (>= 9), emacs, eperl, ghostscript, po-debconf, tex-common (>= 4.01), texlive-latex-base, texlive-extra-utils, texinfo (>= 5)
@@ -13,7 +14,7 @@ Vcs-Git: https://salsa.debian.org//salve
 Package: auctex
 Architecture: all
 Depends: emacs, emacsen-common (>= 3.0.0), preview-latex-style, procps, ${misc:Depends}
-Recommends: ghostscript, texlive-latex-recommended, xpdf | evince | okular
+Recommends: ghostscript, texlive-latex-recommended, evince | xpdf | okular, xdg-utils
 Suggests: catdvi, dvipng, lacheck
 Breaks: emacspeak (<= 17.0-1)
 Conflicts: preview-latex
diff -pruN 12.2-1/debian/patches/series 12.2-1ubuntu1/debian/patches/series
--- 12.2-1/debian/patches/series	2020-08-21 14:00:03.000000000 +0000
+++ 12.2-1ubuntu1/debian/patches/series	2020-08-21 21:13:08.000000000 +0000
@@ -1,3 +1,5 @@
+use-xdg-open.patch
+use-firefox.patch
 0001-doc-Makefile.in-Rationalize-HTML-documentation-targe.patch
 0002-doc-Makefile.in-Rationalize-dist-target.patch
 0003-preview-latex-Makefile.in-Also-clean-PDF-docs.patch
diff -pruN 12.2-1/debian/patches/use-firefox.patch 12.2-1ubuntu1/debian/patches/use-firefox.patch
--- 12.2-1/debian/patches/use-firefox.patch	1970-01-01 00:00:00.000000000 +0000
+++ 12.2-1ubuntu1/debian/patches/use-firefox.patch	2014-12-06 16:34:16.000000000 +0000
@@ -0,0 +1,14 @@
+From: Reinhard Tartler <siretart@ubuntu.com>
+Subject: Change default html viewer to firefox
+
+--- auctex-11.86.orig/tex.el
++++ auctex-11.86/tex.el
+@@ -914,7 +914,7 @@ is not recommended because it is more po
+     ("^dvi$" "^executivepaper$" "%(o?)xdvi %dS -paper 7.25x10.5in %d")
+     ("^dvi$" "." "%(o?)xdvi %dS %d")
+     ("^pdf$" "." "xdg-open %o")
+-    ("^html?$" "." "netscape %o"))
++    ("^html?$" "." "firefox %o"))
+   "List of output file extensions and view options.
+ 
+ If the first element (a regular expression) matches the output
diff -pruN 12.2-1/debian/patches/use-xdg-open.patch 12.2-1ubuntu1/debian/patches/use-xdg-open.patch
--- 12.2-1/debian/patches/use-xdg-open.patch	1970-01-01 00:00:00.000000000 +0000
+++ 12.2-1ubuntu1/debian/patches/use-xdg-open.patch	2014-12-06 16:34:16.000000000 +0000
@@ -0,0 +1,15 @@
+From: Reinhard Tartler <siretart@ubuntu.com>
+Subject: Change default html viewer to firefox
+Bug-Ubuntu: http://launchpad.net/bugs/379874
+
+--- auctex-11.86.orig/tex.el
++++ auctex-11.86/tex.el
+@@ -913,7 +913,7 @@ is not recommended because it is more po
+     ("^dvi$" "^legalpaper$" "%(o?)xdvi %dS -paper legal %d")
+     ("^dvi$" "^executivepaper$" "%(o?)xdvi %dS -paper 7.25x10.5in %d")
+     ("^dvi$" "." "%(o?)xdvi %dS %d")
+-    ("^pdf$" "." "xpdf -remote %s -raise %o %(outpage)")
++    ("^pdf$" "." "xdg-open %o")
+     ("^html?$" "." "netscape %o"))
+   "List of output file extensions and view options.
+ 
