maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   py2deb package becomes .tar.gz, how can I get .deb? (https://talk.maemo.org/showthread.php?t=50957)

ErikHK 2010-04-24 22:52

py2deb package becomes .tar.gz, how can I get .deb?
 
When I follow the guide on http://wiki.maemo.org/Py2deb I get the packages as it says there, and I can upload it to the repositories and download the package via apt-get, but how can I make a deb locally so I don't have to upload every small bugfix and flood the servers with crappy, even non-working builds?

fatalsaint 2010-04-24 22:55

Re: py2deb package becomes .tar.gz, how can I get .deb?
 
extract the .tar.gz, CD into the directory that it makes, then:

Code:

dpkg-buildpackage -rfakeroot

MohammadAG 2010-04-24 23:00

Re: py2deb package becomes .tar.gz, how can I get .deb?
 
r = p.generate(version,build,changelog=changeloginform ation,tar=True,dsc=True,changes=True,build=False,s rc=True)

Or change src= to Falso and build=True in the last line

Oh and one more thing, you can put non working builds (not on purpose of course) in -devel, users were already warned.

ErikHK 2010-04-24 23:17

Re: py2deb package becomes .tar.gz, how can I get .deb?
 
fatalsaint: Thing is, I don't have dpkg-buildpackage, and apt-get install dpkg-dev says that the package doesn't exist, but is referred to by another package (doesn't say which one..).

MohammadAG: seems as though that uses dpkg-buildpackage, it fails with py2debexception("buildpackage failed (see output)") where can I get that from?

MohammadAG 2010-04-24 23:19

Re: py2deb package becomes .tar.gz, how can I get .deb?
 
You can't do it on the N900, you'll need a linux PC, just upload to -devel.
(actually you can do it, but I'm not spreading instructions on how to fill /)

ErikHK 2010-04-24 23:22

Re: py2deb package becomes .tar.gz, how can I get .deb?
 
Quote:

Originally Posted by MohammadAG (Post 626450)
You can't do it on the N900, you'll need a linux PC, just upload to -devel.
(actually you can do it, but I'm not spreading instructions on how to fill /)

Oh, that's a shame. Thanks anyway :)

MohammadAG 2010-04-25 00:16

Re: py2deb package becomes .tar.gz, how can I get .deb?
 
Has to do with the SDK repo, if you want a hint :)


All times are GMT. The time now is 21:48.

vBulletin® Version 3.8.8