Closed khurshid-alam closed 8 years ago
kasramp, I can upload a package into my PPA if you want, or give you some links about creating your own PPA ^_^
@Kycko I would be awesome if you can provide some links on creating PPA. Thanks :-)
The main document is a launcpad help pages. You will need to follow many links to finally get things done :) I haven't find another good english guides, only ru one.
And if you want to know how correctly build .deb package with following to all Debian standarts, there is a great Debian New Maintainers' Guide
I can take care of the deb package. I launched an issue for that please assign it to me
Thanks a lot @Kycko. In regards of deb package @OSryx, at the moment we have it (in releases) but not sure how standard it's. Need to go through the guideline and apply any adjustment if necessary.
I'll make some commits in debian/ folder, especially changelog must be splitted into two parts: program changelog must be placed in /, and package changelog must be in debian/, but it must contain only changes for package, not for program
@Kycko when I try to build the package in Launchpad I get this error:
dpkg-buildpackage: source package indicator-weather dpkg-buildpackage: source version 0.7ubuntu dpkg-buildpackage: source distribution trusty dpkg-source --before-build indicator-weather-0.7ubuntu dpkg-buildpackage: host architecture i386 fakeroot debian/rules clean dh clean --with python2 dh: unable to load addon python2: Can't locate Debian/Debhelper/Sequence/python2.pm in @INC (you may need to install the Debian::Debhelper::Sequence::python2 module) (@INC contains: /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at (eval 3) line 2. BEGIN failed--compilation aborted at (eval 3) line 2. make: *** [clean] Error 2 dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2
Do you have any idea how to fix it? I'm literally clueless :-(
@kasramp, what do you mean in build the package in Launchpad?
You must build it on your local machine, and then just send source.changes to Launchpad. Note that you must have a GPG-signature associated with your Launcpad-account, and you must build a package with debuild
command, without -us -uc
options. These options are creating a package without your signature, so don't use them.
@kasramp @Kycko Actually launchpad can compile source on the fly through launchpad recipes. Of course it is recommended to compile locally first so that it won't abuse launchpad build system. The initial setup is lengthy, but once done, it will compile whenever it detects any changes. The workflow is something like this:
lp:ubuntu-indicator-weather
lp:ubuntu-indicator-weather
& choose above PPA to uploadI am trying to do the same in my own ppa, just to check whether it compiles or not. I wiil reply once done.
Nah, it won't work as you already used gpg signature on commit messages (15293c9b0b924129bbdb42b50ce0a08c7e3803fb) . Launchpad import doesn't allow that. If you remove that from commit and then re-apply (basically rewriting git history), then only it can work.
As of now, manually uploading source.changes is the only way as @Kycko mentioned.
@Kycko Can you remove your two commits with Verified signature and re-apply on top of master but this time without the signature? Thanks.
@khurshid-alam only Kasramp can write to this repo, so please try to use my one. It doesn't contain latest commits, but I've re-committed debian directory without signature
@Kycko @khurshid-alam thanks for all your help, the problem was due to the missing dependencies in control
file. Signature and everything else has setup and finally managed to create PPA and build successfully. I've updated Readme file and put the PPA link with description.
@kasramp excellent! Now we must not remember to manually update this app every time it is updated ^_^
Thank you so much for all your efforts @Kycko, without your help creating PPA wouldn't be possible.
PPA for easy installation and update.
Thanks