You are not logged in.

#1 2017-12-05 21:18:44

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,655
Website

[Arch_Extra] repository: apulse, tungsten-renderer, loksh, etc

Hello awesome Arch community smile

I have a few packages in an openSUSE Build Service repository that I thought might be useful to others:

  • tungsten-renderer, a high performance physically based renderer (https://github.com/tunabrain/tungsten/)

  • apulse, PulseAudio emulation for ALSA (for sound in Firefox without PulseAudio)

  • slurm, yet another network load monitor (https://github.com/mattthias/slurm)

  • dashbinsh, trivial package to re-link /bin/sh to dash

  • dash-static, static build of Debian's Almquist Shell, linked with musl

  • ksh93, new version of AT&T's KornShell (Meson Build)

  • loksh, a Linux port of OpenBSD's KornShell variant (static build, linked with musl)

  • mksh-static, static build of the MirBSD Korn Shell, linked with musl

  • procps-trad, compiled with --disable-modern-top!

  • rxvt-hoascode, stripped version of rxvt-unicode (no perl, no xft but added frills)

  • dwm, stripped version of suckless' minimal WM, (no ifdefs!) see https://github.com/Head-on-a-Stick/dwm

  • hmenu, slightly taller version of dmenu (to match taller panel in dwm)

  • hoastatus, panel status readout (battery + date & time), based on https://github.com/drkhsh/slstatus

  • bunsen-pepperflash, mostly-working port of BunsenLabs' pepperflash installer (with systemd .timer for automatic updates)[1]

  • ttf-ms-fonts, Microsoft's core web fonts (open licence)

I will update the list if I add any more stuff, please post here if there are any problems with my repository.

To make use of any of these packages, first add my repository to the end of /etc/pacman.conf (the position is important and they must be placed after the official repositories):

[home_Head_on_a_Stick_Arch_Arch_Extra]
SigLevel = Never
Server = https://download.opensuse.org/repositories/home:/Head_on_a_Stick:/Arch/Arch_Extra/$arch

Then update the system and install the desired packages, for example:

# pacman -Syu apulse

Sample link (this one is for apulse):

https://software.opensuse.org//download … age=apulse

Enjoy!

[1] the notification system doesn't work, any help here would be appreciated (I haven't the time to fix it atm).

Last edited by Head_on_a_Stick (2018-05-06 14:00:53)

Offline

#2 2017-12-05 22:29:18

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: [Arch_Extra] repository: apulse, tungsten-renderer, loksh, etc

As a matter of curiosity, what does this pepper-flash package do better than the pepper-flash package in the official repos?


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#3 2017-12-05 22:35:27

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,655
Website

Re: [Arch_Extra] repository: apulse, tungsten-renderer, loksh, etc

^ It installs a systemd .timer to check the pepperflash version every day and update it if needed.

I started porting it when pepper-flash was in the AUR because I don't like to use AUR helpers and the automatic update feature renders them superfluous.

I finished packaging it the day that pepper-flash was moved to the official repositories and it immediately lost some of it's "added value" because I Syu every day (I presume most others Archers have a similar fetish) hence the unfixed desktop notification system.

Offline

#4 2017-12-08 19:40:52

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,655
Website

Re: [Arch_Extra] repository: apulse, tungsten-renderer, loksh, etc

I've tweaked the rxvt-unicode package in the repository (required by dwm), slimmed the configuration down a bit and re-named it rxvt-hoascode (do you see what I did there?).

Xft & perl support have been removed along with a few other things, here is the modified PKGBUILD:

https://build.opensuse.org/package/view … D?expand=1

New figures:

$ pacman -Si rxvt-{hoas,uni}code
[...]
Name            : rxvt-hoascode [...]
Download Size   : 412.40 KiB
Installed Size  : 2343.00 KiB
[...]
Name            : rxvt-unicode [...]
Download Size   : 665.73 KiB
Installed Size  : 3122.00 KiB

ps_mem says:

# rxvt-hoascode
  4.6 MiB + 268.5 KiB =   4.8 MiB	urxvtd

# rxvt-unicode
 10.8 MiB + 429.5 KiB =  11.2 MiB	urxvtd

Less is the new more smile

Install it with:

# pacman -Syu rxvt-hoascode

Last edited by Head_on_a_Stick (2017-12-08 22:08:02)

Offline

#5 2017-12-09 20:59:27

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,655
Website

Re: [Arch_Extra] repository: apulse, tungsten-renderer, loksh, etc

Added procps-trad, a build of procps-ng with the "--disable-modern-top" option applied to rid the top(1) command of the Masque of the Red Death, details here:

https://bbs.archlinux.org/viewtopic.php?id=232506

Install it with:

# pacman -Syu procps-trad

https://software.opensuse.org//download … =procps-ng

Offline

#6 2017-12-10 00:17:33

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,655
Website

Re: [Arch_Extra] repository: apulse, tungsten-renderer, loksh, etc

Fixed a bug in the mksh-static package whereby the root account may be unable to login after package removal so please `pacman -Syu` ASAP, thanks!

EDIT: I will be applying the fix to my AUR packages as well once I can get my OpenBSD box booted (don't ask).

EDIT2: done! Do the `git pull && makepkg -sri` dance at your earliest convenience.

Last edited by Head_on_a_Stick (2017-12-10 03:03:10)

Offline

#7 2017-12-12 23:10:13

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,655
Website

Re: [Arch_Extra] repository: apulse, tungsten-renderer, loksh, etc

Packaged up the new Meson Build of ksh93 (AT&T's original KornShell):

# pacman -Syu ksh93

https://software.opensuse.org//download … =ksh93-git

The version is unique to my package:

Xanadu: ~ $ echo $KSH_VERSION
Version BIJM 93v- 2014-12-24
Xanadu: ~ $

The packaging is a bit hacky because I've ripped the documentaion (including the licence) and /etc/skel/.kshrc from the Debian ksh package and simply uploaded them to the OBS to be incorporated into the package.

I will try to write that process into the prepare() section instead for future versions.

Offline

#8 2017-12-15 07:28:48

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,655
Website

Re: [Arch_Extra] repository: apulse, tungsten-renderer, loksh, etc

Added OpenRC (along with openrc-sysvinit and sysvinit itself):

https://software.opensuse.org//download … age=openrc

Install the whole lot with:

# pacman -Syu openrc

Disclaimer: I haven't tested this (yet).

Offline

#9 2017-12-15 21:33:50

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,655
Website

Re: [Arch_Extra] repository: apulse, tungsten-renderer, loksh, etc

ksh93 update:
Head_on_a_Stick wrote:

I will try to write that process into the prepare() section instead for future versions.

This is now done: I have a PKGBUILD that will download the ksh .deb file, unpack it and then include the man pages, functions and assorted documentation in the package along with a copy of the (Eclipse) licence:

https://github.com/Head-on-a-Stick/ksh93

If anybody has the time to glance over the PKGBUILD and offer any feedback it would be most appreciated, even if it's just to laugh & point big_smile

I will upload this to the AUR soon.

Unfortunately, I can't get the openSUSE Build Service to download the .deb file independently so I've had to upload it manually but otherwise the binary should have the exact same content as a locally-built package.

Oh, and `shcomp` actually works now, which is nice.

Finally, the upstream development is nothing short of rampant so I will be triggering a rebuild of the binary package against the latest git master every day (or so).

OpenRC update:

Added openrc-arch-services:

https://software.opensuse.org//download … h-services

These are a complete set of Arch OpenRC service scripts, I will also update this package every day (or so) and the version is set by the build date wink

EDIT: I still haven't actually tested this yet, sorry!

Last edited by Head_on_a_Stick (2017-12-15 21:34:20)

Offline

#10 2017-12-17 15:50:26

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,655
Website

Re: [Arch_Extra] repository: apulse, tungsten-renderer, loksh, etc

Updated the ksh93 package, it appears that the Meson Build does in fact produce all of the documentation and custom functions so I've removed the prepare() section and now the package now just includes the sample.kshrc and LICENSE [sic] files.

I think this package is now "production ready" so I will upload it to the AUR later today.

EDIT: the AUR package will be called ksh93-git and will conflict with (and provide for) this binary package and also the extant ksh package in the AUR.

Last edited by Head_on_a_Stick (2017-12-17 15:54:20)

Offline

#11 2017-12-21 20:02:36

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,655
Website

Re: [Arch_Extra] repository: apulse, tungsten-renderer, loksh, etc

There may be a problem with the most recent upstream master build of ksh93: https://github.com/att/ast/issues/249

If anybody else wants to test this pkgrel=10 should be available soon and is built from that version.

Anybody who doesn't want to test it should tell pacman big_smile

Offline

#12 2017-12-24 01:34:56

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,655
Website

Re: [Arch_Extra] repository: apulse, tungsten-renderer, loksh, etc

I think we have pinned down the problem with ksh93 but it may take a while for upstream to address the issue.

Until then, I have applied a patch locally:

https://raw.githubusercontent.com/Head- … hoas.patch

ksh93-2014.12.24-11 is the fixed version wink

I will update the AUR package soonest.

Offline

#13 2017-12-24 16:02:00

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,655
Website

Re: [Arch_Extra] repository: apulse, tungsten-renderer, loksh, etc

Head_on_a_Stick wrote:

ksh93-2014.12.24-11 is the fixed version

I'm very sorry about this but I can't seem to get the OBS to apply the patch and the logs don't show me enough to find out how it's failing hmm

I will have to keep this binary unpatched and wait for an upstream fix so be aware that the shell will crash after 570 seconds, which isn't ideal.

For a patched version that actually works, use my AUR package instead:

https://aur.archlinux.org/packages/ksh93-git/

Offline

#14 2017-12-24 18:13:04

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,655
Website

Re: [Arch_Extra] repository: apulse, tungsten-renderer, loksh, etc

Double post! (Sorry)

I've figured out the patching process and v2014.12.24-11 should now be available.

The shell will no longer "time out" after 570 seconds, which is nice.

OBS wrote:

revision 108

I'm like British Rail — I get there eventually big_smile

Offline

#15 2017-12-27 13:05:51

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,655
Website

Re: [Arch_Extra] repository: apulse, tungsten-renderer, loksh, etc

The bug in the ksh93 package has been fixed and the patch removed for v2014.12.24-12

I've also added loksh, which is a Linux port of OpenBSD's KornShell variant.

EDIT: download link:

https://software.opensuse.org//download … kage=loksh

Last edited by Head_on_a_Stick (2017-12-27 13:17:04)

Offline

#16 2018-01-20 12:45:31

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,655
Website

Re: [Arch_Extra] repository: apulse, tungsten-renderer, loksh, etc

mksh R56c is out, this is a bugfix-only release and everybody should upgrade:

http://www.mirbsd.org/mksh.htm#clog

Download links:

https://software.opensuse.org//download … ksh-static

https://software.opensuse.org//download … mksh-fixed

(Sorry for the delay with this one, I was preoccupied with the Meltdown/Spectre furore)

Offline

#17 2018-02-18 10:02:47

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,655
Website

Re: [Arch_Extra] repository: apulse, tungsten-renderer, loksh, etc

I've removed the OpenRC stuff because my Arch laptop is broken and I can't test them any more, sorry.

People wanting to run Arch without systemd should perhaps look at Parabola's OpenRC edition instead:

https://wiki.parabola.nu/OpenRC

Offline

#18 2018-02-25 14:41:59

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,655
Website

Re: [Arch_Extra] repository: apulse, tungsten-renderer, loksh, etc

Added slurm and also brought ksh93 up to date, it no longer requires lib{ast,cmd,coshell}.

EDIT: download link for slurm:

https://software.opensuse.org//download … kage=slurm

Last edited by Head_on_a_Stick (2018-02-25 16:30:10)

Offline

#19 2018-02-25 16:35:20

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,655
Website

Re: [Arch_Extra] repository: apulse, tungsten-renderer, loksh, etc

The Microsoft core web fonts are now available:

https://software.opensuse.org//download … f-ms-fonts

Those are the open licence versions but I am in the process of hacking out the Win10 fonts for another package, I won't post the details here (for obvious reasons) — `pacman -Ss win10` should find them if you have my repository listed in /etc/pacman.conf

I've also cleaned out the repository a bit and removed sysvinit and featherpad because I don't use them.

Offline

#20 2018-03-01 09:33:42

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,655
Website

Re: [Arch_Extra] repository: apulse, tungsten-renderer, loksh, etc

I've just updated the musl version to 1.19 which has caused loksh & mksh-static to be rebuilt against it so please update if you use either shell.

Offline

#21 2018-03-10 22:46:17

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,655
Website

Re: [Arch_Extra] repository: apulse, tungsten-renderer, loksh, etc

Added dashbinsh, a trivial package that re-links /bin/sh to dash (just like in Debian):

https://software.opensuse.org//download … =dashbinsh

Note that any system-critical scripts that carry a /bin/sh shebang but contain bashisms will break after this package is installed.

See also https://wiki.archlinux.org/index.php/Da … g_bashisms

EDIT: added dashbinsh to the AUR:

https://aur.archlinux.org/packages/dashbinsh/

Get voting folks, you know it makes sense! big_smile

Last edited by Head_on_a_Stick (2018-03-11 13:21:44)

Offline

#22 2018-03-13 20:36:55

sonoran
Member
From: sonoran desert
Registered: 2009-01-12
Posts: 192

Re: [Arch_Extra] repository: apulse, tungsten-renderer, loksh, etc

Greetings Head_on_a_Stick:
Attempting to install apulse from your repo, pacman says:

:: File /var/cache/pacman/pkg/apulse-0.1.10-1-x86_64.pkg.tar.xz is corrupted
(invalid or corrupted package (checksum)).

Should I abort the installation?

Offline

#23 2018-03-13 21:12:12

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,655
Website

Re: [Arch_Extra] repository: apulse, tungsten-renderer, loksh, etc

sonoran wrote:

Should I abort the installation?

Yes, for now, thanks for reporting this.

Did you have apulse installed from the AUR previously?

I think a version bump may fix this.

EDIT: I've bumped the $pkgrel so wait about half an hour then try again, thanks!

EDIT2: the OBS is slow tonight, here is a link to the package:

https://download.opensuse.org/repositor … pkg.tar.xz

Last edited by Head_on_a_Stick (2018-03-13 22:56:15)

Offline

#24 2018-03-14 16:25:13

sonoran
Member
From: sonoran desert
Registered: 2009-01-12
Posts: 192

Re: [Arch_Extra] repository: apulse, tungsten-renderer, loksh, etc

Thanks - "pacman -Syu apulse" completed successfully this morning.
No, I haven't tried apulse before. Pulseaudio seems to about double the
cpu load when I listen to music on an old acer aspire (with crappy battery)
compared to plain alsa  - hoping apulse will help with that.

Offline

#25 2018-05-06 13:54:36

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,655
Website

Re: [Arch_Extra] repository: apulse, tungsten-renderer, loksh, etc

I've had to remove Mitsuba and the associated dependencies: gcc5, glew-1.13.0, glewmx & collada-dom{,-mitsuba} — I can't get the current package to build at all and the glew versions cause havoc with other programs, sorry hmm

To replace it I have packaged up the Tungsten renderer:

Tungsten is a physically based renderer originally written for the yearly renderer competition at ETH. It simulates full light transport through arbitrary geometry based on unbiased integration of the rendering equation. To do this, Tungsten supports various light transport algorithms such as bidirectional path tracing, progressive photon mapping, primary sample space metropolis light transport and more.

Tungsten is written in C++11 and makes use of Intel's high-performance geometry intersection library embree. Tungsten takes full advantage of multicore systems and tries to offer good performance through frequent benchmarking and optimization. At least SSE3 support is required to run the renderer.

https://github.com/tunabrain/tungsten/

Link here:

https://software.opensuse.org//download … n-renderer

I will also upload it to the AUR later.

Here is a rendering  of one of the example scenes included with the package:

TungstenRender.th.png

^ A Cornell Box filled with water — check out those caustics! cool

EDIT: this package won't work if the testing repositories are enabled because of gcc-libs (it was built with gcc v7), I've opened an issue upstream:

https://github.com/tunabrain/tungsten/issues/51

EDIT2: I've uploaded a -git version to the AUR:

https://aur.archlinux.org/packages/tung … derer-git/

Last edited by Head_on_a_Stick (2018-05-06 16:44:16)

Offline

Board footer

Powered by FluxBB