[132990] trunk/dports/multimedia/libgpod
ryandesign at macports.org
ryandesign at macports.org
Mon Feb 16 23:42:31 PST 2015
Revision: 132990
https://trac.macports.org/changeset/132990
Author: ryandesign at macports.org
Date: 2015-02-16 23:42:31 -0800 (Mon, 16 Feb 2015)
Log Message:
-----------
libgpod: update to 0.8.2
Modified Paths:
--------------
trunk/dports/multimedia/libgpod/Portfile
Added Paths:
-----------
trunk/dports/multimedia/libgpod/files/patch-tools-generic-callout.c.diff
Modified: trunk/dports/multimedia/libgpod/Portfile
===================================================================
--- trunk/dports/multimedia/libgpod/Portfile 2015-02-17 07:18:46 UTC (rev 132989)
+++ trunk/dports/multimedia/libgpod/Portfile 2015-02-17 07:42:31 UTC (rev 132990)
@@ -4,24 +4,26 @@
PortSystem 1.0
name libgpod
-version 0.8.0
+version 0.8.2
set branch [join [lrange [split ${version} .] 0 1] .]
-revision 12
categories multimedia
platforms darwin
maintainers nomaintainer
+license LGPL-2.1+ GPL-2+
+
description libgpod is a library to access the contents of an iPod.
+
long_description ${description} This library is based on code used in the \
gtkpod project. Starting with V0.96.CVS gtkpod depends \
on this library.
homepage http://www.gtkpod.org/libgpod/
-license LGPL-2.1+ GPL-2+
master_sites sourceforge:project/gtkpod/libgpod/libgpod-${branch}
-checksums md5 6660f74cc53293dcc847407aa5f672ce \
- sha1 ddef7f3583535242b4928b300eb8aa6bc9a0e6dc \
- rmd160 446d5045f6c91e55e894c5d5370658afc8abe8ef
+use_bzip2 yes
+checksums rmd160 63e60211cf0e52a60eade6d39e12b6fab023fccb \
+ sha256 0054e9b0060d7b923cdc1b748b6617f4dc9f1401fb6bc9368f9960537c55a092
+
depends_build path:bin/pkg-config:pkgconfig \
port:intltool
@@ -32,6 +34,7 @@
path:lib/pkgconfig/libusb-1.0.pc:libusb
patchfiles-append patch-bindings-python-gpod.i.in.diff
+patchfiles-append patch-tools-generic-callout.c.diff
# update m4/intltool.m4 and autoreconf
@@ -78,7 +81,9 @@
configure.args-append --disable-pygobject --with-python=no
}
-configure.args-append --disable-silent-rules
+configure.args-append \
+ --disable-silent-rules \
+ --disable-udev
post-destroot {
# fix install location of Python stuff, if variant is selected
Added: trunk/dports/multimedia/libgpod/files/patch-tools-generic-callout.c.diff
===================================================================
--- trunk/dports/multimedia/libgpod/files/patch-tools-generic-callout.c.diff (rev 0)
+++ trunk/dports/multimedia/libgpod/files/patch-tools-generic-callout.c.diff 2015-02-17 07:42:31 UTC (rev 132990)
@@ -0,0 +1,22 @@
+https://sourceforge.net/p/gtkpod/bugs/292/
+https://gist.github.com/stigi/d030f697aaca3f917b4a
+--- tools/generic-callout.c.orig 2013-07-10 08:43:42.000000000 -0500
++++ tools/generic-callout.c 2015-02-17 01:08:15.000000000 -0600
+@@ -605,7 +605,7 @@
+ return NULL;
+ }
+ g_assert (tmpname == filename);
+- result = mount (dev_path, tmpname, fstype, 0, NULL);
++ result = mount (dev_path, tmpname, 0, NULL);
+ if (result != 0) {
+ g_debug("failed to mount device %s at %s: %s",
+ dev_path, tmpname, strerror(errno));
+@@ -745,7 +745,7 @@
+ */
+ mounted_ipod_set_properties (backend, ipod_mountpoint);
+
+- umount (ipod_mountpoint);
++ unmount (ipod_mountpoint, 0);
+ g_rmdir (ipod_mountpoint);
+ g_free (ipod_mountpoint);
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150216/ee5f8c84/attachment.html>
More information about the macports-changes
mailing list