public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Help needed:jpeg_resync_to_restart() and zathura pdf reader
@ 2011-09-03  9:44 Ignas Anikevicius
  2011-09-04  0:29 ` Michael Orlitzky
  0 siblings, 1 reply; 3+ messages in thread
From: Ignas Anikevicius @ 2011-09-03  9:44 UTC (permalink / raw
  To: gentoo-user

Hello list,

I was wondering if someone could explain me what ebuild provides the
jpeg_resync_to_restart() function as when I try to run a pdf using a
zathura-pdf-mupdf plugin, it gives me the following error:
-----------------------------------------------------------------------------------------------------------------------
error: could not load plugin /usr/lib/zathura/pdf.so
(/usr/lib/zathura/pdf.so: undefined symbol: jpeg_resync_to_restart)
-----------------------------------------------------------------------------------------------------------------------

I was told that it might be a problem with the libjpeg-turbo, but I
have tried both versions (1.1.0 and 1.1.1) and it did not affect
anything. I was wondering whether there are some compilation options,
which I am not aware of?

Alternatively, the problem might lie in my lack of knowledge in
writing ebuilds. You can find my ebuild on [1], whereas a known
version of AUR PKGBUILD can be found on [2].  Could someone, ideally
familiar with both GNU/Linux Distributions, explain me what I am doing
wrong?

All best,
Ignas A.

[1] -
https://github.com/gns-ank/gnlay/blob/master/app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-9999.ebuild
[2] - http://aur.archlinux.org/packages/za/zathura-pdf-mupdf-git/PKGBUILD



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

* Re: [gentoo-user] Help needed:jpeg_resync_to_restart() and zathura pdf reader
  2011-09-03  9:44 [gentoo-user] Help needed:jpeg_resync_to_restart() and zathura pdf reader Ignas Anikevicius
@ 2011-09-04  0:29 ` Michael Orlitzky
  2011-09-04 19:23   ` Ignas Anikevicius
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Orlitzky @ 2011-09-04  0:29 UTC (permalink / raw
  To: gentoo-user

On 09/03/2011 05:44 AM, Ignas Anikevicius wrote:
> Hello list,
> 
> I was wondering if someone could explain me what ebuild provides the
> jpeg_resync_to_restart() function as when I try to run a pdf using a
> zathura-pdf-mupdf plugin, it gives me the following error:
> -----------------------------------------------------------------------------------------------------------------------
> error: could not load plugin /usr/lib/zathura/pdf.so
> (/usr/lib/zathura/pdf.so: undefined symbol: jpeg_resync_to_restart)
> -----------------------------------------------------------------------------------------------------------------------
> 
> I was told that it might be a problem with the libjpeg-turbo, but I
> have tried both versions (1.1.0 and 1.1.1) and it did not affect
> anything. I was wondering whether there are some compilation options,
> which I am not aware of?
> 
> Alternatively, the problem might lie in my lack of knowledge in
> writing ebuilds. You can find my ebuild on [1], whereas a known
> version of AUR PKGBUILD can be found on [2].  Could someone, ideally
> familiar with both GNU/Linux Distributions, explain me what I am doing
> wrong?

The latest zathura ebuild in portage has,

  RDEPEND=">=x11-libs/cairo-1.8.8
	  >=dev-libs/glib-2.22.4:2
	  >=x11-libs/gtk+-2.18.6:2
	  >=app-text/poppler-0.12.3[cairo]"
  DEPEND="${RDEPEND}
	  dev-util/pkgconfig"


How come you only have the following?

  RDEPEND=">=app-text/mupdf-0.8"

  DEPEND="${RDEPEND}
	  dev-util/pkgconfig"

And have you tried using libjpeg instead of the -turbo version?



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

* Re: [gentoo-user] Help needed:jpeg_resync_to_restart() and zathura pdf reader
  2011-09-04  0:29 ` Michael Orlitzky
@ 2011-09-04 19:23   ` Ignas Anikevicius
  0 siblings, 0 replies; 3+ messages in thread
From: Ignas Anikevicius @ 2011-09-04 19:23 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 730 bytes --]

Hello,

On 04/09/11 01:29, Michael Orlitzky wrote:
> RDEPEND=">=app-text/mupdf-0.8"

Oh sorry, I have forgotten to tell that I am using the girara branch,
which uses plugins and depends only on girara libs, it should be
fixed to have that, but I did not bother to do it previously as I had
all the dependencies tracked by hand.

I have EGIT_BRANCH="girara" in '/etc/portage/env/app-text/zathura'.

>
> And have you tried using libjpeg instead of the -turbo version?
>
This is were I was wondering as well, but did not have chance to check
it. Also, Arch guys are using the turbo version and I was thinking
that it should not be an issue, but I will try and see whether it also
does not work with non turbo version.

Cheers,
Ignas

[-- Attachment #2: Type: text/html, Size: 1189 bytes --]

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

end of thread, other threads:[~2011-09-04 19:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-03  9:44 [gentoo-user] Help needed:jpeg_resync_to_restart() and zathura pdf reader Ignas Anikevicius
2011-09-04  0:29 ` Michael Orlitzky
2011-09-04 19:23   ` Ignas Anikevicius

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