[gentoo-commits] repo/gentoo:master commit in: media-libs/libgpod/, media-libs/libgpod/files/
commit: 76b28ad1b38d068a8fa1ae76f1253186584c6f63 Author: James Le Cuirot gentoo org> AuthorDate: Sat Apr 27 21:32:46 2024 + Commit: James Le Cuirot gentoo org> CommitDate: Sat Apr 27 21:49:16 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76b28ad1 media-libs/libgpod: Patch to support libplist-2.3 Closes: https://bugs.gentoo.org/926995 Signed-off-by: James Le Cuirot gentoo.org> .../libgpod/files/libgpod-0.8.3-plist-2.3.patch| 31 + media-libs/libgpod/libgpod-0.8.3-r7.ebuild | 79 ++ 2 files changed, 110 insertions(+) diff --git a/media-libs/libgpod/files/libgpod-0.8.3-plist-2.3.patch b/media-libs/libgpod/files/libgpod-0.8.3-plist-2.3.patch new file mode 100644 index ..6baa712c9a96 --- /dev/null +++ b/media-libs/libgpod/files/libgpod-0.8.3-plist-2.3.patch @@ -0,0 +1,31 @@ +diff -Naur a/tools/ipod-lockdown.c b/tools/ipod-lockdown.c +--- a/tools/ipod-lockdown.c2013-07-10 14:57:39.0 +0100 b/tools/ipod-lockdown.c2024-04-27 22:28:10.334056758 +0100 +@@ -100,7 +100,7 @@ + plist_get_string_val(ptr, ); + if (str != NULL) { + ptr = plist_new_string(str); +- plist_dict_insert_item(value, "SerialNumber", ptr); ++ plist_dict_set_item(value, "SerialNumber", ptr); + free(str); + } + +@@ -112,15 +112,15 @@ + plist_get_string_val(ptr, ); + if (str != NULL) { + ptr = plist_new_string(str); +- plist_dict_insert_item(value, "VisibleBuildID", ptr); ++ plist_dict_set_item(value, "VisibleBuildID", ptr); + free(str); + } + + ptr = plist_new_string(uuid); +- plist_dict_insert_item(value, "FireWireGUID", ptr); ++ plist_dict_set_item(value, "FireWireGUID", ptr); + + ptr = plist_new_string(uuid); +- plist_dict_insert_item(value, "UniqueDeviceID", ptr); ++ plist_dict_set_item(value, "UniqueDeviceID", ptr); + + plist_to_xml(value, , _length); + diff --git a/media-libs/libgpod/libgpod-0.8.3-r7.ebuild b/media-libs/libgpod/libgpod-0.8.3-r7.ebuild new file mode 100644 index ..87203a063b15 --- /dev/null +++ b/media-libs/libgpod/libgpod-0.8.3-r7.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools udev + +DESCRIPTION="Shared library to access the contents of an iPod" +HOMEPAGE="http://www.gtkpod.org/libgpod/; +SRC_URI="mirror://sourceforge/gtkpod/${P}.tar.bz2" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~riscv ~x86" +IUSE="+gtk ios +udev" + +RDEPEND=" + >=app-pda/libplist-2.3:= + >=dev-db/sqlite-3:3 + >=dev-libs/glib-2.16:2 + dev-libs/libxml2:2 + sys-apps/sg3_utils:0= + gtk? ( x11-libs/gdk-pixbuf:2 ) + ios? ( app-pda/libimobiledevice:= ) + udev? ( virtual/udev ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-libs/libxslt + dev-util/intltool + dev-build/gtk-doc-am + sys-devel/gettext + virtual/pkgconfig +" + +DOCS=( AUTHORS NEWS README{,.overview,.sqlite,.SysInfo} TROUBLESHOOTING ) + +PATCHES=( + "${FILESDIR}"/${P}-comment.patch # bug 537968 + "${FILESDIR}"/${P}-segfault.patch # bug 565052 + "${FILESDIR}"/${P}-pkgconfig_overlinking.patch + "${FILESDIR}"/${P}-implicit-int.patch + "${FILESDIR}"/${P}-plist-2.3.patch +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myeconfargs=( + --disable-pygobject + --disable-static + --without-hal + --without-mono + --without-python + --with-udev-dir="$(get_udevdir)" + $(use_enable gtk gdk-pixbuf) + $(use_with ios libimobiledevice) + $(use_enable udev) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + rm "${ED}"/usr/$(get_libdir)/pkgconfig/libgpod-sharp.pc || die + use udev && rmdir "${ED}"/tmp || die + find "${ED}" -name '*.la' -type f -delete || die +} + +pkg_postinst() { + use udev && udev_reload +} + +pkg_postrm() { + use udev && udev_reload +}
[gentoo-commits] repo/gentoo:master commit in: media-libs/libgpod/, media-libs/libgpod/files/
commit: b06d3056195b692580ce4e27c8dbf7a89473468f Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Mar 27 21:07:16 2021 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Mar 28 00:26:17 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b06d3056 media-libs/libgpod: Drop 0.8.3-r3 Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner gentoo.org> media-libs/libgpod/files/libgpod-0.8.3-mono4.patch | 11 --- media-libs/libgpod/libgpod-0.8.3-r3.ebuild | 79 -- 2 files changed, 90 deletions(-) diff --git a/media-libs/libgpod/files/libgpod-0.8.3-mono4.patch b/media-libs/libgpod/files/libgpod-0.8.3-mono4.patch deleted file mode 100644 index 9cb57b464ff..000 --- a/media-libs/libgpod/files/libgpod-0.8.3-mono4.patch +++ /dev/null @@ -1,11 +0,0 @@ libgpod-0.8.3/m4/mono.m4.orig 2015-05-18 12:25:35.417699745 +0100 -+++ libgpod-0.8.3/m4/mono.m4 2015-05-18 12:25:53.488079557 +0100 -@@ -34,7 +34,7 @@ - - AC_DEFUN([SHAMROCK_FIND_MONO_2_0_COMPILER], - [ -- SHAMROCK_FIND_PROGRAM_OR_BAIL(MCS, gmcs) -+ SHAMROCK_FIND_PROGRAM_OR_BAIL(MCS, mcs) - ]) - - AC_DEFUN([SHAMROCK_FIND_MONO_RUNTIME], diff --git a/media-libs/libgpod/libgpod-0.8.3-r3.ebuild b/media-libs/libgpod/libgpod-0.8.3-r3.ebuild deleted file mode 100644 index bdbbcf9a5bc..000 --- a/media-libs/libgpod/libgpod-0.8.3-r3.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools mono-env udev - -DESCRIPTION="Shared library to access the contents of an iPod" -HOMEPAGE="http://www.gtkpod.org/libgpod/; -SRC_URI="mirror://sourceforge/gtkpod/${P}.tar.bz2" - -LICENSE="LGPL-2" -SLOT="0" -KEYWORDS="amd64 ppc x86" -IUSE="+gtk +udev ios mono" - -RDEPEND=" - >=app-pda/libplist-1.0:= - >=dev-db/sqlite-3:3 - >=dev-libs/glib-2.16:2 - dev-libs/libxml2:2 - sys-apps/sg3_utils - gtk? ( x11-libs/gdk-pixbuf:2 ) - ios? ( app-pda/libimobiledevice:= ) - udev? ( virtual/udev ) - mono? ( - >=dev-lang/mono-1.9.1 - >=dev-dotnet/gtk-sharp-2.12 - ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - dev-libs/libxslt - dev-util/intltool - dev-util/gtk-doc-am - sys-devel/gettext - virtual/pkgconfig -" - -DOCS=( AUTHORS NEWS README{,.overview,.sqlite,.SysInfo} TROUBLESHOOTING ) - -PATCHES=( - "${FILESDIR}"/${P}-comment.patch #537968 - "${FILESDIR}"/${P}-segfault.patch #565052 - "${FILESDIR}"/${P}-mono4.patch - "${FILESDIR}"/${P}-pkgconfig_overlinking.patch -) - -pkg_setup() { - use mono && mono-env_pkg_setup -} - -src_prepare() { - default - - # mono-4 fixes from Fedora - sed -e "s#public DateTime#public System.DateTime#g" \ - -i bindings/mono/libgpod-sharp/Artwork.cs || die - eautoreconf -} - -src_configure() { - econf \ - --disable-static \ - $(use_enable udev) \ - $(use_enable gtk gdk-pixbuf) \ - --disable-pygobject \ - --without-hal \ - $(use_with ios libimobiledevice) \ - --with-udev-dir="$(get_udevdir)" \ - --without-python \ - $(use_with mono) -} - -src_install() { - default - rmdir "${ED}"/tmp || die - find "${D}" -name '*.la' -type f -delete || die -}
[gentoo-commits] repo/gentoo:master commit in: media-libs/libgpod/, media-libs/libgpod/files/
commit: 4c93bcc75f8768d767dca4aa22ed612ca0c342ed Author: Pacho Ramos gentoo org> AuthorDate: Sat Oct 8 10:07:47 2016 + Commit: Pacho Ramos gentoo org> CommitDate: Sat Oct 8 10:07:47 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c93bcc7 media-libs/libgpod: Use Fedora patches for mono-4 support (#579100) and prevent overlinking. Package-Manager: portage-2.3.1 media-libs/libgpod/files/libgpod-0.8.3-mono4.patch | 11 +++ .../libgpod-0.8.3-pkgconfig_overlinking.patch | 11 +++ media-libs/libgpod/libgpod-0.8.3-r2.ebuild | 88 ++ 3 files changed, 110 insertions(+) diff --git a/media-libs/libgpod/files/libgpod-0.8.3-mono4.patch b/media-libs/libgpod/files/libgpod-0.8.3-mono4.patch new file mode 100644 index ..9cb57b4 --- /dev/null +++ b/media-libs/libgpod/files/libgpod-0.8.3-mono4.patch @@ -0,0 +1,11 @@ +--- libgpod-0.8.3/m4/mono.m4.orig 2015-05-18 12:25:35.417699745 +0100 libgpod-0.8.3/m4/mono.m4 2015-05-18 12:25:53.488079557 +0100 +@@ -34,7 +34,7 @@ + + AC_DEFUN([SHAMROCK_FIND_MONO_2_0_COMPILER], + [ +- SHAMROCK_FIND_PROGRAM_OR_BAIL(MCS, gmcs) ++ SHAMROCK_FIND_PROGRAM_OR_BAIL(MCS, mcs) + ]) + + AC_DEFUN([SHAMROCK_FIND_MONO_RUNTIME], diff --git a/media-libs/libgpod/files/libgpod-0.8.3-pkgconfig_overlinking.patch b/media-libs/libgpod/files/libgpod-0.8.3-pkgconfig_overlinking.patch new file mode 100644 index ..a5dafb2 --- /dev/null +++ b/media-libs/libgpod/files/libgpod-0.8.3-pkgconfig_overlinking.patch @@ -0,0 +1,11 @@ +diff -up libgpod-0.8.2/libgpod-1.0.pc.in.pkgconfig_overlinking libgpod-0.8.2/libgpod-1.0.pc.in +--- libgpod-0.8.2/libgpod-1.0.pc.in.pkgconfig_overlinking 2011-04-15 03:37:34.0 -0500 libgpod-0.8.2/libgpod-1.0.pc.in2012-08-10 13:53:00.294631805 -0500 +@@ -6,6 +6,6 @@ includedir=@includedir@ + Name: libgpod + Description: A library to manipulate songs and playlists stored on an ipod + Version: @VERSION@ +-Requires: glib-2.0 >= 2.8.0 gobject-2.0 @GDKPIXBUF_REQ@ @LIBIMOBILEDEVICE_REQ@ ++Requires.private: glib-2.0 >= 2.8.0 gobject-2.0 @GDKPIXBUF_REQ@ @LIBIMOBILEDEVICE_REQ@ + Libs: -L${libdir} -lgpod + Cflags: -I${includedir}/gpod-1.0 diff --git a/media-libs/libgpod/libgpod-0.8.3-r2.ebuild b/media-libs/libgpod/libgpod-0.8.3-r2.ebuild new file mode 100644 index ..79f9aa2 --- /dev/null +++ b/media-libs/libgpod/libgpod-0.8.3-r2.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) + +inherit autotools eutils mono-env python-single-r1 udev + +DESCRIPTION="Shared library to access the contents of an iPod" +HOMEPAGE="http://www.gtkpod.org/libgpod/; +SRC_URI="mirror://sourceforge/gtkpod/${P}.tar.bz2" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="+gtk python +udev ios mono static-libs" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=" + >=app-pda/libplist-1.0:= + >=dev-db/sqlite-3:3 + >=dev-libs/glib-2.16:2 + dev-libs/libxml2:2 + sys-apps/sg3_utils + gtk? ( x11-libs/gdk-pixbuf:2 ) + ios? ( app-pda/libimobiledevice:= ) + python? ( + ${PYTHON_DEPS} + >=media-libs/mutagen-1.8[${PYTHON_USEDEP}] + >=dev-python/pygobject-2.8:2[${PYTHON_USEDEP}] + ) + udev? ( virtual/udev ) + mono? ( + >=dev-lang/mono-1.9.1 + >=dev-dotnet/gtk-sharp-2.12 + ) +" +DEPEND="${RDEPEND} + python? ( >=dev-lang/swig-1.3.24:0 ) + dev-libs/libxslt + dev-util/intltool + dev-util/gtk-doc-am + sys-devel/gettext + virtual/pkgconfig +" + +DOCS="AUTHORS NEWS README* TROUBLESHOOTING" + +PATCHES=( + "${FILESDIR}"/${P}-comment.patch #537968 + "${FILESDIR}"/${P}-segfault.patch #565052 + "${FILESDIR}"/${P}-mono4.patch + "${FILESDIR}"/${P}-pkgconfig_overlinking.patch +) + +pkg_setup() { + use mono && mono-env_pkg_setup + use python && python-single-r1_pkg_setup +} + +src_prepare() { + default + + # mono-4 fixes from Fedora + sed -i "s#public DateTime#public System.DateTime#g" bindings/mono/libgpod-sharp/Artwork.cs || die + eautoreconf +} + +src_configure() { + econf \ + $(use_enable static-libs static) \ + $(use_enable udev) \ + $(use_enable gtk gdk-pixbuf) \ + $(use_enable python pygobject) \ + --without-hal \ + $(use_with ios libimobiledevice) \ + --with-udev-dir="$(get_udevdir)" \ + $(use_with python) \ + $(use_with mono) +} + +src_install() { + default + rmdir "${ED}"/tmp + prune_libtool_files --modules +}