public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/prefix:master commit in: media-libs/libdv/, media-libs/libdv/files/
@ 2019-06-18 13:02 Fabian Groffen
  0 siblings, 0 replies; only message in thread
From: Fabian Groffen @ 2019-06-18 13:02 UTC (permalink / raw
  To: gentoo-commits

commit:     b3e23092a72b3390bfe4823cec9b383a242b8c29
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 18 13:01:56 2019 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Tue Jun 18 13:01:56 2019 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=b3e23092

media-libs/libdv: migrated to gx86

Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 media-libs/libdv/Manifest                        |   2 -
 media-libs/libdv/files/libdv-0.99-2.6.patch      |  17 ---
 media-libs/libdv/files/libdv-1.0.0-darwin.patch  |  52 --------
 media-libs/libdv/files/libdv-1.0.0-solaris.patch | 153 -----------------------
 media-libs/libdv/libdv-1.0.0-r3.ebuild           |  52 --------
 media-libs/libdv/metadata.xml                    |  10 --
 6 files changed, 286 deletions(-)

diff --git a/media-libs/libdv/Manifest b/media-libs/libdv/Manifest
deleted file mode 100644
index 29ddb2bf12..0000000000
--- a/media-libs/libdv/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST libdv-1.0.0-pic.patch.bz2 9771 BLAKE2B b8a597b5fb5facab05845dae1d08a84a17067804ef873b97b7f975a96c622a5cf3b2bbb17d3f5a364dd1aba1afbf3dbf2b18695f9ae8ccf3fcc478b3d7a17a4f SHA512 18fbc341f9a9349f2325c4cbdf2fcf60bf0b35e2efeaacb9a3e541ace4ab2ffcf64d18409b2d76fd40c6096a69ffd151c2bdc8c33411d1640f150202eef12021
-DIST libdv-1.0.0.tar.gz 574565 BLAKE2B 42d17b07501fa508630afd1cdbaee9378f657a4ee4b77666f1a147ddfcf5a9d67d90e0a6da53bfe4f2b5418984579322565c9e8c76516e8193e75bd4751a731c SHA512 19887a6f452fa7da8924901ad841f5c4a434a3bde56c932ddb43717592aa744281e3a8ad220231e11d7e6bc3b0e704952a8324e5f85d4e088675edceeeca7dc8

diff --git a/media-libs/libdv/files/libdv-0.99-2.6.patch b/media-libs/libdv/files/libdv-0.99-2.6.patch
deleted file mode 100644
index c2663be353..0000000000
--- a/media-libs/libdv/files/libdv-0.99-2.6.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- libdv-0.99/libdv/enc_input.c	2002-12-31 23:04:02.000000000 +0000
-+++ libdv-0.99/libdv/enc_input.c.plasmaroo	2003-12-30 16:42:19.000000000 +0000
-@@ -48,13 +48,13 @@
- 
- #if HAVE_DEV_VIDEO
- #include <sys/types.h>
--#include <linux/videodev.h>
- #include <sys/time.h>
- #include <unistd.h>
- #include <fcntl.h>
- #include <sys/stat.h>
- #include <sys/ioctl.h>
- #include <sys/mman.h>
-+#include <linux/videodev.h>
- #endif
- 
- // #define ARCH_X86 0

diff --git a/media-libs/libdv/files/libdv-1.0.0-darwin.patch b/media-libs/libdv/files/libdv-1.0.0-darwin.patch
deleted file mode 100644
index c6d48d5a69..0000000000
--- a/media-libs/libdv/files/libdv-1.0.0-darwin.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-* grobian@gentoo.org: Darwin 8 lacks sched_setscheduler
-
-https://sourceforge.net/tracker/index.php?func=detail&aid=2606558&group_id=4393&atid=304393
-
---- configure.ac
-+++ configure.ac
-@@ -244,7 +244,7 @@
- 
- dnl Checks for library functions.
- AC_FUNC_MMAP
--AC_CHECK_FUNCS(gettimeofday)
-+AC_CHECK_FUNCS(gettimeofday sched_get_priority_max sched_setscheduler)
- 
- AC_SUBST(ac_aux_dir)
- AC_SUBST(RPM_RELEASE)
---- configure
-+++ configure
-@@ -22621,7 +22621,7 @@
- rm -f conftest.mmap
- 
- 
--for ac_func in gettimeofday
-+for ac_func in gettimeofday sched_get_priority_max sched_setscheduler
- do
- as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
- { echo "$as_me:$LINENO: checking for $ac_func" >&5
---- config.h.in
-+++ config.h.in
-@@ -24,6 +24,12 @@
- /* Define to 1 if you have the `gettimeofday' function. */
- #undef HAVE_GETTIMEOFDAY
- 
-+/* Define to 1 if you have the `sched_get_priority_max' function. */
-+#undef HAVE_SCHED_GET_PRIORITY_MAX
-+
-+/* Define to 1 if you have the `sched_setscheduler' function. */
-+#undef HAVE_SCHED_SETSCHEDULER
-+
- /* Define as 1 if you have gtk */
- #undef HAVE_GTK
- 
---- encodedv/dvconnect.c
-+++ encodedv/dvconnect.c
-@@ -860,7 +860,7 @@
- 
- int rt_raisepri (int pri)
- {
--#ifdef _SC_PRIORITY_SCHEDULING
-+#if defined(_SC_PRIORITY_SCHEDULING) && defined(HAVE_SCHED_GET_PRIORITY_MAX) && defined(HAVE_SCHED_SETSCHEDULER)
- 	struct sched_param scp;
- 
- 	/*

diff --git a/media-libs/libdv/files/libdv-1.0.0-solaris.patch b/media-libs/libdv/files/libdv-1.0.0-solaris.patch
deleted file mode 100644
index e9cb440022..0000000000
--- a/media-libs/libdv/files/libdv-1.0.0-solaris.patch
+++ /dev/null
@@ -1,153 +0,0 @@
-* grobian@gentoo.org: patches for Solaris, include sys/filio.h for
-                      _IOWR, need -lrt for sched_* funcs
-
-https://sourceforge.net/tracker/index.php?func=detail&aid=2603455&group_id=4393&atid=304393
-
---- configure.ac
-+++ configure.ac
-@@ -208,6 +208,8 @@
- 
- 
- AC_CHECK_LIB(m, sqrt)
-+# Solaris has sched_* in -lrt
-+AC_CHECK_LIB(rt, sched_get_priority_max)
- 
- dnl Don't bother with popt on non-gcc build, because we make heavy use of 
- dnl gcc struct initialization extension in our popt code.  (Could be fixed)
-@@ -231,7 +231,7 @@
- AC_PATH_X
- AC_HEADER_STDC
- AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h linux/videodev.h sys/soundcard.h \
--endian.h machine/endian.h inttypes.h)
-+endian.h machine/endian.h inttypes.h sys/filio.h)
- 
- dnl Checks for typedefs, structures, and compiler characteristics.
- AC_C_CONST
---- configure
-+++ configure
-@@ -20895,6 +20895,92 @@
- 
- fi
- 
-+{ echo "$as_me:$LINENO: checking for sched_get_priority_max in -lrt" >&5
-+echo $ECHO_N "checking for sched_get_priority_max in -lrt... $ECHO_C" >&6; }
-+if test "${ac_cv_lib_rt_sched_get_priority_max+set}" = set; then
-+  echo $ECHO_N "(cached) $ECHO_C" >&6
-+else
-+  ac_check_lib_save_LIBS=$LIBS
-+LIBS="-lrt  $LIBS"
-+cat >conftest.$ac_ext <<_ACEOF
-+/* confdefs.h.  */
-+_ACEOF
-+cat confdefs.h >>conftest.$ac_ext
-+cat >>conftest.$ac_ext <<_ACEOF
-+/* end confdefs.h.  */
-+
-+/* Override any GCC internal prototype to avoid an error.
-+   Use char because int might match the return type of a GCC
-+   builtin and then its argument prototype would still apply.  */
-+#ifdef __cplusplus
-+extern "C"
-+#endif
-+char sched_get_priority_max ();
-+int
-+main ()
-+{
-+return sched_get_priority_max ();
-+  ;
-+  return 0;
-+}
-+_ACEOF
-+rm -f conftest.$ac_objext conftest$ac_exeext
-+if { (ac_try="$ac_link"
-+case "(($ac_try" in
-+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-+  *) ac_try_echo=$ac_try;;
-+esac
-+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-+  (eval "$ac_link") 2>conftest.er1
-+  ac_status=$?
-+  grep -v '^ *+' conftest.er1 >conftest.err
-+  rm -f conftest.er1
-+  cat conftest.err >&5
-+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-+  (exit $ac_status); } &&
-+	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
-+  { (case "(($ac_try" in
-+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-+  *) ac_try_echo=$ac_try;;
-+esac
-+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-+  (eval "$ac_try") 2>&5
-+  ac_status=$?
-+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-+  (exit $ac_status); }; } &&
-+	 { ac_try='test -s conftest$ac_exeext'
-+  { (case "(($ac_try" in
-+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-+  *) ac_try_echo=$ac_try;;
-+esac
-+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-+  (eval "$ac_try") 2>&5
-+  ac_status=$?
-+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-+  (exit $ac_status); }; }; then
-+  ac_cv_lib_rt_sched_get_priority_max=yes
-+else
-+  echo "$as_me: failed program was:" >&5
-+sed 's/^/| /' conftest.$ac_ext >&5
-+
-+	ac_cv_lib_rt_sched_get_priority_max=no
-+fi
-+
-+rm -f core conftest.err conftest.$ac_objext \
-+      conftest$ac_exeext conftest.$ac_ext
-+LIBS=$ac_check_lib_save_LIBS
-+fi
-+{ echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sched_get_priority_max" >&5
-+echo "${ECHO_T}$ac_cv_lib_rt_sched_get_priority_max" >&6; }
-+if test $ac_cv_lib_rt_sched_get_priority_max = yes; then
-+  cat >>confdefs.h <<_ACEOF
-+#define HAVE_LIBRT 1
-+_ACEOF
-+
-+  LIBS="-lrt $LIBS"
-+
-+fi
-+
- 
- REQUIRES_NOPKGCONFIG=""
- if test "$GCC" = "yes"; then
-@@ -21461,7 +21461,7 @@
- 
- 
- for ac_header in fcntl.h sys/time.h unistd.h linux/videodev.h sys/soundcard.h \
--endian.h machine/endian.h inttypes.h
-+endian.h machine/endian.h inttypes.h sys/filio.h
- do
- as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
- if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
---- config.h.in
-+++ config.h.in
-@@ -30,6 +30,9 @@
- /* Define to 1 if you have the <inttypes.h> header file. */
- #undef HAVE_INTTYPES_H
- 
-+/* Define to 1 if you have the <sys/filio.h> header file. */
-+#undef HAVE_SYS_FILIO_H
-+
- /* Define to 1 if you have the `m' library (-lm). */
- #undef HAVE_LIBM
- 
---- encodedv/dvconnect.c
-+++ encodedv/dvconnect.c
-@@ -31,6 +31,9 @@
- 
- #include <stdio.h>
- #include <sys/ioctl.h>
-+#ifdef HAVE_SYS_FILIO_H
-+#include <sys/filio.h>
-+#endif
- #include <sys/mman.h>
- #include <sys/time.h>
- #include <unistd.h>

diff --git a/media-libs/libdv/libdv-1.0.0-r3.ebuild b/media-libs/libdv/libdv-1.0.0-r3.ebuild
deleted file mode 100644
index 8eff6e1601..0000000000
--- a/media-libs/libdv/libdv-1.0.0-r3.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-
-inherit epatch epunt-cxx libtool ltprune flag-o-matic multilib-minimal
-
-DESCRIPTION="Software codec for dv-format video (camcorders etc)"
-HOMEPAGE="http://libdv.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
-	mirror://gentoo/${PN}-1.0.0-pic.patch.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
-IUSE="static-libs"
-
-RDEPEND="dev-libs/popt"
-DEPEND="${RDEPEND}
-	virtual/pkgconfig"
-
-DOCS=( AUTHORS ChangeLog INSTALL NEWS TODO )
-
-src_prepare() {
-	epatch "${FILESDIR}"/${PN}-0.99-2.6.patch
-	epatch "${WORKDIR}"/${PN}-1.0.0-pic.patch
-	epatch "${FILESDIR}"/${PN}-1.0.0-solaris.patch
-	epatch "${FILESDIR}"/${PN}-1.0.0-darwin.patch
-	elibtoolize
-	epunt_cxx #74497
-
-	append-cppflags "-I${S}"
-}
-
-multilib_src_configure() {
-	ECONF_SOURCE="${S}"	econf \
-		$(use_enable static-libs static) \
-		--without-debug \
-		--disable-gtk \
-		--disable-gtktest \
-		$([[ ${CHOST} == *86*-darwin* ]] && echo "--disable-asm")
-	if ! multilib_is_native_abi ; then
-		sed -i \
-			-e 's/ encodedv//' \
-			Makefile || die
-	fi
-}
-
-multilib_src_install_all() {
-	prune_libtool_files --all
-	einstalldocs
-}

diff --git a/media-libs/libdv/metadata.xml b/media-libs/libdv/metadata.xml
deleted file mode 100644
index 0e87547885..0000000000
--- a/media-libs/libdv/metadata.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<maintainer type="project">
-		<email>media-video@gentoo.org</email>
-	</maintainer>
-	<upstream>
-		<remote-id type="sourceforge">libdv</remote-id>
-	</upstream>
-</pkgmetadata>


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-06-18 13:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-18 13:02 [gentoo-commits] repo/proj/prefix:master commit in: media-libs/libdv/, media-libs/libdv/files/ Fabian Groffen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox