pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia Remove gmediaserver - broken due to depende...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b468a8107601
branches:  trunk
changeset: 442164:b468a8107601
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu Nov 19 18:37:50 2020 +0000

description:
Remove gmediaserver - broken due to dependencies, dead upstream

diffstat:

 multimedia/Makefile                                    |   3 +-
 multimedia/gmediaserver/DESCR                          |  22 -----
 multimedia/gmediaserver/Makefile                       |  55 -------------
 multimedia/gmediaserver/PLIST                          |   6 -
 multimedia/gmediaserver/distinfo                       |  10 --
 multimedia/gmediaserver/files/gmediaserver.conf        |  15 ---
 multimedia/gmediaserver/files/gmediaserver.sh          |  76 ------------------
 multimedia/gmediaserver/patches/patch-aa               |  16 ---
 multimedia/gmediaserver/patches/patch-ab               |  18 ----
 multimedia/gmediaserver/patches/patch-src_contentdir.c |  14 ---
 multimedia/gmediaserver/patches/patch-src_upnp.c       |  65 ---------------
 11 files changed, 1 insertions(+), 299 deletions(-)

diffs (truncated from 354 to 300 lines):

diff -r 049b3d570787 -r b468a8107601 multimedia/Makefile
--- a/multimedia/Makefile       Thu Nov 19 18:32:40 2020 +0000
+++ b/multimedia/Makefile       Thu Nov 19 18:37:50 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.305 2020/11/02 10:16:57 nia Exp $
+# $NetBSD: Makefile,v 1.306 2020/11/19 18:37:50 nia Exp $
 #
 
 COMMENT=       Multimedia utilities
@@ -40,7 +40,6 @@
 SUBDIR+=       frei0r
 SUBDIR+=       fxtv
 SUBDIR+=       ggrab
-SUBDIR+=       gmediaserver
 SUBDIR+=       gmencoder
 SUBDIR+=       gmp-api
 SUBDIR+=       gmplayer
diff -r 049b3d570787 -r b468a8107601 multimedia/gmediaserver/DESCR
--- a/multimedia/gmediaserver/DESCR     Thu Nov 19 18:32:40 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-GMediaServer is a UPnP compatible media server for the GNU system. It is part of
-the GNU project.
-
-GMediaServer serves audio and video files to certain network connected media
-players. Most hardware media players only play music and/or video--they don't
-provide the media themselves. Those media files have to come from a device on
-the network. GMediaServer is a server for such UPnP compatible media players,
-including:
-
-    * NETGEAR Wireless Digital Music Player (MP101)
-    * Linksys(R) Wireless-B Music System (WMLS11B)
-    * Linksys(R) Wireless-B Media Link for Music (WML11B)
-    * Philips Streamium SL300i
-    * Philips Streamium RC9800i
-    * Omnifi DMS1
-    * SMC EZ Stream 11Mbps Wireless Audio Adaptor (SMCWAA-B)
-    * D-Link DSM-520 Wireless HD Media Player
-    * Roku SoundBridge Network Music Player M1000
-    * Terratec NOXON 2 audio
-
-Other UPnP media players (including software based) may work as well--see the
-manual for a more complete list.
diff -r 049b3d570787 -r b468a8107601 multimedia/gmediaserver/Makefile
--- a/multimedia/gmediaserver/Makefile  Thu Nov 19 18:32:40 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,55 +0,0 @@
-# $NetBSD: Makefile,v 1.20 2020/08/31 18:10:27 wiz Exp $
-
-DISTNAME=              gmediaserver-0.13.0
-PKGREVISION=           14
-CATEGORIES=            multimedia net
-MASTER_SITES=          http://download.savannah.gnu.org/releases/gmediaserver/
-
-MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=              https://www.gnu.org/software/gmediaserver/
-COMMENT=               UPnP compatible media server for the GNU system
-LICENSE=               gnu-gpl-v3
-
-USE_TOOLS+=            perl pkg-config gmake makeinfo msgfmt
-GNU_CONFIGURE=         yes
-INFO_FILES=            yes
-USE_PKGLOCALEDIR=      yes
-
-CONFIGURE_ARGS+=       --with-id3lib=${BUILDLINK_PREFIX.id3lib}
-CONFIGURE_ARGS+=       --with-libupnp=${BUILDLINK_PREFIX.libupnp}
-
-EGDIR=                 share/examples/gmediaserver
-CFGNAME=               gmediaserver.conf
-CFGFILE=               ${PKG_SYSCONFDIR}/${CFGNAME}
-
-CONF_FILES=            ${PREFIX}/${EGDIR}/${CFGNAME} ${CFGFILE}
-INSTALLATION_DIRS+=    ${EGDIR}
-OWN_DIRS_PERMS+=       ${VARBASE}/gmediaserver ${GMEDIA_USER} \
-                       ${GMEDIA_GROUP} 750
-RCD_SCRIPTS=           gmediaserver
-
-GMEDIA_USER?=                  gmedia
-GMEDIA_GROUP?=                 gmedia
-
-PKG_GROUPS_VARS+=              GMEDIA_GROUP
-PKG_USERS_VARS+=               GMEDIA_USER
-
-PKG_GROUPS=                    ${GMEDIA_GROUP}
-PKG_USERS=                     ${GMEDIA_USER}:${GMEDIA_GROUP}
-PKG_GECOS.${GMEDIA_USER}=      GMediaServer pseudo-user
-PKG_SHELL.${GMEDIA_USER}=      ${SH}
-
-BUILD_DEFS+=   VARBASE
-FILES_SUBST+=  CFGFILE=${CFGFILE:Q}
-FILES_SUBST+=  GMEDIA_GROUP=${GMEDIA_GROUP:Q} GMEDIA_USER=${GMEDIA_USER:Q}
-
-post-install:
-       ${INSTALL_DATA} ${FILESDIR}/${CFGNAME} ${DESTDIR}${PREFIX}/${EGDIR}
-
-.include "../../audio/id3lib/buildlink3.mk"
-.include "../../audio/taglib/buildlink3.mk"
-.include "../../converters/libiconv/buildlink3.mk"
-.include "../../devel/gettext-lib/buildlink3.mk"
-.include "../../net/libupnp/buildlink3.mk"
-.include "../../sysutils/file/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff -r 049b3d570787 -r b468a8107601 multimedia/gmediaserver/PLIST
--- a/multimedia/gmediaserver/PLIST     Thu Nov 19 18:32:40 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-@comment $NetBSD: PLIST,v 1.3 2014/03/11 14:05:06 jperkin Exp $
-bin/gmediaserver
-info/gmediaserver.info
-man/man1/gmediaserver.1
-share/examples/gmediaserver/gmediaserver.conf
-share/locale/sv/LC_MESSAGES/gmediaserver.mo
diff -r 049b3d570787 -r b468a8107601 multimedia/gmediaserver/distinfo
--- a/multimedia/gmediaserver/distinfo  Thu Nov 19 18:32:40 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-$NetBSD: distinfo,v 1.5 2015/11/03 23:54:25 agc Exp $
-
-SHA1 (gmediaserver-0.13.0.tar.gz) = 5b868bc3c3d3bf0c2c550a4fc618c586a2640799
-RMD160 (gmediaserver-0.13.0.tar.gz) = 57fb849172d28e8adcff2234c787d552c16bde9a
-SHA512 (gmediaserver-0.13.0.tar.gz) = c1c649b84972e3de2f50f6f912e094f13a3ccd08abd218f21255f94fe04390864f5bfca37c3a336c04f92062c2758a797ce1bc4a8e9f118dfe31e4536fcc6bb2
-Size (gmediaserver-0.13.0.tar.gz) = 668281 bytes
-SHA1 (patch-aa) = 8913274c78c646a3dd3e26a0b33d309697302eb9
-SHA1 (patch-ab) = 09b60dc2cfed813d823f3b6bfeffd5bdc4d14037
-SHA1 (patch-src_contentdir.c) = 8269681895e5c9aa72f53d5251a6049c690dd11f
-SHA1 (patch-src_upnp.c) = 8d4f66f1aa45b14d1011e306e459100a80c0b538
diff -r 049b3d570787 -r b468a8107601 multimedia/gmediaserver/files/gmediaserver.conf
--- a/multimedia/gmediaserver/files/gmediaserver.conf   Thu Nov 19 18:32:40 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-#      $NetBSD: gmediaserver.conf,v 1.1 2013/02/16 15:10:46 tron Exp $
-#
-#      Configuration file for GMediaServer
-#
-
-#
-#      Extra options which should be passed to GMediaServer. Please see
-#      "man 1 gmediaserver" for a full list of options
-#
-#options="-i wm0 --profile=ps3"
-
-#
-#      The list of directories with files that should be made available.
-#
-#directories="/video"
diff -r 049b3d570787 -r b468a8107601 multimedia/gmediaserver/files/gmediaserver.sh
--- a/multimedia/gmediaserver/files/gmediaserver.sh     Thu Nov 19 18:32:40 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,76 +0,0 @@
-#!@RCD_SCRIPTS_SHELL@
-#
-# $NetBSD: gmediaserver.sh,v 1.3 2013/02/16 15:21:24 tron Exp $
-#
-# PROVIDE: gmediaserver
-# REQUIRE: DAEMON
-
-. /etc/rc.subr
-
-name="gmediaserver"
-rcvar="${name}"
-command="@PREFIX@/bin/${name}"
-pidfile="@VARBASE@/gmediaserver/${name}.pid"
-command_flags="-b --pid-file=${pidfile} -o @VARBASE@/${name}/${name}.log"
-required_files="@CFGFILE@"
-start_cmd="gmediaserver_start"
-extra_commands="rescan"
-rescan_cmd="gmediaserver_rescan"
-
-gmediaserver_start()
-{
-       directories=/nonexistent
-       options=
-       if [ -f "@CFGFILE@" ]; then
-               . "@CFGFILE@"
-       fi
-       @ECHO@ "Starting ${name}."
-       @SU@ @GMEDIA_USER@ -c "$command $command_flags $options $directories"
-}
-
-gmediaserver_rescan()
-{
-       if [ -f "${pidfile}" ] ; then
-               @ECHO@ "Signalling ${name} to rescan directories."
-               kill -USR1 `@CAT@ "${pidfile}"`
-       fi
-}
-
-if [ -f /etc/rc.subr -a -f /etc/rc.conf -a -f /etc/rc.d/DAEMON ]; then
-       load_rc_config ${name}
-       run_rc_command "$1"
-else
-       if [ -f /etc/rc.conf ]; then
-               . /etc/rc.conf
-       fi
-       case $1 in
-       start)
-               gmediaserver_start
-               ;;
-
-       stop)
-               if [ -f "${pidfile}" ] ; then
-                       @ECHO@ "Stopping ${name}."
-                       kill `@CAT@ "${pidfile}"`
-               else
-                       @ECHO@ "${name} not running?"
-                       exit 1
-               fi
-               ;;
-
-       restart)
-               "$0" stop
-               exec "$0" start
-               ;;
-
-       rescan)
-               gmediaserver_rescan
-               ;;
-
-       *)
-               @ECHO@ "Usage: $0 {start|stop|restart|rescan}" 1>&2
-               exit 64
-               ;;
-
-       esac
-fi
diff -r 049b3d570787 -r b468a8107601 multimedia/gmediaserver/patches/patch-aa
--- a/multimedia/gmediaserver/patches/patch-aa  Thu Nov 19 18:32:40 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2010/05/20 04:27:33 obache Exp $
-
-Ignore CIGPIPE for no MSG_NOSIGNAL platforms.
-
---- src/main.c.orig    2007-10-20 09:41:37.000000000 +0000
-+++ src/main.c
-@@ -403,6 +403,9 @@ main(int argc, char **argv)
-     if (!background)
-         write_pid_file(pidfilename, getpid(), false);
- 
-+#ifndef MSG_NOSIGNAL
-+    signal(SIGPIPE, SIG_IGN);
-+#endif
-     signalaction.sa_handler = dummy_signal_handler;
-     if (sigemptyset(&signalaction.sa_mask) < 0)
-       die(_("cannot empty signal set - %s\n"), errstr);
diff -r 049b3d570787 -r b468a8107601 multimedia/gmediaserver/patches/patch-ab
--- a/multimedia/gmediaserver/patches/patch-ab  Thu Nov 19 18:32:40 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-$NetBSD: patch-ab,v 1.2 2012/04/13 23:52:11 obache Exp $
-
-* for newer version of libmagic.
-
---- src/metadata.c.orig        2007-10-20 09:41:32.000000000 +0000
-+++ src/metadata.c
-@@ -1018,7 +1018,10 @@ scan_entry(const char *fullpath, const c
- bool
- init_metadata(void)
- {
--    magic_cookie = magic_open(MAGIC_SYMLINK|MAGIC_MIME|MAGIC_ERROR);
-+#ifndef MAGIC_MIME_TYPE /* old version */
-+#define MAGIC_MIME_TYPE MAGIC_MIME
-+#endif
-+    magic_cookie = magic_open(MAGIC_SYMLINK|MAGIC_MIME_TYPE|MAGIC_ERROR);
-     if (magic_cookie == NULL) {
-         warn(_("cannot initialize magic library\n"));
-         return false;
diff -r 049b3d570787 -r b468a8107601 multimedia/gmediaserver/patches/patch-src_contentdir.c
--- a/multimedia/gmediaserver/patches/patch-src_contentdir.c    Thu Nov 19 18:32:40 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-$NetBSD: patch-src_contentdir.c,v 1.1 2012/04/13 23:52:11 obache Exp $
-
-* assert.h for assert(3)
-
---- src/contentdir.c.orig      2007-10-20 07:59:38.000000000 +0000
-+++ src/contentdir.c
-@@ -22,6 +22,7 @@
- #include <stdint.h>           /* Gnulib/C99 */
- #include <inttypes.h>         /* ? */
- #include <sys/stat.h>         /* POSIX */
-+#include <assert.h>
- #include "gettext.h"          /* Gnulib/gettext */
- #define _(s) gettext(s)
- #define N_(s) gettext_noop(s)
diff -r 049b3d570787 -r b468a8107601 multimedia/gmediaserver/patches/patch-src_upnp.c
--- a/multimedia/gmediaserver/patches/patch-src_upnp.c  Thu Nov 19 18:32:40 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,65 +0,0 @@
-$NetBSD: patch-src_upnp.c,v 1.2 2013/11/21 09:05:08 obache Exp $
-
-* API change for libupnp>=1.6.7
-
---- src/upnp.c.orig    2007-10-28 08:20:43.000000000 +0000
-+++ src/upnp.c
-@@ -25,6 +25,7 @@
- #include <assert.h>           /* C89 */
- #include <netinet/in.h>               /* ?; inet_ntoa */
- #include <arpa/inet.h>                /* ?; inet_ntoa */
-+#include <netdb.h>



Home | Main Index | Thread Index | Old Index