1SUMMARY="A tool collection to manage and explore the lower levels of Haiku" 2DESCRIPTION="HaikuUtils is a collection of little tools to manage various aspects of the \ 3running system. 4 5CLI tools: 6* 'MsgDump' opens flattened BMessage files, which are often used to store application settings. 7* 'PictureView' shows flattened BPictures. 8* 'TraverseApps' lists running applications and GUI objects inside them such as BWindow and BView. \ 9Very handy for (hey) scripting purposes. 10 11GUI tools: 12* 'Services' lets you stop and restart services like servers and daemons, a bit like a GUI to the \ 13shell command 'launch_roster'. 14*'SystemManager' shows all running teams and lets you explore various team objects (images, \ 15threads, semaphores, etc.). 16* 'Users' is used to add, remove or edit user and group profiles. 17 18Warning! This software suit is incomplete." 19HOMEPAGE="https://github.com/X547/HaikuUtils" 20COPYRIGHT="2020 X512" 21LICENSE="MIT" 22REVISION="2" 23srcGitRev="d2d7c366340d1002b3fbd34dca657db1596e4e5f" 24SOURCE_URI="$HOMEPAGE/archive/$srcGitRev.tar.gz" 25CHECKSUM_SHA256="0eaec032980f79f1144b11d6062aca30b86f3ef314bbfecb5573b313117b80b6" 26SOURCE_FILENAME="HaikuUtils-$srcGitRev-$portVersion.tar.gz" 27SOURCE_DIR="HaikuUtils-$srcGitRev" 28 29ARCHITECTURES="all !x86_gcc2" 30SECONDARY_ARCHITECTURES="x86" 31 32PROVIDES=" 33 haikuutils$secondaryArchSuffix = $portVersion 34 cmd:MsgDump 35 cmd:PictureView 36 cmd:Services 37 cmd:SystemManager 38 cmd:TraverseApps 39 cmd:Users 40 " 41REQUIRES=" 42 haiku$secondaryArchSuffix 43 " 44 45BUILD_REQUIRES=" 46 haiku${secondaryArchSuffix}_devel 47 " 48BUILD_PREREQUIRES=" 49 makefile_engine 50 cmd:make 51 cmd:gcc$secondaryArchSuffix 52 " 53 54Utils="MsgDump PictureView Services SystemManager TraverseApps Users" 55DeskbarUtils="Services SystemManager Users" 56 57BUILD() 58{ 59 for f in $Utils; do 60 pushd $f 61 make $jobArgs OBJ_DIR=objects 62 popd 63 done 64} 65 66INSTALL() 67{ 68 mkdir -p $prefix/bin $dataDir/deskbar/menu/Applications/HaikuUtils 69 for f in $Utils; do 70 pushd $f 71 cp objects/$f $prefix/bin 72 popd 73 done 74 75 for f in $DeskbarUtils; do 76 pushd $f 77 addAppDeskbarSymlink $prefix/bin/$f HaikuUtils/$f 78 popd 79 done 80} 81