[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#728030: Acknowledgement (live-build's binary_syslinux step refers to and old binary in librsvg2-bin)



Oops, sorry, Ive attached a reverse patch hehe

Here's the good one. It's based on master.



2013/10/27 Debian Bug Tracking System <owner@bugs.debian.org>
Thank you for filing a new Bug report with Debian.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 Live Systems Maintainers <debian-live@lists.debian.org>

If you wish to submit further information on this problem, please
send it to 728030@bugs.debian.org.

Please do not send mail to owner@bugs.debian.org unless you wish
to report a problem with the Bug-tracking system.

--
728030: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=728030
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

diff --git a/scripts/build/binary_syslinux b/scripts/build/binary_syslinux
index 8e20ff7..7e97ff7 100755
--- a/scripts/build/binary_syslinux
+++ b/scripts/build/binary_syslinux
@@ -105,7 +105,7 @@ case "${LB_BUILD_WITH_CHROOT}" in
 
 		if ls "${_SOURCE}"/*.svg* > /dev/null 2>&1
 		then
-			Check_package chroot/usr/bin/rsvg librsvg2-bin
+			Check_package chroot/usr/bin/rsvg-convert librsvg2-bin
 		fi
 		;;
 
@@ -126,10 +126,10 @@ case "${LB_BUILD_WITH_CHROOT}" in
 
 		if ls "${_SOURCE}"/*.svg* > /dev/null 2>&1
 		then
-			if [ ! -e /usr/bin/rsvg ]
+			if [ ! -e /usr/bin/rsvg-convert ]
 			then
 				# librsvg2-bin
-				Echo_error "/usr/bin/rsvg - no such file"
+				Echo_error "/usr/bin/rsvg-convert - no such file"
 				exit 1
 			fi
 		fi
@@ -273,13 +273,13 @@ then
 	case "${LB_BUILD_WITH_CHROOT}" in
 		true)
 			cp "${_TARGET}/splash.svg" chroot
-			Chroot chroot "rsvg --format png --height 480 --width 640 splash.svg splash.png"
+			Chroot chroot "rsvg-convert --format png --height 480 --width 640 splash.svg -o splash.png"
 			mv chroot/splash.png "${_TARGET}"
 			rm -f chroot/splash.svg
 			;;
 
 		false)
-			rsvg --format png --height 480 --width 640 "${_TARGET}/splash.svg" "${_TARGET}/splash.png"
+			rsvg-convert --format png --height 480 --width 640 "${_TARGET}/splash.svg" -o "${_TARGET}/splash.png"
 			;;
 	esac
 

Reply to: