From patchwork Tue Apr 9 12:38:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?0KDRg9GB0LvQsNC9INCY0LbQsdGD0LvQsNGC0L7Qsg==?= X-Patchwork-Id: 10891203 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3F74C1515 for ; Tue, 9 Apr 2019 12:39:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2E17E285AF for ; Tue, 9 Apr 2019 12:39:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 22852286B1; Tue, 9 Apr 2019 12:39:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9504D20121 for ; Tue, 9 Apr 2019 12:39:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726774AbfDIMjA (ORCPT ); Tue, 9 Apr 2019 08:39:00 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:43327 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726388AbfDIMjA (ORCPT ); Tue, 9 Apr 2019 08:39:00 -0400 Received: by mail-lj1-f195.google.com with SMTP id f18so14285596lja.10 for ; Tue, 09 Apr 2019 05:38:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=jaR1tZINzpIPijy6aornrvZC+Rv9wHDbKeMRDATMYz8=; b=VjWZrKAvrEc9m6cfP5HJq3+JkRZsp3xGiNWOnydZoYOuaPbQcjG+zi1EaKabfhzOt9 F+Xj8FmTgxjtuyT1rENOYE2BcWbDM4uBji7aMcDMaoWONQrnV+HCYcmEDa4P6IMgzFAW jZtATT5EBxufbUgRjhyNQKfydhZD7HXZAhvp5lHmMvVqfAnGIWcKvoAJR+5W9oCP0ThW vmi0iRXDnsBvGDtT+fxKToa/jNqsNXmY+Kn3DCCRX0d7TBZKpSB/nLcSzLFJkp0yYktZ FCFmFgiKjbla0cWIzKTmAU22dNPz+QrsYb/E/aRHldux46bjLQLeFNXSYpoVDbyEV78U oEdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=jaR1tZINzpIPijy6aornrvZC+Rv9wHDbKeMRDATMYz8=; b=i5Uq5B5rO6YS60xufmNbAe54gEIgFaC3NnX7vXz1ebEmts8tjCu/dV3O8orHtgrO8a mpbW5UQ7o3DjTBfVmUHvOANT0piy6X/IjZyDjqUwoymNuLRH6DUV2T2sgEAspZhKa8gi A1Tn3E0snLOn4kCR7euYOUdVwrGTeBx5Z2hqUDqNuovnq/niYjiBcY/GFYaJdPHGix8i MdM48FgoBCrPkFdvSicPp6yArPXGh935inf5IlH42PW2wM/i6RJd3cSv0abAwWqr4U88 C0m3ClqKMuOygoNjH6D8lRAYFMFhp5eceFGxw4Ke9seShFQZKBZUyyTg7/63ezZ/nzZP MKtg== X-Gm-Message-State: APjAAAWLmvqNNFf02R/HEnvLms2ii2HxHdSAnStadL6hzplo2hqFigoT Yipj9HXi60U9zeG+KA3wxozZtx3d X-Google-Smtp-Source: APXvYqyKaC11VhufmknXyiyapS+F9ZDoRTeAONHESPCJzDLrwsQU+CW8gke+ZumYE/64Qc5t3k5ZQg== X-Received: by 2002:a2e:9211:: with SMTP id k17mr19273255ljg.46.1554813538115; Tue, 09 Apr 2019 05:38:58 -0700 (PDT) Received: from localhost.localdomain (broadband-95-84-200-6.ip.moscow.rt.ru. [95.84.200.6]) by smtp.gmail.com with ESMTPSA id t23sm6749976ljc.13.2019.04.09.05.38.56 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Apr 2019 05:38:56 -0700 (PDT) From: =?utf-8?b?0KDRg9GB0LvQsNC9INCY0LbQsdGD0LvQsNGC0L7Qsg==?= To: linux-media@vger.kernel.org Subject: [PATCH 1/8] [PATCH for ZBar] Include windows.h for vfw Date: Tue, 9 Apr 2019 12:38:35 +0000 Message-Id: <20190409123842.19600-2-lrn1986@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190409123842.19600-1-lrn1986@gmail.com> References: <20190409123842.19600-1-lrn1986@gmail.com> MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP vfw.h can't be included without windows.h to supply basic type definitions. Signed-off-by: Руслан Ижбулатов --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 58b97ec..6e092e0 100644 --- a/configure.ac +++ b/configure.ac @@ -257,7 +257,7 @@ configure --disable-video to skip building video support.])], )], [AC_CHECK_HEADERS([vfw.h], [with_video="vfw"], [AC_MSG_FAILURE([test for VfW video support failed! -configure --disable-video to skip building video support.])])]) +configure --disable-video to skip building video support.])],[#include ])]) AS_IF([test "x$have_libv4l" = "xyes"], [PKG_CHECK_MODULES([V4L2], [libv4l2], [], From patchwork Tue Apr 9 12:38:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?0KDRg9GB0LvQsNC9INCY0LbQsdGD0LvQsNGC0L7Qsg==?= X-Patchwork-Id: 10891205 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5B89B139A for ; Tue, 9 Apr 2019 12:39:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 48F7E1FF41 for ; Tue, 9 Apr 2019 12:39:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3D300286EC; Tue, 9 Apr 2019 12:39:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 26DB11FF41 for ; Tue, 9 Apr 2019 12:39:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727067AbfDIMjC (ORCPT ); Tue, 9 Apr 2019 08:39:02 -0400 Received: from mail-lj1-f182.google.com ([209.85.208.182]:42710 "EHLO mail-lj1-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726388AbfDIMjC (ORCPT ); Tue, 9 Apr 2019 08:39:02 -0400 Received: by mail-lj1-f182.google.com with SMTP id v22so14294493lje.9 for ; Tue, 09 Apr 2019 05:39:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=vphQ1KAW5FgX4Y5LZCSEo1skpeCR2AiQicekma3GEkE=; b=iuf2tZuiiCLpr/BJtzdVdJpgQXDysx9G7dhVSVn+0F4KTxzJjazSoA+3ek5IQe+A0L wSeOu04C1SuLcy0uPnTgKhyP5lxXCa6LFhjVTjseZpiNcXggT2kPHppn7l7CFsNHarPR 2vTNNkO/XctWRUTpJ+Q9xQBCYE9vMMfYfMDZz3RKJhwauYHX++mmWpB/Kw9aX49iI5Df oM6s+kphcymycNhoK+64BgBkQK8Ke8xugn39+S3Hn657oBw+BEYHdW2tDzu/aiPd064S YdV4A0+OFy1stxNgrfT200wWX9tyUYjZzsVy/Nfg+9hIR5XSWI4zz/Ut/zSIYjHaa4rb Juog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=vphQ1KAW5FgX4Y5LZCSEo1skpeCR2AiQicekma3GEkE=; b=TisCf6R6Lw/kQS/mmqzh5e9FHgcYlTBgrF9VEtHEW2cBix5IwUZmAioH6/eFN/3hed CT2Yux26dmKxahj7UOO+fUv3v4jXWLyfLG0MvrR1xw6O1ipYOFa6/gy1hfsX4W0RKqsV cDc4n/g8LyXuQgL+75L+PoxoXDZkd0nqIABrwj1B400tI94zeCpqCJuFuL2CRo2HsPpq /8HZ5xgxBOxiMtsWze/9zWc/YYU5MHElkVjZuazNe7vTklI540gkCeskPSDOL5svd/11 ro3I47610opI3oD9kt1PCIWA43PCVH+K71lKOrmMB9Q9P55yJeeC48bCis+U8uD8w+4G ciHQ== X-Gm-Message-State: APjAAAWGWOnCJd+onRxasCRLInmEETNTBi+jJXahsxGDg4DJo1Z6cbuY w0qhOLejJCLoDNAwtqFQefPKtBbi X-Google-Smtp-Source: APXvYqxQFeCZuIJtXgcl8GZtaxJ2u40DrOUkhcDz/fB+Tg1YUF8Iehs2MxaUR1C4BciY5371miZBWQ== X-Received: by 2002:a2e:380c:: with SMTP id f12mr20609868lja.116.1554813539648; Tue, 09 Apr 2019 05:38:59 -0700 (PDT) Received: from localhost.localdomain (broadband-95-84-200-6.ip.moscow.rt.ru. [95.84.200.6]) by smtp.gmail.com with ESMTPSA id t23sm6749976ljc.13.2019.04.09.05.38.58 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Apr 2019 05:38:58 -0700 (PDT) From: =?utf-8?b?0KDRg9GB0LvQsNC9INCY0LbQsdGD0LvQsNGC0L7Qsg==?= To: linux-media@vger.kernel.org Subject: [PATCH 2/8] [PATCH for ZBar] Specify correct path to barcode.png Date: Tue, 9 Apr 2019 12:38:36 +0000 Message-Id: <20190409123842.19600-3-lrn1986@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190409123842.19600-1-lrn1986@gmail.com> References: <20190409123842.19600-1-lrn1986@gmail.com> MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP $(srcdir)/examples/barcode.png does not exist anymore. Signed-off-by: Руслан Ижбулатов --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index c767d15..a9367b3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -73,7 +73,7 @@ EXTRA_DIST += perl/MANIFEST perl/README perl/Changes perl/COPYING.LIB \ if WIN32 dist_doc_DATA += README.windows -pkgdata_DATA = $(srcdir)/examples/barcode.png \ +pkgdata_DATA = $(srcdir)/python/test/barcode.png \ $(srcdir)/examples/scan_image.cpp $(srcdir)/examples/scan_image.vcproj %-rc.o: %.rc From patchwork Tue Apr 9 12:38:37 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?0KDRg9GB0LvQsNC9INCY0LbQsdGD0LvQsNGC0L7Qsg==?= X-Patchwork-Id: 10891207 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0BD76139A for ; Tue, 9 Apr 2019 12:39:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EC5E41FF41 for ; Tue, 9 Apr 2019 12:39:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E0ACE285AF; Tue, 9 Apr 2019 12:39:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 958621FF41 for ; Tue, 9 Apr 2019 12:39:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727070AbfDIMjE (ORCPT ); Tue, 9 Apr 2019 08:39:04 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:34443 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726998AbfDIMjD (ORCPT ); Tue, 9 Apr 2019 08:39:03 -0400 Received: by mail-lj1-f196.google.com with SMTP id j89so14331739ljb.1 for ; Tue, 09 Apr 2019 05:39:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=4BnoWbgXHtvf1H91JDEte0uHKbOJFblYSgHxkNUsYso=; b=tYOB4DgYx6ERJ8ffZdcWV0lqi8oMGMTkOJDBZw+js3CsqzPIEkZ6DFr9U2PM+mbwm/ MYuR5TeJe861gXihryNLEWt8eRFYp/GEQvLCCqQdA+CfYPLVGLY7AA6lJVskugRVPjuO 3i5j5Z68hKVxCKvAd7nIN7c6KJ1JxtTLAUxuf5BzkxnQw6CzYnjJP5r33h9YnkBlY2Fn WT/8du56Xrh1mMxD/lLVnCHLZMogpzDcx4e/xRxYR6I6x/9qDLxKe5lLpa3OFzVDpde6 L0nK9nidHU+lSqIz5MJnzQs55kbFGwUkT6Hk432NV4n/fMRD2f8jSKIoL0SgraIFJK4F POkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4BnoWbgXHtvf1H91JDEte0uHKbOJFblYSgHxkNUsYso=; b=MFITXZAmfTKVAF7YUiBUn5FLW8e2WwvVaqONQEx/SVgtIWcLmUnEJzdmc6O7IQNO+c 6Kjcw+LtoFjPvCx1mL1f8BLXUx9FKbwL/mjhkFMjQ738fcNXADmRHXxlkwUKD2QlXPdX LqnTdjCesCXJMdwkin19akGwlZ3gArgnPFEwR+TNQHsTDVfG1faqjpFYm3nhWqpEvNzQ c6KoefP1R0AhYp9+cNSNQ80oeJbhodcg8RqRYQ1RSE57Yspy92WnsgUGros6TDqZBA4o qjMCTOvnPtSulu0mhmyhSOPJddUuxgeMC+YTJfrIdMp6cLzTibkHDxQjdo1rgJ+/kTHJ t3/Q== X-Gm-Message-State: APjAAAVpU3hu902Z+LqbPF3W2iy2gqCRjlOIQnFxRV7UIslk/aMSnQEG UOuqvBQ9M/Bp1KkDFL0uUF1tuMk/ X-Google-Smtp-Source: APXvYqzCkfQ7fRuoqwVcO3j30k4jxWbFiQngQnCqxwKY9LoMCI+zGIMY2b8/3nK7ODug/rgbshzflQ== X-Received: by 2002:a2e:8550:: with SMTP id u16mr13067978ljj.11.1554813540974; Tue, 09 Apr 2019 05:39:00 -0700 (PDT) Received: from localhost.localdomain (broadband-95-84-200-6.ip.moscow.rt.ru. [95.84.200.6]) by smtp.gmail.com with ESMTPSA id t23sm6749976ljc.13.2019.04.09.05.38.59 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Apr 2019 05:38:59 -0700 (PDT) From: =?utf-8?b?0KDRg9GB0LvQsNC9INCY0LbQsdGD0LvQsNGC0L7Qsg==?= To: linux-media@vger.kernel.org Subject: [PATCH 3/8] [PATCH for ZBar] Check for clock_gettime on pthread library as well Date: Tue, 9 Apr 2019 12:38:37 +0000 Message-Id: <20190409123842.19600-4-lrn1986@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190409123842.19600-1-lrn1986@gmail.com> References: <20190409123842.19600-1-lrn1986@gmail.com> MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP On Windows that function might be in libpthread. Signed-off-by: Руслан Ижбулатов --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 6e092e0..3224888 100644 --- a/configure.ac +++ b/configure.ac @@ -183,7 +183,7 @@ ZBAR_CHK_CODE([pdf417], [PDF417 symbology (incomplete)]) dnl libraries -AC_SEARCH_LIBS([clock_gettime], [rt]) +AC_SEARCH_LIBS([clock_gettime], [rt pthread]) AM_ICONV() dnl libraries linkage From patchwork Tue Apr 9 12:38:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?0KDRg9GB0LvQsNC9INCY0LbQsdGD0LvQsNGC0L7Qsg==?= X-Patchwork-Id: 10891209 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7F82A1805 for ; Tue, 9 Apr 2019 12:39:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6C3111FF41 for ; Tue, 9 Apr 2019 12:39:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 607CA285AF; Tue, 9 Apr 2019 12:39:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0F4F720121 for ; Tue, 9 Apr 2019 12:39:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727110AbfDIMjF (ORCPT ); Tue, 9 Apr 2019 08:39:05 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:42571 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726388AbfDIMjE (ORCPT ); Tue, 9 Apr 2019 08:39:04 -0400 Received: by mail-lj1-f193.google.com with SMTP id v22so14294638lje.9 for ; Tue, 09 Apr 2019 05:39:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=1xN5DUo7WPUJzr6sXLTceZWuvITTVSaglvf0OIWVNdg=; b=o6mA+beiEV0wlmbBwk9Sdkfx8QY63+Stdx66XE3hwak1YDEw6rgU63vHWbwuw8MWEB /2wCjcO+dFSpW+4x+9CDq0IWh9m8KAmIybF4XS6cBWgftmJqXiPfeXEj8d8bhQ4KCigh S3lFMEmT4nkjthtrNGw4rikTfPzePZMRw09YdZ7ArsrE1Mv2cX+hyx2lNtB+L6GUh5Pn Ke/W2ZqoGir3jRhsTvSOSgbO6+m8SdlsZku5Vw/RgzxEIc0aKxHnTEG5Y8zoUq/tp7Bu QF3RKIJpmdidU5IKQD5IbLQn6aUMcLTuQILdRu/UtiVTYDkv0BvDC4hJKGhcu2nwHgwG iHBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=1xN5DUo7WPUJzr6sXLTceZWuvITTVSaglvf0OIWVNdg=; b=XgZ90Dd1U4Nj8aF9X8LP37J0eMK2DcygAGueQs5nzUx0eQooh08e42FHRE5BaifE6h Rc/1IR5ShqJBr/rAOAB394Jj86FVtY07q5xuLjkDubg1WTZRf+KOfmG/6WzyBgsz5BFh xG3n7Pt/w8Y2UnxE9e0EWdyTwjgk0LLQYCrfyhwrkaCwqIzkrf5/xkHHC0wsGQbqgO1X po+ylWki+deHCtytfMxBgxLBATbaVIqEKOTmw5ui4dvBnXu3ksKzcn5BozWj7HFbBH6s ReNs3YPq6zZXJ6RjScOds15p5Y1QUJeE+Ouds4fCXxennGmCj07r/0y+GaSI8j35tj7l Jp0w== X-Gm-Message-State: APjAAAUK4XOwAhtrs2hH4VNrWKXUBBpColRn4D/61gfxgD/zQH2TX6lY O58khZgwbgrGoeF5wL+HdKKxBt/Y X-Google-Smtp-Source: APXvYqxEBA2kffCrAX+HHrA1V0Q/rXagzLklt/eFCd4CPsH1DtTOR7QHyqdgwJq102E6mg7va/Lb3g== X-Received: by 2002:a2e:9a0f:: with SMTP id o15mr19374354lji.130.1554813542394; Tue, 09 Apr 2019 05:39:02 -0700 (PDT) Received: from localhost.localdomain (broadband-95-84-200-6.ip.moscow.rt.ru. [95.84.200.6]) by smtp.gmail.com with ESMTPSA id t23sm6749976ljc.13.2019.04.09.05.39.01 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Apr 2019 05:39:01 -0700 (PDT) From: =?utf-8?b?0KDRg9GB0LvQsNC9INCY0LbQsdGD0LvQsNGC0L7Qsg==?= To: linux-media@vger.kernel.org Subject: [PATCH 4/8] [PATCH for ZBar] Disable zbarcam-gtk on Windows Date: Tue, 9 Apr 2019 12:38:38 +0000 Message-Id: <20190409123842.19600-5-lrn1986@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190409123842.19600-1-lrn1986@gmail.com> References: <20190409123842.19600-1-lrn1986@gmail.com> MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP It requires scan_video.c, which includes linux/videodev2.h, so the code is clearly not meant to be built for Windows, even if GTK is available there. Signed-off-by: Руслан Ижбулатов --- zbarcam/Makefile.am.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zbarcam/Makefile.am.inc b/zbarcam/Makefile.am.inc index b112783..ad16d3c 100644 --- a/zbarcam/Makefile.am.inc +++ b/zbarcam/Makefile.am.inc @@ -5,12 +5,14 @@ zbarcam_zbarcam_LDADD = zbar/libzbar.la CLEANFILES += zbarcam/.libs/zbarcam zbarcam/moc_zbarcam_qt.h if HAVE_GTK +if !WIN32 bin_PROGRAMS += zbarcam/zbarcam-gtk zbarcam_zbarcam_gtk_SOURCES = zbarcam/zbarcam-gtk.c zbarcam/scan_video.c zbarcam_zbarcam_gtk_CPPFLAGS = $(GTK_CFLAGS) $(AM_CPPFLAGS) zbarcam_zbarcam_gtk_LDADD = $(GTK_LIBS) gtk/libzbargtk.la zbar/libzbar.la \ $(AM_LDADD) endif +endif if HAVE_QT bin_PROGRAMS += zbarcam/zbarcam-qt From patchwork Tue Apr 9 12:38:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?0KDRg9GB0LvQsNC9INCY0LbQsdGD0LvQsNGC0L7Qsg==?= X-Patchwork-Id: 10891211 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D1935139A for ; Tue, 9 Apr 2019 12:39:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BBD5220121 for ; Tue, 9 Apr 2019 12:39:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ACCF7286B1; Tue, 9 Apr 2019 12:39:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5EB8620121 for ; Tue, 9 Apr 2019 12:39:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727116AbfDIMjG (ORCPT ); Tue, 9 Apr 2019 08:39:06 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:37975 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727030AbfDIMjG (ORCPT ); Tue, 9 Apr 2019 08:39:06 -0400 Received: by mail-lj1-f196.google.com with SMTP id p14so14298034ljg.5 for ; Tue, 09 Apr 2019 05:39:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=uixlQWwEyyKlq/iUFu337hzeJWP6UFu2/vD/88ZGijA=; b=BekEkR7YSdJ5PXQED+5etkPybEQfnzhQ6OJRocyxW9HwZwvXs0I6lQe3gmzALNp+YB lb9rWZCezbcFd19VsBW99qiu+GtyviwfG7qyQOB3Eya+HpZfzVn4UjksHJqOxzzUG36R T41gK9Y9xgripeZxUBXLonobhg2FtvgJ1AM1t+H3bJUmqYfNf+oe+LTocFeQeNK/78Dp 8R073ETOkBmVv9vrhcN6FSoNM8FG0z7cN6Oag/xdwM4ED0bE3XF2QsRfYerJh99PtdlB cykF20UTgqdsiINEZVL7ckdmt/t1CeQ3edETTfpq8hcFZhcp35PMR3YhcmHKMPcVhudC v1Mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=uixlQWwEyyKlq/iUFu337hzeJWP6UFu2/vD/88ZGijA=; b=OdWp2FG5N4sDgjsFdzKZZqbQhLzoPeb1uNDGOE+MnMaieIFYTsUJTH9xgOGxhMWkKB WH6CRV3OyjWzjWl/J3Ivf9E/Gfw09a6ja5oM9vL0BwBhbMm6FyGZ6vMKgPB8nGfsBWD2 +NO9oMja0UPED7BZJJxYeTw4q4uaHN0cXFs6wQSyVYOZs+8dogwe7DYuXgawlAk+VQSu 5O/I9gWmEUYku/6rL2AW1seFL3TCPNJMvl7RfBjxhvToN97CShNW6l44SGPi2Ag6efx8 zwCr3Xannygqy5hoVNfMSgR2mXcEB02crIdOLbmlHZzo1A2QCEIwNVPgU9bN7zOGIf5v Vxwg== X-Gm-Message-State: APjAAAUNMoAr5Gwa6jfRajR55kf/8p8DRGLSzRYmheOAPYmuW76oqI58 kXDKZBDkdPTarJ8tQEuU5AI/8JLq X-Google-Smtp-Source: APXvYqw/7YQpqLc7ABlNPAHJBvPrv26XXks7ybBVxwZ8WNkLPSzXk0GAgnJx4KIf74Gw9yak/UHqIw== X-Received: by 2002:a2e:500d:: with SMTP id e13mr20698202ljb.169.1554813543688; Tue, 09 Apr 2019 05:39:03 -0700 (PDT) Received: from localhost.localdomain (broadband-95-84-200-6.ip.moscow.rt.ru. [95.84.200.6]) by smtp.gmail.com with ESMTPSA id t23sm6749976ljc.13.2019.04.09.05.39.02 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Apr 2019 05:39:02 -0700 (PDT) From: =?utf-8?b?0KDRg9GB0LvQsNC9INCY0LbQsdGD0LvQsNGC0L7Qsg==?= To: linux-media@vger.kernel.org Subject: [PATCH 5/8] [PATCH for ZBar] Use -no-undefined for libzbargtk Date: Tue, 9 Apr 2019 12:38:39 +0000 Message-Id: <20190409123842.19600-6-lrn1986@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190409123842.19600-1-lrn1986@gmail.com> References: <20190409123842.19600-1-lrn1986@gmail.com> MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP -no-undefined is required to build shlibs on Windows. Doesn't hurt on other platforms either (unless a shlib is built with undefined symbols by design, which is not the case here). Signed-off-by: Руслан Ижбулатов --- gtk/Makefile.am.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/Makefile.am.inc b/gtk/Makefile.am.inc index 406fd86..f7e8e6c 100644 --- a/gtk/Makefile.am.inc +++ b/gtk/Makefile.am.inc @@ -1,7 +1,7 @@ lib_LTLIBRARIES += gtk/libzbargtk.la gtk_libzbargtk_la_CPPFLAGS = -Igtk $(GTK_CFLAGS) $(AM_CPPFLAGS) gtk_libzbargtk_la_LDFLAGS = -version-info $(ZGTK_LIB_VERSION) \ - -export-symbols-regex "^zbar_gtk_.*" $(AM_LDFLAGS) + -export-symbols-regex "^zbar_gtk_.*" $(AM_LDFLAGS) -no-undefined gtk_libzbargtk_la_LIBADD = $(GTK_LIBS) zbar/libzbar.la $(AM_LIBADD) dist_gtk_libzbargtk_la_SOURCES = gtk/zbargtk.c gtk/zbargtkprivate.h From patchwork Tue Apr 9 12:38:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?0KDRg9GB0LvQsNC9INCY0LbQsdGD0LvQsNGC0L7Qsg==?= X-Patchwork-Id: 10891213 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 73B8D139A for ; Tue, 9 Apr 2019 12:39:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6134B20121 for ; Tue, 9 Apr 2019 12:39:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 55795286B1; Tue, 9 Apr 2019 12:39:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0989020121 for ; Tue, 9 Apr 2019 12:39:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727127AbfDIMjI (ORCPT ); Tue, 9 Apr 2019 08:39:08 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:35162 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726388AbfDIMjI (ORCPT ); Tue, 9 Apr 2019 08:39:08 -0400 Received: by mail-lj1-f194.google.com with SMTP id t4so14322062ljc.2 for ; Tue, 09 Apr 2019 05:39:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=NkoQb578JSAnE3igCN2DXs3A6JfOYuu1+qK77aGjoVc=; b=OjOWdGHKT2D0XN33+/sveqS6RWjx46nuKorLMjmk6WOdwEF0brfb+akCb+OhfVkKOp zdkut+bQ5NJjC1WgXUj0F6BTHysQEn2dhjkRoqXQ3CXu5vWVOLZr+mU4KM2i1r5FO6LA dwCvryq17sRrxtsEahX6HbckHD1GEWkR0E/VZdQPnW+g7VXqR4Mh5qw4hAUcNXTXF3ps 6MSpUxK3uXedqMvR/5ONEWlMnWaM/4P7x6zi28KuYOzaQVEsFW92mk75xQMJBAJNIsU3 ZHRFACD+RqDqZ/4MKKPKTn6m7RQdV1GwLK3E7SM2ubZxfCBGmChj4779K/M0UBfRhKEM gg+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=NkoQb578JSAnE3igCN2DXs3A6JfOYuu1+qK77aGjoVc=; b=Idxlx0aSXjJ4raYuGlOWHmBEEQVadGJ3az/uLdHSym3WcdFG7vwyKj2AlkGsKWLmVy qE0dXfzvXzttT1IiYdiMM8hTwXS3uzrj/oDmf9zYMfWXDM7LngHMQ3T+u7w03w6uz1dl 2IpL3/QCCopH5y/1eRUYXHAahC5GQ9U8HTvwkAq7DtijNQNKJ9ORvXNTqUCmBldAmged nmZdH/3fo9AVxS+NIrS3/QYDOlT+nWKMQibmCitna62QhY9upwqYfrrWEelOvgqvNAcb D5mnasDUVwseyW7YyqWQU4gEHEJpHMfPabIBcCItZ1mLduZx4U0HSOWYM/em5HHcF+Mb NeVQ== X-Gm-Message-State: APjAAAWpLx58HqGAj7+bwFHYRgPNPYQFQielGLpMS2Zmboqywjg2vHdS UnOuRUUEQu4kiqRGPwFxOq+eWOnv X-Google-Smtp-Source: APXvYqxOk4ISS4nSAVxvVRrF0eg9IB/7CGt969Dndo/bcHojhB3TM1tA/Te096DN8IpYFaohg0+Nfg== X-Received: by 2002:a2e:91cb:: with SMTP id u11mr18881535ljg.64.1554813545155; Tue, 09 Apr 2019 05:39:05 -0700 (PDT) Received: from localhost.localdomain (broadband-95-84-200-6.ip.moscow.rt.ru. [95.84.200.6]) by smtp.gmail.com with ESMTPSA id t23sm6749976ljc.13.2019.04.09.05.39.03 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Apr 2019 05:39:04 -0700 (PDT) From: =?utf-8?b?0KDRg9GB0LvQsNC9INCY0LbQsdGD0LvQsNGC0L7Qsg==?= To: linux-media@vger.kernel.org Subject: [PATCH 6/8] [PATCH for ZBar] Make zbargtk build on Windows Date: Tue, 9 Apr 2019 12:38:40 +0000 Message-Id: <20190409123842.19600-7-lrn1986@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190409123842.19600-1-lrn1986@gmail.com> References: <20190409123842.19600-1-lrn1986@gmail.com> MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The code is mostly platform-agnostic, except for this small part that is written for X. Add ifdefs with an appropriate W32 header, and call zbar_window_attach() with correct W32 arguments. Use HAVE_X as a condition. Signed-off-by: Руслан Ижбулатов --- gtk/zbargtk.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/gtk/zbargtk.c b/gtk/zbargtk.c index c7e05e3..595acfe 100644 --- a/gtk/zbargtk.c +++ b/gtk/zbargtk.c @@ -22,7 +22,11 @@ *------------------------------------------------------------------------*/ #include +#ifdef HAVE_X #include +#elif defined(_WIN32) +#include +#endif #include #include "zbargtkprivate.h" @@ -380,9 +384,15 @@ static void zbar_gtk_realize (GtkWidget *widget) gdk_window_set_back_pixmap(widget->window, NULL, TRUE); /* attach zbar_window to underlying X window */ +#ifdef HAVE_X if(zbar_window_attach(zbar->window, gdk_x11_drawable_get_xdisplay(widget->window), gdk_x11_drawable_get_xid(widget->window))) +#elif defined(_WIN32) + if(zbar_window_attach(zbar->window, + GDK_WINDOW_HWND (widget->window), + 0)) +#endif zbar_window_error_spew(zbar->window, 0); } From patchwork Tue Apr 9 12:38:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?0KDRg9GB0LvQsNC9INCY0LbQsdGD0LvQsNGC0L7Qsg==?= X-Patchwork-Id: 10891215 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 579691515 for ; Tue, 9 Apr 2019 12:39:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 42E9920121 for ; Tue, 9 Apr 2019 12:39:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 36F632868C; Tue, 9 Apr 2019 12:39:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E72A720121 for ; Tue, 9 Apr 2019 12:39:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727133AbfDIMjJ (ORCPT ); Tue, 9 Apr 2019 08:39:09 -0400 Received: from mail-lf1-f65.google.com ([209.85.167.65]:41408 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727030AbfDIMjI (ORCPT ); Tue, 9 Apr 2019 08:39:08 -0400 Received: by mail-lf1-f65.google.com with SMTP id 10so12174165lfr.8 for ; Tue, 09 Apr 2019 05:39:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=zTdJXWq0k+dcD89r7VXGae18kAgM7OT1o3BmJqWA25g=; b=VSJS8tliHyhAHx9w5PcegTxfTiXRV40/IxvTpR7HDJfSQeE1qJ6Xd33EQSBd/BaHTT 5lespF0aI/sqnz7pzM2xsez6q+IMbL5zIRGy3XqMvOismvJHAAw+BcyhVTHorMKan0tJ kBkVG2T9EU17+up2ZhDcH0jZHE53dx0wx0wSJ/yZgVeSTbZXEJ/BQMLG6a+625wvUAbp SqVC9qOtuwRST7ppiiBojxMIkDMtrCyhFGFd7e53OiMA/vTkFqBgjIWPEFNOY71t2G+g DRMGAcXDZVwi/HSHdxXdQxKBTacDit+u1Lxam+6pcGtIS8SDWJZV0/G44Z0eUUydHu6+ uGkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=zTdJXWq0k+dcD89r7VXGae18kAgM7OT1o3BmJqWA25g=; b=crldUKTX1ShIxyBKwiQfUZgd9Q1MucWH/nHqv7SGzlUrZYkw2chBhuXxEMY9UO3T0J 9cjtTRdg8aI8eVF7FfpIBLqvmSZ3PHehqb26PuwShjJeSCLiwJQduWHhXc1UybLtAgn9 1/+xfmL59vVu2wJGAJw2I1xjIBnOUYjjg6XNlhEeP8m9D9mUvafzg5+XxmvqFC4cN2Ea Qpqy2kDRr0/rjUGzSPpQiel8Z4irWLs5qXMxN0S42w8pDBwq7wlMOupC0oxKA9J9lBO4 15w1XnPxqAoXXVdWbzGCaeZ5J7ltlALyffgUr0LiH2BrMs2ia2Y2phx094mTLar5FTpR YUEw== X-Gm-Message-State: APjAAAWd6VZF5V7JTXeBp+NmDxqbb1PgElifncTAlZY2WENTCZSA7KU0 326k8xzyi5tmm878ov0oVBxtDhbR X-Google-Smtp-Source: APXvYqwnGq6f4wfUbFja2go3k++yLDerFv+Gjsp8OZS5IX8g97UD3UsEGTSYFVvPIvB+PuDqoxNu/w== X-Received: by 2002:ac2:5489:: with SMTP id t9mr7607273lfk.62.1554813546476; Tue, 09 Apr 2019 05:39:06 -0700 (PDT) Received: from localhost.localdomain (broadband-95-84-200-6.ip.moscow.rt.ru. [95.84.200.6]) by smtp.gmail.com with ESMTPSA id t23sm6749976ljc.13.2019.04.09.05.39.05 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Apr 2019 05:39:05 -0700 (PDT) From: =?utf-8?b?0KDRg9GB0LvQsNC9INCY0LbQsdGD0LvQsNGC0L7Qsg==?= To: linux-media@vger.kernel.org Subject: [PATCH 7/8] [PATCH for ZBar] Make use of glib thread names Date: Tue, 9 Apr 2019 12:38:41 +0000 Message-Id: <20190409123842.19600-8-lrn1986@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190409123842.19600-1-lrn1986@gmail.com> References: <20190409123842.19600-1-lrn1986@gmail.com> MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This is optional, but why not use it? Signed-off-by: Руслан Ижбулатов --- gtk/zbargtk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/zbargtk.c b/gtk/zbargtk.c index 595acfe..c16f05c 100644 --- a/gtk/zbargtk.c +++ b/gtk/zbargtk.c @@ -637,7 +637,7 @@ static void zbar_gtk_init (ZBarGtk *self) /* spawn a thread to handle decoding and video */ zbar->queue = g_async_queue_new(); - zbar->thread = g_thread_new(NULL, zbar_gtk_processing_thread, self); + zbar->thread = g_thread_new("zbar gtk processing thread", zbar_gtk_processing_thread, self); g_assert(zbar->thread); } From patchwork Tue Apr 9 12:38:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?0KDRg9GB0LvQsNC9INCY0LbQsdGD0LvQsNGC0L7Qsg==?= X-Patchwork-Id: 10891217 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BDA0B1515 for ; Tue, 9 Apr 2019 12:39:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AAA7120121 for ; Tue, 9 Apr 2019 12:39:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9F2592868C; Tue, 9 Apr 2019 12:39:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 518FD20121 for ; Tue, 9 Apr 2019 12:39:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727156AbfDIMjK (ORCPT ); Tue, 9 Apr 2019 08:39:10 -0400 Received: from mail-lf1-f48.google.com ([209.85.167.48]:36527 "EHLO mail-lf1-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727136AbfDIMjK (ORCPT ); Tue, 9 Apr 2019 08:39:10 -0400 Received: by mail-lf1-f48.google.com with SMTP id u17so2901369lfi.3 for ; Tue, 09 Apr 2019 05:39:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=W2Z+crpWWQ9K3AKqFVjRw49NJa9T6n13L/n1Aj8d1K0=; b=lfXq5J6qUSqVVQYv8D+LtMHt0EJFxwCVdpE7sdi8tsuqT8ivJMKT6HcoFg4OxeDKon 6N6YGK22o4oPjQPqr2Eu/s1JorQjpeFKaA6rE5WvoS1LXsXGkY0jadWkjdXMa/iG8lbK uduTM5aPHMT/7M8tWgWi7Xf4psPjnbunNmIg5IJJIeGeTjtG1FJQGxVhlKKpPJxW6Ru0 0SEGuko+xSKqBUpqsZevOd2aC5vH8S+ihTE8rbOLjGVPHaNhFShcp1v/QL/gNoiJqf3E Cr+5hiPh8XNNXMupyms18gooArGOAIxRwRK4eaM1S/3rDKtVSdl5kz3pqwb+kHwPqODz A/1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=W2Z+crpWWQ9K3AKqFVjRw49NJa9T6n13L/n1Aj8d1K0=; b=dHHay/xsxJ0QYicDqRxPgSPNOysmyV0ujfg/IqdyNhfX3eleMtkBopIj8sAsDFJ8KL G3uUzWRybtFrnCuZn//HMKp2mUyxSCMyjr3zloFblMdImE7QExxwXgYCKVU+6IJTFZmY 3+iMnsGIQwm6/OG9meBNtEMoPctrXKwU5xUXq2RHFQ2cLF3ZqG9mFzHp3JZ5Jw4Aruae 3Gb6IfHXP21fHeGTUC+ifWBi6lSwyLz5S9TwyuWa3UwWVdraeNYEB38eHs8iPXAUa2N5 f1B9LceJEibM7oRpuZHux763Qx+b5KKQLXm1z6q5CSPmom/oL6lhPwkvlk62h4zuct9l jHUQ== X-Gm-Message-State: APjAAAU98L2HwUYBtkJgSWY5YfEvQ26lFgDaAqEP5KRO1csQT7P0ucDO +34mqHBMq2jfHrejwX+Q7PRwZ5hE X-Google-Smtp-Source: APXvYqya6Z8OiGJTCvdxboDzxNMs3PGEt91hU6EX31wMoQ9V6JoA/6EmlyP+XfnqO9fRdFy7I3e4cA== X-Received: by 2002:a19:2804:: with SMTP id o4mr5180931lfo.139.1554813547904; Tue, 09 Apr 2019 05:39:07 -0700 (PDT) Received: from localhost.localdomain (broadband-95-84-200-6.ip.moscow.rt.ru. [95.84.200.6]) by smtp.gmail.com with ESMTPSA id t23sm6749976ljc.13.2019.04.09.05.39.06 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Apr 2019 05:39:06 -0700 (PDT) From: =?utf-8?b?0KDRg9GB0LvQsNC9INCY0LbQsdGD0LvQsNGC0L7Qsg==?= To: linux-media@vger.kernel.org Subject: [PATCH 8/8] [PATCH for ZBar] Correctly generate version.xml and reldate.xml Date: Tue, 9 Apr 2019 12:38:42 +0000 Message-Id: <20190409123842.19600-9-lrn1986@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190409123842.19600-1-lrn1986@gmail.com> References: <20190409123842.19600-1-lrn1986@gmail.com> MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The buildsystem expects these files to be in srcdir, so put them there. Otherwise documentation won't build (xmlto complains that it can't find the files. Note that it uses an absolute path, so there's no way to solve this with its --searchpath argument). Signed-off-by: Руслан Ижбулатов --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 3224888..41d77fd 100644 --- a/configure.ac +++ b/configure.ac @@ -667,14 +667,14 @@ AC_CONFIG_COMMANDS([doc/version.xml], [AS_IF([test -f doc/version.xml && \ ! echo $VERSION | diff doc/version.xml - >/dev/null 2>&1 || \ ! echo $VERSION | diff $srcdir/doc/version.xml - >/dev/null 2>&1 ], - [echo "writing new doc/version.xml" ; echo $VERSION > doc/version.xml ])], + [echo "writing new doc/version.xml" ; echo $VERSION > $srcdir/doc/version.xml ])], [VERSION="$VERSION"] ) AC_CONFIG_COMMANDS([doc/reldate.xml], [AS_IF([test -f doc/reldate.xml && \ ! echo $RELDATE | diff doc/reldate.xml - >/dev/null 2>&1 || \ ! echo $RELDATE | diff $srcdir/doc/reldate.xml - >/dev/null 2>&1 ], - [echo "writing new doc/reldate.xml" ; echo $RELDATE > doc/reldate.xml ])], + [echo "writing new doc/reldate.xml" ; echo $RELDATE > $srcdir/doc/reldate.xml ])], [RELDATE="$RELDATE"] )