Re: [Ubuntu-phone] How to make deb package?

2013-04-10 Thread Petko
On 04/10/2013 03:29 PM, Oliver Grawert wrote: hi, it will very likely happen that "everything you develop with the SDK" will be covered by this ... no matter if you develop for desktop or touch (since after 14.04 that will be the same anyway thanks to UnityNext and Mir) i doubt there will be muc

Re: [Ubuntu-phone] How to make deb package?

2013-04-10 Thread Zoltán Balogh
On 04/10/2013 03:24 PM, Petko wrote: On 04/10/2013 12:00 PM, Oliver Grawert wrote: hi, On Mi, 2013-04-10 at 12:01 +0800, Ma Xiaojun wrote: On Wed, Apr 10, 2013 at 2:33 AM, Barry Warsaw wrote: 7. What the h* is a lintian warning and what does *that* warning mean? :) 8. what about lintian war

Re: [Ubuntu-phone] How to make deb package?

2013-04-10 Thread Oliver Grawert
hi, On Mi, 2013-04-10 at 15:24 +0300, Petko wrote: > > > I *really* hope that it doesn't turn out that we'll have a package > builder for the phone , but the desktop gets completely forgotten about > (with some non-standard phone packages , that break compatibility with > the desktop or somethi

Re: [Ubuntu-phone] How to make deb package?

2013-04-10 Thread Petko
On 04/10/2013 12:00 PM, Oliver Grawert wrote: hi, On Mi, 2013-04-10 at 12:01 +0800, Ma Xiaojun wrote: On Wed, Apr 10, 2013 at 2:33 AM, Barry Warsaw wrote: 7. What the h* is a lintian warning and what does *that* warning mean? :) 8. what about lintian warnings on the source package vs. lintian

Re: [Ubuntu-phone] How to make deb package?

2013-04-10 Thread Jouni Helminen
Interesting discussion! Would be great to have some documentation on this when things start falling into place. I was doing a few talks on Ubuntu Touch in Myanmar and Singapore last couple of weeks - mostly introductory and design focused - but a lot of technical questions came up as well from peo

Re: [Ubuntu-phone] How to make deb package?

2013-04-10 Thread Oliver Grawert
hi, On Mi, 2013-04-10 at 12:01 +0800, Ma Xiaojun wrote: > On Wed, Apr 10, 2013 at 2:33 AM, Barry Warsaw wrote: > > 7. What the h* is a lintian warning and what does *that* warning mean? :) > > > > 8. what about lintian warnings on the source package vs. lintian warnings on > > the binary package?

Re: [Ubuntu-phone] How to make deb package?

2013-04-10 Thread Oliver Grawert
hi, On Mi, 2013-04-10 at 09:25 +0200, Albert Astals Cid wrote: > You are building a non-free app with ultra-secret-code and don't trust > anyone so you do want to upload the source code to canonical servers. > haha, ok, indeed, if you build something that doesn't match launchpads terms and conditi

Re: [Ubuntu-phone] How to make deb package?

2013-04-10 Thread Ma Xiaojun
As someone still using N9, I find N9's Ovi Store is not as reliable as Apple's App Store. Some app just fail to install. For example, install/remove/update the Firefox app is often not smooth. -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Uns

Re: [Ubuntu-phone] How to make deb package?

2013-04-10 Thread Zoltán Balogh
On 04/10/2013 10:24 AM, Albert Astals Cid wrote: On Tuesday 09 April 2013 19:57:47 Zoltán Balogh wrote: > On 04/09/2013 06:01 PM, Barry Warsaw wrote: > > On Apr 09, 2013, at 12:37 PM, Ma Xiaojun wrote: > >> I guess we should not require painful DEB packaging any more, or we > >> wrapper it n

Re: [Ubuntu-phone] How to make deb package?

2013-04-10 Thread Albert Astals Cid
On Tuesday 09 April 2013 19:12:37 Oliver Grawert wrote: > hi, > On Di, 2013-04-09 at 19:57 +0300, Zoltán Balogh wrote: > ... > > > Actually it is not that difficult and we have good tools. The pkgme, > > pbuilder and the dozen of wrapper apps make packaging simple. > > > > But regardless how good

Re: [Ubuntu-phone] How to make deb package?

2013-04-10 Thread Albert Astals Cid
On Tuesday 09 April 2013 19:57:47 Zoltán Balogh wrote: > On 04/09/2013 06:01 PM, Barry Warsaw wrote: > > On Apr 09, 2013, at 12:37 PM, Ma Xiaojun wrote: > >> I guess we should not require painful DEB packaging any more, or we > >> wrapper it nicely. > > > > It's certainly true that learning how to

Re: [Ubuntu-phone] How to make deb package?

2013-04-09 Thread Ma Xiaojun
On Wed, Apr 10, 2013 at 11:15 AM, Zoltán Balogh wrote: > There are two fundamental problems with PPAs. The number one you too name. > It is the security... enabling a PPA opens a security whole as the owner of > the PPA can push updates to any package and any file in the system. > > The other is p

Re: [Ubuntu-phone] How to make deb package?

2013-04-09 Thread Ma Xiaojun
On Wed, Apr 10, 2013 at 2:33 AM, Barry Warsaw wrote: > 7. What the h* is a lintian warning and what does *that* warning mean? :) > > 8. what about lintian warnings on the source package vs. lintian warnings on > the binary package? > > Gosh, we could go on all day... :) Well, you think the answer

Re: [Ubuntu-phone] How to make deb package?

2013-04-09 Thread Zoltán Balogh
On 04/09/2013 11:36 PM, Robert Bruce Park wrote: On Tue, Apr 09, 2013 at 11:01:02AM -0400, Barry Warsaw wrote: On Apr 09, 2013, at 12:37 PM, Ma Xiaojun wrote: I guess we should not require painful DEB packaging any more, or we wrapper it nicely. It's certainly true that learning how to package

Re: [Ubuntu-phone] How to make deb package?

2013-04-09 Thread Robert Bruce Park
On Tue, Apr 09, 2013 at 11:01:02AM -0400, Barry Warsaw wrote: > On Apr 09, 2013, at 12:37 PM, Ma Xiaojun wrote: > >I guess we should not require painful DEB packaging any more, or we > >wrapper it nicely. > > It's certainly true that learning how to package for Debian/Ubuntu is a big > hurdle for d

Re: [Ubuntu-phone] How to make deb package?

2013-04-09 Thread Oliver Grawert
hi, On Mi, 2013-04-10 at 02:21 +0800, Ma Xiaojun wrote: > Regarding to documentation and whether packaging is hard, let me give > some dummy questions for you to reference: > > 1. What's the necessary initial setup? (What packages to install, > anything else?) > This seems documented somewhere. we

Re: [Ubuntu-phone] How to make deb package?

2013-04-09 Thread Barry Warsaw
On Apr 10, 2013, at 02:21 AM, Ma Xiaojun wrote: >3. What the h* is a source package? > >4. How to create a (minimal) source package from scratch? > >5. What's the best practices in packaging? (I also find some other >FOSS annoying mostly in this way, it is very hard to know what is the >best pract

Re: [Ubuntu-phone] How to make deb package?

2013-04-09 Thread Oliver Grawert
hi, On Di, 2013-04-09 at 21:08 +0300, Zoltán Balogh wrote: > > Using PPAs for crossbuilding is a great feature of the Ubuntu > ecosystem. No doubt about it. But uploading to a PPA and apt-geting > the ready package is significantly slower than local crossbuilding. > well, you would have done al

Re: [Ubuntu-phone] How to make deb package?

2013-04-09 Thread Barry Warsaw
On Apr 09, 2013, at 07:12 PM, Oliver Grawert wrote: >*if* someone wants to do a local build i would consider that an advanced >task for which you can indeed use a pbuilder or some such ... generally >creating a *source* package should be completely arch agnostic though >and easy to automate from t

Re: [Ubuntu-phone] How to make deb package?

2013-04-09 Thread Ma Xiaojun
Regarding to documentation and whether packaging is hard, let me give some dummy questions for you to reference: 1. What's the necessary initial setup? (What packages to install, anything else?) This seems documented somewhere. 2. After downloading the source package of foo from http://packages.u

Re: [Ubuntu-phone] How to make deb package?

2013-04-09 Thread Zoltán Balogh
On 04/09/2013 08:12 PM, Oliver Grawert wrote: hi, On Di, 2013-04-09 at 19:57 +0300, Zoltán Balogh wrote: ... Actually it is not that difficult and we have good tools. The pkgme, pbuilder and the dozen of wrapper apps make packaging simple. But regardless how good wrappers and how well automated

Re: [Ubuntu-phone] How to make deb package?

2013-04-09 Thread Oliver Grawert
hi, On Di, 2013-04-09 at 19:57 +0300, Zoltán Balogh wrote: ... > > Actually it is not that difficult and we have good tools. The pkgme, > pbuilder and the dozen of wrapper apps make packaging simple. > > But regardless how good wrappers and how well automated toolchain we > invent to make it ev

Re: [Ubuntu-phone] How to make deb package?

2013-04-09 Thread Zoltán Balogh
On 04/09/2013 06:01 PM, Barry Warsaw wrote: On Apr 09, 2013, at 12:37 PM, Ma Xiaojun wrote: I guess we should not require painful DEB packaging any more, or we wrapper it nicely. It's certainly true that learning how to package for Debian/Ubuntu is a big hurdle for developers. It seemed a big

Re: [Ubuntu-phone] How to make deb package?

2013-04-09 Thread Barry Warsaw
On Apr 09, 2013, at 05:11 PM, Oliver Grawert wrote: >well, it shouldn't be to hard to have a form to present to the app dev >that fills in the five or so files you actually *need* in the /debian >dir which could be hidden behind a "create package" button ... after all >i would expect the packaging

Re: [Ubuntu-phone] How to make deb package?

2013-04-09 Thread Oliver Grawert
hi, On Di, 2013-04-09 at 11:01 -0400, Barry Warsaw wrote: > On Apr 09, 2013, at 12:37 PM, Ma Xiaojun wrote: > > >I guess we should not require painful DEB packaging any more, or we > >wrapper it nicely. > > It's certainly true that learning how to package for Debian/Ubuntu is a big > hurdle for d

Re: [Ubuntu-phone] How to make deb package?

2013-04-09 Thread Barry Warsaw
On Apr 09, 2013, at 12:37 PM, Ma Xiaojun wrote: >I guess we should not require painful DEB packaging any more, or we >wrapper it nicely. It's certainly true that learning how to package for Debian/Ubuntu is a big hurdle for developers. It seemed a big mystery to me when I started to learn how to

Re: [Ubuntu-phone] How to make deb package?

2013-04-08 Thread Ma Xiaojun
Another issue with Debian packaging from an App developer's point of view is the App is packaged twice actually. The first package is done by Autotools, the goal is to offer a usual "configure; make; sudo make install" interface. The second package is done by a number of Debian tools (I cannot na

Re: [Ubuntu-phone] How to make deb package?

2013-04-08 Thread Ma Xiaojun
s/But what if dh-make doesn't makk/But what if dh-make doesn't work -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp

Re: [Ubuntu-phone] How to make deb package?

2013-04-08 Thread Ma Xiaojun
On Tue, Apr 9, 2013 at 1:22 PM, Zoltán Balogh wrote: > The Debian New Maintainers' Guide is a very smart reference and all > developers who wants to package are suggested to read and understand it. By what measure you call it "smart"? Because it is superfluously long? The length already suggest

Re: [Ubuntu-phone] How to make deb package?

2013-04-08 Thread Zoltán Balogh
On 04/09/2013 07:48 AM, Ma Xiaojun wrote: On Tue, Apr 9, 2013 at 12:45 PM, Zoltán Balogh wrote: The pbuilder type of builders and the bazaar plugin for Debian package management tools with the Launchpad APIs give very promising solution. All we need is documenting and testing the whole chain.

Re: [Ubuntu-phone] How to make deb package?

2013-04-08 Thread Ma Xiaojun
On Tue, Apr 9, 2013 at 12:45 PM, Zoltán Balogh wrote: > The pbuilder type of builders and the bazaar plugin for Debian package > management tools with the Launchpad APIs give very promising solution. > > All we need is documenting and testing the whole chain. I hope you get the documentation don

Re: [Ubuntu-phone] How to make deb package?

2013-04-08 Thread Zoltán Balogh
On 04/09/2013 07:37 AM, Ma Xiaojun wrote: I guess we should not require painful DEB packaging any more, or we wrapper it nicely. The pbuilder type of builders and the bazaar plugin for Debian package management tools with the Launchpad APIs give very promising solution. All we need is docum

Re: [Ubuntu-phone] How to make deb package?

2013-04-08 Thread Robert Bruce Park
On Tue, Apr 09, 2013 at 12:37:30PM +0800, Ma Xiaojun wrote: > I guess we should not require painful DEB packaging any more, or we > wrapper it nicely. Did I just hear somebody volunteer? -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscri

Re: [Ubuntu-phone] How to make deb package?

2013-04-08 Thread Ma Xiaojun
I guess we should not require painful DEB packaging any more, or we wrapper it nicely. -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp

Re: [Ubuntu-phone] How to make deb package?

2013-04-08 Thread Zoltán Balogh
Even if the crossbuilder feature is not yet supported in the phablet SDK there are good solutions available. I personally like to use the cowbuilder and cowbuilder-dist builders. You can create chroot traget with `cowbuilder-dist raring armhf create` (expect a bunch of deps) Than make the so

Re: [Ubuntu-phone] How to make deb package?

2013-04-08 Thread Николай Шатохин
I've not have physical device yet, can I use emulator? How to do this? 2013/4/8 Zoltán Balogh > On 04/08/2013 12:32 PM, Николай Шатохин wrote: > > Hello. > > How to make deb package for Ubuntu Phone? Where can I find good tutorial > about this? I have c++ code in my app, how to make package t

Re: [Ubuntu-phone] How to make deb package?

2013-04-08 Thread Zoltán Balogh
On 04/08/2013 12:32 PM, ??? ??? wrote: Hello. How to make deb package for Ubuntu Phone? Where can I find good tutorial about this? I have c++ code in my app, how to make package that can be installed on different devices? How to make package for Desktop Ubuntu? Is it must be different

Re: [Ubuntu-phone] How to make deb package?

2013-04-08 Thread Robert Bruce Park
On Mon, Apr 08, 2013 at 12:32:09PM +0300, Николай Шатохин wrote: > How to make deb package for Ubuntu Phone? Where can I find good tutorial about > this? I have c++ code in my app, how to make package that can be installed on > different devices? > How to make package for Desktop Ubuntu? Is it must