ncurses-ruby 1.2.3 → 1.2.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e2ba9824af40cca5ae667bcc70b466d7ea90e984
4
- data.tar.gz: 21255531cdf879a31d1a2a9d7250cfbc80a95723
3
+ metadata.gz: 9d803b5fe18e7bf779a70d1bb75ada9375f4a38c
4
+ data.tar.gz: ff8cb77ac36ae0e37fab4812c20abc405cd8a718
5
5
  SHA512:
6
- metadata.gz: d3f7fe8cdd5ea9454360ac27e58de405b9a18123ef8905ce658eec1c6b798b6f610c982326d01737fc04f6fd4e45a580008258d6e8702e6205a551af2067820c
7
- data.tar.gz: 76cf8a1045f569f42b01fd6a183e6b491f1ad5103f3ab638722d94d7af46e44f68d25ba5688b156f891740e8d9b7b01069fbfc5525c4240eda3ebcfcba27eed5
6
+ metadata.gz: f729df2e239fc883a9761e173e70f9f3cc25337d09be83323974231ff46260001f004edf1ccca97ab3328f424c13f8162621c5333132b5ce34bb94494eb89bd0
7
+ data.tar.gz: 6327c107598a50ea89e2aa7b0b161bb4efca91cd2c9e6efa3002b3e62c251881be782b1eaf208b98d2b08cfd2c57b84934059a22882670fde76d56fa2163a6ea
@@ -0,0 +1,7 @@
1
+ pkg/
2
+ tmp/
3
+ *.so
4
+ *.o
5
+ *.gem
6
+ Makefile
7
+ mkmf.log
@@ -1,3 +1,7 @@
1
+ ## 1.2.4 (2014/07/31)
2
+ * Fix occasional linking errors on gem install due to .o files being included
3
+ in gem. [Earle Clubb](https://github.com/eclubb)
4
+
1
5
  ## 1.2.3 (2014/07/21)
2
6
  * Updated documentation. [Earle Clubb](https://github.com/eclubb)
3
7
 
@@ -1,5 +1,5 @@
1
1
  module Ncurses
2
2
  module Ruby
3
- VERSION = '1.2.3'
3
+ VERSION = '1.2.4'
4
4
  end
5
5
  end
@@ -0,0 +1,27 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'ncurses-ruby/version'
5
+
6
+ DESCRIPTION = 'This wrapper provides access to the functions, macros, global ' +
7
+ 'variables and constants of the ncurses library. These are ' +
8
+ 'mapped to a Ruby Module named "Ncurses". Functions and ' +
9
+ 'external variables are implemented as singleton functions of ' +
10
+ 'the Ncurses module.'
11
+
12
+ Gem::Specification.new do |spec|
13
+ spec.name = 'ncurses-ruby'
14
+ spec.version = Ncurses::Ruby::VERSION
15
+ spec.platform = Gem::Platform::RUBY
16
+ spec.authors = ['Tobias Herzke', 'Simon Kaczor', 'Earle Clubb']
17
+ spec.email = ['t-peters@users.berlios.de', 'skaczor@cox.net', 'eclubb@valcom.com']
18
+ spec.has_rdoc = false
19
+ spec.homepage = 'http://github.com/eclubb/ncurses-ruby'
20
+ spec.summary = 'A Ruby module for accessing the ncurses library'
21
+ spec.description = DESCRIPTION
22
+ spec.license = "LGPL"
23
+
24
+ spec.require_paths = ['lib']
25
+ spec.files = `git ls-files -z`.split("\x0")
26
+ spec.extensions = ['ext/ncurses/extconf.rb']
27
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ncurses-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3
4
+ version: 1.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Herzke
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-07-21 00:00:00.000000000 Z
13
+ date: 2014-07-31 00:00:00.000000000 Z
14
14
  dependencies: []
15
15
  description: This wrapper provides access to the functions, macros, global variables
16
16
  and constants of the ncurses library. These are mapped to a Ruby Module named "Ncurses".
@@ -25,6 +25,7 @@ extensions:
25
25
  - ext/ncurses/extconf.rb
26
26
  extra_rdoc_files: []
27
27
  files:
28
+ - ".gitignore"
28
29
  - COPYING
29
30
  - Changelog.md
30
31
  - LICENSE.txt
@@ -40,23 +41,18 @@ files:
40
41
  - examples/read_line.rb
41
42
  - examples/tclock.rb
42
43
  - examples/test_scanw.rb
43
- - ext/ncurses/Makefile
44
44
  - ext/ncurses/extconf.rb
45
45
  - ext/ncurses/form_wrap.c
46
46
  - ext/ncurses/form_wrap.h
47
- - ext/ncurses/form_wrap.o
48
47
  - ext/ncurses/menu_wrap.c
49
48
  - ext/ncurses/menu_wrap.h
50
- - ext/ncurses/menu_wrap.o
51
- - ext/ncurses/ncurses.so
52
49
  - ext/ncurses/ncurses_wrap.c
53
50
  - ext/ncurses/ncurses_wrap.h
54
- - ext/ncurses/ncurses_wrap.o
55
51
  - ext/ncurses/panel_wrap.c
56
52
  - ext/ncurses/panel_wrap.h
57
- - ext/ncurses/panel_wrap.o
58
53
  - lib/ncurses-ruby/version.rb
59
54
  - lib/ncurses.rb
55
+ - ncurses-ruby.gemspec
60
56
  homepage: http://github.com/eclubb/ncurses-ruby
61
57
  licenses:
62
58
  - LGPL
@@ -77,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
77
73
  version: '0'
78
74
  requirements: []
79
75
  rubyforge_project:
80
- rubygems_version: 2.3.0
76
+ rubygems_version: 2.4.1
81
77
  signing_key:
82
78
  specification_version: 4
83
79
  summary: A Ruby module for accessing the ncurses library
@@ -1,238 +0,0 @@
1
-
2
- SHELL = /bin/sh
3
-
4
- # V=0 quiet, V=1 verbose. other values don't work.
5
- V = 0
6
- Q1 = $(V:1=)
7
- Q = $(Q1:0=@)
8
- ECHO1 = $(V:1=@:)
9
- ECHO = $(ECHO1:0=@echo)
10
-
11
- #### Start of system configuration section. ####
12
-
13
- srcdir = .
14
- topdir = /home/earle/.rubies/ruby-2.1.1/include/ruby-2.1.0
15
- hdrdir = $(topdir)
16
- arch_hdrdir = /home/earle/.rubies/ruby-2.1.1/include/ruby-2.1.0/x86_64-linux
17
- PATH_SEPARATOR = :
18
- VPATH = $(srcdir):$(arch_hdrdir)/ruby:$(hdrdir)/ruby
19
- prefix = $(DESTDIR)/home/earle/.rubies/ruby-2.1.1
20
- rubysitearchprefix = $(rubylibprefix)/$(sitearch)
21
- rubyarchprefix = $(rubylibprefix)/$(arch)
22
- rubylibprefix = $(libdir)/$(RUBY_BASE_NAME)
23
- exec_prefix = $(prefix)
24
- vendorarchhdrdir = $(vendorhdrdir)/$(sitearch)
25
- sitearchhdrdir = $(sitehdrdir)/$(sitearch)
26
- rubyarchhdrdir = $(rubyhdrdir)/$(arch)
27
- vendorhdrdir = $(rubyhdrdir)/vendor_ruby
28
- sitehdrdir = $(rubyhdrdir)/site_ruby
29
- rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
30
- vendorarchdir = $(vendorlibdir)/$(sitearch)
31
- vendorlibdir = $(vendordir)/$(ruby_version)
32
- vendordir = $(rubylibprefix)/vendor_ruby
33
- sitearchdir = $(sitelibdir)/$(sitearch)
34
- sitelibdir = $(sitedir)/$(ruby_version)
35
- sitedir = $(rubylibprefix)/site_ruby
36
- rubyarchdir = $(rubylibdir)/$(arch)
37
- rubylibdir = $(rubylibprefix)/$(ruby_version)
38
- sitearchincludedir = $(includedir)/$(sitearch)
39
- archincludedir = $(includedir)/$(arch)
40
- sitearchlibdir = $(libdir)/$(sitearch)
41
- archlibdir = $(libdir)/$(arch)
42
- ridir = $(datarootdir)/$(RI_BASE_NAME)
43
- mandir = $(datarootdir)/man
44
- localedir = $(datarootdir)/locale
45
- libdir = $(exec_prefix)/lib
46
- psdir = $(docdir)
47
- pdfdir = $(docdir)
48
- dvidir = $(docdir)
49
- htmldir = $(docdir)
50
- infodir = $(datarootdir)/info
51
- docdir = $(datarootdir)/doc/$(PACKAGE)
52
- oldincludedir = $(DESTDIR)/usr/include
53
- includedir = $(prefix)/include
54
- localstatedir = $(prefix)/var
55
- sharedstatedir = $(prefix)/com
56
- sysconfdir = $(prefix)/etc
57
- datadir = $(datarootdir)
58
- datarootdir = $(prefix)/share
59
- libexecdir = $(exec_prefix)/libexec
60
- sbindir = $(exec_prefix)/sbin
61
- bindir = $(exec_prefix)/bin
62
- archdir = $(rubyarchdir)
63
-
64
-
65
- CC = gcc
66
- CXX = g++
67
- LIBRUBY = $(LIBRUBY_A)
68
- LIBRUBY_A = lib$(RUBY_SO_NAME)-static.a
69
- LIBRUBYARG_SHARED = -Wl,-R -Wl,$(libdir) -L$(libdir)
70
- LIBRUBYARG_STATIC = -Wl,-R -Wl,$(libdir) -L$(libdir) -l$(RUBY_SO_NAME)-static
71
- empty =
72
- OUTFLAG = -o $(empty)
73
- COUTFLAG = -o $(empty)
74
-
75
- RUBY_EXTCONF_H =
76
- cflags = $(optflags) $(debugflags) $(warnflags)
77
- optflags = -O3 -fno-fast-math
78
- debugflags = -ggdb3
79
- warnflags = -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration
80
- CCDLFLAGS = -fPIC
81
- CFLAGS = $(CCDLFLAGS) $(cflags) -g -I/usr/pkg/include $(ARCH_FLAG)
82
- INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir)/ruby/backward -I$(hdrdir) -I$(srcdir)
83
- DEFS =
84
- CPPFLAGS = -DHAVE_UNISTD_H -DHAVE_NCURSES_H -DHAVE_NEWSCR -DHAVE_TABSIZE -DHAVE_ESCDELAY -DHAVE_KEYBOUND -DHAVE_CURSES_VERSION -DHAVE_TIGETSTR -DHAVE_GETWIN -DHAVE_PUTWIN -DHAVE_UNGETMOUSE -DHAVE_MOUSEMASK -DHAVE_WENCLOSE -DHAVE_MOUSEINTERVAL -DHAVE_WMOUSE_TRAFO -DHAVE_MCPRINT -DHAVE_HAS_KEY -DHAVE_DELSCREEN -DHAVE_DEFINE_KEY -DHAVE_KEYOK -DHAVE_RESIZETERM -DHAVE_USE_DEFAULT_COLORS -DHAVE_USE_EXTENDED_NAMES -DHAVE_WRESIZE -DHAVE_ATTR_ON -DHAVE_ATTR_OFF -DHAVE_ATTR_SET -DHAVE_CHGAT -DHAVE_COLOR_SET -DHAVE_FILTER -DHAVE_INTRFLUSH -DHAVE_MVCHGAT -DHAVE_MVHLINE -DHAVE_MVVLINE -DHAVE_MVWCHGAT -DHAVE_MVWHLINE -DHAVE_MVWVLINE -DHAVE_NOQIFLUSH -DHAVE_PUTP -DHAVE_QIFLUSH -DHAVE_SCR_DUMP -DHAVE_SCR_INIT -DHAVE_SCR_RESTORE -DHAVE_SCR_SET -DHAVE_SLK_ATTR -DHAVE_SLK_ATTR_SET -DHAVE_SLK_COLOR -DHAVE_TIGETFLAG -DHAVE_TIGETNUM -DHAVE_USE_ENV -DHAVE_VIDATTR -DHAVE_WATTR_ON -DHAVE_WATTR_OFF -DHAVE_WATTR_SET -DHAVE_WCHGAT -DHAVE_WCOLOR_SET -DHAVE_GETATTRS -DHAVE_ASSUME_DEFAULT_COLORS -DHAVE_ATTR_GET -DHAVE_PANEL_H -DHAVE_FORM_H -DHAVE_MENU_H $(DEFS) $(cppflags)
85
- CXXFLAGS = $(CCDLFLAGS) $(cxxflags) $(ARCH_FLAG)
86
- ldflags = -L. -fstack-protector -rdynamic -Wl,-export-dynamic -L/usr/pkg/lib
87
- dldflags =
88
- ARCH_FLAG =
89
- DLDFLAGS = $(ldflags) $(dldflags) $(ARCH_FLAG)
90
- LDSHARED = $(CC) -shared
91
- LDSHAREDXX = $(CXX) -shared
92
- AR = ar
93
- EXEEXT =
94
-
95
- RUBY_INSTALL_NAME = ruby
96
- RUBY_SO_NAME = ruby
97
- RUBYW_INSTALL_NAME =
98
- RUBY_VERSION_NAME = $(RUBY_BASE_NAME)-$(ruby_version)
99
- RUBYW_BASE_NAME = rubyw
100
- RUBY_BASE_NAME = ruby
101
-
102
- arch = x86_64-linux
103
- sitearch = $(arch)
104
- ruby_version = 2.1.0
105
- ruby = $(bindir)/ruby
106
- RUBY = $(ruby)
107
- ruby_headers = $(hdrdir)/ruby.h $(hdrdir)/ruby/ruby.h $(hdrdir)/ruby/defines.h $(hdrdir)/ruby/missing.h $(hdrdir)/ruby/intern.h $(hdrdir)/ruby/st.h $(hdrdir)/ruby/subst.h $(arch_hdrdir)/ruby/config.h
108
-
109
- RM = rm -f
110
- RM_RF = $(RUBY) -run -e rm -- -rf
111
- RMDIRS = rmdir --ignore-fail-on-non-empty -p
112
- MAKEDIRS = /usr/bin/mkdir -p
113
- INSTALL = /usr/bin/install -c
114
- INSTALL_PROG = $(INSTALL) -m 0755
115
- INSTALL_DATA = $(INSTALL) -m 644
116
- COPY = cp
117
- TOUCH = exit >
118
-
119
- #### End of system configuration section. ####
120
-
121
- preload =
122
-
123
- libpath = . $(libdir)
124
- LIBPATH = -L. -L$(libdir) -Wl,-R$(libdir)
125
- DEFFILE =
126
-
127
- CLEANFILES = mkmf.log
128
- DISTCLEANFILES =
129
- DISTCLEANDIRS =
130
-
131
- extout =
132
- extout_prefix =
133
- target_prefix =
134
- LOCAL_LIBS =
135
- LIBS = -lmenu -lform -lpanel -lncurses -lpthread -ldl -lcrypt -lm -lc
136
- ORIG_SRCS = panel_wrap.c ncurses_wrap.c form_wrap.c menu_wrap.c
137
- SRCS = $(ORIG_SRCS)
138
- OBJS = panel_wrap.o ncurses_wrap.o form_wrap.o menu_wrap.o
139
- HDRS = $(srcdir)/form_wrap.h $(srcdir)/panel_wrap.h $(srcdir)/ncurses_wrap.h $(srcdir)/menu_wrap.h
140
- TARGET = ncurses
141
- TARGET_NAME = ncurses
142
- TARGET_ENTRY = Init_$(TARGET_NAME)
143
- DLLIB = $(TARGET).so
144
- EXTSTATIC =
145
- STATIC_LIB =
146
-
147
- TIMESTAMP_DIR = .
148
- BINDIR = $(bindir)
149
- RUBYCOMMONDIR = $(sitedir)$(target_prefix)
150
- RUBYLIBDIR = $(sitelibdir)$(target_prefix)
151
- RUBYARCHDIR = $(sitearchdir)$(target_prefix)
152
- HDRDIR = $(rubyhdrdir)/ruby$(target_prefix)
153
- ARCHHDRDIR = $(rubyhdrdir)/$(arch)/ruby$(target_prefix)
154
-
155
- TARGET_SO = $(DLLIB)
156
- CLEANLIBS = $(TARGET).so
157
- CLEANOBJS = *.o *.bak
158
-
159
- all: $(DLLIB)
160
- static: $(STATIC_LIB)
161
- .PHONY: all install static install-so install-rb
162
- .PHONY: clean clean-so clean-static clean-rb
163
-
164
- clean-static::
165
- clean-rb-default::
166
- clean-rb::
167
- clean-so::
168
- clean: clean-so clean-static clean-rb-default clean-rb
169
- -$(Q)$(RM) $(CLEANLIBS) $(CLEANOBJS) $(CLEANFILES) .*.time
170
-
171
- distclean-rb-default::
172
- distclean-rb::
173
- distclean-so::
174
- distclean-static::
175
- distclean: clean distclean-so distclean-static distclean-rb-default distclean-rb
176
- -$(Q)$(RM) Makefile $(RUBY_EXTCONF_H) conftest.* mkmf.log
177
- -$(Q)$(RM) core ruby$(EXEEXT) *~ $(DISTCLEANFILES)
178
- -$(Q)$(RMDIRS) $(DISTCLEANDIRS) 2> /dev/null || true
179
-
180
- realclean: distclean
181
- install: install-so install-rb
182
-
183
- install-so: $(DLLIB) $(TIMESTAMP_DIR)/.RUBYARCHDIR.time
184
- $(INSTALL_PROG) $(DLLIB) $(RUBYARCHDIR)
185
- clean-static::
186
- -$(Q)$(RM) $(STATIC_LIB)
187
- install-rb: pre-install-rb install-rb-default
188
- install-rb-default: pre-install-rb-default
189
- pre-install-rb: Makefile
190
- pre-install-rb-default: Makefile
191
- pre-install-rb-default:
192
- $(ECHO) installing default ncurses libraries
193
- $(TIMESTAMP_DIR)/.RUBYARCHDIR.time:
194
- $(Q) $(MAKEDIRS) $(@D) $(RUBYARCHDIR)
195
- $(Q) $(TOUCH) $@
196
-
197
- site-install: site-install-so site-install-rb
198
- site-install-so: install-so
199
- site-install-rb: install-rb
200
-
201
- .SUFFIXES: .c .m .cc .mm .cxx .cpp .C .o
202
-
203
- .cc.o:
204
- $(ECHO) compiling $(<)
205
- $(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<
206
-
207
- .mm.o:
208
- $(ECHO) compiling $(<)
209
- $(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<
210
-
211
- .cxx.o:
212
- $(ECHO) compiling $(<)
213
- $(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<
214
-
215
- .cpp.o:
216
- $(ECHO) compiling $(<)
217
- $(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<
218
-
219
- .C.o:
220
- $(ECHO) compiling $(<)
221
- $(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<
222
-
223
- .c.o:
224
- $(ECHO) compiling $(<)
225
- $(Q) $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG)$@ -c $<
226
-
227
- .m.o:
228
- $(ECHO) compiling $(<)
229
- $(Q) $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG)$@ -c $<
230
-
231
- $(DLLIB): $(OBJS) Makefile
232
- $(ECHO) linking shared-object $(DLLIB)
233
- -$(Q)$(RM) $(@)
234
- $(Q) $(LDSHARED) -o $@ $(OBJS) $(LIBPATH) $(DLDFLAGS) $(LOCAL_LIBS) $(LIBS)
235
-
236
-
237
-
238
- $(OBJS): $(HDRS) $(ruby_headers)
Binary file
Binary file
Binary file
Binary file
Binary file