Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SIGAR Python packaging

4 views
Skip to first unread message

Thiago Franco Moraes

unread,
Mar 24, 2010, 10:40:02 AM3/24/10
to
Dear All,

I've created the debian package for SIGAR [1] Python binding. I'd like
to improve it so it could be added to the Debian official repository.
Could you help me?

Our team is being supported by DebianMed [2] to create an offical
package of InVesalius [3], a 3D medical imaging software developed
using Python. Currently the only dependency of InVesalius that is not
available at the Debian official repository is SIGAR. Andreas Tille
suggested we posted a message to this mailing list, so we could solve
this dependency problem.

SIGAR (System Information Gatherer and Reporter)  is a cross-platform,
cross-language library and command-line tool for accessing operating
system and hardware level information and has bindings for Python,
Java, Perl and other programming languages.

In order to create the SIGAR debian package, I did the folowing:
1. Checked out the source code from SIGAR trunk (the python binding
didn't work in the other versions)
2. Created a folder "debian" on the source-code folder
3. And then used the "debuild" command

The SIGAR source-code used and the debian folder created are available at [4].

Both i386 and amd64 debian packages are available at InVesalius'
dependencies page [5,6]

Thanks in advance,

Thiago

[1] http://support.hyperic.com/display/SIGAR/Home
[2] http://www.debian.org/devel/debian-med/
[3] http://svn.softwarepublico.gov.br/trac/invesalius
[4] http://dl.dropbox.com/u/817671/packages/sigar-1.7.0.tar.gz
[5] http://svn.softwarepublico.gov.br/trac/invesalius/browser/requirements/invesalius3/ubuntu64
[6] http://svn.softwarepublico.gov.br/trac/invesalius/browser/requirements/invesalius3/ubuntu32

Sandro Tosi

unread,
Mar 24, 2010, 11:00:02 AM3/24/10
to
Hello Thiago,

On Wed, Mar 24, 2010 at 15:31, Thiago Franco Moraes <tfmo...@cti.gov.br> wrote:
> In order to create the SIGAR debian package, I did the folowing:
> 1. Checked out the source code from SIGAR trunk (the python binding
> didn't work in the other versions)

but below:

> [4] http://dl.dropbox.com/u/817671/packages/sigar-1.7.0.tar.gz

if you use a not-yet-released-version, then mark it as such in the
version you upload: the version above seems it's the official 1.7.0
while, from what you wrote, it seems you're doing the package from a
SVN snapshot, so use something like 1.7.0~svn<rev number> (information
at [l1])

[l1] http://wiki.debian.org/SandroTosi/Svn_get-orig-source

> 2. Created a folder "debian" on the source-code folder

that's not enough: at least you have to fill all the needed files in
debian/ dir. A usual start is running dh_make, that creates a
templates of several files in debian/ you can customize for the
project at hand.

> 3. And then used the "debuild" command
>
> The SIGAR source-code used and the debian folder created are available at
> [4].

...
> [4] http://dl.dropbox.com/u/817671/packages/sigar-1.7.0.tar.gz

we need a link to the .dsc file, and in the same location the
orig.tar.gz and .diff.gz should be present so that dget <url to >.dsc
will download all the 3.

Regards,
--
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi


--
To UNSUBSCRIBE, email to debian-ment...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/8b2d7b4d1003240754mcc...@mail.gmail.com

Thiago Franco Moraes

unread,
Mar 24, 2010, 12:40:03 PM3/24/10
to
On Wed, Mar 24, 2010 at 11:54 AM, Sandro Tosi <mo...@debian.org> wrote:
Hello Thiago,


Hello Sandro,
 
On Wed, Mar 24, 2010 at 15:31, Thiago Franco Moraes <tfmo...@cti.gov.br> wrote:
> In order to create the SIGAR debian package, I did the folowing:
> 1. Checked out the source code from SIGAR trunk (the python binding
> didn't work in the other versions)

but below:
if you use a not-yet-released-version, then mark it as such in the
version you upload: the version above seems it's the official 1.7.0
while, from what you wrote, it seems you're doing the package from a
SVN snapshot, so use something like 1.7.0~svn<rev number> (information
at [l1])

[l1] http://wiki.debian.org/SandroTosi/Svn_get-orig-source

> 2. Created a folder "debian" on the source-code folder

that's not enough: at least you have to fill all the needed files in
debian/ dir. A usual start is running dh_make, that creates a
templates of several files in debian/ you can customize for the
project at hand.


These files were inside the folder I mentioned before.
 
> 3. And then used the "debuild" command
>
> The SIGAR source-code used and the debian folder created are available at
> [4].
...
we need a link to the .dsc file, and in the same location the
orig.tar.gz and .diff.gz should be present so that dget <url to >.dsc
will download all the 3.

 
Regards,
--
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi


Thanks!
0 new messages