An ebuild for gruler. It's my first ebuild, so I hope I did everything correct.
Created attachment 69560 [details] gruler ebuild
- 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
Created attachment 69562 [details] Updated ebuild - thanks Carsten :) Followed Carstens hints.. hope it's better now :)
* 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
(removing gnome CC, Niko's allready converted to the gnome2.eclass)
Hi! Just to inform you that gruler runs nicely under ~amd64. It would be nice to see it in portage. Sincerely, Gour
*** Bug 125140 has been marked as a duplicate of this bug. ***
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.
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.
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.
Created attachment 140872 [details] gruler.desktop file
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).
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.
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.
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.
Filed the color bug upstream as https://bugs.launchpad.net/screenruler/+bug/273684
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...
Please try to use screenruler 0.89.1 from my overlay (graaff in layman) instead.
(In reply to comment #18) > Please try to use screenruler 0.89.1 from my overlay (graaff in layman) > instead. Thanks, but same problem.
Which version of rcairo are you using?
(In reply to comment #20) > Which version of rcairo are you using? 1.8.0
(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.
(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.
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
(In reply to comment #24) > screenruler from the graaff overlay provides same error: Have you tried the hint in comment #22?
(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.
Check out the haarp overlay, I've added a newwer version that works fine for me.