Reply
Thread Tools
Posts: 15 | Thanked: 10 times | Joined on Apr 2010
#1
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?
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#2
extract the .tar.gz, CD into the directory that it makes, then:

Code:
dpkg-buildpackage -rfakeroot
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 

The Following User Says Thank You to fatalsaint For This Useful Post:
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#3
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.
 

The Following User Says Thank You to MohammadAG For This Useful Post:
Posts: 15 | Thanked: 10 times | Joined on Apr 2010
#4
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's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#5
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 /)
 
Posts: 15 | Thanked: 10 times | Joined on Apr 2010
#6
Originally Posted by MohammadAG View Post
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's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#7
Has to do with the SDK repo, if you want a hint
 
Reply


 
Forum Jump


All times are GMT. The time now is 03:39.