Commit Graph

218 Commits

Author SHA1 Message Date
François Revol
6f80a9801f Some script for a crude convertion from Hugo to Pandoc
I wrote this to make a print copy of my lenovo blog post.

Change-Id: Id39bfda3d95532a4049b58d9008b695f340513ed
2022-05-29 23:29:46 +02:00
Alexander von Gluck IV
7bbfd0ff49 3rdparty/docker/bootstrap: Cleanup, little modernization
Change-Id: Icc16b3fca48ffe072aed06c495d93fc3c74deead
2022-03-28 19:38:38 -05:00
Alexander von Gluck IV
52f7c93894 3rdparty/pulkomandy: Fix rm on unbootstrap script
Change-Id: I8c58195906e426971dc1ebd9ae2da23cfa6159c8
2022-03-28 19:38:38 -05:00
Alexander von Gluck IV
9e25244c5e 3rdparty/vagrant: Add our vagrant templates
* I have to figure out how to do this every major
  release, put here to document somewhat.
* The os images are empty files for obvious reasons
* This vagrant box is used by qemu for their automated
  testing under Haiku
  https://github.com/qemu/qemu/blob/master/tests/vm/haiku.x86_64

Change-Id: I8e02104063284a96e1672051e3d504a78a64cfe3
2022-02-16 12:09:06 -06:00
Alexander von Gluck IV
4c8e85b316 3rdparty/docker/bootstrap: Fix bootstrap container
* Update for newer git (init -b support)
* Fix configure args for new cross-tools-source

Change-Id: I757a1a48affb8cd98ddd8a0890393bdb6bc2a81f
2021-12-12 14:24:21 -06:00
Alexander G. M. Smith
610f99c838 3rdparty/os_probe: Use Debian's #!/bin/sh.
Had a look at the actual Debian os-prober (1.79) package and found
that they use /bin/sh as their shell for all their os-prober scripts.
So for Fedora and other downstream packages, someone must be going
through all the scripts and changing them to /usr/bin/sh.  Switch
to the Debian variety since they're the upstream of everybody for this.

Change-Id: I2bed8cb133640861311061261ff0cae8ae6f2648
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4599
Reviewed-by: Alexander G. M. Smith <agmsmith@ncf.ca>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2021-10-17 18:09:26 +00:00
Alexander G. M. Smith
0b057a903f 3rdparty/os_probe: Better wording, fix Beta+ version parsing.
Add lots of comments explaining things in the code.  Also fix parsing
of Beta updates which have hrev version numbers with an extra bit at
the end, like hrev12345_67.  Include architecture in the GRUB menu
title, so you can tell 32 bit and 64 bit installs apart.  Switch
back to #!/usr/bin/sh, like all the other probes do.

Change-Id: Id47afe5029369c739d5177b1dd917c7d1d631ad6
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4498
Reviewed-by: Alexander G. M. Smith <agmsmith@ncf.ca>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-10-05 16:07:01 +00:00
Alexander G. M. Smith
c09821c07d 3rdparty/os_probe: August 2015 version of 83Haiku.
This one seems to be the final collated version with the previous
patches and ideas all included.  It's version 42 (dated 20150811)
put together by Jeroen Oortwijn at
https://bazaar.launchpad.net/~idefix/ubuntu/trusty/os-prober/HaikuPM/files/head:/os-probes/mounted/x86

Change-Id: Ia7f276b45a5766c5f5bf1495d3726e5d475e2eee
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4497
Reviewed-by: Alexander G. M. Smith <agmsmith@ncf.ca>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-10-05 16:07:01 +00:00
Alexander G. M. Smith
3958b5545b 3rdparty/os_probe: First 83haiku with Package Manager support.
Change-Id: I9c660b1569b5439f2cd9088fde4e96512e7817d8
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4496
Reviewed-by: Alexander G. M. Smith <agmsmith@ncf.ca>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-10-05 16:07:01 +00:00
Alexander G. M. Smith
0235470472 3rdparty/os_probe: Original 83haiku GRUB auto detect Haiku.
Original version of 83haiku as seen in Debian Linux, for detecting
pre-package based Haiku OS and automatically setting up a GRUB
boot menu item for bootable Haiku partitions.

Change-Id: I0d1fe4c9b395e7912b2398ab6bac5c25d92aa64a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4495
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Alexander G. M. Smith <agmsmith@ncf.ca>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-10-05 16:07:01 +00:00
Coldfirex
3d4afef9cb Bump vmx files to virtualHW.version = '13'
Will allow USB3, 64vCPU, NVME, etc.  Versions below 13 are only for vmware products currently EOL.

Change-Id: I83303ab985f615852267e2539b350f72f05231e7
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4410
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-08-31 16:05:50 +00:00
Alexander von Gluck IV
ae5abb5826 3rdparty: A small script to setup an SD card for the Unmatched
Change-Id: I275f62b2b16017b1735f0b4319ebd1a596da0cdd
2021-08-15 10:11:27 -05:00
Panagiotis Vasilopoulos
39e2ee5186 Replaced and updated Docker images
Change-Id: I981a4a3416b3827a3d834f0103527b0432cbdb87
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3915
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-05-19 05:42:07 +00:00
Adrien Destugues
ae0a10cad3 Update readme for docker images
There was some confusion about what they are and how they are used.
Hopefully this clarifies things a bit.
2021-05-16 18:04:16 +02:00
John Scipione
22758f1690 Revert "IK: align BTextView text rect/fix alignment"
This reverts commit a9b301871d.

hrev54496

Change-Id: Ife3c834ad98d330f04976d9adf3b1553e7aca034
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3153
Reviewed-by: Axel Dörfler <axeld@pinc-software.de>
2020-08-19 03:38:41 +00:00
John Scipione
a9b301871d IK: align BTextView text rect/fix alignment
Preserve passed in text rect in fTextRext (unless in layout)
and create an internal version fAlignedTextRect which is used
in place of fTextRect. fAlignedTextRext is aligned to fit the
text rect bounds and grows to fit. fAlignedTextRect always grows
vertically but only grows horizontally if wrap is off.

Left-aligned text view's grow right, right-aligned ones grow left,
and center center aligned ones grow out.

Set fTextRect to bounds in _DoLayout().

Reduce left and right padding inside text views from full label
spacing to half label spacing. Unify padding between BTextControl
and BTextView.

Fixing padding also fixes right and center-aligned BTextViews.

Undo extra scrolling for non-left text views from hrev24130 fixing
a scrolling left and right with mouse bug when it shouldn't.

Replace max_c and min_c with std::max and std::min respectively.

Remove scrolling from one instance of BTextView::SetText as it
produced undesired results while editing a scrolled text view.

Set text rect in BTextControl::DoLayout() and ScreenSaver
PreviewView::AddPreview().

Don't add padding if BTextView::SetInsets() is called. Set insets
to 0 in Tracker "Edit name" setting which prevents default padding
from being added. This is so that when you rename a file in Tracker
the TextView appears on top of the file name text with no padding.

80 char limit fixes.

Fixes #1651 #12608 #13796 #15189 #15688

Change-Id: I8c6106effc612f49aff374f29742471628b5df86
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3054
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2020-08-06 11:51:15 +00:00
Alexander von Gluck IV
42f51416eb docker/bootstrap: ensure work volume exec, fix dependencies
Change-Id: I8b8d3a2f3b5a09063b183dc355407908cc2640f6
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2763
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2020-05-21 14:03:24 +00:00
Alexander von Gluck IV
6f9861ccf7 docker/bootstrap: Add missing autopoint tools
Change-Id: I3dd3de1611f55d92b1f3c1edde28d4807a5aec8a
2019-12-09 13:45:14 -06:00
Alexander von Gluck IV
5c9ee5d028 docker/bootstrap: rename init to prep to be consistent
Change-Id: Ie6dc9061b13b23997f84a1ffe886d7e09c242cf0
2019-12-09 13:45:14 -06:00
Alexander von Gluck IV
b84574958d 3rdparty/docker/bootstrap: Fix a few potential mis-steps during the bootstrap init
Change-Id: I381fd7c00957e9d6797b0a79beacdef981593d3f
2019-12-09 10:28:45 -06:00
François Revol
96e0ae70d4 dump_windows: off-by-1
Change-Id: Iaa6bd350cbc8b07016f7a73a267107431e173e93
2019-09-17 19:56:34 +02:00
François Revol
f60531661b Add a dump_windows script to help with automating screenshoting
Oddly hey hangs when asking Pe, someone should investigate.

Change-Id: Ic94d0a2600ceae5f73ce11d5666b6a7abd54c0c0
2019-09-17 19:32:32 +02:00
Alexander von Gluck IV
0dbb417d43 3rdparty/docker/bootstrap: Fix defaults to be more generic and engine selection
Change-Id: I8a1e3c6bd641ea08a5a06985389269d708d94655
2019-07-01 14:07:03 -05:00
Alexander von Gluck IV
23c507bd15 docker/bootstrap: Add alternative fedora bootstrap container
Change-Id: I2e77f04a6b74858abf74a266a360dbf1dba4bed7
2019-06-19 11:25:05 -05:00
Alexander von Gluck IV
4b0251ba5b docker/bootstrap: Improve local code injection
Change-Id: Ib1961d829ef1418a9b64307c73a01bab3520279a
2019-06-19 11:24:18 -05:00
Augustin Cavalier
db408f1835 docker/bootstrap: Add libncurses-dev, needed by texinfo. 2019-06-15 16:21:25 -04:00
Alexander von Gluck IV
6018afcd9d docker/bootstrap: A few tweaks to your life easier
Change-Id: I591e108f9a5007423a5dee541e94b2be2342c5a8
2019-06-03 08:42:08 -05:00
Alexander von Gluck IV
d214cb5e13 3rdparty/docker/bootstrap: Fix repo urls that don't work anymore
Change-Id: I91b324984b1abc69bb015117a9505be0e6541294
2019-04-15 13:25:55 -05:00
Alexander von Gluck IV
c59cde3d69 riscv32: Drop any remaining mentions
* I added this early on, but to be honest, any interesting
  workstation class hardware would be riscv64.
* Since riscv32 is mostly embedded or low power, just drop.

Change-Id: Id36274c882c46e766268f2ab53eb1bd5f95227be
Reviewed-on: https://review.haiku-os.org/c/1352
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2019-04-04 13:23:32 +00:00
Alexander von Gluck IV
7a180033de docker/bootstrap: Fix sysroot stage variable
Change-Id: Icb7d83fd60d85a107601012f906ed7bf63f0eb61
2019-04-03 20:47:12 -05:00
Alexander von Gluck IV
e8b4366330 docker/bootstrap: Add sysroot stage flag to chroot tool
Change-Id: I7a6303cb11756b66d6d3379063f2402b3b38b7c6
2019-04-03 20:43:45 -05:00
Alexander von Gluck IV
7f94422796 docker/bootstrap: Add vim/nano to assist in bootstrap
Change-Id: I822e4af05754296a0c4415028230475ea7fb6be0
2019-03-19 13:33:12 -05:00
Alexander von Gluck IV
f4dca556ad bootstrap: Fix PS1 to solve entering chroot via haikuporter
Change-Id: Ida03530aea9ab5075af3a951cf5804d7c5694490
2019-02-15 11:51:11 -06:00
Alexander von Gluck IV
54624bda43 bootstrap: Add some tools to test bootstrap steps
Change-Id: Idac85d5b7c1fadd371efd13fa788a03656e82e66
2019-02-15 11:27:04 -06:00
Alexander von Gluck IV
c5287be1f3 3rdparty/bootstrap: kill any running bootstrap containers before rm
Change-Id: Id36226f121d4a75adc4799ae6cd8cddff2149b10
2018-11-20 14:53:13 -06:00
Alexander von Gluck IV
76392ecac7 3rdparty/configure.py: Add warning to generated BuildConfig
Change-Id: I00110260efebf07aef81bc618d7e07c73aa07fa4
2018-11-16 16:19:28 -06:00
Alexander von Gluck IV
4d182b9b57 3rdparty/configure.py: Allow infinite architecture additions
Change-Id: Icdc2cb6cd63a1cd425f71d05d2f6dec72c0a3a07
2018-11-15 16:32:22 -06:00
Alexander von Gluck IV
cf62f22ad0 3rdparty/configure.py: Fill out BuildConfig and Jamfile
Change-Id: I57eb5081710b0b8b596a997a460d4d607e97d543
2018-11-15 14:45:30 -06:00
Alexander von Gluck IV
535dbc1368 3rdparty/configure.py: Experimental python configure script
Change-Id: I91c3fc194ca8e8c870f6f1b27c747d9e4d468ecc
2018-11-15 13:36:29 -06:00
Alexander von Gluck IV
8850049390 docker/bootstrap: Add missing pkg-config for ICU
* ARM now gets up to the ICU build failures. (yay?)

Change-Id: Iaad978fe86f8cbb57e553bc3584bd8351559c7dc
2018-11-04 09:13:24 -06:00
Alexander von Gluck IV
3a92284113 docker/bootstrap: Make README.md a bit more detailed
Change-Id: If095b584cd99521770280533359da5024ff745bf
2018-11-04 09:05:15 -06:00
Alexander von Gluck IV
1b7e0197c1 docker/bootstrap: zlib needs cmake
Change-Id: I460f811bd2ea144ea8121772024e19686e2fa9bb
2018-11-04 09:04:48 -06:00
Alexander von Gluck IV
9f35df2324 docker/bootstrap: Add --debug to get better haikuporter debug output
Change-Id: I8e9a093a28c96b334f3747d1624b9ee6d5fe9844
2018-11-04 08:37:54 -06:00
Alexander von Gluck IV
bae2263db9 docker/bootstrap: Add extra gcc bootstrap requirements
Change-Id: Icacba4faaaab7e9af2b04225f99ef00ea4753606
2018-11-02 22:32:12 -05:00
Alexander von Gluck IV
131f09907e docker/bootstrap: Add a few tools to bootstrap in a container
* The bootstrap process will pick up on local toolchains such
  as clang and use them instead of the correct gcc cross-tools.
* This limits environmental factors which can break bootstrap.

Change-Id: Iacdd2a44cf26e18f838c9251fb9eddfbcb12565e
2018-11-02 15:12:04 -05:00
Augustin Cavalier
faf38d0fc0 3rdparty/qtcreator: bash, not sh. 2018-08-01 18:23:15 -04:00
Augustin Cavalier
eee9114c2d 3rdparty/qtcreator: Add missing copyright notice. 2018-06-30 20:09:38 -04:00
Augustin Cavalier
b31cb92f29 3rdparty/qtcreator: Support for multiple directories in one project. 2018-06-24 23:52:09 -04:00
Alexander von Gluck IV
8b4c84e838 3rdparty/unbootstrap: Correct source packages as well 2018-03-08 10:45:59 -06:00
Alexander von Gluck IV
cbad07e314 validateRepoFile: A quick validation of Jam repository definitions
Change-Id: I4e0b23dbb92a8c2377ad6e66cf63c499b66ba3ac
2018-03-06 17:39:46 -06:00