From owner-freebsd-gnome@freebsd.org Wed Jun 20 14:55:41 2018 Return-Path: Delivered-To: freebsd-gnome@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B1F58101D473 for ; Wed, 20 Jun 2018 14:55:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 47F1D7DA9E for ; Wed, 20 Jun 2018 14:55:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id F2537101D472; Wed, 20 Jun 2018 14:55:40 +0000 (UTC) Delivered-To: gnome@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CE195101D471 for ; Wed, 20 Jun 2018 14:55:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4EA8D7DA9C for ; Wed, 20 Jun 2018 14:55:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 869E31C05F for ; Wed, 20 Jun 2018 14:55:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w5KEtdUg040100 for ; Wed, 20 Jun 2018 14:55:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w5KEtdii040099 for gnome@FreeBSD.org; Wed, 20 Jun 2018 14:55:39 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: [Bug 229061] deskutils/gnome-screenshot: Update to 3.22.0 Date: Wed, 20 Jun 2018 14:55:38 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: lantw44@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gnome@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jun 2018 14:55:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229061 --- Comment #4 from Ting-Wei Lan --- Comment on attachment 194353 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D194353 patch-gnome-screenshot-3.22.0 >Index: deskutils/gnome-screenshot/Makefile >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >--- deskutils/gnome-screenshot/Makefile (revision 472678) >+++ deskutils/gnome-screenshot/Makefile (working copy) >@@ -2,7 +2,7 @@ > # $FreeBSD$ >=20 > PORTNAME=3D gnome-screenshot >-PORTVERSION=3D 3.18.0 >+PORTVERSION=3D 3.22.0 Is there any reason that you want to update it to 3.22.0 instead of the lat= est 3.26.0 release? > CATEGORIES=3D deskutils gnome > MASTER_SITES=3D GNOME > DIST_SUBDIR=3D gnome3 >@@ -10,17 +10,26 @@ > MAINTAINER=3D gnome@FreeBSD.org > COMMENT=3D GNOME 3 utility for making picutures of your screen >=20 >-LIB_DEPENDS=3D libcanberra-gtk3.so:audio/libcanberra-gtk3 >+LICENSE=3D GPLv2 >+LICENSE_FILE=3D ${WRKSRC}/COPYING >=20 >+LIB_DEPENDS=3D libcanberra-gtk3.so:audio/libcanberra-gtk3 \ >+ libcanberra.so:audio/libcanberra >+ OK, I found the same change is also committed to the FreeBSD GNOME developm= ent repository. > CONFLICTS=3D gnome-utils-2.[0-9]* > PORTSCOUT=3D limitw:1,even >=20 >-USES=3D gettext gmake gnome pathfix pkgconfig tar:xz >-USE_GNOME=3D gtk30 intlhack >+USES=3D gettext-tools gmake gnome localbase pathfix pkgconfig tar:xz >+USE_GNOME=3D cairo gdkpixbuf2 gtk30 intlhack >+USE_XORG=3D x11 xext > GNU_CONFIGURE=3D yes >-CPPFLAGS+=3D -I${LOCALBASE}/include >-LIBS+=3D -L${LOCALBASE}/lib >=20 > GLIB_SCHEMAS=3D org.gnome.gnome-screenshot.gschema.xml >=20 >+OPTIONS_DEFINE=3D NLS >+OPTIONS_SUB=3D yes >+ >+NLS_USES=3D gettext-runtime >+NLS_CONFIGURE_OFF=3D --disable-nls >+ > .include Adding NLS option looks fine, but I think many GNOME ports don't do it. Is there a use case other than saving disk space? >Index: deskutils/gnome-screenshot/distinfo >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >--- deskutils/gnome-screenshot/distinfo (revision 472678) >+++ deskutils/gnome-screenshot/distinfo (working copy) >@@ -1,2 +1,3 @@ >-SHA256 (gnome3/gnome-screenshot-3.18.0.tar.xz) =3D eba64dbf4acf0ab8222fec= 549d0a4f2dd7dbd51c255e7978dedf1f5c06a98841 >-SIZE (gnome3/gnome-screenshot-3.18.0.tar.xz) =3D 281752 >+TIMESTAMP =3D 1529110023 >+SHA256 (gnome3/gnome-screenshot-3.22.0.tar.xz) =3D 8a05f14b3c7c6cb42f9848= ad0332034c7fe5c34a69742910203588fd60b00230 >+SIZE (gnome3/gnome-screenshot-3.22.0.tar.xz) =3D 258888 >Index: deskutils/gnome-screenshot/files/patch-src_screenshot-utils.c >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >--- deskutils/gnome-screenshot/files/patch-src_screenshot-utils.c (nonexis= tent) >+++ deskutils/gnome-screenshot/files/patch-src_screenshot-utils.c (working= copy) >@@ -0,0 +1,20 @@ >+--- src/screenshot-utils.c.orig 2016-07-11 14:55:18 UTC >++++ src/screenshot-utils.c >+@@ -630,6 +630,9 @@ screenshot_get_pixbuf (GdkRectangle *rec >+ filename); >+ } >+=20 >++ if (!g_strcmp0 (g_getenv ("XDG_CURRENT_DESKTOP"), "GNOME")) >++ screenshot =3D screenshot_fallback_get_pixbuf(rectangle); Why is it needed? Does it mean the builtin screenshot function of GNOME She= ll is broken on your system? >++ else { >+ connection =3D g_application_get_dbus_connection (g_application_get_de= fault ()); >+ g_dbus_connection_call_sync (connection, >+ "org.gnome.Shell.Screenshot", >+@@ -659,6 +662,7 @@ screenshot_get_pixbuf (GdkRectangle *rec >+=20 >+ screenshot =3D screenshot_fallback_get_pixbuf (rectangle); >+ } >++ } >+=20 >+ g_free (path); >+ g_free (tmpname); > >Property changes on: deskutils/gnome-screenshot/files/patch-src_screenshot= -utils.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: deskutils/gnome-screenshot/pkg-descr >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >--- deskutils/gnome-screenshot/pkg-descr (revision 472678) >+++ deskutils/gnome-screenshot/pkg-descr (working copy) >@@ -1 +1,4 @@ >-GNOME 3.0 utility for taking pictures of your screen. >+GNOME Screenshot is a small utility that takes a screenshot of the whole >+desktop; the currently focused window; or an area of the screen. >+ >+WWW: https://github.com/GNOME/gnome-screenshot This link is not correct. GNOME uses its own GitLab instance for developmen= t. GitHub is just a read-only mirror. I think you should put https://gitlab.gnome.org/GNOME/gnome-screenshot here. --=20 You are receiving this mail because: You are the assignee for the bug.=