Re: Help needed with a script generating a .deb (Done. Now what?)

2019-07-23 Thread Andrey Rahmatullin
On Tue, Jul 23, 2019 at 08:31:34PM +0200, dettus wrote:
> Now that I am able to create packages What do I do with them?
Read my link again.
Also, the packaging help list is debian-mentors@.

-- 
WBR, wRAR


signature.asc
Description: PGP signature


Re: Help needed with a script generating a .deb (Done. Now what?)

2019-07-23 Thread dettus

Hello.


So, I succeeded!

There are two Warnings left

W: dmagnetic: description-synopsis-starts-with-article
W: dmagnetic: extra-license-file usr/share/doc/dmagnetic/LICENSE.txt

If you do not mind, I would like to keep them. Now that I am able to
create packages What do I do with them?


Thomas


On 7/23/19 7:22 PM, Andrey Rahmatullin wrote:

On Tue, Jul 23, 2019 at 07:19:32PM +0200, dettus wrote:

Running it ends with  the following feedback:




dpkg-buildpackage: info: full upload (original source is included)
Now running lintian...
W: dmagnetic: missing-depends-line
W: dmagnetic: description-synopsis-starts-with-article
W: dmagnetic: spelling-error-in-description allows to allows one to
W: dmagnetic: extra-license-file usr/share/doc/dmagnetic/LICENSE.txt
W: dmagnetic: manpage-has-errors-from-man
usr/share/man/man5/dMagneticini.5.gz 44: warning: macro `RS' not defined
W: dmagnetic: menu-item-creates-new-section Games usr/share/menu/dmagnetic:2
Finished running lintian.
Now signing changes and any dsc files...
  signfile dsc dmagnetic_0.16-1.dsc Thomas Dettbarn 
gpg: skipped "Thomas Dettbarn ": No secret key
gpg: /tmp/debsign.9vHNgUB3/dmagnetic_0.16-1.dsc: clear-sign failed: No
secret key
debsign: gpg error occurred!  Aborting
debuild: fatal error at line 1045:
running debsign failed
patching file Makefile


Any help with the warnings is appreciated...

You can use lintian-info to read the tag descriptions.





Re: Help needed with a script generating a .deb

2019-07-23 Thread Andrey Rahmatullin
On Tue, Jul 23, 2019 at 07:19:32PM +0200, dettus wrote:
> Running it ends with  the following feedback:
> 
> 
> 
> 
> dpkg-buildpackage: info: full upload (original source is included)
> Now running lintian...
> W: dmagnetic: missing-depends-line
> W: dmagnetic: description-synopsis-starts-with-article
> W: dmagnetic: spelling-error-in-description allows to allows one to
> W: dmagnetic: extra-license-file usr/share/doc/dmagnetic/LICENSE.txt
> W: dmagnetic: manpage-has-errors-from-man
> usr/share/man/man5/dMagneticini.5.gz 44: warning: macro `RS' not defined
> W: dmagnetic: menu-item-creates-new-section Games usr/share/menu/dmagnetic:2
> Finished running lintian.
> Now signing changes and any dsc files...
>  signfile dsc dmagnetic_0.16-1.dsc Thomas Dettbarn 
> gpg: skipped "Thomas Dettbarn ": No secret key
> gpg: /tmp/debsign.9vHNgUB3/dmagnetic_0.16-1.dsc: clear-sign failed: No
> secret key
> debsign: gpg error occurred!  Aborting
> debuild: fatal error at line 1045:
> running debsign failed
> patching file Makefile
> 
> 
> Any help with the warnings is appreciated...
You can use lintian-info to read the tag descriptions.

-- 
WBR, wRAR


signature.asc
Description: PGP signature


Re: Help needed with a script generating a .deb

2019-07-23 Thread dettus

Hello all.


Thanks to your input, I think I am getting closer.
For debian, I created a repository at 
https://github.com/dettus/ports_and_packages/tree/master/Debian



In it, you will find a debian/ subdirectory. In which I put the files 
that seem to be required for

debuild, if I am not mistaken?


You will also find a script called "mkpackage.sh". It takes care of 
downloading the source file

from my website, and creating the .dsc file.

Running it ends with  the following feedback:




dpkg-buildpackage: info: full upload (original source is included)
Now running lintian...
W: dmagnetic: missing-depends-line
W: dmagnetic: description-synopsis-starts-with-article
W: dmagnetic: spelling-error-in-description allows to allows one to
W: dmagnetic: extra-license-file usr/share/doc/dmagnetic/LICENSE.txt
W: dmagnetic: manpage-has-errors-from-man 
usr/share/man/man5/dMagneticini.5.gz 44: warning: macro `RS' not defined

W: dmagnetic: menu-item-creates-new-section Games usr/share/menu/dmagnetic:2
Finished running lintian.
Now signing changes and any dsc files...
 signfile dsc dmagnetic_0.16-1.dsc Thomas Dettbarn 
gpg: skipped "Thomas Dettbarn ": No secret key
gpg: /tmp/debsign.9vHNgUB3/dmagnetic_0.16-1.dsc: clear-sign failed: No 
secret key

debsign: gpg error occurred!  Aborting
debuild: fatal error at line 1045:
running debsign failed
patching file Makefile


Any help with the warnings is appreciated...



Thomas

On 7/23/19 12:26 PM, Ricardo Mones wrote:

Hi Thomas,

On Tue, Jul 23, 2019 at 11:25:40AM +0200, Thomas Dettbarn wrote:

Hello!

So, I have this awesome project, that I am trying to get into the
package repository of Debian. I already filed an RFP, which can be
found at the WNPP bug tracker, where it is gathering dust.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929619

So, I tried my hand at creating a package myself. Since I am a very
lazy person, I try to script my work whenever possible. So why should
there be an exception for the Debian package generation, right? 😉

[…]

Right, but Debian requirements for those scripts and the environment
where they run are much tighter than yours.

I'd suggest you should start reading https://wiki.debian.org/Packaging
and it's linked pages and perhaps see some examples of current existing
packages in https://salsa.debian.org.

HTH,




Re: Help needed with a script generating a .deb

2019-07-23 Thread Shlomi Fish
Hi Thomas!

On Tue, 23 Jul 2019 11:25:40 +0200 (CEST)
Thomas Dettbarn  wrote:

> Hello!
> 
> So, I have this awesome project, that I am trying to get into the
> package repository of Debian. I already filed an RFP, which can be
> found at the WNPP bug tracker, where it is gathering dust.
> 
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929619
> 
> So, I tried my hand at creating a package myself. Since I am a very
> lazy person, I try to script my work whenever possible. So why should
> there be an exception for the Debian package generation, right? 😉
> 
> Anyways, the script that is downloading my project, compiles it, and
> creates a .deb file can be found attached to this email, but you can
> also download it at github, at 
> 
> 
> https://github.com/dettus/ports_and_packages/blob/master/Ubuntu/games/dmagnetic/mkpackage.sh
> 

du gives an error, see
https://www.shlomifish.org/Files/files/images/Screenshot_20190723_130648.webp
.

Perhaps use "set -e -x" (or python/etc.). Did you try
https://lintian.debian.org/ yet?


> (Yes, currently I am sitting at a Ubuntu Machine (At work), but I would still
> like to see my project become part of Debian)
> 
> If you could have a look, and tell me what I might have missed, I would very
> VERY much appreciate it.
> 
> Oh, my project is located at http://www.dettus.net/dMagnetic, it is called
> dMagnetic- A Magnetic Scrolls Interpreter, and can be used to play classic
> text adventures such as "The Guild of Thieves" on modern Hardware in any
> terminal window. The graphics are being rendered in ANSI art.
> 
> 
> Thomas Dettbarn



-- 
-
Shlomi Fish   http://www.shlomifish.org/
Funny Anti-Terrorism Story - http://shlom.in/enemy

Doing linear scans over an associative array is like trying to club someone to
death with a loaded Uzi. — Larry Wall

Please reply to list if it's a mailing list post - http://shlom.in/reply .



Re: Help needed with a script generating a .deb

2019-07-23 Thread Andrey Rahmatullin
We don't use dpkg-deb -b to create packages.

If you want to create a package that can be uploaded to Debian, start with
https://mentors.debian.net/intro-maintainers

-- 
WBR, wRAR


signature.asc
Description: PGP signature


Help needed with a script generating a .deb

2019-07-23 Thread Thomas Dettbarn
Hello!

So, I have this awesome project, that I am trying to get into the
package repository of Debian. I already filed an RFP, which can be
found at the WNPP bug tracker, where it is gathering dust.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929619

So, I tried my hand at creating a package myself. Since I am a very
lazy person, I try to script my work whenever possible. So why should
there be an exception for the Debian package generation, right? 😉

Anyways, the script that is downloading my project, compiles it, and
creates a .deb file can be found attached to this email, but you can
also download it at github, at 


https://github.com/dettus/ports_and_packages/blob/master/Ubuntu/games/dmagnetic/mkpackage.sh

(Yes, currently I am sitting at a Ubuntu Machine (At work), but I would still
like to see my project become part of Debian)

If you could have a look, and tell me what I might have missed, I would very
VERY much appreciate it.

Oh, my project is located at http://www.dettus.net/dMagnetic, it is called
dMagnetic- A Magnetic Scrolls Interpreter, and can be used to play classic
text adventures such as "The Guild of Thieves" on modern Hardware in any
terminal window. The graphics are being rendered in ANSI art.


Thomas Dettbarn

dmagnetic_to_deb.sh
Description: application/shellscript