Re: adding the suffix "ppa" to a package name

2016-03-15 Thread Alceu R. de Freitas Jr.
Hello Cesare,
My bad, I totally forgot to mention that the changelog is generated 
automatically by the Perl module Dist::Zilla::Plugin::ChangelogFromGit::Debian 
(https://github.com/glasswalk3r/Linux-Info/blob/master/dist.ini). Of course, by 
following your recommendation I would say I'm missing something there (there is 
no option to setup version as you did in your example).

Thank you for the references, I'll go through them.
Regards,Alceu

 
  De: Cesare Falco <c.fa...@ubuntu.com>
 Para: Alceu R. de Freitas Jr. <glasswal...@yahoo.com.br> 
Cc: "ubuntu-motu@lists.ubuntu.com" <ubuntu-motu@lists.ubuntu.com>
 Enviadas: Terça-feira, 15 de Março de 2016 11:18
 Assunto: Re: adding the suffix "ppa" to a package name
   
Hello Alceu,

> In https://github.com/glasswalk3r/Linux-Info/tree/master/debian > you can see 
> the current files in use.
you lack the debian/changelog file; to create a new entry (or the first one in 
your case):
1. open a terminal
2. enter your debian/ directory in the source tree3. issue the command dch -D 
 -v 
e.g.dch -D xenial -v 0.1~ppa1
You can also edit the file manually, please see for 
referencehttps://www.debian.org/doc/debian-policy/ch-source.html#s-dpkgchangelog

or you may better have a look at any changelog file in any package installedin 
your linux box, which is handier IMO. ;)
Hope this helps.Cesare
 

   
-- 
Ubuntu-motu mailing list
Ubuntu-motu@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-motu


Re: adding the suffix "ppa" to a package name

2016-03-15 Thread Cesare Falco
Hello Alceu,

> In https://github.com/glasswalk3r/Linux-Info/tree/master/debian
> you can see the current files in use.

you lack the debian/changelog file; to create a new entry (or the first one
in your case):

1. open a terminal
2. enter your debian/ directory in the source tree
3. issue the command dch -D  -v 

e.g.
dch -D xenial -v 0.1~ppa1

You can also edit the file manually, please see for reference
https://www.debian.org/doc/debian-policy/ch-source.html#s-dpkgchangelog

or you may better have a look at any changelog file in any package installed
in your linux box, which is handier IMO. ;)

Hope this helps.
Cesare
-- 
Ubuntu-motu mailing list
Ubuntu-motu@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-motu


Re: adding the suffix "ppa" to a package name

2016-03-15 Thread Alceu R. de Freitas Jr.
Hello Stephen,
Yes, dh-make-perl creates a debian directory and the basic structure of files. 
I customized the control file after that, but could find a way to include the 
suffix as documented in 
https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Standards-Version
 .
In https://github.com/glasswalk3r/Linux-Info/tree/master/debian you can see the 
current files in use.
I upload the package source to my PPA and it was compiled without errors, but 
also without the suffix: 
(https://launchpad.net/~glasswalk3r-yahoo/+archive/ubuntu/linux-info/+packages) 

Thanks,
Alceu

 
  De: Stephen M. Webb <stephen.w...@canonical.com>
 Para: ubuntu-motu@lists.ubuntu.com 
 Enviadas: Segunda-feira, 14 de Março de 2016 20:05
 Assunto: Re: adding the suffix "ppa" to a package name
   
Does the dh-make-perl tool not create a debian/ directory?

   
-- 
Ubuntu-motu mailing list
Ubuntu-motu@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-motu


Re: adding the suffix "ppa" to a package name

2016-03-14 Thread Stephen M. Webb
On 16-03-14 06:51 PM, Alceu R. de Freitas Jr. wrote:
> Hello all,
> 
> My name is Alceu I'm new to this list and also a beginner regarding package 
> creation.
> 
> I'm trying to figure out how to add the suffix "ppa" as described in
> https://help.launchpad.net/Packaging/PPA/BuildingASourcePackage but unable so 
> to do so.
> 
> I already have a PPA and created a DEB package from a Perl distribution 
> (Linux::Info, available at CPAN too) by using
> dh-make-perl and customizing the files from there.
> 
> I was able to generate the package (and it passed the tests with litian and 
> pbuilder) but I didn't find a way to add the
> suffix. Related documentation says that I could do that if I add a DEBIAN 
> directory with a control file there, but since
> it's a Perl program (not compiled, without XS code) I don't know if it is the 
> correct way to do it.

Does the dh-make-perl tool not create a debian/ directory?

-- 
Stephen M. Webb  

-- 
Ubuntu-motu mailing list
Ubuntu-motu@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-motu


adding the suffix "ppa" to a package name

2016-03-14 Thread Alceu R. de Freitas Jr.
Hello all,
My name is Alceu I'm new to this list and also a beginner regarding package 
creation.
I'm trying to figure out how to add the suffix "ppa" as described in 
https://help.launchpad.net/Packaging/PPA/BuildingASourcePackage but unable so 
to do so.

I already have a PPA and created a DEB package from a Perl distribution 
(Linux::Info, available at CPAN too) by using dh-make-perl and customizing the 
files from there.
I was able to generate the package (and it passed the tests with litian and 
pbuilder) but I didn't find a way to add the suffix. Related documentation says 
that I could do that if I add a DEBIAN directory with a control file there, but 
since it's a Perl program (not compiled, without XS code) I don't know if it is 
the correct way to do it.

If you have any reference about, please let me know. Besides the documentation, 
I also tried to check other Perl projects with PPAs available for examples but 
I wasn't able to see the source from there (thus checking the respective 
configuration files).
Thanks in advance,Alceu
-- 
Ubuntu-motu mailing list
Ubuntu-motu@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-motu