debian/0000775000000000000000000000000012170431162007165 5ustar debian/compat0000664000000000000000000000000212170431162010363 0ustar 9 debian/install0000775000000000000000000000030512170431162010557 0ustar #! /usr/bin/dh-exec valencia.png /usr/share/gedit/plugins/valencia/ libvalencia.so /usr/lib/${DEB_HOST_MULTIARCH}/gedit/plugins/ valencia.plugin /usr/lib/${DEB_HOST_MULTIARCH}/gedit/plugins/ debian/watch0000664000000000000000000000012012170431162010207 0ustar version=3 http://yorba.org/download/valencia/(\d+.*)/valencia-(\d+.*)\.tar\.bz2 debian/control0000664000000000000000000000213412170431162010570 0ustar Source: gedit-valencia-plugin Section: utils Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: David Paleino Build-Depends: debhelper (>= 9~) , dh-exec (>=0.3) , gedit-dev (>= 2.91.0) , libvte-2.90-dev (>= 0.27.90) , libpeas-dev , libgee-dev , libvala-0.20-dev (>= 0.17.1) , valac-0.20 (>= 0.20.1) , m4 Standards-Version: 3.9.1 Homepage: http://yorba.org/valencia/ Vcs-Git: git://git.debian.org/collab-maint/gedit-valencia-plugin.git Vcs-Browser: http://git.debian.org/?p=collab-maint/gedit-valencia-plugin.git;a=summary Package: gedit-valencia-plugin Architecture: any Depends: ${shlibs:Depends} , ${misc:Depends} Description: Vala plugin for gedit Valencia is a gedit plugin that turns gedit into a lightweight IDE for Vala. Using Valencia, you can easily browse between symbols in a Vala program. You can build a Vala program inside gedit and can easily jump to lines with build errors. You can also get tooltips for methods and get autocompletion suggestions by invoking autocomplete in the appropriate context. debian/source/0000775000000000000000000000000012170431162010465 5ustar debian/source/format0000664000000000000000000000001412170431162011673 0ustar 3.0 (quilt) debian/docs0000664000000000000000000000001612170431162010035 0ustar README THANKS debian/patches/0000775000000000000000000000000012170431162010614 5ustar debian/patches/build-against-gedit38.patch0000664000000000000000000000573312170431162015635 0ustar From bfb45d5c6da8bd0c78d8f10d07aa2c4c50a33662 Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Sat, 20 Apr 2013 00:00:00 +0000 Subject: Does not build against gedit 3.7.5: Closes #6505 Also updates Valencia to require Vala 0.20.1. --- diff --git a/Makefile b/Makefile index c4a6d76..0760ed3 100644 --- a/Makefile +++ b/Makefile @@ -5,21 +5,20 @@ VERSION = 0.4.0+trunk VALAC = valac VALAC_VERSION := `$(VALAC) --version | awk '{print $$2}'` -MIN_VALAC_VERSION := 0.17.1 -MAX_VALAC_VERSION := 0.19.0 +MIN_VALAC_VERSION := 0.20.1 SOURCES = autocomplete.vala browser.vala expression.vala gtk_util.vala parser.vala program.vala \ scanner.vala settings.vala util.vala valencia.vala PACKAGES = --pkg gedit --pkg gee-1.0 --pkg gtk+-3.0 --pkg gtksourceview-3.0 \ - --pkg libpeas-1.0 --pkg libvala-0.18 --pkg vte-2.90 + --pkg libpeas-1.0 --pkg libvala-0.20 --pkg vte-2.90 PACKAGE_VERSIONS = \ gedit >= 2.91.0 \ gee-1.0 >= 0.1.3 \ gtksourceview-3.0 >= 3.0.0 \ gtk+-3.0 >= 3.0.0 \ - libvala-0.18 >= 0.17.1 \ + libvala-0.20 >= 0.20.1 \ vte-2.90 >= 0.27.90 OUTPUTS = libvalencia.so valencia.plugin diff --git a/gtk_util.vala b/gtk_util.vala index ae26e8f..ba7b22a 100644 --- a/gtk_util.vala +++ b/gtk_util.vala @@ -521,7 +521,8 @@ string? document_filename(Gedit.Document document) { Gedit.Tab? find_tab(string filename, out Gedit.Window window) { File location = File.new_for_path(filename); - foreach (Gedit.Window w in Gedit.App.get_default().get_windows()) { + foreach (Gtk.Window gtk_w in ((Gedit.App) Application.get_default()).get_windows()) { + Gedit.Window w = (Gedit.Window) gtk_w; Gedit.Tab tab = w.get_tab_from_location(location); if (tab != null) { window = w; diff --git a/valencia.vala b/valencia.vala index 1f0dbe6..2ed18af 100644 --- a/valencia.vala +++ b/valencia.vala @@ -739,7 +739,7 @@ public class Instance : Peas.ExtensionBase, Gedit.WindowActivatable { } void on_build() { - foreach (Gedit.Document d in Gedit.App.get_default().get_documents()) + foreach (Gedit.Document d in ((Gedit.App) Application.get_default()).get_documents()) if (!d.is_untitled() && d.get_modified()) { ++saving; Signal.connect(d, "saved", (Callback) saved_callback, this); @@ -917,7 +917,7 @@ public class Instance : Peas.ExtensionBase, Gedit.WindowActivatable { public void reparse_modified_documents(string filename) { Program program = Program.find_containing(filename, true); - foreach (Gedit.Document document in Gedit.App.get_default().get_documents()) { + foreach (Gedit.Document document in ((Gedit.App) Application.get_default()).get_documents()) { assert(documents_modified_state.has_key(document)); bool previously_modified = documents_modified_state.get(document); bool currently_modified = document.get_modified(); debian/patches/series0000664000000000000000000000003412170431162012026 0ustar build-against-gedit38.patch debian/rules0000775000000000000000000000032512170431162010245 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ override_dh_installchangelogs: dh_installchangelogs NEWS override_dh_auto_install: # do nothing debian/changelog0000664000000000000000000000367512170431162011052 0ustar gedit-valencia-plugin (0.4.0-0ubuntu3) saucy; urgency=low * Bump dh compat level to 9 * Use dh-exec to update .install for multiarch directories * Drop unnecessary and obsolete debian/dirs -- Jeremy Bicha Sun, 14 Jul 2013 01:08:58 -0400 gedit-valencia-plugin (0.4.0-0ubuntu2) saucy; urgency=low * debian/patches/build-against-gedit38.patch: - Patch from git to fix compatibility with gedit 3.8 * debian/control: Bump depends to vala-0.20 as needed for above patch -- Jeremy Bicha Fri, 07 Jun 2013 19:18:37 -0400 gedit-valencia-plugin (0.4.0-0ubuntu1) raring; urgency=low * New upstream version, compatible with the current vala and gedit, dropping patches for issues fixed in the new version -- Sebastien Bacher Mon, 08 Apr 2013 22:42:40 +0200 gedit-valencia-plugin (0.3.0-3.1) unstable; urgency=low * Non-maintainer upload. * Fix "FTBFS: GModule-2.0.gir:46.7-46.66: error: unknown child element `function' in `record'": apply patch from Ubuntu / Colin Watson: - Build with Vala 0.14 (LP: #831183). (Closes: #650228) -- gregor herrmann Mon, 20 Feb 2012 19:00:29 +0100 gedit-valencia-plugin (0.3.0-3) unstable; urgency=low * Fix package section, according to FTPMasters' override, from devel to utils * Backported gedit-3 support from upstream (Closes: #635122) (LP: #825763, #831183) * Fix debian/install file for the new gedit-3 paths -- David Paleino Tue, 13 Sep 2011 15:24:05 +0200 gedit-valencia-plugin (0.3.0-2) unstable; urgency=low * Package moved to section devel * Port to vala-0.10 (01-fix_vala_dependencies.patch) * Bump dependencies to use vala-0.10 -- David Paleino Sat, 05 Mar 2011 10:12:45 +0100 gedit-valencia-plugin (0.3.0-1) unstable; urgency=low * Initial release (Closes: #597660) -- David Paleino Wed, 22 Sep 2010 00:50:45 +0200 debian/copyright0000664000000000000000000000352612170431162011126 0ustar Format-Specification: http://dep.debian.net/deps/dep5 Upstream-Author: Adam Dingle Reuben Dunnington Files: * Copyright: © 2009-2010, Yorba Foundation License: LGPL-2.1+ Files: debian/* Copyright: © 2010, David Paleino License: GPL-2+ License: LGPL-2.1+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . X-Comment: on Debian systems, the complete text of the GNU Lesser General Public License can be found in "/usr/share/common-licenses/LGPL-2.1". License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . X-Comment: on Debian systems, the complete text of the GNU General Public License can be found in "/usr/share/common-licenses/GPL-2".