Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Aug 2004 17:54:21 +0100 (BST)
From:      Lewis Thompson <purple@lewiz.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/70581: MAINTAINER UPDATE: multimedia/mmpython to 0.4.5 fom 0.4.4
Message-ID:  <200408171654.i7HGsLWm027815@black.fajita.org>
Resent-Message-ID: <200408171700.i7HH0dgV050306@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         70581
>Category:       ports
>Synopsis:       MAINTAINER UPDATE: multimedia/mmpython to 0.4.5 fom 0.4.4
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 17 17:00:38 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Lewis Thompson
>Release:        FreeBSD 5.2.1-RELEASE-p8 i386
>Organization:
>Environment:
System: FreeBSD black.fajita.org 5.2.1-RELEASE-p8 FreeBSD 5.2.1-RELEASE-p8 #3: Thu May 27 19:50:52 BST 2004 root@black.fajita.org:/usr/src/sys/i386/compile/BLACK i386


	
>Description:
	Old patches now in tarball.  Remove them.  Update plist bump version.
>How-To-Repeat:
	
>Fix:
diff -ruN mmpython.orig.newer/Makefile mmpython/Makefile
--- mmpython.orig.newer/Makefile	Tue Aug 17 17:36:35 2004
+++ mmpython/Makefile	Tue Aug 17 17:37:26 2004
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	mmpython
-PORTVERSION=	0.4.4
+PORTVERSION=	0.4.5
 CATEGORIES=	multimedia python
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
diff -ruN mmpython.orig.newer/distinfo mmpython/distinfo
--- mmpython.orig.newer/distinfo	Tue Aug 17 17:36:35 2004
+++ mmpython/distinfo	Tue Aug 17 17:37:55 2004
@@ -1,2 +1,2 @@
-MD5 (mmpython-0.4.4.tar.gz) = 1f5a4766c4fe04ddd3e4aff825810dce
-SIZE (mmpython-0.4.4.tar.gz) = 119328
+MD5 (mmpython-0.4.5.tar.gz) = 3cf64c47aba02cd79f92bd1345cee87e
+SIZE (mmpython-0.4.5.tar.gz) = 123125
diff -ruN mmpython.orig.newer/files/patch-disc_discinfo.py mmpython/files/patch-disc_discinfo.py
--- mmpython.orig.newer/files/patch-disc_discinfo.py	Tue Aug 17 17:36:35 2004
+++ mmpython/files/patch-disc_discinfo.py	Thu Jan  1 01:00:00 1970
@@ -1,42 +0,0 @@
---- disc/discinfo.py	Sun Feb  8 17:44:05 2004
-+++ disc/discinfo.py	Thu Jun 17 00:04:48 2004
-@@ -191,7 +191,9 @@
-     
-     fd = open(device, 'rb')
-     try:
--    	fd.seek(0x0000832d)
-+	fd.seek(32768) # 2048 multiple boundary for FreeBSD
-+	# FreeBSD doesn't return IOError unless we try and read:
-+	fd.read(1)
-     except IOError:
-     	fd.close()
- 	return 3
-@@ -223,22 +225,12 @@
-     else:
-         f = open(device,'rb')
- 
--        f.seek(0x0000832d)
--        if os.uname()[0] == 'FreeBSD':
--            # why doesn't seeking to 0x0000832d+40 and reading 32 work?
--            # no idea, do it this way
--            label = f.read(72);
--            label = label[40:72]
--        else:    
--            id = f.read(16)
--        f.seek(32808, 0)
--        if os.uname()[0] == 'FreeBSD':
--            # why doesn't seeking to 32808 + 829 and reading 16 work?
--            # no idea, do it this way
--            id = f.read(829);
--            id = id[813:829]
--        else:
--            label = f.read(32)
-+        # FreeBSD can only seek to 2048 multiple boundaries.
-+        # Below works on Linux and FreeBSD:
-+        f.seek(32768)
-+        id = f.read(829)
-+        label = id[40:72]
-+        id = id[813:829]
- 
-         if CREATE_MD5_ID:
-             id_md5 = md5.new()
diff -ruN mmpython.orig.newer/files/patch-disc_dvdinfo.py mmpython/files/patch-disc_dvdinfo.py
--- mmpython.orig.newer/files/patch-disc_dvdinfo.py	Tue Aug 17 17:36:35 2004
+++ mmpython/files/patch-disc_dvdinfo.py	Thu Jan  1 01:00:00 1970
@@ -1,27 +0,0 @@
-
-$FreeBSD: ports/multimedia/mmpython/files/patch-disc_dvdinfo.py,v 1.2 2004/06/18 08:27:37 pav Exp $
-
---- disc/dvdinfo.py.orig	Thu Jun 10 20:53:51 2004
-+++ disc/dvdinfo.py	Thu Jun 10 20:55:02 2004
-@@ -115,8 +115,8 @@
- 
-         # brute force reading of the device to find out if it is a DVD
-         f = open(device,'rb')
--        f.seek(32808, 0)
--        buffer = f.read(50000)
-+        f.seek(32768, 0) # FreeBSD requires seeking to a 2048 multiple boundary.
-+        buffer = f.read(50040) # Read 40 more to compensate for above seek.
- 
-         if buffer.find('UDF') == -1:
-             f.close()
-@@ -148,8 +148,8 @@
- 
-     def isDVDiso(self, f):
-         # brute force reading of the device to find out if it is a DVD
--        f.seek(32808, 0)
--        buffer = f.read(50000)
-+        f.seek(32768, 0) # FreeBSD requires seeking to a 2048 multiple boundary.
-+        buffer = f.read(50040) # Read 40 more to compensate for above seek.
- 
-         if buffer.find('UDF') == -1:
-             return 0
diff -ruN mmpython.orig.newer/files/patch-disc_lsdvd.py mmpython/files/patch-disc_lsdvd.py
--- mmpython.orig.newer/files/patch-disc_lsdvd.py	Tue Aug 17 17:36:35 2004
+++ mmpython/files/patch-disc_lsdvd.py	Thu Jan  1 01:00:00 1970
@@ -1,16 +0,0 @@
-
-$FreeBSD: ports/multimedia/mmpython/files/patch-disc_lsdvd.py,v 1.2 2004/06/18 08:27:37 pav Exp $
-
---- disc/lsdvd.py.orig	Thu Jun 10 20:55:34 2004
-+++ disc/lsdvd.py	Thu Jun 10 20:58:14 2004
-@@ -173,8 +173,8 @@
- 
-         # brute force reading of the device to find out if it is a DVD
-         f = open(device,'rb')
--        f.seek(32808, 0)
--        buffer = f.read(50000)
-+        f.seek(32768, 0) # FreeBSD requires seeking to a 2048 multiple boundary.
-+        buffer = f.read(50040) # Read 40 more to compensate for above seek.
- 
-         if buffer.find('UDF') == -1:
-             f.close()
diff -ruN mmpython.orig.newer/files/patch-disc_vcdinfo.py mmpython/files/patch-disc_vcdinfo.py
--- mmpython.orig.newer/files/patch-disc_vcdinfo.py	Tue Aug 17 17:36:35 2004
+++ mmpython/files/patch-disc_vcdinfo.py	Thu Jan  1 01:00:00 1970
@@ -1,18 +0,0 @@
-
-$FreeBSD: ports/multimedia/mmpython/files/patch-disc_vcdinfo.py,v 1.2 2004/06/18 08:27:37 pav Exp $
-
---- disc/vcdinfo.py.orig	Thu Jun 10 20:56:21 2004
-+++ disc/vcdinfo.py	Thu Jun 10 20:56:59 2004
-@@ -62,9 +62,9 @@
-         
-         # brute force reading of the device to find out if it is a VCD
-         f = open(device,'rb')
--        f.seek(32808, 0)
--        buffer = f.read(50000)
--        f.close()
-+        f.seek(32768, 0) # FreeBSD requires seeking to a 2048 multiple boundary.
-+        buffer = f.read(50040) # Read 40 more to compensate for above seek.
-+        f.close()
- 
-         if buffer.find('SVCD') > 0 and buffer.find('TRACKS.SVD') > 0 and \
-                buffer.find('ENTRIES.SVD') > 0:
diff -ruN mmpython.orig.newer/files/patch-video_vcdinfo.py mmpython/files/patch-video_vcdinfo.py
--- mmpython.orig.newer/files/patch-video_vcdinfo.py	Tue Aug 17 17:36:35 2004
+++ mmpython/files/patch-video_vcdinfo.py	Thu Jan  1 01:00:00 1970
@@ -1,18 +0,0 @@
-
-$FreeBSD: ports/multimedia/mmpython/files/patch-video_vcdinfo.py,v 1.2 2004/06/18 08:27:37 pav Exp $
-
---- video/vcdinfo.py.orig	Thu Jun 10 20:58:51 2004
-+++ video/vcdinfo.py	Thu Jun 10 20:59:19 2004
-@@ -85,9 +85,9 @@
-         
-         # brute force reading of the bin to find out if it is a VCD
-         f = open(bin,'rb')
--        f.seek(32808, 0)
--        buffer = f.read(50000)
--        f.close()
-+        f.seek(32768, 0) # FreeBSD requires seeking to 2048 multiple boundary.
-+        buffer = f.read(50040) # Read 40 more to compensate for above seek.
-+        f.close()
- 
-         if buffer.find('SVCD') > 0 and buffer.find('TRACKS.SVD') > 0 and \
-                buffer.find('ENTRIES.SVD') > 0:
diff -ruN mmpython.orig.newer/pkg-plist mmpython/pkg-plist
--- mmpython.orig.newer/pkg-plist	Tue Aug 17 17:36:35 2004
+++ mmpython/pkg-plist	Tue Aug 17 17:46:31 2004
@@ -29,6 +29,9 @@
 %%PYTHON_SITELIBDIR%%/mmpython/audio/flacinfo.py
 %%PYTHON_SITELIBDIR%%/mmpython/audio/flacinfo.pyc
 %%PYTHON_SITELIBDIR%%/mmpython/audio/flacinfo.pyo
+%%PYTHON_SITELIBDIR%%/mmpython/audio/id3.py
+%%PYTHON_SITELIBDIR%%/mmpython/audio/id3.pyc
+%%PYTHON_SITELIBDIR%%/mmpython/audio/id3.pyo
 %%PYTHON_SITELIBDIR%%/mmpython/audio/m4ainfo.py
 %%PYTHON_SITELIBDIR%%/mmpython/audio/m4ainfo.pyc
 %%PYTHON_SITELIBDIR%%/mmpython/audio/m4ainfo.pyo
@@ -109,6 +112,12 @@
 %%PYTHON_SITELIBDIR%%/mmpython/misc/xmlinfo.py
 %%PYTHON_SITELIBDIR%%/mmpython/misc/xmlinfo.pyc
 %%PYTHON_SITELIBDIR%%/mmpython/misc/xmlinfo.pyo
+%%PYTHON_SITELIBDIR%%/mmpython/mpg_search.py
+%%PYTHON_SITELIBDIR%%/mmpython/mpg_search.pyc
+%%PYTHON_SITELIBDIR%%/mmpython/mpg_search.pyo
+%%PYTHON_SITELIBDIR%%/mmpython/stream_search.py
+%%PYTHON_SITELIBDIR%%/mmpython/stream_search.pyc
+%%PYTHON_SITELIBDIR%%/mmpython/stream_search.pyo
 %%PYTHON_SITELIBDIR%%/mmpython/synchronizedobject.py
 %%PYTHON_SITELIBDIR%%/mmpython/synchronizedobject.pyc
 %%PYTHON_SITELIBDIR%%/mmpython/synchronizedobject.pyo
>Release-Note:
>Audit-Trail:
>Unformatted:



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