/usr/share/doc/munipack/debbundle.html is in munipack-doc 0.5.10-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 | <!DOCTYPE HTML>
<html lang="en">
<head>
<!-- meta -->
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="description" content="A general astronomical image processing software">
<meta name="author" content="Filip Hroch">
<link href="news_feed.xml" type="application/atom+xml" rel="alternate" title="Sitewide ATOM Feed" />
<link type="text/css" rel="stylesheet" href="munipack.css">
<link rel="shortcut icon" href="favicon.ico">
<title>DEB bundle builder</title>
</head>
<body>
<header>
<a href="munipack.html"><img src="title_logo.png" alt="Munipack's logo" class="head"></a>
<div class="headhead">
<div class="headtitle">
<a class="headtitle" href="munipack.html">Munipack</a>
<a class="headsubtitle" href="munipack.html">A general astronomical image processing software</a>
</div>
<ul class="menu">
<li class="menu">◈ <a href="docs.html" class="menu">Documents</a></li>
<li class="menu">☺ <a href="guide.html" class="menu">User guide</a></li>
</ul>
</div>
</header>
<h1>DEB bundle builder</h1>
<p class="abstract">DEB based bundle builder (Ubuntu, Mint, Debian)
is shipping Munipack and all supporting utilities in one binary package.
It is intended for a peculiar requirement or older distributions.
For a standard package, use <a href="debbuilder.html">DEB binary package</a>
page. Alternatively, the <a href="SourceInstallation.html">system-wide</a>
installation is possible.
</p>
<p>It is supposed to run commands introduced by # as root </p>
<pre># id
uid=0(root) ..
</pre>
<p>and ones denoted by $ as an ordinary user: </p>
<pre>$ id
uid=12345(user) ...
</pre>
<h2>1 Introduction</h2>
<p>This page describes how to build a DEB bundle binary package for Munipack. </p>
<p>All steps has been verified under latest Debian 7.4 and Ubuntu 14.04 releases.
Building under different distributions or releases may require
some code adaptations.
<h2>2 Prerequisites</h2>
<p>Following system tools are required for the building: </p>
<ul>
<li>Fortran 95 and C++ compilers </li>
<li>GTK+ development library (GUI) </li>
<li>Minpack</li>
<li>Imagemagick (scaling images in docpages) </li>
<li>debhelper (creating of deb packages) </li>
<li>Mercurial, the version control system </li>
</ul>
<p>These tools could be installed by the command (valid for Debian, modify by your needs): </p>
<pre># aptitude install gfortran g++ libgtk2.0-dev minpack-dev debhelper imagemagick autoconf mercurial
</pre>
<p>For Ubuntu, use: </p>
<pre>$ sudo apt-get install gfortran g++ libgtk2.0-dev minpack-dev debhelper imagemagick autoconf mercurial
</pre>
<h2>3 Getting sources</h2>
<p>Create a directory containing distribution packages in your home </p>
<pre>
$ mkdir ~/dist
</pre>
<p>and put latest sources (as .tar.gz or .tar.bz2) of following packages here: </p>
<ul>
<li><a href="http://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html">cfitsio</a> library </li>
<li><a href="http://www.wxwidgets.org/">wxWidgets</a> library (version >= <strong>3.0.0</strong>, <strong>Important!</strong>) </li>
<li><a href="http://www.libpng.org/pub/png/libpng.html">libpng</a> library </li>
<li><a href="http://integral.physics.muni.cz/rawtran">rawtran</a> </li>
<li><a href="http://integral.physics.muni.cz/fitspng">fitspng</a> </li>
<li><a href="download.html">munipack</a> </li>
</ul>
<p>Optional: </p>
<ul>
<li><a href="http://integral.physics.muni.cz/konve">konve</a> </li>
<li><a href="http://integral.physics.muni.cz/picko">picko</a> </li>
</ul>
<h2>4 Building</h2>
<p>Create a working directory in your home and switch to it: </p>
<pre>
$ mkdir ~/tmp
$ cd ~/tmp
</pre>
<p>Extract the script for building: </p>
<pre>~tmp/$ tar zxf ~/dist/munipack-0.5.5.tar.gz --strip-components=2 --wildcards '*/dist/dbuilder.sh'
</pre>
<p>and than run the build script: </p>
<pre>~/tmp$ ./dbuilder.sh ~/dist >& log</pre>
<p>Building takes some time (~30 min), have a cup of tea. </p>
<p>Both ~/dist and ~/tmp directories are no more used and ones can be safety removed after building. Ones can by placed anywhere.</p>
<h2>5 Installing and removing</h2>
<p>If your are lucky person and previous steps has been successful, the final DEB package should be found as ~/tmp/munipack-0.5.5-amd64.deb (the architecture flag will different on i686 architecture, of course). </p>
<p>Now, Munipack should be installed under Debian simply as </p>
<pre>
# dpkg -i munipack-0.5.5-amd64.deb</pre>
<p>and under Ubuntu: </p>
<pre>
$ sudo dpkg -i munipack-0.5.5-amd64.deb
</pre>
<p>Uninstalled by the way: </p>
<p>Debian: </p>
<pre>
# dpkg -r munipack
</pre>
<p>Ubuntu: </p>
<pre>$ sudo dpkg -r munipack
</pre>
<p>The final package can be copied and installed on machines with a compatible distribution. Dependencies are satisfied automatically. </p>
<p>To enable RAW support, consider installation of dcraw. </p>
<h2 id="latest">6 Latest Sources</h2>
<p>(Valid for 0.5.5preX) </p>
<p>This part is completely optional and recommended just only for experienced geeks which are desired in latest development.
Please, expect that latest sources could require a little bit different versions of some libraries listed in section 3 (Getting sources).
</p>
<p>To get, the source tree of Munipack, follow <a href="http://mercurial.selenic.com/">instructions</a> for Mercurial or try: </p>
<pre>
$ cd ~/dist
~/dist$ hg clone http://munipack.physics.muni.cz/hg/munipack munipack-0.5.5preX/
</pre>
<p>Note, the version number should be usually tuned (0.5.5preX is just for example). </p><p>To init source tree, just edit version string: </p>
<pre>
~/dist$ cd munipack-0.5.5preX/
~/dist/munipack-0.5.5preX$ editor configure.ac # set version: AC_INIT( ..0.5.5preX ..)
~/dist/munipack-0.5.5preX$ ./bootstrap [path to wxwin.m4]
</pre>
<p>and create the distribution tarball as </p>
<pre>
~/dist/munipack-0.5.5preX$ cd ..
~/dist$ tar zcf munipack-0.5.5preX.tar.gz munipack-0.5.5preX/ --exclude ".hg/*"
</pre>
<p>Then follow step: 4 Building. </p>
<!--
<p id="ubuntu12" style="font-size: 0.95em; margin-top: 2em; border-top: thin solid #E6E6E6;">
<sup>[†]</sup> For Ubuntu 12.04, plplot is required in version 5.9.9 and
a patch in <samp>dist</samp> must be applied (before building phase):
</p>
<pre style="font-size: 0.95em;">
$ cd ~/dist
$ tar zxf munipack-0.5.5.tar.gz
$ cd munipack-0.5.5
$ patch -p1 < dist/ubuntu_1204.patch
$ cd ..
$ tar zcf munipack-0.5.5.tar.gz munipack-0.5.5/
</pre>
-->
<!--
Patch create on directory:
$ diff -rupN original/ new/ > x.patch
application:
$ patch -p1 < x.patch
http://jungels.net/articles/diff-patch-ten-minutes.html
-->
<footer>
<div style="float:left; margin-left:2em;">
Copyright © 1997 – 2018
Filip Hroch (<a style="text-decoration: none" href="mailto:hroch@physics.muni.cz?Subject=Munipack" title="Author's Email">✉</a>), license <a href="http://www.gnu.org/licenses/gpl.html">GPLv3</a>.
</div>
<div style="float:right; margin-right:2em; margin-top:-0.2em;">
<a href="http://monteboo.blogspot.com/search/label/Munipack" title="Munipack on MonteBoo Blog"><img src="favicon-blogger.png" alt="Blogger"></a>
<a href="http://www.muni.cz/?lang=en" title="Masaryk University in Brno, Czech Republic"><img src="mu-logo.png" alt="Masaryk University"></a>
<a href="news_feed.xml" title="Munipack's Releases in Atom Syndication Format"><img src="Feed-icon.png" alt="Atom Feed"></a>
</div>
</footer>
</body>
</html>
|