git: 8f6cbbda6c85 - main - graphics/xsane: Improve port, take maintainership
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 17 Mar 2025 15:56:41 UTC
The branch main has been updated by vvd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8f6cbbda6c85df95a25b081767ee3857a0e65a84
commit 8f6cbbda6c85df95a25b081767ee3857a0e65a84
Author: Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2025-03-17 15:47:32 +0000
Commit: Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-03-17 15:47:32 +0000
graphics/xsane: Improve port, take maintainership
Improve port:
- replace gdkpixbuf with gdkpixbufextra:run,
- use tag with version instead commit hash,
- fix dependencies in default option GIMP,
- pet portclippy.
---
graphics/xsane/Makefile | 15 +++++++++------
graphics/xsane/distinfo | 6 +++---
2 files changed, 12 insertions(+), 9 deletions(-)
diff --git a/graphics/xsane/Makefile b/graphics/xsane/Makefile
index 2fd645931e54..4c48cc2af322 100644
--- a/graphics/xsane/Makefile
+++ b/graphics/xsane/Makefile
@@ -1,28 +1,27 @@
PORTNAME= xsane
PORTVERSION= 0.999
-PORTREVISION= 10
+PORTREVISION= 11
CATEGORIES= graphics
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= vvd@FreeBSD.org
COMMENT= Gtk-based X11 frontend for SANE (Scanner Access Now Easy)
WWW= https://gitlab.com/sane-project/frontend/xsane
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/xsane.COPYING
+BUILD_DEPENDS= scanimage:graphics/sane-backends
LIB_DEPENDS= libpng.so:graphics/png \
libtiff.so:graphics/tiff \
libfreetype.so:print/freetype2 \
liblcms.so:graphics/lcms
-BUILD_DEPENDS= scanimage:graphics/sane-backends
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= gmake gnome jpeg localbase:ldflags pkgconfig
USE_GITLAB= yes
GL_SITE= https://gitlab.com/sane-project
GL_ACCOUNT= frontend
-GL_TAGNAME= d01b4089ce6778e76fa86a0410d4e80cf6eb819e
-USE_GNOME= gtk20 gdkpixbuf
+USE_GNOME= gdkpixbufextra:run gtk20
GNU_CONFIGURE= yes
PORTDOCS= *.html *.jpg
@@ -33,7 +32,11 @@ OPTIONS_SUB= yes
GIMP_DESC= GIMP plugin support
-GIMP_LIB_DEPENDS= libgimp-2.0.so:graphics/gimp-app
+GIMP_LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib \
+ libgegl-0.4.so:graphics/gegl \
+ libgegl-npd-0.4.so:graphics/gegl \
+ libgimp-2.0.so:graphics/gimp-app \
+ libbabl-0.1.so:x11/babl
GIMP_CONFIGURE_ENABLE= gimp2 gimp
GIMP_SUB_FILES= pkg-message
NLS_USES= gettext
diff --git a/graphics/xsane/distinfo b/graphics/xsane/distinfo
index 05deb2aea180..a6186fe9cedc 100644
--- a/graphics/xsane/distinfo
+++ b/graphics/xsane/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1617891404
-SHA256 (frontend-xsane-d01b4089ce6778e76fa86a0410d4e80cf6eb819e_GL0.tar.gz) = 67be54d9d045b329caeccf8f17b51761dba625c22a260b759c409140efca047a
-SIZE (frontend-xsane-d01b4089ce6778e76fa86a0410d4e80cf6eb819e_GL0.tar.gz) = 2428331
+TIMESTAMP = 1742221414
+SHA256 (xsane-0.999.tar.bz2) = 5ddea69943c587844bfdbdf577751624821568d47b1cd1536235ab3d79b99257
+SIZE (xsane-0.999.tar.bz2) = 1981064