Launchy is a free windows and linux utility designed to help you forget about your start menu, the icons on your desktop, and even your file manager. Launchy indexes the programs in your start menu and can launch your documents, project files, folders, and bookmarks with just a few keystrokes! Website: http://www.launchy.net/ Screenshot: http://img187.imageshack.us/img187/813/amarokkv2.png And i made an ebuild for it: launchy-2.1.1.ebuild: # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="Launchy is a free windows and linux utility designed to help you forget about your start menu, the icons on your desktop, and even your file manager." HOMEPAGE="http://www.launchy.net/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" KEYWORDS="~amd64 ~x86" SLOT="0" IUSE="gnome" DEPEND="dev-libs/boost >=x11-libs/qt-4 gnome? ( gnome-base/libgnome )" RDEPEND="x11-misc/xdg-utils" src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}"/${PN}-makefile.patch } src_compile() { emake || die "emake failed" } src_install() { emake DESTDIR="${D}" install || die "install failed" } files/launchy-makefile.patch: diff -Naur a/makefile b/makefile --- a/makefile 2008-07-30 22:05:53.000000000 +0100 +++ b/makefile 2008-07-30 22:07:55.000000000 +0100 @@ -4,7 +4,7 @@ PLATFORMS_PATH=$(PREFIX)/lib/launchy/ DESKTOP_PATH=$(PREFIX)/share/applications ICON_PATH=$(PREFIX)/share/pixmaps -QMAKE=qmake-qt4 +QMAKE=qmake DEFS=SKINS_PATH=\\\"$(SKINS_PATH)\\\" PLUGINS_PATH=\\\"$(PLUGINS_PATH)\\\" \ PLATFORMS_PATH=\\\"$(PLATFORMS_PATH)\\\" @@ -60,4 +60,4 @@ -rm -rf $(PLATFORMS_PATH) -rm -rf $(SKINS_PATH) -rm $(DESTDIR)$(DESKTOP_PATH)/launchy.desktop - -rm $(DESTDIR)$(ICON_PATH)/launchy.png \ No newline at end of file + -rm $(DESTDIR)$(ICON_PATH)/launchy.png Reproducible: Always Steps to Reproduce:
Thanks for the submission, but can you please add these files as attachments instead of inside a comment? This will prevent formatting problems that can happen when code is pasted as part of a comment.
Hi Bruno, note that default src_compile does the same `emake || die`, so there is no really need to write it in this case. http://devmanual.gentoo.org/ebuild-writing/functions/src_compile/index.html
Created attachment 161829 [details] ebuild
Created attachment 161830 [details, diff] patch
Created attachment 161832 [details] To add to /usr/share/autostart
- These build time dependencies are for sure runtime dependencies as well. - Qt 4 dependency is incorrect, see bug 217161#c11 for more information.
Created attachment 167046 [details] Ebuild for 2.1.2 with better dependancies
Created attachment 167047 [details] The other patch had irrelevent changes
Created attachment 167052 [details] even better ebuild I have added a "calcy" USE flag, since boost is only required to build calcy.
Created attachment 167053 [details, diff] Patches the makefile to not build calcy if boost isn't installed
Created attachment 167054 [details, diff] Obsoletes old qmake patch, name change.
I apologize for going crazy with the attachment updates. This is my first time sending ebuilds to bugzilla.
Thank you for the useful ebuild! Will this ebuild be added to portage tree?
Created attachment 205181 [details] A cleaned-up version for eapi 2 and somewhat closer to coding standards
Created attachment 205294 [details, diff] Fixes a launchy problem that occurs in combination with (kde?) and compiz manager Short: [..] Option "Hide launchy if it looses focus is set". This problem only occurs with that option set. [..] If sth. is typed and the suggestion list opens up launchy disappears (looses focus) when a key (any expect up/down arrow) is pressed. So there is no way to correct input after the sug. list appears. [..] Details about the bug (dependencies etc): http://sourceforge.net/tracker/index.php?func=detail&aid=2208093&group_id=132975&atid=725839 Nobody did something to fix that bug (at least one other reporter with other distro experienced the same) so I tried it some month ago. I manually hacked the cahnges into the source. But now it was recompiled by portage and the behvaiour apperaed again. So i decied to do it better this time. If you have the same problem just download the patch into the files dir of your local overlay, modify your ebuild to show: epatch "${FILESDIR}/launchy-qmake.patch" epatch "${FILESDIR}/launchy-compiz.patch" instead of only: epatch "${FILESDIR}/launchy-compiz.patch" , run ebuild launchy-2.1.2.ebuild digest and recompile.
Hello, The Gentoo Team would like to firstly thank you for your ebuild submission. Unfortunately it is possible that your ebuild might not reach the portage tree in a timely manner. There are simply too many new packages. Allow me to use this opportunity to introduce you to Gentoo Sunrise. The Project 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. Please read the SunriseFaq [2] for additional information. [1] http://www.gentoo.org/proj/en/sunrise/ [2] http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq
Created attachment 270195 [details] Ebuild for Launchy 2.5
this has been added to portage on april 15 already. you might want to look at the ebuild for learning purposes.
Launchy is is in tree and is maintained by angelos. Closing as resolved.