Bug#1018875: /var/lib/dpkg/info/fwanalog.postinst: 32: /usr/lib/fwanalog/mklangfile.fr: not found

2022-09-01 Thread Patrice DUROUX
Package: fwanalog
Version: 0.6.9-9
Severity: normal

Dear Maintainer,

The upgrade of the package failed due to this.

Thanks,
Patrice

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
merged-usr: no
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.17.0-2-amd64 (SMP w/24 CPU threads; PREEMPT)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages fwanalog depends on:
ii  adduser3.128
ii  analog 2:6.0.17-2
ii  bsd-mailx [mailx]  8.1.2-0.20220412cvs-1
ii  debconf [debconf-2.0]  1.5.79
ii  mailutils [mailx]  1:3.15-2+b1
ii  perl   5.34.0-5

fwanalog recommends no packages.

Versions of packages fwanalog suggests:
ii  iptables  1.8.8-1

-- debconf information:
  fwanalog/cron: true
  fwanalog/mailto: root
  fwanalog/language: French



Bug#1018875: /var/lib/dpkg/info/fwanalog.postinst: 32: /usr/lib/fwanalog/mklangfile.fr: not found

2022-09-02 Thread Patrice Duroux
Source: fwanalog
Version: 0.6.9-9
Followup-For: Bug #1018875

Hi,

Regarding https://sources.debian.org/src/fwanalog/0.6.9-8/support/, the two
following files were removed in 0.6.9-9:

rw-r--r--   1,439   mklangfile.fr.sh
rw-r--r--   2,648   mklangfile.it.sh

(Note that the file rights are not consistent to the two others
mklangfile.XX.sh)

So either to restore those files or either to modify some debian/ files, at
least:

diff -r fwanalog-0.6.9/debian/postinst fwanalog-0.6.9_new/debian/postinst
24,27d23
< elif [ "$RET" = "Italian" ];then
< LANGUAGE="it"
< elif [ "$RET" = "French" ];then
< LANGUAGE="fr"
diff -r fwanalog-0.6.9/debian/templates fwanalog-0.6.9_new/debian/templates
3c3
< __Choices: English, German, French, Italian
---
> __Choices: English, German


Hope it helps!

Patrice


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.18.0-4-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



Bug#1092434: xscavenger: FTBFS: make: *** [debian/rules:99: stamp-binary] Error 1

2025-01-08 Thread Patrice Duroux
Package: xscavenger
Version: 1.4.5-8
Followup-For: Bug #1092434
Control: tags -1 patch ftbfs

Dear Maintainer,

Here is a patch that could help to solve this issue.
It may be not perfect but at least try to simplify the packaging
and be able to build the package (using sbuild on my system).

Thanks,
Patrice
diff --git a/debian/Imakefile.debian b/debian/Imakefile.debian
deleted file mode 100644
index eaabf9f..000
--- a/debian/Imakefile.debian
+++ /dev/null
@@ -1,79 +0,0 @@
-# set this to the path where data files should be stored.  LIBDIR
-# is automatically defined by imake, usually to /usr/X11R6/lib/X11, so
-# this should be a good default.
-
-LIBNAME = /usr/lib/games/xscavenger
-
-SRCS = anim.c edit.c scav.c x.c sound.c
-OBJS = $(SRCS:.c=.o)
-
-# the "subst" hack below is because imake uses the C preprocessor, which
-# will interpret an unquoted "/*" as a comment beginning.
-#LIB_DATA = $(subst S,/,..SdataS*)
-LIB_DATA = \
-   ../data/badguy.lbm  \
-   ../data/brownblue.lbm   \
-   ../data/death.raw   \
-   ../data/dig.raw \
-   ../data/fall.raw\
-   ../data/flashspiral.lbm \
-   ../data/gems.lbm\
-   ../data/jungle.lbm  \
-   ../data/levels.scl  \
-   ../data/microman.lbm\
-   ../data/pop.raw \
-   ../data/redbrick.lbm\
-   ../data/reddevil.lbm\
-   ../data/regularguy.lbm  \
-   ../data/spiralthing.lbm \
-   ../data/victory.raw
-
-
-LOCAL_LIBRARIES = $(XLIB)
-EXTRA_DEFINES = -DLIBNAME=\"$(LIBNAME)\"
-EXTRA_LOAD_FLAGS = -lasound
-
-AllTarget(xscavenger)
-NormalProgramTarget(xscavenger,$(OBJS),,,$(XLIB))
-InstallProgram(xscavenger,/usr/games)
-
-InstallMultipleFlags($(LIB_DATA),$(LIBNAME),-m 644)
-# set this to the path where data files should be stored.  LIBDIR
-# is automatically defined by imake, usually to /usr/X11R6/lib/X11, so
-# this should be a good default.
-
-LIBNAME = /usr/lib/games/xscavenger
-
-SRCS = anim.c edit.c scav.c x.c sound.c
-OBJS = $(SRCS:.c=.o)
-
-# the "subst" hack below is because imake uses the C preprocessor, which
-# will interpret an unquoted "/*" as a comment beginning.
-#LIB_DATA = $(subst S,/,..SdataS*)
-LIB_DATA = \
-   ../data/badguy.lbm  \
-   ../data/brownblue.lbm   \
-   ../data/death.raw   \
-   ../data/dig.raw \
-   ../data/fall.raw\
-   ../data/flashspiral.lbm \
-   ../data/gems.lbm\
-   ../data/jungle.lbm  \
-   ../data/levels.scl  \
-   ../data/microman.lbm\
-   ../data/pop.raw \
-   ../data/redbrick.lbm\
-   ../data/reddevil.lbm\
-   ../data/regularguy.lbm  \
-   ../data/spiralthing.lbm \
-   ../data/victory.raw
-
-
-LOCAL_LIBRARIES = $(XLIB)
-EXTRA_DEFINES = -DLIBNAME=\"$(LIBNAME)\"
-
-AllTarget(xscavenger)
-NormalProgramTarget(xscavenger,$(OBJS),,,$(XLIB))
-InstallProgram(xscavenger,/usr/games)
-
-InstallMultipleFlags($(LIB_DATA),$(LIBNAME),-m 644)
diff --git a/debian/Imakefile.default b/debian/Imakefile.default
deleted file mode 100644
index 1980627..000
--- a/debian/Imakefile.default
+++ /dev/null
@@ -1,20 +0,0 @@
-# set this to the path where data files should be stored.  LIBDIR
-# is automatically defined by imake, usually to /usr/X11R6/lib/X11, so
-# this should be a good default.
-LIBNAME = $(LIBDIR)/scavenger
-
-SRCS = anim.c edit.c scav.c x.c sound.c
-OBJS = $(SRCS:.c=.o)
-
-LIB_DATA = \
-   ../data/badguy.lbm   ../data/brownblue.lbm ../data/death.raw \
-   ../data/dig.raw  ../data/fall.raw  ../data/levels.scl \
-../data/microman.lbm ../data/pop.raw   ../data/redbrick.lbm \
-   ../data/reddevil.lbm ../data/regularguy.lbm ../data/spiralthing.lbm \
-   ../data/victory.raw
-
-LOCAL_LIBRARIES = $(XLIB) -lasound
-EXTRA_DEFINES = -DLIBNAME=\"$(LIBNAME)\"
-
-ComplexProgramTarget(scavenger)
-InstallMultipleFlags($(LIB_DATA),$(LIBNAME),-m 644)
diff --git a/debian/install b/debian/install
new file mode 100644
index 000..10b4faf
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,2 @@
+debian/xscavenger.desktop usr/share/applications
+debian/xscavenger-icon.xpm usr/share/pixmaps
diff --git a/debian/manpages b/debian/manpages
new file mode 100644
index 000..2347827
--- /dev/null
+++ b/debian/manpages
@@ -0,0 +1 @@
+debian/xscavenger.6
diff --git a/debian/rules b/debian/rules
index 4f51fa7..8e81c35 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,141 +1,16 @@
 #!/usr/bin/make -f
- -*- Mode: Makefile -*- ###
-## rules ---
-## Author   : Marcus Brinkmann