Package: geany
Version: 0.19.1-1
Severity: wishlist
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu natty ubuntu-patch



*** /tmp/tmpwKnLEz
In Ubuntu, the attached patch was applied to achieve the following:

Forwarded from https://bugs.launchpad.net/bugs/398708

The default settings for the latex file type use xdvi and xpdf as 
viewers. Evince is more user friendly and better integrated and 
should be used instead.

At least in ubuntu, evince is in the default install while xpdf/xdvi
are not.

  * debian/patches/20_use_evince_viewer.dpatch:
    - use evince as viewer for pdf and dvi files (LP: #398708)


Thanks for considering the patch.


-- System Information:
Debian Release: squeeze/sid
  APT prefers natty-updates
  APT policy: (500, 'natty-updates'), (500, 'natty-security'), (500, 'natty')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-6-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
=== modified file 'debian/patches/00list'
--- debian/patches/00list       2010-08-07 03:23:12 +0000
+++ debian/patches/00list       2011-03-11 17:33:44 +0000
@@ -2,3 +2,4 @@
 20_add_debian_specific_filetypes
 20_debian_control_tags
 20_use_sensible_browser
+20_use_evince_viewer.dpatch

=== added file 'debian/patches/20_use_evince_viewer.dpatch'
--- debian/patches/20_use_evince_viewer.dpatch  1970-01-01 00:00:00 +0000
+++ debian/patches/20_use_evince_viewer.dpatch  2011-03-11 17:39:45 +0000
@@ -0,0 +1,24 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## Description: use evince as default viewer for pdf and dvi
+## Origin/Author: Andreas Moog <am...@ubuntu.com>
+## Bug: https://bugs.launchpad.net/bugs/398708
+## 20_use_evince_viewer.dpatch by Andreas Moog <am...@ubuntu.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' 
'--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' 
geany~/data/filetypes.latex geany/data/filetypes.latex
+--- geany~/data/filetypes.latex        2011-03-11 18:16:39.000000000 +0100
++++ geany/data/filetypes.latex 2011-03-11 18:33:39.403581014 +0100
+@@ -52,8 +52,8 @@
+ FT_01_CM=pdflatex --file-line-error-style "%f"
+ FT_01_BD=false
+ EX_00_LB=V_iew PDF File
+-EX_00_CM=xpdf "%e.pdf"
++EX_00_CM=evince "%e.pdf"
+ EX_00_BD=false
+ EX_01_LB=_View DVI File
+-EX_01_CM=xdvi "%e.dvi"
++EX_01_CM=evince "%e.dvi"
+ EX_01_BD=false

Reply via email to