Bug 157756 - graphics/mupdf: makes use of xdg-open instead of $BROWSER
Summary: graphics/mupdf: makes use of xdg-open instead of $BROWSER
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: Max Brazhnikov
Depends on:
Reported: 2011-06-11 08:30 UTC by lichray
Modified: 2011-06-16 09:20 UTC (History)
0 users

See Also:

mupdf_2.patch (1.90 KB, patch)
2011-06-11 08:30 UTC, lichray
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description lichray 2011-06-11 08:30:10 UTC
	When opening a URI in PDF, mupdf tries $BROWSER first, which is so decent; then tries the "open" command, which is wrong.

Fix: My patch only uses xdg-open. It will obeys the freedesktop standard, and tries $BROWSER as an fallback.
Comment 1 dfilter service freebsd_committer 2011-06-16 09:11:53 UTC
wen         2011-06-16 08:11:44 UTC

  FreeBSD ports repository

  Modified files:
    graphics/mupdf       Makefile 
    graphics/mupdf/files patch-apps_x11_main.c 
  - Makes use of xdg-open instead of $BROWSER
  PR:             ports/157756
  Submitted by:   Zhihao Yuan <lichray@gmail.com> (maintainer)
  Revision  Changes    Path
  1.15      +1 -1      ports/graphics/mupdf/Makefile
  1.2       +15 -4     ports/graphics/mupdf/files/patch-apps_x11_main.c
cvs-all@freebsd.org mailing list
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 2 Wen Heping freebsd_committer 2011-06-16 09:12:45 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 Max Brazhnikov freebsd_committer 2011-06-16 09:18:06 UTC
Responsible Changed
From-To: freebsd-ports-bugs->makc

I'll take it.