From e4feb6ceccbd3a26af04404794b36730de8b59da Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Sat, 4 May 2013 13:19:27 -0600 Subject: [PATCH] Add QuickLaunch 0.9.5 contributed by Humdinger Patch file to fix building on gcc4 and small changes to the bep by me. resolves issue #1 (cherry picked from commit c182159bc8006ceef91f343da50534ab738f129d) --- .../patches/quicklaunch-0.9.5.patch | 16 +++++++++ haiku-apps/quicklaunch/quicklaunch-0.9.5.bep | 35 +++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 haiku-apps/quicklaunch/patches/quicklaunch-0.9.5.patch create mode 100644 haiku-apps/quicklaunch/quicklaunch-0.9.5.bep diff --git a/haiku-apps/quicklaunch/patches/quicklaunch-0.9.5.patch b/haiku-apps/quicklaunch/patches/quicklaunch-0.9.5.patch new file mode 100644 index 000000000..88ff65e4f --- /dev/null +++ b/haiku-apps/quicklaunch/patches/quicklaunch-0.9.5.patch @@ -0,0 +1,16 @@ +diff --git quicklaunch-0.9.5/Makefile quicklaunch-0.9.5/Makefile +index 8c0337c..469546c 100644 +--- quicklaunch-0.9.5/Makefile ++++ quicklaunch-0.9.5/Makefile +@@ -4,9 +4,9 @@ TYPE= APP + SRCS= QuickLaunch.cpp QLFilter.cpp MainWindow.cpp MainListView.cpp MainListItem.cpp SetupWindow.cpp SetupListView.cpp QLSettings.cpp + RSRCS= QuickLaunch.rsrc + ifeq ($(gccver),2) +- LIBS= /boot/develop/lib/x86/libbe.so /boot/system/lib/libstdc++.r4.so /boot/develop/lib/x86/libroot_debug.so /boot/develop/lib/x86/libtracker.so ++ LIBS= be stdc++.r4 tracker + else +- LIBS= /boot/system/lib/gcc4/libbe.so /boot/system/lib/gcc4/libstdc++.so /boot/system/lib/gcc4/libroot_debug.so /boot/system/lib/gcc4/libtracker.so ++ LIBS= be stdc++ tracker + endif + LIBPATHS= + SYSTEM_INCLUDE_PATHS= /boot/develop/headers/be /boot/develop/headers/cpp /boot/develop/headers/posix /boot/home/config/include diff --git a/haiku-apps/quicklaunch/quicklaunch-0.9.5.bep b/haiku-apps/quicklaunch/quicklaunch-0.9.5.bep new file mode 100644 index 000000000..27f4b715a --- /dev/null +++ b/haiku-apps/quicklaunch/quicklaunch-0.9.5.bep @@ -0,0 +1,35 @@ +DESCRIPTION="A tool to quickly start any installed application" +HOMEPAGE="https://sourceforge.net/p/quicklaunch-h" +SRC_URI="git://git.code.sf.net/p/quicklaunch-h/code" +REVISION="1" +STATUS_HAIKU="stable" +DEPEND="" + +BUILD { + cd quicklaunch-0.9.5 + rc -o QuickLaunch.rsrc QuickLaunch.rdef + make +} + +INSTALL { + cd quicklaunch-0.9.5 + cd objects.x86-gcc`setgcc | tail -c -2`-release + mkdir -p $DESTDIR`finddir B_APPS_DIRECTORY`/QuickLaunch + cp -af QuickLaunch $DESTDIR`finddir B_APPS_DIRECTORY`/QuickLaunch + cd .. + unzip -o ReadMe.zip -d $DESTDIR`finddir B_APPS_DIRECTORY`/QuickLaunch + chmod +x Add\ to\ Deskbar.sh + cp -af Add\ to\ Deskbar.sh $DESTDIR`finddir B_APPS_DIRECTORY`/QuickLaunch + mkdir -p $DESTDIR`finddir B_USER_DESKBAR_DIRECTORY`/Applications + ln -sf `finddir B_APPS_DIRECTORY`/QuickLaunch/QuickLaunch \ + $DESTDIR`finddir B_USER_DESKBAR_DIRECTORY`/Applications + if [-z "$DESTDIR" ] + then + cd `finddir B_APPS_DIRECTORY`/QuickLaunch + desklink --remove=QuickLaunch + desklink "cmd=Remove replicant:desklink --remove=QuickLaunch" QuickLaunch + fi +} + +LICENSE="MIT" +COPYRIGHT="2013 Humdinger"