debian/0000775000000000000000000000000012321607053007167 5ustar debian/copyright0000664000000000000000000002165312321607053011131 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: qtruby Source: http://projects.kde.org/projects/kde/kdebindings/ruby/qtruby Files: * Copyright: 2003-2008, Richard Dale License: GPL-2+ Files: cmake/* Copyright: 2011, Arno Rehn License: BSD-3-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . 1. Redistributions of source code must retain the copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: examples/*/*/*.rb tools/rbrcc/* Copyright: 2004-2006, Trolltech AS. All rights reserved. License: GPL-2 This file may be used under the terms of the GNU General Public License version 2.0 as published by the Free Software Foundation and appearing in the file LICENSE.GPL included in the packaging of this file. Please review the following information to ensure GNU General Public Licensing requirements will be met: http://www.trolltech.com/products/qt/opensource.html . If you are unsure which license is appropriate for your use, please review the following information: http://www.trolltech.com/products/qt/licensing.html or contact the sales department at sales@trolltech.com. . This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. . On Debian systems, the complete text of the GNU General Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. Files: examples/ruboids/* Copyright: 2001, Jim Menard License: Ruby is copyrighted free software by Yukihiro Matsumoto . You can redistribute it and/or modify it under either the terms of the GPL (see COPYING.txt file), or the conditions below: . 1. You may make and give away verbatim copies of the source form of the software without restriction, provided that you duplicate all of the original copyright notices and associated disclaimers. . 2. You may modify your copy of the software in any way, provided that you do at least ONE of the following: . a) place your modifications in the Public Domain or otherwise make them Freely Available, such as by posting said modifications to Usenet or an equivalent medium, or by allowing the author to include your modifications in the software. . b) use the modified software only within your corporation or organization. . c) rename any non-standard executables so the names do not conflict with standard executables, which must also be provided. . d) make other distribution arrangements with the author. . 3. You may distribute the software in object code or executable form, provided that you do at least ONE of the following: . a) distribute the executables and library files of the software, together with instructions (in the manual page or equivalent) on where to get the original distribution. . b) accompany the distribution with the machine-readable source of the software. . c) give non-standard executables non-standard names, with instructions on where to get the original software distribution. . d) make other distribution arrangements with the author. . 4. You may modify and include the part of the software into any other software (possibly commercial). But some files in the distribution are not written by the author, so that they are not under this terms. . They are gc.c(partly), utils.c(partly), regex.[ch], st.[ch] and some files under the ./missing directory. See each file for the copying condition. . 5. The scripts and library files supplied as input to or produced as output from the software do not automatically fall under the copyright of the software, but belong to whomever generated them, and may be sold commercially, and may be aggregated with this software. . 6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. . On Debian systems, the complete text of the GNU General Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. Files: src/* Copyright: 2003-2008, Richard Dale License: LGPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . On Debian systems, the complete text of the GNU Lesser General Public License version 2 can be found in `/usr/share/common-licenses/LGPL-2'. Files: tools/rbuic/* Copyright: 1992-2008, Trolltech ASA License: GPL-2 or GPL-3 or other This file may be used under the terms of the GNU General Public License versions 2.0 or 3.0 as published by the Free Software Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3 included in the packaging of this file. Alternatively you may (at your option) use any later version of the GNU General Public License if such license has been publicly approved by Trolltech ASA (or its successors, if any) and the KDE Free Qt Foundation. In addition, as a special exception, Trolltech gives you certain additional rights. These rights are described in the Trolltech GPL Exception version 1.2, which can be found at http://www.trolltech.com/products/qt/gplexception/ and in the file GPL_EXCEPTION.txt in this package. . Please review the following information to ensure GNU General Public Licensing requirements will be met: http://trolltech.com/products/qt/licenses/licensing/opensource/. If you are unsure which license is appropriate for your use, please review the following information: http://trolltech.com/products/qt/licenses/licensing/licensingoverview or contact the sales department at sales@trolltech.com. . In addition, as a special exception, Trolltech, as the sole copyright holder for Qt Designer, grants users of the Qt/Eclipse Integration plug-in the right for the Qt/Eclipse Integration to link to functionality provided by Qt Designer and its related libraries. . This file is provided "AS IS" with NO WARRANTY OF ANY KIND, INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Trolltech reserves all rights not expressly granted herein. . This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. . On Debian systems, the complete texts of the GNU General Public Licenses version 2 and 3 can be found in `/usr/share/common-licenses/GPL-2' and `/usr/share/common-licenses/GPL-3'. Files: debian/* Copyright: 2008-2011, Debian Qt/KDE Maintainers 2011, David Palacio 2011-2012, Pino Toscano License: GPL-2+ License: GPL-2+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete texts of the GNU General Public Licenses version 2 and 3 can be found in `/usr/share/common-licenses/GPL-2' and `/usr/share/common-licenses/GPL-3'. debian/ruby-qt4-uitools.install0000664000000000000000000000013412321607053013740 0ustar usr/lib/ruby/vendor_ruby/*/*/qtuitools.so usr/lib/ruby/vendor_ruby/*/qtuitools/qtuitools.rb debian/docs0000664000000000000000000000001412321607053010035 0ustar README TODO debian/ruby-qt4-test.install0000664000000000000000000000012312321607053013217 0ustar usr/lib/ruby/vendor_ruby/*/*/qttest.so usr/lib/ruby/vendor_ruby/*/qttest/qttest.rb debian/ruby-qt4-test.examples0000664000000000000000000000003212321607053013366 0ustar modules/qttest/examples/* debian/watch0000664000000000000000000000012312321607053010214 0ustar version=3 ftp://ftp.kde.org/pub/kde/stable/([\d\.]+)/src/qtruby-([\d\.]+)\.tar\.xz debian/ruby-phonon.install0000664000000000000000000000012312321607053013033 0ustar usr/lib/ruby/vendor_ruby/*/*/phonon.so usr/lib/ruby/vendor_ruby/*/phonon/phonon.rb debian/rules0000775000000000000000000000255212321607053010253 0ustar #! /usr/bin/make -f pkgs_lib := $(filter-out %-dev %-dbg,$(filter lib%,$(shell dh_listpackages))) current_version := $(shell dpkg-parsechangelog | sed -n 's/^Version: //p') #RUBY_CONFIG_INCLUDE_DIR := $(shell ruby -rrbconfig -e 'puts RbConfig::CONFIG["rubyarchhdrdir"]') RUBY_VENDORARCHDIR := $(shell ruby -rrbconfig -e 'puts RbConfig::CONFIG["vendorarchdir"]') RUBY_VENDORLIBDIR := $(shell ruby -rrbconfig -e 'puts RbConfig::CONFIG["vendorlibdir"]') CMAKE_FLAGS := \ -DCUSTOM_RUBY_SITE_LIB_DIR=$(RUBY_VENDORLIBDIR) \ -DCUSTOM_RUBY_SITE_ARCH_DIR=$(RUBY_VENDORARCHDIR) \ $(NULL) override_dh_install: dh_install --list-missing override_dh_strip: dh_strip --dbg-package=ruby-qt4-dbg override_dh_auto_configure: dh_auto_configure -- $(CMAKE_FLAGS) override_dh_compress: dh_compress -X.rb -X.ui -X.mng -X.xbel override_dh_installexamples: dh_installexamples tar cvzf $(CURDIR)/debian/ruby-qt4/usr/share/doc/ruby-qt4/examples.tar.gz examples override_dh_makeshlibs: dh_makeshlibs -V # Generate shlibs local files for pkg in $(pkgs_lib); do \ if test -e debian/$${pkg}/DEBIAN/shlibs ; then \ sed 's/>=[^)]*/= $(current_version)/' debian/$${pkg}/DEBIAN/shlibs >> debian/shlibs.local ;\ fi \ done override_dh_auto_clean: dh_auto_clean rm -f debian/shlibs.local #Build-Depend on pkg-kde-tools (>= 0.6.8) for the sodeps addon %: dh $@ --parallel --with sodeps debian/source/0000775000000000000000000000000012321607053010467 5ustar debian/source/lintian-overrides0000664000000000000000000000021312321607053014044 0ustar qtruby source: duplicate-short-description libqt4-ruby libqt4-ruby1.8 qtruby source: duplicate-long-description libqt4-ruby libqt4-ruby1.8 debian/source/format0000664000000000000000000000001412321607053011675 0ustar 3.0 (quilt) debian/changelog0000664000000000000000000002735612321607053011056 0ustar qtruby (4:4.13.0-0ubuntu1) trusty; urgency=medium * New upstream KDE Software Compilation release -- Jonathan Riddell Thu, 10 Apr 2014 22:33:30 +0100 qtruby (4:4.12.97-0ubuntu2) trusty; urgency=medium * Resynchronize packaging with Debian. Can be sync'ed once Debian has a higher version and default Ruby in Ubuntu is 2.0 or later - Update for new Ruby policy and Ruby 2.0 as default (LP: #1303366) - Drop debian/patches/use_ruby1.8.diff - Wrap and sort debian/control - Install files in Ruby vendor locations as per Ruby policy * Don't specify RUBY_CONFIG_INCLUDE_DIR in debian/rules - For Ruby 1.9 it isn't needed and the Ruby 2.0 and later method does not work * Adjust .so file install locations in .install files to match Ruby 1.9 -- Scott Kitterman Sun, 06 Apr 2014 18:36:50 -0400 qtruby (4:4.12.97-0ubuntu1) trusty; urgency=medium * New upstream release candidate -- Philip Muškovac Wed, 02 Apr 2014 12:00:33 +0200 qtruby (4:4.12.95-0ubuntu1) trusty; urgency=medium * New upstream beta release -- Rohan Garg Sun, 23 Mar 2014 13:05:16 +0100 qtruby (4:4.12.90-0ubuntu1) trusty; urgency=medium * New upstream beta release -- Jonathan Riddell Wed, 19 Mar 2014 12:09:49 +0000 qtruby (4:4.12.3-0ubuntu1) trusty; urgency=medium * New upstream bugfix release -- Rohan Garg Tue, 04 Mar 2014 21:21:19 +0100 qtruby (4:4.12.2-0ubuntu2) trusty; urgency=low * No change rebuild for libqscintilla2-11 transition -- Scott Kitterman Wed, 19 Feb 2014 10:33:19 -0500 qtruby (4:4.12.2-0ubuntu1) trusty; urgency=medium * New upstream bugfix release -- Rohan Garg Wed, 05 Feb 2014 00:35:45 +0000 qtruby (4:4.12.1-0ubuntu1) trusty; urgency=low * New upstream bugfix release -- Rohan Garg Thu, 16 Jan 2014 08:50:28 +0000 qtruby (4:4.12.0-0ubuntu1) trusty; urgency=low * New upstream release -- Jonathan Riddell Wed, 18 Dec 2013 17:52:36 +0000 qtruby (4:4.11.97-0ubuntu1) trusty; urgency=low * New upstream RC release -- Jonathan Riddell Fri, 29 Nov 2013 13:51:00 +0000 qtruby (4:4.11.95-0ubuntu1) trusty; urgency=low * New upstream beta release -- Rohan Garg Mon, 25 Nov 2013 18:45:03 +0100 qtruby (4:4.11.80-0ubuntu1) trusty; urgency=low * New upstream beta release -- Rohan Garg Sat, 23 Nov 2013 18:07:05 +0100 qtruby (4:4.11.2-0ubuntu1) saucy; urgency=low * New upstream bugfix release -- Jonathan Riddell Mon, 30 Sep 2013 15:01:35 +0100 qtruby (4:4.11.1-0ubuntu1) saucy; urgency=low * New upstream bugfix release. -- Philip Muškovac Fri, 06 Sep 2013 22:45:28 +0100 qtruby (4:4.11.0-0ubuntu1) saucy; urgency=low [ Howard Chan ] * New upstream release [ Jonathan Riddell ] * New upstream release -- Jonathan Riddell Wed, 14 Aug 2013 00:45:44 +0100 qtruby (4:4.10.97-0ubuntu1) saucy; urgency=low * New upstream RC 2 release -- Jonathan Riddell Fri, 26 Jul 2013 20:14:24 +0100 qtruby (4:4.10.95-0ubuntu1) saucy; urgency=low [ Rohan Garg ] * New upstream RC release [ Philip Muškovac ] * Use debian-qt-kde.mk for auto-list-missing support -- Rohan Garg Fri, 19 Jul 2013 12:33:39 +0000 qtruby (4:4.10.90-0ubuntu1) saucy; urgency=low * New upstream bet release -- Michał Zając Fri, 28 Jun 2013 18:36:14 +0100 qtruby (4:4.10.80-0ubuntu1) saucy; urgency=low * New upstream release -- Rohan Garg Fri, 21 Jun 2013 02:03:53 +0100 qtruby (4:4.10.4-0ubuntu1) saucy-proposed; urgency=low * New upstream bugfix release -- Rohan Garg Fri, 07 Jun 2013 00:57:14 +0100 qtruby (4:4.10.3-0ubuntu1) saucy; urgency=low * New upstream release * Merge with Debian, no remaining changes -- Jonathan Riddell Thu, 23 May 2013 11:05:00 +0000 qtruby (4:4.10.2-1) experimental; urgency=low [ Diane Trout ] * New upstream release. -- Sune Vuorela Mon, 08 Apr 2013 06:57:03 +0000 qtruby (4:4.10.2-0ubuntu3) raring; urgency=low * Remove qwt package, it's not in main -- Jonathan Riddell Thu, 18 Apr 2013 15:24:51 +0100 qtruby (4:4.10.2-0ubuntu2) raring; urgency=low * Add back missing Qwt package -- Jonathan Riddell Tue, 16 Apr 2013 13:08:37 +0100 qtruby (4:4.10.2-0ubuntu1) raring; urgency=low * New upstream bugfix release -- Philip Muškovac Sun, 31 Mar 2013 15:06:16 +0200 qtruby (4:4.10.1-0ubuntu2) raring; urgency=low * No change rebuild for libqscintilla2-9 transition -- Scott Kitterman Thu, 07 Mar 2013 09:06:21 -0500 qtruby (4:4.10.1-0ubuntu1) raring-proposed; urgency=low * New upstream bugfix release -- Philip Muškovac Tue, 05 Mar 2013 17:01:07 +0000 qtruby (4:4.10.0-0ubuntu1) raring-proposed; urgency=low * New upstream release -- Rohan Garg Wed, 06 Feb 2013 12:24:51 +0000 qtruby (4:4.9.98-0ubuntu1) raring-proposed; urgency=low * New upstream release candidate -- Jonathan Riddell Fri, 18 Jan 2013 16:35:09 +0000 qtruby (4:4.9.97-0ubuntu1) raring; urgency=low * New upstream release candidate -- Philip Muškovac Thu, 03 Jan 2013 22:50:49 +0100 qtruby (4:4.9.95-0ubuntu1) raring; urgency=low * New upstream RC release -- Jonathan Riddell Tue, 18 Dec 2012 23:51:10 +0000 qtruby (4:4.9.90-0ubuntu1) raring-proposed; urgency=low * New upstream beta release -- Jonathan Riddell Fri, 07 Dec 2012 18:20:59 +0000 qtruby (4:4.9.80-0ubuntu1) raring; urgency=low * New upstream beta release -- Jonathan Riddell Mon, 19 Nov 2012 16:28:07 +0000 qtruby (4:4.9.3-0ubuntu1) raring; urgency=low * New upstream release (LP: #1074747) -- Philip Muškovac Tue, 06 Nov 2012 22:52:16 +0100 qtruby (4:4.9.2-0ubuntu1) quantal-proposed; urgency=low * New upstream bugfix release -- Jonathan Riddell Tue, 02 Oct 2012 15:47:32 +0100 qtruby (4:4.9.1-0ubuntu1) quantal; urgency=low * New upstream release -- Harald Sitter Mon, 10 Sep 2012 18:45:53 +0530 qtruby (4:4.9.0-0ubuntu1) quantal; urgency=low * Use direct build-depends versions rather than kde-sc-dev-latest * New upstream release -- Jonathan Riddell Thu, 26 Jul 2012 22:50:10 +0100 qtruby (4:4.8.90-0ubuntu1) quantal; urgency=low * New upstream beta release. -- Felix Geyer Wed, 13 Jun 2012 08:26:21 +0200 qtruby (4:4.8.4-1) unstable; urgency=low * New upstream release. - bump smoke-dev-tools and libsmokeqt4 builddependencies -- Debian Qt/KDE Maintainers Fri, 02 Mar 2012 15:31:10 -0500 qtruby (4:4.8.2-0ubuntu1) precise; urgency=low * New upstream release -- Philip Muškovac Sat, 31 Mar 2012 21:13:26 +0200 qtruby (4:4.8.1-0ubuntu1) precise; urgency=low * New upstream release -- Philip Muškovac Sat, 03 Mar 2012 01:36:27 +0100 qtruby (4:4.8.0-0ubuntu1) precise; urgency=low * New upstream release -- Philip Muškovac Mon, 23 Jan 2012 22:05:10 +0100 qtruby (4:4.7.97-0ubuntu1) precise; urgency=low * New upstream release candidate * Add Build-Conflicts: libqwt-dev for now (https://bugs.kde.org/278486) -- Jonathan Riddell Thu, 05 Jan 2012 12:18:35 +0000 qtruby (4:4.7.95-0ubuntu1) precise; urgency=low * New upstream release candidate -- Philip Muškovac Sat, 24 Dec 2011 22:04:13 +0100 qtruby (4:4.7.90-0ubuntu1) precise; urgency=low * New upstream beta release -- Jonathan Riddell Sat, 17 Dec 2011 20:55:59 +0000 qtruby (4:4.7.4-1) unstable; urgency=low * Team upload. * New upstream release. * Bump Standards-Version to 3.9.3, no changes required. * Bump debhelper build dependency to >= 9, and compat to 9. * Do not manually export CXXFLAGS and LDFLAGS now, since compat v9 does that already. * Update copyright: - switch to copyright-format v1.0 - bump year for myself for the current one * libqt4-ruby, libqt4-ruby1.8: for these transitional packages, set section oldlibs and priority extra. * Bump the smoke-dev-tools and libsmokeqt4-dev build dependencies to >= 4:4.7.4. -- Pino Toscano Wed, 04 Apr 2012 10:38:51 +0200 qtruby (4:4.7.3-0ubuntu1) precise; urgency=low * New upstream release * Merge with Debian Git * ruby-qt4-phonon replaces/breaks ruby-phonon -- Jonathan Riddell Wed, 23 Nov 2011 01:07:03 +0000 qtruby (4:4.7.1-1) unstable; urgency=low * Initial release, split from the kdebindings source. [ David Palacio ] * Follow package naming guidelines for Ruby. * Split Qt modules in own packages. * Package QScintilla2 binding. * Update control: - add ruby-qt4-dbg - update Uploaders - remove redundant section fields - add inter-module dependencies * Switch to dh7: - clean rules - pass --list-missing to dh_install * Adapt watch file to the new source name. * Adapt Vcs fields. * Switch copyright to the DEP-5 format, revision 174. [ Pino Toscano ] * Update rules: - pass sodeps as dh addon - do not compress .rb, .ui, .mng, and .xbel files (found in the examples) - manually export CXXFLAGS and LDFLAGS from dpkg-buildflags now, as dpkg-buildpackage does not do that anymore - generate libraries shlibs based on the current version - tighten the various libraries dependencies to the current version * Update control: - ruby-qt4-dbg: make it break/replace kdebindings-dbg, and recommend libruby1.8-dbg - add ${misc:Depends} to the packages lacking it - improve descriptions - require smoke-dev-tools >= 4.7.1, and make libqtruby4shared-dev depend on it - require libsmokeqt4-dev >= 4.7.1 - tighten the dependencies of the ruby-* modules wrt ruby-qt4 * Update the patches: - strip sequence numbers from the filenames - refresh - add DEP-3 headers for patches which didn't have them * Install the examples for qscintilla and qttest. * Compress all the examples installed by ruby-qt4 in a single examples.tar.gz archive, reducing the space they take. * Update copyright, adding myself to it. [ Modestas Vainius ] * Remove myself from Uploaders. -- Debian Qt/KDE Maintainers Sun, 02 Oct 2011 17:31:44 +0200 qtruby (4:4.7.1-0ubuntu1) oneiric; urgency=low * New upstream release -- Jonathan Kolberg Sun, 04 Sep 2011 18:31:08 +0200 qtruby (4:4.7.0-0ubuntu2) oneiric; urgency=low * Rebuild to pick up new Qt library path. * Disable qwt bindings. -- Felix Geyer Fri, 26 Aug 2011 14:47:37 +0200 qtruby (4:4.7.0-0ubuntu1) oneiric; urgency=low * New upstream release - debian/copyright: + fix license of examples/ruboids - Add license copy for ruboids as kubuntu_add_ruboids_license.diff -- Philip Muškovac Sat, 23 Jul 2011 04:47:03 +0200 qtruby (4:4.6.95-1) raring; urgency=low [ David Palacio ] * Source package `kdebindings` split. * Follow package naming guidelines for Ruby in Wheeze. * Add inter-module dependencies. [ Pino Toscano ] * Add kdebindings-dbg to ruby-qt4-dbg Breaks/Replaces. -- Debian Qt/KDE Maintainers Fri, 17 Jun 2011 22:01:09 -0500 debian/ruby-qt4.install0000664000000000000000000000023212321607053012243 0ustar usr/bin/rbqtapi usr/bin/rbrcc usr/bin/rbuic4 usr/lib/ruby/vendor_ruby/*/*/qtruby4.so usr/lib/ruby/vendor_ruby/*/Qt*.rb usr/lib/ruby/vendor_ruby/*/Qt/*.rb debian/ruby-qt4-declarative.install0000664000000000000000000000015012321607053014523 0ustar usr/lib/ruby/vendor_ruby/*/*/qtdeclarative.so usr/lib/ruby/vendor_ruby/*/qtdeclarative/qtdeclarative.rb debian/rbuic4.10000664000000000000000000000163712321607053010450 0ustar .TH RBUIC4 "1" "October 2006" "Qt4-qtruby from kdebindings 4.1 branch" .SH NAME rbuic4 \- Qt/Ruby user interface compiler. .SH SYNOPSIS .B rbuic4 [options] .I uifile .SH DESCRIPTION .B rbuic4 compiles user interface files (.ui) into ruby code. .SH OPTIONS .TP .B -h, -help display a short help and exit .TP .B -v, -version display version .TP .B -d, -dependencies display the dependencies .TP .BI -o \ file place the output into .I file .TP .BI -tr func use .I func() for i18n .TP .B -p, -no-protection disable header protection (most probably useless for Ruby) .TP .BI -g \ name change generator .TP .B -x generate extra code to test the class .SH AUTHOR .B rbuic4 is based on the .B uic program from the Qt distribution. This manual page was written by Vincent Fourmond for the Debian project, but may be used by others. debian/ruby-qt4.manpages0000664000000000000000000000006012321607053012367 0ustar debian/rbqtapi.1 debian/rbrcc.1 debian/rbuic4.1 debian/tests/0000775000000000000000000000000012321607053010331 5ustar debian/tests/test_checkarg.rb0000664000000000000000000000101312321607053013457 0ustar # This file is copyright 2007 Vincent Fourmond, to be used, copied and # distributed under the terms of the General Public License version 2 or # any later version published by the Free Software Funds. require 'Qt4' a = Qt::Application.new(ARGV) # We need that only when it fails. # Qt.debug_level = Qt::DebugLevel::High accel = Qt::KeySequence.new(Qt::Key_Up) p accel Qt::MessageBox::question(nil, 'Quit', 'Do you really want to quit? Any unsaved changes will be lost!', Qt::MessageBox::Ok, Qt::MessageBox::Cancel) debian/compat0000664000000000000000000000000212321607053010365 0ustar 9 debian/ruby-qt4-webkit.install0000664000000000000000000000013112321607053013524 0ustar usr/lib/ruby/vendor_ruby/*/*/qtwebkit.so usr/lib/ruby/vendor_ruby/*/qtwebkit/qtwebkit.rb debian/control0000664000000000000000000001360612321607053010600 0ustar Source: qtruby Section: ruby Priority: optional Maintainer: Kubuntu Developers XSBC-Original-Maintainer: Debian Qt/KDE Maintainers Uploaders: Torsten Marek , Sune Vuorela , David Palacio , Michael Meskes , Maximiliano Curia , Cédric Boutillier Build-Conflicts: libruby1.8 Build-Depends: cmake, debhelper (>= 9), libphonon-dev, libqscintilla2-dev, libqt4-dev, libqtwebkit-dev, libsmokeqt4-dev (>= 4:4.11), pkg-kde-tools (>= 0.6.8), ruby, ruby-dev, smoke-dev-tools (>= 4:4.11) Standards-Version: 3.9.5 Homepage: http://projects.kde.org/projects/kde/kdebindings/ruby/qtruby X-Debian-Vcs-Git: git://git.debian.org/git/pkg-kde/kde-sc/qtruby.git Vcs-Browser: http://bazaar.launchpad.net/~kubuntu-packagers/kubuntu-packaging/qtruby Vcs-Bzr: https://code.launchpad.net/~kubuntu-packagers/kubuntu-packaging/qtruby X-Debian-Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-kde/kde-sc/qtruby.git;a=summary Package: libqtruby4shared2 Section: libs Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Description: internal library for Qt 4 Ruby bindings This package provides an internal library of Qt Ruby. . This is part of the Qt Ruby module. Package: libqtruby4shared-dev Section: libdevel Architecture: any Depends: smoke-dev-tools (>= 4:4.10), ${misc:Depends}, ${so:Depends} Description: internal library for Qt 4 Ruby bindings -- development This package provides the development files of the internal Qt Ruby library. . This is part of the Qt Ruby module. Package: ruby-qscintilla2 Architecture: any Depends: ruby-qt4 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Description: QScintilla2 bindings for the Ruby language This package provides the Ruby bindings for the QScintilla2 library. . This is part of the Qt Ruby module. Package: ruby-qt4 Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Recommends: ruby Provides: libqt4-ruby, libqt4-ruby1.8 Replaces: libqt4-ruby (<< 4:4.6.80), libqt4-ruby1.8 (<< 4:4.6.80) Breaks: libqt4-ruby (<< 4:4.6.80), libqt4-ruby1.8 (<< 4:4.6.80) Description: Qt 4 bindings for the Ruby language This package provides the Ruby bindings for some of the Qt 4 modules: * QtCore * QtDBus * QtGui * QtNetwork * QtXml . This is part of the Qt Ruby module. Package: ruby-qt4-declarative Architecture: any Depends: ruby-qt4 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Description: QtDeclarative bindings for the Ruby language This package provides the Ruby bindings for the QtDeclarative Qt 4 library. . This is part of the Qt Ruby module. Package: ruby-qt4-dbg Priority: extra Section: debug Architecture: any Breaks: kdebindings-dbg Replaces: kdebindings-dbg Depends: ruby-qt4 (= ${binary:Version}), ${misc:Depends} Recommends: libsmokeqt4-dbg Description: Qt 4 bindings for the Ruby language -- debug symbols This package provides the debug symbols of the Qt 4 Ruby bindings. . This is part of the Qt Ruby module. Package: ruby-phonon Architecture: any Depends: ruby-qt4 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Breaks: libqt4-ruby (<< 4:4.6.80), libqt4-ruby1.8 (<< 4:4.6.80) Replaces: libqt4-ruby (<< 4:4.6.80), libqt4-ruby1.8 (<< 4:4.6.80) Description: Phonon bindings for the Ruby language This package provides the Ruby bindings for the Phonon library. . This is part of the Qt Ruby module. Package: ruby-qt4-script Architecture: any Depends: ruby-qt4 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Breaks: libqt4-ruby (<< 4:4.6.80), libqt4-ruby1.8 (<< 4:4.6.80) Replaces: libqt4-ruby (<< 4:4.6.80), libqt4-ruby1.8 (<< 4:4.6.80) Description: QtScript bindings for the Ruby language This package provides the Ruby bindings for the QtScript Qt 4 library. . This is part of the Qt Ruby module. Package: ruby-qt4-test Architecture: any Depends: ruby-qt4 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Breaks: libqt4-ruby (<< 4:4.6.80), libqt4-ruby1.8 (<< 4:4.6.80) Replaces: libqt4-ruby (<< 4:4.6.80), libqt4-ruby1.8 (<< 4:4.6.80) Description: QtTest bindings for the Ruby language This package provides the Ruby bindings for the QtTest Qt 4 library. . This is part of the Qt Ruby module. Package: ruby-qt4-uitools Architecture: any Depends: ruby-qt4 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Breaks: libqt4-ruby (<< 4:4.6.80), libqt4-ruby1.8 (<< 4:4.6.80) Replaces: libqt4-ruby (<< 4:4.6.80), libqt4-ruby1.8 (<< 4:4.6.80) Description: QtUiTools bindings for the Ruby language This package provides the Ruby bindings for the QtUiTools Qt 4 library. . This is part of the Qt Ruby module. Package: ruby-qt4-webkit Architecture: any Depends: ruby-qt4 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Breaks: libqt4-ruby (<< 4:4.6.80), libqt4-ruby1.8 (<< 4:4.6.80) Replaces: libqt4-ruby (<< 4:4.6.80), libqt4-ruby1.8 (<< 4:4.6.80) Description: QtWebKit bindings for the Ruby language This package provides the Ruby bindings for the QtWebKit Qt 4 library. . This is part of the Qt Ruby module. Package: libqt4-ruby Architecture: all Section: oldlibs Priority: extra Depends: ruby-qt4, ${misc:Depends} Description: transitional package for ruby-qt4 This is a transitional package to ease upgrades to the ruby-qt4 package. It can safely be removed. Package: libqt4-ruby1.8 Architecture: all Section: oldlibs Priority: extra Depends: ruby-phonon, ruby-qt4, ruby-qt4-script, ruby-qt4-test, ruby-qt4-uitools, ruby-qt4-webkit, ${misc:Depends} Description: transitional package for ruby-qt4 This is a transitional package to ease upgrades to the ruby-qt4 package. It can safely be removed. debian/ruby-qscintilla2.examples0000664000000000000000000000003612321607053014132 0ustar modules/qscintilla/example.rb debian/libqtruby4shared2.install0000664000000000000000000000003712321607053014131 0ustar usr/lib/libqtruby4shared.so.2* debian/ruby-qscintilla2.install0000664000000000000000000000013712321607053013764 0ustar usr/lib/ruby/vendor_ruby/*/*/qscintilla.so usr/lib/ruby/vendor_ruby/*/qscintilla/qscintilla.rb debian/ruby-qt4.links0000664000000000000000000000016212321607053011717 0ustar usr/share/man/man1/rbqtapi.1.gz usr/share/man/man1/rbqt4api.1.gz usr/bin/rbqtapi usr/bin/rbqt4api debian/patches/0000775000000000000000000000000012321607053010616 5ustar debian/patches/fix_ruby_requires.diff0000664000000000000000000007054512321607053015231 0ustar Author: David Palacio Last-Update: 2011-06-30 Forwarded: no --- a/examples/designer/calculatorbuilder/main.rb +++ b/examples/designer/calculatorbuilder/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'qrc_calculatorbuilder.rb' require 'calculatorform.rb' --- a/examples/designer/calculatorform/main.rb +++ b/examples/designer/calculatorform/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'calculatorform.rb' app = Qt::Application.new(ARGV) --- a/examples/desktop/screenshot/main.rb +++ b/examples/desktop/screenshot/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'screenshot.rb' app = Qt::Application.new(ARGV) --- a/examples/desktop/systray/main.rb +++ b/examples/desktop/systray/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'qrc_systray.rb' require 'window.rb' --- a/examples/dialogs/complexwizard/main.rb +++ b/examples/dialogs/complexwizard/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'licensewizard.rb' app = Qt::Application.new(ARGV) --- a/examples/dialogs/configdialog/main.rb +++ b/examples/dialogs/configdialog/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'configdialog.rb' app = Qt::Application.new(ARGV) --- a/examples/dialogs/extension/main.rb +++ b/examples/dialogs/extension/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'finddialog.rb' app = Qt::Application.new(ARGV) --- a/examples/dialogs/findfiles/main.rb +++ b/examples/dialogs/findfiles/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'window.rb' app = Qt::Application.new(ARGV) --- a/examples/dialogs/simplewizard/main.rb +++ b/examples/dialogs/simplewizard/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'classwizard.rb' app = Qt::Application.new(ARGV) --- a/examples/dialogs/standarddialogs/main.rb +++ b/examples/dialogs/standarddialogs/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'dialog.rb' app = Qt::Application.new(ARGV) --- a/examples/dialogs/tabdialog/main.rb +++ b/examples/dialogs/tabdialog/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'tabdialog.rb' app = Qt::Application.new(ARGV) --- a/examples/draganddrop/draggableicons/main.rb +++ b/examples/draganddrop/draggableicons/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'dragwidget.rb' app = Qt::Application.new(ARGV) --- a/examples/draganddrop/draggabletext/main.rb +++ b/examples/draganddrop/draggabletext/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'dragwidget.rb' app = Qt::Application.new(ARGV) --- a/examples/draganddrop/dropsite/main.rb +++ b/examples/draganddrop/dropsite/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'dropsitewindow.rb' app = Qt::Application.new(ARGV) --- a/examples/draganddrop/fridgemagnets/main.rb +++ b/examples/draganddrop/fridgemagnets/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'dragwidget.rb' app = Qt::Application.new(ARGV) --- a/examples/draganddrop/puzzle/main.rb +++ b/examples/draganddrop/puzzle/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'mainwindow.rb' app = Qt::Application.new(ARGV) --- a/examples/graphicsview/collidingmice/main.rb +++ b/examples/graphicsview/collidingmice/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'qrc_mice.rb' require 'mouse.rb' --- a/examples/graphicsview/dragdroprobot/main.rb +++ b/examples/graphicsview/dragdroprobot/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'qrc_robot.rb' require 'coloritem.rb' require 'robot.rb' --- a/examples/itemviews/chart/main.rb +++ b/examples/itemviews/chart/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'qrc_chart.rb' require 'mainwindow.rb' --- a/examples/itemviews/dirview/main.rb +++ b/examples/itemviews/dirview/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' app = Qt::Application.new(ARGV) --- a/examples/itemviews/pixelator/main.rb +++ b/examples/itemviews/pixelator/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'qrc_images.rb' require 'mainwindow.rb' --- a/examples/itemviews/puzzle/main.rb +++ b/examples/itemviews/puzzle/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'mainwindow.rb' app = Qt::Application.new(ARGV) --- a/examples/itemviews/simpledommodel/main.rb +++ b/examples/itemviews/simpledommodel/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'mainwindow.rb' app = Qt::Application.new(ARGV) --- a/examples/itemviews/simpletreemodel/main.rb +++ b/examples/itemviews/simpletreemodel/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'qrc_simpletreemodel.rb' require 'treemodel.rb' --- a/examples/itemviews/sortingmodel/main.rb +++ b/examples/itemviews/sortingmodel/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'treemodel.rb' app = Qt::Application.new(ARGV) --- a/examples/itemviews/spinboxdelegate/main.rb +++ b/examples/itemviews/spinboxdelegate/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'spinboxdelegate.rb' app = Qt::Application.new(ARGV) --- a/examples/killerfilter/killerfilter.rb +++ b/examples/killerfilter/killerfilter.rb @@ -2,7 +2,7 @@ # This is the EventFilter example from Chapter 16 of 'Programming with Qt' -require 'Qt' +require 'Qt4' class KillerFilter < Qt::Object --- a/examples/layouts/basiclayouts/main.rb +++ b/examples/layouts/basiclayouts/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'dialog.rb' app = Qt::Application.new(ARGV) --- a/examples/layouts/borderlayout/main.rb +++ b/examples/layouts/borderlayout/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'window.rb' app = Qt::Application.new(ARGV) --- a/examples/layouts/flowlayouts/main.rb +++ b/examples/layouts/flowlayouts/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'window.rb' app = Qt::Application.new(ARGV) --- a/examples/mainwindows/application/main.rb +++ b/examples/mainwindows/application/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'mainwindow.rb' app = Qt::Application.new(ARGV) --- a/examples/mainwindows/dockwidgets/main.rb +++ b/examples/mainwindows/dockwidgets/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'mainwindow.rb' app = Qt::Application.new(ARGV) --- a/examples/mainwindows/mdi/main.rb +++ b/examples/mainwindows/mdi/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'mainwindow.rb' app = Qt::Application.new(ARGV) --- a/examples/mainwindows/menus/main.rb +++ b/examples/mainwindows/menus/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'mainwindow.rb' app = Qt::Application.new(ARGV) --- a/examples/mainwindows/recentfiles/main.rb +++ b/examples/mainwindows/recentfiles/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'mainwindow.rb' app = Qt::Application.new(ARGV) --- a/examples/mainwindows/sdi/main.rb +++ b/examples/mainwindows/sdi/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'mainwindow.rb' app = Qt::Application.new(ARGV) --- a/examples/network/broadcastreceiver/main.rb +++ b/examples/network/broadcastreceiver/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'receiver.rb' app = Qt::Application.new(ARGV) --- a/examples/network/broadcastsender/main.rb +++ b/examples/network/broadcastsender/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'sender.rb' app = Qt::Application.new(ARGV) --- a/examples/network/fortuneclient/main.rb +++ b/examples/network/fortuneclient/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'client.rb' app = Qt::Application.new(ARGV) --- a/examples/network/fortuneserver/main.rb +++ b/examples/network/fortuneserver/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'server.rb' app = Qt::Application.new(ARGV) --- a/examples/network/ftp/main.rb +++ b/examples/network/ftp/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'ftpwindow.rb' app = Qt::Application.new(ARGV) --- a/examples/network/http/main.rb +++ b/examples/network/http/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'httpwindow.rb' app = Qt::Application.new(ARGV) --- a/examples/network/loopback/main.rb +++ b/examples/network/loopback/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'dialog.rb' app = Qt::Application.new(ARGV) --- a/examples/opengl/grabber/main.rb +++ b/examples/opengl/grabber/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'mainwindow.rb' app = Qt::Application.new(ARGV) --- a/examples/opengl/hellogl/main.rb +++ b/examples/opengl/hellogl/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'window.rb' app = Qt::Application.new(ARGV) --- a/examples/opengl/textures/main.rb +++ b/examples/opengl/textures/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'window.rb' app = Qt::Application.new(ARGV) --- a/examples/painting/basicdrawing/main.rb +++ b/examples/painting/basicdrawing/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'window.rb' app = Qt::Application.new(ARGV) --- a/examples/painting/concentriccircles/main.rb +++ b/examples/painting/concentriccircles/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'window.rb' app = Qt::Application.new(ARGV) --- a/examples/painting/fontsampler/main.rb +++ b/examples/painting/fontsampler/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'mainwindow.rb' app = Qt::Application.new(ARGV) --- a/examples/painting/imagecomposition/main.rb +++ b/examples/painting/imagecomposition/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'imagecomposer.rb' require 'qrc_imagecomposition.rb' --- a/examples/painting/painterpaths/main.rb +++ b/examples/painting/painterpaths/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'window.rb' app = Qt::Application.new(ARGV) --- a/examples/painting/svgviewer/main.rb +++ b/examples/painting/svgviewer/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'mainwindow.rb' require 'qrc_svgviewer.rb' --- a/examples/painting/transformations/main.rb +++ b/examples/painting/transformations/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'window.rb' app = Qt::Application.new(ARGV) --- a/examples/passivepopup/passivepopup.rb +++ b/examples/passivepopup/passivepopup.rb @@ -1,6 +1,6 @@ #!/usr/bin/env ruby -require 'Qt' +require 'Qt4' class PassiveWindow < Qt::Frame MARGIN = 20 --- a/examples/qdbus/chat/chat.rb +++ b/examples/qdbus/chat/chat.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'chat_interface.rb' require 'chat_adaptor.rb' --- a/examples/qdbus/complexpingpong/complexping.rb +++ b/examples/qdbus/complexpingpong/complexping.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'ping-common.rb' class Ping < Qt::Object --- a/examples/qdbus/complexpingpong/complexpong.rb +++ b/examples/qdbus/complexpingpong/complexpong.rb @@ -25,7 +25,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'ping-common.rb' class Pong < Qt::DBusAbstractAdaptor --- a/examples/qdbus/listnames/listnames.rb +++ b/examples/qdbus/listnames/listnames.rb @@ -24,7 +24,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' def method1() qDebug("Method 1:") --- a/examples/qdbus/pingpong/ping.rb +++ b/examples/qdbus/pingpong/ping.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'ping-common.rb' app = Qt::CoreApplication.new(ARGV) --- a/examples/qdbus/pingpong/pong.rb +++ b/examples/qdbus/pingpong/pong.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'ping-common.rb' class Pong < Qt::Object --- a/examples/qdbus/remotecontrolledcar/car/main.rb +++ b/examples/qdbus/remotecontrolledcar/car/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'car.rb' app = Qt::Application.new(ARGV) --- a/examples/qdbus/remotecontrolledcar/controller/main.rb +++ b/examples/qdbus/remotecontrolledcar/controller/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'controller.rb' app = Qt::Application.new(ARGV) --- a/examples/qtscribble/scribble.rb +++ b/examples/qtscribble/scribble.rb @@ -5,7 +5,7 @@ # window knows how to redraw itself. # -require 'Qt' +require 'Qt4' class ScribbleArea < Qt::Widget --- a/examples/richtext/calendar/main.rb +++ b/examples/richtext/calendar/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'mainwindow.rb' app = Qt::Application.new(ARGV) --- a/examples/richtext/orderform/main.rb +++ b/examples/richtext/orderform/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'mainwindow.rb' app = Qt::Application.new(ARGV) --- a/examples/richtext/syntaxhighlighter/main.rb +++ b/examples/richtext/syntaxhighlighter/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'mainwindow.rb' app = Qt::Application.new(ARGV) --- a/examples/ruboids/ruboids/CameraDialog.rb +++ b/examples/ruboids/ruboids/CameraDialog.rb @@ -5,7 +5,7 @@ # http://www.ruby-lang.org/en/LICENSE.txt. # -require 'Qt' +require 'Qt4' require 'World' require 'Camera' --- a/examples/ruboids/ruboids/Canvas.rb +++ b/examples/ruboids/ruboids/Canvas.rb @@ -5,7 +5,7 @@ # http://www.ruby-lang.org/en/LICENSE.txt. # -require 'Qt' +require 'Qt4' require 'opengl' require 'World' require 'Cloud' --- a/examples/ruboids/ruboids/CloudView.rb +++ b/examples/ruboids/ruboids/CloudView.rb @@ -5,7 +5,7 @@ # http://www.ruby-lang.org/en/LICENSE.txt. # -require 'Qt' +require 'Qt4' require 'View' require 'Cloud' require 'Params' --- a/examples/ruboids/ruboids/World.rb +++ b/examples/ruboids/ruboids/World.rb @@ -6,7 +6,7 @@ # require 'singleton' -require 'Qt' +require 'Qt4' require 'Params' require 'Cloud' require 'Flock' --- a/examples/ruboids/ruboids/WorldWindow.rb +++ b/examples/ruboids/ruboids/WorldWindow.rb @@ -5,7 +5,7 @@ # http://www.ruby-lang.org/en/LICENSE.txt. # -require 'Qt' +require 'Qt4' require 'Canvas' require 'CameraDialog' --- a/examples/ruboids/ruboids/ruboids.rb +++ b/examples/ruboids/ruboids/ruboids.rb @@ -6,7 +6,7 @@ # http://www.ruby-lang.org/en/LICENSE.txt. # -require 'Qt' +require 'Qt4' require 'World' require 'WorldWindow' require 'Canvas' --- a/examples/textedit/textedit.rb +++ b/examples/textedit/textedit.rb @@ -1,6 +1,6 @@ #!/usr/bin/ruby -w -require 'Qt' +require 'Qt4' require 'rexml/document' require '../base/rui.rb' --- a/examples/tutorial/t1/t1.rb +++ b/examples/tutorial/t1/t1.rb @@ -1,7 +1,7 @@ #!/usr/bin/env ruby $VERBOSE = true; $:.unshift File.dirname($0) -require 'Qt' +require 'Qt4' a = Qt::Application.new(ARGV) hello = Qt::PushButton.new('Hello World!', nil) --- a/examples/tutorial/t10/cannon.rb +++ b/examples/tutorial/t10/cannon.rb @@ -1,4 +1,4 @@ -require 'Qt' +require 'Qt4' class CannonField < Qt::Widget signals 'angleChanged(int)', 'forceChanged(int)' --- a/examples/tutorial/t10/lcdrange.rb +++ b/examples/tutorial/t10/lcdrange.rb @@ -1,4 +1,4 @@ -require 'Qt' +require 'Qt4' class LCDRange < Qt::Widget signals 'valueChanged(int)' --- a/examples/tutorial/t10/t10.rb +++ b/examples/tutorial/t10/t10.rb @@ -1,7 +1,7 @@ #!/usr/bin/env ruby $VERBOSE = true; $:.unshift File.dirname($0) -require 'Qt' +require 'Qt4' require 'lcdrange.rb' require 'cannon.rb' --- a/examples/tutorial/t11/cannon.rb +++ b/examples/tutorial/t11/cannon.rb @@ -1,5 +1,5 @@ include Math -require 'Qt' +require 'Qt4' class CannonField < Qt::Widget --- a/examples/tutorial/t11/lcdrange.rb +++ b/examples/tutorial/t11/lcdrange.rb @@ -1,4 +1,4 @@ -require 'Qt' +require 'Qt4' class LCDRange < Qt::Widget signals 'valueChanged(int)' --- a/examples/tutorial/t11/t11.rb +++ b/examples/tutorial/t11/t11.rb @@ -1,7 +1,7 @@ #!/usr/bin/env ruby $VERBOSE = true; $:.unshift File.dirname($0) -require 'Qt' +require 'Qt4' require 'lcdrange.rb' require 'cannon.rb' --- a/examples/tutorial/t12/cannon.rb +++ b/examples/tutorial/t12/cannon.rb @@ -1,5 +1,5 @@ include Math -require 'Qt' +require 'Qt4' class CannonField < Qt::Widget --- a/examples/tutorial/t12/lcdrange.rb +++ b/examples/tutorial/t12/lcdrange.rb @@ -1,4 +1,4 @@ -require 'Qt' +require 'Qt4' require 'pp' class LCDRange < Qt::Widget --- a/examples/tutorial/t12/t12.rb +++ b/examples/tutorial/t12/t12.rb @@ -1,7 +1,7 @@ #!/usr/bin/env ruby $VERBOSE = true; $:.unshift File.dirname($0) -require 'Qt' +require 'Qt4' require 'lcdrange.rb' require 'cannon.rb' --- a/examples/tutorial/t13/cannon.rb +++ b/examples/tutorial/t13/cannon.rb @@ -1,4 +1,4 @@ -require 'Qt' +require 'Qt4' include Math class CannonField < Qt::Widget --- a/examples/tutorial/t13/gamebrd.rb +++ b/examples/tutorial/t13/gamebrd.rb @@ -1,4 +1,4 @@ -require 'Qt' +require 'Qt4' require 'lcdrange.rb' require 'cannon.rb' --- a/examples/tutorial/t13/lcdrange.rb +++ b/examples/tutorial/t13/lcdrange.rb @@ -1,4 +1,4 @@ -require 'Qt' +require 'Qt4' class LCDRange < Qt::Widget signals 'valueChanged(int)' --- a/examples/tutorial/t13/t13.rb +++ b/examples/tutorial/t13/t13.rb @@ -1,7 +1,7 @@ #!/usr/bin/env ruby $VERBOSE = true; $:.unshift File.dirname($0) -require 'Qt' +require 'Qt4' require 'gamebrd.rb' app = Qt::Application.new(ARGV) --- a/examples/tutorial/t14/t14.rb +++ b/examples/tutorial/t14/t14.rb @@ -1,7 +1,7 @@ #!/usr/bin/env ruby $VERBOSE = true; $:.unshift File.dirname($0) -require 'Qt' +require 'Qt4' require 'gamebrd.rb' app = Qt::Application.new(ARGV) --- a/examples/tutorial/t2/t2.rb +++ b/examples/tutorial/t2/t2.rb @@ -1,7 +1,7 @@ #!/usr/bin/env ruby $VERBOSE = true; $:.unshift File.dirname($0) -require 'Qt'; +require 'Qt4'; a = Qt::Application.new(ARGV) --- a/examples/tutorial/t3/t3.rb +++ b/examples/tutorial/t3/t3.rb @@ -1,7 +1,7 @@ #!/usr/bin/env ruby $VERBOSE = true; $:.unshift File.dirname($0) -require 'Qt' +require 'Qt4' app = Qt::Application.new(ARGV) --- a/examples/tutorial/t4/t4.rb +++ b/examples/tutorial/t4/t4.rb @@ -1,7 +1,7 @@ #!/usr/bin/env ruby $VERBOSE = true; $:.unshift File.dirname($0) -require 'Qt' +require 'Qt4' class MyWidget < Qt::Widget --- a/examples/tutorial/t5/t5.rb +++ b/examples/tutorial/t5/t5.rb @@ -1,7 +1,7 @@ #!/usr/bin/env ruby $VERBOSE = true; $:.unshift File.dirname($0) -require 'Qt' +require 'Qt4' class MyWidget < Qt::Widget --- a/examples/tutorial/t6/t6.rb +++ b/examples/tutorial/t6/t6.rb @@ -1,7 +1,7 @@ #!/usr/bin/env ruby $VERBOSE = true; $:.unshift File.dirname($0) -require 'Qt' +require 'Qt4' class LCDRange < Qt::Widget --- a/examples/tutorial/t7/lcdrange.rb +++ b/examples/tutorial/t7/lcdrange.rb @@ -1,5 +1,5 @@ #!/usr/bin/ruby -w -require 'Qt' +require 'Qt4' class LCDRange < Qt::Widget signals 'valueChanged(int)' --- a/examples/tutorial/t7/t7.rb +++ b/examples/tutorial/t7/t7.rb @@ -1,7 +1,7 @@ #!/usr/bin/env ruby $VERBOSE = true; $:.unshift File.dirname($0) -require 'Qt' +require 'Qt4' require 'lcdrange.rb' class MyWidget < Qt::Widget --- a/examples/tutorial/t8/cannon.rb +++ b/examples/tutorial/t8/cannon.rb @@ -1,4 +1,4 @@ -require 'Qt' +require 'Qt4' class CannonField < Qt::Widget signals 'angleChanged(int)' --- a/examples/tutorial/t8/lcdrange.rb +++ b/examples/tutorial/t8/lcdrange.rb @@ -1,4 +1,4 @@ -require 'Qt' +require 'Qt4' class LCDRange < Qt::Widget signals 'valueChanged(int)' --- a/examples/tutorial/t8/t8.rb +++ b/examples/tutorial/t8/t8.rb @@ -1,7 +1,7 @@ #!/usr/bin/env ruby $VERBOSE = true; $:.unshift File.dirname($0) -require 'Qt' +require 'Qt4' require 'lcdrange.rb' require 'cannon.rb' --- a/examples/tutorial/t9/cannon.rb +++ b/examples/tutorial/t9/cannon.rb @@ -1,4 +1,4 @@ -require 'Qt' +require 'Qt4' class CannonField < Qt::Widget signals 'angleChanged(int)' --- a/examples/tutorial/t9/lcdrange.rb +++ b/examples/tutorial/t9/lcdrange.rb @@ -1,4 +1,4 @@ -require 'Qt' +require 'Qt4' class LCDRange < Qt::Widget signals 'valueChanged(int)' --- a/examples/tutorial/t9/t9.rb +++ b/examples/tutorial/t9/t9.rb @@ -1,7 +1,7 @@ #!/usr/bin/env ruby $VERBOSE = true; $:.unshift File.dirname($0) -require 'Qt' +require 'Qt4' require 'lcdrange.rb' require 'cannon.rb' --- a/examples/widgets/analogclock/analogclock.rb +++ b/examples/widgets/analogclock/analogclock.rb @@ -25,7 +25,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' # an analog clock widget using an internal Qt::Timer class AnalogClock < Qt::Widget --- a/examples/widgets/analogclock/main.rb +++ b/examples/widgets/analogclock/main.rb @@ -1,6 +1,6 @@ #!/usr/bin/env ruby -require 'Qt' +require 'Qt4' require 'analogclock.rb' app = Qt::Application.new(ARGV) --- a/examples/widgets/calculator/main.rb +++ b/examples/widgets/calculator/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'calculator.rb' app = Qt::Application.new(ARGV) --- a/examples/widgets/charactermap/main.rb +++ b/examples/widgets/charactermap/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'mainwindow.rb' app = Qt::Application.new(ARGV) --- a/examples/widgets/digitalclock/digitalclock.rb +++ b/examples/widgets/digitalclock/digitalclock.rb @@ -1,4 +1,4 @@ -require 'Qt' +require 'Qt4' class DigitalClock < Qt::LCDNumber --- a/examples/widgets/digitalclock/main.rb +++ b/examples/widgets/digitalclock/main.rb @@ -1,6 +1,6 @@ #!/usr/bin/env ruby -require 'Qt' +require 'Qt4' require 'digitalclock.rb' app = Qt::Application.new(ARGV) --- a/examples/widgets/groupbox/main.rb +++ b/examples/widgets/groupbox/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'window.rb' app = Qt::Application.new(ARGV) --- a/examples/widgets/icons/main.rb +++ b/examples/widgets/icons/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'mainwindow.rb' app = Qt::Application.new(ARGV) --- a/examples/widgets/imageviewer/main.rb +++ b/examples/widgets/imageviewer/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'imageviewer.rb' app = Qt::Application.new(ARGV) --- a/examples/widgets/lineedits/main.rb +++ b/examples/widgets/lineedits/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'window.rb' app = Qt::Application.new(ARGV) --- a/examples/widgets/movie/main.rb +++ b/examples/widgets/movie/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'movieplayer.rb' app = Qt::Application.new(ARGV) --- a/examples/widgets/screenshot/main.rb +++ b/examples/widgets/screenshot/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'screenshot.rb' app = Qt::Application.new(ARGV) --- a/examples/widgets/scribble/main.rb +++ b/examples/widgets/scribble/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'mainwindow.rb' app = Qt::Application.new(ARGV) --- a/examples/widgets/sliders/main.rb +++ b/examples/widgets/sliders/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'window.rb' app = Qt::Application.new(ARGV) --- a/examples/widgets/spinboxes/main.rb +++ b/examples/widgets/spinboxes/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'window.rb' app = Qt::Application.new(ARGV) --- a/examples/widgets/tetrix/main.rb +++ b/examples/widgets/tetrix/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'tetrixwindow.rb' app = Qt::Application.new(ARGV) --- a/examples/widgets/tooltips/main.rb +++ b/examples/widgets/tooltips/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'sortingbox.rb' app = Qt::Application.new(ARGV) --- a/examples/widgets/wiggly/main.rb +++ b/examples/widgets/wiggly/main.rb @@ -1,6 +1,6 @@ #!/usr/bin/env ruby -require 'Qt' +require 'Qt4' require 'dialog.rb' app = Qt::Application.new(ARGV) --- a/examples/widgets/windowflags/main.rb +++ b/examples/widgets/windowflags/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'controllerwindow.rb' app = Qt::Application.new(ARGV) --- a/examples/xml/dombookmarks/main.rb +++ b/examples/xml/dombookmarks/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'mainwindow.rb' $KCODE = 'u' --- a/examples/xml/saxbookmarks/main.rb +++ b/examples/xml/saxbookmarks/main.rb @@ -23,7 +23,7 @@ ** Translated to QtRuby by Richard Dale =end -require 'Qt' +require 'Qt4' require 'mainwindow.rb' $KCODE = 'u' --- a/rails_support/active_item_model.rb +++ b/rails_support/active_item_model.rb @@ -16,7 +16,7 @@ Written by Richard Dale and Silvio Fonse =end -require 'Qt' +require 'Qt4' #require "active_record" #require "active_support" --- a/rails_support/active_table_model.rb +++ b/rails_support/active_table_model.rb @@ -15,7 +15,7 @@ Written by Richard Dale and Silvio Fonse =end -require 'Qt' +require 'Qt4' require 'date' class ActiveTableModel < Qt::AbstractTableModel --- a/test/opoverloading.rb +++ b/test/opoverloading.rb @@ -1,4 +1,4 @@ -require 'Qt' +require 'Qt4' class Qt::Point def to_s --- a/test/unittests.rb +++ b/test/unittests.rb @@ -1,4 +1,4 @@ -require 'Qt' +require 'Qt4' require 'test/unit' class TestQtRuby < Test::Unit::TestCase debian/patches/series0000664000000000000000000000002712321607053012032 0ustar fix_ruby_requires.diff debian/ruby-qt4-script.install0000664000000000000000000000013112321607053013543 0ustar usr/lib/ruby/vendor_ruby/*/*/qtscript.so usr/lib/ruby/vendor_ruby/*/qtscript/qtscript.rb debian/rbrcc.10000664000000000000000000000156312321607053010351 0ustar .TH RBRCC "1" "October 2006" "Qt4-qtruby from kdebindings 4.1 branch" .SH NAME rbrcc \- Qt/Ruby resource compiler .SH SYNOPSIS .B rbrcc [options] .I inputs .SH DESCRIPTION .B rbrcc compiles resource files (.qrc) into ruby code. .SH OPTIONS .TP .BI -o \ file Write output to file rather than stdout .TP .BI -name \ name Create an external initialization method with name .TP .BI -threshold \ level Threshold to consider compressing files .TP .BI -compress \ level Compress input files by level .TP .BI -root \ path Prefix resource access path with root path .TP .BI -no-compress Disable all compression .TP .BI -version Display version .TP .BI -help Display option summary .SH AUTHOR .B rbrcc is based on the .B rcc program from the Qt distribution. This manual page was written by Vincent Fourmond for the Debian project, but may be used by others. debian/rbqtapi.10000664000000000000000000000167312321607053010722 0ustar .TH RBQTAPI "1" "October 2006" "Qt4-qtruby from kdebindings 4.1 branch" .SH NAME rbqtapi \- a qtruby introspection tool .SH SYNOPSIS .B rbqtapi [options] .I [\-r re] [class] .SH DESCRIPTION .B rbqtapi can be used to check which Qt functions are known to qt4-qtruby. Without arguments, it lists all the function known. An argument is interpreted as a class name whose methods are displayed. You can also specify a regular expression to search for functions with the .B \-r option. .SH OPTIONS .TP .BI \-r \ re find all functions matching regular expression/keyword .IR re . .TP .B \-i together with .BR \-r , performs a case insensitive search. .TP .B \-p display also inherited methods for .IR class . .TP .B \-v print qtruby and Qt versions .TP .B \-h prints a short help message. .SH AUTHOR .B rbqtapi was written by Germain Garand. This manual page was written by Vincent Fourmond for the Debian project, but may be used by others. debian/libqtruby4shared-dev.install0000664000000000000000000000012312321607053014617 0ustar usr/include/qtruby/*.h usr/lib/libqtruby4shared.so usr/share/qtruby4/cmake/*.cmake