From nobody Thu May 23 03:51:12 2024 X-Original-To: dev-commits-ports-main@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 4VlDjs16rxz5LgKG; Thu, 23 May 2024 03:51:13 +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 4VlDjs0brhz4GJ4; Thu, 23 May 2024 03:51:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716436273; 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=3DFIXQ/RPiZSBwS7hiHPR1fv5GnypmXw1Ev388+WlZo=; b=Ll0yqfP6nuQSdNLUpQY62oMGyqfJOqUslM8vyarXf9uB0xYY1/DjcLMa+sp5/8u4uSruos 1qdOAWqE4fT5TBJqFnCfOAHaXBn3e0cwzMUg5IWXnJ2X8MW0VhNtolz8H3Sk9E7X5ApbNm YMlzqAMNm7PgB0WZKZNH9Ok6o+1EDCuI0lQPGJi7FgFDmbLxP4zrKWKbnWeJzi2cgMUTa8 mIp20tcrwJK8LyQFwDmjophAV2tUKFw9TeMboB2E/0hdBKnghy11b5K16+2qF3Vp/I9Mrr wXKEenZosO6r1B+jrxRGb30sBRe0nglMCwZ+aompWOdyHSizCqFbKQVBAZIvGQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716436273; a=rsa-sha256; cv=none; b=auUc1zV5hpCnlQ/e2UmV2TcSbFXQFinxS/ehAXB7hZlOHIp3VSMyg3lGsdGNfyxUWc9pFu BfBA/gMaO2r9mbqQnUMP/b7BLqpJdumPuz1nhCu+MM+aA32fEe9NgYQP96wsr0+kXqCfSW gq1xG5d2l0smNu19jfZ/9Wd4/hkt25mrxapvM8fXNibS4cCrC+8JWl9No2fuW1YEsat9qk tZQ5dDYdeO2ba6ANOlikRjZPI2lH2qfckWr/ncH3Rx2soWJ398l36WGjz+T/IaK6347Fx3 KBJQmp4kYMJhbIoeailerOSUtOW76XQ0nJA7RzKFSYERPga0r+w1XaJ75kYl4g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716436273; 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=3DFIXQ/RPiZSBwS7hiHPR1fv5GnypmXw1Ev388+WlZo=; b=PleyShDZ2RoaV8An2otD7lQfVC7HhMrmsCt5yFFKXKICAhafLMCrLvdiCglgwKfOBH61L7 Jt6qofOPdcJ8LJ3YGQ1gaWkHf0LlKHwrYkbnbqzsJSRGlcIcmGRFmL+PWaLtzmLohL2+Rb 4iPK+xhX5OJGRTJVK2Ld3TUr+wAgSvFddFKYQPSxYZu0WTHTSlI3PT1AjWWLmFKOIEH17N kAkmpc/gwPlh+hZjKH8U7QGkBLQmPXV+u+aKQV51KJIN70RNnR9VOOlV+YfoTNknrGNQ9f cPxBDpfJgu5ucfKwKC3kFqH+PsbQLQbjq0XdqwZ6+U5qUViGKuoiMRAM2fPqbg== 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 4VlDjs0C4FzZVP; Thu, 23 May 2024 03:51:13 +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 44N3pCaw072532; Thu, 23 May 2024 03:51:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44N3pCTo072529; Thu, 23 May 2024 03:51:12 GMT (envelope-from git) Date: Thu, 23 May 2024 03:51:12 GMT Message-Id: <202405230351.44N3pCTo072529@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Alexey Dokuchaev Subject: git: 6d18db45938d - main - graphics/gphoto2: the port had been updated to version 2.5.28 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: danfe X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6d18db45938d137f91e9ad23eac25559497da38e Auto-Submitted: auto-generated The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=6d18db45938d137f91e9ad23eac25559497da38e commit 6d18db45938d137f91e9ad23eac25559497da38e Author: Alexey Dokuchaev AuthorDate: 2024-05-23 03:49:46 +0000 Commit: Alexey Dokuchaev CommitDate: 2024-05-23 03:49:46 +0000 graphics/gphoto2: the port had been updated to version 2.5.28 - Stop asking for GNU make, switch to smaller .tar.xz distfile - Add GitHub CDN as alternative (fallback) download location - GC no longer needed GNU_CONFIGURE_MANPREFIX and CONFIGURE_ENV - Install some more of those available documentation files - Hook the test suite to our framework (sadly, requires GNU sed) PR: 272433 Reported by: portscout --- graphics/gphoto2/Makefile | 34 +++++++++++++++++++++------------- graphics/gphoto2/distinfo | 6 +++--- graphics/gphoto2/pkg-plist | 1 - 3 files changed, 24 insertions(+), 17 deletions(-) diff --git a/graphics/gphoto2/Makefile b/graphics/gphoto2/Makefile index 6b3a1b218127..bf89ae384ee0 100644 --- a/graphics/gphoto2/Makefile +++ b/graphics/gphoto2/Makefile @@ -1,8 +1,8 @@ PORTNAME= gphoto2 -PORTVERSION= 2.5.26 -PORTREVISION= 1 +PORTVERSION= 2.5.28 CATEGORIES= graphics -MASTER_SITES= SF/gphoto/gphoto/${PORTVERSION} +MASTER_SITES= SF/gphoto/gphoto/${PORTVERSION} \ + https://github.com/gphoto/gphoto2/releases/download/v${PORTVERSION}/ MAINTAINER= danfe@FreeBSD.org COMMENT= Command-line frontend to libgphoto2 @@ -14,14 +14,14 @@ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libexif.so:graphics/libexif \ libgphoto2.so:graphics/libgphoto2 \ libpopt.so:devel/popt +TEST_DEPENDS= gsed:textproc/gsed -USES= gmake jpeg pkgconfig tar:bzip2 - +USES= jpeg pkgconfig tar:xz GNU_CONFIGURE= yes -GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share -CONFIGURE_ENV= POPT_CFLAGS="$$(pkg-config --cflags popt)" \ - POPT_LIBS="$$(pkg-config --libs popt)" CONFIGURE_ARGS= --without-cdk +TEST_TARGET= check + +PORTDOCS= AUTHORS ChangeLog NEWS README TODO OPTIONS_DEFINE= AALIB DOCS NLS READLINE THREADS OPTIONS_DEFAULT= AALIB READLINE THREADS @@ -29,14 +29,22 @@ OPTIONS_SUB= yes AALIB_DESC= Text mode capture preview support AALIB_LIB_DEPENDS= libaa.so:graphics/aalib -AALIB_CONFIGURE_WITH= aalib +AALIB_CONFIGURE_ON= --with-aalib + NLS_USES= gettext -NLS_CONFIGURE_ENABLE= nls +NLS_CONFIGURE_OFF= --disable-nls + READLINE_USES= readline -READLINE_CONFIGURE_WITH= readline -THREADS_CONFIGURE_ENV_OFF= ac_cv_lib_pthread_pthread_exit=no +READLINE_CONFIGURE_OFF= --without-readline + +THREADS_CONFIGURE_OFF= --without-pthread + +post-patch: + @${REINPLACE_CMD} -e '1s,bash,sh,; /SEDCOMMAND/s,sed,g&,' \ + ${WRKSRC}/tests/testsuite post-install-DOCS-on: - ${INSTALL_DATA} ${WRKSRC}/NEWS ${STAGEDIR}${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include diff --git a/graphics/gphoto2/distinfo b/graphics/gphoto2/distinfo index 4eca73e0877c..e038f24da397 100644 --- a/graphics/gphoto2/distinfo +++ b/graphics/gphoto2/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1611463835 -SHA256 (gphoto2-2.5.26.tar.bz2) = 7653213b05329c1dc2779efea3eff00504e12011436587aedc9aaa1e8665ab2f -SIZE (gphoto2-2.5.26.tar.bz2) = 804521 +TIMESTAMP = 1641209289 +SHA256 (gphoto2-2.5.28.tar.xz) = ff3e32c7bd2a129d817dcd9e75ce51834409b1966e1f20e74c427c32ae732afa +SIZE (gphoto2-2.5.28.tar.xz) = 575816 diff --git a/graphics/gphoto2/pkg-plist b/graphics/gphoto2/pkg-plist index 6f853e6e3ef3..be7235ba9e6a 100644 --- a/graphics/gphoto2/pkg-plist +++ b/graphics/gphoto2/pkg-plist @@ -1,5 +1,4 @@ bin/gphoto2 -%%PORTDOCS%%%%DOCSDIR%%/NEWS %%PORTDOCS%%%%DOCSDIR%%/test-hook.sh %%NLS%%share/locale/az/LC_MESSAGES/gphoto2.mo %%NLS%%share/locale/cs/LC_MESSAGES/gphoto2.mo