File renaming-executable.patch of Package khtml2png
diff -uNr khtml2png-2.7.6.orig/CMakeLists.txt khtml2png-2.7.6/CMakeLists.txt
--- khtml2png-2.7.6.orig/CMakeLists.txt 2008-10-21 16:26:26.000000000 +0200
+++ khtml2png-2.7.6/CMakeLists.txt 2008-12-14 14:05:42.000000000 +0100
@@ -1,4 +1,4 @@
-project(khtml2png2)
+project(khtml2png)
cmake_minimum_required(VERSION 2.4.0)
@@ -18,8 +18,8 @@
#add_subdirectory(src)
kde3_automoc(khtml2png.cpp)
-add_executable(khtml2png2 khtml2png.cpp)
+add_executable(khtml2png khtml2png.cpp)
-target_link_libraries(khtml2png2 khtml ${QT_QT_LIBRARY} ${KDE3_KDECORE_LIBRARY})
+target_link_libraries(khtml2png khtml ${QT_QT_LIBRARY} ${KDE3_KDECORE_LIBRARY})
-install_targets( /bin khtml2png2)
+install_targets( /bin khtml2png)
diff -uNr khtml2png-2.7.6.orig/khtml2png.cpp khtml2png-2.7.6/khtml2png.cpp
--- khtml2png-2.7.6.orig/khtml2png.cpp 2008-10-21 16:26:26.000000000 +0200
+++ khtml2png-2.7.6/khtml2png.cpp 2008-12-14 14:06:13.000000000 +0100
@@ -465,7 +465,7 @@
KAboutData aboutData("khtml2png", I18N_NOOP("KHTML2PNG"), "2.7.6",
I18N_NOOP("Render HTML to a PNG from the command line\n\
Example:\n\
- khtml2png2 --width 800 --height 600 http://www.kde.org/ kde-org.png\n\
+ khtml2png --width 800 --height 600 http://www.kde.org/ kde-org.png\n\
or\n\
khtml2png --auto ID_border http://www.kde.org/ kde-org.png"),
KAboutData::License_GPL,