From owner-svn-ports-all@FreeBSD.ORG Wed Nov 13 16:49:02 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 04F935FB; Wed, 13 Nov 2013 16:49:02 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D99C72E8B; Wed, 13 Nov 2013 16:49:01 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rADGn16s007147; Wed, 13 Nov 2013 16:49:01 GMT (envelope-from avilla@svn.freebsd.org) Received: (from avilla@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rADGn14j007144; Wed, 13 Nov 2013 16:49:01 GMT (envelope-from avilla@svn.freebsd.org) Message-Id: <201311131649.rADGn14j007144@svn.freebsd.org> From: Alberto Villa Date: Wed, 13 Nov 2013 16:49:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r333708 - head/audio/libgpod X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2013 16:49:02 -0000 Author: avilla Date: Wed Nov 13 16:49:00 2013 New Revision: 333708 URL: http://svnweb.freebsd.org/changeset/ports/333708 Log: - Update to 0.8.3. - STAGEify. - Use LIB_DEPENDS new format. - Use OPTIONS helpers. Version 0.8.3 brings the following improvements: * Add support for libimobiledevice 1.1.5 (there was an API/ABI break) * Remove use of some deprecated glib functions * Fix various issues found using clang/cppcheck * Improve robustness of the iphone callout Modified: head/audio/libgpod/Makefile head/audio/libgpod/distinfo (contents, props changed) head/audio/libgpod/pkg-plist Modified: head/audio/libgpod/Makefile ============================================================================== --- head/audio/libgpod/Makefile Wed Nov 13 16:44:48 2013 (r333707) +++ head/audio/libgpod/Makefile Wed Nov 13 16:49:00 2013 (r333708) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= libgpod -PORTVERSION= 0.8.2 -PORTREVISION= 2 +PORTVERSION= 0.8.3 CATEGORIES= audio MASTER_SITES= SF/gtkpod/${PORTNAME}/${PORTNAME}-${PORTVERSION:R} @@ -12,14 +11,13 @@ COMMENT= Library for direct access to iP LICENSE= LGPL20 -LIB_DEPENDS= plist:${PORTSDIR}/devel/libplist \ - tag:${PORTSDIR}/audio/taglib \ - sgutils2:${PORTSDIR}/sysutils/sg3_utils +LIB_DEPENDS= libplist.so:${PORTSDIR}/devel/libplist \ + libtag.so:${PORTSDIR}/audio/taglib \ + libsgutils2.so:${PORTSDIR}/sysutils/sg3_utils -USE_GNOME= gtk20 -NO_STAGE= yes +USE_GNOME= gdkpixbuf2 gtk20 USE_SQLITE= 3 -USES= gettext gmake pkgconfig +USES= gettext gmake pathfix pkgconfig USE_BZIP2= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-udev --without-hal \ @@ -29,62 +27,41 @@ CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib USE_LDCONFIG= yes -OPTIONS_DEFINE= IMOBILE MONO PYTHON +OPTIONS_DEFINE= DOCS IMOBILE MONO PYTHON OPTIONS_DEFAULT=IMOBILE +OPTIONS_SUB= yes IMOBILE_DESC= Apple iPhone/iPod Touch support -PORTDOCS= ChangeLog NEWS README* +MONO_USE= GNOME=gtksharp20 +MONO_CONFIGURE_WITH= mono -.include +PYTHON_BUILD_DEPENDS= swig2.0:${PORTSDIR}/devel/swig20 \ + ${PYTHON_SITELIBDIR}/mutagen/__init__.py:${PORTSDIR}/audio/py-mutagen +PYTHON_RUN_DEPENDS= ${PYTHON_SITELIBDIR}/mutagen/__init__.py:${PORTSDIR}/audio/py-mutagen +PYTHON_USE= GNOME=pygobject PYTHON=yes +PYTHON_CONFIGURE_ENV= SWIG="${LOCALBASE}/bin/swig2.0" +PYTHON_CONFIGURE_WITH= python -.if ${PORT_OPTIONS:MMONO} -USE_GNOME+= gtksharp20 -CONFIGURE_ARGS+=--with-mono -PLIST_SUB+= MONO="" -.else -CONFIGURE_ARGS+=--without-mono -PLIST_SUB+= MONO="@comment " -.endif - -.if ${PORT_OPTIONS:MPYTHON} -BUILD_DEPENDS+= swig2.0:${PORTSDIR}/devel/swig20 \ - ${PYTHON_SITELIBDIR}/mutagen/__init__.py:${PORTSDIR}/audio/py-mutagen -RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/mutagen/__init__.py:${PORTSDIR}/audio/py-mutagen -USE_GNOME+= pygobject -USE_PYTHON= yes -PLIST_SUB+= PYTHON="" -.else -CONFIGURE_ARGS+=--without-python -PLIST_SUB+= PYTHON="@comment " -.endif +PORTDOCS= ChangeLog NEWS README* .include .if ${PORT_OPTIONS:MIMOBILE} && (${OSVERSION} > 900002 || \ ${OSVERSION} < 900000 && ${OSVERSION} > 800107) COMMENT:= ${COMMENT:S,iPod,&/iPhone,} -LIB_DEPENDS+= imobiledevice:${PORTSDIR}/comms/libimobiledevice +LIB_DEPENDS+= libimobiledevice.so:${PORTSDIR}/comms/libimobiledevice CONFIGURE_ENV+= LIBUSB_CFLAGS=" " LIBUSB_LIBS="-lusb" .else CONFIGURE_ARGS+=--without-libimobiledevice .endif post-patch: - @${REINPLACE_CMD} -e 's,libdir)/pkgconfig,prefix)/libdata/pkgconfig,' \ - ${WRKSRC}/Makefile.in \ - ${WRKSRC}/bindings/mono/libgpod-sharp/Makefile.in # Allow to build tools without HAL @${REINPLACE_CMD} -e '/noinst_PROGRAMS =/ s,^,@HAVE_HAL_TRUE@,' \ ${WRKSRC}/tools/Makefile.in -.if ! ${PORT_OPTIONS:MDOCS} - @${REINPLACE_CMD} -e 's, docs,,' \ - ${WRKSRC}/Makefile.in -.endif post-install: -.if ${PORT_OPTIONS:MDOCS} - ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} -.endif + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include Modified: head/audio/libgpod/distinfo ============================================================================== --- head/audio/libgpod/distinfo Wed Nov 13 16:44:48 2013 (r333707) +++ head/audio/libgpod/distinfo Wed Nov 13 16:49:00 2013 (r333708) @@ -1,2 +1,2 @@ -SHA256 (libgpod-0.8.2.tar.bz2) = 0054e9b0060d7b923cdc1b748b6617f4dc9f1401fb6bc9368f9960537c55a092 -SIZE (libgpod-0.8.2.tar.bz2) = 777945 +SHA256 (libgpod-0.8.3.tar.bz2) = 638a7959d04e95f1e62abad02bd33702e4e8dfef98485ac7d9d50395c37e955d +SIZE (libgpod-0.8.3.tar.bz2) = 801903 Modified: head/audio/libgpod/pkg-plist ============================================================================== --- head/audio/libgpod/pkg-plist Wed Nov 13 16:44:48 2013 (r333707) +++ head/audio/libgpod/pkg-plist Wed Nov 13 16:49:00 2013 (r333708) @@ -24,7 +24,7 @@ lib/libgpod.so.7 %%PYTHON%%%%PYTHON_SITELIBDIR%%/gpod/ipod.pyc %%PYTHON%%%%PYTHON_SITELIBDIR%%/gpod/ipod.pyo libdata/pkgconfig/libgpod-1.0.pc -libdata/pkgconfig/libgpod-sharp.pc +%%MONO%%libdata/pkgconfig/libgpod-sharp.pc %%PORTDOCS%%%%DOCSDIR%%/ch01.html %%PORTDOCS%%%%DOCSDIR%%/home.png %%PORTDOCS%%%%DOCSDIR%%/index.html @@ -42,7 +42,6 @@ libdata/pkgconfig/libgpod-sharp.pc %%PORTDOCS%%%%DOCSDIR%%/libgpod-The-Itdb-iTunesDB-structure.html %%PORTDOCS%%%%DOCSDIR%%/libgpod-Time-handling.html %%PORTDOCS%%%%DOCSDIR%%/libgpod-Tracks.html -%%PORTDOCS%%%%DOCSDIR%%/libgpod.devhelp %%PORTDOCS%%%%DOCSDIR%%/libgpod.devhelp2 %%PORTDOCS%%%%DOCSDIR%%/photodb.html %%PORTDOCS%%%%DOCSDIR%%/right.png @@ -58,6 +57,8 @@ share/locale/ro/LC_MESSAGES/libgpod.mo share/locale/sv/LC_MESSAGES/libgpod.mo share/locale/zh_CN/LC_MESSAGES/libgpod.mo %%PYTHON%%@dirrm %%PYTHON_SITELIBDIR%%/gpod +%%PYTHON%%@dirrmtry %%PYTHON_SITELIBDIR%% +%%PYTHON%%@dirrmtry %%PYTHON_LIBDIR%% %%MONO%%@dirrm lib/libgpod @dirrm include/gpod-1.0/gpod @dirrm include/gpod-1.0