Skip site navigation (1)Skip section navigation (2)
Date:      Sat,  8 Dec 2007 22:28:30 +0200 (EET)
From:      pesho.petrov@gmail.com
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/118499: Update port: audio/libmtp to version 0.2.4
Message-ID:  <20071208202830.DCBBF23B10@debian.fmi.uni-sofia.bg>
Resent-Message-ID: <200712082100.lB8L05R2095289@freefall.freebsd.org>

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

>Number:         118499
>Category:       ports
>Synopsis:       Update port: audio/libmtp to version 0.2.4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 08 21:00:05 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Petar Zhivkov Petrov
>Release:        FreeBSD 8.0-CURRENT i386
>Organization:
N/A
>Environment:
System: FreeBSD mobi 8.0-CURRENT FreeBSD 8.0-CURRENT #13: Sun Dec 2 12:46:57 EET 2007 root@mobi:/usr/obj/usr/src/sys/MOBI i386


	
>Description:
- Update for libmtp to version 0.2.4. Current version in ports is 0.2.1
- Removed CFLAGS hack that was applied after patching. The fix was made in libmtp based on patch sent by me.
- Update of amarok to use the new libmtp shared library.
>How-To-Repeat:
	
>Fix:

	

--- libmtp-update.diff begins here ---
diff -ruN libmtp_old/Makefile libmtp/Makefile
--- libmtp_old/Makefile	2007-12-08 00:37:46.000000000 -0800
+++ libmtp/Makefile	2007-12-08 00:17:38.000000000 -0800
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	libmtp
-PORTVERSION=	0.2.1
+PORTVERSION=	0.2.4
 CATEGORIES=	audio
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -27,8 +27,5 @@
 
 post-patch:
 	@${REINPLACE_CMD} -e '/^SUBDIRS/s|doc||' ${WRKSRC}/Makefile.in
-# Change the order of cflags so that the right (new) header gets picked up
-	@${REINPLACE_CMD} -Ee 's|(\$$[(]CPPFLAGS[)]) (\$$[(]AM_CFLAGS[)])|\2 \1|'\
-		${WRKSRC}/examples/Makefile.in
 
 .include <bsd.port.mk>
diff -ruN libmtp_old/distinfo libmtp/distinfo
--- libmtp_old/distinfo	2007-12-08 00:37:46.000000000 -0800
+++ libmtp/distinfo	2007-12-08 00:13:35.000000000 -0800
@@ -1,3 +1,3 @@
-MD5 (libmtp-0.2.1.tar.gz) = c8d021d31cc9f2a8dd099398b49e8a2d
-SHA256 (libmtp-0.2.1.tar.gz) = 3117a93391126e41080e11829c6cdf34ff989bbbebcaa98262cefdc51c09829b
-SIZE (libmtp-0.2.1.tar.gz) = 521523
+MD5 (libmtp-0.2.4.tar.gz) = 078d9734c71b08208fbd8b1800e61b65
+SHA256 (libmtp-0.2.4.tar.gz) = 973e4225624490599fd7cb7dc3a3422cb352a950b0192f62e4830affd0726a59
+SIZE (libmtp-0.2.4.tar.gz) = 529271
diff -ruN libmtp_old/pkg-plist libmtp/pkg-plist
--- libmtp_old/pkg-plist	2007-12-08 00:37:46.000000000 -0800
+++ libmtp/pkg-plist	2007-12-08 00:32:08.000000000 -0800
@@ -23,5 +23,5 @@
 lib/libmtp.a
 lib/libmtp.la
 lib/libmtp.so
-lib/libmtp.so.6
+lib/libmtp.so.7
 libdata/pkgconfig/libmtp.pc
--- libmtp-update.diff ends here ---

--- amarok-update.diff begins here ---
diff -ruN amarok_old/Makefile amarok/Makefile
--- amarok_old/Makefile	2007-12-08 00:41:41.000000000 -0800
+++ amarok/Makefile	2007-12-08 00:45:19.000000000 -0800
@@ -6,6 +6,7 @@
 
 PORTNAME=	amarok
 PORTVERSION=	1.4.7
+PORTREVISION=	1
 CATEGORIES=	audio kde
 MASTER_SITES=	${MASTER_SITE_KDE}
 MASTER_SITE_SUBDIR=	stable/${PORTNAME}/${PORTVERSION}/src
@@ -64,7 +65,7 @@
 .if !defined(WITH_MTP)
 PLIST_SUB+=	MTP="@comment "
 .else
-LIB_DEPENDS+=	mtp.6:${PORTSDIR}/audio/libmtp
+LIB_DEPENDS+=	mtp.7:${PORTSDIR}/audio/libmtp
 CONFIGURE_ARGS+=--with-libmtp
 PLIST_SUB+=	MTP=""
 .endif
--- amarok-update.diff ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



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