Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

As part of Ubuntu App Showdown I received comments on deb packaging (as maybe all other participants). Those can be easy fixed and I spotted them before, but debian packaging files are managed by Quickly.

So the question is: How to build and upload to the PPA updated package, without being mangled by Quickly?

Quickly also increments version on release and rebuilds .pot translation strings file. How can we achieve this without Quickly?

share|improve this question
    
ubuntuforums.org/showthread.php?t=1642956 you can look here, but it's not working for me. I'm still looking for this answer. –  Alen Jul 11 '12 at 12:35
    
I'm not a user of quickly, but exactly how does it "manage debian packaging files"? If Quickly is creating the packaging files and saving the relevant data you should theoretically be able to build the source package by hand. Note of course that'd not be a good idea if you're submitting the debian package(s) for the app showdown, not sure if those require the use of Quickly for packaging and uploading or not... –  Thomas W. Jul 11 '12 at 12:58
    
Quickly creates debian/ and updates changelog, rules and etc. When you touch something inside, next time you run quickly submitubuntu it rewrites changes, which are indeed fixes for packaging –  RealEnder Jul 11 '12 at 14:18

1 Answer 1

up vote 2 down vote accepted

The only way to do that is to not use quickly submitubuntu to upload, or even invoke quickly in any way after you have made manual changes.

To "build" and upload the "updated" package to your PPA:

  1. Enter your top-level source directory
  2. Type:

    debuild -s -sa
    
  3. The sources (not binaries!) for your package will be prepared. Enter your GPG passphrase when prompted to sign.

  4. cd .., and you should see a file in the form of:

    packagename_revision_source.changes
  5. Upload this to your desired ppa with:

    dput ppa:launchpad-username/ppa-name packagename_revision_source.changes
    
share|improve this answer
    
You're right, I've already done that. The problem is wee get out of quickly framework, so we loose some of it's goodies - what about updating .pot file then? –  RealEnder Jul 12 '12 at 12:27
    
Accepting answer, and some additions from Jonathan Carter: "You could type "dch -i" and describe your fixes and append ~ppa1 to the version number. The version number will be changed when uploaded to extras so it doesn't have to be perfect either, but going with a "~ppaX" suffix is probably the right way to do it." –  RealEnder Jul 13 '12 at 8:27
    
This isn't working for me, when I run debuild -s -sa I get: debuild: unknown dpkg-buildpackage/debuild option: -s dpkg-buildpackage -rfakeroot -D -us -uc -s -sa dpkg-buildpackage: unknown option or argument -s It then gives the usage of debuild, then: debuild: fatal error at line 1350: dpkg-buildpackage -rfakeroot -D -us -uc -s -sa failed I am in my app directory, e.g. ~/application the one that Quickly created. –  Luke Jul 16 '12 at 19:43
    
@Luke: sorry, typo, it's -S –  izx Jul 16 '12 at 19:52
    
Thanks, that's worked now. It would be useful for other people if you edited your answer, though. –  Luke Jul 16 '12 at 20:02

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.