From 6c292832eb7c41eb8d1a8e5c595a0aec6934b81c Mon Sep 17 00:00:00 2001 From: hewenfei Date: Wed, 12 Apr 2023 19:11:18 +0800 Subject: [PATCH] update debian --- debian/control | 67 ++++++++++++---------- debian/copyright | 68 +++++++++++++++++++---- debian/libukui-menu-extensions.install | 2 + debian/libukui-menu-interface-dev.install | 4 ++ debian/libukui-menu-interface1.install | 2 + debian/rules | 25 ++++++++- debian/source/options | 1 + debian/ukui-menu.install | 6 ++ 8 files changed, 132 insertions(+), 43 deletions(-) create mode 100644 debian/libukui-menu-extensions.install create mode 100644 debian/libukui-menu-interface-dev.install create mode 100644 debian/libukui-menu-interface1.install mode change 100644 => 100755 debian/rules create mode 100644 debian/source/options create mode 100644 debian/ukui-menu.install diff --git a/debian/control b/debian/control index b845cb7..06de12c 100644 --- a/debian/control +++ b/debian/control @@ -1,44 +1,51 @@ Source: ukui-menu Section: x11 Priority: optional -Maintainer: Kylin Team -Uploaders: Aron Xu , - handsome_feng +Maintainer: UKUI SIG +Uploaders: zhangpengfei Build-Depends: debhelper-compat (=12), + pkgconf, + qtchooser, qtbase5-dev, - libqt5svg5-dev, - libqt5x11extras5-dev, - libglib2.0-dev (>= 2.36), - libgsettings-qt-dev, + qtdeclarative5-dev, qttools5-dev-tools, - libbamf3-dev, + libqt5x11extras5-dev, libkf5windowsystem-dev, - libuchardet-dev, - libukui-log4qt-dev, - libxtst-dev, libx11-dev, - libukui-common0, - libukui-common-dev, - libpeony-dev, + libxcb1-dev, + libglib2.0-dev, + libukui-search-dev, + libgsettings-qt-dev, libkysdk-waylandhelper-dev Standards-Version: 4.5.0 Rules-Requires-Root: no -Homepage: https://github.com/ukui/ukui-menu -Vcs-Git: https://github.com/ukui/ukui-menu -Vcs-Browser: https://github.com/ukui/ukui-menu +Homepage: https://gitee.com/openkylin/ukui-menu +Vcs-Browser: https://gitee.com/openkylin/ukui-menu +Vcs-Git: https://gitee.com/openkylin/ukui-menu.git Package: ukui-menu Architecture: any -Depends: ${shlibs:Depends}, - ${misc:Depends}, - accountsservice, - libgsettings-qt1, - libqt5x11extras5, - bamfdaemon, - libkysdk-waylandhelper -Suggests:kylin-status-manager -Description: Advanced ukui menu - UKUI menu provides start menu development library and advanced - graphical user interface. - . - The package contains executable file. +Depends: ${shlibs:Depends}, ${misc:Depends}, + libukui-menu-interface1 (= ${binary:Version}), +Description: A simple application launcher for ukui desktop environment. + +Package: libukui-menu-interface1 +Section: libs +Architecture: any +Depends: ${shlibs:Depends},${misc:Depends}, +Description: Libraries for ukui-menu-interface. + +Package: libukui-menu-extensions +Section: libs +Architecture: any +Depends: ${misc:Depends},${shlibs:Depends}, + libukui-menu-interface1 (= ${binary:Version}) +Description: Extension plug-in for ukui-menu. + +Package: libukui-menu-interface-dev +Section: libdevel +Architecture: any +Depends: ${misc:Depends}, + ${shlibs:Depends}, + libukui-menu-interface1 (= ${binary:Version}) +Description: Libraries for ukui-menu-interface(development files). diff --git a/debian/copyright b/debian/copyright index 3a0edea..e46c937 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,29 +1,75 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: ukui-menu -Upstream-Contact: liuhao -Source: https://github.com/ukui/ukui-menu +Upstream-Contact: iaom +Source: https://gitee.com/openkylin/ukui-menu Files: * -Copyright: 2019 Tianjin KYLIN Information Technology Co., Ltd. +Copyright: 2022, iaom + 2022, hxf + 2022, 77 + 2022, 郭家琪 License: GPL-3.0+ +Files: src/3rd-parties/SingleApplication/singleapplication_p.h +Copyright: Itay Grudev 2015-2016 +License: Expat + Files: debian/* -Copyright: 2019 liuhao +Copyright: 2023, KylinSoft Co., Ltd. License: GPL-3.0+ +Files: cmake/* +Copyright: 2023, KylinSoft Co., Ltd. License: GPL-3.0+ + +Files: data/* +Copyright: 2023, KylinSoft Co., Ltd. +License: GPL-3.0+ + +Files: extension/* +Copyright: 2023, KylinSoft Co., Ltd. +License: GPL-3.0+ + +Files: src/* +Copyright: 2023, KylinSoft Co., Ltd. +License: GPL-3.0+ + +Files: qml/* +Copyright: 2023, KylinSoft Co., Ltd. +License: GPL-3.0+ + +Files: res/* +Copyright: 2023, KylinSoft Co., Ltd. +License: GPL-3.0+ + +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. + +License: GPL-3.0+ + Copyright (C) 2022, KylinSoft Co., Ltd. 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, + 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, see . - . - On Debian systems, the complete text of the GNU General - Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". + along with this program. If not, see . diff --git a/debian/libukui-menu-extensions.install b/debian/libukui-menu-extensions.install new file mode 100644 index 0000000..dbf6e5f --- /dev/null +++ b/debian/libukui-menu-extensions.install @@ -0,0 +1,2 @@ +usr/lib/*/ukui-menu/extensions/*.so +usr/share/ukui-menu/translations/recent-file-extension/*.qm diff --git a/debian/libukui-menu-interface-dev.install b/debian/libukui-menu-interface-dev.install new file mode 100644 index 0000000..ad00e00 --- /dev/null +++ b/debian/libukui-menu-interface-dev.install @@ -0,0 +1,4 @@ +usr/lib/pkgconfig/*.pc +usr/share/cmake/ukui-menu-interface/*.cmake +usr/lib/*/libukui-menu-interface.so +usr/include/ukui-menu-interface/*.h diff --git a/debian/libukui-menu-interface1.install b/debian/libukui-menu-interface1.install new file mode 100644 index 0000000..e7066f3 --- /dev/null +++ b/debian/libukui-menu-interface1.install @@ -0,0 +1,2 @@ +usr/lib/*/libukui-menu-interface.so.* +usr/lib/*/qt5/qml/org/ukui/menu/extension/* diff --git a/debian/rules b/debian/rules old mode 100644 new mode 100755 index 95cf77f..8a6c4e9 --- a/debian/rules +++ b/debian/rules @@ -1,7 +1,28 @@ #!/usr/bin/make -f +# See debhelper(7) (uncomment to enable) +# output every command that modifies files on the build system. +#export DH_VERBOSE = 1 + + +# see FEATURE AREAS in dpkg-buildflags(1) +#export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +# see ENVIRONMENT in dpkg-buildflags(1) +# package maintainers to append CFLAGS +#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic +# package maintainers to append LDFLAGS +#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed -export DEB_BUILD_MAINT_OPTIONS = hardening=+all -export QT_SELECT := qt5 %: dh $@ + + +# dh_make generated override targets +# This is example for Cmake (See https://bugs.debian.org/641051 ) +#override_dh_auto_configure: +# dh_auto_configure -- # -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) + +override_dh_auto_configure: + dh_auto_configure -- \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo diff --git a/debian/source/options b/debian/source/options new file mode 100644 index 0000000..06e1ae9 --- /dev/null +++ b/debian/source/options @@ -0,0 +1 @@ +include-binaries diff --git a/debian/ukui-menu.install b/debian/ukui-menu.install new file mode 100644 index 0000000..b4f66f1 --- /dev/null +++ b/debian/ukui-menu.install @@ -0,0 +1,6 @@ +usr/bin/ukui-menu +etc/xdg/autostart/ukui-menu.desktop +usr/share/ukui-menu/translations/*.qm +usr/share/ukui-menu/ukui-menu-global-config.conf +usr/share/dbus-1/services/org.ukui.menu.service +usr/share/glib-2.0/schemas/org.ukui.menu.settings.gschema.xml