From 934f9d9dc028da1122d45f4c36d63e7cd03e5dc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Thu, 8 Oct 2015 12:31:55 +0200 Subject: [PATCH] New package: actiona-3.9.0 Closes #1778 --- srcpkgs/actiona/files/actiona.desktop | 14 +++ .../actiona/patches/fix-progress_dlg.patch | 20 +++++ srcpkgs/actiona/patches/fix-qt5.5.0.patch | 90 +++++++++++++++++++ srcpkgs/actiona/patches/no-updater.patch | 9 ++ srcpkgs/actiona/template | 20 +++++ 5 files changed, 153 insertions(+) create mode 100644 srcpkgs/actiona/files/actiona.desktop create mode 100644 srcpkgs/actiona/patches/fix-progress_dlg.patch create mode 100644 srcpkgs/actiona/patches/fix-qt5.5.0.patch create mode 100644 srcpkgs/actiona/patches/no-updater.patch create mode 100644 srcpkgs/actiona/template diff --git a/srcpkgs/actiona/files/actiona.desktop b/srcpkgs/actiona/files/actiona.desktop new file mode 100644 index 0000000000..775705c235 --- /dev/null +++ b/srcpkgs/actiona/files/actiona.desktop @@ -0,0 +1,14 @@ +[Desktop Entry] +Name=Actiona +GenericName=Automation Tool +GenericName[fr]=Outil d'automatisation +Comment=Automate tasks +Comment[fr]=Automatise des tâches +Exec=actiona %f +Terminal=false +Icon=actiona +Type=Application +Categories=Utility; +Version=1.0 +MimeType=application/actiona-script;application/actiona-code;application/actionaz-script;application/actionaz-code; +Keywords=automate;bot;macro;script;action;asrc;acod; diff --git a/srcpkgs/actiona/patches/fix-progress_dlg.patch b/srcpkgs/actiona/patches/fix-progress_dlg.patch new file mode 100644 index 0000000000..e77d675725 --- /dev/null +++ b/srcpkgs/actiona/patches/fix-progress_dlg.patch @@ -0,0 +1,20 @@ +--- gui/mainwindow.cpp ++++ gui/mainwindow.cpp +@@ -128,11 +128,16 @@ MainWindow::MainWindow(QxtCommandOptions *commandOptions, ProgressSplashScreen * + + ui->setupUi(this); + ++ mScriptProgressDialog->close(); + mScriptProgressDialog->setWindowModality(Qt::ApplicationModal); + mScriptProgressDialog->setCancelButton(0); + mScriptProgressDialog->setAutoClose(false); + mScriptProgressDialog->setMinimumDuration(0); + ++#ifndef ACT_NO_UPDATER ++ mUpdaterProgressDialog->close(); ++#endif ++ + if(Global::ACTIONA_VERSION >= Tools::Version(1, 0, 0)) + ui->reportBugPushButton->setVisible(false); + + diff --git a/srcpkgs/actiona/patches/fix-qt5.5.0.patch b/srcpkgs/actiona/patches/fix-qt5.5.0.patch new file mode 100644 index 0000000000..56474a3ede --- /dev/null +++ b/srcpkgs/actiona/patches/fix-qt5.5.0.patch @@ -0,0 +1,90 @@ +--- actiontools/version.cpp 2015-06-22 17:22:46.000000000 +0200 ++++ actiontools/version.cpp 2015-10-08 11:03:52.104274402 +0200 +@@ -20,6 +20,7 @@ + + #include "version.h" + ++#include + #include + #include + +--- tools/version.cpp 2015-06-22 17:22:46.000000000 +0200 ++++ tools/version.cpp 2015-10-08 11:10:09.000244997 +0200 +@@ -20,6 +20,7 @@ + + #include "version.h" + ++#include + #include + #include + +--- actiontools/qtsingleapplication/qtlocalpeer.h 2015-06-22 17:22:46.000000000 +0200 ++++ actiontools/qtsingleapplication/qtlocalpeer.h 2015-10-08 11:27:48.169162361 +0200 +@@ -48,6 +48,7 @@ + #include + #include + #include ++#include + + namespace QtLP_Private { + #include "qtlockedfile.h" +--- actiontools/datacopyactioninstance.h 2015-06-22 17:22:46.000000000 +0200 ++++ actiontools/datacopyactioninstance.h 2015-10-08 11:30:36.177149253 +0200 +@@ -24,6 +24,7 @@ + #include "actiontools_global.h" + #include "actioninstance.h" + ++#include + #include + + namespace ActionTools +--- actiontools/parameter.h 2015-06-22 17:22:46.000000000 +0200 ++++ actiontools/parameter.h 2015-10-08 11:37:16.880117991 +0200 +@@ -24,6 +24,7 @@ + #include "subparameter.h" + #include "actiontools_global.h" + ++#include + #include + + namespace ActionTools +--- actiontools/actionexception.cpp 2015-06-22 17:22:46.000000000 +0200 ++++ actiontools/actionexception.cpp 2015-10-08 11:40:59.383100631 +0200 +@@ -21,6 +21,7 @@ + #include "actionexception.h" + + #include ++#include + + namespace ActionTools + { +--- actiontools/subparameter.h 2015-06-22 17:22:46.000000000 +0200 ++++ actiontools/subparameter.h 2015-10-08 11:43:23.632089377 +0200 +@@ -23,6 +23,7 @@ + + #include "actiontools_global.h" + ++#include + #include + #include + +--- actiontools/qxtsmtp/qxtmailattachment.h 2015-06-22 17:22:46.000000000 +0200 ++++ actiontools/qxtsmtp/qxtmailattachment.h 2015-10-08 11:21:06.874193670 +0200 +@@ -28,6 +28,7 @@ + + #include "qxtglobal.h" + ++#include + #include + #include + #include +--- actiontools/numberformat.h 2015-06-22 17:22:46.000000000 +0200 ++++ actiontools/numberformat.h 2015-10-08 11:33:13.130137008 +0200 +@@ -24,6 +24,7 @@ + #include "actiontools_global.h" + + #include ++#include + + namespace ActionTools + { diff --git a/srcpkgs/actiona/patches/no-updater.patch b/srcpkgs/actiona/patches/no-updater.patch new file mode 100644 index 0000000000..6cb9a69565 --- /dev/null +++ b/srcpkgs/actiona/patches/no-updater.patch @@ -0,0 +1,9 @@ +--- actiona.pro 2015-06-22 17:22:46.000000000 +0200 ++++ actiona.pro 2015-10-08 12:08:09.582973444 +0200 +@@ -1,5 +1,6 @@ + TEMPLATE = subdirs + CONFIG = ordered ++DEFINES = ACT_NO_UPDATER + + unix:!mac { + !system(pkg-config --exists 'x11') { diff --git a/srcpkgs/actiona/template b/srcpkgs/actiona/template new file mode 100644 index 0000000000..afc158f46c --- /dev/null +++ b/srcpkgs/actiona/template @@ -0,0 +1,20 @@ +# Template file for 'actiona' +pkgname=actiona +version=3.9.0 +revision=1 +build_style=qmake +hostmakedepends="pkg-config qt5-qmake qt5-plugin-mysql" +makedepends="libopencv-devel libnotify-devel boost-devel qt5-devel qt5-multimedia-devel + qt5-script-devel qt5-tools-devel qt5-x11extras-devel qt5-xmlpatterns-devel libXtst-devel" +depends="qt5-plugin-mysql" +short_desc="Cross platform automation tool" +maintainer="Jürgen Buchmüller " +license="GPL-3" +homepage="https://actiona.tools/" +distfiles="https://github.com/Jmgr/${pkgname}/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz" +checksum=b41859018b6b20083aa53a352f4aa7c00e36a9913e280242ffe099a497c3f698 + +post_install() { + vmkdir usr/share/applications + vinstall ${FILESDIR}/actiona.desktop 644 usr/share/applications +}