summaryrefslogtreecommitdiff
path: root/devel/diffuse
diff options
context:
space:
mode:
authorwiz <wiz>2009-08-06 21:52:07 +0000
committerwiz <wiz>2009-08-06 21:52:07 +0000
commitb342f4ea3d84b967ad4e5cda6361f6fa9abb8d00 (patch)
tree71119787d3a1d10234a3c21bacf37d122ed66c00 /devel/diffuse
parent4a124670fdbecbe4412bc88e501a4984768e981e (diff)
downloadpkgsrc-b342f4ea3d84b967ad4e5cda6361f6fa9abb8d00.tar.gz
Update to 0.3.4:
Released 2009-07-03 * syntax highlighting for .plist, GLSL, SConscript, and SConstruct files * status bar now explains how to navigate between modes * added labels to indicate syntax highlighting rules, encoding, and format * Subversion 1.6 support * added Henri Menke's German translation * added '--examplesdir=' and '--mandir=' options to install.py * renamed the '--python-interpreter=' installer option to '--pythonbin=' * minor bug fixes Add an additional post-release fix from upstream (patch-aa).
Diffstat (limited to 'devel/diffuse')
-rw-r--r--devel/diffuse/Makefile6
-rw-r--r--devel/diffuse/PLIST4
-rw-r--r--devel/diffuse/distinfo12
-rw-r--r--devel/diffuse/patches/patch-aa23
-rw-r--r--devel/diffuse/patches/patch-ab100
-rw-r--r--devel/diffuse/patches/patch-ac10
6 files changed, 23 insertions, 132 deletions
diff --git a/devel/diffuse/Makefile b/devel/diffuse/Makefile
index 75e09973024..9cda4ed6a11 100644
--- a/devel/diffuse/Makefile
+++ b/devel/diffuse/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.11 2009/07/22 09:01:23 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2009/08/06 21:52:07 wiz Exp $
#
-DISTNAME= diffuse-0.3.3
+DISTNAME= diffuse-0.3.4
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=diffuse/}
EXTRACT_SUFX= .tar.bz2
@@ -18,7 +18,7 @@ USE_LANGUAGES= # none
CONF_FILES+= ${PREFIX}/share/examples/diffuse/diffuserc \
${PKG_SYSCONFDIR}/diffuserc
-PYTHON_VERSIONS_ACCEPTED= 25 24
+PYTHON_VERSIONS_ACCEPTED= 26 25 24
do-build:
# nothing
diff --git a/devel/diffuse/PLIST b/devel/diffuse/PLIST
index 9ce171ff1ba..8ff59839b00 100644
--- a/devel/diffuse/PLIST
+++ b/devel/diffuse/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2009/06/14 17:48:41 joerg Exp $
+@comment $NetBSD: PLIST,v 1.5 2009/08/06 21:52:07 wiz Exp $
bin/diffuse
man/man1/diffuse.1
share/applications/diffuse.desktop
@@ -8,6 +8,7 @@ share/diffuse/syntax/csh.syntax
share/diffuse/syntax/csharp.syntax
share/diffuse/syntax/css.syntax
share/diffuse/syntax/gettext.syntax
+share/diffuse/syntax/glsl.syntax
share/diffuse/syntax/html.syntax
share/diffuse/syntax/ini.syntax
share/diffuse/syntax/java.syntax
@@ -30,5 +31,6 @@ share/diffuse/syntax/vhdl.syntax
share/diffuse/syntax/xml.syntax
share/examples/diffuse/diffuserc
share/gnome/help/diffuse/C/diffuse.xml
+share/locale/de/LC_MESSAGES/diffuse.mo
share/omf/diffuse/diffuse-C.omf
share/pixmaps/diffuse.png
diff --git a/devel/diffuse/distinfo b/devel/diffuse/distinfo
index cf3552a30d8..1013f322d5d 100644
--- a/devel/diffuse/distinfo
+++ b/devel/diffuse/distinfo
@@ -1,8 +1,6 @@
-$NetBSD: distinfo,v 1.4 2009/04/16 22:43:30 wiz Exp $
+$NetBSD: distinfo,v 1.5 2009/08/06 21:52:07 wiz Exp $
-SHA1 (diffuse-0.3.3.tar.bz2) = e9c19fd00c76ff9d837190621579500bffe5ed03
-RMD160 (diffuse-0.3.3.tar.bz2) = 6a879d5aa5b10fd42ff729f56363eba0ae210df7
-Size (diffuse-0.3.3.tar.bz2) = 96642 bytes
-SHA1 (patch-aa) = b6cfd3f8676afecef2ee62cb1e51da509ebaaec6
-SHA1 (patch-ab) = cb4621e8dcf2e3156cee1c9487b705e6ac5d8cfb
-SHA1 (patch-ac) = 743def25aa7d4748fee16dfaa3aed0ccd034410e
+SHA1 (diffuse-0.3.4.tar.bz2) = f221d248b44d978fc031cb739e382d9058ca4efc
+RMD160 (diffuse-0.3.4.tar.bz2) = 54f8ffaed9bc2153e1ed3acb64a3e9fd000ee2a1
+Size (diffuse-0.3.4.tar.bz2) = 102845 bytes
+SHA1 (patch-aa) = d314791a740b878af9041c70920562fa6385708d
diff --git a/devel/diffuse/patches/patch-aa b/devel/diffuse/patches/patch-aa
index 4fc099689fc..14c8d685187 100644
--- a/devel/diffuse/patches/patch-aa
+++ b/devel/diffuse/patches/patch-aa
@@ -1,13 +1,14 @@
-$NetBSD: patch-aa,v 1.3 2009/04/16 22:43:31 wiz Exp $
+$NetBSD: patch-aa,v 1.4 2009/08/06 21:52:07 wiz Exp $
---- src/usr/bin/diffuse.orig 2009-04-13 22:24:24.000000000 +0000
+--- src/usr/bin/diffuse.orig 2009-07-03 23:11:09.000000000 +0000
+++ src/usr/bin/diffuse
-@@ -1296,7 +1296,7 @@ class VCSs:
- if len(s) > 2 and s[0] in 'ACMR':
- k = os.path.join(self.root, prefs.convertToNativePath(s[2:]))
- if not isabs:
-- k = replpath(pwd, k)
-+ k = relpath(pwd, k)
- r[k] = s[0]
- for k in sorted(r.keys()):
- v = r[k]
+@@ -3368,7 +3368,9 @@ class FileDiffViewer(gtk.Table):
+ # middle mouse button, paste primary selection
+ if self.mode == CHAR_MODE and f == self.current_pane:
+ self.button_press(f, x, y, False)
++ self.openUndoBlock()
+ gtk.clipboard_get(gtk.gdk.SELECTION_PRIMARY).request_text(self.receive_clipboard_text_cb)
++ self.closeUndoBlock()
+ elif event.button == 3:
+ # right mouse button, raise context sensitive menu
+ can_align = (self.mode == LINE_MODE and (f == self.current_pane + 1 or f == self.current_pane - 1))
diff --git a/devel/diffuse/patches/patch-ab b/devel/diffuse/patches/patch-ab
deleted file mode 100644
index b5118c76b8b..00000000000
--- a/devel/diffuse/patches/patch-ab
+++ /dev/null
@@ -1,100 +0,0 @@
-$NetBSD: patch-ab,v 1.1 2009/04/16 22:43:31 wiz Exp $
-
---- install.py.orig 2009-04-13 22:24:25.000000000 +0000
-+++ install.py
-@@ -39,7 +39,12 @@ if os.name == 'nt':
- os.umask(stat.S_IWGRP | stat.S_IWOTH)
-
- # option defaults
--options = { 'destdir': '/', 'prefix': '/usr/local/', 'sysconfdir': '/etc/', 'python-interpreter': '/usr/bin/env python' }
-+options = { 'destdir': '/',
-+ 'prefix': '/usr/local/',
-+ 'sysconfdir': '/etc/',
-+ 'examplesdir': '${sysconfdir}',
-+ 'mandir': '${prefix}/share/man/',
-+ 'pythonbin': '/usr/bin/env python' }
- install = True
- files_only = False
-
-@@ -68,12 +73,20 @@ Options:
- directory for installing read-only single-machine data
- default: %s
-
-- --python-interpreter=PATH
-+ --examplesdir=PATH
-+ directory for example configuration files
-+ default: %s
-+
-+ --mandir=PATH
-+ directory for man pages
-+ default: %s
-+
-+ --pythonbin=PATH
- command for python interpreter
- default: %s
-
- --files-only
-- only install/remove files; skip the post install/removal tasks""" % (app_path, options['destdir'], options['prefix'], options['sysconfdir'], options['python-interpreter'])
-+ only install/remove files; skip the post install/removal tasks""" % (app_path, options['destdir'], options['prefix'], options['sysconfdir'], options['examplesdir'], options['mandir'], options['pythonbin'])
- sys.exit(0)
-
- # returns the list of components used in a path
-@@ -149,8 +162,14 @@ for arg in sys.argv[1:]:
- logError('Unknown option "%s".' % (arg, ))
- sys.exit(1)
-
-+# expand variables
-+for s in 'sysconfdir', 'examplesdir', 'mandir':
-+ for k in 'prefix', 'sysconfdir':
-+ if s != k:
-+ options[s] = options[s].replace('${%s}' % (k, ), options[k])
-+
- # validate inputs
--for opt in 'prefix', 'sysconfdir':
-+for opt in 'prefix', 'sysconfdir', 'examplesdir', 'mandir':
- p = options[opt]
- c = components(p)
- if os.pardir in c or os.curdir in c:
-@@ -163,7 +182,9 @@ for opt in 'prefix', 'sysconfdir':
- destdir = options['destdir']
- prefix = options['prefix']
- sysconfdir = options['sysconfdir']
--python = options['python-interpreter']
-+examplesdir = options['examplesdir']
-+mandir = options['mandir']
-+pythonbin = options['pythonbin']
-
- # tell the user what we are about to do
- if install:
-@@ -174,21 +195,27 @@ print '''Performing %s with:
- destdir=%s
- prefix=%s
- sysconfdir=%s
-- python-interpreter=%s''' % (stage, destdir, prefix, sysconfdir, python)
-+ examplesdir=%s
-+ mandir=%s
-+ pythonbin=%s''' % (stage, destdir, prefix, sysconfdir, examplesdir, mandir, pythonbin)
-
- # install files to prefix
- processFiles(install, destdir, prefix, 'src/usr', {
-- 'bin/diffuse': [ ("'../../etc/diffuserc'", repr(relpath(os.path.join(prefix, 'bin'), os.path.join(sysconfdir, 'diffuserc')))), ('/usr/bin/env python', python) ],
-+ 'bin/diffuse': [ ("'../../etc/diffuserc'", repr(relpath(os.path.join(prefix, 'bin'), os.path.join(sysconfdir, 'diffuserc')))), ('/usr/bin/env python', pythonbin) ],
- 'share/applications/diffuse.desktop': None,
- 'share/diffuse/syntax/*.syntax': None,
- 'share/gnome/help/diffuse/C/diffuse.xml': [ ('/usr/', prefix), ('/etc/', sysconfdir) ],
-- 'share/man/man1/diffuse.1': [ ('/usr/', prefix), ('/etc/', sysconfdir) ],
- 'share/omf/diffuse/diffuse-C.omf': [ ('/usr/', prefix) ],
- 'share/pixmaps/diffuse.png': None
- })
-
-+# install manual
-+processFiles(install, destdir, mandir, 'src/usr/share/man', {
-+ 'man1/diffuse.1': [ ('/usr/', prefix), ('/etc/', sysconfdir) ]
-+ })
-+
- # install files to sysconfdir
--processFiles(install, destdir, sysconfdir, 'src/etc', { 'diffuserc': [ ('../usr', relpath(sysconfdir, prefix)) ] })
-+processFiles(install, destdir, examplesdir, 'src/etc', { 'diffuserc': [ ('/etc/', sysconfdir), ('../usr', relpath(sysconfdir, prefix)) ] })
-
- if not install:
- # remove directories we own
diff --git a/devel/diffuse/patches/patch-ac b/devel/diffuse/patches/patch-ac
deleted file mode 100644
index 6bf6526ddd1..00000000000
--- a/devel/diffuse/patches/patch-ac
+++ /dev/null
@@ -1,10 +0,0 @@
-$NetBSD: patch-ac,v 1.1 2009/04/16 22:43:31 wiz Exp $
-
---- src/etc/diffuserc.orig 2009-04-13 22:24:25.000000000 +0000
-+++ src/etc/diffuserc
-@@ -1,4 +1,4 @@
--# initialisation file for diffuse
-+# /etc/diffuserc: System-wide initialisation file for Diffuse
- #
- # Copyright (C) 2006-2009 Derrick Moser <derrick_moser@yahoo.com>
-