aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaul Benencia <rul@kalgan.cc>2021-04-17 08:30:06 -0700
committerRaul Benencia <rul@kalgan.cc>2021-04-17 08:30:06 -0700
commitd7640d60231f393051aa971c6d3bf7e9aa896730 (patch)
tree8e6ce76a360d029748b692ca2261334413f30298
parente64544a10af3afded819c7d06960a07b390660e2 (diff)
Install dependencies via Debian package
-rw-r--r--Makefile2
-rw-r--r--README.md22
-rw-r--r--debian/changelog5
-rw-r--r--debian/control49
-rw-r--r--debian/copyright29
-rwxr-xr-xdebian/rules3
-rw-r--r--debian/source/format1
7 files changed, 97 insertions, 14 deletions
diff --git a/Makefile b/Makefile
index d23de90..c3acfee 100644
--- a/Makefile
+++ b/Makefile
@@ -6,5 +6,5 @@ bin_dir := $(repo_dir)bin
bin_file_name := 10-$(cur_dir)
all:
- $(bin_dir)/pycombine -e '(Makefile|bin|README.md)' "$(HOME)" "$(repo_dir)"
+ $(bin_dir)/pycombine -e '(Makefile|bin|README.md|debian)' "$(HOME)" "$(repo_dir)"
echo 'PATH=$(bin_dir):$$PATH' > ~/.environment.d/$(bin_file_name)
diff --git a/README.md b/README.md
index bd52bf1..28b114a 100644
--- a/README.md
+++ b/README.md
@@ -1,21 +1,17 @@
-# Setup this repo
+# Rul's dotfiles
-Setup my dotfiles with the `setup` script. Note that it depends on
-`pycombine`, a script for combining directories with symlinks, which
-can be found in my `home-bin` repo.
-
-# Installing Emacs dependencies
+## Install dependencies
Install the following dependencies before attempting to run my emacs
configuration. It should work for Debian 10 or later:
- sudo apt-get install $(grep -ri 'Debian packages:' .emacs .emacs.local.d/ | awk -F: '{print $3}' | tr '\n' ' ')
+ sudo apt-get build-dep .
+
+# Setup my dotfiles running:
-If Debian packages aren't available, we use Elpa packages. At some
-point I should create Debian packages for these.
+ make
- emacs-pkg-install $(grep -ri 'Elpa packages:' .emacs .emacs.local.d/ | awk -F: '{print $3}' | tr '\n' ' ')
+## Notes
-The first time you open emacs after installing these packages, a bunch
-of warnings will be printed. You can dismiss them; they'll only appear
-on the first run.
+Emacs may print some warnings on the first run. We can dismiss them;
+they'll only appear on the first run.
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..b9e6666
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+rul-dotfiles-deps (0.1-1) unstable; urgency=medium
+
+ * Initial release
+
+ -- Raúl Benencia <rul@kalgan.cc> Sat, 17 Apr 2021 07:19:32 -0700
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..071bac8
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,49 @@
+Source: rul-dotfiles-deps
+Section: admin
+Priority: optional
+Maintainer: Raúl Benencia <rul@kalgan.cc>
+Build-Depends: debhelper-compat (= 13),
+ elpa-anzu,
+ elpa-auto-complete,
+ elpa-clues-theme,
+ elpa-company,
+ elpa-company-lsp,
+ elpa-debian-el,
+ elpa-dpkg-dev-el,
+ elpa-fill-column-indicator,
+ elpa-flx-ido,
+ elpa-helm,
+ elpa-helm-core,
+ elpa-helm-projectile,
+ elpa-ibuffer-vc,
+ elpa-ido-completing-read+,
+ elpa-ido-vertical-mode,
+ elpa-imenu-list,
+ elpa-magit,
+ elpa-monokai-theme,
+ elpa-neotree,
+ elpa-org,
+ elpa-org-bullets,
+ elpa-projectile,
+ elpa-smart-mode-line,
+ elpa-smart-mode-line-powerline-theme,
+ elpa-smex,
+ elpa-solarized-theme,
+ elpa-use-package,
+ elpa-yaml-mode,
+ elpa-zenburn-theme,
+ fzf,
+ make,
+ msmtp,
+ neomutt,
+ notmuch-mutt,
+Standards-Version: 4.5.1
+Rules-Requires-Root: no
+
+Package: rul-dotfiles-deps
+Architecture: all
+Depends: ${misc:Depends},
+Description: Dependencies for rul's dotfiles
+ Package not meant to be installed.
+ .
+ Run: apt-get build-dep .
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..e07a1eb
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,29 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: rul-dotfiles-deps
+Upstream-Contact: Raúl Benencia <rul@kalgan.cc>
+Source: https://git.rbenencia.name/home-dotfiles/
+
+Files: *
+Copyright: 2021 Raúl Benencia <rul@kalgan.cc>
+License: GPL-3.0+
+
+Files: debian/*
+Copyright: 2021 Raúl Benencia <rul@kalgan.cc>
+License: GPL-3.0+
+
+License: GPL-3.0+
+ 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 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 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/rules b/debian/rules
new file mode 100755
index 0000000..cbe925d
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,3 @@
+#!/usr/bin/make -f
+%:
+ dh $@
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..89ae9db
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (native)
nihil fit ex nihilo