From nobody Fri Aug 11 16:25:07 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RMpzl4wZCz4m74h; Fri, 11 Aug 2023 16:25:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RMpzl4G6wz4cbV; Fri, 11 Aug 2023 16:25:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691771107; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=s8ubRywVLKpL3XQqj1IuS0ibRJ5SxDhqlqeWy++53Io=; b=u3+ZZwaUde0ju0Q48ZtgAbGVS+fzcw6mNNbmqYnCOXmC7UnAwvmcClJ5COAtNNQ+dwYc61 Fo2xm+/epVAemwjOKmlMkA52UmvJF2tLSeY4IqNgo2IRRwY22gmJgZJAwjKkhqKg1HYnD+ IIIVg03w8tFGIjXJSmfSzWPGDeNEPlmeJ+RMfW/svCi6kS+noH2bHsolItTPyIalfM3spX 1X+GBR46IxX0aBuqjKAX8YRtwzftLWWch1nBgvAg8xbCQ/SHjZxifOYt9f87d1DOudi7Fl xgvZriesrzvEFGiGY6FHET3e006wf3X+KRXZ6i2kiQgZSj9sUlqgsQ/5CHJjcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691771107; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=s8ubRywVLKpL3XQqj1IuS0ibRJ5SxDhqlqeWy++53Io=; b=DYF9WWKBSzzROF7eIs7YbYJYU/0krvLQU4ksiievvSq3rxlmbbDfnFvUHwzbDvnLmuIHE0 EpMvMZqTiH6PvyjuUZvLo4uTM59AX3bFOD/Rt418U1a/UHDhmYNdpoGnkw/8PW+BNQrsUA nzjT2ts5XEMExbaq+1iqWZIQqzX6CKKoPqKEtEAPSaKTgkiqrvEy9UJpoqbTGS0QJ4nL88 DrC65IU0tsHwlEeQH36Aos+vkyRENpwkSQ9wjqNERkb5eRcLByc46DWGC21Ek93YEbNLEj GnxjVgi+ji6AYIEVY+lTMn0MrX1w6HNi6taWMKvb73aypXS/zvuc8bVLEDh3OA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691771107; a=rsa-sha256; cv=none; b=fkAus+wc0DDflI48fomc8MdtGqAdNiK5qHuaUjV+KGVC/h/8Nj/4gfD5MIJCmqvvTvXJPx wxxq+8aDBjvlmSuf0gXQkosbU+zUREvYcFc+1fqH2zlye01tMZzuOfCQhJ10qnNJ6BxlTH 1UVlkTEx95KAB2CAS6oz264ATO0bd9KRavPHoQej1w5LDO24dWAObPfhKp3yBy22jmNCwX frfIc+5uCc5SkMYybuIjEaAG6LXOuQ71g3EkSxKnVaphoilBkVTgPjBIFsIio6bKzGqZT4 pGVm3Bi3swu7Qbe1RjYKgsi201LJ23T2+DslT6lvqWssChOz9ajuOqv2FJkcrQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RMpzl3K8QzlnG; Fri, 11 Aug 2023 16:25:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 37BGP7NQ024435; Fri, 11 Aug 2023 16:25:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37BGP7oY024432; Fri, 11 Aug 2023 16:25:07 GMT (envelope-from git) Date: Fri, 11 Aug 2023 16:25:07 GMT Message-Id: <202308111625.37BGP7oY024432@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: f3252d9b43f3 - main - misc/libiio: Update 0.23 =?utf-8?Q?=E2=86=92?= 0.25 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f3252d9b43f323c9c8938e60fc6c9201756ba167 Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=f3252d9b43f323c9c8938e60fc6c9201756ba167 commit f3252d9b43f323c9c8938e60fc6c9201756ba167 Author: Yuri Victorovich AuthorDate: 2023-08-11 14:52:24 +0000 Commit: Yuri Victorovich CommitDate: 2023-08-11 16:25:05 +0000 misc/libiio: Update 0.23 → 0.25 Reported by: portscout --- misc/libiio/Makefile | 9 ++++++--- misc/libiio/distinfo | 6 +++--- misc/libiio/files/patch-CMakeLists.txt | 24 ++++++++++++++++++++++++ misc/libiio/pkg-plist | 3 +-- 4 files changed, 34 insertions(+), 8 deletions(-) diff --git a/misc/libiio/Makefile b/misc/libiio/Makefile index 10176d393058..8dc39b0ebdd1 100644 --- a/misc/libiio/Makefile +++ b/misc/libiio/Makefile @@ -1,7 +1,6 @@ PORTNAME= libiio DISTVERSIONPREFIX= v -DISTVERSION= 0.23 -PORTREVISION= 2 +DISTVERSION= 0.25 CATEGORIES= misc MAINTAINER= yuri@FreeBSD.org @@ -13,15 +12,19 @@ LICENSE_FILE= ${WRKSRC}/COPYING.txt LIB_DEPENDS= libavahi-client.so:net/avahi-app -USES= cmake gnome iconv localbase +USES= cmake:testing gnome iconv localbase USE_GNOME= libxml2 USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= analogdevicesinc +CMAKE_TESTING_ON= WITH_TESTS + OPTIONS_DEFINE= DOCS PORTDOCS= * +# unclear how to run tests, see https://github.com/analogdevicesinc/libiio/issues/1028 + .include diff --git a/misc/libiio/distinfo b/misc/libiio/distinfo index a7e28e82da9c..cc7232d84c5b 100644 --- a/misc/libiio/distinfo +++ b/misc/libiio/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1641407244 -SHA256 (analogdevicesinc-libiio-v0.23_GH0.tar.gz) = df1577740ea93dca732e7d7c04786600cb083117901dee793f3d38980754af00 -SIZE (analogdevicesinc-libiio-v0.23_GH0.tar.gz) = 454077 +TIMESTAMP = 1691770004 +SHA256 (analogdevicesinc-libiio-v0.25_GH0.tar.gz) = 21972599a3c143ab1f98002ad2b3f28f4aff927fde5f677478311cd4e517730c +SIZE (analogdevicesinc-libiio-v0.25_GH0.tar.gz) = 518247 diff --git a/misc/libiio/files/patch-CMakeLists.txt b/misc/libiio/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..dc6190bccf85 --- /dev/null +++ b/misc/libiio/files/patch-CMakeLists.txt @@ -0,0 +1,24 @@ +--- CMakeLists.txt.orig 2023-08-11 16:09:06 UTC ++++ CMakeLists.txt +@@ -143,18 +143,9 @@ endif() + + option(WITH_USB_BACKEND "Enable the libusb backend" ON) + if (WITH_USB_BACKEND) +- find_package(PkgConfig) +- if (PkgConfig_FOUND) +- pkg_check_modules(LIBUSB libusb-1.0) +- if (NOT LIBUSB_FOUND) +- #Handle FreeBSD libusb and Linux libusb-1.0 libraries +- find_library(LIBUSB_LIBRARIES NAMES usb-1.0 usb) +- find_path(LIBUSB_INCLUDE_DIR libusb.h PATH_SUFFIXES libusb-1.0) +- else() +- set(LIBUSB_LIBRARIES ${LIBUSB_LINK_LIBRARIES}) +- set(LIBUSB_INCLUDE_DIR ${LIBUSB_INCLUDE_DIRS}) +- endif() +- endif() ++ #Handle FreeBSD libusb and Linux libusb-1.0 libraries ++ find_library(LIBUSB_LIBRARIES NAMES usb-1.0 usb) ++ find_path(LIBUSB_INCLUDE_DIR libusb.h PATH_SUFFIXES libusb-1.0) + if (NOT LIBUSB_LIBRARIES OR NOT LIBUSB_INCLUDE_DIR) + message(SEND_ERROR "Unable to find libusb-1.0 dependency.\n" + "If you want to disable the USB backend, set WITH_USB_BACKEND=OFF.") diff --git a/misc/libiio/pkg-plist b/misc/libiio/pkg-plist index dd041faac216..3ca4949e3bf3 100644 --- a/misc/libiio/pkg-plist +++ b/misc/libiio/pkg-plist @@ -1,4 +1,3 @@ -bin/iio_adi_xflow_check bin/iio_attr bin/iio_genxml bin/iio_info @@ -9,5 +8,5 @@ bin/iio_writedev include/iio.h lib/libiio.so lib/libiio.so.0 -lib/libiio.so.0.23 +lib/libiio.so.0.25 libdata/pkgconfig/libiio.pc