guibuilder_pel7x64builder0
6 years ago
2 changed files with 1283 additions and 0 deletions
@ -0,0 +1,678 @@
@@ -0,0 +1,678 @@
|
||||
From 61a02d97f9f294537992a42f5f28432bd359caf1 Mon Sep 17 00:00:00 2001 |
||||
From: Ray Strode <rstrode@redhat.com> |
||||
Date: Wed, 15 Mar 2017 15:04:47 -0400 |
||||
Subject: [PATCH] plugins: disable python 3 |
||||
|
||||
We only have python2 in rhel7 |
||||
--- |
||||
configure.ac | 2 +- |
||||
.../bracketcompletion/bracketcompletion.plugin.desktop.in.in | 2 +- |
||||
plugins/charmap/charmap.plugin.desktop.in.in | 2 +- |
||||
plugins/codecomment/codecomment.plugin.desktop.in.in | 2 +- |
||||
plugins/colorpicker/colorpicker.plugin.desktop.in.in | 2 +- |
||||
plugins/colorschemer/colorschemer.plugin.desktop.in.in | 2 +- |
||||
plugins/commander/commander.plugin.desktop.in.in | 2 +- |
||||
plugins/commander/commander/entry.py | 4 ++-- |
||||
plugins/commander/commander/info.py | 4 ++-- |
||||
plugins/dashboard/dashboard.plugin.desktop.in.in | 2 +- |
||||
plugins/git/git/appactivatable.py | 2 +- |
||||
plugins/git/git/debug.py | 2 +- |
||||
plugins/joinlines/joinlines.plugin.desktop.in.in | 2 +- |
||||
plugins/multiedit/multiedit.plugin.desktop.in.in | 2 +- |
||||
plugins/smartspaces/smartspaces.plugin.desktop.in.in | 2 +- |
||||
plugins/synctex/synctex.plugin.desktop.in.in | 2 +- |
||||
plugins/terminal/terminal.plugin.desktop.in.in | 2 +- |
||||
plugins/textsize/textsize.plugin.desktop.in.in | 2 +- |
||||
plugins/translate/translate.plugin.desktop.in.in | 2 +- |
||||
plugins/translate/translate/services/service.py | 3 ++- |
||||
20 files changed, 23 insertions(+), 22 deletions(-) |
||||
|
||||
diff --git a/configure.ac b/configure.ac |
||||
index 870bd3a..3c071c4 100644 |
||||
--- a/configure.ac |
||||
+++ b/configure.ac |
||||
@@ -66,61 +66,61 @@ PKG_CHECK_MODULES(GEDIT, [ |
||||
GLIB_GSETTINGS |
||||
|
||||
# C plugins that don't need special dependencies |
||||
C_PLUGINS="bookmarks drawspaces wordcompletion" |
||||
|
||||
# Python plugins that don't need special dependencies, besides Python |
||||
PY_PLUGINS="bracketcompletion codecomment colorpicker colorschemer commander joinlines multiedit smartspaces textsize translate" |
||||
|
||||
# Vala plugins that don't need special dependencies, besides Vala |
||||
VALA_PLUGINS="findinfiles" |
||||
|
||||
PLUGINS="$C_PLUGINS" |
||||
disabled_plugins="" |
||||
|
||||
# Check all plugins are built |
||||
AC_ARG_ENABLE([verify-all], |
||||
AC_HELP_STRING([--enable-verify-all], [verify that all plugins are enabled]), |
||||
[enable_verify_all=$enableval], |
||||
[enable_verify_all="no"]) |
||||
|
||||
# Python |
||||
AC_MSG_CHECKING([whether Python support is requested]) |
||||
AC_ARG_ENABLE([python], |
||||
AS_HELP_STRING([--enable-python], [Enable Python support]), |
||||
[enable_python=$enableval], |
||||
[enable_python=auto]) |
||||
AC_MSG_RESULT([$enable_python]) |
||||
|
||||
if test "x$enable_python" != "xno" |
||||
then |
||||
- AM_PATH_PYTHON(3, [have_python=yes], [have_python=no]) |
||||
+ AM_PATH_PYTHON(2, [have_python=yes], [have_python=no]) |
||||
if test "x$enable_python" = "xyes" -a "x$have_python" = "xno"; then |
||||
AC_MSG_ERROR([Python support explicitly requested, but not found]) |
||||
fi |
||||
fi |
||||
|
||||
AM_CONDITIONAL([ENABLE_PYTHON], [test "x$have_python" = "xyes"]) |
||||
|
||||
# Vala |
||||
AC_MSG_CHECKING([whether Vala support is requested]) |
||||
AC_ARG_ENABLE([vala], |
||||
AS_HELP_STRING([--enable-vala], [Enable Vala support]), |
||||
[enable_vala=$enableval], |
||||
[enable_vala=auto]) |
||||
AC_MSG_RESULT([$enable_vala]) |
||||
|
||||
if test "x$enable_vala" != "xno" |
||||
then |
||||
# This could probably be lower, but let's take the current version |
||||
VALA_REQUIRED=0.28.0 |
||||
AM_PROG_VALAC([$VALA_REQS]) |
||||
if test "x$VALAC" = "x"; then |
||||
if test "x$enable_vala" = "xyes"; then |
||||
AC_MSG_ERROR([Vala support explicitly requested, but not found]) |
||||
fi |
||||
have_vala=no |
||||
else |
||||
have_vala=yes |
||||
fi |
||||
else |
||||
have_vala=no |
||||
diff --git a/plugins/bracketcompletion/bracketcompletion.plugin.desktop.in.in b/plugins/bracketcompletion/bracketcompletion.plugin.desktop.in.in |
||||
index 71b32b6..0b1c05b 100644 |
||||
--- a/plugins/bracketcompletion/bracketcompletion.plugin.desktop.in.in |
||||
+++ b/plugins/bracketcompletion/bracketcompletion.plugin.desktop.in.in |
||||
@@ -1,10 +1,10 @@ |
||||
[Plugin] |
||||
-Loader=python3 |
||||
+Loader=python |
||||
Module=bracketcompletion |
||||
IAge=3 |
||||
_Name=Bracket Completion |
||||
_Description=Automatically adds closing brackets. |
||||
Authors=Steve Frécinaux <steve@istique.net> |
||||
Copyright=Copyright @ 2006 Steve Frécinaux |
||||
Website=http://www.gedit.org |
||||
Version=@VERSION@ |
||||
diff --git a/plugins/charmap/charmap.plugin.desktop.in.in b/plugins/charmap/charmap.plugin.desktop.in.in |
||||
index bb82259..719dc9f 100644 |
||||
--- a/plugins/charmap/charmap.plugin.desktop.in.in |
||||
+++ b/plugins/charmap/charmap.plugin.desktop.in.in |
||||
@@ -1,11 +1,11 @@ |
||||
[Plugin] |
||||
-Loader=python3 |
||||
+Loader=python |
||||
Module=charmap |
||||
IAge=3 |
||||
_Name=Character Map |
||||
_Description=Insert special characters just by clicking on them. |
||||
Icon=accessories-character-map |
||||
Authors=Steve Frécinaux <steve@istique.net>;Ignacio Casal Quinteiro <icq@gnome.org> |
||||
Copyright=Copyright @ 2006 Steve Frécinaux |
||||
Website=http://www.gedit.org |
||||
Version=@VERSION@ |
||||
diff --git a/plugins/codecomment/codecomment.plugin.desktop.in.in b/plugins/codecomment/codecomment.plugin.desktop.in.in |
||||
index 6561a2d..837fbee 100644 |
||||
--- a/plugins/codecomment/codecomment.plugin.desktop.in.in |
||||
+++ b/plugins/codecomment/codecomment.plugin.desktop.in.in |
||||
@@ -1,10 +1,10 @@ |
||||
[Plugin] |
||||
-Loader=python3 |
||||
+Loader=python |
||||
Module=codecomment |
||||
IAge=3 |
||||
_Name=Code Comment |
||||
_Description=Comment out or uncomment a selected block of code. |
||||
Authors=Alejandro Garcia <alex@igalia.com>;Matthew Dugan <matthew.dugan@gmail.com> |
||||
Copyright=Copyright @ 2005-2006 Igalia, S.L.;Copyright @ 2006 Matthew Dugan |
||||
Website=http://www.gedit.org |
||||
Version=@VERSION@ |
||||
diff --git a/plugins/colorpicker/colorpicker.plugin.desktop.in.in b/plugins/colorpicker/colorpicker.plugin.desktop.in.in |
||||
index c02867e..1cc2c1e 100644 |
||||
--- a/plugins/colorpicker/colorpicker.plugin.desktop.in.in |
||||
+++ b/plugins/colorpicker/colorpicker.plugin.desktop.in.in |
||||
@@ -1,10 +1,10 @@ |
||||
[Plugin] |
||||
-Loader=python3 |
||||
+Loader=python |
||||
Module=colorpicker |
||||
IAge=3 |
||||
_Name=Color Picker |
||||
_Description=Pick a color from a dialog and insert its hexadecimal representation. |
||||
Authors=Jesse van den Kieboom <jesse@icecrew.nl>;Ignacio Casal Quinteiro <icq@gnome.org> |
||||
Copyright=Copyright © 2006 Jesse van den Kieboom;Copyright © 2012 Ignacio Casal Quinteiro |
||||
Website=http://www.gedit.org |
||||
Version=@VERSION@ |
||||
diff --git a/plugins/colorschemer/colorschemer.plugin.desktop.in.in b/plugins/colorschemer/colorschemer.plugin.desktop.in.in |
||||
index 2d2b1f0..f9d30f3 100644 |
||||
--- a/plugins/colorschemer/colorschemer.plugin.desktop.in.in |
||||
+++ b/plugins/colorschemer/colorschemer.plugin.desktop.in.in |
||||
@@ -1,10 +1,10 @@ |
||||
[Plugin] |
||||
-Loader=python3 |
||||
+Loader=python |
||||
Module=colorschemer |
||||
IAge=3 |
||||
_Name=Color Scheme Editor |
||||
_Description=Source code color scheme editor |
||||
Authors=Jono <jono@foodnotblogs.com> |
||||
Copyright=Copyright © 2013 Jono Finger |
||||
Website=https://github.com/jonocodes/GeditSchemer |
||||
Version=@VERSION@ |
||||
diff --git a/plugins/commander/commander.plugin.desktop.in.in b/plugins/commander/commander.plugin.desktop.in.in |
||||
index 0f0cb01..05cbe14 100644 |
||||
--- a/plugins/commander/commander.plugin.desktop.in.in |
||||
+++ b/plugins/commander/commander.plugin.desktop.in.in |
||||
@@ -1,10 +1,10 @@ |
||||
[Plugin] |
||||
-Loader=python3 |
||||
+Loader=python |
||||
Module=commander |
||||
IAge=3 |
||||
_Name=Commander |
||||
_Description=Command line interface for advanced editing |
||||
Authors=Jesse van den Kieboom <jessevdk@gnome.org> |
||||
Copyright=Copyright © 2009 Jesse van den Kieboom |
||||
Website=http://www.gedit.org |
||||
Version=@VERSION@ |
||||
diff --git a/plugins/commander/commander/entry.py b/plugins/commander/commander/entry.py |
||||
index 0a376b3..85bd1af 100644 |
||||
--- a/plugins/commander/commander/entry.py |
||||
+++ b/plugins/commander/commander/entry.py |
||||
@@ -66,82 +66,82 @@ class Entry(Gtk.Box): |
||||
self._cancel_button = None |
||||
self._info = None |
||||
self._info_revealer = None |
||||
|
||||
self._suspended = None |
||||
|
||||
self._handlers = [ |
||||
[0, Gdk.KEY_Up, self._on_history_move, -1], |
||||
[0, Gdk.KEY_Down, self._on_history_move, 1], |
||||
[None, Gdk.KEY_Return, self._on_execute, None], |
||||
[None, Gdk.KEY_KP_Enter, self._on_execute, None], |
||||
[0, Gdk.KEY_Tab, self._on_complete, None], |
||||
[0, Gdk.KEY_ISO_Left_Tab, self._on_complete, None] |
||||
] |
||||
|
||||
self._re_complete = re.compile('("((?:\\\\"|[^"])*)"?|\'((?:\\\\\'|[^\'])*)\'?|[^\s]+)') |
||||
self._command_state = commands.Commands.State() |
||||
|
||||
self.connect('destroy', self._on_destroy) |
||||
|
||||
self._build_ui() |
||||
self._setup_keybindings() |
||||
|
||||
self._attach() |
||||
|
||||
def view(self): |
||||
return self._view |
||||
|
||||
def _setup_keybindings(self): |
||||
css = Gtk.CssProvider() |
||||
- css.load_from_data(bytes(""" |
||||
+ css.load_from_data(""" |
||||
@binding-set terminal-like-bindings { |
||||
unbind "<Control>A"; |
||||
|
||||
bind "<Control>W" { "delete-from-cursor" (word-ends, -1) }; |
||||
bind "<Control>A" { "move-cursor" (buffer-ends, -1, 0) }; |
||||
bind "<Control>U" { "delete-from-cursor" (display-line-ends, -1) }; |
||||
bind "<Control>K" { "delete-from-cursor" (display-line-ends, 1) }; |
||||
bind "<Control>E" { "move-cursor" (buffer-ends, 1, 0) }; |
||||
bind "Escape" { "delete-from-cursor" (display-lines, 1) }; |
||||
} |
||||
|
||||
GtkEntry#gedit-commander-entry { |
||||
gtk-key-bindings: terminal-like-bindings; |
||||
|
||||
background-image: none; |
||||
box-shadow: 0 0; |
||||
transition: none; |
||||
border: 0; |
||||
} |
||||
|
||||
-""", 'utf-8')) |
||||
+""") |
||||
|
||||
self._entry.get_style_context().add_provider(css, Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION) |
||||
|
||||
def _find_overlay(self, view): |
||||
parent = view.get_parent() |
||||
|
||||
while not isinstance(parent, Gtk.Overlay): |
||||
parent = parent.get_parent() |
||||
|
||||
return parent |
||||
|
||||
def _build_ui(self): |
||||
self.set_orientation(Gtk.Orientation.VERTICAL) |
||||
|
||||
self._overlay = self._find_overlay(self._view) |
||||
|
||||
hbox = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL, spacing=6) |
||||
hbox.show() |
||||
|
||||
self.pack_end(hbox, False, False, 0) |
||||
|
||||
self._info_revealer = Gtk.Revealer() |
||||
|
||||
self._info_revealer.set_transition_type(Gtk.RevealerTransitionType.SLIDE_UP) |
||||
self._info_revealer.set_transition_duration(150) |
||||
|
||||
self.pack_start(self._info_revealer, False, False, 0) |
||||
self._info_revealer.connect('notify::child-revealed', self._on_info_revealer_child_revealed) |
||||
|
||||
self._prompt_label = Gtk.Label(label='<b>>>></b>', use_markup=True) |
||||
diff --git a/plugins/commander/commander/info.py b/plugins/commander/commander/info.py |
||||
index a18c240..7f96f1f 100644 |
||||
--- a/plugins/commander/commander/info.py |
||||
+++ b/plugins/commander/commander/info.py |
||||
@@ -66,65 +66,65 @@ class ScrolledWindow(Gtk.ScrolledWindow): |
||||
|
||||
if vp == Gtk.PolicyType.NEVER and ret[0] > self._max_height: |
||||
self.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.ALWAYS) |
||||
self.set_min_content_height(self._max_height) |
||||
elif vp == Gtk.PolicyType.ALWAYS and ret[0] < self._max_height: |
||||
self.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.NEVER) |
||||
self.set_min_content_height(0) |
||||
|
||||
return Gtk.ScrolledWindow.do_get_preferred_height(self) |
||||
|
||||
class Info(Gtk.Box): |
||||
__gtype_name__ = "CommanderInfo" |
||||
|
||||
def __init__(self): |
||||
super(Info, self).__init__() |
||||
|
||||
self._button_bar = None |
||||
self._status_label = None |
||||
|
||||
self._build_ui() |
||||
|
||||
def _build_ui(self): |
||||
self.set_orientation(Gtk.Orientation.VERTICAL) |
||||
self.set_spacing(3) |
||||
self.set_can_focus(False) |
||||
|
||||
self._sw = ScrolledWindow() |
||||
self._sw.set_border_width(6) |
||||
|
||||
css = Gtk.CssProvider() |
||||
- css.load_from_data(bytes(""" |
||||
+ css.load_from_data(""" |
||||
.trough { |
||||
background: transparent; |
||||
} |
||||
-""", 'utf-8')) |
||||
+""") |
||||
|
||||
self._sw.get_vscrollbar().get_style_context().add_provider(css, Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION) |
||||
|
||||
self._sw.show() |
||||
self.add(self._sw) |
||||
|
||||
self._attr_map = { |
||||
Pango.AttrType.STYLE: ('style', Pango.AttrInt), |
||||
Pango.AttrType.WEIGHT: ('weight', Pango.AttrInt), |
||||
Pango.AttrType.VARIANT: ('variant', Pango.AttrInt), |
||||
Pango.AttrType.STRETCH: ('stretch', Pango.AttrInt), |
||||
Pango.AttrType.SIZE: ('size', Pango.AttrInt), |
||||
Pango.AttrType.FOREGROUND: ('foreground', Pango.AttrColor), |
||||
Pango.AttrType.BACKGROUND: ('background', Pango.AttrColor), |
||||
Pango.AttrType.UNDERLINE: ('underline', Pango.AttrInt), |
||||
Pango.AttrType.STRIKETHROUGH: ('strikethrough', Pango.AttrInt), |
||||
Pango.AttrType.RISE: ('rise', Pango.AttrInt), |
||||
Pango.AttrType.SCALE: ('scale', Pango.AttrFloat) |
||||
} |
||||
|
||||
@property |
||||
def text_view(self): |
||||
return self._sw.view |
||||
|
||||
@property |
||||
def is_empty(self): |
||||
buf = self.text_view.get_buffer() |
||||
return buf.get_start_iter().equal(buf.get_end_iter()) |
||||
|
||||
def status(self, text=None): |
||||
diff --git a/plugins/dashboard/dashboard.plugin.desktop.in.in b/plugins/dashboard/dashboard.plugin.desktop.in.in |
||||
index 2e74944..8150515 100644 |
||||
--- a/plugins/dashboard/dashboard.plugin.desktop.in.in |
||||
+++ b/plugins/dashboard/dashboard.plugin.desktop.in.in |
||||
@@ -1,10 +1,10 @@ |
||||
[Plugin] |
||||
-Loader=python3 |
||||
+Loader=python |
||||
Module=dashboard |
||||
IAge=3 |
||||
_Name=Dashboard |
||||
_Description=A Dashboard for new tabs |
||||
Authors=Seif Lotfy <seif@lotfy.com> |
||||
Copyright=Copyright © 2011 Collabora Ltd. |
||||
Website=http://www.gedit.org |
||||
Version=@VERSION@ |
||||
diff --git a/plugins/git/git/appactivatable.py b/plugins/git/git/appactivatable.py |
||||
index d746c21..f8d978e 100644 |
||||
--- a/plugins/git/git/appactivatable.py |
||||
+++ b/plugins/git/git/appactivatable.py |
||||
@@ -20,61 +20,61 @@ |
||||
from gi.repository import GLib, GObject, Gio, Gedit, Ggit |
||||
|
||||
|
||||
class GitAppActivatable(GObject.Object, Gedit.AppActivatable): |
||||
app = GObject.Property(type=Gedit.App) |
||||
|
||||
__instance = None |
||||
|
||||
def __init__(self): |
||||
super().__init__() |
||||
|
||||
Ggit.init() |
||||
|
||||
GitAppActivatable.__instance = self |
||||
|
||||
def do_activate(self): |
||||
self.clear_repositories() |
||||
|
||||
def do_deactivate(self): |
||||
self.__git_repos = None |
||||
self.__workdir_repos = None |
||||
|
||||
@classmethod |
||||
def get_instance(cls): |
||||
return cls.__instance |
||||
|
||||
def clear_repositories(self): |
||||
self.__git_repos = {} |
||||
self.__workdir_repos = {} |
||||
|
||||
- def get_repository(self, location, is_dir, *, allow_git_dir=False): |
||||
+ def get_repository(self, location, is_dir, allow_git_dir=False): |
||||
# The repos are cached by the directory |
||||
dir_location = location if is_dir else location.get_parent() |
||||
dir_uri = dir_location.get_uri() |
||||
|
||||
# Fast Path |
||||
try: |
||||
return self.__workdir_repos[dir_uri] |
||||
|
||||
except KeyError: |
||||
pass |
||||
|
||||
try: |
||||
repo = self.__git_repos[dir_uri] |
||||
|
||||
except KeyError: |
||||
pass |
||||
|
||||
else: |
||||
return repo if allow_git_dir else None |
||||
|
||||
# Doing remote operations is too slow |
||||
if not location.has_uri_scheme('file'): |
||||
return None |
||||
|
||||
# Must check every dir, otherwise submodules will have issues |
||||
try: |
||||
repo_file = Ggit.Repository.discover(location) |
||||
|
||||
except GLib.Error: |
||||
# Prevent trying to find a git repository |
||||
diff --git a/plugins/git/git/debug.py b/plugins/git/git/debug.py |
||||
index d608574..a661ab5 100644 |
||||
--- a/plugins/git/git/debug.py |
||||
+++ b/plugins/git/git/debug.py |
||||
@@ -1,60 +1,60 @@ |
||||
# -*- coding: utf-8 -*- |
||||
|
||||
# Copyright (C) 2014 - Garrett Regier |
||||
# |
||||
# 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, write to the Free Software |
||||
# Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA |
||||
# 02110-1301 USA. |
||||
|
||||
import inspect |
||||
import io |
||||
import os |
||||
import sys |
||||
import traceback |
||||
|
||||
|
||||
_DEBUG = os.getenv('GEDIT_DEBUG_GIT_PLUGIN') is not None |
||||
|
||||
|
||||
-def debug(msg, *, frames=1, print_stack=False, limit=None): |
||||
+def debug(msg, frames=1, print_stack=False, limit=None): |
||||
"""Mimicks Gedit's gedit_debug_message() output, but only prints |
||||
when the GEDIT_DEBUG_GIT_PLUGIN enviroment variable exists. |
||||
""" |
||||
if not _DEBUG: |
||||
return |
||||
|
||||
current_frame = inspect.currentframe() |
||||
calling_frame = current_frame |
||||
|
||||
try: |
||||
for i in range(frames): |
||||
calling_frame = calling_frame.f_back |
||||
|
||||
info = inspect.getframeinfo(calling_frame) |
||||
|
||||
path = min(info.filename.replace(x, '') for x in sys.path) |
||||
if path[0] == os.path.sep: |
||||
path = path[1:] |
||||
|
||||
full_message = io.StringIO() |
||||
full_message.writelines((path, ':', str(info.lineno), |
||||
' (', info.function, ') ', msg, '\n')) |
||||
|
||||
if print_stack: |
||||
full_message.write('Stack (most recent call last):\n') |
||||
traceback.print_stack(calling_frame, |
||||
file=full_message, limit=limit) |
||||
|
||||
if full_message.getvalue()[-1] != '\n': |
||||
full_message.write('\n') |
||||
diff --git a/plugins/joinlines/joinlines.plugin.desktop.in.in b/plugins/joinlines/joinlines.plugin.desktop.in.in |
||||
index 5ea1a42..b76bd63 100644 |
||||
--- a/plugins/joinlines/joinlines.plugin.desktop.in.in |
||||
+++ b/plugins/joinlines/joinlines.plugin.desktop.in.in |
||||
@@ -1,10 +1,10 @@ |
||||
[Plugin] |
||||
-Loader=python3 |
||||
+Loader=python |
||||
Module=joinlines |
||||
IAge=3 |
||||
_Name=Join/Split Lines |
||||
_Description=Join several lines or split long ones |
||||
Authors=Steve Frécinaux <steve@istique.net>;André Homeyer |
||||
Copyright=Copyright @ 2006-2007 Steve Frécinaux, André Homeyer |
||||
Website=http://www.gedit.org |
||||
Version=@VERSION@ |
||||
diff --git a/plugins/multiedit/multiedit.plugin.desktop.in.in b/plugins/multiedit/multiedit.plugin.desktop.in.in |
||||
index 7b7b137..6f315ef 100644 |
||||
--- a/plugins/multiedit/multiedit.plugin.desktop.in.in |
||||
+++ b/plugins/multiedit/multiedit.plugin.desktop.in.in |
||||
@@ -1,10 +1,10 @@ |
||||
[Plugin] |
||||
-Loader=python3 |
||||
+Loader=python |
||||
Module=multiedit |
||||
IAge=3 |
||||
_Name=Multi Edit |
||||
_Description=Edit document in multiple places at once |
||||
Authors=Jesse van den Kieboom <jessevdk@gnome.org> |
||||
Copyright=Copyright © 2009 Jesse van den Kieboom |
||||
Website=http://www.gedit.org |
||||
Version=@VERSION@ |
||||
diff --git a/plugins/smartspaces/smartspaces.plugin.desktop.in.in b/plugins/smartspaces/smartspaces.plugin.desktop.in.in |
||||
index f9ca79a..9671fe3 100644 |
||||
--- a/plugins/smartspaces/smartspaces.plugin.desktop.in.in |
||||
+++ b/plugins/smartspaces/smartspaces.plugin.desktop.in.in |
||||
@@ -1,10 +1,10 @@ |
||||
[Plugin] |
||||
-Loader=python3 |
||||
+Loader=python |
||||
Module=smartspaces |
||||
IAge=3 |
||||
_Name=Smart Spaces |
||||
_Description=Forget you’re not using tabulations. |
||||
Authors=Steve Frécinaux <steve@istique.net> |
||||
Copyright=Copyright © 2006 Steve Frécinaux |
||||
Website=http://www.gedit.org |
||||
Version=@VERSION@ |
||||
diff --git a/plugins/synctex/synctex.plugin.desktop.in.in b/plugins/synctex/synctex.plugin.desktop.in.in |
||||
index b465129..1bb8da1 100644 |
||||
--- a/plugins/synctex/synctex.plugin.desktop.in.in |
||||
+++ b/plugins/synctex/synctex.plugin.desktop.in.in |
||||
@@ -1,10 +1,10 @@ |
||||
[Plugin] |
||||
-Loader=python3 |
||||
+Loader=python |
||||
Module=synctex |
||||
IAge=3 |
||||
_Name=SyncTeX |
||||
_Description=Synchronize between LaTeX and PDF with gedit and evince. |
||||
Authors=José Aliste <jaliste@src.gnome.org> |
||||
Copyright=Copyright © 2010 José Aliste |
||||
Website=http://www.gedit.org |
||||
Version=@VERSION@ |
||||
diff --git a/plugins/terminal/terminal.plugin.desktop.in.in b/plugins/terminal/terminal.plugin.desktop.in.in |
||||
index dac9ac1..fcbe266 100644 |
||||
--- a/plugins/terminal/terminal.plugin.desktop.in.in |
||||
+++ b/plugins/terminal/terminal.plugin.desktop.in.in |
||||
@@ -1,11 +1,11 @@ |
||||
[Plugin] |
||||
-Loader=python3 |
||||
+Loader=python |
||||
Module=terminal |
||||
IAge=3 |
||||
_Name=Embedded Terminal |
||||
_Description=Embed a terminal in the bottom pane. |
||||
Icon=utilities-terminal |
||||
Authors=Paolo Borelli |
||||
Copyright=Copyright © 2005 Paolo Borelli |
||||
Website=http://www.gedit.org |
||||
Version=@VERSION@ |
||||
diff --git a/plugins/textsize/textsize.plugin.desktop.in.in b/plugins/textsize/textsize.plugin.desktop.in.in |
||||
index 8c12009..c4cecea 100644 |
||||
--- a/plugins/textsize/textsize.plugin.desktop.in.in |
||||
+++ b/plugins/textsize/textsize.plugin.desktop.in.in |
||||
@@ -1,10 +1,10 @@ |
||||
[Plugin] |
||||
-Loader=python3 |
||||
+Loader=python |
||||
Module=textsize |
||||
IAge=3 |
||||
_Name=Text Size |
||||
_Description=Easily increase and decrease the text size |
||||
Authors=Konstantin Mikhaylov <jtraub.devel@gmail.com>;Wouter Bolsterlee <wbolster@gnome.org>;Jesse van den Kieboom <jessevdk@gnome.org> |
||||
Copyright=Copyright © 2008 by the authors |
||||
Website=http://www.gedit.org |
||||
Version=@VERSION@ |
||||
diff --git a/plugins/translate/translate.plugin.desktop.in.in b/plugins/translate/translate.plugin.desktop.in.in |
||||
index 76ecfb7..4e75739 100644 |
||||
--- a/plugins/translate/translate.plugin.desktop.in.in |
||||
+++ b/plugins/translate/translate.plugin.desktop.in.in |
||||
@@ -1,10 +1,10 @@ |
||||
[Plugin] |
||||
-Loader=python3 |
||||
+Loader=python |
||||
Module=translate |
||||
IAge=3 |
||||
_Name=Translate |
||||
_Description=Translates text into different languages |
||||
Authors=Jordi Mas i Hernàndez <jmas@softcatala.org> |
||||
Copyright=Copyright @ 2017 Jordi Mas i Hernàndez. Powered by Apertium and Yandex.Translate translation engines. |
||||
Website=http://www.gedit.org |
||||
Version=@VERSION@ |
||||
diff --git a/plugins/translate/translate/services/service.py b/plugins/translate/translate/services/service.py |
||||
index 5406c6e..05a4182 100644 |
||||
--- a/plugins/translate/translate/services/service.py |
||||
+++ b/plugins/translate/translate/services/service.py |
||||
@@ -1,52 +1,53 @@ |
||||
# -*- coding: utf-8 -*- |
||||
# |
||||
# Copyrignt (C) 2017 Jordi Mas <jmas@softcatala.org> |
||||
# |
||||
# 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, write to the Free Software |
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, |
||||
# Boston, MA 02110-1301, USA. |
||||
|
||||
from abc import ABCMeta, abstractmethod |
||||
|
||||
-class Service(metaclass=ABCMeta): |
||||
+class Service: |
||||
+ __metaclass__ = ABCMeta |
||||
|
||||
@abstractmethod |
||||
def translate_text(self, text, language_pair): |
||||
pass |
||||
|
||||
@abstractmethod |
||||
def get_language_names(self): |
||||
pass |
||||
|
||||
@abstractmethod |
||||
def get_language_codes(self): |
||||
pass |
||||
|
||||
@abstractmethod |
||||
def get_language_pair_name(self, source, target, locales_names=None): |
||||
pass |
||||
|
||||
@abstractmethod |
||||
def get_default_language_codes(self): |
||||
pass |
||||
|
||||
@abstractmethod |
||||
def has_api_key(self): |
||||
pass |
||||
|
||||
@abstractmethod |
||||
def get_api_hint(self): |
||||
pass |
||||
|
||||
@abstractmethod |
||||
-- |
||||
2.17.1 |
||||
|
@ -0,0 +1,605 @@
@@ -0,0 +1,605 @@
|
||||
%if 0%{?fedora} > 12 |
||||
%global with_zeitgeist 1 |
||||
%global with_python3 0 |
||||
%else |
||||
%global with_zeitgeist 0 |
||||
%global with_python3 0 |
||||
%endif |
||||
|
||||
%if %{with_python3} |
||||
%global __python %{__python3} |
||||
%endif |
||||
|
||||
Name: gedit-plugins |
||||
Version: 3.28.1 |
||||
Release: 1%{?dist} |
||||
Summary: Plugins for gedit |
||||
|
||||
Group: Applications/Editors |
||||
License: GPLv2+ |
||||
URL: http://live.gnome.org/Gedit |
||||
Source0: https://download.gnome.org/sources/%{name}/3.28/%{name}-%{version}.tar.xz |
||||
Patch0: gedit-plugins-disable-python3.patch |
||||
|
||||
BuildRequires: gedit-devel |
||||
BuildRequires: gnome-doc-utils |
||||
BuildRequires: gucharmap-devel |
||||
BuildRequires: perl(XML::Parser) |
||||
BuildRequires: gettext |
||||
BuildRequires: cairo-devel |
||||
BuildRequires: atk-devel |
||||
%if %{with_python3} |
||||
BuildRequires: python3-devel |
||||
BuildRequires: python3-gobject |
||||
%else |
||||
BuildRequires: python-devel |
||||
%endif |
||||
BuildRequires: pygobject3-devel |
||||
BuildRequires: intltool |
||||
BuildRequires: libpeas-devel |
||||
BuildRequires: dbus-python-devel |
||||
BuildRequires: vala |
||||
BuildRequires: vte291-devel |
||||
BuildRequires: yelp-tools |
||||
BuildRequires: itstool |
||||
%if %{with_zeitgeist} |
||||
BuildRequires: zeitgeist-devel |
||||
%endif |
||||
BuildRequires: autoconf, automake, libtool, intltool, gettext |
||||
|
||||
# this is a metapackage dragging in all the plugins |
||||
Requires: gedit-plugin-bookmarks |
||||
Requires: gedit-plugin-bracketcompletion |
||||
Requires: gedit-plugin-charmap |
||||
Requires: gedit-plugin-codecomment |
||||
Requires: gedit-plugin-colorpicker |
||||
Requires: gedit-plugin-colorschemer |
||||
Requires: gedit-plugin-commander |
||||
%if %{with_zeitgeist} |
||||
Requires: gedit-plugin-dashboard |
||||
%endif |
||||
Requires: gedit-plugin-drawspaces |
||||
Requires: gedit-plugin-joinlines |
||||
Requires: gedit-plugin-multiedit |
||||
Requires: gedit-plugin-smartspaces |
||||
Requires: gedit-plugin-synctex |
||||
Requires: gedit-plugin-terminal |
||||
Requires: gedit-plugin-textsize |
||||
Requires: gedit-plugin-wordcompletion |
||||
%if %{with_zeitgeist} |
||||
Requires: gedit-plugin-zeitgeist |
||||
%endif |
||||
|
||||
%description |
||||
A collection of plugins for gedit. |
||||
|
||||
%package data |
||||
Summary: Common data required by plugins |
||||
Requires: gedit |
||||
%if %{with_python3} |
||||
Requires: python3-gobject >= %{pygo_version} |
||||
%endif |
||||
%description data |
||||
Common files required by all plugins. |
||||
|
||||
%package -n gedit-plugin-bookmarks |
||||
Summary: gedit bookmarks plugin |
||||
Requires: %{name}-data = %{version}-%{release} |
||||
%description -n gedit-plugin-bookmarks |
||||
The gedit bookmarks plugin. |
||||
|
||||
%package -n gedit-plugin-bracketcompletion |
||||
Summary: gedit bracketcompletion plugin |
||||
Requires: %{name}-data = %{version}-%{release} |
||||
Requires: pygobject3 >= 3.14.0 |
||||
%description -n gedit-plugin-bracketcompletion |
||||
The gedit bracketcompletion plugin. |
||||
|
||||
%package -n gedit-plugin-charmap |
||||
Summary: gedit charmap plugin |
||||
Requires: %{name}-data = %{version}-%{release} |
||||
Requires: gucharmap >= 2.33.2-6.fc15 |
||||
Requires: pygobject3 >= 3.14.0 |
||||
%description -n gedit-plugin-charmap |
||||
The gedit charmap plugin. |
||||
|
||||
%package -n gedit-plugin-codecomment |
||||
Summary: gedit codecomment plugin |
||||
Requires: %{name}-data = %{version}-%{release} |
||||
Requires: pygobject3 >= 3.14.0 |
||||
%description -n gedit-plugin-codecomment |
||||
The gedit codecomment plugin. |
||||
|
||||
%package -n gedit-plugin-colorpicker |
||||
Summary: gedit colorpicker plugin |
||||
Requires: %{name}-data = %{version}-%{release} |
||||
Requires: pygobject3 >= 3.14.0 |
||||
%description -n gedit-plugin-colorpicker |
||||
The gedit colorpicker plugin. |
||||
|
||||
%package -n gedit-plugin-colorschemer |
||||
Summary: gedit colorschemer plugin |
||||
Requires: %{name}-data = %{version}-%{release} |
||||
Requires: pygobject3 >= 3.14.0 |
||||
%description -n gedit-plugin-colorschemer |
||||
The gedit colorschemer plugin. |
||||
|
||||
%package -n gedit-plugin-commander |
||||
Summary: gedit commander plugin |
||||
Requires: %{name}-data = %{version}-%{release} |
||||
Requires: pygobject3 >= 3.14.0 |
||||
%description -n gedit-plugin-commander |
||||
The gedit commander plugin. |
||||
|
||||
%if %{with_zeitgeist} |
||||
%package -n gedit-plugin-dashboard |
||||
Summary: gedit dashboard plugin |
||||
Requires: %{name}-data = %{version}-%{release} |
||||
Requires: pygobject3 >= 3.14.0 |
||||
%description -n gedit-plugin-dashboard |
||||
The gedit dashboard plugin. |
||||
%endif |
||||
|
||||
%package -n gedit-plugin-drawspaces |
||||
Summary: gedit drawspaces plugin |
||||
Requires: %{name}-data = %{version}-%{release} |
||||
%description -n gedit-plugin-drawspaces |
||||
The gedit drawspaces plugin. |
||||
|
||||
%package -n gedit-plugin-findinfiles |
||||
Summary: gedit findinfiles plugin |
||||
Requires: %{name}-data = %{version}-%{release} |
||||
%description -n gedit-plugin-findinfiles |
||||
The gedit findinfiles plugin. |
||||
|
||||
%package -n gedit-plugin-joinlines |
||||
Summary: gedit joinlines plugin |
||||
Requires: %{name}-data = %{version}-%{release} |
||||
Requires: pygobject3 >= 3.14.0 |
||||
%description -n gedit-plugin-joinlines |
||||
The gedit joinlines plugin. |
||||
|
||||
%package -n gedit-plugin-multiedit |
||||
Summary: gedit multiedit plugin |
||||
Requires: %{name}-data = %{version}-%{release} |
||||
Requires: pygobject3 >= 3.14.0 |
||||
%description -n gedit-plugin-multiedit |
||||
The gedit multiedit plugin. |
||||
|
||||
%package -n gedit-plugin-smartspaces |
||||
Summary: gedit smartspaces plugin |
||||
Requires: %{name}-data = %{version}-%{release} |
||||
Requires: pygobject3 >= 3.14.0 |
||||
%description -n gedit-plugin-smartspaces |
||||
The gedit smartspaces plugin. |
||||
|
||||
%package -n gedit-plugin-synctex |
||||
Summary: gedit synctex plugin |
||||
Requires: %{name}-data = %{version}-%{release} |
||||
Requires: pygobject3 >= 3.14.0 |
||||
%description -n gedit-plugin-synctex |
||||
The gedit synctex plugin. |
||||
|
||||
%package -n gedit-plugin-terminal |
||||
Summary: gedit terminal plugin |
||||
Requires: %{name}-data = %{version}-%{release} |
||||
Requires: vte291 |
||||
Requires: pygobject3 >= 3.14.0 |
||||
%description -n gedit-plugin-terminal |
||||
The gedit terminal plugin. |
||||
|
||||
%package -n gedit-plugin-textsize |
||||
Summary: gedit textsize plugin |
||||
Requires: %{name}-data = %{version}-%{release} |
||||
Requires: pygobject3 >= 3.14.0 |
||||
%description -n gedit-plugin-textsize |
||||
The gedit textsize plugin. |
||||
|
||||
%package -n gedit-plugin-translate |
||||
Summary: gedit textsize plugin |
||||
Requires: %{name}-data = %{version}-%{release} |
||||
Requires: pygobject3 >= 3.14.0 |
||||
%description -n gedit-plugin-translate |
||||
The gedit translate plugin. |
||||
|
||||
%package -n gedit-plugin-wordcompletion |
||||
Summary: gedit wordcompletion plugin |
||||
Requires: %{name}-data = %{version}-%{release} |
||||
%description -n gedit-plugin-wordcompletion |
||||
The gedit wordcompletion plugin. |
||||
|
||||
%if %{with_zeitgeist} |
||||
%package -n gedit-plugin-zeitgeist |
||||
Summary: gedit zeitgeist plugin |
||||
Requires: %{name}-data = %{version}-%{release} |
||||
Requires: zeitgeist |
||||
Obsoletes: gedit-zeitgeist < 2:3.13.0 |
||||
%description -n gedit-plugin-zeitgeist |
||||
The gedit zeitgeist plugin. |
||||
%endif |
||||
|
||||
%prep |
||||
%setup -q |
||||
%if !%{with_python3} |
||||
%patch0 -p1 -b .disable-python3 |
||||
%endif |
||||
|
||||
%build |
||||
autopoint --force |
||||
AUTOPOINT="intltoolize --automake --copy" autoreconf -f -i |
||||
%if %{with_zeitgeist} |
||||
%configure --enable-python |
||||
%else |
||||
%configure --enable-python --disable-zeitgeist |
||||
%endif |
||||
make %{?_smp_mflags} |
||||
|
||||
|
||||
%install |
||||
%make_install |
||||
%find_lang %{name} --with-gnome |
||||
%find_lang gedit --with-gnome |
||||
find $RPM_BUILD_ROOT/%{_libdir}/gedit/plugins -name "*.la" -exec rm {} \; |
||||
|
||||
|
||||
%check |
||||
[ -f ${RPM_BUILD_ROOT}%{_libdir}/gedit/plugins/terminal.py ] |
||||
|
||||
|
||||
%postun -n gedit-plugin-drawspaces |
||||
if [ $1 -eq 0 ]; then |
||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : |
||||
fi |
||||
|
||||
%posttrans -n gedit-plugin-drawspaces |
||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : |
||||
|
||||
|
||||
%postun -n gedit-plugin-terminal |
||||
if [ $1 -eq 0 ]; then |
||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : |
||||
fi |
||||
|
||||
%posttrans -n gedit-plugin-terminal |
||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : |
||||
|
||||
%postun -n gedit-plugin-translate |
||||
if [ $1 -eq 0 ]; then |
||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : |
||||
fi |
||||
|
||||
%posttrans -n gedit-plugin-translate |
||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : |
||||
|
||||
%postun -n gedit-plugin-wordcompletion |
||||
if [ $1 -eq 0 ]; then |
||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : |
||||
fi |
||||
|
||||
%posttrans -n gedit-plugin-wordcompletion |
||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : |
||||
|
||||
|
||||
# Empty files section for the metapackage to make sure it's created |
||||
%files |
||||
|
||||
%files data -f %{name}.lang -f gedit.lang |
||||
%doc README NEWS AUTHORS COPYING |
||||
%dir %{_libdir}/gedit/plugins/ |
||||
%dir %{_datadir}/gedit/plugins/ |
||||
%{_libdir}/gedit/plugins/gpdefs.* |
||||
|
||||
%files -n gedit-plugin-bookmarks |
||||
%{_libdir}/gedit/plugins/bookmarks.plugin |
||||
%{_libdir}/gedit/plugins/libbookmarks.so |
||||
%{_datadir}/appdata/gedit-bookmarks.metainfo.xml |
||||
|
||||
%files -n gedit-plugin-bracketcompletion |
||||
%{_libdir}/gedit/plugins/bracketcompletion.* |
||||
%{_datadir}/appdata/gedit-bracketcompletion.metainfo.xml |
||||
|
||||
%files -n gedit-plugin-charmap |
||||
%{_libdir}/gedit/plugins/charmap |
||||
%{_libdir}/gedit/plugins/charmap.plugin |
||||
%{_datadir}/appdata/gedit-charmap.metainfo.xml |
||||
|
||||
%files -n gedit-plugin-codecomment |
||||
%{_libdir}/gedit/plugins/codecomment.* |
||||
%{_datadir}/appdata/gedit-codecomment.metainfo.xml |
||||
|
||||
%files -n gedit-plugin-colorpicker |
||||
%{_libdir}/gedit/plugins/colorpicker.* |
||||
%{_datadir}/appdata/gedit-colorpicker.metainfo.xml |
||||
|
||||
%files -n gedit-plugin-colorschemer |
||||
%{_datadir}/gedit/plugins/colorschemer/ui/schemer.ui |
||||
%{_libdir}/gedit/plugins/colorschemer |
||||
%{_libdir}/gedit/plugins/colorschemer.plugin |
||||
%{_datadir}/appdata/gedit-colorschemer.metainfo.xml |
||||
|
||||
%files -n gedit-plugin-commander |
||||
%{_datadir}/gedit/plugins/commander |
||||
%{_libdir}/gedit/plugins/commander |
||||
%{_libdir}/gedit/plugins/commander.plugin |
||||
%{_datadir}/appdata/gedit-commander.metainfo.xml |
||||
|
||||
%if %{with_zeitgeist} |
||||
%files -n gedit-plugin-dashboard |
||||
%{_libdir}/gedit/plugins/dashboard |
||||
%{_libdir}/gedit/plugins/dashboard.plugin |
||||
%{_datadir}/appdata/gedit-dashboard.metainfo.xml |
||||
%endif |
||||
|
||||
%files -n gedit-plugin-drawspaces |
||||
%{_datadir}/glib-2.0/schemas/org.gnome.gedit.plugins.drawspaces.gschema.xml |
||||
%{_libdir}/gedit/plugins/drawspaces.plugin |
||||
%{_libdir}/gedit/plugins/libdrawspaces.so |
||||
%{_datadir}/appdata/gedit-drawspaces.metainfo.xml |
||||
|
||||
%files -n gedit-plugin-findinfiles |
||||
%{_libdir}/gedit/plugins/findinfiles.plugin |
||||
%{_libdir}/gedit/plugins/libfindinfiles.so |
||||
%{_datadir}/appdata/gedit-findinfiles.metainfo.xml |
||||
|
||||
%files -n gedit-plugin-joinlines |
||||
%{_libdir}/gedit/plugins/joinlines.* |
||||
%{_datadir}/appdata/gedit-joinlines.metainfo.xml |
||||
|
||||
%files -n gedit-plugin-multiedit |
||||
%{_libdir}/gedit/plugins/multiedit |
||||
%{_libdir}/gedit/plugins/multiedit.plugin |
||||
%{_datadir}/appdata/gedit-multiedit.metainfo.xml |
||||
|
||||
%files -n gedit-plugin-smartspaces |
||||
%{_libdir}/gedit/plugins/smartspaces.* |
||||
%{_datadir}/appdata/gedit-smartspaces.metainfo.xml |
||||
|
||||
%files -n gedit-plugin-synctex |
||||
%{_libdir}/gedit/plugins/synctex |
||||
%{_libdir}/gedit/plugins/synctex.plugin |
||||
%{_datadir}/appdata/gedit-synctex.metainfo.xml |
||||
|
||||
%files -n gedit-plugin-terminal |
||||
%{_datadir}/glib-2.0/schemas/org.gnome.gedit.plugins.terminal.gschema.xml |
||||
%{_libdir}/gedit/plugins/terminal.* |
||||
%{_datadir}/appdata/gedit-terminal.metainfo.xml |
||||
|
||||
%files -n gedit-plugin-textsize |
||||
%{_libdir}/gedit/plugins/textsize |
||||
%{_libdir}/gedit/plugins/textsize.plugin |
||||
%{_datadir}/appdata/gedit-textsize.metainfo.xml |
||||
|
||||
%files -n gedit-plugin-translate |
||||
%{_datadir}/gedit/plugins/translate/ui/preferences.ui |
||||
%{_datadir}/glib-2.0/schemas/org.gnome.gedit.plugins.translate.gschema.xml |
||||
%{_libdir}/gedit/plugins/translate |
||||
%{_libdir}/gedit/plugins/translate.plugin |
||||
%{_datadir}/appdata/gedit-translate.metainfo.xml |
||||
|
||||
%files -n gedit-plugin-wordcompletion |
||||
%{_datadir}/glib-2.0/schemas/org.gnome.gedit.plugins.wordcompletion.gschema.xml |
||||
%{_libdir}/gedit/plugins/libwordcompletion.so |
||||
%{_libdir}/gedit/plugins/wordcompletion.plugin |
||||
%{_datadir}/appdata/gedit-wordcompletion.metainfo.xml |
||||
|
||||
%if %{with_zeitgeist} |
||||
%files -n gedit-plugin-zeitgeist |
||||
%{_libdir}/gedit/plugins/libzeitgeist.so |
||||
%{_libdir}/gedit/plugins/zeitgeist.plugin |
||||
%{_datadir}/appdata/gedit-zeitgeist.metainfo.xml |
||||
%endif |
||||
|
||||
%changelog |
||||
* Wed Jun 06 2018 Ray Strode <rstrode@redhat.com> - 3.28.1-1 |
||||
- Rebase to 3.28.1 |
||||
Resolves: #1569721 |
||||
|
||||
* Wed Mar 15 2017 Ray Strode <rstrode@redhat.com> - 3.22.0-1 |
||||
- Rebase to 3.22.0 |
||||
Resolves: #1386865 |
||||
|
||||
* Mon Aug 01 2016 Ray Strode <rstrode@redhat.com> - 3.14.1-5 |
||||
- Updated patch from Matej Cepl for python3→python2 |
||||
Resolves: #1360916 |
||||
|
||||
* Tue Apr 12 2016 Ray Strode <rstrode@redhat.com> - 3.14.1-4 |
||||
- Require pygobject3 3.14 |
||||
Resolves: #1293069 |
||||
|
||||
* Wed Apr 7 2016 Matthias Clasen <mclasen@redhat.,com> 3.14.1-3 |
||||
- Fix a crash in text iter use |
||||
Resolves: #1239247 |
||||
|
||||
* Thu Jun 25 2015 Ray Strode <rstrode@redhat.com> 3.14.1-2 |
||||
- Updated python2 support patch from Matěj Cepl |
||||
Related: #1230752 |
||||
|
||||
* Fri Jun 19 2015 Ray Strode <rstrode@redhat.com> 3.14.1-1 |
||||
- Update to 3.14.1 |
||||
Resolves: #1230752 |
||||
|
||||
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 3.8.3-4 |
||||
- Mass rebuild 2014-01-24 |
||||
|
||||
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 3.8.3-3 |
||||
- Mass rebuild 2013-12-27 |
||||
|
||||
* Tue Jul 16 2013 Matthias Clasen <mclasen@redhat.com> - 3.8.3-2 |
||||
- Drop the git plugin (we don't ship libgit2) |
||||
|
||||
* Wed Jun 19 2013 Ignacio Casal Quinteiro <icq@gnome.org> - 3.8.3-1 |
||||
- Update to 3.8.3 |
||||
|
||||
* Sun May 26 2013 Ignacio Casal Quinteiro <icq@gnome.org> - 3.8.2-1 |
||||
- Update to 3.8.2 |
||||
|
||||
* Mon May 6 2013 Marek Kasik <mkasik@redhat.com> - 3.8.1-2 |
||||
- Make building of Zeitgeist plugins and usage of python3 conditional |
||||
|
||||
* Mon Apr 15 2013 Kalev Lember <kalevlember@gmail.com> - 3.8.1-1 |
||||
- Update to 3.8.1 |
||||
|
||||
* Tue Mar 26 2013 Kalev Lember <kalevlember@gmail.com> - 3.8.0-2 |
||||
- Rebuilt for gtksourceview3 soname bump |
||||
|
||||
* Mon Mar 25 2013 Ignacio Casal Quinteiro <icq@gnome.org> - 3.8.0-1 |
||||
- Update to 3.8.0 |
||||
|
||||
* Sun Jan 27 2013 Ignacio Casal Quinteiro <icq@gnome.org> - 3.7.1-1 |
||||
- Update to 3.7.1 |
||||
|
||||
* Tue Oct 16 2012 Ignacio Casal Quinteiro <icq@gnome.org> - 3.6.1-1 |
||||
- Update to 3.6.1 |
||||
|
||||
* Mon Sep 24 2012 Ignacio Casal Quinteiro <icq@gnome.org> - 3.6.0-1 |
||||
- Update to 3.6.0 |
||||
|
||||
* Wed Sep 19 2012 Ignacio Casal Quinteiro <icq@gnome.org> - 3.5.2-1 |
||||
- Update to 3.5.2 |
||||
|
||||
* Sat Aug 18 2012 Ignacio Casal Quinteiro <icq@gnome.org> - 3.5.1-1 |
||||
- Update to 3.5.1 |
||||
|
||||
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.0-3 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
||||
|
||||
* Tue Apr 24 2012 Kalev Lember <kalevlember@gmail.com> - 3.4.0-2 |
||||
- Silence rpm scriptlet output |
||||
|
||||
* Mon Mar 26 2012 Ignacio Casal Quinteiro <icq@gnome.org> - 3.4.0-1 |
||||
- Update to 3.4.0 |
||||
|
||||
* Wed Mar 07 2012 Ignacio Casal Quinteiro <icq@gnome.org> - 3.3.4-1 |
||||
- Update to 3.3.4 |
||||
|
||||
* Sat Feb 25 2012 Ignacio Casal Quinteiro <icq@gnome.org> - 3.3.3-1 |
||||
- Update to 3.3.3 |
||||
|
||||
* Tue Feb 07 2012 Ignacio Casal Quinteiro <icq@gnome.org> - 3.3.2-1 |
||||
- Update to 3.3.2 |
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.1-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
||||
|
||||
* Sat Dec 03 2011 Ignacio Casal Quinteiro <icq@gnome.org> - 3.3.1-1 |
||||
- Update to 3.3.1 |
||||
|
||||
* Sun Oct 16 2011 Ignacio Casal Quinteiro <icq@gnome.org> - 3.2.1-1 |
||||
- Update to 3.2.1 |
||||
|
||||
* Mon Sep 26 2011 Ignacio Casal Quinteiro <icq@gnome.org> - 3.2.0-1 |
||||
- Update to 3.2.0 |
||||
- Bump pygobject to 3.0 |
||||
|
||||
* Thu Sep 20 2011 Ignacio Casal Quinteiro <icq@gnome.org> - 3.1.5-1 |
||||
- Update to 3.1.5 |
||||
|
||||
* Thu Sep 06 2011 Ignacio Casal Quinteiro <icq@gnome.org> - 3.1.4-1 |
||||
- Update to 3.1.4 |
||||
|
||||
* Thu Sep 01 2011 Ignacio Casal Quinteiro <icq@gnome.org> - 3.1.3-1 |
||||
- Update to 3.1.3 |
||||
|
||||
* Tue Jul 05 2011 Ignacio Casal Quinteiro <icq@gnome.org> - 3.1.2-1 |
||||
- Update to 3.1.2 |
||||
|
||||
* Thu Jun 16 2011 Tomas Bzatek <tbzatek@redhat.com> - 3.1.1-1 |
||||
- Update to 3.1.1 |
||||
|
||||
* Wed May 18 2011 Ignacio Casal Quinteiro <icq@gnome.org> - 3.0.2-2 |
||||
- Remove useless deps |
||||
|
||||
* Tue Apr 26 2011 Matthias Clasen <mclasen@redhat.com> - 3.0.2-1 |
||||
- Update to 3.0.2 |
||||
|
||||
* Wed Apr 13 2011 Christopher Aillon <caillon@redhat.com> - 3.0.1-1 |
||||
- Update to 3.0.1 |
||||
|
||||
* Wed Apr 6 2011 Tomas Bzatek <tbzatek@redhat.com> - 3.0.0-1 |
||||
- Update to 3.0.0 |
||||
|
||||
* Sun Mar 27 2011 Christopher Aillon <caillon@redhat.com> - 2.91.3-1 |
||||
- Update to 2.91.3 |
||||
|
||||
* Tue Mar 8 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.1-1 |
||||
- Update to 2.91.1 |
||||
|
||||
* Mon Feb 28 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.90-3 |
||||
- Rebuild against newer libpeas |
||||
|
||||
* Thu Feb 24 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.90-2 |
||||
- Add runtime dependencies to make introspection work |
||||
|
||||
* Tue Feb 22 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.90-1 |
||||
- Update to 2.91.90 |
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.31.6-3 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
||||
|
||||
* Thu Oct 7 2010 Matthias Clasen <mclasen@redhat.com> 2.31.6-1 |
||||
- Rebuild against newer gucharmap |
||||
|
||||
* Thu Sep 02 2010 Rakesh Pandit <rakesh@fedoraproject.org> 2.31.6-1 |
||||
- Updated to 2.31.6 |
||||
- FTBFS 599912 |
||||
|
||||
* Wed Aug 11 2010 David Malcolm <dmalcolm@redhat.com> - 2.31.1-2 |
||||
- recompiling .py files against Python 2.7 (rhbz#623308) |
||||
|
||||
* Wed May 19 2010 Rakesh Pandit <rakesh@fedoraproject.org> 2.31.1-1 |
||||
- Updated to 2.31.1 |
||||
|
||||
* Fri Apr 23 2010 Rakesh Pandit <rakesh@fedoraproject.org> 2.30.0-1 |
||||
- Updated to 2.30.0 |
||||
|
||||
* Wed Jan 27 2010 Rakesh Pandit <rakesh@fedoraproject.org> 2.29.4-1 |
||||
- Updated to 2.29.4 |
||||
|
||||
* Wed Dec 02 2009 Rakesh Pandit <rakesh@fedoraproject.org> 2.29.3-1 |
||||
- Updated to 2.29.3 |
||||
|
||||
* Mon Nov 09 2009 Rakesh Pandit <rakesh@fedoraproject.org> 2.28.0-1 |
||||
- Updated to 2.28.0 |
||||
|
||||
* Mon Aug 10 2009 Ville Skyttä <ville.skytta@iki.fi> - 2.26.1-3 |
||||
- Use bzipped upstream tarball. |
||||
|
||||
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.26.1-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
||||
|
||||
* Sat Apr 11 2009 Dodji Seketeli <dodji@redhat.org> - 2.26.1-1 |
||||
- Update to upstream release 2..26.1 |
||||
- Fixes GNOME bugzilla bug #576766 - Crash when Configuring "Draw Spaces" |
||||
- Make sure to remove all *.la files |
||||
- Remove BuildRequire libgnomeui-devel as needless now |
||||
|
||||
* Fri Apr 10 2009 Dodji Seketeli <dodji@redhat.org> - 2.26.0-1 |
||||
- Update to upstream release (2.26.1) |
||||
- Add plugin files from %%{_datadir} |
||||
- Don't check for vte anymore, the package checks it pkg-config |
||||
- Add 'bookmarks' to the plugin set |
||||
|
||||
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.22.3-4 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
||||
|
||||
* Mon Dec 01 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 2.22.3-3 |
||||
- Rebuild for Python 2.6 |
||||
|
||||
* Mon Sep 29 2008 Rakesh Pandit <rakesh@fedoraproject.org> - 2.22.3-2 |
||||
- Fixed buildrequires |
||||
|
||||
* Mon Sep 29 2008 Rakesh Pandit <rakesh@fedoraproject.org> - 2.22.3-1 |
||||
- Updated to 2.22.3 |
||||
|
||||
* Mon Sep 29 2008 Rakesh Pandit <rakesh@fedoraproject.org> - 2.22.0-2 |
||||
- rebuild to pick latest gucharmap |
||||
|
||||
* Tue Mar 18 2008 Trond Danielsen <trond.danielsen@gmail.com> - 2.22.0-1 |
||||
- Updated. |
||||
|
||||
* Mon Apr 30 2007 Trond Danielsen <trond.danielsen@gmail.com> - 2.18.0-2 |
||||
- Disable buggy session saver plugin. |
||||
- Removed static libraries. |
||||
|
||||
* Sun Apr 01 2007 Trond Danielsen <trond.danielsen@gmail.com> - 2.18.0-1 |
||||
- Initial version. |
Loading…
Reference in new issue