Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Debian Packaging #35

Closed
jmccrohan opened this Issue Apr 15, 2012 · 7 comments

Comments

Projects
None yet
6 participants

Hi Benjamin,

Can you please publish the sources used to generate the Debian packages?

I'd like to compile amd64 binaries.

Thanks,
Jon

Barami commented Apr 30, 2012

Hello :)

Benjamin, Can you packaging heimdall suites 1.3.2 for debian or ubuntu on amd64?

I can do it if you want !!!

I can package it myself too, but it would be better to use the existing packaging rather than starting from fresh.

Owner

Benjamin-Dobell commented May 27, 2012

I'd prefer not to publish the debian packaging files. They're setup in a way that identifies myself as the publisher... and I'm also not even 100% certain the prerequisites are setup correctly ;)

I've been somewhat preoccupied recently but will release debian (32 and 64 bit) binaries when I publish the 1.3.3 update (which hopefully addresses the regression issues users have pointed out in 1.3.2).

dmascord commented Jun 1, 2012

Hi Ben,

I strongly believe that putting the debian packaging files inside the appropriate package within git will enable others to contribute to making the debian packaging more accurate, including the dependencies etc that you mention.

Also, by enabling anyone to build the debian packages locally, still indicates that you are the publisher (and you don't need to worry about someone pretending to be you, since only you have your GPG private key for package signing), since you are the author of the original code base. It also makes it more likely that your packages are included upstream, as the package maintainer within Debian or Ubuntu won't need to do as much leg work for each release. It also means you will have more control over the debian packages out there, as it will mean that people will be less likely to write their own debian packaging files.

To give you an idea of a project that I am heavily involved in which publishes the debian packaging files, you can look at http://git.gplhost.com/gitweb/?p=dtc.git;a=tree;f=debian;h=7b2e8ea3a408a768ad4ef64de3d46f73bed15101;hb=HEAD

Alternatively, would you be comfortable if one of us wrote the debian packaging files for Heimdall and commit to git ?

Cheers,

Damien

Hi Benjamin,

The heimdall library dependencies are not properly declared in the debian/control file. This will cause heimdall to crash as the dependencies cannot be fulfilled because package transitions etc. Proper declaration of these dependencies will allow package managers to keep these older files around to fulfil dependencies.

Please consider open sourcing the packaging, so I can help to fix the issues. Once the packaging is sorted, and if there are no copyright/legal issues, the packages could then even be uploaded to Debian itself.

As Damien has mentioned above, if you are concerned with identity theft, sign the packages with your GPG key, but the maintainer field is not meant to be abused to show the original author information. That is what debian/copyright is for.

Jon

heimdall_1.3.2_i386.deb:
jmccrohan@lambda:~$ ldd $(which heimdall)
    linux-gate.so.1 =>  (0xf7787000)
    libusb-1.0.so.0 => /lib/i386-linux-gnu/libusb-1.0.so.0 (0xf7748000)
    libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf765b000)
    libm.so.6 => /lib/i386-linux-gnu/i686/cmov/libm.so.6 (0xf7634000)
    libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf7617000)
    libpthread.so.0 => /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 (0xf75fe000)
    libc.so.6 => /lib/i386-linux-gnu/i686/cmov/libc.so.6 (0xf74a1000)
    librt.so.1 => /lib/i386-linux-gnu/i686/cmov/librt.so.1 (0xf7498000)
    /lib/ld-linux.so.2 (0xf7788000)
jmccrohan@lambda:~$ ar p heimdall_1.3.2_i386.deb control.tar.gz | tar -zxO ./control
Package: heimdall
Version: 1.3.2
Architecture: i386
Maintainer: Benjamin Dobell <service@glassechidna.com.au>
Installed-Size: 140
Depends: libc6 (>= 2.4), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.1.1), libusb-1.0-0 (>= 2:1.0.8)
Section: unknown
Priority: extra
Homepage: http://www.glassechidna.com.au/products/heimdall
Description: Command line tool for flashing Galaxy S devices.
 Heimdall command line tool is a part of the Heimdall Suite used to flash
 Samsung Galaxy S devices (phones and tablets).
heimdall-frontend_1.3.2_i386.deb:
jmccrohan@lambda:~$ ldd $(which heimdall-frontend)
    linux-gate.so.1 =>  (0xf7720000)
    libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xf76d9000)
    libQtXml.so.4 => /usr/lib32/libQtXml.so.4 (0xf7694000)
    libQtGui.so.4 => /usr/lib32/libQtGui.so.4 (0xf6bf0000)
    libQtCore.so.4 => /usr/lib32/libQtCore.so.4 (0xf696c000)
    libpthread.so.0 => /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 (0xf6953000)
    libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf6866000)
    libm.so.6 => /lib/i386-linux-gnu/i686/cmov/libm.so.6 (0xf6840000)
    libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf6822000)
    libc.so.6 => /lib/i386-linux-gnu/i686/cmov/libc.so.6 (0xf66c5000)
    libfontconfig.so.1 => /usr/lib32/libfontconfig.so.1 (0xf6696000)
    libaudio.so.2 => /usr/lib32/libaudio.so.2 (0xf6680000)
    libglib-2.0.so.0 => /lib32/libglib-2.0.so.0 (0xf65b7000)
    libpng12.so.0 => /lib/i386-linux-gnu/libpng12.so.0 (0xf658c000)
    libfreetype.so.6 => /usr/lib/i386-linux-gnu/libfreetype.so.6 (0xf64f0000)
    libgobject-2.0.so.0 => /usr/lib32/libgobject-2.0.so.0 (0xf64b2000)
    libSM.so.6 => /usr/lib/i386-linux-gnu/libSM.so.6 (0xf64aa000)
    libICE.so.6 => /usr/lib/i386-linux-gnu/libICE.so.6 (0xf6491000)
    libXrender.so.1 => /usr/lib/i386-linux-gnu/libXrender.so.1 (0xf6487000)
    libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xf6475000)
    libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xf633d000)
    libdl.so.2 => /lib/i386-linux-gnu/i686/cmov/libdl.so.2 (0xf6339000)
    libgthread-2.0.so.0 => /usr/lib32/libgthread-2.0.so.0 (0xf6334000)
    librt.so.1 => /lib/i386-linux-gnu/i686/cmov/librt.so.1 (0xf632a000)
    /lib/ld-linux.so.2 (0xf7721000)
    libexpat.so.1 => /lib/i386-linux-gnu/libexpat.so.1 (0xf6300000)
    libXt.so.6 => /usr/lib32/libXt.so.6 (0xf62ae000)
    libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xf62ab000)
    libpcre.so.3 => /lib32/libpcre.so.3 (0xf6278000)
    libuuid.so.1 => /lib/i386-linux-gnu/libuuid.so.1 (0xf6271000)
    libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xf624e000)
    libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xf6248000)
jmccrohan@lambda:~$ ar p heimdall-frontend_1.3.2_i386.deb control.tar.gz | tar -zxO ./control
Package: heimdall-frontend
Version: 1.3.2
Architecture: i386
Maintainer: Benjamin Dobell <service@glassechidna.com.au>
Installed-Size: 252
Depends: heimdall (>= 1.3.2)
Section: unknown
Priority: extra
Homepage: http://www.glassechidna.com.au/products/heimdall/
Description: Heimdall Frontend is a GUI for flashing Galaxy S devices.
 Heimdall Frontend is the GUI for the Heimdall Suite used to flash
 Samsung Galaxy S devices (phones and tablets).

hrw commented Sep 6, 2012

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=644520 exists and I have some packaging available in public.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment