mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 10:22:56 +02:00
xfburn: update to 0.4.3.
This commit is contained in:
parent
9be97ee1ca
commit
dfcc92a98d
3 changed files with 80 additions and 8 deletions
50
srcpkgs/xfburn/patches/fix_empty_dir_segfault.diff
Normal file
50
srcpkgs/xfburn/patches/fix_empty_dir_segfault.diff
Normal file
|
@ -0,0 +1,50 @@
|
||||||
|
http://bugs.gentoo.org/331135
|
||||||
|
http://bugzilla.xfce.org/show_bug.cgi?id=6805
|
||||||
|
|
||||||
|
--- xfburn/xfburn-data-composition.c 2011-02-17 16:37:03.000000000 +0100
|
||||||
|
+++ xfburn/xfburn-data-composition_patched.c 2011-02-17 16:40:40.000000000 +0100
|
||||||
|
@@ -1874,26 +1874,29 @@
|
||||||
|
g_error ("Failed adding %s as a node to the image: code %X!", src, r);
|
||||||
|
}
|
||||||
|
|
||||||
|
- basename = g_path_get_basename (src);
|
||||||
|
+ /* Check names only for items not manually created (#613563) */
|
||||||
|
+ if (type != DATA_COMPOSITION_TYPE_DIRECTORY || src != NULL) {
|
||||||
|
+ basename = g_path_get_basename (src);
|
||||||
|
+
|
||||||
|
+ /* check if the file has been renamed */
|
||||||
|
+ if (strcmp (basename, name) != 0) {
|
||||||
|
+ /* rename the iso_node */
|
||||||
|
+ r = iso_node_set_name (node, name);
|
||||||
|
+
|
||||||
|
+ if (r == 0) {
|
||||||
|
+ /* The first string is the renamed name, the second one the original name */
|
||||||
|
+ xfce_warn (_("Duplicate filename '%s' for '%s'"), name, src);
|
||||||
|
+
|
||||||
|
+ g_free (basename);
|
||||||
|
+ g_free (name);
|
||||||
|
+ g_free (src);
|
||||||
|
|
||||||
|
- /* check if the file has been renamed */
|
||||||
|
- if (strcmp (basename, name) != 0) {
|
||||||
|
- /* rename the iso_node */
|
||||||
|
- r = iso_node_set_name (node, name);
|
||||||
|
-
|
||||||
|
- if (r == 0) {
|
||||||
|
- /* The first string is the renamed name, the second one the original name */
|
||||||
|
- xfce_warn (_("Duplicate filename '%s' for '%s'"), name, src);
|
||||||
|
-
|
||||||
|
- g_free (basename);
|
||||||
|
- g_free (name);
|
||||||
|
- g_free (src);
|
||||||
|
-
|
||||||
|
- continue;
|
||||||
|
+ continue;
|
||||||
|
+ }
|
||||||
|
}
|
||||||
|
+ g_free (basename);
|
||||||
|
}
|
||||||
|
|
||||||
|
- g_free (basename);
|
||||||
|
g_free (name);
|
||||||
|
g_free (src);
|
|
@ -1,14 +1,19 @@
|
||||||
# Template file for 'xfburn'
|
# Template file for 'xfburn'
|
||||||
pkgname=xfburn
|
pkgname=xfburn
|
||||||
version=0.4.2
|
version=0.4.3
|
||||||
distfiles="http://www.xfce.org/archive/src/apps/xfburn/0.4/$pkgname-$version.tar.bz2"
|
|
||||||
build_style=gnu-configure
|
|
||||||
makedepends="intltool"
|
|
||||||
fulldepends="libburn libisofs libxfcegui4 Thunar gst-plugins-base desktop-file-utils hicolor-icon-theme"
|
|
||||||
revision=1
|
revision=1
|
||||||
|
build_style=gnu-configure
|
||||||
|
configure_args="--enable-gstreamer --enable-dbus --disable-hal"
|
||||||
|
depends="desktop-file-utils hicolor-icon-theme"
|
||||||
|
makedepends="intltool pkg-config libburn-devel libisofs-devel gtk+-devel
|
||||||
|
libxfcegui4-devel>=4.10.0_2 exo-devel gst-plugins-base-devel"
|
||||||
|
gtk_iconcache_dirs="/usr/share/icons/hicolor"
|
||||||
short_desc="CD-burner application for Xfce Desktop Environment"
|
short_desc="CD-burner application for Xfce Desktop Environment"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
checksum=b2b00665f8ed98c9df996ba2d0d73b3182c3b421f3927c9ab76c3424758f71b5
|
homepage="http://goodies.xfce.org/projects/applications/xfburn"
|
||||||
|
license=""
|
||||||
|
distfiles="http://archive.xfce.org/src/apps/xfburn/0.4/xfburn-${version}.tar.bz2"
|
||||||
|
checksum=c9993226f0f4e3dea3326ad320a01c165a7e1a485f07fa4a2583475a4e6eaafe
|
||||||
long_desc="
|
long_desc="
|
||||||
Xfburn is a tool to help burning CDs and DVDs. It fits well in the Xfce
|
Xfburn is a tool to help burning CDs and DVDs. It fits well in the Xfce
|
||||||
Desktop Environment but can be used anywhere.
|
Desktop Environment but can be used anywhere.
|
||||||
|
@ -16,5 +21,6 @@ long_desc="
|
||||||
It is currently in development so some features may be missing, but it is
|
It is currently in development so some features may be missing, but it is
|
||||||
already able to burn data."
|
already able to burn data."
|
||||||
|
|
||||||
gtk_iconcache_dirs="/usr/share/icons/hicolor"
|
pre_configure() {
|
||||||
|
sed -i '1 i#include <glib-object.h>' xfburn/xfburn-settings.h
|
||||||
|
}
|
||||||
|
|
16
srcpkgs/xfburn/xfburn.rshlibs
Normal file
16
srcpkgs/xfburn/xfburn.rshlibs
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
libm.so.6
|
||||||
|
libburn.so.4
|
||||||
|
libisofs.so.6
|
||||||
|
libxfcegui4.so.4
|
||||||
|
libexo-1.so.0
|
||||||
|
libgtk-x11-2.0.so.0
|
||||||
|
libxfce4util.so.6
|
||||||
|
libgdk-x11-2.0.so.0
|
||||||
|
libgdk_pixbuf-2.0.so.0
|
||||||
|
libgstpbutils-0.10.so.0
|
||||||
|
libgstreamer-0.10.so.0
|
||||||
|
libgobject-2.0.so.0
|
||||||
|
libgthread-2.0.so.0
|
||||||
|
libglib-2.0.so.0
|
||||||
|
libpthread.so.0
|
||||||
|
libc.so.6
|
Loading…
Add table
Reference in a new issue