From e57d2e1b09fd9b08f9d55d03fe247ed2b8ef5ae0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Sun, 14 Jan 2007 13:01:21 +0000 Subject: [PATCH] * Applied patch by Vasilis Kaoutsis: added rdef file for all Haiku utilities. * Updated coreutils.rdef to follow the same style as all other rdef files (or at least most of them). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19792 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/bin/Jamfile | 30 +++++++++++++--------------- src/bin/coreutils/src/coreutils.rdef | 9 ++++----- src/bin/haiku-utils.rdef | 9 +++++++++ 3 files changed, 27 insertions(+), 21 deletions(-) create mode 100644 src/bin/haiku-utils.rdef diff --git a/src/bin/Jamfile b/src/bin/Jamfile index 3ff07ce52d..3bc9232840 100644 --- a/src/bin/Jamfile +++ b/src/bin/Jamfile @@ -8,6 +8,10 @@ UsePrivateHeaders storage ; UseHeaders $(TARGET_PRIVATE_KERNEL_HEADERS) : true ; SubDirHdrs $(HAIKU_TOP) src add-ons kernel file_cache ; +local haiku-utils_rsrc = [ FGristFiles haiku-utils.rsrc ] ; + +ResComp $(haiku-utils_rsrc) : [ FGristFiles haiku-utils.rdef ] ; + AddResources hey : hey.rdef ; # standard commands that don't need any additional library @@ -42,7 +46,7 @@ StdBinCommands uptime.cpp waitfor.c # whoami.c - ; + : : $(haiku-utils_rsrc) ; # Commands which don't need another library that depend on # Haiku-specific code @@ -55,15 +59,14 @@ StdBinCommands rmindex.cpp safemode.c unmount.c - ; + : : $(haiku-utils_rsrc) ; } # standard commands that need libtermcap.a StdBinCommands top.c tput.c - : libtermcap.a - ; + : libtermcap.a : $(haiku-utils_rsrc) ; AddResources mimeset : mimeset.rdef ; @@ -93,48 +96,43 @@ StdBinCommands setversion.cpp version.cpp # yes.cpp - : be ; + : be : $(haiku-utils_rsrc) ; # Haiku-specific apps which need libbe.so if $(TARGET_PLATFORM) = haiku { StdBinCommands shutdown.cpp - : be ; + : be : $(haiku-utils_rsrc) ; } # standard commands that need libbe.so, libstdc++.so StdBinCommands copyattr.cpp xres.cpp - : be $(TARGET_LIBSTDC++) - ; + : be $(TARGET_LIBSTDC++) : $(haiku-utils_rsrc) ; # Haiku-specific apps which need libbe., libstdc++.so if $(TARGET_PLATFORM) = haiku { StdBinCommands mountvolume.cpp - : be $(TARGET_LIBSTDC++) - ; + : be $(TARGET_LIBSTDC++) : $(haiku-utils_rsrc) ; } # standard commands that need libbe.so, libtranslation.so StdBinCommands translate.cpp - : be translation - ; + : be translation : $(haiku-utils_rsrc) ; # standard commands that need libbe.so, libmedia.so StdBinCommands installsound.cpp setvolume.cpp - : be libmedia.so - ; + : be libmedia.so : $(haiku-utils_rsrc) ; # standard commands that need libbe.so, libmail.so StdBinCommands mail.cpp - : be libmail.so - ; + : be libmail.so : $(haiku-utils_rsrc) ; SubInclude HAIKU_TOP src bin addattr ; SubInclude HAIKU_TOP src bin bash ; diff --git a/src/bin/coreutils/src/coreutils.rdef b/src/bin/coreutils/src/coreutils.rdef index 389e570202..105951eef9 100644 --- a/src/bin/coreutils/src/coreutils.rdef +++ b/src/bin/coreutils/src/coreutils.rdef @@ -1,11 +1,10 @@ -resource app_version -{ +resource app_version { major = 6, middle = 7, minor = 0, - variety = 5, + variety = B_FINAL_VERSION, internal = 0, - short_info = "6.7", - long_info = "6.7 ©2006 The Free Software Foundation" + short_info = "coreutils", + long_info = "coreutils ©2006 The Free Software Foundation" }; diff --git a/src/bin/haiku-utils.rdef b/src/bin/haiku-utils.rdef new file mode 100644 index 0000000000..7ce535f8bf --- /dev/null +++ b/src/bin/haiku-utils.rdef @@ -0,0 +1,9 @@ +resource app_version { + major = 1, + middle = 0, + minor = 0, + variety = B_APPV_ALPHA, + internal = 0, + short_info = "Haiku Utilities", + long_info = "Haiku Utilities ©2007 Haiku, Inc." +};