tag 610545 + patch
tag 610544 + patch
user ubuntu-de...@lists.ubuntu.com
usertags 610545 + natty ubuntu-patch origin-ubuntu
usertags 610544 + natty ubuntu-patch origin-ubuntu
thanks


Hi we have successfully solved this problem by adding some library
linker in Makefile.* and modify desktop files

attached a patch to fixing it. an origin bug and diff at below:
http://launchpadlibrarian.net/62988014/fotoxx_10.7-1_10.7-1ubuntu1.diff.gz

-- 
Mahyuddin Susanto (udienz)
https://launchpad.net/~udienz http://tripledin.wordpress.com/
diff -Nru fotoxx-10.7/debian/fotoxx.desktop fotoxx-10.7/debian/fotoxx.desktop
--- fotoxx-10.7/debian/fotoxx.desktop	1970-01-01 00:00:00.000000000 +0000
+++ fotoxx-10.7/debian/fotoxx.desktop	2011-01-28 00:09:25.000000000 +0000
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Name=fotoxx
+Categories=Graphics;Publishing;
+Type=Application
+Terminal=false
+GenericName=Photo Editor
+Comment=Edit photos and manage collections
+# Exec=/usr/local/bin/fotoxx
+# Icon=/usr/local/share/fotoxx/icons/fotoxx.png
+Exec=fotoxx
+Icon=fotoxx
diff -Nru fotoxx-10.7/debian/fotoxxfotoxx.desktop fotoxx-10.7/debian/fotoxxfotoxx.desktop
--- fotoxx-10.7/debian/fotoxxfotoxx.desktop	2010-07-08 22:20:22.000000000 +0000
+++ fotoxx-10.7/debian/fotoxxfotoxx.desktop	1970-01-01 00:00:00.000000000 +0000
@@ -1,11 +0,0 @@
-[Desktop Entry]
-Name=fotoxx
-Categories=Graphics
-Type=Application
-Terminal=false
-GenericName=Photo Editor
-Comment=Edit photos and manage collections
-# Exec=/usr/local/bin/fotoxx
-# Icon=/usr/local/share/fotoxx/icons/fotoxx.png
-Exec=/home/san/sources/Fotoxx/fotoxx-10.7/debian/fotoxx/usr/bin/fotoxx
-Icon=/home/san/sources/Fotoxx/fotoxx-10.7/debian/fotoxx/usr/share/fotoxx/icons/fotoxx.png
diff -Nru fotoxx-10.7/debian/patches/01_fix_ftbfs_binutils-gold.patch fotoxx-10.7/debian/patches/01_fix_ftbfs_binutils-gold.patch
--- fotoxx-10.7/debian/patches/01_fix_ftbfs_binutils-gold.patch	1970-01-01 00:00:00.000000000 +0000
+++ fotoxx-10.7/debian/patches/01_fix_ftbfs_binutils-gold.patch	2011-01-28 00:12:08.000000000 +0000
@@ -0,0 +1,16 @@
+Description: Fix FTBFS binutils-gold with ld --as-needed.
+Author: Mahyuddin Susanto <udi...@ubuntu.com>
+Bug-Ubuntu: https://launchpad.net/bugs/705036
+Bug-Debian: http://bugs.debian.org/610545
+
+--- fotoxx-10.7.orig/Makefile
++++ fotoxx-10.7/Makefile
+@@ -21,7 +21,7 @@ MANDIR = $(PREFIX)/share/man/man1
+ 
+ $(PROGRAM): $(PROGRAM).o zfuncs.o
+ 	@ ./dependencies.sh
+-	$(CXX) $(LFLAGS) -ltiff -o $(PROGRAM) $(PROGRAM).o zfuncs.o
++	$(CXX) -o $(PROGRAM) $(PROGRAM).o zfuncs.o $(LFLAGS) -ltiff
+ 
+ $(PROGRAM).o: $(SOURCE)
+ 	$(CXX) $(CFLAGS) -o $(PROGRAM).o $(SOURCE)		\
diff -Nru fotoxx-10.7/debian/patches/series fotoxx-10.7/debian/patches/series
--- fotoxx-10.7/debian/patches/series	2010-07-08 22:19:57.000000000 +0000
+++ fotoxx-10.7/debian/patches/series	2011-01-28 00:09:25.000000000 +0000
@@ -1,2 +1,3 @@
 debian-changes-10.3.1-1
 debian-changes-10.7-1
+01_fix_ftbfs_binutils-gold.patch

Reply via email to