Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 183519 - app-shells/hotwire ebuild request
Summary: app-shells/hotwire ebuild request
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Default Assignee for New Packages
URL: http://code.google.com/p/hotwire-shell/
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2007-06-28 13:19 UTC by Cosimo Cecchi
Modified: 2012-11-02 23:05 UTC (History)
6 users (show)

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


Attachments
ebuild for hotwire-0.567 (hotwire-0.567.ebuild,742 bytes, text/plain)
2007-06-28 19:33 UTC, Kevin Fullerton
Details
Patch 2 source files to fix issues (hotwire-0.567-gentoo.patch,653 bytes, patch)
2007-06-28 19:34 UTC, Kevin Fullerton
Details | Diff
Copy of gnome-terminal icon for use with hotwire (hotwire.png,2.86 KB, image/png)
2007-06-28 19:34 UTC, Kevin Fullerton
Details
Update ebuild RDEPENDS (hotwire-0.567.ebuild,794 bytes, text/plain)
2007-06-29 09:24 UTC, Kevin Fullerton
Details
Patch source files for Gentoo (hotwire-0.567-gentoo.patch,1.81 KB, text/plain)
2007-06-29 09:55 UTC, Kevin Fullerton
Details
Added RDEPEND on gnome-base/gconf and ~x86 to KEYWORDS (hotwire-0.567.ebuild,817 bytes, text/plain)
2007-06-29 09:59 UTC, Kevin Fullerton
Details
Removed invalid RDEPEND on python-gnomevfs (hotwire-0.567.ebuild,789 bytes, text/plain)
2007-06-29 10:25 UTC, Kevin Fullerton
Details
ebuild for hotwire-0.575 (hotwire-0.575.ebuild,684 bytes, text/plain)
2007-07-01 13:03 UTC, Kevin Fullerton
Details
x11-terms/hotwire-0.620.ebuild (hotwire-0.620.ebuild,962 bytes, text/plain)
2007-12-07 09:23 UTC, MATSUU Takuto (RETIRED)
Details
x11-terms/hotwire-0.700.ebuild (hotwire-0.700.ebuild,963 bytes, text/plain)
2008-01-25 16:52 UTC, Martin Schanzenbach
Details
x11-terms/hotwire-0.710.ebuild (hotwire-0.710.ebuild,963 bytes, text/plain)
2008-02-16 20:27 UTC, Jose daLuz
Details
0.721 with conditional gnome-python-desktop (hotwire-0.721-r1.ebuild,990 bytes, text/plain)
2008-11-12 09:02 UTC, Dmitri Bogomolov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cosimo Cecchi 2007-06-28 13:19:44 UTC
From the home page of the project
http://hotwire-shell.org

Hotwire is:

    * An intelligent hybrid text/graphical shell for developers and system administrators
    * A replacement for gnome-terminal/xterm + /bin/sh on Linux/Unix (HotwireVsBinSh)
    * A replacement for Windows PowerShell on Windows (HotwireVsPowerShell)
    * Also slightly influenced by MacOS X Automator
    * Free Software and runs on Linux (with GNOME) and Windows (HotwireWindows)
    * Written in Python 

i'd like to write en ebuild for this myself, i think it's a great app, but i have no idea where to start from...any hints? maybe i can help this out!

Reproducible: Always
Comment 1 Kevin Fullerton 2007-06-28 19:32:50 UTC
I've created an ebuild for this package - it works, but there are a couple of issues to be aware of

1) I haven't got another Gnome machine available at the moment, so I can't check the DEPEND/RDEPEND are correct - I've added what I assume to be sensible defaults

2) The icon referenced in the source package doesn't exist in a default Gentoo Gnome install, so I've copied the icon for gnome-terminal into the files/ directory - I'm not sure if there are any issues with the GPL doing this

3) I've not been writing ebuilds for very long, so there may be small gramatical or formatting errors - if there are please let me know.

I've added it to the x11-terms/ section of my local Portage as that seems to be the best fit for it.

Cheers!

Kevin
Comment 2 Kevin Fullerton 2007-06-28 19:33:33 UTC
Created attachment 123334 [details]
ebuild for hotwire-0.567
Comment 3 Kevin Fullerton 2007-06-28 19:34:00 UTC
Created attachment 123336 [details, diff]
Patch 2 source files to fix issues
Comment 4 Kevin Fullerton 2007-06-28 19:34:29 UTC
Created attachment 123339 [details]
Copy of gnome-terminal icon for use with hotwire
Comment 5 Cosimo Cecchi 2007-06-29 09:14:00 UTC
Hi Kevin and thanks a bunch for the ebuild!
Now hotwire is working on my gentoo and I'm here with some feedback.
I added "~x86" to ebuild keywords to allow emerge on non-amd64 systems (i bet you're on amd64!).
Then, here [1] are listed dbus-python and python-gnomevfs as dependencies, which are missing from your ebuild, though i don't know if the latter is included in some of the gnome-python / gnome-python-desktop / gnome-python-extras packages.
Last, an annoying thing is that clicking on a web link on the shell results in opening "links" browser and not the gnome configured one, though maybe this could be an upstream bug (but i could not find it in their trac).
thanks, i hope that this will merge into the tree someday!


[1] - http://groups.google.com/group/hotwire-shell
Comment 6 Kevin Fullerton 2007-06-29 09:24:20 UTC
Created attachment 123374 [details]
Update ebuild RDEPENDS
Comment 7 Kevin Fullerton 2007-06-29 09:43:47 UTC
I've had a look into the problem with hotwire opening links instead of the default Gnome browser, and this appears to be a bug with the webbrowser library included with Python 2.4 as referenced here - http://mail.python.org/pipermail/python-bugs-list/2005-September/030248.html

There may be a solution of getting the value of the default browser command line from gconf and creating a webbrowser object in Python using that - I'll investigate later today and hopefully have a patch for it
Comment 8 Kevin Fullerton 2007-06-29 09:55:37 UTC
Created attachment 123376 [details]
Patch source files for Gentoo
Comment 9 Kevin Fullerton 2007-06-29 09:57:05 UTC
I've attached a new patch, which will attempt to use gconftool-2 to get the default web-browser, falling back to a generic webbrowser if it can't.
Comment 10 Kevin Fullerton 2007-06-29 09:59:46 UTC
Created attachment 123377 [details]
Added RDEPEND on gnome-base/gconf and ~x86 to KEYWORDS
Comment 11 Cosimo Cecchi 2007-06-29 10:16:19 UTC
that's great, i'll try it out now!
please note that, for what i see, dev-python/python-gnomevfs (included in
RDEPEND in your latest ebuild) is not a valid package atom. i don't know which
package brings gnomevfs bindings for python in gentoo, but a "equery belongs
/usr/lib/python2.4/site-packages/gtk-2.0/gnomevfs" gives
"dev-python/gnome-python-2.18.2", so i assume gnome-python is sufficient to
bring in gnomevfs bindings.
Comment 12 Cosimo Cecchi 2007-06-29 10:24:55 UTC
by the way, browser patch works great for me.
Comment 13 Kevin Fullerton 2007-06-29 10:25:06 UTC
Created attachment 123379 [details]
Removed invalid RDEPEND on python-gnomevfs
Comment 14 Kevin Fullerton 2007-07-01 13:03:03 UTC
Created attachment 123531 [details]
ebuild for hotwire-0.575

New upstream release
Comment 15 Cosimo Cecchi 2007-07-01 13:12:50 UTC
Thanks! I noted that they implemented the fix for the web browser, but firefox is launched every time, ignoring the gnome default browser selection (i use epiphany).
Comment 16 Kevin Fullerton 2007-07-01 15:42:35 UTC
Yeah - I only have Firefox on here so didn't notice that it seems to take the system default browser, not the user default one.

I can reapply my patch to use gconf to get the user browser if you like?
Comment 17 Cosimo Cecchi 2007-07-01 17:35:53 UTC
It make much more sense to me to use user default browser and not the system one. I don't know if gconf is the cleanest way to do this...maybe we should report this upstream!
Comment 18 MATSUU Takuto (RETIRED) gentoo-dev 2007-12-07 09:23:25 UTC
Created attachment 137952 [details]
x11-terms/hotwire-0.620.ebuild
Comment 19 Martin Schanzenbach 2008-01-25 16:52:09 UTC
Created attachment 141776 [details]
x11-terms/hotwire-0.700.ebuild
Comment 20 Knut Franke 2008-02-01 19:30:03 UTC
Thanks for the ebuild!

Only the use flag checks don't appear to work at all. I'm not an expert on ebuilds, but I think the correct code should be

pkg_setup() {
	if ! built_with_use '>=dev-lang/python-2.5' sqlite ; then
		die "You need to rebuild python with sqlite support"
	fi
	if ! built_with_use 'x11-libs/vte' python ; then
		die "You need to rebuild x11-libs/vte with python support"
	fi
}

Yes? No? Maybe?
Comment 21 Jose daLuz 2008-02-16 20:26:19 UTC
Renaming the 0.700 ebuild to 0.710 installs the latest version.
Comment 22 Jose daLuz 2008-02-16 20:27:23 UTC
Created attachment 143689 [details]
x11-terms/hotwire-0.710.ebuild
Comment 23 Dmitri Bogomolov 2008-11-12 08:56:05 UTC
I saw similar ebuild in ikelos overlay and think that you all added extraneous depends. Developer wiki says: "will want your operating system's packages of the Python bindings for gconf, gnomevfs, vte, dbus, gtksourceview, though Hotwire should work (with reduced functionality) without them". There is a spare IUSE="gnome" and gigantic dev-python/gnome-python-desktop - it possible to make this dependency conditional.
Comment 24 Dmitri Bogomolov 2008-11-12 09:02:40 UTC
Created attachment 171519 [details]
0.721 with conditional gnome-python-desktop

There is also a app-arch/unzip dependency, because source distribution is a zip-archive.
Comment 25 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-11-12 14:21:09 UTC
gnome-python-desktop is now splitted in ~arch so you might want to use only the needed deps.
Comment 26 Brent Millare 2009-04-19 19:43:33 UTC
They seem to release in tar.gz format now as well.
Comment 27 Gilles Dartiguelongue (RETIRED) gentoo-dev 2011-12-18 12:35:21 UTC
Home changed location.
Comment 28 Gilles Dartiguelongue (RETIRED) gentoo-dev 2012-11-02 23:05:03 UTC
I guess the lack of activity both here and upstream got us this far. Closing wontfix. Thanks for reporting.