public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] libgpod comment bug
@ 2015-12-13 18:51 ddjones
  2015-12-13 19:15 ` David Abbott
  0 siblings, 1 reply; 3+ messages in thread
From: ddjones @ 2015-12-13 18:51 UTC (permalink / raw
  To: gentoo-user

I'm reemerging Amarok after adding the ipod flag and libgpod fails to install 
due to bug 537968.  

https://bugs.gentoo.org/show_bug.cgi?id=537968

There's a patch for the bug, which I've copied, but it's not being applied:

root@kushiel /etc/portage/patches/media-libs/libgpod # cat libgpod-swig-
comment-fix.patch
--- bindings/python/gpod.i.in.orig  2015-06-20 23:15:41.000000000 -0700
+++ bindings/python/gpod.i.in   2015-06-20 23:16:28.000000000 -0700
@@ -298,9 +298,9 @@
 %include "gpod_doc.i"
 %include "@top_builddir@/config.h"
 
-# be nicer to decode these utf8 strings into Unicode objects in the C
-# layer. Here we are leaving it to the Python side, and just giving
-# them utf8 encoded Strings.
+// be nicer to decode these utf8 strings into Unicode objects in the C
+// layer. Here we are leaving it to the Python side, and just giving
+// them utf8 encoded Strings.
 typedef char gchar;
 
 %typemap(in) time_t {



I'm using the instructions found here:

https://bugs.gentoo.org/show_bug.cgi?id=349707#c11

However, it doesn't look like portage is even recognizing the patch:

>>> Source unpacked in /var/tmp/portage/media-libs/libgpod-0.8.3/work
>>> Preparing source in /var/tmp/portage/media-
libs/libgpod-0.8.3/work/libgpod-0.8.3 ...
>>> Source prepared.

Any hints or suggestions on what I'm doing wrong?

-- 
"People who think they're generous to a fault usually think that's their only 
fault." - Sidney J. Harris



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] libgpod comment bug
  2015-12-13 18:51 [gentoo-user] libgpod comment bug ddjones
@ 2015-12-13 19:15 ` David Abbott
  2015-12-13 19:32   ` ddjones
  0 siblings, 1 reply; 3+ messages in thread
From: David Abbott @ 2015-12-13 19:15 UTC (permalink / raw
  To: PR Gentoo

On Sun, Dec 13, 2015 at 1:51 PM, ddjones <ddjones@riddlemaster.org> wrote:
> I'm reemerging Amarok after adding the ipod flag and libgpod fails to install
> due to bug 537968.
>
> https://bugs.gentoo.org/show_bug.cgi?id=537968
>
> There's a patch for the bug, which I've copied, but it's not being applied:
>
> root@kushiel /etc/portage/patches/media-libs/libgpod # cat libgpod-swig-
> comment-fix.patch
> --- bindings/python/gpod.i.in.orig  2015-06-20 23:15:41.000000000 -0700
> +++ bindings/python/gpod.i.in   2015-06-20 23:16:28.000000000 -0700
> @@ -298,9 +298,9 @@
>  %include "gpod_doc.i"
>  %include "@top_builddir@/config.h"
>
> -# be nicer to decode these utf8 strings into Unicode objects in the C
> -# layer. Here we are leaving it to the Python side, and just giving
> -# them utf8 encoded Strings.
> +// be nicer to decode these utf8 strings into Unicode objects in the C
> +// layer. Here we are leaving it to the Python side, and just giving
> +// them utf8 encoded Strings.
>  typedef char gchar;
>
>  %typemap(in) time_t {
>
>
>
> I'm using the instructions found here:
>
> https://bugs.gentoo.org/show_bug.cgi?id=349707#c11
>
> However, it doesn't look like portage is even recognizing the patch:
>
>>>> Source unpacked in /var/tmp/portage/media-libs/libgpod-0.8.3/work
>>>> Preparing source in /var/tmp/portage/media-
> libs/libgpod-0.8.3/work/libgpod-0.8.3 ...
>>>> Source prepared.
>
> Any hints or suggestions on what I'm doing wrong?
>
> --
> "People who think they're generous to a fault usually think that's their only
> fault." - Sidney J. Harris
>
>

Looking at the ebuild, it is not enabled for epatch_user,

http://euscan.gentooexperimental.org/files/gentoo/media-libs/libgpod-0.8.3.ebuild

https://wiki.gentoo.org/wiki//etc/portage/patches


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] libgpod comment bug
  2015-12-13 19:15 ` David Abbott
@ 2015-12-13 19:32   ` ddjones
  0 siblings, 0 replies; 3+ messages in thread
From: ddjones @ 2015-12-13 19:32 UTC (permalink / raw
  To: gentoo-user

On Sunday, December 13, 2015 02:15:17 PM David Abbott wrote:
> On Sun, Dec 13, 2015 at 1:51 PM, ddjones <ddjones@riddlemaster.org> wrote:
...
> > However, it doesn't look like portage is even recognizing the patch:
> >>>> Source unpacked in /var/tmp/portage/media-libs/libgpod-0.8.3/work
> >>>> Preparing source in /var/tmp/portage/media-
> > 
> > libs/libgpod-0.8.3/work/libgpod-0.8.3 ...
> > 
> >>>> Source prepared.
> > 
> > Any hints or suggestions on what I'm doing wrong?
> > 
> > --
> > "People who think they're generous to a fault usually think that's their
> > only fault." - Sidney J. Harris
> 
> Looking at the ebuild, it is not enabled for epatch_user,
> 
> http://euscan.gentooexperimental.org/files/gentoo/media-libs/libgpod-0.8.3.e
> build
> 
> https://wiki.gentoo.org/wiki//etc/portage/patches

Thank you.  First time I'd tried to use that method of patching and I wasn't 
aware it had to be enabled in the ebuild.  Creating an /etc/portage/bashrc as 
directed in your link solved the issue.

-- 
"Orthodoxy: that peculiar condition where the patient can neither eliminate an 
old idea nor absorb a new one." - Elbert Hubbard



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-12-13 19:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-13 18:51 [gentoo-user] libgpod comment bug ddjones
2015-12-13 19:15 ` David Abbott
2015-12-13 19:32   ` ddjones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox