KDE Release Gear 24.05.2
OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/k3b?expand=0&rev=259
This commit is contained in:
commit
5004e0454a
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
262
0001-Revert-Enable-the-k3b-helper-by-default.patch
Normal file
262
0001-Revert-Enable-the-k3b-helper-by-default.patch
Normal file
@ -0,0 +1,262 @@
|
|||||||
|
From 50e466004d9eefb7c54d8f20f99c730aa9d33fc3 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(-)
|
||||||
|
|
||||||
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||||
|
index 9bc9152..ae8aa40 100644
|
||||||
|
--- a/CMakeLists.txt
|
||||||
|
+++ b/CMakeLists.txt
|
||||||
|
@@ -36,6 +36,7 @@ option(K3B_ENABLE_MUSICBRAINZ "Support for querying metadata about audio tracks
|
||||||
|
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)
|
||||||
|
@@ -287,6 +288,7 @@ set(BUILD_EXTERNAL_ENCODER_PLUGIN "${K3B_BUILD_EXTERNAL_ENCODER_PLUGIN}")
|
||||||
|
|
||||||
|
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)
|
||||||
|
diff --git a/INSTALL.txt b/INSTALL.txt
|
||||||
|
index 9cd107d..f1ae322 100644
|
||||||
|
--- a/INSTALL.txt
|
||||||
|
+++ b/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
|
||||||
|
diff --git a/config-k3b.h.cmake b/config-k3b.h.cmake
|
||||||
|
index 1ef4180..0c7a1a1 100644
|
||||||
|
--- a/config-k3b.h.cmake
|
||||||
|
+++ b/config-k3b.h.cmake
|
||||||
|
@@ -20,6 +20,8 @@
|
||||||
|
|
||||||
|
#cmakedefine ENABLE_AUDIO_PLAYER
|
||||||
|
|
||||||
|
+#cmakedefine ENABLE_PERMISSION_HELPER
|
||||||
|
+
|
||||||
|
#cmakedefine HAVE_BYTESWAP_H
|
||||||
|
|
||||||
|
#cmakedefine WORDS_BIGENDIAN
|
||||||
|
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
||||||
|
index c2a0ac3..81962d4 100644
|
||||||
|
--- a/src/CMakeLists.txt
|
||||||
|
+++ b/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 )
|
||||||
|
diff --git a/src/option/k3bdevicewidget.cpp b/src/option/k3bdevicewidget.cpp
|
||||||
|
index 4108ba3..9445517 100644
|
||||||
|
--- a/src/option/k3bdevicewidget.cpp
|
||||||
|
+++ b/src/option/k3bdevicewidget.cpp
|
||||||
|
@@ -50,7 +50,9 @@ K3b::DeviceWidget::DeviceWidget( K3b::Device::DeviceManager* manager, QWidget *p
|
||||||
|
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::Device::DeviceManager* manager, QWidget *p
|
||||||
|
// ------------------------------------------------
|
||||||
|
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::updateDeviceListViews()
|
||||||
|
|
||||||
|
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::updateDeviceListViews()
|
||||||
|
|
||||||
|
void K3b::DeviceWidget::addUserToGroup()
|
||||||
|
{
|
||||||
|
+#ifdef ENABLE_PERMISSION_HELPER
|
||||||
|
QVariantMap args;
|
||||||
|
args["groupName"] = m_deviceGroup;
|
||||||
|
args["userName"] = QString::fromLocal8Bit(getpwuid(getuid())->pw_name);
|
||||||
|
@@ -275,6 +286,7 @@ void K3b::DeviceWidget::addUserToGroup()
|
||||||
|
}
|
||||||
|
} );
|
||||||
|
job->start();
|
||||||
|
+#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
#include "moc_k3bdevicewidget.cpp"
|
||||||
|
diff --git a/src/option/k3bexternalbinpermissionmodel.cpp b/src/option/k3bexternalbinpermissionmodel.cpp
|
||||||
|
index 02b608c..e6bcd0c 100644
|
||||||
|
--- a/src/option/k3bexternalbinpermissionmodel.cpp
|
||||||
|
+++ b/src/option/k3bexternalbinpermissionmodel.cpp
|
||||||
|
@@ -341,6 +341,7 @@ QModelIndex ExternalBinPermissionModel::buddy( const QModelIndex& index ) const
|
||||||
|
|
||||||
|
void ExternalBinPermissionModel::setBurningGroup( const QString& burningGroup )
|
||||||
|
{
|
||||||
|
+#ifdef ENABLE_PERMISSION_HELPER
|
||||||
|
if( burningGroup != d->burningGroup ) {
|
||||||
|
beginResetModel();
|
||||||
|
d->burningGroup = burningGroup;
|
||||||
|
@@ -357,6 +358,7 @@ void ExternalBinPermissionModel::setBurningGroup( const QString& burningGroup )
|
||||||
|
}
|
||||||
|
endResetModel();
|
||||||
|
}
|
||||||
|
+#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
void ExternalBinPermissionModel::update()
|
||||||
|
diff --git a/src/option/k3bexternalbinwidget.cpp b/src/option/k3bexternalbinwidget.cpp
|
||||||
|
index 85c1ae8..f0068a1 100644
|
||||||
|
--- a/src/option/k3bexternalbinwidget.cpp
|
||||||
|
+++ b/src/option/k3bexternalbinwidget.cpp
|
||||||
|
@@ -103,7 +103,12 @@ K3b::ExternalBinWidget::ExternalBinWidget( K3b::ExternalBinManager* manager, QWi
|
||||||
|
// 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::ExternalBinWidget( K3b::ExternalBinManager* manager, QWi
|
||||||
|
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,9 +143,11 @@ K3b::ExternalBinWidget::ExternalBinWidget( K3b::ExternalBinManager* manager, QWi
|
||||||
|
|
||||||
|
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>();
|
||||||
|
@@ -144,6 +155,7 @@ K3b::ExternalBinWidget::ExternalBinWidget( K3b::ExternalBinManager* manager, QWi
|
||||||
|
qRegisterMetaTypeStreamOperators<HelperProgramItem>("K3b::HelperProgramItem");
|
||||||
|
#endif
|
||||||
|
|
||||||
|
+#ifdef ENABLE_PERMISSION_HELPER
|
||||||
|
while (::group *g = ::getgrent()) {
|
||||||
|
const QString groupName = QString::fromLocal8Bit(g->gr_name);
|
||||||
|
if (groupName == "cdrom" ||
|
||||||
|
@@ -153,6 +165,7 @@ K3b::ExternalBinWidget::ExternalBinWidget( K3b::ExternalBinManager* manager, QWi
|
||||||
|
}
|
||||||
|
}
|
||||||
|
::endgrent();
|
||||||
|
+#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -199,12 +212,15 @@ void K3b::ExternalBinWidget::saveSearchPath()
|
||||||
|
|
||||||
|
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");
|
||||||
|
|
||||||
|
@@ -256,6 +272,7 @@ void K3b::ExternalBinWidget::slotChangePermissions()
|
||||||
|
}
|
||||||
|
} );
|
||||||
|
job->start();
|
||||||
|
+#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
diff --git a/src/option/k3bexternalbinwidget.h b/src/option/k3bexternalbinwidget.h
|
||||||
|
index b610147..d53a4fc 100644
|
||||||
|
--- a/src/option/k3bexternalbinwidget.h
|
||||||
|
+++ b/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;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
--
|
||||||
|
2.44.0
|
||||||
|
|
33
Don-t-suggest-to-install-libburn.patch
Normal file
33
Don-t-suggest-to-install-libburn.patch
Normal 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
BIN
applications.keyring
Normal file
Binary file not shown.
3
k3b-24.05.2.tar.xz
Normal file
3
k3b-24.05.2.tar.xz
Normal 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
16
k3b-24.05.2.tar.xz.sig
Normal 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-----
|
1910
k3b.changes
Normal file
1910
k3b.changes
Normal file
File diff suppressed because it is too large
Load Diff
177
k3b.spec
Normal file
177
k3b.spec
Normal file
@ -0,0 +1,177 @@
|
|||||||
|
#
|
||||||
|
# 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.0.0
|
||||||
|
%define qt6_version 6.6.0
|
||||||
|
|
||||||
|
%bcond_without released
|
||||||
|
%bcond_without ffmpeg
|
||||||
|
%bcond_without lame
|
||||||
|
%bcond_without mad
|
||||||
|
Name: k3b
|
||||||
|
Version: 24.05.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(Qt6Core5Compat) >= %{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
|
Loading…
Reference in New Issue
Block a user