mirror of
https://github.com/arcan1s/netctl-gui.git
synced 2025-04-24 23:47:21 +00:00
release 1.4.4
Fix minfo
This commit is contained in:
parent
d541d0a755
commit
f665a46346
@ -1,3 +1,8 @@
|
|||||||
|
Ver.1.4.4
|
||||||
|
---------
|
||||||
|
* dataengine
|
||||||
|
- fix profile status definition
|
||||||
|
|
||||||
Ver.1.4.3
|
Ver.1.4.3
|
||||||
---------
|
---------
|
||||||
* all
|
* all
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
pkgbase=netctl-gui
|
pkgbase=netctl-gui
|
||||||
pkgname=('libnetctlgui' 'netctlgui-helper' 'netctl-gui'
|
pkgname=('libnetctlgui' 'netctlgui-helper' 'netctl-gui'
|
||||||
'plasma5-applet-netctl-gui')
|
'plasma5-applet-netctl-gui')
|
||||||
pkgver=1.4.3
|
pkgver=1.4.4
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Qt4/Qt5 GUI for netctl. Also provides a widget for KDE"
|
pkgdesc="Qt4/Qt5 GUI for netctl. Also provides a widget for KDE"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
@ -11,7 +11,7 @@ url="http://arcanis.name/projects/netctl-gui"
|
|||||||
license=('GPL3')
|
license=('GPL3')
|
||||||
makedepends=('cmake' 'extra-cmake-modules' 'plasma-framework' 'qt5-tools')
|
makedepends=('cmake' 'extra-cmake-modules' 'plasma-framework' 'qt5-tools')
|
||||||
source=("https://github.com/arcan1s/netctl-gui/releases/download/V.${pkgver}/${pkgbase}-${pkgver}-src.tar.xz")
|
source=("https://github.com/arcan1s/netctl-gui/releases/download/V.${pkgver}/${pkgbase}-${pkgver}-src.tar.xz")
|
||||||
md5sums=('65a62753c03e2996a05d930c0ec2d460')
|
md5sums=('ea5eb54bf0ad29f392c8fe6e5ea2585e')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
rm -rf "${srcdir}/build-"{plasmoid,qt5}
|
rm -rf "${srcdir}/build-"{plasmoid,qt5}
|
||||||
|
@ -4,7 +4,7 @@ pkgbase=netctl-gui-qt4
|
|||||||
_pkgbase=netctl-gui
|
_pkgbase=netctl-gui
|
||||||
pkgname=('libnetctlgui-qt4' 'netctlgui-helper-qt4' 'netctl-gui-qt4'
|
pkgname=('libnetctlgui-qt4' 'netctlgui-helper-qt4' 'netctl-gui-qt4'
|
||||||
'kdeplasma-applets-netctl-gui')
|
'kdeplasma-applets-netctl-gui')
|
||||||
pkgver=1.4.3
|
pkgver=1.4.4
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Qt4 GUI for netctl. Also provides a widget for KDE4"
|
pkgdesc="Qt4 GUI for netctl. Also provides a widget for KDE4"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
@ -12,7 +12,7 @@ url="http://arcanis.name/projects/netctl-gui"
|
|||||||
license=('GPL3')
|
license=('GPL3')
|
||||||
makedepends=('automoc4' 'cmake' 'kdelibs')
|
makedepends=('automoc4' 'cmake' 'kdelibs')
|
||||||
source=("https://github.com/arcan1s/netctl-gui/releases/download/V.${pkgver}/${_pkgbase}-${pkgver}-src.tar.xz")
|
source=("https://github.com/arcan1s/netctl-gui/releases/download/V.${pkgver}/${_pkgbase}-${pkgver}-src.tar.xz")
|
||||||
md5sums=('65a62753c03e2996a05d930c0ec2d460')
|
md5sums=('ea5eb54bf0ad29f392c8fe6e5ea2585e')
|
||||||
|
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
|
@ -11,7 +11,7 @@ set (PROJECT_CONTACT "esalexeev@gmail.com")
|
|||||||
set (PROJECT_LICENSE "GPLv3")
|
set (PROJECT_LICENSE "GPLv3")
|
||||||
set (PROJECT_VERSION_MAJOR 1)
|
set (PROJECT_VERSION_MAJOR 1)
|
||||||
set (PROJECT_VERSION_MINOR 4)
|
set (PROJECT_VERSION_MINOR 4)
|
||||||
set (PROJECT_VERSION_PATCH 3)
|
set (PROJECT_VERSION_PATCH 4)
|
||||||
set (PROJECT_VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH})
|
set (PROJECT_VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH})
|
||||||
string (TIMESTAMP CURRENT_DATE "%Y-%m-%d %H:%M" UTC)
|
string (TIMESTAMP CURRENT_DATE "%Y-%m-%d %H:%M" UTC)
|
||||||
string (TIMESTAMP CURRENT_YEAR "%Y")
|
string (TIMESTAMP CURRENT_YEAR "%Y")
|
||||||
|
@ -198,16 +198,15 @@ QStringList Netctl::getProfileList(const QString cmdNetctl, const QString cmdNet
|
|||||||
if (debug) qDebug() << PDEBUG;
|
if (debug) qDebug() << PDEBUG;
|
||||||
|
|
||||||
netctlAutoStatus = true;
|
netctlAutoStatus = true;
|
||||||
QString output = getCmdOutput(QString("%1 list").arg(cmdNetctlAuto));
|
QString output = getCmdOutput(QString("%1 list").arg(cmdNetctlAuto)).trimmed();
|
||||||
if (output.isEmpty()) {
|
if (output.isEmpty()) {
|
||||||
output = getCmdOutput(QString("%1 list").arg(cmdNetctl));
|
output = getCmdOutput(QString("%1 list").arg(cmdNetctl)).trimmed();
|
||||||
netctlAutoStatus = false;
|
netctlAutoStatus = false;
|
||||||
}
|
}
|
||||||
qDebug() << output;
|
|
||||||
|
|
||||||
// parse
|
// parse
|
||||||
QStringList currentProfiles;
|
QStringList currentProfiles;
|
||||||
QStringList profileList = output.split(QChar('\n'), QString::SkipEmptyParts);
|
QStringList profileList = output.split(QChar('\n'));
|
||||||
for (int i=0; i<profileList.count(); i++) {
|
for (int i=0; i<profileList.count(); i++) {
|
||||||
if (profileList[i][0] != QChar('*')) continue;
|
if (profileList[i][0] != QChar('*')) continue;
|
||||||
currentProfiles.append(profileList[i]);
|
currentProfiles.append(profileList[i]);
|
||||||
|
22
sources/plasmoid-kf5/package/metadata.desktop
Normal file
22
sources/plasmoid-kf5/package/metadata.desktop
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Encoding=UTF-8
|
||||||
|
Name=Netctl
|
||||||
|
Comment=Plasmoid for netctl
|
||||||
|
Type=Service
|
||||||
|
Icon=netctl-gui-widget
|
||||||
|
|
||||||
|
X-KDE-ServiceTypes=Plasma/Applet
|
||||||
|
X-Plasma-API=declarativeappletscript
|
||||||
|
X-Plasma-MainScript=ui/main.qml
|
||||||
|
X-Plasma-NotificationArea=true
|
||||||
|
X-Plasma-RemoteLocation=
|
||||||
|
|
||||||
|
X-KDE-PluginInfo-Author=Evgeniy Alekseev
|
||||||
|
X-KDE-PluginInfo-Email=esalexeev@gmail.com
|
||||||
|
X-KDE-PluginInfo-Name=org.kde.plasma.netctl
|
||||||
|
X-KDE-PluginInfo-Version=1.4.3
|
||||||
|
X-KDE-PluginInfo-Website=http://arcanis.name/projects/netctl-gui
|
||||||
|
X-KDE-PluginInfo-Category=Network
|
||||||
|
X-KDE-PluginInfo-Depends=
|
||||||
|
X-KDE-PluginInfo-License=GPLv3
|
||||||
|
X-KDE-PluginInfo-EnabledByDefault=true
|
Loading…
Reference in New Issue
Block a user