Package Details: djmount 0.71-5

Git Clone URL: https://aur.archlinux.org/djmount.git (read-only)
Package Base: djmount
Description: A UPnP AV client that mounts media server contents as a filesystem.
Upstream URL: http://djmount.sourceforge.net/
Licenses: GPL
Submitter: mschaeuble
Maintainer: JonnyJD (loserMcloser)
Last Packager: JonnyJD
Votes: 53
Popularity: 0.455526
First Submitted: 2007-11-17 18:17
Last Updated: 2016-01-17 13:21

Dependencies (3)

Required by (0)

Sources (6)

Latest Comments

starfry commented on 2015-12-16 10:11

I have disowned the package.

JonnyJD commented on 2015-12-05 16:30

please orphan if you don't intend to maintain the package (see previous comments for problems). This package doesn't work at all without changes.

salorium commented on 2015-09-24 23:56

missing package()

loserMcloser commented on 2015-05-13 17:13

Here is a PKBUILD and supporting files based on DPX-Infinity's PKGBUILD that fixes the "missing package() function" error, as well as replaces the rcd file with a systemd service file.

PKGBUILD : http://pastebin.com/e9N4kZnW
djmount.confd : http://pastebin.com/qV4FEEDb
djmount.service : http://pastebin.com/s2UwqpRT
djmount.tmpfilesd : http://pastebin.com/arNK971y
djmount.install : http://pastebin.com/Vh8QuuL3

joaocandre commented on 2015-03-17 15:09

Can't install, get '==> ERROR: Missing package() function in /tmp/yaourt-tmp-joao/aur-djmount/./PKGBUILD'

DPX-Infinity commented on 2015-01-01 22:26

Currently djmount does not work properly under x86-64 systems. Corresponding patch has been created for Debian package. I've refactored the PKGBUILD to include all of recent Debian patches (which also supersede libupnp-1.6.9-JonimusPrime.diff):

# Maintainer: Erik Johnson <palehose at gmail dot com>
# Maintainer: Soup <soup a.t soultrap d.o.t n.e.t>
# Contributor: Michele Schäuble <mschaeuble@swissonline.ch>

pkgname=djmount
pkgver=0.71
pkgrel=5
_debpatch=7
pkgdesc="A UPnP AV client that mounts media server contents as a filesystem."
arch=('i686' 'x86_64')
url="http://djmount.sourceforge.net/"
license=('GPL')
depends=('fuse' 'libupnp' 'talloc')
source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz"
"http://ftp.de.debian.org/debian/pool/main/d/$pkgname/${pkgname}_$pkgver-$_debpatch.debian.tar.xz"
'djmount.rcd'
'djmount.confd')

build() {
cd "$srcdir/$pkgname-$pkgver"
patch -p1 < "$srcdir/debian/patches/000_djmount.1.diff"
patch -p1 < "$srcdir/debian/patches/001-libupnp-1.6.6.diff"
patch -p1 < "$srcdir/debian/patches/002-libupnp-1.6.13.diff"
patch -p1 < "$srcdir/debian/patches/003-support-fstab-mounting.diff"
patch -p1 < "$srcdir/debian/patches/004-avoid-crash-by-using-size_t.diff"

cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr --with-external-talloc --with-external-libupnp --with-libupnp-prefix=/usr
make
make DESTDIR=$pkgdir install

install -D -m755 $srcdir/djmount.rcd $pkgdir/etc/rc.d/djmount
install -D -m644 $srcdir/djmount.confd $pkgdir/etc/conf.d/djmount
install -D -m644 "$srcdir/$pkgname-$pkgver/djmount.1" ${pkgdir}/usr/share/man/man1/djmount.1
}
md5sums=('c922753e706c194bf82a8b6ca77e6a9a'
'cee9b3cbf9dbea62afef72be3a631fd7'
'f473b5150df385447f2f58049bfb6199'
'21de4c947c17e8558f1007a20757f254')

ilpianista commented on 2013-09-19 22:22

please drop the rc.d file

phects commented on 2013-01-21 21:40

I wrote a minimal systemd service file for djmount:
https://gist.github.com/4589693

terminalmage commented on 2011-11-07 21:55

It's a cool project, I just wish it was more actively developed.

starfry commented on 2011-11-07 21:50

I've adopted this just so it has an owner because I am actively using it. If there are updates and I need them I'll try to keep this up to date too.

terminalmage commented on 2011-09-09 15:57

Project is abandonware, and I've stopped using it in favor of sshfs. Disowning.

terminalmage commented on 2011-05-19 15:53

Very cool. If you would like to manage this package, I can disown it. To be honest, since my media server is another Linux box, I have found myself using sshfs rather than djmount to get to my files from my Arch netbook.

starfry commented on 2011-04-27 22:52

Concur archtaku: I needed to perform the downgrade to libupnp 1.6.9.

I have djmount successfully running and I am using it to pull files off a Panasonic DMR-BW880. I had two issues:

Firstly, I had to patch the code to look for upnp service "ContentDirectory:2" instead of "ContentDirectory:1". I'd like to patch it to look for either but have not been able to do this thus far.

Secondly, djmount will only ask for more directory information twice if all files are not returned by the media server on the first response to its request. I patched the code to remove this limitation. I don't know the reason for the limitation but removing it works for me.

Patches: http://pastebin.com/0a5GhpZ5

The final issue is one I worked around: the media server can return multiple files with the same name and djmount will show these as multiple files with the same name. Accessing any such file always returns the same file from the media server. The work around I used is to rename the files on the server.

terminalmage commented on 2011-01-12 00:43

Just a warning, the upgrade to libupnp-1.6.10 has broken djmount for me on x86_64 (i686 is not affected). It causes problems with fuse when trying to allocate portions of the file, generating "fuse: read too many bytes" errors when djmount is run with loglevel debug. If you're having the same problem, downgrade to version 1.6.9 using the following command:

sudo pacman -U http://arm.konnichi.com/extra/os/x86_64/libupnp-1.6.9-1-x86_64.pkg.tar.xz

Then make sure to set libupnp not to update by adding it to IgnorePkg in /etc/pacman.conf so it won't update when you run pacman -Syu, and rebuild djmount against the older libupnp.

terminalmage commented on 2011-01-11 16:53

pkgrel has been incremented. a rebuild will allow djmount to work with the new libupnp.

terminalmage commented on 2011-01-08 05:19

libupnp upgrade breaks djmount, should probably up the pkgrel so users are encouraged to rebuild.

TheRealSoup commented on 2010-11-15 20:54

Updated, thanks.

Anonymous comment on 2010-11-15 20:13

This patch seems to solve the issues, at least it worked for me.

http://aur.pastebin.com/raw.php?i=hGE0Grxx

TheRealSoup commented on 2010-11-14 16:22

​It's going to remain broken until someone comes up with a patch. Until then the only other option is removing --with-external-libupnp.

The patch that kept it going with newer libupnp versions (seemingly up to 1.6.8) was from Debian :/

TheRealSoup commented on 2010-11-14 16:21

It's going to remain broken until someone comes up with a patch.
The patch that kept it going with newer libupnp versions (seemingly up to 1.6.8) was from Debian :/

markc commented on 2010-11-13 05:15

Doesn't seem to compile with libupnp-1.6.9

upnp_util.h:49:8: error: expected declaration specifiers or '...' before 'Upnp_EventType'

There is a "IN" macro before that declaration that does not appear to be part of the latest libupnp provided header.

TheRealSoup commented on 2010-10-06 10:32

Diff: http://aur.pastebin.com/NV29UWsM

* namcap fixes
* Debian patches:
Adds djmount.1 manpage which isn't included in original sources.
Update libupnp API for 1.6.x.
* Configure:
Add --with-external-talloc

TheRealSoup commented on 2010-10-06 10:18

Diff: http://aur.pastebin.com/Lie8Ez9D

Debian patches:
Adds djmount.1 manpage which isn't included in original sources.
Update libupnp API for 1.6.x.
Configure:
Add --with-external-talloc