Processing of libtrio_1.16+dfsg1-4_source.changes

2022-07-20 Thread Debian FTP Masters
libtrio_1.16+dfsg1-4_source.changes uploaded successfully to localhost
along with the files:
  libtrio_1.16+dfsg1-4.dsc
  libtrio_1.16+dfsg1-4.debian.tar.xz
  libtrio_1.16+dfsg1-4_source.buildinfo

Greetings,

Your Debian queue daemon (running on host usper.debian.org)



libtrio_1.16+dfsg1-4_source.changes ACCEPTED into unstable

2022-07-20 Thread Debian FTP Masters



Accepted:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Format: 1.8
Date: Wed, 20 Jul 2022 15:45:23 +0200
Source: libtrio
Built-For-Profiles: noudeb
Architecture: source
Version: 1.16+dfsg1-4
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group 
Changed-By: Balint Reczey 
Closes: 1015528
Launchpad-Bugs-Fixed: 1371782
Changes:
 libtrio (1.16+dfsg1-4) unstable; urgency=medium
 .
   * Orphaning the package
 .
   [ Jelmer Vernooij ]
   * Migrate repository from alioth to salsa.
 .
   [ Till Kamppeter ]
   * Link with math library using "-lm" linker option (LP: #1371782)
 .
   [ Balint Reczey ]
   * Cherry-pick upstream fix for older FTBFS
   * Fix FTBFS with LTO (Closes: #1015528)
   * debian/control: Make the packages Priority: optional
   * debian/control: Bump debhelper compat level to 13
   * debian/rules: Don't pass --with autotools-dev to dh.
 Also don't depend on autotools-dev, none of those are needed above
 debhelper version 10.
   * Use LDFLAGS properly and keep blhc happy
   * debian/rules: Don't pass -lm to configure, it is set in a patch.
Checksums-Sha1:
 51472d54a39083d93815ea2d4ecfb4a83f575d00 1922 libtrio_1.16+dfsg1-4.dsc
 05127c15413c74ee353017b6a69ae0571c33836e 6680 
libtrio_1.16+dfsg1-4.debian.tar.xz
 20aca6c3d48dfcfded2c2ac1b2bd757a4e4fa4d5 9006 
libtrio_1.16+dfsg1-4_source.buildinfo
Checksums-Sha256:
 b494ffd684870c91a57e18f30d43532cb84932d5f6a90b31ed132b0131fb0eb7 1922 
libtrio_1.16+dfsg1-4.dsc
 22158ab9e5c92ccdaa043f2116da0830b748d67853a8106684bf1bdd12e54ab5 6680 
libtrio_1.16+dfsg1-4.debian.tar.xz
 d74c7513b1cdd770f127b1ed40147508327533e92f2ed0142994f6ce91cc3068 9006 
libtrio_1.16+dfsg1-4_source.buildinfo
Files:
 ac0ff11837496e8413f8ad0865647ad8 1922 libs optional libtrio_1.16+dfsg1-4.dsc
 f0e426cd36807fef6ffc400979026a19 6680 libs optional 
libtrio_1.16+dfsg1-4.debian.tar.xz
 63bd4da64e0cdc0c8b636b48e001d869 9006 libs optional 
libtrio_1.16+dfsg1-4_source.buildinfo

-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEEI/PvTgXX55rLQUfDg6KBkWslS0UFAmLYFtoACgkQg6KBkWsl
S0WS0RAAgEeTFJh/kwzIH1zbZCTbtH40x5cUdyOGu1O/trNPBZTMcShSaaNp3Nv8
RykLsUD2I2UQ9szPzZS0F9qqLRrzP0tzsNbcmEZ9LsbjR/UM6giBfOknIDZuEwj2
HEFhysHw107op39KsQAN190dOzjCnyPG3aKwopd5dQRx8TcsDyiCFaTBr/3/dp2p
xb/W8MFv73EBBFRUtHuEX5sD9YhUeJwilr9IWryHcsacmYVhMHssDcUIkdSYbiMD
yTEewT2I+RLjy4QugoHgYFpU9NSaaLpSG9rMfLMOrBIAOcwYa5hg2WdMNid0eyDK
2wmyPZDR5h4xHFG/rHfZBWAzkMDueRbJ1krZIlWcsZ2OmshBGzi4b9mBvFMJY0yP
1MRjK5FtnCGyYNR1rq1j4W+4ahNv4dbL+R2Y6fKPfJFN0j1K7clzsOoQdqmZncbx
yyrTPk6D5BZRpPqYErcIfKXAZIqRzFZNn4upFLfPntSDPW9mMmE2pCSqp/r/YuqD
0dGrQHyte60lCp5VotVxJlnE6TTP3CJnriuylb81t2x8uN1R/5x0USaHxT8oLgRv
zgvO63Tu+jh1uAupn93xoJ+QMgBfnfRd9rVHBoF92Rvj1TfwvWeu9cJZSn6Oly4y
SNW8Lw+ROasBcJ3/89OclC9eVWTC50tRPp9+oTMBYpN/jFE/ofo=
=vuRa
-END PGP SIGNATURE-


Thank you for your contribution to Debian.



Processing of p8-platform_2.1.0.1+dfsg1-4_source.changes

2022-07-20 Thread Debian FTP Masters
p8-platform_2.1.0.1+dfsg1-4_source.changes uploaded successfully to localhost
along with the files:
  p8-platform_2.1.0.1+dfsg1-4.dsc
  p8-platform_2.1.0.1+dfsg1-4.debian.tar.xz
  p8-platform_2.1.0.1+dfsg1-4_source.buildinfo

Greetings,

Your Debian queue daemon (running on host usper.debian.org)



p8-platform_2.1.0.1+dfsg1-4_source.changes ACCEPTED into unstable

2022-07-20 Thread Debian FTP Masters



Accepted:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Format: 1.8
Date: Wed, 20 Jul 2022 17:56:05 +0200
Source: p8-platform
Built-For-Profiles: noudeb
Architecture: source
Version: 2.1.0.1+dfsg1-4
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group 
Changed-By: Balint Reczey 
Closes: 1015576
Changes:
 p8-platform (2.1.0.1+dfsg1-4) unstable; urgency=medium
 .
   * Orphaning the package
 .
   [ Debian Janitor ]
   * Trim trailing whitespace.
   * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
 Repository-Browse.
   * Bump debhelper from old 12 to 13.
 .
   [ Balint Reczey ]
   * Update symbols to mark the ones disappearing in LTO builds as optional
 (Closes: #1015576)
Checksums-Sha1:
 11b5588df74de82d603764110296c6ba52db6936 2015 p8-platform_2.1.0.1+dfsg1-4.dsc
 7c761fc7d2819e84412a8bd6c023cfb439f148be 6568 
p8-platform_2.1.0.1+dfsg1-4.debian.tar.xz
 d0a8579e7c71a083bb86a36588fe6044ce1b9dae 9888 
p8-platform_2.1.0.1+dfsg1-4_source.buildinfo
Checksums-Sha256:
 bfa4211724079680637529cb3c80f69347917f67831e0fd92ab877ef5177b44c 2015 
p8-platform_2.1.0.1+dfsg1-4.dsc
 5505e9a8171c79d4db5b05e44b7dff6240e7af98be300613a58ab7da63e5bcc6 6568 
p8-platform_2.1.0.1+dfsg1-4.debian.tar.xz
 b6a7a0f0eeccc35ae0a55c4048bcb40a273076e6d0a1acdb3f003dc177e86986 9888 
p8-platform_2.1.0.1+dfsg1-4_source.buildinfo
Files:
 d32ffcb32f4bb2e90420afc3b3747b8f 2015 libs optional 
p8-platform_2.1.0.1+dfsg1-4.dsc
 f0df0aefbc02855d352d68496368bf6c 6568 libs optional 
p8-platform_2.1.0.1+dfsg1-4.debian.tar.xz
 a01208c3a36ebd4c88cbaaddd22fe026 9888 libs optional 
p8-platform_2.1.0.1+dfsg1-4_source.buildinfo

-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEEI/PvTgXX55rLQUfDg6KBkWslS0UFAmLYLaYACgkQg6KBkWsl
S0UHXxAA2jeQv8JgtLdpeSaYyCy9P3+f3tcIZq8DiYZsn64Ikd94KlJ1wHRGSwR3
dtDCxvLPl76UzfPHuVMHf92hO2KCTkani/cNWdvl6IeIBVbbc+yMeC3Ddv77z1Da
JV7E7J7lpowrzY2dYbkuHF/lzIDAAcY405ZQg88x73zevUIiQHu9iFttDovt4bmH
c5HrFzRADDQIOTNEiBWRgLPQcY8/Kn55w2NvSsJCQ3dasAy/7IR+SbkiXBVzpEc8
oCTzV/0Oh7OBsYSvVwU8Nrh3Gis1aHfy8kXM5QipIIDwgrJg/X3hVKG8r7dC+wq0
wkb/zGMKhjYyspIEYASgHmguBIGRUDyOdo7jiW8gc4uLvHHla4npv9v1rbPE0L/s
3B5R4cDDPzdrhyOaPss/XCFgv5/fNDddF/34fL4xHmT1mkAsBx+DweyqJ1QUwBwg
6H8rxusirPsZFxi1gGdNWu+RUaKHLiEkFpSWjXKSnXtkWywgxtYs0HwVFT4m+n0J
0ar8XxZ611besCe9YCAGoBE+nosF/zUWhYsYVwJfKIOO/tIGSNhcT+vCPr9Y+7da
BH57ywVrmnvHnEOOSLOIva6yDPCxdfgFJhXe5BsRHcYr+YtkMy/bjYlFb82M8zXk
De+D31St20sEd+ylx8VgqySDRu8ojsK6Zb3F0DlXRhMb/GPVfHA=
=6sph
-END PGP SIGNATURE-


Thank you for your contribution to Debian.



Bug#1004805: xmms2: FTBFS with ffmpeg 5.0

2022-07-20 Thread Dan Bungert
Dear Maintainer,

I backported the work merged upstream around ffmpeg 5.  Please see attached.
This was sufficient to address the FTBFS both for Sid and Ubuntu Kinetic.

-Dan
Description: ffmpeg 5 compat
Author:  Dan Bungert 
Bug-Ubuntu:  https://bugs.launchpad.net/debian/+source/xmms2/+bug/1982419
Bug-Debian:  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1004805
Forwarded:   not-needed
Origin:  https://github.com/xmms2/xmms2-devel/pull/11
Last-Update: 2022-07-20
diff --git a/src/plugins/avcodec/avcodec.c b/src/plugins/avcodec/avcodec.c
index 23fd4615e..a5c5aa0f4 100644
--- a/src/plugins/avcodec/avcodec.c
+++ b/src/plugins/avcodec/avcodec.c
@@ -31,6 +31,7 @@
 
 typedef struct {
 	AVCodecContext *codecctx;
+	AVPacket packet;
 
 	guchar *buffer;
 	guint buffer_length;
@@ -149,13 +150,12 @@ xmms_avcodec_init (xmms_xform_t *xform)
 	data->buffer = g_malloc (AVCODEC_BUFFER_SIZE);
 	data->buffer_size = AVCODEC_BUFFER_SIZE;
 	data->codecctx = NULL;
+	data->packet.size = 0;
 
 	data->read_out_frame = av_frame_alloc ();
 
 	xmms_xform_private_data_set (xform, data);
 
-	avcodec_register_all ();
-
 	mimetype = xmms_xform_indata_get_str (xform,
 	  XMMS_STREAM_TYPE_MIMETYPE);
 	data->codec_id = mimetype + strlen ("audio/x-ffmpeg-");
@@ -466,45 +466,37 @@ FF_INPUT_BUFFER_PADDING_SIZE long.
 static gint
 xmms_avcodec_internal_decode_some (xmms_avcodec_data_t *data)
 {
-	int got_frame = 0;
-	gint bytes_read = 0;
-	AVPacket packet;
+	int rc = 0;
 
-	av_init_packet (&packet);
-	packet.data = data->buffer;
-	packet.size = data->buffer_length;
+	if (data->packet.size == 0) {
+		av_init_packet (&data->packet);
+		data->packet.data = data->buffer;
+		data->packet.size = data->buffer_length;
 
-	/* clear buffers and reset fields to defaults */
-	av_frame_unref (data->read_out_frame);
-
-	bytes_read = avcodec_decode_audio4 (
-		data->codecctx, data->read_out_frame, &got_frame, &packet);
+		rc = avcodec_send_packet(data->codecctx, &data->packet);
+		if (rc == AVERROR_EOF)
+			rc = 0;
+	}
 
-	/* The DTS decoder of ffmpeg is buggy and always returns
-	 * the input buffer length, get frame length from header */
-	/* FIXME: Is  still true? */
-	if (!strcmp (data->codec_id, "dca") && bytes_read > 0) {
-		bytes_read = ((int)data->buffer[5] << 12) |
-		 ((int)data->buffer[6] << 4) |
-		 ((int)data->buffer[7] >> 4);
-		bytes_read = (bytes_read & 0x3fff) + 1;
+	if (rc == 0) {
+		rc = avcodec_receive_frame(data->codecctx, data->read_out_frame);
+		if (rc < 0) {
+			data->packet.size = 0;
+			data->buffer_length = 0;
+			if (rc == AVERROR(EAGAIN)) rc = 0;
+			else if (rc == AVERROR_EOF) rc = 1;
+		}
+		else
+			rc = 1;
 	}
 
-	if (bytes_read < 0 || bytes_read > data->buffer_length) {
+	if (rc < 0) {
+		data->packet.size = 0;
 		XMMS_DBG ("Error decoding data!");
 		return -1;
 	}
 
-	if (bytes_read < data->buffer_length) {
-		data->buffer_length -= bytes_read;
-		g_memmove (data->buffer,
-		   data->buffer + bytes_read,
-		   data->buffer_length);
-	} else {
-		data->buffer_length = 0;
-	}
-
-	return got_frame ? 1 : 0;
+	return rc;
 }
 
 static void
diff --git a/src/plugins/avcodec/wscript b/src/plugins/avcodec/wscript
index 00b182b24..4b6227437 100644
--- a/src/plugins/avcodec/wscript
+++ b/src/plugins/avcodec/wscript
@@ -1,7 +1,7 @@
 from waftools.plugin import plugin
 
 ## Code fragments for configuration
-avcodec_decode_audio4_fragment = """
+avcodec_send_packet_fragment = """
 #ifdef HAVE_LIBAVCODEC_AVCODEC_H
 # include "libavcodec/avcodec.h"
 #else
@@ -9,11 +9,9 @@ avcodec_decode_audio4_fragment = """
 #endif
 int main(void) {
 AVCodecContext *ctx;
-AVFrame *frame;
-int got_frame;
 AVPacket *pkt;
 
-avcodec_decode_audio4 (ctx, frame, &got_frame, pkt);
+avcodec_send_packet (ctx, pkt);
 
 return 0;
 }
@@ -40,12 +38,12 @@ def plugin_configure(conf):
 conf.check_cc(header_name="avcodec.h", uselib="avcodec", type="cshlib", mandatory=False)
 conf.check_cc(header_name="libavcodec/avcodec.h", uselib="avcodec", type="cshlib", mandatory=False)
 
-# mandatory function avcodec_decode_audio4 available since
-# * ffmpeg: commit e4de716, lavc 53.40.0, release 0.9
-# * libav: commit 0eea212, lavc 53.25.0, release 0.8
-conf.check_cc(fragment=avcodec_decode_audio4_fragment, uselib="avcodec",
-  uselib_store="avcodec_decode_audio4",
-  msg="Checking for function avcodec_decode_audio4", mandatory=True)
+# mandatory function avcodec_send_packet available since
+# * ffmpeg: commit 7fc329e, lavc 57.37.100, release 3.1
+# * libav: commit 05f6670, lavc 57.16.0, release 12
+conf.check_cc(fragment=avcodec_send_packet_fragment, uselib="avcodec",
+  uselib_store="avcodec_send_packet",
+  msg="Checking for function avcodec_send_packet", mandatory=True)
 
 # non-mandatory function avcodec_free_frame since
 # * ffmpeg: commit 46a3595, l

Bug#815339: marked as done (mini-httpd: FTBFS on kfreebsd-amd64: mini_httpd.c:102:19: error: conflicting types for 'int64_t')

2022-07-20 Thread Debian Bug Tracking System
Your message dated Thu, 21 Jul 2022 00:21:44 +0200
with message-id 
and subject line Re: mini-httpd: FTBFS on kfreebsd-amd64: mini_httpd.c:102:19: 
error: conflicting types for 'int64_t'
has caused the Debian Bug report #815339,
regarding mini-httpd: FTBFS on kfreebsd-amd64: mini_httpd.c:102:19: error: 
conflicting types for 'int64_t'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
815339: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=815339
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: mini-httpd
Version: 1.21-1
Severity: important

Hi,

mini-httpd FTBFS on kfreebsd-amd64: 

https://buildd.debian.org/status/fetch.php?pkg=mini-httpd&arch=kfreebsd-amd64&ver=1.21-1&stamp=1442356830

 debian/rules build-arch
dh build-arch
   dh_testdir -a
   dh_auto_configure -a
   dh_auto_build -a
make -j1
make[1]: Entering directory '/«PKGBUILDDIR»'
rm -f mime_encodings.h
sed < mime_encodings.txt > mime_encodings.h \
  -e 's/#.*//' -e 's/[  ]*$//' -e '/^$/d' \
  -e 's/[   ][  ]*/", 0, "/' -e 's/^/{ "/' -e 's/$/", 0 },/'
rm -f mime_types.h
sed < mime_types.txt > mime_types.h \
  -e 's/#.*//' -e 's/[  ]*$//' -e '/^$/d' \
  -e 's/[   ][  ]*/", 0, "/' -e 's/^/{ "/' -e 's/$/", 0 },/'
cc -Wl,-z,relro -s `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get 
CFLAGS` `dpkg-buildflags --get LDFLAGS` -c mini_httpd.c
mini_httpd.c:102:19: error: conflicting types for 'int64_t'
 typedef long long int64_t;
   ^
In file included from /usr/include/sys/kglue/sys/types.h:77:0,
 from /usr/include/sys/kglue/sys/param.h:94,
 from /usr/include/sys/kern/param.h:1,
 from /usr/include/osreldate.h:1,
 from /usr/include/x86_64-kfreebsd-gnu/bits/param.h:36,
 from /usr/include/x86_64-kfreebsd-gnu/sys/param.h:31,
 from mini_httpd.c:38:
/usr/include/sys/_stdint.h:49:20: note: previous declaration of 'int64_t' was 
here
 typedef __int64_t  int64_t;
^
[...]


Andreas
--- End Message ---
--- Begin Message ---
Version: 1.23-1.1

This bug was duplicated and the bug closed was #825713.
Fixed and closed in version 1.23-1.1 by Mattia Rizzolo.

Håvard--- End Message ---