Bug 171554 - patch for graphics/xsane port
Summary: patch for graphics/xsane port
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Dru Lavigne
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-11 20:30 UTC by Dru Lavigne
Modified: 2012-10-01 16:40 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dru Lavigne freebsd_committer freebsd_triage 2012-09-11 20:30:08 UTC
By default, XSane looks for Netscape and fails to find it when you press F1 or Help. This patch will instead prompt the user to select an application within an xdg-compliant desktop:

diff src/xsane.h.orig src/xsane.h
254c254
> #  define DEFAULT_BROWSER "netscape"
---
> #  define DEFAULT_BROWSER "xdg-open"
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-09-11 21:39:20 UTC
Responsible Changed
From-To: freebsd-ports-bugs->dru

Submitter has GNATS access (via the GNATS Auto Assign Tool)
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2012-09-11 21:39:24 UTC
Maintainer of graphics/xsane,

Please note that PR ports/171554 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/171554

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2012-09-11 21:39:29 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 4 dfilter service freebsd_committer freebsd_triage 2012-10-01 16:32:26 UTC
Author: kmoore
Date: Mon Oct  1 15:32:11 2012
New Revision: 305133
URL: http://svn.freebsd.org/changeset/ports/305133

Log:
  - Fix to use "xdg-open" for the browser, instead of "netscape"
  - Bump PORTREV
  
  PR: 171554
  Submitted by: Dru Lavigne <dru@FreeBSD.org>
  Approved by: Maintainer timeout

Added:
  head/graphics/xsane/files/patch-src_xsane.h   (contents, props changed)
Modified:
  head/graphics/xsane/Makefile

Modified: head/graphics/xsane/Makefile
==============================================================================
--- head/graphics/xsane/Makefile	Mon Oct  1 15:01:14 2012	(r305132)
+++ head/graphics/xsane/Makefile	Mon Oct  1 15:32:11 2012	(r305133)
@@ -7,7 +7,7 @@
 
 PORTNAME=	xsane
 PORTVERSION=	0.998
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	graphics
 MASTER_SITES=	http://www.xsane.org/download/ \
 		http://gd.tuwien.ac.at/hci/sane/xsane/ \

Added: head/graphics/xsane/files/patch-src_xsane.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/xsane/files/patch-src_xsane.h	Mon Oct  1 15:32:11 2012	(r305133)
@@ -0,0 +1,11 @@
+--- src/xsane.h.o	2012-10-01 11:12:56.549589382 -0400
++++ src/xsane.h	2012-10-01 11:12:40.660589178 -0400
+@@ -251,7 +251,7 @@
+ # elif defined(HAVE_OS2_H)
+ #  define DEFAULT_BROWSER "netscape"
+ # else
+-#  define DEFAULT_BROWSER "netscape"
++#  define DEFAULT_BROWSER "xdg-open"
+ # endif
+ #endif
+ 
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 5 Kris Moore freebsd_committer freebsd_triage 2012-10-01 16:32:44 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!