Adenilson / cellardoor

Automatically exported from code.google.com/p/cellardoor
GNU General Public License v2.0
0 stars 0 forks source link

debian package #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would be awesome to create a debian package for cellardoor so it could be 
submitted for Debian based distributions.

Original issue reported on code.google.com by cavalcan...@gmail.com on 30 Jul 2011 at 1:47

GoogleCodeExporter commented 9 years ago
I've tried to build it for desktop (ubuntu) hoping to start packaging it, but 
even with qt-components-desktop and vanilla Qt installed I still get missing 
references (noteworthy top-level Window component).

Should I consider using Qt's SDK from Nokia or is there another 
package/repo/component I can install to get these references?

Original comment by milton.soares.filho on 8 Aug 2011 at 3:20

GoogleCodeExporter commented 9 years ago
Milton

Thanks a lot for thinking in packaging it, it is greatly appreciated.
:-)

Most probably you are missing Qt Mobility modules (DeviceInfo and Multimedia). 
Those modules are available starting with Qt Mobility 1.1.

CellarDoor started before Qt Components were ready, so I'm not using it ATM 
(maybe in future I could use one or another widget).

By the way, I compile and run CellarDoor in my Ubuntu 10.10 machine using Qt 
vanilla packages (plus Qt Mobility 1.2 self compiled).

Best regards

Adenilson

Original comment by cavalcan...@gmail.com on 8 Aug 2011 at 12:50

GoogleCodeExporter commented 9 years ago
Sorry for the disruption, I confused the projects and did some 
mis-configurations at the same time (shouldn't be working with it too late) ;-)

Attached my packaging proposal, no whistles nor bells, but with a 'make deb' 
working.

I've faced a naming issue with this project when trying to build the debian 
package.

 repo name: cellar
 project file: cellador
 site name: cellardoor

Specially dh_make gets a bit lost with all these alternatives.

Original comment by milton.soares.filho on 9 Aug 2011 at 3:57

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by cavalcan...@gmail.com on 9 Aug 2011 at 1:54

GoogleCodeExporter commented 9 years ago
Milton

Thanks a lot for the contribution. The patches applies cleanly, but I have one 
question: In my system, while trying to run the target 'make deb', it will fail 
with:

dh_shlibdeps -pcellardoor    
dpkg-shlibdeps: error: no dependency information found for 
/usr/local/lib/libGLU.so.1 (used by debian/cellardoor/usr/bin/cellar).
dh_shlibdeps: dpkg-shlibdeps -Tdebian/cellardoor.substvars 
debian/cellardoor/usr/bin/cellar returned exit code 2
make[1]: *** [binary-predeb-IMPL/cellardoor] Error 9
make[1]: Leaving directory `/home/adenilson/Desktop/cellar/cellar'
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
make: *** [deb] Error 2

I pretty much aware that this must be an issue with my environment. What would 
be expected behavior after that point?

Cheers

Adenilson

Original comment by cavalcan...@gmail.com on 9 Aug 2011 at 11:28

GoogleCodeExporter commented 9 years ago
Thanks, Adenilson. I'm already preparing some adjustments for the packaging, 
specially related to the translations.

The problem when building the package is probably a manually installed 
mesa-libGLU (/usr/local/lib/libGLU.so.1 instead of /usr/lib/libGLU.so.1). 
dpkg-shlibdeps resolves the dependency to the custom /usr/local library and 
fails to map it to any installed package.

You could uninstall this alien lib (preferred) or pass --ignore-missing-info to 
the deb rule via DEB_EXTRA_OPTIONS or DEB_BUILD_OPTIONS environment variables.

Original comment by milton.soares.filho on 10 Aug 2011 at 1:02

GoogleCodeExporter commented 9 years ago
Milton

Merged at: 
http://code.google.com/p/cellardoor/source/detail?r=8371c2c7735f12f73394a13bcd42
45c5230c05db

Do you think are there any important features missing or is it fine to close 
the issue?

Cheers

Adenilson

Original comment by cavalcan...@gmail.com on 10 Aug 2011 at 2:19