poppler 0.90.8-x86-mingw32 → 0.90.9-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
data/ChangeLog CHANGED
@@ -1,3 +1,10 @@
1
+ 2011-05-06 Kouhei Sutou <kou@cozmixng.org>
2
+
3
+ * test/poppler-test-utils.rb: ignore tests for GdkPixbuf
4
+ integration on Poppler >= 0.17.0 because Poppler >= 0.17.0 drops
5
+ GdkPixbuf support. #3292118
6
+ Reported by Mamoru Tasaka. Thanks!!!
7
+
1
8
  2011-01-30 Kouhei Sutou <kou@cozmixng.org>
2
9
 
3
10
  * Rakefile, ext/poppler/extconf.rb: share depended packages
Binary file
Binary file
@@ -44,4 +44,11 @@ module PopplerTestUtils
44
44
  omit("Require Poppler >= #{major}.#{minor}.#{micro}")
45
45
  end
46
46
  end
47
+
48
+ def only_old_poppler_version(major, minor, micro=nil)
49
+ micro ||= 0
50
+ if later_version?(major, minor, micro)
51
+ omit("Require Poppler < #{major}.#{minor}.#{micro}")
52
+ end
53
+ end
47
54
  end
@@ -11,6 +11,8 @@ class TestPage < Test::Unit::TestCase
11
11
  end
12
12
 
13
13
  def test_render_to_pixbuf
14
+ only_old_poppler_version(0, 17, 0)
15
+
14
16
  document = Poppler::Document.new(image_pdf)
15
17
  page = document[0]
16
18
  width, height = page.size
@@ -24,6 +26,7 @@ class TestPage < Test::Unit::TestCase
24
26
 
25
27
  def test_render_to_pixbuf_for_printing
26
28
  only_poppler_version(0, 7, 2)
29
+ only_old_poppler_version(0, 17, 0)
27
30
 
28
31
  document = Poppler::Document.new(image_pdf)
29
32
  page = document[0]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: poppler
3
3
  version: !ruby/object:Gem::Version
4
- hash: 359
5
- prerelease: false
4
+ hash: 357
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 90
9
- - 8
10
- version: 0.90.8
9
+ - 9
10
+ version: 0.90.9
11
11
  platform: x86-mingw32
12
12
  authors:
13
13
  - The Ruby-GNOME2 Proejct Team
@@ -15,8 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-03-04 00:00:00 +09:00
19
- default_executable:
18
+ date: 2011-06-11 00:00:00 Z
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
21
  name: gtk2
@@ -26,12 +25,12 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- hash: 359
28
+ hash: 357
30
29
  segments:
31
30
  - 0
32
31
  - 90
33
- - 8
34
- version: 0.90.8
32
+ - 9
33
+ version: 0.90.9
35
34
  type: :runtime
36
35
  version_requirements: *id001
37
36
  description: Ruby/Poppler is a Ruby binding of poppler-glib.
@@ -51,15 +50,12 @@ files:
51
50
  - ext/poppler/rbpoppler-attachment.c
52
51
  - ext/poppler/rbpoppler.h
53
52
  - ext/poppler/rbpoppler.c
54
- - ext/poppler/Makefile
55
53
  - ext/poppler/rbpoppler-page.c
56
54
  - ext/poppler/extconf.rb
57
55
  - ext/poppler/rbpoppler-form-field.c
58
- - ext/poppler/rbpopplerversion.h
59
56
  - ext/poppler/rbpoppler-action.c
60
57
  - ext/poppler/rbpoppler-annotation.c
61
58
  - ext/poppler/rbpoppler-private.h
62
- - ext/poppler/ruby-poppler.pc
63
59
  - ext/poppler/poppler.def
64
60
  - ext/poppler/depend
65
61
  - ext/poppler/rbpoppler-document.c
@@ -169,7 +165,6 @@ files:
169
165
  - vendor/local/include/libpng12/pngconf.h
170
166
  - vendor/local/include/jconfig.h
171
167
  - vendor/local/include/jerror.h
172
- has_rdoc: true
173
168
  homepage: http://ruby-gnome2.sourceforge.jp/
174
169
  licenses: []
175
170
 
@@ -201,7 +196,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
201
196
  requirements: []
202
197
 
203
198
  rubyforge_project:
204
- rubygems_version: 1.3.7
199
+ rubygems_version: 1.7.2
205
200
  signing_key:
206
201
  specification_version: 3
207
202
  summary: Ruby/Poppler is a Ruby binding of poppler-glib.
@@ -1,162 +0,0 @@
1
-
2
- SHELL = /bin/sh
3
-
4
- #### Start of system configuration section. ####
5
-
6
- srcdir = /home/kou/work/ruby/ruby-gnome2.win32/poppler/ext/poppler
7
- topdir = /usr/lib/ruby/1.8/x86_64-linux
8
- hdrdir = $(topdir)
9
- VPATH = $(srcdir):$(topdir):$(hdrdir)
10
- exec_prefix = $(prefix)
11
- prefix = $(DESTDIR)/usr
12
- sharedstatedir = $(prefix)/com
13
- mandir = $(prefix)/share/man
14
- psdir = $(docdir)
15
- oldincludedir = $(DESTDIR)/usr/include
16
- localedir = $(datarootdir)/locale
17
- bindir = $(exec_prefix)/bin
18
- libexecdir = $(prefix)/lib/ruby1.8
19
- sitedir = $(DESTDIR)/usr/local/lib/site_ruby
20
- htmldir = $(docdir)
21
- vendorarchdir = $(vendorlibdir)/$(sitearch)
22
- includedir = $(prefix)/include
23
- infodir = $(prefix)/share/info
24
- vendorlibdir = $(vendordir)/$(ruby_version)
25
- sysconfdir = $(DESTDIR)/etc
26
- libdir = $(exec_prefix)/lib
27
- sbindir = $(exec_prefix)/sbin
28
- rubylibdir = $(libdir)/ruby/$(ruby_version)
29
- docdir = $(datarootdir)/doc/$(PACKAGE)
30
- dvidir = $(docdir)
31
- vendordir = $(libdir)/ruby/vendor_ruby
32
- datarootdir = $(prefix)/share
33
- pdfdir = $(docdir)
34
- archdir = $(rubylibdir)/$(arch)
35
- sitearchdir = $(sitelibdir)/$(sitearch)
36
- datadir = $(datarootdir)
37
- localstatedir = $(DESTDIR)/var
38
- sitelibdir = $(sitedir)/$(ruby_version)
39
-
40
- CC = gcc
41
- LIBRUBY = $(LIBRUBY_SO)
42
- LIBRUBY_A = lib$(RUBY_SO_NAME)-static.a
43
- LIBRUBYARG_SHARED = -l$(RUBY_SO_NAME)
44
- LIBRUBYARG_STATIC = -l$(RUBY_SO_NAME)-static
45
-
46
- RUBY_EXTCONF_H =
47
- CFLAGS = -fPIC -fno-strict-aliasing -g -g -O2 -fPIC $(cflags) -Wall -I/home/kou/work/ruby/rcairo/ext/cairo -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/poppler/glib -I/usr/include/poppler -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/pango-1.0 -pthread -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/poppler
48
- INCFLAGS = -I. -I/home/kou/work/ruby/ruby-gnome2.win32/gtk2/ext/gtk2 -I/home/kou/work/ruby/ruby-gnome2.win32/gtk2/ext/gtk2 -I/home/kou/work/ruby/ruby-gnome2.win32/gtk2/ext/gtk2 -I/home/kou/work/ruby/ruby-gnome2.win32/gdk_pixbuf2/ext/gdk_pixbuf2 -I/home/kou/work/ruby/ruby-gnome2.win32/gdk_pixbuf2/ext/gdk_pixbuf2 -I/home/kou/work/ruby/ruby-gnome2.win32/gdk_pixbuf2/ext/gdk_pixbuf2 -I/home/kou/work/ruby/ruby-gnome2.win32/pango/ext/pango -I/home/kou/work/ruby/ruby-gnome2.win32/pango/ext/pango -I/home/kou/work/ruby/ruby-gnome2.win32/pango/ext/pango -I/home/kou/work/ruby/ruby-gnome2.win32/atk/ext/atk -I/home/kou/work/ruby/ruby-gnome2.win32/atk/ext/atk -I/home/kou/work/ruby/ruby-gnome2.win32/atk/ext/atk -I/home/kou/work/ruby/ruby-gnome2.win32/glib2/ext/glib2 -I/home/kou/work/ruby/ruby-gnome2.win32/glib2/ext/glib2 -I/home/kou/work/ruby/ruby-gnome2.win32/glib2/ext/glib2 -I. -I/usr/lib/ruby/1.8/x86_64-linux -I/home/kou/work/ruby/ruby-gnome2.win32/poppler/ext/poppler
49
- DEFS =
50
- CPPFLAGS = -DHAVE_RB_DEFINE_ALLOC_FUNC -DHAVE_RB_BLOCK_PROC -DHAVE_OBJECT_ALLOCATE -DHAVE_NODE_ATTRASGN -DHAVE_RB_CAIRO_H -DRUBY_POPPLER_COMPILATION
51
- CXXFLAGS = $(CFLAGS)
52
- ldflags = -L. -rdynamic -Wl,-export-dynamic -pthread
53
- dldflags =
54
- archflag =
55
- DLDFLAGS = $(ldflags) $(dldflags) $(archflag)
56
- LDSHARED = $(CC) -shared
57
- AR = ar
58
- EXEEXT =
59
-
60
- RUBY_INSTALL_NAME = ruby1.8
61
- RUBY_SO_NAME = ruby1.8
62
- arch = x86_64-linux
63
- sitearch = x86_64-linux
64
- ruby_version = 1.8
65
- ruby = /usr/bin/ruby1.8
66
- RUBY = $(ruby)
67
- RM = rm -f
68
- MAKEDIRS = mkdir -p
69
- INSTALL = /usr/bin/install -c
70
- INSTALL_PROG = $(INSTALL) -m 0755
71
- INSTALL_DATA = $(INSTALL) -m 644
72
- COPY = cp
73
-
74
- #### End of system configuration section. ####
75
-
76
- preload =
77
-
78
- libpath = . $(libdir)
79
- LIBPATH = -L. -L$(libdir)
80
- DEFFILE =
81
-
82
- CLEANFILES = mkmf.log
83
- DISTCLEANFILES =
84
-
85
- extout =
86
- extout_prefix =
87
- target_prefix =
88
- LOCAL_LIBS =
89
- LIBS = $(LIBRUBYARG_SHARED) -lcairo -lpoppler-glib -lgobject-2.0 -lglib-2.0 -lgthread-2.0 -lrt -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lm -lgmodule-2.0 -lpango-1.0 -lpangocairo-1.0 -lcairo -lgio-2.0 -lpoppler -lcairo -lpthread -lrt -ldl -lcrypt -lm -lc
90
- SRCS = rbpoppler-attachment.c rbpoppler.c rbpoppler-page.c rbpoppler-form-field.c rbpoppler-action.c rbpoppler-annotation.c rbpoppler-document.c
91
- OBJS = rbpoppler-attachment.o rbpoppler.o rbpoppler-page.o rbpoppler-form-field.o rbpoppler-action.o rbpoppler-annotation.o rbpoppler-document.o
92
- TARGET = poppler
93
- DLLIB = $(TARGET).so
94
- EXTSTATIC =
95
- STATIC_LIB =
96
-
97
- BINDIR = $(bindir)
98
- RUBYCOMMONDIR = $(sitedir)$(target_prefix)
99
- RUBYLIBDIR = $(sitelibdir)$(target_prefix)
100
- RUBYARCHDIR = $(sitearchdir)$(target_prefix)
101
-
102
- TARGET_SO = $(DLLIB)
103
- CLEANLIBS = $(TARGET).so $(TARGET).il? $(TARGET).tds $(TARGET).map
104
- CLEANOBJS = *.o *.a *.s[ol] *.pdb *.exp *.bak
105
-
106
- all: $(DLLIB)
107
- static: $(STATIC_LIB)
108
-
109
- clean:
110
- @-$(RM) $(CLEANLIBS) $(CLEANOBJS) $(CLEANFILES)
111
-
112
- distclean: clean
113
- @-$(RM) Makefile $(RUBY_EXTCONF_H) conftest.* mkmf.log
114
- @-$(RM) core ruby$(EXEEXT) *~ $(DISTCLEANFILES)
115
-
116
- realclean: distclean
117
- install: install-so install-rb
118
-
119
- install-so: $(RUBYARCHDIR)
120
- install-so: $(RUBYARCHDIR)/$(DLLIB)
121
- $(RUBYARCHDIR)/$(DLLIB): $(DLLIB)
122
- $(INSTALL_PROG) $(DLLIB) $(RUBYARCHDIR)
123
- install-rb: pre-install-rb install-rb-default
124
- install-rb-default: pre-install-rb-default
125
- pre-install-rb: Makefile
126
- pre-install-rb-default: Makefile
127
- $(RUBYARCHDIR):
128
- $(MAKEDIRS) $@
129
-
130
- site-install: site-install-so site-install-rb
131
- site-install-so: install-so
132
- site-install-rb: install-rb
133
-
134
- .SUFFIXES: .c .m .cc .cxx .cpp .C .o
135
-
136
- .cc.o:
137
- $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
138
-
139
- .cxx.o:
140
- $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
141
-
142
- .cpp.o:
143
- $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
144
-
145
- .C.o:
146
- $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
147
-
148
- .c.o:
149
- $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) -c $<
150
-
151
- $(DLLIB): $(OBJS) Makefile
152
- @-$(RM) $@
153
- $(LDSHARED) -o $@ $(OBJS) $(LIBPATH) $(DLDFLAGS) $(LOCAL_LIBS) $(LIBS)
154
-
155
-
156
-
157
- ###
158
- install:
159
- if test -n "$(pkgconfigdir)"; then \
160
- $(MAKEDIRS) $(pkgconfigdir); \
161
- $(INSTALL_DATA) ruby-poppler.pc $(pkgconfigdir); \
162
- fi
@@ -1,24 +0,0 @@
1
- /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
- /************************************************
3
-
4
- rbpopplerversion.h -
5
-
6
- This file was generated by mkmf-gnome2.rb.
7
-
8
- ************************************************/
9
-
10
- #ifndef __RBPOPPLER_VERSION_H__
11
- #define __RBPOPPLER_VERSION_H__
12
-
13
- #define POPPLER_MAJOR_VERSION (0)
14
- #define POPPLER_MINOR_VERSION (6)
15
- #define POPPLER_MICRO_VERSION (2)
16
-
17
- #define POPPLER_CHECK_VERSION(major,minor,micro) \
18
- (POPPLER_MAJOR_VERSION > (major) || \
19
- (POPPLER_MAJOR_VERSION == (major) && POPPLER_MINOR_VERSION > (minor)) || \
20
- (POPPLER_MAJOR_VERSION == (major) && POPPLER_MINOR_VERSION == (minor) && \
21
- POPPLER_MICRO_VERSION >= (micro)))
22
-
23
-
24
- #endif /* __RBPOPPLER_VERSION_H__ */
@@ -1,3 +0,0 @@
1
- Name: Ruby/Poppler
2
- Description: Ruby bindings for GLib wrapper for poppler
3
- Version: 0.90.7