debian/0000755000000000000000000000000012265727721007201 5ustar debian/screenruler.desktop0000644000000000000000000000057711707634055013133 0ustar [Desktop Entry] Type=Application Name=Screen Ruler Name[ca]=Regle a la pantalla Name[de]=Bildschirmlineal Name[es]=Regla en la pantalla Comment=Measure objects on your screen Comment[ca]=Mesureu la mida d'objectes a la vostra pantalla Comment[de]=Messen Sie Objekte auf dem Bildschirm Comment[es]=Mide objetos en la pantalla Exec=screenruler Icon=screenruler Categories=GTK;Utility; debian/screenruler.xpm0000644000000000000000000000466511707631764012274 0ustar /* XPM */ static char * screenruler_xpm[] = { "32 32 85 1", " c None", ". c #665400", "+ c #E8DB6D", "@ c #E3D66D", "# c #E7DA6A", "$ c #E2D144", "% c #E1D040", "& c #E3D66B", "* c #E8DB6E", "= c #D8C740", "- c #E4D770", "; c #E9DC73", "> c #D7C640", ", c #E5D976", "' c #EADE77", ") c #E5DA7A", "! c #EADE7B", "~ c #E6DB7F", "{ c #EBE080", "] c #E7DD84", "^ c #ECE184", "/ c #E8DE88", "( c #ECE288", "_ c #E9DF8D", ": c #EDE38D", "< c #EAE192", "[ c #EEE491", "} c #E1D044", "| c #EBE297", "1 c #EEE595", "2 c #ECE39B", "3 c #EFE69A", "4 c #EDE5A1", "5 c #EFE69C", "6 c #DAC516", "7 c #DDC926", "8 c #DFCD35", "9 c #EEE6A6", "0 c #F0E8A0", "a c #D7C000", "b c #D9C40F", "c c #DDCA28", "d c #DFCC32", "e c #E0CF3C", "f c #DCC71D", "g c #EFE7AA", "h c #F1E9A4", "i c #D7C103", "j c #D9C30C", "k c #DAC513", "l c #DCC923", "m c #DDCA27", "n c #DDCA29", "o c #DECB2D", "p c #DECB2E", "q c #DECB2B", "r c #DDC924", "s c #F0E9AF", "t c #F2EAA9", "u c #F1EAB4", "v c #F2EBAD", "w c #F1EBB8", "x c #F3ECB1", "y c #F2EDBD", "z c #F4EDB6", "A c #F3EEC2", "B c #F4EEBA", "C c #F4EFC7", "D c #F5EFBF", "E c #F5F1CC", "F c #F6F0C4", "G c #F6F2D1", "H c #F6F1C8", "I c #F7F4D6", "J c #F7F3CD", "K c #F8F5DA", "L c #F8F4D1", "M c #F9F6DF", "N c #F9F5D6", "O c #FAF7E4", "P c #F9F6DA", "Q c #FBF9E8", "R c #FAF7DE", "S c #FCFAED", "T c #FFFFFF", "................................", ".+++++++++++++++++++++++++++++@.", ".#$$$$$$$$$$$$$$$$$$$$$$$$$$$%&.", ".*$$$$.$.=.=.=.$.=.=.=.=.=.=.%-.", ".;$$$$.$.>.>.>.$.>.>.>.>.>.>.%,.", ".'$$$$.$.>.>.>.$.>.>.>.>.>.>.%).", ".!$$$$.$.>.>.>.$.>.>.>.>.>.>.%~.", ".{$$$$.$.>.>.>.$.>.>.>.>.>.>.%].", ".^$$$$.$.>.>.>.$.>.>.>.>.>.>.%/.", ".($$$$.$$$$$$$$$.$$$$$$$$$.$.%_.", ".:$$$$.$$$$$$$$$.$$$$$$$$$.$.%<.", ".[$$$$.$$$$$$$$}$$$$$$$$$$.$$%|.", ".1$$$$.$$$$$$$$$$$$$$$$$$$.$$%2.", ".3%$$$$$$$$$$$$$$$$$$$$$$}$$$%4.", ".5678...$$$$$$$$$$$$$$$$$$.$$69.", ".0aaa.b.cde$$$$$$$$$$$$$$$.$fag.", ".haaa.a.aaaijk6flmnopddooq.raas.", ".taaa.a.aaaaaaaaaaaaaaaaaa.aaau.", ".vaaa...aaaaaaaaaaaaaaaaaa.aaaw.", ".xaaaaaaaaaaaaaaaaaaaaaaaaaaaay.", ".zaaaaaaaaaaaaaaaaaaaaaaaaaaaaA.", ".BaaaaaaaaaaaaaaaaaaaaaaaaaaaaC.", ".DaaaaaaaaaaaaaaaaaaaaaaaaaaaaE.", ".FaaaaaaaaaaaaaaaaaaaaaaaaaaaaG.", ".HaaaaaaaaaaaaaaaaaaaaaaaaaaaaI.", ".JaaaaaaaaaaaaaaaaaaaaaaaaaaaaK.", ".LaaaaaaaaaaaaaaaaaaaaaaaaaaaaM.", ".NaaaaaaaaaaaaaaaaaaaaaaaaaaaaO.", ".PaaaaaaaaaaaaaaaaaaaaaaaaaaaaQ.", ".RaaaaaaaaaaaaaaaaaaaaaaaaaaaaS.", ".TTTTTTTTTTTTTTTTTTTTTTTTTTTTTT.", "................................"}; debian/links0000644000000000000000000000021411707631764010242 0ustar usr/share/screenruler/screenruler.rb usr/bin/screenruler usr/share/screenruler/screenruler-icon-64x64.png usr/share/pixmaps/screenruler.png debian/copyright0000644000000000000000000000173011707633405011130 0ustar Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=440 Upstream-Name: ScreenRuler Upstream-Maintainer: Ian McIntosh Upstream-Source: https://code.launchpad.net/~ian-mcintosh/screenruler/trunk Files: * Copyright: © 2008-2011 Ian McIntosh License: GPL-2 Files: debian/* Copyright: © 2008-2011, Siegfried-A. Gevatter License: GPL-2 License: GPL-2 This program 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 program 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. Please see `/usr/share/common-licenses/GPL-2'. debian/rules0000755000000000000000000000003611707634332010253 0ustar #!/usr/bin/make -f %: dh $@ debian/install0000644000000000000000000000031511707634222010562 0ustar *.rb usr/share/screenruler *.glade usr/share/screenruler *.png usr/share/screenruler utils usr/share/screenruler debian/screenruler.xpm usr/share/pixmaps debian/screenruler.desktop usr/share/applications debian/source/0000755000000000000000000000000011707632057010476 5ustar debian/source/format0000644000000000000000000000001411707632057011704 0ustar 3.0 (quilt) debian/screenruler.10000644000000000000000000000177211707633635011623 0ustar .TH SCREENRULER 1 "May 4, 2008" .SH NAME screenruler \- a graphical ruler to measure objects on screen .SH SYNOPSIS \fBscreenruler\fP .SH DESCRIPTION \fBScreenRuler\fP is a simple graphical ruler which allows you to measure horizontal or vertically any object on screen using different metric systems (pixels, centimetres, inches, picas, points or as a percentage). .PP It was created for GNOME desktops and can be controled either using the mouse or, if you need more precision, with the keyboard. If you need it, it also has an option to keep on top of other windows. .SH OPTIONS As already said, \fBScreenRuler\fP is a graphical application, and as such it takes no command line options. All configuration must be done using its GTK interface. .SH AUTHORS \fBScreenRuler\fP was created by Ian McIntosh and this manual page was written by Siegfried-A. Gevatter . .SH LICENSE \fBScreenRuler\fP has been released under the GNU General Public License, version 2 or later. debian/manpages0000644000000000000000000000002511707631764010715 0ustar debian/screenruler.1 debian/control0000644000000000000000000000154312265726240010602 0ustar Source: screenruler Section: gnome Priority: optional Maintainer: Siegfried-Angel Gevatter Pujals Homepage: http://gnomecoder.wordpress.com/screenruler/ Build-Depends: debhelper (>= 7) Standards-Version: 3.9.2 Package: screenruler Architecture: all Depends: ${misc:Depends}, ruby | ruby-interpreter, ruby-gtk2, ruby-cairo, ruby-gettext Description: measure objects on screen with a variety of metrics ScreenRuler will display a ruler on screen which allows you to measure the other objects that you've there. It has the following features: * Horizontal and vertical measurement in 6 different metrics: pixels, centimetres, inches, picas, points, and as a percentage of the ruler's length. * Cusomizable colors and fonts. * Keyboard control for precise positioning. * Option for the ruler to stay always on top of other windows. debian/menu0000644000000000000000000000025611707631764010074 0ustar ?package(screenruler): \ needs="X11" \ section="Applications/Viewers" \ title="ScreenRuler" \ command="/usr/bin/screenruler" \ icon="/usr/share/pixmaps/screenruler.xpm" debian/changelog0000644000000000000000000000713412265727704011061 0ustar screenruler (0.960+bzr41-1.2) unstable; urgency=medium * Non-maintainer upload. * Apply patch for Ruby 1.9 support, drop hardcoding of 1.8 (Closes: #734954) -- Christian Hofstaedtler Thu, 16 Jan 2014 11:08:20 +0100 screenruler (0.960+bzr41-1.1) unstable; urgency=low * Non-maintainer upload. * debian/control: Replace obsolete libgettext-ruby1.8 dependency with ruby-gettext. (Closes: #709336) -- Felix Geyer Mon, 03 Jun 2013 18:20:27 +0200 screenruler (0.960+bzr41-1) unstable; urgency=low * New upstream version + modifications from trunk: - Port to GtkBuilder and replace GConf with a YAML file (Closes: #639437, #654710). - Handle symlinks in screenruler.rb. - Added a help window and internationalization support. - Various bug fixes. * debian/control: - Update dependencies. * debian/screenruler.xpm: - Fix typo in Catalan translation and add a German translation. * debian/watch: - Delete it (no point, upstream version numbers are inconsistent). * screenruler.rb: - Hardcode Ruby 1.8. * Change to source format "3.0 (quilt)" and debhelper compatibility version 7, switch from CDBS to dh and bump Standards-Version to 3.9.2. -- Siegfried-Angel Gevatter Pujals Tue, 24 Jan 2012 23:43:17 +0100 screenruler (0.900+bzr27-1) experimental; urgency=low * New upstream version + modifications from trunk: - Improved the "Track Mouse" feature. * debian/control: - Set libgtk2-ruby dependency minimum version to 0.18.1 (Closes: #508788). - Bump Standards-Version to 3.9.1. * Update copyright years and debian/install. * Add debian/source/format with content "1.0". -- Siegfried-Angel Gevatter Pujals Sun, 05 Dec 2010 14:13:41 +0100 screenruler (0.891+bzr25-1) unstable; urgency=low The "waiting for a sponsor since a year" release. * New upstream version + modifications from trunk: - Ask GDK for DPI settings, and allow users to override them in the configuration dialogue (Closes: #509049) (LP: #309159). - All patches except for hardcode-data-path.patch are upstreamed. * debian/{control,watch,copyright}: - Launchpad project name changed from "screen-ruler" to "screenruler" (Closes: #550767). * debian/copyright: - Change it to the machine readable format. * debian/screenruler.xpm: - Change it to the new tango-style image. * debian/{rules,install,links}: - Install screenruler.rb into /usr/share/screenruler and symlink it from there into /usr/bin. -- Siegfried-Angel Gevatter Pujals Tue, 01 Dec 2009 18:39:20 +0100 screenruler (0.85-2) unstable; urgency=low * debian/patches/fix-color-parsing.patch: - The colour selection is not correctly saved, and if you change th colour screenruler may afterwards fails to start. The problem was that the string was being parsed as 8-bit, but it's 16-bit (LP: #273684). * debian/control: - Change the Maintainer field so that it doesn't contain my nick anymore. -- Siegfried-Angel Gevatter Pujals Fri, 19 Dec 2008 17:28:20 +0100 screenruler (0.85-1) unstable; urgency=low * Initial release (Closes: #466691). * debian/patches/change-icon-path.patch: - Patch screenruler.glade so that it looks in /usr/share/pixmaps for the application's icon. * debian/patches/hardcode-data-path.patch: - Hardcode the path to /usr/share/screenruler so that the executable finds it. -- Siegfried-Angel Gevatter Pujals (RainCT) Tue, 04 Mar 2008 16:08:02 +0100 debian/compat0000644000000000000000000000000211707632260010370 0ustar 7 debian/patches/0000755000000000000000000000000012265727707010634 5ustar debian/patches/series0000644000000000000000000000004712265726366012052 0ustar hardcode-data-path.patch redhat-713404 debian/patches/hardcode-data-path.patch0000644000000000000000000000132612265727343015265 0ustar Index: screenruler-0.960+bzr41/screenruler.rb =================================================================== --- screenruler-0.960+bzr41.orig/screenruler.rb 2014-01-16 11:04:00.063701352 +0100 +++ screenruler-0.960+bzr41/screenruler.rb 2014-01-16 11:04:47.919408300 +0100 @@ -19,7 +19,7 @@ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ############################################################################### -Dir.chdir(File.dirname(File.expand_path(File.symlink?(__FILE__) ? File.readlink(__FILE__) : __FILE__))) # So that this file can be run from anywhere +Dir.chdir('/usr/share/screenruler') $LOAD_PATH << './utils' require 'gettext' # Internationalization Support debian/patches/redhat-7134040000644000000000000000000000373212265727576012577 0ustar Description: Compatibility with Ruby 1.9 Patch from RedHat Bugzilla 831501, see https://bugzilla.redhat.com/show_bug.cgi?id=831501#c9 . Refreshed to match the current version in Debian. Forwarded: https://bugs.launchpad.net/screenruler/+bug/925835 Author: Russell Harrison, Christian Hofstaedtler Last-Update: 2013-03-20 Index: screenruler-0.960+bzr41/ruler_window.rb =================================================================== --- screenruler-0.960+bzr41.orig/ruler_window.rb 2014-01-16 11:06:58.602608138 +0100 +++ screenruler-0.960+bzr41/ruler_window.rb 2014-01-16 11:06:58.594608187 +0100 @@ -16,7 +16,8 @@ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ############################################################################### -require 'glade_window', 'ruler_popup_menu', 'canvas', 'unique_timeout' +require 'glade_window', 'canvas', 'unique_timeout' +require_relative 'ruler_popup_menu' Unit = Struct.new('Unit', :name, :tick_pattern, :units_per_pattern_repetition, :per_inch) Index: screenruler-0.960+bzr41/screenruler.rb =================================================================== --- screenruler-0.960+bzr41.orig/screenruler.rb 2014-01-16 11:06:58.602608138 +0100 +++ screenruler-0.960+bzr41/screenruler.rb 2014-01-16 11:06:58.598608162 +0100 @@ -1,5 +1,5 @@ #!/usr/bin/env ruby -#coding: utf-8 +# -*- encoding: utf-8; -*- ############################################################################### # Copyright 2011 Ian McIntosh @@ -48,7 +48,10 @@ SETTINGS_FILE_NAME = 'settings.yml' puts _('Loading libraries...') require 'addons_ruby' # for multi-file 'require' -require 'gtk2', 'settings', 'addons_gtk', 'ruler_window', 'preferences_window', 'help_window' +require 'gtk2', 'settings', 'addons_gtk' +require_relative 'ruler_window' +require_relative 'preferences_window' +require_relative 'help_window' ################################################################### # Main