Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 213243 - x11-terms/terminator-0.8.1 (new ebuild)
Summary: x11-terms/terminator-0.8.1 (new ebuild)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement with 1 vote (vote)
Assignee: Justin Lecher (RETIRED)
URL:
Whiteboard: sunrise suggested
Keywords: EBUILD
: 312383 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-03-13 11:18 UTC by Ivan Toshkov
Modified: 2010-03-31 13:36 UTC (History)
5 users (show)

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


Attachments
Terminator ebuild (terminator-0.8.1.ebuild,513 bytes, text/plain)
2008-03-13 11:19 UTC, Ivan Toshkov
Details
With correct homepage. (terminator-0.8.1.ebuild,514 bytes, text/plain)
2008-03-13 11:30 UTC, Ivan Toshkov
Details
Add python binding detection (terminator-0.8.1.ebuild,774 bytes, text/plain)
2008-05-29 08:09 UTC, Eric Chatellier
Details
x11-terms/terminator-0.9.ebuild (terminator-0.9.ebuild,807 bytes, text/plain)
2008-07-10 03:56 UTC, Sebastián Magrí
Details
terminator 0.12 ebuild (terminator-0.12.ebuild,807 bytes, text/plain)
2009-03-06 09:25 UTC, Szymon Olko
Details
ebuild with patch for terminator-0.13 (terminator-0.13.ebuild,924 bytes, text/plain)
2009-08-13 02:45 UTC, JTRiley
Details
patch that enables --without-icon-cache global option by default in setup.py (terminator-0.13-without-icon-cache.patch,305 bytes, patch)
2009-08-13 02:47 UTC, JTRiley
Details | Diff
EAPI2 version of terminator-0.13 ebuild with suggested modifications (terminator-0.13.ebuild,681 bytes, text/plain)
2009-09-17 16:47 UTC, JTRiley
Details
Edited list of installed gnome-python packages on my system (gp.lst,2.81 KB, text/plain)
2009-10-01 00:10 UTC, Robert Bradbury
Details
emerge --info output (emerge--info,3.89 KB, text/plain)
2010-03-04 04:49 UTC, mehrunes
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Toshkov 2008-03-13 11:18:56 UTC
Please, find attached an ebuild for terminator-0.8.1.

This info is taken from terminator's homepage: https://launchpad.net/terminator:

"Terminator, multiple terminals in one window. This is a little project to produce an efficient way of filling a large area of screen space with terminals."


Reproducible: Always
Comment 1 Ivan Toshkov 2008-03-13 11:19:51 UTC
Created attachment 145987 [details]
Terminator ebuild
Comment 2 Ivan Toshkov 2008-03-13 11:30:15 UTC
Created attachment 145991 [details]
With correct homepage.

Using the official homepage.
Comment 3 Ivan Toshkov 2008-03-17 08:03:41 UTC
This is now in the sunrise overlay. You can find it at:
http://overlays.gentoo.org/svn/proj/sunrise/reviewed/x11-terms/terminator
Comment 4 Ivan Toshkov 2008-03-19 13:56:27 UTC
Comment on attachment 145991 [details]
With correct homepage.

The latest ebuild is now in the sunrise overlay.
Comment 5 Eric Chatellier 2008-05-29 08:09:34 UTC
Created attachment 154673 [details]
Add python binding detection

The ebuild should check that x11-libs/vte is
compiled with USE=python
Comment 6 Ivan Toshkov 2008-06-05 08:42:13 UTC
Eric, thanks for the report.  I've fixed the ebuild in the overlay.
Comment 7 Sebastián Magrí 2008-07-10 03:56:35 UTC
Created attachment 160008 [details]
x11-terms/terminator-0.9.ebuild

Version Bump, corrected SRC_URI and added use python for x11-libs/vte python bindings...
Comment 8 Ivan Toshkov 2008-07-12 13:11:48 UTC
I've already updated the ebuild in the sunrise overlay[1] but it takes a few days until it gets reviewed.  It is now, so you can use layman to install the overlay, then emerge terminator (after unmasking).

[1] http://overlays.gentoo.org/svn/proj/sunrise/reviewed/x11-terms/terminator
Comment 9 Johannes Steidl 2009-01-12 10:30:27 UTC
version bump: 2008-09-19: Terminator 0.11 released!  

https://launchpad.net/terminator/+announcement/1094
Comment 10 Slamp 2009-02-10 11:17:09 UTC
version bump: 2009-01-20: Terminator 0.12 released! 

https://launchpad.net/terminator/+announcement/1840
Comment 11 Szymon Olko 2009-03-06 09:25:43 UTC
Created attachment 184106 [details]
terminator 0.12 ebuild

version 0.12 compiles, just one conflict file.
Comment 12 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-04-16 21:00:40 UTC
(this is an automated message based on filtering criteria that matched this bug)
'EBUILD' is in the KEYWORDS which should mean that there is a ebuild attached 
to this bug.
This bug is assigned to maintainer-wanted which means that it is not in the 
main tree.
Heuristics show that no Gentoo developer has commented on your ebuild.

Hello, The Gentoo Team would like to firstly thank you for your ebuild 
submission. We also apologize for not being able to accommodate you in a timely
manner. There are simply too many new packages.

Allow me to use this opportunity to introduce you to Gentoo Sunrise. The 
sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to 
commit to and all users can have ebuilds reviewed by Gentoo devs for entry 
into the overlay. So, the sunrise team is suggesting that you look into this 
and submit your ebuild to the overlay where even *you* can commit to. =)

Because this is a mass message, we are also asking you to be patient with us. 
We anticipate a large number of requests in a short time. 

Thanks,
On behalf of the Gentoo Sunrise Team,
Jeremy.

[1]: http://www.gentoo.org/proj/en/sunrise/
[2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq
Comment 13 JTRiley 2009-08-13 02:45:41 UTC
Created attachment 201093 [details]
ebuild with patch for terminator-0.13

bumped ebuild to 0.13 and added epatch line to get rid of the file collision.

avoiding the file collision required passing a global option, --without-icon-cache, to setup.py

Looking at the distutils eclass, it doesn't appear to be possible to pass global options (ie python setup.py --global-option build ...) to setup.py using distutils_src_compile/install so I created a patch that sets this option to True by default.
Comment 14 JTRiley 2009-08-13 02:47:23 UTC
Created attachment 201094 [details, diff]
patch that enables --without-icon-cache global option by default in setup.py

patch needed for terminator-0.13.ebuild
Comment 15 Ryan Hill (RETIRED) gentoo-dev 2009-08-16 22:29:54 UTC
I'd suggest updating the ebuild to EAPI 2.  This would let you get rid of the need for pkg_setup by specifying the DEPEND as >=x11-libs/vte-0.16[python].  you would also change src_unpack to src_prepare, containing only the epatch line (just delete the other two).
Comment 16 JTRiley 2009-09-17 16:47:27 UTC
Created attachment 204447 [details]
EAPI2 version of terminator-0.13 ebuild with suggested modifications

(In reply to comment #15)
> I'd suggest updating the ebuild to EAPI 2.  This would let you get rid of the
> need for pkg_setup by specifying the DEPEND as >=x11-libs/vte-0.16[python]. 
> you would also change src_unpack to src_prepare, containing only the epatch
> line (just delete the other two).

EAPI2 version of terminator-0.13 ebuild with suggested modifications. Thanks for the pointers!

FWIW, terminator is the best terminal I've used thus far..it really needs to be in portage :D

~jtriley
Comment 17 Rahul Jain 2009-09-30 19:04:15 UTC
(In reply to comment #16)
> FWIW, terminator is the best terminal I've used thus far..it really needs to be
> in portage :D
> 
> ~jtriley
> 

+1 for that. Mm, is there something like +infinity. :D
Comment 18 Robert Bradbury 2009-10-01 00:04:56 UTC
I tried to use an overlay to install this today and ran into problems.  It looks like I am missing some gnome-python component (which means we may be missing a DEPEND/RDEPEND in the ebuild) but I cannot figure out what it is.  When starting terminator I get:
---------------------------------------------------------------
ImportError: could not import bonobo.ui
Traceback (most recent call last):
  File "/usr/bin/terminator", line 163, in <module>
    options.geometry, options.hidden, options.forcedtitle)
  File "/usr/lib/python2.6/site-packages/terminatorlib/terminator.py", line 289, in __init__
    self.gnome_client.connect_to_session_manager()
AttributeError: '__main__.GnomeClient' object has no attribute 'connect_to_session_manager'
---------------------------------------------------------------

I can't figure out where "bonobo.ui" is supposed to come from, or more importantly what library/package is supposed to provide "connect_to_session_manager()".  I've googled the errors and even strace'ed the startup but those don't seem to provide any insights.

---------------------------------------------------------------
Also worth noting is that there is a binary executable conflict between the terminator package and the wgs-assembler package (which also creates a /usr/bin/terminator executable).  I can probably work around it but it would be nice if there were USE options that would target the binaries to /usr/local/bin or somewhere else for one or both packages.
Comment 19 Robert Bradbury 2009-10-01 00:10:22 UTC
Created attachment 205741 [details]
Edited list of installed gnome-python packages on my system

Somewhat edited (for brevity) list of the gnome-python packages/libraries installed on my system (which is having problems running terminator).
Comment 20 Federico Moro 2009-11-07 00:58:21 UTC
What are we waiting for put it in portage?

Come on! This bug is open since March 2008 and now is November 2009!!!!

What's wrong here?

It compiles and runs fine for me.

Here is my emerge info

Portage 2.1.6.13 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r6 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r6-i686-AMD_Athlon-TM-_XP2400+-with-gentoo-1.12.13
Timestamp of tree: Wed, 04 Nov 2009 23:00:01 +0000
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.2-r1
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /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=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="es es_ES"
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/enlightenment /usr/local/portage/layman/pro-audio /usr/local/portage/layman/science /usr/local/portage/layman/mozilla /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amr amrnb amrwb animation-rtl animgif aotuv aqua_theme asm aspell async atm audacious audioscrobbler bash-completion bcmath bdf bigpatch bittorrent bl bluetooth boost branding bzip2 c++ cairo carbone_theme cdaudio cdda cddb cdparanoia cdr cdrom cg cli colordiff cracklib crypt cscope css ctype cups cvs cxx dbus dga divx dlslang dri dts dv dvd dvdnav dvdr dvdread enca encode enscript es escreen etwin exif expat fame fbcon ffmpeg fftw flac flash flv foomaticdb fping fpx gcj gd gdbm gecko geoip gif gimp gimpprint gkrellm glade glibc-omitfp glitz glut gmedia gnutls gpm gps gsm gtk gtkspell gzip gzip-el hacking hardened hpn http iconv icp id3 id3tag idn imagemagick imlib imlib2 inkjar ipv6 jabber java javascript jikes john joystick jpeg jpeg2k lame latin1 lcms live lzo m17n-lib mad mjpeg mmx mmxext mng modules mozdevelop mozilla moznoirc mp3 mp4 mpeg mpeg2 mplayer msn mudflap ncurses nemesi net network nextaw nls nowebdav nptl nptlonly nsplugin objc objc++ objc-gc offensive ogg openal opengl openmp pam paste64 pcre pdf plotutils png ppds pppd prediction profile python qt-static quicktime rar readline realmedia reflection resid restrict-javascript rss rtc samba sdl seamonkey session slang sound speex spell spl srt sse ssl svg svga sysfs syslog tcpd teletext tftp tga theora threads tiff tivo toolkit-scroll-bars truetype type1 unicode usb v4l v4l2 vdpau vdr vidix vim vim-pager vim-syntax vim-with-x vlm vorbis win32codecs wma wmf wmp x264 x86 xanim xcomposite xext xft xorg xosd xpm xrandr xterm xv xvid xvmc zlib zvbi" ALSA_CARDS="emu10k1" 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" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse wacom joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es es_ES" USERLAND="GNU" VIDEO_CARDS="nvidia v4l"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Anything else? or it's ready for be in portage now?
Comment 21 JTRiley 2009-11-13 21:22:53 UTC
(In reply to comment #19)
> Created an attachment (id=205741) [details]
> Edited list of installed gnome-python packages on my system
> 
> Somewhat edited (for brevity) list of the gnome-python packages/libraries
> installed on my system (which is having problems running terminator).
>
Hi Robert,

I've just updated the ebuild in the sunrise overlay to handle the gnome-python dependency:

http://overlays.gentoo.org/proj/sunrise/browser/sunrise/x11-terms/terminator

(NOTE: This has not yet been reviewed. Until then you will need to grab the files from the above link. After it's reviewed you should be able to use layman/sunrise to install it)

Could you please try the new ebuild and add the gnome use flag to your /etc/portage/package.use? 

Also if gnome-python and libbonobo-python are already installed, please try recompiling them and then emerge the new ebuild. Otherwise, the new terminator ebuild should pull in gnome-python and it's dependencies:

$ emerge -va1 libbonobo-python gnome-python
$ emerge -va1 terminator

Thanks!

~Justin
Comment 22 mehrunes 2010-03-04 04:49:43 UTC
Created attachment 221991 [details]
emerge --info output
Comment 23 mehrunes 2010-03-04 04:53:46 UTC
(In reply to comment #20)
> What are we waiting for put it in portage?

on mine x11-terms/terminator does not emerge due to collision on file 

/usr/share/icons/hicolor/icon-theme.cache

According to this thread the bug is known before

I also experience another problem:

 * QA Notice: command not found:
 * 
 *      /tmp/portage/x11-terms/terminator-0.14/temp/environment: line 2714: epatch: command not found

So the answer to the question in post no. 20 is:

We are waiting for known bugs, and other bugs, to be fixed.

My emerge --info is in post no. 21
Comment 24 Ivan Toshkov 2010-03-04 07:29:02 UTC
(In reply to comment #23)

I'm not using gentoo anymore, so I can't test this.  It looks like there is a patch to fix the collision problem, but it fails to apply because epatch isn't found.

I think the ebuild forgets to inherit eutils, where epatch is defined.  So if somebody wants to test this, just edit the terminator-0.14.ebuild and change the line:

 inherit distutils

to

 inherit distutils eutils

If that works, you can push the change to sunrise overlay.

HTH,
Ivan
Comment 25 mehrunes 2010-03-04 17:00:50 UTC
(In reply to comment #24)

>  inherit distutils eutils
yes, after this change terminator emerged successfully
> 
> If that works, you can push the change to sunrise overlay.
hopefully the author of the bug will do it
Comment 26 JTRiley 2010-03-04 23:20:37 UTC
(In reply to comment #25)
> (In reply to comment #24)
> 
> >  inherit distutils eutils
> yes, after this change terminator emerged successfully
> > 
> > If that works, you can push the change to sunrise overlay.
> hopefully the author of the bug will do it
> 

It used to be that distutils inherited eutils internally so we didn't need this explicit eutils inherit. Now distutils no longer inherits eutils and we need to add this back in. I've made the fix in sunrise and am just waiting for approval to commit it to be user visible. I'll report back when it's been committed.

~jtriley
Comment 27 JTRiley 2010-03-04 23:52:31 UTC
(In reply to comment #26)
> (In reply to comment #25)
> > (In reply to comment #24)
> > 
> > >  inherit distutils eutils
> > yes, after this change terminator emerged successfully
> > > 
> > > If that works, you can push the change to sunrise overlay.
> > hopefully the author of the bug will do it
> > 
> 
> It used to be that distutils inherited eutils internally so we didn't need this
> explicit eutils inherit. Now distutils no longer inherits eutils and we need to
> add this back in. I've made the fix in sunrise and am just waiting for approval
> to commit it to be user visible. I'll report back when it's been committed.
> 
> ~jtriley
> 
It's fixed in Sunrise. For the record, relying on other eclasses to inherit other eclasses that an ebuild needs is bad and leads to exactly this bug. In short "inherit everything that you need to be inheritted". Thanks for reporting the bug.

~jtriley

Comment 28 Adam 2010-03-11 11:23:54 UTC
At first I was confused about why terminator wasn't doing the things it said it did, but now I've realized that there are actually 2 different programs called terminator!  The one I thought I was getting is here:

http://software.jessies.org/terminator/

Anyway, though the terminator described in this bug compiles and runs for me, there seems to be something wrong with its configuration - I couldn't get it to save the options I select.  There's a note at the top of the dialog that the options won't be saved, and that I should consult man terminator_config for details, but I couldn't find anything in that man page explaining why my configuration settings weren't saved.  Is this a limitation of the software itself, or could it be a problem with the ebuild?  I tried rebuilding with USE="gnome" but it made no difference.
Comment 29 Ivan Toshkov 2010-03-12 11:54:54 UTC
(In reply to comment #28)

This is a limitation of the program itself.  It happens in Ubuntu as well.  It tells you to read the man page, so that you can configure it using it's configuration file, and not to explain why the save isn't working.
Comment 30 Justin Lecher (RETIRED) gentoo-dev 2010-03-31 06:22:49 UTC
InCvs, thanks for the contribution.
Comment 31 Jeroen Roovers (RETIRED) gentoo-dev 2010-03-31 13:34:23 UTC
Sunrise is not a fix last time I checked.
Comment 32 Jeroen Roovers (RETIRED) gentoo-dev 2010-03-31 13:34:37 UTC
*** Bug 312383 has been marked as a duplicate of this bug. ***
Comment 33 Jeroen Roovers (RETIRED) gentoo-dev 2010-03-31 13:36:13 UTC
(In reply to comment #30)
> InCvs, thanks for the contribution.
>