With the help of Denis I got my cross-compilation environment to
compile to windows working

So I tested the windows binary under Windows and it works. The only
"bug" i can see is that once one selects touch-as-handtool and one
writes, the canvas no longer responds to touch.
But... there is an interesting workaround.

Pinching in my TP2 scrolls. If one pinches, then the state of the
canvas is back to normal (equivalent to touch outside the canvas) and
one can scroll again.

I like the feature of being able to add an empty page. Very useful
when annotating PDFs of students. I wish you would also add the "do
not scroll horizontally" feature and being able to jump to the
previous-next
annotations.

there are other things I would like but that would be good enough.


--dmg


On Tue, Jun 10, 2014 at 1:42 PM, dmg <d...@uvic.ca> wrote:
> Oh, it is probably that it requries a newer version of zlib....
>
> --dmg
>
> On Tue, Jun 10, 2014 at 1:40 PM, dmg <d...@uvic.ca> wrote:
>> Thanks. That fixed that problem. Now I am getting another one. I think
>> it is non-declared dependency. Where is gzopen_w supposed to be
>> defined?
>>
>> make[3]: Entering directory 
>> `/home/dmg/git.dmg/hacking/mingw/xournal-denis/src'
>> i686-w64-mingw32-gcc  -g -O2  -lz -lm -o xournal.exe main.o xo-misc.o
>> xo-file.o xo-paint.o xo-selection.o xo-clipboard.o xo-image.o
>> xo-print.o xo-support.o xo-interface.o xo-callbacks.o xo-shapes.o
>> ttsubset/libttsubset.a -lgnomecanvas-2 -lart_lgpl_2 -lgtk-win32-2.0
>> -lgdk-win32-2.0 -latk-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0
>> -lpangowin32-1.0 -lgdi32 -lpoppler-glib -lgio-2.0 -lcairo -lpoppler
>> -lstdc++ -lmman -ltiff -ljbig -ljpeg -lpng -lpangoft2-1.0 -lpango-1.0
>> -lm -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 -lintl   -lintl
>> -lz -lm
>> xo-file.o: In function `gzopen_wrapper':
>> /home/dmg/git.dmg/hacking/mingw/xournal-denis/src/xo-file.c:66:
>> undefined reference to `gzopen_w'
>> collect2: error: ld returned 1 exit status
>> make[3]: *** [xournal.exe] Error 1
>> make[3]: Leaving directory 
>> `/home/dmg/git.dmg/hacking/mingw/xournal-denis/src'
>> make[2]: *** [all-recursive] Error 1
>> make[2]: Leaving directory 
>> `/home/dmg/git.dmg/hacking/mingw/xournal-denis/src'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/home/dmg/git.dmg/hacking/mingw/xournal-denis'
>> make: *** [all] Error 2
>>
>> On Tue, Jun 10, 2014 at 1:36 PM, Denis Auroux <aur...@math.berkeley.edu> 
>> wrote:
>>> Oh, interesting. Somehow I don't get this error, even though the headers
>>> declare mkdir() to only take one argument. I'll need to look again more
>>> closely next time I'm in Windows.
>>>
>>> The correct fix is probably to use g_mkdir() instead of mkdir()  (It's a
>>> wrapper that does exactly what you think: discard the second argument on
>>> Windows systems. It might also do some character encoding conversions with
>>> non-English path names).
>>>
>>> Denis
>>>
>>>
>>> On 06/09/2014 08:53 PM, D M German wrote:
>>>>
>>>>
>>>> Hi Denis,
>>>>
>>>> under mingw I get the following compilation error:
>>>>
>>>> w64-mingw32/include/poppler      -g -O2 -MT main.o -MD -MP -MF
>>>> .deps/main.Tpo -c -o main.o main.c
>>>> main.c: In function ‘init_stuff’:
>>>> main.c:60:3: error: too many arguments to function ‘mkdir’
>>>>     mkdir(tmppath, 0700); // safer (MRU data may be confidential)
>>>>     ^
>>>>
>>>> do you get it too? In the past what I have done is simply remove the
>>>> second parameter (via an #ifdef)
>>>>
>>>> --dmg
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
>>>> Find What Matters Most in Your Big Data with HPCC Systems
>>>> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
>>>> Leverages Graph Analysis for Fast Processing & Easy Data Exploration
>>>> http://p.sf.net/sfu/hpccsystems
>>>> _______________________________________________
>>>> Xournal-devel mailing list
>>>> Xournal-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/xournal-devel
>>>>
>>>
>>> --
>>> Denis Auroux                             aur...@math.berkeley.edu
>>> University of California, Berkeley       Tel: 510-642-4367
>>> Department of Mathematics                Fax: 510-642-8204
>>> 817 Evans Hall # 3840
>>> Berkeley, CA 94720-3840
>>
>>
>>
>> --
>> --dmg
>>
>> ---
>> Daniel M. German
>> http://turingmachine.org
>
>
>
> --
> --dmg
>
> ---
> Daniel M. German
> http://turingmachine.org



-- 
--dmg

---
Daniel M. German
http://turingmachine.org

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Xournal-devel mailing list
Xournal-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xournal-devel

Reply via email to