pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/cplay Change patch-aa to match the solution adop...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7ea03025fee4
branches:  trunk
changeset: 502877:7ea03025fee4
user:      tonio <tonio%pkgsrc.org@localhost>
date:      Thu Nov 10 09:04:25 2005 +0000

description:
Change patch-aa to match the solution adopted upstream to share file
descriptors
Bump PKGREVISION

diffstat:

 audio/cplay/Makefile         |   3 ++-
 audio/cplay/distinfo         |   4 ++--
 audio/cplay/patches/patch-aa |  22 +++++++++++-----------
 3 files changed, 15 insertions(+), 14 deletions(-)

diffs (62 lines):

diff -r 4a0834c9e85b -r 7ea03025fee4 audio/cplay/Makefile
--- a/audio/cplay/Makefile      Thu Nov 10 08:28:49 2005 +0000
+++ b/audio/cplay/Makefile      Thu Nov 10 09:04:25 2005 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.1.1.1 2005/11/08 15:56:40 tonio Exp $
+# $NetBSD: Makefile,v 1.2 2005/11/10 09:04:25 tonio Exp $
 
 DISTNAME=              cplay-1.49
+PKGREVISION=           1
 CATEGORIES=            audio
 MASTER_SITES=          ${HOMEPAGE}
 
diff -r 4a0834c9e85b -r 7ea03025fee4 audio/cplay/distinfo
--- a/audio/cplay/distinfo      Thu Nov 10 08:28:49 2005 +0000
+++ b/audio/cplay/distinfo      Thu Nov 10 09:04:25 2005 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2005/11/08 15:56:40 tonio Exp $
+$NetBSD: distinfo,v 1.2 2005/11/10 09:04:25 tonio Exp $
 
 SHA1 (cplay-1.49.tar.gz) = 5dc77ad0046419f6657249fa95829b3714beb1d6
 RMD160 (cplay-1.49.tar.gz) = e370ca609f8a17f428cf67ef85d55ee55cd5738b
 Size (cplay-1.49.tar.gz) = 36400 bytes
-SHA1 (patch-aa) = 80e00196730c5ef811dbd4dbde88947f868c7a70
+SHA1 (patch-aa) = e7a1f3b34a5557e637d34b778b8a8cf796c9c8a9
diff -r 4a0834c9e85b -r 7ea03025fee4 audio/cplay/patches/patch-aa
--- a/audio/cplay/patches/patch-aa      Thu Nov 10 08:28:49 2005 +0000
+++ b/audio/cplay/patches/patch-aa      Thu Nov 10 09:04:25 2005 +0000
@@ -1,23 +1,23 @@
-$NetBSD: patch-aa,v 1.1.1.1 2005/11/08 15:56:40 tonio Exp $
+$NetBSD: patch-aa,v 1.2 2005/11/10 09:04:25 tonio Exp $
 
---- cplay.orig 2003-12-05 09:20:56.000000000 +0100
+--- cplay.orig 2005-11-10 09:50:37.000000000 +0100
 +++ cplay
-@@ -46,6 +46,7 @@ except: pass
+@@ -1165,13 +1165,15 @@ def get_tag(pathname):
+ 
  # ------------------------------------------
- _locale_domain = "cplay"
- _locale_dir = "/usr/local/share/locale"
-+pipes = os.pipe(), os.pipe(), os.pipe()
- 
- try:
-     import gettext  # python 2.0
-@@ -1169,9 +1170,7 @@ class Player:
+ class Player:
++
++    stdin_r, stdin_w = os.pipe()
++    stdout_r, stdout_w = os.pipe()
++    stderr_r, stderr_w = os.pipe()
++
+     def __init__(self, commandline, files, fps=1):
          self.commandline = commandline
          self.re_files = re.compile(files, re.I)
          self.fps = fps
 -        self.stdin_r, self.stdin_w = os.pipe()
 -        self.stdout_r, self.stdout_w = os.pipe()
 -        self.stderr_r, self.stderr_w = os.pipe()
-+      (self.stdin_r, self.stdin_w), (self.stdout_r, self.stdout_w), (self.stderr_r, self.stderr_w) = pipes
          self.entry = None
          self.stopped = 0
          self.paused = 0



Home | Main Index | Thread Index | Old Index