Commit Graph

4679 Commits

Author SHA1 Message Date
PulkoMandy
d6e543c388 emuxki: enable Werror
Change-Id: I6ed7bfbe157bee86a8ce1dabc5829b8825e43f99
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7609
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2024-04-15 16:02:49 +00:00
Muhamed Emad
6f52406a73 auich: Fix warnings, enable -Werror
Change-Id: I03a686d124444d60b92b34c1b7a10d73c872c21d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7606
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2024-04-15 16:02:49 +00:00
Muhamed Emad
9b655000bc hda audio: Enable -Werror
There seem to be a gcc2 bug resulting in bitfields of uint32 type being cast to int.
The bitfield is mostly not needed here, since the fields are 8, 16 or 32
bits, so just use the appropriate types.

Change-Id: Ie4297db8bcda8ca0937c7f55915b318a1f4f6e55
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7599
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2024-04-06 20:35:18 +00:00
Adrien Destugues
4d058c90a6 null_audio: fix warnings, enable -Werror
Change-Id: I83630f697cfb3d12bf8bea35b24dbdfd93b38ef1
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7595
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2024-04-06 20:35:18 +00:00
Adrien Destugues
fa2e76a142 audio drivers: enable Werror for drivers that have no warnings
Change-Id: I8b1721da5337e5368e1ecb19285ac29869c9d41f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7594
Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2024-04-06 20:35:18 +00:00
Adrien Destugues
aa9d729ebf virtio_audio: add to build, enable Werror, fix build
Change-Id: I52f1ed9cd2a967d7fecf866aec7cd390ae4885b8
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7593
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org>
2024-04-06 20:35:18 +00:00
SED4906
1cdb3beb26 sdhci: add ACPI-enumerated device support
Change-Id: I5c42344b2499bd22581d6b564192decbce937645
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7456
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2024-04-02 11:10:56 +00:00
Oscar Lesta
1ee3891ab8 gutenprint: update from gutenprint8-5.3.1 to gutenprint9-5.3.4
Requires HaikuPorts#7573 to be merged.

Closes #17836.

Smoke-tested on beta4 32 bits:

Gutenprint printer addon loads libgutenprint.so.9.5.0, shows new
printer models from where to choose from at "install new printer"
time, and "prints something" when using the Print-To-File transport.

Change-Id: Ia40dfd3c2163795e83c2cc173fd510d64c4bf6c9
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5969
Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2024-03-28 15:56:15 +00:00
Alexander von Gluck IV
9b8fbc06c8 x86_gcc2: Bump ffmpeg6 aligning to previous x86_64 change
Change-Id: I45b3fbe0b4ec014d185ea8c3ed8798ae316e54a9
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7554
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org>
2024-03-27 14:07:30 +00:00
PulkoMandy
5b5c8f7d41 ffmpeg: update to ffmpeg 6
Partial change, for testing on x86_64. You need to build with
-sHAIKU_NO_DOWNLOADS=1 and manually provide the needed packages in
generated/downloads.

Confirmed working on x86_64. Other platforms will need similar updates.

Change-Id: I81ca4b1d81bd18e64f50250970e00e0a072072d3
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7278
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2024-03-26 21:44:17 +00:00
Alexander von Gluck IV
f083212d46 packages/riscv64: Bump openssh to latest native built
Change-Id: Ibac22c144a1e9eeca0189a7b729ce5bfd4b9972e
2024-03-19 09:44:31 -05:00
Alexander von Gluck IV
a40cec84d6 riscv64: Bump icu to 74, bump bash, add file, bump xz
* Update bash to a less-buggy working native build.
* Add file for python3
* Add readline for bash
* Update xz_utils to a working native build.

Change-Id: Iedfcb8277b242ea43a2fd870850057429c6b09e0
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7528
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2024-03-16 12:22:21 +00:00
PulkoMandy
7845db65a2 Remove wqy_microhei font from Haiku release images
It has been replaced by Noto as the default font for CJK characters and
is not referenced anywhere else anymore.

Change-Id: I9eb706531deb44395d71e0a04b0ec5e2f2dea230
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7499
Reviewed-by: nephele nephele <nep-git@packageloss.eu>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2024-03-04 15:33:35 +00:00
Jérôme Duval
3bf4cdb73b network/ping: update to freebsd-current
* our ip modules don't support connect()/send(). Just use sendto().
* ping6 disappears, ping supports -4 or -6 to force IPv4 or IPv6

Change-Id: I1e982e354cc75d3a314c5bbbfffa0373e8f4d9af
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7427
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2024-02-26 14:06:29 +00:00
Alexander von Gluck IV
cac7a2f426 icu: bump OS (and all dependencies) to ICU 74
* Non-x86 will likely break until they get an updated icu74
  build-package

Change-Id: I5762d14f848e1c4e9b837e1dea9c1a54efa8401d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7346
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2024-02-07 18:14:48 +00:00
Augustin Cavalier
123fa38638 usb_audio: Add to regular image.
Requires multiple media server restarts to switch
outputs to it, but that's a known media services
problem (#12777 and #12776.)

Input doesn't work quite right with the hardware
I've been testing with, but that's also a known
problem it seems (#9951). Meanwhile, output
seems to work pretty well, once it gets going.
2024-01-31 23:05:43 -05:00
Joachim Mairböck
cbe17a5f23 haiku_extras: add provides for TV and acpi_call
Also fix the broken DeskBar symlink for TV.

Change-Id: I23a9cc5cf3e3d0c6ae1608a3b96a37e9a8c431a2
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7362
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2024-01-30 21:19:57 +00:00
Alexander von Gluck IV
6738595a67 build-packages/x86_64: align gcc to current repo gcc
* Tested no issues on boot.

Change-Id: I2825ac8614172d649d1821a7a6c25e6cf63f716f
2024-01-25 12:31:48 -06:00
Humdinger
15037a29f1 Move TV app into haiku_extras package
As discussed at
https://discuss.haiku-os.org/t/what-does-the-tv-program-do/14511

Change-Id: I7d9501cad2b9d4b3c6898ec39398101727c2eee8
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7344
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
2024-01-24 09:56:30 +00:00
Jérôme Duval
b352d8ccd8 virtio_gpu: add the accelerant to the regular image
fix 32-bit warnings

Change-Id: If85acfce1ac93998c13e5d9fa2e02823e219e428
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7342
Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org>
Reviewed-by: X512 X512 <danger_mail@list.ru>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
2024-01-24 09:54:55 +00:00
Augustin Cavalier
b6c24e6b40 network: Overhaul TUN/TAP subsystem.
* Rename the "tun" network device to "tunnel". FreeBSD calls theirs
   "tuntap" but speaks of both TUN and TAP devices as interfaces for
   tunnels. The other BSDs seem to do likewise.

 * Fold the "tun" driver into the "tunnel" network device. The
   network device now publishes entries in devfs when interfaces
   are created, and unpublishes them when interfaces are destroyed.

   This removes the need for the driver and device to communicate
   through a file descriptor, and thus allows the receive queue
   to be totally eliminated, massively simplifying that logic.

 * Use standard net-stack FIFOs instead of TCP BufferQueue, which is
   specialized to TCP's needs in far too many ways. Thanks to the
   previous commit adding support for interrupting semaphore waits,
   we can use the FIFO wait mechanisms, too.

 * Restructure the TAP logic, and generate MAC addresses more like
   Linux does.

 * Actually set type = IFT_TUN, and use the "loopback" frame handler
   instead of the "ethernet" frame handler. This allows significant
   cleanup of the header handling logic.

 * In TUN mode, reject packets that don't look like IP packets.

 * Delete "tunconfig"; it was mostly stubs and is now unnecessary.

TUN mode tested and confirmed as working by kallisti5 with OpenVPN.
TAP mode partially tested, but not yet confirmed as working.

Fixes #18673.

Change-Id: Ibd803139474e8db556a4f567901da15ee4083621
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7143
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2023-11-30 20:44:44 +00:00
Swangeon
cbb44d0ab6 Add TUN/TAP interface and driver to build definitions
Change-Id: I19f37ef75250526d7a7f9e254fd0bf3693582c92
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6898
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2023-11-17 16:58:45 +00:00
Kacper Kasper
6f58244192 Support repositories created with git worktree
* .git is a file in worktree-created copies.
* Determines the correct directory using git command, when
  running configure.
* Fixes #16808.

Change-Id: I72c7b2e79aac5140d35e0339fad16160a35911ae
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6914
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2023-11-01 09:09:27 +00:00
PulkoMandy
51355272b3 ArchitecturesRules: error on use of deprecated functions
The previous commits have cleaned all the remaining ones.

Change-Id: I6b12ba4f23779f3e2e4fd5a00c6acfaaeb50f4d6
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6804
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
2023-10-26 10:50:02 +00:00
Alexander von Gluck IV
dd04895cfa build: retry-on-host-error while downloading files
* We might as well "try as hard as we can" to get build files.
* With this setting, DNS resolution errors count as retryable
  errors.  wget will retry to get files up to 20 times by default.
* Should improve build relability on less-than-ideal network
  connections. (aka, a brief network disconnection shouldn't stop
  a local build if possible)

Change-Id: I39652fafb5eee237c463e1b777b1057ee1d53db1
2023-10-22 09:36:47 -05:00
Augustin Cavalier
8764a29843 build/jam: Only add C++ header directories to include path for C++ code.
There are now some system headers (e.g. <stdatomic.h>) that have outright
different versions for C and C++ which are not compatible with each other.

Change-Id: Ibf797e0817f0fe4d5241424d7d06023b19888c02
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6991
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2023-10-13 16:18:47 +00:00
Alexander von Gluck IV
5f351a4650 build-packages: Bump riscv64 for gcc13. Thanks X512!
Change-Id: Ic95763b88b0e6880f6466047e85b523fe12dc554
2023-10-10 11:18:55 -05:00
Yn0ga
cbb88108d5 Various PowerPC fixes
* Removed atomic operations placeholders for modern ones
* Fix chrpscript & hfsmaps location for CDBootImage (haiku-boot-cd target)
* add of_blocks & of_blocksize openfirmware call

Change-Id: Iaaddc2c566d108976ac5e5e08caea1fc59523e06
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6987
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2023-10-06 20:38:24 +00:00
Augustin Cavalier
76681bd900 kernel: Rewrite B_DEBUG_SPINLOCK_CONTENTION.
* Replace count_low/count_high with bigtime_t fields plus an int32.
   sizeof(spinlock) is now 32 bytes with the debug option enabled.

 * Adjust and clean up all spinlock code to use the new fields.

 * Fold DEBUG_SPINLOCK_LATENCIES into the new code. Remove the bootloader
   option and other flags for it (these were not compiled in by default.)

The new code should be much easier to understand and also more powerful.
However, the information transmitted to userland isn't as useful now;
the KDL command output will have the interesting information.

(Things could be reworked to transmit more interesting information to
userland again if desired, but as this code clearly hadn't been compiled
for many years, as it referred to global spinlocks that have been gone
for a very long time.)

Change-Id: I2cb34078bfdc7604f288a297b6cd1aa7ff9cc512
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6943
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2023-09-23 18:41:04 +00:00
Augustin Cavalier
35bc8b401a ArchitectureRules: Disable autovectorization for the kernel (for now.)
See #18593.
2023-09-22 16:27:37 -04:00
Alexander von Gluck IV
3e2b187899 build: Update arm64 build-packages for gcc13
Change-Id: I1143072d4783310f37ef68cd9e3793579f3388cb
2023-09-21 13:12:15 -05:00
Alexander von Gluck IV
bcd89a79ad build: Update arm build-packages for gcc13
Change-Id: Idc18fb42e18165fc35f657e0a1d19de479c137ed
2023-09-20 10:30:55 -05:00
David Karoly
31199cd950 update bootstrap package versions for ppc
Change-Id: I84d8e32cbba725e952d0864c4a82028fa91b5209
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6912
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2023-09-17 19:14:00 +00:00
David Karoly
dfc8e0741a update bootstrap package versions for m68k
Change-Id: I813ddbd1619b57aceac6f303e6ea716736d8db2d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6902
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2023-09-10 11:43:30 +00:00
Augustin Cavalier
b22fab9510 build_haiku_image: Fix type of MAIL:draft and MAIL:flags indexes.
Fixes #18503.
2023-08-25 14:53:50 -04:00
Vladimir Serbinenko
3cfeaf2617 ufs2: Enable module
Change-Id: I1f9b92da13980637925be5e9c813af427b25feb4
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6853
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2023-08-20 19:10:34 +00:00
David Karoly
3568a4e11f update bootstrap package versions for x86_64
Change-Id: I623b927096547a1bc98d1011169142d841c78eac
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6846
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2023-08-20 16:08:31 +00:00
David Karoly
6308236831 arm, arm64, riscv64: use gcc-13.2.0 for bootstrap build
Change-Id: I3cda82b46a224bddc51f9850c1fee9006a51b73e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6844
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2023-08-19 12:24:18 +00:00
David Karoly
2b514ce830 riscv64: update bootstrap package versions
Change-Id: I45b96ae1249985a2d92bcae7c826e40186d3b4a8
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6813
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
2023-08-13 19:33:47 +00:00
David Karoly
26bd8b3958 arm: update bootstrap package versions
Change-Id: Iaea37926246a95764253dcb24c47ab6b931c538c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6812
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
2023-08-13 19:25:06 +00:00
David Karoly
45e19f162a arm64: update bootstrap package versions
Change-Id: Ifc42e09d1fed8ca51c214bee53dda8d0a203b5b8
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6811
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
2023-08-13 19:24:49 +00:00
Adrien Destugues
2468c9e5bf Remove -Wno-error=deprecated
This disables -Werror for the use of old GCC extensions listed here:
https://gcc.gnu.org/onlinedocs/gcc/Deprecated-Features.html

We do not apparently use any of those anymore (if we ever did). I think
this was accidentally enabled at the same time as
deprecated-declarations (which we still need, for example because we
still have some uses of auto_ptr).

Change-Id: I147276b42d9d066df56e8b135bc8fd885dc937a7
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6798
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2023-08-07 14:38:36 +00:00
Niels Sascha Reedijk
13e2db9609 build-packages: update to the latest packages
The main motivator is the update to GCC 13. As part of this, some of the other
dependencies have been updated as well.

Newly introduced:
 - gawk on x68_64 (new dependency of texinfo)
 - libjx (new dependency of haikuwebkit)
 - openexr30 (new indirect dependency of haikuwebkit)
 - brotli (new indirect dependency of haikuwebkit)

On x86_gcc2, some packages have switched to the modern GCC version:
 - diffutils
 - findutils
 - libpsl
 - tcpdump

Change-Id: Ic617b5b4af9eb34c0d28259a3c0ddbcc33f98a5d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6772
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2023-08-05 11:52:00 +00:00
Adrien Destugues
4fbc89c3f2 Remove -Wno-error=trigraphs
All (accidental) trigraphs have been removed in the source.
2023-07-31 10:25:22 +02:00
Vladimir Serbinenko
e16045db2c i2c_elan: Support I2C Elan devices
They are not HID devices as they need special polling and interpreting. As
a result only descriptor is shared with other i2c HID devices. So it's easier
to have it as a separate driver.

Partially based on FreeBSD ietp driver

Change-Id: Iddc64d216eefeda235a1b15521cba9189dd2ffd8
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6660
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2023-07-14 20:58:01 +00:00
Alexander von Gluck IV
2bd91dc18b HaikuPortsCross: Correct misaligned bootstrap package versions
Change-Id: Ia836711b471318283a2b1ecb7c5a2e10963e8b7f
2023-06-22 10:03:00 -05:00
Alexander von Gluck IV
73c451087f drivers/wlan: Enable on riscv64
Change-Id: I20c755a05b43f9166558a2b9f2d3da8961b52d0b
2023-06-17 09:41:38 -05:00
Alexander von Gluck IV
06898ee467 build/profile: Add nightly-mmc for riscv64 (and arm later)
Change-Id: I6aeddabedb8cf3e1505519f4393e4d0f2af5ea7f
2023-06-16 14:45:25 -05:00
X512
4a6b1e401c repo/riscv64: Bump HaikuPorts build-packages for riscv64
Change-Id: Idba2bc58c46deaa182ad27011b5a99e3231afe56
2023-06-16 14:44:48 -05:00
Alexander von Gluck IV
5676ddf7ca repo/riscv64: Bump HaikuPorts build-packages for riscv64
Change-Id: Ib230422bc514831983cd8b4d2794c37f46d62343
2023-06-16 13:10:53 -05:00