[DNG] Lurking about

2015-08-05 Thread G.H.
Dear All,
I've been lurking on this list for about three months, I have to say I'm 
grateful for the immense amount of accumulated knowledge that I've been exposed 
to here since then. I now understand that my aversion to Systemd was a reaction 
but is now a more informed choice.
I'm using Crunchbang on Debian 7, as Wheezy is now an 'LTS' I'm holding out for 
a stable release of its descendent- BunsenLabs. In the event  of it becoming 
available I'd like to replace Debian Jessie repositories with Devuan's. I'm 
hoping, by then, to have enough skill to accomplish this.
Thanks and regards,
G.H.
 

-- 
G.H. 
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] How real is this?

2015-08-05 Thread Rainer Weikusat
a...@gulbrandsen.priv.no writes:
> It may be complete enough for that. Depends on your hardware, perhaps.

It shouldn't. A recent wheezy update broke/ changed something which
caused the fglrx driver to stop working for me and I didn't bother
to investigate this so far as it really doesn't offer anything the stock
vesa driver doesn't offer as well. But that's the only userland
component directly dealing with 'hardware'. Since anything else works
with the 3.2.54-based kernel I'm currently running, it ought to remain
in this way.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] [Ruby on rails - RVM] Patch for RVM and Devuan

2015-08-05 Thread aleskandro
Hi all, I have to develop a simple app in ruby on rails for an exam in my 
university. To deploy it I chose Devuan so that I can start to try it and not 
use systemd.
Installing rvm I see that it detect the distro 'automagically' to install 
needed dependencies: Devuan have not /etc/debian_version (but 
/etc/devuan_version) and the script doesn't recognize our distro.

Well I created a simple patch to solve this issue, I upload it here.

I opened an issue with this patch into github project of rvm (I don't know if 
it is the better way to sent a patch): 
https://github.com/rvm/rvm/issues/3482[1] 

A very small contribution to an important project

--
Happy hacking
Aleskandro


[1] https://github.com/rvm/rvm/issues/3482
diff -u --recursive --new-file rvm.old/scripts/functions/detect_system rvm/scripts/functions/detect_system
--- scripts/functions/detect_system	2015-08-05 15:29:50.124352334 +0200
+++ scripts/functions/detect_system	2015-08-05 15:39:00.640372870 +0200
@@ -58,6 +58,12 @@
 _system_version="$(\command \cat /etc/debian_version | \command \awk -F. '{print $1}' | head -n 1)"
 _system_arch="$( dpkg --print-architecture )"
   elif
+ 	[[ -f /etc/devuan_version ]]
+  then
+_system_name="Devuan"
+_system_version="$(\command \cat /etc/devuan_version | \command \awk -F. '{print $1}' | head -n 1)"
+_system_arch="$( dpkg --print-architecture )"
+  elif
 [[ -f /etc/os-release ]] &&
 GREP_OPTIONS="" \command \grep "ID=debian" /etc/os-release >/dev/null
   then
diff -u --recursive --new-file rvm.old/scripts/functions/requirements/devuan rvm/scripts/functions/requirements/devuan
--- scripts/functions/requirements/devuan	1970-01-01 01:00:00.0 +0100
+++ scripts/functions/requirements/devuan	2015-08-05 15:39:00.636372869 +0200
@@ -0,0 +1,141 @@
+#!/usr/bin/env bash
+
+# AMD64, i386, ARM.
+requirements_devuan_arch()
+{
+  __architecture="$(dpkg --print-architecture)"
+}
+
+# Queries the dpkg system for packages that are installed only asking about
+# the package name and it's arch.  This package will fall back to :all for
+# cases where we cannot get an arch specific package (such is the case
+# for a few packages.)
+
+requirements_devuan_lib_installed()
+{
+  dpkg-query -s "${1}:${__architecture}" >/dev/null 2>&1 ||
+  dpkg-query -s "${1}:all"   >/dev/null 2>&1 ||
+  dpkg-query -s "$1" 2>/dev/null | __rvm_grep "Architecture: ${__architecture}" >/dev/null ||
+  dpkg-query -s "$1" 2>/dev/null | __rvm_grep "Architecture: all"   >/dev/null ||
+  return $?
+}
+
+# Informs us if a package is even available on the distro we are working
+# with, this is more of a transitional method kind of like Ubuntu
+# has a transitional git-core package right now.  This will allow us
+# to continue to support older versions of Ubuntu while enforcing newer
+# packages on newer Ubuntu.
+
+requirements_devuan_lib_available()
+{
+  apt-cache show "$1" >/dev/null 2>&1 || return $?
+}
+
+requirements_devuan_libs_install()
+{
+  __rvm_try_sudo apt-get --no-install-recommends --yes install "$@" || return $?
+}
+
+requirements_devuan_update_system()
+{
+  __rvm_try_sudo apt-get --quiet --yes update ||
+  {
+\typeset __ret=$?
+case ${__ret} in
+  (100)
+rvm_error "There has been error while updating 'apt-get', please give it some time and try again later.
+404 errors should be fixed for rvm to proceed. Check your sources configured in:
+/etc/apt/sources.list
+/etc/apt/sources.list.d/*.list
+"
+;;
+esac
+return ${__ret}
+  }
+}
+
+requirements_devuan_define_java()
+{
+  update-alternatives --list ${1:-java} >/dev/null 2>&1 ||
+requirements_check_fallback \
+  openjdk-7-jre-headless openjdk-7-jdk oracle-j2sdk1.7 \
+  openjdk-6-jre-headless opendjk-6-jdk oracle-j2sdk1.6
+}
+
+requirements_devuan_define()
+{
+  \typeset __architecture
+  requirements_devuan_arch
+
+  case "$1" in
+(rvm)
+  requirements_check bash curl patch bzip2 ca-certificates gawk
+  ;;
+
+(jruby*)
+  requirements_check g++
+  if
+is_head_or_disable_binary "$1"
+  then
+requirements_devuan_define_java javac
+requirements_check_fallback git git-core
+if is_jruby_post17 "$1"
+then __rvm_which mvn >/dev/null || requirements_check_fallback maven maven2
+else __rvm_which ant >/dev/null || requirements_check ant
+fi
+  else
+requirements_devuan_define_java java
+  fi
+  ;;
+
+(ir*)
+  requirements_check curl mono-2.0-devel
+  ;;
+
+(opal)
+  requirements_check nodejs npm
+  ;;
+
+(rbx*head|rubinius*head)
+  requirements_check_fallback git git-core
+  requirements_ubuntu_libs_default clang llvm
+  rvm_configure_flags+=( --cc=clang --cxx=clang++ )
+  ;;
+
+(rbx*|rubinius*)
+  requirements_ubuntu_libs_default clang llvm llvm-dev libedit-dev
+  rvm_configure_flags+=(

[DNG] Patch aptitude to download changelogs

2015-08-05 Thread Riccardo Boninsegna
apt-get build-essential aptitude
apt-get source aptitude
cd aptitude-0.6.11

$EDITOR src/cmdline/cmdline_changelog.cc:341 src/view_changelog.cc:410
→ Change to [...] Origin(), "Devuan") [...]

$EDITOR src/gtk/changelog.cc
→ There's another "Debian" to change to "Devuan", but I didn't note
the line number...

dpkg-buildpackage -b -us -uc
then go eat a pizza or something! :)

Long-term proposal: we should run a changelog file server (such as
) and point various
files (more than the mentioned above) there, since pbviously these
changes alone won't help with Devuan modified and original packages!
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] Devuan on Raspberry Pi 2B

2015-08-05 Thread Florian Zieboll
Hello!

I just installed Devuan armhf on a headless Raspberry Pi 2 Model B,
using the raspian-ua-netinst image. The upgrade from this tiny Debian
Wheezy to Devuan Jessie /just worked/ - installing task-lxde-desktop
pulled in libsystemd0 as dependency of some "less essential" and easy
to remove packages, see below. 

This is what I did:

Raspberry Pi 2 Model B, ethernetted.

1) get raspbian-ua-netinst-v1.0.7.img.xz from 
   https://github.com/debian-pi/raspbian-ua-netinst/releases/ 
2) xzcat image to sdcard
3) check installer‑config.txt -> release=wheezy
4) boot sdcard -> ~10 min unattended netinstall procedure
5) ssh r...@pi.lan


### NOW LOGGED IN as r...@pi.lan ###

basic configuration:
  # dpkg-reconfigure locales
  # dpkg-reconfigure tzdata

edit /etc/apt/sources.list to contain only the line
  deb http://apt.devuan.org/merged stable main

manually deploy the changes from the (currently broken) devuan-baseconf
package http://packages.devuan.org/devuan/pool/main/d/devuan-baseconf/
to
  /etc/apt/preferences.d/
  and
  /etc/apt/apt.conf.d/

first apt-get update returns a warning about the missing apt
signing-key, so get the key (please verify key-id yourself): 
  # gpg && gpg --recv-keys 94532124541922FB
  # gpg --export -a 94532124541922FB | apt-key add -

go devuan:
  # apt-get update
  # apt-get upgrade
  # apt-get dist-upgrade

check for systemd:
  # apt-get install aptitude
  # aptitude search '?installed' | grep systemd
  #

:-)

go gui:
  # apt-get install debfoster && debfoster
  # apt-get install task-lxde-desktop xrdp

(Now graphical remote/rdp login is possible.)

check for systemd:
  # aptitude search '?installed' | grep systemd
  i A libsystemd0- systemd utility library

  # dpkg -P libsystemd0
  dpkg: dependency problems prevent removal of libsystemd0:armhf:
   packagekit depends on libsystemd0.
   sane-utils depends on libsystemd0.
   gnome-disk-utility depends on libsystemd0.
   libpulse0:armhf depends on libsystemd0.
   gvfs-daemons depends on libsystemd0.
   pulseaudio depends on libsystemd0.
   
  dpkg: error processing libsystemd0 (--purge):
  dependency problems - not removing
  Errors were encountered while processing:
  libsystemd0

  # apt-get remove libsystemd0
  Reading package lists... Done
  Building dependency tree   
  Reading state information... Done
  The following packages will be REMOVED:
ca-certificates-java default-jre default-jre-headless gimp
gnome-disk-utility gnome-mplayer gnome-orca gvfs gvfs-backends
gvfs-daemons gvfs-fuse icedtea-7-jre-jamvm libasound2-plugins
libespeak1 libfluidsynth1 libgegl-0.2-0 libgmlib1 libgmtk1
libmikmod3 libpulse-mainloop-glib0 libpulse0 libpulsedsp
libsdl-image1.2 libsdl-mixer1.2 libsdl-ttf2.0-0 libsdl1.2debian
libsmpeg0 libsystemd0 mplayer2 openjdk-7-jre openjdk-7-jre-headless
packagekit packagekit-tools pulseaudio pulseaudio-module-x11
pulseaudio-utils python-pygame sane-utils speech-dispatcher
speech-dispatcher-audio-plugins 
  0 upgraded, 0 newly installed, 40 to remove and 0 not upgraded. 
  After this operation, 109 MB disk space will be freed.
  Do you want to continue? [Y/n]

Yes, I want... To have sound working w/o PulseAudio, unprivileged users
need to be added to the "audio" group. That's it :-)

I'll report back after further testing. Hooray Devuan!

With kind regards,

Florian
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Devuan on Raspberry Pi 2B

2015-08-05 Thread Rainer Weikusat
Florian Zieboll  writes:

[...]

> check for systemd:
>   # apt-get install aptitude
>   # aptitude search '?installed' | grep systemd
>   #

JFTR: dpkg -l will give you a list of installed packages and their
descriptions so

dpkg -l | grep systemd

or

dpkg -l | grep -i systemd

should work for this, too.

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] multichannel audio i/o management w/o pulse/dbus

2015-08-05 Thread tilt!

Hello,

subject says it all.

Are there currently ongoing efforts to have that?

If no, I will start one, if yes, I want to join it.

Kind regards,
T.

P.S. I am perfectly aware of JACK, respect it a lot and use it, too,
but there remains a jungle of stuff to be done that is outside
its scope.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] multichannel audio i/o management w/o pulse/dbus

2015-08-05 Thread Gregory Nowak
On Wed, Aug 05, 2015 at 11:53:52PM +0200, tilt! wrote:
> Hello,
> 
> subject says it all.
> 
> Are there currently ongoing efforts to have that?
> 
> If no, I will start one, if yes, I want to join it.

How about alsa/dmix? Some folks here have mentioned oss4 before, but I
haven't used that myself.

Greg


-- 
web site: http://www.gregn.net
gpg public key: http://www.gregn.net/pubkey.asc
skype: gregn1
(authorization required, add me to your contacts list first)
If we haven't been in touch before, e-mail me before adding me to your contacts.

--
Free domains: http://www.eu.org/ or mail dns-mana...@eu.org
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] multichannel audio i/o management w/o pulse/dbus

2015-08-05 Thread Joel Roth
Gregory Nowak wrote:
tilt! wrote:
> > Hello,
> > 
> > subject says it all.
> > 
> > Are there currently ongoing efforts to have that?
> > 
> > If no, I will start one, if yes, I want to join it.
> 
> How about alsa/dmix? Some folks here have mentioned oss4 before, but I
> haven't used that myself.

Regarding dmix:

  A very interesting and potentially extremely useful aspect
  of this plugin is using it combined with the default plugin
  name [now default behavior IIUC.]  In theory this means all
  applications that have native ALSA support will share the
  sound device. In practice not many applications are able to
  take advantage of this functionality yet.

  source: http://www.alsa-project.org/main/index.php/Asoundrc

  Dmix is enabled by default for soundcards which do not
  support hardware mixing. Dmix is not enabled by default for
  digital output (S/PDIF) and will require the configuration
  snippet below

  source: https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture

There is a limitation, is that the app(s) have to access the
soundcard via named PCM device:

  ecasound -i test.wav -o alsa,default   # multiple invocations okay

Direct access to soundcard doesn't get the dmix plugin, so
only one app has access at any given time.

  ecasound -i test.wav -o alsa,hw:0,0# exclusive access required

What dmix doesn't do (and pulseaudio does) is provide a
separate volume control for each application.

cheers,

Joel

> Greg
> 
> 
> -- 
> web site: http://www.gregn.net
> gpg public key: http://www.gregn.net/pubkey.asc
> skype: gregn1
> (authorization required, add me to your contacts list first)
> If we haven't been in touch before, e-mail me before adding me to your 
> contacts.
> 
> --
> Free domains: http://www.eu.org/ or mail dns-mana...@eu.org
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

-- 
Joel Roth
  

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng