add debian files

This commit is contained in:
hantengc 2024-01-15 13:54:02 +08:00
parent 50d5612b98
commit 2dbb42e7a9
15 changed files with 407 additions and 0 deletions

133
debian/changelog vendored Normal file
View File

@ -0,0 +1,133 @@
fcitx5-qt (5.1.4-ok0.1) nile; urgency=medium
* BUG
* 需求号:无
* 其他改动说明:发布最新版本
* 其他改动影响域:无
-- hanteng <hanteng@kylinos.cn> Mon, 15 Jan 2024 13:52:15 +0800
fcitx5-qt (5.0.14-1ok8) nile; urgency=medium
* Rebuild for QT 5.15.10
-- CI Bot <cibot@openkylin.top> Thu, 23 Nov 2023 10:46:11 +0000
fcitx5-qt (5.0.14-1ok7) nile; urgency=medium
* No change rebuild
-- CI Bot <cibot@openkylin.top> Thu, 23 Nov 2023 10:39:39 +0000
fcitx5-qt (5.0.14-1ok6) nile; urgency=medium
* rebuild for nile ppa.
-- hanteng <hanteng@kylinos.cn> Wed, 20 Sep 2023 15:45:50 +0800
fcitx5-qt (5.0.14-1ok5) yangtze; urgency=medium
* BUG:无
* 需求:无
* 其他:修复合并上游代码导致的报错
-- hanteng <hanteng@kylinos.cn> Mon, 31 Jul 2023 14:52:34 +0800
fcitx5-qt (5.0.14-1ok4) yangtze; urgency=medium
* BUG:无
* 需求:无
* 其他:无
-- hanteng <hanteng@kylinos.cn> Mon, 31 Jul 2023 14:33:00 +0800
fcitx5-qt (5.0.14-1ok3) yangtze; urgency=medium
* No-change rebuild.
-- zhouganqing <zhouganqing@kylinos.cn> Thu, 11 May 2023 14:57:51 +0800
fcitx5-qt (5.0.14-1ok2) yangtze; urgency=medium
* BUG:无
* 需求:无
* 其他:使用fcitx5中的新接口控制虚拟键盘的可见性
-- hanteng <hanteng@kylinos.cn> Sat, 06 May 2023 10:58:45 +0800
fcitx5-qt (5.0.14-1ok1) yangtze; urgency=medium
*release
-- hanteng <hanteng@kylinos.cn> Wed, 12 Apr 2023 13:35:38 +0800
fcitx5-qt (5.0.14-0ok3kylin0k0.1tablet5) v101; urgency=medium
* BUG:无
* 需求:无
* 其他:支持更准确的输入法禁用条件
-- liulinsong <liulinsong@kylinos.cn> Mon, 20 Feb 2023 13:03:04 +0800
fcitx5-qt (5.0.14-0ok3kylin0k0.1tablet4) v101; urgency=medium
* BUG:无
* 需求:无
* 其他: 同步上游代码确保Qt输入法Module正确支持当前焦点对象的输入法启用或者禁用状态
-- liulinsong <liulinsong@kylinos.cn> Mon, 20 Feb 2023 11:07:51 +0800
fcitx5-qt (5.0.14-0ok3kylin0k0.1tablet3) v101; urgency=medium
* BUG:149228,151124
* 需求:无
* 其他: 无
-- hanteng <hanteng@kylinos.cn> Mon, 13 Feb 2023 09:17:41 +0800
fcitx5-qt (5.0.14-0ok3kylin0k0.1tablet2) v101; urgency=medium
* BUG:无
* 需求:无
* 其他: 1.修复自测bug,解决Qt应用在失去焦点之后不会关闭虚拟键盘的问题
2.修改版本号
-- hanteng <hanteng@kylinos.cn> Fri, 06 Jan 2023 14:26:12 +0800
fcitx5-qt (5.0.14-0ok3kylin0k0.1tablet1) v101; urgency=medium
* BUG:无
* 需求:无
* 其他: Qt对于虚拟键盘隐藏支持的不好因此需要启用fcitx5提供的默认的失去焦点隐藏虚拟键盘行为
-- hanteng <hanteng@kylinos.cn> Fri, 06 Jan 2023 10:12:42 +0800
fcitx5-qt (5.0.14-0ok3) v101; urgency=medium
* BUG:无
* 需求:无
* 其他: Qt对于虚拟键盘隐藏支持的不好因此需要启用fcitx5提供的默认的失去焦点隐藏虚拟键盘行为
-- liulinsong <liulinsong@kylinos.cn> Tue, 15 Nov 2022 21:27:28 +0800
fcitx5-qt (5.0.14-0ok2) v101; urgency=medium
* BUG:无
* 需求:无
* 其他: Qt对于虚拟键盘有良好的支持因此可以禁用fcitx5提供的默认虚拟键盘行为
-- liulinsong <liulinsong@kylinos.cn> Mon, 31 Oct 2022 15:30:07 +0800
fcitx5-qt (5.0.14-0ok1) v101; urgency=medium
* BUG:无
* 需求:无
* 其他:由于内核在插拔设备的时候上报了code值为248的按键事件会导致输入法无法设置虚拟键盘模式故做特殊处理。
-- hanteng <hanteng@kylinos.cn> Tue, 18 Oct 2022 13:48:05 +0800
fcitx5-qt (5.0.14-0ok0) yangtze; urgency=medium
* build for openkylin
-- hanteng <hanteng@kylinos.cn> Fri, 02 Sep 2022 15:55:40 +0800

170
debian/control vendored Normal file
View File

@ -0,0 +1,170 @@
Source: fcitx5-qt
Section: utils
Priority: optional
Maintainer: openKylin Input Method Team <input-methods@lists.openkylin.top>
Uploaders:
hantengc <hanteng@kylinos.cn>,
Build-Depends:
cmake (>= 3.6.0),
debhelper-compat (= 13),
extra-cmake-modules,
gettext,
libfcitx5utils-dev (>= 5.0.18-1kylin19k0.1tablet3),
libxcb1-dev,
libxkbcommon-dev,
qtbase5-dev,
qtbase5-private-dev,
Standards-Version: 4.6.1
Rules-Requires-Root: no
Homepage: https://github.com/fcitx/fcitx5-qt
Vcs-Git: https://salsa.debian.org/input-method-team/fcitx5-qt.git
Vcs-Browser: https://salsa.debian.org/input-method-team/fcitx5-qt
Package: fcitx5-frontend-qt5
Architecture: any
Section: libs
Depends:
libfcitx5-qt1 (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
fcitx5-modules (>= 5.0.18-1kylin19k0.1tablet7),
Description: Qt5 IM module for fcitx5
Fcitx5 is the next generation of fcitx input method framework. It
provides pleasant and modern input experience with intuitive graphical
configuration tools. The framework is highly extensible with support
for GTK+ and Qt toolkits, DBus interfaces, a large variety of desktop
environments and a developer-friendly API.
.
Some of its new features include support of both Wayland and Xorg
and the ability to mimic IBus Input Method Framework in order to
provide better compatibility across different Linux distributions
and desktop environments.
.
This package provides the Qt5 IM Module for fcitx5.
#Package: fcitx5-frontend-qt6
#Architecture: any
#Section: libs
#Depends:
# libfcitx5-qt6-1 (= ${binary:Version}),
# ${misc:Depends},
# ${shlibs:Depends},
#Description: Qt6 IM module for fcitx5
# Fcitx5 is the next generation of fcitx input method framework. It
# provides pleasant and modern input experience with intuitive graphical
# configuration tools. The framework is highly extensible with support
# for GTK+ and Qt toolkits, DBus interfaces, a large variety of desktop
# environments and a developer-friendly API.
# .
# Some of its new features include support of both Wayland and Xorg
# and the ability to mimic IBus Input Method Framework in order to
# provide better compatibility across different Linux distributions
# and desktop environments.
# .
# This package provides the Qt6 IM Module for fcitx5.
Package: libfcitx5-qt-data
Architecture: all
Multi-Arch: foreign
Section: libs
Depends:
${misc:Depends},
Description: Qt library and IM module for fcitx5 (data files)
Fcitx5 is the next generation of fcitx input method framework. It
provides pleasant and modern input experience with intuitive graphical
configuration tools. The framework is highly extensible with support
for GTK+ and Qt toolkits, DBus interfaces, a large variety of desktop
environments and a developer-friendly API.
.
Some of its new features include support of both Wayland and Xorg
and the ability to mimic IBus Input Method Framework in order to
provide better compatibility across different Linux distributions
and desktop environments.
.
This package provides the shared data files for fcitx5-qt.
Package: libfcitx5-qt-dev
Architecture: any
Multi-Arch: same
Section: libdevel
Depends:
libfcitx5-qt1 (= ${binary:Version}),
${misc:Depends},
Description: Qt library and IM module for fcitx5 (development files)
Fcitx5 is the next generation of fcitx input method framework. It
provides pleasant and modern input experience with intuitive graphical
configuration tools. The framework is highly extensible with support
for GTK+ and Qt toolkits, DBus interfaces, a large variety of desktop
environments and a developer-friendly API.
.
Some of its new features include support of both Wayland and Xorg
and the ability to mimic IBus Input Method Framework in order to
provide better compatibility across different Linux distributions
and desktop environments.
.
This package provides the development files for fcitx5-qt.
Package: libfcitx5-qt1
Architecture: any
Multi-Arch: same
Section: libs
Depends:
libfcitx5-qt-data (= ${source:Version}),
${misc:Depends},
${shlibs:Depends},
Description: Qt library and IM module for fcitx5
Fcitx5 is the next generation of fcitx input method framework. It
provides pleasant and modern input experience with intuitive graphical
configuration tools. The framework is highly extensible with support
for GTK+ and Qt toolkits, DBus interfaces, a large variety of desktop
environments and a developer-friendly API.
.
Some of its new features include support of both Wayland and Xorg
and the ability to mimic IBus Input Method Framework in order to
provide better compatibility across different Linux distributions
and desktop environments.
.
This package provides the Qt5 support for fcitx5.
#Package: libfcitx5-qt6-1
#Architecture: any
#Multi-Arch: same
#Section: libs
#Depends:
# libfcitx5-qt-data (= ${source:Version}),
# ${misc:Depends},
# ${shlibs:Depends},
#Description: Qt6 library and IM module for fcitx5
# Fcitx5 is the next generation of fcitx input method framework. It
# provides pleasant and modern input experience with intuitive graphical
# configuration tools. The framework is highly extensible with support
# for GTK+ and Qt toolkits, DBus interfaces, a large variety of desktop
# environments and a developer-friendly API.
# .
# Some of its new features include support of both Wayland and Xorg
# and the ability to mimic IBus Input Method Framework in order to
# provide better compatibility across different Linux distributions
# and desktop environments.
# .
# This package provides the Qt6 support for fcitx5.
#Package: libfcitx5-qt6-dev
#Architecture: any
#Multi-Arch: same
#Section: libdevel
#Depends:
# libfcitx5-qt6-1 (= ${binary:Version}),
# ${misc:Depends},
#Description: Qt6 library and IM module for fcitx5 (development files)
# Fcitx5 is the next generation of fcitx input method framework. It
# provides pleasant and modern input experience with intuitive graphical
# configuration tools. The framework is highly extensible with support
# for GTK+ and Qt toolkits, DBus interfaces, a large variety of desktop
# environments and a developer-friendly API.
# .
# Some of its new features include support of both Wayland and Xorg
# and the ability to mimic IBus Input Method Framework in order to
# provide better compatibility across different Linux distributions
# and desktop environments.
# .
# This package provides the development files for fcitx5-qt (qt6).

68
debian/copyright vendored Normal file
View File

@ -0,0 +1,68 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: fcitx5-qt
Upstream-Contact: Weng Xuetian <wengxt@gmail.com>
Source: https://github.com/fcitx/fcitx5-qt
Files: *
Copyright: 2017, CSSlayer <wengxt@gmail.com>
License: LGPL-2.1+
Files: debian/*
Copyright: 2019, Boyuan Yang <byang@debian.org>
License: CC0-1.0
Files:
qt4/*
qt5/dbusaddons/*
qt5/platforminputcontext/*
Copyright: 2017, CSSlayer <wengxt@gmail.com>
License: BSD-3-Clause
License: CC0-1.0
On Debian systems, the full text of the CC0 1.0 Universal
License can be found in the file
`/usr/share/common-licenses/CC0-1.0'.
License: BSD-3-Clause
Copyright (c) 2017, CSSlayer
All rights reserved.
.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of the authors nor the
names of its contributors may be used to endorse or promote products
derived from this software without specific prior written permission.
.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
License: LGPL-2.1+
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 2.1 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 library; see the file COPYING. If not,
see <https://www.gnu.org/licenses/>.
.
On Debian-based systems, the full text of LGPL-2.1 could be found at
/usr/share/common-licenses/LGPL-2.1 .

4
debian/fcitx5-frontend-qt5.install vendored Normal file
View File

@ -0,0 +1,4 @@
usr/lib/*/fcitx5/qt5/*
usr/lib/*/qt5/plugins/platforminputcontexts/*
usr/libexec/fcitx5-qt5-gui-wrapper
usr/share/applications/org.fcitx.fcitx5-qt5-gui-wrapper.desktop

1
debian/fcitx5-frontend-qt6.install vendored Normal file
View File

@ -0,0 +1 @@
#usr/lib/*/qt6/plugins/platforminputcontexts/*

1
debian/libfcitx5-qt-data.install vendored Normal file
View File

@ -0,0 +1 @@
usr/share/locale/

3
debian/libfcitx5-qt-dev.install vendored Normal file
View File

@ -0,0 +1,3 @@
usr/include/Fcitx5Qt5/
usr/lib/*/cmake/Fcitx5Qt5*/*
usr/lib/*/libFcitx5Qt5*.so

1
debian/libfcitx5-qt1.install vendored Normal file
View File

@ -0,0 +1 @@
usr/lib/*/libFcitx5Qt5*.so.*

View File

@ -0,0 +1,2 @@
# The two libraries are put together on purpose
package-name-doesnt-match-sonames libFcitx5Qt5DBusAddons1 libFcitx5Qt5WidgetsAddons2

1
debian/libfcitx5-qt6-1.install vendored Normal file
View File

@ -0,0 +1 @@
#usr/lib/*/libFcitx5Qt6*.so.*

View File

@ -0,0 +1,2 @@
# Named on purpose for future libraries
#package-name-doesnt-match-sonames libFcitx5Qt6DBusAddons1

3
debian/libfcitx5-qt6-dev.install vendored Normal file
View File

@ -0,0 +1,3 @@
#usr/include/Fcitx5Qt6/
#usr/lib/*/cmake/Fcitx5Qt6*/*
#usr/lib/*/libFcitx5Qt6*.so

13
debian/rules vendored Executable file
View File

@ -0,0 +1,13 @@
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export QT_SELECT := 5
%:
dh $@
override_dh_auto_configure:
dh_auto_configure -- \
-DCMAKE_BUILD_RPATH_USE_ORIGIN=ON \
-DENABLE_QT4=Off \
-DENABLE_QT6=Off

1
debian/source/format vendored Normal file
View File

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

4
debian/watch vendored Normal file
View File

@ -0,0 +1,4 @@
version=4
opts="mode=git, pgpmode=none" \
https://github.com/fcitx/fcitx5-qt \
refs/tags/@ANY_VERSION@ debian