ports/115218: Update port: audio/libmtp to version 0.2.0

pesho.petrov at gmail.com pesho.petrov at gmail.com
Sun Aug 5 15:00:02 UTC 2007


>Number:         115218
>Category:       ports
>Synopsis:       Update port: audio/libmtp to version 0.2.0
>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:   Sun Aug 05 15:00:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Petar Zhivkov Petrov
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
N/A
>Environment:
System: FreeBSD mobi 7.0-CURRENT FreeBSD 7.0-CURRENT #12: Sun Jul 15 03:34:45 EEST 2007 root at mobi:/usr/obj/usr/src/sys/MOBI i386


	
>Description:
- libmtp-update.patch updates audio/libmtp to version 0.2.0 and removes already useless patch files in the port.
- amarok-update.patch updates audio/amarok to work with the new version of libmtp.

>How-To-Repeat:
	
>Fix:

	

--- libmtp-update.patch begins here ---
diff -ruN libmtp/Makefile libmtp_new/Makefile
--- libmtp/Makefile	2007-04-16 11:03:21.000000000 +0300
+++ libmtp_new/Makefile	2007-08-04 23:43:00.000000000 +0300
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	libmtp
-PORTVERSION=	0.1.5
+PORTVERSION=	0.2.0
 CATEGORIES=	audio
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -18,11 +18,11 @@
 		iconv:${PORTSDIR}/converters/libiconv
 
 GNU_CONFIGURE=	yes
-CONFIGURE_ENV=	LDFLAGS="${LDFLAGS}" CPPFLAGS="${CPPFLAGS}"
+CONFIGURE_ENV=	LDFLAGS="${LDFLAGS}" CFLAGS="${CFLAGS}"
 USE_GNOME=	gnomehack
 USE_LDCONFIG=	yes
 
-CPPFLAGS=	-I${LOCALBASE}/include
+CFLAGS=		-I${LOCALBASE}/include
 LDFLAGS=	-L${LOCALBASE}/lib -liconv
 
 .include <bsd.port.mk>
diff -ruN libmtp/distinfo libmtp_new/distinfo
--- libmtp/distinfo	2007-03-31 12:15:12.000000000 +0300
+++ libmtp_new/distinfo	2007-08-04 23:33:52.000000000 +0300
@@ -1,3 +1,3 @@
-MD5 (libmtp-0.1.5.tar.gz) = 597b62d994d9491531b9e67190f6cfe7
-SHA256 (libmtp-0.1.5.tar.gz) = 57131fa65e051eacf0aad5126362c08623a7fcc00147e9a03080123a3d3cb8fe
-SIZE (libmtp-0.1.5.tar.gz) = 497384
+MD5 (libmtp-0.2.0.tar.gz) = a5b433b9b3b1906b4f6d332a8150b7d0
+SHA256 (libmtp-0.2.0.tar.gz) = e87e048dd3c6a2b741a206e3cd031bf1d5a8d278a0af8db1287174b1971df051
+SIZE (libmtp-0.2.0.tar.gz) = 521246
diff -ruN libmtp/files/patch-examples-common.h libmtp_new/files/patch-examples-common.h
--- libmtp/files/patch-examples-common.h	2007-03-31 12:15:12.000000000 +0300
+++ libmtp_new/files/patch-examples-common.h	1970-01-01 02:00:00.000000000 +0200
@@ -1,11 +0,0 @@
---- examples/common.h.orig	Sun Feb 18 22:24:01 2007
-+++ examples/common.h	Sun Feb 18 22:17:34 2007
-@@ -3,7 +3,7 @@
-  * These headers are used by absolutely all sample programs.
-  * Special quirks that apply to all samples go here.
-  */
--#include <libmtp.h>
-+#include <../src/libmtp.h>
- #ifndef _MSC_VER
- #include "config.h"
- #ifdef HAVE_GETOPT_H
diff -ruN libmtp/files/patch-examples-sendfile.c libmtp_new/files/patch-examples-sendfile.c
--- libmtp/files/patch-examples-sendfile.c	2007-03-31 12:15:12.000000000 +0300
+++ libmtp_new/files/patch-examples-sendfile.c	1970-01-01 02:00:00.000000000 +0200
@@ -1,11 +0,0 @@
---- examples/sendfile.c.orig	Sun Feb 18 22:25:38 2007
-+++ examples/sendfile.c	Sun Feb 18 22:14:53 2007
-@@ -4,7 +4,7 @@
- #include <sys/types.h>
- #include <fcntl.h>
- #include "common.h"
--#include "libmtp.h"
-+#include "../src/libmtp.h"
- #include "pathutils.h"
- 
- extern LIBMTP_folder_t *folders;
diff -ruN libmtp/files/patch-examples-sendtr.c libmtp_new/files/patch-examples-sendtr.c
--- libmtp/files/patch-examples-sendtr.c	2007-03-31 12:15:12.000000000 +0300
+++ libmtp_new/files/patch-examples-sendtr.c	1970-01-01 02:00:00.000000000 +0200
@@ -1,11 +0,0 @@
---- examples/sendtr.c.orig	Sun Feb 18 22:25:18 2007
-+++ examples/sendtr.c	Sun Feb 18 22:18:04 2007
-@@ -12,7 +12,7 @@
- #include <sys/types.h>
- #include <fcntl.h>
- #include "common.h"
--#include "libmtp.h"
-+#include "../src/libmtp.h"
- #include "pathutils.h"
- 
- extern LIBMTP_folder_t *folders;
diff -ruN libmtp/pkg-plist libmtp_new/pkg-plist
--- libmtp/pkg-plist	2007-03-31 12:15:12.000000000 +0300
+++ libmtp_new/pkg-plist	2007-08-05 00:00:48.000000000 +0300
@@ -13,6 +13,7 @@
 bin/mtp-newfolder
 bin/mtp-newplaylist
 bin/mtp-playlists
+bin/mtp-reset
 bin/mtp-sendfile
 bin/mtp-sendtr
 bin/mtp-thumb
@@ -22,5 +23,5 @@
 lib/libmtp.a
 lib/libmtp.la
 lib/libmtp.so
-lib/libmtp.so.7
+lib/libmtp.so.6
 libdata/pkgconfig/libmtp.pc
--- libmtp-update.patch ends here ---

--- amarok-update.patch begins here ---
diff -ruN amarok/Makefile amarok_new/Makefile
--- amarok/Makefile	2007-08-03 00:00:14.000000000 +0300
+++ amarok_new/Makefile	2007-08-05 00:35:52.000000000 +0300
@@ -64,7 +64,7 @@
 .if !defined(WITH_MTP)
 PLIST_SUB+=	MTP="@comment "
 .else
-LIB_DEPENDS+=	mtp.7:${PORTSDIR}/audio/libmtp
+LIB_DEPENDS+=	mtp:${PORTSDIR}/audio/libmtp
 CONFIGURE_ARGS+=--with-libmtp
 PLIST_SUB+=	MTP=""
 .endif
--- amarok-update.patch ends here ---



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



More information about the freebsd-ports-bugs mailing list