snapd.git
8 months agoi18n: use dummy localizations to avoid dependencies
Zygmunt Krynicki [Thu, 17 Jan 2019 14:42:35 +0000 (16:42 +0200)]
i18n: use dummy localizations to avoid dependencies

Upstream snapd uses the github.com/ojii/gettext.go package for access to
translation catalogs. This package is currently not available in Debian
and prevents building the package. As such, replace the real
implementation with a simple dummy one that always uses the English
input strings.

Signed-off-by: Zygmunt Krynicki <me@zygoon.pl>
Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
Gbp-Pq: Name 0007-i18n-use-dummy-localizations-to-avoid-dependencies.patch

8 months agocmd/snap: skip tests depending on text wrapping
Zygmunt Krynicki [Thu, 17 Jan 2019 15:38:41 +0000 (17:38 +0200)]
cmd/snap: skip tests depending on text wrapping

Upstream snapd contains tests that check the output of various commands
along with the --help command-line argument. The output is wrapped to
match terminal width and for readability. The algorithm for wrapping
has apparently changed across versions of github.com/jessevdk/go-flags.

Since this test is not critical for anything it can be disabled to let
the package build.

Signed-off-by: Zygmunt Krynicki <me@zygoon.pl>
Gbp-Pq: Name 0004-cmd-snap-skip-tests-depending-on-text-wrapping.patch

8 months agocmd/snap-seccomp: skip tests that use -m32
Zygmunt Krynicki [Thu, 17 Jan 2019 15:21:22 +0000 (17:21 +0200)]
cmd/snap-seccomp: skip tests that use -m32

Apparently Debian's amd64 compiler somehow cannot compile -m32 mode
binaries. The compilation error is:

multipass@debian-10:~/packaging/snapd/cmd/snap-seccomp$ go test
cannot build multi-lib syscall runner: exit status 1
In file included from /usr/include/errno.h:25,
 from /tmp/check-3806730340354206876/1/seccomp_syscall_runner.c:3:
/usr/include/features.h:424:12: fatal error: sys/cdefs.h: No such file or directory
 #  include <sys/cdefs.h>
    ^~~~~~~~~~~~~
compilation terminated.
OK: 2 passed, 11 skipped

I was unable to resolve this issue, let's disable this test until we can get to
the bottom of it.

Signed-off-by: Zygmunt Krynicki <me@zygoon.pl>
Gbp-Pq: Name 0003-cmd-snap-seccomp-skip-tests-that-use-m32.patch

8 months agosnapd (2.68.3-2) unstable; urgency=medium
Zygmunt Krynicki [Tue, 25 Mar 2025 12:33:00 +0000 (12:33 +0000)]
snapd (2.68.3-2) unstable; urgency=medium

  * switch to pkgconf
  * remove checks related to snap-repair

[dgit import unpatched snapd 2.68.3-2]

8 months agoImport snapd_2.68.3-2.debian.tar.xz
Zygmunt Krynicki [Tue, 25 Mar 2025 12:33:00 +0000 (12:33 +0000)]
Import snapd_2.68.3-2.debian.tar.xz

[dgit import tarball snapd 2.68.3-2 snapd_2.68.3-2.debian.tar.xz]

8 months agoImport snapd_2.68.3.orig.tar.gz
Zygmunt Krynicki [Tue, 25 Mar 2025 11:44:06 +0000 (11:44 +0000)]
Import snapd_2.68.3.orig.tar.gz

[dgit import orig snapd_2.68.3.orig.tar.gz]