New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pagemarks nor retained in puppy Linux #1

Open
DingoDog opened this Issue May 11, 2012 · 2 comments

Comments

Projects
None yet
2 participants
@DingoDog

DingoDog commented May 11, 2012

woof woof (Hi in puppianese language)

I recently found your interesting mod for mupdf

I downloaded latest git version and compiled in

Puppy Linux 3.01 with GCC 4.1.2

I needed to compile also libxdg-basedir-1.1.1 (missing in my environment)

after successfully compiled this lib and installed, I started to compile mupdf

successfully build and tried but I seen that when I closed a pdf, no pagemarks were retained, every time I reopen same pdf, mupdf opens starting since first page, not since last page seen

any tip about this? maybe my fault?

thanks for any help

@Asido

This comment has been minimized.

Show comment
Hide comment
@Asido

Asido May 11, 2012

Owner

Hi, nice to see an interest from outside :)
First of all check if ~/.config/mupdf.mark file was created. This is where the page numbers are saved in such format:

�����îÒ¹H®���-påBïÓ¯ 123
g%R½í�á_ÛuOH�g«��£�| 184

The first garbage part is a hash of the first 64KB of the file, which is used to recognize the PDF afterwards. And the value is a number of page which gets opened on startup. I am using it on several gentoo machines, always works nicely. Have you tried multiple different PDF files?
I'll try puppy after you mentioned this.

Owner

Asido commented May 11, 2012

Hi, nice to see an interest from outside :)
First of all check if ~/.config/mupdf.mark file was created. This is where the page numbers are saved in such format:

�����îÒ¹H®���-påBïÓ¯ 123
g%R½í�á_ÛuOH�g«��£�| 184

The first garbage part is a hash of the first 64KB of the file, which is used to recognize the PDF afterwards. And the value is a number of page which gets opened on startup. I am using it on several gentoo machines, always works nicely. Have you tried multiple different PDF files?
I'll try puppy after you mentioned this.

@DingoDog

This comment has been minimized.

Show comment
Hide comment
@DingoDog

DingoDog May 11, 2012

thanks for reply

looking into /root/.config was the first thing I have done but no mupdf.mark file was present

Puppy Linux 3.01 need some special instructions to be ready to compiling and, for version I used, the

libxdg-basedir-1.1.1.pet

that I have already compiled previously for Puppy

Here you can download mupdf modded version I compiled, so you can test in a fresh live version of Puppy Linux 3.01 if you want

at the same link i uploaded also mupdf-thirdparty.zip

compiled with:

LDFLAGS=-L/usr/X11R6/lib/ make

Puppy Linux 3.01 ISO LIVE CD can be downloaded from my skydrive account

https://skydrive.live.com/redir.aspx?cid=403ced9ef9d5f298&resid=403CED9EF9D5F298!684&parid=403CED9EF9D5F298!333

DingoDog commented May 11, 2012

thanks for reply

looking into /root/.config was the first thing I have done but no mupdf.mark file was present

Puppy Linux 3.01 need some special instructions to be ready to compiling and, for version I used, the

libxdg-basedir-1.1.1.pet

that I have already compiled previously for Puppy

Here you can download mupdf modded version I compiled, so you can test in a fresh live version of Puppy Linux 3.01 if you want

at the same link i uploaded also mupdf-thirdparty.zip

compiled with:

LDFLAGS=-L/usr/X11R6/lib/ make

Puppy Linux 3.01 ISO LIVE CD can be downloaded from my skydrive account

https://skydrive.live.com/redir.aspx?cid=403ced9ef9d5f298&resid=403CED9EF9D5F298!684&parid=403CED9EF9D5F298!333

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment