pete created a branch plan9 in pete/awki

@pete pete created a branch in pete/awki · December 1, 2023 08:15

Updated Dec 1


pete created a tag v0.1 in pete/awki

@pete pete created a tag in pete/awki · December 1, 2023 08:15

Updated Dec 1


pete starred argosopentech/argos-translate

@pete pete starred argosopentech/argos-translate · November 27, 2023 00:41

Open-source offline translation library written in Python

Python 2.7k 29 issues need help Updated Nov 23


pete starred robertknight/tesseract-wasm

@pete pete starred robertknight/tesseract-wasm · November 21, 2023 22:14

JS/WebAssembly build of the Tesseract OCR engine for use in browsers and Node

TypeScript 151 1 issue needs help Updated Jul 13


pete starred clockworkpi/apt

@pete pete starred clockworkpi/apt · November 20, 2023 19:49

3 Updated Aug 31


pete created a repository pete/pkgutils

@pete pete created a repository pete/pkgutils · November 18, 2023 00:22

Mirror of the crux.nu pkgutils. It looks like I patch them only once every 13 years.

Updated Nov 18


pete created a branch master in pete/pkgutils

@pete pete created a branch in pete/pkgutils · November 18, 2023 00:23

Updated Nov 18


pete created a branch retain-old-libs in pete/pkgutils

@pete pete created a branch in pete/pkgutils · November 18, 2023 00:23

Updated Nov 18


pkgmk: use --compression=none for wget by default.

pkgmk: use --compression=none for wget by default.
  • [DH] pkgmk.in

bump version

bump version
  • [DH] Makefile

pkgadd.conf: Don't overwrite rc.d/wlan on update

pkgadd.conf: Don't overwrite rc.d/wlan on update
  • [DH] pkgadd.conf

pkgmk: dropped bzip2 support, added support for lzip

pkgmk: dropped bzip2 support, added support for lzip
  • [DH] pkgmk.conf.5.in
  • [DH] pkgmk.in

pkgutils 5.40.7

pkgutils 5.40.7
  • [DH] Makefile

faster strip_files() function

faster strip_files() function

Tested with a port with 5500 output files, from which 53 candidates
for stripping. The timing was:
	- 30  secs (old code)
	- 0.2 secs (new code - current patch)
	- 1.4 secs (new code with proper quoting - not commited)

Most of the time is spent in getting the output from the file program.

The old code started the file program for every file.

The new/present code starts N=$(nproc) processes in parallel with 10 input
files for each 'file' process. The output of the file program is feed
to an awk process which filters-out only the candidates for stripping.
This process runs in parallel too (but with one file per strip process).

The --no-buffer options is used because it sounds good (the strip should
start as soon as one of the file processes has a verdict for one of
their 10 files), but I didn't measure it.

The "xargs -r -L10 -P$N" command will miss the files with spaces.
For a file named "a b" it will spawn:
	file "a" "b"
A slower version, with proper quoting, "xargs -r -L1 -P$N -I{} file ... '{}'",
will spawn:
	file "a b"

* xargs will force -L1 if -I{} is used

Given that the file process doesn't return error codes for non-existing
files, and that there is a very low probability that we have ports with
filenames constaining spaces that are worth stripping them, I choose to
keep the faster (non perfect) version.
  • [DH] pkgmk.in

pkgadd: add lzip support (closes FS#1638)

pkgadd: add lzip support (closes FS#1638)

It should complete the commit ae5df6094b41 ('pkgmk: dropped bzip2 support, added support for lzip').

Signed-off-by: Fun 
  • [DH] pkgmk.conf.5.in
  • [DH] pkgutil.cc

readd bz2 support - don't commit while drunk

readd bz2 support - don't commit while drunk
  • [DH] pkgmk.conf.5.in
  • [DH] pkgmk.in

pkgmk: add possibility to change the name of downloaded tarballs

pkgmk: add possibility to change the name of downloaded tarballs
  • [DH] pkgmk.in

pkgfile.5: new man-page, initial work by fun

pkgfile.5: new man-page, initial work by fun
  • [DH] pkgfile.5.in

Makefile: add new man-page pkgfile.5

Makefile: add new man-page pkgfile.5
  • [DH] Makefile

pkgmk: call signify with absolute path

pkgmk: call signify with absolute path
  • [DH] pkgmk.in

Makefile: bump version

Makefile: bump version
  • [DH] Makefile

adjust copyright year

adjust copyright year
  • [DH] Makefile
  • [DH] README
  • [DH] main.cc
  • [DH] pkgadd.8.in
  • [DH] pkgadd.cc
  • [DH] pkgadd.h
  • [DH] pkginfo.8.in
  • [DH] pkginfo.cc
  • [DH] pkginfo.h
  • [DH] pkgmk.8.in
  • [DH] pkgmk.conf.5.in
  • [DH] pkgmk.in
  • [DH] pkgrm.8.in
  • [DH] pkgrm.cc
  • [DH] pkgrm.h
  • [DH] pkgutil.cc
  • [DH] pkgutil.h
  • [DH] rejmerge.8.in
  • [DH] rejmerge.in

pkgmk: set LC_ALL to C.UTF-8

pkgmk: set LC_ALL to C.UTF-8
  • [DH] pkgmk.in

pkgmk: use curl as the default download program

pkgmk: use curl as the default download program
  • [DH] pkgmk.conf
  • [DH] pkgmk.conf.5.in
  • [DH] pkgmk.in

pkgmk: added '--format=gnutar' to bsdtar call in build_package() to deal with some...

pkgmk: added '--format=gnutar' to bsdtar call in build_package() to deal with some locale issues
  • [DH] pkgmk.in

Makefile: fixed version, tweaked dist target

Makefile: fixed version, tweaked dist target
  • [DH] Makefile

Replaced egrep call, bumped to version 5.40.10

Replaced egrep call, bumped to version 5.40.10
  • [DH] Makefile
  • [DH] pkgmk.in

Ignore extended attributes when untarring packages.

Ignore extended attributes when untarring packages.

The author of sshfs shoved a bunch of OSX metadata into his tarball, and this
caused bsdtar to exit with an error, despite successfully extracting the files.
In general, it seems unwise to respect external filesystem metadata in a
tarball you get from the internet.
  • [DH] pkgmk.in

pete starred fediversespace/fediverse.space

@pete pete starred fediversespace/fediverse.space · November 13, 2023 00:23

The map of the fediverse you always wanted

Elixir 1 Updated Jun 10


pete starred malyn/MFORTH

@pete pete starred malyn/MFORTH · November 11, 2023 13:47

ANS Forth for the TRS-80 Model 100 laptop computer.

Assembly 17 Updated Mar 11, 2021


Don't use hardware cursor for rotated desktop

Don't use hardware cursor for rotated desktop

Fixes https://github.com/ssvb/xf86-video-fbturbo/issues/30

Signed-off-by: Siarhei Siamashka 
  • [DH] src/fbdev.c

vdpau: Report DRI2 VDPAU driver name as 'sunxi' on Allwinner hardware

vdpau: Report DRI2 VDPAU driver name as 'sunxi' on Allwinner hardware

Try to load the 'sunxi_cedar_mod' kernel module. And if it loads
successfully, then report the DRI2 VDPAU name as 'sunxi'. This allows to
use libvdpau-sunxi without setting the VDPAU_DRIVER environment variable.

Signed-off-by: Siarhei Siamashka 
  • [DH] src/sunxi_mali_ump_dri2.c

Check if the kernel framebuffer driver returns errors on bad ioctls

Check if the kernel framebuffer driver returns errors on bad ioctls

When probing for the copyarea ioctl, we want to be sure that the
kernel just does not return 0 (success) for any unsupported ioctls.
The rockchip vendor kernels have been reported to have this issue.

In the case if the support for the Raspberry Pi specific copyarea
ioctl was detected by mistake, moving windows or scrolling was
broken.

Signed-off-by: Siarhei Siamashka 
  • [DH] src/fb_copyarea.c

sunxi: probe both screen layers at disp probing

sunxi: probe both screen layers at disp probing

Some boards use an inverted screen layer configuration, making the
original code unable to enable disp layers functionality properly.

This commit adds a fallback mechanism to the actual disp probing
sequence, allowing those cases to be properly handled.

Signed-off-by: Jérôme Oufella 
  • [DH] src/sunxi_disp.c

sunxi_x_g2d: drop unused dri2 include

sunxi_x_g2d: drop unused dri2 include

The driver doesn't use DRI for anything.

Signed-off-by: Peter Korsgaard 
  • [DH] src/sunxi_x_g2d.c

Merge pull request #45 from jacmet/drop-dri2-include

Merge pull request #45 from jacmet/drop-dri2-include

sunxi_x_g2d: drop unused dri2 include
  • [DH] src/sunxi_x_g2d.c

remove neon assembly, backing_store_tuner, mali, ump

remove neon assembly, backing_store_tuner, mali, ump
  • [DH] src/Makefile.am
  • [DH] src/arm_asm.S
  • [DH] src/backing_store_tuner.c
  • [DH] src/backing_store_tuner.h
  • [DH] src/fbdev.c
  • [DH] src/fbdev_priv.h
  • [DH] src/sunxi_mali_ump_dri2.c
  • [DH] src/sunxi_mali_ump_dri2.h

update ioctl headers

update ioctl headers
  • [DH] src/Makefile.am
  • [DH] src/fbdev.c
  • [DH] src/g2d_driver.h
  • [DH] src/sunxi_disp.c
  • [DH] src/sunxi_disp.h
  • [DH] src/sunxi_disp_hwcursor.c
  • [DH] src/sunxi_disp_hwcursor.h
  • [DH] src/sunxi_disp_ioctl.h
  • [DH] src/sunxi_display2.h

add test-display2 playground:

add test-display2 playground:
  • [DH] src/fbdev.c
  • [DH] test-display2/Makefile
  • [DH] test-display2/g2d_driver.h
  • [DH] test-display2/main.c
  • [DH] test-display2/sunxi_display2.h

benchmarking new g2d

benchmarking new g2d
  • [DH] test-display2/Makefile
  • [DH] test-display2/main.c

add fullscreen rotation test

add fullscreen rotation test
  • [DH] test-display2/main.c

g2d rotation is working. g2d bitblt is not (glitches), disabled that.

g2d rotation is working. g2d bitblt is not (glitches), disabled that.
  • [DH] src/fbdev.c
  • [DH] src/sunxi_disp.c
  • [DH] src/sunxi_disp.h
  • [DH] src/sunxi_video.c
  • [DH] test-display2/main.c

fix g2d bitblt return values

fix g2d bitblt return values
  • [DH] Makefile.am
  • [DH] src/sunxi_disp.c

figured out g2d bitblt x forward error pattern

figured out g2d bitblt x forward error pattern
  • [DH] src/sunxi_disp.c
  • [DH] test-display2/main.c

implement corner fixup

implement corner fixup
  • [DH] src/cpu_backend.c
  • [DH] src/cpuinfo.c
  • [DH] src/sunxi_disp.c
  • [DH] test-display2/main.c

figured out g2d bitblt y forward error pattern

figured out g2d bitblt y forward error pattern
  • [DH] src/fbdev.c
  • [DH] src/fbdev_priv.h
  • [DH] src/sunxi_disp.c
  • [DH] src/sunxi_disp.h
  • [DH] src/sunxi_x_g2d.c
  • [DH] test-display2/main.c

add json compile database

add json compile database
  • [DH] src/compile_commands.json

wrap up for release

wrap up for release
  • [DH] .gitignore
  • [DH] 10-d1.conf
  • [DH] dispfd-daemon/devterm-r01-dispfd-daemon.service
  • [DH] dispfd-daemon/main.c
  • [DH] gen-release.sh
  • [DH] release_makefile
  • [DH] src/sunxi_disp.c
  • [DH] test-display2/main.c
  • [DH] xorg.conf

further probe y forward mitigation metrics

further probe y forward mitigation metrics
  • [DH] gen-release.sh
  • [DH] src/sunxi_disp.c
  • [DH] test-display2/main.c

Had to build this for Slackware.

Had to build this for Slackware.

Not great to do this without hooking into autotools.
  • [DH] dispfd-daemon/Makefile

pete pushed to pete in pete/inferno

@pete pete pushed to pete in pete/inferno · November 9, 2023 12:45
2 commits to pete