You are not logged in.

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

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 4,458
Website

[Arch_Extra] repository: openrc, apulse, ksh93, 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:

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

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

  • loksh, a Linux port of OpenBSD's KornShell variant

  • mksh-static, static build of the MirBSD Korn Shell, linked with musl ('cos glibc doesn't know how)

  • 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]

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 (2017-12-27 13:08:17)

Offline

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

Eschwartz
Trusted User/Bug Wrangler
Registered: 2014-08-08
Posts: 1,420

Re: [Arch_Extra] repository: openrc, apulse, ksh93, etc

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

Offline

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

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 4,458
Website

Re: [Arch_Extra] repository: openrc, apulse, ksh93, 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: 4,458
Website

Re: [Arch_Extra] repository: openrc, apulse, ksh93, 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: 4,458
Website

Re: [Arch_Extra] repository: openrc, apulse, ksh93, 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: 4,458
Website

Re: [Arch_Extra] repository: openrc, apulse, ksh93, 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: 4,458
Website

Re: [Arch_Extra] repository: openrc, apulse, ksh93, 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: 4,458
Website

Re: [Arch_Extra] repository: openrc, apulse, ksh93, 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: 4,458
Website

Re: [Arch_Extra] repository: openrc, apulse, ksh93, 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: 4,458
Website

Re: [Arch_Extra] repository: openrc, apulse, ksh93, 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: 4,458
Website

Re: [Arch_Extra] repository: openrc, apulse, ksh93, 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: 4,458
Website

Re: [Arch_Extra] repository: openrc, apulse, ksh93, 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: 4,458
Website

Re: [Arch_Extra] repository: openrc, apulse, ksh93, 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: 4,458
Website

Re: [Arch_Extra] repository: openrc, apulse, ksh93, 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: 4,458
Website

Re: [Arch_Extra] repository: openrc, apulse, ksh93, 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

Board footer

Powered by FluxBB