Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#18407 - [launchy] 2.1.2 - cannot run most programs

Attached to Project: Community Packages
Opened by Pavel (Mr. Ego) - Saturday, 20 February 2010, 09:23 GMT
Last edited by Dan Griffiths (Ghost1227) - Monday, 22 February 2010, 21:09 GMT
Task Type Support Request
Category Upstream Bugs
Status Closed
Assigned To Dan Griffiths (Ghost1227)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

There is a bug in Launchy causing problems running most programs (there is bad parsing of = and " characters in .desktop files).

The bug is already reported to upstream:
https://sourceforge.net/tracker/index.php?func=detail&aid=2343955&group_id=132975&atid=725839

and there is also patch that solves this problem
http://sourceforge.net/tracker/?func=detail&aid=2353463&group_id=132975&atid=725841

But still after a year there hasn't been any change to this bug or try to incorporate this patch.

Could you please include this patch in Launchy package for Archlinux?
This task depends upon

Closed by  Dan Griffiths (Ghost1227)
Monday, 22 February 2010, 21:09 GMT
Reason for closing:  Fixed
Comment by Rorschach (Rorschach) - Saturday, 20 February 2010, 19:26 GMT
Hi,
the patch you linked to, can't be applied. I always got errors with 2 hunks. But there is a more recent one in the patch-tracker of launchy: http://sourceforge.net/tracker/?func=detail&aid=2759943&group_id=132975&atid=725841 . This patch works perfectly!

I created a new sourcepackage which applies this patch and makes launchy work again.
Comment by Rorschach (Rorschach) - Saturday, 20 February 2010, 19:27 GMT
Here the new PKGBUILD:

pkgname=launchy
pkgver=2.1.2
pkgrel=3
pkgdesc="Launchy indexes the programs in your start menu and can launch your documents, project files, folders, and bookmarks with just a few keystrokes!"
arch=('i686 x86_64')
url="http://www.launchy.net/"
license=('GPL')
depends=('qt' 'xdg-utils')
makedepends=('gcc' 'boost')
source=("http://downloads.sourceforge.net/launchy/launchy-$pkgver.tar.gz" "http://sourceforge.net/tracker/download.php?group_id=132975&atid=725841&file_id=322611&aid=2759943")
md5sums=('235a5ecba34d96c44fc4e69d74fc5817' 'd9529c7c24edd445959e442ec0bba578')

build() {
# This patch fixes a bug, which prevents launchy from starting applications
patch -p0 < download.php\?group_id=132975\&atid=725841\&file_id=322611\&aid=2759943
cd $pkgname-$pkgver
sed -i 's/qmake-qt4/qmake/g' makefile
make || return 1
make DESTDIR="$pkgdir" install
}
Comment by Dan Griffiths (Ghost1227) - Sunday, 21 February 2010, 17:38 GMT
Your patch doesn't work either, it only sucessfully patches one of four files :P
Comment by Rorschach (Rorschach) - Sunday, 21 February 2010, 17:57 GMT
Works without errors here:

/var/abs/local/launchy$ makepkg
==> Making package: launchy 2.1.2-3 i686 (Sun Feb 21 18:55:05 CET 2010)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Found launchy-2.1.2.tar.gz in build dir
-> Found download.php?group_id=132975&atid=725841&file_id=322611&aid=2759943 in build dir
==> Validating source files with md5sums...
launchy-2.1.2.tar.gz ... Passed
download.php?group_id=132975&atid=725841&file_id=322611&aid=2759943 ... Passed
==> Extracting Sources...
-> Extracting launchy-2.1.2.tar.gz with bsdtar
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
patching file launchy-2.1.2/platforms/unix/platform_unix.cpp
patching file launchy-2.1.2/plugins/gcalc/gcalc.cpp
patching file launchy-2.1.2/src/main.cpp
patching file launchy-2.1.2/src/plugin_interface.cpp
SKINS_PATH=\\\"/usr/share/launchy/skins\\\" PLUGINS_PATH=\\\"/usr/lib/launchy/plugins\\\" PLATFORMS_PATH=\\\"/usr/lib/launchy/\\\" qmake Launchy.pro && SKINS_PATH=\\\"/usr/share/launchy/skins\\\" PLUGINS_PATH=\\\"/usr/lib/launchy/plugins\\\" PLATFORMS_PATH=\\\"/usr/lib/launchy/\\\" make -f Makefile release
make[1]: Entering directory `/var/abs/local/launchy/src/launchy-2.1.2'
make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
make -f Makefile.Release
make[2]: Entering directory `/var/abs/local/launchy/src/launchy-2.1.2'
g++ -c -pipe -march=i686 -mtune=generic -O2 -pipe -Wall -W -D_REENTRANT -DSKINS_PATH=\"/usr/share/launchy/skins\" -DPLUGINS_PATH=\"/usr/lib/launchy/plugins\" -DPLATFORMS_PATH=\"/usr/lib/launchy/\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include -Irelease -Isrc -o release/main.o src/main.cpp
g++ -c -pipe -march=i686 -mtune=generic -O2 -pipe -Wall -W -D_REENTRANT -DSKINS_PATH=\"/usr/share/launchy/skins\" -DPLUGINS_PATH=\"/usr/lib/launchy/plugins\" -DPLATFORMS_PATH=\"/usr/lib/launchy/\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include -Irelease -Isrc -o release/globals.o src/globals.cpp
g++ -c -pipe -march=i686 -mtune=generic -O2 -pipe -Wall -W -D_REENTRANT -DSKINS_PATH=\"/usr/share/launchy/skins\" -DPLUGINS_PATH=\"/usr/lib/launchy/plugins\" -DPLATFORMS_PATH=\"/usr/lib/launchy/\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include -Irelease -Isrc -o release/options.o src/options.cpp
...
...
Comment by Dan Griffiths (Ghost1227) - Monday, 22 February 2010, 20:52 GMT
still fails on 3 for me...

Loading...