|
|
Home » Developing U++ » Releasing U++ » how to make my own PPA for Ubuntu?
|
Re: how to make my own PPA for Ubuntu? [message #29723 is a reply to message #29717] |
Wed, 10 November 2010 11:16   |
|
bonami wrote on Wed, 10 November 2010 09:24 | U++ now has ubuntu builds. how can I make my code like it, too? Should I upload my code to launchpad? currently my code is on sourceforge. Won't these conflict? My code uses U++.
|
Hi Bonami,
You can of course make your own packages if you register on launchpad.net. You don't have to move your code anywhere, we are building upp packages from our own server 
Do you have any experience with packaging? If not, I recommend you to have look at lpbuild package in uppbox nest in svn. There are some of my notes in the form of tpp documentation, it might give you some hints where to start. You should at least read the Debian packaging guides (links are in the help) and/or similar documents for ubuntu (use google...) but they are mostly the same. Launchad specific help can be found on https://help.launchpad.net/Packaging. There are also packaging scripts for the nightly builds in lpbuild, which you can have a look at, but they are probably not very easy to read.
If you need some help at any point, just ask 
Best regards,
Honza
|
|
|
|
Re: how to make my own PPA for Ubuntu? [message #29733 is a reply to message #29732] |
Thu, 11 November 2010 06:30   |
|
bonami wrote on Thu, 11 November 2010 03:31 | thanks.
but is there a more automatic way to do all this?
if i use sourceforge to hold sourcecode, launchpad can synchronize timely. but it is not possible to use this code directly for PPA to generate ubuntu packages by launchpad automatically?
|
Launchpad allows to build debs directly from bazaar branches. I am not familiar with bzr and I don't have any idea how to set up that, but I imagine that it takes about the same amount of work as writing a simple shell script, the only advantage being that it is directly connected to your source. Other options would be to have a package building script installed as a SVN hook (building after every commit, not sure if it is possible on sf.net) or running it as a cron job (that is what U++ uses for nightly builds, but the period can be whatever you want).
Honza
|
|
|
|
|
Re: how to make my own PPA for Ubuntu? [message #40197 is a reply to message #40195] |
Tue, 02 July 2013 10:14  |
|
bonami wrote on Tue, 02 July 2013 05:20 | According to http://askubuntu.com/questions/189529/can-i-upload-binary-pa ckages-to-a-launchpad-ppa, ONLY source packages are allowed to be added to PPA.
However, I can see U++ on PPA hasNumber of packages:
11 source packages (273.8 MiB)
110 binary packages (2.3 GiB)
Are these really binary packages uploaded?
I do not think I can ask lanuchpad servers to build my U++ code. So how can I upload my source package or U++-generated binaries to launchpad please?
|
The way PPA works is that you upload only source pacakges (.dsc) and launchpad builds the binary packages for you. So the packages you see were not uploaded but built in place 
Honza
|
|
|
Goto Forum:
Current Time: Fri May 09 09:32:50 CEST 2025
Total time taken to generate the page: 0.00886 seconds
|
|
|