Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107710 - Ebuild for gruler (gnome-screen-ruler)
Summary: Ebuild for gruler (gnome-screen-ruler)
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal with 2 votes (vote)
Assignee: Default Assignee for New Packages
URL: http://linuxadvocate.org/projects/gru...
Whiteboard:
Keywords: EBUILD
: 125140 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-09-30 07:52 UTC by Niko
Modified: 2018-06-07 18:27 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gruler ebuild (gruler-0.6.ebuild,859 bytes, text/plain)
2005-09-30 07:53 UTC, Niko
Details
Updated ebuild - thanks Carsten :) (gruler-0.6.ebuild,673 bytes, text/plain)
2005-09-30 08:31 UTC, Niko
Details
gruler-0.6.ebuild (gruler-0.6.ebuild,1.56 KB, text/plain)
2006-08-09 12:35 UTC, Hans de Graaff
Details
gruler-0.6.ebuild (gruler-0.6.ebuild,1.38 KB, text/plain)
2006-08-10 23:42 UTC, Hans de Graaff
Details
gruler.desktop file (gruler.desktop,187 bytes, text/plain)
2008-01-13 16:53 UTC, Hans de Graaff
Details
gruler-0.8.ebuild (gruler-0.8.ebuild,1.03 KB, text/plain)
2008-01-13 16:54 UTC, Hans de Graaff
Details
gruler-0.8.ebuild (gruler-0.8.ebuild,1.16 KB, text/plain)
2008-04-06 22:04 UTC, Ed Catmur
Details
screenruler-0.85.ebuild (screenruler-0.85.ebuild,1.24 KB, text/plain)
2008-09-18 05:57 UTC, Andrey Bondarenko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Niko 2005-09-30 07:52:38 UTC
An ebuild for gruler. It's my first ebuild, so I hope I did everything correct.
Comment 1 Niko 2005-09-30 07:53:40 UTC
Created attachment 69560 [details]
gruler ebuild
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2005-09-30 08:16:58 UTC
- Did you test on all the keyworded architectures?
- Flex is part of the base profile and doesn't need to be listed as dependency
- you should inherit the gnome2.eclass
- both src_* functions are superfluous
- remove the RESTRICT="nomirror" and the following line
Comment 3 Niko 2005-09-30 08:31:50 UTC
Created attachment 69562 [details]
Updated ebuild - thanks Carsten :)

Followed Carstens hints.. hope it's better now :)
Comment 4 Ciaran McCreesh 2005-09-30 09:34:55 UTC
* Leave in the flex dependency. It's one of those things that may eventually get
removed from system.
* http://dev.gentoo.org/~ciaranm/docs/mw-faq/docfiles.txt
Comment 5 Mike Gardiner (RETIRED) gentoo-dev 2005-09-30 10:12:42 UTC
(removing gnome CC, Niko's allready converted to the gnome2.eclass)
Comment 6 Gour 2005-12-23 07:35:08 UTC
Hi!

Just to inform you that gruler runs nicely under ~amd64. 

It would be nice to see it in portage.

Sincerely,
Gour
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-03-05 14:57:59 UTC
*** Bug 125140 has been marked as a duplicate of this bug. ***
Comment 8 Hans de Graaff gentoo-dev Security 2006-08-09 06:25:31 UTC
The application does not fully work for me. None of the menu options work due to signal handlers not being connected, as shown by warnings like this one: 

(gruler:19087): libglade-WARNING **: could not find signal handler 'on_quit_activate'.

I have contacted upstream about this.
Comment 9 Hans de Graaff gentoo-dev Security 2006-08-09 12:35:09 UTC
Created attachment 93864 [details]
gruler-0.6.ebuild

I have included a updated ebuild for gruler which fixes the problem with libglade signales (which is due to missing -Wl,--export-dynamic LDFLAGS) and which fixes the .desktop file and its installation so that it shows up in the menu.

Both issues have been reported upstream.
Comment 10 Hans de Graaff gentoo-dev Security 2006-08-10 23:42:19 UTC
Created attachment 93971 [details]
gruler-0.6.ebuild

Update of my earlier ebuild. This time I also tested the last-minute edits...

I've also removed the code that moved the .desktop file, as the old location still works.
Comment 11 Hans de Graaff gentoo-dev Security 2008-01-13 16:53:13 UTC
Created attachment 140872 [details]
gruler.desktop file
Comment 12 Hans de Graaff gentoo-dev Security 2008-01-13 16:54:23 UTC
Created attachment 140873 [details]
gruler-0.8.ebuild

Here is an updated ebuild for gruler 0.8, which is a rewrite of the original gruler in ruby. It is also available from my overlay (graaff in layman).
Comment 13 Ed Catmur 2008-04-06 22:04:46 UTC
Created attachment 148928 [details]
gruler-0.8.ebuild

Tarball is not currently accessible upstream; I've moved a copy to my own server and adjusted ${SRC_URI}.

Also modified to use make_desktop_entry from eutils to create a desktop entry, so one isn't needed in ${FILESDIR}, and to run fdo-mime_desktop_database_update on postinst/postrm.
Comment 14 Andrey Bondarenko 2008-09-18 05:57:53 UTC
Created attachment 165699 [details]
screenruler-0.85.ebuild

The program was renamed to screenruler. Its development now is done at https://launchpad.net/screenruler. Version 0.85 available for downloading.
Comment 15 Hans de Graaff gentoo-dev Security 2008-09-18 19:10:18 UTC
This version doesn't seem to save its color correctly.

In any case I've added it to my overlay as screenruler-0.85. I intend to give it a bit of testing and then add it to the official tree. Thanks for the update, I checked the homepage on occasion but it does not list the launchpad version.
Comment 16 Hans de Graaff gentoo-dev Security 2008-09-23 18:45:48 UTC
Filed the color bug upstream as https://bugs.launchpad.net/screenruler/+bug/273684
Comment 17 Chris Smith 2009-04-21 22:59:59 UTC
Following error when trying to run screenruler 0.85:

$ screenruler 
Loading libraries...
Connecting to GConf...
Creating windows...
Reading settings...
Presenting ruler...
./utils/canvas.rb:40:in `initialize': undefined method `create_cairo_context' for #<Gdk::Pixmap:0x7fc0f28de950 ptr=0x2c74e60>
         from /usr/bin/screenruler:74:in `call'
         from /usr/bin/screenruler:74:in `main'
         from /usr/bin/screenruler:74
Shutting down...
Comment 18 Hans de Graaff gentoo-dev Security 2009-04-22 05:23:50 UTC
Please try to use screenruler 0.89.1 from my overlay (graaff in layman) instead.
Comment 19 Chris Smith 2009-04-22 05:31:33 UTC
(In reply to comment #18)
> Please try to use screenruler 0.89.1 from my overlay (graaff in layman)
> instead.

Thanks, but same problem.

Comment 20 Hans de Graaff gentoo-dev Security 2009-04-22 05:43:55 UTC
Which version of rcairo are you using?
Comment 21 Chris Smith 2009-04-22 13:42:41 UTC
(In reply to comment #20)
> Which version of rcairo are you using?

1.8.0 

Comment 22 Hans de Graaff gentoo-dev Security 2009-05-10 19:16:46 UTC
(In reply to comment #21)
> (In reply to comment #20)
> > Which version of rcairo are you using?
> 
> 1.8.0 
> 

Works fine for me with this version. Did this ever work for you?

Try re-installing ruby-gdkpixbuf2 now that you have the cairo code on your system.
Comment 23 Chris Smith 2009-05-10 19:56:37 UTC
(In reply to comment #22)
> Works fine for me with this version. Did this ever work for you?

Actually it does work now as I have since emerged world.

Thx.
Comment 24 Kfir Ozer 2009-06-25 10:28:20 UTC
screenruler from the graaff overlay provides same error:
Loading libraries...
Connecting to GConf...
Creating windows...
Reading settings...
Presenting ruler...
./utils/canvas.rb:40:in `initialize': undefined method `create_cairo_context' for #<Gdk::Pixmap:0x7f28d76cba40 ptr=0x2357ec0>
	 from /usr/bin/screenruler:74:in `call'
	 from /usr/bin/screenruler:74:in `main'
	 from /usr/bin/screenruler:74
Shutting down...



emerge --info:
###########Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.10.1-r0, 2.6.30-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 25 Jun 2009 08:30:03 +0000
app-shells/bash:     4.0_p24
dev-java/java-config: 1.3.7-r1, 2.1.8-r1
dev-lang/python:     2.4.4-r15, 2.5.4-r2, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.29
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.isoc.org.il/pub/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/desktop-effects /usr/local/portage/layman/sunrise /usr/local/portage/layman/graaff /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amavis amd64 amr animgif ao apache2 avahi bash-completion beagle beanshell berkdb bidi bittorrent bluetooth bsf bzip2 cairo cdaudio cdda cddb cdio cdr chm cjk cleartype cli consolekit cracklib crypt cups curl daap dbus device-mapper directfb divx dri dssi dvd dvdr dvdread emerald encode esd evo exif expat fam fasttrack fat fax fbcon ffmpeg firefox flac fontconfig fortran freetds freetype ftp fuse fusion galago gconf gcrypt gd gdbm gdm gif gimp git glade glitz glut gmedia gmp gnome gnome-keyring gnomecanvas gnutella gnutls gphoto2 gpm graphviz grub gstreamer gtk gtkhtml guile hal icap-client iconv icu imagemagick imlib inotify ipod ipv6 isdnlog jack java java6 javascript jikes jpeg kerberos krb4 latex ldap libcaca libedit libffi libgda libnotify log4j logrotate lua lucene maildir mailwrapper midi mikmod mmx mng modperl mono mp3 mp3tunes mp4 mpeg mplayer mudflap multilib musepack musicbrainz mysql nautilus ncurses networkmanager nls normalize nptl nptlonly nsplugin ntfs offensive ogg ole opengl openmp pam pango pcre pdf perl php pidgin png portaudio ppds pppd prelude pulseaudio python qt3 qt4 quicktime readline realmedia reflection ruby samba sasl scanner sdl sdl-image session slang slp smp sndfile snmp sourceview spamassassin speex spell spl sqlite sse sse2 ssl startup-notification subversion svg swig sysfs t1lib tcl tcpd threads thunderbird tiff timidity tk truetype unicode upnp usb v4l v4l2 vala vcd vim-syntax vorbis webkit wmf wmp x264 xcb xcomposite xfce xft xinerama xml xorg xpat xpm xscreensaver xslt xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias proxy_ftp proxy_balancer proxy_ajp proxy proxy_connect proxybalancer proxy_http" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" NETBEANS_MODULES="xml visualweb php apisupport harness ide java nb websvccommon  groovy gsf j2ee webcommon cnd dlight enterprise ergonomics identity mobility profiler ruby" USERLAND="GNU" VIDEO_CARDS="nvidia vesa vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Comment 25 Hans de Graaff gentoo-dev Security 2009-06-25 14:37:32 UTC
(In reply to comment #24)
> screenruler from the graaff overlay provides same error:

Have you tried the hint in comment #22?
Comment 26 haarp 2010-10-12 16:23:50 UTC
(In reply to comment #25)
> (In reply to comment #24)
> > screenruler from the graaff overlay provides same error:
> 
> Have you tried the hint in comment #22?
> 

I'm having the same problem with rcairo-1.8.1. I tried recompiling ruby-gdkpixbuf2 to no avail.
Comment 27 haarp 2018-06-07 18:27:52 UTC
Check out the haarp overlay, I've added a newwer version that works fine for me.