gnuastro-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnuastro-commits] master 09482f8: release-checklist.txt: improved basic


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master 09482f8: release-checklist.txt: improved basic Debian customizations
Date: Sun, 26 Jul 2020 10:02:10 -0400 (EDT)

branch: master
commit 09482f81aa3c3579c35091632ef7ce745fa8196b
Author: Mohammad Akhlaghi <mohammad@akhlaghi.org>
Commit: Mohammad Akhlaghi <mohammad@akhlaghi.org>

    release-checklist.txt: improved basic Debian customizations
    
    Until now, the checklist (for packaging Gnuastro in Debian) was missing a
    few very basic settings in the host OS. With this commit, hey have been
    added and a few of the other host Debian OS were edited.
---
 doc/release-checklist.txt | 41 +++++++++++++++++++++++++----------------
 1 file changed, 25 insertions(+), 16 deletions(-)

diff --git a/doc/release-checklist.txt b/doc/release-checklist.txt
index 1059599..cef4c0a 100644
--- a/doc/release-checklist.txt
+++ b/doc/release-checklist.txt
@@ -218,44 +218,53 @@ Steps necessary to Package Gnuastro for Debian.
       $ ./bootstrap --copy --gnulib-srcdir=/path/to/gnulib
       $ ./developer-build -p upload-server:folder
 
+ - Some tips on basic Debian operating system to do the packaging:
 
- - It would help to use the most recent versions of packages in Debian. To
-   do that, you can update the '/etc/apt/sources.list' file. You can get
-   the current releases from this webpage:
-   http://ftp.debian.org/debian/. See which release is currently the
-   'testing' release and replace its name with the one that is currently
-   present in that file. Afterwards, run these commands:
+   After installing Debian from DVD, you need to tell apt to use an
+   internet connection and not the DVD for installing the packages. To do
+   that, comment the line(s) with a `cdrom' in this file:
 
-     $ sudo apt-get update
-     $ sudo apt-get upgrade
+      nano /etc/apt/sources.list
 
-
- - If this is the first time you are packaging on this system, you will
-   need to install the following programs. The first group of packages are
-   general for package building, and the second are only for Gnuastro.
+   Install the following programs. The first group of packages are general
+   for package building, and the second are only for Gnuastro.
 
      $ sudo apt-get install ssh devscripts pbuilder pristine-tar git quilt \
-                            lintian lzip emacs
+                            lintian lzip emacs dh-make
      $ sudo apt-get install ghostscript libcfitsio-dev libtool-bin wcslib-dev \
                             libgsl-dev libjpeg-dev libtiff-dev libgit2-dev \
      $ sudo pbuilder create
-     $ emacs ~/.devscripts
+     $ su
+     # usermod -aG sudo YOURUSERID   # Add your user to the 'sudo' group.
 
-   Add these two lines to the opened file:
+   Add these two lines to '~/.devscripts':
 
      DEBFULLNAME="Your name"
      DEBEMAIL=your@email.address
 
-   Then add these lines to '~/.quiltrc':
+   Add these lines to '~/.quiltrc':
 
      QUILT_PATCHES=debian/patches
      QUILT_NO_DIFF_INDEX=1
      QUILT_NO_DIFF_TIMESTAMPS=1
      QUILT_REFRESH_ARGS="-p ab"
 
+   Add this line to `~/.pbuilderrc':
+
+    DEBMAIL="Your Name <your@email.address>"
+
    A restart should help in making sure everything that has been updated is
    being used.
 
+ - It would help to use the most recent versions of packages in Debian. To
+   do that, you can update the '/etc/apt/sources.list' file. You can get
+   the current releases from this webpage:
+   http://ftp.debian.org/debian/. See which release is currently the
+   'testing' release and replace its name with the one that is currently
+   present in that file. Afterwards, run these commands:
+
+     $ sudo apt-get update
+     $ sudo apt-get upgrade
 
  - If you don't already have the Git repository, clone it with the
    following command. A 'gnuastro' directory will be built, but to setup



reply via email to

[Prev in Thread] Current Thread [Next in Thread]