[arch-commits] Commit in gtk-doc/trunk (2 files)

Ionut Biru ibiru at archlinux.org
Mon Jan 3 16:18:17 UTC 2011


    Date: Monday, January 3, 2011 @ 11:18:16
  Author: ibiru
Revision: 104487

upgpkg: gtk-doc 1.15-3
fix vim invocation

Added:
  gtk-doc/trunk/fixxref_tweak_the_vim_invocation.patch
Modified:
  gtk-doc/trunk/PKGBUILD

----------------------------------------+
 PKGBUILD                               |    9 ++++++---
 fixxref_tweak_the_vim_invocation.patch |   24 ++++++++++++++++++++++++
 2 files changed, 30 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-01-03 16:13:27 UTC (rev 104486)
+++ PKGBUILD	2011-01-03 16:18:16 UTC (rev 104487)
@@ -3,7 +3,7 @@
 
 pkgname=gtk-doc
 pkgver=1.15
-pkgrel=2
+pkgrel=3
 pkgdesc="Documentation tool for public library API"
 arch=('any')
 license=('GPL' 'FDL')
@@ -11,11 +11,14 @@
 makedepends=('pkgconfig' 'jade')
 optdepends=('jade: SGML support')
 url="http://www.gtk.org/gtk-doc/"
-source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.bz2) 
-sha256sums=('59cc73babf0db3a89d1a71f7ef5394a42ec1d3447d3a0a1539057a7b0ce44831')
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.bz2
+        fixxref_tweak_the_vim_invocation.patch)
+sha256sums=('59cc73babf0db3a89d1a71f7ef5394a42ec1d3447d3a0a1539057a7b0ce44831'
+            '3fb764d102aa75ea2e51e016e2dc1e1da7bec86b93e7f7dbb7ce66e775996d48')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
+  patch -Np1 -i "${srcdir}/fixxref_tweak_the_vim_invocation.patch"
   export PYTHON=/usr/bin/python2
   ./configure --prefix=/usr
   make

Added: fixxref_tweak_the_vim_invocation.patch
===================================================================
--- fixxref_tweak_the_vim_invocation.patch	                        (rev 0)
+++ fixxref_tweak_the_vim_invocation.patch	2011-01-03 16:18:16 UTC (rev 104487)
@@ -0,0 +1,24 @@
+From 2bffebcf9c125f5610b8fb660d42c3c5b9dfd4f0 Mon Sep 17 00:00:00 2001
+From: Stefan Kost <ensonic at users.sf.net>
+Date: Thu, 19 Aug 2010 14:45:54 +0000
+Subject: fixxref: tweak the vim invocation
+
+Use specific output-filename to ensure we get what we'll late use. Use "-u NONE"
+instead of -u /dev/null.
+Fixes #627223
+---
+diff --git a/gtkdoc-fixxref.in b/gtkdoc-fixxref.in
+index 33a31b8..9f53852 100755
+--- a/gtkdoc-fixxref.in
++++ b/gtkdoc-fixxref.in
+@@ -464,7 +464,7 @@ sub HighlightSourceVim {
+     close (NEWFILE);
+ 
+     # format source
+-    system "echo 'let html_number_lines=0|let html_use_css=1|let use_xhtml=1|syn on|e $temp_source_file|run! syntax/2html.vim|wa!|qa!' | @HIGHLIGHT@ -n -e -u /dev/null -T xterm >/dev/null";
++    system "echo 'let html_number_lines=0|let html_use_css=1|let use_xhtml=1|syn on|e $temp_source_file|run! syntax/2html.vim|w! $temp_source_file.html|qa!' | @HIGHLIGHT@ -n -e -u NONE -T xterm >/dev/null";
+ 
+     my $highlighted_source;
+     {
+--
+cgit v0.8.3.1




More information about the arch-commits mailing list