[packages/aravis] - updated to 0.8.1 - removed obsolete format patch

qboosh qboosh at pld-linux.org
Thu Sep 3 22:29:45 CEST 2020


commit a568cde55673aad2f006e02dd0511af8283b3f27
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Sep 3 22:32:22 2020 +0200

    - updated to 0.8.1
    - removed obsolete format patch

 aravis-format.patch | 137 ----------------------------------------------------
 aravis.spec         |   6 +--
 2 files changed, 2 insertions(+), 141 deletions(-)
---
diff --git a/aravis.spec b/aravis.spec
index 3d5423e..085b804 100644
--- a/aravis.spec
+++ b/aravis.spec
@@ -6,13 +6,12 @@
 Summary:	Aravis digital video camera acquisition library
 Summary(pl.UTF-8):	Aravis - biblioteka do pobierania obrazu z kamer cyfrowych
 Name:		aravis
-Version:	0.8.0
+Version:	0.8.1
 Release:	1
 License:	LGPL v2+
 Group:		Libraries
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/aravis/0.8/%{name}-%{version}.tar.xz
-# Source0-md5:	8e2f66fbd0cc715cb5794be592063c37
-Patch0:		%{name}-format.patch
+# Source0-md5:	b2e57dc6b64a62144641cd53236442c6
 URL:		https://wiki.gnome.org/Projects/Aravis
 BuildRequires:	appstream-glib
 BuildRequires:	audit-libs-devel
@@ -127,7 +126,6 @@ Aravis.
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
 %meson build \
diff --git a/aravis-format.patch b/aravis-format.patch
deleted file mode 100644
index 1aba08d..0000000
--- a/aravis-format.patch
+++ /dev/null
@@ -1,137 +0,0 @@
---- aravis-0.8.0/src/arvgvstream.c.orig	2020-08-17 15:26:01.681058000 +0200
-+++ aravis-0.8.0/src/arvgvstream.c	2020-08-19 18:19:13.369731905 +0200
-@@ -314,7 +314,7 @@
- 	block_end = block_size + block_offset;
- 
- 	if (block_end > frame->buffer->priv->size) {
--		arv_debug_stream_thread ("[GvStream::process_data_block] %" G_GUINT64_FORMAT " unexpected bytes in packet %u "
-+		arv_debug_stream_thread ("[GvStream::process_data_block] %" G_GINTPTR_FORMAT " unexpected bytes in packet %u "
- 					 " for frame %" G_GUINT64_FORMAT,
- 					 block_end - frame->buffer->priv->size,
- 					 packet_id, frame->frame_id);
-@@ -1333,7 +1333,7 @@
- 		thread_data = priv->thread_data;
- 
- 		statistic_string = arv_statistic_to_string (thread_data->statistic);
--		arv_debug_stream (statistic_string);
-+		arv_debug_stream ("%s", statistic_string);
- 		g_free (statistic_string);
- 		arv_statistic_free (thread_data->statistic);
- 
---- aravis-0.8.0/src/arvuvdevice.c.orig	2020-08-17 15:26:01.683058000 +0200
-+++ aravis-0.8.0/src/arvuvdevice.c	2020-08-19 18:36:37.887406601 +0200
-@@ -468,9 +468,9 @@
- 	}
- 
- 	arv_debug_device ("MAX_DEVICE_RESPONSE_TIME = 0x%08x", response_time);
--	arv_debug_device ("DEVICE_CAPABILITY        = 0x%016lx", device_capability);
--	arv_debug_device ("SRBM_ADDRESS =             0x%016lx", offset);
--	arv_debug_device ("MANIFEST_TABLE_ADDRESS =   0x%016lx", manifest_table_address);
-+	arv_debug_device ("DEVICE_CAPABILITY        = 0x%016" G_GINT64_MODIFIER "x", device_capability);
-+	arv_debug_device ("SRBM_ADDRESS =             0x%016" G_GINT64_MODIFIER "x", offset);
-+	arv_debug_device ("MANIFEST_TABLE_ADDRESS =   0x%016" G_GINT64_MODIFIER "x", manifest_table_address);
- 
- 	priv->timeout_ms = MAX (ARV_UVCP_DEFAULT_RESPONSE_TIME_MS, response_time);
- 
-@@ -486,7 +486,7 @@
- 	arv_debug_device ("U3VCP_CAPABILITY =         0x%08x", u3vcp_capability);
- 	arv_debug_device ("MAX_CMD_TRANSFER =         0x%08x", max_cmd_transfer);
- 	arv_debug_device ("MAX_ACK_TRANSFER =         0x%08x", max_ack_transfer);
--	arv_debug_device ("SIRM_OFFSET =              0x%016lx", sirm_offset);
-+	arv_debug_device ("SIRM_OFFSET =              0x%016" G_GINT64_MODIFIER "x", sirm_offset);
- 
- 	priv->cmd_packet_size_max = MIN (priv->cmd_packet_size_max, max_cmd_transfer);
- 	priv->ack_packet_size_max = MIN (priv->ack_packet_size_max, max_ack_transfer);
-@@ -509,7 +509,7 @@
- 
- 	arv_debug_device ("SI_INFO =                  0x%08x", si_info);
- 	arv_debug_device ("SI_CONTROL =               0x%08x", si_control);
--	arv_debug_device ("SI_REQ_PAYLOAD_SIZE =      0x%016lx", si_req_payload_size);
-+	arv_debug_device ("SI_REQ_PAYLOAD_SIZE =      0x%016" G_GINT64_MODIFIER "x", si_req_payload_size);
- 	arv_debug_device ("SI_REQ_LEADER_SIZE =       0x%08x", si_req_leader_size);
- 	arv_debug_device ("SI_REQ_TRAILER_SIZE =      0x%08x", si_req_trailer_size);
- 	arv_debug_device ("SI_MAX_LEADER_SIZE =       0x%08x", si_max_leader_size);
-@@ -526,15 +526,15 @@
- 		return FALSE;
- 	}
- 
--	arv_debug_device ("MANIFEST_N_ENTRIES =       0x%016lx", manifest_n_entries);
-+	arv_debug_device ("MANIFEST_N_ENTRIES =       0x%016" G_GINT64_MODIFIER "x", manifest_n_entries);
- 
- 	string = g_string_new ("");
- 	arv_g_string_append_hex_dump (string, &entry, sizeof (entry));
- 	arv_debug_device ("MANIFEST ENTRY\n%s", string->str);
- 	g_string_free (string, TRUE);
- 
--	arv_debug_device ("genicam address =          0x%016lx", entry.address);
--	arv_debug_device ("genicam size    =          0x%016lx", entry.size);
-+	arv_debug_device ("genicam address =          0x%016" G_GINT64_MODIFIER "x", entry.address);
-+	arv_debug_device ("genicam size    =          0x%016" G_GINT64_MODIFIER "x", entry.size);
- 
- 	data = g_malloc0 (entry.size);
- 	success = success && arv_device_read_memory (device, entry.address, entry.size, data, NULL);
---- aravis-0.8.0/src/arvuvstream.c.orig	2020-08-17 15:26:01.683058000 +0200
-+++ aravis-0.8.0/src/arvuvstream.c	2020-08-19 18:39:27.603153838 +0200
-@@ -171,7 +171,7 @@
- 				case ARV_UVSP_PACKET_TYPE_TRAILER:
- 					if (buffer != NULL) {
- 						arv_log_stream_thread ("Received %" G_GUINT64_FORMAT
--								       " bytes - expected %" G_GUINT64_FORMAT,
-+								       " bytes - expected %zu",
- 								       offset, buffer->priv->size);
- 
- 						/* If the image was incomplete, drop the frame and try again. */
-@@ -287,7 +287,7 @@
- 	alignment = 1 << ((si_info & ARV_SI_INFO_ALIGNMENT_MASK) >> ARV_SI_INFO_ALIGNMENT_SHIFT);
- 
- 	arv_debug_stream ("SI_INFO            =       0x%08x", si_info);
--	arv_debug_stream ("SI_REQ_PAYLOAD_SIZE =      0x%016lx", si_req_payload_size);
-+	arv_debug_stream ("SI_REQ_PAYLOAD_SIZE =      0x%016" G_GINT64_MODIFIER "x", si_req_payload_size);
- 	arv_debug_stream ("SI_REQ_LEADER_SIZE =       0x%08x", si_req_leader_size);
- 	arv_debug_stream ("SI_REQ_TRAILER_SIZE =      0x%08x", si_req_trailer_size);
- 
---- aravis-0.8.0/src/arvzip.c.orig	2020-08-17 15:26:01.683058000 +0200
-+++ aravis-0.8.0/src/arvzip.c	2020-08-19 18:50:28.016242740 +0200
-@@ -86,7 +86,7 @@
- 		ptr = zip->buffer + zip->header_size + offset;
- 		if (ARV_GUINT32_FROM_LE_PTR (ptr, 0) != 0x02014b50) {
- 			arv_debug_misc ("[Zip::build_file_list] Magic number of central directory not found (0x02014b50)");
--			arv_debug_misc ("[Zip::build_file_list] Expected at 0x%" G_GINT64_MODIFIER "x - found 0x%08x instead",
-+			arv_debug_misc ("[Zip::build_file_list] Expected at 0x%" G_GSIZE_MODIFIER "x - found 0x%08x instead",
- 					zip->header_size + offset, ARV_GUINT32_FROM_LE_PTR (ptr, 0));
- 		       	return;
- 		}
-@@ -191,9 +191,9 @@
-         zip->header_size = zip->directory_position - (zip->directory_offset + zip->directory_size);
- 
- 	arv_log_misc ("[Zip::new] number of files = %d", zip->n_files);
--	arv_log_misc ("[Zip::new] directory position = 0x%08" G_GINT64_MODIFIER "x", zip->directory_position);
-+	arv_log_misc ("[Zip::new] directory position = 0x%08" G_GINTPTR_MODIFIER "x", zip->directory_position);
- 	arv_log_misc ("[Zip::new] directory size = %" G_GSIZE_FORMAT, zip->directory_size);
--	arv_log_misc ("[Zip::new] directory offset = 0x%08" G_GINT64_MODIFIER "x", zip->directory_offset);
-+	arv_log_misc ("[Zip::new] directory offset = 0x%08" G_GINTPTR_MODIFIER "x", zip->directory_offset);
- 	arv_log_misc ("[Zip::new] header size = %" G_GSIZE_FORMAT, zip->header_size);
- 
-         arv_zip_build_file_list (zip);
---- aravis-0.8.0/src/arvgvsp.c.orig	2020-08-17 15:26:01.681058000 +0200
-+++ aravis-0.8.0/src/arvgvsp.c	2020-08-19 18:51:36.585871266 +0200
-@@ -180,7 +180,7 @@
- 				arv_gvsp_packet_get_frame_id (packet),
- 				arv_gvsp_packet_has_extended_ids (packet) ? " extended" : "");
- 	g_string_append_printf (string, "packet_id    = %8u\n", arv_gvsp_packet_get_packet_id (packet));
--	g_string_append_printf (string, "data_size    = %8" G_GUINT64_FORMAT "\n", arv_gvsp_packet_get_data_size (packet, packet_size));
-+	g_string_append_printf (string, "data_size    = %8" G_GSIZE_FORMAT "\n", arv_gvsp_packet_get_data_size (packet, packet_size));
- 
- 	switch (content_type) {
- 		case ARV_GVSP_CONTENT_TYPE_DATA_LEADER:
---- aravis-0.8.0/tests/loadhttptest.c.orig	2020-08-17 15:26:01.685058000 +0200
-+++ aravis-0.8.0/tests/loadhttptest.c	2020-08-19 18:52:16.952319249 +0200
-@@ -45,7 +45,7 @@
- 
- 	g_strfreev (tokens);
- 
--	printf ("size = %lu\n", len);
-+	printf ("size = %" G_GSIZE_FORMAT "\n", len);
- 	printf ("%s\n", genicam != NULL ? genicam : "NULL");
- 
- 	g_free (genicam);
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/aravis.git/commitdiff/a568cde55673aad2f006e02dd0511af8283b3f27



More information about the pld-cvs-commit mailing list