git: 63f98377dc58 - main - audio/ccaudio2: Remove expired port

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 30 Sep 2023 02:23:44 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=63f98377dc581ada4cbc12440346b6a24d1e058c

commit 63f98377dc581ada4cbc12440346b6a24d1e058c
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-09-29 23:29:31 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-09-30 02:22:46 +0000

    audio/ccaudio2: Remove expired port
    
    2023-09-30 audio/ccaudio2: Abandonware, no development since 2011
---
 MOVED                                          |  1 +
 audio/Makefile                                 |  1 -
 audio/ccaudio2/Makefile                        | 27 ---------
 audio/ccaudio2/distinfo                        |  2 -
 audio/ccaudio2/files/patch-CMakeLists.txt      | 78 --------------------------
 audio/ccaudio2/files/patch-src_audiofile.cpp   | 14 -----
 audio/ccaudio2/files/patch-src_friends.cpp     | 14 -----
 audio/ccaudio2/files/patch-src_oss.cpp         | 14 -----
 audio/ccaudio2/files/patch-src_w32.cpp         | 11 ----
 audio/ccaudio2/files/patch-utils_audiotool.cpp | 14 -----
 audio/ccaudio2/pkg-descr                       | 13 -----
 audio/ccaudio2/pkg-plist                       | 10 ----
 12 files changed, 1 insertion(+), 198 deletions(-)

diff --git a/MOVED b/MOVED
index 064840b57f4d..b46fae60ff65 100644
--- a/MOVED
+++ b/MOVED
@@ -7866,3 +7866,4 @@ www/pserv||2023-09-30|Has expired: Abandonware, last release in 2005. Consider m
 www/polipo||2023-09-30|Has expired: No longer maintained upstream
 audio/aacgain||2023-09-30|Has expired: Obsolete way of handling volume adjustment, consider using audio/rsgain
 audio/ample||2023-09-30|Has expired: Abandonware, last release over 19 years ago
+audio/ccaudio2||2023-09-30|Has expired: Abandonware, no development since 2011
diff --git a/audio/Makefile b/audio/Makefile
index 2fa20f7252c3..3499327b6b3a 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -78,7 +78,6 @@
     SUBDIR += cardinal
     SUBDIR += carla
     SUBDIR += cava
-    SUBDIR += ccaudio2
     SUBDIR += cd-discid
     SUBDIR += cddb-bundle
     SUBDIR += cdparanoia
diff --git a/audio/ccaudio2/Makefile b/audio/ccaudio2/Makefile
deleted file mode 100644
index 49e506c13b8f..000000000000
--- a/audio/ccaudio2/Makefile
+++ /dev/null
@@ -1,27 +0,0 @@
-PORTNAME=	ccaudio2
-PORTVERSION=	2.2.0
-PORTREVISION=	5
-CATEGORIES=	audio
-MASTER_SITES=	GNU/ccaudio
-
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	C++ class framework for manipulating audio files
-WWW=		https://www.gnu.org/software/ccaudio/
-
-DEPRECATED=	Abandonware, no development since 2011
-EXPIRATION_DATE=2023-09-30
-
-LICENSE=	LGPL3+
-LICENSE_FILE=	${WRKSRC}/COPYING.LESSER
-
-LIB_DEPENDS=	libccgnu2.so:devel/commoncpp \
-		libucommon.so:devel/ucommon \
-		libgsm.so:audio/gsm \
-		libspeex.so:audio/speex
-
-USES=		cmake compiler:c++11-lib pathfix pkgconfig
-USE_LDCONFIG=	yes
-
-CMAKE_ARGS=	-DWITH_INCLUDES:PATH=${LOCALBASE}/include
-
-.include <bsd.port.mk>
diff --git a/audio/ccaudio2/distinfo b/audio/ccaudio2/distinfo
deleted file mode 100644
index ce4152cecd75..000000000000
--- a/audio/ccaudio2/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (ccaudio2-2.2.0.tar.gz) = 2756b3c4765f62f69578bbf03b18ccd56baca385a85a1a6679ac6af633b17fb0
-SIZE (ccaudio2-2.2.0.tar.gz) = 441444
diff --git a/audio/ccaudio2/files/patch-CMakeLists.txt b/audio/ccaudio2/files/patch-CMakeLists.txt
deleted file mode 100644
index c21bcb23462f..000000000000
--- a/audio/ccaudio2/files/patch-CMakeLists.txt
+++ /dev/null
@@ -1,78 +0,0 @@
---- CMakeLists.txt.orig	2015-12-13 13:01:59 UTC
-+++ CMakeLists.txt
-@@ -55,10 +55,7 @@ else()
- endif()
- 
- check_include_files(sys/soundcard.h HAVE_SYS_SOUNDCARD_H)
--check_include_files(speex/speex.h HAVE_SPEEX_SPEEX_H)
--check_include_files(gsm.h HAVE_GSM_H)
--check_include_files(gsm/gsm.h HAVE_GSM_GSM_H)
--check_include_files(endian.h HAVE_ENDIAN_H)
-+check_include_files(sys/endian.h HAVE_ENDIAN_H)
- 
- check_library_exists(ossaudio _oss_ioctl "" OSSAUDIO_LIB)
- if(OSSAUDIO_LIB)
-@@ -79,20 +76,39 @@ if(MATH_LIB)
-     set(MATH_LIB m)
- endif()
- 
--if(NOT HAVE_SPEEX_SPEEX_H AND EXISTS ${CMAKE_BINARY_DIR}/Frameworks/Speex)
--    include_directories(${CMAKE_BINARY_DIR}/Frameworks/Speex/include)
--    link_directories(${CMAKE_BINARY_DIR}/Frameworks/Speex/lib)
--    set(HAVE_SPEEX_SPEEX_H 1)
--endif()
-+# Find Speex
-+find_path(SPEEX_INCLUDE_DIR speex/speex.h)
- 
--if(HAVE_SPEEX_SPEEX_H)
--    set(AUDIO_LIBS ${AUDIO_LIBS} speex)
-+find_library(SPEEX_LIBRARY speex)
-+
-+find_package_handle_standard_args(SPEEX DEFAULT_MSG SPEEX_INCLUDE_DIR SPEEX_LIBRARY)
-+
-+if(SPEEX_FOUND)
-+	set(SPEEX_LIBRARIES ${SPEEX_LIBRARY})
-+	set(AUDIO_LIBS ${AUDIO_LIBS} ${SPEEX_LIBRARIES})
-+	set(SPEEX_INCLUDE_DIRS ${SPEEX_INCLUDE_DIR})
-+	set(HAVE_SPEEX_SPEEX_H 1)
- endif()
- 
--if(HAVE_GSM_H OR HAVE_GSM_GSM_H)
--    set(AUDIO_LIBS ${AUDIO_LIBS} gsm)
-+mark_as_advanced(SPEEX_INCLUDE_DIR SPEEX_LIBRARY)
-+
-+# Find GSM
-+find_path(GSM_INCLUDE_DIR gsm.h)
-+
-+find_library(GSM_LIBRARY gsm)
-+
-+find_package_handle_standard_args(GSM DEFAULT_MSG GSM_INCLUDE_DIR GSM_LIBRARY)
-+
-+if(GSM_FOUND)
-+	set(GSM_LIBRARIES ${GSM_LIBRARY})
-+	set(AUDIO_LIBS ${AUDIO_LIBS} ${GSM_LIBRARIES})
-+	set(GSM_INCLUDE_DIRS ${GSM_INCLUDE_DIR})
-+	set(HAVE_GSM_H 1)
- endif()
- 
-+mark_as_advanced(GSM_INCLUDE_DIR GSM_LIBRARY)
-+######
-+
- file(GLOB ccaudio_src src/*.cpp)
- file(GLOB ccaudio_man1 utils/*.1)
- file(GLOB ccaudio_conf utils/*.conf)
-@@ -111,12 +127,12 @@ set_source_dependencies(ccaudio2 ucommon
- target_link_libraries(ccaudio2 ${USES_UCOMMON_LIBRARIES} ${AUDIO_LIBS} ${WITH_MATH_LIB} ${MATH_LIB})
- 
- add_executable(ccaudio-tonetool utils/tonetool.cpp)
--add_dependencies(ccaudio-tonetool ccaudio2 ucommon)
-+add_dependencies(ccaudio-tonetool ccaudio2)
- set_target_properties(ccaudio-tonetool PROPERTIES OUTPUT_NAME tonetool)
- target_link_libraries(ccaudio-tonetool ccaudio2 ucommon ${USES_UCOMMON_LIBRARIES})
- 
- add_executable(ccaudio-audiotool utils/audiotool.cpp)
--add_dependencies(ccaudio-audiotool ccaudio2 ucommon)
-+add_dependencies(ccaudio-audiotool ccaudio2)
- set_target_properties(ccaudio-audiotool PROPERTIES OUTPUT_NAME audiotool)
- target_link_libraries(ccaudio-audiotool ccaudio2 ucommon ${USES_UCOMMON_LIBRARIES})
- 
diff --git a/audio/ccaudio2/files/patch-src_audiofile.cpp b/audio/ccaudio2/files/patch-src_audiofile.cpp
deleted file mode 100644
index 8b7982c6d2b7..000000000000
--- a/audio/ccaudio2/files/patch-src_audiofile.cpp
+++ /dev/null
@@ -1,14 +0,0 @@
---- src/audiofile.cpp.orig	2015-10-23 22:39:25 UTC
-+++ src/audiofile.cpp
-@@ -20,7 +20,10 @@
- #include <ucommon/ucommon.h>
- #include <ccaudio2-config.h>
- #ifdef  HAVE_ENDIAN_H
--#include <endian.h>
-+#include <sys/endian.h>
-+#define __LITTLE_ENDIAN (_BYTE_ORDER == _LITTLE_ENDIAN)
-+#define __BIG_ENDIAN    (_BYTE_ORDER == _BIG_ENDIAN)
-+#define __BYTE_ORDER _BYTE_ORDER
- #endif
- #include <ucommon/export.h>
- #include <ccaudio2.h>
diff --git a/audio/ccaudio2/files/patch-src_friends.cpp b/audio/ccaudio2/files/patch-src_friends.cpp
deleted file mode 100644
index 62ac7e429f5c..000000000000
--- a/audio/ccaudio2/files/patch-src_friends.cpp
+++ /dev/null
@@ -1,14 +0,0 @@
---- src/friends.cpp.orig	2015-11-03 08:30:29 UTC
-+++ src/friends.cpp
-@@ -22,7 +22,10 @@
- #include <math.h>
- #include <ctype.h>
- #ifdef  HAVE_ENDIAN_H
--#include <endian.h>
-+#include <sys/endian.h>
-+#define __LITTLE_ENDIAN (_BYTE_ORDER == _LITTLE_ENDIAN)
-+#define __BIG_ENDIAN    (_BYTE_ORDER == _BIG_ENDIAN)
-+#define __BYTE_ORDER _BYTE_ORDER
- #endif
- #include <ucommon/export.h>
- #include <ccaudio2.h>
diff --git a/audio/ccaudio2/files/patch-src_oss.cpp b/audio/ccaudio2/files/patch-src_oss.cpp
deleted file mode 100644
index 3c6620c3d9d3..000000000000
--- a/audio/ccaudio2/files/patch-src_oss.cpp
+++ /dev/null
@@ -1,14 +0,0 @@
---- src/oss.cpp.orig	2015-11-03 08:30:29 UTC
-+++ src/oss.cpp
-@@ -31,7 +31,10 @@ int _oss_ccaudio_dummy = 0;
- #include <unistd.h>
- #include <sys/soundcard.h>
- #ifdef  HAVE_ENDIAN_H
--#include <endian.h>
-+#include <sys/endian.h>
-+#define __LITTLE_ENDIAN (_BYTE_ORDER == _LITTLE_ENDIAN)
-+#define __BIG_ENDIAN    (_BYTE_ORDER == _BIG_ENDIAN)
-+#define __BYTE_ORDER _BYTE_ORDER
- #endif
- 
- #include <ucommon/export.h>
diff --git a/audio/ccaudio2/files/patch-src_w32.cpp b/audio/ccaudio2/files/patch-src_w32.cpp
deleted file mode 100644
index 0dc7dd4407eb..000000000000
--- a/audio/ccaudio2/files/patch-src_w32.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/w32.cpp.orig	2015-03-28 15:21:41 UTC
-+++ src/w32.cpp
-@@ -21,7 +21,7 @@
- #include <ccaudio2-config.h>
- #include <math.h>
- #ifdef  HAVE_ENDIAN_H
--#include <endian.h>
-+#include <sys/endian.h>
- #endif
- #define MAX_DEVICES 1
- 
diff --git a/audio/ccaudio2/files/patch-utils_audiotool.cpp b/audio/ccaudio2/files/patch-utils_audiotool.cpp
deleted file mode 100644
index 09d6efafbf3a..000000000000
--- a/audio/ccaudio2/files/patch-utils_audiotool.cpp
+++ /dev/null
@@ -1,14 +0,0 @@
---- utils/audiotool.cpp.orig	2015-11-03 08:30:29 UTC
-+++ utils/audiotool.cpp
-@@ -20,7 +20,10 @@
- #include <ccaudio2.h>
- #include <ccaudio2-config.h>
- #ifdef  HAVE_ENDIAN_H
--#include <endian.h>
-+#include <sys/endian.h>
-+#define __LITTLE_ENDIAN (_BYTE_ORDER == _LITTLE_ENDIAN)
-+#define __BIG_ENDIAN    (_BYTE_ORDER == _BIG_ENDIAN)
-+#define __BYTE_ORDER _BYTE_ORDER
- #endif
- 
- #if !defined(__BIG_ENDIAN)
diff --git a/audio/ccaudio2/pkg-descr b/audio/ccaudio2/pkg-descr
deleted file mode 100644
index c22857e5fc54..000000000000
--- a/audio/ccaudio2/pkg-descr
+++ /dev/null
@@ -1,13 +0,0 @@
-GNU ccAudio2 is a stand-alone portable C++ class framework for manipulating
-audio data.  GNU ccAudio2 offers platform indipendent classes for directly
-accessing audio files from disk. These classes are endian aware and also,
-unlike some audio file manipulation libraries, content format aware;
-ccAudio treats audio as an array of descreat sample points rather than simply
-as binary data. ccAudio can also manipulate header information such as
-annotations. GNU ccAudio2 supports sun audio, raw samples, and RIFF encoded
-audio data.  In addition to manipulating audio thru disk files, GNU ccAudio2
-can provide audio processing of sample sets in memory. This includes generation
-of pure tones, energy measurement of audio poackets, and software codec
-conversions.  GNU ccAudio2 includes a framework for developing plugin audio
-codecs and is intended to be a carrier for freely licensed audio codecs as well
-as to expand into a general purpose audio/signal processing C++ library.
diff --git a/audio/ccaudio2/pkg-plist b/audio/ccaudio2/pkg-plist
deleted file mode 100644
index c7de17e64447..000000000000
--- a/audio/ccaudio2/pkg-plist
+++ /dev/null
@@ -1,10 +0,0 @@
-bin/audiotool
-bin/tonetool
-etc/tones.conf
-include/ccaudio2.h
-lib/libccaudio2.so
-lib/libccaudio2.so.2
-lib/libccaudio2.so.2.0.6
-libdata/pkgconfig/ccaudio2.pc
-share/man/man1/audiotool.1.gz
-share/man/man1/tonetool.1.gz