mirror of https://gitee.com/openkylin/vte2.91.git
Import Debian changes 0.60.1-ok1
vte2.91 (0.60.1-ok1) yangtze; urgency=medium * Build for openKylin.
This commit is contained in:
parent
64cf751a44
commit
328c173f83
|
@ -0,0 +1,11 @@
|
|||
vte3 (1:0.34.6-2) unstable; urgency=low
|
||||
|
||||
* To make new tabs opened within Gnome Terminal have the same
|
||||
working directory as the current tab, it is necessary for the shell
|
||||
running in the terminal to cooperate. For this, vte installs a bash
|
||||
shell script that you must source in your ~/.bashrc.
|
||||
|
||||
For example, you can put this at the end of your ~/.bashrc:
|
||||
[[ -s "/etc/profile.d/vte.sh" ]] && . "/etc/profile.d/vte.sh"
|
||||
|
||||
-- Fabian Greffrath <fabian+debian@greffrath.com> Wed, 12 Jun 2013 21:31:51 +0200
|
|
@ -0,0 +1,5 @@
|
|||
vte2.91 (0.60.1-ok1) yangtze; urgency=medium
|
||||
|
||||
* Build for openKylin.
|
||||
|
||||
-- openKylinBot <openKylinBot@openkylin.com> Mon, 25 Apr 2022 22:03:04 +0800
|
|
@ -0,0 +1,132 @@
|
|||
Source: vte2.91
|
||||
Section: libs
|
||||
Priority: optional
|
||||
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
|
||||
XSBC-Original-Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
|
||||
Uploaders: Iain Lane <laney@debian.org>, Jeremy Bicha <jbicha@debian.org>, Laurent Bigonville <bigon@debian.org>
|
||||
Build-Depends: debhelper-compat (= 12),
|
||||
dh-sequence-gnome,
|
||||
dh-sequence-gir,
|
||||
gettext,
|
||||
gtk-doc-tools,
|
||||
libgirepository1.0-dev (>= 0.9.12),
|
||||
libglib2.0-dev (>= 2.52.0),
|
||||
libgnutls28-dev (>= 3.2.7),
|
||||
libgtk-3-dev (>= 3.20),
|
||||
libicu-dev,
|
||||
libpango1.0-dev (>= 1.22.0),
|
||||
libpcre2-dev (>= 10.21),
|
||||
libsystemd-dev (>= 220) [linux-any],
|
||||
libxml2-utils,
|
||||
meson (>= 0.50.0),
|
||||
valac (>= 0.31.1)
|
||||
Rules-Requires-Root: no
|
||||
Build-Depends-Indep: libatk1.0-doc <!nodoc>,
|
||||
libglib2.0-doc <!nodoc>,
|
||||
libgtk-3-doc <!nodoc>
|
||||
Standards-Version: 4.5.0
|
||||
XS-Debian-Vcs-Git: https://salsa.debian.org/gnome-team/vte2.91.git
|
||||
XS-Debian-Vcs-Browser: https://salsa.debian.org/gnome-team/vte2.91
|
||||
Vcs-Browser: https://salsa.debian.org/gnome-team/vte2.91
|
||||
Vcs-Git: https://salsa.debian.org/gnome-team/vte2.91.git
|
||||
Homepage: https://wiki.gnome.org/Apps/Terminal/VTE
|
||||
|
||||
Package: libvte-2.91-0
|
||||
Architecture: any
|
||||
Depends: libvte-2.91-common (= ${binary:Version}),
|
||||
${misc:Depends},
|
||||
${shlibs:Depends}
|
||||
Multi-Arch: same
|
||||
Description: Terminal emulator widget for GTK+ 3.0 - runtime files
|
||||
The VTE library provides a terminal emulator widget VteTerminal for
|
||||
applications using the GTK+ toolkit. It also provides the VtePTY object
|
||||
containing functions for starting a new process on a new
|
||||
pseudo-terminal and for manipulating pseudo-terminals.
|
||||
.
|
||||
This package contains the runtime library, needed by programs using the
|
||||
VTE widget with GTK+ 3.0.
|
||||
|
||||
Package: libvte-2.91-0-udeb
|
||||
Package-Type: udeb
|
||||
Build-Profiles: <!noudeb>
|
||||
Section: debian-installer
|
||||
Architecture: any
|
||||
Depends: ${misc:Depends},
|
||||
${shlibs:Depends}
|
||||
Description: Terminal emulator widget for GTK+ 3.0 - minimal runtime
|
||||
The VTE library provides a terminal emulator widget VteTerminal for
|
||||
applications using the GTK+ toolkit. It also provides the VtePTY object
|
||||
containing functions for starting a new process on a new
|
||||
pseudo-terminal and for manipulating pseudo-terminals.
|
||||
.
|
||||
This package contains the minimal runtime library for GTK+ 3.0 needed
|
||||
by the Debian installer.
|
||||
|
||||
Package: gir1.2-vte-2.91
|
||||
Architecture: any
|
||||
Section: introspection
|
||||
Depends: ${gir:Depends},
|
||||
${misc:Depends}
|
||||
Multi-Arch: same
|
||||
Description: GObject introspection data for the VTE library
|
||||
This package contains introspection data for VTE, a terminal emulator
|
||||
widget for GTK+.
|
||||
.
|
||||
It can be used by interpreters understanding the GIRepository format to
|
||||
write programs using the VTE widget for GTK+ 3.0.
|
||||
|
||||
Package: libvte-2.91-dev
|
||||
Architecture: any
|
||||
Section: libdevel
|
||||
Depends: gir1.2-vte-2.91 (= ${binary:Version}),
|
||||
libglib2.0-dev (>= 2.40.0),
|
||||
libgnutls28-dev (>= 3.2.7),
|
||||
libgtk-3-dev (>= 3.12.0),
|
||||
libpango1.0-dev (>= 1.22.0),
|
||||
libpcre2-dev (>= 10.21),
|
||||
libvte-2.91-0 (= ${binary:Version}),
|
||||
libvte-2.91-common,
|
||||
zlib1g-dev,
|
||||
${misc:Depends}
|
||||
Recommends: libvte-2.91-doc
|
||||
Conflicts: libvte-2.90-dev
|
||||
Multi-Arch: same
|
||||
Description: Terminal emulator widget for GTK+ 3.0 - development files
|
||||
The VTE library provides a terminal emulator widget VteTerminal for
|
||||
applications using the GTK+ toolkit. It also provides the VtePTY object
|
||||
containing functions for starting a new process on a new
|
||||
pseudo-terminal and for manipulating pseudo-terminals.
|
||||
.
|
||||
This package contains development files for the VTE library and its
|
||||
Python bindings. It is needed to develop and build programs using the
|
||||
VTE widget with GTK+ 3.0.
|
||||
|
||||
Package: libvte-2.91-common
|
||||
Architecture: any
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Replaces: libvte-2.91-0 (<= 0.60.0-0)
|
||||
Breaks: libvte-2.91-0 (<= 0.60.0-0)
|
||||
Multi-Arch: foreign
|
||||
Description: Terminal emulator widget for GTK+ 3.0 - common files
|
||||
The VTE library provides a terminal emulator widget VteTerminal for
|
||||
applications using the GTK+ toolkit. It also provides the VtePTY object
|
||||
containing functions for starting a new process on a new
|
||||
pseudo-terminal and for manipulating pseudo-terminals.
|
||||
.
|
||||
This package contains internationalization files for the VTE library
|
||||
and common files for the GTK+ 3.x version.
|
||||
|
||||
Package: libvte-2.91-doc
|
||||
Architecture: all
|
||||
Multi-Arch: foreign
|
||||
Section: doc
|
||||
Depends: ${misc:Depends}
|
||||
Build-Profiles: <!nodoc>
|
||||
Description: Terminal emulator widget for GTK+ 3.0 - documentation
|
||||
The VTE library provides a terminal emulator widget VteTerminal for
|
||||
applications using the GTK+ toolkit. It also provides the VtePTY object
|
||||
containing functions for starting a new process on a new
|
||||
pseudo-terminal and for manipulating pseudo-terminals.
|
||||
.
|
||||
This package contains documentation files for the VTE library for GTK+
|
||||
3.x.
|
|
@ -0,0 +1,132 @@
|
|||
Source: vte2.91
|
||||
Section: libs
|
||||
Priority: optional
|
||||
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
|
||||
XSBC-Original-Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
|
||||
Uploaders: @GNOME_TEAM@
|
||||
Build-Depends: debhelper-compat (= 12),
|
||||
dh-sequence-gnome,
|
||||
dh-sequence-gir,
|
||||
gettext,
|
||||
gtk-doc-tools,
|
||||
libgirepository1.0-dev (>= 0.9.12),
|
||||
libglib2.0-dev (>= 2.52.0),
|
||||
libgnutls28-dev (>= 3.2.7),
|
||||
libgtk-3-dev (>= 3.20),
|
||||
libicu-dev,
|
||||
libpango1.0-dev (>= 1.22.0),
|
||||
libpcre2-dev (>= 10.21),
|
||||
libsystemd-dev (>= 220) [linux-any],
|
||||
libxml2-utils,
|
||||
meson (>= 0.50.0),
|
||||
valac (>= 0.31.1)
|
||||
Rules-Requires-Root: no
|
||||
Build-Depends-Indep: libatk1.0-doc <!nodoc>,
|
||||
libglib2.0-doc <!nodoc>,
|
||||
libgtk-3-doc <!nodoc>
|
||||
Standards-Version: 4.5.0
|
||||
XS-Debian-Vcs-Git: https://salsa.debian.org/gnome-team/vte2.91.git
|
||||
XS-Debian-Vcs-Browser: https://salsa.debian.org/gnome-team/vte2.91
|
||||
Vcs-Browser: https://salsa.debian.org/gnome-team/vte2.91
|
||||
Vcs-Git: https://salsa.debian.org/gnome-team/vte2.91.git
|
||||
Homepage: https://wiki.gnome.org/Apps/Terminal/VTE
|
||||
|
||||
Package: libvte-2.91-0
|
||||
Architecture: any
|
||||
Depends: libvte-2.91-common (= ${binary:Version}),
|
||||
${misc:Depends},
|
||||
${shlibs:Depends}
|
||||
Multi-Arch: same
|
||||
Description: Terminal emulator widget for GTK+ 3.0 - runtime files
|
||||
The VTE library provides a terminal emulator widget VteTerminal for
|
||||
applications using the GTK+ toolkit. It also provides the VtePTY object
|
||||
containing functions for starting a new process on a new
|
||||
pseudo-terminal and for manipulating pseudo-terminals.
|
||||
.
|
||||
This package contains the runtime library, needed by programs using the
|
||||
VTE widget with GTK+ 3.0.
|
||||
|
||||
Package: libvte-2.91-0-udeb
|
||||
Package-Type: udeb
|
||||
Build-Profiles: <!noudeb>
|
||||
Section: debian-installer
|
||||
Architecture: any
|
||||
Depends: ${misc:Depends},
|
||||
${shlibs:Depends}
|
||||
Description: Terminal emulator widget for GTK+ 3.0 - minimal runtime
|
||||
The VTE library provides a terminal emulator widget VteTerminal for
|
||||
applications using the GTK+ toolkit. It also provides the VtePTY object
|
||||
containing functions for starting a new process on a new
|
||||
pseudo-terminal and for manipulating pseudo-terminals.
|
||||
.
|
||||
This package contains the minimal runtime library for GTK+ 3.0 needed
|
||||
by the Debian installer.
|
||||
|
||||
Package: gir1.2-vte-2.91
|
||||
Architecture: any
|
||||
Section: introspection
|
||||
Depends: ${gir:Depends},
|
||||
${misc:Depends}
|
||||
Multi-Arch: same
|
||||
Description: GObject introspection data for the VTE library
|
||||
This package contains introspection data for VTE, a terminal emulator
|
||||
widget for GTK+.
|
||||
.
|
||||
It can be used by interpreters understanding the GIRepository format to
|
||||
write programs using the VTE widget for GTK+ 3.0.
|
||||
|
||||
Package: libvte-2.91-dev
|
||||
Architecture: any
|
||||
Section: libdevel
|
||||
Depends: gir1.2-vte-2.91 (= ${binary:Version}),
|
||||
libglib2.0-dev (>= 2.40.0),
|
||||
libgnutls28-dev (>= 3.2.7),
|
||||
libgtk-3-dev (>= 3.12.0),
|
||||
libpango1.0-dev (>= 1.22.0),
|
||||
libpcre2-dev (>= 10.21),
|
||||
libvte-2.91-0 (= ${binary:Version}),
|
||||
libvte-2.91-common,
|
||||
zlib1g-dev,
|
||||
${misc:Depends}
|
||||
Recommends: libvte-2.91-doc
|
||||
Conflicts: libvte-2.90-dev
|
||||
Multi-Arch: same
|
||||
Description: Terminal emulator widget for GTK+ 3.0 - development files
|
||||
The VTE library provides a terminal emulator widget VteTerminal for
|
||||
applications using the GTK+ toolkit. It also provides the VtePTY object
|
||||
containing functions for starting a new process on a new
|
||||
pseudo-terminal and for manipulating pseudo-terminals.
|
||||
.
|
||||
This package contains development files for the VTE library and its
|
||||
Python bindings. It is needed to develop and build programs using the
|
||||
VTE widget with GTK+ 3.0.
|
||||
|
||||
Package: libvte-2.91-common
|
||||
Architecture: any
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Replaces: libvte-2.91-0 (<= 0.60.0-2ubuntu1)
|
||||
Breaks: libvte-2.91-0 (<= 0.60.0-2ubuntu1)
|
||||
Multi-Arch: foreign
|
||||
Description: Terminal emulator widget for GTK+ 3.0 - common files
|
||||
The VTE library provides a terminal emulator widget VteTerminal for
|
||||
applications using the GTK+ toolkit. It also provides the VtePTY object
|
||||
containing functions for starting a new process on a new
|
||||
pseudo-terminal and for manipulating pseudo-terminals.
|
||||
.
|
||||
This package contains internationalization files for the VTE library
|
||||
and common files for the GTK+ 3.x version.
|
||||
|
||||
Package: libvte-2.91-doc
|
||||
Architecture: all
|
||||
Multi-Arch: foreign
|
||||
Section: doc
|
||||
Depends: ${misc:Depends}
|
||||
Build-Profiles: <!nodoc>
|
||||
Description: Terminal emulator widget for GTK+ 3.0 - documentation
|
||||
The VTE library provides a terminal emulator widget VteTerminal for
|
||||
applications using the GTK+ toolkit. It also provides the VtePTY object
|
||||
containing functions for starting a new process on a new
|
||||
pseudo-terminal and for manipulating pseudo-terminals.
|
||||
.
|
||||
This package contains documentation files for the VTE library for GTK+
|
||||
3.x.
|
|
@ -0,0 +1,199 @@
|
|||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: vte
|
||||
Source: https://download.gnome.org/sources/vte/
|
||||
|
||||
Files: *
|
||||
Copyright: 2001-2010 Red Hat, Inc.
|
||||
2008-2018 Christian Persch
|
||||
License: LGPL-2.1+
|
||||
|
||||
Files: po/*.po
|
||||
Copyright: 2002-2017 Free Software Foundation, Inc.
|
||||
2003-2017 the vte authors
|
||||
2002-2014 Kjartan Maraas
|
||||
2003 Mətin Əmirov
|
||||
2003 The FarsiWeb Project Group
|
||||
2003-2008 GNOME Foundation
|
||||
2004 Tamil Translation Team
|
||||
2004 Aiet Kolkhi
|
||||
2005 Canonical Ltd.
|
||||
2006 Gnome i18n Project for Latvian
|
||||
2007 Swecha Telugu Localisation Team
|
||||
2007-2010 The GNOME Project
|
||||
2010 The IFSUG Translation Group
|
||||
2010 Fran Diéguez
|
||||
Adam Weinberger
|
||||
Croatiann team
|
||||
License: LGPL-2.1+
|
||||
|
||||
Files:
|
||||
src/attr.hh
|
||||
src/color-triple.hh
|
||||
src/modes-ecma.hh
|
||||
src/modes-private.hh
|
||||
src/modes-test.cc
|
||||
src/modes.hh
|
||||
src/parser-arg.hh
|
||||
src/parser-c01.hh
|
||||
src/parser-charset-tables.hh
|
||||
src/parser-charset.hh
|
||||
src/parser-cmd.hh
|
||||
src/parser-csi.hh
|
||||
src/parser-dcs.hh
|
||||
src/parser-esc.hh
|
||||
src/parser-glue.hh
|
||||
src/parser-osc.hh
|
||||
src/parser-reply.hh
|
||||
src/parser-string.hh
|
||||
src/parser-test.cc
|
||||
src/parser.cc
|
||||
src/parser.hh
|
||||
src/refptr-test.cc
|
||||
src/refptr.hh
|
||||
src/tabstops-test.cc
|
||||
src/tabstops.hh
|
||||
src/vteseq.cc
|
||||
src/widget.cc
|
||||
src/widget.hh
|
||||
Copyright: 2001-2010 Red Hat, Inc.
|
||||
2015 David Herrmann
|
||||
2008-2018 Christian Persch
|
||||
License: LGPL-3+
|
||||
|
||||
Files:
|
||||
src/utf8-test.cc
|
||||
Copyright: 2015-2016 Mozilla Foundation
|
||||
2018 Christian Persch
|
||||
License: LGPL-3+ and Expat
|
||||
|
||||
Files:
|
||||
src/utf8.cc
|
||||
src/utf8.hh
|
||||
Copyright: 2008-2009 Bjoern Hoerhmann
|
||||
License: Expat
|
||||
|
||||
Files: src/vtestream-file.h
|
||||
Copyright: 2009,2010 Red Hat, Inc.
|
||||
2013 Google, Inc.
|
||||
License: LGPL-2.1+
|
||||
|
||||
Files:
|
||||
src/app/*
|
||||
src/parser-cat.cc
|
||||
src/vte.sh
|
||||
Copyright: 2001-2003 Red Hat, Inc.
|
||||
2006 Shaun McCance <shaunm@gnome.org>
|
||||
2013 Peter De Wachter <pdewacht@gmail.com>
|
||||
2017-2018 Christian Persch
|
||||
License: GPL-3+
|
||||
|
||||
Files: src/box_drawing_generate.sh
|
||||
perf/img.sh
|
||||
perf/256test.sh
|
||||
perf/sgr-test.sh
|
||||
Copyright: 2014-2017 Egmont Koblinger
|
||||
License: GPL-2+
|
||||
|
||||
Files: src/test-vte-sh.sh
|
||||
Copyright: 2013 Christian Persch
|
||||
License: GPL-2+
|
||||
|
||||
Files: src/app/app.gresource.xml
|
||||
bindings/vala/app.vala
|
||||
bindings/vala/app.gresource.xml
|
||||
Copyright: 2001,2002 Red Hat, Inc.
|
||||
2014 Christian Persch
|
||||
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 Lesser General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
.
|
||||
On Debian systems, the complete text of the GNU Lesser General
|
||||
Public License can be found in "/usr/share/common-licenses/LGPL-2".
|
||||
|
||||
License: LGPL-3+
|
||||
This library 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 3 of the License, or (at your option) any later version.
|
||||
.
|
||||
This library 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 Lesser General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
.
|
||||
On Debian systems, the complete text of the GNU Lesser General
|
||||
Public License can be found in "/usr/share/common-licenses/LGPL-3".
|
||||
|
||||
License: GPL-2+
|
||||
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; either version 2 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 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 <https://www.gnu.org/licenses/>
|
||||
.
|
||||
On Debian systems, the complete text of the GNU General Public
|
||||
License version 2 can be found in "/usr/share/common-licenses/GPL-2".
|
||||
|
||||
License: GPL-3+
|
||||
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 3 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 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 <https://www.gnu.org/licenses/>.
|
||||
.
|
||||
On Debian systems, the complete text of the GNU General Public
|
||||
License version 3 can be found in "/usr/share/common-licenses/GPL-3".
|
||||
|
||||
License: Expat
|
||||
Permission is hereby granted, free of charge, to any
|
||||
person obtaining a copy of this software and associated
|
||||
documentation files (the "Software"), to deal in the
|
||||
Software without restriction, including without
|
||||
limitation the rights to use, copy, modify, merge,
|
||||
publish, distribute, sublicense, and/or sell copies of
|
||||
the Software, and to permit persons to whom the Software
|
||||
is furnished to do so, subject to the following
|
||||
conditions:
|
||||
.
|
||||
The above copyright notice and this permission notice
|
||||
shall be included in all copies or substantial portions
|
||||
of the Software.
|
||||
.
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
|
||||
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
|
||||
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
||||
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
|
||||
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
|
||||
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
DEALINGS IN THE SOFTWARE.
|
|
@ -0,0 +1,15 @@
|
|||
[DEFAULT]
|
||||
pristine-tar = True
|
||||
debian-branch = ubuntu/master
|
||||
upstream-branch = upstream/latest
|
||||
upstream-vcs-tag = %(version)s
|
||||
debian-tag = ubuntu/%(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
|
|
@ -0,0 +1 @@
|
|||
usr/lib/*/girepository-1.0/Vte-2.91.typelib
|
|
@ -0,0 +1 @@
|
|||
usr/lib/*/libvte*.so.*
|
|
@ -0,0 +1 @@
|
|||
NEWS
|
|
@ -0,0 +1 @@
|
|||
usr/lib/*/libvte-2.91.so.*
|
|
@ -0,0 +1,155 @@
|
|||
libvte-2.91.so.0 libvte-2.91-0 #MINVER#
|
||||
* Build-Depends-Package: libvte-2.91-dev
|
||||
vte_cursor_blink_mode_get_type@Base 0
|
||||
vte_cursor_shape_get_type@Base 0
|
||||
vte_erase_binding_get_type@Base 0
|
||||
vte_format_get_type@Base 0.49.92
|
||||
vte_get_encoding_supported@Base 0.60.0
|
||||
vte_get_encodings@Base 0.60.0
|
||||
vte_get_features@Base 0.40.2
|
||||
vte_get_major_version@Base 0.40.2
|
||||
vte_get_micro_version@Base 0.40.2
|
||||
vte_get_minor_version@Base 0.40.2
|
||||
#MISSING: 0.42.0-1# vte_get_resource@Base 0
|
||||
vte_get_user_shell@Base 0
|
||||
vte_pty_child_setup@Base 0
|
||||
vte_pty_close@Base 0
|
||||
vte_pty_error_get_type@Base 0
|
||||
vte_pty_error_quark@Base 0
|
||||
vte_pty_flags_get_type@Base 0
|
||||
vte_pty_get_fd@Base 0
|
||||
vte_pty_get_size@Base 0
|
||||
vte_pty_get_type@Base 0
|
||||
vte_pty_new_foreign_sync@Base 0
|
||||
vte_pty_new_sync@Base 0
|
||||
vte_pty_set_size@Base 0
|
||||
vte_pty_set_utf8@Base 0
|
||||
vte_pty_spawn_async@Base 0.47.90
|
||||
vte_pty_spawn_finish@Base 0.47.90
|
||||
vte_regex_error_get_type@Base 0.45.90
|
||||
vte_regex_error_quark@Base 0.45.90
|
||||
vte_regex_get_type@Base 0.45.90
|
||||
vte_regex_jit@Base 0.45.90
|
||||
vte_regex_new_for_match@Base 0.45.90
|
||||
vte_regex_new_for_search@Base 0.45.90
|
||||
vte_regex_ref@Base 0.45.90
|
||||
vte_regex_substitute@Base 0.55.90
|
||||
vte_regex_unref@Base 0.45.90
|
||||
(optional=useful only for debugging, skipped by introspection too)vte_set_test_flags@Base 0.54.0
|
||||
vte_terminal_copy_clipboard@Base 0
|
||||
vte_terminal_copy_clipboard_format@Base 0.49.92
|
||||
vte_terminal_copy_primary@Base 0
|
||||
vte_terminal_event_check_gregex_simple@Base 0.44.0
|
||||
vte_terminal_event_check_regex_simple@Base 0.45.90
|
||||
vte_terminal_feed@Base 0
|
||||
vte_terminal_feed_child@Base 0
|
||||
vte_terminal_feed_child_binary@Base 0
|
||||
vte_terminal_get_allow_bold@Base 0
|
||||
vte_terminal_get_allow_hyperlink@Base 0.49.92
|
||||
vte_terminal_get_audible_bell@Base 0
|
||||
vte_terminal_get_bold_is_bright@Base 0.51.90
|
||||
vte_terminal_get_cell_height_scale@Base 0.51.90
|
||||
vte_terminal_get_cell_width_scale@Base 0.51.90
|
||||
vte_terminal_get_char_height@Base 0
|
||||
vte_terminal_get_char_width@Base 0
|
||||
vte_terminal_get_cjk_ambiguous_width@Base 0
|
||||
vte_terminal_get_color_background_for_draw@Base 0.54.0
|
||||
vte_terminal_get_column_count@Base 0
|
||||
vte_terminal_get_current_directory_uri@Base 0
|
||||
vte_terminal_get_current_file_uri@Base 0
|
||||
vte_terminal_get_cursor_blink_mode@Base 0
|
||||
vte_terminal_get_cursor_position@Base 0
|
||||
vte_terminal_get_cursor_shape@Base 0
|
||||
vte_terminal_get_enable_bidi@Base 0.57.90
|
||||
vte_terminal_get_enable_shaping@Base 0.57.90
|
||||
vte_terminal_get_encoding@Base 0
|
||||
vte_terminal_get_font@Base 0
|
||||
vte_terminal_get_font_scale@Base 0
|
||||
vte_terminal_get_geometry_hints@Base 0
|
||||
vte_terminal_get_has_selection@Base 0
|
||||
vte_terminal_get_icon_title@Base 0
|
||||
vte_terminal_get_input_enabled@Base 0
|
||||
vte_terminal_get_mouse_autohide@Base 0
|
||||
vte_terminal_get_pty@Base 0
|
||||
vte_terminal_get_rewrap_on_resize@Base 0
|
||||
vte_terminal_get_row_count@Base 0
|
||||
vte_terminal_get_scroll_on_keystroke@Base 0.51.90
|
||||
vte_terminal_get_scroll_on_output@Base 0.51.90
|
||||
vte_terminal_get_scrollback_lines@Base 0.51.90
|
||||
vte_terminal_get_text@Base 0
|
||||
vte_terminal_get_text_blink_mode@Base 0.51.90
|
||||
vte_terminal_get_text_include_trailing_spaces@Base 0
|
||||
vte_terminal_get_text_range@Base 0
|
||||
vte_terminal_get_type@Base 0
|
||||
vte_terminal_get_window_title@Base 0
|
||||
vte_terminal_get_word_char_exceptions@Base 0.40.2
|
||||
vte_terminal_hyperlink_check_event@Base 0.49.92
|
||||
vte_terminal_match_add_gregex@Base 0
|
||||
vte_terminal_match_add_regex@Base 0.45.90
|
||||
vte_terminal_match_check@Base 0
|
||||
vte_terminal_match_check_event@Base 0
|
||||
vte_terminal_match_remove@Base 0
|
||||
vte_terminal_match_remove_all@Base 0
|
||||
vte_terminal_match_set_cursor@Base 0
|
||||
vte_terminal_match_set_cursor_name@Base 0
|
||||
vte_terminal_match_set_cursor_type@Base 0
|
||||
vte_terminal_new@Base 0
|
||||
vte_terminal_paste_clipboard@Base 0
|
||||
vte_terminal_paste_primary@Base 0
|
||||
vte_terminal_pty_new_sync@Base 0
|
||||
vte_terminal_reset@Base 0
|
||||
vte_terminal_search_find_next@Base 0
|
||||
vte_terminal_search_find_previous@Base 0
|
||||
vte_terminal_search_get_gregex@Base 0
|
||||
vte_terminal_search_get_regex@Base 0.45.90
|
||||
vte_terminal_search_get_wrap_around@Base 0
|
||||
vte_terminal_search_set_gregex@Base 0
|
||||
vte_terminal_search_set_regex@Base 0.45.90
|
||||
vte_terminal_search_set_wrap_around@Base 0
|
||||
vte_terminal_select_all@Base 0
|
||||
vte_terminal_set_allow_bold@Base 0
|
||||
vte_terminal_set_allow_hyperlink@Base 0.49.92
|
||||
vte_terminal_set_audible_bell@Base 0
|
||||
vte_terminal_set_backspace_binding@Base 0
|
||||
vte_terminal_set_bold_is_bright@Base 0.51.90
|
||||
vte_terminal_set_cell_height_scale@Base 0.51.90
|
||||
vte_terminal_set_cell_width_scale@Base 0.51.90
|
||||
vte_terminal_set_cjk_ambiguous_width@Base 0
|
||||
vte_terminal_set_clear_background@Base 0.51.90
|
||||
vte_terminal_set_color_background@Base 0
|
||||
vte_terminal_set_color_bold@Base 0
|
||||
vte_terminal_set_color_cursor@Base 0
|
||||
vte_terminal_set_color_cursor_foreground@Base 0.44.0
|
||||
vte_terminal_set_color_foreground@Base 0
|
||||
vte_terminal_set_color_highlight@Base 0
|
||||
vte_terminal_set_color_highlight_foreground@Base 0
|
||||
vte_terminal_set_colors@Base 0
|
||||
vte_terminal_set_cursor_blink_mode@Base 0
|
||||
vte_terminal_set_cursor_shape@Base 0
|
||||
vte_terminal_set_default_colors@Base 0
|
||||
vte_terminal_set_delete_binding@Base 0
|
||||
vte_terminal_set_enable_bidi@Base 0.57.90
|
||||
vte_terminal_set_enable_shaping@Base 0.57.90
|
||||
vte_terminal_set_encoding@Base 0
|
||||
vte_terminal_set_font@Base 0
|
||||
vte_terminal_set_font_scale@Base 0
|
||||
vte_terminal_set_geometry_hints_for_window@Base 0
|
||||
vte_terminal_set_input_enabled@Base 0
|
||||
vte_terminal_set_mouse_autohide@Base 0
|
||||
vte_terminal_set_pty@Base 0
|
||||
vte_terminal_set_rewrap_on_resize@Base 0
|
||||
vte_terminal_set_scroll_on_keystroke@Base 0
|
||||
vte_terminal_set_scroll_on_output@Base 0
|
||||
vte_terminal_set_scrollback_lines@Base 0
|
||||
vte_terminal_set_size@Base 0
|
||||
vte_terminal_set_text_blink_mode@Base 0.51.90
|
||||
vte_terminal_set_word_char_exceptions@Base 0.40.2
|
||||
vte_terminal_spawn_async@Base 0.47.90
|
||||
vte_terminal_spawn_sync@Base 0
|
||||
vte_terminal_unselect_all@Base 0
|
||||
vte_terminal_watch_child@Base 0
|
||||
vte_terminal_write_contents_sync@Base 0
|
||||
vte_text_blink_mode_get_type@Base 0.51.90
|
||||
vte_write_flags_get_type@Base 0
|
||||
(optional=template|regex)"_ZN.*@Base" 0
|
||||
(optional=template|regex)"_ZS.*@Base" 0
|
|
@ -0,0 +1,4 @@
|
|||
etc/profile.d/
|
||||
usr/lib/systemd/
|
||||
usr/libexec/
|
||||
usr/share/locale
|
|
@ -0,0 +1,5 @@
|
|||
usr/include/vte-2.91
|
||||
usr/lib/*/libvte-2.91.so
|
||||
usr/lib/*/pkgconfig/vte-2.91.pc
|
||||
usr/share/gir-1.0
|
||||
usr/share/vala/vapi
|
|
@ -0,0 +1 @@
|
|||
usr/share/gtk-doc
|
58
debian/patches/0001-Add-the-style-context-provider-with-FALLBACK-priorit.patch
vendored
Normal file
58
debian/patches/0001-Add-the-style-context-provider-with-FALLBACK-priorit.patch
vendored
Normal file
|
@ -0,0 +1,58 @@
|
|||
From: Iain Lane <iain@orangesquash.org.uk>
|
||||
Date: Thu, 16 Jul 2015 10:32:38 +0100
|
||||
Subject: [PATCH] Add the style context provider with FALLBACK priority
|
||||
|
||||
Let's try again. This time we have two style providers. One of them is at
|
||||
APPLICATION priority and cannot be overridden by the theme. It sets the padding
|
||||
on VteTerminal widgets. The other one is at FALLBACK priority and is for
|
||||
colours. This can be overridden by the theme.
|
||||
|
||||
This reverts commit bd86e7637d89a55941674756e3e223c82aee2305.
|
||||
|
||||
Bug-Upstream: https://bugzilla.gnome.org/show_bug.cgi?id=740123
|
||||
---
|
||||
src/vtegtk.cc | 11 +++++++++++
|
||||
1 file changed, 11 insertions(+)
|
||||
|
||||
Index: vte2.91/src/vtegtk.cc
|
||||
===================================================================
|
||||
--- vte2.91.orig/src/vtegtk.cc
|
||||
+++ vte2.91/src/vtegtk.cc
|
||||
@@ -74,6 +74,7 @@
|
||||
|
||||
struct _VteTerminalClassPrivate {
|
||||
GtkStyleProvider *style_provider;
|
||||
+ GtkStyleProvider *style_provider_padding;
|
||||
};
|
||||
|
||||
#ifdef VTE_DEBUG
|
||||
@@ -399,6 +400,9 @@ vte_terminal_init(VteTerminal *terminal)
|
||||
context = gtk_widget_get_style_context(&terminal->widget);
|
||||
gtk_style_context_add_provider (context,
|
||||
VTE_TERMINAL_GET_CLASS (terminal)->priv->style_provider,
|
||||
+ GTK_STYLE_PROVIDER_PRIORITY_FALLBACK);
|
||||
+ gtk_style_context_add_provider (context,
|
||||
+ VTE_TERMINAL_GET_CLASS (terminal)->priv->style_provider_padding,
|
||||
GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
|
||||
|
||||
/* Initialize private data. NOTE: place is zeroed */
|
||||
@@ -1813,6 +1817,7 @@ vte_terminal_class_init(VteTerminalClass
|
||||
klass->priv = G_TYPE_CLASS_GET_PRIVATE (klass, VTE_TYPE_TERMINAL, VteTerminalClassPrivate);
|
||||
|
||||
klass->priv->style_provider = GTK_STYLE_PROVIDER (gtk_css_provider_new ());
|
||||
+ klass->priv->style_provider_padding = GTK_STYLE_PROVIDER (gtk_css_provider_new ());
|
||||
gtk_css_provider_load_from_data (GTK_CSS_PROVIDER (klass->priv->style_provider),
|
||||
"VteTerminal, " VTE_TERMINAL_CSS_NAME " {\n"
|
||||
"padding: 1px 1px 1px 1px;\n"
|
||||
@@ -1821,6 +1826,11 @@ vte_terminal_class_init(VteTerminalClass
|
||||
"}\n",
|
||||
-1, NULL);
|
||||
|
||||
+ gtk_css_provider_load_from_data (GTK_CSS_PROVIDER (klass->priv->style_provider_padding),
|
||||
+ "VteTerminal, " VTE_TERMINAL_CSS_NAME " {\n"
|
||||
+ "padding: 1px 1px 1px 1px;\n"
|
||||
+ "}\n",
|
||||
+ -1, NULL);
|
||||
#ifdef WITH_A11Y
|
||||
/* a11y */
|
||||
gtk_widget_class_set_accessible_type(widget_class, VTE_TYPE_TERMINAL_ACCESSIBLE);
|
|
@ -0,0 +1,31 @@
|
|||
From: Josselin Mouette <joss@debian.org>
|
||||
Date: Sun, 5 Jun 2011 00:26:59 +0000
|
||||
Subject: _scroll_notebook
|
||||
|
||||
With the addition of 043_notebook_scroll.patch in gtk+3.0, it is
|
||||
possible to switch tabs with Alt+mouse wheel from anywhere on the
|
||||
notebook. This patch prevents vte from interecepting the signal.
|
||||
|
||||
Corresponding GTK+ bug: GNOME #145244
|
||||
---
|
||||
src/vte.cc | 7 +++++++
|
||||
1 file changed, 7 insertions(+)
|
||||
|
||||
diff --git a/src/vte.cc b/src/vte.cc
|
||||
index cba606e..56b336a 100644
|
||||
--- a/src/vte.cc
|
||||
+++ b/src/vte.cc
|
||||
@@ -9455,6 +9455,13 @@ Terminal::widget_scroll(GdkEventScroll *event)
|
||||
|
||||
read_modifiers(base_event);
|
||||
|
||||
+#if GTK_CHECK_VERSION (2, 90, 8)
|
||||
+ /* Do not intercept Alt+scroll, let the GtkNotebook handle it to switch tabs.
|
||||
+ Requires a fixed GTK+, see https://bugzilla.gnome.org/show_bug.cgi?id=145244 */
|
||||
+ if (event->state & GDK_MOD1_MASK)
|
||||
+ return;
|
||||
+#endif
|
||||
+
|
||||
switch (event->direction) {
|
||||
case GDK_SCROLL_UP:
|
||||
m_mouse_smooth_scroll_delta -= 1.;
|
|
@ -0,0 +1,85 @@
|
|||
From: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
|
||||
Date: Mon, 10 Sep 2018 09:30:52 -0500
|
||||
Subject: Keep file descriptors open on vte_fork_pty().
|
||||
|
||||
Upstream: http://bugzilla.gnome.org/show_bug.cgi?id=320128
|
||||
https://launchpad.net/bugs/1756238
|
||||
---
|
||||
src/pty.cc | 38 ++++++++++++++++++++++++++++++++++++++
|
||||
1 file changed, 38 insertions(+)
|
||||
|
||||
Index: vte2.91/src/pty.cc
|
||||
===================================================================
|
||||
--- vte2.91.orig/src/pty.cc
|
||||
+++ vte2.91/src/pty.cc
|
||||
@@ -249,6 +249,21 @@ Pty::child_setup() const noexcept
|
||||
close(fd);
|
||||
}
|
||||
|
||||
+ if (keep_fd > 0) {
|
||||
+ int i;
|
||||
+ /* Close most descriptors. */
|
||||
+ for (i = 0; i < sysconf(_SC_OPEN_MAX); i++) {
|
||||
+ if (i != keep_fd &&
|
||||
+ i != fd &&
|
||||
+ i != STDOUT_FILENO &&
|
||||
+ i != STDIN_FILENO &&
|
||||
+ i != STDERR_FILENO) {
|
||||
+ close(i);
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+
|
||||
/* Now set the TERM environment variable */
|
||||
/* FIXME: Setting environment here seems to have no effect, the merged envp2 will override on exec.
|
||||
* By the way, we'd need to set the one from there, if any. */
|
||||
@@ -347,6 +362,24 @@ pty_child_setup_cb(void* data)
|
||||
pty->child_setup();
|
||||
}
|
||||
|
||||
+static int
|
||||
+_vte_pty_keep_fd(char **env_add)
|
||||
+{
|
||||
+ int i;
|
||||
+ const gchar *needle = "VTE_PTY_KEEP_FD=";
|
||||
+
|
||||
+ if (env_add == NULL)
|
||||
+ return -1;
|
||||
+
|
||||
+ for (i = 0; env_add[i] != NULL; i++) {
|
||||
+ gchar *s = strstr(env_add[i], needle);
|
||||
+ if (s != NULL)
|
||||
+ return atoi(&s[strlen(needle)]);
|
||||
+ }
|
||||
+
|
||||
+ return -1;
|
||||
+}
|
||||
+
|
||||
/*
|
||||
* Pty::spawn:
|
||||
* @directory: the name of a directory the command should start in, or %nullptr
|
||||
@@ -428,6 +461,10 @@ Pty::spawn(char const* directory,
|
||||
/* add the given environment to the childs */
|
||||
envp2 = __vte_pty_merge_environ (envv, directory, inherit_envv);
|
||||
|
||||
+ keep_fd = _vte_pty_keep_fd(envp2);
|
||||
+ if (keep_fd > 0)
|
||||
+ spawn_flags |= G_SPAWN_LEAVE_DESCRIPTORS_OPEN;
|
||||
+
|
||||
_VTE_DEBUG_IF (VTE_DEBUG_MISC) {
|
||||
g_printerr ("Spawning command:\n");
|
||||
for (i = 0; argv[i] != NULL; i++) {
|
||||
Index: vte2.91/src/pty.hh
|
||||
===================================================================
|
||||
--- vte2.91.orig/src/pty.hh
|
||||
+++ vte2.91/src/pty.hh
|
||||
@@ -37,6 +37,8 @@ private:
|
||||
|
||||
VtePtyFlags m_flags{VTE_PTY_DEFAULT};
|
||||
|
||||
+ int keep_fd{0};
|
||||
+
|
||||
public:
|
||||
constexpr Pty(int fd = -1,
|
||||
VtePtyFlags flags = VTE_PTY_DEFAULT) noexcept
|
|
@ -0,0 +1,3 @@
|
|||
01_scroll_notebook.patch
|
||||
0001-Add-the-style-context-provider-with-FALLBACK-priorit.patch
|
||||
91_keep_fds.patch
|
|
@ -0,0 +1,77 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
binaries := $(shell dh_listpackages)
|
||||
LIB_PKG := $(shell sed -rn 's/^Package:[[:space:]]*(libvte-[0-9\.-]+)[[:space:]]*$$/\1/p' debian/control)
|
||||
UDEB_PKG := $(LIB_PKG)-udeb
|
||||
|
||||
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
||||
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs -Wl,--as-needed
|
||||
|
||||
%:
|
||||
dh $@
|
||||
|
||||
CONFFLAGS_deb = \
|
||||
-Ddocs=true \
|
||||
-Dgir=true \
|
||||
-Dgnutls=true
|
||||
|
||||
CONFFLAGS_udeb = \
|
||||
-Ddocs=false \
|
||||
-Dgir=false \
|
||||
-Dgnutls=false \
|
||||
-Dvapi=false \
|
||||
-D_systemd=false
|
||||
|
||||
override_dh_auto_configure:
|
||||
dh_auto_configure --builddirectory=build-deb -- $(CONFFLAGS_deb)
|
||||
ifneq ($(filter %-udeb,$(binaries)),)
|
||||
dh_auto_configure --builddirectory=build-udeb -- $(CONFFLAGS_udeb)
|
||||
endif
|
||||
|
||||
override_dh_auto_build:
|
||||
dh_auto_build --builddirectory=build-deb
|
||||
ifneq ($(filter %-udeb,$(binaries)),)
|
||||
dh_auto_build --builddirectory=build-udeb
|
||||
endif
|
||||
|
||||
override_dh_auto_install:
|
||||
dh_auto_install --builddirectory=build-deb \
|
||||
--destdir=debian/tmp/deb
|
||||
rm debian/tmp/deb/usr/bin/vte-2.91
|
||||
ifneq ($(filter %-udeb,$(binaries)),)
|
||||
dh_auto_install --builddirectory=build-udeb \
|
||||
--destdir=debian/tmp/udeb
|
||||
rm debian/tmp/udeb/usr/bin/vte-2.91
|
||||
rm debian/tmp/udeb/usr/libexec/vte-urlencode-cwd
|
||||
endif
|
||||
mv debian/tmp/deb/etc/profile.d/vte.sh \
|
||||
debian/tmp/deb/etc/profile.d/vte-2.91.sh
|
||||
|
||||
override_dh_auto_clean:
|
||||
dh_auto_clean --builddirectory=build-deb
|
||||
ifneq ($(filter %-udeb,$(binaries)),)
|
||||
dh_auto_clean --builddirectory=build-udeb
|
||||
endif
|
||||
|
||||
override_dh_clean:
|
||||
rm -f debian/libvte-2.91-common.install.kfreebsd
|
||||
rm -f debian/libvte-2.91-common.install.hurd
|
||||
dh_clean
|
||||
|
||||
override_dh_auto_test:
|
||||
dh_auto_test --builddirectory=build-deb
|
||||
|
||||
override_dh_makeshlibs:
|
||||
dh_makeshlibs -p$(LIB_PKG) --add-udeb=$(UDEB_PKG) -V -- -c4
|
||||
dh_makeshlibs --remaining-packages
|
||||
|
||||
override_dh_install:
|
||||
grep -E -v 'lib/systemd' debian/libvte-2.91-common.install > debian/libvte-2.91-common.install.kfreebsd
|
||||
grep -E -v 'lib/systemd' debian/libvte-2.91-common.install > debian/libvte-2.91-common.install.hurd
|
||||
ifneq ($(filter %-udeb,$(binaries)),)
|
||||
dh_install -p$(UDEB_PKG) --sourcedir=debian/tmp/udeb
|
||||
endif
|
||||
dh_install --remaining-packages --sourcedir=debian/tmp/deb
|
||||
|
||||
override_dh_missing:
|
||||
dh_missing --fail-missing
|
|
@ -0,0 +1 @@
|
|||
3.0 (quilt)
|
|
@ -0,0 +1,70 @@
|
|||
#!/bin/sh
|
||||
# autopkgtest check: Build and run a program against VTE, to verify that the
|
||||
# headers and pkg-config file are installed correctly
|
||||
# Based on d/tests/build from glib2.0
|
||||
# (C) 2012 Canonical Ltd.
|
||||
# (C) 2018 Simon McVittie
|
||||
# Authors: Martin Pitt, Simon McVittie
|
||||
|
||||
set -eux
|
||||
|
||||
mode=dynamic
|
||||
|
||||
getopt_temp="$(getopt -o '' --long 'static' -n debian/tests/build -- "$@")"
|
||||
eval set -- "$getopt_temp"
|
||||
|
||||
while true; do
|
||||
case "$1" in
|
||||
(--static)
|
||||
mode=static
|
||||
shift
|
||||
continue
|
||||
;;
|
||||
|
||||
(--)
|
||||
shift
|
||||
break
|
||||
;;
|
||||
|
||||
(*)
|
||||
echo "getopt: Internal error" >&2
|
||||
exit 2
|
||||
esac
|
||||
done
|
||||
|
||||
WORKDIR=$(mktemp -d)
|
||||
trap 'rm -rf "$WORKDIR"' 0 INT QUIT ABRT PIPE TERM
|
||||
cd "$WORKDIR"
|
||||
|
||||
if [ -n "${DEB_HOST_GNU_TYPE:-}" ]; then
|
||||
CROSS_COMPILE="${DEB_HOST_GNU_TYPE}-"
|
||||
else
|
||||
CROSS_COMPILE=
|
||||
fi
|
||||
|
||||
cat <<EOF > example.c
|
||||
#include <vte/vte.h>
|
||||
|
||||
int main(void)
|
||||
{
|
||||
g_assert_cmpuint (VTE_TYPE_REGEX, !=, G_TYPE_INVALID);
|
||||
return 0;
|
||||
}
|
||||
EOF
|
||||
|
||||
cflags=
|
||||
pcflags=
|
||||
|
||||
case "$mode" in
|
||||
(static)
|
||||
cflags=-static
|
||||
pcflags=--static
|
||||
;;
|
||||
esac
|
||||
|
||||
# shellcheck disable=SC2046
|
||||
"${CROSS_COMPILE}gcc" $cflags -o "$mode" example.c $("${CROSS_COMPILE}pkg-config" $pcflags --cflags --libs vte-2.91)
|
||||
echo "build ($mode): OK"
|
||||
[ -x "$mode" ]
|
||||
"./$mode"
|
||||
echo "run ($mode): OK"
|
|
@ -0,0 +1,3 @@
|
|||
Tests: build
|
||||
Depends: build-essential, libvte-2.91-dev
|
||||
Restrictions: allow-stderr superficial
|
|
@ -0,0 +1,3 @@
|
|||
version=4
|
||||
https://download.gnome.org/sources/vte/([\d\.]+[02468])/ \
|
||||
vte@ANY_VERSION@@ARCHIVE_EXT@
|
Loading…
Reference in New Issue