added how to build psensor debian package
authorJean-Philippe Orsini <jeanfi@gmail.com>
Sat, 28 Jan 2017 23:49:01 +0000 (00:49 +0100)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Sat, 28 Jan 2017 23:49:01 +0000 (00:49 +0100)
12 files changed:
src/psensor/build_debian_pkg.adoc [new file with mode: 0644]
src/psensor/index.adoc
src/psensor/raspbian.pbuilderrc [new file with mode: 0644]
www-update.sh
www/psensor/NEWS.html
www/psensor/README.html
www/psensor/TODO.html
www/psensor/contribute.html
www/psensor/faq.html
www/psensor/index.html
www/psensor/remote.html
www/psensor/ubuntu.html

diff --git a/src/psensor/build_debian_pkg.adoc b/src/psensor/build_debian_pkg.adoc
new file mode 100644 (file)
index 0000000..795b059
--- /dev/null
@@ -0,0 +1,81 @@
+= How to build the Debian package of `psensor` from GIT
+:docinfo2:
+:icons: font
+
+This document is explaining step by step how to build the Debian
+package of psensor directly from the GIT repository.
+
+== Build the Debian package
+
+Install `git-buildpackage`:
+
+----
+sudo apt-get install git-buildpackage
+----
+
+Install all build dependencies (you can get it from
+the variable `Build-depends` of the file `debian/control`):
+
+----
+sudo apt-get install ...
+----
+
+Checkout the source of `psensor` and its packaging:
+
+----
+git clone https://git.wpitchoune.net/psensor-pkg-debian.git
+----
+
+Build the Debian package:
+
+----
+cd psensor-pkg-debian.git
+git-buildpackage
+----
+
+== Build to another Debian distribution
+
+`pbuilder` can be used to build `psensor` to another Debian
+distribution than the one used by the build machine.
+
+Installation of `pbuilder`:
+
+----
+apt-get install pbuilder qemu-user-static
+----
+
+Create the distribution image:
+
+----
+git-pbuilder create --config raspbian.pbuilderrc
+----
+
+The variable `DISTRIBUTION` in the configuration file is specifying
+the distribution target of the build. It might be useful for
+example to check the compilation on the 'testing' flavor of `Debian`.
+
+See a configuration example for `Raspbian`:
+link:raspbian.pbuilderrc[raspbian].
+
+To update the image:
+
+----
+git-pbuilder update
+----
+
+Checkout the source of `psensor` and its packaging:
+
+----
+git clone https://git.wpitchoune.net/psensor-pkg-debian.git
+----
+
+And finally, build the `Debian` package:
+
+----
+git-buildpackage --git-pbuilder
+----
+
+== References
+
+* https://wiki.debian.org/git-pbuilder
+* https://www.debian.org/doc/manuals/maint-guide/build.en.html
\ No newline at end of file
index 8dc0ec0..dac6356 100644 (file)
@@ -106,6 +106,7 @@ Binary packages of `psensor` are available for few Linux distributions:
 * link:ubuntu.html[Psensor on Ubuntu]
 * link:remote.html[Remote monitoring]
 * link:contribute.html[How to contribute to psensor]
+* link:build_debian_pkg.html[How to build the debian package of psensor]
 * link:faq.html[FAQ]
 
 == Contact
diff --git a/src/psensor/raspbian.pbuilderrc b/src/psensor/raspbian.pbuilderrc
new file mode 100644 (file)
index 0000000..d926a37
--- /dev/null
@@ -0,0 +1,18 @@
+# pbuilderrc file for raspbian
+
+# specific to raspbian
+OS=raspbian
+ARCHITECTURE=armhf
+# use the correct keyring for raspbian
+DEBOOTSTRAPOPTS=( '--variant=buildd' '--keyring=/usr/share/keyrings/raspbian-archive-keyring.gpg')
+MIRRORSITE=http://archive.raspbian.org/raspbian/
+
+# debian distribution: sid, jessie, testing
+DISTRIBUTION=testing
+
+COMPONENTS="main"
+
+DEBOOTSTRAP=qemu-debootstrap
+
+# allow network so pbuilder can install build dependencies automaticaly
+USENETWORK=yes
\ No newline at end of file
index fed5d14..a067f27 100755 (executable)
@@ -56,6 +56,8 @@ asciidoctor $OPTS src/psensor/index.adoc -D www/psensor/
 asciidoctor $OPTS src/psensor/ubuntu.adoc -D www/psensor/
 asciidoctor $OPTS src/psensor/remote.adoc -D www/psensor
 asciidoctor $OPTS src/psensor/contribute.adoc -D www/psensor/
+asciidoctor $OPTS src/psensor/build_debian_pkg.adoc -D www/psensor/
+cp src/psensor/raspbian.pbuilderrc www/psensor
 
 OPTS="-a linkcss -a stylesheet=../style.css"
 
index d5f9e7e..dfca733 100644 (file)
@@ -69,6 +69,10 @@ and default-sensor-alarm-enabled.</p>
 <li>
 <p>Added Polish translation (hawkeye116477).</p>
 </li>
+<li>
+<p>Fixed GtkDialog mapped without a transient parent (Francis
+Chin). (LP: #1642696).</p>
+</li>
 </ul>
 </div>
 </div>
@@ -1967,9 +1971,8 @@ Initial release</pre>
 </div>
 <div id="footer">
 <div id="footer-text">
-Last updated 2016-10-02 16:03:41 CEST
+Last updated 2016-12-21 21:46:18 CET
 </div>
 </div>
-Feed: <a href="https://wpitchoune.net/news/feed.xml">RSS 2.0</a>
 </body>
 </html>
\ No newline at end of file
index af4b650..35beab6 100644 (file)
@@ -322,9 +322,8 @@ have extracted the ATI ADL SDK. Other steps are indentical.</p>
 </div>
 <div id="footer">
 <div id="footer-text">
-Last updated 2016-08-23 03:41:38 CEST
+Last updated 2016-12-18 19:12:21 CET
 </div>
 </div>
-Feed: <a href="https://wpitchoune.net/news/feed.xml">RSS 2.0</a>
 </body>
 </html>
\ No newline at end of file
index 949c322..b3c5d50 100644 (file)
@@ -39,9 +39,8 @@ lm-sensor.</p>
 </div>
 <div id="footer">
 <div id="footer-text">
-Last updated 2016-08-23 03:41:38 CEST
+Last updated 2016-12-18 19:12:21 CET
 </div>
 </div>
-Feed: <a href="https://wpitchoune.net/news/feed.xml">RSS 2.0</a>
 </body>
 </html>
\ No newline at end of file
index b9f2a2f..32acdac 100644 (file)
@@ -185,9 +185,8 @@ and released under GPL v2 license.</p>
 </div>
 <div id="footer">
 <div id="footer-text">
-Last updated 2016-07-04 09:56:32 CEST
+Last updated 2016-12-18 19:07:34 CET
 </div>
 </div>
-Feed: <a href="https://wpitchoune.net/news/feed.xml">RSS 2.0</a>
 </body>
 </html>
\ No newline at end of file
index bd98119..c3d3354 100644 (file)
@@ -453,9 +453,8 @@ of sensors.conf(5).</p>
 </div>
 <div id="footer">
 <div id="footer-text">
-Last updated 2016-08-23 03:41:38 CEST
+Last updated 2016-12-18 19:12:21 CET
 </div>
 </div>
-Feed: <a href="https://wpitchoune.net/news/feed.xml">RSS 2.0</a>
 </body>
 </html>
\ No newline at end of file
index b37e6d3..ba5f0ca 100644 (file)
@@ -207,6 +207,9 @@ don’t hesitate to report it.</p>
 <p><a href="contribute.html">How to contribute to psensor</a></p>
 </li>
 <li>
+<p><a href="build_debian_pkg.html">How to build the debian package of psensor</a></p>
+</li>
+<li>
 <p><a href="faq.html">FAQ</a></p>
 </li>
 </ul>
@@ -246,9 +249,8 @@ or click on:</p>
 </div>
 <div id="footer">
 <div id="footer-text">
-Last updated 2016-07-04 09:56:29 CEST
+Last updated 2017-01-24 20:10:44 CET
 </div>
 </div>
-Feed: <a href="https://wpitchoune.net/news/feed.xml">RSS 2.0</a>
 </body>
 </html>
\ No newline at end of file
index 7bfbfab..3d12355 100644 (file)
@@ -65,9 +65,8 @@ on the desktop computer with the following command line:</p>
 </div>
 <div id="footer">
 <div id="footer-text">
-Last updated 2016-07-04 09:56:29 CEST
+Last updated 2016-12-18 19:07:34 CET
 </div>
 </div>
-Feed: <a href="https://wpitchoune.net/news/feed.xml">RSS 2.0</a>
 </body>
 </html>
\ No newline at end of file
index cde69cc..338b63e 100644 (file)
@@ -142,9 +142,8 @@ make clean all</pre>
 </div>
 <div id="footer">
 <div id="footer-text">
-Last updated 2016-07-04 09:56:25 CEST
+Last updated 2016-12-18 19:07:34 CET
 </div>
 </div>
-Feed: <a href="https://wpitchoune.net/news/feed.xml">RSS 2.0</a>
 </body>
 </html>
\ No newline at end of file