Bug#1061290: RFS: rgbds/0.7.0-3 [ITP] -- Game Boy ASM programming tools

2024-02-22 Thread P. J. McDermott
I'm not a DD so I can't upload this, but I took a look.  I see you've
addressed most of the comments on Mentors in the repository on GitHub,
so I'm reviewing that rather than the older upload on Mentors.

Build-Depends lists pkg-config, which is a transitional package since
bookworm that should be replaced with the newer pkgconf.  lintian warns
about this:

W: rgbds source: build-depends-on-obsolete-package Build-Depends: 
pkg-config => pkgconf

This is just a suggestion/tip and not at all required, but it's popular
to use `wrap-and-sort -ast` to put each dependency on its own line (with
a trailing comma).  This would make the diff clearer in commits like
d1842536 and 22baba8b.

The years in the Copyright field of the "Files: *" stanza of d/copyright
look outdated: "1997-2020" when LICENSE says "1997-2023" since commit
f8af5696.

Not required by all sponsors, but Emmanuel on Mentors and Tobias here
suggested maintaining the packaging Git repository on Salsa (and
updating the Vcs- fields):

https://salsa.debian.org/
https://salsa.debian.org/games-team
https://salsa.debian.org/debian

You may also want to look into git-buildpackage with pristine-tar and a
DEP-14 branch layout:

https://honk.sigxcpu.org/piki/projects/git-buildpackage/
https://www.eyrie.org/~eagle/notes/debian/git.html
https://dep-team.pages.debian.net/deps/dep14/

Looks OK otherwise to me, and the package builds fine under sbuild with
no lintian tags (even informational or pedantic) other than the obsolete
package warning above; nice work!  So, once the pkg-config -> pkgconf
switch and copyright years update are done, I think it's good enough for
someone to upload.

-- 
Patrick "P. J." McDermott:  http://www.pehjota.net/
Lead Developer, ProteanOS:  http://www.proteanos.com/
Founder and CEO, Libiquity: http://www.libiquity.com/



Bug#1060388: sponsor for endless-sky

2024-01-16 Thread P. J. McDermott
On 2024-01-17 at 10:22, Bo YU wrote:
> Hi,
> 
> First sorry without contacting here before NMU.

Welcome!

> I am looking for a sponsor for my package "endless-sky":

I'm not a DD, but I gave this a look and have a couple comments.

>  * Vcs  : https://salsa.debian.org/games-team/endless-sky

Do you have an account on Salsa?  You could fork the repository and
submit an MR so that the changes are ready to merge and upload.  If not,
that's OK; I think the changes are small enough for one of us to just
commit in one shot.

>  endless-sky (0.10.4-0.1) UNRELEASED; urgency=medium
>  .
>* Non-maintainer upload.
>* New upstream version 0.10.4. (Closes: #1059987)
>* rebase debian/patches

I see out/troff.patch and out/spelling.patch were applied upstream and
removed from debian/patches/series, but the patch files are still under
debian/patches/.  They should be removed.

>* Change Build-Depends on 'cmake' to'cmake (>= 3.21)'.
>  (Closes: #1054624).

(Coincidentally, seeing this bug on Friday reminded me to do a similar
cmake B-D version bump in another package.)

Other than the suggestions of Git and removing patch files, this looks
OK to me for an NMU.  But of course it needs a DD's review (ideally
Damyan).

Since the changes are apparently not in Git, here's the diff I
reviewed:

 changelog |   10 ++
 control   |2 +-
 patches/atomics.patch |   29 ++---
 patches/series|2 --
 4 files changed, 29 insertions(+), 14 deletions(-)
---
diff -Naur endless-sky-0.10.2/debian/changelog 
endless-sky-0.10.4/debian/changelog
--- endless-sky-0.10.2/debian/changelog 2023-10-10 10:57:15.0 -0400
+++ endless-sky-0.10.4/debian/changelog 2024-01-07 20:42:17.0 -0500
@@ -1,3 +1,13 @@
+endless-sky (0.10.4-0.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * New upstream version 0.10.4. (Closes: #1059987)
+  * rebase debian/patches
+  * Change Build-Depends on 'cmake' to'cmake (>= 3.21)'.
+(Closes: #1054624).
+
+ -- Bo YU   Mon, 08 Jan 2024 09:42:17 +0800
+
 endless-sky (0.10.2-6) unstable; urgency=medium
 
   [ Adrian Bunk ]
diff -Naur endless-sky-0.10.2/debian/control endless-sky-0.10.4/debian/control
--- endless-sky-0.10.2/debian/control   2023-10-06 09:23:26.0 -0400
+++ endless-sky-0.10.4/debian/control   2024-01-07 20:42:17.0 -0500
@@ -8,7 +8,7 @@
 Vcs-Git: https://salsa.debian.org/games-team/endless-sky.git
 Homepage: https://endless-sky.github.io
 Build-Depends:
- cmake,
+ cmake (>= 3.21),
  debhelper-compat (= 13),
  g++ (>=4.6),
  libgl-dev,
diff -Naur endless-sky-0.10.2/debian/patches/atomics.patch 
endless-sky-0.10.4/debian/patches/atomics.patch
--- endless-sky-0.10.2/debian/patches/atomics.patch 2023-10-05 
06:08:09.0 -0400
+++ endless-sky-0.10.4/debian/patches/atomics.patch 2024-01-07 
20:42:17.0 -0500
@@ -1,17 +1,24 @@
-Description: link with libatomic
- On armel and mipsel, there are a bunch of missing __atomic_load_8 symbols
- during linking
- .
- These are provided by libatomic and that is even in the build-dependencies,
- but is missing on the linker command line.
- .
- The right spot to add it is a bit tricky, appending it to SConstrict near
- 'pthread' doesn't seem to have any effect, but adding to CMakeLists.txt works.
-Author: Damyan Ivanov 
+From: Damyan Ivanov 
+Date: Mon, 8 Jan 2024 07:21:47 +0800
+Subject: link with libatomic
 
+On armel and mipsel, there are a bunch of missing __atomic_load_8 symbols
+during linking
+
+These are provided by libatomic and that is even in the build-dependencies,
+but is missing on the linker command line.
+
+The right spot to add it is a bit tricky, appending it to SConstrict near
+'pthread' doesn't seem to have any effect, but adding to CMakeLists.txt works.
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index fa0903a..d7807e9 100644
 --- a/CMakeLists.txt
 +++ b/CMakeLists.txt
-@@ -123,7 +123,7 @@ target_link_libraries(ExternalLibraries
+@@ -125,7 +125,7 @@ target_link_libraries(ExternalLibraries INTERFACE 
SDL2::SDL2 PNG::PNG JPEG::JPEG
  if(WIN32)
target_link_libraries(ExternalLibraries INTERFACE rpcrt4 Winmm)
  else()
diff -Naur endless-sky-0.10.2/debian/patches/series 
endless-sky-0.10.4/debian/patches/series
--- endless-sky-0.10.2/debian/patches/series2023-10-05 02:53:48.0 
-0400
+++ endless-sky-0.10.4/debian/patches/series2024-01-07 20:42:17.0 
-0500
@@ -1,3 +1 @@
-out/troff.patch
-out/spelling.patch
 atomics.patch
-- 
Patrick "P. J." McDermott:  http://www.pehjota.net/
Lead Developer, ProteanOS:  http://www.proteanos.com/
Founder and CEO, Libiquity: http://www.libiquity.com/



Re: Make CDBS and debhelper not build one binary package

2012-07-30 Thread P. J. McDermott
On 2012-07-29 10:16, P. J. McDermott wrote:
 Is there a way to make CDBS and its debhelper class not build a
 particular binary package?  With debhelper alone, I'd just use the
 -N/--no-package option.
 
 I've tried adding that option to DH_OPTIONS,

I've realized that I had forgotten to export DH_OPTIONS...  I've got
this working now; sorry for the noise. :)

 and I've tried overriding
 DEB_ALL_PACKAGES after the CDBS class include lines as follows (where
 binary-package is the package I don't want to build):
 
 DEB_ALL_PACKAGES := $(subst binary-package,,$(strip $(shell \
 dh_listpackages 2/dev/null || dh_listpackages)))

Though I'm still not sure why that didn't work.  Oh well.

-- 
P. J. McDermott(_/@\_),--.
http://www.pehjota.net/   o o o/ oo \
http://www.pehjota.net/contact.html o   \ `-/|  |.
o o o~v/_\--/_/


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/50167b4d.3020...@nac.net



Make CDBS and debhelper not build one binary package

2012-07-29 Thread P. J. McDermott
Hi,

Is there a way to make CDBS and its debhelper class not build a
particular binary package?  With debhelper alone, I'd just use the
-N/--no-package option.

I've tried adding that option to DH_OPTIONS, and I've tried overriding
DEB_ALL_PACKAGES after the CDBS class include lines as follows (where
binary-package is the package I don't want to build):

DEB_ALL_PACKAGES := $(subst binary-package,,$(strip $(shell \
dh_listpackages 2/dev/null || dh_listpackages)))

Both still resulted in binary-package being built.

Thanks,
-- 
P. J. McDermott(_/@\_),--.
http://www.pehjota.net/   o o o/ oo \
http://www.pehjota.net/contact.html o   \ `-/|  |.
o o o~v/_\--/_/


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/501545c7.5090...@nac.net