summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAymeric Agon-Rambosson <aymeric.agon@yandex.com>2022-10-09 02:51:45 +0200
committerAymeric Agon-Rambosson <aymeric.agon@yandex.com>2022-10-09 02:51:45 +0200
commit989639c6c1708530363fb5867366ce0dcde96b3b (patch)
tree963658c5c53efbf3f711b133d622de969a31e823
parentc460869ddeeec9556ce7220318dc13d2b6e2b021 (diff)
Initial debianisation
-rw-r--r--debian/changelog5
-rw-r--r--debian/control25
-rw-r--r--debian/copyright28
-rw-r--r--debian/docs1
-rw-r--r--debian/elpa1
-rwxr-xr-xdebian/install3
-rw-r--r--debian/patches/correct-version-number.patch16
-rw-r--r--debian/patches/series1
-rwxr-xr-xdebian/rules8
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch4
11 files changed, 93 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..1f680e3
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+eglot (1.9-1) UNRELEASED; urgency=medium
+
+ * Initial release (Closes: #1021462).
+
+ -- Aymeric Agon-Rambosson <aymeric.agon@yandex.com> Sun, 09 Oct 2022 02:48:13 +0200
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..c04547d
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,25 @@
+Source: eglot
+Section: editors
+Priority: optional
+Maintainer: Debian Emacsen team <debian-emacsen@lists.debian.org>
+Uploaders: Aymeric Agon-Rambosson <aymeric.agon@yandex.com>
+Build-Depends: debhelper-compat (= 13),
+ dh-elpa,
+ dh-exec,
+Standards-Version: 4.5.1
+Homepage: https://github.com/joaotavora/eglot
+Rules-Requires-Root: no
+Vcs-Browser: https://salsa.debian.org/emacsen-team/eglot
+Vcs-Git: https://salsa.debian.org/emacsen-team/eglot.git
+
+Package: elpa-eglot
+Architecture: all
+Depends: ${elpa:Depends}, ${misc:Depends}
+Enhances: emacs
+Description: Emacs client for Language Server Protocol servers
+ This package provides a elisp library implementing a client for
+ Language Server Protocol servers. It should need little or no
+ configuration and be able to guess the LSP server to start for the
+ language you're using. It only relies on elisp libraries developed in
+ the Emacs mainline, and is seamlessly integrated with other core IDE
+ functionalities (xref, project, completion-at-point, eldoc, flymake).
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..fc079c8
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,28 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: eglot
+Source: https://github.com/joaotavora/eglot
+
+Files: *
+Copyright: (C) 2018-2022 Free Software Foundation, Inc.
+License: GPL-3+
+
+Files: debian/*
+Copyright: (C) 2022 Aymeric Agon-Rambosson <aymeric.agon@yandex.com>
+License: GPL-3+
+
+License: GPL-3+
+ This program 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, either version 3 of the License, or
+ (at your option) any later version.
+ .
+ This program 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 program. If not, see <https://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 3 can be found in `/usr/share/common-licenses/GPL-3'
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..5f088f6
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+MANUAL.md
diff --git a/debian/elpa b/debian/elpa
new file mode 100644
index 0000000..e6c7fc5
--- /dev/null
+++ b/debian/elpa
@@ -0,0 +1 @@
+eglot.el
diff --git a/debian/install b/debian/install
new file mode 100755
index 0000000..5be595d
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,3 @@
+#!/usr/bin/dh-exec
+
+NEWS.md => usr/share/doc/elpa-eglot/NEWS
diff --git a/debian/patches/correct-version-number.patch b/debian/patches/correct-version-number.patch
new file mode 100644
index 0000000..2ca8b5a
--- /dev/null
+++ b/debian/patches/correct-version-number.patch
@@ -0,0 +1,16 @@
+From: Aymeric Agon-Rambosson <aymeric.agon@yandex.com>
+Date: Sun, 09 Oct 2022 00:47:32 +0200
+Subject: Correct version number
+Forwarded: not-needed
+
+--- a/eglot.el
++++ b/eglot.el
+@@ -2,7 +2,7 @@
+
+ ;; Copyright (C) 2018-2022 Free Software Foundation, Inc.
+
+-;; Version: 1.8
++;; Version: 1.9
+ ;; Author: João Távora <joaotavora@gmail.com>
+ ;; Maintainer: João Távora <joaotavora@gmail.com>
+ ;; URL: https://github.com/joaotavora/eglot
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..0deaefe
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+correct-version-number.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..179988a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,8 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@ --with elpa
+
+# deactivate upstream Makefile
+override_dh_auto_build:
+
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..68b0673
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=4
+opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%@PACKAGE@-$1.tar.gz%" \
+ https://github.com/joaotavora/eglot/tags \
+ (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate