summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/NEWS.debian7
-rw-r--r--debian/README.Debian12
-rw-r--r--debian/changelog522
-rw-r--r--debian/compat1
-rw-r--r--debian/control32
-rw-r--r--debian/copyright62
-rw-r--r--debian/dirs1
-rw-r--r--debian/emacsen-compat1
-rw-r--r--debian/emacsen-install57
-rw-r--r--debian/emacsen-remove13
-rw-r--r--debian/emacsen-startup25
-rw-r--r--debian/patches/10-shebang.patch12
-rw-r--r--debian/patches/20-links-unescaping.patch26
-rw-r--r--debian/patches/30-local-mk.patch8
-rw-r--r--debian/patches/series3
-rwxr-xr-xdebian/rules52
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch5
18 files changed, 840 insertions, 0 deletions
diff --git a/debian/NEWS.debian b/debian/NEWS.debian
new file mode 100644
index 0000000..49a1994
--- /dev/null
+++ b/debian/NEWS.debian
@@ -0,0 +1,7 @@
+org-mode (8.0.6-1) unstable; urgency=low
+
+ To fix Debian bug #709494, and keep org-mode in the main section, the
+ documentation has been removed from this package and moved to
+ org-mode-doc, to be found soon in the non-free section.
+
+ -- Sebastien Delafond <seb@debian.org> Mon, 15 Jul 2013 13:51:17 +0200
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..d5cd3b2
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,12 @@
+Please note that you need to install texlive-latex-extra (listed in
+Suggests) so you can preview LaTeX equations.
+
+ -- Sebastien Delafond <seb@debian.org>, Wed, 2 Apr 2014 13:08:11 +0200
+
+To enable contributed extensions to org-mode, simply add
+"/usr/share/org-mode/lisp" to your load-path, for instance in your
+.emacs with:
+
+ (setq load-path (cons "/usr/share/org-mode/lisp" load-path))
+
+ -- Sebastien Delafond <seb@debian.org>, Thu, 1 Oct 2009 11:11:26 +0200
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..9d786c7
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,522 @@
+org-mode (8.2.7b-2) unstable; urgency=medium
+
+ * Add Vcs-* information
+
+ -- Sebastien Delafond <seb@debian.org> Mon, 14 Jul 2014 11:45:20 +0200
+
+org-mode (8.2.7b-1) unstable; urgency=medium
+
+ * New upstream release
+
+ -- Sebastien Delafond <seb@debian.org> Wed, 25 Jun 2014 09:34:50 +0200
+
+org-mode (8.2.7a-1) unstable; urgency=medium
+
+ * New upstream release (Closes: #752032)
+
+ -- Sebastien Delafond <seb@debian.org> Sat, 21 Jun 2014 11:08:09 +0200
+
+org-mode (8.2.7-1) unstable; urgency=medium
+
+ * New upstream release (Closes: #751014)
+
+ -- Sebastien Delafond <seb@debian.org> Sat, 14 Jun 2014 12:50:57 +0200
+
+org-mode (8.2.6-1) unstable; urgency=medium
+
+ * New upstream release (Closes: #644238)
+ * Depend on emacsen-common >= 2.0.8, and add debian/emacsen-compat
+
+ -- Sebastien Delafond <seb@debian.org> Fri, 13 Jun 2014 13:20:31 +0200
+
+org-mode (8.2.5h-2) unstable; urgency=low
+
+ * Bring back dependency on emacsen-common
+
+ -- Sebastien Delafond <seb@debian.org> Mon, 19 May 2014 22:47:22 +0200
+
+org-mode (8.2.5h-1) unstable; urgency=low
+
+ * New upstream release
+ * Add a Suggests:texlive-latex-extra (Closes: #740867)
+ * Bump Standards-Version
+
+ -- Sebastien Delafond <seb@debian.org> Wed, 02 Apr 2014 13:03:49 +0200
+
+org-mode (8.2.4-1) unstable; urgency=low
+
+ * New upstream release (Closes: #729725)
+ * Conflict with older emacsen-common (Comment: #732699)
+ * Tweak auto-mode-alist regex (Closes: #719038)
+
+ -- Sebastien Delafond <seb@debian.org> Sun, 29 Dec 2013 17:44:50 +0100
+
+org-mode (8.2.1-2) unstable; urgency=low
+
+ * Hrm, really recommend texlive-generic-recommended and
+ texlive-latex-recommended (Closes: #725126)
+
+ -- Sebastien Delafond <seb@debian.org> Mon, 09 Dec 2013 11:46:24 +0100
+
+org-mode (8.2.1-1) unstable; urgency=low
+
+ * New upstream release
+ * Do not support emacs22 anymore (Closes: #719037)
+ * Recommend texlive-generic-recommended and texlive-latex-recommended
+ (Closes: #725126)
+
+ -- Sebastien Delafond <seb@debian.org> Sun, 27 Oct 2013 17:14:14 +0100
+
+org-mode (8.0.7-2) unstable; urgency=low
+
+ * Do not Recommend remember-el anymore, as it's obsolete with Org 8.x
+ (Closes: #721787).
+
+ -- Sebastien Delafond <seb@debian.org> Tue, 10 Sep 2013 22:34:03 +0200
+
+org-mode (8.0.7-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Sebastien Delafond <seb@debian.org> Sun, 11 Aug 2013 16:27:56 +0200
+
+org-mode (8.0.6-3) unstable; urgency=low
+
+ * Remove copyright notice for the Org documentation, since it now lives
+ in its own org-mode-doc package in non-free
+
+ -- Sebastien Delafond <seb@debian.org> Tue, 16 Jul 2013 10:55:16 +0200
+
+org-mode (8.0.6-2) unstable; urgency=low
+
+ * Add emacs-snapshot as an acceptable dependency, not just a build
+ dependency (Closes: #712187)
+
+ -- Sebastien Delafond <seb@debian.org> Tue, 16 Jul 2013 08:56:59 +0200
+
+org-mode (8.0.6-1) unstable; urgency=low
+
+ * New upstream release
+ * Remove non-free documentation (Closes: #709494), and mention that in
+ NEWS.Debian
+ * Add emacs-snapshot as an acceptable version of emacs (Closes: #712187)
+ * Bumped up Standards-Version
+
+ -- Sebastien Delafond <seb@debian.org> Mon, 15 Jul 2013 13:51:17 +0200
+
+org-mode (7.9.2-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Sebastien Delafond <seb@debian.org> Tue, 30 Oct 2012 08:45:52 +0100
+
+org-mode (7.9.1-3) unstable; urgency=low
+
+ * Fix FTBFS since org-mode now requires emacs to be built (Closes:
+ #691768)
+
+ -- Sebastien Delafond <seb@debian.org> Mon, 29 Oct 2012 16:19:40 +0100
+
+org-mode (7.9.1-2) unstable; urgency=low
+
+ * Also generate the PDF reference card (Closes: #690030)
+
+ -- Sebastien Delafond <seb@debian.org> Tue, 09 Oct 2012 10:55:13 +0200
+
+org-mode (7.9.1-1) unstable; urgency=low
+
+ * New upstream release (Closes: #685154, #668496, #688673)
+ * Updated watch file again
+
+ -- Sebastien Delafond <seb@debian.org> Thu, 13 Sep 2012 14:53:00 +0200
+
+org-mode (7.8.11-2) unstable; urgency=low
+
+ * Fix dependencies to include current versions of emacs in unstable
+ (Closes: #682713)
+ * Proper watch file
+
+ -- Sebastien Delafond <seb@debian.org> Mon, 13 Aug 2012 12:32:11 +0200
+
+org-mode (7.8.11-1) unstable; urgency=low
+
+ * New upstream release
+ * Simpler debian/watch file
+
+ -- Sebastien Delafond <seb@debian.org> Wed, 20 Jun 2012 11:36:07 +0200
+
+org-mode (7.8.09-1) unstable; urgency=low
+
+ * New upstream release (Closes: #670270)
+ * Updated debian/watch file
+
+ -- Sebastien Delafond <seb@debian.org> Wed, 25 Apr 2012 15:20:15 +0200
+
+org-mode (7.8.06-2) unstable; urgency=low
+
+ * Really fix the style files (Closes: #655652)
+
+ -- Sebastien Delafond <seb@debian.org> Mon, 26 Mar 2012 10:56:00 +0200
+
+org-mode (7.8.06-1) unstable; urgency=low
+
+ * New upstream release (Closes: #655652)
+ * Bumped up Standards-Version.
+
+ -- Sebastien Delafond <seb@debian.org> Sun, 25 Mar 2012 17:10:16 +0200
+
+org-mode (7.7-3) unstable; urgency=low
+
+ * More conventional debian/rules, not requiring root; thanks Colin
+ Watson <cjwatson@ubuntu.com> for the patch (Closes: #648425)
+
+ -- Sebastien Delafond <seb@debian.org> Fri, 11 Nov 2011 15:09:35 +0100
+
+org-mode (7.7-2) unstable; urgency=low
+
+ * Fix FTBFS (Closes: #643235)
+
+ -- Sebastien Delafond <seb@debian.org> Tue, 27 Sep 2011 11:27:02 +0200
+
+org-mode (7.7-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Sebastien Delafond <seb@debian.org> Sat, 10 Sep 2011 15:30:43 +0200
+
+org-mode (7.6-1) unstable; urgency=low
+
+ * New upstream release (Closes: #632158).
+
+ -- Sebastien Delafond <seb@debian.org> Thu, 07 Jul 2011 15:45:26 +0200
+
+org-mode (7.5-2) unstable; urgency=low
+
+ * Also install .el files (Closes: #623376).
+
+ -- Sebastien Delafond <seb@debian.org> Mon, 09 May 2011 12:18:52 +0200
+
+org-mode (7.5-1) unstable; urgency=low
+
+ * New upstream release (Closes: #623208).
+
+ -- Sebastien Delafond <seb@debian.org> Mon, 18 Apr 2011 14:52:41 +0200
+
+org-mode (7.4-1) unstable; urgency=low
+
+ * New upstream release
+ * Handle ditaa more nicely (Closes: #607258).
+
+ -- Sebastien Delafond <seb@debian.org> Wed, 22 Dec 2010 14:13:18 +0100
+
+org-mode (7.3-3) unstable; urgency=low
+
+ * Explicitly exclude xemacs from byte-compilation (Closes: #602803).
+
+ -- Sebastien Delafond <seb@debian.org> Fri, 12 Nov 2010 11:35:10 +0100
+
+org-mode (7.3-2) unstable; urgency=low
+
+ * Do not support xemacs21 anymore; the upstream changelog clearly mentions
+ that "XEmacs support requires the XEmacs development version", which
+ is not packaged for Debian (Closes: #602803).
+
+ -- Sebastien Delafond <seb@debian.org> Wed, 10 Nov 2010 16:23:30 +0100
+
+org-mode (7.3-1) unstable; urgency=low
+
+ * New upstream release (Closes: #602196).
+
+ -- Sebastien Delafond <seb@debian.org> Sun, 07 Nov 2010 18:17:47 +0100
+
+org-mode (7.01h-1) unstable; urgency=low
+
+ * New upstream release.
+ * Bumped up Standards-Version.
+
+ -- Sebastien Delafond <seb@debian.org> Tue, 07 Sep 2010 14:46:10 +0200
+
+org-mode (7.01g-1) unstable; urgency=low
+
+ * New upstream release (Closes: #589853).
+ * Bumped up Standards-Version.
+
+ -- Sebastien Delafond <seb@debian.org> Thu, 22 Jul 2010 14:14:51 +0200
+
+org-mode (6.36c-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Sebastien Delafond <seb@debian.org> Wed, 19 May 2010 13:31:31 +0200
+
+org-mode (6.35i-1) unstable; urgency=low
+
+ * New upstream release.
+ * Do not include org-freemind for xemacs (Closes: #577496).
+
+ -- Sebastien Delafond <seb@debian.org> Tue, 13 Apr 2010 15:09:27 +0200
+
+org-mode (6.35h-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Sebastien Delafond <seb@debian.org> Mon, 12 Apr 2010 10:33:56 +0200
+
+org-mode (6.35g-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Sebastien Delafond <seb@debian.org> Sat, 10 Apr 2010 12:15:35 +0200
+
+org-mode (6.35f-1) unstable; urgency=low
+
+ * New upstream release.
+ * Removed incorrect Vcs-* info.
+
+ -- Sebastien Delafond <seb@debian.org> Thu, 08 Apr 2010 12:48:18 +0200
+
+org-mode (6.34c-4) unstable; urgency=low
+
+ * Proper unescaping in links (Closes: #572404.)
+
+ -- Sebastien Delafond <seb@debian.org> Fri, 05 Mar 2010 10:45:05 +0100
+
+org-mode (6.34c-3) unstable; urgency=low
+
+ * Swith to 3.0(quilt) source format.
+
+ -- Sebastien Delafond <seb@debian.org> Tue, 02 Mar 2010 08:29:45 +0100
+
+org-mode (6.34c-2) unstable; urgency=low
+
+ * Add easypg as a Suggest, to enable org-crypt functionalities.
+ * Bumped up Standards-Version.
+
+ -- Sebastien Delafond <seb@debian.org> Tue, 16 Feb 2010 16:25:35 +0100
+
+org-mode (6.34c-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Sebastien Delafond <seb@debian.org> Fri, 29 Jan 2010 15:48:44 +0100
+
+org-mode (6.33f-2) unstable; urgency=low
+
+ * New upstream release.
+ * Remove ditaa.jar from both the source and binary packages, as its
+ source code is not available (Closes: #565250). Seems 528117 crept
+ back somehow.
+
+ -- Sebastien Delafond <seb@debian.org> Fri, 29 Jan 2010 15:41:21 +0100
+
+org-mode (6.32b-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Sebastien Delafond <seb@debian.org> Thu, 29 Oct 2009 10:22:45 +0100
+
+org-mode (6.31a-3) unstable; urgency=low
+
+ * Add ORed dependency on emacs-snapshot (Closes: #551729).
+ * Removed explicit version-depend on dpkg.
+
+ -- Sebastien Delafond <seb@debian.org> Thu, 22 Oct 2009 21:15:59 +0200
+
+org-mode (6.31a-2) unstable; urgency=low
+
+ * New Vcs-Git and Homepage fields in debian/control.
+ * Lintian cleanups.
+
+ -- Sebastien Delafond <seb@debian.org> Mon, 19 Oct 2009 16:13:16 +0200
+
+org-mode (6.31a-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Sebastien Delafond <seb@debian.org> Thu, 08 Oct 2009 14:45:55 +0200
+
+org-mode (6.31-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Sebastien Delafond <seb@debian.org> Wed, 30 Sep 2009 21:05:03 +0200
+
+org-mode (6.30e-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Sebastien Delafond <seb@debian.org> Mon, 28 Sep 2009 16:57:29 +0200
+
+org-mode (6.29c+1-3) unstable; urgency=low
+
+ * Doh: emacs 23, not emacs-23 (Closes: #541651).
+
+ -- Sebastien Delafond <seb@debian.org> Sun, 16 Aug 2009 17:34:50 +0200
+
+org-mode (6.29c+1-2) unstable; urgency=low
+
+ * OR'ed depend on emacs23 as well (Closes: #541651).
+
+ -- Sebastien Delafond <seb@debian.org> Sat, 15 Aug 2009 11:44:49 +0200
+
+org-mode (6.29c+1-1) unstable; urgency=low
+
+ * Clarify licensing of org-mode's documentation in debian/copyright, and
+ correct packaging bug in 6.27a-1 and 6.29c-1 where the wrong,
+ GFDL-only version of the manual was accidentally included (Closes:
+ #540736).
+
+ -- Sebastien Delafond <seb@debian.org> Mon, 10 Aug 2009 12:38:39 +0200
+
+org-mode (6.29c-1) unstable; urgency=low
+
+ * New upstream release
+ * Bumped up standards revision.
+
+ -- Sebastien Delafond <seb@debian.org> Mon, 10 Aug 2009 09:02:41 +0200
+
+org-mode (6.27a-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Sebastien Delafond <seb@debian.org> Tue, 16 Jun 2009 12:47:51 +0200
+
+org-mode (6.26d-1) unstable; urgency=low
+
+ * New upstream release.
+ * Remove ditaa.jar from both the source and binary packages, as its
+ source code is not available (Closes: #528117).
+
+ -- Sebastien Delafond <seb@debian.org> Mon, 11 May 2009 02:16:35 -0700
+
+org-mode (6.26a-4) unstable; urgency=low
+
+ * xemacs21 is fine, as it has url.el.
+
+ -- Sebastien Delafond <seb@debian.org> Tue, 21 Apr 2009 05:35:05 -0700
+
+org-mode (6.26a-3) unstable; urgency=low
+
+ * Do not support emacs21 and xemacs21 anymore; upstream author mentioned
+ he will "not willingly break Emacs 21 support, but no longer will make
+ any effort to adapt code for it" (Closes: #524951).
+
+ -- Sebastien Delafond <seb@debian.org> Tue, 21 Apr 2009 05:25:46 -0700
+
+org-mode (6.26a-2) unstable; urgency=low
+
+ * Fix void symbol in startup file; thanks Antonio P. P. Almeida for the
+ patch (Closes: #524941).
+
+ -- Sebastien Delafond <seb@debian.org> Tue, 21 Apr 2009 02:10:47 -0700
+
+org-mode (6.26a-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Sebastien Delafond <seb@debian.org> Mon, 20 Apr 2009 00:08:53 -0700
+
+org-mode (6.25e-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Sebastien Delafond <seb@debian.org> Thu, 09 Apr 2009 11:23:38 -0700
+
+org-mode (6.24b-1) unstable; urgency=low
+
+ * New upstream release (Closes: #519559).
+ * Update watch file so it doesn't match the snapshot release.
+ * Remove .DS_Store accidentally included in upstream tarball.
+
+ -- Sebastien Delafond <seb@debian.org> Fri, 13 Mar 2009 06:53:16 -0700
+
+org-mode (6.21b-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Sebastien Delafond <seb@debian.org> Mon, 02 Feb 2009 14:10:42 -0800
+
+org-mode (6.19b-1) unstable; urgency=low
+
+ * New upstream release.
+ * Do not byte-compile *.el file more than once, and log said compilation
+ to a temp file (inspired from emacs-goodies-el's install script).
+
+ -- Sebastien Delafond <seb@debian.org> Mon, 26 Jan 2009 08:41:17 -0800
+
+org-mode (6.17c-1) unstable; urgency=low
+
+ * New upstream release.
+ * Updated debian/watch to account for index.html renaming to index.html.
+
+ -- Sebastien Delafond <seb@debian.org> Sun, 18 Jan 2009 19:01:30 -0800
+
+org-mode (6.16c-1) unstable; urgency=low
+
+ * New upstream release
+ * Ship up-to-date version of the manual (Closes: #508758).
+
+ -- Sebastien Delafond <seb@debian.org> Sun, 28 Dec 2008 06:24:35 -0800
+
+org-mode (6.14-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Sebastien Delafond <seb@debian.org> Sun, 14 Dec 2008 13:15:23 -0800
+
+org-mode (6.12b-1) unstable; urgency=low
+
+ * New upstream version (Closes: #506368).
+
+ -- Sebastien Delafond <seb@debian.org> Thu, 20 Nov 2008 15:17:51 -0800
+
+org-mode (6.10-1) unstable; urgency=low
+
+ * New upstream version.
+ * Updated debian/watch so it doesn't break uscan from latest devscripts
+ (Closes: #503235).
+
+ -- Sebastien Delafond <seb@debian.org> Fri, 24 Oct 2008 12:12:44 -0700
+
+org-mode (6.09a-1) unstable; urgency=low
+
+ * New upstream version.
+ * Alternate dependency on emacs-snapshot (Closes: #502137).
+
+ -- Sebastien Delafond <seb@debian.org> Tue, 14 Oct 2008 09:51:48 -0700
+
+org-mode (6.06b-1) unstable; urgency=low
+
+ * New upstream version (Closes: #490096).
+ * Added debian/watch file.
+ * Better autoload mechanism through "(require 'org-install)".
+
+ -- Sebastien Delafond <seb@debian.org> Fri, 15 Aug 2008 11:44:09 -0700
+
+org-mode (6.05-2) unstable; urgency=low
+
+ * List all copyright holders for the contributions in a separate stanza
+ in debian/copyright.
+
+ -- Sebastien Delafond <seb@debian.org> Tue, 17 Jun 2008 12:36:30 -0700
+
+org-mode (6.05-1) unstable; urgency=low
+
+ * Package the dual-licensed (GPL+GFDL) version of the manual (many
+ thanks to Carsten Dominik for providing this).
+
+ -- Sebastien Delafond <seb@debian.org> Tue, 17 Jun 2008 08:55:36 -0700
+
+org-mode (6.02b-2) unstable; urgency=low
+
+ * Explicitely mention that org's documentation is licensed under the
+ GFDL with no Invariant Sections.
+
+ -- Sebastien Delafond <seb@debian.org> Fri, 23 May 2008 08:05:26 -0700
+
+org-mode (6.02b-1) unstable; urgency=low
+
+ * Initial Release (Closes: #477504, #445329).
+
+ -- Sebastien Delafond <seb@debian.org> Mon, 12 May 2008 17:02:07 -0700
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..1e8b314
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+6
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..437bbb9
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,32 @@
+Source: org-mode
+Section: misc
+Priority: optional
+Maintainer: Sebastien Delafond <seb@debian.org>
+Build-Depends: debhelper (>= 6)
+Build-Depends-Indep: emacs | emacs24 | emacs23 | emacs-snapshot
+Standards-Version: 3.9.5
+Homepage: http://orgmode.org
+Vcs-Git: git://anonscm.debian.org/collab-maint/org-mode.git
+Vcs-Browser: http://anonscm.debian.org/git/collab-maint/org-mode.git
+
+Package: org-mode
+Architecture: all
+Depends: ${misc:Depends}, emacsen-common (>= 2.0.8), emacs24 | emacs23 | emacs-snapshot
+Conflicts: emacsen-common (<< 2.0.0)
+Recommends: texlive-generic-recommended, texlive-latex-recommended
+Suggests: easypg, ditaa
+Description: keep notes, maintain ToDo lists, and do project planning in emacs
+ Org-mode is a mode for keeping notes, maintaining ToDo lists, and
+ doing project planning with a fast and effective plain-text system.
+ .
+ Org-mode develops organizational tasks around NOTES files that contain
+ information about projects as plain text. Org-mode is implemented on
+ top of outline-mode, which makes it possible to keep the content of
+ large files well structured. Visibility cycling and structure editing
+ help to work with the tree. Tables are easily created with a built-in
+ table editor. Org-mode supports ToDo items, deadlines, time stamps,
+ and scheduling. It dynamically compiles entries into an agenda. Plain
+ text URL-like links connect to websites, emails, Usenet messages,
+ BBDB entries, and any files related to the projects. For printing and
+ sharing of notes, an Org-mode file can be exported as a structured
+ ASCII file, HTML, and LaTeX.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..4761f8e
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,62 @@
+This package was debianized by Sebastien Delafond <seb@debian.org> on
+Mon, 12 May 2008 16:57:37 -0700
+
+It was downloaded from http://orgmode.org
+
+Upstream author: Carsten Dominik <carsten@orgmode.org>
+
+Copyright:
+
+ org-mode:
+ =========
+ org-mode is Copyright (C) 2004, 2005, 2006, 2007, 2008 Free
+ Software Foundation, Inc.
+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; version 2 dated June, 1991.
+
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ 02110-1301, USA.
+
+ contributions:
+ ==============
+ org-annotate.el is Copyright (C) 2008 Philip Jackson
+
+ lisp/org-elisp-symbol.el, lisp/org-toc.el, lisp/org2rem.el and
+ lisp/org-registry.el are Copyright 2007 Bastien Guerry
+
+ lisp/org-mairix.el is Copyright (C) 2007 Georg C. F. Greve
+
+ lisp/org-screen.el is Copyright (c) 2008 Andrew Hyatt
+
+ packages/org-export-freemind-0.1.0/org-export-freemind.el is
+ Copyright (C) 2007 Marco Vezzoli
+
+ scripts/org2hpda is Copyright (C) 2007 Christian Egli
+
+ All the contributions are licensed under the GPL:
+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; version 2 dated June, 1991.
+
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ 02110-1301, USA.
+
+On Debian systems, the complete text of version 3 of the GNU General
+Public License can be found in ‘/usr/share/common-licenses/GPL-3’.
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..18601bf
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1 @@
+usr/share/emacs/site-lisp/org-mode
diff --git a/debian/emacsen-compat b/debian/emacsen-compat
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/debian/emacsen-compat
@@ -0,0 +1 @@
+0
diff --git a/debian/emacsen-install b/debian/emacsen-install
new file mode 100644
index 0000000..6b00d3e
--- /dev/null
+++ b/debian/emacsen-install
@@ -0,0 +1,57 @@
+#! /bin/sh -e
+# /usr/lib/emacsen-common/packages/install/org-mode
+
+# Written by Jim Van Zandt <jrv@debian.org>, borrowing heavily
+# from the install scripts for gettext by Santiago Vila
+# <sanvila@ctv.es> and octave by Dirk Eddelbuettel <edd@debian.org>.
+
+FLAVOR=$1
+PACKAGE=org-mode
+STAMPFILE=org-wl.elc
+LOG=$(tempfile -pelc_ -s.log -m644)
+
+case ${FLAVOR} in
+ emacs) exit 0 ;; # generic emacs package
+ emacs21) exit 0 ;; # not supported anymore as of 6.26a-3
+ emacs22) exit 0 ;; # not supported anymore as of 8.x
+ xemacs*) exit 0 ;; # not supported anymore as of 7.x
+esac
+
+echo "install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR}, logged in ${LOG}"
+
+FLAVORTEST=$(echo $FLAVOR | cut -c-6)
+SITEFLAG="--no-site-file"
+FILES="/usr/share/emacs/site-lisp/${PACKAGE}/*.el"
+DATAFILES="/usr/share/emacs/site-lisp/${PACKAGE}/etc/styles/*.xml"
+DATADIR="/usr/share/${FLAVOR}/site-lisp/${PACKAGE}/etc/styles"
+
+mkdir -p ${DATADIR}
+cd ${DATADIR}
+for i in ${DATAFILES}; do
+ ln -fs $i
+done
+
+ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE}
+install -m 755 -d ${ELCDIR}
+cd ${ELCDIR}
+for i in ${FILES}; do
+ ln -fs $i
+done
+if [ -n "$EXCLUDE_FILES" ] ; then
+ rm -f ${ELCDIR}/${EXCLUDE_FILES}
+fi
+
+FLAGS="${SITEFLAG} -q -batch -l path.el -f batch-byte-compile"
+
+cat << EOF > path.el
+(setq load-path (cons "." load-path))
+(setq byte-compile-warnings nil)
+EOF
+
+echo ${FLAVOR} ${FLAGS} *.el > ${LOG}
+${FLAVOR} ${FLAGS} *.el >> ${LOG} 2>& 1
+egrep -s -e "While compiling|\*\*" ${LOG} || /bin/true
+echo install/${PACKAGE}: Deleting ${LOG}
+rm -f path.el*
+
+exit 0
diff --git a/debian/emacsen-remove b/debian/emacsen-remove
new file mode 100644
index 0000000..d5a208c
--- /dev/null
+++ b/debian/emacsen-remove
@@ -0,0 +1,13 @@
+#!/bin/sh -e
+# /usr/lib/emacsen-common/packages/remove/org-mode
+
+FLAVOR=$1
+PACKAGE=org-mode
+
+case ${FLAVOR} in
+ emacs) exit 0 ;; # generic emacs package
+ emacs21) exit 0 ;; # not supported anymore as of 6.26a-3
+esac
+
+echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR}
+rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE}
diff --git a/debian/emacsen-startup b/debian/emacsen-startup
new file mode 100644
index 0000000..8767160
--- /dev/null
+++ b/debian/emacsen-startup
@@ -0,0 +1,25 @@
+;; -*-emacs-lisp-*-
+;;
+;; Emacs startup file, e.g. /etc/emacs/site-start.d/50org-mode.el
+;; for the Debian org-mode package
+;;
+;; Originally contributed by Nils Naumann <naumann@unileoben.ac.at>
+;; Modified by Dirk Eddelbuettel <edd@debian.org>
+;; Adapted for dh-make by Jim Van Zandt <jrv@debian.org>
+
+;; The org-mode package follows the Debian/GNU Linux 'emacsen' policy and
+;; byte-compiles its elisp files for each 'emacs flavor' (emacs19,
+;; xemacs19, emacs20, xemacs20...). The compiled code is then
+;; installed in a subdirectory of the respective site-lisp directory.
+;; We have to add this to the load-path:
+(let ((package-dir (concat "/usr/share/"
+ (symbol-name debian-emacs-flavor)
+ "/site-lisp/org-mode")))
+
+;; If package-dir does not exist, the org-mode package must have
+;; removed but not purged, and we should skip the setup.
+ (when (file-directory-p package-dir)
+ (debian-pkg-add-load-path-item package-dir)
+ (require 'org-install)
+ (add-to-list 'auto-mode-alist '("\\.org\\(-mode\\)?\\'" . org-mode))
+ (setq org-ditaa-jar-path "/usr/bin/ditaa")))
diff --git a/debian/patches/10-shebang.patch b/debian/patches/10-shebang.patch
new file mode 100644
index 0000000..fd75790
--- /dev/null
+++ b/debian/patches/10-shebang.patch
@@ -0,0 +1,12 @@
+Description: Make lintian happy
+Forwarded: not-needed
+Author: Sebastien Delafond <seb@debian.org>
+
+--- a/contrib/scripts/dir2org.zsh
++++ b/contrib/scripts/dir2org.zsh
+@@ -1,5 +1,3 @@
+-#!/usr/bin/env zsh
+-
+ # desc:
+ #
+ # Output an org compatible structure representing the filesystem from
diff --git a/debian/patches/20-links-unescaping.patch b/debian/patches/20-links-unescaping.patch
new file mode 100644
index 0000000..1a69118
--- /dev/null
+++ b/debian/patches/20-links-unescaping.patch
@@ -0,0 +1,26 @@
+Description: Proper unescaping in links
+Author: Carsten Dominik <carsten.dominik@gmail.com>
+Origin: upstream
+Bug-Debian: http://bugs.debian.org/572404
+
+Index: org-mode-6.34c/lisp/org.el
+===================================================================
+--- org-mode-6.34c.orig/lisp/org.el 2010-01-18 00:10:45.000000000 +0100
++++ org-mode-6.34c/lisp/org.el 2010-03-05 11:27:52.000000000 +0100
+@@ -7914,12 +7914,14 @@
+ (url-unhex-string text)
+ (setq table (or table org-link-escape-chars))
+ (when text
+- (let ((re (mapconcat (lambda (x) (regexp-quote (cdr x)))
++ (let ((case-fold-search t)
++ (re (mapconcat (lambda (x) (regexp-quote (downcase (cdr x))))
+ table "\\|")))
+ (while (string-match re text)
+ (setq text
+ (replace-match
+- (char-to-string (car (rassoc (match-string 0 text) table)))
++ (char-to-string (car (rassoc (upcase (match-string 0 text))
++ table)))
+ t t text)))
+ text))))
+
diff --git a/debian/patches/30-local-mk.patch b/debian/patches/30-local-mk.patch
new file mode 100644
index 0000000..087eff0
--- /dev/null
+++ b/debian/patches/30-local-mk.patch
@@ -0,0 +1,8 @@
+Description: Generate all the doc. including the refcard
+Forwarded: not-needed
+Author: Sebastien Delafond <seb@debian.org>
+
+--- /dev/null
++++ b/local.mk
+@@ -0,0 +1 @@
++ORG_MAKE_DOC = info html pdf card
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..867893a
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,3 @@
+10-shebang.patch
+#20-links-unescaping.patch
+30-local-mk.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..9b1cac5
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,52 @@
+#! /usr/bin/make -f
+
+DOC_TMP_FILES := doc/org.aux doc/org.cp doc/org.cps doc/org.fn \
+ doc/org.fns doc/org.ky doc/org.kys \
+ doc/org.log doc/org.pg doc/org.toc doc/org.tp \
+
+DOC_FILES := doc/*pdf
+
+clean:
+ dh_testdir
+ dh_testroot
+ dh_clean
+ rm -f $(DOC_FILES) $(DOC_TMP_FILES)
+
+build build-indep build-arch:
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+ cp lisp/* $(CURDIR)/debian/org-mode/usr/share/emacs/site-lisp/org-mode
+ cp -r etc $(CURDIR)/debian/org-mode/usr/share/emacs/site-lisp/org-mode
+# cp xemacs/*.el $(CURDIR)/debian/org-mode/usr/share/xemacs/site-lisp/org-mode
+ cp -r contrib $(CURDIR)/debian/org-mode/usr/share/org-mode/
+# make doc
+ rm -f $(DOC_TMP_FILES)
+ find $(CURDIR)/debian/org-mode/usr/share/org-mode/ -type f -exec chmod 644 "{}" \;
+ find $(CURDIR)/debian/org-mode/usr/share/emacs/site-lisp/org-mode -type f -exec chmod 644 "{}" \;
+ find $(CURDIR)/debian/org-mode/usr/share/org-mode/ -name .DS_Store -exec rm -f "{}" \;
+ find $(CURDIR)/debian/org-mode/usr/share/org-mode/ -name .gitignore -exec rm -f "{}" \;
+
+binary-indep: install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installdocs
+ rm -f $(CURDIR)/debian/org-mode/usr/share/doc/org-mode/*texi*
+ dh_installemacsen -v
+ dh_fixperms
+# dh_installinfo doc/org
+ dh_compress
+ dh_installdeb
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary-arch: build-arch
+
+binary: binary-indep binary-arch
+
+.PHONY: build clean build-indep build-arch binary binary-indep binary-arch
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..e51bdf0
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,5 @@
+# format version number, currently 3; this line is compulsory!
+version=3
+
+http://orgmode.org/ \
+ org-(\d.+)\.tar\.gz debian uupdate