From 1926f562e323e8586936a7ca614aa54d5947b984 Mon Sep 17 00:00:00 2001 From: xibowen Date: Wed, 24 Jan 2024 14:59:56 +0800 Subject: [PATCH] Add libkylin-nm-base and kylin-nm-plugin in kylin-nm for debian. Fix lintian error --- debian/changelog | 188 ++++++++++------------ debian/compat | 1 - debian/control | 58 ++++--- debian/kylin-nm-plugin-dev.install | 2 + debian/kylin-nm-plugin.install | 3 +- debian/kylin-nm-plugin.lintian-overrides | 1 + debian/kylin-nm.install | 8 +- debian/kylin-nm.manpages | 5 +- debian/kylin-nm.preinst | 12 -- debian/libkylin-nm-base-dev.install | 29 ++++ debian/libkylin-nm-base.install | 2 + debian/libkylin-nm-base.lintian-overrides | 1 + debian/rules | 28 ---- debian/source/format | 2 +- 14 files changed, 168 insertions(+), 172 deletions(-) delete mode 100644 debian/compat create mode 100644 debian/kylin-nm-plugin-dev.install create mode 100644 debian/kylin-nm-plugin.lintian-overrides delete mode 100644 debian/kylin-nm.preinst create mode 100644 debian/libkylin-nm-base-dev.install create mode 100644 debian/libkylin-nm-base.install create mode 100644 debian/libkylin-nm-base.lintian-overrides diff --git a/debian/changelog b/debian/changelog index cd1a61f2..b876a368 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,146 +1,128 @@ -kylin-nm (4.0.0.0-ok8.2) yangtze; urgency=medium +kylin-nm (4.0.0.0-1) unstable; urgency=medium - * issue #I7GT8M #I7GST6 #I7YPFI #I73HNK #I72PU4 + * New upstream release. - -- zhaoshixu Tue, 26 Sep 2023 14:58:15 +0800 + -- xibowen Tue, 26 Sep 2023 14:58:15 +0800 -kylin-nm (4.0.0.0-ok8.1) yangtze; urgency=medium +kylin-nm (3.0.3-1) unstable; urgency=medium - * rebuild with no changes. + * New upstream release. - -- handsome_feng Fri, 09 Jun 2023 16:55:52 +0800 + -- handsome_feng Wed, 23 Feb 2022 13:52:31 +0800 -kylin-nm (4.0.0.0-ok8) yangtze; urgency=medium +kylin-nm (3.0.2-1) unstable; urgency=medium - * issue #I71UQZ #I71VZ1 #I7200J #I72OMH #I73HNK + * New upstream release. - -- zhaoshixu Tue, 30 May 2023 13:52:06 +0800 + -- handsome_feng Mon, 16 Aug 2021 19:00:43 +0800 -kylin-nm (4.0.0.0-ok7) yangtze; urgency=medium +kylin-nm (3.0.1-1) unstable; urgency=medium - * issue #I73I44 #I71WH5 + * New upstream bugfix release. - -- zhaoshixu Wed, 24 May 2023 15:36:21 +0800 + -- handsome_feng Sun, 27 Sep 2020 14:43:45 +0800 -kylin-nm (4.0.0.0-ok6) yangtze; urgency=medium +kylin-nm (3.0.0-1) unstable; urgency=medium - * issue #I7357J + * New upstream release. - -- zhaoshixu Wed, 17 May 2023 09:56:46 +0800 + -- handsome_feng Wed, 26 Aug 2020 20:25:16 +0800 -kylin-nm (4.0.0.0-ok5) yangtze; urgency=medium +kylin-nm (1.2.3-1) unstable; urgency=medium - * Modify plugin name from Vpn to VPN. + * New upstream bugfix release: + - Fix the error when communicate with ukui-control-center. + - Can't click save button when there is empty entry when configure + network. + - Fix the incorrect position of some buttons. + - Fix the crash when switch the wifi. + - Fix the wrong position between upload icon and download icon. + - Fix the occasional crash when get ipv4 and ipv6. + - Fix the wrong position of right-click menu. + - Fix that can't get normal message from ukui-panel. + - Fix that no notification after modify the configuration. + - Fix the error when state of connection and speed of network + display at the same time. + * debian/control: + - Add libgsettings-qt-dev, libkf5windowsystem-dev to build-depends. - -- handsome_feng Sat, 13 May 2023 16:52:05 +0800 + -- handsome_feng Mon, 06 Apr 2020 23:11:15 +0800 -kylin-nm (4.0.0.0-ok4) yangtz; urgency=medium +kylin-nm (1.2.2.1-1) unstable; urgency=medium - * remove kysec + * Remove the .qmake.stash witch cause the build failed. - -- zhaoshixu Wed, 12 Apr 2023 19:28:57 +0800 + -- handsome_feng Sat, 14 Mar 2020 18:48:03 +0800 -kylin-nm (4.0.0.0-ok3) yangtze; urgency=medium +kylin-nm (1.2.2-1) unstable; urgency=medium - * #include + * New upstream release. + - Fix that the connect button display at wrong place. + - Fix that sometimes failed to switch network type. + - Fix the problem in multiscreen. + - Adjust the style sheet. + - Show configure window when click network info widget. + - Add the function to create new network. + * debian/control: + - Drop libnotify-bin from build-depends. - -- zhaoshixu Wed, 12 Apr 2023 19:05:00 +0800 + -- handsome_feng Sat, 14 Mar 2020 15:15:38 +0800 -kylin-nm (4.0.0.0-ok2) yangtze; urgency=medium +kylin-nm (1.2.1-1) unstable; urgency=medium - * remove wired switch + [ lixiang ] + * update kylin-nm.pro and rules. - -- zhaoshixu Wed, 12 Apr 2023 18:44:10 +0800 + -- handsome_feng Wed, 26 Feb 2020 00:21:11 +0800 -kylin-nm (4.0.0.0-ok1) yangtze; urgency=medium +kylin-nm (1.2.0-1) unstable; urgency=medium - * merge upstream + * New upstream release. + * debian/control: + - Bump standards-version to 4.5.0. - -- zhaoshixu Wed, 12 Apr 2023 17:09:37 +0800 + [ lixiang ] + * update kylin-nm.pro and rules. -kylin-nm (3.14.0.0+0512-3k15) yangtze; urgency=medium + * Remove the depend package libnotify-bin. + * User can config network by clicking information button about IP. + * kylin-nm enable create new wired net now. - * QSystemTrayIcon register + -- handsome_feng Tue, 25 Feb 2020 14:12:29 +0800 - -- zhaoshixu Fri, 06 Jan 2023 16:22:59 +0800 +kylin-nm (1.0.4-1) unstable; urgency=medium -kylin-nm (3.14.0.0+0512-3k14) yangtze; urgency=medium + * New upstream release. + * debian/control: + - Bump standards-version to 4.4.1. No changes needed. + * debian/{compat,control}: + - Use debhelper-compat notation. Bump to DH compat level + version 12. - * add include QPainterPath + -- handsome_feng Mon, 02 Dec 2019 09:48:37 +0800 - -- zhaoshixu Thu, 05 Jan 2023 16:27:10 +0800 +kylin-nm (1.0.3-1) unstable; urgency=medium -kylin-nm (3.14.0.0+0512-3k13) yangtze; urgency=medium + * New upstream release: + - Fix that the connect state doesn't update after net cable plug in or + out. (LP: #1831818) + - Add the function to connect to hidden wireless network. (LP: #1829807) + * Debian/control: Bump standards vertion to 4.4.0. - * 增加三种企业网加密方式LEAP PWD FAST + -- handsome_feng Thu, 26 Sep 2019 19:28:24 +0800 - -- zhaoshixu Mon, 26 Dec 2022 16:11:31 +0800 +kylin-nm (1.0.2-0ubuntu1) eoan; urgency=medium -kylin-nm (3.14.0.0+0512-3k12) yangtze; urgency=medium + * Bug-fix only: + - Fix the wrong connection status. (LP: #1823843) + - Fix that unable to close after turned on the network. + (LP: #1823844) + - Implement singleton pattern. (LP: #1823845) - * vpn页面增加 - * dns优化 - * tabBar圆角 + -- handsome_feng Tue, 16 Apr 2019 21:16:36 +0800 - -- zhaoshixu Fri, 16 Dec 2022 12:04:41 +0800 +kylin-nm (1.0.0-1) unstable; urgency=medium -kylin-nm (3.14.0.0+0512-3k11) yangtz; urgency=medium + * Initial release. (Closes: #919549) - * 合并3.22需求 - - -- zhaoshixu Mon, 21 Nov 2022 15:31:28 +0800 - -kylin-nm (3.14.0.0+0512-2k11) yangtz; urgency=medium - - * 修改因有线连接未指定网卡造成VPN托盘崩溃的问题 - - -- zhaoshixu Fri, 21 Oct 2022 16:35:19 +0800 - -kylin-nm (3.14.0.0+0512-2k10) yangtz; urgency=medium - - * 托盘vpn需求 - - -- zhaoshixu Thu, 20 Oct 2022 20:21:39 +0800 - -kylin-nm (3.14.0.0+0512-1k10) yangtz; urgency=medium - - * 同步3.22需求 - - -- zhaoshixu Wed, 19 Oct 2022 10:01:07 +0800 - -kylin-nm (3.14.0.0+0512-0k10) yangtz; urgency=medium - - * close-cd #131075 【网络】普通用户在详情界面修改网络IP信息时会弹出授权框,如果不进行授权详情界面也会显示修改成功,但是实际未修改 - - -- zhaoshixu Thu, 18 Aug 2022 17:09:12 +0800 - -kylin-nm (3.14.0.0+0512-0k9) yangtz; urgency=medium - - * close-cd #131247 登录界面连接wifi后,登录桌面任务栏网络工具显示未连接,wifi依旧关闭状态 - - -- zhaoshixu Wed, 03 Aug 2022 16:12:40 +0800 - -kylin-nm (3.14.0.0+0512-0k8) yangtz; urgency=medium - - * close-cd #127890 开启无线局域网后关闭,重新打开控制面板,无线局域网处显示网卡名称 - * close-cd #128339 连接WIFI过程中点击忘记此WIFI,之后密码仍保留在输入框内 - -- zhaoshixu Mon, 18 Jul 2022 10:54:25 +0800 - -kylin-nm (3.14.0.0+0512-0k7~0707) yangtz; urgency=medium - - * Fix mobilehotspot segmentation fault and init wlanSwitchEnable status. - * close-cd #91326 【控制面板】-首页图标、左侧导航线性图标可以跟随主题切换 - - -- zhaoshixu Wed, 22 Jun 2022 09:44:33 +0800 - -kylin-nm (3.14.0.0+0512-0k5) yangtz; urgency=medium - - * set window frameless. - - -- zhaoshixu Mon, 20 Jun 2022 16:01:48 +0800 - -kylin-nm (3.14.0.0+0512-0k4) yangtze; urgency=medium - - * Initial for openKylin. - - -- zhaoshixu Fri, 17 Jun 2022 11:46:09 +0800 + -- handsome_feng Thu, 17 Jan 2019 15:49:40 +0800 diff --git a/debian/compat b/debian/compat deleted file mode 100644 index ec635144..00000000 --- a/debian/compat +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/debian/control b/debian/control index 48845e00..7720f975 100644 --- a/debian/control +++ b/debian/control @@ -2,16 +2,16 @@ Source: kylin-nm Section: utils Priority: optional Maintainer: Kylin Team -Uploaders: handsome_feng -Build-Depends: debhelper (>=9), +Uploaders: handsome_feng , + xibowen +Build-Depends: debhelper-compat (=13), libcap-dev, + libdbus-glib-1-dev, libgsettings-qt-dev, libgtk-3-dev, libkf5networkmanagerqt-dev (>= 5.36.0), libkf5windowsystem-dev, - libkysdk-qtwidgets-dev(>= 1.2.0), - libkysdk-sysinfo-dev, - libkysdk-waylandhelper-dev(>= 1.2.0kylin2), + libkysdk-applications-dev(>= 1.2.0), libnm-dev, libnma-dev, libqt5svg5-dev, @@ -26,24 +26,16 @@ Build-Depends: debhelper (>=9), qtbase5-dev-tools, qtchooser, qtscript5-dev, - qttools5-dev-tools, - libkylin-nm-base -Standards-Version: 4.5.0 + qttools5-dev-tools +Standards-Version: 4.6.1.0 Rules-Requires-Root: no -Homepage: https://github.com/ukui/kylin-nm -Vcs-Git: https://github.com/ukui/kylin-nm.git -Vcs-Browser: https://github.com/ukui/kylin-nm +Homepage: https://gitee.com/openkylin/kylin-nm +Vcs-Git: https://gitee.com/openkylin/kylin-nm.git +Vcs-Browser: https://gitee.com/openkylin/kylin-nm Package: kylin-nm Architecture: any -Depends: libkysdk-qtwidgets, - libkysdk-waylandhelper, - network-manager (>=1.2.6), - ukui-control-center (>= 3.1.1+1217), - dpkg-dev, - libkysdk-sysinfo, - ${shlibs:Depends}, - ${misc:Depends} +Depends: network-manager (>=1.2.6), ${misc:Depends}, ${shlibs:Depends} Description: Gui Applet tool for display and edit network simply Kylin NM is a Applet tool for managing network settings simply. It has beautiful UI and very comfortable to use. @@ -52,10 +44,36 @@ Description: Gui Applet tool for display and edit network simply Package: kylin-nm-plugin Architecture: any Depends: libkylin-nm-base, - libkysdk-qtwidgets, network-manager (>=1.2.6), ${misc:Depends}, ${shlibs:Depends} Description: Gui Applet plugin for display and edit network simply It has beautiful UI and very comfortable to use. It's better work together with UKUI. + +Package: kylin-nm-plugin-dev +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: Gui Applet plugin for display and edit network simply + It has beautiful UI and very comfortable to use. + It's better work together with UKUI.This is kylin-nm-plugin + development file. + +Package: libkylin-nm-base +Section: libs +Architecture: any +Depends: network-manager (>=1.2.6), ${misc:Depends}, ${shlibs:Depends} +Description: Gui Applet tool for display and edit network simply + Kylin NM is a Applet tool for managing network settings simply. + It has beautiful UI and very comfortable to use. + It's better work together with UKUI. + +Package: libkylin-nm-base-dev +Section: libdevel +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: Gui Applet tool for display and edit network simply + Kylin NM is a Applet tool for managing network settings simply. + It has beautiful UI and very comfortable to use. + It's better work together with UKUI.This is libkylin-nm-base + development file. diff --git a/debian/kylin-nm-plugin-dev.install b/debian/kylin-nm-plugin-dev.install new file mode 100644 index 00000000..706e3ed2 --- /dev/null +++ b/debian/kylin-nm-plugin-dev.install @@ -0,0 +1,2 @@ +usr/include/kylin-nm/kynetworkicon.h +usr/lib/liblibnm-icon-kylin.so diff --git a/debian/kylin-nm-plugin.install b/debian/kylin-nm-plugin.install index 7c622ea3..0c5ead49 100644 --- a/debian/kylin-nm-plugin.install +++ b/debian/kylin-nm-plugin.install @@ -1,4 +1,3 @@ -usr/lib/liblibnm-icon-kylin.so* usr/lib/kylin-nm/libnetconnect.so usr/lib/kylin-nm/libwlanconnect.so -usr/include/kylin-nm/kynetworkicon.h +usr/lib/liblibnm-icon-kylin.so.* diff --git a/debian/kylin-nm-plugin.lintian-overrides b/debian/kylin-nm-plugin.lintian-overrides new file mode 100644 index 00000000..b120492e --- /dev/null +++ b/debian/kylin-nm-plugin.lintian-overrides @@ -0,0 +1 @@ +package-name-doesnt-match-sonames liblibnm-icon-kylin1 diff --git a/debian/kylin-nm.install b/debian/kylin-nm.install index 6f913263..2c6f600f 100644 --- a/debian/kylin-nm.install +++ b/debian/kylin-nm.install @@ -1,5 +1,5 @@ -usr/share/* -usr/lib/x86_64-linux-gnu/* -usr/bin/* +/usr/share/dbus-1/system.d/com.kylin.network.qt.systemdbus.conf etc/xdg/autostart/* -etc/dbus-1/system.d/com.kylin.network.qt.systemdbus.conf +usr/bin/* +usr/lib/x86_64-linux-gnu/* +usr/share/* diff --git a/debian/kylin-nm.manpages b/debian/kylin-nm.manpages index 9691523b..c7649cbc 100644 --- a/debian/kylin-nm.manpages +++ b/debian/kylin-nm.manpages @@ -1 +1,4 @@ -man/kylin-nm.1 \ No newline at end of file +man/kylin-nm-plugin.1 +man/kylin-nm-sysdbus.1 +man/kylin-nm.1 +man/kylin-vpn.1 diff --git a/debian/kylin-nm.preinst b/debian/kylin-nm.preinst deleted file mode 100644 index 1390f944..00000000 --- a/debian/kylin-nm.preinst +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash - -set -e - -path="/usr/lib/`/usr/bin/dpkg-architecture -qDEB_TARGET_MULTIARCH`/ukui-control-center/libnetconnect.so" -dpkg-divert --package kylin-nm --rename --divert "$path"".old" --add $path - -path2="/usr/lib/`/usr/bin/dpkg-architecture -qDEB_TARGET_MULTIARCH`/ukui-control-center/libproxy.so" -dpkg-divert --package kylin-nm --rename --divert "$path2"".old" --add $path2 - -path3="/usr/lib/`/usr/bin/dpkg-architecture -qDEB_TARGET_MULTIARCH`/ukui-control-center/libvpn.so" -dpkg-divert --package kylin-nm --rename --divert "$path3"".old" --add $path3 diff --git a/debian/libkylin-nm-base-dev.install b/debian/libkylin-nm-base-dev.install new file mode 100644 index 00000000..044692a5 --- /dev/null +++ b/debian/libkylin-nm-base-dev.install @@ -0,0 +1,29 @@ +libkylin-nm-base/libnm-kylin/libnm-base-kylin/pkgconfig/kylin-nm-base.pc /usr/share/pkgconfig/ +usr/include/kylin-nm/depend/kyapnetresource.h +usr/include/kylin-nm/depend/kyenterpricesettinginfo.h +usr/include/kylin-nm/depend/kylinactiveconnectresource.h +usr/include/kylin-nm/depend/kylinapconnectitem.h +usr/include/kylin-nm/depend/kylinconnectitem.h +usr/include/kylin-nm/depend/kylinconnectoperation.h +usr/include/kylin-nm/depend/kylinconnectsetting.h +usr/include/kylin-nm/depend/kylingeneral.h +usr/include/kylin-nm/depend/kylinnetresource.h +usr/include/kylin-nm/depend/kylinnetworkdeviceresource.h +usr/include/kylin-nm/depend/kylinnetworkmanagerutil.h +usr/include/kylin-nm/depend/kylinnetworkresourcemanager.h +usr/include/kylin-nm/depend/kylinnetworkresourcetype.h +usr/include/kylin-nm/depend/kylinwiredconnectoperation.h +usr/include/kylin-nm/depend/kylinwirednetresource.h +usr/include/kylin-nm/depend/kywirelessconnectoperation.h +usr/include/kylin-nm/depend/kywirelessnetitem.h +usr/include/kylin-nm/depend/kywirelessnetresource.h +usr/include/kylin-nm/kylin-agent/agentutils.h +usr/include/kylin-nm/kylin-agent/kylinagent.h +usr/include/kylin-nm/kylin-agent/kylinagentobject.h +usr/include/kylin-nm/kylin-agent/kylinpassworddialog.h +usr/include/kylin-nm/kylin-agent/kylinsecretagent.h +usr/include/kylin-nm/kylin-nm-interface.h +usr/include/kylin-nm/kylinnetworkmanager.h +usr/include/kylin-nm/libnm-base-kylin_global.h +usr/lib/libkylin-keyring.so +usr/lib/libkylin-nm-base.so diff --git a/debian/libkylin-nm-base.install b/debian/libkylin-nm-base.install new file mode 100644 index 00000000..95fe8571 --- /dev/null +++ b/debian/libkylin-nm-base.install @@ -0,0 +1,2 @@ +usr/lib/libkylin-keyring.so.* +usr/lib/libkylin-nm-base.so.* diff --git a/debian/libkylin-nm-base.lintian-overrides b/debian/libkylin-nm-base.lintian-overrides new file mode 100644 index 00000000..838dc716 --- /dev/null +++ b/debian/libkylin-nm-base.lintian-overrides @@ -0,0 +1 @@ +libkylin-nm-base: package-name-doesnt-match-sonames libkylin-keyring1 libkylin-nm-base1 diff --git a/debian/rules b/debian/rules index 2da18dca..7330eb0e 100755 --- a/debian/rules +++ b/debian/rules @@ -1,34 +1,6 @@ #!/usr/bin/make -f - export QT_SELECT=5 export DEB_BUILD_MAINT_OPTIONS = hardening=+all -QMAKE_OPTS = DEFINES+=NO_DEBUG_ON_CONSOLE -MAKE_OPTS = PREFIX=/usr QMAKE=qmake LRELEASE=lrelease QMAKE_OPTS="$(QMAKE_OPTS)" - -override_dh_auto_configure: - QT_SELECT=qt5 dh_auto_configure \ - -- "QMAKE_CXXFLAGS=$(CFLAGS)" \ - kylin-nm.pro - %: dh $@ - -override_dh_install: - dh_install - -override_dh_missing: - dh_missing --fail-missing - -override_dh_auto_clean: - [ ! -d .moc ] || $(RM) -r .moc - [ ! -d .obj ] || $(RM) -r .obj - [ ! -d .ui ] || $(RM) -r .ui - [ ! -f Makefile ] || dh_auto_clean - -override_dh_auto_build: - dh_auto_build -- $(MAKE_OPTS) - -override_dh_shlibdeps: - dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info - diff --git a/debian/source/format b/debian/source/format index 89ae9db8..163aaf8d 100644 --- a/debian/source/format +++ b/debian/source/format @@ -1 +1 @@ -3.0 (native) +3.0 (quilt)