dot

packages and services management
Log | Files | Refs | README

commit 28a86885102eeb06047032fa544f115f69f90ff0
parent 0279983361723c2a166d3b88789bf1cfb5ca9a27
Author: Josuah Demangeon <mail@josuah.net>
Date:   Thu,  8 Mar 2018 18:22:55 +0100

ready to build ratox

Diffstat:
M.bashrc | 2+-
Magenda/main | 7+++++++
Mbin/mdoc | 59++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
Mbin/xdg-open | 10+++++-----
Apack/eel/build | 2++
Apack/icecast/build | 2++
Apack/ii/build | 2++
Apack/ired/build | 2++
Mpack/ired/tar | 3+--
Apack/jq/build | 2++
Apack/less/build | 2++
Apack/libalsa/build | 2++
Dpack/libb2/git | 1-
Apack/libsodium/build | 2++
Mpack/libsodium/tar | 2+-
Apack/libutf/build | 2++
Mpack/libvpx/build | 5++++-
Apack/mg/build | 2++
Apack/ratox/build | 5+++++
Mpack/ratox/config.mk | 21++++++++++-----------
Apack/scc/build | 2++
Apack/scrypt/build | 2++
Apack/tarsnap/build | 2++
Mrunit/ratox/run | 2+-
Msfeed | 13+++++++------
Muri | 1+
26 files changed, 127 insertions(+), 30 deletions(-)

diff --git a/.bashrc b/.bashrc @@ -1,4 +1,4 @@ -. ./.profile +. "$HOME/.profile" PS1='\[\033[31;1m\]$([ $? -gt 0 ] && printf "x\\n ")\033[m\] \[\033]0;$PWD\a\]\h\$ ' diff --git a/agenda/main b/agenda/main @@ -64,3 +64,10 @@ D:de présenter notre pièce TRTP .Tour d'Argent 2016 D:A 20mn environ à l'Est de Rennes, c'est tout près. Nous, nous vous D:attendrons pour 20H30 : +B:1520854200 +E:1520854200 +S:Eat with Dis Group employee/employer +C:eat +L:http://www.tavernedelamarine.com +D:Bring all information regarding availability +: diff --git a/bin/mdoc b/bin/mdoc @@ -9,6 +9,63 @@ case "$1" in sed -e 's/\\/\\\\/g' -e 's/^\./\\./' printf '.Ed' ;; +(start) + cat << EOF +$(date +'.Dd $Mdocdate: %B %d %Y$') +.Dt PROGNAME section +.Os +. +. +.Sh NAME +. +.Nm progname +.Nd one line about what it does +. +. +.Sh SYNOPSIS +. +.Nm progname +.Op Fl options +.Ar +. +. +.Sh DESCRIPTION +. +The +.Nm +utility +. +. +.\" .Sh CONTEXT +.\" For section 9 functions only. +.\" .Sh RETURN VALUES +.\" For sections 2, 3, and 9 function return values only. +.\" .Sh ENVIRONMENT +.\" For sections 1, 6, 7, and 8 only. +.\" .Sh FILES +.\" .Sh EXIT STATUS +.\" For sections 1, 6, and 8 only. +.\" .Sh EXAMPLES +.\" .Sh DIAGNOSTICS +.\" For sections 1, 4, 6, 7, 8, and 9 printf/stderr messages only. +.\" .Sh ERRORS +.\" For sections 2, 3, 4, and 9 errno settings only. +.\" .Sh SEE ALSO +.\" .Xr foobar 1 +.\" .Sh STANDARDS +.\" .Sh HISTORY +. +. +.Sh AUTHORS +. +.An Josuah Demangeon +.Aq Mt mail@josuah.net +. +. +.\" .Sh CAVEATS +.\" .Sh BUGS +EOF + ;; (*) - printf 'usage: mdoc dd | db\n' + printf 'usage: mdoc dd | db | start\n' esac diff --git a/bin/xdg-open b/bin/xdg-open @@ -133,7 +133,7 @@ case "$1" in fi ;; (http://*|https://*) - case "$1" in + case "$host" in (*vimeo.com*|*youtube.com*|*youtu.be*|*openload.co*) mkdir -p "$HOME/lib/video/$host" cd "$HOME/lib/video/$host" @@ -161,7 +161,8 @@ case "$1" in ;; (irc://*) [ "$port" = . ] && port='6667' - cp -r "$HOME/etc/runit/ii" "$SVDIR/ii-$host" + mkdir -p "$SVDIR" + cp -Pr "$HOME/etc/runit/ii" "$SVDIR" [ "$path" = . ] && exit sleep 3 printf '/j #%s\n' "$path" > "$HOME/var/irc/$host/in" @@ -220,13 +221,12 @@ case "$1" in exec $play < "$1" ;; (*.webm|*.mp4|*.mkv|*.ogv|*.avi) - exec ffplay -autoexit "$1" + exec ffplay "$1" ;; (*/music/*) find "$1" -type f | sort | while IFS='' read -r song do - printf '%s\n' "$song" - ffplay "$song" + ffplay -autoexit "$song" done ;; (*.[0-9]|*.[0-9]p|*.[0-9].gz) diff --git a/pack/eel/build b/pack/eel/build @@ -0,0 +1 @@ +../build/make+ \ No newline at end of file diff --git a/pack/icecast/build b/pack/icecast/build @@ -0,0 +1 @@ +../build/autotools+ \ No newline at end of file diff --git a/pack/ii/build b/pack/ii/build @@ -0,0 +1 @@ +../build/make+ \ No newline at end of file diff --git a/pack/ired/build b/pack/ired/build @@ -0,0 +1 @@ +../build/make+ \ No newline at end of file diff --git a/pack/ired/tar b/pack/ired/tar @@ -1 +1 @@ -http://www.radare.org/get/ired-0.5.0.tar.gz- \ No newline at end of file +http://www.radare.org/get/ired-0.5.0.tar.gz diff --git a/pack/jq/build b/pack/jq/build @@ -0,0 +1 @@ +../build/autotools+ \ No newline at end of file diff --git a/pack/less/build b/pack/less/build @@ -0,0 +1 @@ +../build/autotools+ \ No newline at end of file diff --git a/pack/libalsa/build b/pack/libalsa/build @@ -0,0 +1 @@ +../build/autotools+ \ No newline at end of file diff --git a/pack/libb2/git b/pack/libb2/git @@ -1 +0,0 @@ -git://github.com/BLAKE2/libb2 diff --git a/pack/libsodium/build b/pack/libsodium/build @@ -0,0 +1 @@ +../build/autotools+ \ No newline at end of file diff --git a/pack/libsodium/tar b/pack/libsodium/tar @@ -1 +1 @@ -https://github.com/jedisct1/libsodium/releases/download/1.0.13/libsodium-1.0.13.tar.gz +https://download.libsodium.org/libsodium/releases/libsodium-1.0.16.tar.gz diff --git a/pack/libutf/build b/pack/libutf/build @@ -0,0 +1 @@ +../build/make+ \ No newline at end of file diff --git a/pack/libvpx/build b/pack/libvpx/build @@ -2,8 +2,11 @@ ./configure \ --prefix="$OPT" \ + --enable-pic \ --disable-libyuv \ --disable-unit-tests \ - --disable-webm-io + --disable-webm-io \ + --disable-shared \ + --enable-static exec "$PACK/build/gmake" diff --git a/pack/mg/build b/pack/mg/build @@ -0,0 +1 @@ +../build/make+ \ No newline at end of file diff --git a/pack/ratox/build b/pack/ratox/build @@ -0,0 +1,5 @@ +#!/bin/sh -e + +cp -f "$PACK/ratox/config.mk" "config.mk" + +make PREFIX="$OPT" install diff --git a/pack/ratox/config.mk b/pack/ratox/config.mk @@ -2,7 +2,6 @@ VERSION = 0.4 # paths -PREFIX = /usr/local MANPREFIX = $(PREFIX)/share/man CC = cc @@ -12,17 +11,17 @@ CPPFLAGS = \ -DVERSION=\"${VERSION}\" \ -D_NSIG=NSIG -CFLAGS = \ - -I/usr/local/include \ - -I$(ROOT)/opt/libtox/include \ - -I$(ROOT)/opt/libvpx/include \ - -I$(ROOT)/opt/libopus/include \ +CFLAGS = \ + -I/usr/local/include \ + -I$(PACKROOT)/opt/libtox/include \ + -I$(PACKROOT)/opt/libvpx/include \ + -I$(PACKROOT)/opt/libopus/include \ -Wall -Wunused $(CPPFLAGS) -LDFLAGS = \ - -L/usr/local/lib \ - -L$(ROOT)/opt/libtox/lib \ - -L$(ROOT)/opt/libvpx/lib \ - -L$(ROOT)/opt/libopus/lib +LDFLAGS = \ + -L/usr/local/lib \ + -L$(PACKROOT)/opt/libtox/lib \ + -L$(PACKROOT)/opt/libvpx/lib \ + -L$(PACKROOT)/opt/libopus/lib LDLIBS = -ltoxcore -ltoxav -ltoxencryptsave -lopus -lvpx -lm -lpthread diff --git a/pack/scc/build b/pack/scc/build @@ -0,0 +1 @@ +../build/make+ \ No newline at end of file diff --git a/pack/scrypt/build b/pack/scrypt/build @@ -0,0 +1 @@ +../build/autotools+ \ No newline at end of file diff --git a/pack/tarsnap/build b/pack/tarsnap/build @@ -0,0 +1 @@ +../build/autotools+ \ No newline at end of file diff --git a/runit/ratox/run b/runit/ratox/run @@ -1,6 +1,6 @@ #!/bin/sh -e -path="$HOME/var/ratox" +path="$HOME/var/tox" mkdir -p "$path" cd "$path" diff --git a/sfeed b/sfeed @@ -1,6 +1,7 @@ -dragonflydigest.com https://www.dragonflydigest.com/feed -codemadness.nl http://www.codemadness.nl/rss.xml -kernel.org http://kernel.org/kdist/rss.xml -xkcd.com http://xkcd.com/atom.xml -research.googleblog.com http://feeds.feedburner.com/blogspot/gJZg -bitreich.org gopher://bitreich.org/0/news.atom.xml +dragonflydigest.com https://www.dragonflydigest.com/feed +codemadness.nl http://www.codemadness.nl/rss.xml +kernel.org http://kernel.org/kdist/rss.xml +xkcd.com http://xkcd.com/atom.xml +research.googleblog.com http://feeds.feedburner.com/blogspot/gJZg +bitreich.org gopher://bitreich.org/0/news.atom.xml +swordarmor.fr https://www.swordarmor.fr/feeds/all.rss.xml diff --git a/uri b/uri @@ -36,6 +36,7 @@ http://n-gate.com http://netsukuku.freaknet.org http://nixers.net http://nullprogram.com +http://openbsc.osmocom.org http://pdp11.aiju.de http://radio.2f30.org:8443/live.mp3 http://radio.phallic.io:8000/listen