Re: [poppler] Any one compile poppler with mingw for windows?

2009-09-09 Thread Vincent Torri



On Thu, 10 Sep 2009, Shen Liang wrote:


I got

cd . && /bin/sh /h/projects/poppler/poppler/missing --run autoconf
Can't locate object method "path" via package "Autom4te::Request" (perhaps
you forgot to load "Autom4te::Request"?) at /usr/bin/autom4te line 81.
make: *** [configure] Error 1


you said that the error was related to freetype...

Vincent Torri



after autogen.sh and make with mingw+msys on windows.


On Thu, Sep 10, 2009 at 1:07 PM, Vincent Torri  wrote:




On Thu, 10 Sep 2009, Shen Liang wrote:

 Is it possible compile poppler with mingw+msys on windows or with mingw on

linux?
I git the latest source.
When I compiled with mingw+msys, I always got error about freetype.



which error ?

 I installed mingw 32 on Ubuntu, and run:


export CC=i586-mingw32msvc-gcc
export CXX=i586-mingw32msvc-g++
export LD=i586-mingw32msvc-ld
export AR=i586-mingw32msvc-ar
export AS=i586-mingw32msvc-as
export NM=i586-mingw32msvc-nm
export STRIP=i586-mingw32msvc-strip
export RANLIB=i586-mingw32msvc-ranlib
export DLLTOOL=i586-mingw32msvc-dlltool
export OBJDUMP=i586-mingw32msvc-objdump
export RC=i586-mingw32msvc-windres

after autogen.sh, ./configure and make, I compiled successfully, but it's
still for linux not for windows.



don't export all those vars and run:

./configure --host=i586-mingw32msvc

Be sure to have the required poppler dependencies for windows (the gnuwin32
project has some, I think)

Vincent Torri





--
Help Si Chuan Students

www.sichuanteachers.org
ÿÿ

--
Ce message a ?t? v?rifi? par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a ?t? trouv?.
Message d?livr? par le serveur de messagerie de l'Universit? d'Evry.

___
poppler mailing list
poppler@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/poppler


Re: [poppler] Any one compile poppler with mingw for windows?

2009-09-09 Thread Shen Liang
I got

cd . && /bin/sh /h/projects/poppler/poppler/missing --run autoconf
Can't locate object method "path" via package "Autom4te::Request" (perhaps
you forgot to load "Autom4te::Request"?) at /usr/bin/autom4te line 81.
make: *** [configure] Error 1

after autogen.sh and make with mingw+msys on windows.


On Thu, Sep 10, 2009 at 1:07 PM, Vincent Torri  wrote:

>
>
> On Thu, 10 Sep 2009, Shen Liang wrote:
>
>  Is it possible compile poppler with mingw+msys on windows or with mingw on
>> linux?
>> I git the latest source.
>> When I compiled with mingw+msys, I always got error about freetype.
>>
>
> which error ?
>
>  I installed mingw 32 on Ubuntu, and run:
>>
>> export CC=i586-mingw32msvc-gcc
>> export CXX=i586-mingw32msvc-g++
>> export LD=i586-mingw32msvc-ld
>> export AR=i586-mingw32msvc-ar
>> export AS=i586-mingw32msvc-as
>> export NM=i586-mingw32msvc-nm
>> export STRIP=i586-mingw32msvc-strip
>> export RANLIB=i586-mingw32msvc-ranlib
>> export DLLTOOL=i586-mingw32msvc-dlltool
>> export OBJDUMP=i586-mingw32msvc-objdump
>> export RC=i586-mingw32msvc-windres
>>
>> after autogen.sh, ./configure and make, I compiled successfully, but it's
>> still for linux not for windows.
>>
>
> don't export all those vars and run:
>
> ./configure --host=i586-mingw32msvc
>
> Be sure to have the required poppler dependencies for windows (the gnuwin32
> project has some, I think)
>
> Vincent Torri
>



-- 
Help Si Chuan Students
帮助四川灾区学生
www.sichuanteachers.org
四川教师志愿者组织
___
poppler mailing list
poppler@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/poppler


Re: [poppler] Poppler 0.12.0 fails to compile (Gfx.cc) due to undefined type uint

2009-09-09 Thread Shen Liang
I got

cd . && /bin/sh /h/projects/poppler/poppler/missing --run autoconf
Can't locate object method "path" via package "Autom4te::Request" (perhaps
you forgot to load "Autom4te::Request"?) at /usr/bin/autom4te line 81.
make: *** [configure] Error 1

after autogen.sh and make with mingw+msys on windows.



On Thu, Sep 10, 2009 at 5:25 AM, Albert Astals Cid  wrote:

> A Dimecres, 9 de setembre de 2009, BugByteMan va escriure:
> > Hello,
> >
> > Poppler 0.12.0 fails to compile on MinGW/Windows:
> >
> > Gfx.cc:296: error: 'uint' has not been declared
> > Gfx.cc: In function 'GBool isSameGfxColor(const GfxColor&, const
> GfxColor&,
> >  uint, double)': Gfx.cc:297: error: 'uint' was not declared in this scope
> >
> > I changed uint to Guint and now it compiles.
>
> Damn! It'll be on 0.12.1
>
> Albert
> ___
> poppler mailing list
> poppler@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler
>



-- 
Help Si Chuan Students
帮助四川灾区学生
www.sichuanteachers.org
四川教师志愿者组织
___
poppler mailing list
poppler@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/poppler


Re: [poppler] Any one compile poppler with mingw for windows?

2009-09-09 Thread Vincent Torri


On Thu, 10 Sep 2009, Shen Liang wrote:

> Is it possible compile poppler with mingw+msys on windows or with mingw on
> linux?
> I git the latest source.
> When I compiled with mingw+msys, I always got error about freetype.

which error ?

> I installed mingw 32 on Ubuntu, and run:
>
> export CC=i586-mingw32msvc-gcc
> export CXX=i586-mingw32msvc-g++
> export LD=i586-mingw32msvc-ld
> export AR=i586-mingw32msvc-ar
> export AS=i586-mingw32msvc-as
> export NM=i586-mingw32msvc-nm
> export STRIP=i586-mingw32msvc-strip
> export RANLIB=i586-mingw32msvc-ranlib
> export DLLTOOL=i586-mingw32msvc-dlltool
> export OBJDUMP=i586-mingw32msvc-objdump
> export RC=i586-mingw32msvc-windres
>
> after autogen.sh, ./configure and make, I compiled successfully, but it's
> still for linux not for windows.

don't export all those vars and run:

./configure --host=i586-mingw32msvc

Be sure to have the required poppler dependencies for windows (the 
gnuwin32 project has some, I think)

Vincent Torri
___
poppler mailing list
poppler@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/poppler


[poppler] Any one compile poppler with mingw for windows?

2009-09-09 Thread Shen Liang
Is it possible compile poppler with mingw+msys on windows or with mingw on
linux?
I git the latest source.
When I compiled with mingw+msys, I always got error about freetype.

I installed mingw 32 on Ubuntu, and run:

export CC=i586-mingw32msvc-gcc
export CXX=i586-mingw32msvc-g++
export LD=i586-mingw32msvc-ld
export AR=i586-mingw32msvc-ar
export AS=i586-mingw32msvc-as
export NM=i586-mingw32msvc-nm
export STRIP=i586-mingw32msvc-strip
export RANLIB=i586-mingw32msvc-ranlib
export DLLTOOL=i586-mingw32msvc-dlltool
export OBJDUMP=i586-mingw32msvc-objdump
export RC=i586-mingw32msvc-windres

after autogen.sh, ./configure and make, I compiled successfully, but it's
still for linux not for windows.

-- 
Help Si Chuan Students
帮助四川灾区学生
www.sichuanteachers.org
四川教师志愿者组织
___
poppler mailing list
poppler@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/poppler


Re: [poppler] Poppler 0.12.0 fails to compile (Gfx.cc) due to undefined type uint

2009-09-09 Thread Albert Astals Cid
A Dimecres, 9 de setembre de 2009, BugByteMan va escriure:
> Hello,
> 
> Poppler 0.12.0 fails to compile on MinGW/Windows:
> 
> Gfx.cc:296: error: 'uint' has not been declared
> Gfx.cc: In function 'GBool isSameGfxColor(const GfxColor&, const GfxColor&,
>  uint, double)': Gfx.cc:297: error: 'uint' was not declared in this scope
> 
> I changed uint to Guint and now it compiles.

Damn! It'll be on 0.12.1

Albert
___
poppler mailing list
poppler@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/poppler


[poppler] Branch 'poppler-0.12' - poppler/Gfx.cc

2009-09-09 Thread Albert Astals Cid
 poppler/Gfx.cc |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 3083720d3e9f628c1fb963ee83c17a0ff7e80117
Author: Albert Astals Cid 
Date:   Wed Sep 9 23:24:22 2009 +0200

uint -> Guint

some compilers don't know about uint

diff --git a/poppler/Gfx.cc b/poppler/Gfx.cc
index 81a4ab8..ca9b513 100644
--- a/poppler/Gfx.cc
+++ b/poppler/Gfx.cc
@@ -293,8 +293,8 @@ Operator Gfx::opTab[] = {
 
 #define numOps (sizeof(opTab) / sizeof(Operator))
 
-static inline GBool isSameGfxColor(const GfxColor &colorA, const GfxColor 
&colorB, uint nComps, double delta) {
-  for (uint k = 0; k < nComps; ++k) {
+static inline GBool isSameGfxColor(const GfxColor &colorA, const GfxColor 
&colorB, Guint nComps, double delta) {
+  for (Guint k = 0; k < nComps; ++k) {
 if (abs(colorA.c[k] - colorB.c[k]) > delta) {
   return false;
 }
___
poppler mailing list
poppler@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/poppler


[poppler] poppler/Gfx.cc

2009-09-09 Thread Albert Astals Cid
 poppler/Gfx.cc |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 68711d8494e2765c4a24ea59ce8d904981f0f917
Author: Albert Astals Cid 
Date:   Wed Sep 9 23:24:22 2009 +0200

uint -> Guint

some compilers don't know about uint

diff --git a/poppler/Gfx.cc b/poppler/Gfx.cc
index 81a4ab8..ca9b513 100644
--- a/poppler/Gfx.cc
+++ b/poppler/Gfx.cc
@@ -293,8 +293,8 @@ Operator Gfx::opTab[] = {
 
 #define numOps (sizeof(opTab) / sizeof(Operator))
 
-static inline GBool isSameGfxColor(const GfxColor &colorA, const GfxColor 
&colorB, uint nComps, double delta) {
-  for (uint k = 0; k < nComps; ++k) {
+static inline GBool isSameGfxColor(const GfxColor &colorA, const GfxColor 
&colorB, Guint nComps, double delta) {
+  for (Guint k = 0; k < nComps; ++k) {
 if (abs(colorA.c[k] - colorB.c[k]) > delta) {
   return false;
 }
___
poppler mailing list
poppler@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/poppler


[poppler] Poppler 0.12.0 fails to compile (Gfx.cc) due to undefined type uint

2009-09-09 Thread BugByteMan
Hello,

Poppler 0.12.0 fails to compile on MinGW/Windows:

Gfx.cc:296: error: 'uint' has not been declared
Gfx.cc: In function 'GBool isSameGfxColor(const GfxColor&, const GfxColor&, 
uint, double)':
Gfx.cc:297: error: 'uint' was not declared in this scope

I changed uint to Guint and now it compiles.

Thanks,
BugByteMan


  
___
poppler mailing list
poppler@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/poppler


[poppler] Poppler 0.12.0 released

2009-09-09 Thread Albert Astals Cid
Available from
http://poppler.freedesktop.org/poppler-0.12.0.tar.gz

Changes against the 0.11.3 release:
core:
 * Fix printf format security warnings
 * Improve rendering of radial shadings. Bug #20238
 * Better fallback when there's a font type mismatch. Bug #17252
 * Do not crash on attachments without data stream. Bug #10386
 * Fix infinite loop in JBIG2Decoder. Bug #23025

build system:
 * Minimizes pkg-config dependencies for Qt frontends
 * Add automake 1.11 support
 * Use the newest automake found and not the oldest
 * Support AM_SILENT_RULES when using automake 1.11

utils:
 * Add common options to pdftoabw

Testing, patches and bug reports welcome.

Albert


signature.asc
Description: This is a digitally signed message part.
___
poppler mailing list
poppler@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/poppler


[poppler] Changes to 'poppler-0.12'

2009-09-09 Thread Albert Astals Cid
New branch 'poppler-0.12' available with the following commits:
___
poppler mailing list
poppler@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/poppler


[poppler] 2 commits - CMakeLists.txt configure.ac msvc/config.h NEWS qt4/src

2009-09-09 Thread Albert Astals Cid
 CMakeLists.txt |4 ++--
 NEWS   |   18 ++
 configure.ac   |4 ++--
 msvc/config.h  |6 +++---
 qt4/src/CMakeLists.txt |2 +-
 qt4/src/Doxyfile   |2 +-
 qt4/src/Makefile.am|2 +-
 7 files changed, 28 insertions(+), 10 deletions(-)

New commits:
commit 943a13c9354dec18cb023642aebbe5d3bb920ed7
Author: Albert Astals Cid 
Date:   Wed Sep 9 20:04:06 2009 +0200

poppler 0.12.0

diff --git a/CMakeLists.txt b/CMakeLists.txt
index fbd608a..caaa3a6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -12,8 +12,8 @@ include(MacroEnsureVersion)
 include(MacroBoolTo01)
 
 set(POPPLER_MAJOR_VERSION "0")
-set(POPPLER_MINOR_VERSION "11")
-set(POPPLER_MICRO_VERSION "3")
+set(POPPLER_MINOR_VERSION "12")
+set(POPPLER_MICRO_VERSION "0")
 set(POPPLER_VERSION 
"${POPPLER_MAJOR_VERSION}.${POPPLER_MINOR_VERSION}.${POPPLER_MICRO_VERSION}")
 
 # command line switches
diff --git a/NEWS b/NEWS
index 0a45463..ea21c51 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,21 @@
+Release 0.12.0
+
+   core:
+* Fix printf format security warnings
+* Improve rendering of radial shadings. Bug #20238
+* Better fallback when there's a font type mismatch. Bug #17252
+* Do not crash on attachments without data stream. Bug #10386
+* Fix infinite loop in JBIG2Decoder. Bug #23025
+   
+   build system:
+* Minimizes pkg-config dependencies for Qt frontends
+* Add automake 1.11 support
+* Use the newest automake found and not the oldest
+* Support AM_SILENT_RULES when using automake 1.11
+   
+   utils:
+* Add common options to pdftoabw
+
 Release 0.11.3 (0.12 RC 1)
 
core:
diff --git a/configure.ac b/configure.ac
index 2b51f51..1fd49fa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,6 @@
 m4_define([poppler_version_major],[0])
-m4_define([poppler_version_minor],[11])
-m4_define([poppler_version_micro],[3])
+m4_define([poppler_version_minor],[12])
+m4_define([poppler_version_micro],[0])
 
m4_define([poppler_version],[poppler_version_major.poppler_version_minor.poppler_version_micro])
 
 AC_PREREQ(2.59)
diff --git a/msvc/config.h b/msvc/config.h
index a8ff352..8bc5ea0 100644
--- a/msvc/config.h
+++ b/msvc/config.h
@@ -32,13 +32,13 @@
 #define PACKAGE_NAME "poppler"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "poppler 0.11.3"
+#define PACKAGE_STRING "poppler 0.12.0"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "poppler"
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "0.11.3"
+#define PACKAGE_VERSION "0.12.0"
 
 /* Poppler data dir */
 #define POPPLER_DATADIR "/usr/local/share/poppler"
@@ -53,7 +53,7 @@
 /* #undef USE_EXCEPTIONS */
 
 /* Version number of package */
-#define VERSION "0.11.3"
+#define VERSION "0.12.0"
 
 #define snprintf _snprintf
 #define unlink _unlink
diff --git a/qt4/src/Doxyfile b/qt4/src/Doxyfile
index c1a41ee..6938b16 100644
--- a/qt4/src/Doxyfile
+++ b/qt4/src/Doxyfile
@@ -31,7 +31,7 @@ PROJECT_NAME   = "Poppler Qt4 "
 # This could be handy for archiving the generated documentation or 
 # if some version control system is used.
 
-PROJECT_NUMBER = 0.11.3
+PROJECT_NUMBER = 0.12.0
 
 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) 
 # base path where the generated documentation will be put. 
commit e8ed7210346cb18f6e4588ad557f993c6d42f4a3
Author: Albert Astals Cid 
Date:   Wed Sep 9 19:21:21 2009 +0200

increase library to 3.2.0

diff --git a/qt4/src/CMakeLists.txt b/qt4/src/CMakeLists.txt
index b18c491..59e5083 100644
--- a/qt4/src/CMakeLists.txt
+++ b/qt4/src/CMakeLists.txt
@@ -33,7 +33,7 @@ if (ENABLE_SPLASH)
 endif (ENABLE_SPLASH)
 qt4_automoc(${poppler_qt4_SRCS})
 add_library(poppler-qt4 SHARED ${poppler_qt4_SRCS})
-set_target_properties(poppler-qt4 PROPERTIES VERSION 3.1.0 SOVERSION 3)
+set_target_properties(poppler-qt4 PROPERTIES VERSION 3.2.0 SOVERSION 3)
 target_link_libraries(poppler-qt4 poppler ${QT4_QTCORE_LIBRARY} 
${QT4_QTGUI_LIBRARY} ${QT4_QTXML_LIBRARY})
 if(MSVC)
 target_link_libraries(poppler-qt4 poppler ${poppler_LIBS})
diff --git a/qt4/src/Makefile.am b/qt4/src/Makefile.am
index 1aa00ef..04620af 100644
--- a/qt4/src/Makefile.am
+++ b/qt4/src/Makefile.am
@@ -61,7 +61,7 @@ libpoppler_qt4_la_LIBADD +=   \
$(top_builddir)/poppler/libpoppler-arthur.la
 endif
 
-libpoppler_qt4_la_LDFLAGS = -version-info 4:0:1
+libpoppler_qt4_la_LDFLAGS = -version-info 5:0:2
 
 # This rule lets GNU make create any *.moc from the equivalent *.h
 .h.moc:
___
poppler mailing list
poppler@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/poppler


[poppler] Changes to 'refs/tags/poppler-0.12.0'

2009-09-09 Thread Albert Astals Cid
Tag 'poppler-0.12.0' created by Albert Astals Cid  at 2009-09-09 
19:04 -0700

0.12.0

Changes since poppler-0.11.3-15:
---
 0 files changed
---
___
poppler mailing list
poppler@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/poppler