From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Feb 13 15:20:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id DD9F79E6 for ; Wed, 13 Feb 2013 15:20:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id C3F44949 for ; Wed, 13 Feb 2013 15:20:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r1DFK0l1076819 for ; Wed, 13 Feb 2013 15:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r1DFK0xE076815; Wed, 13 Feb 2013 15:20:00 GMT (envelope-from gnats) Resent-Date: Wed, 13 Feb 2013 15:20:00 GMT Resent-Message-Id: <201302131520.r1DFK0xE076815@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Lowell Gilbert Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 48D66579 for ; Wed, 13 Feb 2013 15:10:36 +0000 (UTC) (envelope-from lowell@be-well.ilk.org) Received: from be-well.ilk.org (be-well.ilk.org [23.30.133.173]) by mx1.freebsd.org (Postfix) with ESMTP id 04FAD8DD for ; Wed, 13 Feb 2013 15:10:35 +0000 (UTC) Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.41]) by be-well.ilk.org (Postfix) with ESMTP id 0F8D433C1E for ; Wed, 13 Feb 2013 10:10:30 -0500 (EST) Received: by lowell-desk.lan (Postfix, from userid 1147) id 7BDD339843; Wed, 13 Feb 2013 10:10:29 -0500 (EST) Message-Id: <20130213151029.7BDD339843@lowell-desk.lan> Date: Wed, 13 Feb 2013 10:10:29 -0500 (EST) From: Lowell Gilbert To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/176113: new port: gmtp X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Lowell Gilbert List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Feb 2013 15:20:00 -0000 >Number: 176113 >Category: ports >Synopsis: new port: gmtp >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: Wed Feb 13 15:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Lowell Gilbert >Release: FreeBSD 9.1-STABLE amd64 >Organization: The Ilk >Environment: System: FreeBSD lowell-desk.lan 9.1-STABLE FreeBSD 9.1-STABLE #15 r246406M: Wed Feb 6 11:55:50 EST 2013 root@lowell-desk.lan:/usr/obj/usr/src/sys/LOWELL64 amd64 >Description: I have developed a port for gmtp, a small GUI for libmtp. This makes transfer to MTP (Microsoft's Music Transfer Protocol) devices more convenient. Many smartphones are starting to use MTP instead of umass for their storage, as it is much better about allowing the phone to continue to use the "disk" space while connected to the computer. There are several funny things about this port. The tarball uses Sourceforge, but with non-standard pathnames and a different capitalization for the extract directory than for the tarball. The makefile that comes with the port explicitly calls out gcc in the CC variable, but it works fine with clang, so I just removed that setting. That makefile also renames files after installing them; I left that behaviour unchanged. >How-To-Repeat: N/A >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # gmtp # gmtp/Makefile # gmtp/distinfo # gmtp/pkg-descr # gmtp/pkg-plist # gmtp/files # gmtp/files/patch-Makefile # echo c - gmtp mkdir -p gmtp > /dev/null 2>&1 echo x - gmtp/Makefile sed 's/^X//' >gmtp/Makefile << 'bd2ee5cb3eb52ffc4ed574533dce1d2f' X# $FreeBSD: $ X XPORTNAME= gmtp XPORTVERSION= 1.3.4 XCATEGORIES= audio X### Sourceforge directory base is "projects" rather than standard "project" XMASTER_SITES=http://sourceforge.net/projects/${PORTNAME}/files/gMTP-${PORTVERSION}/ XDISTNAME= gMTP XDISTFILES= gmtp-${PORTVERSION}-i386.tar.gz X XMAINTAINER= freebsd-ports-local@be-well.ilk.org XCOMMENT= Media Transfer Protocol (MTP) gui program X XLICENSE= BSD X XWRKSRC=${WRKDIR}/gMTP X X### And Sourceforge doesn't work with -A XFETCH_ARGS= "-m" XCPPFLAGS+= -I${LOCALBASE}/include XLDFLAGS+= -L${LOCALBASE}/lib XUSE_GMAKE= yes XUSE_GETTEXT= yes XUSE_GNOME= gconf2 X X# First one implies usb dependency XLIB_DEPENDS+= mtp:${PORTSDIR}/audio/libmtp XLIB_DEPENDS+= id3tag:${PORTSDIR}/audio/libid3tag XLIB_DEPENDS+= FLAC:${PORTSDIR}/audio/flac XLIB_DEPENDS+= vorbis:${PORTSDIR}/audio/libvorbis X X# CONFIGURE_ENV+= ac_cv_lib_openusb_openusb_init=no X# .else X# CONFIGURE_ENV+= LIBUSB_CFLAGS="-I/usr/include" LIBUSB_LIBS="-lusb" LIBS="-lusb" X# .endif X X# post-patch: X# @${REINPLACE_CMD} -e \ X# '/^SUBDIRS/s|doc||' ${WRKSRC}/Makefile.in X# @${REINPLACE_CMD} -e \ X# '/if test/s|==|=| ; \ X# /LIBUSB_REQUIRES/s|libusb-1.0|| ; \ X# /endian.h/s|machine|sys|' ${WRKSRC}/configure X# @${REINPLACE_CMD} -e \ X# 's| bd2ee5cb3eb52ffc4ed574533dce1d2f echo x - gmtp/distinfo sed 's/^X//' >gmtp/distinfo << '6ff8ffcbd03347085836f644ebf8d5c5' XSHA256 (gmtp-1.3.4-i386.tar.gz) = 9bf99c517bb40b8df288243e2b77aebb2c3d62b2baf98f9aa8675d6cf910be41 XSIZE (gmtp-1.3.4-i386.tar.gz) = 878661 6ff8ffcbd03347085836f644ebf8d5c5 echo x - gmtp/pkg-descr sed 's/^X//' >gmtp/pkg-descr << '2f18211829adcea2b614a2880ca31443' Xa basic GUI for Microsoft's Media Transfer Protocol (MTP) Xincluding file transer and some playlist handling X XWWW: http://gmtp.sourceforge.net/ 2f18211829adcea2b614a2880ca31443 echo x - gmtp/pkg-plist sed 's/^X//' >gmtp/pkg-plist << '332a1d9c0d4e750f06568f42b84f6b52' Xbin/gmtp Xshare/gmtp/icon.png Xshare/gmtp/logo.png Xshare/gmtp/icon-16.png Xshare/gmtp/stock-about-16.png Xshare/gmtp/audio-x-mp3-playlist.png Xshare/gmtp/audio-x-mpeg.png Xshare/gmtp/folder.png Xshare/gmtp/image-x-generic.png Xshare/gmtp/media-cdrom-audio.png Xshare/gmtp/text-plain.png Xshare/gmtp/video-x-generic.png Xshare/gmtp/empty.png Xshare/gmtp/view-refresh.png Xshare/applications/gMTP.desktop Xshare/pixmaps/gMTPicon.png Xshare/locale/es/LC_MESSAGES/gmtp.mo Xshare/locale/fr/LC_MESSAGES/gmtp.mo Xshare/locale/it/LC_MESSAGES/gmtp.mo Xshare/locale/da/LC_MESSAGES/gmtp.mo Xshare/locale/de/LC_MESSAGES/gmtp.mo Xshare/gconf/schemas/gmtp.schemas X@dirrm share/gmtp 332a1d9c0d4e750f06568f42b84f6b52 echo c - gmtp/files mkdir -p gmtp/files > /dev/null 2>&1 echo x - gmtp/files/patch-Makefile sed 's/^X//' >gmtp/files/patch-Makefile << '9e299b56b4153afc048d1f4cc5583166' X--- Makefile.ORIG 2012-08-06 07:24:43.000000000 -0400 X+++ Makefile 2013-02-11 16:18:45.000000000 -0500 X@@ -27,7 +27,6 @@ X LDFLAGS += -L/usr/sfw/lib -R/usr/sfw/lib X endif X else X-CC = gcc X CFLAGS += -std=c99 -Wall X INSTALL = install -c X MSGFMT = msgfmt 9e299b56b4153afc048d1f4cc5583166 exit >Release-Note: >Audit-Trail: >Unformatted: