app-mobilephone/qtadb: treeclean

Closes: https://bugs.gentoo.org/947631 (pkgremoved)
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner 2025-03-26 20:12:24 +01:00
parent 373bb4fa8f
commit c190fcef3c
No known key found for this signature in database
GPG Key ID: AE591BBC73E4DD5E
6 changed files with 0 additions and 195 deletions

View File

@ -1 +0,0 @@
DIST qtadb-0.8.1.zip 1104845 BLAKE2B f6f7c08b07c2e59d79e9807850f3ccdedbbc1aff2b94556de748aadc7c26ff8f8bc41275e44e4b4f8249bc1806803c5fea27426d5f895959d546610c0ae07245 SHA512 b407198edd6267ef70e5e2e3b8a094c7b9d9a0bc49dce7e60787e76a1da6e752dd92d7ddbf62a133c44b79118365820b0e710c862c15c9b79f2d7ddf3bc13fd7

View File

@ -1,14 +0,0 @@
--- a/widgets/filewidget.cpp 2014-11-22 12:44:42.000000000 +0100
+++ b/widgets/filewidget.cpp 2018-03-17 22:52:25.103930971 +0100
@@ -21,9 +21,10 @@
#include "filewidget.h"
#include "ui_filewidget.h"
-#include <QStandardPaths>
+#include <QHeaderView>
#include <QMenu>
#include <QScrollBar>
+#include <QStandardPaths>
quint32 qbytearrayToInt32(QByteArray array)
{

View File

@ -1,100 +0,0 @@
--- a/QtADB.pro 2018-03-17 12:44:50.933918102 -0400
+++ b/QtADB.pro 2018-03-17 12:46:04.896502772 -0400
@@ -14,11 +14,13 @@
# limitations under the License.
#
# @author Jakub Motyczko
# -------------------------------------------------
QT += network
-QT += declarative
+QT += widgets
+QT += qml
+QT += quick
TARGET = QtADB
TEMPLATE = app
SOURCES += main.cpp \
./dialogs/mainwindow.cpp \
--- a/widgets/messagewidget.h 2018-03-17 12:48:28.691864775 -0400
+++ b/widgets/messagewidget.h 2018-03-17 12:49:55.190870634 -0400
@@ -21,12 +21,13 @@
#ifndef MESSAGEWIDGET_H
#define MESSAGEWIDGET_H
#include <QtGui>
#include <QtNetwork>
+#include <QtWidgets>
+#include <QQmlContext>
+#include <QQuickView>
-#include <QDeclarativeView>
-#include <QDeclarativeContext>
#include "../classes/models/messagethreadmodel.h"
#include "../classes/models/contactmodel.h"
@@ -46,12 +49,12 @@
protected:
void changeEvent(QEvent *e);
private:
Ui::MessageWidget *ui;
- QDeclarativeView *qmlView;
- QDeclarativeContext *qmlViewCtx;
+ QQuickView *qmlView;
+ QQmlContext *qmlViewCtx;
MessageModel messageModel;
MessageThreadModel messageThreadModel;
ContactModel contactModel;
QSortFilterProxyModel sortModel;
--- a/widgets/appwidget.h 2018-03-17 12:58:56.731870593 -0400
+++ b/widgets/appwidget.h 2018-03-17 13:03:39.366822784 -0400
@@ -20,10 +20,11 @@
#ifndef APPWIDGET_H
#define APPWIDGET_H
#include <QtGui>
+#include <QtWidgets>
#include "../classes/phone.h"
#include "../classes/computer.h"
#include "../dialogs/appinfo.h"
#include "../dialogs/appdialog.h"
--- a/widgets/messagewidget.cpp 2018-03-17 16:34:54.003310530 -0400
+++ b/widgets/messagewidget.cpp 2018-03-17 16:34:14.545124690 -0400
@@ -51,11 +51,11 @@
this->sortContactModel.setSortRole(ContactModel::NameRole);
this->sortContactModel.sort(0, Qt::AscendingOrder);
this->messageCount=0;
- this->qmlView = new QDeclarativeView;
+ this->qmlView = new QQuickView;
this->qmlViewCtx = this->qmlView->rootContext();
if (QFile::exists("qml/messageView.qml"))
this->qmlView->setSource(QUrl::fromLocalFile("qml/messageView.qml"));
else
//this->qmlView->setSource(QUrl::fromLocalFile("../messages/qml/messageView.qml"));
@@ -63,15 +63,17 @@
this->qmlViewCtx->setContextProperty("threadModel", &sortThreadModel);
this->qmlViewCtx->setContextProperty("contactModel", &sortContactModel);
this->qmlViewCtx->setContextProperty("messageModel", &sortModel);
this->qmlViewCtx->setContextProperty("myNickname", "Me");
this->qmlViewCtx->setContextProperty("contactDefault", "qrc:/icons/contactDefault.png");
- qmlView->setResizeMode(QDeclarativeView::SizeRootObjectToView);
-
+ qmlView->setResizeMode(QQuickView::SizeRootObjectToView);
+
this->qmlViewCtx->setContextProperty("messageWidget", this);
+ QWidget *container = QWidget::createWindowContainer(qmlView, this);
+ container->setFocusPolicy(Qt::TabFocus);
- ui->layoutMessages->addWidget(this->qmlView,1,1);
+ ui->layoutMessages->addWidget(container);
//QSettings settings;
//this->sdk = settings.value("sdkPath").toString();
this->tcpServer.listen(QHostAddress::Any,4445);

View File

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<upstream>
<remote-id type="bitbucket">michalmotyczko/qtadb</remote-id>
</upstream>
</pkgmetadata>

View File

@ -1,66 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
COMMIT=ccbb0c86c9eb
inherit desktop qmake-utils readme.gentoo-r1
DESCRIPTION="Android phone manager via ADB"
HOMEPAGE="https://qtadb.wordpress.com"
SRC_URI="https://bitbucket.org/michalmotyczko/${PN}/get/${COMMIT}.zip -> ${P}.zip"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="
dev-qt/qtcore:5
dev-qt/qtdeclarative:5
dev-qt/qtgui:5
dev-qt/qtnetwork:5
dev-qt/qtwidgets:5
"
DEPEND="${RDEPEND}
app-arch/unzip
"
PATCHES=(
"${FILESDIR}"/${P}-qt5.patch
"${FILESDIR}"/${P}-qt5-5.11.patch
)
S="${WORKDIR}/michalmotyczko-${PN}-${COMMIT}"
src_configure() {
eqmake5
}
src_install() {
newicon images/android.png ${PN}.png
make_desktop_entry QtADB QtADB ${PN} \
"Qt;PDA;Utility;" || ewarn "Desktop entry creation failed"
dobin QtADB
local DOC_CONTENTS="
You will need a working Android SDK installation (adb and aapt executables)
You can install Android SDK a) through portage (emerge android-sdk-update-manager
and run android to download the actual sdk), b) manually from
http://developer.android.com/sdk/index.html or c) just grab the adb, aapt linux
binaries from http://qtadb.wordpress.com/download/
adb and aapt executables are in the platform-tools subdir of Android SDK. You
must run QtADB from this directory as a user able to write a log file in this
directory.
Also you will need to have ROOT access to your phone along with busybox
The latter can be found in the Android market
Last, if you want to use the SMS manager of QtADB, you have to install
QtADB.apk to your device, available here: http://qtadb.wordpress.com/download/
If you have trouble getting your phone connected through usb (driver problem),
try adbWireless from Android market to get connected through WiFi
"
readme.gentoo_create_doc
}

View File

@ -315,12 +315,6 @@ virtual/perl-Time-Piece
# Removal on 2025-03-26.
media-sound/jamin
# Andreas Sturmlechner <asturm@gentoo.org> (2025-02-26)
# Last release 11 years ago, dead upstream, depends on Qt5 (and even that
# only by means of downstream patching, no one else packages this.
# Bug #947631. Removal on 2025-03-26.
app-mobilephone/qtadb
# Eray Aslan <eras@gentoo.org> (2025-02-24)
# Mask experimental software
=mail-mta/postfix-3.11*