Accepting request 99015 from GNOME:Factory
Pushing G:F OBS-URL: https://build.opensuse.org/request/show/99015 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gedit-plugins?expand=0&rev=18
This commit is contained in:
commit
1c36f43077
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:8f6b5bc88ca61d8f0bc4dd54b2dc82473acfefd90453e4d4ffc3ca88d4182f4d
|
|
||||||
size 1663468
|
|
3
gedit-plugins-3.3.1.tar.xz
Normal file
3
gedit-plugins-3.3.1.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:2e2de6c18f8be8943f5b8ee024fe383740175afdbb17d10b86690215ce45d3ed
|
||||||
|
size 1440660
|
24
gedit-plugins-implicit.patch
Normal file
24
gedit-plugins-implicit.patch
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
From 593a411f82e59f5b25d62042d5e31078571e17b6 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
Date: Sun, 4 Dec 2011 14:21:48 +0100
|
||||||
|
Subject: [PATCH] bookmarks: include stdlib.h to have atoi() defined.
|
||||||
|
|
||||||
|
---
|
||||||
|
plugins/bookmarks/gedit-bookmarks-plugin.c | 1 +
|
||||||
|
1 files changed, 1 insertions(+), 0 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/plugins/bookmarks/gedit-bookmarks-plugin.c b/plugins/bookmarks/gedit-bookmarks-plugin.c
|
||||||
|
index 88e6c7a..40b94fd 100644
|
||||||
|
--- a/plugins/bookmarks/gedit-bookmarks-plugin.c
|
||||||
|
+++ b/plugins/bookmarks/gedit-bookmarks-plugin.c
|
||||||
|
@@ -25,6 +25,7 @@
|
||||||
|
#include "gedit-bookmarks-plugin.h"
|
||||||
|
#include "messages/messages.h"
|
||||||
|
|
||||||
|
+#include <stdlib.h> // for atoi()
|
||||||
|
#include <gtk/gtk.h>
|
||||||
|
#include <glib/gi18n-lib.h>
|
||||||
|
#include <gedit/gedit-debug.h>
|
||||||
|
--
|
||||||
|
1.7.7
|
||||||
|
|
@ -1,3 +1,25 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 21 14:23:43 UTC 2011 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
- Add zeitgeist Requires for the dashboard plugin.
|
||||||
|
- Remove .la files: we're not interested in them.
|
||||||
|
- Explicitly list all plugins in the file list, so we notice if
|
||||||
|
we're missing one.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Dec 4 13:14:29 UTC 2011 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 3.3.1:
|
||||||
|
+ New dashboard plugin
|
||||||
|
+ Misc bugfixes
|
||||||
|
+ Updated translations.
|
||||||
|
- Add xz BuildRequires because we can't build a package for a
|
||||||
|
xz-compressed tarball without explicitly specifying that... See
|
||||||
|
bnc#697467 for more details.
|
||||||
|
- Add gedit-plugins-implicit.patch: Fix an implicit declaration of
|
||||||
|
atoi(), as stdlib.h was not included.
|
||||||
|
- Change License tag to spdx identifier (GPL-2.0+).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Oct 17 06:00:28 UTC 2011 - vuntz@opensuse.org
|
Mon Oct 17 06:00:28 UTC 2011 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
@ -17,20 +17,23 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Name: gedit-plugins
|
Name: gedit-plugins
|
||||||
Summary: A collection of plugins for gedit
|
Summary: A collection of plugins for gedit
|
||||||
Version: 3.2.1
|
|
||||||
Release: 1
|
|
||||||
Source: http://download.gnome.org/sources/gedit-plugins/3.2/%{name}-%{version}.tar.bz2
|
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
Group: Productivity/Editors/Other
|
Group: Productivity/Editors/Other
|
||||||
|
Version: 3.3.1
|
||||||
|
Release: 0
|
||||||
|
Source: http://download.gnome.org/sources/gedit-plugins/3.3/%{name}-%{version}.tar.xz
|
||||||
|
# PATCH-FIX-UPSTREAM gedit-plugins-implicit.patch bgo#665541 dimstar@opensuse.org -- #include stdio.h to have atoi defined.
|
||||||
|
Patch0: gedit-plugins-implicit.patch
|
||||||
Url: http://live.gnome.org/GeditPlugins
|
Url: http://live.gnome.org/GeditPlugins
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gnome-doc-utils-devel
|
BuildRequires: gnome-doc-utils-devel
|
||||||
BuildRequires: intltool
|
BuildRequires: intltool
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
BuildRequires: translation-update-upstream
|
BuildRequires: translation-update-upstream
|
||||||
|
# Only needed because we don't (and won't) support building xz tarballs by default... See bnc#697467
|
||||||
|
BuildRequires: xz
|
||||||
BuildRequires: pkgconfig(dbus-python)
|
BuildRequires: pkgconfig(dbus-python)
|
||||||
BuildRequires: pkgconfig(gedit) >= 3.2.1
|
BuildRequires: pkgconfig(gedit) >= 3.2.1
|
||||||
BuildRequires: pkgconfig(gtk+-3.0)
|
BuildRequires: pkgconfig(gtk+-3.0)
|
||||||
@ -38,6 +41,8 @@ BuildRequires: pkgconfig(gtksourceview-3.0)
|
|||||||
BuildRequires: pkgconfig(libpeas-gtk-1.0)
|
BuildRequires: pkgconfig(libpeas-gtk-1.0)
|
||||||
Requires: gedit
|
Requires: gedit
|
||||||
Requires: %{name}-lang = %{version}
|
Requires: %{name}-lang = %{version}
|
||||||
|
# For dashboard plugin
|
||||||
|
Requires: zeitgeist
|
||||||
Enhances: gedit
|
Enhances: gedit
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%glib2_gsettings_schema_requires
|
%glib2_gsettings_schema_requires
|
||||||
@ -62,6 +67,7 @@ Here follows a list of plugins currently available in gedit-plugins:
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
translation-update-upstream
|
translation-update-upstream
|
||||||
|
|
||||||
%lang_package
|
%lang_package
|
||||||
@ -75,6 +81,7 @@ translation-update-upstream
|
|||||||
# sr@latin was added by translation-update-upstream, so kill sr@Latn
|
# sr@latin was added by translation-update-upstream, so kill sr@Latn
|
||||||
test -d %{buildroot}%{_datadir}/locale/sr@latin
|
test -d %{buildroot}%{_datadir}/locale/sr@latin
|
||||||
rm -r %{buildroot}%{_datadir}/locale/sr@Latn
|
rm -r %{buildroot}%{_datadir}/locale/sr@Latn
|
||||||
|
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
%fdupes %{buildroot}/%{_datadir}/gedit-2/plugins
|
%fdupes %{buildroot}/%{_datadir}/gedit-2/plugins
|
||||||
%fdupes %{buildroot}/%{_libdir}/gedit-2/plugins
|
%fdupes %{buildroot}/%{_libdir}/gedit-2/plugins
|
||||||
@ -90,10 +97,67 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/gedit/plugins/*
|
# Common files
|
||||||
%{_datadir}/gedit/plugins/*
|
%{_libdir}/gedit/plugins/gpdefs.py*
|
||||||
|
## Explicitly list all plugins so we know when we miss one
|
||||||
|
# bookmarks
|
||||||
|
%{_libdir}/gedit/plugins/bookmarks.plugin
|
||||||
|
%{_libdir}/gedit/plugins/libbookmarks.so
|
||||||
|
%{_datadir}/gedit/plugins/bookmarks/
|
||||||
|
# bracketcompletion
|
||||||
|
%{_libdir}/gedit/plugins/bracketcompletion.plugin
|
||||||
|
%{_libdir}/gedit/plugins/bracketcompletion.py*
|
||||||
|
# charmap
|
||||||
|
%{_libdir}/gedit/plugins/charmap.plugin
|
||||||
|
%{_libdir}/gedit/plugins/charmap/
|
||||||
|
# codecomment
|
||||||
|
%{_libdir}/gedit/plugins/codecomment.plugin
|
||||||
|
%{_libdir}/gedit/plugins/codecomment.py*
|
||||||
|
# colorpicker
|
||||||
|
%{_libdir}/gedit/plugins/colorpicker.plugin
|
||||||
|
%{_libdir}/gedit/plugins/colorpicker.py*
|
||||||
|
# commander
|
||||||
|
%{_libdir}/gedit/plugins/commander.plugin
|
||||||
|
%{_libdir}/gedit/plugins/commander/
|
||||||
|
%{_datadir}/gedit/plugins/commander/
|
||||||
|
# dashboard
|
||||||
|
%{_libdir}/gedit/plugins/dashboard.plugin
|
||||||
|
%{_libdir}/gedit/plugins/dashboard/
|
||||||
|
# drawspaces
|
||||||
|
%{_libdir}/gedit/plugins/drawspaces.plugin
|
||||||
|
%{_libdir}/gedit/plugins/libdrawspaces.so
|
||||||
|
%{_datadir}/gedit/plugins/drawspaces/
|
||||||
%{_datadir}/glib-2.0/schemas/org.gnome.gedit.plugins.drawspaces.gschema.xml
|
%{_datadir}/glib-2.0/schemas/org.gnome.gedit.plugins.drawspaces.gschema.xml
|
||||||
|
# joinlines
|
||||||
|
%{_libdir}/gedit/plugins/joinlines.plugin
|
||||||
|
%{_libdir}/gedit/plugins/joinlines.py*
|
||||||
|
# multiedit
|
||||||
|
%{_libdir}/gedit/plugins/multiedit.plugin
|
||||||
|
%{_libdir}/gedit/plugins/multiedit/
|
||||||
|
# sessionsaver
|
||||||
|
%{_libdir}/gedit/plugins/sessionsaver.plugin
|
||||||
|
%{_libdir}/gedit/plugins/sessionsaver/
|
||||||
|
%{_datadir}/gedit/plugins/sessionsaver/
|
||||||
|
# smartspaces
|
||||||
|
%{_libdir}/gedit/plugins/smartspaces.plugin
|
||||||
|
%{_libdir}/gedit/plugins/smartspaces.py*
|
||||||
|
# synctex
|
||||||
|
%{_libdir}/gedit/plugins/synctex.plugin
|
||||||
|
%{_libdir}/gedit/plugins/synctex/
|
||||||
|
# taglist
|
||||||
|
%{_libdir}/gedit/plugins/taglist.plugin
|
||||||
|
%{_libdir}/gedit/plugins/libtaglist.so
|
||||||
|
%{_datadir}/gedit/plugins/taglist/
|
||||||
|
# terminal
|
||||||
|
%{_libdir}/gedit/plugins/terminal.plugin
|
||||||
|
%{_libdir}/gedit/plugins/terminal.py*
|
||||||
%{_datadir}/glib-2.0/schemas/org.gnome.gedit.plugins.terminal.gschema.xml
|
%{_datadir}/glib-2.0/schemas/org.gnome.gedit.plugins.terminal.gschema.xml
|
||||||
|
# textsize
|
||||||
|
%{_libdir}/gedit/plugins/textsize.plugin
|
||||||
|
%{_libdir}/gedit/plugins/textsize/
|
||||||
|
# wordcompletion
|
||||||
|
%{_libdir}/gedit/plugins/wordcompletion.plugin
|
||||||
|
%{_libdir}/gedit/plugins/libwordcompletion.so
|
||||||
|
|
||||||
%files lang -f %{name}.lang
|
%files lang -f %{name}.lang
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user