Commit Graph
230 Commits
Author SHA1 Message Date
Kacper Kasper 4de63671bd test-raw: Run tests and shutdown automatically
* Move running the tests to user bootscript.
* Remove SSH preconfiguration from first_login.
* Add debug_server settings.
* Disable more flaky tests.
* Fix libsupportkit_RemoteTestObject.so build.

Change-Id: I774ab4fc5a007da463cf1213d92132ad9f64fe7f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10708
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Kacper Kasper <[email protected]>
2026-04-19 07:26:48 +00:00
Kacper Kasper ee10ca4b42 Preconfigure SSH server on test image
* This allows logging in to freshly built image using ssh.

Change-Id: I15baeee455827b73f12e1a222b166bd7975786dd
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10426
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Kacper Kasper <[email protected]>
Reviewed-by: Priyanshu Gupta <[email protected]>
2026-03-15 20:55:27 +00:00
Chris Roberts 086e20b2cd SetupEnvironment: add ~/config/apps to the PATH
Change-Id: Ifd5f35e24b8fadbf984a1fa9bd099ba98b1a49a4
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9043
Reviewed-by: waddlesplash <[email protected]>
2025-02-22 21:26:14 +00:00
Augustin Cavalier 0dd81e3d4b licenses: Drop "GNU GPL v2 classpath exception".
The only thing in HaikuPorts that uses this has its own copy
of the full GPLv2 with the exception and doesn't reference
this copy.
2025-01-13 14:17:41 -05:00
Augustin Cavalier 01b94ce7b8 AboutSystem: Drop GLU credit.
We use Mesa3d GLU now, which is under MIT license.
2025-01-13 14:16:40 -05:00
Augustin Cavalier 1c45ac1e20 licenses, AboutSystem: Add credits for netresolv.
* Add the ISC license; it's similar to the MIT license but isn't
   worded identically, and it's referenced from netresolv.

 * Drop the "Berkeley" license, it was used for an older version
   of the NetBSD credits, and is just the 3-clause BSD anyway, it appears.
2025-01-13 14:15:20 -05:00
Augustin Cavalier 25534c1907 licenses: Make formatting and wording of BSD licenses consistent.
They were formatted differently and used different "generic" language
than the OSI versions of the licenses, so replace them for consistency's
sake.
2025-01-13 13:58:25 -05:00
Augustin Cavalier 238b2aa31c licenses: Add "NewOS".
It's a BSD license, but in the source code there's still many headers
that reference the "NewOS license", so we should have a file in
the "licenses" directory that's called that.
2025-01-13 13:56:37 -05:00
Augustin Cavalier fc1a0ea5ab SetupEnvironment: Remove first set of LC_CTYPE.
It's set again about 30 lines later, this time with the real value,
so there's no need to set it here.
2024-07-15 22:57:57 -04:00
Oscar Lesta ea989da7f1 SetupEnvironment: export XDG_STATE_HOME env var.
Fixes: #18257.

Change-Id: Id7f81b4be3b63f383963f0d752e6ffeda41c3945
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7506
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Jérôme Duval <[email protected]>
2024-03-07 15:53:06 +00:00
Augustin Cavalier ef1427bb58 PowerStatus: Add logic to automatically install in Deskbar.
Modeled after NetworkStatus. Also add it to
default_deskbar_items.sh.

Fixes #18748.
2024-01-30 14:44:28 -05:00
Augustin Cavalier 9ae547b297 data/network: Use ports & services files from OpenBSD.
This cuts out a lot of unnecessary protocol entires found in the
longer NetBSD (and originally from ISC) lists. This data is used
in the implementation of getservent(), etc.
2023-02-27 22:01:12 -05:00
Jessica Hamilton a7678d33db Terminal: make data files for the built-in themes.
Change-Id: Ib1444ebbb329ae9f2b14a33487cd21ce7b5dc37b
2022-12-18 16:03:19 +13:00
Oscar Lesta 3af8011358 env vars: move XDG Base Dirs variable exports to SetupEnvironment
This makes sure that apps get access to these variables regardless if
they are started from a shell or from GUI (double-click from Tracker,
desklink, etc).

Fixes #18130.

Change-Id: I82e2884e460fad7d6ec16e7b624c5cd2fcf807df
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5897
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2022-12-13 01:49:55 +00:00
Augustin Cavalier 1d5de1d840 Remove firmware licenses that now are in their own packages. 2021-10-26 17:54:58 -04:00
Augustin Cavalier 1496cfe1de Remove now-unused WiFi firmware binaries from the repository.
They were outsourced in the previous commit.
2021-09-30 19:24:03 -04:00
Adrien Destugues 8aae4f2190 SetupEnvironment: set USER and GROUP variables
Fixes #7682.

Change-Id: I85ea7b41b838edaeb9c92d280e9420bd70b30fd1
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3958
Reviewed-by: Rene Gollent <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2021-06-04 06:37:00 +00:00
Alexander G. M. Smith b5efad4eae PackageKit: Remove hard coded first boot package processing scripts.
Once change 2342 is in place (running first boot scripts exported from
packages), see https://review.haiku-os.org/c/haiku/+/2342,
remove data/system/boot/post_install/add_catalog_entry_attributes.sh
and related support infrastructure (magic files, launch_roster entries).

The work this script did can in fact be done at image creation time
instead of at first boot.

Change-Id: I485e1a0a87c3e6a6ba3f882e65996f2327134d37
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3751
Reviewed-by: Adrien Destugues <[email protected]>
2021-05-14 16:08:17 +00:00
Alexander G. M. Smith 3376ed1a72 Package Kit: Proper Installation for First Boot Packages
Do the final installation operations for all the packages in the
/system/packages directory when the OS is booted for the first time.

This will run their post-install scripts, create users, groups and generate
settings files (marked with a package version attribute).  Previously we just
ran all the shell scripts found in the /system/boot/post-install directory
(don't do that as much now).

Fixes bug #14382

This patch has simpler code flow in CommitTransactionHandler::_ApplyChanges
Tested on 32 and 64 bit systems.  Once it's official, need to remove the
open_ssh redundant post-install script that creates users etc. from HaikuPorts.
Now we can notice bugs like package version attributes on settings files aren't
fully working. :-)

Didn't remove special case for add_catalog_entry_attributes.sh since it
still does stuff that the build system doesn't do.  Might be able to add
that script as part of the Haiku.hpkg.  See change 3751 for removing it,
https://review.haiku-os.org/c/haiku/+/3751

Change-Id: I3807b78042fdb70e5a79eca2e2a45816ece0236f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2342
Reviewed-by: Alexander G. M. Smith <[email protected]>
Reviewed-by: Niels Sascha Reedijk <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2021-03-14 09:10:18 +00:00
roired 3216a85694 Move X-Bows keyboard layout file to the correct place
Change-Id: I7ddf11a4a4ae0aa04900f97678430d9330888808
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3238
Reviewed-by: Adrien Destugues <[email protected]>
2020-11-17 07:19:25 +00:00
Sylvain78 56ce1249b2 Adding a keyboard layout for the Fizzbook Zoostorm NL2
Change-Id: I534055ab9f37c8489900970b4662e52c1ec6a7b7
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3231
Reviewed-by: Adrien Destugues <[email protected]>
2020-09-22 06:36:52 +00:00
Adrien Destugues 2c09e0dc7f Installer: separate writing bootsector from other install finishing code
Remove the InstallerInitScript (it does nothing) and the
InstallerFinishScript (it does too many things). Instead implement the
finishing directly in Installer. Separate writing the bootsector, so
that the "write bootsector" menu writes only the bootsector.

Fixes #16303
2020-08-05 12:52:04 +02:00
Augustin Cavalier ba5694b017 idualwifi7260: Port changes from newer FreeBSD.
This adds support for the 9xxx series of devices.

Change-Id: I43385e91b91201732397b79c38bd9bb4f3a18f1b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2733
Reviewed-by: waddlesplash <[email protected]>
2020-05-17 23:34:32 +00:00
Sergei Reznikov 7bf88c5132 Enable KeymapSwitcher automatically for some locales.
Change-Id: Ie3b49be07dd02227850cb0d7d2a7befca7992668
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2597
Reviewed-by: Sergei Reznikov <[email protected]>
2020-05-07 22:07:58 +00:00
oreo639 0fe6734183 idualwifi7260: Import iwm-3168-ucode from FreeBSD 12.
This adds the firmware for Intel Dual Band Wireless-AC 3168NGW,
which the driver itself supports, making it possible to use this
device on Haiku.

Change-Id: Id8df2f3128cefb23dd1a5c2919c38945dce7cb94
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1844
Reviewed-by: waddlesplash <[email protected]>
2019-09-11 22:53:16 +00:00
Rob Gill db578bfa3a apps/AboutSystem NetBSD licences and xfree86 url
* Adds licence information for the NetBSD contributions
	* ftp - 4 clause BSD (retained in ftp.c)
	* tput - Berkeley
	(http://cvsweb.netbsd.org/bsdweb.cgi/src/usr.bin/tput/tput.c?rev=1.26)

* Berkeley licence text added to licences

* xfree86.org url added

  These were previously marked TODOs

Change-Id: I01bf0bb6055b3b45ca80c6cddabdb093cb043408
Reviewed-on: https://review.haiku-os.org/c/887
Reviewed-by: Stephan Aßmus <[email protected]>
2019-01-20 11:08:30 +00:00
Augustin Cavalier b72d60791e ipw2100: Remove firmware.
The "iprowifi2100" driver has its own firmware directory.
2019-01-14 11:20:40 -05:00
Augustin Cavalier 1528ce925d realtekwifi: Update and add new firmware sets. 2019-01-10 21:43:52 -05:00
Jérôme Duval bf98f7960d Added license file for GNU GPL v2 with classpath exception. 2018-11-24 11:43:22 +01:00
Augustin Cavalier a5297c5905 build: Add SYS:NAME attribute to all folders handled by Tracker.
Mail and Deskbar folders are still TODO.
2018-11-15 22:36:35 -05:00
Augustin Cavalier 79187c3c42 iprowifi4965: Add -100 firmware.
Should fix #14492.

Change-Id: I887995d45d2e357f0181f54396bc3c19a2158e26
Reviewed-on: https://review.haiku-os.org/567
Reviewed-by: waddlesplash <[email protected]>
2018-09-16 00:09:14 +00:00
Augustin Cavalier bddcee2a27 data: Fix locale setup in SetupEnvironment and remove it from etc/profile.
These changes were made to etc/profile by PulkoMandy last year, but he missed
making the change in SetupEnvironment. etc/profile calls SetupEnvironment,
so we can consolidate all this there.

Also clean up some syntax.
2018-08-21 17:01:53 -04:00
Augustin Cavalier 26ae216d0e realtekwifi: Import from FreeBSD 11.1.
Untested, but requested by Anarchos.
2018-07-31 19:50:46 -04:00
Augustin Cavalier e89c61736e drivers/network/wlan: Import idualwifi7260 from FreeBSD 11.2.
The lowest model number supported by this driver is "3160", but that's just
Intel's insanity: the 7260 was released the quarter before it. So following
our naming convention strictly, "7260" is the correct name for this driver.

The firmware situation for this one is also a little different. Unlike past
instances where Intel has released mostly nonsubstantial firmware updates,
allowing us to just copy a recent-ish version from the iwlwifi archives,
the firmware is more closely tied to the driver in this series. As a result,
some of this firmware is not even used by Linux yet (they're a few versions
behind it seems), so the firmware packages included here come from FreeBSD.

One major hardware feature - RX of multiple frames at a time - is disabled
in this commit, as it depends on mbuf reference-counting, according to the
FreeBSD developers I asked, which we do not implement yet. I'll hopefully
get to looking at that in the next few weeks.

And with that, I finally have WiFi on my primary laptop, my original reason
for setting out on this quest last year. This commit was pushed through it,
even :)
2018-07-04 20:46:32 -04:00
Jérôme Duval c48bd46fd8 remove unused firmware. 2018-06-29 16:36:32 +02:00
Augustin Cavalier c7258f02db PDF Writer & PDFlib: Remove from tree.
Now supplied via HaikuPorts packages.

I *think* this was the last component in the tree with a
non-OSI license.
2017-07-01 18:46:58 -04:00
luroh a09b074d3e Cleanup app_server built-in fonts
We bundle bitstream charter as a default font to use when nothing else
is available. We also used to bundle a Courier font, but it does not
work properly.

- Fix the license for Bitstream Charter, to include just the license and
no extra text.
- Add said license to AboutSystem
- Remove the Courier font from the package and from the source tree.

Fixes #11696.
2017-04-30 13:55:36 +02:00
Augustin Cavalier ad05d1f087 libs/agg: Remove GPC.
It was licensed with a "no commercial usage allowed" license, which if
we were using it would be a gray area at best. We weren't using it at all,
and AGG seems to have disabled building it by default, so just remove it
from the tree entirely.

Briefly discussed on IRC.
2017-03-18 19:27:45 -04:00
Augustin Cavalier a3e794ae45 be_apps/Deskbar: Remove.
The only file in here was Deskbar.h, which just included the "real"
Deskbar.h. Considering nothing in-tree cares about this, and only
a small number of applications at HaikuArchives do, and that Haiku already
broke BeOS source compatibility in lots of other ways, let's just remove
this deprecated cruft.
2016-07-29 18:41:30 -04:00
Augustin Cavalier bf628b4790 LibHTTPd: Remove license, it's just the BSD 2-Clause.
Also fix reference to now-removed MkDepend license and replace it with MIT.
2016-07-29 17:47:01 -04:00
Augustin Cavalier 241ac545e8 Bullet: Remove license file and AboutSystem credit.
We aren't really using Bullet itself; there are only two classes
(Quaternion and Vector3) which are from Bullet, and even they were
heavily modified. Furthermore, the Bullet license is really just the Zlib
license, which the Bullet source repository confirms (and you can see
by looking at its text.) It does not require attribution in documentation,
but only in the source code, and we aren't even using a substantial part
of it.
2016-07-29 17:37:49 -04:00
Augustin Cavalier 4f117b7751 Haiku's GLUT has been licensed under the MIT license since 2012...
... as we obtained permission from Mark Kilgard to do so (see commit
c3eddfc0682b99f28ddbe33a14dadc40dc5b5f71.) So update AboutSystem and
the licenses directory to reflect that.
2016-07-29 17:36:17 -04:00
Augustin Cavalier a83b9383fa Zlib license: Make it generic like the other licenses.
Fixes #12619.
2016-01-27 19:25:10 -05:00
Axel Dörfler d2eca26b73 Moved per user post install actions to first-login script.
* The same mechanism (and the same PostInstallScript) is used for this.
* If a file first_login exists in ~/config/settings/boot, the first-login
  scripts are launched, and the file removed.
* This fixes adding the deskbar tray icons even when there is no Deskbar
  running yet (for example on first boot when the FirstBootPrompt
  starts), or, IOW bug #12275.
2015-10-19 21:27:02 +02:00
Axel Dörfler 65ed8a5e87 Added post-install script, and start UserBootscript again.
* This is the final missing piece of the former boot process.
* Removed the unused Bootscript, and Bootscript.cd files.
2015-07-22 20:45:43 +02:00
Augustin Cavalier 82652e65f7 licenses: Remove UnRAR, only used by one port.
The "unrar" port now has its own copy.
2015-07-01 18:24:27 -04:00
Augustin Cavalier aa1c93fcd9 licenses: Remove 'Unicode', it's now part of the ICU license...
... that's in the HaikuPorts tree.
2015-07-01 18:24:24 -04:00
Augustin Cavalier f7061938a4 licenses: Remove MkDepend, just the MIT license.
Recipe already uses "MIT".
2015-07-01 18:24:22 -04:00
Augustin Cavalier e225789777 licenses: Remove ICU, only used by one program and outdated. 2015-07-01 18:24:19 -04:00
Augustin Cavalier b52caddca9 licenses: Remove Info-ZIP, only used by one program. 2015-07-01 18:24:16 -04:00