Re: Is valid for Debian a source code not in English? (was Help to know if a package is valid)

2022-08-19 Thread Eriberto
Em sex., 19 de ago. de 2022 às 16:38, Lucas Castro
 escreveu:
>
>
> Em 16/08/2022 22:50, braulio escreveu:
> > On 22/08/05 15:36, braulio wrote:
> >> Good afternoon.
> >>
> >> I need help with a situation. I packaged a program under the GPL-3+ 
> >> license where Upstream wrote all the texts in its native language Pt-Br, 
> >> and for the packaging, I did all the translation to English, creating a 
> >> directory 'debian/locale/en' with your required files for the translation 
> >> as the 'manual', 'README', example and strings of the --help command. I 
> >> would like to know if my package is valid, since I didn't find any kind of 
> >> content in Debian Policy.
>
> I guess any changes to upstream must be implements along with patch and
>
> anything under debian/ must be related to debian package only.
>
> So shouldn't debian/locale/ be related locate of debian package itself?

No. Similarly, you could provide a manpage or sources[1] via debian/.
IMO, it is not a good practice to generate new files in upstream place
via patches.

[1] 
https://www.debian.org/doc/debian-policy/ch-source.html#missing-sources-debian-missing-sources

Eriberto



Re: Is valid for Debian a source code not in English? (was Help to know if a package is valid)

2022-08-19 Thread Lucas Castro



Em 16/08/2022 22:50, braulio escreveu:

On 22/08/05 15:36, braulio wrote:

Good afternoon.

I need help with a situation. I packaged a program under the GPL-3+ license 
where Upstream wrote all the texts in its native language Pt-Br, and for the 
packaging, I did all the translation to English, creating a directory 
'debian/locale/en' with your required files for the translation as the 
'manual', 'README', example and strings of the --help command. I would like to 
know if my package is valid, since I didn't find any kind of content in Debian 
Policy.


I guess any changes to upstream must be implements along with patch and

anything under debian/ must be related to debian package only.

So shouldn't debian/locale/ be related locate of debian package itself?







Below is a link to the packaging in my salsa for further clarification.
https://salsa.debian.org/braulio/md2term

Sincerely,
--
   Braulio H. M. Souto
   E-mail:brau...@disroot.org / XMPP:brau...@suchat.org
   FB39 DE61 869F 49D5 CCC8 3AE0 D53A 15D9 83A1 0B94


After a few days the package was uploaded to the NEW queue and a few days later 
it was approved by the FTP Master, so it is possible to have such a package in 
Debian.





Is valid for Debian a source code not in English? (was Help to know if a package is valid)

2022-08-16 Thread braulio
On 22/08/05 15:36, braulio wrote:
> Good afternoon.
> 
> I need help with a situation. I packaged a program under the GPL-3+ license 
> where Upstream wrote all the texts in its native language Pt-Br, and for the 
> packaging, I did all the translation to English, creating a directory 
> 'debian/locale/en' with your required files for the translation as the 
> 'manual', 'README', example and strings of the --help command. I would like 
> to know if my package is valid, since I didn't find any kind of content in 
> Debian Policy.
> 
> Below is a link to the packaging in my salsa for further clarification.
> https://salsa.debian.org/braulio/md2term
> 
> Sincerely,
> -- 
>   Braulio H. M. Souto
>   E-mail:brau...@disroot.org / XMPP:brau...@suchat.org
>   FB39 DE61 869F 49D5 CCC8 3AE0 D53A 15D9 83A1 0B94


After a few days the package was uploaded to the NEW queue and a few days later 
it was approved by the FTP Master, so it is possible to have such a package in 
Debian.

-- 
  Braulio H. M. Souto
  E-mail:brau...@disroot.org / XMPP:brau...@suchat.org
  FB39 DE61 869F 49D5 CCC8 3AE0 D53A 15D9 83A1 0B94