Skip to content

Commit cfcbfcb

Browse files
committed
Merge branch 'patches/sorah'
2 parents 5655e78 + 824c115 commit cfcbfcb

File tree

5 files changed

+19
-64
lines changed

5 files changed

+19
-64
lines changed

debian/control

Lines changed: 8 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ Build-Depends: autotools-dev,
2424
ruby | ruby-interpreter | ruby1.8,
2525
rubygems-integration (>= 1.6),
2626
systemtap-sdt-dev [linux-any],
27-
tcl8.6-dev,
28-
tk8.6-dev,
2927
zlib1g-dev
3028
Standards-Version: 3.9.8
3129
Homepage: http://www.ruby-lang.org/
@@ -55,10 +53,7 @@ Section: libs
5553
Multi-Arch: same
5654
Architecture: any
5755
Depends: rake (>= 10.4.2),
58-
ruby-did-you-mean (>= 1.0),
59-
ruby-minitest (>= 5.4),
60-
ruby-net-telnet (>= 0.1.1),
61-
ruby-test-unit (>= 3.0.8~),
56+
ruby2.3-gems (= ${binary:Version}),
6257
${misc:Depends},
6358
${shlibs:Depends}
6459
Description: Libraries necessary to run Ruby 2.3
@@ -70,6 +65,13 @@ Description: Libraries necessary to run Ruby 2.3
7065
This package includes the 'libruby-2.3' library, necessary to run Ruby 2.3.
7166
(API version 2.3.0)
7267

68+
Package: ruby2.3-gems
69+
Section: libs
70+
Multi-Arch: same
71+
Architecture: any
72+
Depends: ${misc:Depends}, ${shlibs:Depends}
73+
Description: Bundled gems
74+
7375
Package: ruby2.3-dev
7476
Multi-Arch: same
7577
Architecture: any
@@ -98,16 +100,3 @@ Description: Documentation for Ruby 2.3
98100
straight-forward, and extensible.
99101
.
100102
This package contains the autogenerated documentation for Ruby 2.3.
101-
102-
Package: ruby2.3-tcltk
103-
Architecture: any
104-
Depends: ${misc:Depends},
105-
${shlibs:Depends}
106-
Description: Ruby/Tk for Ruby 2.3
107-
Ruby is the interpreted scripting language for quick and easy
108-
object-oriented programming. It has many features to process text
109-
files and to do system management tasks (as in perl). It is simple,
110-
straight-forward, and extensible.
111-
.
112-
This package provides Ruby/Tk, Ruby bindings for the Tk graphical user
113-
interface toolkit.

debian/libruby2.3.install

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/usr/lib/*/*.so.*
22
/usr/lib/*/ruby
3-
/usr/lib/ruby
3+
/usr/lib/ruby/*.0
4+
/usr/lib/ruby/vendor_ruby
45
/usr/share/systemtap/tapset/libruby*.stp

debian/ruby2.3-gems.install

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/usr/lib/ruby/gems/*

debian/rules

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,12 @@ configure_options += $(shell dpkg-buildflags --export=configure)
4040
# Always build with /bin/bash, to get consistent rbconfig.rb (which embeds SHELL).
4141
export SHELL := /bin/bash
4242

43-
vtcltk=8.6
44-
configure_options += --with-tcltkversion=$(vtcltk)
45-
configure_options += --with-tclConfig-dir=/usr/lib/$(DEB_HOST_MULTIARCH)/tcl$(vtcltk)/tclConfig.sh
46-
configure_options += --with-tkConfig-dir=/usr/lib/$(DEB_HOST_MULTIARCH)/tk$(vtcltk)/tkConfig.sh
47-
configure_options += --with-tcllib=tcl$(vtcltk)
48-
configure_options += --with-tklib=tk$(vtcltk)
49-
configure_options += --with-tcl-include=/usr/include/tcl$(vtcltk)
50-
configure_options += --with-tk-include=/usr/include/tcl$(vtcltk)
51-
configure_options += --with-tcl-lib=/usr/lib/$(DEB_HOST_MULTIARCH)
52-
configure_options += --with-tk-lib=/usr/lib/$(DEB_HOST_MULTIARCH)
43+
configure_options += --with-out-ext=tcl
44+
configure_options += --with-out-ext=tk
45+
46+
# for TestExtLibs
47+
configure_options += --with-out-ext=win32ole
48+
configure_options += --with-out-ext=win32api
5349

5450
%:
5551
dh $@ --parallel --with autotools-dev --with autoreconf
@@ -69,12 +65,11 @@ override_dh_auto_build-arch:
6965
dh_auto_build -- main V=1
7066

7167
override_dh_auto_test-arch:
72-
$(MAKE) check V=1
68+
$(MAKE) TESTS="-v -j 4" V=1 check
7369

7470
override_dh_auto_install-arch:
71+
$(MAKE) update-gems extract-gems
7572
$(MAKE) install-nodoc V=1 DESTDIR=$(CURDIR)/debian/tmp
76-
# remove RPATH from tcltklib bindings
77-
chrpath --delete $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/ruby/$(RUBY_API_VERSION)/tcltklib.so
7873
# handle embedded copy of jquery
7974
$(RM) $(CURDIR)/debian/tmp/usr/lib/ruby/$(RUBY_API_VERSION)/rdoc/generator/template/darkfish/js/jquery.js
8075
dh_link -plibruby$(RUBY_VERSION) /usr/share/javascript/jquery/jquery.min.js /usr/lib/ruby/$(RUBY_API_VERSION)/rdoc/generator/template/darkfish/js/jquery.js
@@ -105,8 +100,6 @@ override_dh_install-arch:
105100
mkdir -p $(CURDIR)/debian/tmp/usr/share/systemtap/tapset
106101
sed 's|@LIBRARY_PATH@|/usr/lib/$(DEB_HOST_MULTIARCH)/libruby-$(RUBY_VERSION).so|g' $(CURDIR)/debian/libruby.stp > $(CURDIR)/debian/tmp/usr/share/systemtap/tapset/libruby$(RUBY_VERSION)-$(DEB_HOST_MULTIARCH).stp
107102
dh_install
108-
# split Ruby/Tk files
109-
$(baseruby) debian/split-tk-out.rb
110103

111104
import-orig-source:
112105
test -d .git

debian/split-tk-out.rb

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)