1
0
Fork 0

Adding debian version 48.1-4.

Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
This commit is contained in:
Daniel Baumann 2025-06-22 19:48:30 +02:00
parent 61eec86fe3
commit a42f8f7b20
Signed by: daniel.baumann
GPG key ID: BCC918A2ABD66424
18 changed files with 2402 additions and 0 deletions

2044
debian/changelog vendored Normal file

File diff suppressed because it is too large Load diff

102
debian/control vendored Normal file
View file

@ -0,0 +1,102 @@
Source: gedit
Section: gnome
Priority: optional
Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
Uploaders: Amin Bandali <bandali@ubuntu.com>, Jeremy Bícha <jbicha@ubuntu.com>, Iain Lane <laney@debian.org>, Laurent Bigonville <bigon@debian.org>, Michael Biebl <biebl@debian.org>
Build-Depends: appstream <!nocheck>,
debhelper-compat (= 13),
desktop-file-utils <!nocheck>,
dh-sequence-gir,
dh-sequence-gnome,
gsettings-desktop-schemas-dev,
gtk-doc-tools (>= 1.0),
itstool,
libatk1.0-doc,
libgirepository1.0-dev (>= 0.9.3),
libglib2.0-dev (>= 2.76),
libglib2.0-doc,
libgspell-1-dev (>= 1.0),
libgtk-3-dev (>= 3.22),
libgtk-3-doc,
libgedit-gtksourceview-dev,
libgedit-gtksourceview-300-doc,
libgedit-tepl-dev (>= 6.12),
libpeas-dev (>= 1.14.1),
libpeas-doc,
libxml2-dev (>= 2.5.0),
libxml2-utils,
meson (>= 0.59),
Standards-Version: 4.7.0
Rules-Requires-Root: no
Vcs-Browser: https://salsa.debian.org/gnome-team/gedit
Vcs-Git: https://salsa.debian.org/gnome-team/gedit.git
Homepage: https://gedit-text-editor.org/
Package: gedit
Architecture: any
Depends: gedit-common (<< ${gnome:NextVersion}),
gedit-common (>= ${gnome:Version}),
gsettings-desktop-schemas,
iso-codes,
${gir:Depends},
${misc:Depends},
${shlibs:Depends}
Recommends: yelp, zenity
Breaks: gedit-plugin-text-size (<< 48)
Replaces: gedit-plugin-text-size (<< 48)
Suggests: gedit-plugins
Description: popular text editor for the GNOME desktop environment
gedit is a text editor which supports most standard editor features,
extending this basic functionality with other features not usually
found in simple text editors. gedit is a graphical application which
supports editing multiple text files in one window (known sometimes as
tabs or MDI).
.
gedit fully supports international text through its use of the Unicode
UTF-8 encoding in edited files. Its core feature set includes syntax
highlighting of source code, auto indentation and printing and print preview
support.
.
gedit is also extensible through its plugin system, which currently
includes support for spell checking, comparing files, viewing CVS
ChangeLogs, and adjusting indentation levels.
Package: gedit-common
Architecture: all
Depends: python3:any (>= 3.3.2-2~), ${misc:Depends}
Recommends: gedit
Description: popular text editor for the GNOME desktop environment (support files)
gedit is a text editor which supports most standard editor features,
extending this basic functionality with other features not usually
found in simple text editors.
.
This package contains gedit's architecture-independent support files.
Package: gedit-dev
Architecture: any
Section: devel
Depends: gedit (<< ${gnome:NextVersion}),
gedit (>= ${gnome:Version}),
libglib2.0-dev (>= 2.76),
libgtk-3-dev (>= 3.22),
libgedit-gtksourceview-dev,
libgedit-tepl-dev (>= 6.12),
libpeas-dev (>= 1.14.1),
${misc:Depends}
Description: popular text editor for the GNOME desktop environment (dev files)
gedit is a text editor which supports most standard editor features,
extending this basic functionality with other features not usually
found in simple text editors. gedit is a graphical application which
supports editing multiple text files in one window (known sometimes as
tabs or MDI).
.
gedit fully supports international text through its use of the Unicode
UTF-8 encoding in edited files. Its core feature set includes syntax
highlighting of source code, auto indentation and printing and print preview
support.
.
gedit is also extensible through its plugin system, which currently
includes support for spell checking, comparing files, viewing CVS
ChangeLogs, and adjusting indentation levels.
.
This package is required to build plugins for gedit.

53
debian/copyright vendored Normal file
View file

@ -0,0 +1,53 @@
Version 2.8.2 was re-debianized by Sebastien Bacher.
It was downloaded from <https://download.gnome.org/sources/gedit/>.
Copyright:
2002, 2006 Paolo Maggi <paolo@gnome.org>
Chema Celorio <chema@celorio.com>>
James Willcox <jwillcox@gnome.org>
Federico Mena Quintero <federico@ximian.com>
Paolo Borelli <pborelli@katamail.com>
Jason Leach <jleach@wam.umd.edu>
2005, 2007 Steve Frécinaux <code@istique.net>
1999, 2005 Fredrik Lundh
2002 Gustavo Giràldez <gustavo.giraldez@gmx.net>
1998, 1999 Alex Roberts
1998, 1999 Evan Lawrence
2009 Ignacio Casal Quinteiro <icq@gnome.org>
2005 Adam Hooper <adamh@densi.com>
1998 James Henstridge <james@daa.com.au>
2003, 2004 Christian Persch
2008, B. Clausius
2002 Evan Martin
2005 Raphael Slinckx
1996, 2008 Free Software Foundation, Inc
2008 Ignacio Casal Quinteiro
2003 Bastien Nocera <hadess@hadess.net>
2000 - Eazel, Inc
2002-2004 Marco Pesenti Gritti
2008 Red Hat, Inc
2007 Novell, Inc
2001 George Lebl
1998 Carsten Schaar, and twm
1998 The Open Group
2002 Ximian, Inc
2004-2005 GNOME Foundation
License:
This package 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; version 2 dated June, 1991.
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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this package; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
On Debian GNU/Linux systems, the complete text of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL-2'.

14
debian/gbp.conf vendored Normal file
View file

@ -0,0 +1,14 @@
[DEFAULT]
pristine-tar = True
debian-branch = debian/latest
upstream-branch = upstream/latest
upstream-vcs-tag = %(version)s
[buildpackage]
sign-tags = True
[import-orig]
postimport = dch -v%(version)s New upstream release; git add debian/changelog; debcommit
[pq]
patch-numbers = False

6
debian/gedit-common.install vendored Normal file
View file

@ -0,0 +1,6 @@
usr/share/gedit/plugins
usr/share/glib-2.0
usr/share/help
usr/share/icons
usr/share/locale
usr/share/man

4
debian/gedit-dev.install vendored Normal file
View file

@ -0,0 +1,4 @@
usr/include
usr/lib/*/pkgconfig
usr/share/gedit/gir-1.0
usr/share/gtk-doc

4
debian/gedit.bug-script vendored Normal file
View file

@ -0,0 +1,4 @@
#! /bin/sh
exec /usr/share/gedit/gedit-bugreport.sh >&3

2
debian/gedit.docs vendored Normal file
View file

@ -0,0 +1,2 @@
NEWS
README.md

9
debian/gedit.install vendored Normal file
View file

@ -0,0 +1,9 @@
usr/bin/gedit
usr/lib/*/gedit/*.so
usr/lib/*/gedit/girepository-1.0/
usr/lib/*/gedit/plugins/*.plugin
usr/lib/*/gedit/plugins/*.so
usr/lib/python*
usr/share/applications/org.gnome.gedit.desktop
usr/share/dbus-1/
usr/share/metainfo

4
debian/gedit.lintian-overrides vendored Normal file
View file

@ -0,0 +1,4 @@
# gobject-introspection files. Has override files for Python 3. It can't
# declare a dependency on Python because it's possible to use these bindings
# from Python 3, or many other languages.
python-package-missing-depends-on-python

26
debian/gedit.postinst vendored Normal file
View file

@ -0,0 +1,26 @@
#!/bin/sh
set -e
case "$1" in
configure)
# remove the gnome-text-editor alternative in the alternatives
# system now that gnome-text-editor is an actual, separate
# program, provided in the gnome-text-editor package
if update-alternatives --list gnome-text-editor >/dev/null 2>&1; then
update-alternatives --remove gnome-text-editor /usr/bin/gedit
fi
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
#DEBHELPER#
exit 0

12
debian/gedit.prerm vendored Normal file
View file

@ -0,0 +1,12 @@
#! /bin/sh
set -e
if [ "$1" = remove ]; then
if update-alternatives --list gnome-text-editor >/dev/null 2>&1; then
update-alternatives --remove gnome-text-editor /usr/bin/gedit
fi
fi
#DEBHELPER#
exit 0

View file

@ -0,0 +1,83 @@
From: Jeremy Bicha <jbicha@debian.org>
Date: Sun, 14 Jul 2013 10:37:31 -0500
Subject: Also load plugins from pre-multiarch directory
Forwarded: not-needed
---
gedit/gedit-dirs.c | 11 +++++++++++
gedit/gedit-dirs.h | 2 ++
gedit/gedit-plugins-engine.c | 5 +++++
3 files changed, 18 insertions(+)
diff --git a/gedit/gedit-dirs.c b/gedit/gedit-dirs.c
index 62f246e..de48b16 100644
--- a/gedit/gedit-dirs.c
+++ b/gedit/gedit-dirs.c
@@ -30,6 +30,7 @@ static gchar *user_plugins_dir = NULL;
static gchar *gedit_locale_dir = NULL;
static gchar *gedit_lib_dir = NULL;
static gchar *gedit_plugins_dir = NULL;
+static gchar *gedit_fallback_plugins_dir = NULL;
static gchar *gedit_plugins_data_dir = NULL;
void
@@ -102,6 +103,9 @@ gedit_dirs_init (void)
gedit_plugins_dir = g_build_filename (gedit_lib_dir,
"plugins",
NULL);
+ gedit_fallback_plugins_dir = g_build_filename ("/usr/lib/gedit",
+ "plugins",
+ NULL);
}
void
@@ -113,6 +117,7 @@ gedit_dirs_shutdown (void)
g_clear_pointer (&gedit_locale_dir, g_free);
g_clear_pointer (&gedit_lib_dir, g_free);
g_clear_pointer (&gedit_plugins_dir, g_free);
+ g_clear_pointer (&gedit_fallback_plugins_dir, g_free);
g_clear_pointer (&gedit_plugins_data_dir, g_free);
}
@@ -152,6 +157,12 @@ gedit_dirs_get_gedit_plugins_dir (void)
return gedit_plugins_dir;
}
+const gchar *
+gedit_dirs_get_gedit_fallback_plugins_dir (void)
+{
+ return gedit_fallback_plugins_dir;
+}
+
const gchar *
gedit_dirs_get_gedit_plugins_data_dir (void)
{
diff --git a/gedit/gedit-dirs.h b/gedit/gedit-dirs.h
index 1d1ef73..fd05ee6 100644
--- a/gedit/gedit-dirs.h
+++ b/gedit/gedit-dirs.h
@@ -43,6 +43,8 @@ const gchar * gedit_dirs_get_gedit_lib_dir (void);
const gchar * gedit_dirs_get_gedit_plugins_dir (void);
+const gchar * gedit_dirs_get_gedit_fallback_plugins_dir (void);
+
const gchar * gedit_dirs_get_gedit_plugins_data_dir (void);
G_END_DECLS
diff --git a/gedit/gedit-plugins-engine.c b/gedit/gedit-plugins-engine.c
index 28e6096..f47f369 100644
--- a/gedit/gedit-plugins-engine.c
+++ b/gedit/gedit-plugins-engine.c
@@ -93,6 +93,11 @@ gedit_plugins_engine_init (GeditPluginsEngine *engine)
gedit_dirs_get_gedit_plugins_dir (),
gedit_dirs_get_gedit_plugins_data_dir ());
+ peas_engine_add_search_path (PEAS_ENGINE (engine),
+ gedit_dirs_get_gedit_fallback_plugins_dir (),
+ gedit_dirs_get_gedit_plugins_data_dir ());
+
+
g_settings_bind (engine->plugin_settings,
GEDIT_SETTINGS_ACTIVE_PLUGINS,
engine,

1
debian/patches/series vendored Normal file
View file

@ -0,0 +1 @@
08_multiarch_fallback.patch

27
debian/rules vendored Executable file
View file

@ -0,0 +1,27 @@
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,defs -Wl,-O1
# needed with the Ubuntu toolchain to avoid plugin issues
export DEB_LDFLAGS_MAINT_STRIP := -Wl,-Bsymbolic-functions
%:
dh $@
override_dh_auto_configure:
dh_auto_configure -- -Dgtk_doc=true
override_dh_girepository:
dh_girepository -ldebian/tmp/usr/share/gedit/gir-1.0 \
/usr/lib/$(DEB_HOST_MULTIARCH)/gedit/girepository-1.0 \
/usr/lib/$(DEB_HOST_MULTIARCH)/gedit
override_dh_shlibdeps:
dh_shlibdeps -l/usr/lib/$(DEB_HOST_MULTIARCH)/gedit
override_dh_makeshlibs:
dh_makeshlibs --no-scripts
override_dh_gnome_clean:
dh_gnome_clean --no-control

1
debian/source/format vendored Normal file
View file

@ -0,0 +1 @@
3.0 (quilt)

6
debian/upstream/metadata vendored Normal file
View file

@ -0,0 +1,6 @@
---
Name: gedit
Bug-Database: https://gitlab.gnome.org/World/gedit/gedit/-/issues
Bug-Submit: https://gitlab.gnome.org/World/gedit/gedit/-/issues/new
Repository: https://gitlab.gnome.org/World/gedit/gedit.git
Repository-Browse: https://gitlab.gnome.org/World/gedit/gedit/

4
debian/watch vendored Normal file
View file

@ -0,0 +1,4 @@
version=4
opts="searchmode=plain, uversionmangle=s/\.(alpha|beta|rc)/~$1/, downloadurlmangle=s|cache.json||" \
https://download.gnome.org/sources/@PACKAGE@/cache.json \
[\d.]+/@PACKAGE@-([\d.]+)@ARCHIVE_EXT@