diff options
author | miwi <miwi@FreeBSD.org> | 2008-11-30 04:16:51 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2008-11-30 04:16:51 +0800 |
commit | 312cf49e3aa0044a916ef8be04fb36c4d58cff84 (patch) | |
tree | 085d984e31f2d3bf2fe2aefb4f3620a4fcb3ee93 /sysutils | |
parent | d5a930433b403b32b4874a189a24db9476b1bba1 (diff) | |
download | freebsd-ports-gnome-312cf49e3aa0044a916ef8be04fb36c4d58cff84.tar.gz freebsd-ports-gnome-312cf49e3aa0044a916ef8be04fb36c4d58cff84.tar.zst freebsd-ports-gnome-312cf49e3aa0044a916ef8be04fb36c4d58cff84.zip |
- Fix an error in xfburn which omits Rock Ridge info for atimes and
mtimes on directories.
- Bump PORTREVISION
PR: 129266
Submitted by: "J.R. Oldroyd" <fbsd@opal.com> (maintainer)
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/xfburn/Makefile | 4 | ||||
-rw-r--r-- | sysutils/xfburn/files/patch-xfburn-xfburn-data-composition.c | 47 |
2 files changed, 50 insertions, 1 deletions
diff --git a/sysutils/xfburn/Makefile b/sysutils/xfburn/Makefile index ef3207de3526..a4641711bc02 100644 --- a/sysutils/xfburn/Makefile +++ b/sysutils/xfburn/Makefile @@ -7,6 +7,7 @@ PORTNAME= xfburn PORTVERSION= 0.3.91 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://goodies.xfce.org/releases/xfburn/ @@ -16,7 +17,8 @@ COMMENT= CD/DVD burning tool for Xfce LIB_DEPENDS= burn.23:${PORTSDIR}/devel/libburn \ isofs.12:${PORTSDIR}/devel/libisofs RUN_DEPENDS= hal-device:${PORTSDIR}/sysutils/hal \ - cdrdao:${PORTSDIR}/sysutils/cdrdao + cdrdao:${PORTSDIR}/sysutils/cdrdao \ + cdrecord:${PORTSDIR}/sysutils/cdrtools GNU_CONFIGURE= yes CONFIGURE_ENV= GMSGFMT=${PREFIX}/bin/msgfmt DATADIRNAME=share diff --git a/sysutils/xfburn/files/patch-xfburn-xfburn-data-composition.c b/sysutils/xfburn/files/patch-xfburn-xfburn-data-composition.c new file mode 100644 index 000000000000..16a2ea80c36f --- /dev/null +++ b/sysutils/xfburn/files/patch-xfburn-xfburn-data-composition.c @@ -0,0 +1,47 @@ +--- xfburn/xfburn-data-composition.c.orig 2008-09-14 04:41:53.000000000 -0400 ++++ xfburn/xfburn-data-composition.c 2008-11-16 19:57:03.000000000 -0500 +@@ -1099,6 +1099,7 @@ + DATA_COMPOSITION_COLUMN_ICON, icon_directory, + DATA_COMPOSITION_COLUMN_CONTENT, name, + DATA_COMPOSITION_COLUMN_TYPE, DATA_COMPOSITION_TYPE_DIRECTORY, ++ DATA_COMPOSITION_COLUMN_PATH, path, + DATA_COMPOSITION_COLUMN_SIZE, (guint64) 4, -1); + xfburn_disc_usage_add_size (XFBURN_DISC_USAGE (priv->disc_usage), (guint64) 4); + gdk_threads_leave (); +@@ -1742,10 +1743,7 @@ + gtk_tree_model_get (model, iter, DATA_COMPOSITION_COLUMN_TYPE, &type, + DATA_COMPOSITION_COLUMN_CONTENT, &name, DATA_COMPOSITION_COLUMN_PATH, &src, -1); + +- if (type == DATA_COMPOSITION_TYPE_DIRECTORY) +- r = iso_tree_add_new_dir (parent, name, &dir); +- else +- r = iso_tree_add_node (image, parent, src, &node); ++ r = iso_tree_add_node (image, parent, src, &node); + + if (r < 0) { + if (r == ISO_NULL_POINTER) +@@ -1758,9 +1756,11 @@ + g_error ("Failed adding %s as a node to the image: code %d!", src, r); + } + +- /* FIXME: do we need to call iso_node_ref on node? Probably not... */ ++ /* why was this called again? iso_tree_add_node seems to do ++ * a good job setting the name by itself. + if (type != DATA_COMPOSITION_TYPE_DIRECTORY) + iso_node_set_name (node, name); ++ */ + + g_free (name); + g_free (src); +@@ -1768,10 +1768,9 @@ + if (type == DATA_COMPOSITION_TYPE_DIRECTORY && gtk_tree_model_iter_has_child (model, iter)) { + GtkTreeIter child; + +- /* FIXME: this should not cause a sigfault... + if (iso_node_get_type(node) != LIBISO_DIR) + g_error ("Expected %s to be a directory, but it isn't...\n", src); +- */ ++ dir = (IsoDir *)node; + + gtk_tree_model_iter_children (model, &child, iter); + fill_image_with_composition (model, image, dir, &child); |