[multimedia/kwave] /: remove packaging
Mark Penner
null at kde.org
Sun Jan 5 16:41:36 GMT 2025
Git commit 2e22de017b6ecb929124cb1d521edcc75ace4371 by Mark Penner.
Committed on 05/01/2025 at 16:36.
Pushed by mrp into branch 'master'.
remove packaging
M +0 -38 CMakeLists.txt
M +0 -3 LICENSES
D +0 -54 cmake/KwaveDEBSupport.cmake
D +0 -33 cmake/KwaveEbuild.cmake
M +0 -45 doc/devel.docbook
D +0 -88 kwave.ebuild.in
https://invent.kde.org/multimedia/kwave/-/commit/2e22de017b6ecb929124cb1d521edcc75ace4371
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8a1ff6dfe..581631f09 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -47,15 +47,10 @@ set (RELEASE_SERVICE_VERSION_MICRO "70")
# all - default target, build all files
# clean - clean up the current build directory
-# deb - create a debian package
# doc - generate docbook files for online help
-# distfiles - generate subdirectory with all files for distribution
# html_doc - generate HTML help (for the web)
# install - install the package, with support for DESTDIR
# msgstats - show the progress of translations
-# rpm - create a RPM package + a src.rpm file
-# src_rpm - create the source RPM only
-# tarball - create a tar.bz2 archive with the sources + specfile
# uninstall - uninstall the package, with support for DESTDIR
# update-translations - update translation files from KDE SVN
# version-labels - update all version numbers and build dates
@@ -305,18 +300,6 @@ IF (WITH_DOC)
ADD_SUBDIRECTORY( doc )
ENDIF (WITH_DOC)
-#############################################################################
-### distfiles support (deprecated, will be removed in future) ###
-
-# directory that receives the files of the "distfiles" target
-SET(DISTFILES_DIR ${CMAKE_BINARY_DIR}/v${KWAVE_VERSION})
-FILE(MAKE_DIRECTORY ${DISTFILES_DIR})
-
-#############################################################################
-### DEB support ###
-
-INCLUDE(KwaveDEBSupport)
-
#############################################################################
CONFIGURE_FILE(
@@ -367,27 +350,6 @@ CONFIGURE_FILE(
${CMAKE_CURRENT_BINARY_DIR}/kwave/org.kde.kwave.desktop
)
-#############################################################################
-### Gentoo support ###
-
-INCLUDE(KwaveEbuild)
-
-#############################################################################
-### collection of all files used for distribution ###
-
-FIND_PROGRAM(SED_EXECUTABLE NAMES sed)
-SET(_distfiles_md5sum ${DISTFILES_DIR}/MD5SUMS-${KWAVE_VERSION})
-
-ADD_CUSTOM_COMMAND(OUTPUT ${_distfiles_md5sum}
- COMMAND md5sum ${KWAVE_DISTFILES} |
- ${SED_EXECUTABLE} s+${DISTFILES_DIR}/++g > ${_distfiles_md5sum}
- DEPENDS ${KWAVE_DISTFILES}
-)
-
-ADD_CUSTOM_TARGET(distfiles
- DEPENDS ${KWAVE_DISTFILES} ${_distfiles_md5sum}
-)
-
#############################################################################
### uninstall support ###
diff --git a/LICENSES b/LICENSES
index 5f0b374c8..79a7eae58 100644
--- a/LICENSES
+++ b/LICENSES
@@ -103,7 +103,6 @@ COMPLETE LIST OF FILES AND THEIR LICENSE
doxy.cfg.in GPL2+
ExtraDesktop.sh GPL2+
GNU-LICENSE free
- kwave.ebuild.in GPL2+ / Gentoo
kwave.kdev4 GPL2+
LICENSES GPL2+
logo.png (should be GPL2+ / Martin Wilz)
@@ -132,8 +131,6 @@ COMPLETE LIST OF FILES AND THEIR LICENSE
cmake/Copyright.txt Kitware (cmake)
cmake/FindRequiredProgram.cmake BSD (3 clause)
cmake/KwaveALSASupport.cmake BSD (3 clause)
- cmake/KwaveDEBSupport.cmake BSD (3 clause)
- cmake/KwaveEbuild.cmake BSD (3 clause)
cmake/KwaveL10N.cmake BSD (3 clause)
cmake/KwaveLibaudiofileSupport.cmake BSD (3 clause)
cmake/KwaveLibsamplerateSupport.cmake BSD (3 clause)
diff --git a/cmake/KwaveDEBSupport.cmake b/cmake/KwaveDEBSupport.cmake
deleted file mode 100644
index 3806b4b49..000000000
--- a/cmake/KwaveDEBSupport.cmake
+++ /dev/null
@@ -1,54 +0,0 @@
-#############################################################################
-## Kwave - KwaveDEBSupport.cmake
-## -------------------
-## begin : Fri Apr 18 2014
-## copyright : (C) 2014 by Thomas Eschenbacher
-## email : Thomas.Eschenbacher at gmx.de
-#############################################################################
-#
-#############################################################################
-# #
-# Redistribution and use in source and binary forms, with or without #
-# modification, are permitted provided that the following conditions #
-# are met: #
-# #
-# 1. Redistributions of source code must retain the above copyright #
-# notice, this list of conditions and the following disclaimer. #
-# 2. Redistributions in binary form must reproduce the above copyright #
-# notice, this list of conditions and the following disclaimer in the #
-# documentation and/or other materials provided with the distribution. #
-# #
-# For details see the accompanying cmake/COPYING-CMAKE-SCRIPTS file. #
-# #
-#############################################################################
-
-#############################################################################
-### some needed programs ###
-
-FIND_PROGRAM(CHECKINSTALL_EXECUTABLE NAMES checkinstall)
-
-#############################################################################
-### set release number ###
-
-SET(DEB_RELEASE "1")
-
-#############################################################################
-### binary DEB (for personal use only) ###
-
-ADD_CUSTOM_TARGET(deb
- COMMAND ${CHECKINSTALL_EXECUTABLE}
- -y -D
- --pkgname=${PROJECT_NAME}
- --pkgversion=${KWAVE_VERSION}
- --pkgrelease=${DEB_RELEASE}
- --install=no --fstrans
- COMMAND echo ""
- COMMAND echo -e " NOTE: This .deb file is for personal use and testing only"
- COMMAND echo -e " not for distribution!"
- COMMAND echo -e " It does not have the quality of the .deb packages you"
- COMMAND echo -e " can get from your official package maintainer!"
- COMMAND echo ""
-)
-
-#############################################################################
-#############################################################################
diff --git a/cmake/KwaveEbuild.cmake b/cmake/KwaveEbuild.cmake
deleted file mode 100644
index a583c435d..000000000
--- a/cmake/KwaveEbuild.cmake
+++ /dev/null
@@ -1,33 +0,0 @@
-#############################################################################
-## Kwave - cmake/KwaveEbuild.cmake
-## -------------------
-## begin : Wed May 23 2007
-## copyright : (C) 2007 by Thomas Eschenbacher
-## email : Thomas.Eschenbacher at gmx.de
-#############################################################################
-#
-#############################################################################
-# #
-# Redistribution and use in source and binary forms, with or without #
-# modification, are permitted provided that the following conditions #
-# are met: #
-# #
-# 1. Redistributions of source code must retain the above copyright #
-# notice, this list of conditions and the following disclaimer. #
-# 2. Redistributions in binary form must reproduce the above copyright #
-# notice, this list of conditions and the following disclaimer in the #
-# documentation and/or other materials provided with the distribution. #
-# #
-# For details see the accompanying cmake/COPYING-CMAKE-SCRIPTS file. #
-# #
-#############################################################################
-
-SET(_ebuild ${DISTFILES_DIR}/kwave-${KWAVE_VERSION}.ebuild)
-
-CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/kwave.ebuild.in" "${_ebuild}" @ONLY)
-
-SET(KWAVE_DISTFILES ${KWAVE_DISTFILES} ${_ebuild})
-SET(KWAVE_ADDITIONAL_CLEAN_FILES ${KWAVE_ADDITIONAL_CLEAN_FILES} ${_ebuild})
-
-#############################################################################
-#############################################################################
diff --git a/doc/devel.docbook b/doc/devel.docbook
index 52d217a71..6f65e1dea 100644
--- a/doc/devel.docbook
+++ b/doc/devel.docbook
@@ -451,51 +451,6 @@
</sect2>
</sect1>
-<!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
-<!-- +++ Section: Building DEB package from Source +++ -->
-<!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
-
- <sect1 id="building_deb_from_src">
- <title>Building a DEB package (for testing and personal use)</title>
-
- <para>
- If you want to create a deb package of &kwave;, ⪚ for testing a
- version that is not yet available via official package repositories,
- then you can create your own package quite easily. First of all, you
- need to install some required tools:
-<screen width="70" format="linespecific">
-<prompt>% </prompt><command>sudo apt-get install build-essential checkinstall</command>
-</screen>
- </para>
-
- <para>
- Then you can install the required build dependencies by pretending to
- install the dependencies of the official &kwave; version:
-<screen width="70" format="linespecific">
-<prompt>% </prompt><command>sudo apt-get build-dep kwave</command>
-</screen>
- </para>
-
- <para>
- After installing the required packages, you should prepare the &kwave;
- build as described in the chapter about
- <link linkend="cmake_invocation">invocation of cmake</link>.
- Then you should be able to produce a .deb file in your current
- build directory with this command:
-<screen width="70" format="linespecific">
-<prompt>% </prompt><command>make deb</command>
-</screen>
- </para>
-
- <note><para>
- The .deb file you get from this step will not have the quality that
- a package from your official distribution has - it is just good enough
- for installing and safely uninstalling &kwave; for testing purposes
- and for personal use.
- </para></note>
-
- </sect1>
-
</chapter>
<!-- ###################################################################### -->
diff --git a/kwave.ebuild.in b/kwave.ebuild.in
deleted file mode 100644
index 3881b526b..000000000
--- a/kwave.ebuild.in
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-
-KDE_HANDBOOK="forceoptional"
-inherit kde5
-
-DESCRIPTION="A sound editor built on KDE Frameworks 5 that can edit many types of audio files."
-HOMEPAGE="http://kwave.sourceforge.net/"
-if [[ ${KDE_BUILD_TYPE} != live ]]; then
- SRC_URI="mirror://sourceforge/${PN}/${P}-1.tar.bz2"
-fi
-
-LICENSE="
- CC-BY-SA-3.0 CC0-1.0 GPL-2+ LGPL-2+
- handbook? ( FDL-1.2 )
- opus? ( BSD-2 )
-"
-KEYWORDS="amd64 ~ppc x86"
-IUSE="alsa flac mp3 +qtmedia opus oss pulseaudio vorbis"
-
-COMMON_DEPEND="
- $(add_frameworks_dep kcompletion)
- $(add_frameworks_dep kconfig)
- $(add_frameworks_dep kconfigwidgets)
- $(add_frameworks_dep kcoreaddons)
- $(add_frameworks_dep kcrash)
- $(add_frameworks_dep kdbusaddons)
- $(add_frameworks_dep ki18n)
- $(add_frameworks_dep kiconthemes)
- $(add_frameworks_dep kio)
- $(add_frameworks_dep kservice)
- $(add_frameworks_dep ktextwidgets)
- $(add_frameworks_dep kwidgetsaddons)
- $(add_frameworks_dep kxmlgui)
- $(add_qt_dep qtgui)
- $(add_qt_dep qtwidgets)
- media-libs/audiofile:=
- >=sci-libs/fftw-3
- media-libs/libsamplerate
- alsa? ( media-libs/alsa-lib )
- flac? ( media-libs/flac )
- mp3? (
- media-libs/id3lib
- media-libs/libmad
- || ( media-sound/lame media-sound/toolame media-sound/twolame )
- )
- qtmedia? ( $(add_qt_dep qtmultimedia) )
- opus? (
- media-libs/libogg
- media-libs/opus
- )
- pulseaudio? ( media-sound/pulseaudio )
- vorbis? (
- media-libs/libogg
- media-libs/libvorbis
- )
-"
-DEPEND="${COMMON_DEPEND}
- $(add_kdeapps_dep poxml)
- $(add_qt_dep qtconcurrent)
- || ( media-gfx/imagemagick[png,svg] media-gfx/graphicsmagick[imagemagick,png,svg] )
- sys-devel/gettext
-"
-RDEPEND="${COMMON_DEPEND}
- !media-sound/kwave:4
-"
-
-DOCS=( AUTHORS CHANGES LICENSES README TODO )
-
-src_configure() {
- local mycmakeargs=(
- -DDEBUG=$(usex debug)
- -DWITH_ALSA=$(usex alsa)
- -DWITH_DOC=$(usex handbook)
- -DWITH_FLAC=$(usex flac)
- -DWITH_MP3=$(usex mp3)
- -DWITH_OGG_VORBIS=$(usex vorbis)
- -DWITH_OGG_OPUS=$(usex opus)
- -DWITH_OSS=$(usex oss)
- -DWITH_PULSEAUDIO=$(usex pulseaudio)
- -DWITH_QT_AUDIO=$(usex qtmedia)
- )
-
- kde5_src_configure
-}
More information about the kde-doc-english
mailing list