Commit Graph

207 Commits

Author SHA1 Message Date
Jérôme Duval b05d6f0af0 POSIX: asprintf and vasprintf are BSD/GNU extensions
fix #16259

Change-Id: Ia16bb6e1944b87b25d1a940bbdaaf6e236db1abf
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3381
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2020-11-07 08:49:34 +00:00
Jérôme Duval ee87ae146f i2c: add diagnostic utility
Change-Id: I7e87457ff6e4210e256f9e41e5555e2d0e1ba20d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2459
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2020-04-10 11:25:39 +00:00
Kyle Ambroff-Kao 2a0d1eb890 makeudfimage: Remove this tool completely
The AllocatorTest suite fails, and when investigating why it was
broken I realized that it was testing code that has been dead and
unused for quite some time. makeudfimage hasn't been touched since
2004 (5f2185ea0), and was removed from the build in 2006 (5adca30a1).

The only changes that have been made to it since then are build fixes
for the tests. Adding it back to the build would require some work
since many things have changed since then.

Since there are many other tools and libraries out there which can
make UDF images (and which have been ported to Haiku), this code
doesn't really seem worth maintaining at this point.

This patch just removes it, as well as the associated tests.

Change-Id: I23da8df83b7f141b3394a022030545d42a287881
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2332
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2020-03-09 12:18:06 +00:00
CodeforEvolution 9e54316c52 Fix the build of test_app_server on 64bit
So many Jamfiles to search through...runs also, but there
are lots of graphical glitches

Change-Id: Ibf9e64566a5b8c5742792ac9b1b0f9ccc6693c8d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1753
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2019-09-01 03:04:52 +00:00
ahenriksson 03867a467e Add resizefs utility
Change-Id: I5f503cf07216df64dcc33081f24cd083d003e581
Reviewed-on: https://review.haiku-os.org/c/haiku/+/943
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Reviewed-by: Axel Dörfler <axeld@pinc-software.de>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2019-08-20 09:48:51 +00:00
François Revol e88c3d58bd Add setcontrollook minimal CLI tool
Just does what the name says

Change-Id: I6cf23f997ce544df83d4ef2f73a3b130dea8825c
Reviewed-on: https://review.haiku-os.org/c/1432
Reviewed-by: Stephan Aßmus <superstippi@gmx.de>
2019-05-13 22:15:30 +00:00
Augustin Cavalier 1e60bdeab6 Remove all invocations of SetSubDirSupportedPlatformsBeOSCompatible. 2019-03-30 15:19:38 -04:00
Augustin Cavalier a1c2d3d653 uptime: Remove, in favor of the coreutils one.
This one had an uncertain "freeware" license, and the code quality
is not so great. BeOS didn't have an 'uptime' command, so we can
replace this with the coreutils one without worry.
2019-03-30 13:47:14 -04:00
Augustin Cavalier 8a9e1e0d4a Removal of non-Haiku target platform logic from build system (part 1.)
Following recent changes to use libroot_build on Haiku also, it is now
actually impossible to build Haiku components on non-Haiku platforms
(BeOS R5, Dan0, BONE, Zeta), so we can remove any logic related to this.

This is only the first part; still to be removed are:
 * SetSubDirSupportedPlatformsBeOSCompatible
 * HOST_PLATFORM_BEOS_COMPATIBLE
 * TARGET_PLATFORM_BEOS_COMPATIBLE
2017-12-31 16:14:22 -05:00
ohnx e6c08856dd bin/compress: Remove.
Per #10267, "Most (ported) third-party software should be removed
from the Haiku source repository."

Since HaikuPorts already has the ncompress package, this file
should no longer exist.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Original patch missed modifying the "minimum" definition and the
src/bin/Jamfile, so I took care of that.
2017-12-29 15:33:56 -05:00
Augustin Cavalier cfafb3da99 rmd160: Remove from tree.
Not used or referenced anywhere.
2017-12-17 13:08:10 -05:00
Augustin Cavalier 3d44a8b6f4 zic: Remove from tree.
Not referenced anywhere or included in the build.
2017-12-17 13:08:10 -05:00
François Revol 587b70d5cd Add a get_driver_settings debugging tool 2017-11-20 11:23:34 +01:00
Jérôme Duval 98b3149ca1 bc: use the outsourced build.
* remove in-tree bc.
2017-10-08 13:28:38 +02:00
Augustin Cavalier 11384b58ba bin/coreutils: Remove; now unused since previous commit. 2017-07-23 11:08:34 -04:00
Augustin Cavalier 95295296cd multiuser: New implementation of su.
We're still using the (now-deprecated) coreutils su, so this is
a replacement for that. It functions almost equivalently,
and supports the major arguments (-l, -c).

(Note that login/su to a non-root user is presently busted, though.
See #13583.)
2017-07-23 11:07:36 -04:00
Augustin Cavalier ab76614d65 ideinfo & idestatus: Remove.
They're useless without the old IDE stack.
2017-06-28 17:55:39 -04:00
Dario Casalinuovo 4263f2570d media_client: Fix Jamfiles to build correctly 2017-04-28 02:13:51 +02:00
Adrien Destugues 56f749a63f listusb: split out USB audio dumping to own file.
The code to dump audio descriptors is now twice as long as the other
parts of the listusb code. Move it to its own file for clarity.
2016-11-02 15:26:04 +01:00
Andrew Lindesay fa2dd9c45f BPackageInfo::Parser: Validate URL strings.
Fixes #12710.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
I fixed the modifications to the Jamfiles in src/bin, they were all wrong
in the patch.
2016-06-18 18:40:07 -04:00
Augustin Cavalier 2037db1489 bin/mail: move to 'mail_utils' subdir. 2016-01-20 13:28:46 -05:00
Rene Gollent 8028ede7db Build: Add architecture rule for libshared.a.
- As suggested by Ingo, add libshared.a to the architecture name map.
  This allows it to be linked by its short name like other frequently
  used libraries.
- Adjust all Jamfiles referencing the lib accordingly.
2016-01-15 21:12:24 -05:00
Axel Dörfler 7406866340 launch_roster: The beginnings of a launch_daemon control tool. 2015-11-08 00:09:26 +01:00
Axel Dörfler cfe6baf62f cddb_daemon: renamed to cddb_lookup, moved to /src/bin.
* It's now a standard command line tool that is launched automatically
  via the launch_daemon whenver a volume is mounted.
2015-10-19 21:21:21 +02:00
Michael Lotz 0a6d595951 Add system_time to the Jamfile, missed in hrev49598. 2015-08-29 19:33:27 +02:00
Jérôme Duval ed92a10520 diffutils: use the outsourced packages.
* remove diffutils Jamfile from the build and diffutils sources from the tree.
2015-08-01 14:04:10 +02:00
Axel Dörfler 05a567f609 Added autologin command, and use it by default.
* This will handle our current single-user login needs.
* Removed Login from the minimum image again.
2015-07-22 20:43:54 +02:00
Axel Dörfler c16361c49c launch_daemon: Initialize /tmp & /var/shared_memory, clock.
* Added initializing /tmp & /var/shared_memory to the launch_daemon.
* Moved clockconfig.cpp code into the launch_daemon.
* This follows systemd design; since those jobs are fixed, it doesn't
  matter where you maintain them.
* The init jobs are BJobs, but the JobQueue is only used for that
  one use for now. At a later time, I intend to put the job launching
  in there, as well. BJob allows to represent the dependencies already.
2015-07-22 20:41:14 +02:00
Adrien Destugues 673259506b Link top with libstdc++
* Should fix gcc4 build
2015-06-13 14:02:00 +02:00
Adrien Destugues 95cace8de2 top: convert to C++ and use std::list
The C code would crash on my machine, and using std::list is simpler and
cleaner.

May help with #11895 as well, but I didn't have that issue on my
machine.
2015-06-13 13:41:44 +02:00
Jérôme Duval 1f56c11b79 gzip: use the outsourced packages.
* remove gzip Jamfile from the build and gzip sources from the tree.
2015-06-10 11:26:51 +02:00
Jérôme Duval 22d29642fb Add packages for zip and use them.
* remove zip Jamfile from the build and from the tree
* clean up image and package definitions.
* added zip in regular builds.
2015-03-02 22:17:56 +01:00
Jérôme Duval 85e5aa30b1 Add packages for unzip and use them.
* remove unzip Jamfile from the build, <build>unzip stays with us.
* clean up image and package definitions.
* added unzip in regular builds.
2015-02-26 19:21:04 +01:00
Jérôme Duval 6d8505a01e patch: use the outsourced packages.
* remove patch Jamfile from the build and patch sources from the tree.
* added patch to DevelopmentBase.
* should a bootstrap package be added?
2015-02-16 20:11:59 +01:00
Augustin Cavalier e611f19907 gdb: outsource.
I didn't add the gdb package to the bundled packages because AFAIK,
most users / developers of Haiku use our built-in Debugger instead,
because it's so much more awesome (thanks, Ingo & Rene!).

If I'm somehow mistaken about that, please don't hesitate to speak
up and I'll add it.
2015-02-11 15:33:47 -05:00
Augustin Cavalier 45e1214ac1 RCS: delete from tree.
Moved to a package. Not added to the image as we keep this only for
POSIX compatibility.

Fixes #11662.

Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>
2015-01-05 17:40:07 +01:00
Adrien Destugues 2661e81977 Build fix second attempt.
Declare the dependency of top and watch to the ncurses headers.
2014-12-18 12:39:49 +01:00
Adrien Destugues 9a539f9e80 Outsource ncurses. 2014-12-18 10:18:39 +01:00
Adrien Destugues 4738a0e182 Remove built-in cal command.
* Replaced by gcal package
* Fixes #9696.
2014-12-16 14:31:04 +01:00
Alexander von Gluck IV 3f84ea0c7e ScreenInfo: Include screeninfo in images
* Rename from screen_info to screeninfo to match
  screenmode
2014-11-09 12:20:04 -06:00
Adrien Destugues 2c6835f93e Remove in-tree bash.
* This is now outsourced.
* Should clean a lot of our coverity warnings.
2014-10-10 16:32:04 +02:00
Alexander von Gluck IV be84a96144 bin: Add screen_info command
* Provides basic information on attached BScreen's
* Only shows B_MAIN_SCREEN_ID at the moment as that's
  all we have available.
2014-08-19 12:50:39 -04:00
Oliver Tappe 220d040227 Use libstdc++, libsupc++ and libgcc from gcc_syslibs.
* Instead of faking libstdc++.so from libstdc++.a, use libstdc++.so
  from the gcc_syslibs build feature for everything except x86_gcc2.
* Use libgcc_s.so from the gcc_syslibs build feature for everything but
  x86_gcc2 (which still carries libgcc as part of libroot.so).
* Drop filtering of libgcc objects for libroot, as that is no longer
  necessary since we're only using libgcc-as-single-object for libroot
  with x86_gcc2, where the filtered object file doesn't exist. Should
  the objects that used to be filtered cause any problems as part of
  libgcc_s.so, we can always filter them as part of the gcc build.
* Use libsupc++.so from the gcc_syslibs build feature for everything but
  x86_gcc2.
* Adjust all Jamfiles accordingly.
* Deactivate building of faked libstdc++.so for non-x86-gcc2. For
  x86_gcc2, we still build libstdc++.so from the sources in the Haiku
  source tree as part of the Haiku build .
* Put gcc_syslibs package onto the image, when needed.
2014-08-13 13:32:44 +02:00
Ingo Weinhold a5330a8e41 Remove private support kit BUrl
Use the public BUrl from the network kit instead.
2014-07-03 17:39:59 +02:00
Jérôme Duval 1a8c694443 less: use the outsourced packages.
* added packages for x86 and x86_64.
2014-04-17 00:03:28 +02:00
Jérôme Duval eb763779e3 sharutils: use the hpkg.
* delete the intree sources.
2014-04-14 22:52:58 +02:00
Jérôme Duval 8b804bc17b findutils: use the HaikuPorts package.
* removed in-tree version.
* added as bootstrap package.
* note: HaikuPorts package has no rdef for binaries.
2014-02-25 17:58:32 +01:00
Pawel Dziepak d0f2d8282f Merge branch 'scheduler'
Conflicts:
	build/jam/packages/Haiku
	headers/os/kernel/OS.h
	headers/os/opengl/GLRenderer.h
	headers/private/shared/cpu_type.h
	src/add-ons/kernel/drivers/power/acpi_battery/acpi_battery.h
	src/bin/sysinfo.cpp
	src/bin/top.c
	src/system/kernel/arch/x86/arch_system_info.cpp
	src/system/kernel/port.cpp
2014-01-17 04:06:15 +01:00
François Revol 94c2eb2092 Revert "Add getconf(1) from FreeBSD r259958"
This reverts commit 5a39a9feac.
2013-12-28 09:58:27 +01:00
François Revol 5a39a9feac Add getconf(1) from FreeBSD r259958
This one lacks -a but is simpler to port than the (e)glibc one,
and should be way enough for usage patterns like counting CPUs,
cf. https://gist.github.com/jj1bdx/5746298

TODO: Handle message files?
TODO: Install manpage?
2013-12-27 19:42:26 +01:00