gtksourceview2 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,8 @@
1
+ 2011-05-23 Kouhei Sutou <kou@cozmixng.org>
2
+
3
+ * lib/gtksourceview2.rb: supported Windows.
4
+ Reported by S.Kitagawa. Thanks!!!
5
+
1
6
  2011-02-12 Kouhei Sutou <kou@cozmixng.org>
2
7
 
3
8
  * ext/gtksourceview2/depend: fix .pc path. #3178294
Binary file
Binary file
@@ -1,2 +1,19 @@
1
+ =begin
2
+ gtksourceview2.rb
3
+
4
+ Copyright (c) 2008-2011 Ruby-GNOME2 Project Team
5
+ This program is licensed under the same licence as Ruby-GNOME2.
6
+ =end
7
+
1
8
  require 'gtk2'
2
- require 'gtksourceview2.so'
9
+
10
+ base_dir = Pathname.new(__FILE__).dirname.dirname.dirname.expand_path
11
+ vendor_dir = base_dir + "vendor" + "local"
12
+ vendor_bin_dir = vendor_dir + "bin"
13
+ GLib.prepend_environment_path(vendor_bin_dir)
14
+ begin
15
+ major, minor, micro, = RUBY_VERSION.split(/\./)
16
+ require "#{major}.#{minor}/gtksourceview2.so"
17
+ rescue LoadError
18
+ require "gtksourceview2.so"
19
+ end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gtksourceview2
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/GtkSourceView2 is a Ruby binding of gtksourceview-2.x.
@@ -51,12 +50,9 @@ files:
51
50
  - ext/gtksourceview2/gtksourceview2.def
52
51
  - ext/gtksourceview2/rbgtksourceprintcompositor.c
53
52
  - ext/gtksourceview2/rbgtksourcestyle.c
54
- - ext/gtksourceview2/ruby-gtksourceview2.pc
55
53
  - ext/gtksourceview2/rbgtksourcemain.c
56
54
  - ext/gtksourceview2/rbgtksourcemark.c
57
55
  - ext/gtksourceview2/rbgtksourcemain.h
58
- - ext/gtksourceview2/rbgtksourceview2version.h
59
- - ext/gtksourceview2/Makefile
60
56
  - ext/gtksourceview2/rbgtksourceview.c
61
57
  - ext/gtksourceview2/extconf.rb
62
58
  - ext/gtksourceview2/rbgtksourcelanguage.c
@@ -530,7 +526,6 @@ files:
530
526
  - vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcelanguage.h
531
527
  - vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcecompletionprovider.h
532
528
  - vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcelanguagemanager.h
533
- has_rdoc: true
534
529
  homepage: http://ruby-gnome2.sourceforge.jp/
535
530
  licenses: []
536
531
 
@@ -562,7 +557,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
562
557
  requirements: []
563
558
 
564
559
  rubyforge_project:
565
- rubygems_version: 1.3.7
560
+ rubygems_version: 1.7.2
566
561
  signing_key:
567
562
  specification_version: 3
568
563
  summary: Ruby/GtkSourceView2 is a Ruby binding of gtksourceview-2.x.
@@ -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/gtksourceview2/ext/gtksourceview2
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/gtksourceview-2.0 -I/usr/include/libxml2 -I/usr/include/gtk-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/atk-1.0 -I/usr/lib/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -pthread
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/gtksourceview2/ext/gtksourceview2
49
- DEFS =
50
- CPPFLAGS = -DHAVE_RB_DEFINE_ALLOC_FUNC -DHAVE_RB_BLOCK_PROC -DHAVE_OBJECT_ALLOCATE -DHAVE_NODE_ATTRASGN -DHAVE_RB_CAIRO_H -DHAVE_GTK_SOURCE_MARK_GET_TYPE -DHAVE_GTK_SOURCE_PRINT_COMPOSITOR_GET_TYPE -DHAVE_GTK_SOURCE_VIEW_GET_MARK_CATEGORY_BACKGROUND -DHAVE_GTK_SOURCE_LANGUAGE_MANAGER_GUESS_LANGUAGE -DRUBY_GTKSOURCEVIEW2_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 = rbgtksourceview2version.h
84
-
85
- extout =
86
- extout_prefix =
87
- target_prefix =
88
- LOCAL_LIBS =
89
- LIBS = $(LIBRUBYARG_SHARED) -lcairo -lgtksourceview-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lglib-2.0 -lgthread-2.0 -lrt -lgmodule-2.0 -lpango-1.0 -lpangocairo-1.0 -lcairo -lgio-2.0 -latk-1.0 -lpangoft2-1.0 -lfreetype -lfontconfig -lpthread -lrt -ldl -lcrypt -lm -lc
90
- SRCS = rbgtksourceprintcompositor.c rbgtksourcestyle.c rbgtksourcemain.c rbgtksourcemark.c rbgtksourceview.c rbgtksourcelanguage.c rbgtksourcestylescheme.c rbgtksourcelanguagemanager.c rbgtksourceiter.c rbgtksourcestyleschememanager.c rbgtksourcebuffer.c
91
- OBJS = rbgtksourceprintcompositor.o rbgtksourcestyle.o rbgtksourcemain.o rbgtksourcemark.o rbgtksourceview.o rbgtksourcelanguage.o rbgtksourcestylescheme.o rbgtksourcelanguagemanager.o rbgtksourceiter.o rbgtksourcestyleschememanager.o rbgtksourcebuffer.o
92
- TARGET = gtksourceview2
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-gtksourceview2.pc $(pkgconfigdir); \
162
- fi
@@ -1,25 +0,0 @@
1
- /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
- /************************************************
3
-
4
- rbgtksourceview2version.h -
5
-
6
- This file was generated by mkmf-gnome2.rb.
7
-
8
- ************************************************/
9
-
10
- #ifndef __RBGTKSOURCEVIEW2_VERSION_H__
11
- #define __RBGTKSOURCEVIEW2_VERSION_H__
12
-
13
- #define GTKSOURCEVIEW2_MAJOR_VERSION (2)
14
- #define GTKSOURCEVIEW2_MINOR_VERSION (0)
15
- #define GTKSOURCEVIEW2_MICRO_VERSION (0)
16
- #define GTKSOURCEVIEW2_TAG_VERSION (b7)
17
-
18
- #define GTKSOURCEVIEW2_CHECK_VERSION(major,minor,micro) \
19
- (GTKSOURCEVIEW2_MAJOR_VERSION > (major) || \
20
- (GTKSOURCEVIEW2_MAJOR_VERSION == (major) && GTKSOURCEVIEW2_MINOR_VERSION > (minor)) || \
21
- (GTKSOURCEVIEW2_MAJOR_VERSION == (major) && GTKSOURCEVIEW2_MINOR_VERSION == (minor) && \
22
- GTKSOURCEVIEW2_MICRO_VERSION >= (micro)))
23
-
24
-
25
- #endif /* __RBGTKSOURCEVIEW2_VERSION_H__ */
@@ -1,3 +0,0 @@
1
- Name: Ruby/GtkSourceView2
2
- Description: Ruby bindings for GTK+ 2.0 Source Editing Widget
3
- Version: 0.90.7