From 44905bf648c407cc26593f9141c5297e18fca73b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Tue, 19 Jan 2010 15:50:33 +0000 Subject: [PATCH] * Renamed jam target to "authentication_server" * Updated application signature (I couldn't find a place outside the server's code where it is used). * Added .rdef with icon and making the app run as background service. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35167 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- .../AuthenticationServer.cpp | 13 +++--- .../netfs/authentication_server/Jamfile | 5 ++- .../authentication_server.rdef | 44 +++++++++++++++++++ 3 files changed, 54 insertions(+), 8 deletions(-) create mode 100644 src/add-ons/kernel/file_systems/netfs/authentication_server/authentication_server.rdef diff --git a/src/add-ons/kernel/file_systems/netfs/authentication_server/AuthenticationServer.cpp b/src/add-ons/kernel/file_systems/netfs/authentication_server/AuthenticationServer.cpp index 1d34868bed..e64862477c 100644 --- a/src/add-ons/kernel/file_systems/netfs/authentication_server/AuthenticationServer.cpp +++ b/src/add-ons/kernel/file_systems/netfs/authentication_server/AuthenticationServer.cpp @@ -256,12 +256,13 @@ private: // constructor AuthenticationServer::AuthenticationServer() - : BApplication("application/x-vnd.bonefish.authentification-server"), - fLock(), - fRequestPort(-1), - fRequestThread(-1), - fServerEntries(NULL), - fTerminating(false) + : + BApplication("application/x-vnd.haiku-authentication_server"), + fLock(), + fRequestPort(-1), + fRequestThread(-1), + fServerEntries(NULL), + fTerminating(false) { } diff --git a/src/add-ons/kernel/file_systems/netfs/authentication_server/Jamfile b/src/add-ons/kernel/file_systems/netfs/authentication_server/Jamfile index 69f2e6a45e..0617324a63 100644 --- a/src/add-ons/kernel/file_systems/netfs/authentication_server/Jamfile +++ b/src/add-ons/kernel/file_systems/netfs/authentication_server/Jamfile @@ -9,9 +9,9 @@ SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) headers shared ] ; SEARCH_SOURCE += [ FDirName $(SUBDIR) $(DOTDOT) shared ] ; DEFINES += USER=1 ; -DEFINES += DEBUG_APP="\\\"AuthenticationServer\\\"" ; +DEFINES += DEBUG_APP="\\\"authentication_server\\\"" ; -Application AuthenticationServer +Application authentication_server : DebugSupport.cpp AuthenticationServerDefs.cpp @@ -21,4 +21,5 @@ Application AuthenticationServer AuthenticationServer.cpp Panel.cpp : be $(TARGET_LIBSUPC++) libshared.a + : authentication_server.rdef ; diff --git a/src/add-ons/kernel/file_systems/netfs/authentication_server/authentication_server.rdef b/src/add-ons/kernel/file_systems/netfs/authentication_server/authentication_server.rdef new file mode 100644 index 0000000000..43cd3a5585 --- /dev/null +++ b/src/add-ons/kernel/file_systems/netfs/authentication_server/authentication_server.rdef @@ -0,0 +1,44 @@ +/* + * authentication_server.rdef + */ + +resource app_signature "application/x-vnd.haiku-authentication_server"; + +resource app_flags B_EXCLUSIVE_LAUNCH|B_BACKGROUND_APP; + +resource app_version { + major = 1, + middle = 0, + minor = 0, + + variety = B_APPV_ALPHA, + internal = 0, + + short_info = "authentication_server", + long_info = "authentication_server ©2004-2009 Haiku, Inc" +}; + +resource vector_icon array { + $"6E636966090500040171020006033C2D75376202B899743D58B748EB184A38E7" + $"00FFFBCCFFF3D048C1D1AF270200060339F85134C300B83A393D33B24AE50F4A" + $"52A02F9E870700B59E04FFEEC740020006023B80000000000000003D00004A00" + $"0048400000FFF8EAFFF5DE63020006023A00000000000000003D00004A000048" + $"4000FFFFEE8200C9A51503272401020116023BD5143846FFBA23DF3D99F94A01" + $"C048511A99FF647603625A020B0604BE46605060506054605A565C5858544E52" + $"0608AEAD2E52395833553F5B465E4E563E4039C277BDDDBDD1BC5136362E3A06" + $"066E0B2E52395833553F5B465E44393F3FC05933BE5B2E3A0A04465E4E564E3E" + $"46440605FE02383CC30CBE1CC30CBE1CC2123B4039C0E6BD58BF57BCD3BE85BC" + $"91BEECBCB0BE85BC913A380609AEEB022E3A393F33BE5B3FC05946444E3EC30C" + $"BE1CC45FBE97C30CBE1C383C3A38BE85BC91BE85BC91BD09BC1B3636020B3631" + $"362C36313639363936BD39383ABC083ABD173A3A393ABD393A393A303A303A2C" + $"42263D26C1B626462BC22228462B4630463046334A304A334A304A2B4A2B4AB5" + $"984222C3212238220204443E453E433EBFF9BF5C413EC041BF984440C0C340C1" + $"E740C2AEBF62C266BF9A473E0206443CC2393CC0763C403E40BE8340BF1ABFF9" + $"BF5CBFD5BF3E413E443E433E453EC2AEBF62473EC2D8BF42483E48BF1C48BE83" + $"0607AF3A39463444364539C3E837C38239C3E837513B533D5635C705374C374C" + $"354B0606AF0E394636453E483B4E3D4F3B4E3D563B53375139C3E839C3E837C3" + $"820A0A010100000A0001011001178402040A020102000A030103000A05010400" + $"0A040105000A08020908000A06030A0706000A0001061001178420040A070106" + $"00" +}; +