* [gentoo-commits] repo/gentoo:master commit in: media-sound/qtscrobbler/, profiles/, media-sound/qtscrobbler/files/
@ 2025-03-30 19:26 Andreas Sturmlechner
  0 siblings, 0 replies; only message in thread
From: Andreas Sturmlechner @ 2025-03-30 19:26 UTC (permalink / raw
  To: gentoo-commits
commit:     3e8cb1c893e0ed1c009294ee84da398458068dca
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 30 19:22:20 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Mar 30 19:22:20 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e8cb1c8
media-sound/qtscrobbler: treeclean
Closes: https://bugs.gentoo.org/947621
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
 media-sound/qtscrobbler/Manifest                   |   1 -
 .../qtscrobbler-0.11_pre20130123-qt5.11.patch      |  24 ---
 .../files/qtscrobbler-0.11_pre20130123-qt5.patch   | 194 ---------------------
 media-sound/qtscrobbler/metadata.xml               |  11 --
 .../qtscrobbler-0.11_pre20130123.ebuild            |  66 -------
 profiles/package.mask                              |   6 -
 6 files changed, 302 deletions(-)
diff --git a/media-sound/qtscrobbler/Manifest b/media-sound/qtscrobbler/Manifest
deleted file mode 100644
index 282a1a2e8611..000000000000
--- a/media-sound/qtscrobbler/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST qtscrobbler-0.11_pre20130123.zip 298519 BLAKE2B 36d3c3fdf59aa7fd9127c0200b03a6427f6fa27cb40e144f10041a25ba977e40fc5f63547596cf93f797d94e741a4a159c5e1aa48f8742d7738d1c113b22aae8 SHA512 24de4a45d4b31fb3c544b963b97b8716b8472a0dfde1bd2fd6bf101785f22ef07ff34fcd9ce7028fe231b215538bb8e4c3248c234feb870a3adeb4c0b259d646
diff --git a/media-sound/qtscrobbler/files/qtscrobbler-0.11_pre20130123-qt5.11.patch b/media-sound/qtscrobbler/files/qtscrobbler-0.11_pre20130123-qt5.11.patch
deleted file mode 100644
index 33781a4ee82f..000000000000
--- a/media-sound/qtscrobbler/files/qtscrobbler-0.11_pre20130123-qt5.11.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From 11d70c80a634aaf1606a435688dddbc3db36b7ff Mon Sep 17 00:00:00 2001
-From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
-Date: Sat, 14 Jul 2018 15:35:25 +0200
-Subject: [PATCH] Fix build with Qt 5.11
-
----
- src/qt/src/qtscrob.cpp | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/src/qt/src/qtscrob.cpp b/src/qt/src/qtscrob.cpp
-index 5b7a561..c6084e3 100644
---- a/src/qt/src/qtscrob.cpp
-+++ b/src/qt/src/qtscrob.cpp
-@@ -17,6 +17,7 @@
-  *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.         *
-  ***************************************************************************/
- 
-+#include <QHeaderView>
- #include <QtGui>
- #include <QTime>
- #include "qtscrob.h"
--- 
-2.18.0
-
diff --git a/media-sound/qtscrobbler/files/qtscrobbler-0.11_pre20130123-qt5.patch b/media-sound/qtscrobbler/files/qtscrobbler-0.11_pre20130123-qt5.patch
deleted file mode 100644
index 910471aca6c0..000000000000
--- a/media-sound/qtscrobbler/files/qtscrobbler-0.11_pre20130123-qt5.patch
+++ /dev/null
@@ -1,194 +0,0 @@
-Origin: other, https://sourceforge.net/p/qtscrob/patches/15/
-Bug: https://sourceforge.net/p/qtscrob/patches/15/
-Bug-Debian: https://bugs.debian.org/875156
-Description: Port to Qt5
-
---- a/src/lib/gettrackinfo.cpp
-+++ b/src/lib/gettrackinfo.cpp
-@@ -58,7 +58,7 @@
-     data += "&track=" + QUrl::toPercentEncoding(track_info.title);
-     data += "&autocorrect=1";
-     time.restart();
--    manager->post(request, QByteArray(data.toAscii()));
-+    manager->post(request, QByteArray(data.toLatin1()));
- }
- 
- void GetTrackInfo::run()
---- a/src/lib/lib.pro
-+++ b/src/lib/lib.pro
-@@ -13,7 +13,8 @@
- QT += core \
-     network \
-     xml \
--    sql
-+    sql \
-+    widgets
- 
- QT -= gui
- LANGUAGE = C++
---- a/src/lib/parse-log.cpp
-+++ b/src/lib/parse-log.cpp
-@@ -153,9 +153,9 @@
-                 //right number of tabs in the line
-                 scrob_entry temp_entry;
- 
--                temp_entry.artist = QString::fromUtf8(log_entry[0].toAscii());
--                temp_entry.album = QString::fromUtf8(log_entry[1].toAscii());
--                temp_entry.title = QString::fromUtf8(log_entry[2].toAscii());
-+                temp_entry.artist = QString::fromUtf8(log_entry[0].toLatin1());
-+                temp_entry.album = QString::fromUtf8(log_entry[1].toLatin1());
-+                temp_entry.title = QString::fromUtf8(log_entry[2].toLatin1());
-                 temp_entry.tracknum = log_entry[3].toInt();
-                 temp_entry.length = log_entry[4].toInt();
-                 temp_entry.played = log_entry[5][0];
---- a/src/lib/submit.cpp
-+++ b/src/lib/submit.cpp
-@@ -151,7 +151,7 @@
-     submit_handshake.setHeader(QNetworkRequest::ContentTypeHeader,
-                                "application/x-www-form-urlencoded");
- 
--    QByteArray submit_data = QByteArray(data.toAscii());
-+    QByteArray submit_data = QByteArray(data.toLatin1());
-     nr_submit = nam_submit->post(submit_handshake, submit_data);
- }
- 
-@@ -251,7 +251,7 @@
-     QString time_str = QString::number(QDateTime::currentDateTime().toTime_t());
- 
-     QCryptographicHash auth_hash(QCryptographicHash::Md5);
--    auth_hash.addData(QString(context.password_hash + time_str).toAscii());
-+    auth_hash.addData(QString(context.password_hash + time_str).toLatin1());
-     QString auth = QString(auth_hash.result().toHex());
- 
-     QUrl url_handshake = QString( "http://%1/?hs=true&p=%2&c=%3&v=%4&u=%5&t=%6&a=%7" )
---- a/src/lib/submit.h
-+++ b/src/lib/submit.h
-@@ -20,7 +20,6 @@
- #define SUBMIT_H
- 
- #include <QtCore>
--#include <QHttp>
- #include <QNetworkAccessManager>
- #include <QNetworkProxy>
- #include <QNetworkReply>
---- a/src/qt/qt.pro
-+++ b/src/qt/qt.pro
-@@ -34,6 +34,7 @@
- TEMPLATE = app
- TARGET = qtscrob
- QT += gui
-+QT += widgets
- LANGUAGE = C++
- INCLUDEPATH += . \
-     src \
---- a/src/qt/src/about.h
-+++ b/src/qt/src/about.h
-@@ -22,6 +22,7 @@
- #include "ui_aboutWin.h"
- #include <QApplication>
- #include <QtGui>
-+#include <QLabel>
- 
- class QTScrob;
- 
---- a/src/qt/src/console.h
-+++ b/src/qt/src/console.h
-@@ -22,6 +22,11 @@
- #include <QTimer>
- #include <QApplication>
- #include <QtGui>
-+#include <QLabel> 
-+#include <QTextEdit>
-+#include <QDialog>
-+#include <QComboBox>
-+#include <QPushButton>
- 
- class QTScrob;
- class QTimer;
---- a/src/qt/src/help.h
-+++ b/src/qt/src/help.h
-@@ -21,6 +21,9 @@
- 
- #include <QApplication>
- #include <QtGui>
-+#include <QLabel> 
-+#include <QDialog>
-+#include <QTextEdit>
- 
- class QTScrob;
- 
---- a/src/qt/src/progress.h
-+++ b/src/qt/src/progress.h
-@@ -21,6 +21,13 @@
- 
- #include <QApplication>
- #include <QtGui>
-+#include <QLabel>
-+#include <QWidget>
-+#include <QProgressBar>
-+#include <QDialog>
-+#include <QFormLayout>
-+#include <QVBoxLayout>
-+#include <QPushButton>
- 
- class QTScrob;
- 
---- a/src/qt/src/qtscrob.cpp
-+++ b/src/qt/src/qtscrob.cpp
-@@ -41,7 +41,7 @@
- 	logTable->setHorizontalHeaderLabels(tableLabels);
- 	logTable->setAlternatingRowColors(true);
- 	logTable->setSelectionBehavior(QAbstractItemView::SelectRows);
--	logTable->horizontalHeader()->setResizeMode(QHeaderView::Stretch);
-+	logTable->horizontalHeader()->setSectionResizeMode(QHeaderView::Stretch);
-     logTable->installEventFilter(this);
- 
-     recalc_timestamp = scrob->get_gmt();
-@@ -600,7 +600,7 @@
- 		case 5:
- 			if (!logTable->item(r, c)->text().isEmpty())
- 			{
--				char rating = logTable->item(r, c)->text().toAscii().data()[0];
-+				char rating = logTable->item(r, c)->text().toLatin1().data()[0];
- 				if ('L' == rating || 'S' == rating)
- 					tmp.played = rating;
- 			}
---- a/src/qt/src/qtscrob.h
-+++ b/src/qt/src/qtscrob.h
-@@ -23,12 +23,20 @@
- #include <QtGui>
- #include <QApplication>
- #include <QMainWindow>
-+#include <QTableWidget>
-+#include <QMenu>
-+#include <QMenuBar>
-+#include <QStatusBar>
-+#include <QFile>
-+#include <QFileDialog>
-+#include <QTextEdit>
- #include <QMessageBox>
- #include <QByteArray>
- #include <QtDebug>
- #include <QSettings>
- #include <QDateTimeEdit>
- #include <QLabel>
-+#include <QWidget>
- #include "libscrobble.h"
- #include "common.h"
- #include "missingtimeprogress.h"
---- a/src/qtscrob.pro
-+++ b/src/qtscrob.pro
-@@ -1,4 +1,4 @@
--VER = $$find(QT_VERSION, ^4\\.[6-9]+.*)
-+VER = $$find(QT_VERSION, ^4\\.[6-9]+.*|^5)
- isEmpty(VER) {
-     message("Qt >= 4.6 required!")
-     !isEmpty(QT_VERSION) error("Qt found:" $$[QT_VERSION])
-@@ -17,6 +17,7 @@
- system($$QMAKE_LUPDATE -silent language/language.pro)
- system($$QMAKE_LRELEASE -silent language/language.pro)
- 
-+QT += widgets
- TEMPLATE=subdirs
- SUBDIRS=lib qt cli
- CONFIG += ordered
diff --git a/media-sound/qtscrobbler/metadata.xml b/media-sound/qtscrobbler/metadata.xml
deleted file mode 100644
index 3f08f4b22c06..000000000000
--- a/media-sound/qtscrobbler/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-  <maintainer type="project">
-    <email>sound@gentoo.org</email>
-    <name>Gentoo Sound project</name>
-  </maintainer>
-  <upstream>
-    <remote-id type="sourceforge">qtscrob</remote-id>
-  </upstream>
-</pkgmetadata>
diff --git a/media-sound/qtscrobbler/qtscrobbler-0.11_pre20130123.ebuild b/media-sound/qtscrobbler/qtscrobbler-0.11_pre20130123.ebuild
deleted file mode 100644
index e599a6fea17d..000000000000
--- a/media-sound/qtscrobbler/qtscrobbler-0.11_pre20130123.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-COMMIT=33ed278b9b543554fd6a556fd391eb4c78faab07
-MY_PN=qtscrob
-MY_P=${MY_PN}-${PV}
-inherit desktop qmake-utils xdg-utils
-
-DESCRIPTION="Updates last.fm profiles using information from supported portable music players"
-HOMEPAGE="http://qtscrob.sourceforge.net/"
-SRC_URI="https://sourceforge.net/code-snapshots/git/q/qt/${MY_PN}/code.git/${MY_PN}-code-${COMMIT}.zip -> ${P}.zip"
-S="${WORKDIR}/${MY_PN}-code-${COMMIT}"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-BDEPEND="
-	app-arch/unzip
-	dev-qt/linguist-tools:5
-	virtual/pkgconfig
-"
-RDEPEND="
-	dev-qt/qtcore:5
-	dev-qt/qtgui:5
-	dev-qt/qtnetwork:5
-	dev-qt/qtsql:5
-	dev-qt/qtwidgets:5
-	media-libs/libmtp:=
-	net-misc/curl"
-DEPEND="${RDEPEND}"
-
-PATCHES=(
-	"${FILESDIR}"/${P}-qt5.patch
-	"${FILESDIR}"/${P}-qt5.11.patch
-)
-
-src_configure() {
-	pushd src >/dev/null
-	eqmake5 ${MY_PN}.pro
-	popd >/dev/null
-}
-
-src_compile() {
-	emake -C src
-}
-
-src_install() {
-	newbin src/cli/scrobbler qtscrobbler-cli
-
-	newbin src/qt/qtscrob qtscrobbler
-	newicon src/qt/resources/icons/256x256/qtscrob.png qtscrobbler.png
-	make_desktop_entry qtscrobbler QtScrobbler
-
-	einstalldocs
-}
-
-pkg_postinst() {
-	xdg_icon_cache_update
-}
-
-pkg_postrm() {
-	xdg_icon_cache_update
-}
diff --git a/profiles/package.mask b/profiles/package.mask
index 4fe352ac0044..f7e63caea6a5 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -265,12 +265,6 @@ dev-vcs/notify-webhook
 # Removal on 2025-03-31.
 sci-biology/clustalx
 
-# Andreas Sturmlechner <asturm@gentoo.org> (2025-03-01)
-# Last release 12 years ago, dead upstream, depends on Qt5 (and even that
-# only by means of downstream patching), likely broken by now if going by
-# various upstream reports. Bug #947621. Removal on 2025-03-31.
-media-sound/qtscrobbler
-
 # Andreas K. Hüttel <dilfridge@gentoo.org> (2025-02-27)
 # We have collected a lot of barely used Perl virtuals over time
 # (they effectively only make sense with version dependencies).
^ permalink raw reply related	[flat|nested] only message in thread
only message in thread, other threads:[~2025-03-30 19:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-30 19:26 [gentoo-commits] repo/gentoo:master commit in: media-sound/qtscrobbler/, profiles/, media-sound/qtscrobbler/files/ Andreas Sturmlechner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox