Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jun 2023 21:24:50 GMT
From:      Rene Ladan <rene@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 0252dfa72157 - main - devel/libdlna: Remove expired port
Message-ID:  <202306302124.35ULOoVC079104@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0252dfa72157febffcfc64f0dd9f81de226a9804

commit 0252dfa72157febffcfc64f0dd9f81de226a9804
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2023-06-30 21:24:41 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2023-06-30 21:24:41 +0000

    devel/libdlna: Remove expired port
    
    2023-06-30 devel/libdlna: Abandonware, development discontinued
---
 MOVED                                        |  1 +
 devel/Makefile                               |  1 -
 devel/libdlna/Makefile                       | 39 ---------------
 devel/libdlna/distinfo                       |  2 -
 devel/libdlna/files/patch-Makefile           | 11 -----
 devel/libdlna/files/patch-ffmpeg-header-move | 71 ----------------------------
 devel/libdlna/files/patch-src-profiles.c     | 53 ---------------------
 devel/libdlna/pkg-descr                      |  4 --
 devel/libdlna/pkg-plist                      |  6 ---
 9 files changed, 1 insertion(+), 187 deletions(-)

diff --git a/MOVED b/MOVED
index 7d1557b77cf0..e11f94bcfbd8 100644
--- a/MOVED
+++ b/MOVED
@@ -7743,3 +7743,4 @@ devel/electron19||2023-06-30|Has expired: EOLed upstream, switch to newer versio
 devel/electron21||2023-06-30|Has expired: EOLed upstream, switch to newer version
 devel/ccache-memcached||2023-06-30|Has expired: Unmaintained fork that targets a very old version of ccache
 devel/ccache-memcached-static||2023-06-30|Has expired: Unmaintained fork that targets a very old version of ccache
+devel/libdlna||2023-06-30|Has expired: Abandonware, development discontinued
diff --git a/devel/Makefile b/devel/Makefile
index dcd1aead2ff5..e4ce8bc34fbe 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1199,7 +1199,6 @@
     SUBDIR += libdispatch
     SUBDIR += libdistance
     SUBDIR += libdlmalloc
-    SUBDIR += libdlna
     SUBDIR += libdnsres
     SUBDIR += libdombey
     SUBDIR += libdparse
diff --git a/devel/libdlna/Makefile b/devel/libdlna/Makefile
deleted file mode 100644
index 156489225f07..000000000000
--- a/devel/libdlna/Makefile
+++ /dev/null
@@ -1,39 +0,0 @@
-PORTNAME=	libdlna
-PORTVERSION=	0.2.3
-PORTREVISION=	14
-CATEGORIES=	devel
-MASTER_SITES=	http://libdlna.geexbox.org/releases/ \
-		LOCAL/ehaupt
-
-MAINTAINER=	malus.x@gmail.com
-COMMENT=	Reference DLNA open-source implementation
-WWW=		https://libdlna.geexbox.org/
-
-LICENSE=	LGPL21+
-LICENSE_FILE=	${WRKSRC}/COPYING
-
-DEPRECATED=	Abandonware, development discontinued
-EXPIRATION_DATE=2023-06-30
-
-LIB_DEPENDS=	libavcodec.so.58:multimedia/ffmpeg4
-
-HAS_CONFIGURE=	yes
-USES=		gmake pathfix pkgconfig tar:bzip2
-PATHFIX_MAKEFILEIN=	Makefile
-USE_LDCONFIG=	yes
-MAKE_JOBS_UNSAFE=	yes
-
-CFLAGS+=	-I${LOCALBASE}/ffmpeg4/include
-LDFLAGS+=	-L${LOCALBASE}/ffmpeg4/lib
-
-CONFIGURE_ARGS=	--with-ffmpeg-dir="${LOCALBASE}/ffmpeg4" \
-		--prefix="${PREFIX}" --disable-optimize
-
-post-extract:
-	${REINPLACE_CMD} -e 's|CODEC_ID|AV_CODEC_ID|g' \
-		${WRKSRC}/src/*.c
-
-post-install:
-	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libdlna.so
-
-.include <bsd.port.mk>
diff --git a/devel/libdlna/distinfo b/devel/libdlna/distinfo
deleted file mode 100644
index 4e308962e34c..000000000000
--- a/devel/libdlna/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (libdlna-0.2.3.tar.bz2) = 8eb7941cbae088026dd394fbe6f465cae6dd848edc430c6313f04cf57d1192b4
-SIZE (libdlna-0.2.3.tar.bz2) = 37142
diff --git a/devel/libdlna/files/patch-Makefile b/devel/libdlna/files/patch-Makefile
deleted file mode 100644
index a28e8fc2e2af..000000000000
--- a/devel/libdlna/files/patch-Makefile
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.orig	2007-11-26 20:47:43 UTC
-+++ Makefile
-@@ -19,7 +19,7 @@ EXTRADIST = AUTHORS \
- SUBDIRS = src \
- 
- CFLAGS += -Isrc
--LDFLAGS += -Lsrc -ldlna
-+LDFLAGS := -Lsrc -ldlna ${LDFLAGS}
- 
- ifeq ($(BUILD_STATIC),yes)
-   LDFLAGS += $(EXTRALIBS)
diff --git a/devel/libdlna/files/patch-ffmpeg-header-move b/devel/libdlna/files/patch-ffmpeg-header-move
deleted file mode 100644
index 07dd2104d162..000000000000
--- a/devel/libdlna/files/patch-ffmpeg-header-move
+++ /dev/null
@@ -1,71 +0,0 @@
-diff -up configure.ff configure
---- configure.ff	2008-09-27 22:29:07.000000000 +0200
-+++ configure	2008-09-27 22:29:31.000000000 +0200
-@@ -607,12 +607,15 @@ fi
- if [ -n "$ffmpegdir" ]; then
-   check_cflags -I$ffmpegdir
-   check_ldflags -L$ffmpegdir
-+elif [ ! `pkg-config --exists libavcodec libavformat` ]; then
-+  check_cflags `pkg-config --cflags libavcodec libavformat`
-+  check_ldflags `pkg-config --libs-only-L libavcodec libavformat`
- fi
- 
- echolog "Checking for libavformat ..."
--check_lib ffmpeg/avformat.h av_register_all -lavformat || die "Error, can't find libavformat !"
-+check_lib libavformat/avformat.h av_register_all -lavformat || die "Error, can't find libavformat !"
- echolog "Checking for libavcodec ..."
--check_lib ffmpeg/avcodec.h avcodec_register_all -lavcodec || die "Error, can't find libavcodec !"
-+check_lib libavcodec/avcodec.h avcodec_register_all -lavcodec || die "Error, can't find libavcodec !"
- 
- #################################################
- #   version
-diff -up src/av_mpeg4_part10.c.ff src/av_mpeg4_part10.c
---- src/av_mpeg4_part10.c.ff	2007-11-26 21:47:43.000000000 +0100
-+++ src/av_mpeg4_part10.c	2008-09-27 22:29:07.000000000 +0200
-@@ -26,7 +26,7 @@
- #include <sys/stat.h>
- #include <fcntl.h>
- 
--#include <ffmpeg/avcodec.h>
-+#include <libavcodec/avcodec.h>
- 
- #include "dlna_internals.h"
- #include "profiles.h"
-diff -up src/av_mpeg4_part2.c.ff src/av_mpeg4_part2.c
---- src/av_mpeg4_part2.c.ff	2007-11-26 21:47:43.000000000 +0100
-+++ src/av_mpeg4_part2.c	2008-09-27 22:29:07.000000000 +0200
-@@ -26,7 +26,7 @@
- #include <sys/stat.h>
- #include <fcntl.h>
- 
--#include <ffmpeg/avcodec.h>
-+#include <libavcodec/avcodec.h>
- 
- #include "dlna_internals.h"
- #include "profiles.h"
-diff -up src/containers.c.ff src/containers.c
---- src/containers.c.ff	2007-11-26 21:47:43.000000000 +0100
-+++ src/containers.c	2008-09-27 22:29:07.000000000 +0200
-@@ -4,7 +4,7 @@
- #include <sys/stat.h>
- #include <fcntl.h>
- 
--#include <ffmpeg/avformat.h>
-+#include <libavformat/avformat.h>
- 
- #include "containers.h"
- #include "profiles.h"
-diff -up src/profiles.h.ff src/profiles.h
---- src/profiles.h.ff	2007-11-26 21:47:43.000000000 +0100
-+++ src/profiles.h	2008-09-27 22:29:07.000000000 +0200
-@@ -22,8 +22,8 @@
- #ifndef _PROFILES_H_
- #define _PROFILES_H_
- 
--#include <ffmpeg/avcodec.h>
--#include <ffmpeg/avformat.h>
-+#include <libavcodec/avcodec.h>
-+#include <libavformat/avformat.h>
- 
- #include "dlna_internals.h"
- #include "containers.h"
diff --git a/devel/libdlna/files/patch-src-profiles.c b/devel/libdlna/files/patch-src-profiles.c
deleted file mode 100644
index 68bc9f5bbe89..000000000000
--- a/devel/libdlna/files/patch-src-profiles.c
+++ /dev/null
@@ -1,53 +0,0 @@
---- src/profiles.c.orig	2007-11-26 21:47:43.000000000 +0100
-+++ src/profiles.c	2015-07-03 22:44:50.380315167 +0200
-@@ -204,14 +204,24 @@ av_profile_get_codecs (AVFormatContext *
- 
-   for (i = 0; i < ctx->nb_streams; i++)
-   {
-+#if LIBAVFORMAT_BUILD < 4621
-     if (audio_stream == -1 &&
-         ctx->streams[i]->codec->codec_type == CODEC_TYPE_AUDIO)
-+#else
-+    if (audio_stream == -1 &&
-+        ctx->streams[i]->codec->codec_type == AVMEDIA_TYPE_AUDIO)
-+#endif 
-     {
-       audio_stream = i;
-       continue;
-     }
-+#if LIBAVFORMAT_BUILD < 4621
-     else if (video_stream == -1 &&
-              ctx->streams[i]->codec->codec_type == CODEC_TYPE_VIDEO)
-+#else
-+    else if (video_stream == -1 &&
-+             ctx->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO)
-+#endif
-     {
-       video_stream = i;
-       continue;
-@@ -280,14 +290,14 @@ dlna_guess_media_profile (dlna_t *dlna, 
-   if (!dlna->inited)
-     dlna = dlna_init ();
-   
--  if (av_open_input_file (&ctx, filename, NULL, 0, NULL) != 0)
-+  if (avformat_open_input (&ctx, filename, NULL, NULL) != 0)
-   {
-     if (dlna->verbosity)
-       fprintf (stderr, "can't open file: %s\n", filename);
-     return NULL;
-   }
- 
--  if (av_find_stream_info (ctx) < 0)
-+  if (avformat_find_stream_info (ctx, NULL) < 0)
-   {
-     if (dlna->verbosity)
-       fprintf (stderr, "can't find stream info\n");
-@@ -334,7 +344,7 @@ dlna_guess_media_profile (dlna_t *dlna, 
-     p = p->next;
-   }
- 
--  av_close_input_file (ctx);
-+  avformat_close_input (ctx);
-   free (codecs);
-   return profile;
- }
diff --git a/devel/libdlna/pkg-descr b/devel/libdlna/pkg-descr
deleted file mode 100644
index 6fed208d1344..000000000000
--- a/devel/libdlna/pkg-descr
+++ /dev/null
@@ -1,4 +0,0 @@
-libdlna aims at being the reference open-source implementation of DLNA (Digital
-Living Network Alliance) standards. Its primary goal is to provide DLNA support
-to uShare, an embedded DLNA & UPnP A/V Media Server, but it will be used to
-build both DLNA servers and players in the long term.
diff --git a/devel/libdlna/pkg-plist b/devel/libdlna/pkg-plist
deleted file mode 100644
index 87fd0034a77f..000000000000
--- a/devel/libdlna/pkg-plist
+++ /dev/null
@@ -1,6 +0,0 @@
-include/dlna.h
-lib/libdlna.a
-lib/libdlna.so
-lib/libdlna.so.0
-lib/libdlna.so.0.2.3
-libdata/pkgconfig/libdlna.pc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306302124.35ULOoVC079104>