svn commit: r505903 - head/graphics/xsane

Kai Knoblich kai at FreeBSD.org
Fri Jul 5 16:38:42 UTC 2019


Author: kai
Date: Fri Jul  5 16:38:40 2019
New Revision: 505903
URL: https://svnweb.freebsd.org/changeset/ports/505903

Log:
  graphics/xsane: Update MASTER_SITES
  
  * The project moved to Gitlab and the old site has vanished.
  * Update the distinfo accordingly, the new tarball is cleaner and doesn't
    contain patch backup files, generated config.h headers, etc. Apart from
    that there are no differences regarding the source code.
  * Also add "gnome" to USES while I'm here as using USE_GNOME alone is
    deprecated.
  
  PR:		237875
  Reported by:	Nick Godson <resistor at peakusage.net>
  Reviewed by:	tcberner
  MFH:		2019Q3
  Differential Revision:	https://reviews.freebsd.org/D20856

Modified:
  head/graphics/xsane/Makefile
  head/graphics/xsane/distinfo
  head/graphics/xsane/pkg-descr

Modified: head/graphics/xsane/Makefile
==============================================================================
--- head/graphics/xsane/Makefile	Fri Jul  5 16:01:36 2019	(r505902)
+++ head/graphics/xsane/Makefile	Fri Jul  5 16:38:40 2019	(r505903)
@@ -5,7 +5,6 @@ PORTNAME=	xsane
 PORTVERSION=	0.999
 PORTREVISION=	6
 CATEGORIES=	graphics
-MASTER_SITES=	http://www.xsane.org/download/
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Gtk-based X11 frontend for SANE (Scanner Access Now Easy)
@@ -20,7 +19,14 @@ LIB_DEPENDS=	libpng.so:graphics/png \
 BUILD_DEPENDS=	scanimage:graphics/sane-backends
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 
-USES=		gmake jpeg localbase:ldflags pkgconfig
+USES=		gmake gnome jpeg localbase:ldflags pkgconfig
+USE_GITLAB=	yes
+# This is a workaround to convert the subproject into a project. It's also
+# required to avoid slashes in the DISTNAME.
+GL_SITE=	https://gitlab.com/sane-project
+GL_ACCOUNT=	frontend # would be 'sane-project'
+# ...and GL_PROJECT would be 'frontend/xsane' then but introduces a '/' to DISTNAME
+GL_COMMIT=	d01b4089ce6778e76fa86a0410d4e80cf6eb819e
 USE_GNOME=	gtk20 gdkpixbuf2
 GNU_CONFIGURE=	yes
 

Modified: head/graphics/xsane/distinfo
==============================================================================
--- head/graphics/xsane/distinfo	Fri Jul  5 16:01:36 2019	(r505902)
+++ head/graphics/xsane/distinfo	Fri Jul  5 16:38:40 2019	(r505903)
@@ -1,2 +1,3 @@
-SHA256 (xsane-0.999.tar.gz) = 5782d23e67dc961c81eef13a87b17eb0144cae3d1ffc5cf7e0322da751482b4b
-SIZE (xsane-0.999.tar.gz) = 2950621
+TIMESTAMP = 1562249203
+SHA256 (frontend-xsane-d01b4089ce6778e76fa86a0410d4e80cf6eb819e_GL0.tar.gz) = 1229948de893238a8f338978fcbce10184fa8723dee430ebc52cac29d5a4ae1b
+SIZE (frontend-xsane-d01b4089ce6778e76fa86a0410d4e80cf6eb819e_GL0.tar.gz) = 2427728

Modified: head/graphics/xsane/pkg-descr
==============================================================================
--- head/graphics/xsane/pkg-descr	Fri Jul  5 16:01:36 2019	(r505902)
+++ head/graphics/xsane/pkg-descr	Fri Jul  5 16:38:40 2019	(r505903)
@@ -1,4 +1,4 @@
 XSANE is a gtk based X11 frontend for SANE (Scanner Access Now Easy).
 It works either standalone or as a GIMP plugin.
 
-WWW: http://www.xsane.org/
+WWW: https://gitlab.com/sane-project/frontend/xsane


More information about the svn-ports-all mailing list