Giter Club home page Giter Club logo

pdfpc's People

Contributors

andreasbilke avatar barak avatar davvil avatar jakobwesthoff avatar nerdyprojects avatar nomeata avatar renewagner avatar rschroll avatar stefanct avatar tg-x avatar tschager avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pdfpc's Issues

Mark slide as hidden or not show

It would be useful to be able to mark an slide as hidden while rehearsing, so It doesn't show in the presentation.

BTW: pdfpc is awesome! I love it and find it very useful! Thanks!

Segfault when starting

Hi,

pdfpc gives me a segfault when starting, right after prerendering is done.

The console output is this:

================== snip =====================
pdfpc v3.1.1
(C) 2012 David Vilar
(C) 2009-2011 Jakob Westhoff

Initializing rendering...

(pdfpc:27306): Gdk-CRITICAL **: IA__gdk_pixbuf_get_from_drawable: assertion `src != NULL' failed

(pdfpc:27306): Gdk-CRITICAL **: IA__gdk_pixbuf_get_from_drawable: assertion `src != NULL' failed

Program received signal SIGSEGV, Segmentation fault.
================== snip =====================

Here is the (short) backtrace from GDB:

================== snip =====================
(gdb) bt
#0 0x00007ffff7ba1d69 in g_object_ref () from /usr/lib/libgobject-2.0.so.0
#1 0x000000000042d506 in _g_object_ref0 (self=0x21)

at /home/tinloaf/src/pdfpc/src/classes/renderer/cache/png/engine.vala:98

#2 0x000000000042d9f8 in pdfpc_renderer_cache_png_engine_real_retrieve (base=0x97ead0, index=5)

at /home/tinloaf/src/pdfpc/src/classes/renderer/cache/png/engine.vala:108

#3 0x000000000042e659 in pdfpc_renderer_cache_base_retrieve (self=0x97ead0, index=5)

at /home/tinloaf/src/pdfpc/src/classes/renderer/cache/base.vala:66

#4 0x00000000004343ac in _pdfpc_window_overview_fill_previews (self=0x951050)

at /home/tinloaf/src/pdfpc/src/classes/window/overview.vala:301

#5 0x000000000043406e in __pdfpc_window_overview_fill_previews_gsource_func (self=0x951050)

at overview.c:1124

#6 0x00007ffff78de845 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#7 0x00007ffff78deb78 in ?? () from /usr/lib/libglib-2.0.so.0
#8 0x00007ffff78def72 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#9 0x00007ffff68b4727 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#10 0x000000000043c480 in pdfpc_application_run (self=0x65e400, args=0x7fffffffe708, args_length1=2)

at /home/tinloaf/src/pdfpc/src/pdfpc.vala:223

#11 0x000000000043c552 in pdfpc_application_main (args=0x7fffffffe708, args_length1=2)

at /home/tinloaf/src/pdfpc/src/pdfpc.vala:232

#12 0x000000000043c5a8 in main (argc=2, argv=0x7fffffffe708)

at /home/tinloaf/src/pdfpc/src/pdfpc.vala:230

================== snip =====================

The full backtrace is rather long, so I used a pastebin:

http://pastebin.com/fjJ4MYX5

I hope you can make some sense of this. :)

Thanks for the great software, Lukas

Item bullet points not shown for the enumerate environment

I make slides with beamer.
Using \usetheme{Madrid} and
...
\begin{enumerate}
\item abc test
\item def test
\end{enumerate}
...
I can get a blue circle bullet shown before each item in Acrobat reader, mupdf etc..
But with pdfpc (v3.1.1), there is no such bullet.

Record time ?

(if this post is at the wrong place, sorry ...)

Hi,

I discovered pdfpc recently, and I must say that it is a very nice program (solving the "video in beamer slides on linux" problem :D).

I have a feature request : to be able to record the time passed on each slide. Something like a "rehearsal" mode. What do you think of this ? I did'nt go through the code, but I think it could be very simple to do this ..

Cheers,

Beuh

dependencies incomplete in README

The README does not mention that libgee 0.6.x is required, which is hard to figure out, because cmake only says that gee 1.0 is not found, but e.g. libgee 0.10.x provides gee 0.8.

Compilation issues with vala 0.22

Actually I've issues with dual-monitor setup (I'll post another issue for that).
I wanted to build a debug version of pdfpc to analyze that problem, but I cannot build the vala sources. (Compiling the bundled c-src in pdfpc-3.1.1.tgz works btw).

error: Your local changes to the following files would be overwritten by checkout:
c-src/CMakeLists.txt
Please, commit your changes or stash them before you can switch branches.
Aborting
-- The C compiler identification is GNU 4.7.3
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
-- checking for module 'gobject-2.0'
-- found gobject-2.0, version 2.36.4
-- checking for module 'gio-2.0'
-- found gio-2.0, version 2.36.4
-- checking for module 'gee-1.0'
-- found gee-1.0, version 0.6.8
-- checking for module 'poppler-glib'
-- found poppler-glib, version 0.24.3
-- checking for module 'gtk+-2.0'
-- found gtk+-2.0, version 2.24.22
-- checking for module 'gthread-2.0'
-- found gthread-2.0, version 2.36.4
-- checking for module 'librsvg-2.0'
-- found librsvg-2.0, version 2.39.0
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/tmp.8MTgD1jtV6
M c-src/CMakeLists.txt
Already on 'release'
Your branch is ahead of 'origin/release' by 1 commit.
(use "git push" to publish your local commits)
gtk+-2.0.vapi:5926.40-5926.42: warning: Gtk is deprecated. Use gtk+-3.0
src/classes/window/fullscreen.vala:65.31-65.33: warning: Gdk is deprecated. Use gdk-3.0
src/classes/window/fullscreen.vala:167.40-167.46: error: Timeout' is an ambiguous reference betweenGLib.Timeout' and Gtk.Timeout' this.hide_cursor_timeout = Timeout.add_seconds( ^^^^^^^ src/classes/window/fullscreen.vala:183.25-183.27: warning: Gdk is deprecated. Use gdk-3.0 src/classes/window/fullscreen.vala:184.25-184.27: warning: Gdk is deprecated. Use gdk-3.0 src/classes/mutex_locks.vala:42.37-42.41: warning: GLib.Mutex has been deprecated since glib-2.32. Use Mutex (with --target-glib=2.32) src/classes/window/overview.vala:413.26-413.28: warning: Gdk is deprecated. Use gdk-3.0 src/classes/window/overview.vala:414.17-414.19: warning: Gdk is deprecated. Use gdk-3.0 src/classes/window/overview.vala:417.17-417.19: warning: Gdk is deprecated. Use gdk-3.0 src/classes/timer_label.vala:103.32-103.38: error:Timeout' is an ambiguous reference between GLib.Timeout' andGtk.Timeout'
this.timeout = Timeout.add( 1000, this.on_timeout );
^^^^^^^
src/classes/window/overview.vala:299.45-299.60: error: Argument 1: Cannot pass out argument to non-output parameter
this.cache.retrieve(0).get_size(out pixmap_width, out pixmap_height);
^^^^^^^^^^^^^^^^
src/classes/window/overview.vala:300.30-300.32: warning: Gdk is deprecated. Use gdk-3.0
src/classes/window/overview.vala:300.41-300.43: warning: Gdk is deprecated. Use gdk-3.0
src/classes/window/overview.vala:301.13-301.15: warning: Gdk is deprecated. Use gdk-3.0
src/classes/window/overview.vala:305.53-305.55: warning: Gdk is deprecated. Use gdk-3.0
src/classes/presentation_controller.vala:831.13-831.15: warning: Gtk is deprecated. Use gtk+-3.0
src/classes/presentation_controller.vala:263.17-263.41: warning: Gee.Map.contains is deprecated
src/classes/presentation_controller.vala:287.17-287.41: warning: Gee.Map.contains is deprecated
src/classes/presentation_controller.vala:331.21-331.23: warning: Gdk is deprecated. Use gdk-3.0
src/classes/presentation_controller.vala:349.26-349.28: warning: Gdk is deprecated. Use gdk-3.0
src/classes/presentation_controller.vala:350.26-350.28: warning: Gdk is deprecated. Use gdk-3.0
src/classes/presentation_controller.vala:351.46-351.48: warning: Gdk is deprecated. Use gdk-3.0
src/classes/presentation_controller.vala:356.26-356.28: warning: Gdk is deprecated. Use gdk-3.0
src/classes/presentation_controller.vala:357.26-357.28: warning: Gdk is deprecated. Use gdk-3.0
src/classes/presentation_controller.vala:358.46-358.48: warning: Gdk is deprecated. Use gdk-3.0
src/classes/window/presenter.vala:144.17-144.19: warning: Gtk is deprecated. Use gtk+-3.0
src/classes/view/default.vala:72.29-72.31: warning: Gdk is deprecated. Use gdk-3.0
src/classes/view/default.vala:233.26-233.28: warning: Gdk is deprecated. Use gdk-3.0
src/classes/view/default.vala:234.13-234.15: warning: Gdk is deprecated. Use gdk-3.0
src/classes/renderer/pdf.vala:108.26-108.28: warning: Gdk is deprecated. Use gdk-3.0
src/classes/renderer/pdf.vala:129.26-129.28: warning: Gdk is deprecated. Use gdk-3.0
src/classes/view/behaviour/pdf_link/signal_provider.vala:88.30-88.32: warning: Gdk is deprecated. Use gdk-3.0
src/classes/view/behaviour/pdf_link/signal_provider.vala:89.30-89.32: warning: Gdk is deprecated. Use gdk-3.0
src/classes/view/behaviour/pdf_link/signal_provider.vala:178.43-178.45: warning: Gdk is deprecated. Use gdk-3.0
src/classes/view/behaviour/pdf_link/implementation.vala:99.21-99.23: warning: Gdk is deprecated. Use gdk-3.0
src/classes/view/behaviour/pdf_link/implementation.vala:100.21-100.23: warning: Gdk is deprecated. Use gdk-3.0
src/classes/window/presenter.vala:265.36-265.39: warning: Rsvg has been deprecated since 2.36.2. Use bindings distributed with librsvg-2.0
src/classes/window/presenter.vala:266.39-266.41: warning: Gtk is deprecated. Use gtk+-3.0
src/classes/window/presenter.vala:270.39-270.41: warning: Gtk is deprecated. Use gtk+-3.0
src/classes/window/presenter.vala:271.65-271.67: warning: Gtk is deprecated. Use gtk+-3.0
src/classes/window/presenter.vala:275.37-275.40: warning: Rsvg has been deprecated since 2.36.2. Use bindings distributed with librsvg-2.0
src/classes/window/presenter.vala:276.40-276.42: warning: Gtk is deprecated. Use gtk+-3.0
src/classes/window/presenter.vala:280.40-280.42: warning: Gtk is deprecated. Use gtk+-3.0
src/classes/window/presenter.vala:281.65-281.67: warning: Gtk is deprecated. Use gtk+-3.0
src/classes/window/presenter.vala:285.36-285.39: warning: Rsvg has been deprecated since 2.36.2. Use bindings distributed with librsvg-2.0
src/classes/window/presenter.vala:286.39-286.41: warning: Gtk is deprecated. Use gtk+-3.0
src/classes/window/presenter.vala:290.39-290.41: warning: Gtk is deprecated. Use gtk+-3.0
src/classes/window/presenter.vala:290.81-290.83: warning: Gtk is deprecated. Use gtk+-3.0
src/classes/renderer/cache/png/engine.vala:45.37-45.41: warning: GLib.Mutex has been deprecated since glib-2.32. Use Mutex (with --target-glib=2.32)
src/classes/renderer/cache/png/engine.vala:63.30-63.45: error: Argument 1: Cannot pass out argument to non-output parameter
pixmap.get_size( out pixmap_width, out pixmap_height );
^^^^^^^^^^^^^^^^
src/classes/renderer/cache/png/engine.vala:124.30-124.32: warning: Gdk is deprecated. Use gdk-3.0
src/classes/renderer/cache/png/engine.vala:131.26-131.28: warning: Gdk is deprecated. Use gdk-3.0
src/classes/renderer/cache/png/engine.vala:132.13-132.15: warning: Gdk is deprecated. Use gdk-3.0
src/classes/renderer/cache/simple/engine.vala:43.37-43.41: warning: GLib.Mutex has been deprecated since glib-2.32. Use Mutex (with --target-glib=2.32)
src/classes/window/presentation.vala:51.17-51.19: warning: Gtk is deprecated. Use gtk+-3.0
src/classes/configFileReader.vala:29.39-29.41: warning: Gdk is deprecated. Use gdk-3.0
src/classes/configFileReader.vala:30.41-30.43: warning: Gdk is deprecated. Use gdk-3.0
src/classes/configFileReader.vala:31.41-31.43: warning: Gdk is deprecated. Use gdk-3.0
src/classes/configFileReader.vala:48.40-48.42: warning: Gdk is deprecated. Use gdk-3.0
src/classes/configFileReader.vala:51.40-51.42: warning: Gdk is deprecated. Use gdk-3.0
src/classes/configFileReader.vala:55.40-55.42: warning: Gdk is deprecated. Use gdk-3.0
src/classes/configFileReader.vala:73.36-73.38: warning: Gdk is deprecated. Use gdk-3.0
src/classes/configFileReader.vala:88.36-88.38: warning: Gdk is deprecated. Use gdk-3.0
src/classes/configFileReader.vala:128.30-128.49: warning: unhandled error GLib.RegexError' var splitRegex = new Regex("\\s\\s*"); ^^^^^^^^^^^^^^^^^^^^ src/classes/configFileReader.vala:129.32-129.52: warning: unhandled errorGLib.RegexError'
var commentRegex = new Regex("\s_#._$");
^^^^^^^^^^^^^^^^^^^^^
src/pdfpc.vala:139.13-139.15: warning: Gdk is deprecated. Use gdk-3.0
src/pdfpc.vala:140.13-140.15: warning: Gtk is deprecated. Use gtk+-3.0
src/pdfpc.vala:177.26-177.28: warning: Gdk is deprecated. Use gdk-3.0
src/pdfpc.vala:217.13-217.15: warning: Gdk is deprecated. Use gdk-3.0
src/pdfpc.vala:218.13-218.15: warning: Gtk is deprecated. Use gtk+-3.0
src/pdfpc.vala:219.13-219.15: warning: Gdk is deprecated. Use gdk-3.0
Compilation failed: 4 error(s), 67 warning(s)
rm: cannot remove ‘paths.c’: No such file or directory

pdfpc should work prior to installation

If you run pdfpc without installing it, it is broken. It can't find a keybinding configuration file, so the result is that no keybindings work and you can't do anything. This can be worked around by copying a configuration file to ~/.pdfpcrc.

However, I generally try software in the compilation directory before installing it. (And quite often never actually do install it; this is the case with pdfpc.) If it doesn't work, I'm probably not going to continue with the install. So pdfpc should manage to get some default keybindings set up when its running uninstalled.

I see two general approaches:

  1. Hard code default keybindings into the binary, either directly in the vala code or by incorporating the default pdfpcrc file during compilation. This would also keep pdfpc from breaking if /etc gets hosed somehow.
  2. Try to load the default keybindings from the relative location in the build tree. This won't help us in other situations, but it's likely easier to do.

No icons

Hi again:

An issue I found is that, by default, PDFpc searchs for icons at /usr/share/pixmaps/pdfpc, but cmake installs them, by default, at /usr/local/share/pixmaps/pdfpc.

I moved them to there, but still doesn't work: PDFpc lauches, but no icon is shown at the lower left border.

Overview doesn't get show or hide signals

The overview overrides the show() and hide() methods in order to grab the keybord focus (on show) and trigger a recalculation of the structure (on hide). But in cdb136e, the layout was changed so that the overview is not longer shown and hidden; instead its parent is. A few solutions:

  • Revert the relevant parts of cdb136e.
  • Make the overview connect to show and hide signals of its parent.
  • Override the show and hide signals of the overview parent to call relevant methods of the overview.
  • Show and hide the overview as well as its parent.

I prefer the first, since it makes the overview completely self-contained. But the second strikes me as nearly as good. The third and fourth seem a bit ugly to me.

presenter.vala:278: Operation not supported

On Ubuntu 12.04, using the latest git version, I can't run pdfpc at all. I get the following on both my own presentation and the demo presentation:

pdfpc v3.0
(C) 2012 David Vilar
(C) 2009-2011 Jakob Westhoff

Initializing rendering...

** (pdfpc:4666): ERROR **: presenter.vala:278: Operation not supported
Trace/breakpoint trap (core dumped)

Support for LaTeX Beamer notes

Hi,

it would be awesome if there was support for notes as LaTeX Beamer creates them. It renders notes as dedicated slides directly after the actual slide they should be displayed for. I hope that these slides are annotated by Beamer in some way, so that PDFPC can detect them.

I rendered an example for you here: http://stuff.qafoo.com/minimal_example.pdf

Thanks in advance!

Slide order unclear

Hi everyone,

First of all, I really like the software!!

I'm not really sure if this is really an issue, maybe I just need clarification.
I don't understand the logic behind the order of slides in the console view. I can recognize two cases: in the first one the current slide is the biggest box, the next one is the little one on the bottom and the following is on the right hand side of the current:
1stcase

In the second case, the current is still the biggest box but this time the last one is also showing there on the bottom left hand side. In this case, the next slide is on the right and there's nothing on the bottom right.
2ndcase

So why these two cases? It's confusing. Am I doing something wrong?

thank you!

Arrow keys in overview mode

In overview mode, the arrow keys should be used to navigate around the iconview. Instead, the left, up, and down keys behave as they do in the normal mode, without updating the overview highlighting, while the right arrow key does nothing. The immediate reason for this is that PresentationController.next_page() checks if it is in overview mode, while the functions associated with the others don't.

I'm not quite sure how to deal with this. My initial response would be to use the iconview keybindings when in the overview mode, but this means that these won't be configurable in the same way as the main keybindings. I don't know if this is a problem or not, though.

Prerendering locks up main thread

Prerendering takes a lot of time. If I'm correct, slides are prerendered on a different thread. But until the prerendering is complete, the passage of the first few slides freezes most of the time. This shouldn't be the case if they are prerendered in correct order.

Help during presentation

It would be great to hit H (Help) and get a little summary in the note pane of all the keyboard shortcuts.
TIA

Support for Beamer notes

Hi:

I already sent a mail with this, but I think it's better to put it here.

Latex Beamer supports a mode for adding notes, which consists on making double-wide slides, and putting the slide itself in one half, and the notes in the other half. Then, the usual method to display it in a multimonitor system is to expand the window to cover both monitors, and ensuring that each half is in the right monitor. Extremely ugly. This is explained in several pages, like
http://zeekish.wordpress.com/2011/03/18/latex-beamer-presentation-on-dual-display-laptop-projector/

So, what do you think about allowing PDFpc to support these notes? It's easy to detect them: if the aspect ratio for the slides is bigger than 2, then they contains notes, so just split them in two, and put each one in their part. Some extra parameters could be also a good idea: one to specify that the presentation has/has not notes (in case PDFpc misidentify them), and another one to specify whether the notes are in the left or right half.

This is a simple example in Beamer that adds notes:

\documentclass{beamer}
\usepackage[utf8]{inputenc}
\usepackage[spanish]{babel}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{eurosym}
\usepackage{multirow}
\usepackage{pgfpages}

\usetheme{Rochester}

% Uncomment this option to generate the slides with notes at left
\setbeameroption{show notes on second screen=left}

\begin{document}

\begin{frame}
\frametitle{Beamer notes example}
\begin{center}
This is an example of a presentation made with beamer, with some notes.
\end{center}
This is the slide itself.
\note{This is a note in the first slide}
\end{frame}

\begin{frame}
\frametitle{Another slide}
This slide doesn't have notes.
\end{frame}

\begin{frame}
\frametitle{Final slide}
This slide have a note.
\note{This is the note for the third slide}
\end{frame}

\end{document}

Thanks!!!!

running scripts from inside pdfpc

Hi all,

I've just started using pdfpc instead of xpdf to give beamer presentations but have run into a problem. In beamer I can insert a \href{run: script.sh}{link text} command and xpdf will run the script, starting up the script and, in my case starting a Processing app that I use to illustrate points in my talk in an interactive fashion. I also use \href{run: movie.avi}{link text} which starts up a movie in movie player.

I much prefer the play in a box approach of pdfpc for the movies but it doesn't seem to know what to do if I call a script. Looking at the code (I'm not much of a hacker, but I understand code), it seems that the movie.vala code uses the poppler library ActionLaunch (?) call to start a movie but fails if Glib doesn't recognise it as a movie file that can be loaded.

Is there anyway to have arbitrary binaries loaded as part of this handler, perhaps only if a command line option is passed if security is a concern. Since the role of pdfpc is to play mostly self generated pdf files for presentations, this would seem to me a reasonable tradeoff of security vs the convenience of being able to call demo programs from within a presentation.

John Walker

Scrolling of overview when using keyboard

The overview should scroll when focusing slides with the keyboard. I tried to implement it, but I really do not understand how the adjustments in Gtk.ScrolledWindow work. Leaving it out for now...

Support for beamer notes: show both notes, next slide and current slide!

Hello,

the --notes=position feature is absolutely great!
...but it would be nice if the space under the next slide could be used to display the current slide as well, so one will not have to turn back to the projector to actually be able to read the content of the current slide... sometimes the notes alone may not be enough for the presenter.

Thanks!
Sam

BadAlloc / crashes with tiling window manager

Hello!

I had serious problems with pdfpc for quite a long time which made every presentation a gamble game :)

I use "awesome", a tiling window manager.

Most of the time I want to start pdfpc to give my talk, it crashes with "BadAlloc". I have just done some hours of debugging: I can reproduce the failure under some circumstances and get an allocation of width 65532 in the "presentation_window" Object (pdfpc.vala after presentation_window.show_all() ) I do not know if this is the cause of the BadAlloc (happening later in XCreatePixmap) but in any case pdfpc works, I have not seen such crazy number there. My monitorsetup is 1440x900 on first screen and 1920x1600 or 1024x768 on second screen. The latter case gives almost 100% failure rate, for the first case I have to have two terminal windows open on the first screen to let it crash...

As I already said I use a tiling window manager. I have tried the "floating" layout (so disable tiling) on the presentor-screen and... Wow: That works!

There still is some mess with the window sizes... Presentation Window starts at size of presenter window until I manually set it to fullscreen, move it to first screen and move it back to second screen.

I know this description will be hard to understand but maybe someone knows what may be wrong with the code? As I found the workaround I can use pdfpc from now on. Today, I held a presentation with evince because pdfpc failed... Never want to do that again :)

Switch to another program during presentation

I like to switch to another program during presentation to show the audience a live demonstration. The only way I found to do this is to totally exit pdfpc because nothing overlays the second monitor which shows the presentation. However, this will reset my timer and if a start the presentation again, it starts from the beginning and the timer is reset.

It wound be nice if there would be a switch mode which could be accessed by pressing a key. This stops the presentation of the beamer s.th. other programs in the background are shown.

Missing text with T1 font encoding

Using T1 font encoding by adding \usepackage[T1]{fontenc} to the header of a file fed to pdflatex+beamer results in all text missing. Displaying the same file in evince and co works w/o problems. It seems like this has never worked yet (tested with Jakob's 2.0 too).

Fonts in matplotlib-generated PDFs are not displayed

I create a LaTeX-Beamer presentation with XeLaTeX, to use OTF fonts. In this LaTeX file, I \includegraphics several plots which I have created using matplotlib (a Python plotting library).

When looking at the generated presentation with evince or acroread, everything's fine. However, in pdfpc, the fonts in the matplotlib-generated figures are missing.

Any idea what's going on?

Assertion failed in cairo-mempool.c

I have a slide deck that often (not entirely always, somehow related to screen configuration) crashes pdfpc in libcairo:
pdfpc: /build/buildd/cairo-1.12.14/src/cairo-mempool.c:160: get_buddy: Assertion `offset + (1 << bits) <= pool->num_blocks' failed.

pdfpc version is from git as of 2013-09-21, everything else is stock Ubuntu 13.04. The crash never happens with disabled cache or disabled cache compression. I tried to reduce the number of slides to trigger the problem with a minimized slide deck, but was not able to. Removing any significant number of frames from the presentation makes the crash go away. The full set is here: http://shiny.ploetzli.ch/~henryk/0d1b9a106db15ab13f94de7cd5ae31da/ht2013_2013-09-21.pdf

GDB backtrace:

Starting program: /usr/local/stow/pdfpc-git/bin/pdfpc ht2013_2013-09-21.pdf
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
pdfpc v3.1.1
(C) 2012 David Vilar
(C) 2009-2011 Jakob Westhoff

[New Thread 0x7fffeaa61700 (LWP 21197)]
[New Thread 0x7fffea260700 (LWP 21198)]
Initializing rendering...
pdfpc: /build/buildd/cairo-1.12.14/src/cairo-mempool.c:160: get_buddy: Assertion `offset + (1 << bits) <= pool->num_blocks' failed.

Program received signal SIGABRT, Aborted.
0x00007ffff4e6c037 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56  ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  0x00007ffff4e6c037 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007ffff4e6f698 in __GI_abort () at abort.c:90
#2  0x00007ffff4e64e03 in __assert_fail_base (fmt=0x7ffff4fbb578 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7ffff6e721a0 "offset + (1 << bits) <= pool->num_blocks", 
    file=file@entry=0x7ffff6e72170 "/build/buildd/cairo-1.12.14/src/cairo-mempool.c", line=line@entry=160, function=function@entry=0x7ffff6e72281 "get_buddy") at assert.c:92
#3  0x00007ffff4e64eb2 in __GI___assert_fail (assertion=0x7ffff6e721a0 "offset + (1 << bits) <= pool->num_blocks", file=0x7ffff6e72170 "/build/buildd/cairo-1.12.14/src/cairo-mempool.c", line=160, 
    function=0x7ffff6e72281 "get_buddy") at assert.c:101
#4  0x00007ffff6ddf7eb in ?? () from /usr/lib/x86_64-linux-gnu/libcairo.so.2
#5  0x00007ffff6ddf874 in ?? () from /usr/lib/x86_64-linux-gnu/libcairo.so.2
#6  0x00007ffff6e3c216 in ?? () from /usr/lib/x86_64-linux-gnu/libcairo.so.2
#7  0x00007ffff6e3ca6a in ?? () from /usr/lib/x86_64-linux-gnu/libcairo.so.2
#8  0x00007ffff6e39c0b in ?? () from /usr/lib/x86_64-linux-gnu/libcairo.so.2
#9  0x00007ffff6e0a4d7 in ?? () from /usr/lib/x86_64-linux-gnu/libcairo.so.2
#10 0x00007ffff6e36358 in ?? () from /usr/lib/x86_64-linux-gnu/libcairo.so.2
#11 0x00007ffff6e371d7 in ?? () from /usr/lib/x86_64-linux-gnu/libcairo.so.2
#12 0x00007ffff6e1d8a6 in ?? () from /usr/lib/x86_64-linux-gnu/libcairo.so.2
#13 0x00007ffff6e1e27b in ?? () from /usr/lib/x86_64-linux-gnu/libcairo.so.2
#14 0x00007ffff6dc7ac1 in ?? () from /usr/lib/x86_64-linux-gnu/libcairo.so.2
#15 0x00007ffff6e0b641 in ?? () from /usr/lib/x86_64-linux-gnu/libcairo.so.2
#16 0x00007ffff6dcf967 in ?? () from /usr/lib/x86_64-linux-gnu/libcairo.so.2
#17 0x00007ffff6dc9634 in ?? () from /usr/lib/x86_64-linux-gnu/libcairo.so.2
#18 0x00007ffff6dc2875 in cairo_fill () from /usr/lib/x86_64-linux-gnu/libcairo.so.2
#19 0x00007ffff70cf4dc in CairoOutputDev::fill(GfxState*) () from /usr/lib/x86_64-linux-gnu/libpoppler-glib.so.8
#20 0x00007ffff3c18652 in Gfx::doAxialShFill(GfxAxialShading*) () from /usr/lib/x86_64-linux-gnu/libpoppler.so.28
#21 0x00007ffff3c1da3b in Gfx::opShFill(Object*, int) () from /usr/lib/x86_64-linux-gnu/libpoppler.so.28
#22 0x00007ffff3c1eb04 in Gfx::go(bool) () from /usr/lib/x86_64-linux-gnu/libpoppler.so.28
#23 0x00007ffff3c1ef70 in Gfx::display(Object*, bool) () from /usr/lib/x86_64-linux-gnu/libpoppler.so.28
#24 0x00007ffff3c1f314 in Gfx::drawForm(Object*, Dict*, double*, double*, bool, bool, GfxColorSpace*, bool, bool, bool, Function*, GfxColor*) () from /usr/lib/x86_64-linux-gnu/libpoppler.so.28
#25 0x00007ffff3c2027c in Gfx::doForm(Object*) () from /usr/lib/x86_64-linux-gnu/libpoppler.so.28
#26 0x00007ffff3c22dd3 in Gfx::opXObject(Object*, int) () from /usr/lib/x86_64-linux-gnu/libpoppler.so.28
#27 0x00007ffff3c1eb04 in Gfx::go(bool) () from /usr/lib/x86_64-linux-gnu/libpoppler.so.28
#28 0x00007ffff3c1ef70 in Gfx::display(Object*, bool) () from /usr/lib/x86_64-linux-gnu/libpoppler.so.28
#29 0x00007ffff3c5f654 in Page::displaySlice(OutputDev*, double, double, int, bool, bool, int, int, int, int, bool, bool (*)(void*), void*, bool (*)(Annot*, void*), void*) () from /usr/lib/x86_64-linux-gnu/libpoppler.so.28
#30 0x00007ffff70c374d in ?? () from /usr/lib/x86_64-linux-gnu/libpoppler-glib.so.8
#31 0x0000000000411443 in pdfpc_renderer_pdf_real_render_to_pixmap ()
#32 0x0000000000410833 in pdfpc_renderer_base_render_to_pixmap ()
#33 0x000000000041d10e in __lambda4_ ()
#34 0x000000000041d33a in ___lambda4__gsource_func ()
#35 0x00007ffff78d7f05 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007ffff78d8248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007ffff78d86ba in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007ffff689dfe7 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#39 0x000000000041018a in pdfpc_application_run ()
#40 0x0000000000410262 in pdfpc_application_main ()
#41 0x00000000004102b8 in main ()

Inconsistencies in overview structure calculation

There's some confusion in Overview.fill_structure() about how spacing comes into the IconView layout. Lines 207 and 238 allot a single spacing width per icon; lines 220, 222, and 245 allot twice the spacing per icon. On my system, the former is correct -- using 2*spacing results in unnecessarily wide margins. But whichever we choose, we should be consistent.

In a related matter, the fact that the IconView adds a column_spacing to the right side, but not the left side, of the layout bugs me, since it results in a slightly off-center overview. We could get around this by using padding instead of spacing to separate the icons. I have this partially implemented. If you like this idea, let me know and I'll make up a patch.

Support -DSYSCONF_INSTALL_DIR:PATH=/etc

In Fedora, a macro for cmake specifies
-DSYSCONF_INSTALL_DIR:PATH=/etc
to make applications use /etc as sysconf dir. However pdfpc requires to set SYSCONF_DIR to be set to /etc. I am no cmake master, but I assume the Fedora variable name should be a more common if not default one. Therefore, can you please switch to using it as well?

Full Screen display doesn't work in Mac OS X (10.6.8)

The bottom of the display is cut off by the height of the menu bar, and the menu bar is still visible.

pdfpc-10 6

Since this is the speaker screen, I can live with the menu bar being visible (although I'd prefer not!) but cutting the bottom off the timer is really annoying!

(the first time I ran there was also a white bar at the top, and even more of the bottom of the screen was cut off. I don't seem to be able to reproduce this.)

I am testing without an additional screen.

core dump on wrong argument

mrueg@euler ~ % pdfpc foo
pdfpc v3.1.1
(C) 2012 David Vilar
(C) 2009-2011 Jakob Westhoff

Initializing rendering...
Syntax Error: Document base stream is not seekable

** (pdfpc:7642): ERROR **: pdf.vala:462: Unable to open pdf file: Failed to load document
[1] 7642 trace trap (core dumped) pdfpc foo

foo is a directory, but no need to dump core. :)

GUI

A GUI to select the file and enter the different options might be nice

Configuration of Dual-Screen

It is not clear to me how to set Xorg.conf/Xrandr such that
pdfpc will detect the two displays properly and render the two
different outputs to the according monitor.

I suggest updating the README appropriately

Save renderings to file and reload them

My Presentations takes more than 30 seconds to prerender.

It would be great if i could prerender the presentation the day before i have to conduct my presentation.

Disk space is cheap and an unresponsive pdfpc unsettles me.

This should be considered when rewriting pdfpc from scratch.

Keys doesn't work

A final issue: PDFpc doesn't respond to keys, nor mouse buttons; only to the mouse wheel. But if I copy the file /usr/local/etc/pdfpcrc to $HOME/.pdfpcrc, or to /etc/pdfpcrc, all works fine.

Compilation ends with errors

$ make
[ 2%] Generating classes/cache_status.c, classes/view/base.c, classes/view/behaviour/pdf_link.c, classes/view/behaviour/base.c, classes/view/pdf.c, classes/view/default.c, classes/metadata/base.c, classes/metadata/pdf.c, classes/metadata/slides_notes.c, classes/mutex_locks.c, classes/window/fullscreen.c, classes/window/overview.c, classes/window/presentation.c, classes/window/presenter.c, classes/scaler.c, classes/configFileReader.c, classes/timer_label.c, classes/renderer/cache/option_factory.c, classes/renderer/cache/base.c, classes/renderer/cache/png/item.c, classes/renderer/cache/png/engine.c, classes/renderer/cache/simple/engine.c, classes/renderer/base.c, classes/renderer/pdf.c, classes/presentation_controller.c, classes/options.c, classes/action/action_mapping.c, classes/action/link_action.c, classes/action/movie.c, interfaces/view/prerendering.c, interfaces/view/behaviour/decoratable.c, interfaces/controllable.c, interfaces/renderer/caching.c, paths.c, pdfpc.c, presenter.vapi, presenter.h, presenter_internal.h
gtk+-2.0.vapi:5926.40-5926.42: warning: Gtk is deprecated. Use gtk+-3.0
/home/hynek/work/pdfpc/src/classes/action/movie.vala:236.46-236.56: warning: Gst.Element.get_pad is deprecated
/home/hynek/work/pdfpc/src/classes/view/default.vala:72.29-72.31: warning: Gdk is deprecated. Use gdk-3.0
/home/hynek/work/pdfpc/src/classes/view/default.vala:233.26-233.28: warning: Gdk is deprecated. Use gdk-3.0
/home/hynek/work/pdfpc/src/classes/view/default.vala:234.13-234.15: warning: Gdk is deprecated. Use gdk-3.0
/home/hynek/work/pdfpc/src/classes/mutex_locks.vala:42.37-42.41: warning: GLib.Mutex has been deprecated since glib-2.32. Use Mutex (with --target-glib=2.32)
/home/hynek/work/pdfpc/src/classes/renderer/pdf.vala:115.26-115.28: warning: Gdk is deprecated. Use gdk-3.0
/home/hynek/work/pdfpc/src/classes/renderer/pdf.vala:137.26-137.28: warning: Gdk is deprecated. Use gdk-3.0
/home/hynek/work/pdfpc/src/classes/view/pdf.vala:92.43-92.45: warning: Gdk is deprecated. Use gdk-3.0
/home/hynek/work/pdfpc/src/classes/presentation_controller.vala:870.24-870.26: warning: Gdk is deprecated. Use gdk-3.0
/home/hynek/work/pdfpc/src/classes/presentation_controller.vala:875.24-875.26: warning: Gdk is deprecated. Use gdk-3.0
/home/hynek/work/pdfpc/src/classes/presentation_controller.vala:879.26-879.28: warning: Gdk is deprecated. Use gdk-3.0

** (valac:8876): CRITICAL **: vala_data_type_copy: assertion 'self != NULL' failed

** (valac:8876): CRITICAL **: vala_data_type_copy: assertion 'self != NULL' failed

** (valac:8876): CRITICAL **: vala_data_type_copy: assertion 'self != NULL' failed

** (valac:8876): CRITICAL *: vala_data_type_copy: assertion 'self != NULL' failed
/home/hynek/work/pdfpc/src/classes/action/movie.vala:286.25-286.47: warning: unhandled error `GLib.RegexError'
var uriRE = new Regex("^[a-z]
://");
^^^^^^^^^^^^^^^^^^^^^^^
/home/hynek/work/pdfpc/src/classes/action/movie.vala:183.49-183.52: warning: Argument 1: Cannot pass null to non-null parameter type
fh = FileUtils.open_tmp(null, out tmp_fn);
^^^^

** (valac:8876): CRITICAL **: vala_data_type_copy: assertion 'self != NULL' failed

** (valac:8876): CRITICAL *: vala_data_type_copy: assertion 'self != NULL' failed
/home/hynek/work/pdfpc/src/classes/timer_label.vala:103.32-103.38: error: Timeout' is an ambiguous reference betweenGLib.Timeout' and Gtk.Timeout' this.timeout = Timeout.add( 1000, this.on_timeout ); ^^^^^^^ /home/hynek/work/pdfpc/src/classes/window/fullscreen.vala:65.31-65.33: warning: Gdk is deprecated. Use gdk-3.0 /home/hynek/work/pdfpc/src/classes/window/fullscreen.vala:167.40-167.46: error:Timeout' is an ambiguous reference between GLib.Timeout' andGtk.Timeout'
this.hide_cursor_timeout = Timeout.add_seconds(
^^^^^^^
/home/hynek/work/pdfpc/src/classes/window/fullscreen.vala:183.25-183.27: warning: Gdk is deprecated. Use gdk-3.0
/home/hynek/work/pdfpc/src/classes/window/fullscreen.vala:184.25-184.27: warning: Gdk is deprecated. Use gdk-3.0
/home/hynek/work/pdfpc/src/classes/presentation_controller.vala:201.13-201.15: warning: Gtk is deprecated. Use gtk+-3.0
/home/hynek/work/pdfpc/src/classes/window/presenter.vala:273.36-273.64: warning: Rsvg.pixbuf_from_file_at_size is deprecated
/home/hynek/work/pdfpc/src/classes/window/presenter.vala:274.39-274.41: warning: Gtk is deprecated. Use gtk+-3.0
/home/hynek/work/pdfpc/src/classes/window/presenter.vala:278.39-278.41: warning: Gtk is deprecated. Use gtk+-3.0
/home/hynek/work/pdfpc/src/classes/window/presenter.vala:279.65-279.67: warning: Gtk is deprecated. Use gtk+-3.0
/home/hynek/work/pdfpc/src/classes/window/presenter.vala:283.37-283.65: warning: Rsvg.pixbuf_from_file_at_size is deprecated
/home/hynek/work/pdfpc/src/classes/window/presenter.vala:284.40-284.42: warning: Gtk is deprecated. Use gtk+-3.0
/home/hynek/work/pdfpc/src/classes/window/presenter.vala:288.40-288.42: warning: Gtk is deprecated. Use gtk+-3.0
/home/hynek/work/pdfpc/src/classes/window/presenter.vala:289.65-289.67: warning: Gtk is deprecated. Use gtk+-3.0
/home/hynek/work/pdfpc/src/classes/window/presenter.vala:293.36-293.64: warning: Rsvg.pixbuf_from_file_at_size is deprecated
/home/hynek/work/pdfpc/src/classes/window/presenter.vala:294.39-294.41: warning: Gtk is deprecated. Use gtk+-3.0
/home/hynek/work/pdfpc/src/classes/window/presenter.vala:298.39-298.41: warning: Gtk is deprecated. Use gtk+-3.0
/home/hynek/work/pdfpc/src/classes/window/presenter.vala:298.81-298.83: warning: Gtk is deprecated. Use gtk+-3.0
/home/hynek/work/pdfpc/src/classes/presentation_controller.vala:345.21-345.23: warning: Gdk is deprecated. Use gdk-3.0
/home/hynek/work/pdfpc/src/classes/presentation_controller.vala:363.26-363.28: warning: Gdk is deprecated. Use gdk-3.0
/home/hynek/work/pdfpc/src/classes/presentation_controller.vala:364.26-364.28: warning: Gdk is deprecated. Use gdk-3.0
/home/hynek/work/pdfpc/src/classes/presentation_controller.vala:365.46-365.48: warning: Gdk is deprecated. Use gdk-3.0
/home/hynek/work/pdfpc/src/classes/presentation_controller.vala:370.26-370.28: warning: Gdk is deprecated. Use gdk-3.0
/home/hynek/work/pdfpc/src/classes/presentation_controller.vala:371.26-371.28: warning: Gdk is deprecated. Use gdk-3.0
/home/hynek/work/pdfpc/src/classes/presentation_controller.vala:372.46-372.48: warning: Gdk is deprecated. Use gdk-3.0
/home/hynek/work/pdfpc/src/classes/window/overview.vala:299.45-299.60: error: Argument 1: Cannot pass out argument to non-output parameter
this.cache.retrieve(0).get_size(out pixmap_width, out pixmap_height);
^^^^^^^^^^^^^^^^
/home/hynek/work/pdfpc/src/classes/window/overview.vala:300.30-300.32: warning: Gdk is deprecated. Use gdk-3.0
/home/hynek/work/pdfpc/src/classes/window/overview.vala:300.41-300.43: warning: Gdk is deprecated. Use gdk-3.0
/home/hynek/work/pdfpc/src/classes/window/overview.vala:301.13-301.15: warning: Gdk is deprecated. Use gdk-3.0
/home/hynek/work/pdfpc/src/classes/window/overview.vala:305.53-305.55: warning: Gdk is deprecated. Use gdk-3.0
/home/hynek/work/pdfpc/src/classes/renderer/cache/png/engine.vala:45.37-45.41: warning: GLib.Mutex has been deprecated since glib-2.32. Use Mutex (with --target-glib=2.32)
/home/hynek/work/pdfpc/src/classes/renderer/cache/png/engine.vala:63.30-63.45: error: Argument 1: Cannot pass out argument to non-output parameter
pixmap.get_size( out pixmap_width, out pixmap_height );
^^^^^^^^^^^^^^^^
/home/hynek/work/pdfpc/src/classes/renderer/cache/png/engine.vala:124.30-124.32: warning: Gdk is deprecated. Use gdk-3.0
/home/hynek/work/pdfpc/src/classes/renderer/cache/png/engine.vala:131.26-131.28: warning: Gdk is deprecated. Use gdk-3.0
/home/hynek/work/pdfpc/src/classes/renderer/cache/png/engine.vala:132.13-132.15: warning: Gdk is deprecated. Use gdk-3.0
/home/hynek/work/pdfpc/src/classes/renderer/cache/simple/engine.vala:43.37-43.41: warning: GLib.Mutex has been deprecated since glib-2.32. Use Mutex (with --target-glib=2.32)
/home/hynek/work/pdfpc/src/classes/window/overview.vala:413.26-413.28: warning: Gdk is deprecated. Use gdk-3.0
/home/hynek/work/pdfpc/src/classes/window/overview.vala:414.17-414.19: warning: Gdk is deprecated. Use gdk-3.0
/home/hynek/work/pdfpc/src/classes/window/overview.vala:417.17-417.19: warning: Gdk is deprecated. Use gdk-3.0
/home/hynek/work/pdfpc/src/classes/presentation_controller.vala:277.17-277.41: warning: Gee.Map.contains is deprecated
/home/hynek/work/pdfpc/src/classes/presentation_controller.vala:301.17-301.41: warning: Gee.Map.contains is deprecated
/home/hynek/work/pdfpc/src/classes/action/action_mapping.vala:95.21-95.23: warning: Gdk is deprecated. Use gdk-3.0
/home/hynek/work/pdfpc/src/classes/action/action_mapping.vala:95.42-95.44: warning: Gdk is deprecated. Use gdk-3.0
/home/hynek/work/pdfpc/src/classes/view/behaviour/pdf_link.vala:60.30-60.32: warning: Gdk is deprecated. Use gdk-3.0
/home/hynek/work/pdfpc/src/classes/view/behaviour/pdf_link.vala:61.30-61.32: warning: Gdk is deprecated. Use gdk-3.0
/home/hynek/work/pdfpc/src/classes/view/behaviour/pdf_link.vala:62.30-62.32: warning: Gdk is deprecated. Use gdk-3.0
/home/hynek/work/pdfpc/src/classes/configFileReader.vala:29.39-29.41: warning: Gdk is deprecated. Use gdk-3.0
/home/hynek/work/pdfpc/src/classes/configFileReader.vala:30.41-30.43: warning: Gdk is deprecated. Use gdk-3.0
/home/hynek/work/pdfpc/src/classes/configFileReader.vala:31.41-31.43: warning: Gdk is deprecated. Use gdk-3.0
/home/hynek/work/pdfpc/src/classes/configFileReader.vala:48.40-48.42: warning: Gdk is deprecated. Use gdk-3.0
/home/hynek/work/pdfpc/src/classes/configFileReader.vala:51.40-51.42: warning: Gdk is deprecated. Use gdk-3.0
/home/hynek/work/pdfpc/src/classes/configFileReader.vala:55.40-55.42: warning: Gdk is deprecated. Use gdk-3.0
/home/hynek/work/pdfpc/src/classes/configFileReader.vala:73.36-73.38: warning: Gdk is deprecated. Use gdk-3.0
/home/hynek/work/pdfpc/src/classes/configFileReader.vala:88.36-88.38: warning: Gdk is deprecated. Use gdk-3.0
/home/hynek/work/pdfpc/src/classes/configFileReader.vala:128.30-128.49: warning: unhandled error GLib.RegexError' var splitRegex = new Regex("\s\s_"); ^^^^^^^^^^^^^^^^^^^^ /home/hynek/work/pdfpc/src/classes/configFileReader.vala:129.32-129.52: warning: unhandled error GLib.RegexError'
var commentRegex = new Regex("\s
#._$");
^^^^^^^^^^^^^^^^^^^^^
/home/hynek/work/pdfpc/src/pdfpc.vala:140.13-140.15: warning: Gdk is deprecated. Use gdk-3.0
/home/hynek/work/pdfpc/src/pdfpc.vala:141.13-141.15: warning: Gtk is deprecated. Use gtk+-3.0
/home/hynek/work/pdfpc/src/pdfpc.vala:182.26-182.28: warning: Gdk is deprecated. Use gdk-3.0
/home/hynek/work/pdfpc/src/pdfpc.vala:222.13-222.15: warning: Gdk is deprecated. Use gdk-3.0
/home/hynek/work/pdfpc/src/pdfpc.vala:223.13-223.15: warning: Gtk is deprecated. Use gtk+-3.0
/home/hynek/work/pdfpc/src/pdfpc.vala:224.13-224.15: warning: Gdk is deprecated. Use gdk-3.0
Compilation failed: 4 error(s), 72 warning(s)
src/CMakeFiles/pdfpc.dir/build.make:87: recipe for target 'src/classes/cache_status.c' failed
make[2]: *** [src/classes/cache_status.c] Error 1
CMakeFiles/Makefile2:107: recipe for target 'src/CMakeFiles/pdfpc.dir/all' failed
make[1]: *** [src/CMakeFiles/pdfpc.dir/all] Error 2
Makefile:113: recipe for target 'all' failed
make: *** [all] Error 2

Does not open external links using href

I have a pdf created using beamer. I use \href for mp4 movies and scripts. It runs ok on Acroread on Linux Mint KDE. However, with pdfpc if I click on the links nothing happens. Running it at terminal, I got :
** (pdf-presenter-console:17202): CRITICAL **: pdfpc_view_behaviour_pdf_link_implementation_on_clicked_external_command: assertion 'arguments != NULL' failed

pdfpc crashes when playing example video

pdfpc crashes when I try to play a video, see below.

I followed precisely the instructions at
http://abarry.org/the-new-complete-guide-to-embedded-videos-in-beamer-under-linux/
on Ubuntu 12.04.4 LTS x86_64.

((gdb) run video_example.pdf
Starting program: /usr/local/bin/pdfpc video_example.pdf
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
pdfpc v3.1.1
(C) 2012 David Vilar
(C) 2009-2011 Jakob Westhoff

Initializing rendering...
[New Thread 0x7fffed269700 (LWP 19074)]

(pdfpc:19069): GStreamer-CRITICAL **: gst_element_set_state: assertion `GST_IS_ELEMENT (element)' failed

(pdfpc:19069): GStreamer-CRITICAL **: gst_element_set_state: assertion `GST_IS_ELEMENT (element)' failed
[New Thread 0x7fffe6ad6700 (LWP 19075)]
[New Thread 0x7fffe5a38700 (LWP 19076)]
[New Thread 0x7fffe5237700 (LWP 19077)]
[New Thread 0x7fffd730e700 (LWP 19078)]
[New Thread 0x7fffd6b0d700 (LWP 19079)]
[New Thread 0x7fffd517d700 (LWP 19080)]
[Thread 0x7fffd517d700 (LWP 19080) exited]
[New Thread 0x7fffd517d700 (LWP 19081)]
[New Thread 0x7fffcffff700 (LWP 19082)]
[Thread 0x7fffcffff700 (LWP 19082) exited]
[New Thread 0x7fffcffff700 (LWP 19085)]
[New Thread 0x7fffcf7fe700 (LWP 19086)]
[New Thread 0x7fffc7fff700 (LWP 19087)]
[New Thread 0x7fffceffd700 (LWP 19088)]
[New Thread 0x7fffcdd9d700 (LWP 19089)]
[New Thread 0x7fffcd59c700 (LWP 19090)]
[New Thread 0x7fffccd9b700 (LWP 19091)]
[New Thread 0x7fffc77fe700 (LWP 19092)]

pdfpc:19069): GStreamer-CRITICAL **: 
Trying to dispose element playbin, but it is in READY instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.

GLib (gthread-posix.c): Unexpected error from C library during 'pthread_mutex_lock': Resource temporarily unavailable.  Aborting.

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffccd9b700 (LWP 19091)]
0x00007ffff4ed5425 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64      ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.

Some features are mentioned only the manual (man pdfpc), not in the README

It could be nice to uniformize this stuff. I read in the --help that there are config files, but there were not mentioned in the README file... so I had to keep looking for em.

Also, some sample config files could be interesting. The doc was not 100% clear on that topic.

Just mentioning these, you do what you want with them :)

Great job on the presenter console, really going to make my life easier (love the tab for overview of all slides)

List build dependencies

You could list the names of the packages needed for compiling. For Debian testing:

libgee-dev
libpoppler-glib-dev
librsvg2-dev
libgtkmm-2.4-dev

List might be incomplete, these were missing on my system.

Precompiled binary?

Could precompiled binary be made available? Vala compiler is not available by default on many distributions. For instance, it's not in the default repository of Ubuntu.

where is gee-1.0 ?

As far as I can see, libgee from GNOME version 0.12.0 names its pkg-config file "gee-0.8.pc", as does the git master version. When I try to cmake pdfpc, I get:

-- checking for module 'gee-1.0'
-- package 'gee-1.0' not found
CMake Error at /usr/local/Cellar/cmake/2.8.12.1/share/cmake/Modules/FindPkgConfig.cmake:279 (message):
A required package was not found
Call Stack (most recent call first):
/usr/local/Cellar/cmake/2.8.12.1/share/cmake/Modules/FindPkgConfig.cmake:333 (_pkg_check_modules_internal)
c-src/CMakeLists.txt:4 (pkg_check_modules)

What gives? Are you looking for some other branch of gee, or what? It's not even listed in the dependencies.

cheers,
--dustin

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.