KDE Release Gear 24.08.2

OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/k3b?expand=0&rev=265
This commit is contained in:
Christophe Marin 2024-10-10 20:12:35 +00:00 committed by Git OBS Bridge
commit 426940b3f0
15 changed files with 2514 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,256 @@
From 45609f881bd8cd8cfd0a1c53b04192bab8969c5d Mon Sep 17 00:00:00 2001
From: Luca Beltrame <lbeltrame@kde.org>
Date: Mon, 3 Jun 2019 22:31:35 +0200
Subject: [PATCH] Revert "Enable the k3b helper by default"
This reverts commit cb4985b00dc2d1a1e27850dcd672093426aafd8b.
---
CMakeLists.txt | 2 ++
INSTALL.txt | 2 ++
config-k3b.h.cmake | 2 ++
src/CMakeLists.txt | 4 +++-
src/option/k3bdevicewidget.cpp | 12 ++++++++++++
src/option/k3bexternalbinpermissionmodel.cpp | 2 ++
src/option/k3bexternalbinwidget.cpp | 17 +++++++++++++++++
src/option/k3bexternalbinwidget.h | 2 ++
8 files changed, 42 insertions(+), 1 deletion(-)
Index: k3b-%{_kapp6_version}git.20240423T012727~d1088c4/CMakeLists.txt
===================================================================
--- k3b-%{_kapp6_version}git.20240423T012727~d1088c4.orig/CMakeLists.txt
+++ k3b-%{_kapp6_version}git.20240423T012727~d1088c4/CMakeLists.txt
@@ -36,6 +36,7 @@ option(K3B_ENABLE_MUSICBRAINZ "Support f
option(K3B_ENABLE_DVD_RIPPING "Support for ripping Video DVDs with optional decryption." ON)
option(K3B_ENABLE_TAGLIB "Support for reading audio file metadata using Taglib." ON)
option(K3B_BUILD_API_DOCS "Build the API documentation for the K3b libs." OFF)
+option(K3B_ENABLE_PERMISSION_HELPER "Build the permissions helper program" OFF)
# plugin options
option(K3B_BUILD_FFMPEG_DECODER_PLUGIN "Build FFmpeg decoder plugin" ON)
@@ -272,6 +273,7 @@ set(BUILD_EXTERNAL_ENCODER_PLUGIN "${K3B
set(ENABLE_HAL_SUPPORT "${K3B_ENABLE_HAL_SUPPORT}")
set(ENABLE_AUDIO_PLAYER "${QT_QTMULTIMEDIA_FOUND}")
+set(ENABLE_PERMISSION_HELPER "${K3B_ENABLE_PERMISSION_HELPER}")
if(IS_ABSOLUTE ${KDE_INSTALL_DATADIR})
set(K3B_DATA_INSTALL_DIR ${KDE_INSTALL_DATADIR}/k3b)
Index: k3b-%{_kapp6_version}git.20240423T012727~d1088c4/INSTALL.txt
===================================================================
--- k3b-%{_kapp6_version}git.20240423T012727~d1088c4.orig/INSTALL.txt
+++ k3b-%{_kapp6_version}git.20240423T012727~d1088c4/INSTALL.txt
@@ -44,6 +44,7 @@ For debug:
-DKDE_INSTALL_LIBEXECDIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DK3B_BUILD_API_DOCS=ON \
+ -DK3B_ENABLE_PERMISSION_HELPER=ON \
-DK3B_DEBUG=ON
dynamic analyzer and fuzzer:
@@ -56,6 +57,7 @@ For debug:
-DKDE_INSTALL_LIBEXECDIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DK3B_BUILD_API_DOCS=ON \
+ -DK3B_ENABLE_PERMISSION_HELPER=ON \
-DK3B_DEBUG=ON
If the cmake run was successful you are presented with a list of configure results that shows
Index: k3b-%{_kapp6_version}git.20240423T012727~d1088c4/config-k3b.h.cmake
===================================================================
--- k3b-%{_kapp6_version}git.20240423T012727~d1088c4.orig/config-k3b.h.cmake
+++ k3b-%{_kapp6_version}git.20240423T012727~d1088c4/config-k3b.h.cmake
@@ -20,6 +20,8 @@
#cmakedefine ENABLE_AUDIO_PLAYER
+#cmakedefine ENABLE_PERMISSION_HELPER
+
#cmakedefine HAVE_BYTESWAP_H
#cmakedefine WORDS_BIGENDIAN
Index: k3b-%{_kapp6_version}git.20240423T012727~d1088c4/src/CMakeLists.txt
===================================================================
--- k3b-%{_kapp6_version}git.20240423T012727~d1088c4.orig/src/CMakeLists.txt
+++ k3b-%{_kapp6_version}git.20240423T012727~d1088c4/src/CMakeLists.txt
@@ -1,5 +1,7 @@
-add_subdirectory( helper )
+if(ENABLE_PERMISSION_HELPER)
+ add_subdirectory( helper )
+endif(ENABLE_PERMISSION_HELPER)
add_subdirectory( icons )
add_subdirectory( pics )
Index: k3b-%{_kapp6_version}git.20240423T012727~d1088c4/src/option/k3bdevicewidget.cpp
===================================================================
--- k3b-%{_kapp6_version}git.20240423T012727~d1088c4.orig/src/option/k3bdevicewidget.cpp
+++ k3b-%{_kapp6_version}git.20240423T012727~d1088c4/src/option/k3bdevicewidget.cpp
@@ -50,7 +50,9 @@ K3b::DeviceWidget::DeviceWidget( K3b::De
m_messageWidget = new KMessageWidget( this );
m_messageWidget->hide();
m_messageWidget->setWordWrap( true );
+#ifdef ENABLE_PERMISSION_HELPER
m_addToGroupAction = new QAction( QIcon::fromTheme("dialog-password"), QString(), this );
+#endif
// buttons
// ------------------------------------------------
@@ -87,7 +89,9 @@ K3b::DeviceWidget::DeviceWidget( K3b::De
// ------------------------------------------------
connect( buttonRefreshDevices, SIGNAL(clicked()), SIGNAL(refreshButtonClicked()) );
connect( m_deviceManager, SIGNAL(changed()), SLOT(init()) );
+#ifdef ENABLE_PERMISSION_HELPER
connect( m_addToGroupAction, SIGNAL(triggered(bool)), SLOT(addUserToGroup()) );
+#endif
// ------------------------------------------------
}
@@ -236,10 +240,16 @@ void K3b::DeviceWidget::updateDeviceList
if (!groupNames.contains(m_deviceGroup)) {
QString messageText = i18n("In order to give K3b full access to the writer device the current user needs be added to a group <em>%1</em>.", m_deviceGroup);
+#ifndef ENABLE_PERMISSION_HELPER
+ messageText += i18n("<br/>The Permission helper that could do this for you was not enabled during build.<br/>"
+ "Please rebuild the package with the Permission helper enabled or contact your distribution.");
+#endif
m_messageWidget->setMessageType(KMessageWidget::Warning);
m_messageWidget->setText(messageText);
+#ifdef ENABLE_PERMISSION_HELPER
m_messageWidget->addAction(m_addToGroupAction);
m_addToGroupAction->setText(i18n("Add"));
+#endif
m_messageWidget->animatedShow();
}
}
@@ -248,6 +258,7 @@ void K3b::DeviceWidget::updateDeviceList
void K3b::DeviceWidget::addUserToGroup()
{
+#ifdef ENABLE_PERMISSION_HELPER
QVariantMap args;
args["groupName"] = m_deviceGroup;
args["userName"] = QString::fromLocal8Bit(getpwuid(getuid())->pw_name);
@@ -271,6 +282,7 @@ void K3b::DeviceWidget::addUserToGroup()
}
} );
job->start();
+#endif
}
#include "moc_k3bdevicewidget.cpp"
Index: k3b-%{_kapp6_version}git.20240423T012727~d1088c4/src/option/k3bexternalbinpermissionmodel.cpp
===================================================================
--- k3b-%{_kapp6_version}git.20240423T012727~d1088c4.orig/src/option/k3bexternalbinpermissionmodel.cpp
+++ k3b-%{_kapp6_version}git.20240423T012727~d1088c4/src/option/k3bexternalbinpermissionmodel.cpp
@@ -341,6 +341,7 @@ QModelIndex ExternalBinPermissionModel::
void ExternalBinPermissionModel::setBurningGroup( const QString& burningGroup )
{
+#ifdef ENABLE_PERMISSION_HELPER
if( burningGroup != d->burningGroup ) {
beginResetModel();
d->burningGroup = burningGroup;
@@ -357,6 +358,7 @@ void ExternalBinPermissionModel::setBurn
}
endResetModel();
}
+#endif
}
void ExternalBinPermissionModel::update()
Index: k3b-%{_kapp6_version}git.20240423T012727~d1088c4/src/option/k3bexternalbinwidget.cpp
===================================================================
--- k3b-%{_kapp6_version}git.20240423T012727~d1088c4.orig/src/option/k3bexternalbinwidget.cpp
+++ k3b-%{_kapp6_version}git.20240423T012727~d1088c4/src/option/k3bexternalbinwidget.cpp
@@ -103,7 +103,12 @@ K3b::ExternalBinWidget::ExternalBinWidge
// setup permissions tab
// ------------------------------------------------------------
QWidget* permissionsTab = new QWidget( m_mainTabWidget );
+#ifdef ENABLE_PERMISSION_HELPER
QLabel* permissionsLabel = new QLabel( i18n("Check the programs whose permissions you want to be changed:"), permissionsTab );
+#else
+ QLabel* permissionsLabel = new QLabel( i18n("The Permissions helper was not enabled during build.\n"
+ "Check the programs whose permissions should be changed:"), permissionsTab );
+#endif
permissionsLabel->setWordWrap( true );
m_permissionModel = new ExternalBinPermissionModel( *manager, permissionsTab );
m_permissionView = new QTreeView( permissionsTab );
@@ -111,11 +116,15 @@ K3b::ExternalBinWidget::ExternalBinWidge
m_permissionView->setAllColumnsShowFocus( true );
m_permissionView->setRootIsDecorated( false );
m_permissionView->header()->setSectionResizeMode( ExternalBinPermissionModel::ProgramColumn, QHeaderView::ResizeToContents );
+#ifdef ENABLE_PERMISSION_HELPER
m_changePermissionsButton = new QPushButton( QIcon::fromTheme("dialog-password"), i18n( "Change Permissions..." ), this );
+#endif
QVBoxLayout* permissionsTabLayout = new QVBoxLayout( permissionsTab );
permissionsTabLayout->addWidget( permissionsLabel );
permissionsTabLayout->addWidget( m_permissionView );
+#ifdef ENABLE_PERMISSION_HELPER
permissionsTabLayout->addWidget( m_changePermissionsButton );
+#endif
m_mainTabWidget->addTab( permissionsTab, i18n("Permissions") );
@@ -134,13 +143,16 @@ K3b::ExternalBinWidget::ExternalBinWidge
m_mainTabWidget->addTab( searchPathTab, i18n("Search Path") );
+#ifdef ENABLE_PERMISSION_HELPER
connect( m_changePermissionsButton, SIGNAL(clicked()), SLOT(slotChangePermissions()) );
connect( m_permissionModel, SIGNAL(dataChanged(QModelIndex,QModelIndex)), SLOT(slotPermissionModelChanged()) );
connect( m_permissionModel, SIGNAL(modelReset()), SLOT(slotPermissionModelChanged()) );
+#endif
connect( m_rescanButton, SIGNAL(clicked(bool)), this, SLOT(rescan()) );
qRegisterMetaType<HelperProgramItem>();
+#ifdef ENABLE_PERMISSION_HELPER
while (::group *g = ::getgrent()) {
const QString groupName = QString::fromLocal8Bit(g->gr_name);
if (groupName == "cdrom" ||
@@ -150,6 +162,7 @@ K3b::ExternalBinWidget::ExternalBinWidge
}
}
::endgrent();
+#endif
}
@@ -196,12 +209,15 @@ void K3b::ExternalBinWidget::saveSearchP
void K3b::ExternalBinWidget::slotPermissionModelChanged()
{
+#ifdef ENABLE_PERMISSION_HELPER
m_changePermissionsButton->setEnabled(m_permissionModel->changesNeeded());
+#endif
}
void K3b::ExternalBinWidget::slotChangePermissions()
{
+#ifdef ENABLE_PERMISSION_HELPER
KAuth::Action action("org.kde.k3b.updatepermissions");
action.setHelperId("org.kde.k3b");
@@ -249,6 +265,7 @@ void K3b::ExternalBinWidget::slotChangeP
}
} );
job->start();
+#endif
}
Index: k3b-%{_kapp6_version}git.20240423T012727~d1088c4/src/option/k3bexternalbinwidget.h
===================================================================
--- k3b-%{_kapp6_version}git.20240423T012727~d1088c4.orig/src/option/k3bexternalbinwidget.h
+++ k3b-%{_kapp6_version}git.20240423T012727~d1088c4/src/option/k3bexternalbinwidget.h
@@ -66,7 +66,9 @@ namespace K3b {
QTreeView* m_permissionView;
KEditListWidget* m_searchPathBox;
+#ifdef ENABLE_PERMISSION_HELPER
QPushButton* m_changePermissionsButton;
+#endif
QPushButton* m_rescanButton;
};
}

View File

@ -0,0 +1,33 @@
From 8cf4e9d0da6fd3ad794928faad8619aa66c3ddd3 Mon Sep 17 00:00:00 2001
From: Wolfgang Bauer <wbauer@tmo.at>
Date: Wed, 26 Jul 2017 17:34:21 +0200
Subject: [PATCH] Don't suggest to install libburn
The message is actually misleading because k3b uses cdrskin which is
packaged separately to libburn in openSUSE.
Let's stick to prefer cdrecord for now.
People who want to use cdrskin instead can still install it.
(boo#1050715)
---
src/k3bsystemproblemdialog.cpp | 6 ------
1 file changed, 6 deletions(-)
Index: k3b-19.11.70git.20220916T165241~5c732af86/src/k3bsystemproblemdialog.cpp
===================================================================
--- k3b-19.11.70git.20220916T165241~5c732af86.orig/src/k3bsystemproblemdialog.cpp
+++ k3b-19.11.70git.20220916T165241~5c732af86/src/k3bsystemproblemdialog.cpp
@@ -287,13 +287,6 @@ void K3b::SystemProblemDialog::checkSyst
#endif
}
- if (!k3bcore->externalBinManager()->foundBin("cdrskin")) {
- problems.append(K3b::SystemProblem(K3b::SystemProblem::NON_CRITICAL,
- i18n("Unable to find %1 executable", QString("cdrskin")),
- i18n("Cdrskin can substitute for cdrecord with data and audio"
- " CD, and for growisofs with DVD and BD."),
- i18n("Consider to install the libburn and cdrskin packages.")));
- }
}

BIN
applications.keyring Normal file

Binary file not shown.

3
k3b-24.05.2.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:926d685782f6b63b81f39bacf8762dcfafc06ebc2b758d42ba49ca3654b32687
size 10690836

16
k3b-24.05.2.tar.xz.sig Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE2BwMs463Je9mkcOFu0YzUNbvMe8FAmaDmhEACgkQu0YzUNbv
Me9qGg/9GnPcHOnhFoNcS7N9jeYEHtyMHSKeggOLF/hlDI8EVlMhn76sN4Rvqzni
q4GX9MfVayxSl/KVOZDqlnNTJz8jccb0IxgNQBm57XBvQi34Zpdhju815RJXesAa
xlqjYOEomJjHv6Z+USrKq3/NCN/O88+54pA9ye756e90VwOilF+XjShE2+5LMDKG
Ph+kxUELdIs6hDSRxw73hGbtFa9r+xJgmMP3VvxTlsgQF6LDyF2EWr3PP4OrxK+g
aJEUZmO4tC88EFEz1cefnqp8VuhXCKoIhXcchlGB7l8h4+qzY4EBGtgqBIPsMUN6
NqeTr7NpUFcukHh5TsekSyvMIi/XJhkEOnFLHdZYRrXwuUbmKzfSd15eqsY8PRCi
o0SLREgtoyxTsdO5v4rJQF5X3AaODuqrJ1U9P9fOptW/6HXDTAr5gckeBCGqMJSo
MpVip/hzXsJdDTqrbLKMYm4xL4oV07PUExTSNExjXi/hI7aA+4Dl4J+EaIBD2YPa
x74FvQ8Jr8+0dFbgWsTOX0GQWhgAq86MgOwthpLHDZQst8PoZ2GIFPN5dyyilopp
t7vucPcOE4yaqM0yQu2uO6B7gc2aWBBbo8i4BZ7n1pTdSewgBXnSweoOjySwRkDM
RRI0ytqK75+z8Qt0GNq4XlQj9wB+V+fhTUh3H4Lq309Uny7HrYk=
=dt9a
-----END PGP SIGNATURE-----

3
k3b-24.08.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:610623648429ae874bbbaa5f6559bbdf079729e31f0585527d9e648cbba1e0ad
size 10700700

16
k3b-24.08.0.tar.xz.sig Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE2BwMs463Je9mkcOFu0YzUNbvMe8FAma+3esACgkQu0YzUNbv
Me/kWRAAh0gafc0whZRyZBOJ+lxs31lUHqUxNOceZDyDi+0k6Qh73b1JkUTssMZ5
lD5uNUa7OPxl2tlOBb0uinAMmqm2Cze1Zdk4zRAKA0HfHoB9GccjsfNqDD0Ys+0g
vqh0MkGfTUw/dR00PLHmUN7Gm4qEIc9z39FkvzoY4QeCcJMXi26lJ8a9JhCVY60a
6DjqLVkaHvn/6edPeejEWwTcGAteZ90q0k/672v9GbiXFtm4txJPyxSWXHeynuEH
Bw0O6jV8SmcADlD7vAn22HaEc8sR+GDWWFsn5NN5YmG8y8AnKRFFW9TIXqiTfWiX
90kBytWBrklxDay3XPu1Huy7XF10sWqGSF1MvNLJdI7U2/ZCg8J7JIjya8xfZvh9
/APd1x8Ik5qeBjOfImm8BbwYhylVj581LfaV5+7ijC/VhL1iDDXOyHCWLFiUYbcc
dSYRwRWqxXFuFiOr0v47ukVA89k94emY8WJcoZeEuypxxhl6rpMyVP7yhnp+slLw
8nnWP3aY348bQvk847atEt7H+BbN6+05crjZ5XSsENq3A6l1nEGs5Q/xFl+a9HJh
kWXbdVeljlwTZmmBGoirW8hqBPyFMCHeFhPVZj68S83L8ftn449mCYZv5Rt8qcfW
ZKc405p46Dw32HTDYMyVYDtQRb4OBb2UY+uqwIsMSzjVhtb8Ex0=
=mImN
-----END PGP SIGNATURE-----

3
k3b-24.08.1.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5398b0815c62eccd7561739dc4554e7bfb1548793c4a83a79155a82f23f55823
size 10701208

16
k3b-24.08.1.tar.xz.sig Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE2BwMs463Je9mkcOFu0YzUNbvMe8FAmbf+gwACgkQu0YzUNbv
Me/lOg/9F4A2S0MyG2CDDdRO10shJKRYdp/BSRfyoPbA/iEoOpBp2y1c03ul7Oy1
aZdp0ulJBhlfnudBTLXqE++m6g8AryxDYr6gLhwHwk2gVhdo8+hzv7RqRVvs7E5M
4HLsRZ0FYx/evWg5ceraj6U6VqgTX7uP85exdUkZ+B8+lcc7PP5JKCiAvn2uXgtY
7XHmDYOcKina3nc1BF1dk0SVq75foDAFPBnPWIEW+a7/Hm9yfGgIRgJL0nFNOx/F
sIMKLHbvbifLlyyElhDuTjLk5+8JIl5/hzU7FdAjDeahvyEemoUtX2FQKQt10Ijc
ERdn817RrJMOv/OzFygzHTTU0Z6e+hwAp3xRg/wL821dWw8Rerw7Bluzio5m6ESn
AXT4daR/IGP41pmztfc/vGS3cONWrFM0+oN2ctXxp1cILTimXe1duM5QZPdGq3IQ
dhC7T6vpLxaJidpzVYnBOYTpsomAqv8NAbrW5mqicgLBuGJWX7Jz41Xxsj6ePxxk
+uYadpJWW8oR5abxWxWVtAIsti4vQsMRdQsXZGbkAGV1Pee+pBjgZT0TUJQu4w6S
Cwb3WfnDWf+7dtcIs3wkfyEDWL6GQaLi1L+PCQGR8nRV9q38v0InQKKClufofc4W
zIohMjiokNTXx4X5qehfHXnk3djKq93uJjTtseNXpZBz954fnUk=
=h7rR
-----END PGP SIGNATURE-----

3
k3b-24.08.2.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:aea81dd1942cc683c722e96b33ac7de58099fe24e223448272c148f4b8804a6f
size 10701612

16
k3b-24.08.2.tar.xz.sig Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE2BwMs463Je9mkcOFu0YzUNbvMe8FAmcEyG8ACgkQu0YzUNbv
Me9o+Q/9HSQLkmnK7vqJ/WXqLV8Oujq79nqtZrGyUm80owvPvKE/wNP6kwETPdkv
25CicFYxMcSZ0KXIvAIecjr8pt5Pw1f64hSDRZn5gtOqLe74yzG+EQjVIP9ZPKQe
+YmM/oyAC6Pr7gzYnfNzhyrGhbGAmMbvUaaqgXSivRhxQRAlmSmbN/oXgpA0Weh4
qspBCG7xtVparqND/lctGb8VvfYMg0iC1qN1l15ioFwHdE9exdgVHaQHIIEHyQzS
9i03XKy6elzaXx8cW4QQiW++F1XG30BhwgbE8vv/lpdOazFzpFdxd56wv1UnCQfA
43r2w3DyHV4SkgFBEKmc0Mz/idsPLkhWE/o31Hk1V6oVlxg5k5E8/h0oWCbH67pF
/7eNBRrGrrF5jHrwcak+0jFXPlsuFGjqBpDokRbZ3rTBCL0DVz2aVoaBQPqjuB5p
rf2kt6xtgsMUqFoY5A0+Egk38cGRGlt2156IgY9Yk8YkSCLuGljNrb//iK1Yrx2/
JlviNN7N/juGjxzuMwVomNb5ZUhKaeO7sUacQKNCjOOu6pM3dGZ4hhywnvBbFyjK
cXxWLzc7dhLGIgsEsqykXOGZCH88odWPOWKgAekE4njkTbFjhrMIugrLOJYmhwX6
Icq6Kr1raFKEUCeCFCdh4lfA4VqQkNOS24UyuZ25AfwGi4BDJk8=
=qn7P
-----END PGP SIGNATURE-----

1949
k3b.changes Normal file

File diff suppressed because it is too large Load Diff

176
k3b.spec Normal file
View File

@ -0,0 +1,176 @@
#
# spec file for package k3b
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define kf6_version 6.3.0
%define qt6_version 6.6.0
%bcond_without released
%bcond_without ffmpeg
%bcond_without lame
%bcond_without mad
Name: k3b
Version: 24.08.2
Release: 0
Summary: CD/DVD/Blu-ray Burning Application by KDE
License: GPL-2.0-or-later
URL: https://apps.kde.org/k3b
Source0: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
%if %{with released}
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
Source2: applications.keyring
%endif
# PATCH-FIX-OPENSUSE
Patch0: Don-t-suggest-to-install-libburn.patch
# PATCH-FIX-OPENSUSE
Patch1: 0001-Revert-Enable-the-k3b-helper-by-default.patch
BuildRequires: fdupes
BuildRequires: kf6-extra-cmake-modules >= %{kf6_version}
BuildRequires: libmusicbrainz-devel
BuildRequires: musepack-devel
BuildRequires: pkgconfig
BuildRequires: cmake(KCddb6)
BuildRequires: cmake(KF6Archive) >= %{kf6_version}
BuildRequires: cmake(KF6Auth) >= %{kf6_version}
BuildRequires: cmake(KF6Config) >= %{kf6_version}
BuildRequires: cmake(KF6CoreAddons) >= %{kf6_version}
BuildRequires: cmake(KF6DocTools) >= %{kf6_version}
BuildRequires: cmake(KF6FileMetaData) >= %{kf6_version}
BuildRequires: cmake(KF6I18n) >= %{kf6_version}
BuildRequires: cmake(KF6IconThemes) >= %{kf6_version}
BuildRequires: cmake(KF6JobWidgets) >= %{kf6_version}
BuildRequires: cmake(KF6KCMUtils) >= %{kf6_version}
BuildRequires: cmake(KF6KIO) >= %{kf6_version}
BuildRequires: cmake(KF6NewStuff) >= %{kf6_version}
BuildRequires: cmake(KF6Notifications) >= %{kf6_version}
BuildRequires: cmake(KF6NotifyConfig) >= %{kf6_version}
BuildRequires: cmake(KF6Solid) >= %{kf6_version}
BuildRequires: cmake(KF6WidgetsAddons) >= %{kf6_version}
BuildRequires: cmake(KF6XmlGui) >= %{kf6_version}
BuildRequires: cmake(Qt6Core) >= %{qt6_version}
BuildRequires: cmake(Qt6DBus) >= %{qt6_version}
BuildRequires: cmake(Qt6Gui) >= %{qt6_version}
%ifarch x86_64 %{x86_64} aarch64 riscv64
BuildRequires: cmake(Qt6WebEngineWidgets) >= %{qt6_version}
%endif
BuildRequires: pkgconfig(dvdread)
BuildRequires: pkgconfig(flac)
BuildRequires: pkgconfig(flac++)
BuildRequires: pkgconfig(samplerate)
BuildRequires: pkgconfig(sndfile)
BuildRequires: pkgconfig(taglib)
BuildRequires: pkgconfig(vorbis)
Requires: %{_bindir}/cdrdao
Requires: %{_bindir}/cdrecord
Requires: %{_bindir}/mkisofs
Requires: %{_bindir}/readcd
Requires: dvd+rw-tools
Requires: udisks2
Recommends: %{_bindir}/normalize
Recommends: %{_bindir}/sox
Recommends: %{_bindir}/transcode
Recommends: vcdimager
%if %{with ffmpeg}
BuildRequires: pkgconfig(libavcodec)
BuildRequires: pkgconfig(libavformat)
%endif
%if %{with lame}
BuildRequires: libmp3lame-devel
Requires: lame
%endif
%if %{with mad}
BuildRequires: pkgconfig(mad)
%endif
%description
Featuring a graphical interface, k3b provides various
options for burning a CD, DVD, or BD (Blu-ray disc). Various types of
projects are supported, including audio and data, video
projects for DVD and VCD, as well as multi-session and mixed-mode discs. k3b
has the ability to erase re-writeable media, and can perform more
complicated tasks such as audiovisual encoding and decoding.
%package devel
Summary: Development files for k3b
Requires: k3b = %{version}
%description devel
This package contain files needed for development with k3b.
%lang_package
%prep
%autosetup -p1
%build
CXXFLAGS="%{optflags} -fno-strict-aliasing"
%cmake_kf6 -DBUILD_WITH_QT6:BOOL=TRUE
%kf6_build
%install
%kf6_install
%find_lang %{name} --with-html --all-name
%fdupes %{buildroot}
%ldconfig_scriptlets
%files
%license LICENSES/*
%doc README.txt
%doc %lang(en) %{_kf6_htmldir}/en/k3b/
%{_kf6_applicationsdir}/org.kde.k3b.desktop
%{_kf6_appstreamdir}/org.kde.k3b.appdata.xml
%{_kf6_bindir}/k3b
%{_kf6_debugdir}/k3b.categories
%{_kf6_iconsdir}/hicolor/*/apps/k3b.*
%{_kf6_iconsdir}/hicolor/*/mimetypes/application-x-k3b.*
%{_kf6_knsrcfilesdir}/k3btheme.knsrc
%{_kf6_libdir}/libk3bdevice.so.*
%{_kf6_libdir}/libk3blib.so.*
%{_kf6_notificationsdir}/k3b.notifyrc
%{_kf6_plugindir}/k3b_plugins/
%{_kf6_plugindir}/kf6/kio/videodvd.so
%{_kf6_sharedir}/k3b/
%dir %{_kf6_sharedir}/kio
%dir %{_kf6_sharedir}/kio/servicemenus
%{_kf6_sharedir}/kio/servicemenus/k3b_create_audio_cd.desktop
%{_kf6_sharedir}/kio/servicemenus/k3b_create_data_project.desktop
%{_kf6_sharedir}/kio/servicemenus/k3b_create_video_cd.desktop
%{_kf6_sharedir}/kio/servicemenus/k3b_write_bin_image.desktop
%{_kf6_sharedir}/kio/servicemenus/k3b_write_iso_image.desktop
# No idea if that still works
%dir %{_kf6_sharedir}/konqsidebartng
%dir %{_kf6_sharedir}/konqsidebartng/virtual_folders
%dir %{_kf6_sharedir}/konqsidebartng/virtual_folders/services
%{_kf6_sharedir}/konqsidebartng/virtual_folders/services/videodvd.desktop
%{_kf6_sharedir}/mime/packages/x-k3b.xml
%dir %{_kf6_sharedir}/solid
%dir %{_kf6_sharedir}/solid/actions
%{_kf6_sharedir}/solid/actions/k3b_*.desktop
%files devel
%{_includedir}/k3b*.h
%{_kf6_libdir}/libk3bdevice.so
%{_kf6_libdir}/libk3blib.so
%files lang -f %{name}.lang
%exclude %{_kf6_htmldir}/en/k3b/
%changelog