Package Details: udftools 1.0.0b3-8

Git Clone URL: https://aur.archlinux.org/udftools.git (read-only)
Package Base: udftools
Description: Linux UDF tools
Upstream URL: http://sourceforge.net/projects/linux-udf/
Licenses: GPL
Submitter: brain0
Maintainer: aksr
Last Packager: aksr
Votes: 165
Popularity: 1.949183
First Submitted: 2005-08-17 00:16
Last Updated: 2015-07-07 11:15

Required by (0)

Sources (6)

Latest Comments

aksr commented on 2015-07-07 12:46

Updated.

aksr commented on 2015-05-27 14:42

lucck: Do you want to take over the maintenance of this package?

lucck commented on 2015-05-23 21:20

It won't compile with new gcc5. I prepared fix compilation patch gcc5-compile-fix.patch Please include the patch in the package

diff -Naur udftools-1.0.0b3.orig/include/libudffs.h udftools-1.0.0b3/include/libudffs.h
--- udftools-1.0.0b3.orig/include/libudffs.h 2015-05-23 22:56:17.099230754 +0200
+++ udftools-1.0.0b3/include/libudffs.h 2015-05-23 22:58:06.154523409 +0200
@@ -169,8 +169,8 @@
struct udf_data *alloc_data(void *, int);

/* desc.c */
-inline struct impUseVolDescImpUse *query_iuvdiu(struct udf_disc *);
-inline struct logicalVolIntegrityDescImpUse *query_lvidiu(struct udf_disc *);
+struct impUseVolDescImpUse *query_iuvdiu(struct udf_disc *);
+struct logicalVolIntegrityDescImpUse *query_lvidiu(struct udf_disc *);

/* file.c */
tag query_tag(struct udf_disc *, struct udf_extent *, struct udf_desc *, uint16_t);
diff -Naur udftools-1.0.0b3.orig/include/udf_endian.h udftools-1.0.0b3/include/udf_endian.h
--- udftools-1.0.0b3.orig/include/udf_endian.h 2015-05-23 22:56:17.099230754 +0200
+++ udftools-1.0.0b3/include/udf_endian.h 2015-05-23 22:56:55.666590304 +0200
@@ -24,6 +24,7 @@
#define __UDF_ENDIAN_H

#include "bswap.h"
+#include <string.h>

static inline lb_addr lelb_to_cpu(lb_addr in)
{
diff -Naur udftools-1.0.0b3.orig/wrudf/wrudf.c udftools-1.0.0b3/wrudf/wrudf.c
--- udftools-1.0.0b3.orig/wrudf/wrudf.c 2015-05-23 22:56:17.102564146 +0200
+++ udftools-1.0.0b3/wrudf/wrudf.c 2015-05-23 23:03:32.693725003 +0200
@@ -245,7 +245,7 @@
} else if( strncmp( spm->partIdent.ident, UDF_ID_VIRTUAL, strlen(UDF_ID_VIRTUAL)) == 0 )
virtualPartitionNum = i;
}
- spm = (char*)spm + spm->partitionMapLength;
+ spm = (struct sparablePartitionMap*)((char*)spm + spm->partitionMapLength);
}

if( medium == CDR ) {
diff -Naur udftools-1.0.0b3.orig/wrudf/wrudf.h udftools-1.0.0b3/wrudf/wrudf.h
--- udftools-1.0.0b3.orig/wrudf/wrudf.h 2015-05-23 22:56:17.102564146 +0200
+++ udftools-1.0.0b3/wrudf/wrudf.h 2015-05-23 23:02:17.622375692 +0200
@@ -23,9 +23,12 @@
#include <sys/time.h>
#include <time.h>
#include <stdint.h>
+#include <string.h>
+#include <stdlib.h>

#include "ecma_167.h"
#include "osta_udf.h"
+#include "libudffs.h"

struct generic_desc
{

vadmium commented on 2013-05-27 12:40

Added the package() function and your other suggestions, except for some minor style changes. ;) Thanks!

HalosGhost commented on 2013-05-26 17:22

This package is not out-of-date; 1.0.0b3 is the latest release as far as I can find.

But, in accordance with the new PKGBUILD guidelines for makepkg 4.1, the patches should be moved to a prepare() function; I would personally prefer it if the hashes were sha256 rather than md5, and the source URL should be quoted so that the variables are ensured to expand correctly :)

All the best.

HalosGhost commented on 2013-05-26 17:21

This package is not out-of-date; 1.0.0b3 is the latest release as far as I can find. vadmium, feel free to unmark the package as solved.

But, in accordance with the new PKGBUILD guidelines for makepkg 4.1, the patches should be moved to a prepare() function; I would personally prefer it if the hashes were sha256 rather than md5, and the source URL should be quoted so that the variables are ensured to expand correctly :)

All the best.

HalosGhost commented on 2013-05-26 16:56

This package is not out-of-date; 1.0.0b3 is the latest release as far as I can find. vadmium, feel free to unmark the package as solved.

But, in accordance with the new PKGBUILD guidelines for makepkg 4.1, the patches should be moved to a prepare() function; I would personally prefer it if the hashes were sha256 rather than md5, and the source URL should be quoted so that the variables are ensured to expand correctly :)

All the best.

vadmium commented on 2013-02-01 11:47

I’m not seeing any compilation issue or newer versions around; you’ll have to be more specific.

csw commented on 2013-02-01 09:08

Is there no active maintainer for udftools? Maybe someone should takeover the project and start maintaining it for build compatibility. Is anyone interested in doing that with the right amount of time to spare? A cross distro project by the various distro maintainers?

Debian's patches:
http://patch-tracker.debian.org/package/udftools/1.0.0b3-14.2
http://patch-tracker.debian.org/patch/nondebian/view/udftools/1.0.0b3-14.2

Gentoo's patches:
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-fs/udftools/files/
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-fs/udftools/udftools-1.0.0b-r9.ebuild?view=markup

Diego commented on 2013-02-01 08:46

please resolve the compilation bug

csw commented on 2013-01-31 22:16

Can this be moved to the community repository?

csw commented on 2013-01-31 22:16

Can this be moved to the community repository?

vadmium commented on 2011-10-12 00:30

Confirmed the same O_CREAT error and added patch from https://bugs.gentoo.org/show_bug.cgi?id=232100. Good luck!

C5OK5Y commented on 2011-10-11 19:29

Compilation unfortunately failes:
...
Making all in pktsetup
make[1]: Entering directory `/tmp/aurget/source/udftools/src/udftools-1.0.0b3/pktsetup'
source='pktsetup.c' object='pktsetup.o' libtool=no \
depfile='.deps/pktsetup.Po' tmpdepfile='.deps/pktsetup.TPo' \
depmode=gcc3 /bin/sh ../config/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../include -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c `test -f 'pktsetup.c' || echo './'`pktsetup.c
pktsetup.c: In function ‘remove_stale_dev_node’:
pktsetup.c:196:2: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default]
pktsetup.c: In function ‘setup_dev_chardev’:
pktsetup.c:219:2: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default]
pktsetup.c: In function ‘show_mappings’:
pktsetup.c:292:2: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default]
pktsetup.c: In function ‘main’:
pktsetup.c:343:6: warning: incompatible implicit declaration of built-in function ‘strchr’ [enabled by default]
In file included from /usr/include/fcntl.h:267:0,
from pktsetup.c:21:
In function ‘open’,
inlined from ‘main’ at pktsetup.c:89:5:
/usr/include/bits/fcntl2.h:51:24: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments
make[1]: *** [pktsetup.o] Error 1
make[1]: Leaving directory `/tmp/aurget/source/udftools/src/udftools-1.0.0b3/pktsetup'
make: *** [all-recursive] Error 1

vadmium commented on 2010-12-19 10:04

Fixed man page directory and other minor namcap issues

Harey commented on 2010-12-06 08:12

Last Updated: Fri, 28 Dec 2007 11:15:35...
Maintainer: None
This seems to be abandoned for a long time... Maybe you could fix it yourself?

Anonymous comment on 2010-12-06 02:44

I found some issues with your tarball. Binaries are usually frowned upon. Take for example:
udftools/gcc4-compile.patch.bz2
udftools/udftools-1.0.0b3.patch.bz2
udftools/udftools-limits.patch.bz2
Linking to URLs is preferable to including binaries. Besides, what is the point to tarballing already compressed files? Please correct this.

Anonymous comment on 2010-07-31 15:54

namcap says that:
> udftools W: File (usr/man) exists in a non-standard directory.
> udftools W: File (usr/man/man8) exists in a non-standard directory.
> udftools W: File (usr/man/man1) exists in a non-standard directory.
> udftools W: File (usr/man/man1/cdrwtool.1.gz) exists in a non-standard directory.
> udftools W: File (usr/man/man8/mkudffs.8.gz) exists in a non-standard directory.
> udftools W: File (usr/man/man8/pktsetup.8.gz) exists in a non-standard directory.
> udftools E: Non-FHS man page (usr/man) found. Use /usr/share/man instead
> udftools E: Non-FHS man page (usr/man/man8) found. Use /usr/share/man instead
> udftools E: Non-FHS man page (usr/man/man1) found. Use /usr/share/man instead
> udftools E: Non-FHS man page (usr/man/man1/cdrwtool.1.gz) found. Use /usr/share/man instead
> udftools E: Non-FHS man page (usr/man/man8/mkudffs.8.gz) found. Use /usr/share/man instead
> udftools E: Non-FHS man page (usr/man/man8/pktsetup.8.gz) found. Use /usr/share/man instead

Please add "--mandir=/usr/share/man" to configure invocation.