pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/nvtv Initial import of nvtv, version 0.4.5 in...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b3aa1bc124bf
branches:  trunk
changeset: 462535:b3aa1bc124bf
user:      cube <cube%pkgsrc.org@localhost>
date:      Sun Oct 05 09:16:16 2003 +0000

description:
Initial import of nvtv, version 0.4.5 into the NetBSD Package Collection,
from pkgsrc-wip. OK'd by seb@.

This is a tool to enable TV-Out on Linux for NVidia
cards. It does not need the kernel, supports
multiple TV encoder chips. You may use all the
features of the chip, down to direct register
access, and all resolutions and sizes the chip
supports.

diffstat:

 graphics/nvtv/DESCR            |    6 +
 graphics/nvtv/Makefile         |   10 +
 graphics/nvtv/Makefile.common  |   27 +++
 graphics/nvtv/PLIST            |   13 +
 graphics/nvtv/distinfo         |   12 +
 graphics/nvtv/files/nvtvd.sh   |   16 +
 graphics/nvtv/patches/patch-aa |   14 +
 graphics/nvtv/patches/patch-ab |  362 +++++++++++++++++++++++++++++++++++++++++
 graphics/nvtv/patches/patch-ac |   13 +
 graphics/nvtv/patches/patch-ad |   87 +++++++++
 graphics/nvtv/patches/patch-ae |   42 ++++
 graphics/nvtv/patches/patch-af |   56 ++++++
 graphics/nvtv/patches/patch-ag |   14 +
 graphics/nvtv/patches/patch-ah |   55 ++++++
 14 files changed, 727 insertions(+), 0 deletions(-)

diffs (truncated from 783 to 300 lines):

diff -r 09e6d443a928 -r b3aa1bc124bf graphics/nvtv/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/nvtv/DESCR       Sun Oct 05 09:16:16 2003 +0000
@@ -0,0 +1,6 @@
+This is a tool to enable TV-Out on Linux for NVidia
+cards. It does not need the kernel, supports
+multiple TV encoder chips. You may use all the
+features of the chip, down to direct register
+access, and all resolutions and sizes the chip
+supports.
diff -r 09e6d443a928 -r b3aa1bc124bf graphics/nvtv/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/nvtv/Makefile    Sun Oct 05 09:16:16 2003 +0000
@@ -0,0 +1,10 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/10/05 09:16:16 cube Exp $
+
+PKGNAME=       ${DISTNAME}
+.include "Makefile.common"
+
+CONFLICTS=     nvtv-gtk2-[0-9]*
+
+.include "../../x11/gtk/buildlink2.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff -r 09e6d443a928 -r b3aa1bc124bf graphics/nvtv/Makefile.common
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/nvtv/Makefile.common     Sun Oct 05 09:16:16 2003 +0000
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile.common,v 1.1.1.1 2003/10/05 09:16:16 cube Exp $
+DISTNAME=      nvtv-0.4.5
+CATEGORIES=    graphics
+MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=nv-tv-out/}
+
+MAINTAINER=    cube%NetBSD.org@localhost
+HOMEPAGE=      http://sourceforge.net/projects/nv-tv-out/
+COMMENT=       Tool to manipulate TV-Out settings on NVidia cards
+
+ONLY_FOR_PLATFORM=      *-i386
+
+USE_BUILDLINK2=                YES
+GNU_CONFIGURE=         YES
+RCD_SCRIPTS=           nvtvd
+USE_PKGINSTALL=                YES
+
+post-patch:
+       ${CP} ${WRKSRC}/man/nvtv.1x ${WRKSRC}/man/nvtv.1
+
+post-install:
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/nvtv
+       ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/FAQ ${WRKSRC}/doc/USAGE \
+               ${WRKSRC}/doc/chips.txt \
+               ${WRKSRC}/doc/overview.txt ${WRKSRC}/doc/timing.txt \
+               ${PREFIX}/share/doc/nvtv
+
+.include "../../sysutils/pciutils/buildlink2.mk"
diff -r 09e6d443a928 -r b3aa1bc124bf graphics/nvtv/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/nvtv/PLIST       Sun Oct 05 09:16:16 2003 +0000
@@ -0,0 +1,13 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/10/05 09:16:16 cube Exp $
+etc/rc.d/nvtvd
+bin/nvtv
+bin/nvtvd
+share/doc/nvtv/FAQ
+share/doc/nvtv/README
+share/doc/nvtv/USAGE
+share/doc/nvtv/chips.txt
+share/doc/nvtv/overview.txt
+share/doc/nvtv/timing.txt
+man/man1/nvtv.1
+man/man8/nvtvd.8
+@dirrm share/doc/nvtv
diff -r 09e6d443a928 -r b3aa1bc124bf graphics/nvtv/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/nvtv/distinfo    Sun Oct 05 09:16:16 2003 +0000
@@ -0,0 +1,12 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/10/05 09:16:17 cube Exp $
+
+SHA1 (nvtv-0.4.5.tar.gz) = 8b2791301da4af4894b136595fecad7ff91282e6
+Size (nvtv-0.4.5.tar.gz) = 383497 bytes
+SHA1 (patch-aa) = 28d37b601bf86d08f900ff90d4780bacfabbd6b8
+SHA1 (patch-ab) = e73103ebba3fab7da56aa7c77e94ee6a0a331e2c
+SHA1 (patch-ac) = af493d9f8209203b50379f93146ba6504eb39829
+SHA1 (patch-ad) = 0f0b7ab6df8581c4aed078b7e073f7562e123701
+SHA1 (patch-ae) = 9a79ed5920a006ba98db1e8bac312fcb1136c3ff
+SHA1 (patch-af) = 682dc4ef845c0b45116706a7e02689cc503e4abe
+SHA1 (patch-ag) = 6d200843ff83eff7bb4448478ea1940ef3d78b96
+SHA1 (patch-ah) = ba74f956b93b5afd971a499e8b97a1ef6929994e
diff -r 09e6d443a928 -r b3aa1bc124bf graphics/nvtv/files/nvtvd.sh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/nvtv/files/nvtvd.sh      Sun Oct 05 09:16:16 2003 +0000
@@ -0,0 +1,16 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: nvtvd.sh,v 1.1.1.1 2003/10/05 09:16:17 cube Exp $
+#
+
+# PROVIDE: nvtvd
+# REQUIRE: DAEMON
+
+. /etc/rc.subr
+
+name="nvtvd"
+rcvar=$name
+command="@PREFIX@/bin/nvtvd"
+
+load_rc_config $name
+run_rc_command "$1"
diff -r 09e6d443a928 -r b3aa1bc124bf graphics/nvtv/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/nvtv/patches/patch-aa    Sun Oct 05 09:16:16 2003 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/10/05 09:16:17 cube Exp $
+
+--- src/config.h.in.orig       2003-06-07 19:22:20.000000000 +0200
++++ src/config.h.in
+@@ -18,6 +18,9 @@
+ /* Define to 1 if pciutils available and used. */
+ #undef HAVE_PCI
+ 
++/* Define to 1 if pciutils library is named 'pciutils'. */
++#undef HAVE_PCIUTILS
++
+ /* Define to 1 if you have the <stdint.h> header file. */
+ #undef HAVE_STDINT_H
+ 
diff -r 09e6d443a928 -r b3aa1bc124bf graphics/nvtv/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/nvtv/patches/patch-ab    Sun Oct 05 09:16:16 2003 +0000
@@ -0,0 +1,362 @@
+$NetBSD: patch-ab,v 1.1.1.1 2003/10/05 09:16:17 cube Exp $
+
+--- configure.orig     2003-05-30 11:36:48.000000000 +0200
++++ configure
+@@ -5101,7 +5101,7 @@ _ACEOF
+ 
+   OBJS_EXTRA="$OBJS_EXTRA actions.o"
+   if test ${have_gtk} != no ; then
+-    have_gtk_version=`expr substr ${have_gtk} 4 1`
++    have_gtk_version=`expr ${have_gtk} : '^gtk\([12]\)'`
+ 
+ cat >>confdefs.h <<\_ACEOF
+ #define HAVE_GTK 1
+@@ -5381,6 +5381,135 @@ echo "$as_me: error: math library requir
+ fi
+ 
+ 
++case ${host} in
++  *-*-netbsd*)
++    echo "$as_me:$LINENO: checking for i386_iopl in -li386" >&5
++echo $ECHO_N "checking for i386_iopl in -li386... $ECHO_C" >&6
++if test "${ac_cv_lib_i386_i386_iopl+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-li386  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char i386_iopl ();
++int
++main ()
++{
++i386_iopl ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_i386_i386_iopl=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_i386_i386_iopl=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_iopl" >&5
++echo "${ECHO_T}$ac_cv_lib_i386_i386_iopl" >&6
++if test $ac_cv_lib_i386_i386_iopl = yes; then
++  LIBS="$LIBS -li386"
++else
++  { { echo "$as_me:$LINENO: error: NetBSD i386 library required" >&5
++echo "$as_me: error: NetBSD i386 library required" >&2;}
++   { (exit 1); exit 1; }; }
++fi
++
++    echo "$as_me:$LINENO: checking for pcibus_conf_read in -lpci" >&5
++echo $ECHO_N "checking for pcibus_conf_read in -lpci... $ECHO_C" >&6
++if test "${ac_cv_lib_pci_pcibus_conf_read+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lpci  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++
++/* Override any gcc2 internal prototype to avoid an error.  */
++#ifdef __cplusplus
++extern "C"
++#endif
++/* We use char because int might match the return type of a gcc2
++   builtin and then its argument prototype would still apply.  */
++char pcibus_conf_read ();
++int
++main ()
++{
++pcibus_conf_read ();
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++  (eval $ac_link) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++         { ac_try='test -s conftest$ac_exeext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_lib_pci_pcibus_conf_read=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_lib_pci_pcibus_conf_read=no
++fi
++rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
++fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_pci_pcibus_conf_read" >&5
++echo "${ECHO_T}$ac_cv_lib_pci_pcibus_conf_read" >&6
++if test $ac_cv_lib_pci_pcibus_conf_read = yes; then
++  LIBS="$LIBS -lpci"
++else
++  { { echo "$as_me:$LINENO: error: NetBSD pci library required" >&5
++echo "$as_me: error: NetBSD pci library required" >&2;}
++   { (exit 1); exit 1; }; }
++fi
++
++  ;;
++esac
++
+ if test ${with_winio} = yes ; then
+   echo "$as_me:$LINENO: checking for winio_init in -lwinio" >&5
+ echo $ECHO_N "checking for winio_init in -lwinio... $ECHO_C" >&6
+@@ -5502,7 +5631,64 @@ fi
+ echo "$as_me:$LINENO: result: $ac_cv_lib_pci_pci_init" >&5
+ echo "${ECHO_T}$ac_cv_lib_pci_pci_init" >&6
+ if test $ac_cv_lib_pci_pci_init = yes; then
+-  LIBS="$LIBS -lpci"
++  LIBS="$LIBS -lpci" pciutils_libname="pci"
++else
++  echo "$as_me:$LINENO: checking for pci_init in -lpciutils" >&5
++echo $ECHO_N "checking for pci_init in -lpciutils... $ECHO_C" >&6
++if test "${ac_cv_lib_pciutils_pci_init+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  ac_check_lib_save_LIBS=$LIBS
++LIBS="-lpciutils  $LIBS"
++cat >conftest.$ac_ext <<_ACEOF
++#line $LINENO "configure"
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */



Home | Main Index | Thread Index | Old Index