Skip to content

Commit

Permalink
release 1.4.4
Browse files Browse the repository at this point in the history
Fix minfo
  • Loading branch information
arcan1s committed Apr 29, 2015
1 parent d541d0a commit f665a46
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 9 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Ver.1.4.4
---------
* dataengine
- fix profile status definition

Ver.1.4.3
---------
* all
Expand Down
4 changes: 2 additions & 2 deletions arch/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
pkgbase=netctl-gui
pkgname=('libnetctlgui' 'netctlgui-helper' 'netctl-gui'
'plasma5-applet-netctl-gui')
pkgver=1.4.3
pkgver=1.4.4
pkgrel=1
pkgdesc="Qt4/Qt5 GUI for netctl. Also provides a widget for KDE"
arch=('i686' 'x86_64')
url="http://arcanis.name/projects/netctl-gui"
license=('GPL3')
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")
md5sums=('65a62753c03e2996a05d930c0ec2d460')
md5sums=('ea5eb54bf0ad29f392c8fe6e5ea2585e')

prepare() {
rm -rf "${srcdir}/build-"{plasmoid,qt5}
Expand Down
4 changes: 2 additions & 2 deletions arch/PKGBUILD-qt4
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ pkgbase=netctl-gui-qt4
_pkgbase=netctl-gui
pkgname=('libnetctlgui-qt4' 'netctlgui-helper-qt4' 'netctl-gui-qt4'
'kdeplasma-applets-netctl-gui')
pkgver=1.4.3
pkgver=1.4.4
pkgrel=1
pkgdesc="Qt4 GUI for netctl. Also provides a widget for KDE4"
arch=('i686' 'x86_64')
url="http://arcanis.name/projects/netctl-gui"
license=('GPL3')
makedepends=('automoc4' 'cmake' 'kdelibs')
source=("https://github.com/arcan1s/netctl-gui/releases/download/V.${pkgver}/${_pkgbase}-${pkgver}-src.tar.xz")
md5sums=('65a62753c03e2996a05d930c0ec2d460')
md5sums=('ea5eb54bf0ad29f392c8fe6e5ea2585e')


prepare() {
Expand Down
2 changes: 1 addition & 1 deletion sources/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ set (PROJECT_CONTACT "[email protected]")
set (PROJECT_LICENSE "GPLv3")
set (PROJECT_VERSION_MAJOR 1)
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})
string (TIMESTAMP CURRENT_DATE "%Y-%m-%d %H:%M" UTC)
string (TIMESTAMP CURRENT_YEAR "%Y")
Expand Down
7 changes: 3 additions & 4 deletions sources/dataengine/netctl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -198,16 +198,15 @@ QStringList Netctl::getProfileList(const QString cmdNetctl, const QString cmdNet
if (debug) qDebug() << PDEBUG;

netctlAutoStatus = true;
QString output = getCmdOutput(QString("%1 list").arg(cmdNetctlAuto));
QString output = getCmdOutput(QString("%1 list").arg(cmdNetctlAuto)).trimmed();
if (output.isEmpty()) {
output = getCmdOutput(QString("%1 list").arg(cmdNetctl));
output = getCmdOutput(QString("%1 list").arg(cmdNetctl)).trimmed();
netctlAutoStatus = false;
}
qDebug() << output;

// parse
QStringList currentProfiles;
QStringList profileList = output.split(QChar('\n'), QString::SkipEmptyParts);
QStringList profileList = output.split(QChar('\n'));
for (int i=0; i<profileList.count(); i++) {
if (profileList[i][0] != QChar('*')) continue;
currentProfiles.append(profileList[i]);
Expand Down
22 changes: 22 additions & 0 deletions sources/plasmoid-kf5/package/metadata.desktop
Original file line number Diff line number Diff line change
@@ -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[email protected]
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

0 comments on commit f665a46

Please sign in to comment.