From c3350bda33cd4e47c3d13eb7c9dcea757b2a5ec0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Sun, 3 Nov 2019 10:14:46 +0100 Subject: RPM: remove lots of obsolete 3.5.13.x files --- redhat/Makefile.v3.5.13-sru | 572 - .../abakus/abakus-0.91-link-dcop.patch | 20 - redhat/applications/abakus/abakus-3.5.12.spec | 93 - .../abakus/abakus-3.5.13.1-fix_install_icon.patch | 10 - redhat/applications/abakus/abakus-3.5.13.1.spec | 126 - redhat/applications/abakus/abakus-3.5.13.2.spec | 126 - redhat/applications/abakus/abakus-3.5.13.spec | 107 - redhat/applications/adept/adept-3.5.13.2.spec | 183 - .../applications/amarok/amarok-1.4.8-gcc43.patch | 79 - .../amarok-3.5.13-adds_ruby_1.9_support.patch | 193 - .../amarok/amarok-3.5.13-cmake_konqsidebar.patch | 25 - .../amarok/amarok-3.5.13-enable_akode.patch | 82 - .../amarok/amarok-3.5.13-enable_riokarma.patch | 19 - .../amarok-3.5.13-fix_gcc47_compilation.patch | 11 - .../amarok/amarok-3.5.13-fix_inotify_support.patch | 37 - .../amarok/amarok-3.5.13-fix_linear_alphabet.patch | 46 - .../amarok/amarok-3.5.13-taglib_include.patch | 40 - .../amarok-3.5.13.1-add_xine12_support.patch | 14 - .../amarok-3.5.13.1-fix_inotify_detection.patch | 30 - .../amarok/amarok-3.5.13.1-fix_rhel4_libs.patch | 15 - redhat/applications/amarok/amarok-3.5.13.1.spec | 406 - redhat/applications/amarok/amarok-3.5.13.2.spec | 438 - redhat/applications/amarok/amarok-3.5.13.spec | 381 - redhat/applications/basket/basket-3.5.12.spec | 118 - .../basket-3.5.13-fix_gcc47_compilation.patch | 10 - redhat/applications/basket/basket-3.5.13.1.spec | 165 - redhat/applications/basket/basket-3.5.13.2.spec | 157 - redhat/applications/basket/basket-3.5.13.spec | 164 - .../applications/bibletime/bibletime-3.5.13.2.spec | 146 - .../compizconfig-backend-kconfig-3.5.12.spec | 86 - ...gikam-3.5.13-fix_fomat_not_string_literal.patch | 19 - .../digikam-3.5.13-fix_ftbfs_jpeg_code.patch | 261 - .../digikam/digikam-3.5.13-fix_ftbfs_png_015.patch | 30 - .../digikam-3.5.13-fix_ftbfs_png_code.patch | 64 - ...digikam-3.5.13-fix_obsolete_libpng_jmpbuf.patch | 41 - .../digikam-3.5.13-fix_reinterpret_cast.patch | 20 - .../digikam/digikam-3.5.13-gcc_47_fix.patch | 50 - .../digikam/digikam-3.5.13-gcc_47_fix2.patch | 33 - .../digikam/digikam-3.5.13-missing_ldflags.patch | 11 - .../digikam/digikam-3.5.13-remove_version_h.patch | 43 - redhat/applications/digikam/digikam-3.5.13.1.spec | 341 - .../digikam-3.5.13.2-fix_png12_support.patch | 22 - redhat/applications/digikam/digikam-3.5.13.2.spec | 311 - redhat/applications/digikam/digikam-3.5.13.spec | 297 - redhat/applications/dolphin/dolphin-3.5.12.spec | 134 - redhat/applications/dolphin/dolphin-3.5.13.1.spec | 197 - redhat/applications/dolphin/dolphin-3.5.13.2.spec | 139 - redhat/applications/dolphin/dolphin-3.5.13.spec | 180 - .../applications/filelight/filelight-3.5.12.spec | 106 - .../filelight/filelight-3.5.13-disable_l10n.patch | 13 - .../applications/filelight/filelight-3.5.13.1.spec | 158 - .../applications/filelight/filelight-3.5.13.2.spec | 134 - .../applications/filelight/filelight-3.5.13.spec | 141 - .../fusion-icon-3.5.13-fix_python_sitelib.patch | 17 - ...2:f181fbbb337a75257089e64afabd04dac2e1d466.diff | 50 - ...8:6e6dbb068e03a8bb818a76ba774d6f94ade7389f.diff | 553 - ...5:a90aa09722d47f5f4009b089d8d874354899bdb8.diff | 435 - ...5:0330b848db129b3dc4daa2a57272ec3b2fb7984c.diff | 138 - .../gtk-qt-engine-3.5.13-fix_glib_include.patch | 11 - .../gtk-qt-engine/gtk-qt-engine-3.5.13.1.spec | 149 - .../gtk-qt-engine/gtk-qt-engine-3.5.13.2.spec | 146 - .../gtk-qt-engine/gtk-qt-engine-3.5.13.spec | 145 - .../gwenview-i18n/gwenview-i18n-3.5.13.1.spec | 180 - .../gwenview-i18n/gwenview-i18n-3.5.13.2.spec | 167 - redhat/applications/gwenview/gwenview-3.5.12.spec | 153 - ...gwenview-3.5.13-fix_alphabet_string_error.patch | 19 - .../gwenview-3.5.13-fix_building_libpng15.patch | 146 - .../gwenview/gwenview-3.5.13-fix_ftbfs.patch | 19 - .../gwenview-3.5.13-fix_ftbfs_in_jpeg_code.patch | 261 - .../gwenview-3.5.13-fix_libmng_check.patch | 27 - .../gwenview-3.5.13-fix_various_problems.patch | 114 - .../gwenview/gwenview-3.5.13-jpegint-ftbfs.patch | 254 - .../gwenview/gwenview-3.5.13-missing_ldflags.patch | 11 - ...w-3.5.13-remove_additional_tq_conversions.patch | 915 - .../gwenview-3.5.13-rename_a_few_stragglers.patch | 19 - ...wenview-3.5.13-rename_obsolete_tq_methods.patch | 323 - .../gwenview-3.5.13-rename_old_tq_method.patch | 796 - .../applications/gwenview/gwenview-3.5.13.1.spec | 255 - .../applications/gwenview/gwenview-3.5.13.2.spec | 187 - redhat/applications/gwenview/gwenview-3.5.13.spec | 269 - .../applications/k3b-i18n/k3b-i18n-3.5.13.1.spec | 325 - .../applications/k3b-i18n/k3b-i18n-3.5.13.2.spec | 405 - redhat/applications/k3b-i18n/k3b-i18n-3.5.13.spec | 308 - .../applications/k3b-i18n/k3b-i18n-trinity.patch | 11 - redhat/applications/k3b/k3b-1.0.3-umount.patch | 48 - .../applications/k3b/k3b-1.0.4-manualbufsize.patch | 21 - redhat/applications/k3b/k3b-1.0.5-hidden.patch | 31 - redhat/applications/k3b/k3b-3.5.12.spec | 282 - .../k3b/k3b-3.5.13-fix_Range_r_3-gcc47.patch | 22 - .../k3b/k3b-3.5.13-fix_dbus_tqt_detection.patch | 22 - .../k3b/k3b-3.5.13-missing_ldflags.patch | 131 - redhat/applications/k3b/k3b-3.5.13.1.spec | 409 - .../k3b/k3b-3.5.13.2-fix_ffmpeg_support.patch | 11 - redhat/applications/k3b/k3b-3.5.13.2.spec | 468 - redhat/applications/k3b/k3b-3.5.13.spec | 319 - .../applications/k3b/reload-for-verification.diff | 33 - redhat/applications/k3b/trinity-k3b-icons.patch | 23 - .../k9copy/k9copy-14.0.0-fix_k3b_link.patch | 11 - ...py-3.5.13-fix_another_string_format_error.patch | 19 - ...copy-3.5.13-fix_format_not_string_literal.patch | 53 - ...py-3.5.13-fix_format_not_string_literal_2.patch | 23 - .../k9copy-3.5.13-fix_format_string_error.patch | 28 - .../k9copy/k9copy-3.5.13-fix_ftbfs.patch | 19 - .../k9copy/k9copy-3.5.13-fix_ftbfs_2.patch | 19 - ...3.5.13-fix_remaining_string_format_errors.patch | 150 - .../k9copy/k9copy-3.5.13-missing_ldflags.patch | 11 - redhat/applications/k9copy/k9copy-3.5.13.1.spec | 148 - .../k9copy/k9copy-3.5.13.2-avcodec.patch | 14 - .../k9copy/k9copy-3.5.13.2-fix_k3b_link.patch | 11 - .../k9copy/k9copy-3.5.13.2-ftbfs.patch | 18 - .../k9copy-3.5.13.2-use_external_dvdread.patch | 102 - redhat/applications/k9copy/k9copy-3.5.13.2.spec | 146 - redhat/applications/k9copy/k9copy-3.5.13.spec | 164 - .../kaffeine-mozilla-3.5.13-fix_nspr_include.patch | 22 - .../kaffeine-mozilla-3.5.13.1.spec | 120 - .../kaffeine-mozilla-3.5.13.2-fix_automake.patch | 11 - .../kaffeine-mozilla-3.5.13.2.spec | 131 - .../kaffeine-mozilla/kaffeine-mozilla-3.5.13.spec | 110 - ...error_out_if_critical_osd_defines_not_set.patch | 25 - .../kaffeine-3.5.13-fix_localization_files.patch | 28 - .../kaffeine-3.5.13-fix_program_name.patch | 19 - .../kaffeine-3.5.13-fix_slow_dvb_start.patch | 97 - .../kaffeine-3.5.13-fix_temporary_location.patch | 31 - .../kaffeine-3.5.13-fix_typos_branding_tqt.patch | 240 - .../kaffeine-3.5.13-fix_win32_codec_url.patch | 29 - .../kaffeine/kaffeine-3.5.13-missing_ldflags.patch | 42 - ...e-3.5.13-remove_additional_tq_conversions.patch | 1403 - ...affeine-3.5.13-rename_obsolete_tq_methods.patch | 643 - .../kaffeine-3.5.13-rename_old_tq_methods.patch | 2103 - .../kaffeine-3.5.13-renames_a_few_stragglers.patch | 30 - .../kaffeine-3.5.13.1-add_xine12_support.patch | 14 - .../applications/kaffeine/kaffeine-3.5.13.1.spec | 284 - .../applications/kaffeine/kaffeine-3.5.13.2.spec | 289 - redhat/applications/kaffeine/kaffeine-3.5.13.spec | 305 - .../kasablanca/kasablanca-14.0.0-fix_ftp.patch | 13 - redhat/applications/katapult/katapult-3.5.12.spec | 120 - .../applications/katapult/katapult-3.5.13.1.spec | 196 - .../applications/katapult/katapult-3.5.13.2.spec | 173 - redhat/applications/katapult/katapult-3.5.13.spec | 189 - ...de-3.5.13-fix_format_not_a_string_literal.patch | 27 - .../kbarcode/kbarcode-3.5.13-fix_ftbfs.patch | 19 - ...rcode-3.5.13-fix_remaining_string_literal.patch | 32 - .../applications/kbarcode/kbarcode-3.5.13.1.spec | 160 - .../applications/kbarcode/kbarcode-3.5.13.2.spec | 154 - redhat/applications/kbarcode/kbarcode-3.5.13.spec | 161 - .../kbfx/kbfx-3.5.13-fix_install_directories.patch | 8 - .../kbfx/kbfx-3.5.13-missing_ldflags.patch | 20 - .../kbfx-3.5.13.1-fix_install_directories.patch | 12 - redhat/applications/kbfx/kbfx-3.5.13.1.spec | 169 - redhat/applications/kbfx/kbfx-3.5.13.2.spec | 173 - redhat/applications/kbfx/kbfx-3.5.13.spec | 165 - .../kbookreader/kbookreader-3.5.13.1.spec | 156 - .../kbookreader/kbookreader-3.5.13.2.spec | 118 - .../kbookreader/kbookreader-3.5.13.spec | 147 - .../kchmviewer-3.5.13-missing_ldflags.patch | 11 - .../kchmviewer/kchmviewer-3.5.13.1.spec | 158 - .../kchmviewer/kchmviewer-3.5.13.2.spec | 145 - .../applications/kchmviewer/kchmviewer-3.5.13.spec | 149 - .../kcmautostart-3.5.13-add_french.patch | 69 - .../kcmautostart-3.5.13-fix_crash_on_exit.patch | 14 - .../kcmautostart-3.5.13-fix_fr_translation.patch | 11 - .../kcmautostart/kcmautostart-3.5.13-ftbfs.patch | 67 - .../kcmautostart/kcmautostart-3.5.13.1.spec | 125 - .../kcmautostart/kcmautostart-3.5.13.2.spec | 124 - .../kcmautostart/kcmautostart-3.5.13.spec | 116 - .../applications/kcmautostart/kcmautostart-fr.po | 52 - .../applications/kcpuload/kcpuload-3.5.13.1.spec | 139 - .../applications/kcpuload/kcpuload-3.5.13.2.spec | 125 - redhat/applications/kcpuload/kcpuload-3.5.13.spec | 130 - ...kdbusnotification-3.5.13-missing_ldlflags.patch | 10 - .../kdbusnotification-3.5.13.1.spec | 129 - .../kdbusnotification-3.5.13.2-fix_utf8.patch | 15 - .../kdbusnotification-3.5.13.2.spec | 117 - .../kdbusnotification-3.5.13.spec | 119 - redhat/applications/kdiff3/bp000-c7e29c46.diff | 662 - redhat/applications/kdiff3/bp001-9b57232f.diff | 627 - redhat/applications/kdiff3/bp002-d654b107.diff | 328 - redhat/applications/kdiff3/bp003-3f02b2be.diff | 19 - redhat/applications/kdiff3/kdiff3-3.5.12.spec | 111 - redhat/applications/kdiff3/kdiff3-3.5.13.1.spec | 159 - redhat/applications/kdiff3/kdiff3-3.5.13.2.spec | 138 - redhat/applications/kdiff3/kdiff3-3.5.13.spec | 160 - .../applications/kdirstat/kdirstat-3.5.13.1.spec | 148 - .../applications/kdirstat/kdirstat-3.5.13.2.spec | 133 - redhat/applications/kdirstat/kdirstat-3.5.13.spec | 139 - redhat/applications/keep/keep-3.5.13.1.spec | 139 - redhat/applications/keep/keep-3.5.13.2.spec | 128 - redhat/applications/keep/keep-3.5.13.spec | 130 - .../kerry/kerry-3.5.13-missing_ldflags.patch | 22 - redhat/applications/kerry/kerry-3.5.13.1.spec | 148 - redhat/applications/kerry/kerry-3.5.13.2.spec | 148 - redhat/applications/kerry/kerry-3.5.13.spec | 146 - .../kgtk-qt3/kgtk-qt3-3.5.13-fix_libsuffix.patch | 22 - .../applications/kgtk-qt3/kgtk-qt3-3.5.13.1.spec | 145 - .../applications/kgtk-qt3/kgtk-qt3-3.5.13.2.spec | 126 - redhat/applications/kgtk-qt3/kgtk-qt3-3.5.13.spec | 138 - redhat/applications/kile/kile-3.5.13.1.spec | 210 - redhat/applications/kile/kile-3.5.13.2.spec | 194 - redhat/applications/kile/kile-3.5.13.spec | 648 - redhat/applications/kima/kima-3.5.13.1.spec | 127 - redhat/applications/kima/kima-3.5.13.2.spec | 121 - redhat/applications/kima/kima-3.5.13.spec | 118 - .../applications/kiosktool/kiosktool-3.5.13.1.spec | 159 - .../applications/kiosktool/kiosktool-3.5.13.2.spec | 125 - .../applications/kiosktool/kiosktool-3.5.13.spec | 150 - .../kmplayer-3.5.13-fix_gcc47_compilation.patch | 45 - .../kmplayer/kmplayer-3.5.13-missing_ldflags.patch | 21 - .../kmplayer-3.5.13.1-fix_xine12_support.patch | 112 - .../applications/kmplayer/kmplayer-3.5.13.1.spec | 247 - .../applications/kmplayer/kmplayer-3.5.13.2.spec | 275 - redhat/applications/kmplayer/kmplayer-3.5.13.spec | 232 - .../kmyfirewall-3.5.13-fix_gcc47_compilation.patch | 39 - .../kmyfirewall-3.5.13-missing_ldflags.patch | 11 - .../kmyfirewall/kmyfirewall-3.5.13.1.spec | 208 - .../kmyfirewall/kmyfirewall-3.5.13.2.spec | 193 - .../kmyfirewall/kmyfirewall-3.5.13.spec | 207 - .../kmymoney/23011-qt-sqlite3-0.2.tar.gz | Bin 9186 -> 0 bytes .../kmymoney/admin-fix-parallel-test.diff | 11 - .../kmymoney-3.5.13-fix_gcc47_compilation.patch | 11 - .../kmymoney-3.5.13-fix_qt3_plugins_location.patch | 41 - .../kmymoney/kmymoney-3.5.13-lots_of_crash.patch | 238 - .../kmymoney/kmymoney-3.5.13-missing_ldflags.patch | 18 - .../kmymoney/kmymoney-3.5.13-recode_ftbfs.patch | 22 - .../kmymoney/kmymoney-3.5.13-update_to_1.0.5.patch | 264 - .../applications/kmymoney/kmymoney-3.5.13.1.spec | 277 - .../kmymoney/kmymoney-3.5.13.2-ftbfs.patch | 19 - .../applications/kmymoney/kmymoney-3.5.13.2.spec | 268 - redhat/applications/kmymoney/kmymoney-3.5.13.spec | 278 - redhat/applications/knemo/knemo-3.5.13.1.spec | 143 - redhat/applications/knemo/knemo-3.5.13.2.spec | 136 - redhat/applications/knemo/knemo-3.5.13.spec | 135 - .../applications/knetload/knetload-3.5.13.1.spec | 144 - .../applications/knetload/knetload-3.5.13.2.spec | 132 - redhat/applications/knetload/knetload-3.5.13.spec | 136 - .../applications/knetstats/knetstats-3.5.13.1.spec | 132 - .../applications/knetstats/knetstats-3.5.13.2.spec | 123 - .../applications/knetstats/knetstats-3.5.13.spec | 124 - .../knetworkmanager-3.5.13-missing_includes.patch | 10 - .../knetworkmanager-3.5.13-subdir_version.patch | 22 - ...knetworkmanager-3.5.13-wpa_passphrase_lag.patch | 33 - .../knetworkmanager8/knetworkmanager-3.5.13.1.spec | 186 - .../knetworkmanager8/knetworkmanager-3.5.13.spec | 180 - .../knetworkmanager8-3.5.13.2.spec | 179 - redhat/applications/knights/knights-3.5.13.1.spec | 145 - redhat/applications/knights/knights-3.5.13.2.spec | 132 - redhat/applications/knights/knights-3.5.13.spec | 137 - redhat/applications/knowit/knowit-3.5.13.1.spec | 142 - redhat/applications/knowit/knowit-3.5.13.2.spec | 135 - redhat/applications/knowit/knowit-3.5.13.spec | 134 - .../knutclient/knutclient-3.5.13.1.spec | 141 - .../knutclient/knutclient-3.5.13.2.spec | 126 - .../applications/knutclient/knutclient-3.5.13.spec | 133 - .../koffice-i18n/koffice-i18n-3.5.13.1.spec | 1086 - .../koffice-i18n/koffice-i18n-3.5.13.2.spec | 1045 - .../koffice-i18n/koffice-l10n-3.5.13.spec | 1090 - .../koffice/admin-fix-parallel-test.diff | 11 - ...-possible-crash-in-buffered-mode-sqlite-2.patch | 27 - ...ix-support-for-boolean-types-in-migration.patch | 22 - .../kexi-fix-support-for-boolean-types.patch | 23 - .../koffice/kexi-fp_expressions-1.1.3.patch | 21 - .../koffice/kexi-hide_hourglass-1.1.3-2.patch | 23 - .../kexi-mysql_migrate_long_text-1.1.3.patch | 16 - .../kexi-thoushand_objects_support-1.1.3-2.patch | 258 - .../koffice/koffice-3.5.13-chalk_gmagick.patch | 129 - .../koffice-3.5.13-damaged_binary_files.tar.gz | Bin 9962157 -> 0 bytes .../koffice/koffice-3.5.13-fix_bug_657.patch | 2662 - .../koffice-3.5.13-fix_gcc47_compilation.patch | 19 - .../koffice-3.5.13-fix_lcms_detection.patch | 11 - .../koffice/koffice-3.5.13-fix_libpng.patch | 48 - .../koffice/koffice-3.5.13-fix_ruby_1.9.patch | 118 - .../koffice-3.5.13-kross_utilities_syntax.patch | 34 - .../koffice/koffice-3.5.13-missing_ldflags.patch | 61 - redhat/applications/koffice/koffice-3.5.13.1.spec | 1081 - .../koffice-3.5.13.2-fix_kformula_ftbfs.patch | 11 - .../koffice-3.5.13.2-fix_ruby2_detection.patch | 15 - .../koffice-3.5.13.2-fix_wpd_09_support.patch | 16418 --- .../koffice-3.5.13.2-fix_wpd_09_support_2.patch | 88 - redhat/applications/koffice/koffice-3.5.13.2.spec | 1157 - redhat/applications/koffice/koffice-3.5.13.spec | 1081 - redhat/applications/konversation/96f2a488.diff | 84 - .../applications/konversation/bp000-01f5ea83.diff | 3130 - .../applications/konversation/bp001-efdae4e7.diff | 4114 - .../applications/konversation/bp002-c64099e5.diff | 697 - .../applications/konversation/bp003-440010aa.diff | 36 - .../applications/konversation/bp004-ca3d6cef.diff | 200 - .../konversation/konversation-3.5.13.1.spec | 190 - .../konversation/konversation-3.5.13.2.spec | 174 - .../konversation/konversation-3.5.13.spec | 196 - .../kopete-otr/kopete-otr-3.5.13.1.spec | 153 - .../kopete-otr/kopete-otr-3.5.13.2.spec | 151 - .../applications/kopete-otr/kopete-otr-3.5.13.spec | 145 - ...sim-3.5.13-fix_not_a_string_literal_error.patch | 11 - .../applications/kpicosim/kpicosim-3.5.13.1.spec | 135 - .../applications/kpicosim/kpicosim-3.5.13.2.spec | 124 - redhat/applications/kpicosim/kpicosim-3.5.13.spec | 131 - .../applications/kpilot/kpilot-3.5.13-ftbfs.patch | 11 - .../kpilot/kpilot-3.5.13-missing_ldflags.patch | 11 - redhat/applications/kpilot/kpilot-3.5.13.1.spec | 184 - redhat/applications/kpilot/kpilot-3.5.13.2.spec | 173 - redhat/applications/kpilot/kpilot-3.5.13.spec | 185 - .../kpowersave/kpowersave-3.5.13.1.spec | 158 - .../kpowersave/kpowersave-3.5.13.2.spec | 158 - .../applications/kpowersave/kpowersave-3.5.13.spec | 150 - redhat/applications/krename/krename-3.5.12.spec | 105 - redhat/applications/krename/krename-3.5.13.1.spec | 155 - redhat/applications/krename/krename-3.5.13.2.spec | 127 - redhat/applications/krename/krename-3.5.13.spec | 144 - .../krusader-3.5.13-fix_gcc47_compilation.patch | 20 - ...der-3.5.13-fix_not_a_string_literal_error.patch | 11 - .../applications/krusader/krusader-3.5.13.1.spec | 164 - .../krusader/krusader-3.5.13.2-tmpvfs-ftbfs.patch | 62 - .../applications/krusader/krusader-3.5.13.2.spec | 155 - redhat/applications/krusader/krusader-3.5.13.spec | 163 - .../applications/ksensors/ksensors-3.5.13.2.spec | 139 - .../ksplash-engine-moodin-3.5.13.1.spec | 134 - .../ksplash-engine-moodin-3.5.13.2.spec | 121 - .../ksplash-engine-moodin-3.5.13.spec | 126 - .../applications/ksquirrel/ksquirrel-3.5.13.1.spec | 154 - .../applications/ksquirrel/ksquirrel-3.5.13.2.spec | 146 - .../applications/ksquirrel/ksquirrel-3.5.13.spec | 146 - .../kstreamripper/kstreamripper-14.0.0.spec | 4 +- .../kstreamripper-3.5.13-fix_doc_directory.patch | 9 - .../kstreamripper-3.5.13-missing_include_tqt.patch | 10 - .../kstreamripper-3.5.13-missing_ldflags.patch | 11 - .../kstreamripper/kstreamripper-3.5.13.1.spec | 129 - .../kstreamripper/kstreamripper-3.5.13.2.spec | 95 - .../kstreamripper/kstreamripper-3.5.13.spec | 125 - .../ksystemlog/ksystemlog-3.5.13.1.spec | 134 - .../ksystemlog/ksystemlog-3.5.13.2.spec | 122 - .../applications/ksystemlog/ksystemlog-3.5.13.spec | 126 - .../ktechlab/ktechlab-3.5.13-duplicate_icons.patch | 13 - .../ktechlab/ktechlab-3.5.13-missing_ldflags.patch | 11 - .../ktechlab-3.5.13.1-remove_gpsim_link.patch | 11 - .../applications/ktechlab/ktechlab-3.5.13.1.spec | 145 - .../ktechlab/ktechlab-3.5.13.2-ftbfs.patch | 11 - .../applications/ktechlab/ktechlab-3.5.13.2.spec | 132 - redhat/applications/ktechlab/ktechlab-3.5.13.spec | 140 - redhat/applications/ktorrent/bp000-a90eb215.diff | 3901 - redhat/applications/ktorrent/bp001-bb37c405.diff | 3511 - redhat/applications/ktorrent/bp002-0d48fca8.diff | 1585 - redhat/applications/ktorrent/bp003-c3480dfe.diff | 19 - redhat/applications/ktorrent/bp004-445a5152.diff | 123 - redhat/applications/ktorrent/bp005-03d0c794.diff | 35 - redhat/applications/ktorrent/bp006-5af9907f.diff | 139176 ------------------ redhat/applications/ktorrent/bp007-355c6b69.diff | 122 - .../ktorrent/ktorrent-3.5.13-5dcbbbba-partial.diff | 156 - .../ktorrent/ktorrent-3.5.13-missing_ldflags.patch | 9 - .../applications/ktorrent/ktorrent-3.5.13.1.spec | 182 - .../applications/ktorrent/ktorrent-3.5.13.2.spec | 184 - redhat/applications/ktorrent/ktorrent-3.5.13.spec | 204 - redhat/applications/kuickshow/bp000-8712ab46.diff | 182 - redhat/applications/kuickshow/bp001-28d9c774.diff | 226 - redhat/applications/kuickshow/bp002-bdeb8b3a.diff | 166 - redhat/applications/kuickshow/bp003-d97e403f.diff | 23 - .../applications/kuickshow/kuickshow-14.0.0.spec | 168 - .../applications/kuickshow/kuickshow-3.5.12.spec | 110 - .../kuickshow-3.5.13-missing_ldflags.patch | 11 - .../applications/kuickshow/kuickshow-3.5.13.1.spec | 151 - .../applications/kuickshow/kuickshow-3.5.13.2.spec | 127 - .../applications/kuickshow/kuickshow-3.5.13.spec | 156 - redhat/applications/kvirc/bp000-32a249ba.diff | 4337 - redhat/applications/kvirc/bp001-f9114981.diff | 3358 - redhat/applications/kvirc/bp002-2dd6d32b.diff | 4391 - redhat/applications/kvirc/bp003-1c00d6ff.diff | 19 - redhat/applications/kvirc/bp004-ff96f491.diff | 19 - redhat/applications/kvirc/bp005-2285efe5.diff | 49 - redhat/applications/kvirc/bp006-51bbe9e5.diff | 32 - redhat/applications/kvirc/bp007-a24a8595.diff | 1956 - .../kvirc/kvirc-3.5.13-directories.patch | 26 - .../kvirc/kvirc-3.5.13-fix_acinclude_m4.patch | 20 - redhat/applications/kvirc/kvirc-3.5.13-ftbfs.patch | 11 - .../kvirc/kvirc-3.5.13-missing_ldflags.patch | 22 - .../kvirc/kvirc-3.5.13.1-directories.patch | 26 - .../kvirc/kvirc-3.5.13.1-fix_arts_detection.patch | 11 - redhat/applications/kvirc/kvirc-3.5.13.1.spec | 230 - .../kvirc/kvirc-3.5.13.2-fix_ftbfs.patch | 11 - .../kvirc/kvirc-3.5.13.2-install_directory.patch | 15 - redhat/applications/kvirc/kvirc-3.5.13.2.spec | 211 - redhat/applications/kvirc/kvirc-3.5.13.spec | 246 - redhat/applications/kvkbd/kvkbd-3.5.13.1.spec | 128 - redhat/applications/kvkbd/kvkbd-3.5.13.2.spec | 117 - redhat/applications/kvkbd/kvkbd-3.5.13.spec | 120 - .../piklab-3.5.13-fix_gcc47_compilation.patch | 33 - .../piklab/piklab-3.5.13.1-remove_gui_dir.patch | 7 - redhat/applications/piklab/piklab-3.5.13.1.spec | 161 - redhat/applications/piklab/piklab-3.5.13.2.spec | 145 - redhat/applications/piklab/piklab-3.5.13.spec | 153 - .../potracegui/potracegui-3.5.13.1.spec | 134 - .../potracegui/potracegui-3.5.13.2.spec | 122 - .../applications/potracegui/potracegui-3.5.13.spec | 126 - .../rosegarden-3.5.13-fix_gcc47_compilation.patch | 334 - ...rosegarden-3.5.13-fix_gcc47_compilation_2.patch | 20 - .../rosegarden/rosegarden-3.5.13-ftbfs.patch | 10 - .../rosegarden-3.5.13-missing_ldflags.patch | 15 - .../rosegarden/rosegarden-3.5.13.1.spec | 222 - .../rosegarden/rosegarden-3.5.13.2.spec | 217 - .../applications/rosegarden/rosegarden-3.5.13.spec | 222 - .../smartcardauth/smartcardauth-3.5.13-ftbfs.patch | 10 - .../smartcardauth/smartcardauth-3.5.13.1.spec | 156 - .../smartcardauth/smartcardauth-3.5.13.2.spec | 138 - .../smartcardauth/smartcardauth-3.5.13.spec | 144 - .../smb4k/smb4k-3.5.13-fix_gcc47_compilation.patch | 18 - redhat/applications/smb4k/smb4k-3.5.13.1.spec | 188 - redhat/applications/smb4k/smb4k-3.5.13.2.spec | 174 - redhat/applications/smb4k/smb4k-3.5.13.spec | 184 - .../soundkonverter/soundkonverter-3.5.13.1.spec | 181 - .../soundkonverter/soundkonverter-3.5.13.2.spec | 171 - .../soundkonverter/soundkonverter-3.5.13.spec | 173 - .../tde-guidance/guidance-3.5.13.1.spec | 414 - .../applications/tde-guidance/guidance-3.5.13.spec | 390 - ...de-guidance-3.5.13-fix_wine_create_prefix.patch | 73 - .../tde-guidance-3.5.13.2-fix_mountconfig.patch | 51 - .../tde-guidance/tde-guidance-3.5.13.2.spec | 466 - .../kde-style-lipstik-3.5.12.spec | 108 - .../kde-style-lipstik-3.5.13.1.spec | 129 - .../kde-style-lipstik-3.5.13.spec | 120 - .../tde-style-lipstik-3.5.13.2.spec | 116 - .../kde-style-qtcurve-1.6.2-libsuffix.patch | 11 - ...kde-style-qtcurve-3.5.13-fix_config_ftbfs.patch | 101 - ...-qtcurve-3.5.13-fix_kde_style_compilation.patch | 243 - ...kde-style-qtcurve-3.5.13-fix_tqt_renaming.patch | 237 - .../kde-style-qtcurve-3.5.13.1.spec | 141 - .../kde-style-qtcurve-3.5.13.spec | 140 - .../tde-style-qtcurve-3.5.13.2.spec | 139 - .../kde-settings-laptops.directory | 14 - .../kde-systemsettings-3.5.13.1.spec | 159 - .../kde-systemsettings-3.5.13.spec | 150 - .../tde-systemsettings-3.5.13.2.spec | 145 - .../tdeio-apt/tdeio-apt-3.5.13.2-ftbfs.patch | 33 - .../applications/tdeio-apt/tdeio-apt-3.5.13.2.spec | 121 - .../tdeio-locate/kio-locate-3.5.12.spec | 111 - .../kio-locate-3.5.13-fix_gcc47_compilation.patch | 40 - .../tdeio-locate/kio-locate-3.5.13.1.spec | 135 - .../tdeio-locate/kio-locate-3.5.13.spec | 113 - .../tdeio-locate/tdeio-locate-3.5.13.2.spec | 128 - .../kio-umountwrapper-3.5.13.1.spec | 157 - .../kio-umountwrapper-3.5.13.spec | 140 - .../tdeio-umountwrapper-3.5.13.2.spec | 130 - .../tderadio/kradio-3.5.13.1-updated_preset.patch | 26417 ---- redhat/applications/tderadio/kradio-3.5.13.1.spec | 182 - redhat/applications/tderadio/kradio-3.5.13.spec | 164 - .../applications/tderadio/tderadio-3.5.13.2.spec | 171 - redhat/applications/tdesudo/kdesudo-3.5.13.1.spec | 139 - redhat/applications/tdesudo/kdesudo-3.5.13.spec | 130 - redhat/applications/tdesudo/tdesudo-3.5.13.2.spec | 110 - redhat/applications/tdesvn/tdesvn-3.5.13.2.spec | 255 - .../applications/tdmtheme/kdmtheme-3.5.13.1.spec | 130 - redhat/applications/tdmtheme/kdmtheme-3.5.13.spec | 121 - .../tdmtheme/tdmtheme-3.5.13.2-fix_segv.patch | 35 - .../applications/tdmtheme/tdmtheme-3.5.13.2.spec | 119 - .../tellico-3.5.13-fix_gcc47_compilation.patch | 10 - ...ico-3.5.13-fix_not_a_string_literal_error.patch | 31 - .../tellico/tellico-3.5.13.1-fix_ftbfs.patch | 11 - redhat/applications/tellico/tellico-3.5.13.1.spec | 239 - .../tellico/tellico-3.5.13.2-ftbfs.patch | 19 - .../tellico/tellico-3.5.13.2-videodev.patch | 11 - redhat/applications/tellico/tellico-3.5.13.2.spec | 232 - redhat/applications/tellico/tellico-3.5.13.spec | 226 - .../kwin-style-crystal-3.5.12.spec | 109 - .../kwin-style-crystal-3.5.13.1.spec | 124 - .../kwin-style-crystal-3.5.13.spec | 116 - .../twin-style-crystal-3.5.13.2.spec | 117 - .../wlassistant/wlassistant-3.5.13.1.spec | 134 - .../wlassistant/wlassistant-3.5.13.2.spec | 140 - .../wlassistant/wlassistant-3.5.13.spec | 128 - redhat/applications/yakuake/yakuake-3.5.12.spec | 97 - redhat/applications/yakuake/yakuake-3.5.13.1.spec | 134 - redhat/applications/yakuake/yakuake-3.5.13.2.spec | 114 - redhat/applications/yakuake/yakuake-3.5.13.spec | 126 - redhat/dependencies/akode/akode-3.5.13.2.spec | 350 - redhat/dependencies/arts/arts-3.5.13.2.spec | 312 - .../dependencies/avahi-tqt/avahi-tqt-3.5.13.2.spec | 245 - .../dbus-1-tqt/dbus-1-tqt-3.5.13.2.spec | 183 - .../dbus-tqt-3.5.13-fix_old_dbus_types.patch | 44 - .../dependencies/dbus-tqt/dbus-tqt-3.5.13.2.spec | 194 - .../dependencies/libcaldav/libcaldav-3.5.13.2.spec | 195 - .../libcarddav/libcarddav-3.5.13.2.spec | 195 - redhat/dependencies/qt3/qt3-3.5.13.1.spec | 699 - redhat/dependencies/qt3/qt3-3.5.13.2.spec | 561 - .../dependencies/tqca-tls/tqca-tls-3.5.13.2.spec | 122 - redhat/dependencies/tqca/tqca-3.5.13.2.spec | 164 - .../tqtinterface/tqtinterface-3.5.13.2.spec | 270 - .../brp-check-trinity-3.5.13.2.spec | 105 - .../trinity-desktop/trinity-desktop-3.5.13.2.spec | 330 - .../trinity-filesystem-3.5.13.2.spec | 484 - redhat/libraries/libkdcraw/libkdcraw-3.5.13.2.spec | 165 - redhat/libraries/libkexiv2/libkexiv2-3.5.13.2.spec | 155 - redhat/libraries/libkipi/libkipi-3.5.13.2.spec | 167 - .../libksquirrel/libksquirrel-3.5.13.2.spec | 514 - ...pykdeextensions-3.5.13-do_not_link_stdc++.patch | 31 - ...kdeextensions-3.5.13-fix_extra_module_dir.patch | 19 - .../pykdeextensions-3.5.13-fix_include_dir.patch | 11 - .../pykdeextensions-3.5.13-fix_libsuffix.patch | 53 - .../pykdeextensions-3.5.13-fix_libtool.patch | 20 - ...eextensions-3.5.13.1-fix_extra_module_dir.patch | 18 - ...eextensions-3.5.13.1-fix_libgcc_detection.patch | 62 - .../pytdeextensions/pykdeextensions-3.5.13.1.spec | 212 - ...eextensions-3.5.13.2-fix_extra_module_dir.patch | 41 - .../pykdeextensions-3.5.13.2-fix_include_dir.patch | 11 - .../pytdeextensions/pykdeextensions-3.5.13.spec | 215 - .../pytdeextensions/pytdeextensions-3.5.13.2.spec | 225 - ...thon-trinity-3.5.13-fix_gcc47_compilation.patch | 33 - ...hon-trinity-3.5.13-fix_mandrake_detection.patch | 11 - ...python-trinity-3.5.13-install_directories.patch | 11 - ...on-trinity-3.5.13.1-add_include_directory.patch | 10 - .../python-trinity/python-trinity-3.5.13.1.spec | 187 - .../python-trinity-3.5.13.2-fix_is_private.patch | 56 - ...ython-trinity-3.5.13.2-fix_tde_includedir.patch | 11 - .../python-trinity/python-trinity-3.5.13.2.spec | 186 - .../python-trinity/python-trinity-3.5.13.spec | 177 - redhat/main/tde-i18n/tde-i18n-3.5.13.2.spec | 1492 - .../tdeaccessibility-3.5.13.2.spec | 583 - redhat/main/tdeaddons/tdeaddons-3.5.13.2.spec | 735 - redhat/main/tdeadmin/tdeadmin-3.5.13.2.spec | 538 - redhat/main/tdeartwork/tdeartwork-3.5.13.2.spec | 744 - redhat/main/tdebase/tdebase-3.5.13.2.spec | 3886 - redhat/main/tdebindings/tdebindings-3.5.13.2.spec | 1195 - redhat/main/tdeedu/tdeedu-3.5.13.2.spec | 1367 - redhat/main/tdegames/tdegames-3.5.13.2.spec | 1647 - redhat/main/tdegraphics/tdegraphics-3.5.13.2.spec | 1332 - redhat/main/tdelibs/tdelibs-3.5.13.2.spec | 581 - .../main/tdemultimedia/tdemultimedia-3.5.13.2.spec | 1336 - redhat/main/tdenetwork/tdenetwork-3.5.13.2.spec | 1308 - redhat/main/tdepim/tdepim-3.5.13.2.spec | 2366 - redhat/main/tdesdk/tdesdk-3.5.13.2.spec | 1250 - redhat/main/tdetoys/tdetoys-3.5.13.2.spec | 430 - redhat/main/tdeutils/tdeutils-3.5.13.2.spec | 1063 - redhat/main/tdevelop/tdevelop-3.5.13.2.spec | 659 - redhat/main/tdewebdev/tdewebdev-3.5.13.2.spec | 552 - 529 files changed, 2 insertions(+), 312624 deletions(-) delete mode 100644 redhat/Makefile.v3.5.13-sru delete mode 100644 redhat/applications/abakus/abakus-0.91-link-dcop.patch delete mode 100644 redhat/applications/abakus/abakus-3.5.12.spec delete mode 100644 redhat/applications/abakus/abakus-3.5.13.1-fix_install_icon.patch delete mode 100644 redhat/applications/abakus/abakus-3.5.13.1.spec delete mode 100644 redhat/applications/abakus/abakus-3.5.13.2.spec delete mode 100644 redhat/applications/abakus/abakus-3.5.13.spec delete mode 100644 redhat/applications/adept/adept-3.5.13.2.spec delete mode 100644 redhat/applications/amarok/amarok-1.4.8-gcc43.patch delete mode 100644 redhat/applications/amarok/amarok-3.5.13-adds_ruby_1.9_support.patch delete mode 100644 redhat/applications/amarok/amarok-3.5.13-cmake_konqsidebar.patch delete mode 100644 redhat/applications/amarok/amarok-3.5.13-enable_akode.patch delete mode 100644 redhat/applications/amarok/amarok-3.5.13-enable_riokarma.patch delete mode 100644 redhat/applications/amarok/amarok-3.5.13-fix_gcc47_compilation.patch delete mode 100644 redhat/applications/amarok/amarok-3.5.13-fix_inotify_support.patch delete mode 100644 redhat/applications/amarok/amarok-3.5.13-fix_linear_alphabet.patch delete mode 100644 redhat/applications/amarok/amarok-3.5.13-taglib_include.patch delete mode 100644 redhat/applications/amarok/amarok-3.5.13.1-add_xine12_support.patch delete mode 100644 redhat/applications/amarok/amarok-3.5.13.1-fix_inotify_detection.patch delete mode 100644 redhat/applications/amarok/amarok-3.5.13.1-fix_rhel4_libs.patch delete mode 100644 redhat/applications/amarok/amarok-3.5.13.1.spec delete mode 100644 redhat/applications/amarok/amarok-3.5.13.2.spec delete mode 100644 redhat/applications/amarok/amarok-3.5.13.spec delete mode 100644 redhat/applications/basket/basket-3.5.12.spec delete mode 100644 redhat/applications/basket/basket-3.5.13-fix_gcc47_compilation.patch delete mode 100644 redhat/applications/basket/basket-3.5.13.1.spec delete mode 100644 redhat/applications/basket/basket-3.5.13.2.spec delete mode 100644 redhat/applications/basket/basket-3.5.13.spec delete mode 100644 redhat/applications/bibletime/bibletime-3.5.13.2.spec delete mode 100644 redhat/applications/compizconfig-backend-kconfig/compizconfig-backend-kconfig-3.5.12.spec delete mode 100644 redhat/applications/digikam/digikam-3.5.13-fix_fomat_not_string_literal.patch delete mode 100644 redhat/applications/digikam/digikam-3.5.13-fix_ftbfs_jpeg_code.patch delete mode 100644 redhat/applications/digikam/digikam-3.5.13-fix_ftbfs_png_015.patch delete mode 100644 redhat/applications/digikam/digikam-3.5.13-fix_ftbfs_png_code.patch delete mode 100644 redhat/applications/digikam/digikam-3.5.13-fix_obsolete_libpng_jmpbuf.patch delete mode 100644 redhat/applications/digikam/digikam-3.5.13-fix_reinterpret_cast.patch delete mode 100644 redhat/applications/digikam/digikam-3.5.13-gcc_47_fix.patch delete mode 100644 redhat/applications/digikam/digikam-3.5.13-gcc_47_fix2.patch delete mode 100644 redhat/applications/digikam/digikam-3.5.13-missing_ldflags.patch delete mode 100644 redhat/applications/digikam/digikam-3.5.13-remove_version_h.patch delete mode 100644 redhat/applications/digikam/digikam-3.5.13.1.spec delete mode 100644 redhat/applications/digikam/digikam-3.5.13.2-fix_png12_support.patch delete mode 100644 redhat/applications/digikam/digikam-3.5.13.2.spec delete mode 100644 redhat/applications/digikam/digikam-3.5.13.spec delete mode 100644 redhat/applications/dolphin/dolphin-3.5.12.spec delete mode 100644 redhat/applications/dolphin/dolphin-3.5.13.1.spec delete mode 100644 redhat/applications/dolphin/dolphin-3.5.13.2.spec delete mode 100644 redhat/applications/dolphin/dolphin-3.5.13.spec delete mode 100644 redhat/applications/filelight/filelight-3.5.12.spec delete mode 100644 redhat/applications/filelight/filelight-3.5.13-disable_l10n.patch delete mode 100644 redhat/applications/filelight/filelight-3.5.13.1.spec delete mode 100644 redhat/applications/filelight/filelight-3.5.13.2.spec delete mode 100644 redhat/applications/filelight/filelight-3.5.13.spec delete mode 100644 redhat/applications/fusion-icon/fusion-icon-3.5.13-fix_python_sitelib.patch delete mode 100644 redhat/applications/gtk-qt-engine/1383169502:f181fbbb337a75257089e64afabd04dac2e1d466.diff delete mode 100644 redhat/applications/gtk-qt-engine/1387752298:6e6dbb068e03a8bb818a76ba774d6f94ade7389f.diff delete mode 100644 redhat/applications/gtk-qt-engine/1387757695:a90aa09722d47f5f4009b089d8d874354899bdb8.diff delete mode 100644 redhat/applications/gtk-qt-engine/1387965535:0330b848db129b3dc4daa2a57272ec3b2fb7984c.diff delete mode 100644 redhat/applications/gtk-qt-engine/gtk-qt-engine-3.5.13-fix_glib_include.patch delete mode 100644 redhat/applications/gtk-qt-engine/gtk-qt-engine-3.5.13.1.spec delete mode 100644 redhat/applications/gtk-qt-engine/gtk-qt-engine-3.5.13.2.spec delete mode 100644 redhat/applications/gtk-qt-engine/gtk-qt-engine-3.5.13.spec delete mode 100644 redhat/applications/gwenview-i18n/gwenview-i18n-3.5.13.1.spec delete mode 100644 redhat/applications/gwenview-i18n/gwenview-i18n-3.5.13.2.spec delete mode 100644 redhat/applications/gwenview/gwenview-3.5.12.spec delete mode 100644 redhat/applications/gwenview/gwenview-3.5.13-fix_alphabet_string_error.patch delete mode 100644 redhat/applications/gwenview/gwenview-3.5.13-fix_building_libpng15.patch delete mode 100644 redhat/applications/gwenview/gwenview-3.5.13-fix_ftbfs.patch delete mode 100644 redhat/applications/gwenview/gwenview-3.5.13-fix_ftbfs_in_jpeg_code.patch delete mode 100644 redhat/applications/gwenview/gwenview-3.5.13-fix_libmng_check.patch delete mode 100644 redhat/applications/gwenview/gwenview-3.5.13-fix_various_problems.patch delete mode 100644 redhat/applications/gwenview/gwenview-3.5.13-jpegint-ftbfs.patch delete mode 100644 redhat/applications/gwenview/gwenview-3.5.13-missing_ldflags.patch delete mode 100644 redhat/applications/gwenview/gwenview-3.5.13-remove_additional_tq_conversions.patch delete mode 100644 redhat/applications/gwenview/gwenview-3.5.13-rename_a_few_stragglers.patch delete mode 100644 redhat/applications/gwenview/gwenview-3.5.13-rename_obsolete_tq_methods.patch delete mode 100644 redhat/applications/gwenview/gwenview-3.5.13-rename_old_tq_method.patch delete mode 100644 redhat/applications/gwenview/gwenview-3.5.13.1.spec delete mode 100644 redhat/applications/gwenview/gwenview-3.5.13.2.spec delete mode 100644 redhat/applications/gwenview/gwenview-3.5.13.spec delete mode 100644 redhat/applications/k3b-i18n/k3b-i18n-3.5.13.1.spec delete mode 100644 redhat/applications/k3b-i18n/k3b-i18n-3.5.13.2.spec delete mode 100644 redhat/applications/k3b-i18n/k3b-i18n-3.5.13.spec delete mode 100644 redhat/applications/k3b-i18n/k3b-i18n-trinity.patch delete mode 100644 redhat/applications/k3b/k3b-1.0.3-umount.patch delete mode 100644 redhat/applications/k3b/k3b-1.0.4-manualbufsize.patch delete mode 100644 redhat/applications/k3b/k3b-1.0.5-hidden.patch delete mode 100644 redhat/applications/k3b/k3b-3.5.12.spec delete mode 100644 redhat/applications/k3b/k3b-3.5.13-fix_Range_r_3-gcc47.patch delete mode 100644 redhat/applications/k3b/k3b-3.5.13-fix_dbus_tqt_detection.patch delete mode 100644 redhat/applications/k3b/k3b-3.5.13-missing_ldflags.patch delete mode 100644 redhat/applications/k3b/k3b-3.5.13.1.spec delete mode 100644 redhat/applications/k3b/k3b-3.5.13.2-fix_ffmpeg_support.patch delete mode 100644 redhat/applications/k3b/k3b-3.5.13.2.spec delete mode 100644 redhat/applications/k3b/k3b-3.5.13.spec delete mode 100644 redhat/applications/k3b/reload-for-verification.diff delete mode 100644 redhat/applications/k3b/trinity-k3b-icons.patch delete mode 100644 redhat/applications/k9copy/k9copy-14.0.0-fix_k3b_link.patch delete mode 100644 redhat/applications/k9copy/k9copy-3.5.13-fix_another_string_format_error.patch delete mode 100644 redhat/applications/k9copy/k9copy-3.5.13-fix_format_not_string_literal.patch delete mode 100644 redhat/applications/k9copy/k9copy-3.5.13-fix_format_not_string_literal_2.patch delete mode 100644 redhat/applications/k9copy/k9copy-3.5.13-fix_format_string_error.patch delete mode 100644 redhat/applications/k9copy/k9copy-3.5.13-fix_ftbfs.patch delete mode 100644 redhat/applications/k9copy/k9copy-3.5.13-fix_ftbfs_2.patch delete mode 100644 redhat/applications/k9copy/k9copy-3.5.13-fix_remaining_string_format_errors.patch delete mode 100644 redhat/applications/k9copy/k9copy-3.5.13-missing_ldflags.patch delete mode 100644 redhat/applications/k9copy/k9copy-3.5.13.1.spec delete mode 100644 redhat/applications/k9copy/k9copy-3.5.13.2-avcodec.patch delete mode 100644 redhat/applications/k9copy/k9copy-3.5.13.2-fix_k3b_link.patch delete mode 100644 redhat/applications/k9copy/k9copy-3.5.13.2-ftbfs.patch delete mode 100644 redhat/applications/k9copy/k9copy-3.5.13.2-use_external_dvdread.patch delete mode 100644 redhat/applications/k9copy/k9copy-3.5.13.2.spec delete mode 100644 redhat/applications/k9copy/k9copy-3.5.13.spec delete mode 100644 redhat/applications/kaffeine-mozilla/kaffeine-mozilla-3.5.13-fix_nspr_include.patch delete mode 100644 redhat/applications/kaffeine-mozilla/kaffeine-mozilla-3.5.13.1.spec delete mode 100644 redhat/applications/kaffeine-mozilla/kaffeine-mozilla-3.5.13.2-fix_automake.patch delete mode 100644 redhat/applications/kaffeine-mozilla/kaffeine-mozilla-3.5.13.2.spec delete mode 100644 redhat/applications/kaffeine-mozilla/kaffeine-mozilla-3.5.13.spec delete mode 100644 redhat/applications/kaffeine/kaffeine-3.5.13-error_out_if_critical_osd_defines_not_set.patch delete mode 100644 redhat/applications/kaffeine/kaffeine-3.5.13-fix_localization_files.patch delete mode 100644 redhat/applications/kaffeine/kaffeine-3.5.13-fix_program_name.patch delete mode 100644 redhat/applications/kaffeine/kaffeine-3.5.13-fix_slow_dvb_start.patch delete mode 100644 redhat/applications/kaffeine/kaffeine-3.5.13-fix_temporary_location.patch delete mode 100644 redhat/applications/kaffeine/kaffeine-3.5.13-fix_typos_branding_tqt.patch delete mode 100644 redhat/applications/kaffeine/kaffeine-3.5.13-fix_win32_codec_url.patch delete mode 100644 redhat/applications/kaffeine/kaffeine-3.5.13-missing_ldflags.patch delete mode 100644 redhat/applications/kaffeine/kaffeine-3.5.13-remove_additional_tq_conversions.patch delete mode 100644 redhat/applications/kaffeine/kaffeine-3.5.13-rename_obsolete_tq_methods.patch delete mode 100644 redhat/applications/kaffeine/kaffeine-3.5.13-rename_old_tq_methods.patch delete mode 100644 redhat/applications/kaffeine/kaffeine-3.5.13-renames_a_few_stragglers.patch delete mode 100644 redhat/applications/kaffeine/kaffeine-3.5.13.1-add_xine12_support.patch delete mode 100644 redhat/applications/kaffeine/kaffeine-3.5.13.1.spec delete mode 100644 redhat/applications/kaffeine/kaffeine-3.5.13.2.spec delete mode 100644 redhat/applications/kaffeine/kaffeine-3.5.13.spec delete mode 100644 redhat/applications/kasablanca/kasablanca-14.0.0-fix_ftp.patch delete mode 100644 redhat/applications/katapult/katapult-3.5.12.spec delete mode 100644 redhat/applications/katapult/katapult-3.5.13.1.spec delete mode 100644 redhat/applications/katapult/katapult-3.5.13.2.spec delete mode 100644 redhat/applications/katapult/katapult-3.5.13.spec delete mode 100644 redhat/applications/kbarcode/kbarcode-3.5.13-fix_format_not_a_string_literal.patch delete mode 100644 redhat/applications/kbarcode/kbarcode-3.5.13-fix_ftbfs.patch delete mode 100644 redhat/applications/kbarcode/kbarcode-3.5.13-fix_remaining_string_literal.patch delete mode 100644 redhat/applications/kbarcode/kbarcode-3.5.13.1.spec delete mode 100644 redhat/applications/kbarcode/kbarcode-3.5.13.2.spec delete mode 100644 redhat/applications/kbarcode/kbarcode-3.5.13.spec delete mode 100644 redhat/applications/kbfx/kbfx-3.5.13-fix_install_directories.patch delete mode 100644 redhat/applications/kbfx/kbfx-3.5.13-missing_ldflags.patch delete mode 100644 redhat/applications/kbfx/kbfx-3.5.13.1-fix_install_directories.patch delete mode 100644 redhat/applications/kbfx/kbfx-3.5.13.1.spec delete mode 100644 redhat/applications/kbfx/kbfx-3.5.13.2.spec delete mode 100644 redhat/applications/kbfx/kbfx-3.5.13.spec delete mode 100644 redhat/applications/kbookreader/kbookreader-3.5.13.1.spec delete mode 100644 redhat/applications/kbookreader/kbookreader-3.5.13.2.spec delete mode 100644 redhat/applications/kbookreader/kbookreader-3.5.13.spec delete mode 100644 redhat/applications/kchmviewer/kchmviewer-3.5.13-missing_ldflags.patch delete mode 100644 redhat/applications/kchmviewer/kchmviewer-3.5.13.1.spec delete mode 100644 redhat/applications/kchmviewer/kchmviewer-3.5.13.2.spec delete mode 100644 redhat/applications/kchmviewer/kchmviewer-3.5.13.spec delete mode 100644 redhat/applications/kcmautostart/kcmautostart-3.5.13-add_french.patch delete mode 100644 redhat/applications/kcmautostart/kcmautostart-3.5.13-fix_crash_on_exit.patch delete mode 100644 redhat/applications/kcmautostart/kcmautostart-3.5.13-fix_fr_translation.patch delete mode 100644 redhat/applications/kcmautostart/kcmautostart-3.5.13-ftbfs.patch delete mode 100644 redhat/applications/kcmautostart/kcmautostart-3.5.13.1.spec delete mode 100644 redhat/applications/kcmautostart/kcmautostart-3.5.13.2.spec delete mode 100644 redhat/applications/kcmautostart/kcmautostart-3.5.13.spec delete mode 100644 redhat/applications/kcmautostart/kcmautostart-fr.po delete mode 100644 redhat/applications/kcpuload/kcpuload-3.5.13.1.spec delete mode 100644 redhat/applications/kcpuload/kcpuload-3.5.13.2.spec delete mode 100644 redhat/applications/kcpuload/kcpuload-3.5.13.spec delete mode 100644 redhat/applications/kdbusnotification/kdbusnotification-3.5.13-missing_ldlflags.patch delete mode 100644 redhat/applications/kdbusnotification/kdbusnotification-3.5.13.1.spec delete mode 100644 redhat/applications/kdbusnotification/kdbusnotification-3.5.13.2-fix_utf8.patch delete mode 100644 redhat/applications/kdbusnotification/kdbusnotification-3.5.13.2.spec delete mode 100644 redhat/applications/kdbusnotification/kdbusnotification-3.5.13.spec delete mode 100644 redhat/applications/kdiff3/bp000-c7e29c46.diff delete mode 100644 redhat/applications/kdiff3/bp001-9b57232f.diff delete mode 100644 redhat/applications/kdiff3/bp002-d654b107.diff delete mode 100644 redhat/applications/kdiff3/bp003-3f02b2be.diff delete mode 100644 redhat/applications/kdiff3/kdiff3-3.5.12.spec delete mode 100644 redhat/applications/kdiff3/kdiff3-3.5.13.1.spec delete mode 100644 redhat/applications/kdiff3/kdiff3-3.5.13.2.spec delete mode 100644 redhat/applications/kdiff3/kdiff3-3.5.13.spec delete mode 100644 redhat/applications/kdirstat/kdirstat-3.5.13.1.spec delete mode 100644 redhat/applications/kdirstat/kdirstat-3.5.13.2.spec delete mode 100644 redhat/applications/kdirstat/kdirstat-3.5.13.spec delete mode 100644 redhat/applications/keep/keep-3.5.13.1.spec delete mode 100644 redhat/applications/keep/keep-3.5.13.2.spec delete mode 100644 redhat/applications/keep/keep-3.5.13.spec delete mode 100644 redhat/applications/kerry/kerry-3.5.13-missing_ldflags.patch delete mode 100644 redhat/applications/kerry/kerry-3.5.13.1.spec delete mode 100644 redhat/applications/kerry/kerry-3.5.13.2.spec delete mode 100644 redhat/applications/kerry/kerry-3.5.13.spec delete mode 100644 redhat/applications/kgtk-qt3/kgtk-qt3-3.5.13-fix_libsuffix.patch delete mode 100644 redhat/applications/kgtk-qt3/kgtk-qt3-3.5.13.1.spec delete mode 100644 redhat/applications/kgtk-qt3/kgtk-qt3-3.5.13.2.spec delete mode 100644 redhat/applications/kgtk-qt3/kgtk-qt3-3.5.13.spec delete mode 100644 redhat/applications/kile/kile-3.5.13.1.spec delete mode 100644 redhat/applications/kile/kile-3.5.13.2.spec delete mode 100644 redhat/applications/kile/kile-3.5.13.spec delete mode 100644 redhat/applications/kima/kima-3.5.13.1.spec delete mode 100644 redhat/applications/kima/kima-3.5.13.2.spec delete mode 100644 redhat/applications/kima/kima-3.5.13.spec delete mode 100644 redhat/applications/kiosktool/kiosktool-3.5.13.1.spec delete mode 100644 redhat/applications/kiosktool/kiosktool-3.5.13.2.spec delete mode 100644 redhat/applications/kiosktool/kiosktool-3.5.13.spec delete mode 100644 redhat/applications/kmplayer/kmplayer-3.5.13-fix_gcc47_compilation.patch delete mode 100644 redhat/applications/kmplayer/kmplayer-3.5.13-missing_ldflags.patch delete mode 100644 redhat/applications/kmplayer/kmplayer-3.5.13.1-fix_xine12_support.patch delete mode 100644 redhat/applications/kmplayer/kmplayer-3.5.13.1.spec delete mode 100644 redhat/applications/kmplayer/kmplayer-3.5.13.2.spec delete mode 100644 redhat/applications/kmplayer/kmplayer-3.5.13.spec delete mode 100644 redhat/applications/kmyfirewall/kmyfirewall-3.5.13-fix_gcc47_compilation.patch delete mode 100644 redhat/applications/kmyfirewall/kmyfirewall-3.5.13-missing_ldflags.patch delete mode 100644 redhat/applications/kmyfirewall/kmyfirewall-3.5.13.1.spec delete mode 100644 redhat/applications/kmyfirewall/kmyfirewall-3.5.13.2.spec delete mode 100644 redhat/applications/kmyfirewall/kmyfirewall-3.5.13.spec delete mode 100644 redhat/applications/kmymoney/23011-qt-sqlite3-0.2.tar.gz delete mode 100644 redhat/applications/kmymoney/admin-fix-parallel-test.diff delete mode 100644 redhat/applications/kmymoney/kmymoney-3.5.13-fix_gcc47_compilation.patch delete mode 100644 redhat/applications/kmymoney/kmymoney-3.5.13-fix_qt3_plugins_location.patch delete mode 100644 redhat/applications/kmymoney/kmymoney-3.5.13-lots_of_crash.patch delete mode 100644 redhat/applications/kmymoney/kmymoney-3.5.13-missing_ldflags.patch delete mode 100644 redhat/applications/kmymoney/kmymoney-3.5.13-recode_ftbfs.patch delete mode 100644 redhat/applications/kmymoney/kmymoney-3.5.13-update_to_1.0.5.patch delete mode 100644 redhat/applications/kmymoney/kmymoney-3.5.13.1.spec delete mode 100644 redhat/applications/kmymoney/kmymoney-3.5.13.2-ftbfs.patch delete mode 100644 redhat/applications/kmymoney/kmymoney-3.5.13.2.spec delete mode 100644 redhat/applications/kmymoney/kmymoney-3.5.13.spec delete mode 100644 redhat/applications/knemo/knemo-3.5.13.1.spec delete mode 100644 redhat/applications/knemo/knemo-3.5.13.2.spec delete mode 100644 redhat/applications/knemo/knemo-3.5.13.spec delete mode 100644 redhat/applications/knetload/knetload-3.5.13.1.spec delete mode 100644 redhat/applications/knetload/knetload-3.5.13.2.spec delete mode 100644 redhat/applications/knetload/knetload-3.5.13.spec delete mode 100644 redhat/applications/knetstats/knetstats-3.5.13.1.spec delete mode 100644 redhat/applications/knetstats/knetstats-3.5.13.2.spec delete mode 100644 redhat/applications/knetstats/knetstats-3.5.13.spec delete mode 100644 redhat/applications/knetworkmanager8/knetworkmanager-3.5.13-missing_includes.patch delete mode 100644 redhat/applications/knetworkmanager8/knetworkmanager-3.5.13-subdir_version.patch delete mode 100644 redhat/applications/knetworkmanager8/knetworkmanager-3.5.13-wpa_passphrase_lag.patch delete mode 100644 redhat/applications/knetworkmanager8/knetworkmanager-3.5.13.1.spec delete mode 100644 redhat/applications/knetworkmanager8/knetworkmanager-3.5.13.spec delete mode 100644 redhat/applications/knetworkmanager8/knetworkmanager8-3.5.13.2.spec delete mode 100644 redhat/applications/knights/knights-3.5.13.1.spec delete mode 100644 redhat/applications/knights/knights-3.5.13.2.spec delete mode 100644 redhat/applications/knights/knights-3.5.13.spec delete mode 100644 redhat/applications/knowit/knowit-3.5.13.1.spec delete mode 100644 redhat/applications/knowit/knowit-3.5.13.2.spec delete mode 100644 redhat/applications/knowit/knowit-3.5.13.spec delete mode 100644 redhat/applications/knutclient/knutclient-3.5.13.1.spec delete mode 100644 redhat/applications/knutclient/knutclient-3.5.13.2.spec delete mode 100644 redhat/applications/knutclient/knutclient-3.5.13.spec delete mode 100644 redhat/applications/koffice-i18n/koffice-i18n-3.5.13.1.spec delete mode 100644 redhat/applications/koffice-i18n/koffice-i18n-3.5.13.2.spec delete mode 100644 redhat/applications/koffice-i18n/koffice-l10n-3.5.13.spec delete mode 100644 redhat/applications/koffice/admin-fix-parallel-test.diff delete mode 100644 redhat/applications/koffice/kexi-fix-possible-crash-in-buffered-mode-sqlite-2.patch delete mode 100644 redhat/applications/koffice/kexi-fix-support-for-boolean-types-in-migration.patch delete mode 100644 redhat/applications/koffice/kexi-fix-support-for-boolean-types.patch delete mode 100644 redhat/applications/koffice/kexi-fp_expressions-1.1.3.patch delete mode 100644 redhat/applications/koffice/kexi-hide_hourglass-1.1.3-2.patch delete mode 100644 redhat/applications/koffice/kexi-mysql_migrate_long_text-1.1.3.patch delete mode 100644 redhat/applications/koffice/kexi-thoushand_objects_support-1.1.3-2.patch delete mode 100644 redhat/applications/koffice/koffice-3.5.13-chalk_gmagick.patch delete mode 100644 redhat/applications/koffice/koffice-3.5.13-damaged_binary_files.tar.gz delete mode 100644 redhat/applications/koffice/koffice-3.5.13-fix_bug_657.patch delete mode 100644 redhat/applications/koffice/koffice-3.5.13-fix_gcc47_compilation.patch delete mode 100644 redhat/applications/koffice/koffice-3.5.13-fix_lcms_detection.patch delete mode 100644 redhat/applications/koffice/koffice-3.5.13-fix_libpng.patch delete mode 100644 redhat/applications/koffice/koffice-3.5.13-fix_ruby_1.9.patch delete mode 100644 redhat/applications/koffice/koffice-3.5.13-kross_utilities_syntax.patch delete mode 100644 redhat/applications/koffice/koffice-3.5.13-missing_ldflags.patch delete mode 100644 redhat/applications/koffice/koffice-3.5.13.1.spec delete mode 100644 redhat/applications/koffice/koffice-3.5.13.2-fix_kformula_ftbfs.patch delete mode 100644 redhat/applications/koffice/koffice-3.5.13.2-fix_ruby2_detection.patch delete mode 100644 redhat/applications/koffice/koffice-3.5.13.2-fix_wpd_09_support.patch delete mode 100644 redhat/applications/koffice/koffice-3.5.13.2-fix_wpd_09_support_2.patch delete mode 100644 redhat/applications/koffice/koffice-3.5.13.2.spec delete mode 100644 redhat/applications/koffice/koffice-3.5.13.spec delete mode 100644 redhat/applications/konversation/96f2a488.diff delete mode 100644 redhat/applications/konversation/bp000-01f5ea83.diff delete mode 100644 redhat/applications/konversation/bp001-efdae4e7.diff delete mode 100644 redhat/applications/konversation/bp002-c64099e5.diff delete mode 100644 redhat/applications/konversation/bp003-440010aa.diff delete mode 100644 redhat/applications/konversation/bp004-ca3d6cef.diff delete mode 100644 redhat/applications/konversation/konversation-3.5.13.1.spec delete mode 100644 redhat/applications/konversation/konversation-3.5.13.2.spec delete mode 100644 redhat/applications/konversation/konversation-3.5.13.spec delete mode 100644 redhat/applications/kopete-otr/kopete-otr-3.5.13.1.spec delete mode 100644 redhat/applications/kopete-otr/kopete-otr-3.5.13.2.spec delete mode 100644 redhat/applications/kopete-otr/kopete-otr-3.5.13.spec delete mode 100644 redhat/applications/kpicosim/kpicosim-3.5.13-fix_not_a_string_literal_error.patch delete mode 100644 redhat/applications/kpicosim/kpicosim-3.5.13.1.spec delete mode 100644 redhat/applications/kpicosim/kpicosim-3.5.13.2.spec delete mode 100644 redhat/applications/kpicosim/kpicosim-3.5.13.spec delete mode 100644 redhat/applications/kpilot/kpilot-3.5.13-ftbfs.patch delete mode 100644 redhat/applications/kpilot/kpilot-3.5.13-missing_ldflags.patch delete mode 100644 redhat/applications/kpilot/kpilot-3.5.13.1.spec delete mode 100644 redhat/applications/kpilot/kpilot-3.5.13.2.spec delete mode 100644 redhat/applications/kpilot/kpilot-3.5.13.spec delete mode 100644 redhat/applications/kpowersave/kpowersave-3.5.13.1.spec delete mode 100644 redhat/applications/kpowersave/kpowersave-3.5.13.2.spec delete mode 100644 redhat/applications/kpowersave/kpowersave-3.5.13.spec delete mode 100644 redhat/applications/krename/krename-3.5.12.spec delete mode 100644 redhat/applications/krename/krename-3.5.13.1.spec delete mode 100644 redhat/applications/krename/krename-3.5.13.2.spec delete mode 100644 redhat/applications/krename/krename-3.5.13.spec delete mode 100644 redhat/applications/krusader/krusader-3.5.13-fix_gcc47_compilation.patch delete mode 100644 redhat/applications/krusader/krusader-3.5.13-fix_not_a_string_literal_error.patch delete mode 100644 redhat/applications/krusader/krusader-3.5.13.1.spec delete mode 100644 redhat/applications/krusader/krusader-3.5.13.2-tmpvfs-ftbfs.patch delete mode 100644 redhat/applications/krusader/krusader-3.5.13.2.spec delete mode 100644 redhat/applications/krusader/krusader-3.5.13.spec delete mode 100644 redhat/applications/ksensors/ksensors-3.5.13.2.spec delete mode 100644 redhat/applications/ksplash-engine-moodin/ksplash-engine-moodin-3.5.13.1.spec delete mode 100644 redhat/applications/ksplash-engine-moodin/ksplash-engine-moodin-3.5.13.2.spec delete mode 100644 redhat/applications/ksplash-engine-moodin/ksplash-engine-moodin-3.5.13.spec delete mode 100644 redhat/applications/ksquirrel/ksquirrel-3.5.13.1.spec delete mode 100644 redhat/applications/ksquirrel/ksquirrel-3.5.13.2.spec delete mode 100644 redhat/applications/ksquirrel/ksquirrel-3.5.13.spec delete mode 100644 redhat/applications/kstreamripper/kstreamripper-3.5.13-fix_doc_directory.patch delete mode 100644 redhat/applications/kstreamripper/kstreamripper-3.5.13-missing_include_tqt.patch delete mode 100644 redhat/applications/kstreamripper/kstreamripper-3.5.13-missing_ldflags.patch delete mode 100644 redhat/applications/kstreamripper/kstreamripper-3.5.13.1.spec delete mode 100644 redhat/applications/kstreamripper/kstreamripper-3.5.13.2.spec delete mode 100644 redhat/applications/kstreamripper/kstreamripper-3.5.13.spec delete mode 100644 redhat/applications/ksystemlog/ksystemlog-3.5.13.1.spec delete mode 100644 redhat/applications/ksystemlog/ksystemlog-3.5.13.2.spec delete mode 100644 redhat/applications/ksystemlog/ksystemlog-3.5.13.spec delete mode 100644 redhat/applications/ktechlab/ktechlab-3.5.13-duplicate_icons.patch delete mode 100644 redhat/applications/ktechlab/ktechlab-3.5.13-missing_ldflags.patch delete mode 100644 redhat/applications/ktechlab/ktechlab-3.5.13.1-remove_gpsim_link.patch delete mode 100644 redhat/applications/ktechlab/ktechlab-3.5.13.1.spec delete mode 100644 redhat/applications/ktechlab/ktechlab-3.5.13.2-ftbfs.patch delete mode 100644 redhat/applications/ktechlab/ktechlab-3.5.13.2.spec delete mode 100644 redhat/applications/ktechlab/ktechlab-3.5.13.spec delete mode 100644 redhat/applications/ktorrent/bp000-a90eb215.diff delete mode 100644 redhat/applications/ktorrent/bp001-bb37c405.diff delete mode 100644 redhat/applications/ktorrent/bp002-0d48fca8.diff delete mode 100644 redhat/applications/ktorrent/bp003-c3480dfe.diff delete mode 100644 redhat/applications/ktorrent/bp004-445a5152.diff delete mode 100644 redhat/applications/ktorrent/bp005-03d0c794.diff delete mode 100644 redhat/applications/ktorrent/bp006-5af9907f.diff delete mode 100644 redhat/applications/ktorrent/bp007-355c6b69.diff delete mode 100644 redhat/applications/ktorrent/ktorrent-3.5.13-5dcbbbba-partial.diff delete mode 100644 redhat/applications/ktorrent/ktorrent-3.5.13-missing_ldflags.patch delete mode 100644 redhat/applications/ktorrent/ktorrent-3.5.13.1.spec delete mode 100644 redhat/applications/ktorrent/ktorrent-3.5.13.2.spec delete mode 100644 redhat/applications/ktorrent/ktorrent-3.5.13.spec delete mode 100644 redhat/applications/kuickshow/bp000-8712ab46.diff delete mode 100644 redhat/applications/kuickshow/bp001-28d9c774.diff delete mode 100644 redhat/applications/kuickshow/bp002-bdeb8b3a.diff delete mode 100644 redhat/applications/kuickshow/bp003-d97e403f.diff delete mode 100644 redhat/applications/kuickshow/kuickshow-14.0.0.spec delete mode 100644 redhat/applications/kuickshow/kuickshow-3.5.12.spec delete mode 100644 redhat/applications/kuickshow/kuickshow-3.5.13-missing_ldflags.patch delete mode 100644 redhat/applications/kuickshow/kuickshow-3.5.13.1.spec delete mode 100644 redhat/applications/kuickshow/kuickshow-3.5.13.2.spec delete mode 100644 redhat/applications/kuickshow/kuickshow-3.5.13.spec delete mode 100644 redhat/applications/kvirc/bp000-32a249ba.diff delete mode 100644 redhat/applications/kvirc/bp001-f9114981.diff delete mode 100644 redhat/applications/kvirc/bp002-2dd6d32b.diff delete mode 100644 redhat/applications/kvirc/bp003-1c00d6ff.diff delete mode 100644 redhat/applications/kvirc/bp004-ff96f491.diff delete mode 100644 redhat/applications/kvirc/bp005-2285efe5.diff delete mode 100644 redhat/applications/kvirc/bp006-51bbe9e5.diff delete mode 100644 redhat/applications/kvirc/bp007-a24a8595.diff delete mode 100644 redhat/applications/kvirc/kvirc-3.5.13-directories.patch delete mode 100644 redhat/applications/kvirc/kvirc-3.5.13-fix_acinclude_m4.patch delete mode 100644 redhat/applications/kvirc/kvirc-3.5.13-ftbfs.patch delete mode 100644 redhat/applications/kvirc/kvirc-3.5.13-missing_ldflags.patch delete mode 100644 redhat/applications/kvirc/kvirc-3.5.13.1-directories.patch delete mode 100644 redhat/applications/kvirc/kvirc-3.5.13.1-fix_arts_detection.patch delete mode 100644 redhat/applications/kvirc/kvirc-3.5.13.1.spec delete mode 100644 redhat/applications/kvirc/kvirc-3.5.13.2-fix_ftbfs.patch delete mode 100644 redhat/applications/kvirc/kvirc-3.5.13.2-install_directory.patch delete mode 100644 redhat/applications/kvirc/kvirc-3.5.13.2.spec delete mode 100644 redhat/applications/kvirc/kvirc-3.5.13.spec delete mode 100644 redhat/applications/kvkbd/kvkbd-3.5.13.1.spec delete mode 100644 redhat/applications/kvkbd/kvkbd-3.5.13.2.spec delete mode 100644 redhat/applications/kvkbd/kvkbd-3.5.13.spec delete mode 100644 redhat/applications/piklab/piklab-3.5.13-fix_gcc47_compilation.patch delete mode 100644 redhat/applications/piklab/piklab-3.5.13.1-remove_gui_dir.patch delete mode 100644 redhat/applications/piklab/piklab-3.5.13.1.spec delete mode 100644 redhat/applications/piklab/piklab-3.5.13.2.spec delete mode 100644 redhat/applications/piklab/piklab-3.5.13.spec delete mode 100644 redhat/applications/potracegui/potracegui-3.5.13.1.spec delete mode 100644 redhat/applications/potracegui/potracegui-3.5.13.2.spec delete mode 100644 redhat/applications/potracegui/potracegui-3.5.13.spec delete mode 100644 redhat/applications/rosegarden/rosegarden-3.5.13-fix_gcc47_compilation.patch delete mode 100644 redhat/applications/rosegarden/rosegarden-3.5.13-fix_gcc47_compilation_2.patch delete mode 100644 redhat/applications/rosegarden/rosegarden-3.5.13-ftbfs.patch delete mode 100644 redhat/applications/rosegarden/rosegarden-3.5.13-missing_ldflags.patch delete mode 100644 redhat/applications/rosegarden/rosegarden-3.5.13.1.spec delete mode 100644 redhat/applications/rosegarden/rosegarden-3.5.13.2.spec delete mode 100644 redhat/applications/rosegarden/rosegarden-3.5.13.spec delete mode 100644 redhat/applications/smartcardauth/smartcardauth-3.5.13-ftbfs.patch delete mode 100644 redhat/applications/smartcardauth/smartcardauth-3.5.13.1.spec delete mode 100644 redhat/applications/smartcardauth/smartcardauth-3.5.13.2.spec delete mode 100644 redhat/applications/smartcardauth/smartcardauth-3.5.13.spec delete mode 100644 redhat/applications/smb4k/smb4k-3.5.13-fix_gcc47_compilation.patch delete mode 100644 redhat/applications/smb4k/smb4k-3.5.13.1.spec delete mode 100644 redhat/applications/smb4k/smb4k-3.5.13.2.spec delete mode 100644 redhat/applications/smb4k/smb4k-3.5.13.spec delete mode 100644 redhat/applications/soundkonverter/soundkonverter-3.5.13.1.spec delete mode 100644 redhat/applications/soundkonverter/soundkonverter-3.5.13.2.spec delete mode 100644 redhat/applications/soundkonverter/soundkonverter-3.5.13.spec delete mode 100644 redhat/applications/tde-guidance/guidance-3.5.13.1.spec delete mode 100644 redhat/applications/tde-guidance/guidance-3.5.13.spec delete mode 100644 redhat/applications/tde-guidance/kde-guidance-3.5.13-fix_wine_create_prefix.patch delete mode 100644 redhat/applications/tde-guidance/tde-guidance-3.5.13.2-fix_mountconfig.patch delete mode 100644 redhat/applications/tde-guidance/tde-guidance-3.5.13.2.spec delete mode 100644 redhat/applications/tde-style-lipstik/kde-style-lipstik-3.5.12.spec delete mode 100644 redhat/applications/tde-style-lipstik/kde-style-lipstik-3.5.13.1.spec delete mode 100644 redhat/applications/tde-style-lipstik/kde-style-lipstik-3.5.13.spec delete mode 100644 redhat/applications/tde-style-lipstik/tde-style-lipstik-3.5.13.2.spec delete mode 100644 redhat/applications/tde-style-qtcurve/kde-style-qtcurve-1.6.2-libsuffix.patch delete mode 100644 redhat/applications/tde-style-qtcurve/kde-style-qtcurve-3.5.13-fix_config_ftbfs.patch delete mode 100644 redhat/applications/tde-style-qtcurve/kde-style-qtcurve-3.5.13-fix_kde_style_compilation.patch delete mode 100644 redhat/applications/tde-style-qtcurve/kde-style-qtcurve-3.5.13-fix_tqt_renaming.patch delete mode 100644 redhat/applications/tde-style-qtcurve/kde-style-qtcurve-3.5.13.1.spec delete mode 100644 redhat/applications/tde-style-qtcurve/kde-style-qtcurve-3.5.13.spec delete mode 100644 redhat/applications/tde-style-qtcurve/tde-style-qtcurve-3.5.13.2.spec delete mode 100644 redhat/applications/tde-systemsettings/kde-settings-laptops.directory delete mode 100644 redhat/applications/tde-systemsettings/kde-systemsettings-3.5.13.1.spec delete mode 100644 redhat/applications/tde-systemsettings/kde-systemsettings-3.5.13.spec delete mode 100644 redhat/applications/tde-systemsettings/tde-systemsettings-3.5.13.2.spec delete mode 100644 redhat/applications/tdeio-apt/tdeio-apt-3.5.13.2-ftbfs.patch delete mode 100644 redhat/applications/tdeio-apt/tdeio-apt-3.5.13.2.spec delete mode 100644 redhat/applications/tdeio-locate/kio-locate-3.5.12.spec delete mode 100644 redhat/applications/tdeio-locate/kio-locate-3.5.13-fix_gcc47_compilation.patch delete mode 100644 redhat/applications/tdeio-locate/kio-locate-3.5.13.1.spec delete mode 100644 redhat/applications/tdeio-locate/kio-locate-3.5.13.spec delete mode 100644 redhat/applications/tdeio-locate/tdeio-locate-3.5.13.2.spec delete mode 100644 redhat/applications/tdeio-umountwrapper/kio-umountwrapper-3.5.13.1.spec delete mode 100644 redhat/applications/tdeio-umountwrapper/kio-umountwrapper-3.5.13.spec delete mode 100644 redhat/applications/tdeio-umountwrapper/tdeio-umountwrapper-3.5.13.2.spec delete mode 100644 redhat/applications/tderadio/kradio-3.5.13.1-updated_preset.patch delete mode 100644 redhat/applications/tderadio/kradio-3.5.13.1.spec delete mode 100644 redhat/applications/tderadio/kradio-3.5.13.spec delete mode 100644 redhat/applications/tderadio/tderadio-3.5.13.2.spec delete mode 100644 redhat/applications/tdesudo/kdesudo-3.5.13.1.spec delete mode 100644 redhat/applications/tdesudo/kdesudo-3.5.13.spec delete mode 100644 redhat/applications/tdesudo/tdesudo-3.5.13.2.spec delete mode 100644 redhat/applications/tdesvn/tdesvn-3.5.13.2.spec delete mode 100644 redhat/applications/tdmtheme/kdmtheme-3.5.13.1.spec delete mode 100644 redhat/applications/tdmtheme/kdmtheme-3.5.13.spec delete mode 100644 redhat/applications/tdmtheme/tdmtheme-3.5.13.2-fix_segv.patch delete mode 100644 redhat/applications/tdmtheme/tdmtheme-3.5.13.2.spec delete mode 100644 redhat/applications/tellico/tellico-3.5.13-fix_gcc47_compilation.patch delete mode 100644 redhat/applications/tellico/tellico-3.5.13-fix_not_a_string_literal_error.patch delete mode 100644 redhat/applications/tellico/tellico-3.5.13.1-fix_ftbfs.patch delete mode 100644 redhat/applications/tellico/tellico-3.5.13.1.spec delete mode 100644 redhat/applications/tellico/tellico-3.5.13.2-ftbfs.patch delete mode 100644 redhat/applications/tellico/tellico-3.5.13.2-videodev.patch delete mode 100644 redhat/applications/tellico/tellico-3.5.13.2.spec delete mode 100644 redhat/applications/tellico/tellico-3.5.13.spec delete mode 100644 redhat/applications/twin-style-crystal/kwin-style-crystal-3.5.12.spec delete mode 100644 redhat/applications/twin-style-crystal/kwin-style-crystal-3.5.13.1.spec delete mode 100644 redhat/applications/twin-style-crystal/kwin-style-crystal-3.5.13.spec delete mode 100644 redhat/applications/twin-style-crystal/twin-style-crystal-3.5.13.2.spec delete mode 100644 redhat/applications/wlassistant/wlassistant-3.5.13.1.spec delete mode 100644 redhat/applications/wlassistant/wlassistant-3.5.13.2.spec delete mode 100644 redhat/applications/wlassistant/wlassistant-3.5.13.spec delete mode 100644 redhat/applications/yakuake/yakuake-3.5.12.spec delete mode 100644 redhat/applications/yakuake/yakuake-3.5.13.1.spec delete mode 100644 redhat/applications/yakuake/yakuake-3.5.13.2.spec delete mode 100644 redhat/applications/yakuake/yakuake-3.5.13.spec delete mode 100644 redhat/dependencies/akode/akode-3.5.13.2.spec delete mode 100644 redhat/dependencies/arts/arts-3.5.13.2.spec delete mode 100644 redhat/dependencies/avahi-tqt/avahi-tqt-3.5.13.2.spec delete mode 100644 redhat/dependencies/dbus-1-tqt/dbus-1-tqt-3.5.13.2.spec delete mode 100644 redhat/dependencies/dbus-tqt/dbus-tqt-3.5.13-fix_old_dbus_types.patch delete mode 100644 redhat/dependencies/dbus-tqt/dbus-tqt-3.5.13.2.spec delete mode 100644 redhat/dependencies/libcaldav/libcaldav-3.5.13.2.spec delete mode 100644 redhat/dependencies/libcarddav/libcarddav-3.5.13.2.spec delete mode 100644 redhat/dependencies/qt3/qt3-3.5.13.1.spec delete mode 100644 redhat/dependencies/qt3/qt3-3.5.13.2.spec delete mode 100644 redhat/dependencies/tqca-tls/tqca-tls-3.5.13.2.spec delete mode 100644 redhat/dependencies/tqca/tqca-3.5.13.2.spec delete mode 100644 redhat/dependencies/tqtinterface/tqtinterface-3.5.13.2.spec delete mode 100644 redhat/extras/brp-check-trinity/brp-check-trinity-3.5.13.2.spec delete mode 100644 redhat/extras/trinity-desktop/trinity-desktop-3.5.13.2.spec delete mode 100644 redhat/extras/trinity-filesystem/trinity-filesystem-3.5.13.2.spec delete mode 100644 redhat/libraries/libkdcraw/libkdcraw-3.5.13.2.spec delete mode 100644 redhat/libraries/libkexiv2/libkexiv2-3.5.13.2.spec delete mode 100644 redhat/libraries/libkipi/libkipi-3.5.13.2.spec delete mode 100644 redhat/libraries/libksquirrel/libksquirrel-3.5.13.2.spec delete mode 100644 redhat/libraries/pytdeextensions/pykdeextensions-3.5.13-do_not_link_stdc++.patch delete mode 100644 redhat/libraries/pytdeextensions/pykdeextensions-3.5.13-fix_extra_module_dir.patch delete mode 100644 redhat/libraries/pytdeextensions/pykdeextensions-3.5.13-fix_include_dir.patch delete mode 100644 redhat/libraries/pytdeextensions/pykdeextensions-3.5.13-fix_libsuffix.patch delete mode 100644 redhat/libraries/pytdeextensions/pykdeextensions-3.5.13-fix_libtool.patch delete mode 100644 redhat/libraries/pytdeextensions/pykdeextensions-3.5.13.1-fix_extra_module_dir.patch delete mode 100644 redhat/libraries/pytdeextensions/pykdeextensions-3.5.13.1-fix_libgcc_detection.patch delete mode 100644 redhat/libraries/pytdeextensions/pykdeextensions-3.5.13.1.spec delete mode 100644 redhat/libraries/pytdeextensions/pykdeextensions-3.5.13.2-fix_extra_module_dir.patch delete mode 100644 redhat/libraries/pytdeextensions/pykdeextensions-3.5.13.2-fix_include_dir.patch delete mode 100644 redhat/libraries/pytdeextensions/pykdeextensions-3.5.13.spec delete mode 100644 redhat/libraries/pytdeextensions/pytdeextensions-3.5.13.2.spec delete mode 100644 redhat/libraries/python-trinity/python-trinity-3.5.13-fix_gcc47_compilation.patch delete mode 100644 redhat/libraries/python-trinity/python-trinity-3.5.13-fix_mandrake_detection.patch delete mode 100644 redhat/libraries/python-trinity/python-trinity-3.5.13-install_directories.patch delete mode 100644 redhat/libraries/python-trinity/python-trinity-3.5.13.1-add_include_directory.patch delete mode 100644 redhat/libraries/python-trinity/python-trinity-3.5.13.1.spec delete mode 100644 redhat/libraries/python-trinity/python-trinity-3.5.13.2-fix_is_private.patch delete mode 100644 redhat/libraries/python-trinity/python-trinity-3.5.13.2-fix_tde_includedir.patch delete mode 100644 redhat/libraries/python-trinity/python-trinity-3.5.13.2.spec delete mode 100644 redhat/libraries/python-trinity/python-trinity-3.5.13.spec delete mode 100644 redhat/main/tde-i18n/tde-i18n-3.5.13.2.spec delete mode 100644 redhat/main/tdeaccessibility/tdeaccessibility-3.5.13.2.spec delete mode 100644 redhat/main/tdeaddons/tdeaddons-3.5.13.2.spec delete mode 100644 redhat/main/tdeadmin/tdeadmin-3.5.13.2.spec delete mode 100644 redhat/main/tdeartwork/tdeartwork-3.5.13.2.spec delete mode 100644 redhat/main/tdebase/tdebase-3.5.13.2.spec delete mode 100644 redhat/main/tdebindings/tdebindings-3.5.13.2.spec delete mode 100644 redhat/main/tdeedu/tdeedu-3.5.13.2.spec delete mode 100644 redhat/main/tdegames/tdegames-3.5.13.2.spec delete mode 100644 redhat/main/tdegraphics/tdegraphics-3.5.13.2.spec delete mode 100644 redhat/main/tdelibs/tdelibs-3.5.13.2.spec delete mode 100644 redhat/main/tdemultimedia/tdemultimedia-3.5.13.2.spec delete mode 100644 redhat/main/tdenetwork/tdenetwork-3.5.13.2.spec delete mode 100644 redhat/main/tdepim/tdepim-3.5.13.2.spec delete mode 100644 redhat/main/tdesdk/tdesdk-3.5.13.2.spec delete mode 100644 redhat/main/tdetoys/tdetoys-3.5.13.2.spec delete mode 100644 redhat/main/tdeutils/tdeutils-3.5.13.2.spec delete mode 100644 redhat/main/tdevelop/tdevelop-3.5.13.2.spec delete mode 100644 redhat/main/tdewebdev/tdewebdev-3.5.13.2.spec (limited to 'redhat') diff --git a/redhat/Makefile.v3.5.13-sru b/redhat/Makefile.v3.5.13-sru deleted file mode 100644 index 52d85db0d..000000000 --- a/redhat/Makefile.v3.5.13-sru +++ /dev/null @@ -1,572 +0,0 @@ -SHELL := /bin/bash -PACKAGING_DIR := $(shell cd ..; pwd) -PATH := $(PATH):$(shell pwd)/build -TDE_VERSION = 3.5.13.2 - -buildpkg = \ - @echo "Now processing '$(1)' [from $(PACKAGING_DIR)]."; \ - export PACKAGING_DIR=$(PACKAGING_DIR); \ - if [ "${REBUILD}" = "$(1)" ] || ! is_latest_package_installed.sh "$(1)" ${TDE_VERSION}; then \ - echo " Package '${1}' is not yet installed."; \ - if [ "${REBUILD}" = "$(1)" ] || ! is_latest_package_built.sh "$(1)" ${TDE_VERSION}; then \ - echo " Building package."; \ - build_rpm_package.sh "$(1)" ${TDE_VERSION} || exit 1; \ - echo " Updating repository."; \ - update_repository.sh ${TDE_VERSION}; \ - fi; \ - echo "Now installing package '$(1)'"; \ - install_rpm_package.sh "$(1)" || exit 2; \ - fi; \ - echo - - -all: dependencies main libraries applications i18n meta extras -dependencies: qt3 tqtinterface arts libcaldav libcarddav tqca tqca-tls avahi-tqt dbus-tqt dbus-1-tqt akode hal -main: tdelibs tdebase tdeaccessibility tdeadmin tdegames tdemultimedia tdepim tdetoys tdevelop tdeaddons tdeartwork tdebindings tdeedu tdegraphics tdenetwork tdesdk tdeutils tdewebdev -libraries: libkdcraw libkexiv2 libkipi libksquirrel pytdeextensions python-trinity -applications: abakus amarok basket bibletime digikam dolphin filelight gtk-qt-engine gwenview k3b k9copy kaffeine kaffeine-mozilla katapult kbarcode kbfx kbookreader kchmviewer kcmautostart kcpuload kdbusnotification kdiff3 kdirstat kgtk-qt3 keep kile kima kiosktool kmplayer kmyfirewall kmymoney knemo knetload knetstats knights knowit knutclient koffice konversation kopete-otr kpicosim kpilot kpowersave krename krusader ksplash-engine-moodin ksquirrel kstreamripper ksystemlog ktechlab ktorrent kuickshow kvirc kvkbd piklab potracegui rosegarden smartcardauth smb4k soundkonverter tde-guidance tdeio-apt tdeio-locate tdeio-umountwrapper tderadio tde-style-lipstik tde-style-qtcurve tdesudo tdesvn tde-systemsettings tdmtheme tellico twin-style-crystal wlassistant yakuake -i18n: gwenview-i18n k3b-i18n koffice-i18n tde-i18n - - -### Trinity Dependencies -arts: tqtinterface trinity-filesystem esound cmake - $(call buildpkg,dependencies/arts) - -avahi-tqt: tqtinterface autoconf automake libtool - $(call buildpkg,dependencies/avahi-tqt) - -dbus-1-tqt: tqtinterface cmake - $(call buildpkg,dependencies/dbus-1-tqt) - -dbus-tqt: tqtinterface cmake - $(call buildpkg,dependencies/dbus-tqt) - -libcaldav: tqtinterface autoconf libcurl - $(call buildpkg,dependencies/libcaldav) - -libcarddav: tqtinterface autoconf libcurl - $(call buildpkg,dependencies/libcarddav) - -tqca: tqtinterface - $(call buildpkg,dependencies/tqca) - -tqca-tls: tqtinterface tqca - $(call buildpkg,dependencies/tqca-tls) - -qt3: esound - $(call buildpkg,dependencies/qt3) - -tqtinterface: qt3 cmake - $(call buildpkg,dependencies/tqtinterface) - -# Main packages -tdeaccessibility: tdebase tdemultimedia - $(call buildpkg,main/tdeaccessibility) - -tdeaddons: tdebase tdegames tdemultimedia tdenetwork tdepim - $(call buildpkg,main/tdeaddons) - -tdeadmin: tdebase - $(call buildpkg,main/tdeadmin) - -tdeartwork: tdebase - $(call buildpkg,main/tdeartwork) - -tdebase: tdelibs cmake htdig fileshareset hal - $(call buildpkg,main/tdebase) - -tdebindings: tdebase - $(call buildpkg,main/tdebindings) - -tdeedu: tdebase - $(call buildpkg,main/tdeedu) - -tdegames: tdebase tdemultimedia - $(call buildpkg,main/tdegames) - -tdegraphics: tdebase poppler cmake - $(call buildpkg,main/tdegraphics) - -tdelibs: qt3 tqtinterface arts dbus-tqt dbus-1-tqt cmake avahi-tqt fileshareset trinity-filesystem - $(call buildpkg,main/tdelibs) - -tdemultimedia: tdebase akode - $(call buildpkg,main/tdemultimedia) - -tdenetwork: tdebase - $(call buildpkg,main/tdenetwork) - -tdepim: tdebase libcaldav libcarddav cmake - $(call buildpkg,main/tdepim) - -tdesdk: tdebase tdebindings cmake - $(call buildpkg,main/tdesdk) - -tdetoys: tdebase - $(call buildpkg,main/tdetoys) - -tdeutils: tdebase - $(call buildpkg,main/tdeutils) - -tdevelop: tdebase tdesdk cmake - $(call buildpkg,main/tdevelop) - -tdewebdev: tdebase tdesdk - $(call buildpkg,main/tdewebdev) - -### 3rd party libraries and tools -autoconf: m4 -# Build on CentOS 5 only -ifneq ($(wildcard /boot/vmlinuz*.el5*),) - $(call buildpkg,3rdparty/autoconf) -endif - -automake: -# Build on CentOS 5 only -ifneq ($(wildcard /boot/vmlinuz*.el5*),) - $(call buildpkg,3rdparty/automake) -endif - -cmake: -# Build on CentOS 5/6 only -ifneq ($(wildcard /boot/vmlinuz*.el5* /boot/vmlinuz*.el6*),) - $(call buildpkg,3rdparty/cmake) -endif - -esound: -# Build on Mageia and CentOS >= 7 -ifneq ($(wildcard /etc/mageia-release /boot/vmlinuz*.el7*),) - $(call buildpkg,3rdparty/esound) -endif - -gnuchess: -# Build on CentOS 5, CentOS 7 -ifneq ($(wildcard /boot/vmlinuz*.el5* /boot/vmlinuz*.el7*),) - $(call buildpkg,3rdparty/gnuchess) -endif - -hal: hal-info -# Do NOT build on CentOS 5, CentOS 6 -ifeq ($(wildcard /boot/vmlinuz*.el5* /boot/vmlinuz*.el6*),) - $(call buildpkg,3rdparty/hal) -endif - -hal-info: -# Do NOT build on CentOS 5, CentOS 6 -ifeq ($(wildcard /boot/vmlinuz*.el5* /boot/vmlinuz*.el6*),) - $(call buildpkg,3rdparty/hal-info) -endif - -htdig: -# build on Mageia, and CentOS >= 7 -ifneq ($(wildcard /etc/mageia-release /boot/vmlinuz*.el7*),) - $(call buildpkg,extras/htdig) -endif - -imlib1: -# Do NOT build on Fedora, nor CentOS -ifeq ($(wildcard /etc/fedora-release),) -ifeq ($(wildcard /etc/centos-release),) -ifeq ($(wildcard /boot/vmlinuz*.el5*),) - $(call buildpkg,3rdparty/imlib1) -endif -endif -endif - -libcurl: automake libtool -# Build on CentOS 5 only -ifneq ($(wildcard /boot/vmlinuz*.el5*),) - $(call buildpkg,3rdparty/curl) -endif - -libotr3: -# Build on Mageia, CentOS >= 7 -ifneq ($(wildcard /etc/mageia-release /boot/vmlinuz*.el7*),) - $(call buildpkg,3rdparty/libotr3) -endif - -libtool: autoconf automake -# Build on CentOS 5 only -ifneq ($(wildcard /boot/vmlinuz*.el5*),) - $(call buildpkg,3rdparty/libtool) -endif - -lilypond: mftrace -# Build on CentOS 6 only -ifneq ($(wildcard /boot/vmlinuz*.el6*),) - $(call buildpkg,3rdparty/lilypond) -endif - -m4: -# Build on CentOS 5 only (vendor-provided m4 is too old) -ifneq ($(wildcard /boot/vmlinuz*.el5*),) - $(call buildpkg,3rdparty/m4) -endif - -mftrace: -# Build on CentOS 6 only -ifneq ($(wildcard /boot/vmlinuz*.el6*),) - $(call buildpkg,3rdparty/mftrace) -endif - -pcsc-perl: -# Build on CentOS and openSUSE only -ifneq ($(wildcard /etc/centos-release /etc/SuSE-release /boot/vmlinuz*.el5*),) - $(call buildpkg,3rdparty/pcsc-perl) -endif - -poppler: -# Build on CentOS 5 only (vendor-provided Poppler is too old) -ifneq ($(wildcard /boot/vmlinuz*.el5*),) - $(call buildpkg,3rdparty/poppler) -endif - -python-qt3: tdelibs sip - $(call buildpkg,3rdparty/python-qt3) - -sip: -# Build on CentOS 5 only (vendor-provided SIP is too old) -ifneq ($(wildcard /boot/vmlinuz*.el5*),) - $(call buildpkg,3rdparty/sip) -endif - -sword: -# Build on Fedora >= 20, PCLinuxOS, CentOS >= 7 -ifneq ($(wildcard /boot/vmlinuz*.fc20* /etc/pclinuxos-release /boot/vmlinuz*.el7*),) - $(call buildpkg,3rdparty/sword) -endif - -wv2: -# Do NOT build on Mageia or openSUSE or PCLINUXOS -ifeq ($(wildcard /etc/mageia-release /etc/SuSE-release /etc/pclinuxos-release),) - $(call buildpkg,3rdparty/wv2) -endif - -### Extra packages -akode: tqtinterface - $(call buildpkg,extras/akode) - -cmake-macros: cmake -ifneq ($(wildcard /etc/SuSE-release),) - $(call buildpkg,extras/trinity-cmake-macros) -endif - -### Trinity Libraries -kipi-plugins: tqtinterface libkipi - $(call buildpkg,libraries/kipi-plugins) - -libkdcraw: tqtinterface - $(call buildpkg,libraries/libkdcraw) - -libkexiv2: tqtinterface - $(call buildpkg,libraries/libkexiv2) - -libkipi: tqtinterface - $(call buildpkg,libraries/libkipi) - -libksquirrel: tqtinterface - $(call buildpkg,libraries/libksquirrel) - -mlt: tqtinterface - $(call buildpkg,libraries/mlt) - -pytdeextensions: tqtinterface python-trinity - $(call buildpkg,libraries/pytdeextensions) - -python-trinity: tqtinterface python-qt3 - $(call buildpkg,libraries/python-trinity) - -### Trinity Applications -abakus: tdebase - $(call buildpkg,applications/abakus) - -adept: tdebase - $(call buildpkg,applications/adept) - -amarok: tdebase cmake - $(call buildpkg,applications/amarok) - -basket: tdebase - $(call buildpkg,applications/basket) - -bibletime: tdebase sword - $(call buildpkg,applications/bibletime) - -compizconfig-backend-kconfig: tdebase - $(call buildpkg,applications/compizconfig-backend-kconfig) - -desktop-effects-tde: tdebase - $(call buildpkg,applications/desktop-effects-tde) - -digikam: tdebase libkdcraw libkexiv2 libkipi libksquirrel - $(call buildpkg,applications/digikam) - -dolphin: tdebase - $(call buildpkg,applications/dolphin) - -filelight: tdebase - $(call buildpkg,applications/filelight) - -filelight-l10n: tdebase - $(call buildpkg,applications/filelight-l10n) - -fusion-icon: tdebase - $(call buildpkg,applications/fusion-icon) - -gtk-qt-engine: tdebase -# Do NOT build on CentOS 5 (GTK2 is too old) -ifeq ($(wildcard /boot/vmlinuz*.el5*),) - $(call buildpkg,applications/gtk-qt-engine) -endif - -gwenview: tdebase - $(call buildpkg,applications/gwenview) - -k3b: tdebase - $(call buildpkg,applications/k3b) - -k9copy: tdebase k3b - $(call buildpkg,applications/k9copy) - -kaffeine: tdebase - $(call buildpkg,applications/kaffeine) - -kaffeine-mozilla: tdebase kaffeine - $(call buildpkg,applications/kaffeine-mozilla) - -katapult: tdebase - $(call buildpkg,applications/katapult) - -kbarcode: tdebase - $(call buildpkg,applications/kbarcode) - -kbfx: tdebase - $(call buildpkg,applications/kbfx) - -kbookreader: tdebase - $(call buildpkg,applications/kbookreader) - -kchmviewer: tdebase - $(call buildpkg,applications/kchmviewer) - -kcmautostart: tdebase - $(call buildpkg,applications/kcmautostart) - -kcpuload: tdebase - $(call buildpkg,applications/kcpuload) - -kdbusnotification: tdebase - $(call buildpkg,applications/kdbusnotification) - -kdiff3: tdebase - $(call buildpkg,applications/kdiff3) - -kdirstat: tdebase - $(call buildpkg,applications/kdirstat) - -kdpkg: tdebase - $(call buildpkg,applications/kdpkg) - -keep: tdebase - $(call buildpkg,applications/keep) - -kerry: tdebase - $(call buildpkg,applications/kerry) - -kgtk-qt3: tdebase -# Do NOT build on CentOS 5 (GTK2 is too old) -# Do NOT build on CentOS >=7 (GTK2 is too new) -# Do NOT build on Fedora >= 20 (GTK2 is too new) -# Do NOT build on Mageia >= 4 (GTK2 is too new) -ifeq ($(wildcard /boot/vmlinuz*.el5* /boot/vmlinuz*.el7* /boot/vmlinuz*.fc20* /boot/vmlinuz*.mga4*),) - $(call buildpkg,applications/kgtk-qt3) -endif - -kile: tdebase - $(call buildpkg,applications/kile) - -kima: tdebase - $(call buildpkg,applications/kima) - -kiosktool: tdebase - $(call buildpkg,applications/kiosktool) - -kmplayer: tdebase - $(call buildpkg,applications/kmplayer) - -kmyfirewall: tdebase - $(call buildpkg,applications/kmyfirewall) - -kmymoney: tdebase - $(call buildpkg,applications/kmymoney) - -knemo: tdebase - $(call buildpkg,applications/knemo) - -knetload: tdebase - $(call buildpkg,applications/knetload) - -knetstats: tdebase - $(call buildpkg,applications/knetstats) - -knetworkmanager8: tdebase - $(call buildpkg,applications/knetworkmanager8) - -knights: tdebase gnuchess - $(call buildpkg,applications/knights) - -knowit: tdebase - $(call buildpkg,applications/knowit) - -knutclient: tdebase - $(call buildpkg,applications/knutclient) - -koffice: tdebase wv2 - $(call buildpkg,applications/koffice) - -konversation: tdebase - $(call buildpkg,applications/konversation) - -kopete-otr: tdebase libotr3 - $(call buildpkg,applications/kopete-otr) - -kpicosim: tdebase - $(call buildpkg,applications/kpicosim) - -kpilot: tdebase -# Do NOT build on CentOS 5 (pilot-link library is too old) -ifeq ($(wildcard /boot/vmlinuz*.el5*),) - $(call buildpkg,applications/kpilot) -endif - -kpowersave: tdebase - $(call buildpkg,applications/kpowersave) - -krename: tdebase - $(call buildpkg,applications/krename) - -krusader: tdebase - $(call buildpkg,applications/krusader) - -ksplash-engine-moodin: tdebase - $(call buildpkg,applications/ksplash-engine-moodin) - -ksquirrel: tdebase libksquirrel - $(call buildpkg,applications/ksquirrel) - -kstreamripper: tdebase - $(call buildpkg,applications/kstreamripper) - -ksystemlog: tdebase - $(call buildpkg,applications/ksystemlog) - -ktechlab: tdebase - $(call buildpkg,applications/ktechlab) - -ktorrent: tdebase - $(call buildpkg,applications/ktorrent) - -kuickshow: tdebase imlib1 - $(call buildpkg,applications/kuickshow) - -kvirc: tdebase - $(call buildpkg,applications/kvirc) - -kvkbd: tdebase - $(call buildpkg,applications/kvkbd) - -piklab: tdebase - $(call buildpkg,applications/piklab) - -potracegui: tdebase - $(call buildpkg,applications/potracegui) - -rosegarden: tdebase lilypond -# Do NOT build on CentOS 5, CentOS 7 -ifeq ($(wildcard /boot/vmlinuz*.el5* /boot/vmlinuz*.el7*),) - $(call buildpkg,applications/rosegarden) -endif - -smartcardauth: tdebase pcsc-perl - $(call buildpkg,applications/smartcardauth) - -smb4k: tdebase - $(call buildpkg,applications/smb4k) - -soundkonverter: tdebase - $(call buildpkg,applications/soundkonverter) - -tde-guidance: tdebase pytdeextensions - $(call buildpkg,applications/tde-guidance) - -tdeio-apt: tdebase - $(call buildpkg,applications/tdeio-apt) - -tdeio-locate: tdebase - $(call buildpkg,applications/tdeio-locate) - -tdeio-umountwrapper: tdebase - $(call buildpkg,applications/tdeio-umountwrapper) - -tderadio: tdebase -# Do NOT build on CentOS 7 -ifeq ($(wildcard /boot/vmlinuz*.el7*),) - $(call buildpkg,applications/tderadio) -endif - -tde-style-lipstik: tdebase - $(call buildpkg,applications/tde-style-lipstik) - -tde-style-qtcurve: tdebase - $(call buildpkg,applications/tde-style-qtcurve) - -tdesudo: tdebase - $(call buildpkg,applications/tdesudo) - -tdesvn: tdebase - $(call buildpkg,applications/tdesvn) - -tde-systemsettings: tdebase - $(call buildpkg,applications/tde-systemsettings) - -tdmtheme: tdebase - $(call buildpkg,applications/tdmtheme) - -tellico: tdebase - $(call buildpkg,applications/tellico) - -twin-style-crystal: tdebase - $(call buildpkg,applications/twin-style-crystal) - -wlassistant: tdebase - $(call buildpkg,applications/wlassistant) - -yakuake: tdebase - $(call buildpkg,applications/yakuake) - -### Trinity Translations -gwenview-i18n: tdebase - $(call buildpkg,applications/gwenview-i18n) - -k3b-i18n: tdebase - $(call buildpkg,applications/k3b-i18n) - -koffice-i18n: tdebase - $(call buildpkg,applications/koffice-i18n) - -tde-i18n: tdebase cmake - $(call buildpkg,tde-i18n) - -### Meta packages -meta: - $(call buildpkg,extras/trinity-desktop) - -### Extra packages -fileshareset: - $(call buildpkg,extras/fileshareset) - -trinity-filesystem: - $(call buildpkg,extras/trinity-filesystem) - -ksensors: - $(call buildpkg,applications/ksensors) diff --git a/redhat/applications/abakus/abakus-0.91-link-dcop.patch b/redhat/applications/abakus/abakus-0.91-link-dcop.patch deleted file mode 100644 index f1dc37127..000000000 --- a/redhat/applications/abakus/abakus-0.91-link-dcop.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff -rcb abakus.ORI/src/SConscript abakus/src/SConscript -*** abakus.ORI/src/SConscript 2011-09-14 21:44:42.191599072 +0200 ---- abakus/src/SConscript 2011-09-14 21:44:51.352602708 +0200 -*************** -*** 66,72 **** - myenv.KDEaddpaths_includes('#/src/ #/') - - ## Necessary libraries to link against -! myenv.KDEaddlibs( 'qt-mt kio kdecore kdeprint kdeui' ) - - ############################# - ## Data to install ---- 66,72 ---- - myenv.KDEaddpaths_includes('#/src/ #/') - - ## Necessary libraries to link against -! myenv.KDEaddlibs( 'qt-mt kio kdecore kdeprint kdeui DCOP' ) - - ############################# - ## Data to install diff --git a/redhat/applications/abakus/abakus-3.5.12.spec b/redhat/applications/abakus/abakus-3.5.12.spec deleted file mode 100644 index 91d7f27cd..000000000 --- a/redhat/applications/abakus/abakus-3.5.12.spec +++ /dev/null @@ -1,93 +0,0 @@ -# Default version for this component -%define kdecomp abakus -%define version 0.91 -%define release 1 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%define _docdir %{_prefix}/share/doc -%endif - -# TDE 3.5.12 specific building variables -BuildRequires: autoconf automake libtool m4 -%define tde_docdir %{_docdir} -%define tde_includedir %{_includedir}/kde -%define tde_libdir %{_libdir}/kde3 - - -Name: trinity-%{kdecomp} -Summary: Calculator for TDE -Version: %{?version} -Release: %{?release}%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Source0: %{kdecomp}-3.5.12.tar.gz - -Patch0: abakus-0.91-link-dcop.patch - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-kdelibs-devel -BuildRequires: trinity-kdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: scons - -%description -AbaKus is a complex calculator, which provides -many different kinds of calculations. -Think of it as bc (the command-line calculator) with a nice GUI. -It also gives information about mathematical variables and -has the user-friendly menu options of a normal KDE application. - -%prep -%setup -q -n applications/%{kdecomp} -%patch0 -p1 - -%build -export PATH="%{_bindir}:${PATH}" -export LDFLAGS="-L%{_libdir} -I%{_includedir}" -export CXXFLAGS="-I%{_includedir}/tqt" - -./configure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot}%{_prefix} - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : - -%postun -touch --no-create %{_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{_bindir}/* -%{_datadir}/apps/*/ -%{_datadir}/icons/*/*/*/* -%{tde_docdir}/HTML/*/*/ -%{_datadir}/applnk/Utilities/abakus.desktop - -%changelog -* Tue Sep 14 2011 Francois Andriot - 0.91-1 -- Initial release for RHEL 6 and Fedora 15 -- Import to GIT diff --git a/redhat/applications/abakus/abakus-3.5.13.1-fix_install_icon.patch b/redhat/applications/abakus/abakus-3.5.13.1-fix_install_icon.patch deleted file mode 100644 index 994fb39d5..000000000 --- a/redhat/applications/abakus/abakus-3.5.13.1-fix_install_icon.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- abakus-3.5.13.1/CMakeLists.txt.ORI 2012-10-02 19:34:14.633927133 +0000 -+++ abakus-3.5.13.1/CMakeLists.txt 2012-10-02 19:34:25.560708663 +0000 -@@ -66,6 +66,7 @@ - - ##### source directories ######################## - -+add_subdirectory( icons ) - add_subdirectory( src ) - tde_conditional_add_subdirectory( BUILD_DOC doc ) - tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po ) diff --git a/redhat/applications/abakus/abakus-3.5.13.1.spec b/redhat/applications/abakus/abakus-3.5.13.1.spec deleted file mode 100644 index 3a5e75aad..000000000 --- a/redhat/applications/abakus/abakus-3.5.13.1.spec +++ /dev/null @@ -1,126 +0,0 @@ -# Default version for this component -%define kdecomp abakus - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -Name: trinity-%{kdecomp} -Summary: Calculator for TDE -Version: 0.91 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -# [abakus] Fix install icon -Patch1: abakus-3.5.13.1-fix_install_icon.patch - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-arts-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: cmake >= 2.8 -BuildRequires: bison - -%description -AbaKus is a complex calculator, which provides -many different kinds of calculations. -Think of it as bc (the command-line calculator) with a nice GUI. -It also gives information about mathematical variables and -has the user-friendly menu options of a normal TDE application. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 -%patch1 -p1 -b .icon - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" - -# Do not build against any "/usr" installed KDE -export KDEDIR=%{tde_prefix} - -# Specific path for RHEL4 -if [ -d /usr/X11R6 ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DBUILD_ALL=ON \ - .. - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/abakus -%{tde_datadir}/apps/abakus/ -%{tde_datadir}/icons/hicolor/*/apps/abakus.png -%{tde_tdedocdir}/HTML/en/abakus/ -%{tde_datadir}/applnk/Utilities/abakus.desktop - -%changelog -* Tue Oct 02 2012 Francois Andriot - 0.91-4 -- Initial release for TDE 3.5.13.1 diff --git a/redhat/applications/abakus/abakus-3.5.13.2.spec b/redhat/applications/abakus/abakus-3.5.13.2.spec deleted file mode 100644 index 9200c19a4..000000000 --- a/redhat/applications/abakus/abakus-3.5.13.2.spec +++ /dev/null @@ -1,126 +0,0 @@ -# Default version for this component -%define tde_pkg abakus -%define tde_version 3.5.13.2 - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -Name: trinity-%{tde_pkg} -Summary: Calculator for TDE -Version: 0.91 -Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-arts-devel >= 1:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: cmake >= 2.8 -BuildRequires: bison - -%description -AbaKus is a complex calculator, which provides -many different kinds of calculations. -Think of it as bc (the command-line calculator) with a nice GUI. -It also gives information about mathematical variables and -has the user-friendly menu options of a normal TDE application. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -. /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -# Do not build against any "/usr" installed KDE -export KDEDIR="%{tde_prefix}" - -# Specific path for RHEL4 -if [ -d "/usr/X11R6" ]; then - export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DBUILD_ALL=ON \ - .. - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/abakus -%{tde_datadir}/apps/abakus/ -%{tde_datadir}/icons/hicolor/*/apps/abakus.png -%{tde_tdedocdir}/HTML/en/abakus/ -%{tde_datadir}/applnk/Utilities/abakus.desktop - -%changelog diff --git a/redhat/applications/abakus/abakus-3.5.13.spec b/redhat/applications/abakus/abakus-3.5.13.spec deleted file mode 100644 index b0a33e2cc..000000000 --- a/redhat/applications/abakus/abakus-3.5.13.spec +++ /dev/null @@ -1,107 +0,0 @@ -# Default version for this component -%define kdecomp abakus - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -Name: trinity-%{kdecomp} -Summary: Calculator for TDE -Version: 0.91 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -BuildRequires: tqtinterface-devel >= 3.5.13 -BuildRequires: trinity-tdelibs-devel >= 3.5.13 -BuildRequires: trinity-tdebase-devel >= 3.5.13 -BuildRequires: desktop-file-utils -BuildRequires: scons -BuildRequires: bison - -%description -AbaKus is a complex calculator, which provides -many different kinds of calculations. -Think of it as bc (the command-line calculator) with a nice GUI. -It also gives information about mathematical variables and -has the user-friendly menu options of a normal TDE application. - -%prep -%setup -q -n applications/%{kdecomp} - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export CXXFLAGS="-I%{tde_includedir}/tqt" - -# We are using a specific (non-autotool) configure script. -./configure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot}%{tde_prefix} - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/abakus -%{tde_datadir}/apps/abakus/ -%{tde_datadir}/icons/hicolor/*/apps/abakus.png -%{tde_tdedocdir}/HTML/en/abakus/ -%{tde_datadir}/applnk/Utilities/abakus.desktop - -%changelog -* Wed Apr 25 2012 Francois Andriot - 0.91-3 -- Fix postinstall - -* Sun Oct 30 2011 Francois Andriot - 0.91-2 -- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 - -* Tue Sep 14 2011 Francois Andriot - 0.91-1 -- Initial release for RHEL 6 and Fedora 15 -- Import to GIT diff --git a/redhat/applications/adept/adept-3.5.13.2.spec b/redhat/applications/adept/adept-3.5.13.2.spec deleted file mode 100644 index 0939d80f0..000000000 --- a/redhat/applications/adept/adept-3.5.13.2.spec +++ /dev/null @@ -1,183 +0,0 @@ -# Default version for this component -%define tde_pkg adept -%define tde_version 3.5.13.2 - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tde_pkg} -Summary: Package management suite for Trinity -Version: 2.1.3 -Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://lpnotfr.free.fr/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -Requires: %{name}-manager = %{version}-%{release} -Requires: %{name}-installer = %{version}-%{release} -Requires: %{name}-updater = %{version}-%{release} -Requires: %{name}-notifier = %{version}-%{release} -Requires: %{name}-batch = %{version}-%{release} - - -%description -These packages belong to the adept suite: - * adept-manager - package manager - * adept-installer - application manager - * adept-updater - system upgrade wizard - * adept-notifier - systray notification of available updates - - -%files -%defattr(-,root,root,-) -%doc AUTHORS CHANGELOG ChangeLog COPYING - -########## - -%package common -Requires: trinity-konsole -Summary: Package manager for Trinity -- common files - -%description common -Icons and other common files for all adept components. - -########## - -%package manager -Requires: %{name}-common = %{version}-%{release} -Summary: package manager for Trinity - -%description manager -Adept Manager is a graphical user interface for package management. - -Besides these basic functions the following features are provided: - * Search and filter the list of available packages (also using debtags) - * Perform smart system upgrades - * Edit the list of used repositories (sources.list) - * Configure packages through the debconf system - -Please also install libtqt-perl if you want the TDE Debconf frontend -to function. - -########## - -%package installer -Requires: %{name}-common = %{version}-%{release} -Summary: simple user interface for application management (for Trinity) - -%description installer -Adept Installer presents a list of applications available through the -Advanced Package Tool (APT). An application is considered a package -that contains a .desktop file for use with TDE, GNOME or other -desktop environment. - -########## - -%package updater -Requires: %{name}-common = %{version}-%{release} -Summary: system update tool for Trinity - -%description updater -Adept Updater provides a simple wizard-style user interface to system -upgrades. It uses same algorithms as apt-get dist-upgrade. - -########## - -%package notifier -Requires: %{name}-common = %{version}-%{release} -Requires: %{name}-updater = %{version}-%{release} -Summary: System tray notifier of available system updates - -%description notifier -Adept Notifier provides a system tray icon notifying the user of -available updates. It will run Adept Updater for the user when -clicked. - -########## - -%package batch -Requires: %{name}-manager = %{version}-%{release} -Summary: command line install for Adept - -%description batch -Adept Batch lets you install packages with Adept from the -command line. It is intended for shell scripts and being run -by external applications. - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --enable-closure - -%__make %{?_smp_mflags} -C adept - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{tde_pkg} - - -%clean -%__rm -rf %{buildroot} - - - - -%changelog diff --git a/redhat/applications/amarok/amarok-1.4.8-gcc43.patch b/redhat/applications/amarok/amarok-1.4.8-gcc43.patch deleted file mode 100644 index 8b0c78133..000000000 --- a/redhat/applications/amarok/amarok-1.4.8-gcc43.patch +++ /dev/null @@ -1,79 +0,0 @@ -diff -up amarok-1.4.8/amarok/src/metadata/mp4/mp4file.cpp.gcc43 amarok-1.4.8/amarok/src/metadata/mp4/mp4file.cpp ---- amarok-1.4.8/amarok/src/metadata/mp4/mp4file.cpp.gcc43 2007-12-17 09:53:19.000000000 -0600 -+++ amarok-1.4.8/amarok/src/metadata/mp4/mp4file.cpp 2008-02-21 21:05:18.000000000 -0600 -@@ -30,6 +30,7 @@ email : aumuell@reserv.at - #include - - #include -+#include - - #define MP4V2_HAS_WRITE_BUG 1 - -diff -up amarok-1.4.8/amarok/src/metadata/mp4/taglib_mp4filetyperesolver.cpp.gcc43 amarok-1.4.8/amarok/src/metadata/mp4/taglib_mp4filetyperesolver.cpp ---- amarok-1.4.8/amarok/src/metadata/mp4/taglib_mp4filetyperesolver.cpp.gcc43 2007-12-17 09:53:19.000000000 -0600 -+++ amarok-1.4.8/amarok/src/metadata/mp4/taglib_mp4filetyperesolver.cpp 2008-02-21 21:05:18.000000000 -0600 -@@ -24,6 +24,7 @@ - - #include "taglib_mp4filetyperesolver.h" - #include "mp4file.h" -+#include - - TagLib::File *MP4FileTypeResolver::createFile(const char *fileName, - bool readProperties, -diff -up amarok-1.4.8/amarok/src/metadata/mp4/mp4tag.cpp.gcc43 amarok-1.4.8/amarok/src/metadata/mp4/mp4tag.cpp ---- amarok-1.4.8/amarok/src/metadata/mp4/mp4tag.cpp.gcc43 2007-12-17 09:53:19.000000000 -0600 -+++ amarok-1.4.8/amarok/src/metadata/mp4/mp4tag.cpp 2008-02-21 21:05:18.000000000 -0600 -@@ -24,6 +24,8 @@ email : andrew.leadbetter - - #include - #include -+#include -+#include - - using namespace TagLib; - -diff -up amarok-1.4.8/amarok/src/metadata/mp4/mp4properties.cpp.gcc43 amarok-1.4.8/amarok/src/metadata/mp4/mp4properties.cpp ---- amarok-1.4.8/amarok/src/metadata/mp4/mp4properties.cpp.gcc43 2007-12-17 09:53:19.000000000 -0600 -+++ amarok-1.4.8/amarok/src/metadata/mp4/mp4properties.cpp 2008-02-21 21:05:18.000000000 -0600 -@@ -30,6 +30,7 @@ email : andrew.leadbetter - #endif - - #include -+#include - - #ifndef UINT64_TO_DOUBLE - #define UINT64_TO_DOUBLE(a) ((double)((int64_t)(a))) -diff -up amarok-1.4.8/amarok/src/engine/helix/hxplayercontrol.cpp.gcc43 amarok-1.4.8/amarok/src/engine/helix/hxplayercontrol.cpp ---- amarok-1.4.8/amarok/src/engine/helix/hxplayercontrol.cpp.gcc43 2007-12-17 09:53:18.000000000 -0600 -+++ amarok-1.4.8/amarok/src/engine/helix/hxplayercontrol.cpp 2008-02-21 21:07:10.000000000 -0600 -@@ -15,6 +15,8 @@ - the alsa guys - ***************************************************************************/ - -+#include -+#include - #include - #include - #include -diff -up amarok-1.4.8/amarok/src/engine/helix/helix-sp/helix-sp.h.gcc43 amarok-1.4.8/amarok/src/engine/helix/helix-sp/helix-sp.h ---- amarok-1.4.8/amarok/src/engine/helix/helix-sp/helix-sp.h.gcc43 2007-12-17 09:53:18.000000000 -0600 -+++ amarok-1.4.8/amarok/src/engine/helix/helix-sp/helix-sp.h 2008-02-21 21:07:54.000000000 -0600 -@@ -23,6 +23,7 @@ class HelixSimplePlayerAudioStreamInfoRe - #include - #include - #include -+#include - #include - #include - #include -diff -up amarok-1.4.8/amarok/src/engine/helix/helix-engine.cpp.gcc43 amarok-1.4.8/amarok/src/engine/helix/helix-engine.cpp ---- amarok-1.4.8/amarok/src/engine/helix/helix-engine.cpp.gcc43 2007-12-17 09:53:18.000000000 -0600 -+++ amarok-1.4.8/amarok/src/engine/helix/helix-engine.cpp 2008-02-21 21:09:38.000000000 -0600 -@@ -15,6 +15,7 @@ - #include - #include - #include -+#include - - #include - diff --git a/redhat/applications/amarok/amarok-3.5.13-adds_ruby_1.9_support.patch b/redhat/applications/amarok/amarok-3.5.13-adds_ruby_1.9_support.patch deleted file mode 100644 index b7fec06cc..000000000 --- a/redhat/applications/amarok/amarok-3.5.13-adds_ruby_1.9_support.patch +++ /dev/null @@ -1,193 +0,0 @@ -diff -urN amarok/amarok/src/mediadevice/daap/ConfigureChecks.cmake amarok.new/amarok/src/mediadevice/daap/ConfigureChecks.cmake ---- amarok/amarok/src/mediadevice/daap/ConfigureChecks.cmake 2012-04-13 01:59:24.000000000 -0500 -+++ amarok.new/amarok/src/mediadevice/daap/ConfigureChecks.cmake 2012-05-06 15:18:36.000000000 -0500 -@@ -14,15 +14,51 @@ - tde_message_fatal( "ruby is required, but was not found on your system" ) - endif( ) - -+# In ruby 1.9.x, ruby.h is located in a different location than previous releases. - execute_process( -- COMMAND ${RUBY_EXECUTABLE} -rrbconfig -e "puts Config.expand( Config::MAKEFILE_CONFIG['archdir'] )" -- OUTPUT_VARIABLE RUBY_INCLUDE_DIR -+ COMMAND ${RUBY_EXECUTABLE} -rrbconfig -e "puts Config.expand( Config::MAKEFILE_CONFIG['MAJOR'] )" -+ OUTPUT_VARIABLE RUBY_VERSION_MAJOR - RESULT_VARIABLE _result - OUTPUT_STRIP_TRAILING_WHITESPACE ) - if( _result ) - tde_message_fatal( "Unable to run ${RUBY_EXECUTABLE}!\n RUBY is correctly installed?" ) - endif( ) -- -+execute_process( -+ COMMAND ${RUBY_EXECUTABLE} -rrbconfig -e "puts Config.expand( Config::MAKEFILE_CONFIG['MINOR'] )" -+ OUTPUT_VARIABLE RUBY_VERSION_MINOR -+ RESULT_VARIABLE _result -+ OUTPUT_STRIP_TRAILING_WHITESPACE ) -+if( _result ) -+ tde_message_fatal( "Unable to run ${RUBY_EXECUTABLE}!\n RUBY is correctly installed?" ) -+endif( ) -+set( RUBY_VERSION ${RUBY_VERSION_MAJOR}${RUBY_VERSION_MINOR} ) -+if ( "${RUBY_VERSION}" GREATER "18" ) -+ execute_process( -+ COMMAND ${RUBY_EXECUTABLE} -rrbconfig -e "puts Config.expand( Config::MAKEFILE_CONFIG['rubyhdrdir'] )" -+ OUTPUT_VARIABLE RUBY_INCLUDE_DIR -+ RESULT_VARIABLE _result -+ OUTPUT_STRIP_TRAILING_WHITESPACE ) -+ if( _result ) -+ tde_message_fatal( "Unable to run ${RUBY_EXECUTABLE}!\n RUBY is correctly installed?" ) -+ endif( ) -+else( ) -+ execute_process( -+ COMMAND ${RUBY_EXECUTABLE} -rrbconfig -e "puts Config.expand( Config::MAKEFILE_CONFIG['archdir'] )" -+ OUTPUT_VARIABLE RUBY_INCLUDE_DIR -+ RESULT_VARIABLE _result -+ OUTPUT_STRIP_TRAILING_WHITESPACE ) -+ if( _result ) -+ tde_message_fatal( "Unable to run ${RUBY_EXECUTABLE}!\n RUBY is correctly installed?" ) -+ endif( ) -+endif( ) -+execute_process( -+ COMMAND ${RUBY_EXECUTABLE} -rrbconfig -e "puts Config.expand( Config::MAKEFILE_CONFIG['arch'] )" -+ OUTPUT_VARIABLE RUBY_ARCH -+ RESULT_VARIABLE _result -+ OUTPUT_STRIP_TRAILING_WHITESPACE ) -+if( _result ) -+ tde_message_fatal( "Unable to run ${RUBY_EXECUTABLE}!\n RUBY is correctly installed?" ) -+endif( ) - execute_process( - COMMAND ${RUBY_EXECUTABLE} -rrbconfig -e "puts Config.expand( Config::MAKEFILE_CONFIG['LIBRUBYARG_SHARED'] )" - OUTPUT_VARIABLE RUBY_LDFLAGS -@@ -36,4 +72,11 @@ - message( STATUS "Found RUBY: ${RUBY_EXECUTABLE}" ) - message( STATUS " RUBY_INCLUDE_DIR: ${RUBY_INCLUDE_DIR}" ) - message( STATUS " RUBY_LDFLAGS: ${RUBY_LDFLAGS}" ) -+ message( STATUS " RUBY_VERSION_MAJOR: ${RUBY_VERSION_MAJOR}") -+ message( STATUS " RUBY_VERSION_MINOR: ${RUBY_VERSION_MINOR}") -+ message( STATUS " RUBY_ARCH: ${RUBY_ARCH}") -+endif( ) -+if ( "${RUBY_VERSION_MAJOR}${RUBY_VERSION_MINOR}" VERSION_LESS "19" ) -+ message( STATUS " You have an old version of Ruby ! (<1.9)") -+ set ( HAVE_OLD_RUBY 1 CACHE INTERNAL "" ) - endif( ) -diff -urN amarok/amarok/src/mediadevice/daap/mongrel/http11/CMakeLists.txt amarok.new/amarok/src/mediadevice/daap/mongrel/http11/CMakeLists.txt ---- amarok/amarok/src/mediadevice/daap/mongrel/http11/CMakeLists.txt 2012-04-13 01:59:24.000000000 -0500 -+++ amarok.new/amarok/src/mediadevice/daap/mongrel/http11/CMakeLists.txt 2012-05-06 15:19:57.000000000 -0500 -@@ -15,6 +15,8 @@ - ) - - include_directories( -+ ${CMAKE_BINARY_DIR} -+ ${RUBY_INCLUDE_DIR}/${RUBY_ARCH} - ${RUBY_INCLUDE_DIR} - ) - -diff -urN amarok/amarok/src/mediadevice/daap/mongrel/http11/http11.c amarok.new/amarok/src/mediadevice/daap/mongrel/http11/http11.c ---- amarok/amarok/src/mediadevice/daap/mongrel/http11/http11.c 2012-04-13 03:04:44.000000000 -0500 -+++ amarok.new/amarok/src/mediadevice/daap/mongrel/http11/http11.c 2012-05-06 15:13:20.000000000 -0500 -@@ -2,6 +2,7 @@ - * Copyright (c) 2005 Zed A. Shaw - * You can redistribute it and/or modify it under the same terms as Ruby. - */ -+#include "config.h" - #include "ruby.h" - #include "ext_help.h" - #include -@@ -74,7 +75,11 @@ - f = rb_str_dup(global_http_prefix); - f = rb_str_buf_cat(f, field, flen); - -- for(ch = RSTRING(f)->ptr, end = ch + RSTRING(f)->len; ch < end; ch++) { -+#ifdef HAVE_OLD_RUBY -+ for(ch = RSTRING(f)->ptr, end = ch + RSTRING(f)->len; ch < end; ch++) { -+#else -+ for(ch = RSTRING_PTR(f), end = ch + RSTRING_LEN(f); ch < end; ch++) { -+#endif - if(*ch == '-') { - *ch = '_'; - } else { -@@ -157,12 +162,25 @@ - - rb_hash_aset(req, global_gateway_interface, global_gateway_interface_value); - if((temp = rb_hash_aref(req, global_http_host)) != Qnil) { -- colon = strchr(RSTRING(temp)->ptr, ':'); -+#ifdef HAVE_OLD_RUBY -+ colon = strchr(RSTRING(temp)->ptr, ':'); -+#else -+ colon = strchr(RSTRING_PTR(temp), ':'); -+#endif - if(colon != NULL) { -- rb_hash_aset(req, global_server_name, rb_str_substr(temp, 0, colon - RSTRING(temp)->ptr)); -+#ifdef HAVE_OLD_RUBY -+ rb_hash_aset(req, global_server_name, rb_str_substr(temp, 0, colon - RSTRING(temp)->ptr)); -+#else -+ rb_hash_aset(req, global_server_name, rb_str_substr(temp, 0, colon - RSTRING_PTR(temp))); -+#endif - rb_hash_aset(req, global_server_port, -- rb_str_substr(temp, colon - RSTRING(temp)->ptr+1, -- RSTRING(temp)->len)); -+#ifdef HAVE_OLD_RUBY -+ rb_str_substr(temp, colon - RSTRING(temp)->ptr+1, -+ RSTRING(temp)->len)); -+#else -+ rb_str_substr(temp, colon - RSTRING_PTR(temp)+1, -+ RSTRING_LEN(temp))); -+#endif - } else { - rb_hash_aset(req, global_server_name, temp); - rb_hash_aset(req, global_server_port, global_port_80); -@@ -281,8 +299,13 @@ - DATA_GET(self, http_parser, http); - - from = FIX2INT(start); -- dptr = RSTRING(data)->ptr; -- dlen = RSTRING(data)->len; -+#ifdef HAVE_OLD_RUBY -+ dptr = RSTRING(data)->ptr; -+ dlen = RSTRING(data)->len; -+#else -+ dptr = RSTRING_PTR(data); -+ dlen = RSTRING_LEN(data); -+#endif - - if(from >= dlen) { - rb_raise(eHttpParserError, "Requested start is after data buffer end."); -@@ -512,7 +535,11 @@ - if(pref_len == 1 && uri_str[0] == '/') { - rb_ary_push(result, uri); - } else { -- rb_ary_push(result, rb_str_substr(uri, pref_len, RSTRING(uri)->len)); -+#ifdef HAVE_OLD_RUBY -+ rb_ary_push(result, rb_str_substr(uri, pref_len, RSTRING(uri)->len)); -+#else -+ rb_ary_push(result, rb_str_substr(uri, pref_len, RSTRING_LEN(uri))); -+#endif - } - - rb_ary_push(result, (VALUE)handler); -diff -urN amarok/config.h.cmake amarok.new/config.h.cmake ---- amarok/config.h.cmake 2012-04-13 01:59:26.000000000 -0500 -+++ amarok.new/config.h.cmake 2012-05-06 15:02:40.000000000 -0500 -@@ -16,3 +16,4 @@ - - #cmakedefine TAGLIB_15 1 - #cmakedefine HAVE_QGLWIDGET 1 -+#cmakedefine HAVE_OLD_RUBY @HAVE_OLD_RUBY@ -\ No newline at end of file -diff -urN amarok/configure.in amarok.new/configure.in ---- amarok/configure.in 2012-04-13 01:59:26.000000000 -0500 -+++ amarok.new/configure.in 2012-05-06 14:53:40.000000000 -0500 -@@ -1162,7 +1162,14 @@ - - AC_PATH_PROG(RUBY, ruby, no) - --ruby_includes=[`$RUBY -rrbconfig -e 'puts Config.expand( Config::MAKEFILE_CONFIG["archdir"] )'`] -+if test -n "$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"rubyhdrdir"@:>@)'"; then -+ # Ruby 1.9 -+ ruby_includes=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"rubyhdrdir"@:>@)'` -+else -+ # not Ruby 1.9 -+ ruby_includes=[`$RUBY -rrbconfig -e 'puts Config.expand( Config::MAKEFILE_CONFIG["archdir"] )'`] -+fi -+ - ruby_ldflags=[`$RUBY -rrbconfig -e 'puts Config.expand( Config::MAKEFILE_CONFIG["LIBRUBYARG_SHARED"] )'`] - - AC_SUBST(ruby_includes) diff --git a/redhat/applications/amarok/amarok-3.5.13-cmake_konqsidebar.patch b/redhat/applications/amarok/amarok-3.5.13-cmake_konqsidebar.patch deleted file mode 100644 index 43c858eec..000000000 --- a/redhat/applications/amarok/amarok-3.5.13-cmake_konqsidebar.patch +++ /dev/null @@ -1,25 +0,0 @@ ---- ConfigureChecks.cmake.ORI 2011-11-26 21:50:35.425026387 +0100 -+++ ConfigureChecks.cmake 2011-11-26 22:24:21.307053676 +0100 -@@ -88,7 +88,12 @@ - - pkg_search_module( SDL sdl ) - if( NOT SDL_FOUND ) -- tde_message_fatal( "SDL are required, but not found on your system" ) -+ check_include_file( SDL/SDL.h HAVE_SDL_H ) -+ if( NOT HAVE_SDL_H ) -+ tde_message_fatal( "SDL are required, but not found on your system" ) -+ endif ( ) -+ set ( SDL_INCLUDE_DIRS /usr/include/SDL ) -+ set ( SDL_LIBRARIES SDL pthread ) - endif( ) - - pkg_search_module( LIBVISUAL libvisual-0.4 ) -@@ -163,7 +168,7 @@ - set( CMAKE_REQUIRED_DEFINITIONS ${TQT_CFLAGS_OTHER} ) - set( CMAKE_REQUIRED_INCLUDES ${TDE_INCLUDE_DIR};${TQT_INCLUDE_DIRS};${CMAKE_INCLUDE_PATH} ) - set( CMAKE_REQUIRED_FLAGS "-include tqt.h" ) -- set( CMAKE_REQUIRED_LIBRARIES -L${TQT_LIBRARY_DIRS} ${TQT_LIBRARIES} ) -+ set( CMAKE_REQUIRED_LIBRARIES -L${TQT_LIBRARY_DIRS} -L${QT_LIBRARY_DIRS} ${TQT_LIBRARIES} ) - check_cxx_source_compiles(" - #include - int main(int, char**) { return 0; } " diff --git a/redhat/applications/amarok/amarok-3.5.13-enable_akode.patch b/redhat/applications/amarok/amarok-3.5.13-enable_akode.patch deleted file mode 100644 index 16ed9beb9..000000000 --- a/redhat/applications/amarok/amarok-3.5.13-enable_akode.patch +++ /dev/null @@ -1,82 +0,0 @@ -diff -Nuar amarok.ORI/amarok/src/engine/akode/CMakeLists.txt amarok.P/amarok/src/engine/akode/CMakeLists.txt ---- amarok.ORI/amarok/src/engine/akode/CMakeLists.txt 1970-01-01 01:00:00.000000000 +0100 -+++ amarok.P/amarok/src/engine/akode/CMakeLists.txt 2012-01-16 21:42:52.701799667 +0100 -@@ -0,0 +1,37 @@ -+################################################# -+# -+# Improvements and feedback are welcome -+# -+# This file is released under GPL >= 2 -+# -+################################################# -+ -+include_directories( -+ ${CMAKE_CURRENT_BINARY_DIR} -+ ${CMAKE_BINARY_DIR} -+ ${CMAKE_BINARY_DIR}/amarok/src/amarokcore -+ ${CMAKE_SOURCE_DIR}/amarok/src -+ ${CMAKE_SOURCE_DIR}/amarok/src/engine/akode -+ ${TDE_INCLUDE_DIR} -+ ${TQT_INCLUDE_DIRS} -+ ${AKODE_INCLUDE_DIRS} -+) -+ -+link_directories( -+ ${TQT_LIBRARY_DIRS} -+) -+ -+ -+##### other data ################################ -+ -+install( FILES amarok_aKode-engine.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) -+ -+ -+##### libamarok_aKode-engine (module) ############ -+ -+tde_add_kpart( libamarok_aKode-engine AUTOMOC -+ SOURCES -+ akode-scope.cpp akode-engine.cpp -+ LINK amarok-shared ${AKODE_LIBRARIES} -+ DESTINATION ${PLUGIN_INSTALL_DIR} -+) -diff -Nuar amarok.ORI/amarok/src/engine/CMakeLists.txt amarok.P/amarok/src/engine/CMakeLists.txt ---- amarok.ORI/amarok/src/engine/CMakeLists.txt 2012-01-16 21:26:50.433584399 +0100 -+++ amarok.P/amarok/src/engine/CMakeLists.txt 2012-01-16 21:27:36.702218362 +0100 -@@ -14,3 +14,4 @@ - add_subdirectory( void ) - tde_conditional_add_subdirectory( WITH_XINE xine ) - tde_conditional_add_subdirectory( WITH_YAUAP yauap ) -+tde_conditional_add_subdirectory( WITH_AKODE akode ) -diff -Nuar amarok.ORI/CMakeLists.txt amarok.P/CMakeLists.txt ---- amarok.ORI/CMakeLists.txt 2012-01-16 21:26:50.418583977 +0100 -+++ amarok.P/CMakeLists.txt 2012-01-16 21:28:23.382857595 +0100 -@@ -47,6 +47,7 @@ - option( WITH_KONQSIDEBAR "Enable konqsidebar plugin" OFF ) - option( WITH_XINE "Enable xine-engine support" OFF ) - option( WITH_YAUAP "Enable yauap-engine support" OFF ) -+option( WITH_AKODE "Enable akode-engine support" OFF ) - option( WITH_IPOD "Enable iPod support from libgpod" OFF ) - option( WITH_IFP "Enable ifp support" OFF ) - option( WITH_NJB "Enable njb support" OFF ) -diff -Nuar amarok.ORI/ConfigureChecks.cmake amarok.P/ConfigureChecks.cmake ---- amarok.ORI/ConfigureChecks.cmake 2012-01-16 21:26:50.491585184 +0100 -+++ amarok.P/ConfigureChecks.cmake 2012-01-16 21:40:55.883193781 +0100 -@@ -121,6 +121,18 @@ - endif( ) - endif( ) - -+# akode-engine -+if( WITH_AKODE ) -+ pkg_search_module( AKODE akode ) -+ if( AKODE_FOUND ) -+ if( ${AKODE_VERSION} VERSION_LESS "2.0.0" ) -+ tde_message_fatal( "your akode version is too old; at least 2.0.0 is required" ) -+ endif( ) -+ else( ) -+ tde_message_fatal( "akode is requested, but was not found on your system" ) -+ endif( ) -+endif( ) -+ - - # iPod - if( WITH_IPOD ) diff --git a/redhat/applications/amarok/amarok-3.5.13-enable_riokarma.patch b/redhat/applications/amarok/amarok-3.5.13-enable_riokarma.patch deleted file mode 100644 index 7bbd11fca..000000000 --- a/redhat/applications/amarok/amarok-3.5.13-enable_riokarma.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- amarok/amarok/src/mediadevice/riokarma/CMakeLists.txt.ORI 2011-11-28 21:59:41.607054279 +0100 -+++ amarok/amarok/src/mediadevice/riokarma/CMakeLists.txt 2011-11-28 21:59:50.413975791 +0100 -@@ -9,7 +9,7 @@ - # - ################################################# - --tde_message_fatal( "riokarma support is not buildable, it needs to link to karma-sharp.dll" ) -+#tde_message_fatal( "riokarma support is not buildable, it needs to link to karma-sharp.dll" ) - - include( ConfigureChecks.cmake ) - -@@ -38,6 +38,6 @@ - - tde_add_kpart( libamarok_riokarma-mediadevice AUTOMOC - SOURCES riokarmamediadevice.cpp -- LINK amarok-shared ${KARMA_LIBRARIES} -+ LINK amarok-shared ${KARMA_LIBRARIES} karma - DESTINATION ${PLUGIN_INSTALL_DIR} - ) diff --git a/redhat/applications/amarok/amarok-3.5.13-fix_gcc47_compilation.patch b/redhat/applications/amarok/amarok-3.5.13-fix_gcc47_compilation.patch deleted file mode 100644 index 79cfb5940..000000000 --- a/redhat/applications/amarok/amarok-3.5.13-fix_gcc47_compilation.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- amarok/amarok/src/mediadevice/mtp/mtpmediadevice.cpp.ORI 2012-05-01 11:44:16.868838499 +0200 -+++ amarok/amarok/src/mediadevice/mtp/mtpmediadevice.cpp 2012-05-01 11:44:27.427731738 +0200 -@@ -24,6 +24,8 @@ - - #define DEBUG_PREFIX "MtpMediaDevice" - -+#include -+ - #include - #include "mtpmediadevice.h" - diff --git a/redhat/applications/amarok/amarok-3.5.13-fix_inotify_support.patch b/redhat/applications/amarok/amarok-3.5.13-fix_inotify_support.patch deleted file mode 100644 index 46798b363..000000000 --- a/redhat/applications/amarok/amarok-3.5.13-fix_inotify_support.patch +++ /dev/null @@ -1,37 +0,0 @@ -commit 899586da27ae7a85cea8637849a964a88f3df8b2 -Author: Timothy Pearson -Date: 1326222183 -0600 - - Fix inotify detection - -diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake -index 0e14311..090c73b 100644 ---- a/ConfigureChecks.cmake -+++ b/ConfigureChecks.cmake -@@ -21,7 +21,25 @@ check_type_size( "long" SIZEOF_LONG BUILTIN_TYPES_ONLY ) - - check_include_file( stdint.h HAVE_STDINT_H ) - check_include_file( systems.h HAVE_SYSTEMS_H ) --check_include_file( linux/inotify.h HAVE_INOTIFY ) -+ -+##### check for inotify ########################### -+ -+# if( WITH_INOTIFY ) -+ check_include_file( "inotify.h" INOTIFY_FOUND ) -+ check_include_file( "sys/inotify.h" INOTIFY_SYS_FOUND ) -+ if( NOT INOTIFY_FOUND ) -+ if( NOT INOTIFY_SYS_FOUND ) -+ message(FATAL_ERROR "\ninotify support was requested, but inotify was not found on your system" ) -+ endif( NOT INOTIFY_SYS_FOUND ) -+ endif( NOT INOTIFY_FOUND ) -+ if( INOTIFY_FOUND ) -+ set( HAVE_INOTIFY 1 ) -+ endif( INOTIFY_FOUND ) -+ if( INOTIFY_SYS_FOUND ) -+ set( HAVE_INOTIFY 1 ) -+ set( HAVE_SYS_INOTIFY 1 ) -+ endif( INOTIFY_SYS_FOUND ) -+# endif( ) - - check_function_exists( statvfs HAVE_STATVFS ) - diff --git a/redhat/applications/amarok/amarok-3.5.13-fix_linear_alphabet.patch b/redhat/applications/amarok/amarok-3.5.13-fix_linear_alphabet.patch deleted file mode 100644 index 82d3542c6..000000000 --- a/redhat/applications/amarok/amarok-3.5.13-fix_linear_alphabet.patch +++ /dev/null @@ -1,46 +0,0 @@ -commit 6e5a3b666215cef086b9116b834475227dbf9343 -Author: Timothy Pearson -Date: 1327529588 -0600 - - Fix linear alphabet string errors - -diff --git a/amarok/src/sqlite/sqlite3.c b/amarok/src/sqlite/sqlite3.c -index 1d55403..2b1d3e0 100644 ---- a/amarok/src/sqlite/sqlite3.c -+++ b/amarok/src/sqlite/sqlite3.c -@@ -11964,7 +11964,7 @@ int os2OpenDirectory( - SQLITE_PRIVATE int sqlite3Os2TempFileName( char *zBuf ){ - static const unsigned char zChars[] = - "abcdefghijklmnopqrstuvwxyz" -- "ABCDEFGHIJKLMNOPTQRSTUVWXYZ" -+ "ABCDEFGHIJKLMNOPQRSTUVWXYZ" - "0123456789"; - int i, j; - PSZ zTempPath = 0; -@@ -13914,7 +13914,7 @@ SQLITE_PRIVATE int sqlite3UnixTempFileName(char *zBuf){ - }; - static const unsigned char zChars[] = - "abcdefghijklmnopqrstuvwxyz" -- "ABCDEFGHIJKLMNOPTQRSTUVWXYZ" -+ "ABCDEFGHIJKLMNOPQRSTUVWXYZ" - "0123456789"; - int i, j; - struct stat buf; -@@ -17014,7 +17014,7 @@ static int winOpenDirectory( - SQLITE_PRIVATE int sqlite3WinTempFileName(char *zBuf){ - static char zChars[] = - "abcdefghijklmnopqrstuvwxyz" -- "ABCDEFGHIJKLMNOPTQRSTUVWXYZ" -+ "ABCDEFGHIJKLMNOPQRSTUVWXYZ" - "0123456789"; - int i, j; - char zTempPath[SQLITE_TEMPNAME_SIZE]; -@@ -48880,7 +48880,7 @@ static void loadExt(sqlite3_context *context, int argc, sqlite3_value **argv){ - static void randStr(sqlite3_context *context, int argc, sqlite3_value **argv){ - static const unsigned char zSrc[] = - "abcdefghijklmnopqrstuvwxyz" -- "ABCDEFGHIJKLMNOPTQRSTUVWXYZ" -+ "ABCDEFGHIJKLMNOPQRSTUVWXYZ" - "0123456789" - ".-!,:*^+=_|?/<> "; - int iMin, iMax, n, r, i; diff --git a/redhat/applications/amarok/amarok-3.5.13-taglib_include.patch b/redhat/applications/amarok/amarok-3.5.13-taglib_include.patch deleted file mode 100644 index 31f5fc0fa..000000000 --- a/redhat/applications/amarok/amarok-3.5.13-taglib_include.patch +++ /dev/null @@ -1,40 +0,0 @@ ---- amarok/amarok/src/metadata/audible/CMakeLists.txt.ORI 2011-11-26 22:09:05.179043399 +0100 -+++ amarok/amarok/src/metadata/audible/CMakeLists.txt 2011-11-26 22:10:35.537172082 +0100 -@@ -13,6 +13,7 @@ - ${CMAKE_BINARY_DIR} - ${TDE_INCLUDE_DIR} - ${TQT_INCLUDE_DIRS} -+ ${TAGLIB_INCLUDE_DIRS} - ) - - ---- amarok/amarok/src/metadata/aac/CMakeLists.txt.ORI 2011-11-26 22:14:32.341267875 +0100 -+++ amarok/amarok/src/metadata/aac/CMakeLists.txt 2011-11-26 22:14:45.323999002 +0100 -@@ -12,6 +12,7 @@ - include_directories( - ${TDE_INCLUDE_DIR} - ${TQT_INCLUDE_DIRS} -+ ${TAGLIB_INCLUDE_DIRS} - ) - - ---- amarok/amarok/src/metadata/wav/CMakeLists.txt.ORI 2011-11-26 22:16:31.602120951 +0100 -+++ amarok/amarok/src/metadata/wav/CMakeLists.txt 2011-11-26 22:16:51.088400461 +0100 -@@ -13,6 +13,7 @@ - ${CMAKE_BINARY_DIR} - ${TDE_INCLUDE_DIR} - ${TQT_INCLUDE_DIRS} -+ ${TAGLIB_INCLUDE_DIRS} - ) - - ---- amarok/amarok/src/collectionscanner/CMakeLists.txt.ORI 2011-11-26 22:26:39.201579899 +0100 -+++ amarok/amarok/src/collectionscanner/CMakeLists.txt 2011-11-26 22:26:58.736094930 +0100 -@@ -15,6 +15,7 @@ - ${CMAKE_SOURCE_DIR}/amarok/src - ${TDE_INCLUDE_DIR} - ${TQT_INCLUDE_DIRS} -+ ${TAGLIB_INCLUDE_DIRS} - ) - - link_directories( diff --git a/redhat/applications/amarok/amarok-3.5.13.1-add_xine12_support.patch b/redhat/applications/amarok/amarok-3.5.13.1-add_xine12_support.patch deleted file mode 100644 index 2328a62b8..000000000 --- a/redhat/applications/amarok/amarok-3.5.13.1-add_xine12_support.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- amarok-3.5.13.1/amarok/src/engine/xine/xine-engine.cpp.ORI 2012-10-02 20:00:20.751039350 +0000 -+++ amarok-3.5.13.1/amarok/src/engine/xine/xine-engine.cpp 2012-10-02 20:05:34.336512276 +0000 -@@ -1131,7 +1131,11 @@ - - bool XineEngine::getAudioCDContents(const TQString &device, KURL::List &urls) - { -+#if XINE_MAJOR_VERSION > 1 || ( XINE_MAJOR_VERSION == 1 && XINE_MINOR_VERSION >= 2 ) -+ const char * const* xine_urls = NULL; -+#else - char **xine_urls = NULL; -+#endif - int num; - int i = 0; - diff --git a/redhat/applications/amarok/amarok-3.5.13.1-fix_inotify_detection.patch b/redhat/applications/amarok/amarok-3.5.13.1-fix_inotify_detection.patch deleted file mode 100644 index ae5dc8c65..000000000 --- a/redhat/applications/amarok/amarok-3.5.13.1-fix_inotify_detection.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- amarok-3.5.13.1/ConfigureChecks.cmake.ORI 2012-10-11 22:49:54.765461343 +0200 -+++ amarok-3.5.13.1/ConfigureChecks.cmake 2012-10-11 22:49:59.897357764 +0200 -@@ -24,7 +24,7 @@ - - ##### check for inotify ########################### - --# if( WITH_INOTIFY ) -+if( WITH_INOTIFY ) - check_include_file( "inotify.h" INOTIFY_FOUND ) - check_include_file( "sys/inotify.h" INOTIFY_SYS_FOUND ) - if( NOT INOTIFY_FOUND ) -@@ -39,7 +39,7 @@ - set( HAVE_INOTIFY 1 ) - set( HAVE_SYS_INOTIFY 1 ) - endif( INOTIFY_SYS_FOUND ) --# endif( ) -+endif( ) - - check_function_exists( statvfs HAVE_STATVFS ) - ---- amarok-3.5.13.1/CMakeLists.txt.ori 2012-10-11 22:50:45.323440818 +0200 -+++ amarok-3.5.13.1/CMakeLists.txt 2012-10-11 22:51:00.569133033 +0200 -@@ -54,6 +54,7 @@ - option( WITH_MTP "Enable mtp support" OFF ) - option( WITH_RIOKARMA "Enable riokarma support" OFF ) - option( WITH_DAAP "Enable daap support" OFF ) -+option( WITH_INOTIFY "Enable inotify support" OFF ) - - - ##### user requested modules #################### diff --git a/redhat/applications/amarok/amarok-3.5.13.1-fix_rhel4_libs.patch b/redhat/applications/amarok/amarok-3.5.13.1-fix_rhel4_libs.patch deleted file mode 100644 index 0b6d3259b..000000000 --- a/redhat/applications/amarok/amarok-3.5.13.1-fix_rhel4_libs.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- amarok-3.5.13.1/amarok/src/engine/yauap/ConfigureChecks.cmake.ORI 2012-10-11 22:54:02.017468265 +0200 -+++ amarok-3.5.13.1/amarok/src/engine/yauap/ConfigureChecks.cmake 2012-10-11 22:54:52.644445209 +0200 -@@ -16,8 +16,8 @@ - endif( ) - - # dbus-tqt --pkg_search_module( DBUS_TQT dbus-tqt ) --if( NOT DBUS_TQT_FOUND ) -- tde_message_fatal( "dbus-tqt is required, but was not found on your system" ) --endif( ) -+#pkg_search_module( DBUS_TQT dbus-tqt ) -+#if( NOT DBUS_TQT_FOUND ) -+# tde_message_fatal( "dbus-tqt is required, but was not found on your system" ) -+#endif( ) - diff --git a/redhat/applications/amarok/amarok-3.5.13.1.spec b/redhat/applications/amarok/amarok-3.5.13.1.spec deleted file mode 100644 index 08d594486..000000000 --- a/redhat/applications/amarok/amarok-3.5.13.1.spec +++ /dev/null @@ -1,406 +0,0 @@ -# Basic package informations -%define kdecomp amarok - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Media player -Version: 1.4.10 -Release: 8%{?dist}%{?_variant} - -Group: Applications/Multimedia -License: GPLv2+ -Url: http://amarok.kde.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: amarok-3.5.13.1.tar.gz - -Patch1: amarok-3.5.13.1-add_xine12_support.patch -Patch2: amarok-3.5.13.1-fix_inotify_detection.patch -Patch3: amarok-3.5.13.1-fix_rhel4_libs.patch - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: trinity-akode-devel -BuildRequires: trinity-konqueror-devel >= 3.5.13.1 - -BuildRequires: alsa-lib-devel -BuildRequires: desktop-file-utils -BuildRequires: esound-devel -BuildRequires: gettext -BuildRequires: pcre-devel -BuildRequires: taglib-devel - -%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: libmp4v2-devel -%endif - -BuildRequires: libtool -%if 0%{?fedora} > 4 || 0%{?rhel} > 4 -BuildRequires: libtool-ltdl-devel -%endif -BuildRequires: libusb-devel -BuildRequires: mysql-devel -BuildRequires: postgresql-devel -BuildRequires: SDL-devel -BuildRequires: taglib-devel -BuildRequires: sqlite-devel -# not used anymore, in favor of libvisual ? -- Rex -#%{?fedora:BuildRequires: xmms-devel} - - -# DBUS support -%if 0%{?suse_version} -BuildRequires: dbus-1-devel -%else -BuildRequires: dbus-devel -%endif -%if 0%{?rhel} == 4 -BuildRequires: dbus-qt -%else -BuildRequires: trinity-dbus-tqt-devel >= 3.5.13.1 -%endif - -# IFP support -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_ifp 1 -BuildRequires: libifp-devel -%endif - -# KARMA support -%if 0%{?mgaversion} || 0%{?mdkversion} -%define with_karma 1 -BuildRequires: libkarma-devel -BuildRequires: karma-sharp -%endif - -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} - -# GPOD (ipod) support -%define with_gpod 1 -%if 0%{?rhel} == 5 -BuildRequires: trinity-libgpod-devel >= 0.4.2 -%else -BuildRequires: libgpod-devel >= 0.4.2 -%endif - -# MTP players -%define with_mtp 1 -BuildRequires: libmtp-devel -BuildRequires: libmusicbrainz-devel - -# Creative Nomad Jukebox -%define with_njb 1 -BuildRequires: libnjb-devel - -# VISUAL support -%define with_libvisual 1 -BuildRequires: libvisual-devel - -# TUNEPIMP support -BuildRequires: libtunepimp-devel - -# INOTIFY support -%define with_inotify 1 -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}inotifytools-devel -%endif - -# XINE support -%define with_xine 1 -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -BuildRequires: libxine-devel -%endif -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: xine-lib-devel -%endif - -# YAUAP support -%define with_yauap 1 - -%endif - -# ruby -BuildRequires: ruby -BuildRequires: ruby-devel - -# To open the selected browser, works with Patch2 -Requires: xdg-utils -Requires(post): xdg-utils -Requires(postun): xdg-utils - - -%description -Amarok is a multimedia player with: - - fresh playlist concept, very fast to use, with drag and drop - - plays all formats supported by the various engines - - audio effects, like reverb and compressor - - compatible with the .m3u and .pls formats for playlists - - nice GUI, integrates into the TDE look, but with a unique touch - -%files -f %{name}.lang -%defattr(-,root,root,-) -%doc COPYING AUTHORS ChangeLog README -%{tde_bindir}/amarok -%{tde_bindir}/amarokapp -%{tde_bindir}/amarokcollectionscanner -%{tde_bindir}/amarok_proxy.rb -%{tde_datadir}/apps/amarok/ -%{tde_datadir}/icons/hicolor/*/*/* -%{tde_datadir}/applications/kde/*.desktop -%{tde_datadir}/servicetypes/*.desktop -%{tde_datadir}/apps/profiles/amarok.profile.xml -%{tde_datadir}/config/amarokrc -%{tde_datadir}/config.kcfg/*.kcfg -%{tde_datadir}/services/amarokitpc.protocol -%{tde_datadir}/services/amaroklastfm.protocol -%{tde_datadir}/services/amarokpcast.protocol -# -libs ? -- Rex -%{tde_libdir}/libamarok.so.0 -%{tde_libdir}/libamarok.so.0.0.0 -# DAAP -%{tde_bindir}/amarok_daapserver.rb -%{tde_tdelibdir}/libamarok_daap-mediadevice.* -%{tde_datadir}/services/amarok_daap-mediadevice.desktop -# Mass-storage -%{tde_datadir}/services/amarok_massstorage-device.desktop -%{tde_tdelibdir}/libamarok_massstorage-device.* -# NFS -%{tde_datadir}/services/amarok_nfs-device.desktop -%{tde_tdelibdir}/libamarok_nfs-device.* -# SMB -%{tde_datadir}/services/amarok_smb-device.desktop -%{tde_tdelibdir}/libamarok_smb-device.* -# IPod -%if 0%{?with_gpod} -%{tde_datadir}/services/amarok_ipod-mediadevice.desktop -%{tde_tdelibdir}/libamarok_ipod-mediadevice.* -%endif -# VFAT -%{tde_datadir}/services/amarok_generic-mediadevice.desktop -%{tde_tdelibdir}/libamarok_generic-mediadevice.* -# iRiver -%if 0%{?with_ifp} -%{tde_datadir}/services/amarok_ifp-mediadevice.desktop -%{tde_tdelibdir}/libamarok_ifp-mediadevice.* -%endif -# Creative Zen -%if 0%{?with_njb} -%{tde_datadir}/services/amarok_njb-mediadevice.desktop -%{tde_tdelibdir}/libamarok_njb-mediadevice.* -%endif -# MTP players -%if 0%{?with_mtp} -%{tde_datadir}/services/amarok_mtp-mediadevice.desktop -%{tde_tdelibdir}/libamarok_mtp-mediadevice.* -%endif -# Rio Karma -%if 0%{?with_karma} -%{tde_datadir}/services/amarok_riokarma-mediadevice.desktop -%{tde_tdelibdir}/libamarok_riokarma-mediadevice.* -%endif -# Void engine (noop) -%{tde_datadir}/services/amarok_void-engine_plugin.desktop -%{tde_tdelibdir}/libamarok_void-engine_plugin.* -# Xine engine -%if 0%{?with_xine} -%{tde_datadir}/services/amarok_xine-engine.desktop -%{tde_tdelibdir}/libamarok_xine-engine.* -%endif -## Gstreamer engine -#%{tde_datadir}/services/amarok_gst10engine_plugin.desktop -#%{tde_tdelibdir}/libamarok_gst10engine_plugin.* -# YAUAP -%if 0%{?with_yauap} -%{tde_datadir}/services/amarok_yauap-engine_plugin.desktop -%{tde_tdelibdir}/libamarok_yauap-engine_plugin.* -%endif -# AKODE -%{tde_datadir}/services/amarok_aKode-engine.desktop -%{tde_tdelibdir}/libamarok_aKode-engine.* - -%post -/sbin/ldconfig -xdg-icon-resource forceupdate --theme hicolor 2> /dev/null || : -xdg-desktop-menu forceupdate 2> /dev/null || : - -%postun -/sbin/ldconfig -xdg-icon-resource forceupdate --theme hicolor 2> /dev/null || : -xdg-desktop-menu forceupdate 2> /dev/null || : - - -########## - -%package ruby -Summary: %{name} Ruby support -Group: Applications/Multimedia -Requires: %{name} = %{version}-%{release} -# For dir ownership and some default plugins (lyrics) -Requires: ruby - -%description ruby -%{summary}. - -%files ruby -%defattr(-,root,root,-) -%{tde_libdir}/ruby_lib/* - -########## - -%package konqueror -Summary: Amarok konqueror (service menus, sidebar) support -Group: Applications/Multimedia - -Requires: %{name} = %{version}-%{release} -Requires: trinity-konqueror - -%description konqueror -%{summary}. - -%files konqueror -%defattr(-,root,root,-) -%{tde_datadir}/apps/konqueror/servicemenus/*.desktop -%{tde_tdelibdir}/konqsidebar_universalamarok.* -%{tde_datadir}/apps/konqsidebartng/*/amarok.desktop - - -########## - -%if 0%{?with_libvisual} - -%package visualisation -Summary: Visualisation plugins for Amarok -Group: Applications/Multimedia -Requires: %{name} = %{version}-%{release} -# No plugins by default, we need libvisual-plugins -#Requires: libvisual-plugins - -%description visualisation -Amarok can use visualisation plugins from different origins. -Right now, only xmms is supported, which means that you can -use any of xmms' visualisation plugins with Amarok. - -%files visualisation -%defattr(-,root,root,-) -%{tde_bindir}/amarok_libvisual - -%endif - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - -%prep -%setup -q -n amarok-3.5.13.1 -%patch1 -p1 -b .xine -%patch2 -p1 -b .inotify -%if 0%{?rhel} == 4 -%patch3 -p1 -b .rhel4 -%endif - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt:%{tde_tdeincludedir}" - -# Do not build against any "/usr" installed KDE -export KDEDIR=%{tde_prefix} - -# Specific path for RHEL4 -if [ -d /usr/X11R6 ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ - -DQT_LIBRARY_DIRS="${QTLIB:-${QTDIR}/%{_lib}}" \ - %{?with_libvisual:-DWITH_LIBVISUAL=ON} \ - -DWITH_KONQSIDEBAR=ON \ - %{?with_xine:-DWITH_XINE=ON} \ - %{?with_yauap:-DWITH_YAUAP=ON} \ - -DWITH_AKODE=ON \ - %{?with_gpod:-DWITH_IPOD=ON} \ - %{?with_ifp:-DWITH_IFP=ON} \ - %{?with_njb:-DWITH_NJB=ON} \ - %{?with_mtp:-DWITH_MTP=ON} \ - %{?with_karma:-DWITH_RIOKARMA=ON} \ - %{?with_inotify:-DWITH_INOTIFY=ON} \ - -DWITH_DAAP=ON \ - -DBUILD_ALL=ON \ - .. - -%__make %{?_smp_mflags} - -%install -%__rm -fr $RPM_BUILD_ROOT -%__make install DESTDIR=$RPM_BUILD_ROOT -C build - - -# unpackaged files -%__rm -f $RPM_BUILD_ROOT%{tde_libdir}/lib*.la -# Removes '.so' to avoid automatic -devel dependency -%__rm -f $RPM_BUILD_ROOT%{tde_libdir}/libamarok.so - -# HTML -for lang_dir in $RPM_BUILD_ROOT%{tde_tdedocdir}/HTML/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - [ "$lang" == "en" ] && d=en/amarok || d=$lang - echo "%lang($lang) %doc %{tde_tdedocdir}/HTML/$d" >> %{name}.lang - fi -done - -# Locales -for locale in $RPM_BUILD_ROOT%{tde_datadir}/locale/* ; do - if [ -r $locale/LC_MESSAGES/amarok.mo ]; then - lang=$(basename $locale) - echo "%lang($lang) %{tde_datadir}/locale/$lang/LC_MESSAGES/amarok.mo" >> %{name}.lang - fi -done - - -%clean -%__rm -fr $RPM_BUILD_ROOT - - -%changelog -* Tue Oct 02 2012 Francois Andriot - 1.4.10-8 -- Initial release for TDE 3.5.13.1 diff --git a/redhat/applications/amarok/amarok-3.5.13.2.spec b/redhat/applications/amarok/amarok-3.5.13.2.spec deleted file mode 100644 index 9f6c153db..000000000 --- a/redhat/applications/amarok/amarok-3.5.13.2.spec +++ /dev/null @@ -1,438 +0,0 @@ -# Basic package informations -%define tde_pkg amarok -%define tde_version 3.5.13.2 - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tde_pkg} -Summary: Media player -Version: 1.4.10 -Release: %{?!preversion:12}%{?preversion:11_%{preversion}}%{?dist} - -Group: Applications/Multimedia -License: GPLv2+ -Url: http://amarok.kde.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -Patch3: amarok-3.5.13.1-fix_rhel4_libs.patch - -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-arts-devel >= 1:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: trinity-konqueror-devel >= %{tde_version} - -BuildRequires: alsa-lib-devel -BuildRequires: desktop-file-utils -BuildRequires: esound-devel -BuildRequires: gettext -BuildRequires: pcre-devel -BuildRequires: taglib-devel - -# LIBTOOL -BuildRequires: libtool -%if 0%{?fedora} > 4 || 0%{?rhel} > 4 -BuildRequires: libtool-ltdl-devel -%endif - -BuildRequires: libusb-devel -BuildRequires: mysql-devel -BuildRequires: postgresql-devel -BuildRequires: SDL-devel -BuildRequires: taglib-devel -BuildRequires: sqlite-devel -# not used anymore, in favor of libvisual ? -- Rex -#{?fedora:BuildRequires: xmms-devel} - - -# DBUS support -%if 0%{?suse_version} -BuildRequires: dbus-1-devel -%else -BuildRequires: dbus-devel -%endif - -# DBUS-(T)QT support -%if 0%{?rhel} == 4 -BuildRequires: dbus-qt -%else -BuildRequires: trinity-dbus-tqt-devel >= 1:0.63 -%endif - -# IFP support -# IFP package is broken under PCLinuxOS. -%if 0%{?pclinuxos} == 0 -%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_ifp 1 -BuildRequires: libifp-devel -%endif -%endif - -# KARMA support -%if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?pclinuxos} == 0 -%define with_karma 1 -BuildRequires: libkarma-devel -BuildRequires: karma-sharp -%endif -%endif - -# GPOD (ipod) support -%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} -%define with_gpod 1 -BuildRequires: libgpod-devel >= 0.4.2 -%endif - -# MTP players -%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} -%define with_mtp 1 -BuildRequires: libmtp-devel -BuildRequires: libmusicbrainz-devel -%endif - -# Creative Nomad Jukebox -%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} >= 1220 -%define with_njb 1 -BuildRequires: libnjb-devel -%endif - -# VISUAL support -%if 0%{?rhel} >= 4 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} -%define with_libvisual 1 -BuildRequires: libvisual-devel -%endif - -# TUNEPIMP support -%if 0%{?mgaversion} && 0%{?mgaversion} <= 2 -BuildRequires: libtunepimp-devel -%endif -%if 0%{?fedora} || 0%{?mdkversion} || 0%{?suse_version} -BuildRequires: libtunepimp-devel -%endif - -# INOTIFY support -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} -%define with_inotify 1 -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}inotifytools-devel -%endif -%endif - -# XINE support -%if 0%{?fedora} || 0%{?rhel} >= 4 || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_xine 1 -%if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?pclinuxos} -BuildRequires: %{_lib}xine-devel -%else -BuildRequires: %{_lib}xine1.2-devel -%endif -%endif -%if 0%{?fedora} || 0%{?rhel} -BuildRequires: xine-lib-devel -%endif -%if 0%{?suse_version} -BuildRequires: libxine-devel -%endif -%endif - -# YAUAP support -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} -%define with_yauap 1 -%endif - -# AKODE support -%if 0 -%define with_akode 1 -BuildRequires: trinity-akode-devel -%endif - -# MP4V2 support -%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define with_mp4v2 1 -BuildRequires: libmp4v2-devel -%endif - -# ruby -BuildRequires: ruby -BuildRequires: ruby-devel - -# To open the selected browser, works with Patch2 -Requires: xdg-utils -Requires(post): xdg-utils -Requires(postun): xdg-utils - - -%description -Amarok is a multimedia player with: - - fresh playlist concept, very fast to use, with drag and drop - - plays all formats supported by the various engines - - audio effects, like reverb and compressor - - compatible with the .m3u and .pls formats for playlists - - nice GUI, integrates into the TDE look, but with a unique touch - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc COPYING AUTHORS ChangeLog README -%{tde_bindir}/amarok -%{tde_bindir}/amarokapp -%{tde_bindir}/amarokcollectionscanner -%{tde_bindir}/amarok_proxy.rb -%{tde_datadir}/apps/amarok/ -%{tde_datadir}/icons/hicolor/*/*/* -%{tde_tdeappdir}/*.desktop -%{tde_datadir}/servicetypes/*.desktop -%{tde_datadir}/apps/profiles/amarok.profile.xml -%{tde_datadir}/config/amarokrc -%{tde_datadir}/config.kcfg/*.kcfg -%{tde_datadir}/services/amarokitpc.protocol -%{tde_datadir}/services/amaroklastfm.protocol -%{tde_datadir}/services/amarokpcast.protocol -# -libs ? -- Rex -%{tde_libdir}/libamarok.so.0 -%{tde_libdir}/libamarok.so.0.0.0 -# DAAP -%{tde_bindir}/amarok_daapserver.rb -%{tde_tdelibdir}/libamarok_daap-mediadevice.* -%{tde_datadir}/services/amarok_daap-mediadevice.desktop -# Mass-storage -%{tde_datadir}/services/amarok_massstorage-device.desktop -%{tde_tdelibdir}/libamarok_massstorage-device.* -# NFS -%{tde_datadir}/services/amarok_nfs-device.desktop -%{tde_tdelibdir}/libamarok_nfs-device.* -# SMB -%{tde_datadir}/services/amarok_smb-device.desktop -%{tde_tdelibdir}/libamarok_smb-device.* -# IPod -%if 0%{?with_gpod} -%{tde_datadir}/services/amarok_ipod-mediadevice.desktop -%{tde_tdelibdir}/libamarok_ipod-mediadevice.* -%endif -# VFAT -%{tde_datadir}/services/amarok_generic-mediadevice.desktop -%{tde_tdelibdir}/libamarok_generic-mediadevice.* -# iRiver -%if 0%{?with_ifp} -%{tde_datadir}/services/amarok_ifp-mediadevice.desktop -%{tde_tdelibdir}/libamarok_ifp-mediadevice.* -%endif -# Creative Zen -%if 0%{?with_njb} -%{tde_datadir}/services/amarok_njb-mediadevice.desktop -%{tde_tdelibdir}/libamarok_njb-mediadevice.* -%endif -# MTP players -%if 0%{?with_mtp} -%{tde_datadir}/services/amarok_mtp-mediadevice.desktop -%{tde_tdelibdir}/libamarok_mtp-mediadevice.* -%endif -# Rio Karma -%if 0%{?with_karma} -%{tde_datadir}/services/amarok_riokarma-mediadevice.desktop -%{tde_tdelibdir}/libamarok_riokarma-mediadevice.* -%endif -# Void engine (noop) -%{tde_datadir}/services/amarok_void-engine_plugin.desktop -%{tde_tdelibdir}/libamarok_void-engine_plugin.* -# Xine engine -%if 0%{?with_xine} -%{tde_datadir}/services/amarok_xine-engine.desktop -%{tde_tdelibdir}/libamarok_xine-engine.* -%endif -## Gstreamer engine -#%{tde_datadir}/services/amarok_gst10engine_plugin.desktop -#%{tde_tdelibdir}/libamarok_gst10engine_plugin.* -# YAUAP -%if 0%{?with_yauap} -%{tde_datadir}/services/amarok_yauap-engine_plugin.desktop -%{tde_tdelibdir}/libamarok_yauap-engine_plugin.* -%endif -# AKODE -%if 0%{?with_akode} -%{tde_datadir}/services/amarok_aKode-engine.desktop -%{tde_tdelibdir}/libamarok_aKode-engine.* -%endif - -%post -/sbin/ldconfig -xdg-icon-resource forceupdate --theme hicolor 2> /dev/null || : -xdg-desktop-menu forceupdate 2> /dev/null || : - -%postun -/sbin/ldconfig -xdg-icon-resource forceupdate --theme hicolor 2> /dev/null || : -xdg-desktop-menu forceupdate 2> /dev/null || : - - -########## - -%package ruby -Summary: %{name} Ruby support -Group: Applications/Multimedia -Requires: %{name} = %{version}-%{release} -# For dir ownership and some default plugins (lyrics) -Requires: ruby - -%description ruby -%{summary}. - -%files ruby -%defattr(-,root,root,-) -%{tde_libdir}/ruby_lib/* - -########## - -%package konqueror -Summary: Amarok konqueror (service menus, sidebar) support -Group: Applications/Multimedia - -Requires: %{name} = %{version}-%{release} -Requires: trinity-konqueror - -%description konqueror -%{summary}. - -%files konqueror -%defattr(-,root,root,-) -%{tde_datadir}/apps/konqueror/servicemenus/*.desktop -%{tde_tdelibdir}/konqsidebar_universalamarok.* -%{tde_datadir}/apps/konqsidebartng/*/amarok.desktop - - -########## - -%if 0%{?with_libvisual} - -%package visualisation -Summary: Visualisation plugins for Amarok -Group: Applications/Multimedia -Requires: %{name} = %{version}-%{release} -# No plugins by default, we need libvisual-plugins -#Requires: libvisual-plugins - -%description visualisation -Amarok can use visualisation plugins from different origins. -Right now, only xmms is supported, which means that you can -use any of xmms' visualisation plugins with Amarok. - -%files visualisation -%defattr(-,root,root,-) -%{tde_bindir}/amarok_libvisual - -%endif - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} -%if 0%{?rhel} == 4 -%patch3 -p1 -b .rhel4 -%endif - -%build -unset QTDIR QTINC QTLIB -. /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -# Do not build against any "/usr" installed KDE -export KDEDIR=%{tde_prefix} - -# Specific path for RHEL4 -if [ -d /usr/X11R6 ]; then - export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - \ - %{?with_libvisual:-DWITH_LIBVISUAL=ON} \ - -DWITH_KONQSIDEBAR=ON \ - %{?with_xine:-DWITH_XINE=ON} \ - %{?with_yauap:-DWITH_YAUAP=ON} \ - %{?with_akode:-DWITH_AKODE=ON} \ - %{?with_gpod:-DWITH_IPOD=ON} \ - %{?with_ifp:-DWITH_IFP=ON} \ - %{?with_njb:-DWITH_NJB=ON} \ - %{?with_mtp:-DWITH_MTP=ON} \ - %{?with_karma:-DWITH_RIOKARMA=ON} \ - -DWITH_DAAP=ON \ - %{?with_mp4v2:-DWITH_MP4V2=ON} \ - %{?with_inotify:-DWITH_INOTIFY=ON} \ - -DBUILD_ALL=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -%__rm -fr $RPM_BUILD_ROOT -%__make install DESTDIR=$RPM_BUILD_ROOT -C build - - -# unpackaged files -%__rm -f $RPM_BUILD_ROOT%{tde_libdir}/lib*.la -# Removes '.so' to avoid automatic -devel dependency -%__rm -f $RPM_BUILD_ROOT%{tde_libdir}/libamarok.so - -# Locales -%find_lang %{tde_pkg} - -# HTML -for lang_dir in $RPM_BUILD_ROOT%{tde_tdedocdir}/HTML/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - [ "$lang" == "en" ] && d=en/amarok || d=$lang - echo "%lang($lang) %doc %{tde_tdedocdir}/HTML/$d" >> amarok.lang - fi -done - - - -%clean -%__rm -fr $RPM_BUILD_ROOT - - -%changelog diff --git a/redhat/applications/amarok/amarok-3.5.13.spec b/redhat/applications/amarok/amarok-3.5.13.spec deleted file mode 100644 index e246498ea..000000000 --- a/redhat/applications/amarok/amarok-3.5.13.spec +++ /dev/null @@ -1,381 +0,0 @@ -# Basic package informations -%define kdecomp amarok - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Media player -Version: 1.4.10 -Release: 7%{?dist}%{?_variant} - -Group: Applications/Multimedia -License: GPLv2+ -Url: http://amarok.kde.org - -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: amarok-3.5.13.tar.gz - -# RedHat / Fedora legacy patches -Patch1: amarok-1.4.8-gcc43.patch - -# TDE 3.5.13 RHEL/Fedora patches -Patch2: amarok-3.5.13-cmake_konqsidebar.patch -Patch3: amarok-3.5.13-taglib_include.patch -Patch4: amarok-3.5.13-enable_riokarma.patch -Patch5: amarok-3.5.13-enable_akode.patch - -Patch6: amarok-3.5.13-adds_ruby_1.9_support.patch -Patch7: amarok-3.5.13-fix_gcc47_compilation.patch - -# [amarok] Fix inotify detection [Commit #899586da] -Patch11: amarok-3.5.13-fix_inotify_support.patch -# [amarok] Fix linear alphabet string errors [Commit #6e5a3b66] -Patch12: amarok-3.5.13-fix_linear_alphabet.patch - -BuildRequires: alsa-lib-devel -BuildRequires: desktop-file-utils -BuildRequires: esound-devel -BuildRequires: gettext -BuildRequires: tqtinterface-devel -BuildRequires: trinity-kdelibs-devel -BuildRequires: trinity-kdebase-devel -BuildRequires: pcre-devel -BuildRequires: taglib-devel -BuildRequires: libifp-devel -# Ipod -%if 0%{?rhel} == 5 -BuildRequires: trinity-libgpod-devel >= 0.4.2 -%else -BuildRequires: libgpod-devel >= 0.4.2 -%endif -BuildRequires: libmp4v2-devel -# MTP players -BuildRequires: libmtp-devel -BuildRequires: libmusicbrainz-devel -# Creative Nomad Jukebox -BuildRequires: libnjb-devel -BuildRequires: libtool -%if 0%{?fedora} > 4 || 0%{?rhel} > 4 -BuildRequires: libtool-ltdl-devel -%endif -BuildRequires: libtunepimp-devel -BuildRequires: libusb-devel -BuildRequires: libvisual-devel -BuildRequires: mysql-devel -BuildRequires: postgresql-devel -BuildRequires: SDL-devel -BuildRequires: taglib-devel -BuildRequires: sqlite-devel -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: trinity-libkarma-devel -BuildRequires: trinity-karma-sharp -%else -BuildRequires: libkarma-devel -BuildRequires: karma-sharp -%endif -# not used anymore, in favor of libvisual ? -- Rex -#%{?fedora:BuildRequires: xmms-devel} -BuildRequires: dbus-devel -BuildRequires: dbus-tqt-devel -BuildRequires: trinity-akode-devel -BuildRequires: trinity-konqueror-devel - -# ruby -BuildRequires: ruby -BuildRequires: ruby-devel - -# To open the selected browser, works with Patch2 -Requires: xdg-utils -Requires(post): xdg-utils -Requires(postun): xdg-utils - -# xine-lib -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: libxine-devel -%else -BuildRequires: xine-lib-devel -%endif - - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}inotifytools-devel -%else -%endif - - -%description -Amarok is a multimedia player with: - - fresh playlist concept, very fast to use, with drag and drop - - plays all formats supported by the various engines - - audio effects, like reverb and compressor - - compatible with the .m3u and .pls formats for playlists - - nice GUI, integrates into the TDE look, but with a unique touch - -%files -f %{name}.lang -%defattr(-,root,root,-) -%doc COPYING AUTHORS ChangeLog README -%{tde_bindir}/amarok -%{tde_bindir}/amarokapp -%{tde_bindir}/amarokcollectionscanner -%{tde_bindir}/amarok_proxy.rb -%{tde_datadir}/apps/amarok/ -%{tde_datadir}/icons/hicolor/*/*/* -%{tde_datadir}/applications/kde/*.desktop -%{tde_datadir}/servicetypes/*.desktop -%{tde_datadir}/apps/profiles/amarok.profile.xml -%{tde_datadir}/config/amarokrc -%{tde_datadir}/config.kcfg/*.kcfg -%{tde_datadir}/services/amarokitpc.protocol -%{tde_datadir}/services/amaroklastfm.protocol -%{tde_datadir}/services/amarokpcast.protocol -# -libs ? -- Rex -%{tde_libdir}/libamarok.so.0 -%{tde_libdir}/libamarok.so.0.0.0 -# DAAP -%{tde_bindir}/amarok_daapserver.rb -%{tde_tdelibdir}/libamarok_daap-mediadevice.* -%{tde_datadir}/services/amarok_daap-mediadevice.desktop -# Mass-storage -%{tde_datadir}/services/amarok_massstorage-device.desktop -%{tde_tdelibdir}/libamarok_massstorage-device.* -# NFS -%{tde_datadir}/services/amarok_nfs-device.desktop -%{tde_tdelibdir}/libamarok_nfs-device.* -# SMB -%{tde_datadir}/services/amarok_smb-device.desktop -%{tde_tdelibdir}/libamarok_smb-device.* -# IPod -%{tde_datadir}/services/amarok_ipod-mediadevice.desktop -%{tde_tdelibdir}/libamarok_ipod-mediadevice.* -# VFAT -%{tde_datadir}/services/amarok_generic-mediadevice.desktop -%{tde_tdelibdir}/libamarok_generic-mediadevice.* -# iRiver -%{tde_datadir}/services/amarok_ifp-mediadevice.desktop -%{tde_tdelibdir}/libamarok_ifp-mediadevice.* -# Creative Zen -%{tde_datadir}/services/amarok_njb-mediadevice.desktop -%{tde_tdelibdir}/libamarok_njb-mediadevice.* -# MTP players -%{tde_datadir}/services/amarok_mtp-mediadevice.desktop -%{tde_tdelibdir}/libamarok_mtp-mediadevice.* -# Rio Karma -%{tde_datadir}/services/amarok_riokarma-mediadevice.desktop -%{tde_tdelibdir}/libamarok_riokarma-mediadevice.* -# Void engine (noop) -%{tde_datadir}/services/amarok_void-engine_plugin.desktop -%{tde_tdelibdir}/libamarok_void-engine_plugin.* -# Xine engine -%{tde_datadir}/services/amarok_xine-engine.desktop -%{tde_tdelibdir}/libamarok_xine-engine.* -## Gstreamer engine -#%{tde_datadir}/services/amarok_gst10engine_plugin.desktop -#%{tde_tdelibdir}/libamarok_gst10engine_plugin.* -# YAUAP -%{tde_datadir}/services/amarok_yauap-engine_plugin.desktop -%{tde_tdelibdir}/libamarok_yauap-engine_plugin.* -# AKODE -%{tde_datadir}/services/amarok_aKode-engine.desktop -%{tde_tdelibdir}/libamarok_aKode-engine.* - -%post -/sbin/ldconfig -xdg-icon-resource forceupdate --theme hicolor 2> /dev/null || : -xdg-desktop-menu forceupdate 2> /dev/null || : - -%postun -/sbin/ldconfig -xdg-icon-resource forceupdate --theme hicolor 2> /dev/null || : -xdg-desktop-menu forceupdate 2> /dev/null || : - - -########## - -%package ruby -Summary: %{name} Ruby support -Group: Applications/Multimedia -Requires: %{name} = %{version}-%{release} -# For dir ownership and some default plugins (lyrics) -Requires: ruby - -%description ruby -%{summary}. - -%files ruby -%defattr(-,root,root,-) -%{tde_libdir}/ruby_lib/* - -########## - -%package konqueror -Summary: Amarok konqueror (service menus, sidebar) support -Group: Applications/Multimedia - -Requires: %{name} = %{version}-%{release} -Requires: trinity-konqueror - -%description konqueror -%{summary}. - -%files konqueror -%defattr(-,root,root,-) -%{tde_datadir}/apps/konqueror/servicemenus/*.desktop -%{tde_tdelibdir}/konqsidebar_universalamarok.* -%{tde_datadir}/apps/konqsidebartng/*/amarok.desktop - - -########## - -%package visualisation -Summary: Visualisation plugins for Amarok -Group: Applications/Multimedia -Requires: %{name} = %{version}-%{release} -# No plugins by default, we need libvisual-plugins -#Requires: libvisual-plugins - -%description visualisation -Amarok can use visualisation plugins from different origins. -Right now, only xmms is supported, which means that you can -use any of xmms' visualisation plugins with Amarok. - -%files visualisation -%defattr(-,root,root,-) -%{tde_bindir}/amarok_libvisual - -########## - - -%prep -%setup -q -n applications/amarok -%patch1 -p1 -b .gcc43 -%patch2 -p0 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 -b .ruby -%patch7 -p1 - -%patch11 -p1 -b .inotify -%patch12 -p1 -b .alphabet - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt:%{tde_tdeincludedir}" - -%if 0%{?rhel} || 0%{?fedora} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ - -DQT_LIBRARY_DIRS="${QTLIB}" \ - -DWITH_LIBVISUAL=ON \ - -DWITH_KONQSIDEBAR=ON \ - -DWITH_XINE=ON \ - -DWITH_YAUAP=ON \ - -DWITH_AKODE=ON \ - -DWITH_IPOD=ON \ - -DWITH_IFP=ON \ - -DWITH_NJB=ON \ - -DWITH_MTP=ON \ - -DWITH_RIOKARMA=ON \ - -DWITH_DAAP=ON \ - -DBUILD_ALL=ON \ - .. - -%__make %{?_smp_mflags} - -%install -%__rm -fr $RPM_BUILD_ROOT -%__make install DESTDIR=$RPM_BUILD_ROOT -C build - - -# unpackaged files -%__rm -f $RPM_BUILD_ROOT%{tde_libdir}/lib*.la -# Removes '.so' to avoid automatic -devel dependency -%__rm -f $RPM_BUILD_ROOT%{tde_libdir}/libamarok.so - -# HTML -for lang_dir in $RPM_BUILD_ROOT%{tde_tdedocdir}/HTML/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - [ "$lang" == "en" ] && d=en/amarok || d=$lang - echo "%lang($lang) %doc %{tde_tdedocdir}/HTML/$d" >> %{name}.lang - fi -done - -# Locales -for locale in $RPM_BUILD_ROOT%{tde_datadir}/locale/* ; do - if [ -r $locale/LC_MESSAGES/amarok.mo ]; then - lang=$(basename $locale) - echo "%lang($lang) %{tde_datadir}/locale/$lang/LC_MESSAGES/amarok.mo" >> %{name}.lang - fi -done - - - -%clean -%__rm -fr $RPM_BUILD_ROOT - - - - - - -%changelog -* Sat Aug 04 2012 Francois Andriot - 1.4.10-7 -- Fix linear alphabet string errors [Commit #6e5a3b66] -- Fix dependencies issues with -devel packages. - -* Mon Apr 29 2012 Francois Andriot - 1.4.10-6 -- Rebuilt for Fedora 17 -- Fix compilation with GCC 4.7 -- Fix inotify detection [Commit #899586da] - -* Mon Mar 19 2012 Francois Andriot - 1.4.10-5 -- Replaces BR "libgpod" with "trinity-libgpod" for EL5 - -* Mon Jan 16 2012 Francois Andriot - 1.4.10-4 -- Enable 'akode' support -- Removes 'libvisual-plugins' dependency (obsolete ?) - -* Mon Nov 28 2011 Francois Andriot - 1.4.10-3 -- Enable riokarma support -- Enhance localized files packaging - -* Sat Nov 26 2011 Francois Andriot - 1.4.10-2 -- Enable RHEL 5 compilation -- Add konqueror sidebar - -* Wed Nov 09 2011 Francois Andriot - 1.4.10-1 -- Initial release for TDE 3.5.13 on RHEL 5, RHEL 6, Fedora 15, Fedora 16 -- Spec file based on Fedora 8 'amarok-1.4.10-1' diff --git a/redhat/applications/basket/basket-3.5.12.spec b/redhat/applications/basket/basket-3.5.12.spec deleted file mode 100644 index fbd83bef0..000000000 --- a/redhat/applications/basket/basket-3.5.12.spec +++ /dev/null @@ -1,118 +0,0 @@ -# Default version for this component -%define kdecomp basket -%define version 1.0.3.1 -%define release 3 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%define _docdir %{_prefix}/share/doc -%endif - -# TDE 3.5.12 specific building variables -BuildRequires: autoconf automake libtool m4 -%define tde_docdir %{_docdir} -%define tde_includedir %{_includedir}/kde -%define tde_libdir %{_libdir}/kde3 - - -Name: trinity-%{kdecomp} -Summary: Taking care of your ideas. -Version: %{?version} -Release: %{?release}%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Source0: %{kdecomp}-3.5.12.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-kdelibs-devel -BuildRequires: trinity-kdebase-devel -BuildRequires: desktop-file-utils - -%description -This application is mainly an all-purpose notes taker. It provide several baskets where -to drop every sort of items: text, rich text, links, images, sounds, files, colors, -application launcher... Objects can be edited, copied, dragged... So, you can arrange -them as you want ! This application can be used to quickly drop web objects (link, text, -images...) or notes, as well as to free your clutered desktop (if any). It is also useful -to collect informations for a report. Those data can be shared with co-workers by exporting -baskets to HTML. - - -%prep -%setup -q -n applications/%{kdecomp} - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -export PATH="%{_bindir}:${PATH}" -export LDFLAGS="-L%{_libdir} -I%{_includedir}" - -%configure \ - --disable-rpath \ - --with-extra-includes=%{_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{_bindir}:${PATH}" -%__rm -rf %{buildroot} -%make_install - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : - -%postun -touch --no-create %{_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{_bindir}/* -%{_datadir}/applications/*/*.desktop -%{_datadir}/apps/*/ -%{_datadir}/icons/*/*/*/* -%{_datadir}/locale/*/*/*.mo -%{tde_docdir}/HTML/en/*/ -%{_datadir}/services/*.desktop -%{_datadir}/mimelnk/application/*.desktop -%{_datadir}/services/*/*.desktop -%{_datadir}/config/magic/*.magic -%{_libdir}/*.so -%{tde_libdir}/*.so - -%exclude %{_libdir}/*.la -%exclude %{tde_libdir}/*.la - - -%Changelog -* Tue Sep 14 2011 Francois Andriot - 1.0.3.1-3 -- Import to GIT - -* Tue Aug 23 2011 Francois Andriot - 1.0.3.1-2 -- Add correction for Fedora 15 - -* Mon Aug 22 2011 Francois Andriot - 1.0.3.1-1 -- Correct macro to install under "/opt", if desired - -* Sun Aug 14 2011 Francois Andriot - 1.0.3.1-0 -- Initial release for RHEL 6.0 - diff --git a/redhat/applications/basket/basket-3.5.13-fix_gcc47_compilation.patch b/redhat/applications/basket/basket-3.5.13-fix_gcc47_compilation.patch deleted file mode 100644 index f9706285f..000000000 --- a/redhat/applications/basket/basket-3.5.13-fix_gcc47_compilation.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- basket/src/likeback.cpp.ORI 2012-05-01 13:57:36.852590875 +0200 -+++ basket/src/likeback.cpp 2012-05-01 13:57:51.403632210 +0200 -@@ -50,6 +50,7 @@ - #include - - #include -+#include - - #include "likeback.h" - #include "likeback_private.h" diff --git a/redhat/applications/basket/basket-3.5.13.1.spec b/redhat/applications/basket/basket-3.5.13.1.spec deleted file mode 100644 index e490398ca..000000000 --- a/redhat/applications/basket/basket-3.5.13.1.spec +++ /dev/null @@ -1,165 +0,0 @@ -# Default version for this component -%define kdecomp basket - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Taking care of your ideas. -Version: 1.0.3.1 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -# [basket] Fix compilation with GCC 4.7 -Patch1: basket-3.5.13-fix_gcc47_compilation.patch - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: trinity-tdepim-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils - -BuildRequires: gpgme-devel - -%description -This application is mainly an all-purpose notes taker. It provide several baskets where -to drop every sort of items: text, rich text, links, images, sounds, files, colors, -application launcher... Objects can be edited, copied, dragged... So, you can arrange -them as you want ! This application can be used to quickly drop web objects (link, text, -images...) or notes, as well as to free your clutered desktop (if any). It is also useful -to collect informations for a report. Those data can be shared with co-workers by exporting -baskets to HTML. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 -%patch1 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --disable-static - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig - -%postun -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/basket -%{tde_tdeappdir}/basket.desktop -%{tde_datadir}/apps/basket/ -%{tde_datadir}/apps/kontact/ksettingsdialog/kontact_basketplugin.setdlg -%{tde_libdir}/libbasketcommon.la -%{tde_libdir}/libbasketcommon.so -%{tde_tdelibdir}/basketthumbcreator.la -%{tde_tdelibdir}/basketthumbcreator.so -%{tde_tdelibdir}/kcm_basket.la -%{tde_tdelibdir}/kcm_basket.so -%{tde_tdelibdir}/libbasketpart.la -%{tde_tdelibdir}/libbasketpart.so -%{tde_tdelibdir}/libkontact_basket.la -%{tde_tdelibdir}/libkontact_basket.so -%{tde_datadir}/config/magic/basket.magic -%{tde_datadir}/icons/crystalsvg/*/*/* -%{tde_datadir}/mimelnk/application/x-basket-archive.desktop -%{tde_datadir}/mimelnk/application/x-basket-template.desktop -%{tde_datadir}/services/basket_config_apps.desktop -%{tde_datadir}/services/basket_config_baskets.desktop -%{tde_datadir}/services/basket_config_features.desktop -%{tde_datadir}/services/basket_config_general.desktop -%{tde_datadir}/services/basket_config_new_notes.desktop -%{tde_datadir}/services/basket_config_notes.desktop -%{tde_datadir}/services/basket_config_notes_appearance.desktop -%{tde_datadir}/services/basket_part.desktop -%{tde_datadir}/services/basketthumbcreator.desktop -%{tde_datadir}/services/kontact/basket.desktop -%{tde_datadir}/services/kontact/basket_v4.desktop -%{tde_tdedocdir}/HTML/en/basket/ - - -%Changelog -* Tue Oct 02 2012 Francois Andriot - 1.0.3.1-3 -- Initial release for TDE 3.5.13.1 diff --git a/redhat/applications/basket/basket-3.5.13.2.spec b/redhat/applications/basket/basket-3.5.13.2.spec deleted file mode 100644 index c392dea83..000000000 --- a/redhat/applications/basket/basket-3.5.13.2.spec +++ /dev/null @@ -1,157 +0,0 @@ -# Default version for this component -%define tde_pkg basket -%define tde_version 3.5.13.2 - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tde_pkg} -Summary: Taking care of your ideas. -Version: 1.0.3.1 -Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-arts-devel >= 1:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: trinity-tdepim-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: gpgme-devel - -%description -This application is mainly an all-purpose notes taker. It provide several baskets where -to drop every sort of items: text, rich text, links, images, sounds, files, colors, -application launcher... Objects can be edited, copied, dragged... So, you can arrange -them as you want ! This application can be used to quickly drop web objects (link, text, -images...) or notes, as well as to free your clutered desktop (if any). It is also useful -to collect informations for a report. Those data can be shared with co-workers by exporting -baskets to HTML. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -# Warning: --enable-final causes FTBFS -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --disable-final \ - --enable-closure \ - --enable-rpath - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{tde_pkg} - -%clean -%__rm -rf %{buildroot} - - -%post -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig -update-desktop-database %{tde_tdeappdir} -q &> /dev/null - -%postun -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig -update-desktop-database %{tde_tdeappdir} -q &> /dev/null - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/basket -%{tde_tdeappdir}/basket.desktop -%{tde_datadir}/apps/basket/ -%{tde_datadir}/apps/kontact/ksettingsdialog/kontact_basketplugin.setdlg -%{tde_libdir}/libbasketcommon.la -%{tde_libdir}/libbasketcommon.so -%{tde_tdelibdir}/basketthumbcreator.la -%{tde_tdelibdir}/basketthumbcreator.so -%{tde_tdelibdir}/kcm_basket.la -%{tde_tdelibdir}/kcm_basket.so -%{tde_tdelibdir}/libbasketpart.la -%{tde_tdelibdir}/libbasketpart.so -%{tde_tdelibdir}/libkontact_basket.la -%{tde_tdelibdir}/libkontact_basket.so -%{tde_datadir}/config/magic/basket.magic -%{tde_datadir}/icons/crystalsvg/*/*/* -%{tde_datadir}/mimelnk/application/x-basket-archive.desktop -%{tde_datadir}/mimelnk/application/x-basket-template.desktop -%{tde_datadir}/services/basket_config_apps.desktop -%{tde_datadir}/services/basket_config_baskets.desktop -%{tde_datadir}/services/basket_config_features.desktop -%{tde_datadir}/services/basket_config_general.desktop -%{tde_datadir}/services/basket_config_new_notes.desktop -%{tde_datadir}/services/basket_config_notes.desktop -%{tde_datadir}/services/basket_config_notes_appearance.desktop -%{tde_datadir}/services/basket_part.desktop -%{tde_datadir}/services/basketthumbcreator.desktop -%{tde_datadir}/services/kontact/basket.desktop -%{tde_datadir}/services/kontact/basket_v4.desktop -%{tde_tdedocdir}/HTML/en/basket/ - - -%changelog diff --git a/redhat/applications/basket/basket-3.5.13.spec b/redhat/applications/basket/basket-3.5.13.spec deleted file mode 100644 index b9d845859..000000000 --- a/redhat/applications/basket/basket-3.5.13.spec +++ /dev/null @@ -1,164 +0,0 @@ -# Default version for this component -%define kdecomp basket - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Taking care of your ideas. -Version: 1.0.3.1 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -# [basket] Fix compilation with GCC 4.7 -Patch1: basket-3.5.13-fix_gcc47_compilation.patch - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-kdelibs-devel -BuildRequires: trinity-kdebase-devel -BuildRequires: desktop-file-utils - -BuildRequires: gpgme-devel -BuildRequires: trinity-tdepim-devel >= 3.5.13 - -%description -This application is mainly an all-purpose notes taker. It provide several baskets where -to drop every sort of items: text, rich text, links, images, sounds, files, colors, -application launcher... Objects can be edited, copied, dragged... So, you can arrange -them as you want ! This application can be used to quickly drop web objects (link, text, -images...) or notes, as well as to free your clutered desktop (if any). It is also useful -to collect informations for a report. Those data can be shared with co-workers by exporting -baskets to HTML. - - -%prep -%setup -q -n applications/%{kdecomp} -%patch1 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --disable-rpath \ - --with-extra-includes=%{_includedir}/tqt \ - --disable-static - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig - -%postun -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/basket -%{tde_tdeappdir}/basket.desktop -%{tde_datadir}/apps/basket/ -%{tde_datadir}/apps/kontact/ksettingsdialog/kontact_basketplugin.setdlg -%{tde_libdir}/libbasketcommon.la -%{tde_libdir}/libbasketcommon.so -%{tde_tdelibdir}/basketthumbcreator.la -%{tde_tdelibdir}/basketthumbcreator.so -%{tde_tdelibdir}/kcm_basket.la -%{tde_tdelibdir}/kcm_basket.so -%{tde_tdelibdir}/libbasketpart.la -%{tde_tdelibdir}/libbasketpart.so -%{tde_tdelibdir}/libkontact_basket.la -%{tde_tdelibdir}/libkontact_basket.so -%{tde_datadir}/config/magic/basket.magic -%{tde_datadir}/icons/crystalsvg/*/*/* -%{tde_datadir}/mimelnk/application/x-basket-archive.desktop -%{tde_datadir}/mimelnk/application/x-basket-template.desktop -%{tde_datadir}/services/basket_config_apps.desktop -%{tde_datadir}/services/basket_config_baskets.desktop -%{tde_datadir}/services/basket_config_features.desktop -%{tde_datadir}/services/basket_config_general.desktop -%{tde_datadir}/services/basket_config_new_notes.desktop -%{tde_datadir}/services/basket_config_notes.desktop -%{tde_datadir}/services/basket_config_notes_appearance.desktop -%{tde_datadir}/services/basket_part.desktop -%{tde_datadir}/services/basketthumbcreator.desktop -%{tde_datadir}/services/kontact/basket.desktop -%{tde_datadir}/services/kontact/basket_v4.desktop -%{tde_tdedocdir}/HTML/en/basket/ - - -%Changelog -* Tue May 01 2012 Francois Andriot - 1.0.3.1-2 -- Fix build, post and postun -- Fix compilation with GCC 4.7 - -* Mon Aug 22 2011 Francois Andriot - 1.0.3.1-1 -- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/bibletime/bibletime-3.5.13.2.spec b/redhat/applications/bibletime/bibletime-3.5.13.2.spec deleted file mode 100644 index 8bec59af8..000000000 --- a/redhat/applications/bibletime/bibletime-3.5.13.2.spec +++ /dev/null @@ -1,146 +0,0 @@ -# Default version for this component -%define tde_pkg bibletime -%define tde_version 3.5.13.2 - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tde_pkg} -Summary: A bible study tool for Trinity -Version: 1.6.6.0 -Release: %{?!preversion:7}%{?preversion:6_%{preversion}}%{?dist} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-arts-devel >= 1:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: gettext - -# Requires: clucene -%if 0%{?fedora} || 0%{?suse_version} -BuildRequires: clucene-core-devel -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}clucene-devel -%endif - -# Requires: sword -BuildRequires: sword-devel -Requires: sword - -%description -BibleTime is a free and easy to use bible study tool for UNIX systems. -It requires a working TDE environment and the SWORD library. -BibleTime provides easy handling of digitized texts (Bibles, commentaries -and lexicons) and powerful features to work with these texts (search in -texts, write own notes, save, print etc.). - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR QTINC QTLIB -. /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --enable-final \ - --enable-closure \ - --enable-rpath \ - \ -%if 0%{?fedora} >= 20 || 0%{?pclinuxos} || 0%{?rhel} >= 7 - --with-sword-dir=%{tde_prefix} -%endif - -# Not SMP safe ! -%__make -C bibletime/frontend - -# SMP safe ! -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%__chmod 644 %{buildroot}%{tde_datadir}/apps/bibletime/pics/* -%__chmod 644 %{buildroot}%{tde_datadir}/apps/bibletime/bibletimeui.rc -%__chmod 644 %{buildroot}%{tde_datadir}/apps/bibletime/tips - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_datadir}/applications -q &> /dev/null - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_datadir}/applications -q &> /dev/null - - -%files -%defattr(-,root,root,-) -%{tde_bindir}/bibletime -%{tde_tdeincludedir}/bibletimeinterface.h -%{tde_datadir}/applications/bibletime.desktop -%{tde_datadir}/apps/bibletime/ -%{tde_datadir}/icons/hicolor/*/*/*.png -%{tde_tdedocdir}/HTML/en/bibletime/ - - -%changelog diff --git a/redhat/applications/compizconfig-backend-kconfig/compizconfig-backend-kconfig-3.5.12.spec b/redhat/applications/compizconfig-backend-kconfig/compizconfig-backend-kconfig-3.5.12.spec deleted file mode 100644 index 85a90a849..000000000 --- a/redhat/applications/compizconfig-backend-kconfig/compizconfig-backend-kconfig-3.5.12.spec +++ /dev/null @@ -1,86 +0,0 @@ -# Default version for this component -%if "%{?version}" == "" -%define kdecomp compizconfig-backend-kconfig -%define version 3.5.12 -%endif -%define release 1 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _docdir %{tde_prefix}/share/doc -%endif - -# TDE 3.5.12 specific building variables -BuildRequires: autoconf automake libtool m4 -%define tde_docdir %{_docdir} -%define tde_libdir %{tde_libdir}/kde3 - - -Name: trinity-%{?kdecomp} -Version: %{?version} -Release: %{?release}%{?dist} -Vendor: Trinity Project -Packager: Francois Andriot -Summary: kconfig backend for compizconfig - -Group: System Environment/Libraries -License: GPLv2+ -URL: http://www.opencompositing.org - -Prefix: %{tde_prefix} - -Source0: %{kdecomp}-%{version}.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils - -BuildRequires: libcompizconfig-devel intltool -Requires: compiz - - -%description -The Compiz Fusion Project brings 3D desktop visual effects that improve -usability of the X Window System and provide increased productivity -through plugins and themes contributed by the community giving a -rich desktop experience. - -This package contains the kconfig backend for libcompizconfig - -%prep -%setup -q -n applications/%{kdecomp} - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" -%__make -f admin/Makefile.common - - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{?buildroot} -%make_install - - -%clean -%__rm -rf %{?buildroot} - - -%files -%defattr(-,root,root,-) -%doc COPYING.GPL COPYING.LGPL -%{_usr}/%{_lib}/compizconfig/backends/*.so -%exclude %{_usr}/%{_lib}/compizconfig/backends/*.la - -%changelog diff --git a/redhat/applications/digikam/digikam-3.5.13-fix_fomat_not_string_literal.patch b/redhat/applications/digikam/digikam-3.5.13-fix_fomat_not_string_literal.patch deleted file mode 100644 index a163feb78..000000000 --- a/redhat/applications/digikam/digikam-3.5.13-fix_fomat_not_string_literal.patch +++ /dev/null @@ -1,19 +0,0 @@ -commit 029218cd9cd3192a2a61ac29d896a2c3640f2dd8 -Author: Timothy Pearson -Date: 1336066180 -0500 - - Fix 'format not a string literal' error - -diff --git a/digikam/libs/sqlite2/shell.c b/digikam/libs/sqlite2/shell.c -index 1100f38..89898ab 100644 ---- a/digikam/libs/sqlite2/shell.c -+++ b/digikam/libs/sqlite2/shell.c -@@ -692,7 +692,7 @@ static int do_meta_command(char *zLine, struct callback_data *p){ - }else - - if( c=='h' && strncmp(azArg[0], "help", n)==0 ){ -- fprintf(stderr,zHelp); -+ fprintf(stderr, "%s", zHelp); - }else - - if( c=='i' && strncmp(azArg[0], "indices", n)==0 && nArg>1 ){ diff --git a/redhat/applications/digikam/digikam-3.5.13-fix_ftbfs_jpeg_code.patch b/redhat/applications/digikam/digikam-3.5.13-fix_ftbfs_jpeg_code.patch deleted file mode 100644 index c69027708..000000000 --- a/redhat/applications/digikam/digikam-3.5.13-fix_ftbfs_jpeg_code.patch +++ /dev/null @@ -1,261 +0,0 @@ -commit b9419cd5ed26f4ed70b882243cc4bd8a6f19797e -Author: Timothy Pearson -Date: 1326324936 -0600 - - Fix digikam FTBFS due to jpeg code - -diff --git a/digikam/libs/jpegutils/jpegint.h b/digikam/libs/jpegutils/jpegint.h -index 1fa82f8..27546f3 100644 ---- a/digikam/libs/jpegutils/jpegint.h -+++ b/digikam/libs/jpegutils/jpegint.h -@@ -42,9 +42,9 @@ typedef enum { /* Operating modes for buffer controllers */ - - /* Master control module */ - struct jpeg_comp_master { -- JTQT_METHOD(void, prepare_for_pass, (j_compress_ptr cinfo)); -- JTQT_METHOD(void, pass_startup, (j_compress_ptr cinfo)); -- JTQT_METHOD(void, finish_pass, (j_compress_ptr cinfo)); -+ JMETHOD(void, prepare_for_pass, (j_compress_ptr cinfo)); -+ JMETHOD(void, pass_startup, (j_compress_ptr cinfo)); -+ JMETHOD(void, finish_pass, (j_compress_ptr cinfo)); - - /* State variables made visible to other modules */ - boolean call_pass_startup; /* True if pass_startup must be called */ -@@ -53,16 +53,16 @@ struct jpeg_comp_master { - - /* Main buffer control (downsampled-data buffer) */ - struct jpeg_c_main_controller { -- JTQT_METHOD(void, start_pass, (j_compress_ptr cinfo, J_BUF_MODE pass_mode)); -- JTQT_METHOD(void, process_data, (j_compress_ptr cinfo, -+ JMETHOD(void, start_pass, (j_compress_ptr cinfo, J_BUF_MODE pass_mode)); -+ JMETHOD(void, process_data, (j_compress_ptr cinfo, - JSAMPARRAY input_buf, JDIMENSION *in_row_ctr, - JDIMENSION in_rows_avail)); - }; - - /* Compression preprocessing (downsampling input buffer control) */ - struct jpeg_c_prep_controller { -- JTQT_METHOD(void, start_pass, (j_compress_ptr cinfo, J_BUF_MODE pass_mode)); -- JTQT_METHOD(void, pre_process_data, (j_compress_ptr cinfo, -+ JMETHOD(void, start_pass, (j_compress_ptr cinfo, J_BUF_MODE pass_mode)); -+ JMETHOD(void, pre_process_data, (j_compress_ptr cinfo, - JSAMPARRAY input_buf, - JDIMENSION *in_row_ctr, - JDIMENSION in_rows_avail, -@@ -73,23 +73,23 @@ struct jpeg_c_prep_controller { - - /* Coefficient buffer control */ - struct jpeg_c_coef_controller { -- JTQT_METHOD(void, start_pass, (j_compress_ptr cinfo, J_BUF_MODE pass_mode)); -- JTQT_METHOD(boolean, compress_data, (j_compress_ptr cinfo, -+ JMETHOD(void, start_pass, (j_compress_ptr cinfo, J_BUF_MODE pass_mode)); -+ JMETHOD(boolean, compress_data, (j_compress_ptr cinfo, - JSAMPIMAGE input_buf)); - }; - - /* Colorspace conversion */ - struct jpeg_color_converter { -- JTQT_METHOD(void, start_pass, (j_compress_ptr cinfo)); -- JTQT_METHOD(void, color_convert, (j_compress_ptr cinfo, -+ JMETHOD(void, start_pass, (j_compress_ptr cinfo)); -+ JMETHOD(void, color_convert, (j_compress_ptr cinfo, - JSAMPARRAY input_buf, JSAMPIMAGE output_buf, - JDIMENSION output_row, int num_rows)); - }; - - /* Downsampling */ - struct jpeg_downsampler { -- JTQT_METHOD(void, start_pass, (j_compress_ptr cinfo)); -- JTQT_METHOD(void, downsample, (j_compress_ptr cinfo, -+ JMETHOD(void, start_pass, (j_compress_ptr cinfo)); -+ JMETHOD(void, downsample, (j_compress_ptr cinfo, - JSAMPIMAGE input_buf, JDIMENSION in_row_index, - JSAMPIMAGE output_buf, - JDIMENSION out_row_group_index)); -@@ -99,9 +99,9 @@ struct jpeg_downsampler { - - /* Forward DCT (also controls coefficient quantization) */ - struct jpeg_forward_dct { -- JTQT_METHOD(void, start_pass, (j_compress_ptr cinfo)); -+ JMETHOD(void, start_pass, (j_compress_ptr cinfo)); - /* perhaps this should be an array??? */ -- JTQT_METHOD(void, forward_DCT, (j_compress_ptr cinfo, -+ JMETHOD(void, forward_DCT, (j_compress_ptr cinfo, - jpeg_component_info * compptr, - JSAMPARRAY sample_data, JBLOCKROW coef_blocks, - JDIMENSION start_row, JDIMENSION start_col, -@@ -110,23 +110,23 @@ struct jpeg_forward_dct { - - /* Entropy encoding */ - struct jpeg_entropy_encoder { -- JTQT_METHOD(void, start_pass, (j_compress_ptr cinfo, boolean gather_statistics)); -- JTQT_METHOD(boolean, encode_mcu, (j_compress_ptr cinfo, JBLOCKROW *MCU_data)); -- JTQT_METHOD(void, finish_pass, (j_compress_ptr cinfo)); -+ JMETHOD(void, start_pass, (j_compress_ptr cinfo, boolean gather_statistics)); -+ JMETHOD(boolean, encode_mcu, (j_compress_ptr cinfo, JBLOCKROW *MCU_data)); -+ JMETHOD(void, finish_pass, (j_compress_ptr cinfo)); - }; - - /* Marker writing */ - struct jpeg_marker_writer { -- JTQT_METHOD(void, write_file_header, (j_compress_ptr cinfo)); -- JTQT_METHOD(void, write_frame_header, (j_compress_ptr cinfo)); -- JTQT_METHOD(void, write_scan_header, (j_compress_ptr cinfo)); -- JTQT_METHOD(void, write_file_trailer, (j_compress_ptr cinfo)); -- JTQT_METHOD(void, write_tables_only, (j_compress_ptr cinfo)); -+ JMETHOD(void, write_file_header, (j_compress_ptr cinfo)); -+ JMETHOD(void, write_frame_header, (j_compress_ptr cinfo)); -+ JMETHOD(void, write_scan_header, (j_compress_ptr cinfo)); -+ JMETHOD(void, write_file_trailer, (j_compress_ptr cinfo)); -+ JMETHOD(void, write_tables_only, (j_compress_ptr cinfo)); - /* These routines are exported to allow insertion of extra markers */ - /* Probably only COM and APPn markers should be written this way */ -- JTQT_METHOD(void, write_marker_header, (j_compress_ptr cinfo, int marker, -+ JMETHOD(void, write_marker_header, (j_compress_ptr cinfo, int marker, - unsigned int datalen)); -- JTQT_METHOD(void, write_marker_byte, (j_compress_ptr cinfo, int val)); -+ JMETHOD(void, write_marker_byte, (j_compress_ptr cinfo, int val)); - }; - - -@@ -134,8 +134,8 @@ struct jpeg_marker_writer { - - /* Master control module */ - struct jpeg_decomp_master { -- JTQT_METHOD(void, prepare_for_output_pass, (j_decompress_ptr cinfo)); -- JTQT_METHOD(void, finish_output_pass, (j_decompress_ptr cinfo)); -+ JMETHOD(void, prepare_for_output_pass, (j_decompress_ptr cinfo)); -+ JMETHOD(void, finish_output_pass, (j_decompress_ptr cinfo)); - - /* State variables made visible to other modules */ - boolean is_dummy_pass; /* True during 1st pass for 2-pass quant */ -@@ -143,10 +143,10 @@ struct jpeg_decomp_master { - - /* Input control module */ - struct jpeg_input_controller { -- JTQT_METHOD(int, consume_input, (j_decompress_ptr cinfo)); -- JTQT_METHOD(void, reset_input_controller, (j_decompress_ptr cinfo)); -- JTQT_METHOD(void, start_input_pass, (j_decompress_ptr cinfo)); -- JTQT_METHOD(void, finish_input_pass, (j_decompress_ptr cinfo)); -+ JMETHOD(int, consume_input, (j_decompress_ptr cinfo)); -+ JMETHOD(void, reset_input_controller, (j_decompress_ptr cinfo)); -+ JMETHOD(void, start_input_pass, (j_decompress_ptr cinfo)); -+ JMETHOD(void, finish_input_pass, (j_decompress_ptr cinfo)); - - /* State variables made visible to other modules */ - boolean has_multiple_scans; /* True if file has multiple scans */ -@@ -155,18 +155,18 @@ struct jpeg_input_controller { - - /* Main buffer control (downsampled-data buffer) */ - struct jpeg_d_main_controller { -- JTQT_METHOD(void, start_pass, (j_decompress_ptr cinfo, J_BUF_MODE pass_mode)); -- JTQT_METHOD(void, process_data, (j_decompress_ptr cinfo, -+ JMETHOD(void, start_pass, (j_decompress_ptr cinfo, J_BUF_MODE pass_mode)); -+ JMETHOD(void, process_data, (j_decompress_ptr cinfo, - JSAMPARRAY output_buf, JDIMENSION *out_row_ctr, - JDIMENSION out_rows_avail)); - }; - - /* Coefficient buffer control */ - struct jpeg_d_coef_controller { -- JTQT_METHOD(void, start_input_pass, (j_decompress_ptr cinfo)); -- JTQT_METHOD(int, consume_data, (j_decompress_ptr cinfo)); -- JTQT_METHOD(void, start_output_pass, (j_decompress_ptr cinfo)); -- JTQT_METHOD(int, decompress_data, (j_decompress_ptr cinfo, -+ JMETHOD(void, start_input_pass, (j_decompress_ptr cinfo)); -+ JMETHOD(int, consume_data, (j_decompress_ptr cinfo)); -+ JMETHOD(void, start_output_pass, (j_decompress_ptr cinfo)); -+ JMETHOD(int, decompress_data, (j_decompress_ptr cinfo, - JSAMPIMAGE output_buf)); - /* Pointer to array of coefficient virtual arrays, or NULL if none */ - jvirt_barray_ptr *coef_arrays; -@@ -174,8 +174,8 @@ struct jpeg_d_coef_controller { - - /* Decompression postprocessing (color quantization buffer control) */ - struct jpeg_d_post_controller { -- JTQT_METHOD(void, start_pass, (j_decompress_ptr cinfo, J_BUF_MODE pass_mode)); -- JTQT_METHOD(void, post_process_data, (j_decompress_ptr cinfo, -+ JMETHOD(void, start_pass, (j_decompress_ptr cinfo, J_BUF_MODE pass_mode)); -+ JMETHOD(void, post_process_data, (j_decompress_ptr cinfo, - JSAMPIMAGE input_buf, - JDIMENSION *in_row_group_ctr, - JDIMENSION in_row_groups_avail, -@@ -186,12 +186,12 @@ struct jpeg_d_post_controller { - - /* Marker reading & parsing */ - struct jpeg_marker_reader { -- JTQT_METHOD(void, reset_marker_reader, (j_decompress_ptr cinfo)); -+ JMETHOD(void, reset_marker_reader, (j_decompress_ptr cinfo)); - /* Read markers until SOS or EOI. - * Returns same codes as are defined for jpeg_consume_input: - * JPEG_SUSPENDED, JPEG_REACHED_SOS, or JPEG_REACHED_EOI. - */ -- JTQT_METHOD(int, read_markers, (j_decompress_ptr cinfo)); -+ JMETHOD(int, read_markers, (j_decompress_ptr cinfo)); - /* Read a restart marker --- exported for use by entropy decoder only */ - jpeg_marker_parser_method read_restart_marker; - -@@ -206,8 +206,8 @@ struct jpeg_marker_reader { - - /* Entropy decoding */ - struct jpeg_entropy_decoder { -- JTQT_METHOD(void, start_pass, (j_decompress_ptr cinfo)); -- JTQT_METHOD(boolean, decode_mcu, (j_decompress_ptr cinfo, -+ JMETHOD(void, start_pass, (j_decompress_ptr cinfo)); -+ JMETHOD(boolean, decode_mcu, (j_decompress_ptr cinfo, - JBLOCKROW *MCU_data)); - - /* This is here to share code between baseline and progressive decoders; */ -@@ -216,21 +216,21 @@ struct jpeg_entropy_decoder { - }; - - /* Inverse DCT (also performs dequantization) */ --typedef JTQT_METHOD(void, inverse_DCT_method_ptr, -+typedef JMETHOD(void, inverse_DCT_method_ptr, - (j_decompress_ptr cinfo, jpeg_component_info * compptr, - JCOEFPTR coef_block, - JSAMPARRAY output_buf, JDIMENSION output_col)); - - struct jpeg_inverse_dct { -- JTQT_METHOD(void, start_pass, (j_decompress_ptr cinfo)); -+ JMETHOD(void, start_pass, (j_decompress_ptr cinfo)); - /* It is useful to allow each component to have a separate IDCT method. */ - inverse_DCT_method_ptr inverse_DCT[MAX_COMPONENTS]; - }; - - /* Upsampling (note that upsampler must also call color converter) */ - struct jpeg_upsampler { -- JTQT_METHOD(void, start_pass, (j_decompress_ptr cinfo)); -- JTQT_METHOD(void, upsample, (j_decompress_ptr cinfo, -+ JMETHOD(void, start_pass, (j_decompress_ptr cinfo)); -+ JMETHOD(void, upsample, (j_decompress_ptr cinfo, - JSAMPIMAGE input_buf, - JDIMENSION *in_row_group_ctr, - JDIMENSION in_row_groups_avail, -@@ -243,20 +243,20 @@ struct jpeg_upsampler { - - /* Colorspace conversion */ - struct jpeg_color_deconverter { -- JTQT_METHOD(void, start_pass, (j_decompress_ptr cinfo)); -- JTQT_METHOD(void, color_convert, (j_decompress_ptr cinfo, -+ JMETHOD(void, start_pass, (j_decompress_ptr cinfo)); -+ JMETHOD(void, color_convert, (j_decompress_ptr cinfo, - JSAMPIMAGE input_buf, JDIMENSION input_row, - JSAMPARRAY output_buf, int num_rows)); - }; - - /* Color quantization or color precision reduction */ - struct jpeg_color_quantizer { -- JTQT_METHOD(void, start_pass, (j_decompress_ptr cinfo, boolean is_pre_scan)); -- JTQT_METHOD(void, color_quantize, (j_decompress_ptr cinfo, -+ JMETHOD(void, start_pass, (j_decompress_ptr cinfo, boolean is_pre_scan)); -+ JMETHOD(void, color_quantize, (j_decompress_ptr cinfo, - JSAMPARRAY input_buf, JSAMPARRAY output_buf, - int num_rows)); -- JTQT_METHOD(void, finish_pass, (j_decompress_ptr cinfo)); -- JTQT_METHOD(void, new_color_map, (j_decompress_ptr cinfo)); -+ JMETHOD(void, finish_pass, (j_decompress_ptr cinfo)); -+ JMETHOD(void, new_color_map, (j_decompress_ptr cinfo)); - }; - - diff --git a/redhat/applications/digikam/digikam-3.5.13-fix_ftbfs_png_015.patch b/redhat/applications/digikam/digikam-3.5.13-fix_ftbfs_png_015.patch deleted file mode 100644 index 0522ec982..000000000 --- a/redhat/applications/digikam/digikam-3.5.13-fix_ftbfs_png_015.patch +++ /dev/null @@ -1,30 +0,0 @@ -commit 18ecd51264727c75ab3e17a762d8f95361023f0a -Author: Timothy Pearson -Date: 1340749881 -0500 - - Fix FTBFS on png >= 0.15 - -diff --git a/digikam/kioslave/digikamthumbnail.cpp b/digikam/kioslave/digikamthumbnail.cpp -index 6dba518..97acf12 100644 ---- a/digikam/kioslave/digikamthumbnail.cpp -+++ b/digikam/kioslave/digikamthumbnail.cpp -@@ -413,16 +413,16 @@ TQImage kio_digikamthumbnailProtocol::loadPNG(const TQString& path) - if (color_type == PNG_COLOR_TYPE_PALETTE) - png_set_expand(png_ptr); - -- if (info_ptr->color_type == PNG_COLOR_TYPE_RGB_ALPHA) -+ if (color_type == PNG_COLOR_TYPE_RGB_ALPHA) - has_alpha = 1; - -- if (info_ptr->color_type == PNG_COLOR_TYPE_GRAY_ALPHA) -+ if (color_type == PNG_COLOR_TYPE_GRAY_ALPHA) - { - has_alpha = 1; - has_grey = 1; - } - -- if (info_ptr->color_type == PNG_COLOR_TYPE_GRAY) -+ if (color_type == PNG_COLOR_TYPE_GRAY) - has_grey = 1; - - unsigned char **lines; diff --git a/redhat/applications/digikam/digikam-3.5.13-fix_ftbfs_png_code.patch b/redhat/applications/digikam/digikam-3.5.13-fix_ftbfs_png_code.patch deleted file mode 100644 index c384ff2fc..000000000 --- a/redhat/applications/digikam/digikam-3.5.13-fix_ftbfs_png_code.patch +++ /dev/null @@ -1,64 +0,0 @@ -commit 3e27b07ff572b00aa5f013f039c3f63593016816 -Author: Timothy Pearson -Date: 1326324999 -0600 - - Fix FTBFS due to png code - This closes Bug 595 - -diff --git a/digikam/kioslave/digikamthumbnail.cpp b/digikam/kioslave/digikamthumbnail.cpp -index 33ba573..96cba8e 100644 ---- a/digikam/kioslave/digikamthumbnail.cpp -+++ b/digikam/kioslave/digikamthumbnail.cpp -@@ -370,7 +370,7 @@ TQImage kio_digikamthumbnailProtocol::loadPNG(const TQString& path) - unsigned char buf[PNG_BYTES_TO_CHECK]; - - fread(buf, 1, PNG_BYTES_TO_CHECK, f); -- if (!png_check_sig(buf, PNG_BYTES_TO_CHECK)) -+ if (png_sig_cmp(buf, 0, PNG_BYTES_TO_CHECK)) - { - fclose(f); - return qimage; -@@ -465,7 +465,7 @@ TQImage kio_digikamthumbnailProtocol::loadPNG(const TQString& path) - { - png_set_gray_to_rgb(png_ptr); - if (png_get_bit_depth(png_ptr, info_ptr) < 8) -- png_set_gray_1_2_4_to_8(png_ptr); -+ png_set_expand_gray_1_2_4_to_8(png_ptr); - } - - int sizeOfUint = sizeof(unsigned int); -diff --git a/digikam/libs/dimg/loaders/pngloader.cpp b/digikam/libs/dimg/loaders/pngloader.cpp -index ac1fcf8..3367561 100644 ---- a/digikam/libs/dimg/loaders/pngloader.cpp -+++ b/digikam/libs/dimg/loaders/pngloader.cpp -@@ -88,7 +88,7 @@ bool PNGLoader::load(const TQString& filePath, DImgLoaderObserver *observer) - unsigned char buf[PNG_BYTES_TO_CHECK]; - - fread(buf, 1, PNG_BYTES_TO_CHECK, f); -- if (!png_check_sig(buf, PNG_BYTES_TO_CHECK)) -+ if (png_sig_cmp(buf, 0, PNG_BYTES_TO_CHECK)) - { - DDebug() << k_funcinfo << "Not a PNG image file." << endl; - fclose(f); -@@ -252,7 +252,7 @@ bool PNGLoader::load(const TQString& filePath, DImgLoaderObserver *observer) - #ifdef ENABLE_DEBUG_MESSAGES - DDebug() << "PNG in PNG_COLOR_TYPE_GRAY" << endl; - #endif -- png_set_gray_1_2_4_to_8(png_ptr); -+ png_set_expand_gray_1_2_4_to_8(png_ptr); - png_set_gray_to_rgb(png_ptr); - - if (TQImage::systemByteOrder() == TQImage::LittleEndian) // Intel -diff --git a/digikam/libs/greycstoration/CImg.h b/digikam/libs/greycstoration/CImg.h -index e240f99..714920e 100644 ---- a/digikam/libs/greycstoration/CImg.h -+++ b/digikam/libs/greycstoration/CImg.h -@@ -29449,7 +29449,7 @@ namespace cimg_library { - new_bit_depth = 8; - } - if (new_color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8){ -- png_set_gray_1_2_4_to_8(png_ptr); -+ png_set_expand_gray_1_2_4_to_8(png_ptr); - new_bit_depth = 8; - } - if (png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS)) diff --git a/redhat/applications/digikam/digikam-3.5.13-fix_obsolete_libpng_jmpbuf.patch b/redhat/applications/digikam/digikam-3.5.13-fix_obsolete_libpng_jmpbuf.patch deleted file mode 100644 index fa9f2a6d6..000000000 --- a/redhat/applications/digikam/digikam-3.5.13-fix_obsolete_libpng_jmpbuf.patch +++ /dev/null @@ -1,41 +0,0 @@ -commit 7d0d82b7d93af5822d4c84c4ebd4ad82b9e463d0 -Author: Timothy Pearson -Date: 1334801652 -0500 - - Fix usage of obsolete libpng jmpbuf member - -diff --git a/digikam/kioslave/digikamthumbnail.cpp b/digikam/kioslave/digikamthumbnail.cpp -index 96cba8e..6dba518 100644 ---- a/digikam/kioslave/digikamthumbnail.cpp -+++ b/digikam/kioslave/digikamthumbnail.cpp -@@ -392,7 +392,7 @@ TQImage kio_digikamthumbnailProtocol::loadPNG(const TQString& path) - return qimage; - } - -- if (setjmp(png_ptr->jmpbuf)) -+ if (setjmp(png_jmpbuf(png_ptr))) - { - png_destroy_read_struct(&png_ptr, &info_ptr, NULL); - fclose(f); -diff --git a/digikam/libs/dimg/loaders/pngloader.cpp b/digikam/libs/dimg/loaders/pngloader.cpp -index 3367561..fd5d771 100644 ---- a/digikam/libs/dimg/loaders/pngloader.cpp -+++ b/digikam/libs/dimg/loaders/pngloader.cpp -@@ -120,7 +120,7 @@ bool PNGLoader::load(const TQString& filePath, DImgLoaderObserver *observer) - // PNG error handling. If an error occurs during reading, libpng - // will jump here - -- if (setjmp(png_ptr->jmpbuf)) -+ if (setjmp(png_jmpbuf(png_ptr))) - { - DDebug() << k_funcinfo << "Internal libPNG error during reading file. Process aborted!" << endl; - png_destroy_read_struct(&png_ptr, &info_ptr, NULL); -@@ -526,7 +526,7 @@ bool PNGLoader::save(const TQString& filePath, DImgLoaderObserver *observer) - // PNG error handling. If an error occurs during writing, libpng - // will jump here - -- if (setjmp(png_ptr->jmpbuf)) -+ if (setjmp(png_jmpbuf(png_ptr))) - { - DDebug() << k_funcinfo << "Internal libPNG error during writing file. Process aborted!" << endl; - fclose(f); diff --git a/redhat/applications/digikam/digikam-3.5.13-fix_reinterpret_cast.patch b/redhat/applications/digikam/digikam-3.5.13-fix_reinterpret_cast.patch deleted file mode 100644 index aa7e6f2b9..000000000 --- a/redhat/applications/digikam/digikam-3.5.13-fix_reinterpret_cast.patch +++ /dev/null @@ -1,20 +0,0 @@ -commit 5a0438539cbe7a99e9b6d0ed21d7b73342b4a6f6 -Author: Darrell Anderson -Date: 1336340005 -0500 - - Update patch in GIT hash a9489034 to use reinterpret_cast. - Thanks to /dev/ammo42. - -diff --git a/digikam/libs/dimg/loaders/pngloader.cpp b/digikam/libs/dimg/loaders/pngloader.cpp -index fa6dad9..6862b6e 100644 ---- a/digikam/libs/dimg/loaders/pngloader.cpp -+++ b/digikam/libs/dimg/loaders/pngloader.cpp -@@ -611,7 +611,7 @@ bool PNGLoader::save(const TQString& filePath, DImgLoaderObserver *observer) - if (!profile_rawdata.isEmpty()) - { - #if PNG_LIBPNG_VER_MAJOR > 1 || ( PNG_LIBPNG_VER_MAJOR == 1 && PNG_LIBPNG_VER_MINOR >= 5 ) -- png_set_iCCP(png_ptr, info_ptr, (png_charp)("icc"), PNG_COMPRESSION_TYPE_BASE, (iCCP_data)profile_rawdata.data(), profile_rawdata.size()); -+ png_set_iCCP(png_ptr, info_ptr, (png_charp)("icc"), PNG_COMPRESSION_TYPE_BASE, reinterpret_cast(profile_rawdata.data()), profile_rawdata.size()); - #else - png_set_iCCP(png_ptr, info_ptr, (png_charp)"icc", PNG_COMPRESSION_TYPE_BASE, profile_rawdata.data(), profile_rawdata.size()); - #endif diff --git a/redhat/applications/digikam/digikam-3.5.13-gcc_47_fix.patch b/redhat/applications/digikam/digikam-3.5.13-gcc_47_fix.patch deleted file mode 100644 index 69dcadda7..000000000 --- a/redhat/applications/digikam/digikam-3.5.13-gcc_47_fix.patch +++ /dev/null @@ -1,50 +0,0 @@ -commit a94890345ef2caae35a72ed3a398b2984349bb2f -Author: Darrell Anderson -Date: 1335586728 -0500 - - GCC 4.7 fix. - This partially resolves bug report 958. - Thanks to David C. Rankin. - -diff --git a/digikam/libs/dimg/loaders/pngloader.cpp b/digikam/libs/dimg/loaders/pngloader.cpp -index fd5d771..fa6dad9 100644 ---- a/digikam/libs/dimg/loaders/pngloader.cpp -+++ b/digikam/libs/dimg/loaders/pngloader.cpp -@@ -57,6 +57,12 @@ extern "C" - namespace Digikam - { - -+#if PNG_LIBPNG_VER_MAJOR > 1 || ( PNG_LIBPNG_VER_MAJOR == 1 && PNG_LIBPNG_VER_MINOR >= 5 ) -+ typedef png_bytep iCCP_data; -+#else -+ typedef png_charp iCCP_data; -+#endif -+ - PNGLoader::PNGLoader(DImg* image) - : DImgLoader(image) - { -@@ -403,7 +409,12 @@ bool PNGLoader::load(const TQString& filePath, DImgLoaderObserver *observer) - - TQMap& metaData = imageMetaData(); - -+#if PNG_LIBPNG_VER_MAJOR > 1 || ( PNG_LIBPNG_VER_MAJOR == 1 && PNG_LIBPNG_VER_MINOR >= 5 ) -+ png_charp profile_name; -+ iCCP_data profile_data=NULL; -+#else - png_charp profile_name, profile_data=NULL; -+#endif - png_uint_32 profile_size; - int compression_type; - -@@ -599,7 +610,11 @@ bool PNGLoader::save(const TQString& filePath, DImgLoaderObserver *observer) - - if (!profile_rawdata.isEmpty()) - { -+#if PNG_LIBPNG_VER_MAJOR > 1 || ( PNG_LIBPNG_VER_MAJOR == 1 && PNG_LIBPNG_VER_MINOR >= 5 ) -+ png_set_iCCP(png_ptr, info_ptr, (png_charp)("icc"), PNG_COMPRESSION_TYPE_BASE, (iCCP_data)profile_rawdata.data(), profile_rawdata.size()); -+#else - png_set_iCCP(png_ptr, info_ptr, (png_charp)"icc", PNG_COMPRESSION_TYPE_BASE, profile_rawdata.data(), profile_rawdata.size()); -+#endif - } - - // ------------------------------------------------------------------- diff --git a/redhat/applications/digikam/digikam-3.5.13-gcc_47_fix2.patch b/redhat/applications/digikam/digikam-3.5.13-gcc_47_fix2.patch deleted file mode 100644 index db5e90c6d..000000000 --- a/redhat/applications/digikam/digikam-3.5.13-gcc_47_fix2.patch +++ /dev/null @@ -1,33 +0,0 @@ -commit a209c81b78b8af98c53748bc1eb9020ef6b2605e -Author: Darrell Anderson -Date: 1335586778 -0500 - - GCC 4.7 fix. - This partially resolves bug report 958. - Thanks to David C. Rankin. - -diff --git a/digikam/digikam/albummanager.cpp b/digikam/digikam/albummanager.cpp -index d6b9f74..07f43bb 100644 ---- a/digikam/digikam/albummanager.cpp -+++ b/digikam/digikam/albummanager.cpp -@@ -1579,16 +1579,16 @@ void AlbumManager::slotDatesJobData(KIO::Job*, const TQByteArray& data) - - // Check if Year Album already exist. - DAlbum *yAlbum = 0; -- AlbumIterator it(d->rootDAlbum); -- while (it.current()) -+ AlbumIterator it2(d->rootDAlbum); -+ while (it2.current()) - { -- DAlbum* a = (DAlbum*)(*it); -+ DAlbum* a = (DAlbum*)(*it2); - if (a->date() == TQDate(year, 1, 1) && a->range() == DAlbum::Year) - { - yAlbum = a; - break; - } -- ++it; -+ ++it2; - } - - // If no, create Year album. diff --git a/redhat/applications/digikam/digikam-3.5.13-missing_ldflags.patch b/redhat/applications/digikam/digikam-3.5.13-missing_ldflags.patch deleted file mode 100644 index a51f7256c..000000000 --- a/redhat/applications/digikam/digikam-3.5.13-missing_ldflags.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- digikam/digikam/digikam/Makefile.am.ORI 2012-08-03 19:41:42.791088483 +0200 -+++ digikam/digikam/digikam/Makefile.am 2012-08-03 19:41:56.661794764 +0200 -@@ -111,6 +111,8 @@ - # if shared libsqlite3 is used LIB_SQLITE3_LOCAL is null. - libdigikam_la_LIBADD = $(LIB_SQLITE3) \ - $(LIB_SQLITE3_LOCAL) \ -+ $(LIB_QT) \ -+ $(LIB_KPARTS) \ - $(LIB_KIO) \ - $(LIB_KABC) \ - $(LIB_KHTML) \ diff --git a/redhat/applications/digikam/digikam-3.5.13-remove_version_h.patch b/redhat/applications/digikam/digikam-3.5.13-remove_version_h.patch deleted file mode 100644 index 3de45eead..000000000 --- a/redhat/applications/digikam/digikam-3.5.13-remove_version_h.patch +++ /dev/null @@ -1,43 +0,0 @@ -commit 0f64ac7c10fb4053f578ef950e55510818d6d440 -Author: Darrell Anderson -Date: 1334285499 -0500 - - Remove version.h. Cruft from an older version prior to 0.9.6. - Part of an extensive cleanup of various problems with kipi-plugins, digikam, - and gwenview to resolve bug reports 241, 962, 963. - -diff --git a/digikam/digikam/version.h b/digikam/digikam/version.h -deleted file mode 100644 -index d9baae1..0000000 ---- a/digikam/digikam/version.h -+++ /dev/null -@@ -1,29 +0,0 @@ --/* ============================================================ -- * -- * This file is a part of digiKam project -- * http://www.digikam.org -- * -- * Date : 2004-09-09 -- * Description : digiKam release ID header. -- * -- * Copyright (C) 2004-2008 by Gilles Caulier -- * -- * This program is free software; you can redistribute it -- * and/or modify it under the terms of the GNU General -- * Public License as published by the Free Software Foundation; -- * either version 2, or (at your option) -- * any later version. -- * -- * This program is distributed in the hope that it will be useful, -- * but WITHOUT ANY WARRANTY; without even the implied warranty of -- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- * GNU General Public License for more details. -- * -- * ============================================================ */ -- --#ifndef DIGIKAM_VERSION_H --#define DIGIKAM_VERSION_H -- --static const char digikam_version[] = "0.9.4"; -- --#endif // DIGIKAM_VERSION_H diff --git a/redhat/applications/digikam/digikam-3.5.13.1.spec b/redhat/applications/digikam/digikam-3.5.13.1.spec deleted file mode 100644 index 9901bd7ab..000000000 --- a/redhat/applications/digikam/digikam-3.5.13.1.spec +++ /dev/null @@ -1,341 +0,0 @@ -# Default version for this component -%define kdecomp digikam - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: digital photo management application for KDE [Trinity] -Version: 0.9.6 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -# [digikam] Fix FTBFS on png >= 0.15 [Commit #18ecd512] -Patch9: digikam-3.5.13-fix_ftbfs_png_015.patch - - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-arts-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: trinity-libkexiv2-devel >= 3.5.13.1 -BuildRequires: trinity-libkdcraw-devel >= 3.5.13.1 -BuildRequires: trinity-libkipi-devel >= 3.5.13.1 -%if 0%{?rhel} == 5 || 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: gphoto2-devel -%else -BuildRequires: libgphoto2-devel -%endif -BuildRequires: libtiff-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - -# JASPER support -%if 0%{?suse_version} -BuildRequires: libjasper-devel -%else -BuildRequires: jasper-devel -%endif - -# EXIV2 support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}exiv2-devel -%endif -%if 0%{?suse_version} -BuildRequires: libexiv2-devel -%endif -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: exiv2-devel -%endif - -Requires: trinity-libkexiv2 >= 3.5.13.1 -Requires: trinity-libkdcraw >= 3.5.13.1 -Requires: trinity-libkipi >= 3.5.13.1 - -%description -An easy to use and powerful digital photo management -application, which makes importing, organizing and manipulating -digital photos a "snap". An interface is provided to connect to -your digital camera, preview the images and download and/or -delete them. - -The digiKam built-in image editor makes the common photo correction -a simple task. The image editor is extensible via plugins and, -the digikamimageplugins project has been merged to digiKam core -since release 0.9.2, all useful image editor plugins are available -in the base installation. - -digiKam can also make use of the KIPI image handling plugins to -extend its capabilities even further for photo manipulations, -import and export, etc. The kipi-plugins package contains many -very useful extentions. - -digiKam is based in part on the work of the Independent JPEG Group. - - -%package devel -Group: Development/Libraries -Summary: Development files for %{name} -Requires: %{name} = %{version} - -%description devel -%{summary} - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 -%patch9 -p1 -b .png015 - - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; source /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_tdeincludedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_tdeincludedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%find_lang %{kdecomp} - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -/sbin/ldconfig -update-desktop-database %{tde_appdir} 2> /dev/null || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -/sbin/ldconfig -update-desktop-database %{tde_appdir} 2> /dev/null || : - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/digikam -%{tde_bindir}/digikamthemedesigner -%{tde_bindir}/digitaglinktree -%{tde_bindir}/showfoto -%{tde_libdir}/libdigikam.so.0 -%{tde_libdir}/libdigikam.so.0.0.0 -%{tde_tdelibdir}/kio_digikamalbums.la -%{tde_tdelibdir}/kio_digikamalbums.so -%{tde_tdelibdir}/kio_digikamdates.la -%{tde_tdelibdir}/kio_digikamdates.so -%{tde_tdelibdir}/digikamimageplugin_adjustcurves.la -%{tde_tdelibdir}/digikamimageplugin_adjustcurves.so -%{tde_tdelibdir}/digikamimageplugin_adjustlevels.la -%{tde_tdelibdir}/digikamimageplugin_adjustlevels.so -%{tde_tdelibdir}/digikamimageplugin_antivignetting.la -%{tde_tdelibdir}/digikamimageplugin_antivignetting.so -%{tde_tdelibdir}/digikamimageplugin_blurfx.la -%{tde_tdelibdir}/digikamimageplugin_blurfx.so -%{tde_tdelibdir}/digikamimageplugin_border.la -%{tde_tdelibdir}/digikamimageplugin_border.so -%{tde_tdelibdir}/digikamimageplugin_channelmixer.la -%{tde_tdelibdir}/digikamimageplugin_channelmixer.so -%{tde_tdelibdir}/digikamimageplugin_charcoal.la -%{tde_tdelibdir}/digikamimageplugin_charcoal.so -%{tde_tdelibdir}/digikamimageplugin_colorfx.la -%{tde_tdelibdir}/digikamimageplugin_colorfx.so -%{tde_tdelibdir}/digikamimageplugin_core.la -%{tde_tdelibdir}/digikamimageplugin_core.so -%{tde_tdelibdir}/digikamimageplugin_distortionfx.la -%{tde_tdelibdir}/digikamimageplugin_distortionfx.so -%{tde_tdelibdir}/digikamimageplugin_emboss.la -%{tde_tdelibdir}/digikamimageplugin_emboss.so -%{tde_tdelibdir}/digikamimageplugin_filmgrain.la -%{tde_tdelibdir}/digikamimageplugin_filmgrain.so -%{tde_tdelibdir}/digikamimageplugin_freerotation.la -%{tde_tdelibdir}/digikamimageplugin_freerotation.so -%{tde_tdelibdir}/digikamimageplugin_hotpixels.la -%{tde_tdelibdir}/digikamimageplugin_hotpixels.so -%{tde_tdelibdir}/digikamimageplugin_infrared.la -%{tde_tdelibdir}/digikamimageplugin_infrared.so -%{tde_tdelibdir}/digikamimageplugin_inpainting.la -%{tde_tdelibdir}/digikamimageplugin_inpainting.so -%{tde_tdelibdir}/digikamimageplugin_inserttext.la -%{tde_tdelibdir}/digikamimageplugin_inserttext.so -%{tde_tdelibdir}/digikamimageplugin_lensdistortion.la -%{tde_tdelibdir}/digikamimageplugin_lensdistortion.so -%{tde_tdelibdir}/digikamimageplugin_noisereduction.la -%{tde_tdelibdir}/digikamimageplugin_noisereduction.so -%{tde_tdelibdir}/digikamimageplugin_oilpaint.la -%{tde_tdelibdir}/digikamimageplugin_oilpaint.so -%{tde_tdelibdir}/digikamimageplugin_perspective.la -%{tde_tdelibdir}/digikamimageplugin_perspective.so -%{tde_tdelibdir}/digikamimageplugin_raindrop.la -%{tde_tdelibdir}/digikamimageplugin_raindrop.so -%{tde_tdelibdir}/digikamimageplugin_restoration.la -%{tde_tdelibdir}/digikamimageplugin_restoration.so -%{tde_tdelibdir}/digikamimageplugin_sheartool.la -%{tde_tdelibdir}/digikamimageplugin_sheartool.so -%{tde_tdelibdir}/digikamimageplugin_superimpose.la -%{tde_tdelibdir}/digikamimageplugin_superimpose.so -%{tde_tdelibdir}/digikamimageplugin_texture.la -%{tde_tdelibdir}/digikamimageplugin_texture.so -%{tde_tdelibdir}/digikamimageplugin_whitebalance.la -%{tde_tdelibdir}/digikamimageplugin_whitebalance.so -%{tde_tdelibdir}/kio_digikamsearch.la -%{tde_tdelibdir}/kio_digikamsearch.so -%{tde_tdelibdir}/kio_digikamtags.la -%{tde_tdelibdir}/kio_digikamtags.so -%{tde_tdelibdir}/kio_digikamthumbnail.la -%{tde_tdelibdir}/kio_digikamthumbnail.so -%{tde_tdeappdir}/digikam.desktop -%{tde_tdeappdir}/showfoto.desktop -%{tde_datadir}/apps/digikam/ -%{tde_datadir}/apps/konqueror/servicemenus/digikam-download.desktop -%{tde_datadir}/apps/konqueror/servicemenus/digikam-gphoto2-camera.desktop -%{tde_datadir}/apps/konqueror/servicemenus/digikam-mount-and-download.desktop -%{tde_datadir}/apps/showfoto/ -%{tde_datadir}/icons/hicolor/*/apps/digikam.png -%{tde_datadir}/icons/hicolor/*/apps/showfoto.png -%{tde_datadir}/services/digikamalbums.protocol -%{tde_datadir}/services/digikamdates.protocol -%{tde_datadir}/services/digikamimageplugin_adjustcurves.desktop -%{tde_datadir}/services/digikamimageplugin_adjustlevels.desktop -%{tde_datadir}/services/digikamimageplugin_antivignetting.desktop -%{tde_datadir}/services/digikamimageplugin_blurfx.desktop -%{tde_datadir}/services/digikamimageplugin_border.desktop -%{tde_datadir}/services/digikamimageplugin_channelmixer.desktop -%{tde_datadir}/services/digikamimageplugin_charcoal.desktop -%{tde_datadir}/services/digikamimageplugin_colorfx.desktop -%{tde_datadir}/services/digikamimageplugin_core.desktop -%{tde_datadir}/services/digikamimageplugin_distortionfx.desktop -%{tde_datadir}/services/digikamimageplugin_emboss.desktop -%{tde_datadir}/services/digikamimageplugin_filmgrain.desktop -%{tde_datadir}/services/digikamimageplugin_freerotation.desktop -%{tde_datadir}/services/digikamimageplugin_hotpixels.desktop -%{tde_datadir}/services/digikamimageplugin_infrared.desktop -%{tde_datadir}/services/digikamimageplugin_inpainting.desktop -%{tde_datadir}/services/digikamimageplugin_inserttext.desktop -%{tde_datadir}/services/digikamimageplugin_lensdistortion.desktop -%{tde_datadir}/services/digikamimageplugin_noisereduction.desktop -%{tde_datadir}/services/digikamimageplugin_oilpaint.desktop -%{tde_datadir}/services/digikamimageplugin_perspective.desktop -%{tde_datadir}/services/digikamimageplugin_raindrop.desktop -%{tde_datadir}/services/digikamimageplugin_restoration.desktop -%{tde_datadir}/services/digikamimageplugin_sheartool.desktop -%{tde_datadir}/services/digikamimageplugin_superimpose.desktop -%{tde_datadir}/services/digikamimageplugin_texture.desktop -%{tde_datadir}/services/digikamimageplugin_whitebalance.desktop -%{tde_datadir}/services/digikamsearch.protocol -%{tde_datadir}/services/digikamtags.protocol -%{tde_datadir}/services/digikamthumbnail.protocol -%{tde_datadir}/servicetypes/digikamimageplugin.desktop -%{tde_mandir}/man*/* -#%{tde_tdedocdir}/HTML/en/digikam-apidocs/ - - -%files devel -%{tde_tdeincludedir}/digikam_export.h -%{tde_tdeincludedir}/digikam/ -%{tde_libdir}/libdigikam.so -%{tde_libdir}/libdigikam.la - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.9.6-4 -- Initial release for TDE 3.5.13.1 - -* Fri Aug 03 2012 Francois Andriot - 0.9.6-3 -- Add support for Mageia 2 and Mandriva 2011 -- Removes old patches, adds GIT patches. -- Fix digikam FTBFS due to jpeg code [Commit #b9419cd5] -- Fix FTBFS due to png code [Bug #595] [Commit #3e27b07f] -- Remove version.h. Cruft from an older version prior to 0.9.6. -- Fix usage of obsolete libpng jmpbuf member [Commit #7d0d82b7] -- GCC 4.7 fix. [Bug #958] [Commit #a9489034] -- GCC 4.7 fix. [Bug #958] [Commit #a209c81b] -- Fix 'format not a string literal' error [Commit #029218cd] -- Update patch in GIT hash a9489034 to use reinterpret_cast. [Commit #5a043853] -- Fix FTBFS on png >= 0.15 [Commit #18ecd512] - -* Sun Jul 08 2012 Francois Andriot - 0.9.6-3 -- Fix man directory location -- Fix postinstall -- Fix description -- Add "BuildRequires: exiv2-devel" - -* Tue May 01 2012 Francois Andriot - 0.9.6-2 -- gcc 4.7 + libpng 1.5 patch for digikam (consolidated) [Bug #958] - -* Sun Nov 06 2011 Francois Andriot - 0.9.6-1 -- Initial release for RHEL 6, RHEL 5 and Fedora 15 - diff --git a/redhat/applications/digikam/digikam-3.5.13.2-fix_png12_support.patch b/redhat/applications/digikam/digikam-3.5.13.2-fix_png12_support.patch deleted file mode 100644 index 8a5262dda..000000000 --- a/redhat/applications/digikam/digikam-3.5.13.2-fix_png12_support.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- trinity-digikam-3.5.13.2/digikam/libs/dimg/loaders/pngloader.cpp.ORI 2013-03-10 21:44:37.468543760 +0100 -+++ trinity-digikam-3.5.13.2/digikam/libs/dimg/loaders/pngloader.cpp 2013-03-10 21:45:23.246560198 +0100 -@@ -258,7 +258,7 @@ - #ifdef ENABLE_DEBUG_MESSAGES - DDebug() << "PNG in PNG_COLOR_TYPE_GRAY" << endl; - #endif -- png_set_expand_gray_1_2_4_to_8(png_ptr); -+ png_set_gray_1_2_4_to_8(png_ptr); - png_set_gray_to_rgb(png_ptr); - - if (TQImage::systemByteOrder() == TQImage::LittleEndian) // Intel ---- trinity-digikam-3.5.13.2/digikam/kioslave/digikamthumbnail.cpp.ORI 2013-03-10 21:50:56.994910746 +0100 -+++ trinity-digikam-3.5.13.2/digikam/kioslave/digikamthumbnail.cpp 2013-03-10 21:51:09.150668622 +0100 -@@ -465,7 +465,7 @@ - { - png_set_gray_to_rgb(png_ptr); - if (png_get_bit_depth(png_ptr, info_ptr) < 8) -- png_set_expand_gray_1_2_4_to_8(png_ptr); -+ png_set_gray_1_2_4_to_8(png_ptr); - } - - int sizeOfUint = sizeof(unsigned int); diff --git a/redhat/applications/digikam/digikam-3.5.13.2.spec b/redhat/applications/digikam/digikam-3.5.13.2.spec deleted file mode 100644 index 46bb635af..000000000 --- a/redhat/applications/digikam/digikam-3.5.13.2.spec +++ /dev/null @@ -1,311 +0,0 @@ -# Default version for this component -%define tde_pkg digikam -%define tde_version 3.5.13.2 - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tde_pkg} -Summary: digital photo management application for TDE [Trinity] -Version: 0.9.6 -Release: %{?!preversion:7}%{?preversion:6_%{preversion}}%{?dist} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -# [Digikam] Revert PNG support to libpng12 (for RHEL4) -Patch1: digikam-3.5.13.2-fix_png12_support.patch - -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-arts-devel >= 1:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: trinity-libkexiv2-devel -BuildRequires: trinity-libkdcraw-devel -BuildRequires: trinity-libkipi-devel - -BuildRequires: libtiff-devel -BuildRequires: gettext - -# GPHOTO2 support -%if 0%{?rhel} == 4 || 0%{?rhel} == 5 || 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: gphoto2-devel -%else -BuildRequires: libgphoto2-devel -%endif - -# JASPER support -%if 0%{?suse_version} -BuildRequires: libjasper-devel -%else -BuildRequires: jasper-devel -%endif - -# EXIV2 support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}exiv2-devel -%endif -%if 0%{?suse_version} -BuildRequires: libexiv2-devel -%endif -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: exiv2-devel -%endif - -Requires: trinity-libkexiv2 -Requires: trinity-libkdcraw -Requires: trinity-libkipi - -%description -An easy to use and powerful digital photo management -application, which makes importing, organizing and manipulating -digital photos a "snap". An interface is provided to connect to -your digital camera, preview the images and download and/or -delete them. - -The digiKam built-in image editor makes the common photo correction -a simple task. The image editor is extensible via plugins and, -the digikamimageplugins project has been merged to digiKam core -since release 0.9.2, all useful image editor plugins are available -in the base installation. - -digiKam can also make use of the KIPI image handling plugins to -extend its capabilities even further for photo manipulations, -import and export, etc. The kipi-plugins package contains many -very useful extentions. - -digiKam is based in part on the work of the Independent JPEG Group. - - -%package devel -Group: Development/Libraries -Summary: Development files for %{name} -Requires: %{name} = %{version}-%{release} - -%description devel -%{summary} - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} -%if 0%{?rhel} == 4 -%patch1 -p1 -b .png12 -%endif - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; source /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export KDEDIR="%{tde_prefix}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --enable-final \ - --enable-closure \ - --enable-rpath - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%find_lang %{tde_pkg} - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -/sbin/ldconfig -update-desktop-database %{tde_appdir} 2> /dev/null || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -/sbin/ldconfig -update-desktop-database %{tde_appdir} 2> /dev/null || : - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/digikam -%{tde_bindir}/digikamthemedesigner -%{tde_bindir}/digitaglinktree -%{tde_bindir}/showfoto -%{tde_libdir}/libdigikam.so.0 -%{tde_libdir}/libdigikam.so.0.0.0 -%{tde_tdelibdir}/kio_digikamalbums.la -%{tde_tdelibdir}/kio_digikamalbums.so -%{tde_tdelibdir}/kio_digikamdates.la -%{tde_tdelibdir}/kio_digikamdates.so -%{tde_tdelibdir}/digikamimageplugin_adjustcurves.la -%{tde_tdelibdir}/digikamimageplugin_adjustcurves.so -%{tde_tdelibdir}/digikamimageplugin_adjustlevels.la -%{tde_tdelibdir}/digikamimageplugin_adjustlevels.so -%{tde_tdelibdir}/digikamimageplugin_antivignetting.la -%{tde_tdelibdir}/digikamimageplugin_antivignetting.so -%{tde_tdelibdir}/digikamimageplugin_blurfx.la -%{tde_tdelibdir}/digikamimageplugin_blurfx.so -%{tde_tdelibdir}/digikamimageplugin_border.la -%{tde_tdelibdir}/digikamimageplugin_border.so -%{tde_tdelibdir}/digikamimageplugin_channelmixer.la -%{tde_tdelibdir}/digikamimageplugin_channelmixer.so -%{tde_tdelibdir}/digikamimageplugin_charcoal.la -%{tde_tdelibdir}/digikamimageplugin_charcoal.so -%{tde_tdelibdir}/digikamimageplugin_colorfx.la -%{tde_tdelibdir}/digikamimageplugin_colorfx.so -%{tde_tdelibdir}/digikamimageplugin_core.la -%{tde_tdelibdir}/digikamimageplugin_core.so -%{tde_tdelibdir}/digikamimageplugin_distortionfx.la -%{tde_tdelibdir}/digikamimageplugin_distortionfx.so -%{tde_tdelibdir}/digikamimageplugin_emboss.la -%{tde_tdelibdir}/digikamimageplugin_emboss.so -%{tde_tdelibdir}/digikamimageplugin_filmgrain.la -%{tde_tdelibdir}/digikamimageplugin_filmgrain.so -%{tde_tdelibdir}/digikamimageplugin_freerotation.la -%{tde_tdelibdir}/digikamimageplugin_freerotation.so -%{tde_tdelibdir}/digikamimageplugin_hotpixels.la -%{tde_tdelibdir}/digikamimageplugin_hotpixels.so -%{tde_tdelibdir}/digikamimageplugin_infrared.la -%{tde_tdelibdir}/digikamimageplugin_infrared.so -%{tde_tdelibdir}/digikamimageplugin_inpainting.la -%{tde_tdelibdir}/digikamimageplugin_inpainting.so -%{tde_tdelibdir}/digikamimageplugin_inserttext.la -%{tde_tdelibdir}/digikamimageplugin_inserttext.so -%{tde_tdelibdir}/digikamimageplugin_lensdistortion.la -%{tde_tdelibdir}/digikamimageplugin_lensdistortion.so -%{tde_tdelibdir}/digikamimageplugin_noisereduction.la -%{tde_tdelibdir}/digikamimageplugin_noisereduction.so -%{tde_tdelibdir}/digikamimageplugin_oilpaint.la -%{tde_tdelibdir}/digikamimageplugin_oilpaint.so -%{tde_tdelibdir}/digikamimageplugin_perspective.la -%{tde_tdelibdir}/digikamimageplugin_perspective.so -%{tde_tdelibdir}/digikamimageplugin_raindrop.la -%{tde_tdelibdir}/digikamimageplugin_raindrop.so -%{tde_tdelibdir}/digikamimageplugin_restoration.la -%{tde_tdelibdir}/digikamimageplugin_restoration.so -%{tde_tdelibdir}/digikamimageplugin_sheartool.la -%{tde_tdelibdir}/digikamimageplugin_sheartool.so -%{tde_tdelibdir}/digikamimageplugin_superimpose.la -%{tde_tdelibdir}/digikamimageplugin_superimpose.so -%{tde_tdelibdir}/digikamimageplugin_texture.la -%{tde_tdelibdir}/digikamimageplugin_texture.so -%{tde_tdelibdir}/digikamimageplugin_whitebalance.la -%{tde_tdelibdir}/digikamimageplugin_whitebalance.so -%{tde_tdelibdir}/kio_digikamsearch.la -%{tde_tdelibdir}/kio_digikamsearch.so -%{tde_tdelibdir}/kio_digikamtags.la -%{tde_tdelibdir}/kio_digikamtags.so -%{tde_tdelibdir}/kio_digikamthumbnail.la -%{tde_tdelibdir}/kio_digikamthumbnail.so -%{tde_tdeappdir}/digikam.desktop -%{tde_tdeappdir}/showfoto.desktop -%{tde_datadir}/apps/digikam/ -%{tde_datadir}/apps/konqueror/servicemenus/digikam-download.desktop -%{tde_datadir}/apps/konqueror/servicemenus/digikam-gphoto2-camera.desktop -%{tde_datadir}/apps/konqueror/servicemenus/digikam-mount-and-download.desktop -%{tde_datadir}/apps/showfoto/ -%{tde_datadir}/icons/hicolor/*/apps/digikam.png -%{tde_datadir}/icons/hicolor/*/apps/showfoto.png -%{tde_datadir}/services/digikamalbums.protocol -%{tde_datadir}/services/digikamdates.protocol -%{tde_datadir}/services/digikamimageplugin_adjustcurves.desktop -%{tde_datadir}/services/digikamimageplugin_adjustlevels.desktop -%{tde_datadir}/services/digikamimageplugin_antivignetting.desktop -%{tde_datadir}/services/digikamimageplugin_blurfx.desktop -%{tde_datadir}/services/digikamimageplugin_border.desktop -%{tde_datadir}/services/digikamimageplugin_channelmixer.desktop -%{tde_datadir}/services/digikamimageplugin_charcoal.desktop -%{tde_datadir}/services/digikamimageplugin_colorfx.desktop -%{tde_datadir}/services/digikamimageplugin_core.desktop -%{tde_datadir}/services/digikamimageplugin_distortionfx.desktop -%{tde_datadir}/services/digikamimageplugin_emboss.desktop -%{tde_datadir}/services/digikamimageplugin_filmgrain.desktop -%{tde_datadir}/services/digikamimageplugin_freerotation.desktop -%{tde_datadir}/services/digikamimageplugin_hotpixels.desktop -%{tde_datadir}/services/digikamimageplugin_infrared.desktop -%{tde_datadir}/services/digikamimageplugin_inpainting.desktop -%{tde_datadir}/services/digikamimageplugin_inserttext.desktop -%{tde_datadir}/services/digikamimageplugin_lensdistortion.desktop -%{tde_datadir}/services/digikamimageplugin_noisereduction.desktop -%{tde_datadir}/services/digikamimageplugin_oilpaint.desktop -%{tde_datadir}/services/digikamimageplugin_perspective.desktop -%{tde_datadir}/services/digikamimageplugin_raindrop.desktop -%{tde_datadir}/services/digikamimageplugin_restoration.desktop -%{tde_datadir}/services/digikamimageplugin_sheartool.desktop -%{tde_datadir}/services/digikamimageplugin_superimpose.desktop -%{tde_datadir}/services/digikamimageplugin_texture.desktop -%{tde_datadir}/services/digikamimageplugin_whitebalance.desktop -%{tde_datadir}/services/digikamsearch.protocol -%{tde_datadir}/services/digikamtags.protocol -%{tde_datadir}/services/digikamthumbnail.protocol -%{tde_datadir}/servicetypes/digikamimageplugin.desktop -%{tde_mandir}/man*/* -#%{tde_tdedocdir}/HTML/en/digikam-apidocs/ - - -%files devel -%{tde_tdeincludedir}/digikam_export.h -%{tde_tdeincludedir}/digikam/ -%{tde_libdir}/libdigikam.so -%{tde_libdir}/libdigikam.la - - -%changelog diff --git a/redhat/applications/digikam/digikam-3.5.13.spec b/redhat/applications/digikam/digikam-3.5.13.spec deleted file mode 100644 index f1ff6d1ab..000000000 --- a/redhat/applications/digikam/digikam-3.5.13.spec +++ /dev/null @@ -1,297 +0,0 @@ -# Default version for this component -%define kdecomp digikam - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: digital photo management application for KDE [Trinity] -Version: 0.9.6 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -# [digikam] Fix digikam FTBFS due to jpeg code [Commit #b9419cd5] -Patch1: digikam-3.5.13-fix_ftbfs_jpeg_code.patch -# [digikam] Fix FTBFS due to png code [Bug #595] [Commit #3e27b07f] -Patch2: digikam-3.5.13-fix_ftbfs_png_code.patch -# [digikam] Remove version.h. Cruft from an older version prior to 0.9.6. -# Part of an extensive cleanup of various problems with kipi-plugins, digikam, -# and gwenview to resolve bug reports 241, 962, 963. -Patch3: digikam-3.5.13-remove_version_h.patch -# [digikam] Fix usage of obsolete libpng jmpbuf member [Commit #7d0d82b7] -Patch4: digikam-3.5.13-fix_obsolete_libpng_jmpbuf.patch -# [digikam] GCC 4.7 fix. [Bug #958] [Commit #a9489034] -Patch5: digikam-3.5.13-gcc_47_fix.patch -# [digikam] GCC 4.7 fix. [Bug #958] [Commit #a209c81b] -Patch6: digikam-3.5.13-gcc_47_fix2.patch -# [digikam] Fix 'format not a string literal' error [Commit #029218cd] -Patch7: digikam-3.5.13-fix_fomat_not_string_literal.patch -# [digikam] Update patch in GIT hash a9489034 to use reinterpret_cast. [Commit #5a043853] -Patch8: digikam-3.5.13-fix_reinterpret_cast.patch -# [digikam] Fix FTBFS on png >= 0.15 [Commit #18ecd512] -Patch9: digikam-3.5.13-fix_ftbfs_png_015.patch -# [digikam] Missing LDFLAGS cause FTBFS on Mageia 2 / Mandriva 2011 -Patch10: digikam-3.5.13-missing_ldflags.patch - - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-arts-devel -BuildRequires: trinity-kdelibs-devel -BuildRequires: trinity-kdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext -BuildRequires: trinity-libkexiv2-devel -BuildRequires: trinity-libkdcraw-devel -BuildRequires: trinity-libkipi-devel -%if 0%{?rhel} == 5 || 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: gphoto2-devel -%else -BuildRequires: libgphoto2-devel -%endif -BuildRequires: libtiff-devel -BuildRequires: jasper-devel - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}exiv2-devel -%else -BuildRequires: exiv2-devel -%endif - -Requires: trinity-libkexiv2 -Requires: trinity-libkdcraw -Requires: trinity-libkipi - -%description -An easy to use and powerful digital photo management -application, which makes importing, organizing and manipulating -digital photos a "snap". An interface is provided to connect to -your digital camera, preview the images and download and/or -delete them. - -The digiKam built-in image editor makes the common photo correction -a simple task. The image editor is extensible via plugins and, -the digikamimageplugins project has been merged to digiKam core -since release 0.9.2, all useful image editor plugins are available -in the base installation. - -digiKam can also make use of the KIPI image handling plugins to -extend its capabilities even further for photo manipulations, -import and export, etc. The kipi-plugins package contains many -very useful extentions. - -digiKam is based in part on the work of the Independent JPEG Group. - - -%package devel -Group: Development/Libraries -Summary: Development files for %{name} -Requires: %{name} = %{version} - -%description devel -%{summary} - - -%prep -%setup -q -n applications/%{kdecomp} -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -E -%patch4 -p1 -%patch5 -p1 -b .gcc47 -%patch6 -p1 -b .gcc47 -%patch7 -p1 -b .ftbfs -%patch8 -p1 -%patch9 -p1 -b .png015 -%patch10 -p1 -b .ftbfs - - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; source /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_tdeincludedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_tdeincludedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%find_lang %{kdecomp} - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -/sbin/ldconfig -update-desktop-database %{tde_appdir} 2> /dev/null || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -/sbin/ldconfig -update-desktop-database %{tde_appdir} 2> /dev/null || : - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/digikam -%{tde_bindir}/digikamthemedesigner -%{tde_bindir}/digitaglinktree -%{tde_bindir}/showfoto -%{tde_libdir}/libdigikam.so.0 -%{tde_libdir}/libdigikam.so.0.0.0 -%{tde_tdelibdir}/kio_digikamalbums.la -%{tde_tdelibdir}/kio_digikamalbums.so -%{tde_tdelibdir}/kio_digikamdates.la -%{tde_tdelibdir}/kio_digikamdates.so -%{tde_tdelibdir}/kio_digikamsearch.la -%{tde_tdelibdir}/kio_digikamsearch.so -%{tde_tdelibdir}/kio_digikamtags.la -%{tde_tdelibdir}/kio_digikamtags.so -%{tde_tdelibdir}/kio_digikamthumbnail.la -%{tde_tdelibdir}/kio_digikamthumbnail.so -%{tde_tdeappdir}/digikam.desktop -%{tde_tdeappdir}/showfoto.desktop -%{tde_datadir}/apps/digikam/ -%{tde_datadir}/apps/konqueror/servicemenus/digikam-download.desktop -%{tde_datadir}/apps/konqueror/servicemenus/digikam-gphoto2-camera.desktop -%{tde_datadir}/apps/konqueror/servicemenus/digikam-mount-and-download.desktop -%{tde_datadir}/apps/showfoto/ -%{tde_datadir}/icons/hicolor/*/apps/digikam.png -%{tde_datadir}/icons/hicolor/*/apps/showfoto.png -%{tde_datadir}/services/digikamalbums.protocol -%{tde_datadir}/services/digikamdates.protocol -%{tde_datadir}/services/digikamimageplugin_adjustcurves.desktop -%{tde_datadir}/services/digikamimageplugin_adjustlevels.desktop -%{tde_datadir}/services/digikamimageplugin_antivignetting.desktop -%{tde_datadir}/services/digikamimageplugin_blurfx.desktop -%{tde_datadir}/services/digikamimageplugin_border.desktop -%{tde_datadir}/services/digikamimageplugin_channelmixer.desktop -%{tde_datadir}/services/digikamimageplugin_charcoal.desktop -%{tde_datadir}/services/digikamimageplugin_colorfx.desktop -%{tde_datadir}/services/digikamimageplugin_core.desktop -%{tde_datadir}/services/digikamimageplugin_distortionfx.desktop -%{tde_datadir}/services/digikamimageplugin_emboss.desktop -%{tde_datadir}/services/digikamimageplugin_filmgrain.desktop -%{tde_datadir}/services/digikamimageplugin_freerotation.desktop -%{tde_datadir}/services/digikamimageplugin_hotpixels.desktop -%{tde_datadir}/services/digikamimageplugin_infrared.desktop -%{tde_datadir}/services/digikamimageplugin_inpainting.desktop -%{tde_datadir}/services/digikamimageplugin_inserttext.desktop -%{tde_datadir}/services/digikamimageplugin_lensdistortion.desktop -%{tde_datadir}/services/digikamimageplugin_noisereduction.desktop -%{tde_datadir}/services/digikamimageplugin_oilpaint.desktop -%{tde_datadir}/services/digikamimageplugin_perspective.desktop -%{tde_datadir}/services/digikamimageplugin_raindrop.desktop -%{tde_datadir}/services/digikamimageplugin_restoration.desktop -%{tde_datadir}/services/digikamimageplugin_sheartool.desktop -%{tde_datadir}/services/digikamimageplugin_superimpose.desktop -%{tde_datadir}/services/digikamimageplugin_texture.desktop -%{tde_datadir}/services/digikamimageplugin_whitebalance.desktop -%{tde_datadir}/services/digikamsearch.protocol -%{tde_datadir}/services/digikamtags.protocol -%{tde_datadir}/services/digikamthumbnail.protocol -%{tde_datadir}/servicetypes/digikamimageplugin.desktop -%{tde_mandir}/man*/* -%{tde_tdedocdir}/HTML/en/digikam-apidocs/ - - -%files devel -%{tde_tdeincludedir}/digikam_export.h -%{tde_tdeincludedir}/digikam/ -%{tde_libdir}/libdigikam.so -%{tde_libdir}/libdigikam.la - - -%Changelog -* Fri Aug 03 2012 Francois Andriot - 0.9.6-3 -- Add support for Mageia 2 and Mandriva 2011 -- Removes old patches, adds GIT patches. -- Fix digikam FTBFS due to jpeg code [Commit #b9419cd5] -- Fix FTBFS due to png code [Bug #595] [Commit #3e27b07f] -- Remove version.h. Cruft from an older version prior to 0.9.6. -- Fix usage of obsolete libpng jmpbuf member [Commit #7d0d82b7] -- GCC 4.7 fix. [Bug #958] [Commit #a9489034] -- GCC 4.7 fix. [Bug #958] [Commit #a209c81b] -- Fix 'format not a string literal' error [Commit #029218cd] -- Update patch in GIT hash a9489034 to use reinterpret_cast. [Commit #5a043853] -- Fix FTBFS on png >= 0.15 [Commit #18ecd512] - -* Sun Jul 08 2012 Francois Andriot - 0.9.6-3 -- Fix man directory location -- Fix postinstall -- Fix description -- Add "BuildRequires: exiv2-devel" - -* Tue May 01 2012 Francois Andriot - 0.9.6-2 -- gcc 4.7 + libpng 1.5 patch for digikam (consolidated) [Bug #958] - -* Sun Nov 06 2011 Francois Andriot - 0.9.6-1 -- Initial release for RHEL 6, RHEL 5 and Fedora 15 - diff --git a/redhat/applications/dolphin/dolphin-3.5.12.spec b/redhat/applications/dolphin/dolphin-3.5.12.spec deleted file mode 100644 index 38f7059e5..000000000 --- a/redhat/applications/dolphin/dolphin-3.5.12.spec +++ /dev/null @@ -1,134 +0,0 @@ -# Default version for this component -%define kdecomp dolphin -%define version 0.9.2 -%define release 1 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%define _docdir %{_prefix}/share/doc -%endif - -# TDE 3.5.12 specific building variables -BuildRequires: autoconf automake libtool m4 -%define tde_docdir %{_docdir} -%define tde_includedir %{_includedir}/kde -%define tde_libdir %{_libdir}/kde3 - - -Name: trinity-%{kdecomp} -Summary: File manager for KDE focusing on usability -Version: %{?version} -Release: %{?release}%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Source0: %{kdecomp}-3.5.12.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-kdelibs-devel -BuildRequires: trinity-kdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -Dolphin focuses on being only a file manager. -This approach allows to optimize the user -interface for the task of file management. - - -%prep -%setup -q -n applications/%{kdecomp} - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -export PATH="%{_bindir}:${PATH}" -export LDFLAGS="-L%{_libdir} -I%{_includedir}" - -%configure \ - --disable-rpath \ - --with-extra-includes=%{_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{_bindir}:${PATH}" -%__rm -rf %{buildroot} -%make_install - -# TDE 3.5.12: dirty hack to prevent duplicate line in file 'd3lphin.desktop' -sed -i "%{buildroot}%{_datadir}/applications/kde/d3lphin.desktop" \ - -e "/^Name\[pa\].*/d" - -desktop-file-install --vendor "" \ - --delete-original \ - --dir %{buildroot}%{_datadir}/applications/ \ - %{buildroot}%{_datadir}/applications/kde/d3lphin.desktop - - -## File lists -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : - -%postun -touch --no-create %{_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING TODO -%{_bindir}/* -%{_datadir}/applications/*.desktop -%{_datadir}/apps/*/ -%{tde_docdir}/HTML/en/*/ -%{_datadir}/icons/hicolor/128x128/apps/*.png -%{_datadir}/icons/hicolor/??x??/apps/*.png -%{_datadir}/locale/*/*/d3lphin.mo - - -%Changelog -* Tue Sep 14 2011 Francois Andriot - 0.9.2-2 -- Import to GIT - -* Mon Aug 22 2011 Francois Andriot - 0.9.2-1 -- Correct macro to install under "/opt", if desired - -* Thu Jun 30 2011 Francois Andriot - 0.9.2-0 -- Initial release for RHEL 6.0 -- Based on FC7 'Dolphin 0.8.2-2" SPEC file. - diff --git a/redhat/applications/dolphin/dolphin-3.5.13.1.spec b/redhat/applications/dolphin/dolphin-3.5.13.1.spec deleted file mode 100644 index f412efa0f..000000000 --- a/redhat/applications/dolphin/dolphin-3.5.13.1.spec +++ /dev/null @@ -1,197 +0,0 @@ -# Default version for this component -%define kdecomp dolphin - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: File manager for TDE focusing on usability -Version: 0.9.2 -Release: 6%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -Dolphin focuses on being only a file manager. -This approach allows to optimize the user -interface for the task of file management. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --docdir=%{tde_tdedocdir} \ - --libdir=%{tde_libdir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# TDE 3.5.12: dirty hack to prevent duplicate line in file 'd3lphin.desktop' -sed -i "%{buildroot}%{tde_datadir}/applications/kde/d3lphin.desktop" \ - -e "/^Name\[pa\].*/d" - -desktop-file-install --vendor "" \ - --delete-original \ - --dir %{buildroot}%{tde_datadir}/applications/ \ - %{buildroot}%{tde_datadir}/applications/kde/d3lphin.desktop - - -## File lists -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - -# Makes 'media_safelyremove.desktop' an alternative -%__mv -f %{buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop %{buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_d3lphin -%__ln_s /etc/alternatives/media_safelyremove.desktop_d3lphin %{buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop - -%find_lang d3lphin - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -%if 0%{?suse_version} -update-alternatives --install \ -%else -alternatives --install \ -%endif - %{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop \ - media_safelyremove.desktop_d3lphin \ - %{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_d3lphin \ - 10 - - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -if [ $1 -eq 0 ]; then -%if 0%{?suse_version} - update-alternatives --remove \ -%else - alternatives --remove \ -%endif - media_safelyremove.desktop_d3lphin \ - %{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_d3lphin -fi - - -%files -f d3lphin.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING TODO -%{tde_bindir}/d3lphin -%{tde_datadir}/applications/d3lphin.desktop -%{tde_datadir}/apps/d3lphin/ -%{tde_datadir}/icons/hicolor/*/apps/d3lphin.png -%lang(en) %{tde_tdedocdir}/HTML/en/d3lphin/ - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.9.2-6 -- Initial release for TDE 3.5.13.1 - -* Sun Jul 08 2012 Francois Andriot - 0.9.2-5 -- Add alternatives with 'kio-umountwrapper' - -* Tue May 01 2012 Francois Andriot - 0.9.2-4 -- Rebuild for Fedora 17 -- Fix HTML installation directory - -* Sun Oct 30 2011 Francois Andriot - 0.9.2-3 -- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 - -* Tue Sep 14 2011 Francois Andriot - 0.9.2-2 -- Import to GIT - -* Mon Aug 22 2011 Francois Andriot - 0.9.2-1 -- Correct macro to install under "/opt", if desired - -* Thu Jun 30 2011 Francois Andriot - 0.9.2-0 -- Initial release for RHEL 6.0 -- Based on FC7 'Dolphin 0.8.2-2" SPEC file. - diff --git a/redhat/applications/dolphin/dolphin-3.5.13.2.spec b/redhat/applications/dolphin/dolphin-3.5.13.2.spec deleted file mode 100644 index 30db977f4..000000000 --- a/redhat/applications/dolphin/dolphin-3.5.13.2.spec +++ /dev/null @@ -1,139 +0,0 @@ -# Default version for this component -%define tde_pkg dolphin -%define tde_version 3.5.13.2 - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tde_pkg} -Summary: File manager for TDE focusing on usability -Version: 0.9.2 -Release: %{?!preversion:8}%{?preversion:7_%{preversion}}%{?dist} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-arts-devel >= 1:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: gettext - - -%description -Dolphin focuses on being only a file manager. -This approach allows to optimize the user -interface for the task of file management. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR QTINC QTLIB -. /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --docdir=%{tde_tdedocdir} \ - --libdir=%{tde_libdir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --enable-final \ - --enable-closure \ - --enable-rpath - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# Makes 'media_safelyremove.desktop' an alternative -%__mv -f %{buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop %{buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_d3lphin - -# Locales -%find_lang d3lphin - - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_tdeappdir} -q &> /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-alternatives --install \ - %{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop \ - media_safelyremove.desktop_d3lphin \ - %{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_d3lphin \ - 15 - -%preun -if [ $1 -eq 0 ]; then - update-alternatives --remove \ - media_safelyremove.desktop_d3lphin \ - %{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_d3lphin || : -fi - -%postun -update-desktop-database %{tde_tdeappdir} -q &> /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -f d3lphin.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING TODO -%{tde_bindir}/d3lphin -%{tde_tdeappdir}/d3lphin.desktop -%{tde_datadir}/apps/d3lphin/ -%{tde_datadir}/icons/hicolor/*/apps/d3lphin.png -%lang(en) %{tde_tdedocdir}/HTML/en/d3lphin/ - - -%changelog diff --git a/redhat/applications/dolphin/dolphin-3.5.13.spec b/redhat/applications/dolphin/dolphin-3.5.13.spec deleted file mode 100644 index 5cafa107c..000000000 --- a/redhat/applications/dolphin/dolphin-3.5.13.spec +++ /dev/null @@ -1,180 +0,0 @@ -# Default version for this component -%define kdecomp dolphin - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: File manager for TDE focusing on usability -Version: 0.9.2 -Release: 5%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -Dolphin focuses on being only a file manager. -This approach allows to optimize the user -interface for the task of file management. - - -%prep -%setup -q -n applications/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --docdir=%{tde_tdedocdir} \ - --libdir=%{tde_libdir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# TDE 3.5.12: dirty hack to prevent duplicate line in file 'd3lphin.desktop' -sed -i "%{buildroot}%{tde_datadir}/applications/kde/d3lphin.desktop" \ - -e "/^Name\[pa\].*/d" - -desktop-file-install --vendor "" \ - --delete-original \ - --dir %{buildroot}%{tde_datadir}/applications/ \ - %{buildroot}%{tde_datadir}/applications/kde/d3lphin.desktop - - -## File lists -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - -# Makes 'media_safelyremove.desktop' an alternative -%__mv -f %{buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop %{buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_d3lphin -%__ln_s /etc/alternatives/media_safelyremove.desktop_d3lphin %{buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop - -%find_lang d3lphin - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -alternatives --install \ - %{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop \ - media_safelyremove.desktop_d3lphin \ - %{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_d3lphin \ - 10 - - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -if [ $1 -eq 0 ]; then - alternatives --remove \ - media_safelyremove.desktop_d3lphin \ - %{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_d3lphin -fi - - -%files -f d3lphin.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING TODO -%{tde_bindir}/d3lphin -%{tde_datadir}/applications/d3lphin.desktop -%{tde_datadir}/apps/d3lphin/ -%{tde_datadir}/icons/hicolor/*/apps/d3lphin.png -%lang(en) %{tde_tdedocdir}/HTML/en/d3lphin/ - - -%Changelog -* Sun Jul 08 2012 Francois Andriot - 0.9.2-5 -- Add alternatives with 'kio-umountwrapper' - -* Tue May 01 2012 Francois Andriot - 0.9.2-4 -- Rebuild for Fedora 17 -- Fix HTML installation directory - -* Sun Oct 30 2011 Francois Andriot - 0.9.2-3 -- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 - -* Tue Sep 14 2011 Francois Andriot - 0.9.2-2 -- Import to GIT - -* Mon Aug 22 2011 Francois Andriot - 0.9.2-1 -- Correct macro to install under "/opt", if desired - -* Thu Jun 30 2011 Francois Andriot - 0.9.2-0 -- Initial release for RHEL 6.0 -- Based on FC7 'Dolphin 0.8.2-2" SPEC file. - diff --git a/redhat/applications/filelight/filelight-3.5.12.spec b/redhat/applications/filelight/filelight-3.5.12.spec deleted file mode 100644 index e1b02b0ee..000000000 --- a/redhat/applications/filelight/filelight-3.5.12.spec +++ /dev/null @@ -1,106 +0,0 @@ -# Default version for this component -%define kdecomp filelight -%define version 1.0 -%define release 2 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%define _docdir %{_prefix}/share/doc -%endif - -# TDE 3.5.12 specific building variables -BuildRequires: autoconf automake libtool m4 -%define tde_docdir %{_docdir} -%define tde_includedir %{_includedir}/kde -%define tde_libdir %{_libdir}/kde3 - - -Name: trinity-%{kdecomp} -Summary: Graphical disk usage display -Version: %{?version} -Release: %{?release}%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Source0: %{kdecomp}-3.5.12.tar.gz - - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-kdelibs-devel -BuildRequires: trinity-kdebase-devel -BuildRequires: desktop-file-utils - -%description -Filelight creates a complex, but data-rich graphical representation of the files and -directories on your computer. - - -%prep -%setup -q -n applications/%{kdecomp} - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -export PATH="%{_bindir}:${PATH}" -export LDFLAGS="-L%{_libdir} -I%{_includedir}" - -%configure \ - --disable-rpath \ - --with-extra-includes=%{_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{_bindir}:${PATH}" -%__rm -rf %{buildroot} -%make_install - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : - -%postun -touch --no-create %{_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{_bindir}/* -%{_datadir}/applications/*/*.desktop -%{_datadir}/apps/*/ -%{_datadir}/icons/*/*/*/* -%{_datadir}/locale/*/*/*.mo -%{_datadir}/config/filelightrc -%{_datadir}/services/*.desktop -%{tde_docdir}/HTML/*/*/ - -%{_libdir}/*/*.so -%exclude %{_libdir}/*/*.la - -%Changelog -* Tue Sep 14 2011 Francois Andriot - 1.0-2 -- Import to GIT - -* Wed Aug 24 2011 Francois Andriot - 1.0-1 -- Correct macro to install under "/opt", if desired - -* Sun Aug 14 2011 Francois Andriot - 1.0-0 -- Initial release for RHEL 6.0 - diff --git a/redhat/applications/filelight/filelight-3.5.13-disable_l10n.patch b/redhat/applications/filelight/filelight-3.5.13-disable_l10n.patch deleted file mode 100644 index be98c9a0f..000000000 --- a/redhat/applications/filelight/filelight-3.5.13-disable_l10n.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- filelight/Makefile.am.ORI 2012-08-04 10:34:47.712896146 +0200 -+++ filelight/Makefile.am 2012-08-04 10:34:52.911800735 +0200 -@@ -1,4 +1,4 @@ --SUBDIRS = src misc doc po -+SUBDIRS = src misc doc - - messages: rc.cpp - $(EXTRACTRC) `find . -name "*.rc" -o -name "*.ui"` >> rc.cpp ---- filelight/doc/Makefile.am.ORI 2012-08-04 10:36:33.894947477 +0200 -+++ filelight/doc/Makefile.am 2012-08-04 10:36:38.509862783 +0200 -@@ -1 +1 @@ --SUBDIRS = $(AUTODIRS) -+SUBDIRS = filelight diff --git a/redhat/applications/filelight/filelight-3.5.13.1.spec b/redhat/applications/filelight/filelight-3.5.13.1.spec deleted file mode 100644 index 50af74c0d..000000000 --- a/redhat/applications/filelight/filelight-3.5.13.1.spec +++ /dev/null @@ -1,158 +0,0 @@ -# Default version for this component -%define kdecomp filelight - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Graphical disk usage display -Version: 1.0 -Release: 5%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils - -Obsoletes: filelight-l10n < %{version}-%{release} -Provides: filelight-l10n = %{version}-%{release} - -%description -Filelight creates a complex, but data-rich graphical representation of the files and -directories on your computer. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --docdir=%{tde_tdedocdir} \ - --libdir=%{tde_libdir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} --with-kde - -%clean -%__rm -rf %{buildroot} - - -%post -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - -%postun -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/filelight -%{tde_tdeappdir}/filelight.desktop -%{tde_datadir}/apps/filelight/ -%{tde_datadir}/icons/crystalsvg/*/actions/view_filelight.png -%{tde_datadir}/icons/hicolor/*/apps/filelight.png -%{tde_datadir}/config/filelightrc -%{tde_datadir}/services/*.desktop -%{tde_tdelibdir}/libfilelight.so -%{tde_tdelibdir}/libfilelight.la -%lang(da) %{tde_tdedocdir}/HTML/da/filelight/ -%lang(en) %{tde_tdedocdir}/HTML/en/filelight/ -%lang(es) %{tde_tdedocdir}/HTML/es/filelight/ -%lang(et) %{tde_tdedocdir}/HTML/et/filelight/ -%lang(it) %{tde_tdedocdir}/HTML/it/filelight/ -%lang(pt) %{tde_tdedocdir}/HTML/pt/filelight/ -%lang(ru) %{tde_tdedocdir}/HTML/ru/filelight/ -%lang(sv) %{tde_tdedocdir}/HTML/sv/filelight/ - -%changelog -* Wed Oct 03 2012 Francois Andriot - 1.0-5 -- Initial release for TDE 3.5.13.1 -- Obsoletes package 'filelight-l10n' - -* Tue May 01 2012 Francois Andriot - 1.0-4 -- Rebuilt for Fedora 17 -- Fix HTML directory location - -* Sun Oct 30 2011 Francois Andriot - 1.0-3 -- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 - -* Tue Sep 14 2011 Francois Andriot - 1.0-2 -- Import to GIT - -* Wed Aug 24 2011 Francois Andriot - 1.0-1 -- Correct macro to install under "/opt", if desired - -* Sun Aug 14 2011 Francois Andriot - 1.0-0 -- Initial release for RHEL 6.0 - diff --git a/redhat/applications/filelight/filelight-3.5.13.2.spec b/redhat/applications/filelight/filelight-3.5.13.2.spec deleted file mode 100644 index f1b71ae47..000000000 --- a/redhat/applications/filelight/filelight-3.5.13.2.spec +++ /dev/null @@ -1,134 +0,0 @@ -# Default version for this component -%define tde_pkg filelight -%define tde_version 3.5.13.2 - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tde_pkg} -Summary: Graphical disk usage display -Version: 1.0 -Release: %{?!preversion:8}%{?preversion:7_%{preversion}}%{?dist} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-arts-devel >= 1:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -Obsoletes: filelight-l10n < %{version}-%{release} -Provides: filelight-l10n = %{version}-%{release} - -%description -Filelight creates a complex, but data-rich graphical representation of the files and -directories on your computer. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --docdir=%{tde_tdedocdir} \ - --libdir=%{tde_libdir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --enable-final \ - --enable-closure \ - --enable-rpath - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{tde_pkg} - -%clean -%__rm -rf %{buildroot} - - -%post -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - -%postun -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/filelight -%{tde_tdeappdir}/filelight.desktop -%{tde_datadir}/apps/filelight/ -%{tde_datadir}/icons/crystalsvg/*/actions/view_filelight.png -%{tde_datadir}/icons/hicolor/*/apps/filelight.png -%{tde_datadir}/config/filelightrc -%{tde_datadir}/services/*.desktop -%{tde_tdelibdir}/libfilelight.so -%{tde_tdelibdir}/libfilelight.la -%lang(da) %{tde_tdedocdir}/HTML/da/filelight/ -%lang(en) %{tde_tdedocdir}/HTML/en/filelight/ -%lang(es) %{tde_tdedocdir}/HTML/es/filelight/ -%lang(et) %{tde_tdedocdir}/HTML/et/filelight/ -%lang(it) %{tde_tdedocdir}/HTML/it/filelight/ -%lang(pt) %{tde_tdedocdir}/HTML/pt/filelight/ -%lang(ru) %{tde_tdedocdir}/HTML/ru/filelight/ -%lang(sv) %{tde_tdedocdir}/HTML/sv/filelight/ - -%changelog diff --git a/redhat/applications/filelight/filelight-3.5.13.spec b/redhat/applications/filelight/filelight-3.5.13.spec deleted file mode 100644 index 30ed48ac7..000000000 --- a/redhat/applications/filelight/filelight-3.5.13.spec +++ /dev/null @@ -1,141 +0,0 @@ -# Default version for this component -%define kdecomp filelight - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Graphical disk usage display -Version: 1.0 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -# [filelight] Disable translation build, it is a separate package -Patch1: filelight-3.5.13-disable_l10n.patch - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils - -%description -Filelight creates a complex, but data-rich graphical representation of the files and -directories on your computer. - - -%prep -%setup -q -n applications/%{kdecomp} -%patch1 -p1 -b .l10n - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{_libdir} -I%{_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --docdir=%{tde_tdedocdir} \ - --libdir=%{tde_libdir} \ - --disable-rpath \ - --with-extra-includes=%{_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%clean -%__rm -rf %{buildroot} - - -%post -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - -%postun -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/filelight -%{tde_tdeappdir}/filelight.desktop -%{tde_datadir}/apps/filelight/ -%{tde_datadir}/icons/crystalsvg/*/actions/view_filelight.png -%{tde_datadir}/icons/hicolor/*/apps/filelight.png -%{tde_datadir}/config/filelightrc -%{tde_datadir}/services/*.desktop -%{tde_tdelibdir}/libfilelight.so -%{tde_tdelibdir}/libfilelight.la -%{tde_tdedocdir}/HTML/en/filelight/ - -%Changelog -* Tue May 01 2012 Francois Andriot - 1.0-4 -- Rebuilt for Fedora 17 -- Fix HTML directory location - -* Sun Oct 30 2011 Francois Andriot - 1.0-3 -- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 - -* Tue Sep 14 2011 Francois Andriot - 1.0-2 -- Import to GIT - -* Wed Aug 24 2011 Francois Andriot - 1.0-1 -- Correct macro to install under "/opt", if desired - -* Sun Aug 14 2011 Francois Andriot - 1.0-0 -- Initial release for RHEL 6.0 - diff --git a/redhat/applications/fusion-icon/fusion-icon-3.5.13-fix_python_sitelib.patch b/redhat/applications/fusion-icon/fusion-icon-3.5.13-fix_python_sitelib.patch deleted file mode 100644 index 6ad5c045c..000000000 --- a/redhat/applications/fusion-icon/fusion-icon-3.5.13-fix_python_sitelib.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- fusion-icon/Makefile.ori 2012-08-04 11:13:26.208733002 +0200 -+++ fusion-icon/Makefile 2012-08-04 11:16:13.354858961 +0200 -@@ -1,12 +1,13 @@ - PREFIX = '/usr' - DESTDIR = '/' -+PYTHON_SITELIB = '/usr/lib/python2.7/site-packages' - #interfaces = 'gtk qt4' - - all: - @python setup.py build - - install: -- @python setup.py install --prefix=${PREFIX} --root=${DESTDIR} -+ @python setup.py install --prefix=${PREFIX} --root=${DESTDIR} --install-lib=${PYTHON_SITELIB} - - uninstall: - @python setup.py uninstall diff --git a/redhat/applications/gtk-qt-engine/1383169502:f181fbbb337a75257089e64afabd04dac2e1d466.diff b/redhat/applications/gtk-qt-engine/1383169502:f181fbbb337a75257089e64afabd04dac2e1d466.diff deleted file mode 100644 index 8548d545c..000000000 --- a/redhat/applications/gtk-qt-engine/1383169502:f181fbbb337a75257089e64afabd04dac2e1d466.diff +++ /dev/null @@ -1,50 +0,0 @@ -commit f181fbbb337a75257089e64afabd04dac2e1d466 -Author: Timothy Pearson -Date: 1383169502 -0500 - - Fix severe iceweasel/icedove tab bar corruption - Clean up minor build warnings - -diff --git a/src/qt_qt_wrapper.cpp b/src/qt_qt_wrapper.cpp -index 067cf24..d3e13bb 100644 ---- a/src/qt_qt_wrapper.cpp -+++ b/src/qt_qt_wrapper.cpp -@@ -337,7 +337,7 @@ void createTQApp() - #endif // USE_FREEBSD - #endif // USE_SOLARIS - -- mozillaFix = (cmdLine.contains("mozilla") || cmdLine.contains("firefox") || cmdLine.contains("thunderbird")); -+ mozillaFix = (cmdLine.contains("mozilla") || cmdLine.contains("firefox") || cmdLine.contains("iceweasel") || cmdLine.contains("thunderbird") || cmdLine.contains("icedove")); - - openOfficeFix = (cmdLine.endsWith("soffice.bin")) - | (cmdLine.endsWith("swriter.bin")) -@@ -692,10 +692,9 @@ void drawButton(GdkWindow* window, GtkStyle* style, GtkStateType state, int defa - TQPushButton button(meepWidget); - button.setBackgroundOrigin(TQWidget::ParentOrigin); - button.setGeometry(x, y, w, h); -- if (style->rc_style->bg[GTK_STATE_NORMAL].pixel != 0) -+ if (style->rc_style->bg[GTK_STATE_NORMAL].pixel != 0) { - button.setPaletteBackgroundColor(gdkColorToTQColor(&style->rc_style->bg[GTK_STATE_NORMAL])); -- TQPoint p = button.backgroundOffset(); -- TQPoint pos = button.pos(); -+ } - - TQStyle::SFlags sflags = stateToSFlags(state); - -@@ -730,8 +729,6 @@ void drawButton(GdkWindow* window, GtkStyle* style, GtkStateType state, int defa - button.setGeometry(x, y, w, h); - if (style->rc_style->bg[GTK_STATE_NORMAL].pixel != 0) - button.setPaletteBackgroundColor(gdkColorToTQColor(&style->rc_style->bg[GTK_STATE_NORMAL])); -- TQPoint p = button.backgroundOffset(); -- TQPoint pos = button.pos(); - - TQStyle::SFlags sflags = stateToSFlags(state); - -@@ -1802,6 +1799,7 @@ void drawArrow(GdkWindow* window, GtkStyle* style, GtkStateType state, GtkArrowT - case GTK_ARROW_LEFT: element = TQStyle::PE_ArrowLeft; break; - case GTK_ARROW_RIGHT: element = TQStyle::PE_ArrowRight; break; - case GTK_ARROW_NONE: return; -+ default: return; - } - - diff --git a/redhat/applications/gtk-qt-engine/1387752298:6e6dbb068e03a8bb818a76ba774d6f94ade7389f.diff b/redhat/applications/gtk-qt-engine/1387752298:6e6dbb068e03a8bb818a76ba774d6f94ade7389f.diff deleted file mode 100644 index fadce37cf..000000000 --- a/redhat/applications/gtk-qt-engine/1387752298:6e6dbb068e03a8bb818a76ba774d6f94ade7389f.diff +++ /dev/null @@ -1,553 +0,0 @@ -commit 6e6dbb068e03a8bb818a76ba774d6f94ade7389f -Author: Timothy Pearson -Date: 1387752298 -0600 - - Fix numerous drawing glitches in Firefox - -diff --git a/src/qt_qt_wrapper.cpp b/src/qt_qt_wrapper.cpp -index d3e13bb..928aef3 100644 ---- a/src/qt_qt_wrapper.cpp -+++ b/src/qt_qt_wrapper.cpp -@@ -640,7 +640,7 @@ void drawButton(GdkWindow* window, GtkStyle* style, GtkStateType state, int defa - } - - if (gwidget) { -- TQString gwLabel(gtk_button_get_label(gwidget)); -+ TQString gwLabel(gtk_button_get_label(gwidget)); - if (gtk_button_get_use_stock(gwidget)) { - GtkStockItem stockData; - gtk_stock_lookup(gwLabel.ascii(), &stockData); -@@ -649,8 +649,8 @@ void drawButton(GdkWindow* window, GtkStyle* style, GtkStateType state, int defa - gwLabel.replace("&", "&&"); - gwLabel.replace("_", "&"); - -- TQPixmap buttonicon; -- TQBitmap buttonicon_mask; -+ TQPixmap buttonicon; -+ TQBitmap buttonicon_mask; - - GtkWidget* giconwidget = gtk_button_get_image(gwidget); - if (giconwidget) { -@@ -735,9 +735,9 @@ void drawButton(GdkWindow* window, GtkStyle* style, GtkStateType state, int defa - if (defaultButton) - sflags |= TQStyle::Style_ButtonDefault; - button.setDefault(defaultButton); -- -+ - painter.fillRect(0, 0, w, h, tqApp->palette().active().background()); -- -+ - tqApp->style().drawControl(TQStyle::CE_PushButton, &painter, &button, - TQRect(0,0,w,h), button.palette().active(), sflags); - -diff --git a/src/qt_theme_draw.c b/src/qt_theme_draw.c -index 20d8c87..e84c4f7 100644 ---- a/src/qt_theme_draw.c -+++ b/src/qt_theme_draw.c -@@ -676,8 +676,9 @@ draw_box(GtkStyle * style, - int nbpages; - sanitize_size(window, &width, &height); - -- if (gtkQtDebug) -+ if (gtkQtDebug) { - printf("Box (%d,%d,%d,%d) Widget: %s Detail: %s\n",x,y,width,height,gtk_widget_get_name(widget),detail); -+ } - - if (GTK_IS_SCROLLBAR(widget)) - { -@@ -685,38 +686,54 @@ draw_box(GtkStyle * style, - { - GtkAdjustment* adj = (GtkAdjustment*)gtk_range_get_adjustment(GTK_RANGE(widget)); - int orientation = ((width>height) ? GTK_ORIENTATION_HORIZONTAL : GTK_ORIENTATION_VERTICAL); -- -+ -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], area); - drawScrollBar(window, style, state_type, orientation, adj, x, y, width, height); -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], NULL); - } - return; - } - if (DETAIL("menuitem")) - { - /* Crude way of checking if it's a menu item, or a menubar item */ -- if (x != 0) -+ if (x != 0) { -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], area); - drawMenuBarItem(window,style,state_type,x,y,width,height); -- else -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], NULL); -+ } -+ else { -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], area); - drawMenuItem(window,style,state_type,x,y,width,height); -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], NULL); -+ } - return; - } - if (DETAIL("menubar")) - { -- if (openOfficeFix == 1) -+ if (openOfficeFix == 1) { - parent_class->draw_box (style, window, state_type, shadow_type, area, widget, detail, x, y, width, height); -- else if (mozillaFix == 1) -+ } -+ else if (mozillaFix == 1) { - parent_class->draw_box (style, window, state_type, GTK_SHADOW_NONE, area, widget, detail, x, y, width, height); -- else -+ } -+ else { -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], area); - drawMenubar(window,style,state_type,x,y,width,height); -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], NULL); -+ } - return; - } - if (DETAIL("menu")) - { -- if (openOfficeFix == 1) -+ if (openOfficeFix == 1) { - parent_class->draw_box (style, window, state_type, shadow_type, area, widget, detail, x, y, width, height); -- else -- { -- if ((x >= 0) && (y >= 0)) /* Work around weirdness in firefox */ -+ } -+ else { -+ if ((x >= 0) && (y >= 0)) { /* Work around weirdness in firefox */ -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], area); - drawMenu(window,style,state_type,x,y,width,height); -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], NULL); -+ } - } - return; - } -@@ -724,16 +741,15 @@ draw_box(GtkStyle * style, - { - double fraction = gtk_progress_bar_get_fraction(GTK_PROGRESS_BAR(widget)); - GtkProgressBarOrientation orientation = gtk_progress_bar_get_orientation(GTK_PROGRESS_BAR(widget)); -- -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], area); - drawProgressBar(window,style,state_type,orientation,fraction,x,y,width,height); -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], NULL); - return; - } - if (GTK_IS_PROGRESS(widget) && DETAIL("bar")) - { - if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], area); -- - drawProgressChunk(window,style,state_type,x,y,width,height); -- - if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], NULL); - return; - } -@@ -742,8 +758,7 @@ draw_box(GtkStyle * style, - GtkAdjustment* adj; - int inverted; - GValue *val = (GValue*)g_malloc( sizeof(GValue) ); -- if (gdk_window_is_viewable(gtk_widget_get_parent_window(widget))) -- { -+ if (gdk_window_is_viewable(gtk_widget_get_parent_window(widget))) { - GdkPixbuf *gpix; - gpix = gdk_pixbuf_get_from_drawable(NULL, gtk_widget_get_parent_window(widget),NULL, x, y, 0, 0, width, height); - setFillPixmap(gpix); -@@ -758,7 +773,9 @@ draw_box(GtkStyle * style, - g_free(val); - - adj = gtk_range_get_adjustment((GtkRange *) widget); -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], area); - drawSlider(window,style,state_type,adj,x,y,width,height, (GTK_RANGE(widget))->orientation, inverted); -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], NULL); - return; - } - if (DETAIL("button")) -@@ -767,18 +784,15 @@ draw_box(GtkStyle * style, - int toolbutton = 0; - parent = gtk_widget_get_parent(widget); - -- if (parent && (GTK_IS_CLIST(parent) || GTK_IS_LIST(parent) || GTK_IS_TREE_VIEW(parent))) -- { -+ if (parent && (GTK_IS_CLIST(parent) || GTK_IS_LIST(parent) || GTK_IS_TREE_VIEW(parent))) { - drawListHeader(window,style,state_type,x,y,width,height); - return; - } - - /* this is a very very bad hack but there seems to be no way to find if a button is on a - * toolbar in gtk */ -- while (1) -- { -- if (GTK_IS_WIDGET(parent)) -- { -+ while (1) { -+ if (GTK_IS_WIDGET(parent)) { - #ifdef HAVE_BONOBO - if (GTK_IS_TOOLBAR(parent) || BONOBO_IS_UI_TOOLBAR(parent)) - #else -@@ -789,17 +803,20 @@ draw_box(GtkStyle * style, - break; - } - } -- else -+ else { - break; -+ } - parent = gtk_widget_get_parent(parent); - } - - parent = gtk_widget_get_parent(widget); - -- if (toolbutton) -+ if (toolbutton) { -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], area); - drawToolButton(window,style,state_type,x,y,width,height); -- else -- { -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], NULL); -+ } -+ else { - /* Baghira hack -- rounded buttons really ugly when they are small like - on a dropdown entry box -- eg. search/replace in gedit */ - /* Draw square buttons only if number of children in the hbox is 2 and -@@ -807,31 +824,35 @@ draw_box(GtkStyle * style, - int defaultButton = gtk_widget_has_focus(widget); - GtkWindow* toplevel; - -- if (isBaghira && GTK_IS_BOX(parent) && (g_list_length(GTK_BOX(parent)->children) == 2)) -- { -+ if (isBaghira && GTK_IS_BOX(parent) && (g_list_length(GTK_BOX(parent)->children) == 2)) { - child_list = g_list_first((GTK_BOX(parent)->children)); - child = (GtkWidget *)child_list->data; -- if (GTK_IS_ENTRY(child)) -- { -+ if (GTK_IS_ENTRY(child)) { -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], area); - drawSquareButton(window,style,state_type,x,y,width,height); -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], NULL); - return; - } - - child_list = g_list_last((GTK_BOX(parent)->children)); - child = ((GtkBoxChild *)child_list->data)->widget; -- if (GTK_IS_ENTRY(child)) -- { -+ if (GTK_IS_ENTRY(child)) { -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], area); - drawSquareButton(window,style,state_type,x,y,width,height); -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], NULL); - return; - } - - } - - toplevel = GTK_WINDOW(gtk_widget_get_toplevel(widget)); -- if (toplevel && toplevel->default_widget == widget) -+ if (toplevel && toplevel->default_widget == widget) { - defaultButton = 1; -- -+ } -+ -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], area); - drawButton(window,style,state_type,defaultButton,x,y,width,height,GTK_BUTTON(widget)); -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], NULL); - } - return; - } -@@ -860,43 +881,55 @@ draw_box(GtkStyle * style, - - /* Now draw the tab -- tab position is also calculated in this function - checkout drawTabFrame() for drawing tabbarbase. */ -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], area); - drawTabNG(window,style,state_type,x, y, width/*-2*/, height, nb ); -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], NULL); - } - else { -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], area); - drawTab(window,style,state_type,x,y,width/*-2*/,height); -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], NULL); - } - return; - } -- if (DETAIL("optionmenu")) -- { -+ if (DETAIL("optionmenu")) { -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], area); - drawComboBox(window,style,state_type,x,y,width,height); -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], NULL); - return; - } -- if (DETAIL("toolbar")) -- { -+ if (DETAIL("toolbar")) { - if (openOfficeFix == 1) - parent_class->draw_box (style, window, state_type, shadow_type, area, widget, detail, x, y, width, height); - else -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], area); - drawToolbar(window,style,state_type,x,y,width,height); -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], NULL); - return; - } -- if (DETAIL("spinbutton_up")) -- { -+ if (DETAIL("spinbutton_up")) { -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], area); - drawSpinButton(window, style, state_type, 0, x, y, width, height); -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], NULL); - return; - } -- if (DETAIL("spinbutton_down")) -- { -+ if (DETAIL("spinbutton_down")) { -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], area); - drawSpinButton(window, style, state_type, 1, x, y, width, height); -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], NULL); - return; - } -- if (DETAIL("spinbutton")) -+ if (DETAIL("spinbutton")) { - return; -+ } - -- if (DETAIL("optionmenutab") || DETAIL("buttondefault")) -+ if (DETAIL("optionmenutab") || DETAIL("buttondefault")) { - return; -- -+ } -+ -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], area); - drawFrame(window,style,state_type,shadow_type,x,y,width,height); -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], NULL); - } - - -@@ -916,11 +949,11 @@ draw_flat_box(GtkStyle * style, - { - sanitize_size(window, &width, &height); - -- if (gtkQtDebug) -+ if (gtkQtDebug) { - printf("Flat Box (%d,%d,%d,%d) Widget: %s Detail: %s %d %d\n",x,y,width,height,gtk_widget_get_name(widget),detail, state_type, GTK_STATE_SELECTED); -+ } - -- if (DETAIL("tooltip")) -- { -+ if (DETAIL("tooltip")) { - GdkColor tooltipColor; - GdkGCValues gc_values; - GdkGCValuesMask gc_values_mask; -@@ -940,21 +973,25 @@ draw_flat_box(GtkStyle * style, - gtk_gc_release(tooltipGc); - } - -- if ((DETAILHAS("cell_even") || DETAILHAS("cell_odd")) && (state_type == GTK_STATE_SELECTED)) -- { -+ if ((DETAILHAS("cell_even") || DETAILHAS("cell_odd")) && (state_type == GTK_STATE_SELECTED)) { -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], area); - drawListViewItem(window,style,state_type,x,y,width,height); -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], NULL); - } -- else if (DETAIL("listitem")) -- { -+ else if (DETAIL("listitem")) { -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], area); - drawListViewItem(window,style,state_type,x,y,width,height); -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], NULL); - } -- else if (DETAILHAS("cell_even")) -- { -+ else if (DETAILHAS("cell_even")) { -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], area); - gdk_draw_rectangle(window, style->base_gc[GTK_STATE_NORMAL], TRUE, x, y, width, height); -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], NULL); - } -- else if (DETAILHAS("cell_odd")) -- { -+ else if (DETAILHAS("cell_odd")) { -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], area); - gdk_draw_rectangle(window, alternateBackgroundGc(style), TRUE, x, y, width, height); -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], NULL); - } - } - -@@ -972,26 +1009,28 @@ draw_check(GtkStyle * style, - gint width, - gint height) - { -- if (gtkQtDebug) -+ if (gtkQtDebug) { - printf("Check (%d,%d,%d,%d) Widget: %s Detail: %s\n", x, y, width, height,gtk_widget_get_name(widget),detail); -+ } - -- if (GTK_IS_MENU_ITEM(widget)) -- { -- if (shadow_type == GTK_SHADOW_IN) -- { -- if (gdk_window_is_viewable(gtk_widget_get_parent_window(widget))) -- { -+ if (GTK_IS_MENU_ITEM(widget)) { -+ if (shadow_type == GTK_SHADOW_IN) { -+ if (gdk_window_is_viewable(gtk_widget_get_parent_window(widget))) { - GdkPixbuf *gpix; - gpix = gdk_pixbuf_get_from_drawable(NULL, gtk_widget_get_parent_window(widget), NULL, x, y, 0, 0, width, height); - setFillPixmap(gpix); - g_object_unref(gpix); - } -- -+ -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], area); - drawMenuCheck(window,style,state_type,x,y,width,height); -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], NULL); - } - return; - } -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], area); - drawCheckBox(window,style,state_type,(shadow_type==GTK_SHADOW_IN),x,y,width,height); -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], NULL); - } - - -@@ -1009,11 +1048,11 @@ draw_option(GtkStyle * style, - gint width, - gint height) - { -- if (gtkQtDebug) -+ if (gtkQtDebug) { - printf("Option (%d,%d,%d,%d) Widget: %s Detail: %s\n", x, y, width, height,gtk_widget_get_name(widget),detail); -+ } - -- if (gdk_window_is_viewable(gtk_widget_get_parent_window(widget))) -- { -+ if (gdk_window_is_viewable(gtk_widget_get_parent_window(widget))) { - GdkPixbuf *gpix; - gpix = gdk_pixbuf_get_from_drawable(NULL, gtk_widget_get_parent_window(widget),NULL, x, y, 0, 0, width, height); - setFillPixmap(gpix); -@@ -1022,11 +1061,16 @@ draw_option(GtkStyle * style, - - if (GTK_IS_MENU_ITEM(widget)) - { -- if (shadow_type == GTK_SHADOW_IN) -+ if (shadow_type == GTK_SHADOW_IN) { -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], area); - drawMenuCheck(window,style,state_type,x,y,width,height); -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], NULL); -+ } - return; - } -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], area); - drawRadioButton(window,style,state_type,(shadow_type==GTK_SHADOW_IN),x,y,width,height); -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], NULL); - } - - -@@ -1043,8 +1087,9 @@ draw_tab(GtkStyle * style, - gint width, - gint height) - { -- if (gtkQtDebug) -+ if (gtkQtDebug) { - printf("Tab (%d,%d,%d,%d) Widget: %s Detail: %s\n", x, y, width, height,gtk_widget_get_name(widget),detail); -+ } - - gtk_paint_box(style, window, state_type, shadow_type, area, widget, detail, x, y, width, height); - } -@@ -1218,11 +1263,15 @@ draw_box_gap(GtkStyle* style, - - if (width<0 || height<0) return; /* Eclipse really can be this stupid! */ - -- if (gtkQtDebug) -+ if (gtkQtDebug) { - printf("Box_gap (%d,%d,%d,%d) Widget: %s Detail: %s\n", x, y, width, height,gtk_widget_get_name(widget),detail); -+ } - -- if (DETAIL("notebook")) -+ if (DETAIL("notebook")) { -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], area); - drawTabFrame(window,style,state_type,x,y-2,width,height+2, gtk_notebook_get_tab_pos((GtkNotebook *)widget)); -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], NULL); -+ } - } - - -@@ -1245,8 +1294,9 @@ draw_extension(GtkStyle * style, - - sanitize_size (window, &width, &height); - -- if (gtkQtDebug) -+ if (gtkQtDebug) { - printf("Extension (%d,%d,%d,%d) Widget: %s Detail: %s\n", x, y, width, height,gtk_widget_get_name(widget),detail); -+ } - - gtk_paint_box(style, window, state_type, shadow_type, area, widget, detail, - x, y, width, height); -@@ -1265,8 +1315,9 @@ draw_focus (GtkStyle *style, - gint width, - gint height) - { -- if (gtkQtDebug) -+ if (gtkQtDebug) { - printf("Focus Rect (%d,%d,%d,%d) Widget: %s Detail: %s\n", x, y, width, height,gtk_widget_get_name(widget),detail); -+ } - - GtkWidget* parent = gtk_widget_get_parent(widget); - -@@ -1274,7 +1325,9 @@ draw_focus (GtkStyle *style, - GTK_IS_RADIO_BUTTON(widget) || - (parent && (GTK_IS_CLIST(parent) || GTK_IS_LIST(parent) || GTK_IS_TREE_VIEW(parent)))) - { -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], area); - drawFocusRect(window, style, x, y, width, height); -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], NULL); - } - return; - } -@@ -1293,24 +1346,31 @@ draw_slider(GtkStyle * style, - gint height, - GtkOrientation orientation) - { -- if (gtkQtDebug) -+ if (gtkQtDebug) { - printf("Slider (%d,%d,%d,%d) Widget: %s Detail: %s\n", x, y, width, height,gtk_widget_get_name(widget),detail); -+ } - -- if (DETAIL("slider")) -- { -+ if (DETAIL("slider")) { - GtkAdjustment* adj = gtk_range_get_adjustment(GTK_RANGE(widget)); - int widgetX, widgetY; - - GtkWidget* parent = widget; -- while (gtk_widget_get_parent(parent) != NULL) -+ while (gtk_widget_get_parent(parent) != NULL) { - parent = gtk_widget_get_parent(parent); -+ } - - gtk_widget_translate_coordinates(widget, parent, 0, 0, &widgetX, &widgetY); - -- if (orientation == GTK_ORIENTATION_VERTICAL) -+ if (orientation == GTK_ORIENTATION_VERTICAL) { -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], area); - drawScrollBarSlider(window, style, state_type, orientation, adj, x-1, y, width+2, height, y-widgetY, widget->allocation.height); -- else -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], NULL); -+ } -+ else { -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], area); - drawScrollBarSlider(window, style, state_type, orientation, adj, x, y-1, width, height+2, x-widgetX, widget->allocation.width); -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], NULL); -+ } - return; - } - } -@@ -1334,10 +1394,13 @@ draw_handle(GtkStyle * style, - - sanitize_size(window, &width, &height); - -- if (gtkQtDebug) -+ if (gtkQtDebug) { - printf("Handle (%d,%d,%d,%d) Widget: %s Detail: %s State Type: %d\n",x,y,width,height,gtk_widget_get_name(widget),detail, state_type); -- -+ } -+ -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], area); - drawSplitter(window,style,state_type,orientation,x,y,width,height); -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], NULL); - return; - } - diff --git a/redhat/applications/gtk-qt-engine/1387757695:a90aa09722d47f5f4009b089d8d874354899bdb8.diff b/redhat/applications/gtk-qt-engine/1387757695:a90aa09722d47f5f4009b089d8d874354899bdb8.diff deleted file mode 100644 index 2985283a6..000000000 --- a/redhat/applications/gtk-qt-engine/1387757695:a90aa09722d47f5f4009b089d8d874354899bdb8.diff +++ /dev/null @@ -1,435 +0,0 @@ -commit a90aa09722d47f5f4009b089d8d874354899bdb8 -Author: Timothy Pearson -Date: 1387757695 -0600 - - Fix Firefox scrollbars - -diff --git a/kcm_gtk/kcmgtk.cpp b/kcm_gtk/kcmgtk.cpp -index 28faded..ccd18c1 100644 ---- a/kcm_gtk/kcmgtk.cpp -+++ b/kcm_gtk/kcmgtk.cpp -@@ -185,6 +185,5 @@ KcmGtk::KcmGtk(TQWidget *parent, const char *name, const TQStringList&) - widget->styleIcon->setPixmap(iconLoader.loadIcon("style", KIcon::Desktop)); - widget->fontIcon->setPixmap(iconLoader.loadIcon("fonts", KIcon::Desktop)); -- widget->firefoxIcon->setPixmap(iconLoader.loadIcon("firefox", KIcon::Desktop)); - widget->keyboardIcon->setPixmap(iconLoader.loadIcon("keyboard", KIcon::Desktop)); - - getInstalledThemes(); -@@ -199,5 +198,4 @@ KcmGtk::KcmGtk(TQWidget *parent, const char *name, const TQStringList&) - connect(widget->emacsBox, TQT_SIGNAL(toggled(bool)), TQT_SLOT(itemChanged())); - connect(widget->fontChange, TQT_SIGNAL(clicked()), TQT_SLOT(fontChangeClicked())); -- connect(widget->firefoxFix, TQT_SIGNAL(clicked()), TQT_SLOT(firefoxFixClicked())); - connect(widget->emacsDetails, TQT_SIGNAL(clicked()), TQT_SLOT(emacsDetailsClicked())); - connect(widget->warning3, TQT_SIGNAL(clicked()), TQT_SLOT(searchPathsClicked())); -@@ -453,190 +451,6 @@ TQString KcmGtk::quickHelp() const - return i18n(""); - } - -- --void KcmGtk::firefoxFixClicked() --{ -- profiles.clear(); -- getProfiles(TQDir::homeDirPath() + "/.mozilla/firefox/", 0); -- getProfiles(TQDir::homeDirPath() + "/.thunderbird/", 1); -- -- TQString profilePath; -- if (profiles.count() == 0) -- { -- KMessageBox::error(this, i18n("No Mozilla profiles found"), i18n("Could not load Mozilla profiles")); -- return; -- } -- else if (profiles.count() == 1) -- { -- fixProfile(profiles.begin().data()); -- } -- else -- { -- KDialogBase* dialog = new KDialogBase(this, "", true, i18n("Mozilla profile"), KDialogBase::Ok | KDialogBase::Cancel); -- MozillaProfileWidget* w = new MozillaProfileWidget(dialog); -- w->profilesList->header()->hide(); -- w->profilesList->hideColumn(1); -- -- TQPixmap icon = KGlobal::iconLoader()->loadIcon("kuser", KIcon::Small); -- -- for ( TQMapIterator it = profiles.begin(); it != profiles.end(); ++it ) -- { -- KListViewItem* i = new KListViewItem(w->profilesList); -- i->setPixmap(0, icon); -- i->setText(0, it.key()); -- i->setText(1, it.data()); -- } -- -- dialog->setMainWidget(w); -- if (dialog->exec() == TQDialog::Rejected) -- { -- delete dialog; -- return; -- } -- -- TQListViewItemIterator it2(w->profilesList, TQListViewItemIterator::Selected); -- while (it2.current()) -- { -- KListViewItem* i = (KListViewItem*) it2.current(); -- ++it2; -- -- fixProfile(i->text(1)); -- } -- delete dialog; -- } -- -- KMessageBox::information(this, i18n("Your Mozilla profile was updated sucessfully. You must close and restart all Firefox and Thunderbird windows for the changes to take effect"), i18n("Mozilla profile")); --} -- --void KcmGtk::getProfiles(const TQString& basePath, int type) --{ -- TQString fileName = basePath + "/profiles.ini"; -- if (TQFile::exists(fileName)) -- { -- KConfig config(fileName, true, false); -- TQStringList groups = config.groupList(); -- -- for ( TQStringList::Iterator it = groups.begin(); it != groups.end(); ++it ) -- { -- if (!(*it).lower().startsWith("profile")) -- continue; -- -- config.setGroup(*it); -- TQString name = (type ? i18n("Thunderbird") : i18n("Firefox")) + " - " + config.readEntry("Name"); -- TQString path = config.readEntry("Path"); -- if (!path.startsWith("/")) -- path = basePath + path; -- profiles.insert(name, path); -- } -- } --} -- --void KcmGtk::fixProfile(const TQString& path) --{ -- if (!TQFile::exists(path + "/chrome")) -- { -- TQDir dir(path); -- dir.mkdir("chrome"); -- } -- -- TQString data = scrollBarCSS(); -- writeFirefoxCSS(path + "/chrome/userChrome.css", data); -- writeFirefoxCSS(path + "/chrome/userContent.css", data); --} -- --TQString KcmGtk::scrollBarCSS() --{ -- // The following code determines how many buttons are on a scrollbar -- // It works by looking at each pixel of the scrollbar's area not taken up by the groove, -- // and asking the style which subcontrol is at that location. -- TQScrollBar sbar(NULL); -- sbar.setOrientation(Qt::Horizontal); -- sbar.setValue(1); -- sbar.resize(200,25); -- -- TQRect rect = tqApp->style().querySubControlMetrics(TQStyle::CC_ScrollBar, &sbar, TQStyle::SC_ScrollBarGroove); -- -- bool back1 = false; -- bool forward1 = false; -- bool back2 = false; -- bool forward2 = false; -- -- TQStyle::SubControl sc = TQStyle::SC_None; -- for (TQPoint pos(0,7) ; pos.x()style().querySubControl(TQStyle::CC_ScrollBar, &sbar, pos); -- if (sc != sc2) -- { -- if (sc2 == TQStyle::SC_ScrollBarAddLine) forward1 = true; -- if (sc2 == TQStyle::SC_ScrollBarSubLine) back1 = true; -- sc = sc2; -- } -- } -- sc = TQStyle::SC_None; -- for (TQPoint pos(rect.x()+rect.width(),7) ; pos.x()<200 ; pos.setX(pos.x()+1)) -- { -- TQStyle::SubControl sc2 = tqApp->style().querySubControl(TQStyle::CC_ScrollBar, &sbar, pos); -- if (sc != sc2) -- { -- if (sc2 == TQStyle::SC_ScrollBarAddLine) forward2 = true; -- if (sc2 == TQStyle::SC_ScrollBarSubLine) back2 = true; -- sc = sc2; -- } -- } -- -- TQString upTop = (back1 ? "-moz-box" : "none"); -- TQString downTop = (forward1 ? "-moz-box" : "none"); -- TQString upBottom = (back2 ? "-moz-box" : "none"); -- TQString downBottom = (forward2 ? "-moz-box" : "none"); -- -- TQString data; -- data += "/* The following four lines were added by KDE */\n"; -- data += "scrollbarbutton[sbattr=\"scrollbar-up-top\"] { display: " + upTop + " !important; }\n"; -- data += "scrollbarbutton[sbattr=\"scrollbar-down-top\"] { display: " + downTop + " !important; }\n"; -- data += "scrollbarbutton[sbattr=\"scrollbar-up-bottom\"] { display: " + upBottom + " !important; }\n"; -- data += "scrollbarbutton[sbattr=\"scrollbar-down-bottom\"] { display: " + downBottom + " !important; }\n"; -- -- return data; --} -- --void KcmGtk::writeFirefoxCSS(const TQString& path, const TQString& data) --{ -- TQString fileData; -- TQFile file(path); -- if (file.open(IO_ReadOnly)) -- { -- TQTextStream stream(&file); -- for (;;) -- { -- TQString line = stream.readLine(); -- if (line.isNull()) -- break; -- -- if ((line == "# The following four lines were added by KDE") || -- (line == "/* The following four lines were added by KDE */")) -- { -- for (int i=0 ; i<4 ; i++) -- stream.readLine(); -- continue; -- } -- -- fileData += line + "\n"; -- } -- file.close(); -- } -- -- if (!file.open(IO_WriteOnly | IO_Truncate)) -- { -- KMessageBox::error(this, i18n("Could not write to %1").arg(path), i18n("Mozilla profile")); -- return; -- } -- TQTextStream stream(&file); -- stream << fileData << data; -- file.close(); -- -- return; --} -- - void KcmGtk::emacsDetailsClicked() - { - if (emacsDetailsDialog == NULL) -diff --git a/kcm_gtk/kcmgtk.h b/kcm_gtk/kcmgtk.h -index 542a043..2c04919 100644 ---- a/kcm_gtk/kcmgtk.h -+++ b/kcm_gtk/kcmgtk.h -@@ -71,7 +71,6 @@ public slots: - void styleChanged(); - void fontChangeClicked(); - void itemChanged(); -- void firefoxFixClicked(); - void emacsDetailsClicked(); - void searchPathsClicked(); - void searchPathsOk(); -@@ -82,10 +81,6 @@ public slots: - - private: - void updateFontPreview(); -- void getProfiles(const TQString& basePath, int type); -- void fixProfile(const TQString& path); -- TQString scrollBarCSS(); -- void writeFirefoxCSS(const TQString& path, const TQString& data); - void getInstalledThemes(); - - TQString env(TQString key); -diff --git a/kcm_gtk/kcmgtkwidget.ui b/kcm_gtk/kcmgtkwidget.ui -index 512a610..705655b 100644 ---- a/kcm_gtk/kcmgtkwidget.ui -+++ b/kcm_gtk/kcmgtkwidget.ui -@@ -481,118 +481,6 @@ - - - -- -- -- groupBox1 -- -- -- -- 5 -- 4 -- 0 -- 0 -- -- -- -- Firefox and Thunderbird -- -- -- -- unnamed -- -- -- -- layout7_2_2 -- -- -- -- unnamed -- -- -- -- firefoxIcon -- -- -- true -- -- -- -- -- spacer3_2_2 -- -- -- Vertical -- -- -- Expanding -- -- -- -- 20 -- 31 -- -- -- -- -- -- -- -- layout12 -- -- -- -- unnamed -- -- -- -- textLabel1 -- -- -- Scrollbar buttons may sometimes be displayed incorrectly in Firefox and Thunderbird. This can be fixed by installing some files into your Mozilla profile. -- -- -- WordBreak|AlignVCenter -- -- -- -- -- layout11 -- -- -- -- unnamed -- -- -- -- firefoxFix -- -- -- I&nstall scrollbar fix... -- -- -- -- -- spacer11 -- -- -- Horizontal -- -- -- Expanding -- -- -- -- 101 -- 21 -- -- -- -- -- -- -- -- -- - - - textLabel1_2 -@@ -634,7 +522,6 @@ - fontChange - emacsBox - emacsDetails -- firefoxFix - - - -diff --git a/src/qt_qt_wrapper.cpp b/src/qt_qt_wrapper.cpp -index 928aef3..eebcc93 100644 ---- a/src/qt_qt_wrapper.cpp -+++ b/src/qt_qt_wrapper.cpp -@@ -2085,7 +2085,7 @@ void setRcProperties(GtkRcStyle* rc_style, int forceRecreate) - stream << parse_rc_string("GtkScrollbar::stepper-size = " + TQString::number(tqApp->style().querySubControlMetrics(TQStyle::CC_ScrollBar, &sbar, TQStyle::SC_ScrollBarSubLine).width() - 1), "*"); - - stream << parse_rc_string("GtkScrollbar::min-slider-length = " + TQString::number(tqApp->style().pixelMetric(TQStyle::PM_ScrollBarSliderMin)), "*"); -- stream << parse_rc_string("GtkScrollbar::slider-width = " + TQString::number(tqApp->style().pixelMetric(TQStyle::PM_ScrollBarExtent)-2), "*"); -+ stream << parse_rc_string("GtkScrollbar::slider-width = " + TQString::number(tqApp->style().pixelMetric(TQStyle::PM_ScrollBarExtent)), "*"); - - stream << parse_rc_string("GtkButton::child-displacement-x = " + TQString::number(tqApp->style().pixelMetric(TQStyle::PM_ButtonShiftHorizontal)), "*"); - stream << parse_rc_string("GtkButton::child-displacement-y = " + TQString::number(tqApp->style().pixelMetric(TQStyle::PM_ButtonShiftVertical)), "*"); -diff --git a/src/qt_theme_draw.c b/src/qt_theme_draw.c -index e84c4f7..4a2ee12 100644 ---- a/src/qt_theme_draw.c -+++ b/src/qt_theme_draw.c -@@ -506,13 +506,16 @@ draw_arrow(GtkStyle* style, - { - sanitize_size(window, &width, &height); - -- if (gtkQtDebug) -+ if (gtkQtDebug) { - printf("Arrow (%d,%d,%d,%d) Widget: %s Detail: %s\n", x, y, width, height,gtk_widget_get_name(widget),detail); -- -- if (DETAIL("hscrollbar") || DETAIL("vscrollbar")) -+ } -+ -+ if (DETAIL("hscrollbar") || DETAIL("vscrollbar")) { - return; -- if (DETAIL("spinbutton")) -+ } -+ if (DETAIL("spinbutton")) { - return; -+ } - if (DETAIL("notebook")) - { - drawArrow(window, style, state_type, arrow_type, x, y, width, height); -@@ -688,7 +691,12 @@ draw_box(GtkStyle * style, - int orientation = ((width>height) ? GTK_ORIENTATION_HORIZONTAL : GTK_ORIENTATION_VERTICAL); - - if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], area); -- drawScrollBar(window, style, state_type, orientation, adj, x, y, width, height); -+ if (orientation == GTK_ORIENTATION_VERTICAL) { -+ drawScrollBar(window, style, state_type, orientation, adj, x+1, y, width, height); -+ } -+ else { -+ drawScrollBar(window, style, state_type, orientation, adj, x, y+1, width, height); -+ } - if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], NULL); - } - return; -@@ -1363,12 +1371,12 @@ draw_slider(GtkStyle * style, - - if (orientation == GTK_ORIENTATION_VERTICAL) { - if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], area); -- drawScrollBarSlider(window, style, state_type, orientation, adj, x-1, y, width+2, height, y-widgetY, widget->allocation.height); -+ drawScrollBarSlider(window, style, state_type, orientation, adj, x, y, width, height, y-widgetY, widget->allocation.height); - if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], NULL); - } - else { - if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], area); -- drawScrollBarSlider(window, style, state_type, orientation, adj, x, y-1, width, height+2, x-widgetX, widget->allocation.width); -+ drawScrollBarSlider(window, style, state_type, orientation, adj, x, y, width, height, x-widgetX, widget->allocation.width); - if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], NULL); - } - return; diff --git a/redhat/applications/gtk-qt-engine/1387965535:0330b848db129b3dc4daa2a57272ec3b2fb7984c.diff b/redhat/applications/gtk-qt-engine/1387965535:0330b848db129b3dc4daa2a57272ec3b2fb7984c.diff deleted file mode 100644 index 66b206591..000000000 --- a/redhat/applications/gtk-qt-engine/1387965535:0330b848db129b3dc4daa2a57272ec3b2fb7984c.diff +++ /dev/null @@ -1,138 +0,0 @@ -commit 0330b848db129b3dc4daa2a57272ec3b2fb7984c -Author: Timothy Pearson -Date: 1387965535 -0600 - - Fix Firefox text edit widget glitches - Clean up minor build warnings - -diff --git a/src/qt_theme_draw.c b/src/qt_theme_draw.c -index 4a2ee12..c7992d5 100644 ---- a/src/qt_theme_draw.c -+++ b/src/qt_theme_draw.c -@@ -29,7 +29,7 @@ - extern gboolean tde_showIconsOnPushButtons; - - static GdkPixbuf * (*stockRenderIcon)() = NULL; --static void * (*stockDrawString)() = NULL; -+// static void * (*stockDrawString)() = NULL; - - static void qtengine_style_init (QtEngineStyle *style); - static void qtengine_style_class_init (QtEngineStyleClass *klass); -@@ -128,13 +128,17 @@ draw_hline(GtkStyle* style, - gint x2, - gint y) - { -- if (gtkQtDebug) -+ if (gtkQtDebug) { - printf("HLINE (%d,%p,%d) Widget: %s Detail: %s\n",x1,y1,y,gtk_widget_get_name(widget),detail); -+ } - -- if (DETAIL("vscale")) -+ if (DETAIL("vscale")) { - return; -+ } - -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], area); - drawHLine(window,style,state_type,y,x1,x2); -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], NULL); - } - - -@@ -149,13 +153,17 @@ draw_vline(GtkStyle* style, - gint yDest, - gint x) - { -- if (gtkQtDebug) -+ if (gtkQtDebug) { - printf("VLINE (%d,%d,%d) Widget: %s Detail: %s\n",ySource ,yDest ,x,gtk_widget_get_name(widget),detail); -+ } - - -- if (DETAIL("hscale")) -+ if (DETAIL("hscale")) { - return; -+ } -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], area); - drawVLine(window,style,state_type,x,ySource,yDest); -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], NULL); - } - - static void -@@ -192,7 +200,9 @@ draw_shadow(GtkStyle *style, - return; - if (DETAIL("entry")) - { -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], area); - drawLineEdit(window,style,state_type,gtk_widget_is_focus(widget),x,y,width,height); -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], NULL); - return; - } - if (DETAIL("frame") || DETAIL("trough") || DETAIL("viewport")) -@@ -200,7 +210,9 @@ draw_shadow(GtkStyle *style, - if (!GTK_IS_SCALE(widget)) - { - /*printf("Frame (%d,%d) %dx%d %d %d\n", x,y,width,height,state_type, shadow_type);*/ -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], area); - drawFrame(window,style,state_type,shadow_type,x,y,width,height); -+ if (area) gdk_gc_set_clip_rectangle(style->bg_gc[state_type], NULL); - return; - } - } -@@ -644,20 +656,20 @@ draw_diamond(GtkStyle * style, - { - } - --static void --draw_string(GtkStyle *style, -- GdkWindow *window, -- GtkStateType state_type, -- GdkRectangle *area, -- GtkWidget *widget, -- const gchar *detail, -- gint x, -- gint y, -- const gchar *string) --{ -- if (gtkQtDebug) -- printf("STRING Widget: %s Detail: %s\n",gtk_widget_get_name(widget),detail); --} -+// static void -+// draw_string(GtkStyle *style, -+// GdkWindow *window, -+// GtkStateType state_type, -+// GdkRectangle *area, -+// GtkWidget *widget, -+// const gchar *detail, -+// gint x, -+// gint y, -+// const gchar *string) -+// { -+// if (gtkQtDebug) -+// printf("STRING Widget: %s Detail: %s\n",gtk_widget_get_name(widget),detail); -+// } - - static void - draw_box(GtkStyle * style, -@@ -1464,13 +1476,11 @@ void draw_layout (GtkStyle *style, - PangoAttrList *layoutattr; - - const gchar *text; -- gint text_length = 0; - gint text_bytelen = 0; - text = pango_layout_get_text (layout); - if (text != 0) - { - PangoAttribute *textcolorattr; -- text_length = g_utf8_strlen (text, -1); - text_bytelen = strlen (text); - - textcolorattr = pango_attr_foreground_new(color.red, color.green, color.blue); -@@ -2040,7 +2050,7 @@ qtengine_style_class_init (QtEngineStyleClass *klass) - parent_class = g_type_class_peek_parent (klass); - - stockRenderIcon = style_class->render_icon; -- stockDrawString = style_class->draw_string; -+// stockDrawString = style_class->draw_string; - - style_class->render_icon = draw_icon; - diff --git a/redhat/applications/gtk-qt-engine/gtk-qt-engine-3.5.13-fix_glib_include.patch b/redhat/applications/gtk-qt-engine/gtk-qt-engine-3.5.13-fix_glib_include.patch deleted file mode 100644 index caf67e13b..000000000 --- a/redhat/applications/gtk-qt-engine/gtk-qt-engine-3.5.13-fix_glib_include.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- gtk-qt-engine/src/qt_theme_draw.c.ORI 2012-05-01 19:52:05.317334548 +0200 -+++ gtk-qt-engine/src/qt_theme_draw.c 2012-05-01 19:54:50.474099070 +0200 -@@ -3,7 +3,7 @@ - #include - #include - #include --#include -+#include - - #ifdef HAVE_BONOBO - #include diff --git a/redhat/applications/gtk-qt-engine/gtk-qt-engine-3.5.13.1.spec b/redhat/applications/gtk-qt-engine/gtk-qt-engine-3.5.13.1.spec deleted file mode 100644 index c17e4ce0b..000000000 --- a/redhat/applications/gtk-qt-engine/gtk-qt-engine-3.5.13.1.spec +++ /dev/null @@ -1,149 +0,0 @@ -# Default version for this component -%define kdecomp gtk-qt-engine - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: theme engine using Qt for GTK+ 2.x and Trinity -Version: 0.8 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz -Source1: gtk-qt-engine.rc.sh -Source2: gtkrc-2.0-kde4 -Source3: gtkrc-2.0-kde-kde4 - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -The GTK-Qt Theme Engine (also known as gtk-qt-engine) is a GTK 2 theme engine -that calls Qt to do the actual drawing. This makes your GTK 2 applications -look almost like real Qt applications and gives you a more unified desktop -experience. - -Please note that this package is targeted at Trinity users and therefore provides -a way to configure it from within KControl. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Renames the '.po' files -for f in po/*/*.po; do - pushd ${f%/*} - mv -f *.po gtk-qt-engine.po - popd -done - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "CMakeLists.txt" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DDATA_INSTALL_DIR=%{tde_datadir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - .. - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%find_lang %{kdecomp} - -# Adds TDE's specific GTKRC -%__install -D -m 644 %{SOURCE1} %{buildroot}%{tde_datadir}/kgtk/gtk-qt-engine.rc.sh -%__install -D -m 644 %{SOURCE2} %{buildroot}%{tde_datadir}/kgtk/.gtkrc-2.0-kde4 -%__install -D -m 644 %{SOURCE3} %{buildroot}%{tde_datadir}/kgtk/.gtkrc-2.0-kde-kde4 - -%clean -%__rm -rf %{buildroot} - - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README TODO -%{tde_tdelibdir}/kcm_kcmgtk.la -%{tde_tdelibdir}/kcm_kcmgtk.so -%{tde_appdir}/kcmgtk.desktop -%{tde_datadir}/kgtk/gtk-qt-engine.rc.sh -%{tde_datadir}/kgtk/.gtkrc-2.0-kde4 -%{tde_datadir}/kgtk/.gtkrc-2.0-kde-kde4 - -# The following files are outside TDE's directory -%{_libdir}/gtk-2.0/2.10.0/engines/libqtengine.so -%{_datadir}/themes/Qt/gtk-2.0/gtkrc - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.8-4 -- Initial release for TDE 3.5.13.1 - -* Mon Aug 27 2012 Francois Andriot - 0.8-3 -- Add missing gtkrc files - -* Tue May 01 2012 Francois Andriot - 0.8-2 -- Rebuilt for Fedora 17 -- Fix FTBFS with newer glib -- Removes useless post and postun - -* Sun Nov 20 2011 Francois Andriot - 0.8-1 -- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/gtk-qt-engine/gtk-qt-engine-3.5.13.2.spec b/redhat/applications/gtk-qt-engine/gtk-qt-engine-3.5.13.2.spec deleted file mode 100644 index d6c1a5311..000000000 --- a/redhat/applications/gtk-qt-engine/gtk-qt-engine-3.5.13.2.spec +++ /dev/null @@ -1,146 +0,0 @@ -# Default version for this component -%define tde_pkg gtk-qt-engine -%define tde_version 3.5.13.2 - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tde_pkg} -Summary: theme engine using Qt for GTK+ 2.x and Trinity -Version: 0.8 -Release: %{?!preversion:7}%{?preversion:6_%{preversion}}%{?dist} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz -Source1: gtk-qt-engine.rc.sh -Source2: gtkrc-2.0-kde4 -Source3: gtkrc-2.0-kde-kde4 - -# Fix severe iceweasel/icedove tab bar corruption -# Clean up minor build warnings -Patch1: 1383169502:f181fbbb337a75257089e64afabd04dac2e1d466.diff -# Fix numerous drawing glitches in Firefox -Patch2: 1387752298:6e6dbb068e03a8bb818a76ba774d6f94ade7389f.diff -# Fix Firefox scrollbars -Patch3: 1387757695:a90aa09722d47f5f4009b089d8d874354899bdb8.diff -# Fix Firefox text edit widget glitches -# Clean up minor build warnings -Patch4: 1387965535:0330b848db129b3dc4daa2a57272ec3b2fb7984c.diff - -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-arts-devel >= 1:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: gettext - - -%description -The GTK-Qt Theme Engine (also known as gtk-qt-engine) is a GTK 2 theme engine -that calls Qt to do the actual drawing. This makes your GTK 2 applications -look almost like real Qt applications and gives you a more unified desktop -experience. - -Please note that this package is targeted at Trinity users and therefore provides -a way to configure it from within KControl. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2%{?preversion:~%{preversion}} - -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 - - -%build -unset QTDIR QTINC QTLIB -. /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DDATA_INSTALL_DIR=%{tde_datadir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - .. - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%find_lang gtkqtengine - -# Adds TDE's specific GTKRC -%__install -D -m 644 %{SOURCE1} %{buildroot}%{tde_datadir}/kgtk/gtk-qt-engine.rc.sh -%__install -D -m 644 %{SOURCE2} %{buildroot}%{tde_datadir}/kgtk/.gtkrc-2.0-kde4 -%__install -D -m 644 %{SOURCE3} %{buildroot}%{tde_datadir}/kgtk/.gtkrc-2.0-kde-kde4 - - -%clean -%__rm -rf %{buildroot} - - -%files -f gtkqtengine.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README TODO -%{tde_tdelibdir}/kcm_kcmgtk.la -%{tde_tdelibdir}/kcm_kcmgtk.so -%{tde_appdir}/kcmgtk.desktop -%{tde_datadir}/kgtk/gtk-qt-engine.rc.sh -%{tde_datadir}/kgtk/.gtkrc-2.0-kde4 -%{tde_datadir}/kgtk/.gtkrc-2.0-kde-kde4 - -# The following files are outside TDE's directory -%{_libdir}/gtk-2.0/2.10.0/engines/libqtengine.so -%{_datadir}/themes/Qt/gtk-2.0/gtkrc - - -%changelog diff --git a/redhat/applications/gtk-qt-engine/gtk-qt-engine-3.5.13.spec b/redhat/applications/gtk-qt-engine/gtk-qt-engine-3.5.13.spec deleted file mode 100644 index 88dcb55ab..000000000 --- a/redhat/applications/gtk-qt-engine/gtk-qt-engine-3.5.13.spec +++ /dev/null @@ -1,145 +0,0 @@ -# Default version for this component -%define kdecomp gtk-qt-engine - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: theme engine using Qt for GTK+ 2.x and Trinity -Version: 0.8 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz -Source1: gtk-qt-engine.rc.sh -Source2: gtkrc-2.0-kde4 -Source3: gtkrc-2.0-kde-kde4 - -# [gtk-qt-engine] Fix inclusion of 'glib.h' -Patch1: gtk-qt-engine-3.5.13-fix_glib_include.patch - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -The GTK-Qt Theme Engine (also known as gtk-qt-engine) is a GTK 2 theme engine -that calls Qt to do the actual drawing. This makes your GTK 2 applications -look almost like real Qt applications and gives you a more unified desktop -experience. - -Please note that this package is targeted at Trinity users and therefore provides -a way to configure it from within KControl. - - -%prep -%setup -q -n applications/%{kdecomp} -%patch1 -p1 - -# Renames the '.po' files -for f in po/*/*.po; do - pushd ${f%/*} - mv -f *.po gtk-qt-engine.po - popd -done - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "CMakeLists.txt" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -%if 0%{?rhel} || 0%{?fedora} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DDATA_INSTALL_DIR=%{tde_datadir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - .. - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%find_lang %{kdecomp} - -# Adds TDE's specific GTKRC -%__install -D -m 644 %{SOURCE1} %{buildroot}%{tde_datadir}/kgtk/gtk-qt-engine.rc.sh -%__install -D -m 644 %{SOURCE2} %{buildroot}%{tde_datadir}/kgtk/.gtkrc-2.0-kde4 -%__install -D -m 644 %{SOURCE3} %{buildroot}%{tde_datadir}/kgtk/.gtkrc-2.0-kde-kde4 - -%clean -%__rm -rf %{buildroot} - - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README TODO -%{tde_tdelibdir}/kcm_kcmgtk.la -%{tde_tdelibdir}/kcm_kcmgtk.so -%{tde_appdir}/kcmgtk.desktop -%{tde_datadir}/kgtk/gtk-qt-engine.rc.sh -%{tde_datadir}/kgtk/.gtkrc-2.0-kde4 -%{tde_datadir}/kgtk/.gtkrc-2.0-kde-kde4 - -# The following files are outside TDE's directory -%{_libdir}/gtk-2.0/2.10.0/engines/libqtengine.so -%{_datadir}/themes/Qt/gtk-2.0/gtkrc - - -%Changelog -* Mon Aug 27 2012 Francois Andriot - 0.8-3 -- Add missing gtkrc files - -* Tue May 01 2012 Francois Andriot - 0.8-2 -- Rebuilt for Fedora 17 -- Fix FTBFS with newer glib -- Removes useless post and postun - -* Sun Nov 20 2011 Francois Andriot - 0.8-1 -- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/gwenview-i18n/gwenview-i18n-3.5.13.1.spec b/redhat/applications/gwenview-i18n/gwenview-i18n-3.5.13.1.spec deleted file mode 100644 index c26279a74..000000000 --- a/redhat/applications/gwenview-i18n/gwenview-i18n-3.5.13.1.spec +++ /dev/null @@ -1,180 +0,0 @@ -# Default version for this component -%define kdecomp gwenview-i18n - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Gwenview is an image viewer for KDE. -Version: 1.4.2 -Release: 1%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildArch: noarch - -Source0: %{kdecomp}-3.5.13.1.tar.gz - - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-arts-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -# EXIV2 support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}exiv2-devel -%endif -%if 0%{?suse_version} -BuildRequires: libexiv2-devel -%endif -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: exiv2-devel -%endif - -%if "%{?tde_prefix}" == "/usr" -Conflicts: kdegraphics -%endif - - -%description -Gwenview is a fast and easy to use image viewer/browser for TDE. -All common image formats are supported, such as PNG(including transparency), -JPEG(including EXIF tags and lossless transformations), GIF, XCF (Gimp -image format), BMP, XPM and others. Standard features include slideshow, -fullscreen view, image thumbnails, drag'n'drop, image zoom, full network -transparency using the KIO framework, including basic file operations and -browsing in compressed archives, non-blocking GUI with adjustable views. -Gwenview also provides image and directory KParts components for use e.g. in -Konqueror. Additional features, such as image renaming, comparing, -converting, and batch processing, HTML gallery and others are provided by the -KIPI image framework. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; source /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -./configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --docdir=%{tde_tdedocdir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - - - -## File lists -%find_lang gwenview - -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> gwenview.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - - -# Removes useless files (-devel ?) -%__rm -f %{?buildroot}%{tde_libdir}/libgwenviewcore.so - -%clean -%__rm -rf %{buildroot} - - -%post -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig - -%postun -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig - -%files -f gwenview.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING TODO - -%changelog -* Wed Oct 03 2012 Francois Andriot - 1.4.2-1 -- Initial release for TDE 3.5.13.1 - diff --git a/redhat/applications/gwenview-i18n/gwenview-i18n-3.5.13.2.spec b/redhat/applications/gwenview-i18n/gwenview-i18n-3.5.13.2.spec deleted file mode 100644 index f04999d0e..000000000 --- a/redhat/applications/gwenview-i18n/gwenview-i18n-3.5.13.2.spec +++ /dev/null @@ -1,167 +0,0 @@ -# Default version for this component -%define tde_pkg gwenview-i18n -%define tde_version 3.5.13.2 - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tde_pkg} -Summary: Internationalization support for Gwenview [Trinity] -Version: 1.4.2 -Release: %{?!preversion:3}%{?preversion:2_%{preversion}}%{?dist} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildArch: noarch - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - - -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-arts-devel >= 1:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: gettext - -# EXIV2 support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}exiv2-devel -%endif -%if 0%{?suse_version} -BuildRequires: libexiv2-devel -%endif -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: exiv2-devel -%endif - -%if "%{?tde_prefix}" == "/usr" -Conflicts: kdegraphics -%endif - - -%description -Gwenview is a fast and easy to use image viewer/browser for TDE. -All common image formats are supported, such as PNG(including transparency), -JPEG(including EXIF tags and lossless transformations), GIF, XCF (Gimp -image format), BMP, XPM and others. Standard features include slideshow, -fullscreen view, image thumbnails, drag'n'drop, image zoom, full network -transparency using the KIO framework, including basic file operations and -browsing in compressed archives, non-blocking GUI with adjustable views. -Gwenview also provides image and directory KParts components for use e.g. in -Konqueror. Additional features, such as image renaming, comparing, -converting, and batch processing, HTML gallery and others are provided by the -KIPI image framework. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; source /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export KDEDIR="%{tde_prefix}" - -./configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --docdir=%{tde_tdedocdir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --enable-final \ - --enable-closure \ - --enable-rpath - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -## File lists -%find_lang gwenview - -# Removes useless files (-devel ?) -%__rm -f %{?buildroot}%{tde_libdir}/libgwenviewcore.so - - -%clean -%__rm -rf %{buildroot} - - -%post -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig - - -%postun -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig - - -%files -f gwenview.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING TODO -%lang(da) %{tde_tdedocdir}/HTML/da/gwenview/ -%lang(de) %{tde_tdedocdir}/HTML/de/gwenview/ -%lang(et) %{tde_tdedocdir}/HTML/et/gwenview/ -%lang(fr) %{tde_tdedocdir}/HTML/fr/gwenview/ -%lang(it) %{tde_tdedocdir}/HTML/it/gwenview/ -%lang(nl) %{tde_tdedocdir}/HTML/nl/gwenview/ -%lang(pl) %{tde_tdedocdir}/HTML/pl/gwenview/ -%lang(pt) %{tde_tdedocdir}/HTML/pt/gwenview/ -%lang(pt_BR) %{tde_tdedocdir}/HTML/pt_BR/gwenview/ -%lang(ru) %{tde_tdedocdir}/HTML/ru/gwenview/ -%lang(sv) %{tde_tdedocdir}/HTML/sv/gwenview/ - - -%changelog diff --git a/redhat/applications/gwenview/gwenview-3.5.12.spec b/redhat/applications/gwenview/gwenview-3.5.12.spec deleted file mode 100644 index bbe7a61fe..000000000 --- a/redhat/applications/gwenview/gwenview-3.5.12.spec +++ /dev/null @@ -1,153 +0,0 @@ -# Default version for this component -%define kdecomp gwenview -%define version 1.4.2 -%define release 3 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%define _docdir %{_prefix}/share/doc -%endif - -# TDE 3.5.12 specific building variables -BuildRequires: autoconf automake libtool m4 -%define tde_docdir %{_docdir} -%define tde_includedir %{_includedir}/kde -%define tde_libdir %{_libdir}/kde3 - - -Name: trinity-%{kdecomp} -Summary: Gwenview is an image viewer for KDE. -Version: %{?version} -Release: %{?release}%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Source0: %{kdecomp}-3.5.12.tar.gz - - - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-kdelibs-devel -BuildRequires: trinity-kdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext -BuildRequires: exiv2-devel - -%if "%{?_prefix}" == "/usr" -Conflicts: kdegraphics -%endif - - -%description -Gwenview is a fast and easy to use image viewer/browser for KDE. -All common image formats are supported, such as PNG(including transparency), -JPEG(including EXIF tags and lossless transformations), GIF, XCF (Gimp -image format), BMP, XPM and others. Standard features include slideshow, -fullscreen view, image thumbnails, drag'n'drop, image zoom, full network -transparency using the KIO framework, including basic file operations and -browsing in compressed archives, non-blocking GUI with adjustable views. -Gwenview also provides image and directory KParts components for use e.g. in -Konqueror. Additional features, such as image renaming, comparing, -converting, and batch processing, HTML gallery and others are provided by the -KIPI image framework. - - -%prep -%setup -q -n applications/%{kdecomp} - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -export PATH="%{_bindir}:${PATH}" -export LDFLAGS="-L%{_libdir} -I%{_includedir}" - -%configure \ - --disable-rpath \ - --with-extra-includes=%{_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{_bindir}:${PATH}" -%__rm -rf %{buildroot} -%make_install - - - -## File lists -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : - -%postun -touch --no-create %{_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{_bindir}/* -%{_libdir}/*.so.* -%{_datadir}/applications/*/*.desktop -%{_datadir}/services/*.desktop -%{_datadir}/apps/*/ -%{_datadir}/config.kcfg/* -%{tde_docdir}/HTML/en/*/ -%{_datadir}/icons/*/*/*/* -%{_mandir}/man*/* - -%{_libdir}/libkdeinit_gwenview.so -%exclude %{_libdir}/libgwenviewcore.so - -%exclude %{_libdir}/*.la -%exclude %{_libdir}/*/*.so -%exclude %{_libdir}/*/*.la - - - -%Changelog -* Tue Sep 14 2011 Francois Andriot - 1.4.2-3 -- Import to GIT - -* Wed Aug 24 2011 Francois Andriot - 1.4.2-2 -- Add fix for Fedora 15 - -* Mon Aug 22 2011 Francois Andriot - 1.4.2-1 -- Correct macro to install under "/opt", if desired - -* Sat Aug 13 2011 Francois Andriot - 1.4.2-0 -- Initial release for RHEL 6.0 - diff --git a/redhat/applications/gwenview/gwenview-3.5.13-fix_alphabet_string_error.patch b/redhat/applications/gwenview/gwenview-3.5.13-fix_alphabet_string_error.patch deleted file mode 100644 index 4b9f93e75..000000000 --- a/redhat/applications/gwenview/gwenview-3.5.13-fix_alphabet_string_error.patch +++ /dev/null @@ -1,19 +0,0 @@ -commit 9cb99cdb5337032764d897c94a5e7c8803784d4e -Author: Timothy Pearson -Date: 1327529624 -0600 - - Fix linear alphabet string errors - -diff --git a/src/gvcore/xpm.cpp b/src/gvcore/xpm.cpp -index a021c55..f9018b8 100644 ---- a/src/gvcore/xpm.cpp -+++ b/src/gvcore/xpm.cpp -@@ -308,7 +308,7 @@ static const char* xpm_color_name( int cpp, int index ) - { - static char returnable[5]; - static const char code[] = ".#abcdefghijklmnopqrstuvwxyzABCD" -- "EFGHIJKLMNOPTQRSTUVWXYZ0123456789"; -+ "EFGHIJKLMNOPQRSTUVWXYZ0123456789"; - // cpp is limited to 4 and index is limited to 64^cpp - if ( cpp > 1 ) { - if ( cpp > 2 ) { diff --git a/redhat/applications/gwenview/gwenview-3.5.13-fix_building_libpng15.patch b/redhat/applications/gwenview/gwenview-3.5.13-fix_building_libpng15.patch deleted file mode 100644 index b8220bd7b..000000000 --- a/redhat/applications/gwenview/gwenview-3.5.13-fix_building_libpng15.patch +++ /dev/null @@ -1,146 +0,0 @@ -commit 303be4553ad5bbe79d50a8708cf1f8f0e4d220af -Author: Darrell Anderson -Date: 1334285908 -0500 - - Fix building with libpng 1.5. - -diff --git a/src/gvcore/pngformattype.cpp b/src/gvcore/pngformattype.cpp -index 77bf7b3..8da8089 100644 ---- a/src/gvcore/pngformattype.cpp -+++ b/src/gvcore/pngformattype.cpp -@@ -211,7 +211,7 @@ void setup_qt( TQImage& image, png_structp png_ptr, png_infop info_ptr ) - - if ( color_type == PNG_COLOR_TYPE_GRAY ) { - // Black & White or 8-bit grayscale -- if ( bit_depth == 1 && info_ptr->channels == 1 ) { -+ if ( bit_depth == 1 && png_get_channels(png_ptr, info_ptr) == 1 ) { - png_set_invert_mono( png_ptr ); - png_read_update_info( png_ptr, info_ptr ); - if (!image.create( width, height, 1, 2, TQImage::BigEndian )) -@@ -246,7 +246,11 @@ void setup_qt( TQImage& image, png_structp png_ptr, png_infop info_ptr ) - } - if ( png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS) ) { - #if PNG_LIBPNG_VER_MAJOR>1 || ( PNG_LIBPNG_VER_MAJOR==1 && PNG_LIBPNG_VER_MINOR>=4 ) -- const int g = info_ptr->trans_color.gray; -+ png_bytep trans_alpha; -+ int num_trans; -+ png_color_16p trans_color; -+ png_get_tRNS(png_ptr, info_ptr, &trans_alpha, &num_trans, &trans_color); -+ const int g = trans_color->gray; - #else - const int g = info_ptr->trans_values.gray; - #endif -@@ -256,9 +260,13 @@ void setup_qt( TQImage& image, png_structp png_ptr, png_infop info_ptr ) - } - } - } -- } else if ( color_type == PNG_COLOR_TYPE_PALETTE -+ } else { -+ png_colorp palette; -+ int num_palette; -+ png_get_PLTE(png_ptr, info_ptr, &palette, &num_palette); -+ if ( color_type == PNG_COLOR_TYPE_PALETTE - && png_get_valid(png_ptr, info_ptr, PNG_INFO_PLTE) -- && info_ptr->num_palette <= 256 ) -+ && num_palette <= 256 ) - { - // 1-bit and 8-bit color - if ( bit_depth != 1 ) -@@ -266,20 +274,28 @@ void setup_qt( TQImage& image, png_structp png_ptr, png_infop info_ptr ) - png_read_update_info( png_ptr, info_ptr ); - png_get_IHDR(png_ptr, info_ptr, - &width, &height, &bit_depth, &color_type, 0, 0, 0); -- if (!image.create(width, height, bit_depth, info_ptr->num_palette, -+ if (!image.create(width, height, bit_depth, num_palette, - TQImage::BigEndian)) - return; - int i = 0; - if ( png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS) ) { -+ png_bytep trans_alpha; -+ int num_trans; -+ png_color_16p trans_color; -+ png_get_tRNS(png_ptr, info_ptr, &trans_alpha, &num_trans, &trans_color); - image.setAlphaBuffer( TRUE ); -- while ( i < info_ptr->num_trans ) { -+ while ( i < num_trans ) { - image.setColor(i, tqRgba( -- info_ptr->palette[i].red, -- info_ptr->palette[i].green, -- info_ptr->palette[i].blue, --#if PNG_LIBPNG_VER_MAJOR>1 || ( PNG_LIBPNG_VER_MAJOR==1 && PNG_LIBPNG_VER_MINOR>=4 ) -- info_ptr->trans_alpha[i] --#else -+ palette[i].red, -+ palette[i].green, -+ palette[i].blue, -+#if PNG_LIBPNG_VER_MAJOR>1 || ( PNG_LIBPNG_VER_MAJOR==1 && PNG_LIBPNG_VER_MINOR>=5 ) -+ trans_alpha[i] -+#endif -+#if ( PNG_LIBPNG_VER_MAJOR==1 && PNG_LIBPNG_VER_MINOR==4 ) -+ info_ptr->trans_alpha[i] -+#endif -+#if ( PNG_LIBPNG_VER_MAJOR==1 && PNG_LIBPNG_VER_MINOR<=3 ) - info_ptr->trans[i] - #endif - ) -@@ -287,11 +303,11 @@ void setup_qt( TQImage& image, png_structp png_ptr, png_infop info_ptr ) - i++; - } - } -- while ( i < info_ptr->num_palette ) { -+ while ( i < num_palette ) { - image.setColor(i, tqRgba( -- info_ptr->palette[i].red, -- info_ptr->palette[i].green, -- info_ptr->palette[i].blue, -+ palette[i].red, -+ palette[i].green, -+ palette[i].blue, - 0xff - ) - ); -@@ -326,12 +342,13 @@ void setup_qt( TQImage& image, png_structp png_ptr, png_infop info_ptr ) - } - - png_read_update_info(png_ptr, info_ptr); -- } -+ } - - // TQt==ARGB==Big(ARGB)==Little(BGRA) - if ( TQImage::systemByteOrder() == TQImage::LittleEndian ) { - png_set_bgr(png_ptr); - } -+ } - } - - -@@ -389,7 +406,7 @@ int PNGFormat::decode(TQImage& img, TQImageConsumer* cons, - return -1; - } - -- if (setjmp((png_ptr)->jmpbuf)) { -+ if (setjmp(png_jmpbuf(png_ptr))) { - png_destroy_read_struct(&png_ptr, &info_ptr, 0); - image = 0; - return -1; -@@ -417,7 +434,7 @@ int PNGFormat::decode(TQImage& img, TQImageConsumer* cons, - - if ( !png_ptr ) return 0; - -- if (setjmp(png_ptr->jmpbuf)) { -+ if (setjmp(png_jmpbuf(png_ptr))) { - png_destroy_read_struct(&png_ptr, &info_ptr, 0); - image = 0; - state = MovieStart; -@@ -484,7 +501,11 @@ void PNGFormat::end(png_structp png, png_infop info) - consumer->frameDone(TQPoint(offx,offy),r); - consumer->end(); - state = FrameStart; -+#if PNG_LIBPNG_VER_MAJOR>1 || ( PNG_LIBPNG_VER_MAJOR==1 && PNG_LIBPNG_VER_MINOR>=5 ) -+ unused_data = png_process_data_pause(png, 1); -+#else - unused_data = (int)png->buffer_size; // Since libpng doesn't tell us -+#endif - } - - #ifdef PNG_USER_CHUNKS_SUPPORTED diff --git a/redhat/applications/gwenview/gwenview-3.5.13-fix_ftbfs.patch b/redhat/applications/gwenview/gwenview-3.5.13-fix_ftbfs.patch deleted file mode 100644 index ade498fed..000000000 --- a/redhat/applications/gwenview/gwenview-3.5.13-fix_ftbfs.patch +++ /dev/null @@ -1,19 +0,0 @@ -commit 1ca2f7392842e9ffd76fbc5aefc51213eb9ce262 -Author: Timothy Pearson -Date: 1325190949 -0600 - - Fix FTBFS - -diff --git a/src/gvcore/imageviewconfig.kcfg b/src/gvcore/imageviewconfig.kcfg -index d93051a..e5c1e04 100644 ---- a/src/gvcore/imageviewconfig.kcfg -+++ b/src/gvcore/imageviewconfig.kcfg -@@ -2,7 +2,7 @@ - - - tqapplication.h -- palette.h -+ tqpalette.h - - - diff --git a/redhat/applications/gwenview/gwenview-3.5.13-fix_ftbfs_in_jpeg_code.patch b/redhat/applications/gwenview/gwenview-3.5.13-fix_ftbfs_in_jpeg_code.patch deleted file mode 100644 index b2935457f..000000000 --- a/redhat/applications/gwenview/gwenview-3.5.13-fix_ftbfs_in_jpeg_code.patch +++ /dev/null @@ -1,261 +0,0 @@ -commit ace6f27083b0acc2f30195f0d8908a9a346a5910 -Author: Timothy Pearson -Date: 1326325099 -0600 - - Fix FTBFS in jpeg code - -diff --git a/src/imageutils/jpegint.h b/src/imageutils/jpegint.h -index 9d00c59..95b00d4 100644 ---- a/src/imageutils/jpegint.h -+++ b/src/imageutils/jpegint.h -@@ -43,9 +43,9 @@ typedef enum { /* Operating modes for buffer controllers */ - - /* Master control module */ - struct jpeg_comp_master { -- JTQT_METHOD(void, prepare_for_pass, (j_compress_ptr cinfo)); -- JTQT_METHOD(void, pass_startup, (j_compress_ptr cinfo)); -- JTQT_METHOD(void, finish_pass, (j_compress_ptr cinfo)); -+ JMETHOD(void, prepare_for_pass, (j_compress_ptr cinfo)); -+ JMETHOD(void, pass_startup, (j_compress_ptr cinfo)); -+ JMETHOD(void, finish_pass, (j_compress_ptr cinfo)); - - /* State variables made visible to other modules */ - boolean call_pass_startup; /* True if pass_startup must be called */ -@@ -54,16 +54,16 @@ struct jpeg_comp_master { - - /* Main buffer control (downsampled-data buffer) */ - struct jpeg_c_main_controller { -- JTQT_METHOD(void, start_pass, (j_compress_ptr cinfo, J_BUF_MODE pass_mode)); -- JTQT_METHOD(void, process_data, (j_compress_ptr cinfo, -+ JMETHOD(void, start_pass, (j_compress_ptr cinfo, J_BUF_MODE pass_mode)); -+ JMETHOD(void, process_data, (j_compress_ptr cinfo, - JSAMPARRAY input_buf, JDIMENSION *in_row_ctr, - JDIMENSION in_rows_avail)); - }; - - /* Compression preprocessing (downsampling input buffer control) */ - struct jpeg_c_prep_controller { -- JTQT_METHOD(void, start_pass, (j_compress_ptr cinfo, J_BUF_MODE pass_mode)); -- JTQT_METHOD(void, pre_process_data, (j_compress_ptr cinfo, -+ JMETHOD(void, start_pass, (j_compress_ptr cinfo, J_BUF_MODE pass_mode)); -+ JMETHOD(void, pre_process_data, (j_compress_ptr cinfo, - JSAMPARRAY input_buf, - JDIMENSION *in_row_ctr, - JDIMENSION in_rows_avail, -@@ -74,23 +74,23 @@ struct jpeg_c_prep_controller { - - /* Coefficient buffer control */ - struct jpeg_c_coef_controller { -- JTQT_METHOD(void, start_pass, (j_compress_ptr cinfo, J_BUF_MODE pass_mode)); -- JTQT_METHOD(boolean, compress_data, (j_compress_ptr cinfo, -+ JMETHOD(void, start_pass, (j_compress_ptr cinfo, J_BUF_MODE pass_mode)); -+ JMETHOD(boolean, compress_data, (j_compress_ptr cinfo, - JSAMPIMAGE input_buf)); - }; - - /* Colorspace conversion */ - struct jpeg_color_converter { -- JTQT_METHOD(void, start_pass, (j_compress_ptr cinfo)); -- JTQT_METHOD(void, color_convert, (j_compress_ptr cinfo, -+ JMETHOD(void, start_pass, (j_compress_ptr cinfo)); -+ JMETHOD(void, color_convert, (j_compress_ptr cinfo, - JSAMPARRAY input_buf, JSAMPIMAGE output_buf, - JDIMENSION output_row, int num_rows)); - }; - - /* Downsampling */ - struct jpeg_downsampler { -- JTQT_METHOD(void, start_pass, (j_compress_ptr cinfo)); -- JTQT_METHOD(void, downsample, (j_compress_ptr cinfo, -+ JMETHOD(void, start_pass, (j_compress_ptr cinfo)); -+ JMETHOD(void, downsample, (j_compress_ptr cinfo, - JSAMPIMAGE input_buf, JDIMENSION in_row_index, - JSAMPIMAGE output_buf, - JDIMENSION out_row_group_index)); -@@ -100,9 +100,9 @@ struct jpeg_downsampler { - - /* Forward DCT (also controls coefficient quantization) */ - struct jpeg_forward_dct { -- JTQT_METHOD(void, start_pass, (j_compress_ptr cinfo)); -+ JMETHOD(void, start_pass, (j_compress_ptr cinfo)); - /* perhaps this should be an array??? */ -- JTQT_METHOD(void, forward_DCT, (j_compress_ptr cinfo, -+ JMETHOD(void, forward_DCT, (j_compress_ptr cinfo, - jpeg_component_info * compptr, - JSAMPARRAY sample_data, JBLOCKROW coef_blocks, - JDIMENSION start_row, JDIMENSION start_col, -@@ -111,23 +111,23 @@ struct jpeg_forward_dct { - - /* Entropy encoding */ - struct jpeg_entropy_encoder { -- JTQT_METHOD(void, start_pass, (j_compress_ptr cinfo, boolean gather_statistics)); -- JTQT_METHOD(boolean, encode_mcu, (j_compress_ptr cinfo, JBLOCKROW *MCU_data)); -- JTQT_METHOD(void, finish_pass, (j_compress_ptr cinfo)); -+ JMETHOD(void, start_pass, (j_compress_ptr cinfo, boolean gather_statistics)); -+ JMETHOD(boolean, encode_mcu, (j_compress_ptr cinfo, JBLOCKROW *MCU_data)); -+ JMETHOD(void, finish_pass, (j_compress_ptr cinfo)); - }; - - /* Marker writing */ - struct jpeg_marker_writer { -- JTQT_METHOD(void, write_file_header, (j_compress_ptr cinfo)); -- JTQT_METHOD(void, write_frame_header, (j_compress_ptr cinfo)); -- JTQT_METHOD(void, write_scan_header, (j_compress_ptr cinfo)); -- JTQT_METHOD(void, write_file_trailer, (j_compress_ptr cinfo)); -- JTQT_METHOD(void, write_tables_only, (j_compress_ptr cinfo)); -+ JMETHOD(void, write_file_header, (j_compress_ptr cinfo)); -+ JMETHOD(void, write_frame_header, (j_compress_ptr cinfo)); -+ JMETHOD(void, write_scan_header, (j_compress_ptr cinfo)); -+ JMETHOD(void, write_file_trailer, (j_compress_ptr cinfo)); -+ JMETHOD(void, write_tables_only, (j_compress_ptr cinfo)); - /* These routines are exported to allow insertion of extra markers */ - /* Probably only COM and APPn markers should be written this way */ -- JTQT_METHOD(void, write_marker_header, (j_compress_ptr cinfo, int marker, -+ JMETHOD(void, write_marker_header, (j_compress_ptr cinfo, int marker, - unsigned int datalen)); -- JTQT_METHOD(void, write_marker_byte, (j_compress_ptr cinfo, int val)); -+ JMETHOD(void, write_marker_byte, (j_compress_ptr cinfo, int val)); - }; - - -@@ -135,8 +135,8 @@ struct jpeg_marker_writer { - - /* Master control module */ - struct jpeg_decomp_master { -- JTQT_METHOD(void, prepare_for_output_pass, (j_decompress_ptr cinfo)); -- JTQT_METHOD(void, finish_output_pass, (j_decompress_ptr cinfo)); -+ JMETHOD(void, prepare_for_output_pass, (j_decompress_ptr cinfo)); -+ JMETHOD(void, finish_output_pass, (j_decompress_ptr cinfo)); - - /* State variables made visible to other modules */ - boolean is_dummy_pass; /* True during 1st pass for 2-pass quant */ -@@ -144,10 +144,10 @@ struct jpeg_decomp_master { - - /* Input control module */ - struct jpeg_input_controller { -- JTQT_METHOD(int, consume_input, (j_decompress_ptr cinfo)); -- JTQT_METHOD(void, reset_input_controller, (j_decompress_ptr cinfo)); -- JTQT_METHOD(void, start_input_pass, (j_decompress_ptr cinfo)); -- JTQT_METHOD(void, finish_input_pass, (j_decompress_ptr cinfo)); -+ JMETHOD(int, consume_input, (j_decompress_ptr cinfo)); -+ JMETHOD(void, reset_input_controller, (j_decompress_ptr cinfo)); -+ JMETHOD(void, start_input_pass, (j_decompress_ptr cinfo)); -+ JMETHOD(void, finish_input_pass, (j_decompress_ptr cinfo)); - - /* State variables made visible to other modules */ - boolean has_multiple_scans; /* True if file has multiple scans */ -@@ -156,18 +156,18 @@ struct jpeg_input_controller { - - /* Main buffer control (downsampled-data buffer) */ - struct jpeg_d_main_controller { -- JTQT_METHOD(void, start_pass, (j_decompress_ptr cinfo, J_BUF_MODE pass_mode)); -- JTQT_METHOD(void, process_data, (j_decompress_ptr cinfo, -+ JMETHOD(void, start_pass, (j_decompress_ptr cinfo, J_BUF_MODE pass_mode)); -+ JMETHOD(void, process_data, (j_decompress_ptr cinfo, - JSAMPARRAY output_buf, JDIMENSION *out_row_ctr, - JDIMENSION out_rows_avail)); - }; - - /* Coefficient buffer control */ - struct jpeg_d_coef_controller { -- JTQT_METHOD(void, start_input_pass, (j_decompress_ptr cinfo)); -- JTQT_METHOD(int, consume_data, (j_decompress_ptr cinfo)); -- JTQT_METHOD(void, start_output_pass, (j_decompress_ptr cinfo)); -- JTQT_METHOD(int, decompress_data, (j_decompress_ptr cinfo, -+ JMETHOD(void, start_input_pass, (j_decompress_ptr cinfo)); -+ JMETHOD(int, consume_data, (j_decompress_ptr cinfo)); -+ JMETHOD(void, start_output_pass, (j_decompress_ptr cinfo)); -+ JMETHOD(int, decompress_data, (j_decompress_ptr cinfo, - JSAMPIMAGE output_buf)); - /* Pointer to array of coefficient virtual arrays, or NULL if none */ - jvirt_barray_ptr *coef_arrays; -@@ -175,8 +175,8 @@ struct jpeg_d_coef_controller { - - /* Decompression postprocessing (color quantization buffer control) */ - struct jpeg_d_post_controller { -- JTQT_METHOD(void, start_pass, (j_decompress_ptr cinfo, J_BUF_MODE pass_mode)); -- JTQT_METHOD(void, post_process_data, (j_decompress_ptr cinfo, -+ JMETHOD(void, start_pass, (j_decompress_ptr cinfo, J_BUF_MODE pass_mode)); -+ JMETHOD(void, post_process_data, (j_decompress_ptr cinfo, - JSAMPIMAGE input_buf, - JDIMENSION *in_row_group_ctr, - JDIMENSION in_row_groups_avail, -@@ -187,12 +187,12 @@ struct jpeg_d_post_controller { - - /* Marker reading & parsing */ - struct jpeg_marker_reader { -- JTQT_METHOD(void, reset_marker_reader, (j_decompress_ptr cinfo)); -+ JMETHOD(void, reset_marker_reader, (j_decompress_ptr cinfo)); - /* Read markers until SOS or EOI. - * Returns same codes as are defined for jpeg_consume_input: - * JPEG_SUSPENDED, JPEG_REACHED_SOS, or JPEG_REACHED_EOI. - */ -- JTQT_METHOD(int, read_markers, (j_decompress_ptr cinfo)); -+ JMETHOD(int, read_markers, (j_decompress_ptr cinfo)); - /* Read a restart marker --- exported for use by entropy decoder only */ - jpeg_marker_parser_method read_restart_marker; - -@@ -207,8 +207,8 @@ struct jpeg_marker_reader { - - /* Entropy decoding */ - struct jpeg_entropy_decoder { -- JTQT_METHOD(void, start_pass, (j_decompress_ptr cinfo)); -- JTQT_METHOD(boolean, decode_mcu, (j_decompress_ptr cinfo, -+ JMETHOD(void, start_pass, (j_decompress_ptr cinfo)); -+ JMETHOD(boolean, decode_mcu, (j_decompress_ptr cinfo, - JBLOCKROW *MCU_data)); - - /* This is here to share code between baseline and progressive decoders; */ -@@ -217,21 +217,21 @@ struct jpeg_entropy_decoder { - }; - - /* Inverse DCT (also performs dequantization) */ --typedef JTQT_METHOD(void, inverse_DCT_method_ptr, -+typedef JMETHOD(void, inverse_DCT_method_ptr, - (j_decompress_ptr cinfo, jpeg_component_info * compptr, - JCOEFPTR coef_block, - JSAMPARRAY output_buf, JDIMENSION output_col)); - - struct jpeg_inverse_dct { -- JTQT_METHOD(void, start_pass, (j_decompress_ptr cinfo)); -+ JMETHOD(void, start_pass, (j_decompress_ptr cinfo)); - /* It is useful to allow each component to have a separate IDCT method. */ - inverse_DCT_method_ptr inverse_DCT[MAX_COMPONENTS]; - }; - - /* Upsampling (note that upsampler must also call color converter) */ - struct jpeg_upsampler { -- JTQT_METHOD(void, start_pass, (j_decompress_ptr cinfo)); -- JTQT_METHOD(void, upsample, (j_decompress_ptr cinfo, -+ JMETHOD(void, start_pass, (j_decompress_ptr cinfo)); -+ JMETHOD(void, upsample, (j_decompress_ptr cinfo, - JSAMPIMAGE input_buf, - JDIMENSION *in_row_group_ctr, - JDIMENSION in_row_groups_avail, -@@ -244,20 +244,20 @@ struct jpeg_upsampler { - - /* Colorspace conversion */ - struct jpeg_color_deconverter { -- JTQT_METHOD(void, start_pass, (j_decompress_ptr cinfo)); -- JTQT_METHOD(void, color_convert, (j_decompress_ptr cinfo, -+ JMETHOD(void, start_pass, (j_decompress_ptr cinfo)); -+ JMETHOD(void, color_convert, (j_decompress_ptr cinfo, - JSAMPIMAGE input_buf, JDIMENSION input_row, - JSAMPARRAY output_buf, int num_rows)); - }; - - /* Color quantization or color precision reduction */ - struct jpeg_color_quantizer { -- JTQT_METHOD(void, start_pass, (j_decompress_ptr cinfo, boolean is_pre_scan)); -- JTQT_METHOD(void, color_quantize, (j_decompress_ptr cinfo, -+ JMETHOD(void, start_pass, (j_decompress_ptr cinfo, boolean is_pre_scan)); -+ JMETHOD(void, color_quantize, (j_decompress_ptr cinfo, - JSAMPARRAY input_buf, JSAMPARRAY output_buf, - int num_rows)); -- JTQT_METHOD(void, finish_pass, (j_decompress_ptr cinfo)); -- JTQT_METHOD(void, new_color_map, (j_decompress_ptr cinfo)); -+ JMETHOD(void, finish_pass, (j_decompress_ptr cinfo)); -+ JMETHOD(void, new_color_map, (j_decompress_ptr cinfo)); - }; - - diff --git a/redhat/applications/gwenview/gwenview-3.5.13-fix_libmng_check.patch b/redhat/applications/gwenview/gwenview-3.5.13-fix_libmng_check.patch deleted file mode 100644 index 80ea42ef7..000000000 --- a/redhat/applications/gwenview/gwenview-3.5.13-fix_libmng_check.patch +++ /dev/null @@ -1,27 +0,0 @@ -commit 59c7639f5e9f3ef40b06cb0e011216cc748e3f85 -Author: Timothy Pearson -Date: 1337933593 -0500 - - Define QT_CLEAN_NAMESPACE during libmng checks - -diff --git a/configure.in.in b/configure.in.in -index f5e959c..1cdda0b 100644 ---- a/configure.in.in -+++ b/configure.in.in -@@ -98,6 +98,8 @@ AC_SUBST(GV_ASM_DEFS) - # libmng check (for gvmngformattype.*) - # - LIBMNG= -+CXXFLAGS_SAVE="$CXXFLAGS" -+CXXFLAGS="$CXXFLAGS -DQT_CLEAN_NAMESPACE" - KDE_CHECK_HEADER(libmng.h, - [ - KDE_CHECK_LIB(mng, mng_initialize, -@@ -106,6 +108,7 @@ KDE_CHECK_HEADER(libmng.h, - LIBMNG="-lmng $LIBZ -lm" - ], [], $LIBZ -lm) - ]) -+CXXFLAGS="$CXXFLAGS_SAVE" - AC_SUBST(LIBMNG) - if test -z "$LIBMNG"; then - AC_WARN([Can't find libmng.h, Gwenview won't be compiled with MNG support]) diff --git a/redhat/applications/gwenview/gwenview-3.5.13-fix_various_problems.patch b/redhat/applications/gwenview/gwenview-3.5.13-fix_various_problems.patch deleted file mode 100644 index 4a0dbfc53..000000000 --- a/redhat/applications/gwenview/gwenview-3.5.13-fix_various_problems.patch +++ /dev/null @@ -1,114 +0,0 @@ -commit 1eac443e690763dd571aec664aba52f6683f9916 -Author: Darrell Anderson -Date: 1334285947 -0500 - - Fix inadvertent tqt changes. Part of an extensive cleanup of various problems - with kipi-plugins, digikam, and gwenview to resolve bug reports 241, 962, 963. - -diff --git a/src/gvcore/fileviewcontroller.cpp b/src/gvcore/fileviewcontroller.cpp -index 86a0282..a8d0bee 100644 ---- a/src/gvcore/fileviewcontroller.cpp -+++ b/src/gvcore/fileviewcontroller.cpp -@@ -309,7 +309,7 @@ FileViewController::FileViewController(TQWidget* parent,KActionCollection* actio - mBottomThumbnailMode->setExclusiveGroup("thumbnails"); - - // Size slider -- mSizeSlider=new TQSlider(Qt::Horizontal, d->mToolBar); -+ mSizeSlider=new TQSlider(Horizontal, d->mToolBar); - mSizeSlider->setFixedWidth(120); - mSizeSlider->setRange( - ThumbnailSize::MIN/SLIDER_RESOLUTION, -diff --git a/src/gvcore/imageviewtools.cpp b/src/gvcore/imageviewtools.cpp -index da9044a..a749ff3 100644 ---- a/src/gvcore/imageviewtools.cpp -+++ b/src/gvcore/imageviewtools.cpp -@@ -177,7 +177,7 @@ void ImageView::ScrollTool::wheelEvent(TQWheelEvent* event) { - if (ImageViewConfig::mouseWheelScroll()) { - int deltaX, deltaY; - -- if (event->state() & AltButton || event->orientation()==Qt::Horizontal) { -+ if (event->state() & AltButton || event->orientation()==Horizontal) { - deltaX = event->delta(); - deltaY = 0; - } else { -diff --git a/src/imageutils/transupp.c b/src/imageutils/transupp.c -index 3bc6f20..e5ec564 100644 ---- a/src/imageutils/transupp.c -+++ b/src/imageutils/transupp.c -@@ -30,7 +30,7 @@ - * or recompression of the image. - * Thanks to Guido Vollbeding for the initial design and code of this feature. - * -- *Qt::Horizontal flipping is done in-place, using a single top-to-bottom -+ * Horizontal flipping is done in-place, using a single top-to-bottom - * pass through the virtual source array. It will thus be much the - * fastest option for images larger than main memory. - * -@@ -65,7 +65,7 @@ - LOCAL(void) - do_flip_h (j_decompress_ptr srcinfo, j_compress_ptr dstinfo, - jvirt_barray_ptr *src_coef_arrays) --/*Qt::Horizontal flip; done in-place, so no separate dest array is required */ -+/* Horizontal flip; done in-place, so no separate dest array is required */ - { - JDIMENSION MCU_cols, comp_width, blk_x, blk_y; - int ci, k, offset_y; -@@ -74,7 +74,7 @@ do_flip_h (j_decompress_ptr srcinfo, j_compress_ptr dstinfo, - JCOEF temp1, temp2; - jpeg_component_info *compptr; - -- /*Qt::Horizontal mirroring of DCT blocks is accomplished by swapping -+ /* Horizontal mirroring of DCT blocks is accomplished by swapping - * pairs of blocks in-place. Within a DCT block, we perform horizontal - * mirroring by changing the signs of odd-numbered columns. - * Partial iMCUs at the right edge are left untouched. -@@ -115,7 +115,7 @@ LOCAL(void) - do_flip_v (j_decompress_ptr srcinfo, j_compress_ptr dstinfo, - jvirt_barray_ptr *src_coef_arrays, - jvirt_barray_ptr *dst_coef_arrays) --/*Qt::Vertical flip */ -+/* Vertical flip */ - { - JDIMENSION MCU_rows, comp_height, dst_blk_x, dst_blk_y; - int ci, i, j, offset_y; -@@ -232,7 +232,7 @@ do_rot_90 (j_decompress_ptr srcinfo, j_compress_ptr dstinfo, - jvirt_barray_ptr *dst_coef_arrays) - /* 90 degree rotation is equivalent to - * 1. Transposing the image; -- * 2.Qt::Horizontal mirroring. -+ * 2. Horizontal mirroring. - * These two steps are merged into a single processing routine. - */ - { -@@ -295,7 +295,7 @@ do_rot_270 (j_decompress_ptr srcinfo, j_compress_ptr dstinfo, - jvirt_barray_ptr *src_coef_arrays, - jvirt_barray_ptr *dst_coef_arrays) - /* 270 degree rotation is equivalent to -- * 1.Qt::Horizontal mirroring; -+ * 1. Horizontal mirroring; - * 2. Transposing the image. - * These two steps are merged into a single processing routine. - */ -@@ -359,8 +359,8 @@ do_rot_180 (j_decompress_ptr srcinfo, j_compress_ptr dstinfo, - jvirt_barray_ptr *src_coef_arrays, - jvirt_barray_ptr *dst_coef_arrays) - /* 180 degree rotation is equivalent to -- * 1.Qt::Vertical mirroring; -- * 2.Qt::Horizontal mirroring. -+ * 1. Vertical mirroring; -+ * 2. Horizontal mirroring. - * These two steps are merged into a single processing routine. - */ - { -@@ -463,9 +463,9 @@ do_transverse (j_decompress_ptr srcinfo, j_compress_ptr dstinfo, - * 1. 180 degree rotation; - * 2. Transposition; - * or -- * 1.Qt::Horizontal mirroring; -+ * 1. Horizontal mirroring; - * 2. Transposition; -- * 3.Qt::Horizontal mirroring. -+ * 3. Horizontal mirroring. - * These steps are merged into a single processing routine. - */ - { diff --git a/redhat/applications/gwenview/gwenview-3.5.13-jpegint-ftbfs.patch b/redhat/applications/gwenview/gwenview-3.5.13-jpegint-ftbfs.patch deleted file mode 100644 index 0cd290983..000000000 --- a/redhat/applications/gwenview/gwenview-3.5.13-jpegint-ftbfs.patch +++ /dev/null @@ -1,254 +0,0 @@ -diff -Nuar gwenview.ORI/src/imageutils/jpegint.h gwenview/src/imageutils/jpegint.h ---- gwenview.ORI/src/imageutils/jpegint.h 2011-05-26 23:04:57.000000000 +0200 -+++ gwenview/src/imageutils/jpegint.h 2011-11-01 20:45:15.494165195 +0100 -@@ -43,9 +43,9 @@ - - /* Master control module */ - struct jpeg_comp_master { -- JTQT_METHOD(void, prepare_for_pass, (j_compress_ptr cinfo)); -- JTQT_METHOD(void, pass_startup, (j_compress_ptr cinfo)); -- JTQT_METHOD(void, finish_pass, (j_compress_ptr cinfo)); -+ JMETHOD(void, prepare_for_pass, (j_compress_ptr cinfo)); -+ JMETHOD(void, pass_startup, (j_compress_ptr cinfo)); -+ JMETHOD(void, finish_pass, (j_compress_ptr cinfo)); - - /* State variables made visible to other modules */ - boolean call_pass_startup; /* True if pass_startup must be called */ -@@ -54,16 +54,16 @@ - - /* Main buffer control (downsampled-data buffer) */ - struct jpeg_c_main_controller { -- JTQT_METHOD(void, start_pass, (j_compress_ptr cinfo, J_BUF_MODE pass_mode)); -- JTQT_METHOD(void, process_data, (j_compress_ptr cinfo, -+ JMETHOD(void, start_pass, (j_compress_ptr cinfo, J_BUF_MODE pass_mode)); -+ JMETHOD(void, process_data, (j_compress_ptr cinfo, - JSAMPARRAY input_buf, JDIMENSION *in_row_ctr, - JDIMENSION in_rows_avail)); - }; - - /* Compression preprocessing (downsampling input buffer control) */ - struct jpeg_c_prep_controller { -- JTQT_METHOD(void, start_pass, (j_compress_ptr cinfo, J_BUF_MODE pass_mode)); -- JTQT_METHOD(void, pre_process_data, (j_compress_ptr cinfo, -+ JMETHOD(void, start_pass, (j_compress_ptr cinfo, J_BUF_MODE pass_mode)); -+ JMETHOD(void, pre_process_data, (j_compress_ptr cinfo, - JSAMPARRAY input_buf, - JDIMENSION *in_row_ctr, - JDIMENSION in_rows_avail, -@@ -74,23 +74,23 @@ - - /* Coefficient buffer control */ - struct jpeg_c_coef_controller { -- JTQT_METHOD(void, start_pass, (j_compress_ptr cinfo, J_BUF_MODE pass_mode)); -- JTQT_METHOD(boolean, compress_data, (j_compress_ptr cinfo, -+ JMETHOD(void, start_pass, (j_compress_ptr cinfo, J_BUF_MODE pass_mode)); -+ JMETHOD(boolean, compress_data, (j_compress_ptr cinfo, - JSAMPIMAGE input_buf)); - }; - - /* Colorspace conversion */ - struct jpeg_color_converter { -- JTQT_METHOD(void, start_pass, (j_compress_ptr cinfo)); -- JTQT_METHOD(void, color_convert, (j_compress_ptr cinfo, -+ JMETHOD(void, start_pass, (j_compress_ptr cinfo)); -+ JMETHOD(void, color_convert, (j_compress_ptr cinfo, - JSAMPARRAY input_buf, JSAMPIMAGE output_buf, - JDIMENSION output_row, int num_rows)); - }; - - /* Downsampling */ - struct jpeg_downsampler { -- JTQT_METHOD(void, start_pass, (j_compress_ptr cinfo)); -- JTQT_METHOD(void, downsample, (j_compress_ptr cinfo, -+ JMETHOD(void, start_pass, (j_compress_ptr cinfo)); -+ JMETHOD(void, downsample, (j_compress_ptr cinfo, - JSAMPIMAGE input_buf, JDIMENSION in_row_index, - JSAMPIMAGE output_buf, - JDIMENSION out_row_group_index)); -@@ -100,9 +100,9 @@ - - /* Forward DCT (also controls coefficient quantization) */ - struct jpeg_forward_dct { -- JTQT_METHOD(void, start_pass, (j_compress_ptr cinfo)); -+ JMETHOD(void, start_pass, (j_compress_ptr cinfo)); - /* perhaps this should be an array??? */ -- JTQT_METHOD(void, forward_DCT, (j_compress_ptr cinfo, -+ JMETHOD(void, forward_DCT, (j_compress_ptr cinfo, - jpeg_component_info * compptr, - JSAMPARRAY sample_data, JBLOCKROW coef_blocks, - JDIMENSION start_row, JDIMENSION start_col, -@@ -111,23 +111,23 @@ - - /* Entropy encoding */ - struct jpeg_entropy_encoder { -- JTQT_METHOD(void, start_pass, (j_compress_ptr cinfo, boolean gather_statistics)); -- JTQT_METHOD(boolean, encode_mcu, (j_compress_ptr cinfo, JBLOCKROW *MCU_data)); -- JTQT_METHOD(void, finish_pass, (j_compress_ptr cinfo)); -+ JMETHOD(void, start_pass, (j_compress_ptr cinfo, boolean gather_statistics)); -+ JMETHOD(boolean, encode_mcu, (j_compress_ptr cinfo, JBLOCKROW *MCU_data)); -+ JMETHOD(void, finish_pass, (j_compress_ptr cinfo)); - }; - - /* Marker writing */ - struct jpeg_marker_writer { -- JTQT_METHOD(void, write_file_header, (j_compress_ptr cinfo)); -- JTQT_METHOD(void, write_frame_header, (j_compress_ptr cinfo)); -- JTQT_METHOD(void, write_scan_header, (j_compress_ptr cinfo)); -- JTQT_METHOD(void, write_file_trailer, (j_compress_ptr cinfo)); -- JTQT_METHOD(void, write_tables_only, (j_compress_ptr cinfo)); -+ JMETHOD(void, write_file_header, (j_compress_ptr cinfo)); -+ JMETHOD(void, write_frame_header, (j_compress_ptr cinfo)); -+ JMETHOD(void, write_scan_header, (j_compress_ptr cinfo)); -+ JMETHOD(void, write_file_trailer, (j_compress_ptr cinfo)); -+ JMETHOD(void, write_tables_only, (j_compress_ptr cinfo)); - /* These routines are exported to allow insertion of extra markers */ - /* Probably only COM and APPn markers should be written this way */ -- JTQT_METHOD(void, write_marker_header, (j_compress_ptr cinfo, int marker, -+ JMETHOD(void, write_marker_header, (j_compress_ptr cinfo, int marker, - unsigned int datalen)); -- JTQT_METHOD(void, write_marker_byte, (j_compress_ptr cinfo, int val)); -+ JMETHOD(void, write_marker_byte, (j_compress_ptr cinfo, int val)); - }; - - -@@ -135,8 +135,8 @@ - - /* Master control module */ - struct jpeg_decomp_master { -- JTQT_METHOD(void, prepare_for_output_pass, (j_decompress_ptr cinfo)); -- JTQT_METHOD(void, finish_output_pass, (j_decompress_ptr cinfo)); -+ JMETHOD(void, prepare_for_output_pass, (j_decompress_ptr cinfo)); -+ JMETHOD(void, finish_output_pass, (j_decompress_ptr cinfo)); - - /* State variables made visible to other modules */ - boolean is_dummy_pass; /* True during 1st pass for 2-pass quant */ -@@ -144,10 +144,10 @@ - - /* Input control module */ - struct jpeg_input_controller { -- JTQT_METHOD(int, consume_input, (j_decompress_ptr cinfo)); -- JTQT_METHOD(void, reset_input_controller, (j_decompress_ptr cinfo)); -- JTQT_METHOD(void, start_input_pass, (j_decompress_ptr cinfo)); -- JTQT_METHOD(void, finish_input_pass, (j_decompress_ptr cinfo)); -+ JMETHOD(int, consume_input, (j_decompress_ptr cinfo)); -+ JMETHOD(void, reset_input_controller, (j_decompress_ptr cinfo)); -+ JMETHOD(void, start_input_pass, (j_decompress_ptr cinfo)); -+ JMETHOD(void, finish_input_pass, (j_decompress_ptr cinfo)); - - /* State variables made visible to other modules */ - boolean has_multiple_scans; /* True if file has multiple scans */ -@@ -156,18 +156,18 @@ - - /* Main buffer control (downsampled-data buffer) */ - struct jpeg_d_main_controller { -- JTQT_METHOD(void, start_pass, (j_decompress_ptr cinfo, J_BUF_MODE pass_mode)); -- JTQT_METHOD(void, process_data, (j_decompress_ptr cinfo, -+ JMETHOD(void, start_pass, (j_decompress_ptr cinfo, J_BUF_MODE pass_mode)); -+ JMETHOD(void, process_data, (j_decompress_ptr cinfo, - JSAMPARRAY output_buf, JDIMENSION *out_row_ctr, - JDIMENSION out_rows_avail)); - }; - - /* Coefficient buffer control */ - struct jpeg_d_coef_controller { -- JTQT_METHOD(void, start_input_pass, (j_decompress_ptr cinfo)); -- JTQT_METHOD(int, consume_data, (j_decompress_ptr cinfo)); -- JTQT_METHOD(void, start_output_pass, (j_decompress_ptr cinfo)); -- JTQT_METHOD(int, decompress_data, (j_decompress_ptr cinfo, -+ JMETHOD(void, start_input_pass, (j_decompress_ptr cinfo)); -+ JMETHOD(int, consume_data, (j_decompress_ptr cinfo)); -+ JMETHOD(void, start_output_pass, (j_decompress_ptr cinfo)); -+ JMETHOD(int, decompress_data, (j_decompress_ptr cinfo, - JSAMPIMAGE output_buf)); - /* Pointer to array of coefficient virtual arrays, or NULL if none */ - jvirt_barray_ptr *coef_arrays; -@@ -175,8 +175,8 @@ - - /* Decompression postprocessing (color quantization buffer control) */ - struct jpeg_d_post_controller { -- JTQT_METHOD(void, start_pass, (j_decompress_ptr cinfo, J_BUF_MODE pass_mode)); -- JTQT_METHOD(void, post_process_data, (j_decompress_ptr cinfo, -+ JMETHOD(void, start_pass, (j_decompress_ptr cinfo, J_BUF_MODE pass_mode)); -+ JMETHOD(void, post_process_data, (j_decompress_ptr cinfo, - JSAMPIMAGE input_buf, - JDIMENSION *in_row_group_ctr, - JDIMENSION in_row_groups_avail, -@@ -187,12 +187,12 @@ - - /* Marker reading & parsing */ - struct jpeg_marker_reader { -- JTQT_METHOD(void, reset_marker_reader, (j_decompress_ptr cinfo)); -+ JMETHOD(void, reset_marker_reader, (j_decompress_ptr cinfo)); - /* Read markers until SOS or EOI. - * Returns same codes as are defined for jpeg_consume_input: - * JPEG_SUSPENDED, JPEG_REACHED_SOS, or JPEG_REACHED_EOI. - */ -- JTQT_METHOD(int, read_markers, (j_decompress_ptr cinfo)); -+ JMETHOD(int, read_markers, (j_decompress_ptr cinfo)); - /* Read a restart marker --- exported for use by entropy decoder only */ - jpeg_marker_parser_method read_restart_marker; - -@@ -207,8 +207,8 @@ - - /* Entropy decoding */ - struct jpeg_entropy_decoder { -- JTQT_METHOD(void, start_pass, (j_decompress_ptr cinfo)); -- JTQT_METHOD(boolean, decode_mcu, (j_decompress_ptr cinfo, -+ JMETHOD(void, start_pass, (j_decompress_ptr cinfo)); -+ JMETHOD(boolean, decode_mcu, (j_decompress_ptr cinfo, - JBLOCKROW *MCU_data)); - - /* This is here to share code between baseline and progressive decoders; */ -@@ -217,21 +217,21 @@ - }; - - /* Inverse DCT (also performs dequantization) */ --typedef JTQT_METHOD(void, inverse_DCT_method_ptr, -+typedef JMETHOD(void, inverse_DCT_method_ptr, - (j_decompress_ptr cinfo, jpeg_component_info * compptr, - JCOEFPTR coef_block, - JSAMPARRAY output_buf, JDIMENSION output_col)); - - struct jpeg_inverse_dct { -- JTQT_METHOD(void, start_pass, (j_decompress_ptr cinfo)); -+ JMETHOD(void, start_pass, (j_decompress_ptr cinfo)); - /* It is useful to allow each component to have a separate IDCT method. */ - inverse_DCT_method_ptr inverse_DCT[MAX_COMPONENTS]; - }; - - /* Upsampling (note that upsampler must also call color converter) */ - struct jpeg_upsampler { -- JTQT_METHOD(void, start_pass, (j_decompress_ptr cinfo)); -- JTQT_METHOD(void, upsample, (j_decompress_ptr cinfo, -+ JMETHOD(void, start_pass, (j_decompress_ptr cinfo)); -+ JMETHOD(void, upsample, (j_decompress_ptr cinfo, - JSAMPIMAGE input_buf, - JDIMENSION *in_row_group_ctr, - JDIMENSION in_row_groups_avail, -@@ -244,20 +244,20 @@ - - /* Colorspace conversion */ - struct jpeg_color_deconverter { -- JTQT_METHOD(void, start_pass, (j_decompress_ptr cinfo)); -- JTQT_METHOD(void, color_convert, (j_decompress_ptr cinfo, -+ JMETHOD(void, start_pass, (j_decompress_ptr cinfo)); -+ JMETHOD(void, color_convert, (j_decompress_ptr cinfo, - JSAMPIMAGE input_buf, JDIMENSION input_row, - JSAMPARRAY output_buf, int num_rows)); - }; - - /* Color quantization or color precision reduction */ - struct jpeg_color_quantizer { -- JTQT_METHOD(void, start_pass, (j_decompress_ptr cinfo, boolean is_pre_scan)); -- JTQT_METHOD(void, color_quantize, (j_decompress_ptr cinfo, -+ JMETHOD(void, start_pass, (j_decompress_ptr cinfo, boolean is_pre_scan)); -+ JMETHOD(void, color_quantize, (j_decompress_ptr cinfo, - JSAMPARRAY input_buf, JSAMPARRAY output_buf, - int num_rows)); -- JTQT_METHOD(void, finish_pass, (j_decompress_ptr cinfo)); -- JTQT_METHOD(void, new_color_map, (j_decompress_ptr cinfo)); -+ JMETHOD(void, finish_pass, (j_decompress_ptr cinfo)); -+ JMETHOD(void, new_color_map, (j_decompress_ptr cinfo)); - }; - - diff --git a/redhat/applications/gwenview/gwenview-3.5.13-missing_ldflags.patch b/redhat/applications/gwenview/gwenview-3.5.13-missing_ldflags.patch deleted file mode 100644 index bcf206288..000000000 --- a/redhat/applications/gwenview/gwenview-3.5.13-missing_ldflags.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- gwenview/src/gvcore/Makefile.am.ORI 2012-08-04 12:50:37.306573906 +0200 -+++ gwenview/src/gvcore/Makefile.am 2012-08-04 12:50:46.112710411 +0200 -@@ -6,7 +6,7 @@ - - libgwenviewcore_la_LIBADD = \ - $(LIB_KFILE) $(LIB_KDEUI) $(LIB_KDECORE) $(LIB_KDEPRINT) $(LIB_QT) \ -- $(LIBJPEG) $(LIBPNG) $(LIBMNG) $(GV_LIB_XCURSOR) $(LIB_EXIV2)\ -+ $(LIBJPEG) $(LIBPNG) $(LIBMNG) $(GV_LIB_XCURSOR) $(LIB_EXIV2) $(LIB_KPARTS) -lkdefx \ - -lkmediaplayer ../imageutils/libgvimageutils.la \ - ../tsthread/libtsthread.la - diff --git a/redhat/applications/gwenview/gwenview-3.5.13-remove_additional_tq_conversions.patch b/redhat/applications/gwenview/gwenview-3.5.13-remove_additional_tq_conversions.patch deleted file mode 100644 index 195d89ea6..000000000 --- a/redhat/applications/gwenview/gwenview-3.5.13-remove_additional_tq_conversions.patch +++ /dev/null @@ -1,915 +0,0 @@ -commit eba1d381626d92b860239417f21d813f02ee6394 -Author: Timothy Pearson -Date: 1324316139 -0600 - - Remove additional unneeded tq method conversions - -diff --git a/src/app/bookmarkviewcontroller.cpp b/src/app/bookmarkviewcontroller.cpp -index 68ee9f0..d09156a 100644 ---- a/src/app/bookmarkviewcontroller.cpp -+++ b/src/app/bookmarkviewcontroller.cpp -@@ -392,11 +392,11 @@ void BookmarkViewController::deleteCurrentBookmark() { - TQString title; - if (bookmark.isGroup()) { - msg=i18n("Are you sure you want to delete the bookmark folder %1?
This will delete the folder and all the bookmarks in it.") -- .tqarg(bookmark.text()); -+ .arg(bookmark.text()); - title=i18n("Delete Bookmark &Folder"); - } else { - msg=i18n("Are you sure you want to delete the bookmark %1?") -- .tqarg(bookmark.text()); -+ .arg(bookmark.text()); - title=i18n("Delete &Bookmark"); - } - -diff --git a/src/app/configdialog.cpp b/src/app/configdialog.cpp -index d274188..a429095 100644 ---- a/src/app/configdialog.cpp -+++ b/src/app/configdialog.cpp -@@ -247,7 +247,7 @@ void ConfigDialog::calculateCacheSize() { - KURL url; - url.setPath(ThumbnailLoadJob::thumbnailBaseDir()); - unsigned long size=KDirSize::dirSize(url); -- KMessageBox::information( this,i18n("Cache size is %1").tqarg(KIO::convertSize(size)) ); -+ KMessageBox::information( this,i18n("Cache size is %1").arg(KIO::convertSize(size)) ); - } - - -@@ -281,7 +281,7 @@ void ConfigDialog::emptyCache() { - - int response=KMessageBox::warningContinueCancel(this, - "" + i18n("Are you sure you want to empty the thumbnail cache?" -- " This will delete the folder %1.").tqarg(TQStyleSheet::escape(dir)) + "", -+ " This will delete the folder %1.").arg(TQStyleSheet::escape(dir)) + "", - TQString(), - KStdGuiItem::del()); - -diff --git a/src/app/configimageviewpage.ui b/src/app/configimageviewpage.ui -index 32fb346..2f816c0 100644 ---- a/src/app/configimageviewpage.ui -+++ b/src/app/configimageviewpage.ui -@@ -217,7 +217,7 @@ - Using this option, Gwenview will display the image as fast as possible, and smooth it after a short delay. - Use this option if your computer is not very fast. -
-- -+ - WordBreak|AlignTop - - -diff --git a/src/app/kipiinterface.cpp b/src/app/kipiinterface.cpp -index 9a35ef3..f95fe54 100644 ---- a/src/app/kipiinterface.cpp -+++ b/src/app/kipiinterface.cpp -@@ -163,7 +163,7 @@ KIPI::ImageCollection KIPIInterface::currentSelection() { - LOG(""); - KURL::List list=d->mFileView->selectedImageURLs(); - KURL url=d->mFileView->dirURL(); -- return KIPI::ImageCollection(new ImageCollection(url, i18n("%1 (Selected Images)").tqarg(url.fileName()), list)); -+ return KIPI::ImageCollection(new ImageCollection(url, i18n("%1 (Selected Images)").arg(url.fileName()), list)); - } - - -@@ -189,12 +189,12 @@ int KIPIInterface::features() const { - * here, it is however necessary to discard caches if the plugin preserves timestamp - */ - bool KIPIInterface::addImage(const KURL& url, TQString&) { -- Cache::instance()->tqinvalidate( url ); -+ Cache::instance()->invalidate( url ); - return true; - } - - void KIPIInterface::delImage(const KURL& url) { -- Cache::instance()->tqinvalidate( url ); -+ Cache::instance()->invalidate( url ); - } - - // TODO currently KDirWatch doesn't have watching of files in a directory -@@ -203,7 +203,7 @@ void KIPIInterface::refreshImages( const KURL::List& urls ) { - for( KURL::List::ConstIterator it = urls.begin(); - it != urls.end(); - ++it ) { -- Cache::instance()->tqinvalidate( *it ); -+ Cache::instance()->invalidate( *it ); - } - d->mFileView->refreshItems( urls ); - } -diff --git a/src/app/mainwindow.cpp b/src/app/mainwindow.cpp -index f9acc9b..2f2275b 100644 ---- a/src/app/mainwindow.cpp -+++ b/src/app/mainwindow.cpp -@@ -806,7 +806,7 @@ void MainWindow::updateStatusInfo() { - int pos = mFileViewController->shownFilePosition(); - uint count = mFileViewController->fileCount(); - if (count > 0) { -- tokens << i18n("%1/%2").tqarg(pos+1).tqarg(count); -+ tokens << i18n("%1/%2").arg(pos+1).arg(count); - } else { - tokens << i18n("No images"); - } -@@ -816,7 +816,7 @@ void MainWindow::updateStatusInfo() { - - TQSize size = mDocument->image().size(); - if (!size.isEmpty()) { -- tokens << i18n("%1 x %2 pixels").tqarg(size.width()).tqarg(size.height()); -+ tokens << i18n("%1 x %2 pixels").arg(size.width()).arg(size.height()); - } - - mSBDetailLabel->setText(tokens.join(" - ")); -@@ -1094,9 +1094,9 @@ void MainWindow::createObjectInteractions() { - void MainWindow::createHideShowAction(KDockWidget* dock) { - TQString caption; - if (dock->mayBeHide()) { -- caption=i18n("Hide %1").tqarg(dock->caption()); -+ caption=i18n("Hide %1").arg(dock->caption()); - } else { -- caption=i18n("Show %1").tqarg(dock->caption()); -+ caption=i18n("Show %1").arg(dock->caption()); - } - - KAction* action=new KAction(caption, 0, TQT_TQOBJECT(dock), TQT_SLOT(changeHideShowState()), (TQObject*)0 ); -diff --git a/src/app/metaedit.cpp b/src/app/metaedit.cpp -index 3fa9e19..7aa3ced 100644 ---- a/src/app/metaedit.cpp -+++ b/src/app/metaedit.cpp -@@ -132,7 +132,7 @@ void MetaEdit::setComment(const TQString& comment) { - void MetaEdit::setMessage(const TQString& msg) { - mCommentEdit->setTextFormat(TQTextEdit::RichText); - mCommentEdit->setReadOnly(true); -- mCommentEdit->setText(TQString("%1").tqarg(msg)); -+ mCommentEdit->setText(TQString("%1").arg(msg)); - } - - } // namespace -diff --git a/src/gvcore/cache.cpp b/src/gvcore/cache.cpp -index 448d8f6..8f4bfb3 100644 ---- a/src/gvcore/cache.cpp -+++ b/src/gvcore/cache.cpp -@@ -179,7 +179,7 @@ void Cache::addThumbnail( const KURL& url, const TQPixmap& thumbnail, TQSize ima - checkMaxSize(); - } - --void Cache::tqinvalidate( const KURL& url ) { -+void Cache::invalidate( const KURL& url ) { - d->mImages.remove( url ); - } - -diff --git a/src/gvcore/cache.h b/src/gvcore/cache.h -index 199bc46..68591a5 100644 ---- a/src/gvcore/cache.h -+++ b/src/gvcore/cache.h -@@ -52,7 +52,7 @@ public: - void getFrames( const KURL& url, ImageFrames* frames, TQCString* format ) const; - TQPixmap thumbnail( const KURL& url, TQSize& imagesize ) const; - void setPriorityURL( const KURL& url, bool set ); -- void tqinvalidate( const KURL& url ); -+ void invalidate( const KURL& url ); - void checkThumbnailSize( int size ); - void readConfig(KConfig*,const TQString& group); - void updateAge(); -diff --git a/src/gvcore/captionformatter.cpp b/src/gvcore/captionformatter.cpp -index 74514f3..4b0a593 100644 ---- a/src/gvcore/captionformatter.cpp -+++ b/src/gvcore/captionformatter.cpp -@@ -35,7 +35,7 @@ TQString CaptionFormatter::format(const TQString& format) { - - TQString resolution; - if (mImageSize.isValid()) { -- resolution = TQString( "%1x%2" ).tqarg( mImageSize.width()).tqarg( mImageSize.height()); -+ resolution = TQString( "%1x%2" ).arg( mImageSize.width()).arg( mImageSize.height()); - } - - TQString str=format; -diff --git a/src/gvcore/clicklineedit.cpp b/src/gvcore/clicklineedit.cpp -index 58c09ac..dfbe3bb 100644 ---- a/src/gvcore/clicklineedit.cpp -+++ b/src/gvcore/clicklineedit.cpp -@@ -40,14 +40,14 @@ ClickLineEdit::ClickLineEdit(TQWidget *parent, const char* name ) : - void ClickLineEdit::setClickMessage( const TQString &msg ) - { - mClickMessage = msg; -- tqrepaint(); -+ repaint(); - } - - - void ClickLineEdit::setText( const TQString &txt ) - { - mDrawClickMsg = txt.isEmpty(); -- tqrepaint(); -+ repaint(); - KLineEdit::setText( txt ); - } - -@@ -86,7 +86,7 @@ void ClickLineEdit::focusInEvent( TQFocusEvent *ev ) - { - if ( mDrawClickMsg == true ) { - mDrawClickMsg = false; -- tqrepaint(); -+ repaint(); - } - TQLineEdit::focusInEvent( ev ); - } -@@ -96,7 +96,7 @@ void ClickLineEdit::focusOutEvent( TQFocusEvent *ev ) - { - if ( text().isEmpty() ) { - mDrawClickMsg = true; -- tqrepaint(); -+ repaint(); - } - TQLineEdit::focusOutEvent( ev ); - } -diff --git a/src/gvcore/deletedialogbase.ui b/src/gvcore/deletedialogbase.ui -index 6abab10..f7d6f90 100644 ---- a/src/gvcore/deletedialogbase.ui -+++ b/src/gvcore/deletedialogbase.ui -@@ -56,7 +56,7 @@ - - Deletion method placeholder, not in GUI - -- -+ - WordBreak|AlignCenter - -
-@@ -80,7 +80,7 @@ - - Placeholder for number of files, not in GUI - -- -+ - AlignVCenter|AlignRight - - -diff --git a/src/gvcore/document.cpp b/src/gvcore/document.cpp -index caa93f5..b81a229 100644 ---- a/src/gvcore/document.cpp -+++ b/src/gvcore/document.cpp -@@ -343,7 +343,7 @@ void Document::slotLoaded() { - // - //--------------------------------------------------------------------- - void Document::reload() { -- Cache::instance()->tqinvalidate( url()); -+ Cache::instance()->invalidate( url()); - load(); - emit reloaded(url()); - } -@@ -378,7 +378,7 @@ void Document::doPaint(KPrinter *printer, TQPainter *painter) { - TQString t = "true"; - TQString f = "false"; - -- int tqalignment = (printer->option("app-gwenview-position").isEmpty() ? -+ int alignment = (printer->option("app-gwenview-position").isEmpty() ? - TQt::AlignCenter : printer->option("app-gwenview-position").toInt()); - - // Compute filename offset -@@ -407,7 +407,7 @@ void Document::doPaint(KPrinter *printer, TQPainter *painter) { - if (scaling==GV_FITTOPAGE /* Fit to page */) { - bool enlargeToFit = printer->option( "app-gwenview-enlargeToFit" ) != f; - if ((image.width() > pdWidth || image.height() > pdHeight) || enlargeToFit) { -- size.tqscale( pdWidth, pdHeight, TQSize::ScaleMin ); -+ size.scale( pdWidth, pdHeight, TQSize::ScaleMin ); - } - } else { - if (scaling==GV_SCALE /* Scale To */) { -@@ -452,24 +452,24 @@ void Document::doPaint(KPrinter *printer, TQPainter *painter) { - printer->abort(); - return; - } else if (resp == KMessageBox::No) { // Shrink -- size.tqscale(pdWidth, pdHeight, TQSize::ScaleMin); -+ size.scale(pdWidth, pdHeight, TQSize::ScaleMin); - } - } - } - - // Compute x and y -- if ( tqalignment & TQt::AlignHCenter ) -+ if ( alignment & TQt::AlignHCenter ) - x = (pdWidth - size.width())/2; -- else if ( tqalignment & TQt::AlignLeft ) -+ else if ( alignment & TQt::AlignLeft ) - x = 0; -- else if ( tqalignment & TQt::AlignRight ) -+ else if ( alignment & TQt::AlignRight ) - x = pdWidth - size.width(); - -- if ( tqalignment & TQt::AlignVCenter ) -+ if ( alignment & TQt::AlignVCenter ) - y = (pdHeight - size.height())/2; -- else if ( tqalignment & TQt::AlignTop ) -+ else if ( alignment & TQt::AlignTop ) - y = 0; -- else if ( tqalignment & TQt::AlignBottom ) -+ else if ( alignment & TQt::AlignBottom ) - y = pdHeight - size.height(); - - // Draw, the image will be scaled to fit the given area if necessary -@@ -532,7 +532,7 @@ void Document::saveBeforeClosing() { - if (!d->mModified) return; - - TQString msg=i18n("The image %1 has been modified, do you want to save the changes?") -- .tqarg(url().prettyURL()); -+ .arg(url().prettyURL()); - - int result=KMessageBox::questionYesNo(dialogParentWidget(), msg, TQString(), - KStdGuiItem::save(), KStdGuiItem::discard(), CONFIG_SAVE_AUTOMATICALLY); -@@ -605,7 +605,7 @@ TQString Document::saveInternal(const KURL& url, const TQCString& format) { - - LOG("Save failed: " << msg); - return TQString("%1
") -- .tqarg(i18n("Could not save the image to %1.").tqarg(url.prettyURL())) -+ .arg(i18n("Could not save the image to %1.").arg(url.prettyURL())) - + msg + "
"; - } - -diff --git a/src/gvcore/documentloadedimpl.cpp b/src/gvcore/documentloadedimpl.cpp -index aacea94..31baec0 100644 ---- a/src/gvcore/documentloadedimpl.cpp -+++ b/src/gvcore/documentloadedimpl.cpp -@@ -134,7 +134,7 @@ TQString DocumentLoadedImpl::save(const KURL& _url, const TQCString& format) con - if (!parent.isWritable()) { - return - i18n("The %1 folder is read-only.") -- .tqarg(parent.filePath()); -+ .arg(parent.filePath()); - } - } - } -@@ -152,7 +152,7 @@ TQString DocumentLoadedImpl::save(const KURL& _url, const TQCString& format) con - if (tmp.status()!=0) { - TQString reason( strerror(tmp.status()) ); - return i18n("Could not create a temporary file.\nReason: %1.") -- .tqarg(reason); -+ .arg(reason); - } - TQFile* file=tmp.file(); - msg=localSave(file, format); -@@ -162,7 +162,7 @@ TQString DocumentLoadedImpl::save(const KURL& _url, const TQCString& format) con - if (tmp.status()!=0) { - TQString reason( strerror(tmp.status()) ); - return i18n("Saving image to a temporary file failed.\nReason: %1.") -- .tqarg(reason); -+ .arg(reason); - } - - TQString tmpName=tmp.name(); -@@ -172,11 +172,11 @@ TQString DocumentLoadedImpl::save(const KURL& _url, const TQCString& format) con - // Move the tmp file to the final dest - if (url.isLocalFile()) { - if( ::rename( TQFile::encodeName(tmpName), TQFile::encodeName( url.path())) < 0 ) { -- return i18n("Could not write to %1.").tqarg(url.path()); -+ return i18n("Could not write to %1.").arg(url.path()); - } - } else { - if (!KIO::NetAccess::upload(tmp.name(), url, KApplication::kApplication()->mainWidget() )) { -- return i18n("Could not upload the file to %1.").tqarg(url.prettyURL()); -+ return i18n("Could not upload the file to %1.").arg(url.prettyURL()); - } - } - -diff --git a/src/gvcore/documentloadingimpl.cpp b/src/gvcore/documentloadingimpl.cpp -index 072229e..02020ad 100644 ---- a/src/gvcore/documentloadingimpl.cpp -+++ b/src/gvcore/documentloadingimpl.cpp -@@ -99,7 +99,7 @@ void DocumentLoadingImpl::init() { - emitImageRectUpdated(); - } else { - setImage(image); -- TQMemArray< TQRect > rects = TQRegion(d->mLoader->loadedRegion()).tqrects(); -+ TQMemArray< TQRect > rects = TQRegion(d->mLoader->loadedRegion()).rects(); - for( unsigned int i = 0; i < rects.count(); ++i ) { - emit rectUpdated(rects[i]); - } -diff --git a/src/gvcore/dragpixmapgenerator.h b/src/gvcore/dragpixmapgenerator.h -index efbbd93..308c391 100644 ---- a/src/gvcore/dragpixmapgenerator.h -+++ b/src/gvcore/dragpixmapgenerator.h -@@ -128,7 +128,7 @@ public: - if (listCropped) { - // If list has been cropped, leave space for item count text - height += fm.height(); -- bottomText = i18n("%1 items").tqarg(mItemList.count()); -+ bottomText = i18n("%1 items").arg(mItemList.count()); - width = TQMAX(width, fm.width("... " + bottomText)); - } - -diff --git a/src/gvcore/externaltooldialog.cpp b/src/gvcore/externaltooldialog.cpp -index e579b99..a71351b 100644 ---- a/src/gvcore/externaltooldialog.cpp -+++ b/src/gvcore/externaltooldialog.cpp -@@ -144,7 +144,7 @@ struct ExternalToolDialogPrivate { - for (; item; item=item->nextSibling()) { - if (item==mSelectedItem) continue; - if (name==item->text(0)) { -- KMessageBox::sorry(mContent, i18n("There is already a tool named \"%1\"").tqarg(name)); -+ KMessageBox::sorry(mContent, i18n("There is already a tool named \"%1\"").arg(name)); - return false; - } - } -diff --git a/src/gvcore/externaltoolmanager.cpp b/src/gvcore/externaltoolmanager.cpp -index 4fd4e03..3a43d26 100644 ---- a/src/gvcore/externaltoolmanager.cpp -+++ b/src/gvcore/externaltoolmanager.cpp -@@ -222,7 +222,7 @@ TQDict& ExternalToolManager::desktopFiles() const { - - void ExternalToolManager::hideDesktopFile(KDesktopFile* desktopFile) { - TQFileInfo fi(desktopFile->fileName()); -- TQString name=TQString("%1.desktop").tqarg( fi.baseName(true) ); -+ TQString name=TQString("%1.desktop").arg( fi.baseName(true) ); - d->mDesktopFiles.take(name); - - if (desktopFile->isReadOnly()) { -@@ -240,7 +240,7 @@ KDesktopFile* ExternalToolManager::editSystemDesktopFile(const KDesktopFile* des - TQFileInfo fi(desktopFile->fileName()); - - TQString name=fi.baseName(true); -- d->mDesktopFiles.remove(TQString("%1.desktop").tqarg(name)); -+ d->mDesktopFiles.remove(TQString("%1.desktop").arg(name)); - - return createUserDesktopFile(name); - } -@@ -250,7 +250,7 @@ KDesktopFile* ExternalToolManager::createUserDesktopFile(const TQString& name) { - Q_ASSERT(!name.isEmpty()); - KDesktopFile* desktopFile=new KDesktopFile( - d->mUserToolDir + "/" + name + ".desktop", false); -- d->mDesktopFiles.insert(TQString("%1.desktop").tqarg(name), desktopFile); -+ d->mDesktopFiles.insert(TQString("%1.desktop").arg(name), desktopFile); - - return desktopFile; - } -diff --git a/src/gvcore/filedetailview.cpp b/src/gvcore/filedetailview.cpp -index a8eba49..a7d9f64 100644 ---- a/src/gvcore/filedetailview.cpp -+++ b/src/gvcore/filedetailview.cpp -@@ -525,8 +525,8 @@ void FileDetailView::setShownFileItem(KFileItem* fileItem) - FileDetailViewItem* newShownItem=viewItem(fileItem); - - FileViewBase::setShownFileItem(fileItem); -- if (oldShownItem) oldShownItem->tqrepaint(); -- if (newShownItem) newShownItem->tqrepaint(); -+ if (oldShownItem) oldShownItem->repaint(); -+ if (newShownItem) newShownItem->repaint(); - } - - -diff --git a/src/gvcore/fileopobject.cpp b/src/gvcore/fileopobject.cpp -index 9f09438..cf6b036 100644 ---- a/src/gvcore/fileopobject.cpp -+++ b/src/gvcore/fileopobject.cpp -@@ -259,7 +259,7 @@ void FileOpTrashObject::operator()() { - } else { - TQString filename=TQStyleSheet::escape(mURLList.first().filename()); - response=KMessageBox::warningContinueCancel(mParent, -- i18n("

Do you really want to move %1 to the trash?

").tqarg(filename),i18n("Trash used as a verb", "Trash File"),KGuiItem(i18n("Trash used as a verb", "&Trash"),"edittrash")); -+ i18n("

Do you really want to move %1 to the trash?

").arg(filename),i18n("Trash used as a verb", "Trash File"),KGuiItem(i18n("Trash used as a verb", "&Trash"),"edittrash")); - } - if (response!=KMessageBox::Continue) return; - } -@@ -287,7 +287,7 @@ void FileOpRealDeleteObject::operator()() { - } else { - TQString filename=TQStyleSheet::escape(mURLList.first().filename()); - response=KMessageBox::warningContinueCancel(mParent, -- i18n("

Do you really want to delete %1?

").tqarg(filename), -+ i18n("

Do you really want to delete %1?

").arg(filename), - i18n("Delete File"), - KStdGuiItem::del() - ); -@@ -309,7 +309,7 @@ void FileOpRenameObject::operator()() { - TQString filename = srcURL.filename(); - InputDialog dlg(mParent); - dlg.setCaption(i18n("Renaming File")); -- dlg.setLabel(i18n("

Rename file %1 to:

").tqarg(TQStyleSheet::escape(filename))); -+ dlg.setLabel(i18n("

Rename file %1 to:

").arg(TQStyleSheet::escape(filename))); - dlg.setButtonOK( KGuiItem(i18n("&Rename"), "edit") ); - - dlg.lineEdit()->setText(filename); -diff --git a/src/gvcore/filethumbnailview.cpp b/src/gvcore/filethumbnailview.cpp -index 3910e48..c6760fe 100644 ---- a/src/gvcore/filethumbnailview.cpp -+++ b/src/gvcore/filethumbnailview.cpp -@@ -285,7 +285,7 @@ void FileThumbnailView::setThumbnailPixmap(const KFileItem* fileItem, const TQPi - if (size.isValid()) { - iconItem->setImageSize(size); - } -- iconItem->tqrepaint(); -+ iconItem->repaint(); - - // Notify progress - if (d->mProgressWidget) { -diff --git a/src/gvcore/fileviewcontroller.cpp b/src/gvcore/fileviewcontroller.cpp -index bb57a07..1cd795e 100644 ---- a/src/gvcore/fileviewcontroller.cpp -+++ b/src/gvcore/fileviewcontroller.cpp -@@ -747,7 +747,7 @@ void FileViewController::updateViewMode() { - - void FileViewController::updateThumbnailSize(int size) { - size*=SLIDER_RESOLUTION; -- d->mSliderTracker->setText(i18n("Thumbnail size: %1x%2").tqarg(size).tqarg(size)); -+ d->mSliderTracker->setText(i18n("Thumbnail size: %1x%2").arg(size).arg(size)); - FileViewConfig::setThumbnailSize(size); - mFileThumbnailView->setThumbnailSize(size); - Cache::instance()->checkThumbnailSize(size); -diff --git a/src/gvcore/imageloader.cpp b/src/gvcore/imageloader.cpp -index 699d088..c74b7ae 100644 ---- a/src/gvcore/imageloader.cpp -+++ b/src/gvcore/imageloader.cpp -@@ -113,7 +113,7 @@ public: - int getch() { - if (mThread->testCancel()) { - LOG("cancel detected"); -- seStatus(IO_ReadError); -+ setStatus(IO_ReadError); - return -1; - } - return TQBuffer::getch(); -diff --git a/src/gvcore/imagesavedialog.cpp b/src/gvcore/imagesavedialog.cpp -index 7831830..17101e2 100644 ---- a/src/gvcore/imagesavedialog.cpp -+++ b/src/gvcore/imagesavedialog.cpp -@@ -70,7 +70,7 @@ ImageSaveDialog::ImageSaveDialog(KURL& url, const TQCString& imageFormat, TQWidg - if (!patterns.contains(pattern)) patterns.append(pattern); - } - if (patterns.isEmpty()) { -- patterns.append( TQString("*.%1").tqarg(format.lower()) ); -+ patterns.append( TQString("*.%1").arg(format.lower()) ); - } - TQString patternString=patterns.join(" "); - -diff --git a/src/gvcore/imageview.cpp b/src/gvcore/imageview.cpp -index f9da66f..cbfc459 100644 ---- a/src/gvcore/imageview.cpp -+++ b/src/gvcore/imageview.cpp -@@ -113,7 +113,7 @@ as approximate as possible). However when converting from widget to image and ba - this can result in the final rectangle being smaller than the original. - The widgetToImageBounding() function converts from widget to image coordinates - in a way which makes sure the reverse conversion will be at least as large --as the original tqgeometry. -+as the original geometry. - - There are no conversion functions for only width/height, as their conversion - depends on the position (because of the rounding etc.). For similar reasons -@@ -257,7 +257,7 @@ struct ImageView::Private { - const double zoomValues[] = { 0.5, 1, 2 }; - int nbValues=sizeof(zoomValues) / sizeof(double); - for (int pos=0; posinsertItem(txt); - } - } -@@ -423,7 +423,7 @@ ImageView::~ImageView() { - void ImageView::slotLoaded() { - if (d->mDocument->isNull()) { - resizeContents(0,0); -- viewport()->tqrepaint(false); -+ viewport()->repaint(false); - return; - } - -@@ -488,7 +488,7 @@ KToggleAction* ImageView::zoomToFit() const { - - - void ImageView::updateFromSettings() { -- // Reset, so that next tqrepaint doesn't possibly take longer because of -+ // Reset, so that next repaint doesn't possibly take longer because of - // smoothing - ImageViewConfig::setMaxRepaintSize(DEFAULT_MAX_REPAINT_SIZE); - ImageViewConfig::setMaxScaleRepaintSize(DEFAULT_MAX_REPAINT_SIZE); -@@ -625,7 +625,7 @@ void ImageView::drawContents(TQPainter* painter,int clipx,int clipy,int clipw,in - TQRect widgetRect = TQRect(0, 0, visibleWidth(), visibleHeight()); - - TQRegion region = TQRegion(widgetRect) - imageRect; -- TQMemArray rects = region.tqrects(); -+ TQMemArray rects = region.rects(); - for(unsigned int pos = 0; pos < rects.count(); ++pos ) { - painter->eraseRect(rects[pos]); - } -@@ -701,7 +701,7 @@ void ImageView::limitPaintSize( PendingPaint& paint ) { - // don't paint more than max_size pixels at a time - int maxHeight = ( maxSize + paint.rect.width() - 1 ) / paint.rect.width(); // round up - maxHeight = TQMAX( maxHeight, 5 ); // at least 5 lines together -- // can't tqrepaint whole paint at once, adjust height and schedule the rest -+ // can't repaint whole paint at once, adjust height and schedule the rest - if( maxHeight < paint.rect.height()) { - TQRect remaining = paint.rect; - remaining.setTop( remaining.top() + maxHeight ); -@@ -781,12 +781,12 @@ void ImageView::slotBusyLevelChanged( BusyLevel level ) { - // How to do painting: - // When something needs to be erased: TQPainter on viewport and eraseRect() - // When whole picture needs to be repainted: fullRepaint() --// When a part of the picture needs to be updated: viewport()->tqrepaint(area,false) -+// When a part of the picture needs to be updated: viewport()->repaint(area,false) - // All other paints will be changed to progressive painting. - void ImageView::fullRepaint() { - if( !viewport()->isUpdatesEnabled()) return; - cancelPending(); -- viewport()->tqrepaint(false); -+ viewport()->repaint(false); - } - - void ImageView::cancelPending() { -@@ -832,7 +832,7 @@ void ImageView::performPaint( TQPainter* painter, int clipx, int clipy, int clip - int extraPixels = ImageUtils::extraScalePixels( smoothAlgo, zoom()); - TQRect imageRect = d->widgetToImageBounding( TQRect(clipx,clipy,clipw,cliph), extraPixels ); - imageRect = imageRect.intersect( TQRect( 0, 0, d->mDocument->width(), d->mDocument->height())); -- TQMemArray< TQRect > rects = TQRegion(d->mValidImageArea.intersect( imageRect )).tqrects(); -+ TQMemArray< TQRect > rects = TQRegion(d->mValidImageArea.intersect( imageRect )).rects(); - for( unsigned int i = 1; i < rects.count(); ++i ) { - addPendingPaint( secondPass, d->imageToWidget( rects[ i ] )); - } -@@ -1024,7 +1024,7 @@ bool ImageView::eventFilter(TQObject* obj, TQEvent* event) { - return true; - - // Getting/loosing focus causes repaints, but repainting here is expensive, -- // and there's no need to tqrepaint on focus changes, as the focus is not -+ // and there's no need to repaint on focus changes, as the focus is not - // indicated. - case TQEvent::FocusIn: - case TQEvent::FocusOut: -@@ -1313,7 +1313,7 @@ void ImageView::slotImageSizeUpdated() { - - void ImageView::slotImageRectUpdated(const TQRect& imageRect) { - d->mValidImageArea += imageRect; -- viewport()->tqrepaint( d->imageToWidget( imageRect ), false ); -+ viewport()->repaint( d->imageToWidget( imageRect ), false ); - } - - -@@ -1339,7 +1339,7 @@ double ImageView::computeZoomToFit() const { - return 1.0; - } - TQSize size=d->mDocument->image().size(); -- size.tqscale(width(),height(),TQSize::ScaleMin); -+ size.scale(width(),height(),TQSize::ScaleMin); - - double zoom=double(size.width())/d->mDocument->width(); - if (zoom>1.0 && !ImageViewConfig::enlargeSmallImages()) return 1.0; -@@ -1350,7 +1350,7 @@ double ImageView::computeZoomToWidth() const { - if (d->mDocument->isNull()) { - return 1.0; - } -- int sw = verticalScrollBar()->sizeHint().width(); // tqgeometry is not valid before first show() -+ int sw = verticalScrollBar()->sizeHint().width(); // geometry is not valid before first show() - int w = width(); - int dw = d->mDocument->width(); - switch( vScrollBarMode()) { -@@ -1425,7 +1425,7 @@ void ImageView::updateImageOffset() { - int zpixHeight=int(d->mDocument->height() * d->mZoom); - - if (zpixWidth>viewWidth && hScrollBarMode()!=AlwaysOff) { -- // use sizeHint() - tqgeometry is not valid before first show() -+ // use sizeHint() - geometry is not valid before first show() - viewHeight-=horizontalScrollBar()->sizeHint().height(); - } - if (zpixHeight>viewHeight && vScrollBarMode()!=AlwaysOff) { -@@ -1457,7 +1457,7 @@ void ImageView::updateZoomActions() { - if (d->mZoomMode==ZOOM_FREE) { - d->mZoomIn->setEnabled(d->mZoommZoomOut->setEnabled(d->mZoom>1/MAX_ZOOM); -- TQString zoomText=TQString("%1%").tqarg(int(d->mZoom*100)); -+ TQString zoomText=TQString("%1%").arg(int(d->mZoom*100)); - d->mZoomCombo->setCurrentText(zoomText); - } else { - d->mZoomIn->setEnabled(true); -diff --git a/src/gvcore/imageviewtools.cpp b/src/gvcore/imageviewtools.cpp -index 699868a..da9044a 100644 ---- a/src/gvcore/imageviewtools.cpp -+++ b/src/gvcore/imageviewtools.cpp -@@ -36,7 +36,7 @@ namespace Gwenview { - // Helper function - static TQCursor loadCursor(const TQString& name) { - TQString path; -- path=locate("data", TQString("gwenview/cursors/%1.png").tqarg(name)); -+ path=locate("data", TQString("gwenview/cursors/%1.png").arg(name)); - return TQCursor(TQPixmap(path)); - } - -diff --git a/src/gvcore/printdialog.cpp b/src/gvcore/printdialog.cpp -index 98524af..003fb3a 100644 ---- a/src/gvcore/printdialog.cpp -+++ b/src/gvcore/printdialog.cpp -@@ -169,57 +169,57 @@ void PrintDialogPage::setScaleHeight( double value ) { - } - - int PrintDialogPage::getPosition(const TQString& align) { -- int tqalignment; -+ int alignment; - - if (align == i18n("Central-Left")) { -- tqalignment = TQt::AlignLeft | TQt::AlignVCenter; -+ alignment = TQt::AlignLeft | TQt::AlignVCenter; - } else if (align == i18n("Central-Right")) { -- tqalignment = TQt::AlignRight | TQt::AlignVCenter; -+ alignment = TQt::AlignRight | TQt::AlignVCenter; - } else if (align == i18n("Top-Left")) { -- tqalignment = TQt::AlignTop | TQt::AlignLeft; -+ alignment = TQt::AlignTop | TQt::AlignLeft; - } else if (align == i18n("Top-Right")) { -- tqalignment = TQt::AlignTop | TQt::AlignRight; -+ alignment = TQt::AlignTop | TQt::AlignRight; - } else if (align == i18n("Bottom-Left")) { -- tqalignment = TQt::AlignBottom | TQt::AlignLeft; -+ alignment = TQt::AlignBottom | TQt::AlignLeft; - } else if (align == i18n("Bottom-Right")) { -- tqalignment = TQt::AlignBottom | TQt::AlignRight; -+ alignment = TQt::AlignBottom | TQt::AlignRight; - } else if (align == i18n("Top-Central")) { -- tqalignment = TQt::AlignTop | TQt::AlignHCenter; -+ alignment = TQt::AlignTop | TQt::AlignHCenter; - } else if (align == i18n("Bottom-Central")) { -- tqalignment = TQt::AlignBottom | TQt::AlignHCenter; -+ alignment = TQt::AlignBottom | TQt::AlignHCenter; - } else { - // Central -- tqalignment = TQt::AlignCenter; // TQt::AlignHCenter || TQt::AlignVCenter -+ alignment = TQt::AlignCenter; // TQt::AlignHCenter || TQt::AlignVCenter - } - -- return tqalignment; -+ return alignment; - } - - TQString PrintDialogPage::setPosition(int align) { -- TQString tqalignment; -+ TQString alignment; - - if (align == (TQt::AlignLeft | TQt::AlignVCenter)) { -- tqalignment = i18n("Central-Left"); -+ alignment = i18n("Central-Left"); - } else if (align == (TQt::AlignRight | TQt::AlignVCenter)) { -- tqalignment = i18n("Central-Right"); -+ alignment = i18n("Central-Right"); - } else if (align == (TQt::AlignTop | TQt::AlignLeft)) { -- tqalignment = i18n("Top-Left"); -+ alignment = i18n("Top-Left"); - } else if (align == (TQt::AlignTop | TQt::AlignRight)) { -- tqalignment = i18n("Top-Right"); -+ alignment = i18n("Top-Right"); - } else if (align == (TQt::AlignBottom | TQt::AlignLeft)) { -- tqalignment = i18n("Bottom-Left"); -+ alignment = i18n("Bottom-Left"); - } else if (align == (TQt::AlignBottom | TQt::AlignRight)) { -- tqalignment = i18n("Bottom-Right"); -+ alignment = i18n("Bottom-Right"); - } else if (align == (TQt::AlignTop | TQt::AlignHCenter)) { -- tqalignment = i18n("Top-Central"); -+ alignment = i18n("Top-Central"); - } else if (align == (TQt::AlignBottom | TQt::AlignHCenter)) { -- tqalignment = i18n("Bottom-Central"); -+ alignment = i18n("Bottom-Central"); - } else { - // Central: TQt::AlignCenter or (TQt::AlignHCenter || TQt::AlignVCenter) -- tqalignment = i18n("Central"); -+ alignment = i18n("Central"); - } - -- return tqalignment; -+ return alignment; - } - - // SLOTS -diff --git a/src/gvcore/qxcfi.cpp b/src/gvcore/qxcfi.cpp -index 27ad0b9..8e6559f 100644 ---- a/src/gvcore/qxcfi.cpp -+++ b/src/gvcore/qxcfi.cpp -@@ -486,7 +486,7 @@ void XCFImageFormat::readXCF ( TQImageIO* image_io ) - } - - image_io->setImage( xcf_image.image ); -- image_io->seStatus( 0 ); -+ image_io->setStatus( 0 ); - } - - /*! -diff --git a/src/gvcore/xpm.cpp b/src/gvcore/xpm.cpp -index b56ba59..a021c55 100644 ---- a/src/gvcore/xpm.cpp -+++ b/src/gvcore/xpm.cpp -@@ -161,7 +161,7 @@ static void read_xpm_image_or_array( TQImageIO * iio, const char * const * sourc - int i, cpp, ncols, w, h, index = 0; - - if ( iio ) { -- iio->seStatus( 1 ); -+ iio->setStatus( 1 ); - d = iio ? iio->ioDevice() : 0; - d->readLine( buf.data(), buf.size() ); // "/* XPM */" - TQRegExp r( TQString::fromLatin1("/\\*.XPM.\\*/") ); -@@ -291,7 +291,7 @@ static void read_xpm_image_or_array( TQImageIO * iio, const char * const * sourc - } - if ( iio ) { - iio->setImage( image ); -- iio->seStatus( 0 ); // image ok -+ iio->setStatus( 0 ); // image ok - } - } - -@@ -340,7 +340,7 @@ static const char* xpm_color_name( int cpp, int index ) - static void write_xpm_image( TQImageIO * iio ) - { - if ( iio ) -- iio->seStatus( 1 ); -+ iio->setStatus( 1 ); - else - return; - -@@ -424,7 +424,7 @@ static void write_xpm_image( TQImageIO * iio ) - } - s << "};" << endl; - -- iio->seStatus( 0 ); -+ iio->setStatus( 0 ); - } - - // TQt code end --------------------------- -diff --git a/src/gvdirpart/gvdirpart.cpp b/src/gvdirpart/gvdirpart.cpp -index 4745bfe..3f321e5 100644 ---- a/src/gvdirpart/gvdirpart.cpp -+++ b/src/gvdirpart/gvdirpart.cpp -@@ -173,7 +173,7 @@ bool GVDirPart::openURL(const KURL& url) { - void GVDirPart::loaded(const KURL& url) { - TQString caption = url.filename(); - if( !mDocument->image().isNull()) -- caption += TQString(" %1 x %2").tqarg(mDocument->width()).tqarg(mDocument->height()); -+ caption += TQString(" %1 x %2").arg(mDocument->width()).arg(mDocument->height()); - emit setWindowCaption(caption); - emit completed(); - } -diff --git a/src/gvimagepart/gvimagepart.cpp b/src/gvimagepart/gvimagepart.cpp -index 95712b5..95c67e3 100644 ---- a/src/gvimagepart/gvimagepart.cpp -+++ b/src/gvimagepart/gvimagepart.cpp -@@ -194,7 +194,7 @@ void GVImagePart::slotLoading() { - } - - void GVImagePart::slotLoaded(const KURL& url) { -- TQString caption = url.filename() + TQString(" - %1x%2").tqarg(mDocument->width()).tqarg(mDocument->height()); -+ TQString caption = url.filename() + TQString(" - %1x%2").arg(mDocument->width()).arg(mDocument->height()); - emit setWindowCaption(caption); - emit completed(); - emit setStatusBarText(i18n("Done.")); -@@ -363,7 +363,7 @@ void GVImagePart::saveOriginalAs() { - if (!file.open(IO_WriteOnly)) { - KMessageBox::error( - widget(), -- i18n("Could not open '%1' for writing.").tqarg(path)); -+ i18n("Could not open '%1' for writing.").arg(path)); - return; - } - storeData(widget(), &file, data); -diff --git a/src/imageutils/jpegcontent.cpp b/src/imageutils/jpegcontent.cpp -index 5bcb7ef..c007267 100644 ---- a/src/imageutils/jpegcontent.cpp -+++ b/src/imageutils/jpegcontent.cpp -@@ -120,7 +120,7 @@ struct inmem_dest_mgr : public jpeg_destination_mgr { - void inmem_init_destination(j_compress_ptr cinfo) { - inmem_dest_mgr* dest=(inmem_dest_mgr*)(cinfo->dest); - if (dest->mOutput->size()==0) { -- bool result=dest->mOutput->tqresize(INMEM_DST_DELTA); -+ bool result=dest->mOutput->resize(INMEM_DST_DELTA); - Q_ASSERT(result); - } - dest->free_in_buffer=dest->mOutput->size(); -@@ -129,7 +129,7 @@ void inmem_init_destination(j_compress_ptr cinfo) { - - int inmem_empty_output_buffer(j_compress_ptr cinfo) { - inmem_dest_mgr* dest=(inmem_dest_mgr*)(cinfo->dest); -- bool result=dest->mOutput->tqresize(dest->mOutput->size() + INMEM_DST_DELTA); -+ bool result=dest->mOutput->resize(dest->mOutput->size() + INMEM_DST_DELTA); - Q_ASSERT(result); - dest->next_output_byte=(JOCTET*)( dest->mOutput->data() + dest->mOutput->size() - INMEM_DST_DELTA ); - dest->free_in_buffer=INMEM_DST_DELTA; -@@ -141,7 +141,7 @@ void inmem_term_destination(j_compress_ptr cinfo) { - inmem_dest_mgr* dest=(inmem_dest_mgr*)(cinfo->dest); - int finalSize=dest->next_output_byte - (JOCTET*)(dest->mOutput->data()); - Q_ASSERT(finalSize>=0); -- dest->mOutput->tqresize(finalSize); -+ dest->mOutput->resize(finalSize); - } - - -diff --git a/src/imageutils/scale.cpp b/src/imageutils/scale.cpp -index c8a70a7..733dc1a 100644 ---- a/src/imageutils/scale.cpp -+++ b/src/imageutils/scale.cpp -@@ -1929,7 +1929,7 @@ TQImage scale(const TQImage& image, int width, int height, - if( image.isNull()) return image.copy(); - - TQSize newSize( image.size() ); -- newSize.tqscale( TQSize( width, height ), (TQSize::ScaleMode)mode ); // ### remove cast in TQt 4.0 -+ newSize.scale( TQSize( width, height ), (TQSize::ScaleMode)mode ); // ### remove cast in TQt 4.0 - newSize = newSize.expandedTo( TQSize( 1, 1 )); // make sure it doesn't become null - - if ( newSize == image.size() ) return image.copy(); -diff --git a/src/spec/gwenview-mdk.spec b/src/spec/gwenview-mdk.spec -index e2ad754..67a3cdf 100644 ---- a/src/spec/gwenview-mdk.spec -+++ b/src/spec/gwenview-mdk.spec -@@ -272,7 +272,7 @@ rm -rf $RPM_BUILD_ROOT - o Update the EXIF thumbnail when rotating a JPEG file. - o In the folder view, folders now open with a single click (By Daniel Thaler). - o Reworked coordinate conversions in order to avoid subtle paint errors. -- o Remember computed optimal tqrepaint sizes in the config file, -+ o Remember computed optimal repaint sizes in the config file, - so they are available immediately after next start. - o Remember shown URL after session restore. - * Sat Oct 16 2004 Angelo Naselli 1.1.5-0.3mdk diff --git a/redhat/applications/gwenview/gwenview-3.5.13-rename_a_few_stragglers.patch b/redhat/applications/gwenview/gwenview-3.5.13-rename_a_few_stragglers.patch deleted file mode 100644 index 2075f3345..000000000 --- a/redhat/applications/gwenview/gwenview-3.5.13-rename_a_few_stragglers.patch +++ /dev/null @@ -1,19 +0,0 @@ -commit b4881a61a24b3df9af47ee6d7e7de4ca8d369f81 -Author: Timothy Pearson -Date: 1324747996 -0600 - - Rename a few stragglers - -diff --git a/src/gvcore/imageviewconfig.kcfg b/src/gvcore/imageviewconfig.kcfg -index e5c1e04..d93051a 100644 ---- a/src/gvcore/imageviewconfig.kcfg -+++ b/src/gvcore/imageviewconfig.kcfg -@@ -2,7 +2,7 @@ - - - tqapplication.h -- tqpalette.h -+ palette.h - - - diff --git a/redhat/applications/gwenview/gwenview-3.5.13-rename_obsolete_tq_methods.patch b/redhat/applications/gwenview/gwenview-3.5.13-rename_obsolete_tq_methods.patch deleted file mode 100644 index 4be46b5e1..000000000 --- a/redhat/applications/gwenview/gwenview-3.5.13-rename_obsolete_tq_methods.patch +++ /dev/null @@ -1,323 +0,0 @@ -commit 04fccf73370ad95a70b8e107240e50f9fdbf98fc -Author: Timothy Pearson -Date: 1324497836 -0600 - - Rename obsolete tq methods to standard names - -diff --git a/src/app/configdialog.cpp b/src/app/configdialog.cpp -index a429095..3dbdb53 100644 ---- a/src/app/configdialog.cpp -+++ b/src/app/configdialog.cpp -@@ -93,9 +93,9 @@ template - void addConfigPage(KDialogBase* dialog, T* content, const TQString& header, const TQString& name, const char* iconName) { - TQFrame* page=dialog->addPage(name, header, BarIcon(iconName, 32)); - content->reparent(page, TQPoint(0,0)); -- TQVBoxLayout* tqlayout=new TQVBoxLayout(page, 0, KDialog::spacingHint()); -- tqlayout->addWidget(content); -- tqlayout->addStretch(); -+ TQVBoxLayout* layout=new TQVBoxLayout(page, 0, KDialog::spacingHint()); -+ layout->addWidget(content); -+ layout->addStretch(); - } - - template -diff --git a/src/app/configimagelistpage.ui b/src/app/configimagelistpage.ui -index e2fb15b..01cfe95 100644 ---- a/src/app/configimagelistpage.ui -+++ b/src/app/configimagelistpage.ui -@@ -150,7 +150,7 @@ - - - -- tqlayout6 -+ layout6 - - - -@@ -258,7 +258,7 @@ - - - -- tqlayout7 -+ layout7 - - - -diff --git a/src/app/configimageviewpage.ui b/src/app/configimageviewpage.ui -index 2f816c0..963f13d 100644 ---- a/src/app/configimageviewpage.ui -+++ b/src/app/configimageviewpage.ui -@@ -73,7 +73,7 @@ - - - -- tqlayout4 -+ layout4 - - - -diff --git a/src/app/configmiscpage.ui b/src/app/configmiscpage.ui -index 9df8e96..7e5874e 100644 ---- a/src/app/configmiscpage.ui -+++ b/src/app/configmiscpage.ui -@@ -137,7 +137,7 @@ - - - -- tqlayout1 -+ layout1 - - - -diff --git a/src/app/main.cpp b/src/app/main.cpp -index bef08ae..989bffd 100644 ---- a/src/app/main.cpp -+++ b/src/app/main.cpp -@@ -117,7 +117,7 @@ KDE_EXPORT int kdemain (int argc, char *argv[]) { - aboutData.addCredit("Marco Gazzetta", I18N_NOOP("Fixed crash when trying to generate a thumbnail for a broken JPEG file (v0.16.0)"), "mililani@pobox.com"); - aboutData.addCredit("GeniusR13", I18N_NOOP("Fixed compilation on KDE 3.0 (v0.16.1)"), "geniusr13@gmx.net"); - aboutData.addCredit("Ian Koenig", I18N_NOOP("First RPM spec file"), "iguy@ionsphere.org"); -- aboutData.addCredit("Meni Livne", I18N_NOOP("Toolbar tqlayout patch for RTL languages (v0.16.0)"), "livne@kde.org"); -+ aboutData.addCredit("Meni Livne", I18N_NOOP("Toolbar layout patch for RTL languages (v0.16.0)"), "livne@kde.org"); - aboutData.addCredit("Angelo Naselli", I18N_NOOP("Printing support (v1.0.0)"), "anaselli@linux.it"); - aboutData.addCredit("Jos van den Oever", I18N_NOOP("File info view (v1.0.0)\nPatch to toggle auto-zoom on click (v1.0.0)"), "jos@vandenoever.info"); - aboutData.addCredit("Jeroen Peters", I18N_NOOP("Configurable mouse wheel behavior (v1.1.1)"), "jpeters@coldmail.nl"); -diff --git a/src/app/mainwindow.cpp b/src/app/mainwindow.cpp -index 2f2275b..70b42d7 100644 ---- a/src/app/mainwindow.cpp -+++ b/src/app/mainwindow.cpp -@@ -199,8 +199,8 @@ bool MainWindow::queryClose() { - - KConfig* config=KGlobal::config(); - -- // Don't store dock tqlayout if only the image dock is visible. This avoid -- // saving tqlayout when in "fullscreen" or "image only" mode. -+ // Don't store dock layout if only the image dock is visible. This avoid -+ // saving layout when in "fullscreen" or "image only" mode. - if (mFileViewController->isVisible() || mDirViewController->widget()->isVisible()) { - mDockArea->writeDockConfig(config,CONFIG_DOCK_GROUP); - } -@@ -867,8 +867,8 @@ void MainWindow::createWidgets() { - mDockArea->manager()->setSplitterOpaqueResize(true); - - mViewModeWidget=new TQWidget(mCentralStack); -- TQVBoxLayout* tqlayout=new TQVBoxLayout(mViewModeWidget); -- tqlayout->setAutoAdd(true); -+ TQVBoxLayout* layout=new TQVBoxLayout(mViewModeWidget); -+ layout->setAutoAdd(true); - mCentralStack->addWidget(mViewModeWidget); - - // Status bar -@@ -923,7 +923,7 @@ void MainWindow::createWidgets() { - setGeometry(20,20,720,520); - - // Default dock config -- // (The "magic numbers" were found by adjusting the tqlayout from within the -+ // (The "magic numbers" were found by adjusting the layout from within the - // app and looking at the result in the configuration file) - mFolderDock->manualDock(mFileDock, KDockWidget::DockLeft, 4000); - mImageDock->manualDock(mFolderDock, KDockWidget::DockBottom, 3734); -diff --git a/src/app/vtabwidget.cpp b/src/app/vtabwidget.cpp -index 66e9b9e..40a1a0a 100644 ---- a/src/app/vtabwidget.cpp -+++ b/src/app/vtabwidget.cpp -@@ -47,9 +47,9 @@ VTabWidget::VTabWidget(TQWidget* parent) - d->mTabBar->setPosition(KMultiTabBar::Left); - d->mTabBar->setStyle(KMultiTabBar::KDEV3ICON); - d->mStack=new TQWidgetStack(this); -- TQHBoxLayout* tqlayout=new TQHBoxLayout(this); -- tqlayout->add(d->mTabBar); -- tqlayout->add(d->mStack); -+ TQHBoxLayout* layout=new TQHBoxLayout(this); -+ layout->add(d->mTabBar); -+ layout->add(d->mStack); - } - - -diff --git a/src/gvcore/deletedialogbase.ui b/src/gvcore/deletedialogbase.ui -index f7d6f90..7a8ffd4 100644 ---- a/src/gvcore/deletedialogbase.ui -+++ b/src/gvcore/deletedialogbase.ui -@@ -21,7 +21,7 @@ - - - -- tqlayout3 -+ layout3 - - - -diff --git a/src/gvcore/externaltooldialogbase.ui b/src/gvcore/externaltooldialogbase.ui -index 2c25a92..e35f222 100644 ---- a/src/gvcore/externaltooldialogbase.ui -+++ b/src/gvcore/externaltooldialogbase.ui -@@ -153,7 +153,7 @@ - - - -- tqlayout3 -+ layout3 - - - -diff --git a/src/gvcore/filethumbnailview.cpp b/src/gvcore/filethumbnailview.cpp -index c6760fe..4867781 100644 ---- a/src/gvcore/filethumbnailview.cpp -+++ b/src/gvcore/filethumbnailview.cpp -@@ -77,8 +77,8 @@ public: - ProgressWidget(FileThumbnailView* view, int count) - : TQFrame(view) - { -- TQHBoxLayout* tqlayout=new TQHBoxLayout(this, 3, 3); -- tqlayout->setAutoAdd(true); -+ TQHBoxLayout* layout=new TQHBoxLayout(this, 3, 3); -+ layout->setAutoAdd(true); - setFrameStyle( TQFrame::StyledPanel | TQFrame::Raised ); - - mStop=new TQPushButton(this); -@@ -93,7 +93,7 @@ public: - - void polish() { - TQFrame::polish(); -- setMinimumWidth(tqlayout()->minimumSize().width()); -+ setMinimumWidth(layout()->minimumSize().width()); - //setFixedHeight( mProgressBar->height() ); - setFixedHeight( mStop->height() ); - } -diff --git a/src/gvcore/fileviewcontroller.cpp b/src/gvcore/fileviewcontroller.cpp -index 1cd795e..86a0282 100644 ---- a/src/gvcore/fileviewcontroller.cpp -+++ b/src/gvcore/fileviewcontroller.cpp -@@ -268,10 +268,10 @@ FileViewController::FileViewController(TQWidget* parent,KActionCollection* actio - d->initFilterCombo(); - d->mStack=new TQWidgetStack(this); - -- TQVBoxLayout *tqlayout=new TQVBoxLayout(this); -- tqlayout->addWidget(d->mToolBar); -- tqlayout->addWidget(d->mFilterBar); -- tqlayout->addWidget(d->mStack); -+ TQVBoxLayout *layout=new TQVBoxLayout(this); -+ layout->addWidget(d->mToolBar); -+ layout->addWidget(d->mFilterBar); -+ layout->addWidget(d->mStack); - - // Actions - mSelectFirst=new KAction(i18n("&First"), -diff --git a/src/gvcore/fullscreenbar.cpp b/src/gvcore/fullscreenbar.cpp -index be2b517..bc8375f 100644 ---- a/src/gvcore/fullscreenbar.cpp -+++ b/src/gvcore/fullscreenbar.cpp -@@ -123,7 +123,7 @@ void FullScreenBar::showEvent(TQShowEvent* event) { - if (!d->mFirstShow) return; - d->mFirstShow=false; - move(0, -height()); -- tqlayout()->setResizeMode(TQLayout::Fixed); -+ layout()->setResizeMode(TQLayout::Fixed); - } - - -diff --git a/src/gvcore/imageviewconfig.kcfg b/src/gvcore/imageviewconfig.kcfg -index 6424202..e5c1e04 100644 ---- a/src/gvcore/imageviewconfig.kcfg -+++ b/src/gvcore/imageviewconfig.kcfg -@@ -18,7 +18,7 @@ - false - - -- TQApplication::tqpalette().active().dark() -+ TQApplication::palette().active().dark() - - - false -diff --git a/src/gvcore/imageviewcontroller.cpp b/src/gvcore/imageviewcontroller.cpp -index f24a2e8..7387cb8 100644 ---- a/src/gvcore/imageviewcontroller.cpp -+++ b/src/gvcore/imageviewcontroller.cpp -@@ -275,12 +275,12 @@ ImageViewController::ImageViewController(TQWidget* parent, Document* document, K - - d->mContainer=new TQWidget(parent); - d->mContainer->setMinimumWidth(1); // Make sure we can resize the toolbar smaller than its minimum size -- TQVBoxLayout* tqlayout=new TQVBoxLayout(d->mContainer); -+ TQVBoxLayout* layout=new TQVBoxLayout(d->mContainer); - d->mToolBar=new KToolBar(d->mContainer, "", true); - -- tqlayout->add(d->mToolBar); -+ layout->add(d->mToolBar); - d->mStack=new TQWidgetStack(d->mContainer); -- tqlayout->add(d->mStack); -+ layout->add(d->mStack); - - d->mImageView=new ImageView(d->mStack, document, actionCollection); - d->mStack->addWidget(d->mImageView); -diff --git a/src/gvcore/printdialog.cpp b/src/gvcore/printdialog.cpp -index 003fb3a..3b013b3 100644 ---- a/src/gvcore/printdialog.cpp -+++ b/src/gvcore/printdialog.cpp -@@ -82,8 +82,8 @@ PrintDialogPage::PrintDialogPage( Document* document, TQWidget *parent, const ch - mContent = new PrintDialogPageBase(this); - setTitle( mContent->caption() ); - -- TQVBoxLayout *tqlayout = new TQVBoxLayout( this ); -- tqlayout->addWidget( mContent ); -+ TQVBoxLayout *layout = new TQVBoxLayout( this ); -+ layout->addWidget( mContent ); - - connect(mContent->mWidth, TQT_SIGNAL( valueChanged( double )), TQT_SLOT( slotWidthChanged( double ))); - connect(mContent->mHeight, TQT_SIGNAL( valueChanged( double )), TQT_SLOT( slotHeightChanged( double ))); -diff --git a/src/gvcore/printdialogpagebase.ui b/src/gvcore/printdialogpagebase.ui -index 543877c..6ae7696 100644 ---- a/src/gvcore/printdialogpagebase.ui -+++ b/src/gvcore/printdialogpagebase.ui -@@ -24,7 +24,7 @@ -
- - -- tqlayout2 -+ layout2 - - - -@@ -170,7 +170,7 @@ - - - -- tqlayout4 -+ layout4 - - - -@@ -236,7 +236,7 @@ - - - -- tqlayout4 -+ layout4 - - - -diff --git a/src/gvcore/thumbnaildetailsdialogbase.ui b/src/gvcore/thumbnaildetailsdialogbase.ui -index e9ef011..ae03c98 100644 ---- a/src/gvcore/thumbnaildetailsdialogbase.ui -+++ b/src/gvcore/thumbnaildetailsdialogbase.ui -@@ -29,7 +29,7 @@ - - - -- tqlayout6 -+ layout6 - - - -diff --git a/src/spec/gwenview-mdk.spec b/src/spec/gwenview-mdk.spec -index 67a3cdf..c524954 100644 ---- a/src/spec/gwenview-mdk.spec -+++ b/src/spec/gwenview-mdk.spec -@@ -317,7 +317,7 @@ rm -rf $RPM_BUILD_ROOT - - Avoid data loss if the JPEG images are saved while being rotated by - JPEGTran. - - The back button in Konqueror now works correctly with gvimagepart. -- - The default tqlayout is more user-friendly. -+ - The default layout is more user-friendly. - - Non-trivial URLs (e.g. http query URL) are correctly handled. - - You can now drop images on the image view. - diff --git a/redhat/applications/gwenview/gwenview-3.5.13-rename_old_tq_method.patch b/redhat/applications/gwenview/gwenview-3.5.13-rename_old_tq_method.patch deleted file mode 100644 index 2f9e42d5b..000000000 --- a/redhat/applications/gwenview/gwenview-3.5.13-rename_old_tq_method.patch +++ /dev/null @@ -1,796 +0,0 @@ -commit d0bdd0d7a768f9935b521f3bd12a4cd72739b96f -Author: Timothy Pearson -Date: 1324253323 -0600 - - Rename old tq methods that no longer need a unique name - -diff --git a/src/app/bookmarkdialogbase.ui b/src/app/bookmarkdialogbase.ui -index d4db944..08ccea2 100644 ---- a/src/app/bookmarkdialogbase.ui -+++ b/src/app/bookmarkdialogbase.ui -@@ -20,7 +20,7 @@ - 0 - - -- -+ - - 400 - 0 -@@ -88,7 +88,7 @@ - - Expanding - -- -+ - - 383 - 16 -diff --git a/src/app/bookmarkviewcontroller.cpp b/src/app/bookmarkviewcontroller.cpp -index b40f70e..68ee9f0 100644 ---- a/src/app/bookmarkviewcontroller.cpp -+++ b/src/app/bookmarkviewcontroller.cpp -@@ -98,7 +98,7 @@ public: - if ( !item) return; - if (item->mBookmark.isGroup()) return; - -- TQRect rect=mListView->tqitemRect(item); -+ TQRect rect=mListView->itemRect(item); - tip(rect, item->mBookmark.url().prettyURL()); - }; - -diff --git a/src/app/configdialog.cpp b/src/app/configdialog.cpp -index 0fb33df..d274188 100644 ---- a/src/app/configdialog.cpp -+++ b/src/app/configdialog.cpp -@@ -289,7 +289,7 @@ void ConfigDialog::emptyCache() { - - KURL url; - url.setPath(dir); -- if (KIO::NetAccess::del(url, tqtopLevelWidget()) ) { -+ if (KIO::NetAccess::del(url, topLevelWidget()) ) { - KMessageBox::information( this,i18n("Cache emptied.") ); - } - } -diff --git a/src/app/configfileoperationspage.ui b/src/app/configfileoperationspage.ui -index 78ac6d3..451a030 100644 ---- a/src/app/configfileoperationspage.ui -+++ b/src/app/configfileoperationspage.ui -@@ -93,7 +93,7 @@ - - Fixed - -- -+ - - 21 - 16 -diff --git a/src/app/configfullscreenpage.ui b/src/app/configfullscreenpage.ui -index e7da709..855869f 100644 ---- a/src/app/configfullscreenpage.ui -+++ b/src/app/configfullscreenpage.ui -@@ -43,7 +43,7 @@ - - Fixed - -- -+ - - 21 - 16 -@@ -131,7 +131,7 @@ You can use the following keywords to format the On Screen Display: - - Expanding - -- -+ - - 21 - 18 -diff --git a/src/app/configimagelistpage.ui b/src/app/configimagelistpage.ui -index 6670dbd..e2fb15b 100644 ---- a/src/app/configimagelistpage.ui -+++ b/src/app/configimagelistpage.ui -@@ -40,7 +40,7 @@ - - Fixed - -- -+ - - 21 - 16 -@@ -131,7 +131,7 @@ - - Expanding - -- -+ - - 20 - 0 -@@ -166,7 +166,7 @@ - - Fixed - -- -+ - - 21 - 20 -@@ -217,7 +217,7 @@ - - Fixed - -- -+ - - 21 - 16 -diff --git a/src/app/configimageviewpage.ui b/src/app/configimageviewpage.ui -index a99b945..32fb346 100644 ---- a/src/app/configimageviewpage.ui -+++ b/src/app/configimageviewpage.ui -@@ -56,7 +56,7 @@ - - Expanding - -- -+ - - 181 - 21 -@@ -238,7 +238,7 @@ Use this option if your computer is not very fast. - - Fixed - -- -+ - - 21 - 16 -diff --git a/src/app/configmiscpage.ui b/src/app/configmiscpage.ui -index 9b69c2d..9df8e96 100644 ---- a/src/app/configmiscpage.ui -+++ b/src/app/configmiscpage.ui -@@ -92,7 +92,7 @@ - - Fixed - -- -+ - - 20 - 24 -@@ -120,7 +120,7 @@ - - Fixed - -- -+ - - 20 - 24 -@@ -153,7 +153,7 @@ - - Fixed - -- -+ - - 11 - 20 -@@ -191,7 +191,7 @@ - - Expanding - -- -+ - - 21 - 41 -diff --git a/src/app/configslideshowpage.ui b/src/app/configslideshowpage.ui -index 62ab807..ccf0c15 100644 ---- a/src/app/configslideshowpage.ui -+++ b/src/app/configslideshowpage.ui -@@ -88,7 +88,7 @@ When this option is enabled, the slideshow will stop on the last image of the fo - - Expanding - -- -+ - - 180 - 20 -diff --git a/src/app/mainwindow.cpp b/src/app/mainwindow.cpp -index 1464a09..f9acc9b 100644 ---- a/src/app/mainwindow.cpp -+++ b/src/app/mainwindow.cpp -@@ -871,7 +871,7 @@ void MainWindow::createWidgets() { - tqlayout->setAutoAdd(true); - mCentralStack->addWidget(mViewModeWidget); - -- // tqStatus bar -+ // Status bar - mSBDetailLabel=new TQLabel("", statusBar()); - - mSBHintLabel=new TruncatedTextLabel(statusBar()); -@@ -1216,7 +1216,7 @@ void MainWindow::createLocationToolBar() { - - // Do not let the combobox get wider than available space, as this would - // hide the toolbuttons after it -- mURLEdit->tqsetSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Fixed); -+ mURLEdit->setSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Fixed); - - // Avoid stealing focus - mURLEdit->setFocusPolicy(TQ_ClickFocus); -diff --git a/src/app/truncatedtextlabel.h b/src/app/truncatedtextlabel.h -index 8e126ed..2351890 100644 ---- a/src/app/truncatedtextlabel.h -+++ b/src/app/truncatedtextlabel.h -@@ -39,14 +39,14 @@ public: - TruncatedTextLabel(TQWidget* parent) - : TQLabel(parent) {} - -- TQSize tqminimumSizeHint() const { -- TQSize size=TQLabel::tqminimumSizeHint(); -+ TQSize minimumSizeHint() const { -+ TQSize size=TQLabel::minimumSizeHint(); - size.setWidth(-1); - return size; - } - -- TQSize tqsizeHint() const { -- return TQSize(contentsRect().width(), TQLabel::tqsizeHint().height()); -+ TQSize sizeHint() const { -+ return TQSize(contentsRect().width(), TQLabel::sizeHint().height()); - } - - void setText(const TQString& text) { -diff --git a/src/gvcore/cursortracker.cpp b/src/gvcore/cursortracker.cpp -index 00f1736..3569dc8 100644 ---- a/src/gvcore/cursortracker.cpp -+++ b/src/gvcore/cursortracker.cpp -@@ -79,7 +79,7 @@ TipTracker::TipTracker(const TQString& txt, TQWidget* reference) - setPalette(TQToolTip::palette()); - setFrameStyle(TQFrame::Plain | TQFrame::Box); - setLineWidth(1); -- tqsetAlignment(AlignAuto | AlignTop); -+ setAlignment(AlignAuto | AlignTop); - } - - -diff --git a/src/gvcore/deletedialog.cpp b/src/gvcore/deletedialog.cpp -index 3d6308b..9fdfac5 100644 ---- a/src/gvcore/deletedialog.cpp -+++ b/src/gvcore/deletedialog.cpp -@@ -113,9 +113,9 @@ bool DeleteDialog::shouldDelete() const { - } - - --TQSize DeleteDialog::tqsizeHint() const { -+TQSize DeleteDialog::sizeHint() const { - m_widget->adjustSize(); -- TQSize hint = m_widget->tqminimumSize(); -+ TQSize hint = m_widget->minimumSize(); - hint = calculateSize(hint.width(), hint.height()); - - // For some reason calculateSize does not return a correct height. As I'm -diff --git a/src/gvcore/deletedialog.h b/src/gvcore/deletedialog.h -index 6825368..1bdc5ab 100644 ---- a/src/gvcore/deletedialog.h -+++ b/src/gvcore/deletedialog.h -@@ -36,7 +36,7 @@ public: - void setURLList(const KURL::List &files); - bool shouldDelete() const; - -- TQSize tqsizeHint() const; -+ TQSize sizeHint() const; - - protected slots: - virtual void accept(); -diff --git a/src/gvcore/deletedialogbase.ui b/src/gvcore/deletedialogbase.ui -index 4725920..6abab10 100644 ---- a/src/gvcore/deletedialogbase.ui -+++ b/src/gvcore/deletedialogbase.ui -@@ -47,7 +47,7 @@ - - ddDeleteText - -- -+ - - 0 - 60 -diff --git a/src/gvcore/externaltooldialogbase.ui b/src/gvcore/externaltooldialogbase.ui -index 00d2954..2c25a92 100644 ---- a/src/gvcore/externaltooldialogbase.ui -+++ b/src/gvcore/externaltooldialogbase.ui -@@ -20,7 +20,7 @@ - 0 - - -- -+ - - 720 - 0 -@@ -49,7 +49,7 @@ - - Expanding - -- -+ - - 487 - 16 -@@ -304,7 +304,7 @@ You can use keywords in the Command field: - - Expanding - -- -+ - - 21 - 140 -diff --git a/src/gvcore/filedetailview.cpp b/src/gvcore/filedetailview.cpp -index f061c13..a8eba49 100644 ---- a/src/gvcore/filedetailview.cpp -+++ b/src/gvcore/filedetailview.cpp -@@ -125,8 +125,8 @@ FileDetailView::FileDetailView(TQWidget *parent, const char *name) - setDropHighlighter(false); - - int size = IconSize(KIcon::Small); -- mShownItemUnselectedPixmap = createShownItemPixmap(size, tqcolorGroup().highlight()); -- mShownItemSelectedPixmap = createShownItemPixmap(size, tqcolorGroup().highlightedText()); -+ mShownItemUnselectedPixmap = createShownItemPixmap(size, colorGroup().highlight()); -+ mShownItemSelectedPixmap = createShownItemPixmap(size, colorGroup().highlightedText()); - } - - -diff --git a/src/gvcore/filedetailviewitem.h b/src/gvcore/filedetailviewitem.h -index 1104bce..a0ad5df 100644 ---- a/src/gvcore/filedetailviewitem.h -+++ b/src/gvcore/filedetailviewitem.h -@@ -71,7 +71,7 @@ public: - - TQRect rect() const - { -- TQRect r = listView()->tqitemRect(this); -+ TQRect r = listView()->itemRect(this); - return TQRect( listView()->viewportToContents( r.topLeft() ), - TQSize( r.width(), r.height() ) ); - } -diff --git a/src/gvcore/fileopobject.cpp b/src/gvcore/fileopobject.cpp -index e72d192..9f09438 100644 ---- a/src/gvcore/fileopobject.cpp -+++ b/src/gvcore/fileopobject.cpp -@@ -89,7 +89,7 @@ void FileOpObject::slotResult(KIO::Job* job) { - - - void FileOpObject::polishJob(KIO::Job* job) { -- job->setWindow(mParent->tqtopLevelWidget()); -+ job->setWindow(mParent->topLevelWidget()); - connect( job, TQT_SIGNAL( result(KIO::Job*) ), - this, TQT_SLOT( slotResult(KIO::Job*) ) ); - } -diff --git a/src/gvcore/filethumbnailview.cpp b/src/gvcore/filethumbnailview.cpp -index 51445be..3910e48 100644 ---- a/src/gvcore/filethumbnailview.cpp -+++ b/src/gvcore/filethumbnailview.cpp -@@ -93,7 +93,7 @@ public: - - void polish() { - TQFrame::polish(); -- setMinimumWidth(tqlayout()->tqminimumSize().width()); -+ setMinimumWidth(tqlayout()->minimumSize().width()); - //setFixedHeight( mProgressBar->height() ); - setFixedHeight( mStop->height() ); - } -@@ -142,7 +142,7 @@ struct FileThumbnailView::Private { - mWaitThumbnail.fill(view->paletteBackgroundColor()); - TQPainter painter(&mWaitThumbnail); - -- painter.setPen(view->tqcolorGroup().button()); -+ painter.setPen(view->colorGroup().button()); - painter.drawRect(0,0,mThumbnailSize,mThumbnailSize); - painter.drawPixmap( - (mThumbnailSize-mWaitPixmap.width())/2, -diff --git a/src/gvcore/filethumbnailviewitem.cpp b/src/gvcore/filethumbnailviewitem.cpp -index 65da494..cd607b7 100644 ---- a/src/gvcore/filethumbnailviewitem.cpp -+++ b/src/gvcore/filethumbnailviewitem.cpp -@@ -271,16 +271,16 @@ void FileThumbnailViewItem::calcRect(const TQString&) { - textH+=(*it)->height(); - } - -- TQRect tqitemRect(x(), y(), view->gridX(), 0); -+ TQRect itemRect(x(), y(), view->gridX(), 0); - TQRect itemPixmapRect(PADDING, PADDING, thumbnailSize, thumbnailSize); - TQRect itemTextRect(0, 0, textW, textH); - if (isRight) { -- tqitemRect.setHeight( TQMAX(thumbnailSize + PADDING*2, textH) ); -+ itemRect.setHeight( TQMAX(thumbnailSize + PADDING*2, textH) ); - itemTextRect.moveLeft(thumbnailSize + PADDING * 2 ); -- itemTextRect.moveTop((tqitemRect.height() - textH)/2); -+ itemTextRect.moveTop((itemRect.height() - textH)/2); - } else { -- itemPixmapRect.moveLeft( (tqitemRect.width() - itemPixmapRect.width()) / 2 ); -- tqitemRect.setHeight(thumbnailSize + PADDING*3 + textH); -+ itemPixmapRect.moveLeft( (itemRect.width() - itemPixmapRect.width()) / 2 ); -+ itemRect.setHeight(thumbnailSize + PADDING*3 + textH); - itemTextRect.moveLeft(PADDING); - itemTextRect.moveTop(thumbnailSize + PADDING * 2); - } -@@ -292,8 +292,8 @@ void FileThumbnailViewItem::calcRect(const TQString&) { - if ( itemTextRect != textRect() ) { - setTextRect( itemTextRect ); - } -- if ( tqitemRect != rect() ) { -- setItemRect( tqitemRect ); -+ if ( itemRect != rect() ) { -+ setItemRect( itemRect ); - } - } - -diff --git a/src/gvcore/filethumbnailviewitem.h b/src/gvcore/filethumbnailviewitem.h -index b242355..d3a1063 100644 ---- a/src/gvcore/filethumbnailviewitem.h -+++ b/src/gvcore/filethumbnailviewitem.h -@@ -52,7 +52,7 @@ public: - void updateLines(); - - protected: -- void paintItem(TQPainter* painter, const TQColorGroup& tqcolorGroup); -+ void paintItem(TQPainter* painter, const TQColorGroup& colorGroup); - void calcRect( const TQString& text_=TQString() ); - void paintFocus(TQPainter*, const TQColorGroup&) {} - bool acceptDrop(const TQMimeSource*) const; -diff --git a/src/gvcore/fileviewcontroller.cpp b/src/gvcore/fileviewcontroller.cpp -index bdacf01..bb57a07 100644 ---- a/src/gvcore/fileviewcontroller.cpp -+++ b/src/gvcore/fileviewcontroller.cpp -@@ -191,7 +191,7 @@ public: - - void initFilterBar() { - mFilterBar=new FilterBar(that); -- mFilterBar->tqsetSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Fixed); -+ mFilterBar->setSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Fixed); - mFilterBar->hide(); - - TQIconSet resetIS=BarIcon("locationbar_erase"); -@@ -256,7 +256,7 @@ FileViewController::FileViewController(TQWidget* parent,KActionCollection* actio - : TQWidget(parent) - , mMode(FILE_LIST) - , mPrefetch( NULL ) --, mChangeDirtqStatus(CHANGE_DIR_STATUS_NONE) -+, mChangeDirStatus(CHANGE_DIR_STATUS_NONE) - , mBrowsing(false) - , mSelecting(false) - { -@@ -338,7 +338,7 @@ FileViewController::FileViewController(TQWidget* parent,KActionCollection* actio - - // Dir lister - mDirLister=new DirLister; -- mDirLister->setMainWindow(tqtopLevelWidget()); -+ mDirLister->setMainWindow(topLevelWidget()); - connect(mDirLister,TQT_SIGNAL(clear()), - TQT_TQOBJECT(this),TQT_SLOT(dirListerClear()) ); - -@@ -575,13 +575,13 @@ void FileViewController::slotSelectNext() { - } - - void FileViewController::slotSelectPreviousDir() { -- mChangeDirtqStatus = CHANGE_DIR_STATUS_PREV; -+ mChangeDirStatus = CHANGE_DIR_STATUS_PREV; - mDirLister->clearError(); - mDirLister->openURL(mDirURL.upURL()); - } - - void FileViewController::slotSelectNextDir() { -- mChangeDirtqStatus = CHANGE_DIR_STATUS_NEXT; -+ mChangeDirStatus = CHANGE_DIR_STATUS_NEXT; - mDirLister->clearError(); - mDirLister->openURL(mDirURL.upURL()); - } -@@ -1102,12 +1102,12 @@ void FileViewController::delayedDirListerCompleted() { - mFileThumbnailView->sort(mFileThumbnailView->sortDirection()); - } - -- if (mChangeDirtqStatus != CHANGE_DIR_STATUS_NONE) { -+ if (mChangeDirStatus != CHANGE_DIR_STATUS_NONE) { - KFileItem *item; - TQString fileName = mDirURL.filename(); - for (item=currentFileView()->firstFileItem(); item; item=currentFileView()->nextItem(item) ) { - if (item->name() == fileName) { -- if (mChangeDirtqStatus == CHANGE_DIR_STATUS_NEXT) { -+ if (mChangeDirStatus == CHANGE_DIR_STATUS_NEXT) { - do { - item=currentFileView()->nextItem(item); - } while (item && !Archive::fileItemIsDirOrArchive(item)); -@@ -1119,7 +1119,7 @@ void FileViewController::delayedDirListerCompleted() { - break; - }; - } -- mChangeDirtqStatus = CHANGE_DIR_STATUS_NONE; -+ mChangeDirStatus = CHANGE_DIR_STATUS_NONE; - if (!item) { - mDirLister->openURL(mDirURL); - } else { -diff --git a/src/gvcore/fileviewcontroller.h b/src/gvcore/fileviewcontroller.h -index de0de53..8339659 100644 ---- a/src/gvcore/fileviewcontroller.h -+++ b/src/gvcore/fileviewcontroller.h -@@ -227,7 +227,7 @@ private: - CHANGE_DIR_STATUS_NONE, - CHANGE_DIR_STATUS_PREV, - CHANGE_DIR_STATUS_NEXT -- } mChangeDirtqStatus; -+ } mChangeDirStatus; - - bool mBrowsing; - bool mSelecting; -diff --git a/src/gvcore/filterbar.ui b/src/gvcore/filterbar.ui -index b407ce1..2c9f11c 100644 ---- a/src/gvcore/filterbar.ui -+++ b/src/gvcore/filterbar.ui -@@ -64,7 +64,7 @@ - - Maximum - -- -+ - - 16 - 16 -@@ -125,7 +125,7 @@ equal to this date - - Maximum - -- -+ - - 16 - 16 -@@ -185,7 +185,7 @@ equal to this date - - Maximum - -- -+ - - 16 - 16 -@@ -210,7 +210,7 @@ equal to this date - - Expanding - -- -+ - - 16 - 16 -diff --git a/src/gvcore/fullscreenbar.cpp b/src/gvcore/fullscreenbar.cpp -index 311b98d..be2b517 100644 ---- a/src/gvcore/fullscreenbar.cpp -+++ b/src/gvcore/fullscreenbar.cpp -@@ -83,8 +83,8 @@ FullScreenBar::FullScreenBar(TQWidget* parent) - setIconSize(FULLSCREEN_ICON_SIZE); - setMovingEnabled(false); - -- TQColor bg=tqcolorGroup().highlight(); -- TQColor fg=tqcolorGroup().highlightedText(); -+ TQColor bg=colorGroup().highlight(); -+ TQColor fg=colorGroup().highlightedText(); - TQPalette pal(palette()); - pal.setColor(TQColorGroup::Background, bg); - pal.setColor(TQColorGroup::Foreground, fg); -diff --git a/src/gvcore/imageloader.cpp b/src/gvcore/imageloader.cpp -index 06a9011..699d088 100644 ---- a/src/gvcore/imageloader.cpp -+++ b/src/gvcore/imageloader.cpp -@@ -113,7 +113,7 @@ public: - int getch() { - if (mThread->testCancel()) { - LOG("cancel detected"); -- setqStatus(IO_ReadError); -+ seStatus(IO_ReadError); - return -1; - } - return TQBuffer::getch(); -diff --git a/src/gvcore/imageview.cpp b/src/gvcore/imageview.cpp -index a6c5b9f..f9da66f 100644 ---- a/src/gvcore/imageview.cpp -+++ b/src/gvcore/imageview.cpp -@@ -1350,7 +1350,7 @@ double ImageView::computeZoomToWidth() const { - if (d->mDocument->isNull()) { - return 1.0; - } -- int sw = verticalScrollBar()->tqsizeHint().width(); // tqgeometry is not valid before first show() -+ int sw = verticalScrollBar()->sizeHint().width(); // tqgeometry is not valid before first show() - int w = width(); - int dw = d->mDocument->width(); - switch( vScrollBarMode()) { -@@ -1370,7 +1370,7 @@ double ImageView::computeZoomToHeight() const { - if (d->mDocument->isNull()) { - return 1.0; - } -- int sh = horizontalScrollBar()->tqsizeHint().height(); -+ int sh = horizontalScrollBar()->sizeHint().height(); - int h = height(); - int dh = d->mDocument->height(); - switch( vScrollBarMode()) { -@@ -1425,11 +1425,11 @@ void ImageView::updateImageOffset() { - int zpixHeight=int(d->mDocument->height() * d->mZoom); - - if (zpixWidth>viewWidth && hScrollBarMode()!=AlwaysOff) { -- // use tqsizeHint() - tqgeometry is not valid before first show() -- viewHeight-=horizontalScrollBar()->tqsizeHint().height(); -+ // use sizeHint() - tqgeometry is not valid before first show() -+ viewHeight-=horizontalScrollBar()->sizeHint().height(); - } - if (zpixHeight>viewHeight && vScrollBarMode()!=AlwaysOff) { -- viewWidth-=verticalScrollBar()->tqsizeHint().width(); -+ viewWidth-=verticalScrollBar()->sizeHint().width(); - } - - d->mXOffset=TQMAX(0,(viewWidth-zpixWidth)/2); -diff --git a/src/gvcore/printdialogpagebase.ui b/src/gvcore/printdialogpagebase.ui -index 6d92eda..543877c 100644 ---- a/src/gvcore/printdialogpagebase.ui -+++ b/src/gvcore/printdialogpagebase.ui -@@ -98,7 +98,7 @@ - - Expanding - -- -+ - - 101 - 21 -@@ -186,7 +186,7 @@ - - Fixed - -- -+ - - 20 - 20 -@@ -214,7 +214,7 @@ - - Expanding - -- -+ - - 240 - 21 -@@ -252,7 +252,7 @@ - - Fixed - -- -+ - - 20 - 20 -@@ -351,7 +351,7 @@ - - Expanding - -- -+ - - 16 - 20 -diff --git a/src/gvcore/qxcfi.cpp b/src/gvcore/qxcfi.cpp -index 9fb146a..27ad0b9 100644 ---- a/src/gvcore/qxcfi.cpp -+++ b/src/gvcore/qxcfi.cpp -@@ -486,7 +486,7 @@ void XCFImageFormat::readXCF ( TQImageIO* image_io ) - } - - image_io->setImage( xcf_image.image ); -- image_io->setqStatus( 0 ); -+ image_io->seStatus( 0 ); - } - - /*! -diff --git a/src/gvcore/thumbnaildetailsdialogbase.ui b/src/gvcore/thumbnaildetailsdialogbase.ui -index 1dd6646..e9ef011 100644 ---- a/src/gvcore/thumbnaildetailsdialogbase.ui -+++ b/src/gvcore/thumbnaildetailsdialogbase.ui -@@ -45,7 +45,7 @@ - - Fixed - -- -+ - - 21 - 20 -@@ -96,7 +96,7 @@ - - Fixed - -- -+ - - 21 - 21 -diff --git a/src/gvcore/xpm.cpp b/src/gvcore/xpm.cpp -index cc2cabc..b56ba59 100644 ---- a/src/gvcore/xpm.cpp -+++ b/src/gvcore/xpm.cpp -@@ -74,7 +74,7 @@ static TQString fbname( const TQString &fileName ) // get file basename (sort of - s = s.mid( i ); - if ( (i = s.findRev('\\')) >= 0 ) - s = s.mid( i ); -- TQRegExp r( TQString::tqfromLatin1("[a-zA-Z][a-zA-Z0-9_]*") ); -+ TQRegExp r( TQString::fromLatin1("[a-zA-Z][a-zA-Z0-9_]*") ); - int p = r.search( s ); - if ( p == -1 ) - s.truncate( 0 ); -@@ -82,7 +82,7 @@ static TQString fbname( const TQString &fileName ) // get file basename (sort of - s = s.mid( p, r.matchedLength() ); - } - if ( s.isEmpty() ) -- s = TQString::tqfromLatin1( "dummy" ); -+ s = TQString::fromLatin1( "dummy" ); - return s; - } - -@@ -161,10 +161,10 @@ static void read_xpm_image_or_array( TQImageIO * iio, const char * const * sourc - int i, cpp, ncols, w, h, index = 0; - - if ( iio ) { -- iio->setqStatus( 1 ); -+ iio->seStatus( 1 ); - d = iio ? iio->ioDevice() : 0; - d->readLine( buf.data(), buf.size() ); // "/* XPM */" -- TQRegExp r( TQString::tqfromLatin1("/\\*.XPM.\\*/") ); -+ TQRegExp r( TQString::fromLatin1("/\\*.XPM.\\*/") ); - if ( buf.find(r) == -1 ) - return; // bad magic - } else if ( !source ) { -@@ -291,7 +291,7 @@ static void read_xpm_image_or_array( TQImageIO * iio, const char * const * sourc - } - if ( iio ) { - iio->setImage( image ); -- iio->setqStatus( 0 ); // image ok -+ iio->seStatus( 0 ); // image ok - } - } - -@@ -340,7 +340,7 @@ static const char* xpm_color_name( int cpp, int index ) - static void write_xpm_image( TQImageIO * iio ) - { - if ( iio ) -- iio->setqStatus( 1 ); -+ iio->seStatus( 1 ); - else - return; - -@@ -424,7 +424,7 @@ static void write_xpm_image( TQImageIO * iio ) - } - s << "};" << endl; - -- iio->setqStatus( 0 ); -+ iio->seStatus( 0 ); - } - - // TQt code end --------------------------- -diff --git a/src/tsthread/tsthread.cpp b/src/tsthread/tsthread.cpp -index 6363f2e..c845cce 100644 ---- a/src/tsthread/tsthread.cpp -+++ b/src/tsthread/tsthread.cpp -@@ -175,7 +175,7 @@ void TSThread::customEvent( TQCustomEvent* ev ) - } - bool deleted = false; - deleted_flag = &deleted; // this is like TQGuardedPtr for self, but faster -- int signal_id = e->object->tqmetaObject()->findSignal( normalizeSignalSlot( e->signal ).data() + 1, true ); -+ int signal_id = e->object->metaObject()->findSignal( normalizeSignalSlot( e->signal ).data() + 1, true ); - if( signal_id >= 0 ) - e->object->qt_emit( signal_id, e->args ); - else diff --git a/redhat/applications/gwenview/gwenview-3.5.13.1.spec b/redhat/applications/gwenview/gwenview-3.5.13.1.spec deleted file mode 100644 index 69d17dfc1..000000000 --- a/redhat/applications/gwenview/gwenview-3.5.13.1.spec +++ /dev/null @@ -1,255 +0,0 @@ -# Default version for this component -%define kdecomp gwenview - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Gwenview is an image viewer for KDE. -Version: 1.4.2 -Release: 9%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -# [gwenview] Define QT_CLEAN_NAMESPACE during libmng checks [Commit #59c7639f] -Patch11: gwenview-3.5.13-fix_libmng_check.patch - - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-arts-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -# EXIV2 support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}exiv2-devel -%endif -%if 0%{?suse_version} -BuildRequires: libexiv2-devel -%endif -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: exiv2-devel -%endif - -%if "%{?tde_prefix}" == "/usr" -Conflicts: kdegraphics -%endif - - -%description -Gwenview is a fast and easy to use image viewer/browser for TDE. -All common image formats are supported, such as PNG(including transparency), -JPEG(including EXIF tags and lossless transformations), GIF, XCF (Gimp -image format), BMP, XPM and others. Standard features include slideshow, -fullscreen view, image thumbnails, drag'n'drop, image zoom, full network -transparency using the KIO framework, including basic file operations and -browsing in compressed archives, non-blocking GUI with adjustable views. -Gwenview also provides image and directory KParts components for use e.g. in -Konqueror. Additional features, such as image renaming, comparing, -converting, and batch processing, HTML gallery and others are provided by the -KIPI image framework. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 -%patch4 -p1 -%patch5 -p1 -%patch11 -p1 -b .libmng - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; source /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --docdir=%{tde_tdedocdir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - - -## File lists -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - -%if 0%{?rhel} == 5 -echo "%lang(en) %{tde_tdedocdir}/HTML/en/gwenview/" >"%{kdecomp}.lang" -%else -%find_lang %{kdecomp} --with-kde --without-mo -%endif - -# Removes useless files (-devel ?) -%__rm -f %{?buildroot}%{tde_libdir}/libgwenviewcore.so - -%clean -%__rm -rf %{buildroot} - - -%post -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig - -%postun -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/gwenview -%{tde_libdir}/libgwenviewcore.la -%{tde_libdir}/libgwenviewcore.so.1 -%{tde_libdir}/libgwenviewcore.so.1.0.0 -%{tde_libdir}/libkdeinit_gwenview.la -%{tde_libdir}/libkdeinit_gwenview.so -%{tde_tdelibdir}/gwenview.la -%{tde_tdelibdir}/gwenview.so -%{tde_tdelibdir}/libgvdirpart.la -%{tde_tdelibdir}/libgvdirpart.so -%{tde_tdelibdir}/libgvimagepart.la -%{tde_tdelibdir}/libgvimagepart.so -%{tde_tdeappdir}/gwenview.desktop -%{tde_datadir}/apps/gwenview/ -%{tde_datadir}/apps/gvdirpart/gvdirpart.rc -%{tde_datadir}/apps/gvimagepart/gvimagepart.rc -%{tde_datadir}/apps/gvimagepart/gvimagepartpopup.rc -%{tde_datadir}/apps/kconf_update/gwenview_1.4_osdformat.sh -%{tde_datadir}/apps/kconf_update/gwenview_1.4_osdformat.upd -%{tde_datadir}/apps/kconf_update/gwenview_thumbnail_size.sh -%{tde_datadir}/apps/kconf_update/gwenview_thumbnail_size.upd -%{tde_datadir}/apps/konqueror/servicemenus/konqgwenview.desktop -%{tde_datadir}/config.kcfg/fileoperationconfig.kcfg -%{tde_datadir}/config.kcfg/fileviewconfig.kcfg -%{tde_datadir}/config.kcfg/fullscreenconfig.kcfg -%{tde_datadir}/config.kcfg/gvdirpartconfig.kcfg -%{tde_datadir}/config.kcfg/imageviewconfig.kcfg -%{tde_datadir}/config.kcfg/miscconfig.kcfg -%{tde_datadir}/config.kcfg/slideshowconfig.kcfg -%{tde_datadir}/icons/crystalsvg/*/apps/gvdirpart.png -%{tde_datadir}/icons/crystalsvg/scalable/apps/gvdirpart.svg -%{tde_datadir}/icons/hicolor/*/apps/gwenview.png -%{tde_datadir}/icons/hicolor/*/apps/gvdirpart.png -%{tde_datadir}/icons/hicolor/scalable/apps/gvdirpart.svg -%{tde_datadir}/icons/hicolor/scalable/apps/gwenview.svgz -%{tde_datadir}/man/man1/gwenview.1* -%{tde_datadir}/services/gvdirpart.desktop -%{tde_datadir}/services/gvimagepart.desktop -%{tde_tdedocdir}/HTML/en/gwenview/ - -%changelog -* Wed Oct 03 2012 Francois Andriot - 1.4.2-9 -- Initial release for TDE 3.5.13.1 - -* Sat Aug 04 2012 Francois Andriot - 1.4.2-8 -- Add support for Mageia 2 and Mandriva 2011 -- Define QT_CLEAN_NAMESPACE during libmng checks [Commit #59c7639f] - -* Tue May 01 2012 Francois Andriot - 1.4.2-7 -- Rebuilt for Fedora 17 -- Fix post and postun -- Adds patches from GIT - -* Fri Nov 25 2011 Francois Andriot - 1.4.2-6 -- Fix HTML directory location - -* Fri Nov 04 2011 Francois Andriot - 1.4.2-5 -- Adds missing files - -* Sun Oct 30 2011 Francois Andriot - 1.4.2-4 -- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 - -* Tue Sep 14 2011 Francois Andriot - 1.4.2-3 -- Import to GIT - -* Wed Aug 24 2011 Francois Andriot - 1.4.2-2 -- Add fix for Fedora 15 - -* Mon Aug 22 2011 Francois Andriot - 1.4.2-1 -- Correct macro to install under "/opt", if desired - -* Sat Aug 13 2011 Francois Andriot - 1.4.2-0 -- Initial release for RHEL 6.0 - diff --git a/redhat/applications/gwenview/gwenview-3.5.13.2.spec b/redhat/applications/gwenview/gwenview-3.5.13.2.spec deleted file mode 100644 index 55105a6c9..000000000 --- a/redhat/applications/gwenview/gwenview-3.5.13.2.spec +++ /dev/null @@ -1,187 +0,0 @@ -# Default version for this component -%define tde_pkg gwenview -%define tde_version 3.5.13.2 - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tde_pkg} -Summary: Gwenview is an image viewer for TDE. -Version: 1.4.2 -Release: %{?!preversion:11}%{?preversion:10_%{preversion}}%{?dist} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-arts-devel >= 1:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: gettext - -# EXIV2 support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}exiv2-devel -%endif -%if 0%{?suse_version} -BuildRequires: libexiv2-devel -%endif -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: exiv2-devel -%endif - -%if "%{?tde_prefix}" == "/usr" -Conflicts: kdegraphics -%endif - - -%description -Gwenview is a fast and easy to use image viewer/browser for TDE. -All common image formats are supported, such as PNG(including transparency), -JPEG(including EXIF tags and lossless transformations), GIF, XCF (Gimp -image format), BMP, XPM and others. Standard features include slideshow, -fullscreen view, image thumbnails, drag'n'drop, image zoom, full network -transparency using the KIO framework, including basic file operations and -browsing in compressed archives, non-blocking GUI with adjustable views. -Gwenview also provides image and directory KParts components for use e.g. in -Konqueror. Additional features, such as image renaming, comparing, -converting, and batch processing, HTML gallery and others are provided by the -KIPI image framework. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; source /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --docdir=%{tde_tdedocdir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --enable-final \ - --enable-closure \ - --enable-rpath - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# Removes useless files (-devel ?) -%__rm -f %{?buildroot}%{tde_libdir}/libgwenviewcore.so - - -%clean -%__rm -rf %{buildroot} - - -%post -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig - - -%postun -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig - - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/gwenview -%{tde_libdir}/libgwenviewcore.la -%{tde_libdir}/libgwenviewcore.so.1 -%{tde_libdir}/libgwenviewcore.so.1.0.0 -%{tde_libdir}/libkdeinit_gwenview.la -%{tde_libdir}/libkdeinit_gwenview.so -%{tde_tdelibdir}/gwenview.la -%{tde_tdelibdir}/gwenview.so -%{tde_tdelibdir}/libgvdirpart.la -%{tde_tdelibdir}/libgvdirpart.so -%{tde_tdelibdir}/libgvimagepart.la -%{tde_tdelibdir}/libgvimagepart.so -%{tde_tdeappdir}/gwenview.desktop -%{tde_datadir}/apps/gwenview/ -%{tde_datadir}/apps/gvdirpart/gvdirpart.rc -%{tde_datadir}/apps/gvimagepart/gvimagepart.rc -%{tde_datadir}/apps/gvimagepart/gvimagepartpopup.rc -%{tde_datadir}/apps/kconf_update/gwenview_1.4_osdformat.sh -%{tde_datadir}/apps/kconf_update/gwenview_1.4_osdformat.upd -%{tde_datadir}/apps/kconf_update/gwenview_thumbnail_size.sh -%{tde_datadir}/apps/kconf_update/gwenview_thumbnail_size.upd -%{tde_datadir}/apps/konqueror/servicemenus/konqgwenview.desktop -%{tde_datadir}/config.kcfg/fileoperationconfig.kcfg -%{tde_datadir}/config.kcfg/fileviewconfig.kcfg -%{tde_datadir}/config.kcfg/fullscreenconfig.kcfg -%{tde_datadir}/config.kcfg/gvdirpartconfig.kcfg -%{tde_datadir}/config.kcfg/imageviewconfig.kcfg -%{tde_datadir}/config.kcfg/miscconfig.kcfg -%{tde_datadir}/config.kcfg/slideshowconfig.kcfg -%{tde_datadir}/icons/crystalsvg/*/apps/gvdirpart.png -%{tde_datadir}/icons/crystalsvg/scalable/apps/gvdirpart.svg -%{tde_datadir}/icons/hicolor/*/apps/gwenview.png -%{tde_datadir}/icons/hicolor/*/apps/gvdirpart.png -%{tde_datadir}/icons/hicolor/scalable/apps/gvdirpart.svg -%{tde_datadir}/icons/hicolor/scalable/apps/gwenview.svgz -%{tde_datadir}/man/man1/gwenview.1* -%{tde_datadir}/services/gvdirpart.desktop -%{tde_datadir}/services/gvimagepart.desktop -%lang(en) %{tde_tdedocdir}/HTML/en/gwenview/ - -%changelog diff --git a/redhat/applications/gwenview/gwenview-3.5.13.spec b/redhat/applications/gwenview/gwenview-3.5.13.spec deleted file mode 100644 index 6129af795..000000000 --- a/redhat/applications/gwenview/gwenview-3.5.13.spec +++ /dev/null @@ -1,269 +0,0 @@ -# Default version for this component -%define kdecomp gwenview - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Gwenview is an image viewer for KDE. -Version: 1.4.2 -Release: 8%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -# [gwenview] Rename old tq methods that no longer need a unique name [Commit #d0bdd0d7] -Patch1: gwenview-3.5.13-rename_old_tq_method.patch -# [gwenview] Remove additional unneeded tq method conversions [Commit #eba1d381] -Patch2: gwenview-3.5.13-remove_additional_tq_conversions.patch -# [gwenview] Rename obsolete tq methods to standard names [Commit #04fccf73] -Patch3: gwenview-3.5.13-rename_obsolete_tq_methods.patch -# [gwenview] Rename a few stragglers [Commit #b4881a61] -Patch4: gwenview-3.5.13-rename_a_few_stragglers.patch -# [gwenview] Fix FTBFS [Commit #1ca2f739] -Patch5: gwenview-3.5.13-fix_ftbfs.patch -# [gwenview] Fix FTBFS in jpeg code [Commit #ace6f270] -Patch6: gwenview-3.5.13-fix_ftbfs_in_jpeg_code.patch -# [gwenview] Fix linear alphabet string errors [Commit #9cb99cdb] -Patch7: gwenview-3.5.13-fix_alphabet_string_error.patch -# [gwenview] Fix building with libpng 1.5. [Commit #303be455] -Patch8: gwenview-3.5.13-fix_building_libpng15.patch -# [gwenview] Fix inadvertent tqt changes. Part of an extensive cleanup of various problems -# with kipi-plugins, digikam, and gwenview to resolve bug reports 241, 962, 963. [Commit #1eac443e] -Patch9: gwenview-3.5.13-fix_various_problems.patch -# [gwenview] Missing LDFLAGS cause FTBFS on Mageia 2 / Mandriva 2011 -Patch10: gwenview-3.5.13-missing_ldflags.patch -# [gwenview] Define QT_CLEAN_NAMESPACE during libmng checks [Commit #59c7639f] -Patch11: gwenview-3.5.13-fix_libmng_check.patch - - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-arts-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}exiv2-devel -%else -BuildRequires: exiv2-devel -%endif - -%if "%{?tde_prefix}" == "/usr" -Conflicts: kdegraphics -%endif - - -%description -Gwenview is a fast and easy to use image viewer/browser for TDE. -All common image formats are supported, such as PNG(including transparency), -JPEG(including EXIF tags and lossless transformations), GIF, XCF (Gimp -image format), BMP, XPM and others. Standard features include slideshow, -fullscreen view, image thumbnails, drag'n'drop, image zoom, full network -transparency using the KIO framework, including basic file operations and -browsing in compressed archives, non-blocking GUI with adjustable views. -Gwenview also provides image and directory KParts components for use e.g. in -Konqueror. Additional features, such as image renaming, comparing, -converting, and batch processing, HTML gallery and others are provided by the -KIPI image framework. - - -%prep -%setup -q -n applications/%{kdecomp} -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 -%patch7 -p1 -%patch8 -p1 -%patch9 -p1 -%patch10 -p1 -b .ldflags -%patch11 -p1 -b .libmng - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; source /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --docdir=%{tde_tdedocdir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - - -## File lists -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - -%if 0%{?rhel} == 5 -echo "%lang(en) %{tde_tdedocdir}/HTML/en/gwenview/" >"%{kdecomp}.lang" -%else -%find_lang %{kdecomp} --with-kde --without-mo -%endif - -# Removes useless files (-devel ?) -%__rm -f %{?buildroot}%{tde_libdir}/libgwenviewcore.so - -%clean -%__rm -rf %{buildroot} - - -%post -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig - -%postun -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/gwenview -%{tde_libdir}/libgwenviewcore.la -%{tde_libdir}/libgwenviewcore.so.1 -%{tde_libdir}/libgwenviewcore.so.1.0.0 -%{tde_libdir}/libkdeinit_gwenview.la -%{tde_libdir}/libkdeinit_gwenview.so -%{tde_tdelibdir}/gwenview.la -%{tde_tdelibdir}/gwenview.so -%{tde_tdelibdir}/libgvdirpart.la -%{tde_tdelibdir}/libgvdirpart.so -%{tde_tdelibdir}/libgvimagepart.la -%{tde_tdelibdir}/libgvimagepart.so -%{tde_tdeappdir}/gwenview.desktop -%{tde_datadir}/apps/gwenview/ -%{tde_datadir}/apps/gvdirpart/gvdirpart.rc -%{tde_datadir}/apps/gvimagepart/gvimagepart.rc -%{tde_datadir}/apps/gvimagepart/gvimagepartpopup.rc -%{tde_datadir}/apps/kconf_update/gwenview_1.4_osdformat.sh -%{tde_datadir}/apps/kconf_update/gwenview_1.4_osdformat.upd -%{tde_datadir}/apps/kconf_update/gwenview_thumbnail_size.sh -%{tde_datadir}/apps/kconf_update/gwenview_thumbnail_size.upd -%{tde_datadir}/apps/konqueror/servicemenus/konqgwenview.desktop -%{tde_datadir}/config.kcfg/fileoperationconfig.kcfg -%{tde_datadir}/config.kcfg/fileviewconfig.kcfg -%{tde_datadir}/config.kcfg/fullscreenconfig.kcfg -%{tde_datadir}/config.kcfg/gvdirpartconfig.kcfg -%{tde_datadir}/config.kcfg/imageviewconfig.kcfg -%{tde_datadir}/config.kcfg/miscconfig.kcfg -%{tde_datadir}/config.kcfg/slideshowconfig.kcfg -%{tde_datadir}/icons/crystalsvg/*/apps/gvdirpart.png -%{tde_datadir}/icons/crystalsvg/scalable/apps/gvdirpart.svg -%{tde_datadir}/icons/hicolor/*/apps/gwenview.png -%{tde_datadir}/icons/hicolor/*/apps/gvdirpart.png -%{tde_datadir}/icons/hicolor/scalable/apps/gvdirpart.svg -%{tde_datadir}/icons/hicolor/scalable/apps/gwenview.svgz -%{tde_datadir}/man/man1/gwenview.1* -%{tde_datadir}/services/gvdirpart.desktop -%{tde_datadir}/services/gvimagepart.desktop - - -%Changelog -* Sat Aug 04 2012 Francois Andriot - 1.4.2-8 -- Add support for Mageia 2 and Mandriva 2011 -- Define QT_CLEAN_NAMESPACE during libmng checks [Commit #59c7639f] - -* Tue May 01 2012 Francois Andriot - 1.4.2-7 -- Rebuilt for Fedora 17 -- Fix post and postun -- Adds patches from GIT - -* Fri Nov 25 2011 Francois Andriot - 1.4.2-6 -- Fix HTML directory location - -* Fri Nov 04 2011 Francois Andriot - 1.4.2-5 -- Adds missing files - -* Sun Oct 30 2011 Francois Andriot - 1.4.2-4 -- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 - -* Tue Sep 14 2011 Francois Andriot - 1.4.2-3 -- Import to GIT - -* Wed Aug 24 2011 Francois Andriot - 1.4.2-2 -- Add fix for Fedora 15 - -* Mon Aug 22 2011 Francois Andriot - 1.4.2-1 -- Correct macro to install under "/opt", if desired - -* Sat Aug 13 2011 Francois Andriot - 1.4.2-0 -- Initial release for RHEL 6.0 - diff --git a/redhat/applications/k3b-i18n/k3b-i18n-3.5.13.1.spec b/redhat/applications/k3b-i18n/k3b-i18n-3.5.13.1.spec deleted file mode 100644 index 12a9678a8..000000000 --- a/redhat/applications/k3b-i18n/k3b-i18n-3.5.13.1.spec +++ /dev/null @@ -1,325 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-k3b-i18n -Summary: Locale files for K3B -Version: 1.0.5 -Release: 2%{?dist}%{?_variant} - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -BuildArch: noarch - -# Speed build options -%define debug_package %{nil} -%define __spec_install_post %{nil} -AutoReq: no - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Group: Applications/Archiving -License: GPLv2+ - -Source0: k3b-i18n-3.5.13.1.tar.gz - -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -Requires(post): coreutils -Requires(postun): coreutils - -Requires: trinity-k3b - - -%description -K3b provides a comfortable user interface to perform most CD/DVD -burning tasks. While the experienced user can take influence in all -steps of the burning process the beginner may find comfort in the -automatic settings and the reasonable k3b defaults which allow a quick -start. - -%package da -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Danish (da) translations for K3B [Trinity] -%description da -This package contains the Danish translations for K3B. - -%package de -Group: Applications/Archiving -Requires: trinity-k3b -Summary: German (de) translations for K3B [Trinity] -%description de -This package contains the German translations for K3B. - -%package el -Group: Applications/Archiving -Requires: trinity-k3b >= %{version} -Summary: Greek (el) translations for K3B [Trinity] -%description el -This package contains the greek translations for K3B. - -%package es -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Spanish (es) translations for K3B [Trinity] -%description es -This package contains the Spanish translations for K3B. - -%package et -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Estonian (et) translations for K3B [Trinity] -%description et -This package contains the Estonian translations for K3B. - -%package fr -Group: Applications/Archiving -Requires: trinity-k3b -Summary: French (fr) translations for K3B [Trinity] -%description fr -This package contains the French translations for K3B. - -%package it -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Italian (it) translations for K3B [Trinity] -%description it -This package contains the Italian translations for K3B. - -%package nl -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Dutch (nl) translations for K3B [Trinity] -%description nl -This package contains the Dutch translations for K3B. - -%package pl -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Polish (pl) translations for K3B [Trinity] -%description pl -This package contains the Polish translations for K3B. - -%package pt -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Portuguese (pt) translations for K3B [Trinity] -%description pt -This package contains the Portuguese translations for K3B. - -%package ptbr -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Brazilian Portuguese (pt_BR) translations for K3B [Trinity] -%description ptbr -This package contains the Brazilian Portuguese translations for K3B. - -%package ru -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Russian (ru) translations for K3B [Trinity] -%description ru -This package contains the Russian translations for K3B. - -%package sv -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Swedish (sv) translations for K3B [Trinity] -%description sv -This package contains the Swedish translations for K3B. - -%package uk -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Ukrainian (uk) translations for K3B [Trinity] -%description uk -This package contains the Ukrainian translations for K3B. - - -%prep -%setup -q -n k3b-i18n-3.5.13.1 - - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -./configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --docdir=%{tde_tdedocdir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - -%install -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%__rm -rf %{buildroot}%{tde_datadir}/locale/af -%__rm -rf %{buildroot}%{tde_datadir}/locale/ar -%__rm -rf %{buildroot}%{tde_datadir}/locale/bg -%__rm -rf %{buildroot}%{tde_datadir}/locale/br -%__rm -rf %{buildroot}%{tde_datadir}/locale/bs -%__rm -rf %{buildroot}%{tde_datadir}/locale/ca -%__rm -rf %{buildroot}%{tde_datadir}/locale/cs -%__rm -rf %{buildroot}%{tde_datadir}/locale/cy -%__rm -rf %{buildroot}%{tde_datadir}/locale/en_GB -%__rm -rf %{buildroot}%{tde_datadir}/locale/eu -%__rm -rf %{buildroot}%{tde_datadir}/locale/fa -%__rm -rf %{buildroot}%{tde_datadir}/locale/fi -%__rm -rf %{buildroot}%{tde_datadir}/locale/ga -%__rm -rf %{buildroot}%{tde_datadir}/locale/gl -%__rm -rf %{buildroot}%{tde_datadir}/locale/he -%__rm -rf %{buildroot}%{tde_datadir}/locale/hi -%__rm -rf %{buildroot}%{tde_datadir}/locale/hu -%__rm -rf %{buildroot}%{tde_datadir}/locale/is -%__rm -rf %{buildroot}%{tde_datadir}/locale/ja -%__rm -rf %{buildroot}%{tde_datadir}/locale/ka -%__rm -rf %{buildroot}%{tde_datadir}/locale/km -%__rm -rf %{buildroot}%{tde_datadir}/locale/lt -%__rm -rf %{buildroot}%{tde_datadir}/locale/mk -%__rm -rf %{buildroot}%{tde_datadir}/locale/ms -%__rm -rf %{buildroot}%{tde_datadir}/locale/nb -%__rm -rf %{buildroot}%{tde_datadir}/locale/nds -%__rm -rf %{buildroot}%{tde_datadir}/locale/ne -%__rm -rf %{buildroot}%{tde_datadir}/locale/nn -%__rm -rf %{buildroot}%{tde_datadir}/locale/pa -%__rm -rf %{buildroot}%{tde_datadir}/locale/rw -%__rm -rf %{buildroot}%{tde_datadir}/locale/se -%__rm -rf %{buildroot}%{tde_datadir}/locale/sk -%__rm -rf %{buildroot}%{tde_datadir}/locale/sr -%__rm -rf %{buildroot}%{tde_datadir}/locale/sr@Latn -%__rm -rf %{buildroot}%{tde_datadir}/locale/ta -%__rm -rf %{buildroot}%{tde_datadir}/locale/tr -%__rm -rf %{buildroot}%{tde_datadir}/locale/uz -%__rm -rf %{buildroot}%{tde_datadir}/locale/uz@cyrillic -%__rm -rf %{buildroot}%{tde_datadir}/locale/zh_CN -%__rm -rf %{buildroot}%{tde_datadir}/locale/zh_TW - - -%clean -%__rm -rf %{buildroot} - - -%files da -%defattr(-,root,root,-) -%lang(da) %{tde_tdedocdir}/HTML/da/k3b -%lang(da) %{tde_datadir}/locale/da/LC_MESSAGES/*.mo - -%files de -%defattr(-,root,root,-) -%lang(de) %{tde_tdedocdir}/HTML/de/k3b -%lang(de) %{tde_datadir}/locale/de/LC_MESSAGES/*.mo - -%files el -%defattr(-,root,root,-) -#%lang(el) %{tde_tdedocdir}/HTML/el/k3b -%lang(el) %{tde_datadir}/locale/el/LC_MESSAGES/*.mo - -%files es -%defattr(-,root,root,-) -%lang(es) %{tde_tdedocdir}/HTML/es/k3b -%lang(es) %{tde_datadir}/locale/es/LC_MESSAGES/*.mo - -%files et -%defattr(-,root,root,-) -%lang(et) %{tde_tdedocdir}/HTML/et/k3b -%lang(et) %{tde_datadir}/locale/et/LC_MESSAGES/*.mo - -%files fr -%defattr(-,root,root,-) -%lang(fr) %{tde_tdedocdir}/HTML/fr/k3b -%lang(fr) %{tde_datadir}/locale/fr/LC_MESSAGES/*.mo - -%files it -%defattr(-,root,root,-) -%lang(it) %{tde_tdedocdir}/HTML/it/k3b -%lang(it) %{tde_datadir}/locale/it/LC_MESSAGES/*.mo - -%files nl -%defattr(-,root,root,-) -%lang(nl) %{tde_tdedocdir}/HTML/nl/k3b -%lang(nl) %{tde_datadir}/locale/nl/LC_MESSAGES/*.mo - -%files pl -%defattr(-,root,root,-) -%lang(pl) %{tde_tdedocdir}/HTML/pl/k3b -%lang(pl) %{tde_datadir}/locale/pl/LC_MESSAGES/*.mo - -%files pt -%defattr(-,root,root,-) -%lang(pt) %{tde_tdedocdir}/HTML/pt/k3b -%lang(pt) %{tde_datadir}/locale/pt/LC_MESSAGES/*.mo - -%files ptbr -%defattr(-,root,root,-) -%lang(pt_BR) %{tde_tdedocdir}/HTML/pt_BR/k3b -%lang(pt_BR) %{tde_datadir}/locale/pt_BR/LC_MESSAGES/*.mo - -%files ru -%defattr(-,root,root,-) -%lang(ru) %{tde_tdedocdir}/HTML/ru/k3b -%lang(ru) %{tde_datadir}/locale/ru/LC_MESSAGES/*.mo - -%files sv -%defattr(-,root,root,-) -%lang(sv) %{tde_tdedocdir}/HTML/sv/k3b -%lang(sv) %{tde_datadir}/locale/sv/LC_MESSAGES/*.mo - -%files uk -%defattr(-,root,root,-) -%lang(uk) %{tde_tdedocdir}/HTML/uk/k3b -%lang(uk) %{tde_datadir}/locale/uk/LC_MESSAGES/*.mo - - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 1.0.5-2 -- Initial release for TDE 3.5.13.1 - -* Thu May 10 2012 Francois Andriot - 1.0.5-1 -- Initial release for TDE 3.5.13 diff --git a/redhat/applications/k3b-i18n/k3b-i18n-3.5.13.2.spec b/redhat/applications/k3b-i18n/k3b-i18n-3.5.13.2.spec deleted file mode 100644 index 13ce2e60f..000000000 --- a/redhat/applications/k3b-i18n/k3b-i18n-3.5.13.2.spec +++ /dev/null @@ -1,405 +0,0 @@ -# Default version for this component -%define tde_pkg k3n-i18n -%define tde_version 3.5.13.2 - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-k3b-i18n -Summary: Internationalization support for TDE [Trinity] -Version: 1.0.5 -Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist} - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -BuildArch: noarch - -# Speed build options -%define debug_package %{nil} -%define __spec_install_post %{nil} -AutoReq: no - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Group: Applications/Archiving -License: GPLv2+ - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-arts-devel >= 1:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: gettext - -Requires(post): coreutils -Requires(postun): coreutils - -Requires: trinity-k3b - - -%description -K3b provides a comfortable user interface to perform most CD/DVD -burning tasks. While the experienced user can take influence in all -steps of the burning process the beginner may find comfort in the -automatic settings and the reasonable k3b defaults which allow a quick -start. - -########## - -%package Danish -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Danish (da) translations for K3B [Trinity] - -Obsoletes: trinity-k3b-i18n-da < %{version}-%{release} -Provides: trinity-k3b-i18n-da = %{version}-%{release} - -%description Danish -This package contains the Danish translations for K3B. - -%files Danish -%defattr(-,root,root,-) -%{tde_tdedocdir}/HTML/da/k3b -%{tde_datadir}/locale/da/LC_MESSAGES/*.mo - -########## - -%package German -Group: Applications/Archiving -Requires: trinity-k3b -Summary: German (de) translations for K3B [Trinity] - -Obsoletes: trinity-k3b-i18n-de < %{version}-%{release} -Provides: trinity-k3b-i18n-de = %{version}-%{release} - -%description German -This package contains the German translations for K3B. - -%files German -%defattr(-,root,root,-) -%{tde_tdedocdir}/HTML/de/k3b -%{tde_datadir}/locale/de/LC_MESSAGES/*.mo - -########## - -%package Greek -Group: Applications/Archiving -Requires: trinity-k3b >= %{version} -Summary: Greek (el) translations for K3B [Trinity] - -Obsoletes: trinity-k3b-i18n-el < %{version}-%{release} -Provides: trinity-k3b-i18n-el = %{version}-%{release} - -%description Greek -This package contains the greek translations for K3B. - -%files Greek -%defattr(-,root,root,-) -#%{tde_tdedocdir}/HTML/el/k3b -%{tde_datadir}/locale/el/LC_MESSAGES/*.mo - -########## - -%package Spanish -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Spanish (es) translations for K3B [Trinity] - -Obsoletes: trinity-k3b-i18n-es < %{version}-%{release} -Provides: trinity-k3b-i18n-es = %{version}-%{release} - -%description Spanish -This package contains the Spanish translations for K3B. - -%files Spanish -%defattr(-,root,root,-) -%{tde_tdedocdir}/HTML/es/k3b -%{tde_datadir}/locale/es/LC_MESSAGES/*.mo - -########## - -%package Estonian -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Estonian (et) translations for K3B [Trinity] - -Obsoletes: trinity-k3b-i18n-et < %{version}-%{release} -Provides: trinity-k3b-i18n-et = %{version}-%{release} - -%description Estonian -This package contains the Estonian translations for K3B. - -%files Estonian -%defattr(-,root,root,-) -%{tde_tdedocdir}/HTML/et/k3b -%{tde_datadir}/locale/et/LC_MESSAGES/*.mo - -########## - -%package French -Group: Applications/Archiving -Requires: trinity-k3b -Summary: French (fr) translations for K3B [Trinity] - -Obsoletes: trinity-k3b-i18n-fr < %{version}-%{release} -Provides: trinity-k3b-i18n-fr = %{version}-%{release} - -%description French -This package contains the French translations for K3B. - -%files French -%defattr(-,root,root,-) -%{tde_tdedocdir}/HTML/fr/k3b -%{tde_datadir}/locale/fr/LC_MESSAGES/*.mo - -########## - -%package Italian -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Italian (it) translations for K3B [Trinity] - -Obsoletes: trinity-k3b-i18n-it < %{version}-%{release} -Provides: trinity-k3b-i18n-it = %{version}-%{release} - -%description Italian -This package contains the Italian translations for K3B. - -%files Italian -%defattr(-,root,root,-) -%{tde_tdedocdir}/HTML/it/k3b -%{tde_datadir}/locale/it/LC_MESSAGES/*.mo - -########## - -%package Dutch -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Dutch (nl) translations for K3B [Trinity] - -Obsoletes: trinity-k3b-i18n-nl < %{version}-%{release} -Provides: trinity-k3b-i18n-nl = %{version}-%{release} - -%description Dutch -This package contains the Dutch translations for K3B. - -%files Dutch -%defattr(-,root,root,-) -%{tde_tdedocdir}/HTML/nl/k3b -%{tde_datadir}/locale/nl/LC_MESSAGES/*.mo - -########## - -%package Polish -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Polish (pl) translations for K3B [Trinity] - -Obsoletes: trinity-k3b-i18n-pl < %{version}-%{release} -Provides: trinity-k3b-i18n-pl = %{version}-%{release} - -%description Polish -This package contains the Polish translations for K3B. - -%files Polish -%defattr(-,root,root,-) -%{tde_tdedocdir}/HTML/pl/k3b -%{tde_datadir}/locale/pl/LC_MESSAGES/*.mo - -########## - -%package Portuguese -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Portuguese (pt) translations for K3B [Trinity] - -Obsoletes: trinity-k3b-i18n-pt < %{version}-%{release} -Provides: trinity-k3b-i18n-pt = %{version}-%{release} - -%description Portuguese -This package contains the Portuguese translations for K3B. - -%files Portuguese -%defattr(-,root,root,-) -%{tde_tdedocdir}/HTML/pt/k3b -%{tde_datadir}/locale/pt/LC_MESSAGES/*.mo - -########## - -%package Brazil -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Brazilian Portuguese (pt_BR) translations for K3B [Trinity] - -Obsoletes: trinity-k3b-i18n-pt_BR < %{version}-%{release} -Provides: trinity-k3b-i18n-pt_BR = %{version}-%{release} -Obsoletes: trinity-k3b-i18n-ptbr < %{version}-%{release} -Provides: trinity-k3b-i18n-ptbr = %{version}-%{release} - -%description Brazil -This package contains the Brazilian Portuguese translations for K3B. - -%files Brazil -%defattr(-,root,root,-) -%{tde_tdedocdir}/HTML/pt_BR/k3b -%{tde_datadir}/locale/pt_BR/LC_MESSAGES/*.mo - -########## - -%package Russian -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Russian (ru) translations for K3B [Trinity] - -Obsoletes: trinity-k3b-i18n-ru < %{version}-%{release} -Provides: trinity-k3b-i18n-ru = %{version}-%{release} - -%description Russian -This package contains the Russian translations for K3B. - -%files Russian -%defattr(-,root,root,-) -%{tde_tdedocdir}/HTML/ru/k3b -%{tde_datadir}/locale/ru/LC_MESSAGES/*.mo - -########## - -%package Swedish -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Swedish (sv) translations for K3B [Trinity] - -Obsoletes: trinity-k3b-i18n-sv < %{version}-%{release} -Provides: trinity-k3b-i18n-sv = %{version}-%{release} - -%description Swedish -This package contains the Swedish translations for K3B. - -%files Swedish -%defattr(-,root,root,-) -%{tde_tdedocdir}/HTML/sv/k3b -%{tde_datadir}/locale/sv/LC_MESSAGES/*.mo - -########## - -%package Ukrainian -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Ukrainian (uk) translations for K3B [Trinity] - -Obsoletes: trinity-k3b-i18n-uk < %{version}-%{release} -Provides: trinity-k3b-i18n-uk = %{version}-%{release} - -%description Ukrainian -This package contains the Ukrainian translations for K3B. - -%files Ukrainian -%defattr(-,root,root,-) -%{tde_tdedocdir}/HTML/uk/k3b -%{tde_datadir}/locale/uk/LC_MESSAGES/*.mo - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" - -./configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --docdir=%{tde_tdedocdir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --enable-final \ - --enable-closure \ - --enable-rpath - -%__make %{?_smp_mflags} - - -%install -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%__rm -rf %{buildroot}%{tde_datadir}/locale/af -%__rm -rf %{buildroot}%{tde_datadir}/locale/ar -%__rm -rf %{buildroot}%{tde_datadir}/locale/bg -%__rm -rf %{buildroot}%{tde_datadir}/locale/br -%__rm -rf %{buildroot}%{tde_datadir}/locale/bs -%__rm -rf %{buildroot}%{tde_datadir}/locale/ca -%__rm -rf %{buildroot}%{tde_datadir}/locale/cs -%__rm -rf %{buildroot}%{tde_datadir}/locale/cy -%__rm -rf %{buildroot}%{tde_datadir}/locale/en_GB -%__rm -rf %{buildroot}%{tde_datadir}/locale/eu -%__rm -rf %{buildroot}%{tde_datadir}/locale/fa -%__rm -rf %{buildroot}%{tde_datadir}/locale/fi -%__rm -rf %{buildroot}%{tde_datadir}/locale/ga -%__rm -rf %{buildroot}%{tde_datadir}/locale/gl -%__rm -rf %{buildroot}%{tde_datadir}/locale/he -%__rm -rf %{buildroot}%{tde_datadir}/locale/hi -%__rm -rf %{buildroot}%{tde_datadir}/locale/hu -%__rm -rf %{buildroot}%{tde_datadir}/locale/is -%__rm -rf %{buildroot}%{tde_datadir}/locale/ja -%__rm -rf %{buildroot}%{tde_datadir}/locale/ka -%__rm -rf %{buildroot}%{tde_datadir}/locale/km -%__rm -rf %{buildroot}%{tde_datadir}/locale/lt -%__rm -rf %{buildroot}%{tde_datadir}/locale/mk -%__rm -rf %{buildroot}%{tde_datadir}/locale/ms -%__rm -rf %{buildroot}%{tde_datadir}/locale/nb -%__rm -rf %{buildroot}%{tde_datadir}/locale/nds -%__rm -rf %{buildroot}%{tde_datadir}/locale/ne -%__rm -rf %{buildroot}%{tde_datadir}/locale/nn -%__rm -rf %{buildroot}%{tde_datadir}/locale/pa -%__rm -rf %{buildroot}%{tde_datadir}/locale/rw -%__rm -rf %{buildroot}%{tde_datadir}/locale/se -%__rm -rf %{buildroot}%{tde_datadir}/locale/sk -%__rm -rf %{buildroot}%{tde_datadir}/locale/sr -%__rm -rf %{buildroot}%{tde_datadir}/locale/sr@Latn -%__rm -rf %{buildroot}%{tde_datadir}/locale/ta -%__rm -rf %{buildroot}%{tde_datadir}/locale/tr -%__rm -rf %{buildroot}%{tde_datadir}/locale/uz -%__rm -rf %{buildroot}%{tde_datadir}/locale/uz@cyrillic -%__rm -rf %{buildroot}%{tde_datadir}/locale/zh_CN -%__rm -rf %{buildroot}%{tde_datadir}/locale/zh_TW - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/applications/k3b-i18n/k3b-i18n-3.5.13.spec b/redhat/applications/k3b-i18n/k3b-i18n-3.5.13.spec deleted file mode 100644 index 1b10a6802..000000000 --- a/redhat/applications/k3b-i18n/k3b-i18n-3.5.13.spec +++ /dev/null @@ -1,308 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%define _docdir %{_datadir}/doc -%endif - -# TDE 3.5.13 specific building variables -BuildRequires: autoconf automake libtool m4 -%define tde_docdir %{_docdir}/kde -%define tde_includedir %{_includedir}/kde -%define tde_libdir %{_libdir}/trinity - - -Name: trinity-k3b-i18n -Summary: Locale files for K3B -Version: 1.0.5 -Release: 1%{?dist}%{?_variant} - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -BuildArch: noarch - -# Speed build options -%define debug_package %{nil} -%define __spec_install_post %{nil} -AutoReq: no - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Group: Applications/Archiving -License: GPLv2+ - -Source0: k3b-i18n-1.0.5.tar.bz2 - -# [kde-i18n] Fix automake detection -Patch1: k3b-i18n-trinity.patch - -BuildRequires: trinity-kdelibs-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - -Requires(post): coreutils -Requires(postun): coreutils - -Requires: trinity-k3b - - -%description -K3b provides a comfortable user interface to perform most CD/DVD -burning tasks. While the experienced user can take influence in all -steps of the burning process the beginner may find comfort in the -automatic settings and the reasonable k3b defaults which allow a quick -start. - -%package da -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Danish (da) translations for K3B [Trinity] -%description da -This package contains the Danish translations for K3B. - -%package de -Group: Applications/Archiving -Requires: trinity-k3b -Summary: German (de) translations for K3B [Trinity] -%description de -This package contains the German translations for K3B. - -%package el -Group: Applications/Archiving -Requires: trinity-k3b >= %{version} -Summary: Greek (el) translations for K3B [Trinity] -%description el -This package contains the greek translations for K3B. - -%package es -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Spanish (es) translations for K3B [Trinity] -%description es -This package contains the Spanish translations for K3B. - -%package et -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Estonian (et) translations for K3B [Trinity] -%description et -This package contains the Estonian translations for K3B. - -%package fr -Group: Applications/Archiving -Requires: trinity-k3b -Summary: French (fr) translations for K3B [Trinity] -%description fr -This package contains the French translations for K3B. - -%package it -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Italian (it) translations for K3B [Trinity] -%description it -This package contains the Italian translations for K3B. - -%package nl -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Dutch (nl) translations for K3B [Trinity] -%description nl -This package contains the Dutch translations for K3B. - -%package pl -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Polish (pl) translations for K3B [Trinity] -%description pl -This package contains the Polish translations for K3B. - -%package pt -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Portuguese (pt) translations for K3B [Trinity] -%description pt -This package contains the Portuguese translations for K3B. - -%package ptbr -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Brazilian Portuguese (pt_BR) translations for K3B [Trinity] -%description ptbr -This package contains the Brazilian Portuguese translations for K3B. - -%package ru -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Russian (ru) translations for K3B [Trinity] -%description ru -This package contains the Russian translations for K3B. - -%package sv -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Swedish (sv) translations for K3B [Trinity] -%description sv -This package contains the Swedish translations for K3B. - -%package uk -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Ukrainian (uk) translations for K3B [Trinity] -%description uk -This package contains the Ukrainian translations for K3B. - - -%prep -%setup -q -n k3b-i18n-%{version} - -# set in k3brc too -%patch1 -p1 -b .automake - - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/opt/kde3|%{_prefix}|g" \ - -e "s|kde3/plugins|trinity/plugins|g" \ - -e "s|/usr/include/tqt|%{_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_docdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{_bindir}:${PATH}" -export LDFLAGS="-L%{_libdir} -I%{_includedir}" - -%configure \ - --target=%{_host} -%__make %{?_smp_mflags} - -%install -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%clean -%__rm -rf %{buildroot} - - -%files da -%defattr(-,root,root,-) -%lang(da) %{tde_docdir}/HTML/da/k3b -%lang(da) %{_datadir}/locale/da/LC_MESSAGES/*.mo - -%files de -%defattr(-,root,root,-) -%lang(de) %{tde_docdir}/HTML/de/k3b -%lang(de) %{_datadir}/locale/de/LC_MESSAGES/*.mo - -%files el -%defattr(-,root,root,-) -#%lang(el) %{tde_docdir}/HTML/el/k3b -%lang(el) %{_datadir}/locale/el/LC_MESSAGES/*.mo - -%files es -%defattr(-,root,root,-) -%lang(es) %{tde_docdir}/HTML/es/k3b -%lang(es) %{_datadir}/locale/es/LC_MESSAGES/*.mo - -%files et -%defattr(-,root,root,-) -%lang(et) %{tde_docdir}/HTML/et/k3b -%lang(et) %{_datadir}/locale/et/LC_MESSAGES/*.mo - -%files fr -%defattr(-,root,root,-) -%lang(fr) %{tde_docdir}/HTML/fr/k3b -%lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/*.mo - -%files it -%defattr(-,root,root,-) -%lang(it) %{tde_docdir}/HTML/it/k3b -%lang(it) %{_datadir}/locale/it/LC_MESSAGES/*.mo - -%files nl -%defattr(-,root,root,-) -%lang(nl) %{tde_docdir}/HTML/nl/k3b -%lang(nl) %{_datadir}/locale/nl/LC_MESSAGES/*.mo - -%files pl -%defattr(-,root,root,-) -%lang(pl) %{tde_docdir}/HTML/pl/k3b -%lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/*.mo - -%files pt -%defattr(-,root,root,-) -%lang(pt) %{tde_docdir}/HTML/pt/k3b -%lang(pt) %{_datadir}/locale/pt/LC_MESSAGES/*.mo - -%files ptbr -%defattr(-,root,root,-) -%lang(pt_BR) %{tde_docdir}/HTML/pt_BR/k3b -%lang(pt_BR) %{_datadir}/locale/pt_BR/LC_MESSAGES/*.mo - -%files ru -%defattr(-,root,root,-) -%lang(ru) %{tde_docdir}/HTML/ru/k3b -%lang(ru) %{_datadir}/locale/ru/LC_MESSAGES/*.mo - -%files sv -%defattr(-,root,root,-) -%lang(sv) %{tde_docdir}/HTML/sv/k3b -%lang(sv) %{_datadir}/locale/sv/LC_MESSAGES/*.mo - -%files uk -%defattr(-,root,root,-) -%lang(uk) %{tde_docdir}/HTML/uk/k3b -%lang(uk) %{_datadir}/locale/uk/LC_MESSAGES/*.mo - -%exclude %{_datadir}/locale/af -%exclude %{_datadir}/locale/ar -%exclude %{_datadir}/locale/bg -%exclude %{_datadir}/locale/br -%exclude %{_datadir}/locale/bs -%exclude %{_datadir}/locale/ca -%exclude %{_datadir}/locale/cs -%exclude %{_datadir}/locale/cy -%exclude %{_datadir}/locale/en_GB -%exclude %{_datadir}/locale/eu -%exclude %{_datadir}/locale/fa -%exclude %{_datadir}/locale/fi -%exclude %{_datadir}/locale/ga -%exclude %{_datadir}/locale/gl -%exclude %{_datadir}/locale/he -%exclude %{_datadir}/locale/hi -%exclude %{_datadir}/locale/hu -%exclude %{_datadir}/locale/is -%exclude %{_datadir}/locale/ja -%exclude %{_datadir}/locale/ka -%exclude %{_datadir}/locale/km -%exclude %{_datadir}/locale/lt -%exclude %{_datadir}/locale/mk -%exclude %{_datadir}/locale/ms -%exclude %{_datadir}/locale/nb -%exclude %{_datadir}/locale/nds -%exclude %{_datadir}/locale/ne -%exclude %{_datadir}/locale/nn -%exclude %{_datadir}/locale/pa -%exclude %{_datadir}/locale/rw -%exclude %{_datadir}/locale/se -%exclude %{_datadir}/locale/sk -%exclude %{_datadir}/locale/sr -%exclude %{_datadir}/locale/sr@Latn -%exclude %{_datadir}/locale/ta -%exclude %{_datadir}/locale/tr -%exclude %{_datadir}/locale/uz -%exclude %{_datadir}/locale/uz@cyrillic -%exclude %{_datadir}/locale/zh_CN -%exclude %{_datadir}/locale/zh_TW - - -%changelog -* Thu May 10 2012 Francois Andriot - 1.0.5-1 -- Initial release for TDE 3.5.13 diff --git a/redhat/applications/k3b-i18n/k3b-i18n-trinity.patch b/redhat/applications/k3b-i18n/k3b-i18n-trinity.patch deleted file mode 100644 index dccbfa1ae..000000000 --- a/redhat/applications/k3b-i18n/k3b-i18n-trinity.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- k3b-i18n-1.0.5/admin/cvs.sh.ORI 2012-05-09 19:45:56.106421990 +0200 -+++ k3b-i18n-1.0.5/admin/cvs.sh 2012-05-09 19:46:16.264708192 +0200 -@@ -68,7 +68,7 @@ - echo "*** KDE requires automake $required_automake_version" - exit 1 - ;; -- automake*1.6.* | automake*1.7* | automake*1.8* | automake*1.9* | automake*1.10*) -+ automake*1.6.* | automake*1.7* | automake*1.8* | automake*1.9* | automake*1.1[0-9]*) - echo "*** $AUTOMAKE_STRING found." - UNSERMAKE=no - ;; diff --git a/redhat/applications/k3b/k3b-1.0.3-umount.patch b/redhat/applications/k3b/k3b-1.0.3-umount.patch deleted file mode 100644 index 394aff152..000000000 --- a/redhat/applications/k3b/k3b-1.0.3-umount.patch +++ /dev/null @@ -1,48 +0,0 @@ ---- k3b-1.0.3/libk3b/core/k3bglobals.cpp.umount 2007-07-27 21:26:30.000000000 +0200 -+++ k3b-1.0.3/libk3b/core/k3bglobals.cpp 2007-07-27 21:31:26.000000000 +0200 -@@ -569,7 +569,24 @@ - return true; - } - -- // now try pmount -+#ifdef HAVE_HAL -+ if (!K3bDevice::HalConnection::instance()->unmount( dev )) -+ return true; -+#endif -+ -+ QString gumountBin = K3b::findExe( "gnome-umount" ); -+ if( !gumountBin.isEmpty() ) { -+ KProcess p; -+ p << gumountBin; -+ p << "-u"; -+ p << "-d"; -+ p << dev->blockDeviceName(); -+ p.start( KProcess::Block ); -+ if( !p.exitStatus() ) -+ return true; -+ } -+ -+// now try pmount - QString pumountBin = K3b::findExe( "pumount" ); - if( !pumountBin.isEmpty() ) { - KProcess p; -@@ -577,15 +592,11 @@ - p << "-l"; // lazy unmount - p << dev->blockDeviceName(); - p.start( KProcess::Block ); -- return !p.exitStatus(); -- } -- else { --#ifdef HAVE_HAL -- return !K3bDevice::HalConnection::instance()->unmount( dev ); --#else -- return false; --#endif -+ if( !p.exitStatus() ) -+ return true; - } -+ -+ return false; - } - - diff --git a/redhat/applications/k3b/k3b-1.0.4-manualbufsize.patch b/redhat/applications/k3b/k3b-1.0.4-manualbufsize.patch deleted file mode 100644 index 4ee6105a0..000000000 --- a/redhat/applications/k3b/k3b-1.0.4-manualbufsize.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff -up k3b-1.0.4/libk3b/core/k3bglobalsettings.cpp.manualbufsize k3b-1.0.4/libk3b/core/k3bglobalsettings.cpp ---- k3b-1.0.4/libk3b/core/k3bglobalsettings.cpp.manualbufsize 2007-11-02 10:55:39.000000000 +0100 -+++ k3b-1.0.4/libk3b/core/k3bglobalsettings.cpp 2008-04-22 14:15:06.000000000 +0200 -@@ -22,7 +22,7 @@ K3bGlobalSettings::K3bGlobalSettings() - : m_eject(true), - m_burnfree(true), - m_overburn(false), -- m_useManualBufferSize(false), -+ m_useManualBufferSize(true), - m_bufferSize(4), - m_force(false) - { -@@ -37,7 +37,7 @@ void K3bGlobalSettings::readSettings( KC - m_eject = !c->readBoolEntry( "No cd eject", false ); - m_burnfree = c->readBoolEntry( "burnfree", true ); - m_overburn = c->readBoolEntry( "Allow overburning", false ); -- m_useManualBufferSize = c->readBoolEntry( "Manual buffer size", false ); -+ m_useManualBufferSize = c->readBoolEntry( "Manual buffer size", true ); - m_bufferSize = c->readNumEntry( "Fifo buffer", 4 ); - m_force = c->readBoolEntry( "Force unsafe operations", false ); - diff --git a/redhat/applications/k3b/k3b-1.0.5-hidden.patch b/redhat/applications/k3b/k3b-1.0.5-hidden.patch deleted file mode 100644 index f27f0b391..000000000 --- a/redhat/applications/k3b/k3b-1.0.5-hidden.patch +++ /dev/null @@ -1,31 +0,0 @@ -diff -up k3b-1.0.5/src/Makefile.in.hidden k3b-1.0.5/src/Makefile.in ---- k3b-1.0.5/src/Makefile.in.hidden 2008-05-27 03:34:44.000000000 -0500 -+++ k3b-1.0.5/src/Makefile.in 2008-08-27 14:18:54.000000000 -0500 -@@ -512,9 +512,9 @@ k3b_LDADD = ./option/liboption.la ./rip/ - -lkio -lkparts $(CAM_LIB) $(MUSICBRAINZ_LIBS) - - SUBDIRS = option misc rip projects fastscale pics icons konqi mimetypes sounds --xdg_apps_DATA = k3b.desktop --silent_DATA = k3b-iso.desktop k3b-cue.desktop --silentdir = $(kde_appsdir)/.hidden/ -+xdg_apps_DATA = k3b.desktop k3b-iso.desktop k3b-cue.desktop -+#silent_DATA = k3b-iso.desktop k3b-cue.desktop -+#silentdir = $(kde_appsdir)/.hidden/ - - ################### - # this 10 paths are KDE specific. Use them: -diff -up k3b-1.0.5/src/Makefile.am.hidden k3b-1.0.5/src/Makefile.am ---- k3b-1.0.5/src/Makefile.am.hidden 2008-05-27 03:24:04.000000000 -0500 -+++ k3b-1.0.5/src/Makefile.am 2008-08-27 14:13:36.000000000 -0500 -@@ -32,10 +32,7 @@ k3b_LDADD = ./option/liboption.la ./rip/ - - SUBDIRS = option misc rip projects fastscale pics icons konqi mimetypes sounds - --xdg_apps_DATA = k3b.desktop -- --silent_DATA = k3b-iso.desktop k3b-cue.desktop --silentdir = $(kde_appsdir)/.hidden/ -+xdg_apps_DATA = k3b.desktop k3b-iso.desktop k3b-cue.desktop - - ################### - # this 10 paths are KDE specific. Use them: diff --git a/redhat/applications/k3b/k3b-3.5.12.spec b/redhat/applications/k3b/k3b-3.5.12.spec deleted file mode 100644 index 0d17f7958..000000000 --- a/redhat/applications/k3b/k3b-3.5.12.spec +++ /dev/null @@ -1,282 +0,0 @@ -# Default version for this component -%if "%{?version}" == "" -%define version 3.5.12 -%endif -%define release 7 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%define _docdir %{_prefix}/share/doc -%endif - -# TDE 3.5.12 specific building variables -BuildRequires: autoconf automake libtool m4 -%define tde_docdir %{_docdir} -%define tde_includedir %{_includedir}/kde -%define tde_libdir %{_libdir}/kde3 - - -Name: trinity-k3b -Summary: CD/DVD burning application -Version: %{?version} -Release: %{?release}%{?dist}%{?_variant} - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -%if "%{?_prefix}" == "/usr" -Obsoletes: k3b -%endif - -Group: Applications/Archiving -License: GPLv2+ - -Source0: k3b-%{version}.tar.gz -Source1: k3b-i18n-1.0.5.tar.bz2 -Source2: k3brc - -# Legacy RedHat / Fedora patches -Patch2: k3b-1.0.3-umount.patch -# manual bufsize (upstream?) -Patch4: k3b-1.0.4-manualbufsize.patch -# 3rd time is a charm, https://bugs.kde.org/show_bug.cgi?id=156684#c30 -Patch102: reload-for-verification.diff -# put k3b-(iso,cue).desktop to xdg_apps_DATA , see http://bugzilla.redhat.com/419681 -# upstreamed 2008-08-27 -Patch105: k3b-1.0.5-hidden.patch -# RHEL6: Fix K3B icon -Patch106: trinity-k3b-icons.patch - - -BuildRequires: trinity-kdelibs-devel -BuildRequires: desktop-file-utils -BuildRequires: alsa-lib-devel -BuildRequires: audiofile-devel -BuildRequires: dbus-qt-devel hal-devel -BuildRequires: flac-devel -BuildRequires: gettext -BuildRequires: libdvdread-devel -%if 0%{?fedora} >= 15 || 0%{?rhel} <= 5 -BuildRequires: libmpcdec-devel -%else -BuildRequires: musepack-tools-devel -%endif -BuildRequires: libmusicbrainz-devel -BuildRequires: libsamplerate-devel -BuildRequires: libsndfile-devel -BuildRequires: libvorbis-devel -BuildRequires: taglib-devel -BuildRequires: zlib-devel - -Obsoletes: k3b-extras < 0:1.0-1 -Provides: k3b-extras = %{version}-%{release} - -Obsoletes: %{name}-i18n -Provides: %{name}-i18n - -Requires(post): coreutils -Requires(postun): coreutils - -Requires: %{name}-libs = %{version}-%{release} -Requires: %{name}-common = %{version}-%{release} - -Requires: cdrecord mkisofs -Requires: cdrdao -Requires: dvd+rw-tools - -%description -K3b provides a comfortable user interface to perform most CD/DVD -burning tasks. While the experienced user can take influence in all -steps of the burning process the beginner may find comfort in the -automatic settings and the reasonable k3b defaults which allow a quick -start. - -%package common -Summary: Common files of %{name} -Group: Applications/Archiving -Requires: %{name} = %{version}-%{release} -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 -BuildArch: noarch -%endif -%description common -%{summary}. - -%package libs -Summary: Runtime libraries for %{name} -Group: System Environment/Libraries -Requires: %{name} = %{version}-%{release} -%description libs -%{summary}. - -%package devel -Summary: Files for the development of applications which will use %{name} -Group: Development/Libraries -Requires: %{name}-libs = %{version}-%{release} -%description devel -%{summary}. - - -%prep -%setup -q -a 1 -n applications/k3b - -%patch2 -p1 -b .umount -# set in k3brc too -%patch4 -p1 -b .manualbufsize -%patch102 -p0 -b .kde#156684 -%patch106 -p1 -b .desktopfile - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - -%patch105 -p1 -b .hidden - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{_bindir}:${PATH}" -export LDFLAGS="-L%{_libdir} -I%{_includedir}" - -CFLAGS="%optflags -fno-strict-aliasing" \ -CXXFLAGS="%optflags -fno-strict-aliasing" \ -%configure \ - --includedir=%{_includedir}/k3b \ - --disable-rpath \ - --enable-new-ldflags \ - --disable-debug --disable-warnings \ - --disable-dependency-tracking --enable-final \ - --with-k3bsetup=no \ - --without-cdrecord-suid-root \ - --with-oggvorbis \ - --with-flac \ - --with-external-libsamplerate \ - --with-libdvdread \ - --with-musicbrainz \ - --with-sndfile \ - --without-ffmpeg --without-lame --without-libmad \ - --with-musepack \ - --with-extra-includes=%{_includedir}/tqt - -%__make %{?_smp_mflags} - -# Build for i18n tarball -pushd k3b-i18n-1.0.5 -%configure -%__make %{?_smp_mflags} -popd - -%install -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -%__make install DESTDIR=%{buildroot} -C k3b-i18n-1.0.5 -%__install -D -m 644 -p %{SOURCE2} %{buildroot}%{_datadir}/config/k3brc - -# remove the .la files -%__rm -f %{buildroot}%{_libdir}/libk3b*.la - -# remove i18n for Plattdeutsch (Low Saxon) -%__rm -fr %{buildroot}%{_datadir}/locale/nds - -%find_lang k3b --with-kde -%find_lang k3bsetup -%find_lang libk3b -%find_lang libk3bdevice -cat k3b.lang k3bsetup.lang libk3b.lang libk3bdevice.lang >> all.lang - - -%check -export PATH="%{_bindir}:${PATH}" -desktop-file-validate %{buildroot}%{_datadir}/applications/kde/k3b.desktop - - -%clean -%__rm -rf %{buildroot} - - -%post libs -/sbin/ldconfig - -%postun libs -/sbin/ldconfig - -%post common -touch --no-create %{_datadir}/icons/hicolor ||: - -%postun common -if [ $1 -eq 0 ] ; then -touch --no-create %{_datadir}/icons/hicolor &> /dev/null -gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : -update-desktop-database -q &> /dev/null -fi - -%posttrans common -gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : -update-desktop-database -q &> /dev/null - - -%files -%defattr(-,root,root,-) -%doc AUTHORS README COPYING TODO ChangeLog -%{_bindir}/k3b -%{tde_libdir}/*.so -%{tde_libdir}/*.la -%doc %{tde_docdir}/HTML/*/k3b/* - -%files common -f all.lang -%defattr(-,root,root,-) -%{_datadir}/applications/kde/*.desktop -%{_datadir}/apps/k3b/ -%{_datadir}/apps/konqueror/servicemenus/*.desktop -%{_datadir}/apps/konqsidebartng/virtual_folders/services/videodvd.desktop -%{_datadir}/config/k3brc -%{_datadir}/mimelnk/application/x-k3b.desktop -%{_datadir}/icons/hicolor/*/*/* -%{_datadir}/services/kfile_k3b.desktop -%{_datadir}/services/videodvd.protocol -%{_datadir}/sounds/k3b_*.wav - -%files libs -%defattr(-,root,root,-) -%{_libdir}/libk3b.so.3* -%{_libdir}/libk3bdevice.so.5* - -%files devel -%defattr(-,root,root,-) -%{_includedir}/* -%{_libdir}/libk3b.so -%{_libdir}/libk3bdevice.so - - -%changelog -* Mon Sep 19 2011 Francois Andriot - 3.5.12-7 -- Add support for RHEL5 - -* Sun Sep 11 2011 Francois Andriot - 3.5.12-6 -- Import to GIT - -* Wed Aug 24 2011 Francois Andriot - 3.5.12-5 -- Add fix for Fedora 15 - -* Mon Aug 22 2011 Francois Andriot - 3.5.12-4 -- Correct macro to install under "/opt", if desired - -* Thu Apr 28 2011 Francois Andriot - 3.5.12-3 -- Fix config file '/usr/share/config/k3brc' - -* Sun Dec 19 2010 Francois Andriot - 3.5.12-2 -- Add i18n translations -- Add patches from RHEL 6.0 (except Patch106, redundant with our 'patch0') -- Renamed 'patch0' to 'patch106' - -* Fri Dec 17 2010 Francois Andriot - 3.5.12-1 -- Add macro _kde3_prefix to define custom installation prefix (ex: /opt/kde3) -- Add '--with-extra-includes=%{_includedir}/tqt' - -* Wed Dec 15 2010 Francois Andriot - 3.5.12-0 -- Initial version built for RHEL 6.0 -- Add 'patch0' : invalid syntax in 'k3b.desktop' - diff --git a/redhat/applications/k3b/k3b-3.5.13-fix_Range_r_3-gcc47.patch b/redhat/applications/k3b/k3b-3.5.13-fix_Range_r_3-gcc47.patch deleted file mode 100644 index 3de442b61..000000000 --- a/redhat/applications/k3b/k3b-3.5.13-fix_Range_r_3-gcc47.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- k3b/src/projects/k3baudioeditorwidget.cpp -+++ k3b/src/projects/k3baudioeditorwidget.cpp 2012-04-18 16:48:00.794902506 -0500 -@@ -663,15 +663,16 @@ - { - m_draggedRange = 0; - m_draggedMarker = 0; -- - bool end; -- if( Range* r = findRangeEdge( e->pos(), &end ) ) { -+ Range* r = findRangeEdge( e->pos(), &end ); -+ -+ if (r) { - m_draggedRange = r; - m_draggingRangeEnd = end; - setSelectedRange( r ); - } - else { -- Range* r = findRange( e->pos() ); -+ r = findRange( e->pos() ); - d->movedRange = r; - d->lastMovePosition = posToMsf( e->pos().x() ); - setSelectedRange( r ); diff --git a/redhat/applications/k3b/k3b-3.5.13-fix_dbus_tqt_detection.patch b/redhat/applications/k3b/k3b-3.5.13-fix_dbus_tqt_detection.patch deleted file mode 100644 index fcd293c01..000000000 --- a/redhat/applications/k3b/k3b-3.5.13-fix_dbus_tqt_detection.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- k3b/applications/k3b/libk3bdevice/configure.in.in.ORI 2012-08-04 14:47:03.081813892 +0200 -+++ k3b/applications/k3b/libk3bdevice/configure.in.in 2012-08-04 14:47:25.421612485 +0200 -@@ -165,7 +165,7 @@ - dbusqt_lib=NOTFOUND - dbusqt=NOTFOUND - -- search_incs="$kde_includes /usr/include /usr/include/dbus-1.0 /usr/local/include /usr/local/include/dbus-1.0" -+ search_incs="$kde_includes /usr/include /usr/include/dbus-1.0 /usr/local/include /usr/local/include/dbus-1.0 /opt/trinity/include/dbus-1.0" - AC_FIND_FILE(dbus/connection.h, $search_incs, dbusqt_incdir) - - if test -r $dbusqt_incdir/dbus/connection.h ; then ---- k3b/libk3bdevice/configure.in.in.ORI 2012-08-04 14:57:19.624255359 +0200 -+++ k3b/libk3bdevice/configure.in.in 2012-08-04 14:57:33.719128285 +0200 -@@ -165,7 +165,7 @@ - dbusqt_lib=NOTFOUND - dbusqt=NOTFOUND - -- search_incs="$kde_includes /usr/include /usr/include/dbus-1.0 /usr/local/include /usr/local/include/dbus-1.0" -+ search_incs="$kde_includes /usr/include /usr/include/dbus-1.0 /usr/local/include /usr/local/include/dbus-1.0 /opt/trinity/include/dbus-1.0" - AC_FIND_FILE(dbus/connection.h, $search_incs, dbusqt_incdir) - - if test -r $dbusqt_incdir/dbus/connection.h ; then diff --git a/redhat/applications/k3b/k3b-3.5.13-missing_ldflags.patch b/redhat/applications/k3b/k3b-3.5.13-missing_ldflags.patch deleted file mode 100644 index 1ae2079e9..000000000 --- a/redhat/applications/k3b/k3b-3.5.13-missing_ldflags.patch +++ /dev/null @@ -1,131 +0,0 @@ ---- k3b/libk3bdevice/Makefile.am.ORI 2012-08-04 14:09:53.794930123 +0200 -+++ k3b/libk3bdevice/Makefile.am 2012-08-04 14:10:08.246593402 +0200 -@@ -6,7 +6,7 @@ - - lib_LTLIBRARIES = libk3bdevice.la - --libk3bdevice_la_LIBADD = $(LIB_KIO) $(RESMGR_LIB) $(CAM_LIB) $(HAL_DBUS_LIBS) -+libk3bdevice_la_LIBADD = $(LIB_KIO) $(RESMGR_LIB) $(CAM_LIB) $(HAL_DBUS_LIBS) $(LIB_QT) $(LIB_KDECORE) - - # lib version 5 for K3b 1.0 - libk3bdevice_la_LDFLAGS = $(all_libraries) -version-info 5:0:0 -no-undefined ---- k3b/libk3b/Makefile.am.ORI 2012-08-04 14:13:26.067400663 +0200 -+++ k3b/libk3b/Makefile.am 2012-08-04 14:13:34.150243648 +0200 -@@ -16,7 +16,7 @@ - plugin/libk3bplugin.la \ - tools/libk3btools.la \ - jobs/libjobs.la \ -- $(VIDEODVDLIB) \ -+ $(VIDEODVDLIB) $(LIB_KDEUI) $(LIB_QT) $(LIB_KDECORE) $(LIBDL) -lkdefx -lDCOP \ - ../libk3bdevice/libk3bdevice.la - - libk3b_la_LDFLAGS = $(all_libraries) -version-info 3:0:0 -no-undefined ---- k3b/plugins/decoder/wave/Makefile.am.ORI 2012-08-04 15:26:55.434435396 -0400 -+++ k3b/plugins/decoder/wave/Makefile.am 2012-08-04 15:27:06.802685139 -0400 -@@ -4,7 +4,7 @@ - - libk3bwavedecoder_la_SOURCES = k3bwavedecoder.cpp - --libk3bwavedecoder_la_LIBADD = $(LIB_KDECORE) ../../../libk3b/libk3b.la -+libk3bwavedecoder_la_LIBADD = $(LIB_KDECORE) $(LIB_QT) ../../../libk3b/libk3b.la ../../../libk3bdevice/libk3bdevice.la - libk3bwavedecoder_la_LDFLAGS = -avoid-version -module -no-undefined $(all_libraries) - - pluginsdir = $(kde_datadir)/k3b/plugins ---- k3b/plugins/decoder/ogg/Makefile.am.ORI 2012-08-04 15:33:41.805310213 -0400 -+++ k3b/plugins/decoder/ogg/Makefile.am 2012-08-04 15:34:09.767685132 -0400 -@@ -5,6 +5,6 @@ - libk3boggvorbisdecoder_la_SOURCES = k3boggvorbisdecoder.cpp - --libk3boggvorbisdecoder_la_LIBADD = ../../../libk3b/libk3b.la -logg -lvorbis -lvorbisfile -+libk3boggvorbisdecoder_la_LIBADD = ../../../libk3b/libk3b.la ../../../libk3b/plugin/libk3bplugin.la ../../../libk3bdevice/libk3bdevice.la -logg -lvorbis -lvorbisfile $(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI) $(LIB_KIO) - libk3boggvorbisdecoder_la_LDFLAGS = -avoid-version -module -no-undefined $(all_libraries) - - pluginsdir = $(kde_datadir)/k3b/plugins ---- k3b/plugins/decoder/flac/Makefile.am.ORI 2012-08-04 15:39:28.418435409 -0400 -+++ k3b/plugins/decoder/flac/Makefile.am 2012-08-04 15:39:41.490685093 -0400 -@@ -4,7 +4,7 @@ - - libk3bflacdecoder_la_SOURCES = k3bflacdecoder.cpp - --libk3bflacdecoder_la_LIBADD = ../../../libk3b/libk3b.la $(LIB_KDEUI) -lFLAC++ -lFLAC $(taglib_libs) -+libk3bflacdecoder_la_LIBADD = ../../../libk3b/libk3b.la ../../../libk3bdevice/libk3bdevice.la $(LIB_KDEUI) $(LIB_KDECORE) $(LIB_QT) -lFLAC++ -lFLAC $(taglib_libs) - libk3bflacdecoder_la_LDFLAGS = -avoid-version -module -no-undefined $(all_libraries) - - pluginsdir = $(kde_datadir)/k3b/plugins ---- k3b/plugins/decoder/libsndfile/Makefile.am.ORI 2012-08-04 15:43:24.035435310 -0400 -+++ k3b/plugins/decoder/libsndfile/Makefile.am 2012-08-04 15:43:33.579684947 -0400 -@@ -4,7 +4,7 @@ - - libk3blibsndfiledecoder_la_SOURCES = k3blibsndfiledecoder.cpp - --libk3blibsndfiledecoder_la_LIBADD = ../../../libk3b/libk3b.la $(LIB_KDEUI) -lsndfile -+libk3blibsndfiledecoder_la_LIBADD = ../../../libk3b/libk3b.la ../../../libk3bdevice/libk3bdevice.la ../../../libk3b/plugin/libk3bplugin.la $(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI) $(LIB_KIO) -lsndfile - libk3blibsndfiledecoder_la_LDFLAGS = -avoid-version -module -no-undefined $(all_libraries) - - pluginsdir = $(kde_datadir)/k3b/plugins ---- k3b/plugins/decoder/musepack/Makefile.am.ORI 2012-08-04 15:46:29.503435327 -0400 -+++ k3b/plugins/decoder/musepack/Makefile.am 2012-08-04 15:46:37.662685065 -0400 -@@ -7,7 +7,7 @@ - - libk3bmpcdecoder_la_SOURCES = k3bmpcdecoder.cpp k3bmpcwrapper.cpp - --libk3bmpcdecoder_la_LIBADD = ../../../libk3b/libk3b.la $(MPC_LIBS) -+libk3bmpcdecoder_la_LIBADD = ../../../libk3b/libk3b.la ../../../libk3bdevice/libk3bdevice.la ../../../libk3b/plugin/libk3bplugin.la $(MPC_LIBS) $(LIB_QT) $(LIB_KDECORE) $(LIB_KIO) $(LIB_KDEUI) - libk3bmpcdecoder_la_LDFLAGS = -avoid-version -module -no-undefined $(all_libraries) - - pluginsdir = $(kde_datadir)/k3b/plugins ---- k3b/plugins/encoder/sox/Makefile.am.ORI 2012-08-04 15:48:44.045310191 -0400 -+++ k3b/plugins/encoder/sox/Makefile.am 2012-08-04 15:48:53.509685113 -0400 -@@ -4,7 +4,7 @@ - - libk3bsoxencoder_la_SOURCES = base_k3bsoxencoderconfigwidget.ui k3bsoxencoder.cpp - --libk3bsoxencoder_la_LIBADD = ../../../libk3b/libk3b.la $(LIB_KDECORE) -+libk3bsoxencoder_la_LIBADD = ../../../libk3b/libk3b.la ../../../libk3bdevice/libk3bdevice.la $(LIB_KDECORE) $(LIB_QT) - libk3bsoxencoder_la_LDFLAGS = -avoid-version -module -no-undefined $(all_libraries) - - pluginsdir = $(kde_datadir)/k3b/plugins ---- k3b/plugins/encoder/external/Makefile.am.ORI 2012-08-04 15:51:06.900310165 -0400 -+++ k3b/plugins/encoder/external/Makefile.am 2012-08-04 15:51:16.084435154 -0400 -@@ -6,7 +6,7 @@ - base_k3bexternalencodereditwidget.ui k3bexternalencoder.cpp \ - k3bexternalencoderconfigwidget.cpp k3bexternalencodercommand.cpp - --libk3bexternalencoder_la_LIBADD = ../../../libk3b/libk3b.la $(LIB_KDECORE) -+libk3bexternalencoder_la_LIBADD = ../../../libk3b/libk3b.la ../../../libk3bdevice/libk3bdevice.la $(LIB_KDECORE) $(LIB_QT) $(LIB_KDEUI) - libk3bexternalencoder_la_LDFLAGS = -avoid-version -module -no-undefined $(all_libraries) - - pluginsdir = $(kde_datadir)/k3b/plugins ---- k3b/plugins/encoder/ogg/Makefile.am.ORI 2012-08-04 15:53:42.509310180 -0400 -+++ k3b/plugins/encoder/ogg/Makefile.am 2012-08-04 15:53:52.493684861 -0400 -@@ -4,7 +4,7 @@ - - libk3boggvorbisencoder_la_SOURCES = base_k3boggvorbisencodersettingswidget.ui k3boggvorbisencoder.cpp - --libk3boggvorbisencoder_la_LIBADD = ../../../libk3b/libk3b.la $(LIB_KDECORE) -logg -lvorbis -lvorbisenc -+libk3boggvorbisencoder_la_LIBADD = ../../../libk3b/libk3b.la $(LIB_KDECORE) -logg -lvorbis -lvorbisenc $(LIB_QT) $(LIB_KDEUI) - libk3boggvorbisencoder_la_LDFLAGS = -avoid-version -module -no-undefined $(all_libraries) - - pluginsdir = $(kde_datadir)/k3b/plugins ---- k3b/plugins/audiooutput/arts/Makefile.am.ORI 2012-08-04 15:56:16.309435344 -0400 -+++ k3b/plugins/audiooutput/arts/Makefile.am 2012-08-04 15:56:26.541685090 -0400 -@@ -4,7 +4,7 @@ - - libk3bartsoutputplugin_la_SOURCES = k3bartsoutputplugin.cpp - --libk3bartsoutputplugin_la_LIBADD = ../../../libk3b/libk3b.la -lartsc -+libk3bartsoutputplugin_la_LIBADD = ../../../libk3b/libk3b.la -lartsc $(LIB_KDECORE) $(LIB_QT) - libk3bartsoutputplugin_la_LDFLAGS = -avoid-version -module -no-undefined $(all_libraries) - - pluginsdir = $(kde_datadir)/k3b/plugins ---- k3b/plugins/audiooutput/alsa/Makefile.am.ORI 2012-08-04 15:58:27.539435332 -0400 -+++ k3b/plugins/audiooutput/alsa/Makefile.am 2012-08-04 15:58:42.595685074 -0400 -@@ -5,7 +5,7 @@ - libk3balsaoutputplugin_la_SOURCES = k3balsaoutputplugin.cpp - - libk3balsaoutputplugin_la_CFLAGS = $(ALSA_CFLAGS) --libk3balsaoutputplugin_la_LIBADD = ../../../libk3b/libk3b.la $(ALSA_LIBS) -+libk3balsaoutputplugin_la_LIBADD = ../../../libk3b/libk3b.la $(ALSA_LIBS) $(LIB_KDECORE) $(LIB_QT) $(LIB_KDEUI) - libk3balsaoutputplugin_la_LDFLAGS = -avoid-version -module -no-undefined $(all_libraries) - - pluginsdir = $(kde_datadir)/k3b/plugins diff --git a/redhat/applications/k3b/k3b-3.5.13.1.spec b/redhat/applications/k3b/k3b-3.5.13.1.spec deleted file mode 100644 index 5cb371b5f..000000000 --- a/redhat/applications/k3b/k3b-3.5.13.1.spec +++ /dev/null @@ -1,409 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-k3b -Summary: CD/DVD burning application -Version: 3.5.13.1 -Release: 2%{?dist}%{?_variant} - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Group: Applications/Archiving -License: GPLv2+ - -Source0: k3b-%{version}.tar.gz -Source2: k3brc - -# Legacy RedHat / Fedora patches -# manual bufsize (upstream?) -Patch4: k3b-1.0.4-manualbufsize.patch -# RHEL6: Fix K3B icon -Patch106: trinity-k3b-icons.patch - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-dbus-tqt-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-arts-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: alsa-lib-devel -BuildRequires: audiofile-devel -BuildRequires: hal-devel -BuildRequires: gettext -BuildRequires: libdvdread-devel -BuildRequires: libmpcdec-devel -BuildRequires: libmusicbrainz-devel -BuildRequires: libsamplerate-devel -BuildRequires: libsndfile-devel -BuildRequires: libvorbis-devel -BuildRequires: taglib-devel -BuildRequires: zlib-devel - -Requires(post): coreutils -Requires(postun): coreutils - -Requires: %{name}-libs = %{version}-%{release} -Requires: %{name}-common = %{version}-%{release} - -Requires: cdrecord mkisofs -Requires: cdrdao -Requires: dvd+rw-tools - -# FLAC support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}flac-devel -BuildRequires: %{_lib}flac++-devel -%else -BuildRequires: flac-devel -%endif - -# MAD support -%if 0%{?mdkversion} || 0%{?mgaversion} -%define with_mad 1 -BuildRequires: %{_lib}mad-devel -%endif - -# LAME support -%if 0%{?mdkversion} || 0%{?mgaversion} -%define with_lame 1 -BuildRequires: %{_lib}lame-devel -%endif - -# FFMPEG support -%if 0%{?mdkversion} || 0%{?mgaversion} -%define with_ffmpeg 1 -BuildRequires: %{_lib}ffmpeg-devel -%endif - -%description -K3b provides a comfortable user interface to perform most CD/DVD -burning tasks. While the experienced user can take influence in all -steps of the burning process the beginner may find comfort in the -automatic settings and the reasonable k3b defaults which allow a quick -start. - -%files -%defattr(-,root,root,-) -%doc AUTHORS README COPYING TODO ChangeLog -%{tde_bindir}/k3b -%{tde_tdelibdir}/kfile_k3b.la -%{tde_tdelibdir}/kfile_k3b.so -%{tde_tdelibdir}/kio_videodvd.la -%{tde_tdelibdir}/kio_videodvd.so -%{tde_tdelibdir}/libk3balsaoutputplugin.la -%{tde_tdelibdir}/libk3balsaoutputplugin.so -%{tde_tdelibdir}/libk3bartsoutputplugin.la -%{tde_tdelibdir}/libk3bartsoutputplugin.so -%{tde_tdelibdir}/libk3baudiometainforenamerplugin.la -%{tde_tdelibdir}/libk3baudiometainforenamerplugin.so -%{tde_tdelibdir}/libk3baudioprojectcddbplugin.la -%{tde_tdelibdir}/libk3baudioprojectcddbplugin.so -%{tde_tdelibdir}/libk3bexternalencoder.la -%{tde_tdelibdir}/libk3bexternalencoder.so -%{tde_tdelibdir}/libk3bflacdecoder.la -%{tde_tdelibdir}/libk3bflacdecoder.so -%{tde_tdelibdir}/libk3blibsndfiledecoder.la -%{tde_tdelibdir}/libk3blibsndfiledecoder.so -%{tde_tdelibdir}/libk3bmpcdecoder.la -%{tde_tdelibdir}/libk3bmpcdecoder.so -%{tde_tdelibdir}/libk3boggvorbisdecoder.la -%{tde_tdelibdir}/libk3boggvorbisdecoder.so -%{tde_tdelibdir}/libk3boggvorbisencoder.la -%{tde_tdelibdir}/libk3boggvorbisencoder.so -%{tde_tdelibdir}/libk3bsoxencoder.la -%{tde_tdelibdir}/libk3bsoxencoder.so -%{tde_tdelibdir}/libk3bwavedecoder.la -%{tde_tdelibdir}/libk3bwavedecoder.so -%lang(en) %{tde_tdedocdir}/HTML/en/k3b/ - - -########## - -%package common -Summary: Common files of %{name} -Group: Applications/Archiving -Requires: %{name} = %{version}-%{release} -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} -BuildArch: noarch -%endif - -%description common -%{summary}. - -%files common -%defattr(-,root,root,-) -%{tde_tdeappdir}/k3b.desktop -%{tde_datadir}/applnk/.hidden/k3b-cue.desktop -%{tde_datadir}/applnk/.hidden/k3b-iso.desktop -%{tde_datadir}/apps/k3b/ -%{tde_datadir}/apps/konqsidebartng/virtual_folders/services/videodvd.desktop -%{tde_datadir}/apps/konqueror/servicemenus/k3b_audiocd_rip.desktop -%{tde_datadir}/apps/konqueror/servicemenus/k3b_cd_copy.desktop -%{tde_datadir}/apps/konqueror/servicemenus/k3b_dvd_copy.desktop -%{tde_datadir}/apps/konqueror/servicemenus/k3b_handle_empty_cd.desktop -%{tde_datadir}/apps/konqueror/servicemenus/k3b_handle_empty_dvd.desktop -%{tde_datadir}/apps/konqueror/servicemenus/k3b_videodvd_rip.desktop -%{tde_datadir}/config/k3brc -%{tde_datadir}/mimelnk/application/x-k3b.desktop -%{tde_datadir}/icons/hicolor/*/apps/k3b.png -%{tde_datadir}/services/kfile_k3b.desktop -%{tde_datadir}/services/videodvd.protocol -%{tde_datadir}/sounds/k3b_error1.wav -%{tde_datadir}/sounds/k3b_success1.wav -%{tde_datadir}/sounds/k3b_wait_media1.wav - - -%post common -touch --no-create %{tde_datadir}/icons/hicolor ||: - -%postun common -if [ $1 -eq 0 ] ; then - touch --no-create %{tde_datadir}/icons/hicolor &> /dev/null - gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || : - update-desktop-database %{tde_appdir} -q &> /dev/null -fi - -%posttrans common -gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || : -update-desktop-database %{tde_appdir} -q &> /dev/null - -########## - -%package libs -Summary: Runtime libraries for %{name} -Group: System Environment/Libraries -Requires: %{name} = %{version}-%{release} - -%description libs -%{summary}. - -%files libs -%defattr(-,root,root,-) -%{tde_libdir}/libk3b.so.3 -%{tde_libdir}/libk3b.so.3.0.0 -%{tde_libdir}/libk3bdevice.so.5 -%{tde_libdir}/libk3bdevice.so.5.0.0 - -%post libs -/sbin/ldconfig - -%postun libs -/sbin/ldconfig - -########## - -%package devel -Summary: Files for the development of applications which will use %{name} -Group: Development/Libraries -Requires: %{name}-libs = %{version}-%{release} - -%description devel -%{summary}. - -%files devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/*.h -%{tde_libdir}/libk3b.so -%{tde_libdir}/libk3bdevice.so - -%post devel -/sbin/ldconfig - -%postun devel -/sbin/ldconfig - -########## - -%if 0%{?with_mad} -%package plugin-mad -Summary: The MAD plugin for K3B -Group: System Environment/Libraries -Requires: %{name} = %{version}-%{release} - -%description plugin-mad -%{summary}. - -MAD is a high-quality MPEG audio decoder. It currently supports MPEG-1 -and the MPEG-2 extension to Lower Sampling Frequencies, as well as the -so-called MPEG 2.5 format. All three audio layers (Layer I, Layer II, -and Layer III a.k.a. MP3) are fully implemented. - -%files plugin-mad -%defattr(-,root,root,-) -%{tde_tdelibdir}/libk3bmaddecoder.la -%{tde_tdelibdir}/libk3bmaddecoder.so -%endif - -########## - -%if 0%{?with_lame} -%package plugin-lame -Summary: The LAME plugin for K3B -Group: System Environment/Libraries -Requires: %{name} = %{version}-%{release} - -%description plugin-lame -%{summary}. - -Personal and commercial use of compiled versions of LAME (or any other mp3 -encoder) requires a patent license in some countries. - -This package is in tainted, as MP3 encoding is covered by software patents. - -%files plugin-lame -%defattr(-,root,root,-) -%{tde_tdelibdir}/libk3blameencoder.la -%{tde_tdelibdir}/libk3blameencoder.so -%endif - -########## - -%if 0%{?with_ffmpeg} -%package plugin-ffmpeg -Summary: The FFMPEG plugin for K3B -Group: System Environment/Libraries -Requires: %{name} = %{version}-%{release} - -%description plugin-ffmpeg -%{summary}. - -ffmpeg is a hyper fast realtime audio/video encoder, a streaming server -and a generic audio and video file converter. - -%files plugin-ffmpeg -%defattr(-,root,root,-) -%{tde_tdelibdir}/libk3bffmpegdecoder.la -%{tde_tdelibdir}/libk3bffmpegdecoder.so -%endif - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -a 0 -n k3b-3.5.13.1 - -# set in k3brc too -%patch4 -p1 -b .manualbufsize -%patch106 -p1 -b .desktopfile - - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --enable-new-ldflags \ - --disable-debug --disable-warnings \ - --disable-dependency-tracking --enable-final \ - --with-k3bsetup=no \ - --without-cdrecord-suid-root \ - --with-oggvorbis \ - --with-flac \ - --with-external-libsamplerate \ - --with-libdvdread \ - --with-musicbrainz \ - --with-sndfile \ - %{?with_ffmpeg:--with-ffmpeg} %{?!with_ffmpeg:--without-ffmpeg} \ - %{?with_lame:--with-lame} %{?!with_lame:--without-lame} \ - %{?with_mad:--with-libmad} %{?!with_mad:--without-libmad} \ - --with-musepack \ - --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir} - -%__make %{?_smp_mflags} - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -%__install -D -m 644 -p %{SOURCE2} %{buildroot}%{tde_datadir}/config/k3brc - -# remove the .la files -%__rm -f %{buildroot}%{tde_libdir}/libk3b*.la - -# remove i18n for Plattdeutsch (Low Saxon) -#%__rm -fr %{buildroot}%{tde_datadir}/locale/nds - - - -%clean -%__rm -rf %{buildroot} - - - -%changelog -* Sun Jan 06 2013 Francois Andriot - 3.5.13.1-2 -- Enables FFMPEG support -- Enables LAME support -- Enables MAD support - -* Wed Oct 03 2012 Francois Andriot - 3.5.13.1-1 -- Initial release for TDE 3.5.13.1 -- Remove requirement for resmgr - -* Sat Aug 04 2012 Francois Andriot - 3.5.13-5 -- Add support for Mageia 2 and Mandriva 2011 -- Fix DBUS-TQT detection that prevented HAL support -- Adds requirement for resmgr - -* Wed May 09 2012 Francois Andriot - 3.5.13-4 -- Removes i18 files (built separately) - -* Tue May 01 2012 Francois Andriot - 3.5.13-3 -- Rebuilt for Fedora 17 -- Fix compilation with GCC 4.7 [Bug #958] - -* Sat Nov 05 2011 Francois Andriot - 3.5.13-2 -- Updates BuildRequires - -* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 -- Initial release for RHEL 6, RHEL 5 and Fedora 15 - -* Sun Sep 11 2011 Francois Andriot - 3.5.13-0 -- Import to GIT diff --git a/redhat/applications/k3b/k3b-3.5.13.2-fix_ffmpeg_support.patch b/redhat/applications/k3b/k3b-3.5.13.2-fix_ffmpeg_support.patch deleted file mode 100644 index bd3bfdebf..000000000 --- a/redhat/applications/k3b/k3b-3.5.13.2-fix_ffmpeg_support.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- trinity-k3b-3.5.13.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp.ORI 2013-09-07 12:10:15.846286823 +0200 -+++ trinity-k3b-3.5.13.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp 2013-09-07 12:11:08.020207223 +0200 -@@ -49,7 +49,7 @@ - K3b::Msf length; - - // for decoding -- char outputBuffer[AVCODEC_MAX_AUDIO_FRAME_SIZE]; -+ char outputBuffer[192000]; - char* outputBufferPos; - int outputBufferSize; - AVPacket packet; diff --git a/redhat/applications/k3b/k3b-3.5.13.2.spec b/redhat/applications/k3b/k3b-3.5.13.2.spec deleted file mode 100644 index 851cf978e..000000000 --- a/redhat/applications/k3b/k3b-3.5.13.2.spec +++ /dev/null @@ -1,468 +0,0 @@ -# Default version for this component -%define tde_pkg k3b -%define tde_version 3.5.13.2 - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tde_pkg} -Summary: CD/DVD burning application -Epoch: 1 -Version: 1.0.5 -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Group: Applications/Archiving -License: GPLv2+ - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz -Source2: k3brc - -# Fix FTBFS because AVCODEC_MAX_AUDIO_FRAME_SIZE is obsolete -Patch1: k3b-3.5.13.2-fix_ffmpeg_support.patch - -# Legacy RedHat / Fedora patches -# manual bufsize (upstream?) -Patch4: k3b-1.0.4-manualbufsize.patch -# RHEL6: Fix K3B icon -Patch106: trinity-k3b-icons.patch - - -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-arts-devel >= 1:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: alsa-lib-devel -BuildRequires: audiofile-devel -BuildRequires: hal-devel -BuildRequires: gettext -BuildRequires: libmpcdec-devel -BuildRequires: libmusicbrainz-devel -BuildRequires: libvorbis-devel -BuildRequires: taglib-devel -BuildRequires: zlib-devel - -Requires(post): coreutils -Requires(postun): coreutils - -Requires: %{name}-libs = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: %{name}-common = %{?epoch:%{epoch}:}%{version}-%{release} - -%if 0%{?suse_version} >= 1310 -Requires: wodim -REquires: genisoimage -%else -Requires: cdrecord -REquires: mkisofs -%endif -Requires: dvd+rw-tools - -# CDRDAO support -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 5 -Requires: cdrdao -%endif - -# DBUS support -# TQT bindings not available for RHEL4 -%if 0%{?rhel} == 4 -# Dbus bindings were rebuilt with Qt support -BuildRequires: dbus-devel >= 0.22-12.EL.9p1 -Requires: dbus-qt >= 0.22-12.EL.9p1 -%else -BuildRequires: trinity-dbus-tqt-devel >= 1:0.63 -Requires: trinity-dbus-tqt >= 1:0.63 -%endif - -# SNDFILE support -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 4 -%define with_sndfile 1 -BuildRequires: libsndfile-devel -%endif - -# SAMPLERATE support -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 4 -%define with_samplerate 1 -BuildRequires: libsamplerate-devel -%endif - -# DVDREAD support -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 4 -%define with_dvdread 1 -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: %{_lib}dvdread-devel -%else -BuildRequires: libdvdread-devel -%endif -%endif - -# FLAC support -%if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?pclinuxos} -BuildRequires: libflac-devel -BuildRequires: libflac++-devel -%else -BuildRequires: %{_lib}flac-devel -BuildRequires: %{_lib}flac++-devel -%endif -%else -BuildRequires: flac-devel -%endif - -# MAD support -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} -%define with_libmad 1 -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: %{_lib}mad-devel -%endif -%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} -BuildRequires: libmad-devel -%endif -%endif - -# LAME support -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} -%define with_lame 1 -%if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?pclinuxos} -BuildRequires: liblame-devel -%else -BuildRequires: %{_lib}lame-devel -%endif -%endif -%if 0%{?suse_version} -BuildRequires: libmp3lame-devel -%endif -%if 0%{?fedora} || 0%{?rhel} -BuildRequires: lame-devel -%endif -%endif - -# FFMPEG support -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} -%define with_ffmpeg 1 -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: %{_lib}ffmpeg-devel -%endif -%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} -BuildRequires: ffmpeg-devel -%endif -%endif - - -%description -K3b provides a comfortable user interface to perform most CD/DVD -burning tasks. While the experienced user can take influence in all -steps of the burning process the beginner may find comfort in the -automatic settings and the reasonable k3b defaults which allow a quick -start. - - -%files -%defattr(-,root,root,-) -%doc AUTHORS README COPYING TODO ChangeLog -%{tde_bindir}/k3b -%{tde_tdelibdir}/kfile_k3b.la -%{tde_tdelibdir}/kfile_k3b.so -%{tde_tdelibdir}/kio_videodvd.la -%{tde_tdelibdir}/kio_videodvd.so -%{tde_tdelibdir}/libk3balsaoutputplugin.la -%{tde_tdelibdir}/libk3balsaoutputplugin.so -%{tde_tdelibdir}/libk3bartsoutputplugin.la -%{tde_tdelibdir}/libk3bartsoutputplugin.so -%{tde_tdelibdir}/libk3baudiometainforenamerplugin.la -%{tde_tdelibdir}/libk3baudiometainforenamerplugin.so -%{tde_tdelibdir}/libk3baudioprojectcddbplugin.la -%{tde_tdelibdir}/libk3baudioprojectcddbplugin.so -%{tde_tdelibdir}/libk3bexternalencoder.la -%{tde_tdelibdir}/libk3bexternalencoder.so -%{tde_tdelibdir}/libk3bflacdecoder.la -%{tde_tdelibdir}/libk3bflacdecoder.so -%if 0%{?with_sndfile} -%{tde_tdelibdir}/libk3blibsndfiledecoder.la -%{tde_tdelibdir}/libk3blibsndfiledecoder.so -%endif -%{tde_tdelibdir}/libk3bmpcdecoder.la -%{tde_tdelibdir}/libk3bmpcdecoder.so -%{tde_tdelibdir}/libk3boggvorbisdecoder.la -%{tde_tdelibdir}/libk3boggvorbisdecoder.so -%{tde_tdelibdir}/libk3boggvorbisencoder.la -%{tde_tdelibdir}/libk3boggvorbisencoder.so -%{tde_tdelibdir}/libk3bsoxencoder.la -%{tde_tdelibdir}/libk3bsoxencoder.so -%{tde_tdelibdir}/libk3bwavedecoder.la -%{tde_tdelibdir}/libk3bwavedecoder.so -%lang(en) %{tde_tdedocdir}/HTML/en/k3b/ - - -########## - -%package common -Summary: Common files of %{name} -Group: Applications/Archiving -Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} -BuildArch: noarch -%endif - -%description common -%{summary}. - -%files common -%defattr(-,root,root,-) -%{tde_tdeappdir}/k3b.desktop -%{tde_datadir}/applnk/.hidden/k3b-cue.desktop -%{tde_datadir}/applnk/.hidden/k3b-iso.desktop -%{tde_datadir}/apps/k3b/ -%{tde_datadir}/apps/konqsidebartng/virtual_folders/services/videodvd.desktop -%{tde_datadir}/apps/konqueror/servicemenus/k3b_audiocd_rip.desktop -%{tde_datadir}/apps/konqueror/servicemenus/k3b_cd_copy.desktop -%{tde_datadir}/apps/konqueror/servicemenus/k3b_dvd_copy.desktop -%{tde_datadir}/apps/konqueror/servicemenus/k3b_handle_empty_cd.desktop -%{tde_datadir}/apps/konqueror/servicemenus/k3b_handle_empty_dvd.desktop -%{tde_datadir}/apps/konqueror/servicemenus/k3b_videodvd_rip.desktop -%{tde_datadir}/config/k3brc -%{tde_datadir}/mimelnk/application/x-k3b.desktop -%{tde_datadir}/icons/hicolor/*/apps/k3b.png -%{tde_datadir}/services/kfile_k3b.desktop -%{tde_datadir}/services/videodvd.protocol -%{tde_datadir}/sounds/k3b_error1.wav -%{tde_datadir}/sounds/k3b_success1.wav -%{tde_datadir}/sounds/k3b_wait_media1.wav - - -%post common -touch --no-create %{tde_datadir}/icons/hicolor ||: - -%postun common -if [ $1 -eq 0 ] ; then - touch --no-create %{tde_datadir}/icons/hicolor &> /dev/null - gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || : - update-desktop-database %{tde_appdir} -q &> /dev/null -fi - -%posttrans common -gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || : -update-desktop-database %{tde_appdir} -q &> /dev/null - -########## - -%package libs -Summary: Runtime libraries for %{name} -Group: System Environment/Libraries -Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} - -%description libs -%{summary}. - -%files libs -%defattr(-,root,root,-) -%{tde_libdir}/libk3b.so.3 -%{tde_libdir}/libk3b.so.3.0.0 -%{tde_libdir}/libk3bdevice.so.5 -%{tde_libdir}/libk3bdevice.so.5.0.0 - -%post libs -/sbin/ldconfig - -%postun libs -/sbin/ldconfig - -########## - -%package devel -Summary: Files for the development of applications which will use %{name} -Group: Development/Libraries -Requires: %{name}-libs = %{?epoch:%{epoch}:}%{version}-%{release} - -%description devel -%{summary}. - -%files devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/*.h -%{tde_libdir}/libk3b.so -%{tde_libdir}/libk3bdevice.so - -%post devel -/sbin/ldconfig - -%postun devel -/sbin/ldconfig - -########## - -%if 0%{?with_libmad} -%package plugin-mad -Summary: The MAD plugin for K3B -Group: System Environment/Libraries -Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} - -%description plugin-mad -%{summary}. - -MAD is a high-quality MPEG audio decoder. It currently supports MPEG-1 -and the MPEG-2 extension to Lower Sampling Frequencies, as well as the -so-called MPEG 2.5 format. All three audio layers (Layer I, Layer II, -and Layer III a.k.a. MP3) are fully implemented. - -%files plugin-mad -%defattr(-,root,root,-) -%{tde_tdelibdir}/libk3bmaddecoder.la -%{tde_tdelibdir}/libk3bmaddecoder.so -%endif - -########## - -%if 0%{?with_lame} -%package plugin-lame -Summary: The LAME plugin for K3B -Group: System Environment/Libraries -Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} - -%description plugin-lame -%{summary}. - -Personal and commercial use of compiled versions of LAME (or any other mp3 -encoder) requires a patent license in some countries. - -This package is in tainted, as MP3 encoding is covered by software patents. - -%files plugin-lame -%defattr(-,root,root,-) -%{tde_tdelibdir}/libk3blameencoder.la -%{tde_tdelibdir}/libk3blameencoder.so -%endif - -########## - -%if 0%{?with_ffmpeg} -%package plugin-ffmpeg -Summary: The FFMPEG plugin for K3B -Group: System Environment/Libraries -Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} - -%description plugin-ffmpeg -%{summary}. - -ffmpeg is a hyper fast realtime audio/video encoder, a streaming server -and a generic audio and video file converter. - -%files plugin-ffmpeg -%defattr(-,root,root,-) -%{tde_tdelibdir}/libk3bffmpegdecoder.la -%{tde_tdelibdir}/libk3bffmpegdecoder.so -%endif - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -%patch1 -p1 -b .ffmpeg -%patch4 -p1 -b .manualbufsize -%patch106 -p1 -b .desktopfile - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR QTINC QTLIB -. /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -# FFMPEG trick ... -if [ -d /usr/include/ffmpeg ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/include/ffmpeg" -fi - -# Notice: extra-includes is required to find arts headers -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --enable-final \ - --enable-closure \ - --enable-rpath \ - \ - --with-extra-includes=%{tde_includedir} \ - \ - --with-k3bsetup=no \ - --without-cdrecord-suid-root \ - --with-oggvorbis \ - --with-flac \ - %{?with_samplerate:--with-external-libsamplerate} \ - %{?with_dvdread:--with-libdvdread} %{?!with_dvdread:--without-libdvdread} \ - --with-musicbrainz \ - %{?with_sndfile:--with-sndfile} %{?!with_sndfile:--without-sndfile} \ - %{?with_ffmpeg:--with-ffmpeg} %{?!with_ffmpeg:--without-ffmpeg} \ - %{?with_lame:--with-lame} %{?!with_lame:--without-lame} \ - %{?with_libmad:--with-libmad} %{?!with_libmad:--without-libmad} \ - --with-musepack \ - --without-resmgr \ - --with-hal - -# Strange behaviour on RHEL4 ... -%if 0%{?rhel} == 4 -%__sed -i "libk3b/jobs/Makefile" -e "/^am_libjobs_la_final_OBJECTS/ s/ lo//g" -%__mkdir_p "libk3bdevice/.libs" -%__ln_s . "libk3bdevice/.libs/.libs" -%endif - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -%__install -D -m 644 -p %{SOURCE2} %{buildroot}%{tde_datadir}/config/k3brc - -# remove the .la files -%__rm -f %{buildroot}%{tde_libdir}/libk3b*.la - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/applications/k3b/k3b-3.5.13.spec b/redhat/applications/k3b/k3b-3.5.13.spec deleted file mode 100644 index aca04f95e..000000000 --- a/redhat/applications/k3b/k3b-3.5.13.spec +++ /dev/null @@ -1,319 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-k3b -Summary: CD/DVD burning application -Version: 3.5.13 -Release: 5%{?dist}%{?_variant} - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Group: Applications/Archiving -License: GPLv2+ - -Source0: k3b-%{version}.tar.gz -Source2: k3brc - -# Legacy RedHat / Fedora patches -# manual bufsize (upstream?) -Patch4: k3b-1.0.4-manualbufsize.patch -# RHEL6: Fix K3B icon -Patch106: trinity-k3b-icons.patch -# [k3b] Fix compilation with GCC 4.7 [Bug #958] -Patch108: k3b-3.5.13-fix_Range_r_3-gcc47.patch -# [k3b] Missing LDFLAGS cause FTBFS on Mageia 2 / Mandriva 2011 -Patch109: k3b-3.5.13-missing_ldflags.patch -# [k3b] Fix dbus-tqt header detection, required for HAL support -Patch110: k3b-3.5.13-fix_dbus_tqt_detection.patch - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-arts-devel -BuildRequires: desktop-file-utils -BuildRequires: alsa-lib-devel -BuildRequires: audiofile-devel -BuildRequires: dbus-tqt-devel hal-devel -BuildRequires: gettext -BuildRequires: libdvdread-devel -BuildRequires: libmpcdec-devel -BuildRequires: libmusicbrainz-devel -BuildRequires: libsamplerate-devel -BuildRequires: libsndfile-devel -BuildRequires: libvorbis-devel -BuildRequires: taglib-devel -BuildRequires: zlib-devel -BuildRequires: %{_lib}resmgr-devel - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}flac-devel -BuildRequires: %{_lib}flac++-devel -%else -BuildRequires: flac-devel -%endif - -Requires(post): coreutils -Requires(postun): coreutils - -Requires: %{name}-libs = %{version}-%{release} -Requires: %{name}-common = %{version}-%{release} - -Requires: cdrecord mkisofs -Requires: cdrdao -Requires: dvd+rw-tools - -%description -K3b provides a comfortable user interface to perform most CD/DVD -burning tasks. While the experienced user can take influence in all -steps of the burning process the beginner may find comfort in the -automatic settings and the reasonable k3b defaults which allow a quick -start. - -%files -%defattr(-,root,root,-) -%doc AUTHORS README COPYING TODO ChangeLog -%{tde_bindir}/k3b -%{tde_tdelibdir}/kfile_k3b.la -%{tde_tdelibdir}/kfile_k3b.so -%{tde_tdelibdir}/kio_videodvd.la -%{tde_tdelibdir}/kio_videodvd.so -%{tde_tdelibdir}/libk3balsaoutputplugin.la -%{tde_tdelibdir}/libk3balsaoutputplugin.so -%{tde_tdelibdir}/libk3bartsoutputplugin.la -%{tde_tdelibdir}/libk3bartsoutputplugin.so -%{tde_tdelibdir}/libk3baudiometainforenamerplugin.la -%{tde_tdelibdir}/libk3baudiometainforenamerplugin.so -%{tde_tdelibdir}/libk3baudioprojectcddbplugin.la -%{tde_tdelibdir}/libk3baudioprojectcddbplugin.so -%{tde_tdelibdir}/libk3bexternalencoder.la -%{tde_tdelibdir}/libk3bexternalencoder.so -%{tde_tdelibdir}/libk3bflacdecoder.la -%{tde_tdelibdir}/libk3bflacdecoder.so -%{tde_tdelibdir}/libk3blibsndfiledecoder.la -%{tde_tdelibdir}/libk3blibsndfiledecoder.so -%{tde_tdelibdir}/libk3bmpcdecoder.la -%{tde_tdelibdir}/libk3bmpcdecoder.so -%{tde_tdelibdir}/libk3boggvorbisdecoder.la -%{tde_tdelibdir}/libk3boggvorbisdecoder.so -%{tde_tdelibdir}/libk3boggvorbisencoder.la -%{tde_tdelibdir}/libk3boggvorbisencoder.so -%{tde_tdelibdir}/libk3bsoxencoder.la -%{tde_tdelibdir}/libk3bsoxencoder.so -%{tde_tdelibdir}/libk3bwavedecoder.la -%{tde_tdelibdir}/libk3bwavedecoder.so -%lang(en) %{tde_tdedocdir}/HTML/en/k3b/ - - -########## - -%package common -Summary: Common files of %{name} -Group: Applications/Archiving -Requires: %{name} = %{version}-%{release} -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} -BuildArch: noarch -%endif - -%description common -%{summary}. - -%files common -%defattr(-,root,root,-) -%{tde_tdeappdir}/k3b.desktop -%{tde_datadir}/applnk/.hidden/k3b-cue.desktop -%{tde_datadir}/applnk/.hidden/k3b-iso.desktop -%{tde_datadir}/apps/k3b/ -%{tde_datadir}/apps/konqsidebartng/virtual_folders/services/videodvd.desktop -%{tde_datadir}/apps/konqueror/servicemenus/k3b_audiocd_rip.desktop -%{tde_datadir}/apps/konqueror/servicemenus/k3b_cd_copy.desktop -%{tde_datadir}/apps/konqueror/servicemenus/k3b_dvd_copy.desktop -%{tde_datadir}/apps/konqueror/servicemenus/k3b_handle_empty_cd.desktop -%{tde_datadir}/apps/konqueror/servicemenus/k3b_handle_empty_dvd.desktop -%{tde_datadir}/apps/konqueror/servicemenus/k3b_videodvd_rip.desktop -%{tde_datadir}/config/k3brc -%{tde_datadir}/mimelnk/application/x-k3b.desktop -%{tde_datadir}/icons/hicolor/*/apps/k3b.png -%{tde_datadir}/services/kfile_k3b.desktop -%{tde_datadir}/services/videodvd.protocol -%{tde_datadir}/sounds/k3b_error1.wav -%{tde_datadir}/sounds/k3b_success1.wav -%{tde_datadir}/sounds/k3b_wait_media1.wav - - -%post common -touch --no-create %{tde_datadir}/icons/hicolor ||: - -%postun common -if [ $1 -eq 0 ] ; then - touch --no-create %{tde_datadir}/icons/hicolor &> /dev/null - gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || : - update-desktop-database %{tde_appdir} -q &> /dev/null -fi - -%posttrans common -gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || : -update-desktop-database %{tde_appdir} -q &> /dev/null - -########## - -%package libs -Summary: Runtime libraries for %{name} -Group: System Environment/Libraries -Requires: %{name} = %{version}-%{release} - -%description libs -%{summary}. - -%files libs -%defattr(-,root,root,-) -%{tde_libdir}/libk3b.so.3 -%{tde_libdir}/libk3b.so.3.0.0 -%{tde_libdir}/libk3bdevice.so.5 -%{tde_libdir}/libk3bdevice.so.5.0.0 - -%post libs -/sbin/ldconfig - -%postun libs -/sbin/ldconfig - -########## - -%package devel -Summary: Files for the development of applications which will use %{name} -Group: Development/Libraries -Requires: %{name}-libs = %{version}-%{release} - -%description devel -%{summary}. - -%files devel -%defattr(-,root,root,-) -%{tde_includedir}/k3b/ -%{tde_libdir}/libk3b.so -%{tde_libdir}/libk3bdevice.so - -%post devel -/sbin/ldconfig - -%postun devel -/sbin/ldconfig - -########## - -%prep -%setup -q -a 0 -n applications/k3b - -# set in k3brc too -%patch4 -p1 -b .manualbufsize -%patch106 -p1 -b .desktopfile -%patch108 -p1 -%patch109 -p1 -b .ldflags -%patch110 -p1 -b .dbustqt - - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_includedir}/k3b \ - --disable-rpath \ - --enable-new-ldflags \ - --disable-debug --disable-warnings \ - --disable-dependency-tracking --enable-final \ - --with-k3bsetup=no \ - --without-cdrecord-suid-root \ - --with-oggvorbis \ - --with-flac \ - --with-external-libsamplerate \ - --with-libdvdread \ - --with-musicbrainz \ - --with-sndfile \ - --without-ffmpeg --without-lame --without-libmad \ - --with-musepack \ - --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir} - -%__make %{?_smp_mflags} - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -%__install -D -m 644 -p %{SOURCE2} %{buildroot}%{tde_datadir}/config/k3brc - -# remove the .la files -%__rm -f %{buildroot}%{tde_libdir}/libk3b*.la - -# remove i18n for Plattdeutsch (Low Saxon) -#%__rm -fr %{buildroot}%{tde_datadir}/locale/nds - - - -%clean -%__rm -rf %{buildroot} - - - -%changelog -* Sat Aug 04 2012 Francois Andriot - 3.5.13-5 -- Add support for Mageia 2 and Mandriva 2011 -- Fix DBUS-TQT detection that prevented HAL support -- Adds requirement for resmgr - -* Wed May 09 2012 Francois Andriot - 3.5.13-4 -- Removes i18 files (built separately) - -* Tue May 01 2012 Francois Andriot - 3.5.13-3 -- Rebuilt for Fedora 17 -- Fix compilation with GCC 4.7 [Bug #958] - -* Sat Nov 05 2011 Francois Andriot - 3.5.13-2 -- Updates BuildRequires - -* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 -- Initial release for RHEL 6, RHEL 5 and Fedora 15 - -* Sun Sep 11 2011 Francois Andriot - 3.5.13-0 -- Import to GIT diff --git a/redhat/applications/k3b/reload-for-verification.diff b/redhat/applications/k3b/reload-for-verification.diff deleted file mode 100644 index a94298181..000000000 --- a/redhat/applications/k3b/reload-for-verification.diff +++ /dev/null @@ -1,33 +0,0 @@ ---- libk3b/jobs/k3bverificationjob.cpp.sav 2008-05-27 10:24:20.000000000 +0200 -+++ libk3b/jobs/k3bverificationjob.cpp 2009-06-11 17:58:58.000000000 +0200 -@@ -154,6 +154,20 @@ void K3bVerificationJob::start() - emit newTask( i18n("Checking medium") ); - - d->mediumHasBeenReloaded = false; -+ connect( K3bDevice::sendCommand( K3bDevice::DeviceHandler::LOAD, d->device ), -+ SIGNAL(finished(K3bDevice::DeviceHandler*)), -+ this, -+ SLOT(slotMediaLoaded()) ); -+} -+ -+void K3bVerificationJob::slotMediaLoaded() -+{ -+ // we always need to wait for the medium. Otherwise the diskinfo below -+ // may run before the drive is ready! -+ waitForMedia( d->device, -+ K3bDevice::STATE_COMPLETE|K3bDevice::STATE_INCOMPLETE, -+ K3bDevice::MEDIA_WRITABLE ); -+ - connect( K3bDevice::sendCommand( K3bDevice::DeviceHandler::DISKINFO, d->device ), - SIGNAL(finished(K3bDevice::DeviceHandler*)), - this, ---- libk3b/jobs/k3bverificationjob.h.sav 2008-05-27 10:24:20.000000000 +0200 -+++ libk3b/jobs/k3bverificationjob.h 2009-06-11 17:13:37.000000000 +0200 -@@ -75,6 +75,7 @@ class K3bVerificationJob : public K3bJob - void setGrownSessionSize( const K3b::Msf& ); - - private slots: -+ void slotMediaLoaded(); - void slotMediaReloaded( bool success ); - void slotDiskInfoReady( K3bDevice::DeviceHandler* dh ); - void readTrack( int trackIndex ); diff --git a/redhat/applications/k3b/trinity-k3b-icons.patch b/redhat/applications/k3b/trinity-k3b-icons.patch deleted file mode 100644 index 4dd762215..000000000 --- a/redhat/applications/k3b/trinity-k3b-icons.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff -rcb k3b.ori/src/k3b.desktop k3b/src/k3b.desktop -*** k3b.ori/src/k3b.desktop Wed Dec 15 14:23:05 2010 ---- k3b/src/k3b.desktop Wed Dec 15 14:28:55 2010 -*************** -*** 116,123 **** - Name[ar]= K3b - Name[bn]=কে-থ্রি-বি - Name[hi]=के3बी -! MimeType=application/x-k3b;application/x-iso;application/x-cue - X-KDE-StartupNotify=true -! X-KDE-NativeMimeType=application/x-k3b;application/x-iso;application/x-cue -! Categories=KDE;Application;AudioVideo;DiscBurning; - X-DCOP-ServiceType=Unique ---- 116,124 ---- - Name[ar]= K3b - Name[bn]=কে-থ্রি-বি - Name[hi]=के3बी -! Encoding=UTF-8 -! MimeType=application/x-k3b;application/x-iso;application/x-cue; - X-KDE-StartupNotify=true -! X-KDE-NativeMimeType=application/x-k3b;application/x-iso;application/x-cue; -! Categories=KDE;AudioVideo;DiscBurning; - X-DCOP-ServiceType=Unique diff --git a/redhat/applications/k9copy/k9copy-14.0.0-fix_k3b_link.patch b/redhat/applications/k9copy/k9copy-14.0.0-fix_k3b_link.patch deleted file mode 100644 index c21df175c..000000000 --- a/redhat/applications/k9copy/k9copy-14.0.0-fix_k3b_link.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- trinity-k9copy-14.0.0~pre130+76443cbb/src/Makefile.am.ftbfs 2013-07-21 09:56:44.000000000 +0200 -+++ trinity-k9copy-14.0.0~pre130+76443cbb/src/Makefile.am 2013-08-02 11:00:55.291717387 +0200 -@@ -35,7 +35,7 @@ - $(top_builddir)/k9author/libk9author.la $(top_builddir)/k9decmpeg/libk9decmpeg.la \ - $(top_builddir)/k9devices/libk9devices.la $(top_builddir)/k9vamps/libk9vamps.la \ - $(top_builddir)/libdvdnav/libk9dvdnav.la $(top_builddir)/libk9copy/libk9copy.la \ -- $(LIB_TDEUI) -ltdemdi $(LIBDL) -ldvdread -+ $(LIB_TDEUI) -ltdemdi $(LIBDL) -ldvdread -lk3b -lk3bdevice - - # this is where the desktop file will go - shelldesktopdir = $(kde_appsdir)/Utilities diff --git a/redhat/applications/k9copy/k9copy-3.5.13-fix_another_string_format_error.patch b/redhat/applications/k9copy/k9copy-3.5.13-fix_another_string_format_error.patch deleted file mode 100644 index e9b026778..000000000 --- a/redhat/applications/k9copy/k9copy-3.5.13-fix_another_string_format_error.patch +++ /dev/null @@ -1,19 +0,0 @@ -commit b3bb8a8f4438bdab23809387e9f6b85a5b5914f3 -Author: Timothy Pearson -Date: 1336103211 -0500 - - Fix another string format error - -diff --git a/libk9copy/k9saveimage.cpp b/libk9copy/k9saveimage.cpp -index edc4162..23613d8 100644 ---- a/libk9copy/k9saveimage.cpp -+++ b/libk9copy/k9saveimage.cpp -@@ -76,7 +76,7 @@ void k9SaveImage::run() { - TQString sFileName=m_tempFile->name(); - m_image.save(sFileName,"PNG"); - sFileName="\rINFOIMAGE:"+sFileName; -- fprintf(stderr,sFileName.utf8()); -+ fprintf(stderr,"%s",sFileName.utf8()); - - m_mutex.unlock(); - } diff --git a/redhat/applications/k9copy/k9copy-3.5.13-fix_format_not_string_literal.patch b/redhat/applications/k9copy/k9copy-3.5.13-fix_format_not_string_literal.patch deleted file mode 100644 index db4c99a63..000000000 --- a/redhat/applications/k9copy/k9copy-3.5.13-fix_format_not_string_literal.patch +++ /dev/null @@ -1,53 +0,0 @@ -commit 3bfc84b0fc3558c377e2f5a99548a6903a9ee7c3 -Author: Timothy Pearson -Date: 1336066302 -0500 - - Fix 'format not a string literal' error - Clean up warning - -diff --git a/libk9copy/k9burndvd.cpp b/libk9copy/k9burndvd.cpp -index e6f6675..9f95352 100644 ---- a/libk9copy/k9burndvd.cpp -+++ b/libk9copy/k9burndvd.cpp -@@ -112,7 +112,7 @@ void k9BurnDVD::mkisoSizeStdout(KProcess *proc, char *buffer, int buflen) { - ; - } - --const TQString &k9BurnDVD::getImageSize() { -+const TQString k9BurnDVD::getImageSize() { - TQString c; - c="mkisofs"; - proc2=new k9Process; -@@ -215,8 +215,8 @@ void k9BurnDVD::burnWithGenisoimage() { - if ( KMessageBox::warningContinueCancel ( 0,i18n("Insert a recordable DVD"), i18n("DVD burning"))!=KMessageBox::Continue) - cancelled=true; - } -- qDebug(proc->debug()); -- } -+ qDebug("%s", proc->debug()); -+ } - - - if (!cancelled) { -@@ -239,7 +239,7 @@ void k9BurnDVD::burnWithGenisoimage() { - } - } - } -- } -+ } - } - } - -diff --git a/libk9copy/k9burndvd.h b/libk9copy/k9burndvd.h -index fc2edce..94e1e71 100644 ---- a/libk9copy/k9burndvd.h -+++ b/libk9copy/k9burndvd.h -@@ -71,7 +71,7 @@ private: - void getWodimCmd(k9Process *proc); - - void burnWithK3b(); -- const TQString &getImageSize(); -+ const TQString getImageSize(); - TQString imageSize; - TQString m_speed; - private slots: // Private slots diff --git a/redhat/applications/k9copy/k9copy-3.5.13-fix_format_not_string_literal_2.patch b/redhat/applications/k9copy/k9copy-3.5.13-fix_format_not_string_literal_2.patch deleted file mode 100644 index 561bcbb22..000000000 --- a/redhat/applications/k9copy/k9copy-3.5.13-fix_format_not_string_literal_2.patch +++ /dev/null @@ -1,23 +0,0 @@ -commit d9ed8b3291e596eafed777956a062dc8816d0d3c -Author: Timothy Pearson -Date: 1336083386 -0500 - - Fix 'format not a string literal' error - -diff --git a/libk9copy/k9cellcopylist.cpp b/libk9copy/k9cellcopylist.cpp -index be4e406..31e85a3 100644 ---- a/libk9copy/k9cellcopylist.cpp -+++ b/libk9copy/k9cellcopylist.cpp -@@ -294,10 +294,10 @@ double k9CellCopyList::getMinFactor(bool _withMenus) { - double totalSize=gettotalSize()+menuSize - (fforced) -m_inbytes; - totalSize/=2.50; - --qDebug(TQString("totalSize(%1)=gettotalSize()(%2)+menuSize(%3) -(fforced(%4))-m_inbytes(%6)").tqarg(totalSize).tqarg(gettotalSize()).tqarg(menuSize).tqarg(fforced).tqarg(m_frcinbytes).tqarg(m_inbytes)); -+ qDebug("%s", (TQString("totalSize(%1)=gettotalSize()(%2)+menuSize(%3) -(fforced(%4))-m_inbytes(%6)").tqarg(totalSize).tqarg(gettotalSize()).tqarg(menuSize).tqarg(fforced).tqarg(m_frcinbytes).tqarg(m_inbytes)).ascii()); - - double minFactor=(fforced-m_frcinbytes) /(MaxSize- (totalSize +m_outbytes) - m_frcoutbytes) ; -- qDebug(TQString("minfactor(%1)=(fforced(%2) -m_frinbytes(%3))/(MacSize(%4)-totalSize(%5)-m_outbytes(%6) - m_frcoutbytes(%7))").tqarg(minFactor).tqarg(fforced).tqarg(m_frcinbytes).tqarg(MaxSize).tqarg(totalSize).tqarg(m_outbytes).tqarg(m_frcoutbytes)); -+ qDebug("%s", (TQString("minfactor(%1)=(fforced(%2) -m_frinbytes(%3))/(MacSize(%4)-totalSize(%5)-m_outbytes(%6) - m_frcoutbytes(%7))").tqarg(minFactor).tqarg(fforced).tqarg(m_frcinbytes).tqarg(MaxSize).tqarg(totalSize).tqarg(m_outbytes).tqarg(m_frcoutbytes)).ascii()); - - if (minFactor<1) - minFactor=1; diff --git a/redhat/applications/k9copy/k9copy-3.5.13-fix_format_string_error.patch b/redhat/applications/k9copy/k9copy-3.5.13-fix_format_string_error.patch deleted file mode 100644 index 7ab4962e0..000000000 --- a/redhat/applications/k9copy/k9copy-3.5.13-fix_format_string_error.patch +++ /dev/null @@ -1,28 +0,0 @@ -commit a016df82c8970a2aaccbf3b061e102af3a3f04ab -Author: Timothy Pearson -Date: 1336190259 -0500 - - Fix format string error - -diff --git a/k9vamps/k9vamps.cpp b/k9vamps/k9vamps.cpp -index d7bd43d..ebf4164 100755 ---- a/k9vamps/k9vamps.cpp -+++ b/k9vamps/k9vamps.cpp -@@ -399,7 +399,7 @@ int k9vamps::check_video_packet (uchar *ptr) { - pad_packet_start_code |= (uint32_t) (ptr [3]); - - if (pad_packet_start_code != 0x000001be) -- qDebug (TQString("Bad padding packet start code at %1: %2").tqarg(rtell (ptr + vid_packet_length)).tqarg(pad_packet_start_code)); -+ qDebug ("%s", (TQString("Bad padding packet start code at %1: %2").tqarg(rtell (ptr + vid_packet_length)).tqarg(pad_packet_start_code)).ascii()); - else { - pad_packet_length = ptr [4] << 8; - pad_packet_length |= ptr [5]; -@@ -409,7 +409,7 @@ int k9vamps::check_video_packet (uchar *ptr) { - - // length of video packet plus padding packet must always match sector size - if (14 + vid_packet_length + pad_packet_length != SECT_SIZE) -- qDebug (TQString("Bad video packet length at %1: %2").tqarg(rtell (ptr)).tqarg(vid_packet_length)); -+ qDebug ("%s", (TQString("Bad video packet length at %1: %2").tqarg(rtell (ptr)).tqarg(vid_packet_length)).ascii()); - - return rc; - } diff --git a/redhat/applications/k9copy/k9copy-3.5.13-fix_ftbfs.patch b/redhat/applications/k9copy/k9copy-3.5.13-fix_ftbfs.patch deleted file mode 100644 index f6dc49802..000000000 --- a/redhat/applications/k9copy/k9copy-3.5.13-fix_ftbfs.patch +++ /dev/null @@ -1,19 +0,0 @@ -commit 62acebb74cc50671eebf21a314912b12b082be1d -Author: Timothy Pearson -Date: 1336073612 -0500 - - Fix FTBFS - -diff --git a/libk9copy/k9burndvd.cpp b/libk9copy/k9burndvd.cpp -index 9f95352..3860b79 100644 ---- a/libk9copy/k9burndvd.cpp -+++ b/libk9copy/k9burndvd.cpp -@@ -215,7 +215,7 @@ void k9BurnDVD::burnWithGenisoimage() { - if ( KMessageBox::warningContinueCancel ( 0,i18n("Insert a recordable DVD"), i18n("DVD burning"))!=KMessageBox::Continue) - cancelled=true; - } -- qDebug("%s", proc->debug()); -+ qDebug("%s", proc->debug().ascii()); - } - - diff --git a/redhat/applications/k9copy/k9copy-3.5.13-fix_ftbfs_2.patch b/redhat/applications/k9copy/k9copy-3.5.13-fix_ftbfs_2.patch deleted file mode 100644 index f78d858df..000000000 --- a/redhat/applications/k9copy/k9copy-3.5.13-fix_ftbfs_2.patch +++ /dev/null @@ -1,19 +0,0 @@ -commit ca864edeed0fe99b91c63616d4ec6d31ecdee217 -Author: Timothy Pearson -Date: 1336121912 -0500 - - Fix FTBFS - -diff --git a/libk9copy/k9saveimage.cpp b/libk9copy/k9saveimage.cpp -index 23613d8..758f8de 100644 ---- a/libk9copy/k9saveimage.cpp -+++ b/libk9copy/k9saveimage.cpp -@@ -76,7 +76,7 @@ void k9SaveImage::run() { - TQString sFileName=m_tempFile->name(); - m_image.save(sFileName,"PNG"); - sFileName="\rINFOIMAGE:"+sFileName; -- fprintf(stderr,"%s",sFileName.utf8()); -+ fprintf(stderr,"%s",sFileName.data()); - - m_mutex.unlock(); - } diff --git a/redhat/applications/k9copy/k9copy-3.5.13-fix_remaining_string_format_errors.patch b/redhat/applications/k9copy/k9copy-3.5.13-fix_remaining_string_format_errors.patch deleted file mode 100644 index fbf9cd56a..000000000 --- a/redhat/applications/k9copy/k9copy-3.5.13-fix_remaining_string_format_errors.patch +++ /dev/null @@ -1,150 +0,0 @@ -commit a8e98ad9ce209af0aba35ce26ec9200761b397df -Author: Timothy Pearson -Date: 1336091322 -0500 - - Fix remaining string format errors - -diff --git a/k9author/k9menu.cpp b/k9author/k9menu.cpp -index 29f2b02..ea9c622 100644 ---- a/k9author/k9menu.cpp -+++ b/k9author/k9menu.cpp -@@ -143,7 +143,7 @@ void k9Menu::convertJpegToMpeg(const TQString &_imageJpg,const TQString &_imageM - if (!process->normalExit()) { - qDebug("error converting jpeg to mpeg"); - } -- qDebug(process->debug().latin1()); -+ qDebug("%s", process->debug().latin1()); - } - - void k9Menu::createAudio(const TQString & _audioFile) { -diff --git a/k9author/k9newdvd.cpp b/k9author/k9newdvd.cpp -index a2c02e7..454099e 100644 ---- a/k9author/k9newdvd.cpp -+++ b/k9author/k9newdvd.cpp -@@ -257,7 +257,7 @@ void k9NewDVD::createMencoderCmd(TQString &_cmd,TQString &_chapters, k9AviFile * - *process << "-mpegopts" << "format=dvd" << "-vf" << "scale="+scale+",harddup" << "-srate" << "48000" << "-af" << "lavcresample=48000"; - *process << "-lavcopts" << TQString("vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=%1:keyint=15:acodec=%3:abitrate=%2:aspect=16/9").tqarg(m_videoBitrate).tqarg(m_config->getPrefAudioBitrate()).tqarg(m_config->getPrefAudioFormat().lower()); - *process << "-ofps" << fps << "-o" << fileName << "-ss" << t1 << "-endpos" << t2 << _aviFile->getFileName(); -- qDebug(process->debug()); -+ qDebug("%s", process->debug().ascii()); - /* - if (!m_progress->execute()) { - m_cancel=true; -diff --git a/k9devices/k9halconnection.cpp b/k9devices/k9halconnection.cpp -index 76c6882..e55c0b3 100644 ---- a/k9devices/k9halconnection.cpp -+++ b/k9devices/k9halconnection.cpp -@@ -41,7 +41,7 @@ k9HalConnection::k9HalConnection(TQObject *parent, const char *name) - dbus_error_init( &error ); - m_dbusConnect = dbus_bus_get( DBUS_BUS_SYSTEM, &error ); - if( dbus_error_is_set(&error) ) { -- qDebug(TQString("Error connecting to DBUS : %1").tqarg(error.message)); -+ qDebug("%s", (TQString("Error connecting to DBUS : %1").tqarg(error.message)).ascii()); - return; - } - -diff --git a/k9devices/k9haldevice.cpp b/k9devices/k9haldevice.cpp -index 9ddff76..0129efe 100644 ---- a/k9devices/k9haldevice.cpp -+++ b/k9devices/k9haldevice.cpp -@@ -95,7 +95,7 @@ void k9HalDevice::getDriveProperties() { - m_canReadDvd=(caps & LIBHAL_DRIVE_CDROM_CAPS_DVDROM)==LIBHAL_DRIVE_CDROM_CAPS_DVDROM; - m_canBurnDvd=(caps & LIBHAL_DRIVE_CDROM_CAPS_DVDR)==LIBHAL_DRIVE_CDROM_CAPS_DVDR; - m_model=TQString(libhal_drive_get_model(drive)); -- // qDebug(TQString("canReadDvd:%1 canBurnDvd:%2 model:%3").tqarg(m_canReadDvd).tqarg(m_canBurnDvd).tqarg(m_model)); -+ // qDebug("%s", (TQString("canReadDvd:%1 canBurnDvd:%2 model:%3").tqarg(m_canReadDvd).tqarg(m_canBurnDvd).tqarg(m_model)).ascii()); - - - libhal_drive_free(drive); -diff --git a/k9vamps/k9vamps.cpp b/k9vamps/k9vamps.cpp -index f910979..d7bd43d 100755 ---- a/k9vamps/k9vamps.cpp -+++ b/k9vamps/k9vamps.cpp -@@ -368,7 +368,7 @@ int k9vamps::check_video_packet (uchar *ptr) { - - if (ptr [7]) { - if ((ptr [7] & 0xc0) != 0xc0) -- qDebug (TQString("First video packet in sequence starting at %1 misses PTS or DTS, flags=%2").tqarg(rtell (ptr)).tqarg(ptr [7])); -+ qDebug ("%s", (TQString("First video packet in sequence starting at %1 misses PTS or DTS, flags=%2").tqarg(rtell (ptr)).tqarg(ptr [7])).ascii()); - else { - sequence_header_code = (uint32_t) (ptr [6 + 3 + ptr [8] + 0]) << 24; - sequence_header_code |= (uint32_t) (ptr [6 + 3 + ptr [8] + 1]) << 16; -diff --git a/libk9copy/k9cellcopylist.cpp b/libk9copy/k9cellcopylist.cpp -index 31e85a3..fe880ac 100644 ---- a/libk9copy/k9cellcopylist.cpp -+++ b/libk9copy/k9cellcopylist.cpp -@@ -298,7 +298,7 @@ double k9CellCopyList::getMinFactor(bool _withMenus) { - - double minFactor=(fforced-m_frcinbytes) /(MaxSize- (totalSize +m_outbytes) - m_frcoutbytes) ; - qDebug("%s", (TQString("minfactor(%1)=(fforced(%2) -m_frinbytes(%3))/(MacSize(%4)-totalSize(%5)-m_outbytes(%6) - m_frcoutbytes(%7))").tqarg(minFactor).tqarg(fforced).tqarg(m_frcinbytes).tqarg(MaxSize).tqarg(totalSize).tqarg(m_outbytes).tqarg(m_frcoutbytes)).ascii()); -- -+ - if (minFactor<1) - minFactor=1; - return minFactor; -@@ -347,7 +347,7 @@ double k9CellCopyList::getfactor(bool _withMenus,bool _streams) { - - if (dvdSize2 <0) { - factor=2.5; -- //qDebug(TQString("dvdSize (%1)- _outbytes(%2) - fforcedsh(%3)=%4").tqarg(dvdSize).tqarg(m_outbytes).tqarg(fforcedsh).tqarg(dvdSize2)); -+ //qDebug("%s", (TQString("dvdSize (%1)- _outbytes(%2) - fforcedsh(%3)=%4").tqarg(dvdSize).tqarg(m_outbytes).tqarg(fforcedsh).tqarg(dvdSize2).ascii())); - } - else { - factor=(totalSize +menuSize - fforced -m_inbytes)/ dvdSize2 ; -@@ -361,7 +361,7 @@ double k9CellCopyList::getfactor(bool _withMenus,bool _streams) { - uint64_t i=m_inbytes; - //if (o==0) - // o=1; -- //qDebug(TQString("factor : %1 realise : %2").tqarg(factor).tqarg((double)i/(double)o)); -+ //qDebug("%s", (TQString("factor : %1 realise : %2").tqarg(factor).tqarg((double)i/(double)o).ascii())); - - if (factor<=1) - factor=1; -diff --git a/libk9copy/k9dvdauthor.cpp b/libk9copy/k9dvdauthor.cpp -index 3676109..256cf53 100755 ---- a/libk9copy/k9dvdauthor.cpp -+++ b/libk9copy/k9dvdauthor.cpp -@@ -505,7 +505,7 @@ void k9DVDAuthor::DVDAuthorStderr(KProcess *proc, char *buffer, int buflen ) { - // m_copied+=totalBytes - m_lastPos; - m_copied=totalBytes; - m_lastPos=totalBytes; -- //qDebug(TQString("copied : %1 totalSize : %2").tqarg(m_copied).tqarg(m_totalSize*512)); -+ //qDebug("%s", (TQString("copied : %1 totalSize : %2").tqarg(m_copied).tqarg(m_totalSize*512).ascii()); - m_percent=(float)m_copied / (float)(m_totalSize/DVD_VIDEO_LB_LEN ); - - -@@ -526,7 +526,7 @@ void k9DVDAuthor::DVDAuthorStderr(KProcess *proc, char *buffer, int buflen ) { - } - /* else { - if (!m_stderr.startsWith("libdvdread") && m_stderr.startsWith("libdvdnav")) -- qDebug(m_stderr); -+ qDebug("%s", m_stderr.ascii()); - } - */ - int end; -diff --git a/libk9copy/k9ifo2.cpp b/libk9copy/k9ifo2.cpp -index 57643c4..8c73213 100644 ---- a/libk9copy/k9ifo2.cpp -+++ b/libk9copy/k9ifo2.cpp -@@ -870,7 +870,7 @@ void k9Ifo2::checkBuffer(TQString lib,uchar* _buffer) { - if (memcmp(bufCopy,_buffer,bufCopySize)!=0) { - TQString c; - c="Buffer de sortie altéré: " +lib; -- qDebug(c.latin1()); -+ qDebug("%s", c.latin1()); - } - } - -diff --git a/libk9copy/k9mp4enc.cpp b/libk9copy/k9mp4enc.cpp -index e29f206..0f4aaca 100644 ---- a/libk9copy/k9mp4enc.cpp -+++ b/libk9copy/k9mp4enc.cpp -@@ -392,7 +392,7 @@ void k9MP4Enc::execute ( k9DVDTitle *_title ) - TQCString str=* ( m_process->args().at ( i ) ); - s +=TQString ( str ) +" "; - } -- qDebug ( s ); -+ qDebug ( "%s", s.ascii() ); - time->start(); - m_timer3.start(); - connect ( m_process, TQT_SIGNAL ( receivedStdout ( KProcess *, char *, int ) ),this, TQT_SLOT ( getStdout ( KProcess *, char *, int ) ) ); diff --git a/redhat/applications/k9copy/k9copy-3.5.13-missing_ldflags.patch b/redhat/applications/k9copy/k9copy-3.5.13-missing_ldflags.patch deleted file mode 100644 index 3cce7ea00..000000000 --- a/redhat/applications/k9copy/k9copy-3.5.13-missing_ldflags.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- k9copy/src/Makefile.am.ldflags 2011-10-15 01:43:52.000000000 +0200 -+++ k9copy/src/Makefile.am 2012-08-04 17:40:13.574823034 +0200 -@@ -35,7 +35,7 @@ - $(top_builddir)/k9author/libk9author.la $(top_builddir)/k9decmpeg/libk9decmpeg.la \ - $(top_builddir)/k9devices/libk9devices.la $(top_builddir)/k9vamps/libk9vamps.la \ - $(top_builddir)/libdvdnav/libk9dvdnav.la $(top_builddir)/libk9copy/libk9copy.la \ -- $(top_builddir)/dvdread/libdvdread.la $(LIB_KDEUI) -lkmdi -+ $(top_builddir)/dvdread/libdvdread.la $(LIB_KDEUI) -lkmdi $(LIBDL) - - # this is where the desktop file will go - shelldesktopdir = $(kde_appsdir)/Utilities diff --git a/redhat/applications/k9copy/k9copy-3.5.13.1.spec b/redhat/applications/k9copy/k9copy-3.5.13.1.spec deleted file mode 100644 index c3798c154..000000000 --- a/redhat/applications/k9copy/k9copy-3.5.13.1.spec +++ /dev/null @@ -1,148 +0,0 @@ -# Default version for this component -%define kdecomp k9copy - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: DVD backup tool for Trinity -Version: 1.2.3 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: trinity-arts-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils - -# Warning: the target distribution must have ffmpeg ! -BuildRequires: ffmpeg-devel -#Requires: ffmpeg - -%description -k9copy is a tabbed tool that allows to copy of one or more titles from a DVD9 -to a DVD5, in thesame way than DVDShrink for Microsoft Windows (R). -This is the Trinity version - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/k9copy -%{tde_tdeappdir}/k9copy.desktop -%{tde_datadir}/apps/k9copy/ -%{tde_datadir}/apps/konqueror/servicemenus/k9copy_open.desktop -%lang(en) %{tde_tdedocdir}/HTML/en/k9copy/ -%{tde_datadir}/icons/hicolor/*/apps/k9copy.png - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 1.2.3-3 -- Initial release for TDE 3.5.13.1 - -* Sat Aug 04 2012 Francois Andriot - 1.2.3-2 -- Add support for MGA2 and MDV2011 -- Fix 'format not a string literal' error. Clean up warning. [Commit #3bfc84b0] -- Fix FTBFS [Commit #62acebb7] -- Fix 'format not a string literal' error [Commit #d9ed8b32] -- Fix remaining string format errors [Commit #a8e98ad9] -- Fix another string format error [Commit #b3bb8a8f] -- Fix FTBFS [Commit #ca864ede] -- Fix format string error [Commit #a016df82] - -* Fri Nov 25 2011 Francois Andriot - 1.2.3-2 -- Fix HTML directory location - -* Sat Nov 19 2011 Francois Andriot - 1.2.3-1 -- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/k9copy/k9copy-3.5.13.2-avcodec.patch b/redhat/applications/k9copy/k9copy-3.5.13.2-avcodec.patch deleted file mode 100644 index f6a362d40..000000000 --- a/redhat/applications/k9copy/k9copy-3.5.13.2-avcodec.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- trinity-k9copy-3.5.13.2/k9author/k9avidecode.h.ORI 2013-07-29 21:52:57.859615464 +0200 -+++ trinity-k9copy-3.5.13.2/k9author/k9avidecode.h 2013-07-29 21:57:19.206481299 +0200 -@@ -43,7 +43,11 @@ - #else - typedef int (*av_find_stream_info_t)(AVFormatContext *); - #endif -+#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(54, 26, 0) -+typedef AVCodec* (*avcodec_find_decoder_t)(enum AVCodecID); -+#else - typedef AVCodec* (*avcodec_find_decoder_t)(enum CodecID); -+#endif - #if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(53, 8, 0) - typedef int (*avcodec_open2_t)(AVCodecContext *, AVCodec *, AVDictionary **); - #else diff --git a/redhat/applications/k9copy/k9copy-3.5.13.2-fix_k3b_link.patch b/redhat/applications/k9copy/k9copy-3.5.13.2-fix_k3b_link.patch deleted file mode 100644 index f7858c0a0..000000000 --- a/redhat/applications/k9copy/k9copy-3.5.13.2-fix_k3b_link.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- trinity-k9copy-3.5.13.2/src/Makefile.am.ORI 2013-06-17 20:59:49.620929488 +0200 -+++ trinity-k9copy-3.5.13.2/src/Makefile.am 2013-06-17 21:00:11.150425671 +0200 -@@ -35,7 +35,7 @@ - $(top_builddir)/k9author/libk9author.la $(top_builddir)/k9decmpeg/libk9decmpeg.la \ - $(top_builddir)/k9devices/libk9devices.la $(top_builddir)/k9vamps/libk9vamps.la \ - $(top_builddir)/libdvdnav/libk9dvdnav.la $(top_builddir)/libk9copy/libk9copy.la \ -- $(top_builddir)/dvdread/libdvdread.la $(LIB_KDEUI) -lkmdi $(LIBDL) -+ $(top_builddir)/dvdread/libdvdread.la $(LIB_KDEUI) -lkmdi $(LIBDL) -lk3b -lk3bdevice - - # this is where the desktop file will go - shelldesktopdir = $(kde_appsdir)/Utilities diff --git a/redhat/applications/k9copy/k9copy-3.5.13.2-ftbfs.patch b/redhat/applications/k9copy/k9copy-3.5.13.2-ftbfs.patch deleted file mode 100644 index 4dfb39787..000000000 --- a/redhat/applications/k9copy/k9copy-3.5.13.2-ftbfs.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- trinity-k9copy-3.5.13.2/k9decmpeg/mpeg2_internal.h.ORI 2013-07-28 19:42:30.331485057 +0200 -+++ trinity-k9copy-3.5.13.2/k9decmpeg/mpeg2_internal.h 2013-07-28 19:43:09.713519110 +0200 -@@ -21,6 +21,9 @@ - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -+#ifndef __MPEG2_INTERNAL_H__ -+#define __MPEG2_INTERNAL_H__ -+ - /* macroblock modes */ - #define MACROBLOCK_INTRA 1 - #define MACROBLOCK_PATTERN 2 -@@ -298,3 +301,5 @@ - extern mpeg2_mc_t mpeg2_mc_altivec; - extern mpeg2_mc_t mpeg2_mc_alpha; - extern mpeg2_mc_t mpeg2_mc_vis; -+ -+#endif // __MPEG2_INTERNAL_H__ diff --git a/redhat/applications/k9copy/k9copy-3.5.13.2-use_external_dvdread.patch b/redhat/applications/k9copy/k9copy-3.5.13.2-use_external_dvdread.patch deleted file mode 100644 index 0cf01006e..000000000 --- a/redhat/applications/k9copy/k9copy-3.5.13.2-use_external_dvdread.patch +++ /dev/null @@ -1,102 +0,0 @@ ---- ./k9author/Makefile.am.dvdread 2013-06-06 19:29:20.000000000 +0200 -+++ ./k9author/Makefile.am 2013-07-28 20:05:20.857621477 +0200 -@@ -14,5 +14,5 @@ - k9import.h k9importfiles.h k9lvitemimport.h k9menu.h k9menubutton.h k9menuedit.h \ - k9menueditor.h k9newdvd.h k9newtitle.h k9title.h - libk9author_la_LIBADD = $(top_builddir)/libk9copy/libk9copy.la $(LIB_KDEUI) --INCLUDES = -I$(top_srcdir)/dvdread -I$(top_srcdir)/k9devices \ -+INCLUDES = -I/usr/include/dvdread -I$(top_srcdir)/k9devices \ - -I$(top_srcdir)/k9vamps -I$(top_srcdir)/libk9copy -I$(top_srcdir)/src $(all_includes) ---- ./k9decmpeg/Makefile.am.dvdread 2013-06-06 19:29:20.000000000 +0200 -+++ ./k9decmpeg/Makefile.am 2013-07-28 20:05:20.857621477 +0200 -@@ -12,7 +12,7 @@ - motion_comp_altivec.cpp motion_comp.cpp motion_comp_mmx.cpp motion_comp_vis.cpp mpeg2convert.h \ - mpeg2.h mpeg2_internal.h rgb.cpp rgb_mmx.cpp rgb_vis.cpp slice.cpp tendra.h \ - uyvy.cpp video_out.h vis.h vlc.h k9decodethread.cpp k9plaympeg2.cpp --INCLUDES = -I$(top_srcdir)/dvdread -I$(top_srcdir)/k9vamps \ -+INCLUDES = -I/usr/include/dvdread -I$(top_srcdir)/k9vamps \ - -I$(top_srcdir)/libdvdnav -I$(top_srcdir)/libk9copy - - noinst_HEADERS = k9decodethread.h k9plaympeg2.h ---- ./k9devices/Makefile.am.dvdread 2013-06-06 19:29:20.000000000 +0200 -+++ ./k9devices/Makefile.am 2013-07-28 20:05:20.857621477 +0200 -@@ -1,4 +1,4 @@ --INCLUDES = -I$(top_srcdir)/dvdread -I$(top_srcdir)/libk9copy $(DBUS_INCS) \ -+INCLUDES = -I/usr/include/dvdread -I$(top_srcdir)/libk9copy $(DBUS_INCS) \ - $(HAL_INCS) $(K3B_INCS) $(all_includes) - METASOURCES = AUTO - libk9devices_la_LDFLAGS = $(all_libraries) ---- ./k9Mplayer/Makefile.am.dvdread 2013-06-06 19:29:20.000000000 +0200 -+++ ./k9Mplayer/Makefile.am 2013-07-28 20:05:20.857621477 +0200 -@@ -1,4 +1,4 @@ --INCLUDES = -I$(top_srcdir)/dvdread -I$(top_srcdir)/libk9copy $(all_includes) -+INCLUDES = -I/usr/include/dvdread -I$(top_srcdir)/libk9copy $(all_includes) - METASOURCES = AUTO - - noinst_LTLIBRARIES = libk9mplayer.la ---- ./k9vamps/Makefile.am.dvdread 2013-06-06 19:29:20.000000000 +0200 -+++ ./k9vamps/Makefile.am 2013-07-28 20:05:20.858621351 +0200 -@@ -7,6 +7,6 @@ - noinst_LTLIBRARIES = libk9vamps.la - libk9vamps_la_SOURCES = cputest.cpp getvlc.h k9fifo.cpp k9requant.cpp \ - k9vamps.cpp k9vamps.h putvlc.h qTable.h tcmemcpy.cpp --INCLUDES = -I$(top_srcdir)/dvdread -I$(top_srcdir)/k9vamps \ -+INCLUDES = -I/usr/include/dvdread -I$(top_srcdir)/k9vamps \ - -I$(top_srcdir)/libk9copy - noinst_HEADERS = k9requant.h ac.h k9fifo.h ---- ./libdvdnav/Makefile.am.dvdread 2013-06-06 19:29:20.000000000 +0200 -+++ ./libdvdnav/Makefile.am 2013-07-28 20:05:20.858621351 +0200 -@@ -11,4 +11,4 @@ - - - --INCLUDES = -I$(top_srcdir)/dvdread -+INCLUDES = -I/usr/include/dvdread ---- ./libk9copy/Makefile.am.dvdread 2013-06-06 19:29:20.000000000 +0200 -+++ ./libk9copy/Makefile.am 2013-07-28 20:05:20.858621351 +0200 -@@ -24,6 +24,6 @@ - k9saveimage.h k9script.h k9titleencopt.h k9tools.h k9videocodecs.h - - --INCLUDES = -I$(top_srcdir)/dvdread -I$(top_srcdir)/k9decmpeg \ -+INCLUDES = -I/usr/include/dvdread -I$(top_srcdir)/k9decmpeg \ - -I$(top_srcdir)/k9vamps -I$(top_srcdir)/libdvdnav - libk9copy_la_LDFLAGS = $(all_libraries) ---- ./src/Makefile.am.dvdread 2013-07-28 20:05:20.855621729 +0200 -+++ ./src/Makefile.am 2013-07-28 20:09:10.620642017 +0200 -@@ -1,5 +1,5 @@ - # set the include path for X, qt and KDE --INCLUDES = -I$(top_srcdir)/dvdread -I$(top_srcdir)/k9Mplayer \ -+INCLUDES = -I/usr/include/dvdread -I$(top_srcdir)/k9Mplayer \ - -I$(top_srcdir)/k9author -I$(top_srcdir)/k9decmpeg -I$(top_srcdir)/k9devices \ - -I$(top_srcdir)/k9vamps -I$(top_srcdir)/libdvdnav -I$(top_srcdir)/libk9copy $(all_includes) - -@@ -35,7 +35,7 @@ - $(top_builddir)/k9author/libk9author.la $(top_builddir)/k9decmpeg/libk9decmpeg.la \ - $(top_builddir)/k9devices/libk9devices.la $(top_builddir)/k9vamps/libk9vamps.la \ - $(top_builddir)/libdvdnav/libk9dvdnav.la $(top_builddir)/libk9copy/libk9copy.la \ -- $(top_builddir)/dvdread/libdvdread.la $(LIB_KDEUI) -lkmdi $(LIBDL) -lk3b -lk3bdevice -+ -ldvdread $(LIB_KDEUI) -lkmdi $(LIBDL) -lk3b -lk3bdevice - - # this is where the desktop file will go - shelldesktopdir = $(kde_appsdir)/Utilities ---- ./Makefile.am.ORI 2013-07-28 20:15:29.961786846 +0200 -+++ ./Makefile.am 2013-07-28 20:15:43.375094511 +0200 -@@ -1,4 +1,4 @@ --SUBDIRS = doc dvdread libdvdnav k9Mplayer libk9copy k9author k9decmpeg k9devices k9vamps \ -+SUBDIRS = doc libdvdnav k9Mplayer libk9copy k9author k9decmpeg k9devices k9vamps \ - po src - - $(top_srcdir)/configure.in: configure.in.in $(top_srcdir)/subdirs -@@ -29,11 +29,3 @@ - - AM_CXXFLAGS = -O0 -g3 - -- -- -- -- -- -- -- --INCLUDES = -I$(top_srcdir)/dvdread diff --git a/redhat/applications/k9copy/k9copy-3.5.13.2.spec b/redhat/applications/k9copy/k9copy-3.5.13.2.spec deleted file mode 100644 index a7a026ab9..000000000 --- a/redhat/applications/k9copy/k9copy-3.5.13.2.spec +++ /dev/null @@ -1,146 +0,0 @@ -# Default version for this component -%define tde_pkg k9copy -%define tde_version 3.5.13.2 - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tde_pkg} -Summary: DVD backup tool for Trinity -Version: 1.2.3 -Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -Patch1: k9copy-3.5.13.2-fix_k3b_link.patch -Patch2: k9copy-3.5.13.2-ftbfs.patch -Patch3: k9copy-3.5.13.2-use_external_dvdread.patch -Patch4: k9copy-3.5.13.2-avcodec.patch - -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-arts-devel >= 1:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: trinity-k3b-devel - -# Warning: the target distribution must have ffmpeg ! -BuildRequires: ffmpeg-devel -Requires: ffmpeg - - -%description -k9copy is a tabbed tool that allows to copy of one or more titles from a DVD9 -to a DVD5, in thesame way than DVDShrink for Microsoft Windows (R). -This is the Trinity version. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} -%patch1 -p1 -b .ftbfs -%patch2 -p1 -b .ftbfs -%patch3 -p1 -b .dvdread -%patch4 -p1 -b .avcodec - -# Removes internal dvdread headers -%__rm -rf dvdread - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" - -# FFMPEG ... -if [ -d /usr/include/ffmpeg ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/include/ffmpeg" -fi - -# NOTICE: --enable-final causes FTBFS ! -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --disable-final \ - --enable-new-ldflags \ - --enable-closure \ - --enable-rpath \ - \ - --enable-k3bdevices - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{tde_pkg} - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/k9copy -%{tde_tdeappdir}/k9copy.desktop -%{tde_datadir}/apps/k9copy/ -%{tde_datadir}/apps/konqueror/servicemenus/k9copy_open.desktop -%lang(en) %{tde_tdedocdir}/HTML/en/k9copy/ -%{tde_datadir}/icons/hicolor/*/apps/k9copy.png - - -%changelog diff --git a/redhat/applications/k9copy/k9copy-3.5.13.spec b/redhat/applications/k9copy/k9copy-3.5.13.spec deleted file mode 100644 index 187016882..000000000 --- a/redhat/applications/k9copy/k9copy-3.5.13.spec +++ /dev/null @@ -1,164 +0,0 @@ -# Default version for this component -%define kdecomp k9copy - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: DVD backup tool for Trinity -Version: 1.2.3 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -# [k9copy] Missing LDFLAGS cause FTBFS -Patch0: k9copy-3.5.13-missing_ldflags.patch -# [k9copy] Fix 'format not a string literal' error. Clean up warning. [Commit #3bfc84b0] -Patch1: k9copy-3.5.13-fix_format_not_string_literal.patch -# [k9copy] Fix FTBFS [Commit #62acebb7] -Patch2: k9copy-3.5.13-fix_ftbfs.patch -# [k9copy] Fix 'format not a string literal' error [Commit #d9ed8b32] -Patch3: k9copy-3.5.13-fix_format_not_string_literal_2.patch -# [k9copy] Fix remaining string format errors [Commit #a8e98ad9] -Patch4: k9copy-3.5.13-fix_remaining_string_format_errors.patch -# [k9copy] Fix another string format error [Commit #b3bb8a8f] -Patch5: k9copy-3.5.13-fix_another_string_format_error.patch -# [k9copy] Fix FTBFS [Commit #ca864ede] -Patch6: k9copy-3.5.13-fix_ftbfs_2.patch -# [k9copy] Fix format string error [Commit #a016df82] -Patch7: k9copy-3.5.13-fix_format_string_error.patch - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: trinity-arts-devel -BuildRequires: desktop-file-utils - -# Warning: the target distribution must have ffmpeg ! -BuildRequires: ffmpeg-devel -#Requires: ffmpeg - -%description -k9copy is a tabbed tool that allows to copy of one or more titles from a DVD9 -to a DVD5, in thesame way than DVDShrink for Microsoft Windows (R). -This is the Trinity version - - -%prep -%setup -q -n applications/%{kdecomp} -%patch0 -p1 -b .ldflags -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 -%patch7 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/k9copy -%{tde_tdeappdir}/k9copy.desktop -%{tde_datadir}/apps/k9copy/ -%{tde_datadir}/apps/konqueror/servicemenus/k9copy_open.desktop -%lang(en) %{tde_tdedocdir}/HTML/en/k9copy/ -%{tde_datadir}/icons/hicolor/*/apps/k9copy.png - - -%Changelog -* Sat Aug 04 2012 Francois Andriot - 1.2.3-2 -- Add support for MGA2 and MDV2011 -- Fix 'format not a string literal' error. Clean up warning. [Commit #3bfc84b0] -- Fix FTBFS [Commit #62acebb7] -- Fix 'format not a string literal' error [Commit #d9ed8b32] -- Fix remaining string format errors [Commit #a8e98ad9] -- Fix another string format error [Commit #b3bb8a8f] -- Fix FTBFS [Commit #ca864ede] -- Fix format string error [Commit #a016df82] - -* Fri Nov 25 2011 Francois Andriot - 1.2.3-2 -- Fix HTML directory location - -* Sat Nov 19 2011 Francois Andriot - 1.2.3-1 -- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kaffeine-mozilla/kaffeine-mozilla-3.5.13-fix_nspr_include.patch b/redhat/applications/kaffeine-mozilla/kaffeine-mozilla-3.5.13-fix_nspr_include.patch deleted file mode 100644 index 210fff5f1..000000000 --- a/redhat/applications/kaffeine-mozilla/kaffeine-mozilla-3.5.13-fix_nspr_include.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- kaffeine-mozilla/src/jni_md.h.ORI 2012-04-26 20:44:15.080210122 +0200 -+++ kaffeine-mozilla/src/jni_md.h 2012-04-26 20:44:28.006895031 +0200 -@@ -40,7 +40,7 @@ - #ifndef JNI_MD_H - #define JNI_MD_H - --#include /* needed for _declspec */ -+#include /* needed for _declspec */ - - /******************************************************************************* - * WHAT'S UP WITH THIS FILE? ---- kaffeine-mozilla/src/jri_md.h.ORI 2012-04-26 20:44:20.528077329 +0200 -+++ kaffeine-mozilla/src/jri_md.h 2012-04-26 20:44:36.239694357 +0200 -@@ -43,7 +43,7 @@ - #define JRI_MD_H - - #include --#include /* Needed for HAS_LONG_LONG ifdefs */ -+#include /* Needed for HAS_LONG_LONG ifdefs */ - - #ifdef __cplusplus - extern "C" { diff --git a/redhat/applications/kaffeine-mozilla/kaffeine-mozilla-3.5.13.1.spec b/redhat/applications/kaffeine-mozilla/kaffeine-mozilla-3.5.13.1.spec deleted file mode 100644 index e00b81a06..000000000 --- a/redhat/applications/kaffeine-mozilla/kaffeine-mozilla-3.5.13.1.spec +++ /dev/null @@ -1,120 +0,0 @@ -# Default version for this component -%define kdecomp kaffeine-mozilla - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: mozilla plugin that lanches kaffeine for supported media types [Trinity] -Version: 0.4.3.1 -Release: 3%{?dist} - -License: GPLv2+ -Group: Applications/Multimedia - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -# Fix 'nspr' includes location -Patch1: kaffeine-mozilla-3.5.13-fix_nspr_include.patch - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils - -%if 0%{?suse_version} -BuildRequires: mozilla-nspr-devel -%else -BuildRequires: nspr-devel -%endif - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}xaw-devel -%else -BuildRequires: libXaw-devel -%endif - -Requires: trinity-kaffeine - -%description -This mozilla plugin launches kaffeine, the xine-based media player for KDE, -when a page containing a supported media format is loaded. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -unset QTDIR; . /etc/profile.d/qt3.sh -%setup -q -n %{kdecomp}-3.5.13.1 -%patch1 -p1 - -%__cp -f "/usr/share/aclocal/libtool.m4" . -%__cp -f "/usr/share/libtool/"*"/ltmain.sh" . || %__cp "/usr/share/libtool/ltmain.sh" . - -autoreconf -fiv - - -%build -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure \ - --prefix=%{_libdir}/mozilla - -%__make %{?_smp_mflags} - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# Remove useless filess -%__rm -f %{?buildroot}%{_libdir}/mozilla/plugins/kaffeineplugin.a - -%clean -%__rm -rf %{buildroot} - - -%post -/sbin/ldconfig || : - -%postun -/sbin/ldconfig || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING README -# These files are installed outside TDE prefix -%{_libdir}/mozilla/plugins/kaffeineplugin.la -%{_libdir}/mozilla/plugins/kaffeineplugin.so - - -%changelog diff --git a/redhat/applications/kaffeine-mozilla/kaffeine-mozilla-3.5.13.2-fix_automake.patch b/redhat/applications/kaffeine-mozilla/kaffeine-mozilla-3.5.13.2-fix_automake.patch deleted file mode 100644 index e4a255dce..000000000 --- a/redhat/applications/kaffeine-mozilla/kaffeine-mozilla-3.5.13.2-fix_automake.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- trinity-kaffeine-mozilla-3.5.13.2/admin/cvs.sh.ORI 2014-03-23 11:29:59.873837637 +0100 -+++ trinity-kaffeine-mozilla-3.5.13.2/admin/cvs.sh 2014-03-23 11:30:39.942924217 +0100 -@@ -130,7 +130,7 @@ - fi - - echo "*** Creating Makefile templates" --$AUTOMAKE || exit 1 -+$AUTOMAKE --add-missing || exit 1 - - if test "$UNSERMAKE" = no; then - echo "*** Postprocessing Makefile templates" diff --git a/redhat/applications/kaffeine-mozilla/kaffeine-mozilla-3.5.13.2.spec b/redhat/applications/kaffeine-mozilla/kaffeine-mozilla-3.5.13.2.spec deleted file mode 100644 index b2230c6b3..000000000 --- a/redhat/applications/kaffeine-mozilla/kaffeine-mozilla-3.5.13.2.spec +++ /dev/null @@ -1,131 +0,0 @@ -# Default version for this component -%define tde_pkg kaffeine-mozilla -%define tde_version 3.5.13.2 - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tde_pkg} -Summary: mozilla plugin that lanches kaffeine for supported media types [Trinity] -Version: 0.4.3.1 -Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist} - -License: GPLv2+ -Group: Applications/Multimedia - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -# Fix 'nspr' includes location -Patch1: kaffeine-mozilla-3.5.13-fix_nspr_include.patch -# Fix build with newer automake -Patch2: kaffeine-mozilla-3.5.13.2-fix_automake.patch - -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-arts-devel >= 1:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -%if 0%{?suse_version} -BuildRequires: mozilla-nspr-devel -%else -BuildRequires: nspr-devel -%endif - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}xaw-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 -BuildRequires: libXaw-devel -%endif - -Requires: trinity-kaffeine - -%description -This mozilla plugin launches kaffeine, the xine-based media player for TDE, -when a page containing a supported media format is loaded. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} -%patch1 -p1 -b .nspr -%patch2 -p1 -b .automake - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/"*"/ltmain.sh" "ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR QTINC QTLIB -. /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" - -%configure \ - --prefix=%{_libdir}/mozilla \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --enable-final \ - --enable-closure \ - --enable-rpath - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# Remove useless filess -%__rm -f %{?buildroot}%{_libdir}/mozilla/plugins/kaffeineplugin.a - - -%clean -%__rm -rf %{buildroot} - - -%post -/sbin/ldconfig || : - -%postun -/sbin/ldconfig || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING README -# These files are installed outside TDE prefix -%{_libdir}/mozilla/plugins/kaffeineplugin.la -%{_libdir}/mozilla/plugins/kaffeineplugin.so - - -%changelog diff --git a/redhat/applications/kaffeine-mozilla/kaffeine-mozilla-3.5.13.spec b/redhat/applications/kaffeine-mozilla/kaffeine-mozilla-3.5.13.spec deleted file mode 100644 index fdaafa4b0..000000000 --- a/redhat/applications/kaffeine-mozilla/kaffeine-mozilla-3.5.13.spec +++ /dev/null @@ -1,110 +0,0 @@ -# Default version for this component -%define kdecomp kaffeine-mozilla - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: mozilla plugin that lanches kaffeine for supported media types [Trinity] -Version: 0.4.3.1 -Release: 2%{?dist} - -License: GPLv2+ -Group: Applications/Multimedia - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -# Fix 'nspr' includes location -Patch1: kaffeine-mozilla-3.5.13-fix_nspr_include.patch - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: nspr-devel - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}xaw-devel -%else -BuildRequires: libXaw-devel -%endif - -Requires: trinity-kaffeine - -%description -This mozilla plugin launches kaffeine, the xine-based media player for KDE, -when a page containing a supported media format is loaded. - - -%prep -unset QTDIR; . /etc/profile.d/qt.sh -%setup -q -n applications/%{kdecomp} -%patch1 -p1 - -%__cp -f "/usr/share/aclocal/libtool.m4" . -%__cp -f "/usr/share/libtool/"*"/ltmain.sh" . || %__cp "/usr/share/libtool/ltmain.sh" . - -autoreconf -fiv - - -%build -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure \ - --prefix=%{_libdir}/mozilla - -%__make %{?_smp_mflags} - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# Remove useless filess -%__rm -f %{?buildroot}%{_libdir}/mozilla/plugins/kaffeineplugin.a - -%clean -%__rm -rf %{buildroot} - - -%post -/sbin/ldconfig || : - -%postun -/sbin/ldconfig || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING README -# These files are installed outside TDE prefix -%{_libdir}/mozilla/plugins/kaffeineplugin.la -%{_libdir}/mozilla/plugins/kaffeineplugin.so - - -%changelog diff --git a/redhat/applications/kaffeine/kaffeine-3.5.13-error_out_if_critical_osd_defines_not_set.patch b/redhat/applications/kaffeine/kaffeine-3.5.13-error_out_if_critical_osd_defines_not_set.patch deleted file mode 100644 index 9c01d1056..000000000 --- a/redhat/applications/kaffeine/kaffeine-3.5.13-error_out_if_critical_osd_defines_not_set.patch +++ /dev/null @@ -1,25 +0,0 @@ -commit 25b89439bbdcbc245b2a4125d2345afaa32fb952 -Author: Timothy Pearson -Date: 1326858742 -0600 - - Error out if critical OSD-related defines are not set - -diff --git a/kaffeine/src/player-parts/xine-part/kxinewidget.cpp b/kaffeine/src/player-parts/xine-part/kxinewidget.cpp -index acc9937..68d47ac 100644 ---- a/kaffeine/src/player-parts/xine-part/kxinewidget.cpp -+++ b/kaffeine/src/player-parts/xine-part/kxinewidget.cpp -@@ -1513,6 +1513,14 @@ bool KXineWidget::playDvb() - return true; - } - -+#ifndef Q_BYTE_ORDER -+#error Q_BYTE_ORDER is not defined! -+#endif -+ -+#ifndef TQ_LITTLE_ENDIAN -+#error TQ_LITTLE_ENDIAN is not defined! -+#endif -+ - #if Q_BYTE_ORDER == TQ_LITTLE_ENDIAN - #define rgb2yuv(R,G,B) ((((((66*R+129*G+25*B+128)>>8)+16)<<8)|(((112*R-94*G-18*B+128)>>8)+128))<<8|(((-38*R-74*G+112*B+128)>>8)+128)) - #else diff --git a/redhat/applications/kaffeine/kaffeine-3.5.13-fix_localization_files.patch b/redhat/applications/kaffeine/kaffeine-3.5.13-fix_localization_files.patch deleted file mode 100644 index 175998916..000000000 --- a/redhat/applications/kaffeine/kaffeine-3.5.13-fix_localization_files.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff -aruN kaffeine-trinity-3.5.13.orig/admin/am_edit kaffeine-trinity-3.5.13/admin/am_edit ---- kaffeine-trinity-3.5.13.orig/admin/am_edit 2011-05-28 07:48:53.000000000 +0200 -+++ kaffeine-trinity-3.5.13/admin/am_edit 2012-02-26 19:05:36.000000000 +0100 -@@ -1643,6 +1643,10 @@ - - $target_adds{"install-data-am"} .= "install-nls "; - -+ if (!$lang) { -+ $tmp = "PACKAGE_BASE=`echo \"\$(PACKAGE)\" | sed \"s|-trinity-.*||\"`\n"; -+ appendLines ($tmp); -+ } - $tmp = "install-nls:\n"; - if ($lang) { - $tmp .= "\t\$(mkinstalldirs) \$(DESTDIR)\$(kde_locale)/$lang/LC_MESSAGES\n"; -@@ -1661,10 +1665,10 @@ - $tmp .= "\t elif test -f \$(srcdir)/\$\$base.gmo; then \$(INSTALL_DATA) \$(srcdir)/\$\$base.gmo \$(DESTDIR)\$(kde_locale)/$lang/LC_MESSAGES/\$\$base.mo ;\\\n"; - $tmp .= "\t fi ;\\\n"; - } else { -- $tmp .= "\t echo \$(INSTALL_DATA) \$\$base.gmo \$(DESTDIR)\$(kde_locale)/\$\$base/LC_MESSAGES/\$(PACKAGE).mo ;\\\n"; -+ $tmp .= "\t echo \$(INSTALL_DATA) \$\$base.gmo \$(DESTDIR)\$(kde_locale)/\$\$base/LC_MESSAGES/\$(PACKAGE_BASE).mo ;\\\n"; - $tmp .= "\t \$(mkinstalldirs) \$(DESTDIR)\$(kde_locale)/\$\$base/LC_MESSAGES ; \\\n"; -- $tmp .= "\t if test -f \$\$base.gmo; then \$(INSTALL_DATA) \$\$base.gmo \$(DESTDIR)\$(kde_locale)/\$\$base/LC_MESSAGES/\$(PACKAGE).mo ;\\\n"; -- $tmp .= "\t elif test -f \$(srcdir)/\$\$base.gmo; then \$(INSTALL_DATA) \$(srcdir)/\$\$base.gmo \$(DESTDIR)\$(kde_locale)/\$\$base/LC_MESSAGES/\$(PACKAGE).mo ;\\\n"; -+ $tmp .= "\t if test -f \$\$base.gmo; then \$(INSTALL_DATA) \$\$base.gmo \$(DESTDIR)\$(kde_locale)/\$\$base/LC_MESSAGES/\$(PACKAGE_BASE).mo ;\\\n"; -+ $tmp .= "\t elif test -f \$(srcdir)/\$\$base.gmo; then \$(INSTALL_DATA) \$(srcdir)/\$\$base.gmo \$(DESTDIR)\$(kde_locale)/\$\$base/LC_MESSAGES/\$(PACKAGE_BASE).mo ;\\\n"; - $tmp .= "\t fi ;\\\n"; - } - $tmp .= "\tdone\n\n"; diff --git a/redhat/applications/kaffeine/kaffeine-3.5.13-fix_program_name.patch b/redhat/applications/kaffeine/kaffeine-3.5.13-fix_program_name.patch deleted file mode 100644 index 5042d4bed..000000000 --- a/redhat/applications/kaffeine/kaffeine-3.5.13-fix_program_name.patch +++ /dev/null @@ -1,19 +0,0 @@ -commit 4e982fa326fb619ec61e86cb0088d4b3002b2281 -Author: Slávek Banko -Date: 1343089272 +0200 - - Added automake initialization with proper program name and version - This resolves Bug 858 - -diff --git a/configure.in.in b/configure.in.in -index 144aef9..9751e7c 100644 ---- a/configure.in.in -+++ b/configure.in.in -@@ -1,4 +1,7 @@ - #MIN_CONFIG(3.3) -+ -+AM_INIT_AUTOMAKE(kaffeine, 0.8.8) -+ - CXXFLAGS="$CXXFLAGS $KDE_DEFAULT_CXXFLAGS" - - if test "$build_arts" = "yes"; then diff --git a/redhat/applications/kaffeine/kaffeine-3.5.13-fix_slow_dvb_start.patch b/redhat/applications/kaffeine/kaffeine-3.5.13-fix_slow_dvb_start.patch deleted file mode 100644 index 71b71cc6e..000000000 --- a/redhat/applications/kaffeine/kaffeine-3.5.13-fix_slow_dvb_start.patch +++ /dev/null @@ -1,97 +0,0 @@ -commit fd68e4c4940afb4529b16e2c3e3d0f379ac7b161 -Author: Darrell Anderson -Date: 1331343133 -0600 - - Fix nominal "tqt" typos and fix slow DVB start. - This closes bug reports 729 and 899. - -diff --git a/kaffeine/src/player-parts/gstreamer-part/video.cpp b/kaffeine/src/player-parts/gstreamer-part/video.cpp -index 96752aa..32c8817 100644 ---- a/kaffeine/src/player-parts/gstreamer-part/video.cpp -+++ b/kaffeine/src/player-parts/gstreamer-part/video.cpp -@@ -232,7 +232,7 @@ void VideoWindow::correctByAspectRatio( TQSize& frame ) - case FOURBYTHREE: factor = 4.0 / 3.0; break; - case ANAMORPHIC: factor = 16.0 / 9.0; break; - case DVB: factor = 2.11; break; -- case STQUARE: factor = 1.0; break; -+ case SQUARE: factor = 1.0; break; - } - - float frameAspect = (float)frame.width() / (float)frame.height(); -@@ -291,7 +291,7 @@ void VideoWindow::slotAspectRatioDVB() - - void VideoWindow::slotAspectRatioSquare() - { -- m_aspectRatio = STQUARE; -+ m_aspectRatio = SQUARE; - TQSize frame = getFrameSize(); - correctByAspectRatio( frame ); - emit signalNewFrameSize( frame ); -diff --git a/kaffeine/src/player-parts/gstreamer-part/video.h b/kaffeine/src/player-parts/gstreamer-part/video.h -index c4d9f74..f7c5180 100644 ---- a/kaffeine/src/player-parts/gstreamer-part/video.h -+++ b/kaffeine/src/player-parts/gstreamer-part/video.h -@@ -47,7 +47,7 @@ public: - FOURBYTHREE, - ANAMORPHIC, - DVB, -- STQUARE -+ SQUARE - }; - - void newState(); -diff --git a/kaffeine/src/player-parts/xine-part/deinterlacequality.h b/kaffeine/src/player-parts/xine-part/deinterlacequality.h -index edc2fa9..6987de3 100644 ---- a/kaffeine/src/player-parts/xine-part/deinterlacequality.h -+++ b/kaffeine/src/player-parts/xine-part/deinterlacequality.h -@@ -18,8 +18,8 @@ - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA - */ - --#ifndef DEINTERLACETQUALITY_H --#define DEINTERLACETQUALITY_H -+#ifndef DEINTERLACEQUALITY_H -+#define DEINTERLACEQUALITY_H - - #include - -@@ -77,4 +77,4 @@ private: - KPushButton* m_customConfigButton; - }; - --#endif /* DEINTERLACETQUALITY_H */ -+#endif /* DEINTERLACEQUALITY_H */ -diff --git a/kaffeine/src/player-parts/xine-part/equalizer.h b/kaffeine/src/player-parts/xine-part/equalizer.h -index 7d43ec0..2e81096 100644 ---- a/kaffeine/src/player-parts/xine-part/equalizer.h -+++ b/kaffeine/src/player-parts/xine-part/equalizer.h -@@ -18,8 +18,8 @@ - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA - */ - --#ifndef ETQUALIZER_H --#define ETQUALIZER_H -+#ifndef EQUALIZER_H -+#define EQUALIZER_H - - #include - #include -@@ -77,4 +77,4 @@ private: - TQSlider* eq16kSlider; - }; - --#endif /* ETQUALIZER_H */ -+#endif /* EQUALIZER_H */ -diff --git a/kaffeine/src/player-parts/xine-part/kxinewidget.cpp b/kaffeine/src/player-parts/xine-part/kxinewidget.cpp -index 68d47ac..ab87338 100644 ---- a/kaffeine/src/player-parts/xine-part/kxinewidget.cpp -+++ b/kaffeine/src/player-parts/xine-part/kxinewidget.cpp -@@ -3889,7 +3889,7 @@ void KXineWidget::getScreenshot(uchar*& rgb32BitData, int& videoWidth, int& vide - break; - default: - warningOut(TQString("Screenshot: Unknown aspect ratio: %1 - using 4:3").arg(ratio)); -- case XINE_VO_ASPECT_STQUARE: -+ case XINE_VO_ASPECT_SQUARE: - debugOut("Screenshot: got video aspect: 1:1"); - desired_ratio = image_ratio; - break; diff --git a/redhat/applications/kaffeine/kaffeine-3.5.13-fix_temporary_location.patch b/redhat/applications/kaffeine/kaffeine-3.5.13-fix_temporary_location.patch deleted file mode 100644 index 07d58235a..000000000 --- a/redhat/applications/kaffeine/kaffeine-3.5.13-fix_temporary_location.patch +++ /dev/null @@ -1,31 +0,0 @@ -commit b480e3db3a01b75376fa6b83e5b01efe104ccaec -Author: Darrell Anderson -Date: 1331957353 -0500 - - Change location where Kaffeine stores temporary pipe files from $HOME to - the more appropriate $TDEHOME/tmp-$HOSTNAME. - -diff --git a/kaffeine/src/input/dvb/dvbpanel.cpp b/kaffeine/src/input/dvb/dvbpanel.cpp -index 365b7ac..969b62b 100644 ---- a/kaffeine/src/input/dvb/dvbpanel.cpp -+++ b/kaffeine/src/input/dvb/dvbpanel.cpp -@@ -1065,7 +1065,8 @@ void DvbPanel::setConfig() - connect( d, TQT_SIGNAL(isRecording(bool)), this, TQT_SLOT(setRecordLed(bool)) ); - connect( d, TQT_SIGNAL(playDvb()), this, TQT_SLOT(pipeOpened()) ); - } -- fifoName = TQDir::homeDirPath()+"/.kaxtv.ts"; -+// fifoName = TQDir::homeDirPath()+"/.kaxtv.ts"; -+ fifoName = KGlobal::dirs()->saveLocation("tmp")+"/.kaxtv.ts"; - TQFile f( fifoName ); - if ( f.exists() ) - f.remove(); -@@ -1073,7 +1074,8 @@ void DvbPanel::setConfig() - perror( fifoName.latin1() ); - fifoName = ""; - } -- fifoName1 = TQDir::homeDirPath()+"/.kaxtv1.ts"; -+// fifoName1 = TQDir::homeDirPath()+"/.kaxtv1.ts"; -+ fifoName1 = KGlobal::dirs()->saveLocation("tmp")+"/.kaxtv1.ts"; - TQFile f1( fifoName1 ); - if ( f1.exists() ) - f1.remove(); diff --git a/redhat/applications/kaffeine/kaffeine-3.5.13-fix_typos_branding_tqt.patch b/redhat/applications/kaffeine/kaffeine-3.5.13-fix_typos_branding_tqt.patch deleted file mode 100644 index f4473d621..000000000 --- a/redhat/applications/kaffeine/kaffeine-3.5.13-fix_typos_branding_tqt.patch +++ /dev/null @@ -1,240 +0,0 @@ -commit 0e3d0ed603c6c8065fdcb77bc79b59a768fc6a5b -Author: Darrell Anderson -Date: 1333649519 -0500 - - Fix typos, branding, and inadvertent tqt changes. - -diff --git a/kaffeine/src/input/dvb/dvbpanel.cpp b/kaffeine/src/input/dvb/dvbpanel.cpp -index 969b62b..bbc4e32 100644 ---- a/kaffeine/src/input/dvb/dvbpanel.cpp -+++ b/kaffeine/src/input/dvb/dvbpanel.cpp -@@ -1065,8 +1065,7 @@ void DvbPanel::setConfig() - connect( d, TQT_SIGNAL(isRecording(bool)), this, TQT_SLOT(setRecordLed(bool)) ); - connect( d, TQT_SIGNAL(playDvb()), this, TQT_SLOT(pipeOpened()) ); - } --// fifoName = TQDir::homeDirPath()+"/.kaxtv.ts"; -- fifoName = KGlobal::dirs()->saveLocation("tmp")+"/.kaxtv.ts"; -+ fifoName = KGlobal::dirs()->saveLocation("tmp")+".kaxtv.ts"; - TQFile f( fifoName ); - if ( f.exists() ) - f.remove(); -@@ -1074,8 +1073,7 @@ void DvbPanel::setConfig() - perror( fifoName.latin1() ); - fifoName = ""; - } --// fifoName1 = TQDir::homeDirPath()+"/.kaxtv1.ts"; -- fifoName1 = KGlobal::dirs()->saveLocation("tmp")+"/.kaxtv1.ts"; -+ fifoName1 = KGlobal::dirs()->saveLocation("tmp")+".kaxtv1.ts"; - TQFile f1( fifoName1 ); - if ( f1.exists() ) - f1.remove(); -diff --git a/kaffeine/src/input/dvb/lib/libdvben50221/en50221_app_auth.h b/kaffeine/src/input/dvb/lib/libdvben50221/en50221_app_auth.h -index 2b1d2e7..57b9254 100644 ---- a/kaffeine/src/input/dvb/lib/libdvben50221/en50221_app_auth.h -+++ b/kaffeine/src/input/dvb/lib/libdvben50221/en50221_app_auth.h -@@ -42,7 +42,7 @@ extern "C" { - * @param session_number Session number concerned. - * @param auth_protocol_id Auth protocol id. - * @param auth_data Data for the request. -- * @param auth_data_lenghth Number of bytes. -+ * @param auth_data_length Number of bytes. - * @return 0 on success, -1 on failure. - */ - typedef int (*en50221_app_auth_request_callback) (void *arg, -diff --git a/kaffeine/src/kmultitabbar.cpp b/kaffeine/src/kmultitabbar.cpp -index 8d85e01..e8148a7 100644 ---- a/kaffeine/src/kmultitabbar.cpp -+++ b/kaffeine/src/kmultitabbar.cpp -@@ -347,7 +347,7 @@ int KMultiTabBarInternal::appendTab(const TQPixmap &pic ,int id,const TQString& - tab->installEventFilter(this); - tab->showActiveTabText(m_showActiveTabTexts); - -- if (m_style==KMultiTabBar::KONTQSBC) -+ if (m_style==KMultiTabBar::KONQSBC) - { - if (m_expandedTabSizeneededSize()) { - m_expandedTabSize=tab->neededSize(); -@@ -570,7 +570,7 @@ void KMultiTabBarTab::setState(bool b) - void KMultiTabBarTab::updateState() - { - -- if (m_style!=KMultiTabBar::KONTQSBC) { -+ if (m_style!=KMultiTabBar::KONQSBC) { - if ((m_style==KMultiTabBar::KDEV3) || (m_style==KMultiTabBar::KDEV3ICON) || (down)) { - TQPushButton::setText(m_text); - } else { -@@ -626,7 +626,7 @@ void KMultiTabBarTab::drawButtonLabel(TQPainter *p) { - } - void KMultiTabBarTab::drawButton(TQPainter *paint) - { -- if (m_style!=KMultiTabBar::KONTQSBC) drawButtonStyled(paint); -+ if (m_style!=KMultiTabBar::KONQSBC) drawButtonStyled(paint); - else drawButtonClassic(paint); - } - -@@ -858,7 +858,7 @@ KMultiTabBar::KMultiTabBar(KMultiTabBarMode bm, TQWidget *parent,const char *nam - setPosition((bm==KMultiTabBar::Vertical)?KMultiTabBar::Right:KMultiTabBar::Bottom); - setStyle(VSNET); - // setStyle(KDEV3); -- //setStyle(KONTQSBC); -+ //setStyle(KONQSBC); - m_l->insertWidget(0,m_internal); - m_l->insertWidget(0,m_btnTabSep=new TQFrame(this)); - m_btnTabSep->setFixedHeight(4); -diff --git a/kaffeine/src/kmultitabbar.h b/kaffeine/src/kmultitabbar.h -index 72fa884..2932cc2 100644 ---- a/kaffeine/src/kmultitabbar.h -+++ b/kaffeine/src/kmultitabbar.h -@@ -55,16 +55,16 @@ - Q_OBJECT - TQ_OBJECT - public: -- enum KMultiTabBarMode{Horizontal,Vertical}; -+ enum KMultiTabBarMode{Horizontal, Vertical}; - enum KMultiTabBarPosition{Left, Right, Top, Bottom}; - - /** - * VSNET == Visual Studio .Net like (only show the text of active tabs - * KDEV3 == Kdevelop 3 like (always show the text) -- * KONTQSBC == konqy's classic sidebar style (unthemed), this one is disabled -+ * KONQSBC == konqy's classic sidebar style (unthemed), this one is disabled - * at the moment, but will be renabled soon too - */ -- enum KMultiTabBarStyle{VSNET=0, KDEV3=1, KONTQSBC=2, KDEV3ICON=3,STYLELAST=0xffff}; -+ enum KMultiTabBarStyle{VSNET=0, KDEV3=1, KONQSBC=2, KDEV3ICON=3,STYLELAST=0xffff}; - - KMultiTabBar(KMultiTabBarMode bm,TQWidget *parent=0,const char *name=0); - virtual ~KMultiTabBar(); -diff --git a/kaffeine/src/player-parts/gstreamer-part/gstreamerconfig.cpp b/kaffeine/src/player-parts/gstreamer-part/gstreamerconfig.cpp -index ccb56f3..b7e88c7 100644 ---- a/kaffeine/src/player-parts/gstreamer-part/gstreamerconfig.cpp -+++ b/kaffeine/src/player-parts/gstreamer-part/gstreamerconfig.cpp -@@ -54,7 +54,7 @@ GStreamerConfig::GStreamerConfig(const TQStringList& audioDrivers, const TQStrin - label = new TQLabel(i18n("Prefered audio driver"), frame); - layout->addWidget(label, 1, 0); - layout->addWidget(m_audioDriverBox, 1, 1); -- layout->addMultiCellWidget(new KSeparator(Qt::Horizontal, frame), 2, 2, 0, 1); -+ layout->addMultiCellWidget(new KSeparator(KSeparator::Horizontal, frame), 2, 2, 0, 1); - - //Video Page - frame = addPage(i18n("Video"), i18n("Video Options"), KGlobal::iconLoader()->loadIcon("video", KIcon::Panel, -@@ -67,7 +67,7 @@ GStreamerConfig::GStreamerConfig(const TQStringList& audioDrivers, const TQStrin - label = new TQLabel(i18n("Prefered video driver")+ "*", frame); - layout->addWidget(label, 1, 0); - layout->addWidget(m_videoDriverBox, 1, 1); -- layout->addMultiCellWidget(new KSeparator(Qt::Horizontal, frame), 2, 2, 0, 1); -+ layout->addMultiCellWidget(new KSeparator(KSeparator::Horizontal, frame), 2, 2, 0, 1); - layout->addWidget(new TQLabel(TQString("") + i18n("* Restart required!") + "", frame), 10, 1); - - //Media page -@@ -80,7 +80,7 @@ GStreamerConfig::GStreamerConfig(const TQStringList& audioDrivers, const TQStrin - label = new TQLabel(i18n("CD, VCD, DVD drive"), frame); - layout->addWidget(label, 1, 0); - layout->addWidget(m_driveEdit, 1, 1); -- layout->addMultiCellWidget(new KSeparator(Qt::Horizontal, frame), 2, 2, 0, 1); -+ layout->addMultiCellWidget(new KSeparator(KSeparator::Horizontal, frame), 2, 2, 0, 1); - } - - GStreamerConfig::~GStreamerConfig() -diff --git a/kaffeine/src/player-parts/xine-part/positionslider.cpp b/kaffeine/src/player-parts/xine-part/positionslider.cpp -index 16b3978..9d64e26 100644 ---- a/kaffeine/src/player-parts/xine-part/positionslider.cpp -+++ b/kaffeine/src/player-parts/xine-part/positionslider.cpp -@@ -97,8 +97,8 @@ bool PositionSlider::eventFilter(TQObject *obj, TQEvent *ev) - return false; - - int range = maxValue() - minValue(); -- int pos = (orientation() ==Qt::Horizontal) ? e->pos().x() : e->pos().y(); -- int maxpos = (orientation() ==Qt::Horizontal) ? width() : height(); -+ int pos = (orientation() == Horizontal) ? e->pos().x() : e->pos().y(); -+ int maxpos = (orientation() == Horizontal) ? width() : height(); - int value = pos * range / maxpos + minValue(); - - if (TQApplication::reverseLayout()) -diff --git a/kaffeine/src/player-parts/xine-part/postfilter.cpp b/kaffeine/src/player-parts/xine-part/postfilter.cpp -index 8a691b8..4ed3eb6 100644 ---- a/kaffeine/src/player-parts/xine-part/postfilter.cpp -+++ b/kaffeine/src/player-parts/xine-part/postfilter.cpp -@@ -153,7 +153,7 @@ PostFilter::PostFilter(const TQString& name, xine_t* engine, xine_audio_port_t* - m_xinePostParameter++; - } - } -- KSeparator* sep = new KSeparator(Qt::Horizontal, m_groupBox); -+ KSeparator* sep = new KSeparator(KSeparator::Horizontal, m_groupBox); - grid->addMultiCellWidget(sep, row, row, 0, 1); - row++; - KPushButton* deleteButton = new KPushButton(i18n("Delete Filter"), m_groupBox); -diff --git a/kaffeine/src/player-parts/xine-part/xine_part.cpp b/kaffeine/src/player-parts/xine-part/xine_part.cpp -index 98ff969..9fc18e6 100644 ---- a/kaffeine/src/player-parts/xine-part/xine_part.cpp -+++ b/kaffeine/src/player-parts/xine-part/xine_part.cpp -@@ -1373,10 +1373,10 @@ void XinePart::initActions() - KStdAction::zoomIn(TQT_TQOBJECT(m_xine), TQT_SLOT(slotZoomIn()), actionCollection(), "zoom_in"); - KStdAction::zoomOut(TQT_TQOBJECT(m_xine), TQT_SLOT(slotZoomOut()), actionCollection(), "zoom_out"); - KStdAction::fitToPage(TQT_TQOBJECT(m_xine), TQT_SLOT(slotZoomOff()), actionCollection(), "zoom_off"); -- new KAction(i18n("Zoom InQt::Horizontal"), NULL, CTRL|Key_H, TQT_TQOBJECT(m_xine), TQT_SLOT(slotZoomInX()), actionCollection(), "zoom_in_x"); -- new KAction(i18n("Zoom OutQt::Horizontal"), NULL, CTRL|SHIFT|Key_H, TQT_TQOBJECT(m_xine), TQT_SLOT(slotZoomOutX()), actionCollection(), "zoom_out_x"); -- new KAction(i18n("Zoom InQt::Vertical"), NULL, CTRL|Key_V, TQT_TQOBJECT(m_xine), TQT_SLOT(slotZoomInY()), actionCollection(), "zoom_in_y"); -- new KAction(i18n("Zoom OutQt::Vertical"), NULL, CTRL|SHIFT|Key_V, TQT_TQOBJECT(m_xine), TQT_SLOT(slotZoomOutY()), actionCollection(), "zoom_out_y"); -+ new KAction(i18n("Zoom In Horizontal"), NULL, CTRL|Key_H, TQT_TQOBJECT(m_xine), TQT_SLOT(slotZoomInX()), actionCollection(), "zoom_in_x"); -+ new KAction(i18n("Zoom Out Horizontal"), NULL, CTRL|SHIFT|Key_H, TQT_TQOBJECT(m_xine), TQT_SLOT(slotZoomOutX()), actionCollection(), "zoom_out_x"); -+ new KAction(i18n("Zoom In Vertical"), NULL, CTRL|Key_V, TQT_TQOBJECT(m_xine), TQT_SLOT(slotZoomInY()), actionCollection(), "zoom_in_y"); -+ new KAction(i18n("Zoom Out Vertical"), NULL, CTRL|SHIFT|Key_V, TQT_TQOBJECT(m_xine), TQT_SLOT(slotZoomOutY()), actionCollection(), "zoom_out_y"); - new KAction(i18n("Deinterlace &Quality"), "blend", CTRL|Key_I, TQT_TQOBJECT(this), TQT_SLOT(slotDeinterlaceQuality()), actionCollection(), "video_deinterlace_quality"); - new KAction(i18n("&Video Settings"), "configure", Key_V, TQT_TQOBJECT(this), TQT_SLOT(slotPictureSettings()), actionCollection(), "video_picture"); - new KAction(i18n("&Equalizer"), NULL, Key_E, TQT_TQOBJECT(this), TQT_SLOT(slotEqualizer()), actionCollection(), "equalizer"); -@@ -1423,7 +1423,7 @@ void XinePart::initActions() - connect(m_xine, TQT_SIGNAL(signalSyncVolume()), TQT_TQOBJECT(this), TQT_SLOT(slotSyncVolume())); - new KWidgetAction(m_volume, i18n("Volume"), 0, 0, 0, actionCollection(), "audio_volume"); - -- m_position = new PositionSlider(Qt::Horizontal); -+ m_position = new PositionSlider(Horizontal); - TQToolTip::add - (m_position, i18n("Position")); - m_position->setRange(0, 65535); -@@ -2061,7 +2061,7 @@ void XinePart::zoomOff() - /********** volume slider ****************/ - - --VolumeSlider::VolumeSlider() : TQSlider(Qt::Horizontal, 0) -+VolumeSlider::VolumeSlider() : TQSlider(Horizontal, 0) - { - installEventFilter(this); - } -@@ -2092,8 +2092,8 @@ void VolumeSlider::wheelEvent(TQWheelEvent* e) - return FALSE; - - int range = maxValue() - minValue(); -- int pos = (orientation() ==Qt::Horizontal) ? e->pos().x() : e->pos().y(); -- int maxpos = (orientation() ==Qt::Horizontal) ? width() : height(); -+ int pos = (orientation() == Horizontal) ? e->pos().x() : e->pos().y(); -+ int maxpos = (orientation() == Horizontal) ? width() : height(); - int value = pos * range / maxpos + minValue(); - - if (TQApplication::reverseLayout()) -diff --git a/kaffeine/src/player-parts/xine-part/xineconfig.cpp b/kaffeine/src/player-parts/xine-part/xineconfig.cpp -index 6d6a2d4..1281911 100644 ---- a/kaffeine/src/player-parts/xine-part/xineconfig.cpp -+++ b/kaffeine/src/player-parts/xine-part/xineconfig.cpp -@@ -135,7 +135,7 @@ XineConfigEntry::XineConfigEntry(TQWidget* parent, TQGridLayout* grid, int row, - description->setAlignment( TQLabel::WordBreak | TQLabel::AlignVCenter ); - grid->addWidget(description, row, 1); - -- KSeparator* separator = new KSeparator(Qt::Horizontal, parent); -+ KSeparator* separator = new KSeparator(KSeparator::Horizontal, parent); - grid->addMultiCellWidget(separator, row+1, row+1, 0, 1); - } - -diff --git a/kaffeine/src/systemtray.cpp b/kaffeine/src/systemtray.cpp -index 745360f..e781ba0 100644 ---- a/kaffeine/src/systemtray.cpp -+++ b/kaffeine/src/systemtray.cpp -@@ -100,7 +100,7 @@ void SystemTray::mousePressEvent(TQMouseEvent *e) - default: - KSystemTray::mousePressEvent(e); - break; -- case Qt::MidButton: -+ case MidButton: - if(!TQT_TQRECT_OBJECT(rect()).contains(e->pos())) - return; - actionCollection()->action("trayplay")->activate(); diff --git a/redhat/applications/kaffeine/kaffeine-3.5.13-fix_win32_codec_url.patch b/redhat/applications/kaffeine/kaffeine-3.5.13-fix_win32_codec_url.patch deleted file mode 100644 index 571f60e39..000000000 --- a/redhat/applications/kaffeine/kaffeine-3.5.13-fix_win32_codec_url.patch +++ /dev/null @@ -1,29 +0,0 @@ -commit 5086f3584a9548aa92dd880139107187b9fc8509 -Author: Darrell Anderson -Date: 1342026813 -0500 - - Fixed online hyperlink to win32 codecs download location. - Thanks to Kristopher Gamrat. - -diff --git a/kaffeine/src/instwizard.cpp b/kaffeine/src/instwizard.cpp -index 279d78b..21336c2 100644 ---- a/kaffeine/src/instwizard.cpp -+++ b/kaffeine/src/instwizard.cpp -@@ -113,7 +113,7 @@ void InstWizard::internalWizard() - info << "" << i18n("Ok.") << ""; - else - info << "" << i18n("No WIN32 codecs found in /usr/lib/win32. You're not able to play Windows Media 9 files, newer Real Media files and some less common formats. Download the codecs here:") -- << " http://www.mplayerhq.hu."; -+ << " http://www1.mplayerhq.hu/design7/dload.html#binary_codecs."; - - //LIBDVDCSS - info << "

" << "libdvdcss" << "...
"; -@@ -190,7 +190,7 @@ void InstWizard::internalWizard() - - if (infoString.contains("DarkRed")) - { -- info << i18n("Found some problems, but nevertheless Kaffeine may work."); -+ info << i18n("Found some problems, but nevertheless Kaffeine might work."); - } - else - { diff --git a/redhat/applications/kaffeine/kaffeine-3.5.13-missing_ldflags.patch b/redhat/applications/kaffeine/kaffeine-3.5.13-missing_ldflags.patch deleted file mode 100644 index a2396a3a9..000000000 --- a/redhat/applications/kaffeine/kaffeine-3.5.13-missing_ldflags.patch +++ /dev/null @@ -1,42 +0,0 @@ ---- kaffeine/kaffeine/src/player-parts/kaffeine-part/Makefile.am.ORI 2012-08-03 12:13:32.063876101 +0200 -+++ kaffeine/kaffeine/src/player-parts/kaffeine-part/Makefile.am 2012-08-03 12:13:38.423736088 +0200 -@@ -8,5 +8,5 @@ - METASOURCES = AUTO - - libkaffeinepart_la_SOURCES = kaffeinepart.cpp mrl.cpp playlistimport.cpp --libkaffeinepart_la_LIBADD = $(LIB_KPARTS) $(all_libraries) -+libkaffeinepart_la_LIBADD = $(LIB_KPARTS) $(all_libraries) $(LIB_QT) $(LIB_KDEUI) $(LIB_KDECORE) $(LIB_KIO) - libkaffeinepart_la_LDFLAGS = -no-undefined -avoid-version ---- kaffeine/kaffeine/src/input/disc/plugins/Makefile.am.ORI 2012-08-03 12:17:08.799687224 +0200 -+++ kaffeine/kaffeine/src/input/disc/plugins/Makefile.am 2012-08-03 12:17:35.613454250 +0200 -@@ -18,7 +18,7 @@ - kaffeineinclude_HEADERS = kaffeineaudioencoder.h - - libkaffeineaudioencoder_la_SOURCES = kaffeineaudioencoder.cpp --libkaffeineaudioencoder_la_LIBADD = $(LIB_KPARTS) -+libkaffeineaudioencoder_la_LIBADD = $(LIB_KPARTS) $(LIB_KDEUI) $(LIB_QT) $(LIB_OGGVORBIS) - libkaffeineaudioencoder_la_LDFLAGS = $(all_libraries) -version-info 0:1:0 -no-undefined - - kde_servicetypes_DATA = kaffeineaudioencoder.desktop ---- kaffeine/kaffeine/src/input/dvb/plugins/epg/Makefile.am.ORI 2012-08-03 12:19:42.699882457 +0200 -+++ kaffeine/kaffeine/src/input/dvb/plugins/epg/Makefile.am 2012-08-03 12:19:47.451553785 +0200 -@@ -10,7 +10,7 @@ - kaffeineinclude_HEADERS = kaffeinedvbevents.h kaffeinedvbsection.h - - libkaffeineepgplugin_la_SOURCES = kaffeinedvbevents.cpp kaffeinedvbsection.cpp --libkaffeineepgplugin_la_LIBADD = $(LIB_KPARTS) -+libkaffeineepgplugin_la_LIBADD = $(LIB_KPARTS) $(LIB_QT) $(LIB_KDEUI) $(LIB_KDECORE) - libkaffeineepgplugin_la_LDFLAGS = $(all_libraries) -version-info 0:1:0 -no-undefined - - kde_servicetypes_DATA = kaffeineepgplugin.desktop ---- kaffeine/kaffeine/src/input/dvb/plugins/stream/Makefile.am.ORI 2012-08-03 12:20:56.687973949 +0200 -+++ kaffeine/kaffeine/src/input/dvb/plugins/stream/Makefile.am 2012-08-03 12:21:01.669658770 +0200 -@@ -10,7 +10,7 @@ - kaffeineinclude_HEADERS = kaffeinedvbplugin.h - - libkaffeinedvbplugin_la_SOURCES = kaffeinedvbplugin.cpp --libkaffeinedvbplugin_la_LIBADD = $(LIB_KPARTS) -+libkaffeinedvbplugin_la_LIBADD = $(LIB_KPARTS) $(LIB_KDEUI) $(LIB_QT) - libkaffeinedvbplugin_la_LDFLAGS = $(all_libraries) -version-info 0:1:0 -no-undefined - - kde_servicetypes_DATA = kaffeinedvbplugin.desktop diff --git a/redhat/applications/kaffeine/kaffeine-3.5.13-remove_additional_tq_conversions.patch b/redhat/applications/kaffeine/kaffeine-3.5.13-remove_additional_tq_conversions.patch deleted file mode 100644 index ace85881f..000000000 --- a/redhat/applications/kaffeine/kaffeine-3.5.13-remove_additional_tq_conversions.patch +++ /dev/null @@ -1,1403 +0,0 @@ -commit 701a124908ec0072b12cd3884589a86431f36080 -Author: Timothy Pearson -Date: 1324316159 -0600 - - Remove additional unneeded tq method conversions - -diff --git a/kaffeine/src/input/audiobrowser/googlefetcher.cpp b/kaffeine/src/input/audiobrowser/googlefetcher.cpp -index c74317d..0e76b88 100644 ---- a/kaffeine/src/input/audiobrowser/googlefetcher.cpp -+++ b/kaffeine/src/input/audiobrowser/googlefetcher.cpp -@@ -108,7 +108,7 @@ void GoogleFetcher::slotLoadImageURLs(GoogleFetcher::ImageSize size) - - kdDebug() << "Performing Google Search: " << url << endl; - -- search.load(url.url()+TQString("&start=%1&sa=N").tqarg(galleryPage*20) ); -+ search.load(url.url()+TQString("&start=%1&sa=N").arg(galleryPage*20) ); - - TQString text = search.toString().string(); - -diff --git a/kaffeine/src/input/audiobrowser/googlefetcherdialog.cpp b/kaffeine/src/input/audiobrowser/googlefetcherdialog.cpp -index 5bb169e..ccfea35 100644 ---- a/kaffeine/src/input/audiobrowser/googlefetcherdialog.cpp -+++ b/kaffeine/src/input/audiobrowser/googlefetcherdialog.cpp -@@ -87,9 +87,9 @@ GoogleFetcherDialog::~GoogleFetcherDialog() - void GoogleFetcherDialog::setLayout() - { - setCaption(TQString("%1 - %2 (%3)") -- .tqarg(m_artist) -- .tqarg(m_album) -- .tqarg(m_imageList.size())); -+ .arg(m_artist) -+ .arg(m_album) -+ .arg(m_imageList.size())); - - m_iconWidget->clear(); - for(uint i = 0; i < m_imageList.size(); i++) -@@ -237,7 +237,7 @@ CoverIconViewItem::~CoverIconViewItem() - void CoverIconViewItem::imageData(KIO::Job *, const TQByteArray &data) - { - int currentSize = m_buffer.size(); -- m_buffer.tqresize(currentSize + data.size(), TQGArray::SpeedOptim); -+ m_buffer.resize(currentSize + data.size(), TQGArray::SpeedOptim); - memcpy(&(m_buffer.data()[currentSize]), data.data(), data.size()); - } - -diff --git a/kaffeine/src/input/audiobrowser/playlist.cpp b/kaffeine/src/input/audiobrowser/playlist.cpp -index 3735b61..e67603e 100644 ---- a/kaffeine/src/input/audiobrowser/playlist.cpp -+++ b/kaffeine/src/input/audiobrowser/playlist.cpp -@@ -1774,14 +1774,14 @@ void PlayList::updateStatus() - TQValueList::ConstIterator end(m_queue.end()); - for (TQValueList::ConstIterator it = m_queue.begin(); it != end; ++it) - total = total.addSecs(TQTime().secsTo((*it).length())); -- status = i18n("Queue: %1 Entries, Playtime: %2").tqarg(m_queue.count()).tqarg(total.toString("h:mm:ss")); -+ status = i18n("Queue: %1 Entries, Playtime: %2").arg(m_queue.count()).arg(total.toString("h:mm:ss")); - } - else - { -- //status = i18n("Entries: %1, Playtime: %2 (Total: %3, %4)").tqarg(TQString::number(m_countVisible)).tqarg(msToTimeString(m_playTimeVisible)).tqarg(TQString::number(m_list->childCount())).tqarg(msToTimeString(m_playTime)); -+ //status = i18n("Entries: %1, Playtime: %2 (Total: %3, %4)").arg(TQString::number(m_countVisible)).arg(msToTimeString(m_playTimeVisible)).arg(TQString::number(m_list->childCount())).arg(msToTimeString(m_playTime)); - - -- status = i18n("Entries: %1, Playtime: %2").tqarg(TQString::number(m_countVisible)).tqarg(msToTimeString(m_playTimeVisible)); -+ status = i18n("Entries: %1, Playtime: %2").arg(TQString::number(m_countVisible)).arg(msToTimeString(m_playTimeVisible)); - } - emit statusBarMessage(status); - } -@@ -1886,7 +1886,7 @@ void PlayList::saveCurrentPlaylist() - - void PlayList::removeCurrentPlaylist() - { -- int code = KMessageBox::warningContinueCancel(0, i18n("Remove '%1' from list and from disk?").tqarg(m_playlistSelector->text(m_currentPlaylist)),TQString(),KStdGuiItem::del()); -+ int code = KMessageBox::warningContinueCancel(0, i18n("Remove '%1' from list and from disk?").arg(m_playlistSelector->text(m_currentPlaylist)),TQString(),KStdGuiItem::del()); - if (code == KMessageBox::Continue) - { - TQString pl = m_playlistDirectory + m_playlistSelector->text(m_currentPlaylist) + ".kaffeine"; -diff --git a/kaffeine/src/input/disc/cddb.cpp b/kaffeine/src/input/disc/cddb.cpp -index 9581651..231e008 100644 ---- a/kaffeine/src/input/disc/cddb.cpp -+++ b/kaffeine/src/input/disc/cddb.cpp -@@ -302,7 +302,7 @@ bool CDDB::parse_read_resp(TQTextStream *stream, TQTextStream *write_stream) - for (int i = 0; i < m_tracks; i++) - { - if (m_names[i].isEmpty()) -- m_names[i] += i18n("Track %1").tqarg(i); -+ m_names[i] += i18n("Track %1").arg(i); - m_names[i].replace(TQRegExp("/"), "%2f"); - kdDebug(7101) << "CDDB: found Track " << i+1 << ": `" << m_names[i] - << "'" << endl; -@@ -328,7 +328,7 @@ bool CDDB::searchLocal(unsigned int id, TQFile *ret_file) - { - TQDir dir; - TQString filename; -- filename = TQString("%1").tqarg(id, 0, 16).rightJustify(8, '0'); -+ filename = TQString("%1").arg(id, 0, 16).rightJustify(8, '0'); - TQStringList::ConstIterator it; - for (it = cddb_dirs.begin(); it != cddb_dirs.end(); ++it) - { -diff --git a/kaffeine/src/input/disc/disc.cpp b/kaffeine/src/input/disc/disc.cpp -index e392dca..31bba0c 100644 ---- a/kaffeine/src/input/disc/disc.cpp -+++ b/kaffeine/src/input/disc/disc.cpp -@@ -370,7 +370,7 @@ void Disc::trackSelected( TQListViewItem *it ) - if ( !it ) - return; - -- MRL mrl( TQString("cdda://%1/%2").tqarg( currentDevice ).tqarg( it->text(0).toInt() ) ); -+ MRL mrl( TQString("cdda://%1/%2").arg( currentDevice ).arg( it->text(0).toInt() ) ); - mrl.setTitle( it->text(1) ); - mrl.setArtist( artistLab->text() ); - mrl.setAlbum( albumLab->text() ); -@@ -465,7 +465,7 @@ void Disc::startCD( const TQString &device, bool rip ) - for ( i=0; igetTracks(); i++ ) { - it = new KListViewItem( list, TQString().sprintf("%02d", i+1), cddb->track( i ), para->trackTime(i) ); - if ( i==0 ) { -- mrl.setURL( TQString("cdda://%1/1").tqarg( currentDevice ) ); -+ mrl.setURL( TQString("cdda://%1/1").arg( currentDevice ) ); - mrl.setTitle( cddb->track(i) ); - mrl.setArtist( artistLab->text() ); - mrl.setAlbum( albumLab->text() ); -@@ -481,7 +481,7 @@ void Disc::startCD( const TQString &device, bool rip ) - for ( i=0; igetTracks(); i++ ) { - it = new KListViewItem( list, TQString().sprintf("%02d", i+1), cddb->track( i ), para->trackTime(i) ); - if ( i==0 ) { -- mrl.setURL( TQString("cdda://%1/1").tqarg( currentDevice ) ); -+ mrl.setURL( TQString("cdda://%1/1").arg( currentDevice ) ); - mrl.setTitle( cddb->track(i) ); - mrl.setArtist( artistLab->text() ); - mrl.setAlbum( albumLab->text() ); -@@ -495,7 +495,7 @@ void Disc::startCD( const TQString &device, bool rip ) - for ( i=0; igetTracks(); i++ ) { - it = new KListViewItem( list, TQString().sprintf("%02d", i+1), i18n("Track")+TQString().sprintf("%02d", i+1), para->trackTime(i) ); - if ( i==0 ) { -- mrl.setURL( TQString("cdda://%1/1").tqarg( currentDevice ) ); -+ mrl.setURL( TQString("cdda://%1/1").arg( currentDevice ) ); - mrl.setTitle( i18n("Track")+TQString().sprintf("%02d", i+1) ); - mrl.setArtist( artistLab->text() ); - mrl.setAlbum( albumLab->text() ); -@@ -531,7 +531,7 @@ void Disc::startDVD( const TQString &device ) - bool ok=false; - - if ( !device.isEmpty() ) -- mrl.setURL( TQString("dvd://%1").tqarg(device) ); -+ mrl.setURL( TQString("dvd://%1").arg(device) ); - else { - DCOPRef mediamanager("kded","mediamanager"); - DCOPReply reply = mediamanager.call("fullList()"); -@@ -555,12 +555,12 @@ void Disc::startDVD( const TQString &device ) - TQString choice = KInputDialog::getItem( i18n("DVD Video"), i18n("Several DVD Video found. Choose one:"), - devList, 0, false, &ok ); - if ( ok ) -- mrl.setURL( TQString("dvd://%1").tqarg(choice) ); -+ mrl.setURL( TQString("dvd://%1").arg(choice) ); - else - return; - } - else if ( devList.count()==1 ) -- mrl.setURL( TQString("dvd://%1").tqarg(devList[0]) ); -+ mrl.setURL( TQString("dvd://%1").arg(devList[0]) ); - else { - //KMessageBox::information( 0, i18n("No DVD Video found."), i18n("Warning") ); - //return; -@@ -591,7 +591,7 @@ void Disc::startVCD( const TQString &device ) - bool ok=false; - - if ( !device.isEmpty() ) -- mrl.setURL( TQString("vcd://%1").tqarg(device) ); -+ mrl.setURL( TQString("vcd://%1").arg(device) ); - else { - DCOPRef mediamanager("kded","mediamanager"); - DCOPReply reply = mediamanager.call("fullList()"); -@@ -609,12 +609,12 @@ void Disc::startVCD( const TQString &device ) - TQString choice = KInputDialog::getItem( i18n("VCD-SVCD"), i18n("Several (S)VCD found. Choose one:"), - devList, 0, false, &ok ); - if ( ok ) -- mrl.setURL( TQString("vcd://%1").tqarg(choice) ); -+ mrl.setURL( TQString("vcd://%1").arg(choice) ); - else - return; - } - else if ( devList.count()==1 ) -- mrl.setURL( TQString("vcd://%1").tqarg(devList[0]) ); -+ mrl.setURL( TQString("vcd://%1").arg(devList[0]) ); - else { - //KMessageBox::information( 0, i18n("No (S)VCD found."), i18n("Warning") ); - //return; -@@ -649,7 +649,7 @@ bool Disc::currentTrack( MRL &mrl ) - return false; - while ( it!=0 ) { - if ( it->text(0).toInt()==trackCurrent ) { -- mrl.setURL( TQString("cdda://%1/%2").tqarg( currentDevice ).tqarg( it->text(0).toInt() ) ); -+ mrl.setURL( TQString("cdda://%1/%2").arg( currentDevice ).arg( it->text(0).toInt() ) ); - mrl.setTitle( it->text(1) ); - mrl.setArtist( artistLab->text() ); - mrl.setAlbum( albumLab->text() ); -@@ -681,7 +681,7 @@ bool Disc::nextTrack( MRL &mrl ) - return false; - while ( it!=0 ) { - if ( it->text(0).toInt()==trackCurrent+1 ) { -- mrl.setURL( TQString("cdda://%1/%2").tqarg( currentDevice ).tqarg( it->text(0).toInt() ) ); -+ mrl.setURL( TQString("cdda://%1/%2").arg( currentDevice ).arg( it->text(0).toInt() ) ); - mrl.setTitle( it->text(1) ); - mrl.setArtist( artistLab->text() ); - mrl.setAlbum( albumLab->text() ); -@@ -695,7 +695,7 @@ bool Disc::nextTrack( MRL &mrl ) - } - - it = list->firstChild(); -- mrl.setURL( TQString("cdda://%1/%2").tqarg( currentDevice ).tqarg( it->text(0).toInt() ) ); -+ mrl.setURL( TQString("cdda://%1/%2").arg( currentDevice ).arg( it->text(0).toInt() ) ); - mrl.setTitle( it->text(1) ); - mrl.setArtist( artistLab->text() ); - mrl.setAlbum( albumLab->text() ); -@@ -718,7 +718,7 @@ bool Disc::previousTrack( MRL &mrl ) - return false; - while ( it!=0 ) { - if ( it->text(0).toInt()==trackCurrent-1 ) { -- mrl.setURL( TQString("cdda://%1/%2").tqarg( currentDevice ).tqarg( it->text(0).toInt() ) ); -+ mrl.setURL( TQString("cdda://%1/%2").arg( currentDevice ).arg( it->text(0).toInt() ) ); - mrl.setTitle( it->text(1) ); - mrl.setArtist( artistLab->text() ); - mrl.setAlbum( albumLab->text() ); -@@ -746,7 +746,7 @@ bool Disc::trackNumber( int number, MRL &mrl ) - return false; - while ( it!=0 ) { - if ( it->text(0).toInt()==number ) { -- mrl.setURL( TQString("cdda://%1/%2").tqarg( currentDevice ).tqarg( it->text(0).toInt() ) ); -+ mrl.setURL( TQString("cdda://%1/%2").arg( currentDevice ).arg( it->text(0).toInt() ) ); - mrl.setTitle( it->text(1) ); - mrl.setArtist( artistLab->text() ); - mrl.setAlbum( albumLab->text() ); -diff --git a/kaffeine/src/input/disc/paranoia.cpp b/kaffeine/src/input/disc/paranoia.cpp -index 03f39fa..36b052a 100644 ---- a/kaffeine/src/input/disc/paranoia.cpp -+++ b/kaffeine/src/input/disc/paranoia.cpp -@@ -288,14 +288,14 @@ bool Paranoia::loadEncoder( TQWidget *parent ) - - KService::Ptr service = KService::serviceByDesktopName( encoderDesktop ); - if (!service) { -- KMessageBox::error( parent, i18n("Loading of encoder '%1' failed.").tqarg(encoderDesktop) ); -+ KMessageBox::error( parent, i18n("Loading of encoder '%1' failed.").arg(encoderDesktop) ); - return false; - } - - if ( service->serviceTypes().contains("KaffeineAudioEncoder") ) { - currentEncoder = KParts::ComponentFactory::createPartInstanceFromService(service, 0, service->name().ascii(), 0, 0, 0, &error); - if (error > 0) { -- KMessageBox::error( parent, i18n("Loading of encoder '%1' failed.").tqarg(encoderDesktop) ); -+ KMessageBox::error( parent, i18n("Loading of encoder '%1' failed.").arg(encoderDesktop) ); - return false; - } - else -diff --git a/kaffeine/src/input/dvb/dvbcam.cpp b/kaffeine/src/input/dvb/dvbcam.cpp -index b430b38..41e9895 100644 ---- a/kaffeine/src/input/dvb/dvbcam.cpp -+++ b/kaffeine/src/input/dvb/dvbcam.cpp -@@ -79,7 +79,7 @@ int DvbCam::probe( int adapter, int ca_device ) - int fdCa; - ca_caps_t cap; - ca_slot_info_t info; -- TQString s = TQString("/dev/dvb/adapter%1/ca%2").tqarg( adapter ).tqarg( ca_device ); -+ TQString s = TQString("/dev/dvb/adapter%1/ca%2").arg( adapter ).arg( ca_device ); - - if ( (fdCa = open( s.ascii(), O_RDWR )) < 0) { - fprintf(stderr, "DvbCam::probe(): %s:", s.ascii()); -@@ -413,11 +413,11 @@ int DvbCam::aiCallback(void *arg, uint8_t slot_id, uint16_t session_number, uint - (void)session_number; - - fprintf(stderr, "CAM Application type: %02x\n", application_type); -- std->dvbcam->setAppType( TQString("0x%1").tqarg(application_type, 0, 16 ) ); -+ std->dvbcam->setAppType( TQString("0x%1").arg(application_type, 0, 16 ) ); - fprintf(stderr, "CAM Application manufacturer: %04x\n", application_manufacturer); -- std->dvbcam->setAppManu( TQString("0x%1").tqarg(application_manufacturer, 0, 16 ) ); -+ std->dvbcam->setAppManu( TQString("0x%1").arg(application_manufacturer, 0, 16 ) ); - fprintf(stderr, "CAM Manufacturer code: %04x\n", manufacturer_code); -- std->dvbcam->setManuCode( TQString("0x%1").tqarg(manufacturer_code, 0, 16 ) ); -+ std->dvbcam->setManuCode( TQString("0x%1").arg(manufacturer_code, 0, 16 ) ); - fprintf(stderr, "CAM Menu string: %.*s\n", menu_string_length, menu_string); - TQString s = (const char*)menu_string; - s.truncate( menu_string_length ); -@@ -531,7 +531,7 @@ int DvbCam::mmi_menu_callback(void *arg, uint8_t slot_id, uint16_t session_numbe - fprintf(stderr, "%i. %.*s\n", i+1, items[i].text_length, items[i].text); - s = (const char*)items[i].text; - s.truncate( items[i].text_length ); -- std->menuList.append( TQString("%1. %2").tqarg(i+1).tqarg(s) ); -+ std->menuList.append( TQString("%1. %2").arg(i+1).arg(s) ); - - } - -diff --git a/kaffeine/src/input/dvb/dvbconfig.cpp b/kaffeine/src/input/dvb/dvbconfig.cpp -index c920090..5f9e228 100644 ---- a/kaffeine/src/input/dvb/dvbconfig.cpp -+++ b/kaffeine/src/input/dvb/dvbconfig.cpp -@@ -187,10 +187,10 @@ bool DVBconfig::haveDvbDevice() - d.setPath( "/dev/dvb/"+list[i]+"/" ); - flist = d.entryList( "frontend*", TQDir::System, TQDir::Name ); - for ( j=0; j<(int)flist.count(); j++ ) { -- fdFrontend = open( TQString("/dev/dvb/%1/%2").tqarg( list[i] ).tqarg( flist[j] ).ascii(), O_RDWR); -+ fdFrontend = open( TQString("/dev/dvb/%1/%2").arg( list[i] ).arg( flist[j] ).ascii(), O_RDWR); - if ( fdFrontend>0 ) { - if ( (res = ioctl( fdFrontend, FE_GET_INFO, &info ) < 0) ) -- perror( TQString("/dev/dvb/%1/%2 FE_GET_INFO: ").tqarg( list[i] ).tqarg( flist[j] ).ascii() ); -+ perror( TQString("/dev/dvb/%1/%2 FE_GET_INFO: ").arg( list[i] ).arg( flist[j] ).ascii() ); - else { - close( fdFrontend ); - return true; -@@ -229,7 +229,7 @@ void DVBconfig::startup() - if ( !probeMfe && t!="frontend0" ) - continue; - t1 = TQTime::currentTime(); -- fdFrontend = open( TQString("/dev/dvb/%1/%2").tqarg( s ).tqarg( t ).ascii(), O_RDWR); -+ fdFrontend = open( TQString("/dev/dvb/%1/%2").arg( s ).arg( t ).ascii(), O_RDWR); - if ( fdFrontend>0 ) { - if ( !(res = ioctl( fdFrontend, FE_GET_INFO, &info ) < 0) ) { - if ( (info.type==FE_OFDM) -@@ -247,7 +247,7 @@ void DVBconfig::startup() - close( fdFrontend ); - } - else { -- perror( TQString("/dev/dvb/%1/%2 %3/%4").tqarg( s ).tqarg( t ).tqarg( errno ).tqarg( -EBUSY ).ascii() ); -+ perror( TQString("/dev/dvb/%1/%2 %3/%4").arg( s ).arg( t ).arg( errno ).arg( -EBUSY ).ascii() ); - } - } - } -@@ -450,30 +450,30 @@ void DVBconfig::readConfig() - shiftDir+= "/"; - filenameFormat = config->readEntry( "filenameFormat", "%name" ); - for ( i=0; i<(int)devList.count(); i++ ) { -- devList.at(i)->source = config->readEntry( TQString("DVB%1").tqarg(i), "" ); -- devList.at(i)->tuningTimeout = config->readNumEntry( TQString("DVB%1_TIMEOUT").tqarg(i), 1500 ); -- devList.at(i)->camMaxService = config->readNumEntry( TQString("DVB%1_CAM_MAX").tqarg(i), 1 ); -- devList.at(i)->priority = config->readNumEntry( TQString("DVB%1_PRIORITY").tqarg(i), 10 ); -+ devList.at(i)->source = config->readEntry( TQString("DVB%1").arg(i), "" ); -+ devList.at(i)->tuningTimeout = config->readNumEntry( TQString("DVB%1_TIMEOUT").arg(i), 1500 ); -+ devList.at(i)->camMaxService = config->readNumEntry( TQString("DVB%1_CAM_MAX").arg(i), 1 ); -+ devList.at(i)->priority = config->readNumEntry( TQString("DVB%1_PRIORITY").arg(i), 10 ); - if ( devList.at(i)->type!=FE_QPSK ) - continue; -- devList.at(i)->numLnb = config->readNumEntry( TQString("DVB%1_NLNB").tqarg(i), 1 ); -+ devList.at(i)->numLnb = config->readNumEntry( TQString("DVB%1_NLNB").arg(i), 1 ); - for ( j=0; jnumLnb; j++ ) { -- devList.at(i)->lnb[j].switchFreq = config->readNumEntry( TQString("DVB%1_LNB%2_switch").tqarg(i).tqarg(j), 11700 ); -- devList.at(i)->lnb[j].loFreq = config->readNumEntry( TQString("DVB%1_LNB%2_lo").tqarg(i).tqarg(j), 9750 ); -- devList.at(i)->lnb[j].hiFreq = config->readNumEntry( TQString("DVB%1_LNB%2_hi").tqarg(i).tqarg(j), 10600 ); -- devList.at(i)->lnb[j].rotorType = config->readNumEntry( TQString("DVB%1_LNB%2_rotor").tqarg(i).tqarg(j), 0 ); -- devList.at(i)->lnb[j].source = config->readListEntry( TQString("DVB%1_LNB%2_source").tqarg(i).tqarg(j) ); -- devList.at(i)->lnb[j].position = config->readIntListEntry( TQString("DVB%1_LNB%2_position").tqarg(i).tqarg(j) ); -- devList.at(i)->lnb[j].speed13v = config->readDoubleNumEntry( TQString("DVB%1_LNB%2_speed13v").tqarg(i).tqarg(j), 2.5 ); -- devList.at(i)->lnb[j].speed18v = config->readDoubleNumEntry( TQString("DVB%1_LNB%2_speed18v").tqarg(i).tqarg(j), 1.5 ); -+ devList.at(i)->lnb[j].switchFreq = config->readNumEntry( TQString("DVB%1_LNB%2_switch").arg(i).arg(j), 11700 ); -+ devList.at(i)->lnb[j].loFreq = config->readNumEntry( TQString("DVB%1_LNB%2_lo").arg(i).arg(j), 9750 ); -+ devList.at(i)->lnb[j].hiFreq = config->readNumEntry( TQString("DVB%1_LNB%2_hi").arg(i).arg(j), 10600 ); -+ devList.at(i)->lnb[j].rotorType = config->readNumEntry( TQString("DVB%1_LNB%2_rotor").arg(i).arg(j), 0 ); -+ devList.at(i)->lnb[j].source = config->readListEntry( TQString("DVB%1_LNB%2_source").arg(i).arg(j) ); -+ devList.at(i)->lnb[j].position = config->readIntListEntry( TQString("DVB%1_LNB%2_position").arg(i).arg(j) ); -+ devList.at(i)->lnb[j].speed13v = config->readDoubleNumEntry( TQString("DVB%1_LNB%2_speed13v").arg(i).arg(j), 2.5 ); -+ devList.at(i)->lnb[j].speed18v = config->readDoubleNumEntry( TQString("DVB%1_LNB%2_speed18v").arg(i).arg(j), 1.5 ); - } -- devList.at(i)->secMini = config->readNumEntry( TQString("DVB%1_SEC_MINI").tqarg(i), 0 ); -- devList.at(i)->secTwice = config->readNumEntry( TQString("DVB%1_SEC_TWICE").tqarg(i), 0 ); -- devList.at(i)->doS2 = config->readNumEntry( TQString("DVB%1_DOS2").tqarg(i), 0 ); -+ devList.at(i)->secMini = config->readNumEntry( TQString("DVB%1_SEC_MINI").arg(i), 0 ); -+ devList.at(i)->secTwice = config->readNumEntry( TQString("DVB%1_SEC_TWICE").arg(i), 0 ); -+ devList.at(i)->doS2 = config->readNumEntry( TQString("DVB%1_DOS2").arg(i), 0 ); - } - j = config->readNumEntry( "NumCategories", 0 ); - for ( i=0; ireadEntry( TQString("CategoryName%1").tqarg(i), "" ), config->readEntry( TQString("CategoryIcon%1").tqarg(i), "kaffeine" ) ) ); -+ categories.append( new Category( config->readEntry( TQString("CategoryName%1").arg(i), "" ), config->readEntry( TQString("CategoryIcon%1").arg(i), "kaffeine" ) ) ); - allIcon = config->readEntry( "AllIcon", "kaffeine" ); - tvIcon = config->readEntry( "TvIcon", "kdvbtv" ); - radioIcon = config->readEntry( "RadioIcon", "kdvbra" ); -@@ -512,31 +512,31 @@ void DVBconfig::saveConfig() - config->writeEntry( "SenderPort", senderPort ); - config->writeEntry( "ProbeMFE", probeMfe ); - for ( i=0; i<(int)devList.count(); i++ ) { -- config->writeEntry( TQString("DVB%1").tqarg(i), devList.at(i)->source ); -- config->writeEntry( TQString("DVB%1_TIMEOUT").tqarg(i), devList.at(i)->tuningTimeout ); -- config->writeEntry( TQString("DVB%1_PRIORITY").tqarg(i), devList.at(i)->priority ); -- config->writeEntry( TQString("DVB%1_CAM_MAX").tqarg(i), devList.at(i)->camMaxService ); -+ config->writeEntry( TQString("DVB%1").arg(i), devList.at(i)->source ); -+ config->writeEntry( TQString("DVB%1_TIMEOUT").arg(i), devList.at(i)->tuningTimeout ); -+ config->writeEntry( TQString("DVB%1_PRIORITY").arg(i), devList.at(i)->priority ); -+ config->writeEntry( TQString("DVB%1_CAM_MAX").arg(i), devList.at(i)->camMaxService ); - if ( devList.at(i)->type!=FE_QPSK ) - continue; -- config->writeEntry( TQString("DVB%1_NLNB").tqarg(i), devList.at(i)->numLnb ); -+ config->writeEntry( TQString("DVB%1_NLNB").arg(i), devList.at(i)->numLnb ); - for ( j=0; jnumLnb; j++ ) { -- config->writeEntry( TQString("DVB%1_LNB%2_switch").tqarg(i).tqarg(j), devList.at(i)->lnb[j].switchFreq ); -- config->writeEntry( TQString("DVB%1_LNB%2_lo").tqarg(i).tqarg(j), devList.at(i)->lnb[j].loFreq ); -- config->writeEntry( TQString("DVB%1_LNB%2_hi").tqarg(i).tqarg(j), devList.at(i)->lnb[j].hiFreq ); -- config->writeEntry( TQString("DVB%1_LNB%2_rotor").tqarg(i).tqarg(j), devList.at(i)->lnb[j].rotorType ); -- config->writeEntry( TQString("DVB%1_LNB%2_source").tqarg(i).tqarg(j), devList.at(i)->lnb[j].source ); -- config->writeEntry( TQString("DVB%1_LNB%2_position").tqarg(i).tqarg(j), devList.at(i)->lnb[j].position ); -- config->writeEntry( TQString("DVB%1_LNB%2_speed13v").tqarg(i).tqarg(j), devList.at(i)->lnb[j].speed13v ); -- config->writeEntry( TQString("DVB%1_LNB%2_speed18v").tqarg(i).tqarg(j), devList.at(i)->lnb[j].speed18v ); -+ config->writeEntry( TQString("DVB%1_LNB%2_switch").arg(i).arg(j), devList.at(i)->lnb[j].switchFreq ); -+ config->writeEntry( TQString("DVB%1_LNB%2_lo").arg(i).arg(j), devList.at(i)->lnb[j].loFreq ); -+ config->writeEntry( TQString("DVB%1_LNB%2_hi").arg(i).arg(j), devList.at(i)->lnb[j].hiFreq ); -+ config->writeEntry( TQString("DVB%1_LNB%2_rotor").arg(i).arg(j), devList.at(i)->lnb[j].rotorType ); -+ config->writeEntry( TQString("DVB%1_LNB%2_source").arg(i).arg(j), devList.at(i)->lnb[j].source ); -+ config->writeEntry( TQString("DVB%1_LNB%2_position").arg(i).arg(j), devList.at(i)->lnb[j].position ); -+ config->writeEntry( TQString("DVB%1_LNB%2_speed13v").arg(i).arg(j), devList.at(i)->lnb[j].speed13v ); -+ config->writeEntry( TQString("DVB%1_LNB%2_speed18v").arg(i).arg(j), devList.at(i)->lnb[j].speed18v ); - } -- config->writeEntry( TQString("DVB%1_SEC_MINI").tqarg(i), devList.at(i)->secMini ); -- config->writeEntry( TQString("DVB%1_SEC_TWICE").tqarg(i), devList.at(i)->secTwice ); -- config->writeEntry( TQString("DVB%1_DOS2").tqarg(i), devList.at(i)->doS2 ); -+ config->writeEntry( TQString("DVB%1_SEC_MINI").arg(i), devList.at(i)->secMini ); -+ config->writeEntry( TQString("DVB%1_SEC_TWICE").arg(i), devList.at(i)->secTwice ); -+ config->writeEntry( TQString("DVB%1_DOS2").arg(i), devList.at(i)->doS2 ); - } - config->writeEntry( "NumCategories", categories.count() ); - for ( i=0; i<(int)categories.count(); i++ ) { -- config->writeEntry( TQString("CategoryName%1").tqarg(i), categories.at(i)->name ); -- config->writeEntry( TQString("CategoryIcon%1").tqarg(i), categories.at(i)->icon ); -+ config->writeEntry( TQString("CategoryName%1").arg(i), categories.at(i)->name ); -+ config->writeEntry( TQString("CategoryIcon%1").arg(i), categories.at(i)->icon ); - } - config->writeEntry( "AllIcon", allIcon ); - config->writeEntry( "TvIcon", tvIcon ); -@@ -589,7 +589,7 @@ DvbConfigDialog::DvbConfigDialog( DvbPanel *pan, DVBconfig *dc, TQWidget *parent - timeoutSpin.setAutoDelete( true ); - - for ( i=0; i<(int)dvbConfig->devList.count(); i++ ) { -- page = addPage( i18n("DVB Device")+" "+TQString("%1:%2").tqarg(dvbConfig->devList.at(i)->adapter).tqarg(dvbConfig->devList.at(i)->tuner), i18n("Device Settings"), -+ page = addPage( i18n("DVB Device")+" "+TQString("%1:%2").arg(dvbConfig->devList.at(i)->adapter).arg(dvbConfig->devList.at(i)->tuner), i18n("Device Settings"), - KGlobal::instance()->iconLoader()->loadIcon( "hwinfo", KIcon::NoGroup, KIcon::SizeMedium ) ); - vb = new TQVBoxLayout( page, 6, 6 ); - gb = new TQGroupBox( "", page ); -diff --git a/kaffeine/src/input/dvb/dvbpanel.cpp b/kaffeine/src/input/dvb/dvbpanel.cpp -index 1b54229..365b7ac 100644 ---- a/kaffeine/src/input/dvb/dvbpanel.cpp -+++ b/kaffeine/src/input/dvb/dvbpanel.cpp -@@ -307,7 +307,7 @@ void DvbPanel::diskStatus() - - freemb = (double)(((double)(buf.f_bavail)*(double)(buf.f_bsize))/(1024.0*1024.0)); - if ( freemb<300 ) -- emit showOSD( i18n("Warning: low disc space")+TQString(" (%1").tqarg((int)freemb)+i18n("MB")+")", 5000, 3 ); -+ emit showOSD( i18n("Warning: low disc space")+TQString(" (%1").arg((int)freemb)+i18n("MB")+")", 5000, 3 ); - } - - -@@ -649,15 +649,15 @@ void DvbPanel::dumpEvents() - for( i=0; igetSource()+TQString(" : %1 TS with events.\n").tqarg( esrc->getNTsid() ); -+ tt << esrc->getSource()+TQString(" : %1 TS with events.\n").arg( esrc->getNTsid() ); - for ( m=0; mgetNTsid(); m++ ) { - if ( !(et=esrc->getNEventTsid( m )) ) - continue; -- tt << TQString("TSID %1 : %2 services with events\n").tqarg( et->getTsid() ).tqarg( et->getNSid() ); -+ tt << TQString("TSID %1 : %2 services with events\n").arg( et->getTsid() ).arg( et->getNSid() ); - for ( n=0; ngetNSid(); n++ ) { - if ( !(es=et->getNEventSid( n )) ) - continue; -- tt << TQString(" SID %1 : %2 events\n").tqarg( es->getSid() ).tqarg( es->getNDesc() ); -+ tt << TQString(" SID %1 : %2 events\n").arg( es->getSid() ).arg( es->getNDesc() ); - k+= es->getNDesc(); - } - } -@@ -681,10 +681,10 @@ void DvbPanel::dumpEvents() - if ( !(desc=esEvents->at( j )) ) - continue; - tt << "Source: "+desc->source+"\n"; -- tt << TQString("Network ID: %1\n").tqarg(desc->nid); -- tt << TQString("Transport Stream ID: %1\n").tqarg(desc->tsid); -- tt << TQString("Service ID: %1\n").tqarg(desc->sid); -- tt << TQString("Event ID: %1\n").tqarg(desc->eid); -+ tt << TQString("Network ID: %1\n").arg(desc->nid); -+ tt << TQString("Transport Stream ID: %1\n").arg(desc->tsid); -+ tt << TQString("Service ID: %1\n").arg(desc->sid); -+ tt << TQString("Event ID: %1\n").arg(desc->eid); - tt << "Title: "+desc->title+"\n"; - tt << "Subtitle: "+desc->subtitle+"\n"; - tt << desc->startDateTime.toString( "dd-MM-yyyy hh:mm:ss" )+"\n"; -diff --git a/kaffeine/src/input/dvb/dvbsi.cpp b/kaffeine/src/input/dvb/dvbsi.cpp -index cce9d0c..7fd8669 100644 ---- a/kaffeine/src/input/dvb/dvbsi.cpp -+++ b/kaffeine/src/input/dvb/dvbsi.cpp -@@ -620,7 +620,7 @@ bool DVBsi::tablePAT( unsigned char *buf ) - desc->tp.tsid = tsid; - desc->sid = sid; - desc->pmtpid = pmt; -- desc->name = TQString("TSID:%1-SID:%2").tqarg(tsid).tqarg(sid); -+ desc->name = TQString("TSID:%1-SID:%2").arg(tsid).arg(sid); - } - } - -@@ -854,7 +854,7 @@ bool DVBsi::parseVCT( int pid, int tid, int timeout, int sid ) - - ChannelDesc *desc = new ChannelDesc(); - desc->tp.tsid = channel_tsid; -- desc->name = TQString("%1-%2 %3").tqarg(major_channel_num).tqarg(minor_channel_num).tqarg(short_name); -+ desc->name = TQString("%1-%2 %3").arg(major_channel_num).arg(minor_channel_num).arg(short_name); - desc->sid = program_number; - if (access_controlled == 1) - desc->fta = 1; -diff --git a/kaffeine/src/input/dvb/dvbstream.cpp b/kaffeine/src/input/dvb/dvbstream.cpp -index 4ef290b..be8ae7d 100644 ---- a/kaffeine/src/input/dvb/dvbstream.cpp -+++ b/kaffeine/src/input/dvb/dvbstream.cpp -@@ -65,9 +65,9 @@ DvbStream::DvbStream( Device *d, const TQString &charset, EventTable *et ) - fdFrontend = fdDvr = 0; - ndmx = 0; - currentTransponder = Transponder(); -- frontendName = TQString("/dev/dvb/adapter%1/frontend%2").tqarg( dvbDevice->adapter ).tqarg( dvbDevice->tuner ); -- dvrName = TQString("/dev/dvb/adapter%1/dvr%2").tqarg( dvbDevice->adapter ).tqarg( dvbDevice->tuner ); -- demuxName = TQString("/dev/dvb/adapter%1/demux%2").tqarg( dvbDevice->adapter ).tqarg( dvbDevice->tuner ); -+ frontendName = TQString("/dev/dvb/adapter%1/frontend%2").arg( dvbDevice->adapter ).arg( dvbDevice->tuner ); -+ dvrName = TQString("/dev/dvb/adapter%1/dvr%2").arg( dvbDevice->adapter ).arg( dvbDevice->tuner ); -+ demuxName = TQString("/dev/dvb/adapter%1/demux%2").arg( dvbDevice->adapter ).arg( dvbDevice->tuner ); - - out.setAutoDelete( true ); - -diff --git a/kaffeine/src/input/dvb/kgradprogress.cpp b/kaffeine/src/input/dvb/kgradprogress.cpp -index 7898f84..07030e4 100644 ---- a/kaffeine/src/input/dvb/kgradprogress.cpp -+++ b/kaffeine/src/input/dvb/kgradprogress.cpp -@@ -43,7 +43,7 @@ void KGradProgress::setProgress( int progress ) - { - current = progress; - draw(); -- tqrepaint(false); -+ repaint(false); - } - - -diff --git a/kaffeine/src/input/dvb/plugins/epg/kaffeinedvbsection.cpp b/kaffeine/src/input/dvb/plugins/epg/kaffeinedvbsection.cpp -index 44619b7..3c49848 100644 ---- a/kaffeine/src/input/dvb/plugins/epg/kaffeinedvbsection.cpp -+++ b/kaffeine/src/input/dvb/plugins/epg/kaffeinedvbsection.cpp -@@ -70,7 +70,7 @@ KaffeineDVBsection::~KaffeineDVBsection() - bool KaffeineDVBsection::setFilter( int pid, int tid, int timeout, bool checkcrc ) - { - struct dmx_sct_filter_params sctfilter; -- TQString demuxer = TQString("/dev/dvb/adapter%1/demux%2").tqarg( adapter ).tqarg( tuner ); -+ TQString demuxer = TQString("/dev/dvb/adapter%1/demux%2").arg( adapter ).arg( tuner ); - - if ((fdDemux = open( demuxer.ascii(), O_RDWR | O_NONBLOCK )) < 0) { - perror ("open failed"); -diff --git a/kaffeine/src/input/dvb/scandialog.cpp b/kaffeine/src/input/dvb/scandialog.cpp -index 7f760e6..9b68d93 100644 ---- a/kaffeine/src/input/dvb/scandialog.cpp -+++ b/kaffeine/src/input/dvb/scandialog.cpp -@@ -71,7 +71,7 @@ ScanDialog::ScanDialog( TQPtrList *d, TQPtrList *ch, TQS - tmp = dvb->at(i)->getSources( true ); - for ( j=0; j<(int)tmp.count(); j++ ) { - if ( tmp[j].startsWith( "AUTO" ) ) -- list.append( TQString("AUTO(%1:%2)").tqarg(dvb->at(i)->getAdapter()).tqarg(dvb->at(i)->getTuner()) ); -+ list.append( TQString("AUTO(%1:%2)").arg(dvb->at(i)->getAdapter()).arg(dvb->at(i)->getTuner()) ); - else - list.append( tmp[j] ); - } -@@ -614,25 +614,25 @@ bool ScanDialog::getTransData() - int i; - for ( i=177; i<227; i+=7 ) { - if ( offset07->isChecked() ) { -- s = TQString("T %1 7MHz AUTO AUTO AUTO AUTO AUTO AUTO").tqarg( (i*1000000)+500000 ); -+ s = TQString("T %1 7MHz AUTO AUTO AUTO AUTO AUTO AUTO").arg( (i*1000000)+500000 ); - parseTp( s, ds->getType(), "" ); - } - if ( offset125p->isChecked() ) { -- s = TQString("T %1 7MHz AUTO AUTO AUTO AUTO AUTO AUTO").tqarg( (i*1000000)+500000+125000 ); -+ s = TQString("T %1 7MHz AUTO AUTO AUTO AUTO AUTO AUTO").arg( (i*1000000)+500000+125000 ); - parseTp( s, ds->getType(), "" ); - } - } - for ( i=474; i<859; i+=8 ) { - if ( offset167m->isChecked() ) { -- s = TQString("T %1 8MHz AUTO AUTO AUTO AUTO AUTO AUTO").tqarg( (i*1000000)-167000 ); -+ s = TQString("T %1 8MHz AUTO AUTO AUTO AUTO AUTO AUTO").arg( (i*1000000)-167000 ); - parseTp( s, ds->getType(), "" ); - } - if ( offset0->isChecked() ) { -- s = TQString("T %1 8MHz AUTO AUTO AUTO AUTO AUTO AUTO").tqarg( i*1000000 ); -+ s = TQString("T %1 8MHz AUTO AUTO AUTO AUTO AUTO AUTO").arg( i*1000000 ); - parseTp( s, ds->getType(), "" ); - } - if ( offset167p->isChecked() ) { -- s = TQString("T %1 8MHz AUTO AUTO AUTO AUTO AUTO AUTO").tqarg( (i*1000000)+167000 ); -+ s = TQString("T %1 8MHz AUTO AUTO AUTO AUTO AUTO AUTO").arg( (i*1000000)+167000 ); - parseTp( s, ds->getType(), "" ); - } - } -@@ -1010,7 +1010,7 @@ void ScanDialog::addFound( ChannelDesc *chan, bool scan ) - int i; - DListViewItem *it; - -- it = new DListViewItem( foundList, chan, TQString( "%1").tqarg( chan->tp.snr ), chan->name ); -+ it = new DListViewItem( foundList, chan, TQString( "%1").arg( chan->tp.snr ), chan->name ); - - if ( chan->type==1 ) { - if ( scan ) -@@ -1030,7 +1030,7 @@ void ScanDialog::addFound( ChannelDesc *chan, bool scan ) - } - - if ( scan ) -- progressLab->setText( TQString( i18n("Found: %1 TV - %2 radio") ).tqarg(ntv).tqarg(nradio) ); -+ progressLab->setText( TQString( i18n("Found: %1 TV - %2 radio") ).arg(ntv).arg(nradio) ); - if ( chan->provider.isEmpty() ) - return; - for ( i=0; icount(); i++ ) { -diff --git a/kaffeine/src/instwizard.cpp b/kaffeine/src/instwizard.cpp -index 8e2f412..0bc4a31 100644 ---- a/kaffeine/src/instwizard.cpp -+++ b/kaffeine/src/instwizard.cpp -@@ -49,7 +49,7 @@ - - void InstWizard::internalWizard() - { -- setCaption(i18n("Kaffeine %1 Installation Wizard").tqarg(KAFFEINE_VERSION)); -+ setCaption(i18n("Kaffeine %1 Installation Wizard").arg(KAFFEINE_VERSION)); - resize(400,400); - - /************** installation check ************************/ -@@ -79,7 +79,7 @@ void InstWizard::internalWizard() - if (KDE::version() >= KDE_MAKE_VERSION(3,2,0)) - info << "" << i18n("Ok.") << ""; - else -- info << "" << i18n("Kaffeine requires KDE >= %1.").tqarg("3.2") << ""; -+ info << "" << i18n("Kaffeine requires KDE >= %1.").arg("3.2") << ""; - - //XINE-LIB - //Should engine depending stuff be here? -@@ -96,13 +96,13 @@ void InstWizard::internalWizard() - - if ((major == 1) && (minor == 0) && (sub == 0) && (xineVersion.contains("rc", false))) - { -- info << "" << i18n("Kaffeine requires xine-lib >= %1. Download the latest version here:").tqarg("1.0") << " http://www.xinehq.de."; -+ info << "" << i18n("Kaffeine requires xine-lib >= %1. Download the latest version here:").arg("1.0") << " http://www.xinehq.de."; - } - else - info << "" << i18n("Ok.") << ""; - } - else -- info << "" << i18n("Kaffeine requires xine-lib >= %1. Download the latest version here:").tqarg("1.0") -+ info << "" << i18n("Kaffeine requires xine-lib >= %1. Download the latest version here:").arg("1.0") - << " http://www.xinehq.de."; - */ - //WIN32-CODECS -diff --git a/kaffeine/src/kaffeine.cpp b/kaffeine/src/kaffeine.cpp -index 5b188da..9efebc9 100644 ---- a/kaffeine/src/kaffeine.cpp -+++ b/kaffeine/src/kaffeine.cpp -@@ -154,8 +154,8 @@ Kaffeine::Kaffeine() : DCOPObject("KaffeineIface"), - //createStandardStatusBarAction(); - createGUI("kaffeineui.rc"); - -- //statusBar()->insertItem(i18n("Entries: %1, Playtime: %2 (Total: %3, %4)").tqarg("0").tqarg("00:00:00").tqarg("0").tqarg("00:00:00"), 9, 0, true); -- //statusBar()->insertItem(i18n("Entries: %1, Playtime: %2").tqarg("0").tqarg("0:00:00"), 9, 0, true); -+ //statusBar()->insertItem(i18n("Entries: %1, Playtime: %2 (Total: %3, %4)").arg("0").arg("00:00:00").arg("0").arg("00:00:00"), 9, 0, true); -+ //statusBar()->insertItem(i18n("Entries: %1, Playtime: %2").arg("0").arg("0:00:00"), 9, 0, true); - //statusBar()->insertItem(i18n("No player"), 10, 0, true); - - TQString stamp = locateLocal("appdata", "wizard_stamp_v0.7.1"); -@@ -367,7 +367,7 @@ void Kaffeine::slotLoadPart(const TQString& desktopName) - KService::Ptr service = KService::serviceByDesktopName(desktopName); - if (!service) - { -- KMessageBox::detailedError(this, i18n("Loading of player part '%1' failed.").tqarg(desktopName), i18n("%1 not found in search path.").tqarg(TQString(desktopName)+ ".desktop")); -+ KMessageBox::detailedError(this, i18n("Loading of player part '%1' failed.").arg(desktopName), i18n("%1 not found in search path.").arg(TQString(desktopName)+ ".desktop")); - return; - } - -@@ -387,7 +387,7 @@ void Kaffeine::slotLoadPart(const TQString& desktopName) - int error = 0; - m_mediaPart = KParts::ComponentFactory::createPartInstanceFromService(service, m_playerContainer, service->name().ascii(), TQT_TQOBJECT(this), 0, m_engineParameters, &error); - if (error > 0) { -- KMessageBox::detailedError(this, i18n("Loading of player part '%1' failed.").tqarg(service->name()), KLibLoader::self()->lastErrorMessage()); -+ KMessageBox::detailedError(this, i18n("Loading of player part '%1' failed.").arg(service->name()), KLibLoader::self()->lastErrorMessage()); - } - else { - connect(m_mediaPart, TQT_SIGNAL(setWindowCaption(const TQString&)), TQT_TQOBJECT(this), TQT_SLOT(slotChangeCaption(const TQString&))); -@@ -455,7 +455,7 @@ void Kaffeine::slotLoadingCanceled(const TQString& message) - delete m_mediaPart; - m_mediaPart = NULL; - } -- KMessageBox::detailedError(this, i18n("Loading of player part '%1' failed.").tqarg(name), message); -+ KMessageBox::detailedError(this, i18n("Loading of player part '%1' failed.").arg(name), message); - } - - void Kaffeine::slotPlaybackFailed() -@@ -1439,7 +1439,7 @@ TQString Kaffeine::askForOtherDevice(const TQString& type) - TQVBox* page = dialog->makeVBoxMainWidget(); - page->setSpacing(5); - page->setMargin(5); -- new TQLabel(i18n("No %1 in drive, or wrong path to device.").tqarg(type), page); -+ new TQLabel(i18n("No %1 in drive, or wrong path to device.").arg(type), page); - new TQLabel(TQString("\n") + i18n("Please select correct drive:"), page); - DrivesCombo* drives = new DrivesCombo(page); - -diff --git a/kaffeine/src/kmultitabbar.cpp b/kaffeine/src/kmultitabbar.cpp -index 308bfa5..ecfa2c5 100644 ---- a/kaffeine/src/kmultitabbar.cpp -+++ b/kaffeine/src/kmultitabbar.cpp -@@ -111,7 +111,7 @@ void KMultiTabBarInternal::setStyle(enum KMultiTabBar::KMultiTabBarStyle style) - mainLayout->setAutoAdd(true); - - } -- viewport()->tqrepaint(); -+ viewport()->repaint(); - } - - void KMultiTabBarInternal::drawContents ( TQPainter * paint, int clipx, int clipy, int clipw, int cliph ) -@@ -189,8 +189,8 @@ void KMultiTabBarInternal::mousePressEvent(TQMouseEvent *ev) - - void KMultiTabBarInternal::resizeEvent(TQResizeEvent *ev) { - /* kdDebug()<<"KMultiTabBarInternal::resizeEvent"<tqgeometry()<geometry()<setTabsPosition(m_position); -- viewport()->tqrepaint(); -+ viewport()->repaint(); - } - - -@@ -436,13 +436,13 @@ void KMultiTabBarButton::slotClicked() - void KMultiTabBarButton::setPosition(KMultiTabBar::KMultiTabBarPosition pos) - { - m_position=pos; -- tqrepaint(); -+ repaint(); - } - - void KMultiTabBarButton::setStyle(KMultiTabBar::KMultiTabBarStyle style) - { - m_style=style; -- tqrepaint(); -+ repaint(); - } - - void KMultiTabBarButton::hideEvent( TQHideEvent* he) { -@@ -528,7 +528,7 @@ void KMultiTabBarTab::setTabsPosition(KMultiTabBar::KMultiTabBarPosition pos) - } - - setPosition(pos); --// tqrepaint(); -+// repaint(); - } - - void KMultiTabBarTab::setIcon(const TQString& icon) -@@ -992,7 +992,7 @@ void KMultiTabBar::fontChange(const TQFont& /* oldFont */) - { - for (uint i=0;icount();i++) - tabs()->at(i)->resize(); -- tqrepaint(); -+ repaint(); - } - - TQPtrList* KMultiTabBar::tabs() {return m_internal->tabs();} -diff --git a/kaffeine/src/player-parts/gstreamer-part/gstreamer_part.cpp b/kaffeine/src/player-parts/gstreamer-part/gstreamer_part.cpp -index 2255e67..fb6e7a3 100644 ---- a/kaffeine/src/player-parts/gstreamer-part/gstreamer_part.cpp -+++ b/kaffeine/src/player-parts/gstreamer-part/gstreamer_part.cpp -@@ -737,7 +737,7 @@ void GStreamerPart::setAudioSink( TQString sinkName ) - { - GstElement* sink = gst_element_factory_make(sinkName.ascii(), "audiosink"); - if ( !sink ) { -- KMessageBox::error(0, i18n("Error: Can't init new Audio Driver %1 - using %2!").tqarg(sinkName).tqarg(m_audioSinkName)); -+ KMessageBox::error(0, i18n("Error: Can't init new Audio Driver %1 - using %2!").arg(sinkName).arg(m_audioSinkName)); - return; - } - -@@ -785,7 +785,7 @@ bool GStreamerPart::initGStreamer() - */ - m_audiosink = gst_element_factory_make( m_audioSinkName.ascii(), "audiosink" ); - if ( !m_audiosink ) { -- KMessageBox::error(0, i18n("Can't init Audio Driver '%1' - trying another one...").tqarg(m_audioSinkName)); -+ KMessageBox::error(0, i18n("Can't init Audio Driver '%1' - trying another one...").arg(m_audioSinkName)); - if ( (m_audiosink = gst_element_factory_make("alsasink", "audiosink")) != NULL ) - kdDebug() << "GStreamerPart: Using audio-driver: alsasink" << endl; - else { -@@ -809,7 +809,7 @@ bool GStreamerPart::initGStreamer() - */ - m_videosink = gst_element_factory_make( m_videoSinkName.ascii(), "videosink" ); - if ( !m_videosink ) { -- KMessageBox::error(0, i18n("Can't init Video Driver '%1' - trying another one...").tqarg(m_videoSinkName)); -+ KMessageBox::error(0, i18n("Can't init Video Driver '%1' - trying another one...").arg(m_videoSinkName)); - if ((m_videosink = gst_element_factory_make("xvimagesink", "videosink")) != NULL) - kdDebug() << "GStreamerPart: Using video-driver: xvimagesink" << endl; - else { -diff --git a/kaffeine/src/player-parts/gstreamer-part/video.cpp b/kaffeine/src/player-parts/gstreamer-part/video.cpp -index eb6203f..96752aa 100644 ---- a/kaffeine/src/player-parts/gstreamer-part/video.cpp -+++ b/kaffeine/src/player-parts/gstreamer-part/video.cpp -@@ -134,7 +134,7 @@ void VideoWindow::newCapsset( const GstCaps *caps ) - TQSize frame = getFrameSize(); - correctByAspectRatio( frame ); - emit signalNewFrameSize( frame ); -- //set correct tqgeometry -+ //set correct geometry - setGeometry(); - } - -@@ -177,7 +177,7 @@ void VideoWindow::newState() - TQSize frame = getFrameSize(); - correctByAspectRatio( frame ); - emit signalNewFrameSize( frame ); -- //set correct tqgeometry -+ //set correct geometry - setGeometry(); - } - -diff --git a/kaffeine/src/player-parts/xine-part/kxinewidget.cpp b/kaffeine/src/player-parts/xine-part/kxinewidget.cpp -index 58a9818..acc9937 100644 ---- a/kaffeine/src/player-parts/xine-part/kxinewidget.cpp -+++ b/kaffeine/src/player-parts/xine-part/kxinewidget.cpp -@@ -153,14 +153,14 @@ KXineWidget::~KXineWidget() - { - debugOut("Unwire audio filters"); - unwireAudioFilters(); -- debugOut(TQString("Dispose visual plugin: %1").tqarg(m_visualPluginName )); -+ debugOut(TQString("Dispose visual plugin: %1").arg(m_visualPluginName )); - delete m_visualPlugin; - m_visualPlugin = NULL; - } - #else - if (m_xinePost) - { -- debugOut(TQString("Dispose visual plugin: %1").tqarg(m_visualPluginName)); -+ debugOut(TQString("Dispose visual plugin: %1").arg(m_visualPluginName)); - m_postAudioSource = xine_get_audio_source(m_xineStream); - xine_post_wire_audio_port(m_postAudioSource, m_audioDriver); - xine_post_dispose(m_xineEngine, m_xinePost); -@@ -279,7 +279,7 @@ void KXineWidget::saveXineConfig() - xine_config_update_entry (m_xineEngine, &config); - } - -- debugOut(TQString("Save xine config to: %1").tqarg(m_configFilePath)); -+ debugOut(TQString("Save xine config to: %1").arg(m_configFilePath)); - xine_config_save(m_xineEngine, m_configFilePath.ascii()); - } - -@@ -331,7 +331,7 @@ void KXineWidget::frameOutputCallback(void* p, int video_width, int video_height - /* frame size changed */ - if ( (video_width != vw->m_videoFrameWidth) || (video_height != vw->m_videoFrameHeight) ) - { -- debugOut(TQString("New video frame size: %1x%2 - aspect ratio: %3").tqarg(video_width).tqarg(video_height).tqarg(video_aspect)); -+ debugOut(TQString("New video frame size: %1x%2 - aspect ratio: %3").arg(video_width).arg(video_height).arg(video_aspect)); - vw->m_videoFrameWidth = video_width; - vw->m_videoFrameHeight = video_height; - vw->m_videoAspect = video_aspect; -@@ -343,7 +343,7 @@ void KXineWidget::frameOutputCallback(void* p, int video_width, int video_height - { - vw->m_newParentSize = vw->parentWidget()->size() - TQSize((vw->width() - video_width), vw->height() - video_height); - -- debugOut(TQString("Resize video window to: %1x%2").tqarg(vw->m_newParentSize.width()).tqarg(vw->m_newParentSize.height())); -+ debugOut(TQString("Resize video window to: %1x%2").arg(vw->m_newParentSize.width()).arg(vw->m_newParentSize.height())); - - /* we should not do a resize() inside a xine thread, - but post an event to the main thread */ -@@ -391,7 +391,7 @@ void KXineWidget::xineEventListener(void *p, const xine_event_t* xineEvent) - channels = xine_get_stream_info(vw->m_xineStream, XINE_STREAM_INFO_MAX_AUDIO_CHANNEL); - for(i = 0; i < channels; i++) - { -- slang = TQString("%1.").tqarg(i+1); -+ slang = TQString("%1.").arg(i+1); - if (xine_get_audio_lang(vw->m_xineStream, i, lang)) - slang += lang; - tmp << slang; -@@ -415,7 +415,7 @@ void KXineWidget::xineEventListener(void *p, const xine_event_t* xineEvent) - channels = xine_get_stream_info(vw->m_xineStream, XINE_STREAM_INFO_MAX_SPU_CHANNEL); - for(i = 0; im_xineStream, i, lang)) - slang += lang; - tmp << slang; -@@ -472,7 +472,7 @@ void KXineWidget::xineEventListener(void *p, const xine_event_t* xineEvent) - debugOut("xine event: dropped frames"); - xine_dropped_frames_t* dropped = (xine_dropped_frames_t*)xineEvent->data; - -- warningOut(TQString("Skipped frames: %1 - discarded frames: %2").tqarg(dropped->skipped_frames/10).tqarg(dropped->discarded_frames/10)); -+ warningOut(TQString("Skipped frames: %1 - discarded frames: %2").arg(dropped->skipped_frames/10).arg(dropped->discarded_frames/10)); - - break; - } -@@ -752,7 +752,7 @@ void KXineWidget::timerEvent( TQTimerEvent* tevent ) - else - { - //restart -- warningOut(TQString("Message: '%1' was blocked!").tqarg(m_xineMessage)); -+ warningOut(TQString("Message: '%1' was blocked!").arg(m_xineMessage)); - m_recentMessagesTimer.start(1500); - } - break; -@@ -795,7 +795,7 @@ void KXineWidget::videoDriverChangedCallback(void* p, xine_cfg_entry_t* entry) - - int pos, time, length; - -- debugOut(TQString("New video driver: %1").tqarg(entry->enum_values[entry->num_value])); -+ debugOut(TQString("New video driver: %1").arg(entry->enum_values[entry->num_value])); - - if (vw->m_osd) - { -@@ -835,7 +835,7 @@ void KXineWidget::videoDriverChangedCallback(void* p, xine_cfg_entry_t* entry) - vw->unwireAudioFilters(); - if (vw->m_visualPlugin) - { -- debugOut(TQString("Dispose visual plugin: %1").tqarg(vw->m_visualPluginName)); -+ debugOut(TQString("Dispose visual plugin: %1").arg(vw->m_visualPluginName)); - delete vw->m_visualPlugin; - vw->m_visualPlugin = NULL; - } -@@ -855,7 +855,7 @@ void KXineWidget::videoDriverChangedCallback(void* p, xine_cfg_entry_t* entry) - - if (!vw->m_videoDriver) - { -- vw->m_xineError = i18n("Error: Can't init new Video Driver %1 - using %2!").tqarg(entry->enum_values[entry->num_value]).tqarg(vw->m_videoDriverName); -+ vw->m_xineError = i18n("Error: Can't init new Video Driver %1 - using %2!").arg(entry->enum_values[entry->num_value]).arg(vw->m_videoDriverName); - TQApplication::postEvent(vw, new TQTimerEvent( TIMER_EVENT_NEW_XINE_ERROR)); - playing = false; - vw->m_videoDriver = xine_open_video_driver(vw->m_xineEngine, -@@ -869,7 +869,7 @@ void KXineWidget::videoDriverChangedCallback(void* p, xine_cfg_entry_t* entry) - else - { - vw->m_videoDriverName = entry->enum_values[entry->num_value]; -- vw->m_statusString = i18n("Using Video Driver: %1").tqarg(vw->m_videoDriverName); -+ vw->m_statusString = i18n("Using Video Driver: %1").arg(vw->m_videoDriverName); - TQApplication::postEvent(vw, new TQTimerEvent(TIMER_EVENT_NEW_STATUS)); - } - -@@ -902,7 +902,7 @@ void KXineWidget::audioDriverChangedCallback(void* p, xine_cfg_entry_t* entry) - - int pos, time, length; - -- debugOut(TQString("New audio driver: %1").tqarg(entry->enum_values[entry->num_value])); -+ debugOut(TQString("New audio driver: %1").arg(entry->enum_values[entry->num_value])); - - if (vw->m_osd) - { -@@ -931,7 +931,7 @@ void KXineWidget::audioDriverChangedCallback(void* p, xine_cfg_entry_t* entry) - vw->unwireAudioFilters(); - if (vw->m_visualPlugin) - { -- debugOut(TQString("Dispose visual plugin: %1").tqarg(vw->m_visualPluginName)); -+ debugOut(TQString("Dispose visual plugin: %1").arg(vw->m_visualPluginName)); - delete vw->m_visualPlugin; - vw->m_visualPlugin = NULL; - } -@@ -945,7 +945,7 @@ void KXineWidget::audioDriverChangedCallback(void* p, xine_cfg_entry_t* entry) - - if (!vw->m_audioDriver) - { -- vw->m_xineError = i18n("Error: Can't init new Audio Driver %1 - using %2!").tqarg(entry->enum_values[entry->num_value]).tqarg(vw->m_audioDriverName); -+ vw->m_xineError = i18n("Error: Can't init new Audio Driver %1 - using %2!").arg(entry->enum_values[entry->num_value]).arg(vw->m_audioDriverName); - TQApplication::postEvent(vw, new TQTimerEvent( TIMER_EVENT_NEW_XINE_ERROR)); - playing = false; - vw->m_audioDriver = xine_open_audio_driver(vw->m_xineEngine, vw->m_audioDriverName.ascii(), NULL); -@@ -953,7 +953,7 @@ void KXineWidget::audioDriverChangedCallback(void* p, xine_cfg_entry_t* entry) - else - { - vw->m_audioDriverName = entry->enum_values[entry->num_value]; -- vw->m_statusString = i18n("Using Audio Driver: %1").tqarg(vw->m_audioDriverName); -+ vw->m_statusString = i18n("Using Audio Driver: %1").arg(vw->m_audioDriverName); - TQApplication::postEvent(vw, new TQTimerEvent(TIMER_EVENT_NEW_STATUS)); - } - -@@ -1148,18 +1148,18 @@ bool KXineWidget::initXine() - int count = 1; - debugOut("Xinerama extension present"); - XineramaQueryScreens(x11Display(), &count); -- debugOut(TQString("%1 screens detected").tqarg(count)); -+ debugOut(TQString("%1 screens detected").arg(count)); - if (count > 1) - // multihead -> assuming square pixels - m_displayRatio = 1.0; - } - #endif - -- debugOut(TQString("Display aspect ratio (v/h): %1").tqarg(m_displayRatio));*/ -+ debugOut(TQString("Display aspect ratio (v/h): %1").arg(m_displayRatio));*/ - - /**** INIT XINE ENGINE ****/ - -- debugOut(TQString("Using xine version %1").tqarg(xine_get_version_string())); -+ debugOut(TQString("Using xine version %1").arg(xine_get_version_string())); - - m_xineEngine = xine_new(); - if (!m_xineEngine) -@@ -1209,7 +1209,7 @@ bool KXineWidget::initXine() - else - m_audioDriverName = m_audioChoices[i]; - -- debugOut(TQString("Use audio driver %1").tqarg(m_audioDriverName)); -+ debugOut(TQString("Use audio driver %1").arg(m_audioDriverName)); - - drivers = xine_list_video_output_plugins(m_xineEngine); - i = 0; -@@ -1235,7 +1235,7 @@ bool KXineWidget::initXine() - else - m_videoDriverName = m_videoChoices[i]; - -- debugOut(TQString("Use video driver %1").tqarg(m_videoDriverName)); -+ debugOut(TQString("Use video driver %1").arg(m_videoDriverName)); - - m_mixerInfo = strdup(i18n("Use software audio mixer").local8Bit()); - m_softwareMixer = (bool)xine_config_register_bool(m_xineEngine, "audio.mixer_software", 1, m_mixerInfo, -@@ -1307,7 +1307,7 @@ bool KXineWidget::initXine() - - if (!m_videoDriver && m_videoDriverName != "auto") - { -- emit signalXineError(i18n("Can't init Video Driver '%1' - trying 'auto'...").tqarg(m_videoDriverName)); -+ emit signalXineError(i18n("Can't init Video Driver '%1' - trying 'auto'...").arg(m_videoDriverName)); - m_videoDriverName = "auto"; - m_videoDriver = xine_open_video_driver(m_xineEngine, - #ifndef HAVE_XCB -@@ -1331,7 +1331,7 @@ bool KXineWidget::initXine() - - if (!m_audioDriver && m_audioDriverName != "auto") - { -- emit signalXineError(i18n("Can't init Audio Driver '%1' - trying 'auto'...").tqarg(m_audioDriverName)); -+ emit signalXineError(i18n("Can't init Audio Driver '%1' - trying 'auto'...").arg(m_audioDriverName)); - m_audioDriverName = "auto"; - m_audioDriver = xine_open_audio_driver (m_xineEngine, m_audioDriverName.ascii(), NULL); - } -@@ -1395,12 +1395,12 @@ void KXineWidget::initOSD() - { - if (!xine_osd_set_font(m_osd, m_osdFont, fontsizetable[m_osdSize])) - { -- debugOut(TQString("Font ->%1<- specified for OSD doesn't exists.").tqarg(m_osdFont)); -+ debugOut(TQString("Font ->%1<- specified for OSD doesn't exists.").arg(m_osdFont)); - free(m_osdFont); - m_osdFont = strdup("sans"); - xine_osd_set_font(m_osd, m_osdFont, fontsizetable[m_osdSize]); - } -- debugOut(TQString("Font for OSD: %1").tqarg(m_osdFont)); -+ debugOut(TQString("Font for OSD: %1").arg(m_osdFont)); - xine_osd_set_text_palette(m_osd, XINE_TEXTPALETTE_WHITE_BLACK_TRANSPARENT, XINE_OSD_TEXT1); - m_osdUnscaled = (xine_osd_get_capabilities(m_osd) & XINE_OSD_CAP_UNSCALED); - if (m_osdUnscaled) -@@ -1428,7 +1428,7 @@ bool KXineWidget::playDvb() - { - if (!m_visualPlugin) - { -- debugOut(TQString("Init visual plugin: %1").tqarg(m_visualPluginName)); -+ debugOut(TQString("Init visual plugin: %1").arg(m_visualPluginName)); - m_visualPlugin = new PostFilter(m_visualPluginName, m_xineEngine, m_audioDriver, m_videoDriver, NULL); - } - -@@ -1438,7 +1438,7 @@ bool KXineWidget::playDvb() - { - if (m_visualPlugin) - { -- debugOut(TQString("Dispose visual plugin: %1").tqarg(m_visualPluginName)); -+ debugOut(TQString("Dispose visual plugin: %1").arg(m_visualPluginName)); - delete m_visualPlugin; - m_visualPlugin = NULL; - } -@@ -1978,7 +1978,7 @@ void KXineWidget::slotPlay() - if ( turl.startsWith("/") ) - turl.prepend("file://"); - -- debugOut(TQString("Playing: %1").tqarg(turl.local8Bit().data())); -+ debugOut(TQString("Playing: %1").arg(turl.local8Bit().data())); - - xine_set_param( m_xineStream, XINE_PARAM_METRONOM_PREBUFFER, 12000 ); - if (!xine_open(m_xineStream, TQFile::encodeName(turl))) { -@@ -2002,7 +2002,7 @@ void KXineWidget::slotPlay() - { - if (m_visualPluginName && (!m_xinePost)) - { -- debugOut(TQString("Init visual plugin: %1").tqarg(m_visualPluginName)); -+ debugOut(TQString("Init visual plugin: %1").arg(m_visualPluginName)); - m_xinePost = xine_post_init(m_xineEngine, m_visualPluginName, 0, - &m_audioDriver, - &m_videoDriver); -@@ -2016,7 +2016,7 @@ void KXineWidget::slotPlay() - { - if (m_xinePost) - { -- debugOut(TQString("Dispose visual plugin: %1").tqarg(m_visualPluginName)); -+ debugOut(TQString("Dispose visual plugin: %1").arg(m_visualPluginName)); - m_postAudioSource = xine_get_audio_source(m_xineStream); - xine_post_wire_audio_port(m_postAudioSource, m_audioDriver); - xine_post_dispose(m_xineEngine, m_xinePost); -@@ -2248,7 +2248,7 @@ void KXineWidget::sendXineError() - else - { - errorOut(error); -- errorOut(TQString("Can't play: %1 - trying next").tqarg(m_trackURL)); -+ errorOut(TQString("Can't play: %1 - trying next").arg(m_trackURL)); - TQTimer::singleShot(0, this, TQT_SLOT(slotPlay())); - } - } -@@ -2290,7 +2290,7 @@ void KXineWidget::showOSDMessage(const TQString& message, uint duration, int pri - return; - prevOsdPriority = priority; - -- //debugOut(TQString("OSD: draw text: %1").tqarg(message)); -+ //debugOut(TQString("OSD: draw text: %1").arg(message)); - xine_osd_clear(m_osd); - xine_osd_draw_text(m_osd, 0, 0, message.local8Bit(), XINE_OSD_TEXT1); - -@@ -2348,7 +2348,7 @@ void KXineWidget::slotCreateVideoFilter(const TQString& name, TQWidget* parent) - wireVideoFilters(); - #else - parent = parent; -- warningOut(TQString("Not implemented [CreateVideoFilter %1]").tqarg(name)); -+ warningOut(TQString("Not implemented [CreateVideoFilter %1]").arg(name)); - #endif - } - -@@ -2364,7 +2364,7 @@ void KXineWidget::slotCreateAudioFilter(const TQString& name, TQWidget* parent) - wireAudioFilters(); - #else - parent = parent; -- warningOut(TQString("Not implemented [CreateAudioFilter %1]").tqarg(name)); -+ warningOut(TQString("Not implemented [CreateAudioFilter %1]").arg(name)); - #endif - } - -@@ -2478,7 +2478,7 @@ void KXineWidget::wireAudioFilters() - { - if (!m_visualPlugin) - { -- debugOut(TQString("Init visual plugin: %1").tqarg(m_visualPluginName)); -+ debugOut(TQString("Init visual plugin: %1").arg(m_visualPluginName)); - m_visualPlugin = new PostFilter(m_visualPluginName, m_xineEngine, m_audioDriver, m_videoDriver, NULL); - } - -@@ -2488,7 +2488,7 @@ void KXineWidget::wireAudioFilters() - { - if (m_visualPlugin) - { -- debugOut(TQString("Dispose visual plugin: %1").tqarg(m_visualPluginName)); -+ debugOut(TQString("Dispose visual plugin: %1").arg(m_visualPluginName)); - delete m_visualPlugin; - m_visualPlugin = NULL; - } -@@ -2571,7 +2571,7 @@ TQStringList KXineWidget::getVisualPlugins() const - void KXineWidget::slotSetVisualPlugin(const TQString& visual) - { - if (m_visualPluginName == visual) return; -- debugOut(TQString("New visualization plugin: %1").tqarg(visual)); -+ debugOut(TQString("New visualization plugin: %1").arg(visual)); - - #ifndef USE_TQT_ONLY - unwireAudioFilters(); -@@ -2660,7 +2660,7 @@ void KXineWidget::slotSetVolume(int vol) - if (!isXineReady()) return; - if (m_softwareMixer) - { -- //debugOut(TQString("Set software amplification level: %1").tqarg(vol)); -+ //debugOut(TQString("Set software amplification level: %1").arg(vol)); - if (m_volumeGain) - xine_set_param(m_xineStream, XINE_PARAM_AUDIO_AMP_LEVEL, vol*2); - else -@@ -2668,7 +2668,7 @@ void KXineWidget::slotSetVolume(int vol) - } - else - { -- //debugOut(TQString("Set audio mixer volume: %1").tqarg(vol)); -+ //debugOut(TQString("Set audio mixer volume: %1").arg(vol)); - xine_set_param(m_xineStream, XINE_PARAM_AUDIO_VOLUME, vol); - } - emit signalXineStatus(i18n("Volume") + ": " + TQString::number(vol) +"%"); -@@ -2872,7 +2872,7 @@ void KXineWidget::slotStop() - - void KXineWidget::slotSetAudiocdDevice(const TQString& device) - { -- debugOut(TQString("Set AudioCD device to %1").tqarg(device)); -+ debugOut(TQString("Set AudioCD device to %1").arg(device)); - - xine_cfg_entry_t config; - xine_config_lookup_entry(m_xineEngine, "input.cdda_device", &config); -@@ -2884,7 +2884,7 @@ void KXineWidget::slotSetAudiocdDevice(const TQString& device) - - void KXineWidget::slotSetVcdDevice(const TQString& device) - { -- debugOut(TQString("Set VCD device to %1").tqarg(device)); -+ debugOut(TQString("Set VCD device to %1").arg(device)); - - xine_cfg_entry_t config; - xine_config_lookup_entry(m_xineEngine, "input.vcd_device", &config); -@@ -2896,7 +2896,7 @@ void KXineWidget::slotSetVcdDevice(const TQString& device) - - void KXineWidget::slotSetDvdDevice(const TQString& device) - { -- debugOut(TQString("Set DVD device to %1").tqarg(device)); -+ debugOut(TQString("Set DVD device to %1").arg(device)); - - xine_cfg_entry_t config; - xine_config_lookup_entry(m_xineEngine, "input.dvd_device", &config); -@@ -2966,7 +2966,7 @@ void KXineWidget::setStreamSaveDir(const TQString& dir) - - if (!xine_config_lookup_entry(m_xineEngine, "misc.save_dir", &config)) return; /* older xine-lib */ - -- debugOut(TQString("Set misc.save_dir to: %1").tqarg(dir)); -+ debugOut(TQString("Set misc.save_dir to: %1").arg(dir)); - config.str_value = TQFile::encodeName(dir).data(); - xine_config_update_entry (m_xineEngine, &config); - } -@@ -2982,7 +2982,7 @@ const TQString KXineWidget::getStreamSaveDir() - - void KXineWidget::setBroadcasterPort(const uint port) - { -- debugOut(TQString("Set broadcaster port to %1").tqarg(port)); -+ debugOut(TQString("Set broadcaster port to %1").arg(port)); - xine_set_param(m_xineStream, XINE_PARAM_BROADCASTER_PORT, port); - } - -@@ -3018,7 +3018,7 @@ void KXineWidget::slotSpeedFaster() - { - xine_set_param(m_xineStream, XINE_PARAM_SPEED, XINE_SPEED_FAST_4); - m_currentSpeed = Fast2; -- emit signalXineStatus(i18n("Fast Forward %1").tqarg("x2")); -+ emit signalXineStatus(i18n("Fast Forward %1").arg("x2")); - break; - } - case Fast2: -@@ -3035,14 +3035,14 @@ void KXineWidget::slotSpeedFaster() - { - xine_set_param(m_xineStream, XINE_PARAM_SPEED, XINE_SPEED_SLOW_2); - m_currentSpeed = Slow1; -- emit signalXineStatus(i18n("Slow Motion %1").tqarg("x1")); -+ emit signalXineStatus(i18n("Slow Motion %1").arg("x1")); - break; - } - default: - { - xine_set_param(m_xineStream, XINE_PARAM_SPEED, XINE_SPEED_FAST_2); - m_currentSpeed = Fast1; -- emit signalXineStatus(i18n("Fast Forward %1").tqarg("x1")); -+ emit signalXineStatus(i18n("Fast Forward %1").arg("x1")); - break; - } - } -@@ -3056,7 +3056,7 @@ void KXineWidget::slotSpeedSlower() - { - xine_set_param(m_xineStream, XINE_PARAM_SPEED, XINE_SPEED_SLOW_4); - m_currentSpeed = Slow2; -- emit signalXineStatus(i18n("Slow Motion %1").tqarg("x2")); -+ emit signalXineStatus(i18n("Slow Motion %1").arg("x2")); - break; - } - case Slow2: -@@ -3073,14 +3073,14 @@ void KXineWidget::slotSpeedSlower() - { - xine_set_param(m_xineStream, XINE_PARAM_SPEED, XINE_SPEED_FAST_2); - m_currentSpeed = Fast1; -- emit signalXineStatus(i18n("Fast Forward %1").tqarg("x1")); -+ emit signalXineStatus(i18n("Fast Forward %1").arg("x1")); - break; - } - default: - { - xine_set_param(m_xineStream, XINE_PARAM_SPEED, XINE_SPEED_SLOW_2); - m_currentSpeed = Slow1; -- emit signalXineStatus(i18n("Slow Motion %1").tqarg("x1")); -+ emit signalXineStatus(i18n("Slow Motion %1").arg("x1")); - break; - } - } -@@ -3093,14 +3093,14 @@ TQString KXineWidget::getSupportedExtensions() const - - void KXineWidget::slotSetAudioChannel(int ch) - { -- debugOut(TQString("Switch to audio channel %1").tqarg(ch-1)); -+ debugOut(TQString("Switch to audio channel %1").arg(ch-1)); - xine_set_param(m_xineStream, XINE_PARAM_AUDIO_CHANNEL_LOGICAL, ch-1); - } - - - void KXineWidget::slotSetSubtitleChannel(int ch) - { -- debugOut(TQString("Switch to subtitle channel %1").tqarg(ch-1)); -+ debugOut(TQString("Switch to subtitle channel %1").arg(ch-1)); - xine_set_param(m_xineStream, XINE_PARAM_SPU_CHANNEL, ch-1); - } - -@@ -3306,7 +3306,7 @@ void KXineWidget::slotSetDeinterlaceConfig(const TQString& config) - if (m_deinterlaceFilter) - m_deinterlaceFilter->setConfig(config); - #else -- warningOut(TQString ("Not implemented [SetDeinterlaceConfig %1]").tqarg(config)); -+ warningOut(TQString ("Not implemented [SetDeinterlaceConfig %1]").arg(config)); - #endif - } - -@@ -3318,7 +3318,7 @@ void KXineWidget::slotToggleDeinterlace() - if (m_deinterlaceFilter) - { - m_deinterlaceEnabled = !m_deinterlaceEnabled; -- debugOut(TQString("Deinterlace enabled: %1").tqarg(m_deinterlaceEnabled)); -+ debugOut(TQString("Deinterlace enabled: %1").arg(m_deinterlaceEnabled)); - if ( m_deinterlaceEnabled ) s = i18n("Deinterlace: on"); - else s = i18n("Deinterlace: off"); - showOSDMessage( s, 2000 ); -@@ -3786,7 +3786,7 @@ TQImage KXineWidget::getScreenshot() const - else - height = (int)((double) height / scaleFactor + 0.5); - -- debugOut(TQString("Screenshot: scale picture from %1x%2 to %3x%4").tqarg(screenShot.width()).tqarg(screenShot.height()).tqarg(width).tqarg(height)); -+ debugOut(TQString("Screenshot: scale picture from %1x%2 to %3x%4").arg(screenShot.width()).arg(screenShot.height()).arg(width).arg(height)); - screenShot = screenShot.smoothScale(width, height); - - delete []rgbPile; -@@ -3849,7 +3849,7 @@ void KXineWidget::getScreenshot(uchar*& rgb32BitData, int& videoWidth, int& vide - break; - default: - { -- warningOut(TQString("Screenshot: Format %1 not supportet!").tqarg((char*)&format)); -+ warningOut(TQString("Screenshot: Format %1 not supportet!").arg((char*)&format)); - delete [] yuv; - return; - } -@@ -3880,7 +3880,7 @@ void KXineWidget::getScreenshot(uchar*& rgb32BitData, int& videoWidth, int& vide - desired_ratio = 4.0 / 3.0; - break; - default: -- warningOut(TQString("Screenshot: Unknown aspect ratio: %1 - using 4:3").tqarg(ratio)); -+ warningOut(TQString("Screenshot: Unknown aspect ratio: %1 - using 4:3").arg(ratio)); - case XINE_VO_ASPECT_STQUARE: - debugOut("Screenshot: got video aspect: 1:1"); - desired_ratio = image_ratio; -@@ -3888,7 +3888,7 @@ void KXineWidget::getScreenshot(uchar*& rgb32BitData, int& videoWidth, int& vide - } - */ - -- debugOut(TQString("Screenshot: using scale factor: %1").tqarg(m_videoAspect)); -+ debugOut(TQString("Screenshot: using scale factor: %1").arg(m_videoAspect)); - scaleFactor = m_videoAspect; - - delete [] yuv; -diff --git a/kaffeine/src/player-parts/xine-part/xine_part.cpp b/kaffeine/src/player-parts/xine-part/xine_part.cpp -index f9b3fb1..1b9c123 100644 ---- a/kaffeine/src/player-parts/xine-part/xine_part.cpp -+++ b/kaffeine/src/player-parts/xine-part/xine_part.cpp -@@ -304,7 +304,7 @@ void XinePart::slotPlay(bool forcePlay) - { - TQString sub; - if ((!mrl.subtitleFiles().isEmpty()) && (mrl.currentSubtitle() > -1)) -- sub = TQString("#subtitle:%1").tqarg(mrl.subtitleFiles()[mrl.currentSubtitle()]); -+ sub = TQString("#subtitle:%1").arg(mrl.subtitleFiles()[mrl.currentSubtitle()]); - - m_xine->clearQueue(); - m_xine->appendToQueue(mrl.url() + sub ); -@@ -786,7 +786,7 @@ void XinePart::slotNewPosition(int pos, const TQTime& playtime) - } - else - { -- timeMessage = i18n("%1 of %2").tqarg(calcLength.toString("h:mm:ss")).tqarg(length.toString("h:mm:ss")); -+ timeMessage = i18n("%1 of %2").arg(calcLength.toString("h:mm:ss")).arg(length.toString("h:mm:ss")); - m_xine->showOSDMessage(timeMessage, 600, OSD_MESSAGE_LOW_PRIORITY); - } - } -@@ -1623,7 +1623,7 @@ void XinePart::audiocdMRLS(MRL::List& mrls, bool& ok, bool& supported, const TQS - for (uint i = 0; i < list.count(); i++) - { - mrl = MRL(list[i]); -- mrl.setTitle(i18n("AudioCD Track %1").tqarg(i+1)); -+ mrl.setTitle(i18n("AudioCD Track %1").arg(i+1)); - mrl.setTrack(TQString::number(i+1)); - if (xine_open(xineStreamForMeta, TQFile::encodeName(mrl.url()))) - { -@@ -1698,7 +1698,7 @@ void XinePart::vcdMRLS(MRL::List& mrls, bool& ok, bool& supported, const TQStrin - mrl = MRL(list[i]); - mrl.setMime("video/vcd"); - mrl.setTrack(TQString::number(i+1)); -- mrl.setTitle(i18n("VCD Track %1").tqarg(i+1)); -+ mrl.setTitle(i18n("VCD Track %1").arg(i+1)); - mrls.append(mrl); - } - if (mrls.count()) -diff --git a/kaffeine/src/player-parts/xine-part/xineconfig.cpp b/kaffeine/src/player-parts/xine-part/xineconfig.cpp -index 74076e4..6d6a2d4 100644 ---- a/kaffeine/src/player-parts/xine-part/xineconfig.cpp -+++ b/kaffeine/src/player-parts/xine-part/xineconfig.cpp -@@ -272,7 +272,7 @@ XineConfig::XineConfig(const xine_t* const xine) : - else - icon = "edit"; - -- xineFrame = addPage(*it, i18n("%1 Options").tqarg(*it), KGlobal::iconLoader()->loadIcon(icon, KIcon::Panel, -+ xineFrame = addPage(*it, i18n("%1 Options").arg(*it), KGlobal::iconLoader()->loadIcon(icon, KIcon::Panel, - KIcon::SizeMedium)); - xineLayout = new TQVBoxLayout(xineFrame, marginHint(), spacingHint()); - tabWidget = new TQTabWidget(xineFrame); -diff --git a/kaffeine/src/startwindow.cpp b/kaffeine/src/startwindow.cpp -index a86696e..67948a9 100644 ---- a/kaffeine/src/startwindow.cpp -+++ b/kaffeine/src/startwindow.cpp -@@ -113,7 +113,7 @@ void StartWindow::registerTarget( const TQString& uiName, const TQString& pixNam - //f.setPointSize( f.pointSize()+2 ); - //f.setBold(true); - //btn->setFont( f ); -- btn->setTextLabel( TQString("&%1 %2").tqarg(buttons.count() + 1).tqarg(uiName)); -+ btn->setTextLabel( TQString("&%1 %2").arg(buttons.count() + 1).arg(uiName)); - TQToolTip::add(btn, uiName); - btn->setTextPosition( TQToolButton::Under ); - btn->setUsesTextLabel( true ); diff --git a/redhat/applications/kaffeine/kaffeine-3.5.13-rename_obsolete_tq_methods.patch b/redhat/applications/kaffeine/kaffeine-3.5.13-rename_obsolete_tq_methods.patch deleted file mode 100644 index a60af902e..000000000 --- a/redhat/applications/kaffeine/kaffeine-3.5.13-rename_obsolete_tq_methods.patch +++ /dev/null @@ -1,643 +0,0 @@ -commit 66805bafb9e1db535090dd74f6bdc56c2ac431c0 -Author: Timothy Pearson -Date: 1324497848 -0600 - - Rename obsolete tq methods to standard names - -diff --git a/kaffeine/src/input/audiobrowser/playlist.cpp b/kaffeine/src/input/audiobrowser/playlist.cpp -index e67603e..c48cf28 100644 ---- a/kaffeine/src/input/audiobrowser/playlist.cpp -+++ b/kaffeine/src/input/audiobrowser/playlist.cpp -@@ -169,10 +169,10 @@ struct CoverPopup : public TQWidget - CoverPopup(const TQPixmap &image, const TQPoint &p) : - TQWidget(0, 0, WDestructiveClose | WX11BypassWM) - { -- TQHBoxLayout *tqlayout = new TQHBoxLayout(this); -+ TQHBoxLayout *layout = new TQHBoxLayout(this); - TQLabel *label = new TQLabel(this); - -- tqlayout->addWidget(label); -+ layout->addWidget(label); - label->setFrameStyle(TQFrame::Box | TQFrame::Raised); - label->setLineWidth(1); - label->setPixmap(image); -@@ -342,7 +342,7 @@ PlayList::PlayList( TQWidget* parent, TQObject *objParent, const char *name ) : - KIO::NetAccess::mkdir(m_playlistDirectory, mainWidget); - kdDebug() << "PLAYLIST" << endl; - -- TQGridLayout* tqlayout = new TQGridLayout( playlist, 4, 2, 3 ); -+ TQGridLayout* layout = new TQGridLayout( playlist, 4, 2, 3 ); - - m_list = new UrlListView(playlist); - mainWidget->setAcceptDrops(true); -@@ -379,12 +379,12 @@ PlayList::PlayList( TQWidget* parent, TQObject *objParent, const char *name ) : - m_list->setRenameable(TRACK_COLUMN); - m_list->setAllColumnsShowFocus(true); - m_list->setShowSortIndicator(true); -- tqlayout->addMultiCellWidget(m_list, 3, 3, 0, 1); -+ layout->addMultiCellWidget(m_list, 3, 3, 0, 1); - - coverFrame = new CoverFrame( playlist ); - coverFrame->setFixedWidth( 80 ); - coverFrame->setFixedHeight( 80 ); -- tqlayout->addMultiCellWidget(coverFrame, 0, 2, 0, 0); -+ layout->addMultiCellWidget(coverFrame, 0, 2, 0, 0); - - TQHBoxLayout *h1 = new TQHBoxLayout(); - searchBtn = new TQToolButton( playlist ); -@@ -397,7 +397,7 @@ PlayList::PlayList( TQWidget* parent, TQObject *objParent, const char *name ) : - m_playlistFilter = new KLineEdit(playlist); - m_playlistFilter->setFocusPolicy(TQ_ClickFocus); - h1->addWidget(m_playlistFilter); -- tqlayout->addLayout( h1, 2, 1 ); -+ layout->addLayout( h1, 2, 1 ); - - TQHBoxLayout *h2 = new TQHBoxLayout(); - TQLabel* playlistLabel = new TQLabel(i18n("Playlist:"), playlist); -@@ -410,10 +410,10 @@ PlayList::PlayList( TQWidget* parent, TQObject *objParent, const char *name ) : - m_playlistSelector->setFocusPolicy(TQ_ClickFocus); - TQToolTip::add(m_playlistSelector, i18n("Select the active playlist. To change playlist name edit it and confirm with 'Return'.")); - h2->addWidget(m_playlistSelector); -- tqlayout->addLayout( h2, 1, 1 ); -+ layout->addLayout( h2, 1, 1 ); - - roller = new RollTitle( playlist ); -- tqlayout->addWidget( roller, 0, 1 ); -+ layout->addWidget( roller, 0, 1 ); - - KAccel* accel = new KAccel(mainWidget); - accel->insert("Delete selected", TQt::Key_Delete, this, TQT_SLOT(slotRemoveSelected())); -@@ -2145,7 +2145,7 @@ void PlayList::slotPaste() - - TQStrList list; - -- if (TQUriDrag::decode(TQApplication::tqclipboard()->data(), list)) -+ if (TQUriDrag::decode(TQApplication::clipboard()->data(), list)) - { - TQStringList urls; - for (TQStrListIterator it(list); *it; ++it) -@@ -2155,7 +2155,7 @@ void PlayList::slotPaste() - } - /** try to decode as text **/ - TQString text; -- if (TQTextDrag::decode(TQApplication::tqclipboard()->data(), text)) -+ if (TQTextDrag::decode(TQApplication::clipboard()->data(), text)) - { - add(text, lastSelected); - } -@@ -2173,7 +2173,7 @@ void PlayList::slotCopy() - urlList.append(TQUriDrag::unicodeUriToUri(dynamic_cast(selected.at(i))->url())); - } - -- TQApplication::tqclipboard()->setData(new TQUriDrag(urlList)); -+ TQApplication::clipboard()->setData(new TQUriDrag(urlList)); - } - - void PlayList::slotSelectAll() -diff --git a/kaffeine/src/input/disc/paranoiasettings.ui b/kaffeine/src/input/disc/paranoiasettings.ui -index 1d163d3..30bbe54 100644 ---- a/kaffeine/src/input/disc/paranoiasettings.ui -+++ b/kaffeine/src/input/disc/paranoiasettings.ui -@@ -24,7 +24,7 @@ -
- - -- tqlayout3 -+ layout3 - - - -@@ -174,7 +174,7 @@ - - - -- tqlayout8 -+ layout8 - - - -diff --git a/kaffeine/src/input/disc/plugins/mp3lame/lameconfig.ui b/kaffeine/src/input/disc/plugins/mp3lame/lameconfig.ui -index d956e5b..03485cf 100644 ---- a/kaffeine/src/input/disc/plugins/mp3lame/lameconfig.ui -+++ b/kaffeine/src/input/disc/plugins/mp3lame/lameconfig.ui -@@ -24,7 +24,7 @@ - - - -- tqlayout5 -+ layout5 - - - -@@ -51,7 +51,7 @@ - - - -- tqlayout7 -+ layout7 - - - -@@ -117,7 +117,7 @@ - - - -- tqlayout4 -+ layout4 - - - -diff --git a/kaffeine/src/input/disc/plugins/oggvorbis/oggconfig.ui b/kaffeine/src/input/disc/plugins/oggvorbis/oggconfig.ui -index b243300..f414545 100644 ---- a/kaffeine/src/input/disc/plugins/oggvorbis/oggconfig.ui -+++ b/kaffeine/src/input/disc/plugins/oggvorbis/oggconfig.ui -@@ -24,7 +24,7 @@ - - - -- tqlayout9 -+ layout9 - - - -@@ -107,7 +107,7 @@ - - - -- tqlayout7 -+ layout7 - - - -diff --git a/kaffeine/src/input/dvb/audioeditorui.ui b/kaffeine/src/input/dvb/audioeditorui.ui -index 1131eec..ab94806 100644 ---- a/kaffeine/src/input/dvb/audioeditorui.ui -+++ b/kaffeine/src/input/dvb/audioeditorui.ui -@@ -21,7 +21,7 @@ - - - -- tqlayout24 -+ layout24 - - - -@@ -29,7 +29,7 @@ - - - -- tqlayout23 -+ layout23 - - - -@@ -60,7 +60,7 @@ - - - -- tqlayout21 -+ layout21 - - - -@@ -68,7 +68,7 @@ - - - -- tqlayout16 -+ layout16 - - - -@@ -76,7 +76,7 @@ - - - -- tqlayout15 -+ layout15 - - - -@@ -146,7 +146,7 @@ - - - -- tqlayout14 -+ layout14 - - - -@@ -154,7 +154,7 @@ - - - -- tqlayout13 -+ layout13 - - - -@@ -258,7 +258,7 @@ - - - -- tqlayout19 -+ layout19 - - - -diff --git a/kaffeine/src/input/dvb/camdialog.ui b/kaffeine/src/input/dvb/camdialog.ui -index 9463cee..c255575 100644 ---- a/kaffeine/src/input/dvb/camdialog.ui -+++ b/kaffeine/src/input/dvb/camdialog.ui -@@ -21,7 +21,7 @@ - - - -- tqlayout5 -+ layout5 - - - -@@ -29,7 +29,7 @@ - - - -- tqlayout5 -+ layout5 - - - -diff --git a/kaffeine/src/input/dvb/cammenudialog.ui b/kaffeine/src/input/dvb/cammenudialog.ui -index f6b5a00..022993a 100644 ---- a/kaffeine/src/input/dvb/cammenudialog.ui -+++ b/kaffeine/src/input/dvb/cammenudialog.ui -@@ -21,7 +21,7 @@ - - - -- tqlayout7 -+ layout7 - - - -@@ -34,7 +34,7 @@ - - - -- tqlayout6 -+ layout6 - - - -diff --git a/kaffeine/src/input/dvb/channeleditorui.ui b/kaffeine/src/input/dvb/channeleditorui.ui -index ceb3d62..add07e2 100644 ---- a/kaffeine/src/input/dvb/channeleditorui.ui -+++ b/kaffeine/src/input/dvb/channeleditorui.ui -@@ -35,7 +35,7 @@ - - - -- tqlayout7 -+ layout7 - - - -@@ -43,7 +43,7 @@ - - - -- tqlayout8 -+ layout8 - - - -@@ -83,7 +83,7 @@ - - - -- tqlayout5 -+ layout5 - - - -@@ -138,7 +138,7 @@ - - - -- tqlayout6 -+ layout6 - - - -@@ -261,7 +261,7 @@ - - - -- tqlayout7 -+ layout7 - - - -@@ -642,7 +642,7 @@ - - - -- tqlayout14 -+ layout14 - - - -diff --git a/kaffeine/src/input/dvb/crontimerui.ui b/kaffeine/src/input/dvb/crontimerui.ui -index 87baff7..5441bee 100644 ---- a/kaffeine/src/input/dvb/crontimerui.ui -+++ b/kaffeine/src/input/dvb/crontimerui.ui -@@ -21,7 +21,7 @@ - - - -- tqlayout13 -+ layout13 - - - -@@ -29,7 +29,7 @@ - - - -- tqlayout12 -+ layout12 - - - -@@ -54,7 +54,7 @@ - - - -- tqlayout11 -+ layout11 - - - -@@ -271,7 +271,7 @@ - - - -- tqlayout9 -+ layout9 - - - -diff --git a/kaffeine/src/input/dvb/scandialogui.ui b/kaffeine/src/input/dvb/scandialogui.ui -index dbcff8b..654e762 100644 ---- a/kaffeine/src/input/dvb/scandialogui.ui -+++ b/kaffeine/src/input/dvb/scandialogui.ui -@@ -21,7 +21,7 @@ - - - -- tqlayout9 -+ layout9 - - - -@@ -29,7 +29,7 @@ - - - -- tqlayout8 -+ layout8 - - - -@@ -129,7 +129,7 @@ - - - -- tqlayout7 -+ layout7 - - - -@@ -487,7 +487,7 @@ - - - -- tqlayout9 -+ layout9 - - - -diff --git a/kaffeine/src/input/dvb/subeditorui.ui b/kaffeine/src/input/dvb/subeditorui.ui -index fb8d391..857cdc5 100644 ---- a/kaffeine/src/input/dvb/subeditorui.ui -+++ b/kaffeine/src/input/dvb/subeditorui.ui -@@ -35,7 +35,7 @@ - - - -- tqlayout19 -+ layout19 - - - -@@ -70,7 +70,7 @@ - - - -- tqlayout13 -+ layout13 - - - -@@ -101,7 +101,7 @@ - - - -- tqlayout12 -+ layout12 - - - -@@ -109,7 +109,7 @@ - - - -- tqlayout16 -+ layout16 - - - -@@ -117,7 +117,7 @@ - - - -- tqlayout15 -+ layout15 - - - -@@ -187,7 +187,7 @@ - - - -- tqlayout11 -+ layout11 - - - -@@ -195,7 +195,7 @@ - - - -- tqlayout13 -+ layout13 - - - -@@ -232,7 +232,7 @@ - - - -- tqlayout10 -+ layout10 - - - -@@ -274,7 +274,7 @@ - - - -- tqlayout9 -+ layout9 - - - -diff --git a/kaffeine/src/kaffeine.cpp b/kaffeine/src/kaffeine.cpp -index 9efebc9..10bd4be 100644 ---- a/kaffeine/src/kaffeine.cpp -+++ b/kaffeine/src/kaffeine.cpp -@@ -1591,7 +1591,7 @@ void Kaffeine::slotFakeKeyEvent() - } - } - --/** slots for meta to tqunicode encoding **/ -+/** slots for meta to unicode encoding **/ - - void Kaffeine::slotUseAlternateEncoding(bool useEncoding) - { -diff --git a/kaffeine/src/kmultitabbar.cpp b/kaffeine/src/kmultitabbar.cpp -index ecfa2c5..4ff1154 100644 ---- a/kaffeine/src/kmultitabbar.cpp -+++ b/kaffeine/src/kmultitabbar.cpp -@@ -474,7 +474,7 @@ TQSize KMultiTabBarButton::sizeHint() const - } - #endif - if ( isMenuButton() ) -- w += tqstyle().pixelMetric(TQStyle::PM_MenuButtonIndicator, this); -+ w += style().pixelMetric(TQStyle::PM_MenuButtonIndicator, this); - - if ( pixmap() ) { - TQPixmap *pm = (TQPixmap *)pixmap(); -@@ -493,7 +493,7 @@ TQSize KMultiTabBarButton::sizeHint() const - h = TQMAX(h, sz.height()); - } - -- return (tqstyle().tqsizeFromContents(TQStyle::CT_ToolButton, this, TQSize(w, h)). -+ return (style().tqsizeFromContents(TQStyle::CT_ToolButton, this, TQSize(w, h)). - expandedTo(TQApplication::globalStrut())); - } - -diff --git a/kaffeine/src/player-parts/gstreamer-part/gstreamerconfig.cpp b/kaffeine/src/player-parts/gstreamer-part/gstreamerconfig.cpp -index dd843f5..ccb56f3 100644 ---- a/kaffeine/src/player-parts/gstreamer-part/gstreamerconfig.cpp -+++ b/kaffeine/src/player-parts/gstreamer-part/gstreamerconfig.cpp -@@ -40,47 +40,47 @@ GStreamerConfig::GStreamerConfig(const TQStringList& audioDrivers, const TQStrin - setInitialSize(TQSize(400,300), true); - - TQFrame* frame = NULL; -- TQGridLayout* tqlayout = NULL; -+ TQGridLayout* layout = NULL; - TQLabel* label = NULL; - - //Audio Page - frame = addPage(i18n("Audio"), i18n("Audio Options"), KGlobal::iconLoader()->loadIcon("sound", KIcon::Panel, - KIcon::SizeMedium)); -- tqlayout = new TQGridLayout(frame, 10, 2); -- tqlayout->setMargin(10); -- tqlayout->setSpacing(10); -+ layout = new TQGridLayout(frame, 10, 2); -+ layout->setMargin(10); -+ layout->setSpacing(10); - m_audioDriverBox = new KComboBox(frame); - m_audioDriverBox->insertStringList(audioDrivers); - label = new TQLabel(i18n("Prefered audio driver"), frame); -- tqlayout->addWidget(label, 1, 0); -- tqlayout->addWidget(m_audioDriverBox, 1, 1); -- tqlayout->addMultiCellWidget(new KSeparator(Qt::Horizontal, frame), 2, 2, 0, 1); -+ layout->addWidget(label, 1, 0); -+ layout->addWidget(m_audioDriverBox, 1, 1); -+ layout->addMultiCellWidget(new KSeparator(Qt::Horizontal, frame), 2, 2, 0, 1); - - //Video Page - frame = addPage(i18n("Video"), i18n("Video Options"), KGlobal::iconLoader()->loadIcon("video", KIcon::Panel, - KIcon::SizeMedium)); -- tqlayout = new TQGridLayout(frame, 10, 2); -- tqlayout->setMargin(10); -- tqlayout->setSpacing(10); -+ layout = new TQGridLayout(frame, 10, 2); -+ layout->setMargin(10); -+ layout->setSpacing(10); - m_videoDriverBox = new KComboBox(frame); - m_videoDriverBox->insertStringList(videoDrivers); - label = new TQLabel(i18n("Prefered video driver")+ "*", frame); -- tqlayout->addWidget(label, 1, 0); -- tqlayout->addWidget(m_videoDriverBox, 1, 1); -- tqlayout->addMultiCellWidget(new KSeparator(Qt::Horizontal, frame), 2, 2, 0, 1); -- tqlayout->addWidget(new TQLabel(TQString("") + i18n("* Restart required!") + "", frame), 10, 1); -+ layout->addWidget(label, 1, 0); -+ layout->addWidget(m_videoDriverBox, 1, 1); -+ layout->addMultiCellWidget(new KSeparator(Qt::Horizontal, frame), 2, 2, 0, 1); -+ layout->addWidget(new TQLabel(TQString("") + i18n("* Restart required!") + "", frame), 10, 1); - - //Media page - frame = addPage(i18n("Media"), i18n("Media Options"), KGlobal::iconLoader()->loadIcon("cdrom_unmount", KIcon::Panel, - KIcon::SizeMedium)); -- tqlayout = new TQGridLayout(frame, 10, 2); -- tqlayout->setMargin(10); -- tqlayout->setSpacing(10); -+ layout = new TQGridLayout(frame, 10, 2); -+ layout->setMargin(10); -+ layout->setSpacing(10); - m_driveEdit = new KLineEdit(frame); - label = new TQLabel(i18n("CD, VCD, DVD drive"), frame); -- tqlayout->addWidget(label, 1, 0); -- tqlayout->addWidget(m_driveEdit, 1, 1); -- tqlayout->addMultiCellWidget(new KSeparator(Qt::Horizontal, frame), 2, 2, 0, 1); -+ layout->addWidget(label, 1, 0); -+ layout->addWidget(m_driveEdit, 1, 1); -+ layout->addMultiCellWidget(new KSeparator(Qt::Horizontal, frame), 2, 2, 0, 1); - } - - GStreamerConfig::~GStreamerConfig() -diff --git a/kaffeine/src/player-parts/xine-part/xine_part.cpp b/kaffeine/src/player-parts/xine-part/xine_part.cpp -index 1b9c123..98ff969 100644 ---- a/kaffeine/src/player-parts/xine-part/xine_part.cpp -+++ b/kaffeine/src/player-parts/xine-part/xine_part.cpp -@@ -212,7 +212,7 @@ bool XinePart::openURL(const MRL& mrl) - if (firstLine.contains("smil", false)) - { - kdDebug() << "XinePart: Try loading smil playlist\n"; -- if (KMessageBox::warningYesNo(0, i18n("SMIL (Synchronized Multimedia Integration Language) support is rudimentary!\nXinePart can now try to playback contained video sources without any tqlayout. Proceed?"), TQString(), KStdGuiItem::yes(), KStdGuiItem::no(), "smil_warning") == KMessageBox::Yes) -+ if (KMessageBox::warningYesNo(0, i18n("SMIL (Synchronized Multimedia Integration Language) support is rudimentary!\nXinePart can now try to playback contained video sources without any layout. Proceed?"), TQString(), KStdGuiItem::yes(), KStdGuiItem::no(), "smil_warning") == KMessageBox::Yes) - { - if (!PlaylistImport::smil(localFile, m_mrl, m_playlist)) - { -@@ -1240,7 +1240,7 @@ void XinePart::slotInfo() - if (m_xine->hasSaveURL()) - ts << "" << i18n("Save Stream as") << ": " << m_xine->getSaveURL() << ""; - -- ts << ""; // added for better tqlayout -+ ts << ""; // added for better layout - ts << ""; - KMessageBox::information(0, info, i18n("Track info") ); - } diff --git a/redhat/applications/kaffeine/kaffeine-3.5.13-rename_old_tq_methods.patch b/redhat/applications/kaffeine/kaffeine-3.5.13-rename_old_tq_methods.patch deleted file mode 100644 index 84d5945b8..000000000 --- a/redhat/applications/kaffeine/kaffeine-3.5.13-rename_old_tq_methods.patch +++ /dev/null @@ -1,2103 +0,0 @@ -commit 60ed202f8065829574473fdfc20f53281d274ceb -Author: Timothy Pearson -Date: 1324253348 -0600 - - Rename old tq methods that no longer need a unique name - -diff --git a/kaffeine/src/input/audiobrowser/playlist.cpp b/kaffeine/src/input/audiobrowser/playlist.cpp -index 9c418a1..3735b61 100644 ---- a/kaffeine/src/input/audiobrowser/playlist.cpp -+++ b/kaffeine/src/input/audiobrowser/playlist.cpp -@@ -75,14 +75,14 @@ - - RollTitle::RollTitle( TQWidget *parent ) : TQLabel( "I", parent ) - { -- TQColorGroup cg = parentWidget()->tqcolorGroup(); -+ TQColorGroup cg = parentWidget()->colorGroup(); - TQColor base = cg.base(); - TQColor selection = cg.highlight(); - int r = (base.red() + selection.red()) / 2; - int b = (base.blue() + selection.blue()) / 2; - int g = (base.green() + selection.green()) / 2; - back = TQColor(r, g, b); -- fore = parentWidget()->tqcolorGroup().text(); -+ fore = parentWidget()->colorGroup().text(); - setPaletteBackgroundColor( back ); - setPaletteForegroundColor( fore ); - setFrameStyle( TQFrame::StyledPanel | TQFrame::Sunken ); -@@ -115,7 +115,7 @@ void RollTitle::setTitle( TQString t ) - { - TQLabel *lab = new TQLabel( t, this ); - lab->setFrameStyle( TQFrame::StyledPanel | TQFrame::Sunken ); -- lab->resize( lab->tqsizeHint() ); -+ lab->resize( lab->sizeHint() ); - int x = 2*lab->frameWidth(); - titlePix = TQPixmap( lab->width()-x, height()-x, -1, TQPixmap::BestOptim ); - delete lab; -@@ -149,7 +149,7 @@ void RollTitle::rollTitle() - void RollTitle::paintEvent( TQPaintEvent *pe ) - { - TQLabel::paintEvent( pe ); -- TQColorGroup cg = parentWidget()->tqcolorGroup(); -+ TQColorGroup cg = parentWidget()->colorGroup(); - TQColor base = cg.base(); - TQColor selection = cg.highlight(); - int r = (base.red() + selection.red()) / 2; -@@ -157,7 +157,7 @@ void RollTitle::paintEvent( TQPaintEvent *pe ) - int g = (base.green() + selection.green()) / 2; - back=TQColor(r,g,b); - setPaletteBackgroundColor( back ); -- fore = parentWidget()->tqcolorGroup().text(); -+ fore = parentWidget()->colorGroup().text(); - setPaletteForegroundColor( fore ); - setTitle( title ); - } -@@ -283,7 +283,7 @@ PlayList::PlayList( TQWidget* parent, TQObject *objParent, const char *name ) : - google = NULL; - - mainWidget = new TQVBox( parent ); -- //mainWidget->tqsetSizePolicy( TQSizePolicy (TQSizePolicy::Preferred, TQSizePolicy::Preferred) ); -+ //mainWidget->setSizePolicy( TQSizePolicy (TQSizePolicy::Preferred, TQSizePolicy::Preferred) ); - hSplit = new TQSplitter( mainWidget ); - hSplit->setOpaqueResize( true ); - panel = new TQVBox( hSplit ); -@@ -404,7 +404,7 @@ PlayList::PlayList( TQWidget* parent, TQObject *objParent, const char *name ) : - h2->addWidget(playlistLabel); - m_playlistSelector = new KComboBox( playlist ); - m_playlistSelector->setMinimumWidth(10); -- m_playlistSelector->tqsetSizePolicy( TQSizePolicy (TQSizePolicy::MinimumExpanding, TQSizePolicy::Preferred) ); -+ m_playlistSelector->setSizePolicy( TQSizePolicy (TQSizePolicy::MinimumExpanding, TQSizePolicy::Preferred) ); - m_playlistSelector->setEditable(true); - m_playlistSelector->setDuplicatesEnabled(false); - m_playlistSelector->setFocusPolicy(TQ_ClickFocus); -@@ -706,7 +706,7 @@ MRL PlayList::getCurrent() - if (isQueueMode()) - { - m_queue.clear(); -- updatetqStatus(); -+ updateStatus(); - } - - if (m_random) -@@ -747,7 +747,7 @@ bool PlayList::nextTrack( MRL &mrl ) - { - mrl = m_queue.first(); - m_queue.remove(m_queue.begin()); -- updatetqStatus(); -+ updateStatus(); - return true; - } - -@@ -802,7 +802,7 @@ bool PlayList::previousTrack( MRL &mrl ) - if (isQueueMode()) - { - m_queue.clear(); -- updatetqStatus(); -+ updateStatus(); - } - - if (!m_currentEntry) { -@@ -1349,7 +1349,7 @@ void PlayList::add(const TQStringList& urlList, TQListViewItem* after) - - delete progress; - if (m_random) createRandomList(); -- updatetqStatus(); -+ updateStatus(); - } - - void PlayList::add(const TQValueList& mrlList, TQListViewItem* after) -@@ -1357,7 +1357,7 @@ void PlayList::add(const TQValueList& mrlList, TQListViewItem* after) - TQValueList::ConstIterator end(mrlList.end()); - for (TQValueList::ConstIterator it = mrlList.begin(); it != end; ++it) - after = insertItem(after, *it); -- updatetqStatus(); -+ updateStatus(); - if (m_random) createRandomList(); - } - -@@ -1419,7 +1419,7 @@ void PlayList::clearList() - m_playlistFilter->clear(); - m_searchSelection = false; - } -- updatetqStatus(); -+ updateStatus(); - m_currentEntry = NULL; - m_currentRandomListEntry = -1; - } -@@ -1435,7 +1435,7 @@ void PlayList::slotDropEvent(TQDropEvent* dev, TQListViewItem* after) - { - for (uint i=0; i < urls.count() ;i++) - { -- //KURL url(TQUriDrag::tqunicodeUriToUri(urls[i])); -+ //KURL url(TQUriDrag::unicodeUriToUri(urls[i])); - //newurls << url.path(-1); - //kdDebug() << "PlayList: Dropped " << url.path() << endl; - newurls << urls[i]; -@@ -1453,7 +1453,7 @@ void PlayList::slotDropEvent(TQDropEvent* dev, TQListViewItem* after) - else - if (strcmp(dev->format(), "text/x-moz-url") == 0) /* for mozilla drops */ - { -- TQByteArray data = dev->tqencodedData("text/plain"); -+ TQByteArray data = dev->encodedData("text/plain"); - TQString md(data); - add(md, after); - } -@@ -1602,7 +1602,7 @@ void PlayList::mergeMeta(const MRL& mrl) - if (tmp->isVisible()) - m_playTimeVisible += timeStringToMs(tmp->length()); - -- updatetqStatus(); -+ updateStatus(); - } - } - -@@ -1762,10 +1762,10 @@ void PlayList::slotRemoveSelected() - } - - if (m_random) createRandomList(); -- updatetqStatus(); -+ updateStatus(); - } - --void PlayList::updatetqStatus() -+void PlayList::updateStatus() - { - TQString status; - if (isQueueMode()) -@@ -2121,7 +2121,7 @@ void PlayList::slotFindText(const TQString& text) - m_searchSelection = true; - - if (m_random) createRandomList(); -- updatetqStatus(); -+ updateStatus(); - } - - -@@ -2170,7 +2170,7 @@ void PlayList::slotCopy() - - for (uint i=0; i(selected.at(i))->url())); -+ urlList.append(TQUriDrag::unicodeUriToUri(dynamic_cast(selected.at(i))->url())); - } - - TQApplication::tqclipboard()->setData(new TQUriDrag(urlList)); -@@ -2209,7 +2209,7 @@ void PlayList::slotPlaylistFromSelected() - void PlayList::slotAddToQueue(MRL mrl) - { - m_queue.append(mrl); -- updatetqStatus(); -+ updateStatus(); - } - - /**** helper ****/ -diff --git a/kaffeine/src/input/audiobrowser/playlist.h b/kaffeine/src/input/audiobrowser/playlist.h -index 7f0a89a..7be7a6d 100644 ---- a/kaffeine/src/input/audiobrowser/playlist.h -+++ b/kaffeine/src/input/audiobrowser/playlist.h -@@ -239,7 +239,7 @@ private slots: - - private: - TQListViewItem* insertItem(TQListViewItem* after, const MRL&); -- void updatetqStatus(); -+ void updateStatus(); - void createRandomList(); - void getMetaInfo(MRL& mrl, const TQString& mimeName); - void setupActions(); -diff --git a/kaffeine/src/input/audiobrowser/playlistitem.cpp b/kaffeine/src/input/audiobrowser/playlistitem.cpp -index 813f5c2..fe5a494 100644 ---- a/kaffeine/src/input/audiobrowser/playlistitem.cpp -+++ b/kaffeine/src/input/audiobrowser/playlistitem.cpp -@@ -249,10 +249,10 @@ void PlaylistItem::paintCell(TQPainter *p, const TQColorGroup &cg, int column, i - { - if (isCurrent) - { -- TQColorGroup tqcolorGroup = cg; -+ TQColorGroup colorGroup = cg; - -- TQColor base = tqcolorGroup.base(); -- TQColor selection = tqcolorGroup.highlight(); -+ TQColor base = colorGroup.base(); -+ TQColor selection = colorGroup.highlight(); - - int r = (base.red() + selection.red()) / 2; - int b = (base.blue() + selection.blue()) / 2; -@@ -260,8 +260,8 @@ void PlaylistItem::paintCell(TQPainter *p, const TQColorGroup &cg, int column, i - - TQColor c(r, g, b); - -- tqcolorGroup.setColor(TQColorGroup::Base, c); -- TQListViewItem::paintCell(p, tqcolorGroup, column, width, align); -+ colorGroup.setColor(TQColorGroup::Base, c); -+ TQListViewItem::paintCell(p, colorGroup, column, width, align); - } - else - return KListViewItem::paintCell(p, cg, column, width, align); -diff --git a/kaffeine/src/input/disc/disc.cpp b/kaffeine/src/input/disc/disc.cpp -index 62dc3a5..e392dca 100644 ---- a/kaffeine/src/input/disc/disc.cpp -+++ b/kaffeine/src/input/disc/disc.cpp -@@ -50,7 +50,7 @@ MLabel::MLabel( TQWidget *parent ) : TQLabel( parent ) - void MLabel::paintEvent( TQPaintEvent *pe ) - { - TQLabel::paintEvent( pe ); -- TQColorGroup cg = parentWidget()->tqcolorGroup(); -+ TQColorGroup cg = parentWidget()->colorGroup(); - TQColor base = cg.base(); - TQColor selection = cg.highlight(); - int r = (base.red() + selection.red()) / 2; -@@ -76,22 +76,22 @@ void MListView::resizeEvent( TQResizeEvent *rev ) - Disc::Disc( TQWidget* parent, TQObject *objParent, const char *name ) : KaffeineInput(objParent , name) - { - mainWidget = new TQVBox( parent ); -- mainWidget->tqsetSizePolicy( TQSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Preferred) ); -+ mainWidget->setSizePolicy( TQSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Preferred) ); - split = new TQSplitter( mainWidget ); - split->setOpaqueResize( true ); - widg = new TQWidget( split ); - widg->setMinimumWidth( 200 ); -- widg->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::MinimumExpanding ) ); -+ widg->setSizePolicy( TQSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::MinimumExpanding ) ); - TQVBoxLayout *wb = new TQVBoxLayout( widg, 0, 0 ); - discLab = new MLabel( widg ); - wb->addWidget( discLab ); - playerBox = new TQVBox( widg ); - wb->addWidget( playerBox ); - playerBox->setMinimumWidth( 200 ); -- playerBox->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::MinimumExpanding ) ); -+ playerBox->setSizePolicy( TQSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::MinimumExpanding ) ); - panel = new TQFrame( split ); - split->moveToFirst( panel ); -- panel->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::MinimumExpanding ) ); -+ panel->setSizePolicy( TQSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::MinimumExpanding ) ); - split->setResizeMode( panel, TQSplitter::KeepSize ); - - TQVBoxLayout *vb = new TQVBoxLayout( panel, 3, 3 ); -@@ -99,13 +99,13 @@ Disc::Disc( TQWidget* parent, TQObject *objParent, const char *name ) : Kaffeine - cdBtn->setTextLabel( i18n("Play CD") ); - cdBtn->setTextPosition( TQToolButton::Under ); - cdBtn->setUsesTextLabel( true ); -- cdBtn->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::Fixed ) ); -+ cdBtn->setSizePolicy( TQSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::Fixed ) ); - TQToolTip::add( cdBtn, i18n("Play CD")); - ripBtn = new TQToolButton( panel ); - ripBtn->setTextLabel( i18n("Rip CD") ); - ripBtn->setTextPosition( TQToolButton::Under ); - ripBtn->setUsesTextLabel( true ); -- ripBtn->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::Fixed ) ); -+ ripBtn->setSizePolicy( TQSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::Fixed ) ); - TQToolTip::add( ripBtn, i18n("Rip CD")); - - TQHBoxLayout *h1 = new TQHBoxLayout(); -@@ -124,7 +124,7 @@ Disc::Disc( TQWidget* parent, TQObject *objParent, const char *name ) : Kaffeine - artistLab = new TQLabel( "", panel ); - artistLab->setLineWidth(1); - artistLab->setFrameStyle(TQFrame::Panel|TQFrame::Sunken); -- artistLab->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Preferred ) ); -+ artistLab->setSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Preferred ) ); - h1->addWidget( artistLab ); - vb->addLayout( h1 ); - h1 = new TQHBoxLayout(); -@@ -132,7 +132,7 @@ Disc::Disc( TQWidget* parent, TQObject *objParent, const char *name ) : Kaffeine - albumLab = new TQLabel( "", panel ); - albumLab->setLineWidth(1); - albumLab->setFrameStyle(TQFrame::Panel|TQFrame::Sunken); -- albumLab->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Preferred ) ); -+ albumLab->setSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Preferred ) ); - h1->addWidget( albumLab ); - vb->addLayout( h1 ); - -@@ -161,7 +161,7 @@ Disc::Disc( TQWidget* parent, TQObject *objParent, const char *name ) : Kaffeine - enc->setTextPosition( TQToolButton::Under ); - enc->setUsesTextLabel( true ); - enc->setIconSet( KGlobal::iconLoader()->loadIconSet("kilogram", KIcon::Small) ); -- enc->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed ) ); -+ enc->setSizePolicy( TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed ) ); - connect( enc, TQT_SIGNAL(clicked()), this, TQT_SLOT(encode()) ); - vb->addWidget( encodeWidget ); - encodeWidget->hide(); -diff --git a/kaffeine/src/input/disc/paranoiasettings.ui b/kaffeine/src/input/disc/paranoiasettings.ui -index e20c98f..1d163d3 100644 ---- a/kaffeine/src/input/disc/paranoiasettings.ui -+++ b/kaffeine/src/input/disc/paranoiasettings.ui -@@ -165,7 +165,7 @@ - - Expanding - -- -+ - - 20 - 60 -@@ -190,7 +190,7 @@ - - Expanding - -- -+ - - 152 - 20 -diff --git a/kaffeine/src/input/disc/plugins/mp3lame/lameconfig.ui b/kaffeine/src/input/disc/plugins/mp3lame/lameconfig.ui -index 09a2a87..d956e5b 100644 ---- a/kaffeine/src/input/disc/plugins/mp3lame/lameconfig.ui -+++ b/kaffeine/src/input/disc/plugins/mp3lame/lameconfig.ui -@@ -108,7 +108,7 @@ - - Expanding - -- -+ - - 20 - 16 -@@ -133,7 +133,7 @@ - - Expanding - -- -+ - - 107 - 20 -diff --git a/kaffeine/src/input/disc/plugins/oggvorbis/oggconfig.ui b/kaffeine/src/input/disc/plugins/oggvorbis/oggconfig.ui -index b07342a..b243300 100644 ---- a/kaffeine/src/input/disc/plugins/oggvorbis/oggconfig.ui -+++ b/kaffeine/src/input/disc/plugins/oggvorbis/oggconfig.ui -@@ -98,7 +98,7 @@ - - Expanding - -- -+ - - 20 - 81 -@@ -123,7 +123,7 @@ - - Expanding - -- -+ - - 157 - 20 -diff --git a/kaffeine/src/input/dvb/audioeditorui.ui b/kaffeine/src/input/dvb/audioeditorui.ui -index 2324983..1131eec 100644 ---- a/kaffeine/src/input/dvb/audioeditorui.ui -+++ b/kaffeine/src/input/dvb/audioeditorui.ui -@@ -118,7 +118,7 @@ - - Expanding - -- -+ - - 40 - 20 -@@ -137,7 +137,7 @@ - - Expanding - -- -+ - - 20 - 40 -@@ -274,7 +274,7 @@ - - Expanding - -- -+ - - 40 - 20 -diff --git a/kaffeine/src/input/dvb/broadcasteditorui.ui b/kaffeine/src/input/dvb/broadcasteditorui.ui -index 86da4cf..a0939a2 100644 ---- a/kaffeine/src/input/dvb/broadcasteditorui.ui -+++ b/kaffeine/src/input/dvb/broadcasteditorui.ui -@@ -117,7 +117,7 @@ - - Expanding - -- -+ - - 20 - 20 -@@ -150,7 +150,7 @@ - - Expanding - -- -+ - - 20 - 20 -@@ -244,7 +244,7 @@ - - Expanding - -- -+ - - 20 - 20 -diff --git a/kaffeine/src/input/dvb/channeleditorui.ui b/kaffeine/src/input/dvb/channeleditorui.ui -index 24abfbb..ceb3d62 100644 ---- a/kaffeine/src/input/dvb/channeleditorui.ui -+++ b/kaffeine/src/input/dvb/channeleditorui.ui -@@ -72,7 +72,7 @@ - - Expanding - -- -+ - - 40 - 20 -@@ -633,7 +633,7 @@ - - Expanding - -- -+ - - 20 - 166 -@@ -666,7 +666,7 @@ - - Expanding - -- -+ - - 150 - 20 -diff --git a/kaffeine/src/input/dvb/crontimerui.ui b/kaffeine/src/input/dvb/crontimerui.ui -index 5b7a3bd..87baff7 100644 ---- a/kaffeine/src/input/dvb/crontimerui.ui -+++ b/kaffeine/src/input/dvb/crontimerui.ui -@@ -45,7 +45,7 @@ - - Expanding - -- -+ - - 32 - 20 -@@ -138,7 +138,7 @@ - - Expanding - -- -+ - - 20 - 67 -@@ -157,7 +157,7 @@ - - Expanding - -- -+ - - 39 - 20 -@@ -243,7 +243,7 @@ - - Expanding - -- -+ - - 32 - 20 -@@ -262,7 +262,7 @@ - - Expanding - -- -+ - - 20 - 95 -@@ -295,7 +295,7 @@ - - Expanding - -- -+ - - 177 - 20 -diff --git a/kaffeine/src/input/dvb/dvbevents.cpp b/kaffeine/src/input/dvb/dvbevents.cpp -index b842018..a777f79 100644 ---- a/kaffeine/src/input/dvb/dvbevents.cpp -+++ b/kaffeine/src/input/dvb/dvbevents.cpp -@@ -170,7 +170,7 @@ bool DVBevents::tableEIT( unsigned char* buffer ) - TQPtrList *currentEvents; - bool nodesc, parse; - TQDateTime start, cur, dt; -- unsigned int cdt = TQDateTime::tqcurrentDateTime().toTime_t(); -+ unsigned int cdt = TQDateTime::currentDateTime().toTime_t(); - - tid = getBits(buf,0,8); - length = getBits(buf,12,12); -@@ -298,7 +298,7 @@ ifend: - if ( parse ) - ++(desc->sn); - if ( nodesc ) { -- cur = TQDateTime::tqcurrentDateTime(); -+ cur = TQDateTime::currentDateTime(); - dt = desc->startDateTime; - sec = desc->duration.hour()*3600+desc->duration.minute()*60+desc->duration.second(); - if ( dt.addSecs( sec )title.length()<3 ) { -diff --git a/kaffeine/src/input/dvb/dvbout.cpp b/kaffeine/src/input/dvb/dvbout.cpp -index bd94126..1f392a8 100644 ---- a/kaffeine/src/input/dvb/dvbout.cpp -+++ b/kaffeine/src/input/dvb/dvbout.cpp -@@ -402,7 +402,7 @@ bool DVBout::goRec( const TQString &name, int maxsize, RecTimer *t ) - - haveRec = true; - if ( recTimer ) { -- TQTime t = recTimer->duration.addSecs( TQDateTime::tqcurrentDateTime().secsTo(recTimer->begin) ); -+ TQTime t = recTimer->duration.addSecs( TQDateTime::currentDateTime().secsTo(recTimer->begin) ); - stopRecTimer.start( TQTime().msecsTo( t ), true ); - } - else -diff --git a/kaffeine/src/input/dvb/dvbpanel.cpp b/kaffeine/src/input/dvb/dvbpanel.cpp -index 3623d7f..1b54229 100644 ---- a/kaffeine/src/input/dvb/dvbpanel.cpp -+++ b/kaffeine/src/input/dvb/dvbpanel.cpp -@@ -114,7 +114,7 @@ DvbPanel::DvbPanel( TQWidget *parent, TQObject *objParent, const char *name ) : - dvb.setAutoDelete( true ); - - mainWidget = new TQVBox( parent ); -- mainWidget->tqsetSizePolicy( TQSizePolicy (TQSizePolicy::Preferred, TQSizePolicy::Preferred) ); -+ mainWidget->setSizePolicy( TQSizePolicy (TQSizePolicy::Preferred, TQSizePolicy::Preferred) ); - split = new TQSplitter( mainWidget ); - split->setOpaqueResize( true ); - pbox = new TQVBox( split ); -@@ -129,7 +129,7 @@ DvbPanel::DvbPanel( TQWidget *parent, TQObject *objParent, const char *name ) : - iconView->setSpacing(0); - iconView->setItemsMovable(false); - iconView->setResizeMode(TQIconView::Adjust); -- iconView->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::Minimum ) ); -+ iconView->setSizePolicy( TQSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::Minimum ) ); - playerBox = new TQVBox( pbox ); - playerBox->setMinimumWidth( 200 ); - panel = new TQFrame( split ); -@@ -192,7 +192,7 @@ DvbPanel::DvbPanel( TQWidget *parent, TQObject *objParent, const char *name ) : - channelsCb->addColumn( i18n("Name") ); - channelsCb->addColumn( i18n("Source") ); - channelsCb->setAllColumnsShowFocus( true ); -- channelsCb->tqsetSizePolicy( TQSizePolicy (TQSizePolicy::Preferred, TQSizePolicy::MinimumExpanding) ); -+ channelsCb->setSizePolicy( TQSizePolicy (TQSizePolicy::Preferred, TQSizePolicy::MinimumExpanding) ); - //channelsCb->setEnabled( false ); - vb->addWidget( channelsCb ); - -@@ -209,14 +209,14 @@ DvbPanel::DvbPanel( TQWidget *parent, TQObject *objParent, const char *name ) : - h1 = new TQHBoxLayout(); - h1->addItem( new TQSpacerItem( 1, 1, TQSizePolicy::Preferred, TQSizePolicy::Minimum ) ); - shiftLed = new KLed( panel ); -- shiftLed->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed ) ); -+ shiftLed->setSizePolicy( TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed ) ); - shiftLed->setDarkFactor( 500 ); - shiftLed->off(); - TQToolTip::add( shiftLed, i18n("Time shifting") ); - h1->addWidget( shiftLed ); - h1->addItem( new TQSpacerItem( 1, 1, TQSizePolicy::Preferred, TQSizePolicy::Minimum ) ); - recordLed = new KLed( panel ); -- recordLed->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed ) ); -+ recordLed->setSizePolicy( TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed ) ); - recordLed->setColor( TQColor( 255,0,0 ) ); - recordLed->setDarkFactor( 500 ); - recordLed->off(); -@@ -224,7 +224,7 @@ DvbPanel::DvbPanel( TQWidget *parent, TQObject *objParent, const char *name ) : - h1->addWidget( recordLed ); - h1->addItem( new TQSpacerItem( 1, 1, TQSizePolicy::Preferred, TQSizePolicy::Minimum ) ); - broadcastLed = new KLed( panel ); -- broadcastLed->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed ) ); -+ broadcastLed->setSizePolicy( TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed ) ); - broadcastLed->setColor( TQColor( 255,128,0 ) ); - broadcastLed->setDarkFactor( 500 ); - broadcastLed->off(); -@@ -272,7 +272,7 @@ DvbPanel::DvbPanel( TQWidget *parent, TQObject *objParent, const char *name ) : - connect( &showOsdTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(dvbOSD()) ); - connect( &tuningTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(setTuning()) ); - connect( &stopTuningTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(setTuning()) ); -- connect( &diskTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(disktqStatus()) ); -+ connect( &diskTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(diskStatus()) ); - - setConfig(); - -@@ -295,7 +295,7 @@ void DvbPanel::togglePanel() - - - --void DvbPanel::disktqStatus() -+void DvbPanel::diskStatus() - { - double freemb; - struct statvfs buf; -@@ -644,7 +644,7 @@ void DvbPanel::dumpEvents() - if ( f.open(IO_WriteOnly|IO_Truncate) ) { - fprintf( stderr, "Creating events file.\n"); - TQTextStream tt( &f ); -- tt << "Saved: "+TQDateTime::tqcurrentDateTime().toString( "dd-MM-yyyy hh:mm:ss" )+"\n"; -+ tt << "Saved: "+TQDateTime::currentDateTime().toString( "dd-MM-yyyy hh:mm:ss" )+"\n"; - k= 0; - for( i=0; ititle; - if ( !osdMode && !first && !myshift ) { -- TQDateTime dt = TQDateTime::tqcurrentDateTime(); -+ TQDateTime dt = TQDateTime::currentDateTime(); - int secs = desc->startDateTime.secsTo( dt ); - i = TQTime().secsTo( desc->duration ); - if ( i!=0 ) -@@ -1131,7 +1131,7 @@ void DvbPanel::camClicked( int devNum ) - - - --TQPtrList DvbPanel::getSourcestqStatus() -+TQPtrList DvbPanel::getSourcesStatus() - { - int i, j; - TQStringList list; -@@ -1163,7 +1163,7 @@ void DvbPanel::fillChannelList( ChannelDesc *ch ) - ChannelDesc *chan; - KListViewItem *it, *visible=0; - bool cont=false; -- TQPtrList trans = getSourcestqStatus(); -+ TQPtrList trans = getSourcesStatus(); - trans.setAutoDelete( true ); - - searchLE->clear(); -@@ -1320,7 +1320,7 @@ void DvbPanel::checkTimers() - bool live=false; - RecTimer *t; - ChannelDesc *chan; -- TQDateTime cur=TQDateTime::tqcurrentDateTime(); -+ TQDateTime cur=TQDateTime::currentDateTime(); - DvbStream *d; - - for ( i=0; i<(int)timers.count(); i++ ) { -@@ -1409,13 +1409,13 @@ void DvbPanel::setRecord() - if ( !dvbConfig->filenameFormat.contains("%chan") ) - s = curchan.name; - if ( !dvbConfig->filenameFormat.contains("%date") ) -- s+="_"+TQDateTime::tqcurrentDateTime().toString( "yyyyMMdd-hhmmss" ); -+ s+="_"+TQDateTime::currentDateTime().toString( "yyyyMMdd-hhmmss" ); - } - - rt = new RecTimer(); - rt->name = s; - rt->channel = curchan.name; -- rt->begin = TQDateTime::tqcurrentDateTime(); -+ rt->begin = TQDateTime::currentDateTime(); - rt->duration = TQTime( 0,0,0).addSecs( dvbConfig->instantDuration*60 ) ; - rt->running = 1; - rt->mode = 0; -@@ -2074,7 +2074,7 @@ void DvbPanel::pauseLiveTV() - if ( !d ) - return; - -- timeShiftFileName = dvbConfig->shiftDir+"DVBLive-"+TQDateTime::tqcurrentDateTime().toString("yyyyMMddThhmmss")+".m2t"; -+ timeShiftFileName = dvbConfig->shiftDir+"DVBLive-"+TQDateTime::currentDateTime().toString("yyyyMMddThhmmss")+".m2t"; - if ( d->doPause( timeShiftFileName ) ) - emit setTimeShiftFilename( timeShiftFileName ); - } -diff --git a/kaffeine/src/input/dvb/dvbpanel.h b/kaffeine/src/input/dvb/dvbpanel.h -index d126bb6..4dbf554 100644 ---- a/kaffeine/src/input/dvb/dvbpanel.h -+++ b/kaffeine/src/input/dvb/dvbpanel.h -@@ -154,7 +154,7 @@ public slots: - - void dvbNewTimer( TQString name, TQString channel, TQString datetime, TQString duration ); - int getSNR( int device ); -- void disktqStatus(); -+ void diskStatus(); - void camClicked( int devNum ); - - private: -@@ -163,7 +163,7 @@ private: - bool getTimerList(); - bool saveTimerList(); - void fillChannelList( ChannelDesc *ch=0 ); -- TQPtrList getSourcestqStatus(); -+ TQPtrList getSourcesStatus(); - void updateModeTimer( RecTimer *t ); - DvbStream* getWorkingDvb( int mode, ChannelDesc *chan ); - -diff --git a/kaffeine/src/input/dvb/dvbstream.cpp b/kaffeine/src/input/dvb/dvbstream.cpp -index b3ca31d..4ef290b 100644 ---- a/kaffeine/src/input/dvb/dvbstream.cpp -+++ b/kaffeine/src/input/dvb/dvbstream.cpp -@@ -84,7 +84,7 @@ DvbStream::DvbStream( Device *d, const TQString &charset, EventTable *et ) - cam = NULL; - plug = NULL; - -- connect( &statusTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(checktqStatus()) ); -+ connect( &statusTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(checkStatus()) ); - } - - -@@ -221,7 +221,7 @@ bool DvbStream::closeFe() - - - --void DvbStream::connecttqStatus( bool con ) -+void DvbStream::connectStatus( bool con ) - { - if ( con ) - statusTimer.start( 1000 ); -@@ -879,7 +879,7 @@ void DvbStream::removeOut( DVBout *o ) - - - --bool DvbStream::checktqStatus() -+bool DvbStream::checkStatus() - { - int32_t strength; - fe_status_t festatus; -@@ -887,19 +887,19 @@ bool DvbStream::checktqStatus() - - strength=0; - ioctl(fdFrontend,FE_READ_SIGNAL_STRENGTH,&strength); -- emit signaltqStatus(strength*100/65535); -+ emit signalStatus(strength*100/65535); - - strength=0; - ioctl(fdFrontend,FE_READ_SNR,&strength); -- emit snrtqStatus(strength*100/65535); -+ emit snrStatus(strength*100/65535); - - memset( &festatus, 0, sizeof(festatus) ); - ioctl(fdFrontend,FE_READ_STATUS,&festatus); - - if (festatus & FE_HAS_LOCK) -- emit locktqStatus( true ); -+ emit lockStatus( true ); - else { -- emit locktqStatus( false ); -+ emit lockStatus( false ); - ret = false; - } - -@@ -1481,7 +1481,7 @@ void DvbStream::stopFrontend() - - void DvbStream::setScanning( bool b ) - { -- connecttqStatus( b ); -+ connectStatus( b ); - } - - -diff --git a/kaffeine/src/input/dvb/dvbstream.h b/kaffeine/src/input/dvb/dvbstream.h -index f793aa0..1d2d780 100644 ---- a/kaffeine/src/input/dvb/dvbstream.h -+++ b/kaffeine/src/input/dvb/dvbstream.h -@@ -99,7 +99,7 @@ public : - - public slots: - -- bool checktqStatus(); -+ bool checkStatus(); - void receivePlayDvb(); - void recordEnded( DVBout *o, RecTimer *t, bool kill ); - void receiveShifting( bool b ); -@@ -125,7 +125,7 @@ private : - void startReading(); - bool openFe(); - bool closeFe(); -- void connecttqStatus( bool con ); -+ void connectStatus( bool con ); - - TQFile liveFile; - bool timeShifting; -@@ -157,9 +157,9 @@ signals: - void timerEnded(RecTimer*); - - void errorMsg( TQString ); -- void snrtqStatus( int ); -- void signaltqStatus( int ); -- void locktqStatus( bool ); -+ void snrStatus( int ); -+ void signalStatus( int ); -+ void lockStatus( bool ); - void shifting( bool ); - - }; -diff --git a/kaffeine/src/input/dvb/kgradprogress.cpp b/kaffeine/src/input/dvb/kgradprogress.cpp -index d81f671..7898f84 100644 ---- a/kaffeine/src/input/dvb/kgradprogress.cpp -+++ b/kaffeine/src/input/dvb/kgradprogress.cpp -@@ -34,7 +34,7 @@ KGradProgress::KGradProgress( TQWidget *parent ) : TQLabel( parent ) - setFrameStyle( TQFrame::Box | TQFrame::Plain ); - setLineWidth(1); - setMidLineWidth(0); -- tqsetSizePolicy( TQSizePolicy::MinimumExpanding, TQSizePolicy::Preferred ); -+ setSizePolicy( TQSizePolicy::MinimumExpanding, TQSizePolicy::Preferred ); - } - - -@@ -113,7 +113,7 @@ void KGradProgress::paintEvent(TQPaintEvent *event) - - - --TQSize KGradProgress::tqsizeHint() -+TQSize KGradProgress::sizeHint() - { - TQLabel lab( "This is a progress bar.", 0 ); - return TQSize( lab.width(), int(font().pointSize()*1.2) ); -diff --git a/kaffeine/src/input/dvb/kgradprogress.h b/kaffeine/src/input/dvb/kgradprogress.h -index 887019d..84aeee0 100644 ---- a/kaffeine/src/input/dvb/kgradprogress.h -+++ b/kaffeine/src/input/dvb/kgradprogress.h -@@ -37,7 +37,7 @@ public: - KGradProgress( TQWidget *parent ); - ~KGradProgress(); - virtual void paintEvent(TQPaintEvent *event); -- virtual TQSize tqsizeHint(); -+ virtual TQSize sizeHint(); - virtual TQSizePolicy sizePolicy(); - - public slots: -diff --git a/kaffeine/src/input/dvb/ktimereditor.cpp b/kaffeine/src/input/dvb/ktimereditor.cpp -index c66c5d1..be5c5af 100644 ---- a/kaffeine/src/input/dvb/ktimereditor.cpp -+++ b/kaffeine/src/input/dvb/ktimereditor.cpp -@@ -85,7 +85,7 @@ KTimerEditor::KTimerEditor( bool newone, TQStringList &chanList, RecTimer t, TQW - channelComb->insertStringList( chanList ); - - if ( newone ) { -- begin->setDateTime( TQDateTime::tqcurrentDateTime() ); -+ begin->setDateTime( TQDateTime::currentDateTime() ); - duration->setTime( TQTime(2,0,0) ); - } - else { -diff --git a/kaffeine/src/input/dvb/plugins/epg/kaffeinedvbevents.cpp b/kaffeine/src/input/dvb/plugins/epg/kaffeinedvbevents.cpp -index f05ff3a..ea00f76 100644 ---- a/kaffeine/src/input/dvb/plugins/epg/kaffeinedvbevents.cpp -+++ b/kaffeine/src/input/dvb/plugins/epg/kaffeinedvbevents.cpp -@@ -297,7 +297,7 @@ void EventTable::loadEpg() - char buf[EPGBUFSIZE]; - int num=0; - unsigned char sync; -- TQDateTime cur=TQDateTime::tqcurrentDateTime(); -+ TQDateTime cur=TQDateTime::currentDateTime(); - TQTime t1=TQTime::currentTime(); - - if ( epgLoaded ) -@@ -416,7 +416,7 @@ void EventTable::run() - - setpriority(PRIO_PROCESS, 0, 19); - -- cur = TQDateTime::tqcurrentDateTime(); -+ cur = TQDateTime::currentDateTime(); - for( k=0; k *d, TQPtrList *ch, TQS - offsetGroup->hide(); - bool ok=false; - dvbsi = new DVBsi( &ok, ds->getAdapter(), ds->getTuner(), ds, defaultCharset ); -- connect( ds, TQT_SIGNAL(snrtqStatus(int)), snr, TQT_SLOT(setProgress(int)) ); -- connect( ds, TQT_SIGNAL(signaltqStatus(int)), signal, TQT_SLOT(setProgress(int)) ); -- connect( ds, TQT_SIGNAL(locktqStatus(bool)), this, TQT_SLOT(setLock(bool)) ); -+ connect( ds, TQT_SIGNAL(snrStatus(int)), snr, TQT_SLOT(setProgress(int)) ); -+ connect( ds, TQT_SIGNAL(signalStatus(int)), signal, TQT_SLOT(setProgress(int)) ); -+ connect( ds, TQT_SIGNAL(lockStatus(bool)), this, TQT_SLOT(setLock(bool)) ); - connect( dvbsi, TQT_SIGNAL(end(bool)), this, TQT_SLOT(siEnded(bool)) ); - - connect( &checkTimer, TQT_SIGNAL( timeout() ), this, TQT_SLOT( checkNewChannel() ) ); -@@ -209,9 +209,9 @@ void ScanDialog::setDvb( int index ) - checkTimer.stop(); - if ( progressTimer.isActive() ) - progressTimer.stop(); -- disconnect( ds, TQT_SIGNAL(snrtqStatus(int)), snr, TQT_SLOT(setProgress(int)) ); -- disconnect( ds, TQT_SIGNAL(signaltqStatus(int)), signal, TQT_SLOT(setProgress(int)) ); -- disconnect( ds, TQT_SIGNAL(locktqStatus(bool)), this, TQT_SLOT(setLock(bool)) ); -+ disconnect( ds, TQT_SIGNAL(snrStatus(int)), snr, TQT_SLOT(setProgress(int)) ); -+ disconnect( ds, TQT_SIGNAL(signalStatus(int)), signal, TQT_SLOT(setProgress(int)) ); -+ disconnect( ds, TQT_SIGNAL(lockStatus(bool)), this, TQT_SLOT(setLock(bool)) ); - disconnect( dvbsi, TQT_SIGNAL(end(bool)), this, TQT_SLOT(siEnded(bool)) ); - ds->setScanning( false ); - dvbsi->stop(); -@@ -219,9 +219,9 @@ void ScanDialog::setDvb( int index ) - ds = dvb->at(i); - ds->setScanning( true ); - dvbsi = new DVBsi( &ok, ds->getAdapter(), ds->getTuner(), ds, defaultCharset ); -- connect( ds, TQT_SIGNAL(snrtqStatus(int)), snr, TQT_SLOT(setProgress(int)) ); -- connect( ds, TQT_SIGNAL(signaltqStatus(int)), signal, TQT_SLOT(setProgress(int)) ); -- connect( ds, TQT_SIGNAL(locktqStatus(bool)), this, TQT_SLOT(setLock(bool)) ); -+ connect( ds, TQT_SIGNAL(snrStatus(int)), snr, TQT_SLOT(setProgress(int)) ); -+ connect( ds, TQT_SIGNAL(signalStatus(int)), signal, TQT_SLOT(setProgress(int)) ); -+ connect( ds, TQT_SIGNAL(lockStatus(bool)), this, TQT_SLOT(setLock(bool)) ); - connect( dvbsi, TQT_SIGNAL(end(bool)), this, TQT_SLOT(siEnded(bool)) ); - break; - } -diff --git a/kaffeine/src/input/dvb/scandialogui.ui b/kaffeine/src/input/dvb/scandialogui.ui -index d85d58f..dbcff8b 100644 ---- a/kaffeine/src/input/dvb/scandialogui.ui -+++ b/kaffeine/src/input/dvb/scandialogui.ui -@@ -118,7 +118,7 @@ - - Expanding - -- -+ - - 40 - 20 -@@ -257,7 +257,7 @@ - - Expanding - -- -+ - - 20 - 18 -@@ -282,7 +282,7 @@ - - Expanding - -- -+ - - 21 - 19 -@@ -503,7 +503,7 @@ - - Expanding - -- -+ - - 40 - 20 -diff --git a/kaffeine/src/input/dvb/subeditorui.ui b/kaffeine/src/input/dvb/subeditorui.ui -index 3935e78..fb8d391 100644 ---- a/kaffeine/src/input/dvb/subeditorui.ui -+++ b/kaffeine/src/input/dvb/subeditorui.ui -@@ -51,7 +51,7 @@ - - Expanding - -- -+ - - 40 - 20 -@@ -159,7 +159,7 @@ - - Expanding - -- -+ - - 40 - 20 -@@ -178,7 +178,7 @@ - - Expanding - -- -+ - - 20 - 180 -diff --git a/kaffeine/src/input/dvbclient/cdwidget.cpp b/kaffeine/src/input/dvbclient/cdwidget.cpp -index 19e82ed..ede428f 100644 ---- a/kaffeine/src/input/dvbclient/cdwidget.cpp -+++ b/kaffeine/src/input/dvbclient/cdwidget.cpp -@@ -33,14 +33,14 @@ CdWidget::CdWidget( const TQString &ad, int port, int info, const TQString &tspa - : KaffeineInput( objParent, name ) - { - mainWidget = new TQVBox( parent ); -- mainWidget->tqsetSizePolicy( TQSizePolicy (TQSizePolicy::Preferred, TQSizePolicy::Preferred) ); -+ mainWidget->setSizePolicy( TQSizePolicy (TQSizePolicy::Preferred, TQSizePolicy::Preferred) ); - split = new TQSplitter( mainWidget ); - split->setOpaqueResize( true ); - playerBox = new TQVBox( split ); - playerBox->setMinimumWidth( 200 ); - channelsLb = new TQListBox( split ); - split->moveToFirst( channelsLb ); -- channelsLb->tqsetSizePolicy( TQSizePolicy (TQSizePolicy::Preferred, TQSizePolicy::MinimumExpanding) ); -+ channelsLb->setSizePolicy( TQSizePolicy (TQSizePolicy::Preferred, TQSizePolicy::MinimumExpanding) ); - split->setResizeMode( channelsLb, TQSplitter::KeepSize ); - - cdAddress = ad; -@@ -324,7 +324,7 @@ void CdWidget::pauseLiveTV() - if ( !dump ) - return; - if ( dump->running() ) { -- timeShiftFileName = cdShiftDir+"DVBClient-"+TQDateTime::tqcurrentDateTime().toString( Qt::ISODate )+".ts"; -+ timeShiftFileName = cdShiftDir+"DVBClient-"+TQDateTime::currentDateTime().toString( Qt::ISODate )+".ts"; - if ( dump->doPause( timeShiftFileName ) ) emit setTimeShiftFilename( timeShiftFileName ); - } - } -diff --git a/kaffeine/src/inputmanager.cpp b/kaffeine/src/inputmanager.cpp -index 0e9dcdf..a110a0a 100644 ---- a/kaffeine/src/inputmanager.cpp -+++ b/kaffeine/src/inputmanager.cpp -@@ -323,7 +323,7 @@ bool InputManager::playbackFinished( MRL &mrl ) - - void InputManager::statusBarMessage( const TQString &msg ) - { -- kaffeine->slotChangePlaylisttqStatus( msg ); -+ kaffeine->slotChangePlaylistStatus( msg ); - } - - -@@ -530,13 +530,13 @@ void InputManager::fullscreen( bool b ) - int id=0; - - if ( b ) { -- stack->tqsetSizePolicy(TQSizePolicy::Ignored, TQSizePolicy::Ignored); -+ stack->setSizePolicy(TQSizePolicy::Ignored, TQSizePolicy::Ignored); - oldMainWidget = currentMainWidget; - show( 2 ); - mtBar->hide(); - } - else { -- stack->tqsetSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding); -+ stack->setSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding); - mtBar->show(); - if ( oldMainWidget==startWindow ) - id = 1; -@@ -578,7 +578,7 @@ void PlayerContainer::dropEvent(TQDropEvent* dev) - { - for (uint i=0; i < urls.count() ;i++) - { -- //KURL url(TQUriDrag::tqunicodeUriToUri(urls[i])); -+ //KURL url(TQUriDrag::unicodeUriToUri(urls[i])); - //newurls << url.path(-1); - //kdDebug() << "Kaffeine: Dropped " << url.path() << endl; - newurls << urls[i]; -@@ -596,7 +596,7 @@ void PlayerContainer::dropEvent(TQDropEvent* dev) - else - if (strcmp(dev->format(), "text/x-moz-url") == 0) // for mozilla drops - { -- TQByteArray data = dev->tqencodedData("text/plain"); -+ TQByteArray data = dev->encodedData("text/plain"); - TQString md(data); - emit signalURLDropEvent(md); - } -diff --git a/kaffeine/src/instwizard.cpp b/kaffeine/src/instwizard.cpp -index c8cca22..8e2f412 100644 ---- a/kaffeine/src/instwizard.cpp -+++ b/kaffeine/src/instwizard.cpp -@@ -272,7 +272,7 @@ void InstWizard::internalWizard() - - void InstWizard::slotStdout(KProcess *, char *buffer, int buflen) - { -- TQString output = TQString::tqfromLatin1(buffer, buflen); -+ TQString output = TQString::fromLatin1(buffer, buflen); - kdDebug() << "WizardDialog: got from hdparm: " << output << "\n"; - stdout.append(output); - } -diff --git a/kaffeine/src/kaffeine.cpp b/kaffeine/src/kaffeine.cpp -index 9a83567..5b188da 100644 ---- a/kaffeine/src/kaffeine.cpp -+++ b/kaffeine/src/kaffeine.cpp -@@ -653,7 +653,7 @@ void Kaffeine::dropEvent(TQDropEvent* dev) - else - if (strcmp(dev->format(), "text/x-moz-url") == 0) // for mozilla drops - { -- TQByteArray data = dev->tqencodedData("text/plain"); -+ TQByteArray data = dev->encodedData("text/plain"); - TQString md(data); - load(md); - } -@@ -1087,7 +1087,7 @@ void Kaffeine::slotOpenFile() - KURL::List kurlList = KFileDialog::getOpenURLs(":kaffeine_openFile", fileFilter, 0, i18n("Open File(s)")); - - for (KURL::List::Iterator it = kurlList.begin(); it != kurlList.end(); ++it) -- if ((*it).isLocalFile() && (*it).path().tqendsWith(".iso", false)) -+ if ((*it).isLocalFile() && (*it).path().endsWith(".iso", false)) - (*it).setProtocol("dvd"); - - TQStringList urlList = kurlList.toStringList(); -@@ -1557,7 +1557,7 @@ void Kaffeine::slotChangeStatusbar(const TQString& ) - } - - --void Kaffeine::slotChangePlaylisttqStatus(const TQString& ) -+void Kaffeine::slotChangePlaylistStatus(const TQString& ) - { - //statusBar()->changeItem(text, 9); - } -diff --git a/kaffeine/src/kaffeine.h b/kaffeine/src/kaffeine.h -index 79ad0cc..4496d93 100644 ---- a/kaffeine/src/kaffeine.h -+++ b/kaffeine/src/kaffeine.h -@@ -128,7 +128,7 @@ public slots: - void slotLoadURLS(const TQStringList&); - void slotSwitchToPlayerWindow(); - void slotChangeStatusbar(const TQString&); -- void slotChangePlaylisttqStatus(const TQString&); -+ void slotChangePlaylistStatus(const TQString&); - void slotStop(); - void slotPlayUnPause(); - -diff --git a/kaffeine/src/kmultitabbar.cpp b/kaffeine/src/kmultitabbar.cpp -index 1c32cae..308bfa5 100644 ---- a/kaffeine/src/kmultitabbar.cpp -+++ b/kaffeine/src/kmultitabbar.cpp -@@ -121,9 +121,9 @@ void KMultiTabBarInternal::drawContents ( TQPainter * paint, int clipx, int clip - if (m_position==KMultiTabBar::Right) - { - -- paint->setPen(tqcolorGroup().shadow()); -+ paint->setPen(colorGroup().shadow()); - paint->drawLine(0,0,0,viewport()->height()); -- paint->setPen(tqcolorGroup().background().dark(120)); -+ paint->setPen(colorGroup().background().dark(120)); - paint->drawLine(1,0,1,viewport()->height()); - - -@@ -131,28 +131,28 @@ void KMultiTabBarInternal::drawContents ( TQPainter * paint, int clipx, int clip - else - if (m_position==KMultiTabBar::Left) - { -- paint->setPen(tqcolorGroup().light()); -+ paint->setPen(colorGroup().light()); - paint->drawLine(23,0,23,viewport()->height()); - paint->drawLine(22,0,22,viewport()->height()); - -- paint->setPen(tqcolorGroup().shadow()); -+ paint->setPen(colorGroup().shadow()); - paint->drawLine(0,0,0,viewport()->height()); - } - else - if (m_position==KMultiTabBar::Bottom) - { -- paint->setPen(tqcolorGroup().shadow()); -+ paint->setPen(colorGroup().shadow()); - paint->drawLine(0,0,viewport()->width(),0); -- paint->setPen(tqcolorGroup().background().dark(120)); -+ paint->setPen(colorGroup().background().dark(120)); - paint->drawLine(0,1,viewport()->width(),1); - } - else - { -- paint->setPen(tqcolorGroup().light()); -+ paint->setPen(colorGroup().light()); - paint->drawLine(0,23,viewport()->width(),23); - paint->drawLine(0,22,viewport()->width(),22); - --/* paint->setPen(tqcolorGroup().shadow()); -+/* paint->setPen(colorGroup().shadow()); - paint->drawLine(0,0,0,viewport()->height());*/ - - } -@@ -458,7 +458,7 @@ void KMultiTabBarButton::showEvent( TQShowEvent* he) { - } - - --TQSize KMultiTabBarButton::tqsizeHint() const -+TQSize KMultiTabBarButton::sizeHint() const - { - constPolish(); - -@@ -474,7 +474,7 @@ TQSize KMultiTabBarButton::tqsizeHint() const - } - #endif - if ( isMenuButton() ) -- w += tqstyle().tqpixelMetric(TQStyle::PM_MenuButtonIndicator, this); -+ w += tqstyle().pixelMetric(TQStyle::PM_MenuButtonIndicator, this); - - if ( pixmap() ) { - TQPixmap *pm = (TQPixmap *)pixmap(); -@@ -484,7 +484,7 @@ TQSize KMultiTabBarButton::tqsizeHint() const - TQString s( text() ); - bool empty = s.isEmpty(); - if ( empty ) -- s = TQString::tqfromLatin1("XXXX"); -+ s = TQString::fromLatin1("XXXX"); - TQFontMetrics fm = fontMetrics(); - TQSize sz = fm.size( ShowPrefix, s ); - if(!empty || !w) -@@ -581,12 +581,12 @@ void KMultiTabBarTab::updateState() - if ((m_position==KMultiTabBar::Right || m_position==KMultiTabBar::Left)) { - setFixedWidth(24); - if ((m_style==KMultiTabBar::KDEV3) || (m_style==KMultiTabBar::KDEV3ICON) || (down)) { -- setFixedHeight(KMultiTabBarButton::tqsizeHint().width()); -+ setFixedHeight(KMultiTabBarButton::sizeHint().width()); - } else setFixedHeight(36); - } else { - setFixedHeight(24); - if ((m_style==KMultiTabBar::KDEV3) || (m_style==KMultiTabBar::KDEV3ICON) || (down)) { -- setFixedWidth(KMultiTabBarButton::tqsizeHint().width()); -+ setFixedWidth(KMultiTabBarButton::sizeHint().width()); - } else setFixedWidth(36); - } - } else { -@@ -637,7 +637,7 @@ void KMultiTabBarTab::drawButtonStyled(TQPainter *paint) { - const int height = 24; - if ((m_style==KMultiTabBar::KDEV3) || (m_style==KMultiTabBar::KDEV3ICON) || (down)) { - if ((m_position==KMultiTabBar::Left) || (m_position==KMultiTabBar::Right)) -- sh=TQSize(this->height(),this->width());//KMultiTabBarButton::tqsizeHint(); -+ sh=TQSize(this->height(),this->width());//KMultiTabBarButton::sizeHint(); - else sh=TQSize(this->width(),this->height()); - } - else -@@ -654,8 +654,8 @@ void KMultiTabBarTab::drawButtonStyled(TQPainter *paint) { - - if (down) st|=TQStyle::Style_On; - -- tqstyle().tqdrawControl(TQStyle::CE_PushButton,&painter,this, TQRect(0,0,pixmap.width(),pixmap.height()), tqcolorGroup(),st); -- tqstyle().tqdrawControl(TQStyle::CE_PushButtonLabel,&painter,this, TQRect(0,0,pixmap.width(),pixmap.height()), tqcolorGroup(),st); -+ tqstyle().drawControl(TQStyle::CE_PushButton,&painter,this, TQRect(0,0,pixmap.width(),pixmap.height()), colorGroup(),st); -+ tqstyle().drawControl(TQStyle::CE_PushButtonLabel,&painter,this, TQRect(0,0,pixmap.width(),pixmap.height()), colorGroup(),st); - - switch (m_position) { - case KMultiTabBar::Left: -@@ -671,8 +671,8 @@ void KMultiTabBarTab::drawButtonStyled(TQPainter *paint) { - paint->drawPixmap(0,0,pixmap); - break; - } --// tqstyle().tqdrawControl(TQStyle::CE_PushButtonLabel,painter,this, TQRect(0,0,pixmap.width(),pixmap.height()), --// tqcolorGroup(),TQStyle::Style_Enabled); -+// tqstyle().drawControl(TQStyle::CE_PushButtonLabel,painter,this, TQRect(0,0,pixmap.width(),pixmap.height()), -+// colorGroup(),TQStyle::Style_Enabled); - - - } -@@ -682,58 +682,58 @@ void KMultiTabBarTab::drawButtonClassic(TQPainter *paint) - TQPixmap pixmap; - if ( iconSet()) - pixmap = iconSet()->pixmap( TQIconSet::Small, TQIconSet::Normal ); -- paint->fillRect(0, 0, 24, 24, tqcolorGroup().background()); -+ paint->fillRect(0, 0, 24, 24, colorGroup().background()); - - if (!down) - { - - if (m_position==KMultiTabBar::Right) - { -- paint->fillRect(0,0,21,21,TQBrush(tqcolorGroup().background())); -+ paint->fillRect(0,0,21,21,TQBrush(colorGroup().background())); - -- paint->setPen(tqcolorGroup().background().dark(150)); -+ paint->setPen(colorGroup().background().dark(150)); - paint->drawLine(0,22,23,22); - - paint->drawPixmap(12-pixmap.width()/2,12-pixmap.height()/2,pixmap); - -- paint->setPen(tqcolorGroup().shadow()); -+ paint->setPen(colorGroup().shadow()); - paint->drawLine(0,0,0,23); -- paint->setPen(tqcolorGroup().background().dark(120)); -+ paint->setPen(colorGroup().background().dark(120)); - paint->drawLine(1,0,1,23); - - } - else - if ((m_position==KMultiTabBar::Bottom) || (m_position==KMultiTabBar::Top)) - { -- paint->fillRect(0,1,23,22,TQBrush(tqcolorGroup().background())); -+ paint->fillRect(0,1,23,22,TQBrush(colorGroup().background())); - - paint->drawPixmap(12-pixmap.width()/2,12-pixmap.height()/2,pixmap); - -- paint->setPen(tqcolorGroup().background().dark(120)); -+ paint->setPen(colorGroup().background().dark(120)); - paint->drawLine(23,0,23,23); - - -- paint->setPen(tqcolorGroup().light()); -+ paint->setPen(colorGroup().light()); - paint->drawLine(0,22,23,22); - paint->drawLine(0,23,23,23); -- paint->setPen(tqcolorGroup().shadow()); -+ paint->setPen(colorGroup().shadow()); - paint->drawLine(0,0,23,0); -- paint->setPen(tqcolorGroup().background().dark(120)); -+ paint->setPen(colorGroup().background().dark(120)); - paint->drawLine(0,1,23,1); - - } - else - { -- paint->setPen(tqcolorGroup().background().dark(120)); -+ paint->setPen(colorGroup().background().dark(120)); - paint->drawLine(0,23,23,23); -- paint->fillRect(0,0,23,21,TQBrush(tqcolorGroup().background())); -+ paint->fillRect(0,0,23,21,TQBrush(colorGroup().background())); - paint->drawPixmap(12-pixmap.width()/2,12-pixmap.height()/2,pixmap); - -- paint->setPen(tqcolorGroup().light()); -+ paint->setPen(colorGroup().light()); - paint->drawLine(23,0,23,23); - paint->drawLine(22,0,22,23); - -- paint->setPen(tqcolorGroup().shadow()); -+ paint->setPen(colorGroup().shadow()); - paint->drawLine(0,0,0,23); - - } -@@ -744,12 +744,12 @@ void KMultiTabBarTab::drawButtonClassic(TQPainter *paint) - { - if (m_position==KMultiTabBar::Right) - { -- paint->setPen(tqcolorGroup().shadow()); -+ paint->setPen(colorGroup().shadow()); - paint->drawLine(0,height()-1,23,height()-1); - paint->drawLine(0,height()-2,23,height()-2); - paint->drawLine(23,0,23,height()-1); - paint->drawLine(22,0,22,height()-1); -- paint->fillRect(0,0,21,height()-3,TQBrush(tqcolorGroup().light())); -+ paint->fillRect(0,0,21,height()-3,TQBrush(colorGroup().light())); - paint->drawPixmap(10-pixmap.width()/2,10-pixmap.height()/2,pixmap); - - if (m_showActiveTabText) -@@ -759,9 +759,9 @@ void KMultiTabBarTab::drawButtonClassic(TQPainter *paint) - TQPixmap tpixmap(height()-25-3, width()-2); - TQPainter painter(&tpixmap); - -- painter.fillRect(0,0,tpixmap.width(),tpixmap.height(),TQBrush(tqcolorGroup().light())); -+ painter.fillRect(0,0,tpixmap.width(),tpixmap.height(),TQBrush(colorGroup().light())); - -- painter.setPen(tqcolorGroup().text()); -+ painter.setPen(colorGroup().text()); - painter.drawText(0,+width()/2+TQFontMetrics(TQFont()).height()/2,m_text); - - paint->rotate(90); -@@ -773,25 +773,25 @@ void KMultiTabBarTab::drawButtonClassic(TQPainter *paint) - else - if (m_position==KMultiTabBar::Top) - { -- paint->fillRect(0,0,width()-1,23,TQBrush(tqcolorGroup().light())); -+ paint->fillRect(0,0,width()-1,23,TQBrush(colorGroup().light())); - paint->drawPixmap(10-pixmap.width()/2,10-pixmap.height()/2,pixmap); - if (m_showActiveTabText) - { -- paint->setPen(tqcolorGroup().text()); -+ paint->setPen(colorGroup().text()); - paint->drawText(25,height()/2+TQFontMetrics(TQFont()).height()/2,m_text); - } - } - else - if (m_position==KMultiTabBar::Bottom) - { -- paint->setPen(tqcolorGroup().shadow()); -+ paint->setPen(colorGroup().shadow()); - paint->drawLine(0,23,width()-1,23); - paint->drawLine(0,22,width()-1,22); -- paint->fillRect(0,0,width()-1,21,TQBrush(tqcolorGroup().light())); -+ paint->fillRect(0,0,width()-1,21,TQBrush(colorGroup().light())); - paint->drawPixmap(10-pixmap.width()/2,10-pixmap.height()/2,pixmap); - if (m_showActiveTabText) - { -- paint->setPen(tqcolorGroup().text()); -+ paint->setPen(colorGroup().text()); - paint->drawText(25,height()/2+TQFontMetrics(TQFont()).height()/2,m_text); - } - -@@ -800,10 +800,10 @@ void KMultiTabBarTab::drawButtonClassic(TQPainter *paint) - { - - -- paint->setPen(tqcolorGroup().shadow()); -+ paint->setPen(colorGroup().shadow()); - paint->drawLine(0,height()-1,23,height()-1); - paint->drawLine(0,height()-2,23,height()-2); -- paint->fillRect(0,0,23,height()-3,TQBrush(tqcolorGroup().light())); -+ paint->fillRect(0,0,23,height()-3,TQBrush(colorGroup().light())); - paint->drawPixmap(10-pixmap.width()/2,10-pixmap.height()/2,pixmap); - if (m_showActiveTabText) - { -@@ -813,9 +813,9 @@ void KMultiTabBarTab::drawButtonClassic(TQPainter *paint) - TQPixmap tpixmap(height()-25-3, width()-2); - TQPainter painter(&tpixmap); - -- painter.fillRect(0,0,tpixmap.width(),tpixmap.height(),TQBrush(tqcolorGroup().light())); -+ painter.fillRect(0,0,tpixmap.width(),tpixmap.height(),TQBrush(colorGroup().light())); - -- painter.setPen(tqcolorGroup().text()); -+ painter.setPen(colorGroup().text()); - painter.drawText(tpixmap.width()-TQFontMetrics(TQFont()).width(m_text),+width()/2+TQFontMetrics(TQFont()).height()/2,m_text); - - paint->rotate(-90); -@@ -842,13 +842,13 @@ KMultiTabBar::KMultiTabBar(KMultiTabBarMode bm, TQWidget *parent,const char *nam - if (bm==Vertical) - { - m_l=new TQVBoxLayout(this); -- tqsetSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Expanding, true); -+ setSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Expanding, true); - // setFixedWidth(24); - } - else - { - m_l=new TQHBoxLayout(this); -- tqsetSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Fixed, true); -+ setSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Fixed, true); - // setFixedHeight(24); - } - m_l->setMargin(0); -diff --git a/kaffeine/src/kmultitabbar.h b/kaffeine/src/kmultitabbar.h -index 25aa255..bc9a615 100644 ---- a/kaffeine/src/kmultitabbar.h -+++ b/kaffeine/src/kmultitabbar.h -@@ -182,7 +182,7 @@ public slots: - */ - void setText(const TQString &); - -- TQSize tqsizeHint() const; -+ TQSize sizeHint() const; - - protected: - KMultiTabBar::KMultiTabBarPosition m_position; -diff --git a/kaffeine/src/player-parts/gstreamer-part/videosettings.cpp b/kaffeine/src/player-parts/gstreamer-part/videosettings.cpp -index 29d8587..2d0244a 100644 ---- a/kaffeine/src/player-parts/gstreamer-part/videosettings.cpp -+++ b/kaffeine/src/player-parts/gstreamer-part/videosettings.cpp -@@ -39,7 +39,7 @@ VideoSettings::VideoSettings(int hue, int sat, int contr, int bright, TQWidget * - grid->setSpacing(5); - - TQLabel* hueText = new TQLabel(i18n("Hue"), page); -- hueText->tqsetAlignment(AlignRight); -+ hueText->setAlignment(AlignRight); - m_hueSlider = new TQSlider(Qt::Horizontal, page); - m_hueSlider->setRange(-1000, 1000); - m_hueSlider->setSteps(10, 100); -@@ -49,7 +49,7 @@ VideoSettings::VideoSettings(int hue, int sat, int contr, int bright, TQWidget * - grid->addWidget(m_hueSlider, 0, 1); - - TQLabel* satText = new TQLabel(i18n("Saturation"), page); -- satText->tqsetAlignment(AlignRight); -+ satText->setAlignment(AlignRight); - m_satSlider = new TQSlider(Qt::Horizontal, page); - m_satSlider->setRange(-1000, 1000); - m_satSlider->setSteps(10, 100); -@@ -59,7 +59,7 @@ VideoSettings::VideoSettings(int hue, int sat, int contr, int bright, TQWidget * - grid->addWidget(m_satSlider, 1, 1); - - TQLabel* contrastText = new TQLabel(i18n("Contrast"), page); -- contrastText->tqsetAlignment(AlignRight); -+ contrastText->setAlignment(AlignRight); - m_contrastSlider = new TQSlider(Qt::Horizontal, page); - m_contrastSlider->setRange(-1000, 1000); - m_contrastSlider->setSteps(10, 100); -@@ -69,7 +69,7 @@ VideoSettings::VideoSettings(int hue, int sat, int contr, int bright, TQWidget * - grid->addWidget(m_contrastSlider, 2, 1); - - TQLabel* brightText = new TQLabel(i18n("Brightness"), page); -- brightText->tqsetAlignment(AlignRight); -+ brightText->setAlignment(AlignRight); - m_brightSlider = new TQSlider(Qt::Horizontal, page); - m_brightSlider->setRange(-1000, 1000); - m_brightSlider->setSteps(10, 100); -diff --git a/kaffeine/src/player-parts/xine-part/deinterlacequality.cpp b/kaffeine/src/player-parts/xine-part/deinterlacequality.cpp -index 9abb266..c8d253c 100644 ---- a/kaffeine/src/player-parts/xine-part/deinterlacequality.cpp -+++ b/kaffeine/src/player-parts/xine-part/deinterlacequality.cpp -@@ -78,12 +78,12 @@ DeinterlaceQuality::DeinterlaceQuality(TQWidget* filterDialog, TQWidget *parent, - connect(m_customBox, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotCustomBoxToggled(bool))); - - m_customConfigButton = new KPushButton(i18n("Configure tvtime Deinterlace Plugin..."), mainWidget); -- m_customConfigButton->tqsetSizePolicy(TQSizePolicy (TQSizePolicy::Minimum, TQSizePolicy::Fixed)); -+ m_customConfigButton->setSizePolicy(TQSizePolicy (TQSizePolicy::Minimum, TQSizePolicy::Fixed)); - grid->addWidget(m_customConfigButton, 7, 1); - connect(m_customConfigButton, TQT_SIGNAL(clicked()), filterDialog, TQT_SLOT(show())); - - TQLabel* note = new TQLabel(i18n("* May require a patched 2.4 kernel (like RedHat one) or 2.6 kernel."), mainWidget); -- note->tqsetAlignment(TQLabel::WordBreak | TQLabel::AlignVCenter); -+ note->setAlignment(TQLabel::WordBreak | TQLabel::AlignVCenter); - grid->addMultiCellWidget(note, 9, 9, 0, 1); - } - -diff --git a/kaffeine/src/player-parts/xine-part/kxinewidget.cpp b/kaffeine/src/player-parts/xine-part/kxinewidget.cpp -index 9385759..58a9818 100644 ---- a/kaffeine/src/player-parts/xine-part/kxinewidget.cpp -+++ b/kaffeine/src/player-parts/xine-part/kxinewidget.cpp -@@ -721,7 +721,7 @@ void KXineWidget::timerEvent( TQTimerEvent* tevent ) - } - case TIMER_EVENT_NEW_STATUS: - { -- emit signalXinetqStatus(m_statusString); -+ emit signalXineStatus(m_statusString); - break; - } - case TIMER_EVENT_CHANGE_CURSOR: -@@ -1109,7 +1109,7 @@ bool KXineWidget::initXine() - if (isXineReady()) - return true; - -- emit signalXinetqStatus(i18n("Init xine...")); -+ emit signalXineStatus(i18n("Init xine...")); - globalPosChanged(); /* get global pos of the window */ - - /**** INIT XINE DISPLAY ****/ -@@ -1377,7 +1377,7 @@ bool KXineWidget::initXine() - - debugOut("xine init successful"); - -- emit signalXinetqStatus(i18n("Ready")); -+ emit signalXineStatus(i18n("Ready")); - emit signalXineReady(); - - /** something to play? **/ -@@ -1508,7 +1508,7 @@ bool KXineWidget::playDvb() - m_posTimer.start(1000); - - emit signalXinePlaying(); -- emit signalXinetqStatus(i18n("Playing")); -+ emit signalXineStatus(i18n("Playing")); - - return true; - } -@@ -1882,7 +1882,7 @@ bool KXineWidget::openDvb() - } - else fprintf(stderr,"xine pipe opened %s\n", m_trackURL.ascii()); - m_trackURL = "DVB"; -- emit signalXinetqStatus(i18n("DVB: opening...")); -+ emit signalXineStatus(i18n("DVB: opening...")); - TQTimer::singleShot( 0, this, TQT_SLOT(playDvb()) ); - - return true; -@@ -1936,7 +1936,7 @@ void KXineWidget::slotPlay() - m_queue.remove(m_queue.find(m_trackURL)); - - if (m_trackURL != m_logoFile) -- emit signalXinetqStatus(i18n("Opening...")); -+ emit signalXineStatus(i18n("Opening...")); - - /* check for external subtitle file or save url */ - m_trackSubtitleURL = TQString(); -@@ -2053,7 +2053,7 @@ void KXineWidget::slotPlay() - CodecUtf8 = TQTextCodec::codecForName("UTF-8"); - - TQString infotag; -- infotag = TQString::tqfromLatin1(xine_get_meta_info(m_xineStream, XINE_META_INFO_TITLE)); -+ infotag = TQString::fromLatin1(xine_get_meta_info(m_xineStream, XINE_META_INFO_TITLE)); - - if (currentUtf8Locale) - m_trackTitle = infotag; -@@ -2068,9 +2068,9 @@ void KXineWidget::slotPlay() - TQString trackArtist=NULL; - TQString trackAlbum=NULL; - TQString trackComment=NULL; -- trackArtist = TQString::tqfromLatin1(xine_get_meta_info(m_xineStream, XINE_META_INFO_ARTIST)); -- trackAlbum = TQString::tqfromLatin1(xine_get_meta_info(m_xineStream, XINE_META_INFO_ALBUM)); -- trackComment = TQString::tqfromLatin1(xine_get_meta_info(m_xineStream, XINE_META_INFO_COMMENT)); -+ trackArtist = TQString::fromLatin1(xine_get_meta_info(m_xineStream, XINE_META_INFO_ARTIST)); -+ trackAlbum = TQString::fromLatin1(xine_get_meta_info(m_xineStream, XINE_META_INFO_ALBUM)); -+ trackComment = TQString::fromLatin1(xine_get_meta_info(m_xineStream, XINE_META_INFO_COMMENT)); - if (currentUtf8Locale) - { - m_trackArtist = trackArtist; -@@ -2157,9 +2157,9 @@ void KXineWidget::slotPlay() - { - emit signalXinePlaying(); - if (hasSaveURL()) -- emit signalXinetqStatus(i18n("Recording")); -+ emit signalXineStatus(i18n("Recording")); - else -- emit signalXinetqStatus(i18n("Playing")); -+ emit signalXineStatus(i18n("Playing")); - } - } - -@@ -2239,7 +2239,7 @@ void KXineWidget::sendXineError() - { - if (m_trackURL != m_logoFile) - { -- emit signalXinetqStatus(i18n("Error")); -+ emit signalXineStatus(i18n("Error")); - emit signalXineError(error); - } - else -@@ -2671,7 +2671,7 @@ void KXineWidget::slotSetVolume(int vol) - //debugOut(TQString("Set audio mixer volume: %1").tqarg(vol)); - xine_set_param(m_xineStream, XINE_PARAM_AUDIO_VOLUME, vol); - } -- emit signalXinetqStatus(i18n("Volume") + ": " + TQString::number(vol) +"%"); -+ emit signalXineStatus(i18n("Volume") + ": " + TQString::number(vol) +"%"); - } - - uint KXineWidget::getVolume() const -@@ -2707,12 +2707,12 @@ void KXineWidget::slotToggleMute() - if (xine_get_param(m_xineStream, muteParam)) - { - xine_set_param(m_xineStream, muteParam, 0); /* mute off */ -- emit signalXinetqStatus(i18n("Mute Off")); -+ emit signalXineStatus(i18n("Mute Off")); - } - else - { - xine_set_param(m_xineStream, muteParam, 1); /* mute on */ -- emit signalXinetqStatus(i18n("Mute On")); -+ emit signalXineStatus(i18n("Mute On")); - } - } - -@@ -2867,7 +2867,7 @@ void KXineWidget::slotStop() - TQTimer::singleShot(0, this, TQT_SLOT(slotPlay())); - } - -- emit signalXinetqStatus(i18n("Stop")); -+ emit signalXineStatus(i18n("Stop")); - } - - void KXineWidget::slotSetAudiocdDevice(const TQString& device) -@@ -2997,7 +2997,7 @@ void KXineWidget::slotSpeedPause() - xine_set_param(m_xineStream, XINE_PARAM_SPEED, XINE_SPEED_PAUSE); - m_posTimer.stop(); - if (m_currentSpeed != Undefined) -- emit signalXinetqStatus(i18n("Pause")); -+ emit signalXineStatus(i18n("Pause")); - m_currentSpeed = Pause; - } - } -@@ -3007,7 +3007,7 @@ void KXineWidget::slotSpeedNormal() - xine_set_param(m_xineStream, XINE_PARAM_SPEED, XINE_SPEED_NORMAL); - m_posTimer.start(200); - m_currentSpeed = Normal; -- emit signalXinetqStatus(i18n("Playing") + " "); -+ emit signalXineStatus(i18n("Playing") + " "); - } - - void KXineWidget::slotSpeedFaster() -@@ -3018,7 +3018,7 @@ void KXineWidget::slotSpeedFaster() - { - xine_set_param(m_xineStream, XINE_PARAM_SPEED, XINE_SPEED_FAST_4); - m_currentSpeed = Fast2; -- emit signalXinetqStatus(i18n("Fast Forward %1").tqarg("x2")); -+ emit signalXineStatus(i18n("Fast Forward %1").tqarg("x2")); - break; - } - case Fast2: -@@ -3035,14 +3035,14 @@ void KXineWidget::slotSpeedFaster() - { - xine_set_param(m_xineStream, XINE_PARAM_SPEED, XINE_SPEED_SLOW_2); - m_currentSpeed = Slow1; -- emit signalXinetqStatus(i18n("Slow Motion %1").tqarg("x1")); -+ emit signalXineStatus(i18n("Slow Motion %1").tqarg("x1")); - break; - } - default: - { - xine_set_param(m_xineStream, XINE_PARAM_SPEED, XINE_SPEED_FAST_2); - m_currentSpeed = Fast1; -- emit signalXinetqStatus(i18n("Fast Forward %1").tqarg("x1")); -+ emit signalXineStatus(i18n("Fast Forward %1").tqarg("x1")); - break; - } - } -@@ -3056,7 +3056,7 @@ void KXineWidget::slotSpeedSlower() - { - xine_set_param(m_xineStream, XINE_PARAM_SPEED, XINE_SPEED_SLOW_4); - m_currentSpeed = Slow2; -- emit signalXinetqStatus(i18n("Slow Motion %1").tqarg("x2")); -+ emit signalXineStatus(i18n("Slow Motion %1").tqarg("x2")); - break; - } - case Slow2: -@@ -3073,14 +3073,14 @@ void KXineWidget::slotSpeedSlower() - { - xine_set_param(m_xineStream, XINE_PARAM_SPEED, XINE_SPEED_FAST_2); - m_currentSpeed = Fast1; -- emit signalXinetqStatus(i18n("Fast Forward %1").tqarg("x1")); -+ emit signalXineStatus(i18n("Fast Forward %1").tqarg("x1")); - break; - } - default: - { - xine_set_param(m_xineStream, XINE_PARAM_SPEED, XINE_SPEED_SLOW_2); - m_currentSpeed = Slow1; -- emit signalXinetqStatus(i18n("Slow Motion %1").tqarg("x1")); -+ emit signalXineStatus(i18n("Slow Motion %1").tqarg("x1")); - break; - } - } -@@ -3343,31 +3343,31 @@ void KXineWidget::slotToggleDeinterlace() - void KXineWidget::slotAspectRatioAuto() - { - xine_set_param(m_xineStream, XINE_PARAM_VO_ASPECT_RATIO, XINE_VO_ASPECT_AUTO); -- emit signalXinetqStatus(i18n("Aspect Ratio") + ": " + i18n("Auto")); -+ emit signalXineStatus(i18n("Aspect Ratio") + ": " + i18n("Auto")); - } - - void KXineWidget::slotAspectRatio4_3() - { - xine_set_param(m_xineStream, XINE_PARAM_VO_ASPECT_RATIO, XINE_VO_ASPECT_4_3); -- emit signalXinetqStatus(i18n("Aspect Ratio") + ": " + i18n("4:3")); -+ emit signalXineStatus(i18n("Aspect Ratio") + ": " + i18n("4:3")); - } - - void KXineWidget::slotAspectRatioAnamorphic() - { - xine_set_param(m_xineStream, XINE_PARAM_VO_ASPECT_RATIO, XINE_VO_ASPECT_ANAMORPHIC); -- emit signalXinetqStatus(i18n("Aspect Ratio") + ": " + i18n("16:9")); -+ emit signalXineStatus(i18n("Aspect Ratio") + ": " + i18n("16:9")); - } - - void KXineWidget::slotAspectRatioSquare() - { - xine_set_param(m_xineStream, XINE_PARAM_VO_ASPECT_RATIO, XINE_VO_ASPECT_SQUARE); -- emit signalXinetqStatus(i18n("Aspect Ratio") + ": " + i18n("1:1")); -+ emit signalXineStatus(i18n("Aspect Ratio") + ": " + i18n("1:1")); - } - - void KXineWidget::slotAspectRatioDVB() - { - xine_set_param(m_xineStream, XINE_PARAM_VO_ASPECT_RATIO, XINE_VO_ASPECT_DVB); -- emit signalXinetqStatus(i18n("Aspect Ratio") + ": " + i18n("2.11:1")); -+ emit signalXineStatus(i18n("Aspect Ratio") + ": " + i18n("2.11:1")); - } - - void KXineWidget::slotZoomOutX() -@@ -3376,7 +3376,7 @@ void KXineWidget::slotZoomOutX() - { - m_currentZoomX -= 5; - xine_set_param(m_xineStream, XINE_PARAM_VO_ZOOM_X, m_currentZoomX); -- emit signalXinetqStatus(i18n("Zoom X") + ": " + TQString::number(m_currentZoomX) + "%"); -+ emit signalXineStatus(i18n("Zoom X") + ": " + TQString::number(m_currentZoomX) + "%"); - } - } - -@@ -3386,7 +3386,7 @@ void KXineWidget::slotZoomInX() - { - m_currentZoomX += 5; - xine_set_param(m_xineStream, XINE_PARAM_VO_ZOOM_X, m_currentZoomX); -- emit signalXinetqStatus(i18n("Zoom X") + ": " + TQString::number(m_currentZoomX) + "%"); -+ emit signalXineStatus(i18n("Zoom X") + ": " + TQString::number(m_currentZoomX) + "%"); - } - } - -@@ -3396,7 +3396,7 @@ void KXineWidget::slotZoomOutY() - { - m_currentZoomY -= 5; - xine_set_param(m_xineStream, XINE_PARAM_VO_ZOOM_Y, m_currentZoomY); -- emit signalXinetqStatus(i18n("Zoom Y") + ": " + TQString::number(m_currentZoomY) + "%"); -+ emit signalXineStatus(i18n("Zoom Y") + ": " + TQString::number(m_currentZoomY) + "%"); - } - } - -@@ -3406,7 +3406,7 @@ void KXineWidget::slotZoomInY() - { - m_currentZoomY += 5; - xine_set_param(m_xineStream, XINE_PARAM_VO_ZOOM_Y, m_currentZoomY); -- emit signalXinetqStatus(i18n("Zoom Y") + ": " + TQString::number(m_currentZoomY) + "%"); -+ emit signalXineStatus(i18n("Zoom Y") + ": " + TQString::number(m_currentZoomY) + "%"); - } - } - -@@ -3418,7 +3418,7 @@ void KXineWidget::slotZoomOut() - m_currentZoomX = m_currentZoomY = m_currentZoom; - xine_set_param(m_xineStream, XINE_PARAM_VO_ZOOM_X, m_currentZoom); - xine_set_param(m_xineStream, XINE_PARAM_VO_ZOOM_Y, m_currentZoom); -- emit signalXinetqStatus(i18n("Zoom") + ": " + TQString::number(m_currentZoom) + "%"); -+ emit signalXineStatus(i18n("Zoom") + ": " + TQString::number(m_currentZoom) + "%"); - } - } - -@@ -3430,7 +3430,7 @@ void KXineWidget::slotZoomIn() - m_currentZoomX = m_currentZoomY = m_currentZoom; - xine_set_param(m_xineStream, XINE_PARAM_VO_ZOOM_X, m_currentZoom); - xine_set_param(m_xineStream, XINE_PARAM_VO_ZOOM_Y, m_currentZoom); -- emit signalXinetqStatus(i18n("Zoom") + ": " + TQString::number(m_currentZoom) + "%"); -+ emit signalXineStatus(i18n("Zoom") + ": " + TQString::number(m_currentZoom) + "%"); - } - } - -@@ -3440,7 +3440,7 @@ void KXineWidget::slotZoomOff() - xine_set_param(m_xineStream, XINE_PARAM_VO_ZOOM_Y, 100); - m_currentZoom = 100; - m_currentZoomX = m_currentZoomY = m_currentZoom; -- emit signalXinetqStatus(i18n("Zoom") + ": " + TQString::number(m_currentZoom) + "%"); -+ emit signalXineStatus(i18n("Zoom") + ": " + TQString::number(m_currentZoom) + "%"); - } - - TQTime KXineWidget::getLengthInfo() -@@ -3513,37 +3513,37 @@ void KXineWidget::getspuOffset(int& spuOffset) const - void KXineWidget::slotSetHue(int hue) - { - xine_set_param(m_xineStream, XINE_PARAM_VO_HUE, hue); -- emit signalXinetqStatus(i18n("Hue") + ": " + TQString::number((hue*100)/65535) + "%"); -+ emit signalXineStatus(i18n("Hue") + ": " + TQString::number((hue*100)/65535) + "%"); - } - - void KXineWidget::slotSetSaturation(int sat) - { - xine_set_param(m_xineStream, XINE_PARAM_VO_SATURATION, sat); -- emit signalXinetqStatus(i18n("Saturation") + ": " + TQString::number((sat*100)/65535) + "%"); -+ emit signalXineStatus(i18n("Saturation") + ": " + TQString::number((sat*100)/65535) + "%"); - } - - void KXineWidget::slotSetContrast(int contrast) - { - xine_set_param(m_xineStream, XINE_PARAM_VO_CONTRAST, contrast); -- emit signalXinetqStatus(i18n("Contrast") + ": " + TQString::number((contrast*100)/65535) + "%"); -+ emit signalXineStatus(i18n("Contrast") + ": " + TQString::number((contrast*100)/65535) + "%"); - } - - void KXineWidget::slotSetBrightness(int bright) - { - xine_set_param(m_xineStream, XINE_PARAM_VO_BRIGHTNESS, bright); -- emit signalXinetqStatus(i18n("Brightness") + ": " + TQString::number((bright*100)/65535) + "%"); -+ emit signalXineStatus(i18n("Brightness") + ": " + TQString::number((bright*100)/65535) + "%"); - } - - void KXineWidget::slotSetAVOffset(int av) - { - xine_set_param(m_xineStream, XINE_PARAM_AV_OFFSET, av); -- emit signalXinetqStatus(i18n("Audio/Video Offset") + ": " + TQString::number(av/90) + i18n("msec")); -+ emit signalXineStatus(i18n("Audio/Video Offset") + ": " + TQString::number(av/90) + i18n("msec")); - } - - void KXineWidget::slotSetSpuOffset(int spu) - { - xine_set_param(m_xineStream, XINE_PARAM_SPU_OFFSET, spu); -- emit signalXinetqStatus(i18n("Subtitle Offset") + ": " + TQString::number(spu/90) + i18n("msec")); -+ emit signalXineStatus(i18n("Subtitle Offset") + ": " + TQString::number(spu/90) + i18n("msec")); - } - - -diff --git a/kaffeine/src/player-parts/xine-part/kxinewidget.h b/kaffeine/src/player-parts/xine-part/kxinewidget.h -index 1ec989a..62fef7c 100644 ---- a/kaffeine/src/player-parts/xine-part/kxinewidget.h -+++ b/kaffeine/src/player-parts/xine-part/kxinewidget.h -@@ -192,7 +192,7 @@ signals: - void signalXineFatal(const TQString& message); /** initXine() not successfull! **/ - void signalXineError(const TQString& message); - void signalXineMessage(const TQString& message); -- void signalXinetqStatus(const TQString& status); -+ void signalXineStatus(const TQString& status); - void signalXineReady(); - void signalXinePlaying(); - -diff --git a/kaffeine/src/player-parts/xine-part/postfilter.cpp b/kaffeine/src/player-parts/xine-part/postfilter.cpp -index a54cdd5..8a691b8 100644 ---- a/kaffeine/src/player-parts/xine-part/postfilter.cpp -+++ b/kaffeine/src/player-parts/xine-part/postfilter.cpp -@@ -50,7 +50,7 @@ PostFilter::PostFilter(const TQString& name, xine_t* engine, xine_audio_port_t* - xine_post_in_t* inputAPI = NULL; - - m_groupBox = new TQGroupBox(name, parent); -- m_groupBox->tqsetSizePolicy(TQSizePolicy (TQSizePolicy::Minimum, TQSizePolicy::Fixed)); -+ m_groupBox->setSizePolicy(TQSizePolicy (TQSizePolicy::Minimum, TQSizePolicy::Fixed)); - TQGridLayout* grid = new TQGridLayout(m_groupBox, 2, 2); - grid->setMargin( 20 ); - grid->setSpacing( 5 ); -@@ -147,7 +147,7 @@ PostFilter::PostFilter(const TQString& name, xine_t* engine, xine_audio_port_t* - } - - descr = new TQLabel(TQString::fromUtf8(m_xinePostParameter->description ), m_groupBox); -- descr->tqsetAlignment(TQLabel::WordBreak | TQLabel::AlignVCenter); -+ descr->setAlignment(TQLabel::WordBreak | TQLabel::AlignVCenter); - grid->addWidget(descr, row, 1); - row++; - m_xinePostParameter++; -@@ -157,14 +157,14 @@ PostFilter::PostFilter(const TQString& name, xine_t* engine, xine_audio_port_t* - grid->addMultiCellWidget(sep, row, row, 0, 1); - row++; - KPushButton* deleteButton = new KPushButton(i18n("Delete Filter"), m_groupBox); -- deleteButton->tqsetSizePolicy (TQSizePolicy (TQSizePolicy::Minimum, TQSizePolicy::Fixed)); -+ deleteButton->setSizePolicy (TQSizePolicy (TQSizePolicy::Minimum, TQSizePolicy::Fixed)); - connect(deleteButton, TQT_SIGNAL(clicked()), this, TQT_SLOT( slotDeletePressed())); - grid->addWidget(deleteButton, row, 0); - - if(inputAPI) - { - KPushButton* helpButton = new KPushButton(i18n("Help"), m_groupBox); -- helpButton->tqsetSizePolicy(TQSizePolicy (TQSizePolicy::Minimum, TQSizePolicy::Fixed)); -+ helpButton->setSizePolicy(TQSizePolicy (TQSizePolicy::Minimum, TQSizePolicy::Fixed)); - connect(helpButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotHelpPressed())); - grid->addWidget(helpButton, row, 1); - } -diff --git a/kaffeine/src/player-parts/xine-part/videosettings.cpp b/kaffeine/src/player-parts/xine-part/videosettings.cpp -index 955efcf..c64f627 100644 ---- a/kaffeine/src/player-parts/xine-part/videosettings.cpp -+++ b/kaffeine/src/player-parts/xine-part/videosettings.cpp -@@ -48,7 +48,7 @@ VideoSettings::VideoSettings(int hue, int sat, int contrast, int bright, - videoGrid->setMargin(10); - - TQLabel* hueText = new TQLabel(i18n("Hue"), videoGroup); -- hueText->tqsetAlignment(AlignRight); -+ hueText->setAlignment(AlignRight); - m_hueSlider = new TQSlider(Qt::Horizontal, videoGroup); - m_hueSlider->setRange(0, 65535); - m_hueSlider->setSteps(10, 1000); -@@ -58,7 +58,7 @@ VideoSettings::VideoSettings(int hue, int sat, int contrast, int bright, - videoGrid->addWidget(m_hueSlider, 0, 1); - - TQLabel* satText = new TQLabel(i18n("Saturation"), videoGroup); -- satText->tqsetAlignment(AlignRight); -+ satText->setAlignment(AlignRight); - m_satSlider = new TQSlider(Qt::Horizontal, videoGroup); - m_satSlider->setRange(0, 65535); - m_satSlider->setSteps(10, 1000); -@@ -68,7 +68,7 @@ VideoSettings::VideoSettings(int hue, int sat, int contrast, int bright, - videoGrid->addWidget(m_satSlider, 1, 1); - - TQLabel* contrastText = new TQLabel(i18n("Contrast"), videoGroup); -- contrastText->tqsetAlignment(AlignRight); -+ contrastText->setAlignment(AlignRight); - m_contrastSlider = new TQSlider(Qt::Horizontal, videoGroup); - m_contrastSlider->setRange(0, 65535); - m_contrastSlider->setSteps(10, 1000); -@@ -78,7 +78,7 @@ VideoSettings::VideoSettings(int hue, int sat, int contrast, int bright, - videoGrid->addWidget(m_contrastSlider, 2, 1); - - TQLabel* brightText = new TQLabel(i18n("Brightness"), videoGroup); -- brightText->tqsetAlignment(AlignRight); -+ brightText->setAlignment(AlignRight); - m_brightSlider = new TQSlider(Qt::Horizontal, videoGroup); - m_brightSlider->setRange(0, 65535); - m_brightSlider->setSteps(10, 1000); -@@ -88,7 +88,7 @@ VideoSettings::VideoSettings(int hue, int sat, int contrast, int bright, - videoGrid->addWidget(m_brightSlider, 3, 1); - - TQLabel* avOffsetText = new TQLabel(i18n("Audio/Video Offset"), videoGroup); -- avOffsetText->tqsetAlignment(AlignRight); -+ avOffsetText->setAlignment(AlignRight); - m_avOffsetSlider = new TQSlider(Qt::Horizontal, videoGroup); - m_avOffsetSlider->setRange(-90000, 90000); // +/- 1 sec - m_avOffsetSlider->setSteps(100, 10000); -@@ -98,7 +98,7 @@ VideoSettings::VideoSettings(int hue, int sat, int contrast, int bright, - videoGrid->addWidget(m_avOffsetSlider, 4, 1); - - TQLabel* spuOffsetText = new TQLabel(i18n("Subtitle Offset"), videoGroup); -- spuOffsetText->tqsetAlignment(AlignRight); -+ spuOffsetText->setAlignment(AlignRight); - m_spuOffsetSlider = new TQSlider(Qt::Horizontal, videoGroup); - m_spuOffsetSlider->setRange(-90000, 90000); // +/- 1 sec - m_spuOffsetSlider->setSteps(100, 10000); -diff --git a/kaffeine/src/player-parts/xine-part/xine_part.cpp b/kaffeine/src/player-parts/xine-part/xine_part.cpp -index 9991f1c..f9b3fb1 100644 ---- a/kaffeine/src/player-parts/xine-part/xine_part.cpp -+++ b/kaffeine/src/player-parts/xine-part/xine_part.cpp -@@ -1058,7 +1058,7 @@ void XinePart::slotMessage(const TQString& message) - KMessageBox::information(0, msg, i18n("xine Message")); - } - --void XinePart::slottqStatus(const TQString& status) -+void XinePart::slotStatus(const TQString& status) - { - emit setStatusBarText(status); - if ((status != i18n("Ready")) && (status != i18n("Playing"))) -@@ -1442,7 +1442,7 @@ void XinePart::initActions() - (m_playTime, i18n("Short click: Toggle Timer Forward/Backward\nLong click: Toggle Timer OSD")); - TQFontMetrics met(KGlobalSettings::generalFont()); - m_playTime->setFixedWidth(met.width("-55:55:55") + 6); -- m_playTime->tqsetSizePolicy(TQSizePolicy (TQSizePolicy::Fixed, TQSizePolicy::Fixed)); -+ m_playTime->setSizePolicy(TQSizePolicy (TQSizePolicy::Fixed, TQSizePolicy::Fixed)); - m_playTime->setFocusPolicy(TQ_NoFocus); - new KWidgetAction(m_playTime, i18n("Playtime"), 0, 0, 0, actionCollection(), "player_playtime"); - connect(m_playTime, TQT_SIGNAL(pressed()), TQT_TQOBJECT(this), TQT_SLOT(slotButtonTimerPressed())); -@@ -1473,7 +1473,7 @@ void XinePart::initConnections() - this, TQT_SLOT(slotChannelInfo(const TQStringList&, const TQStringList&, int, int ))); - connect(m_xine, TQT_SIGNAL(signalXinePlaying()), TQT_TQOBJECT(this), TQT_SLOT(slotTrackPlaying())); - connect(m_xine, TQT_SIGNAL(signalNewPosition(int, const TQTime&)), TQT_TQOBJECT(this), TQT_SLOT(slotNewPosition(int, const TQTime&))); -- connect(m_xine, TQT_SIGNAL(signalXinetqStatus(const TQString&)), TQT_TQOBJECT(this), TQT_SLOT(slottqStatus(const TQString&))); -+ connect(m_xine, TQT_SIGNAL(signalXineStatus(const TQString&)), TQT_TQOBJECT(this), TQT_SLOT(slotStatus(const TQString&))); - connect(m_xine, TQT_SIGNAL(signalXineError(const TQString&)), TQT_TQOBJECT(this), TQT_SLOT(slotError(const TQString&))); - connect(m_xine, TQT_SIGNAL(signalXineMessage(const TQString&)), TQT_TQOBJECT(this), TQT_SLOT(slotMessage(const TQString&))); - connect(m_xine, TQT_SIGNAL(signalPlaybackFinished()), TQT_TQOBJECT(this), TQT_SLOT(slotPlaybackFinished())); -diff --git a/kaffeine/src/player-parts/xine-part/xine_part.h b/kaffeine/src/player-parts/xine-part/xine_part.h -index 78c809e..07bf027 100644 ---- a/kaffeine/src/player-parts/xine-part/xine_part.h -+++ b/kaffeine/src/player-parts/xine-part/xine_part.h -@@ -169,7 +169,7 @@ private slots: - void slotConfigXine(); - void slotError(const TQString&); - void slotMessage(const TQString&); -- void slottqStatus(const TQString&); -+ void slotStatus(const TQString&); - void slotNewTitle(); - void slotNewLength(); - void slotNewFrameSize(); -@@ -206,7 +206,7 @@ private: - TQPoint m_oldPosition; - TQTimer m_posCheckTimer; - TQTimer m_osdTimerEnabler; /* Provide Long click on timer button */ -- bool m_isOsdTimer; /* tqStatus of Osd Timer (on/off) */ -+ bool m_isOsdTimer; /* Status of Osd Timer (on/off) */ - int m_timerDirection; /* Counting Up or Down */ - int m_brightness, m_hue, m_contrast, m_saturation; - -diff --git a/kaffeine/src/player-parts/xine-part/xineconfig.cpp b/kaffeine/src/player-parts/xine-part/xineconfig.cpp -index 277a850..74076e4 100644 ---- a/kaffeine/src/player-parts/xine-part/xineconfig.cpp -+++ b/kaffeine/src/player-parts/xine-part/xineconfig.cpp -@@ -132,7 +132,7 @@ XineConfigEntry::XineConfigEntry(TQWidget* parent, TQGridLayout* grid, int row, - m_keyName.remove( 0, m_keyName.find(".") + 1 ); - - TQLabel* description = new TQLabel(m_keyName + "\n" + TQString::fromLocal8Bit(entry->description), parent); -- description->tqsetAlignment( TQLabel::WordBreak | TQLabel::AlignVCenter ); -+ description->setAlignment( TQLabel::WordBreak | TQLabel::AlignVCenter ); - grid->addWidget(description, row, 1); - - KSeparator* separator = new KSeparator(Qt::Horizontal, parent); -diff --git a/kaffeine/src/pref.cpp b/kaffeine/src/pref.cpp -index 0544d35..4359f15 100644 ---- a/kaffeine/src/pref.cpp -+++ b/kaffeine/src/pref.cpp -@@ -141,7 +141,7 @@ KaffeinePreferences::KaffeinePreferences() : KDialogBase(IconList,i18n("Kaffeine - gb = new TQGroupBox( "", misc ); - grid = new TQGridLayout( gb, 1, 1, 20, 6 ); - KPushButton* clearRecent = new KPushButton( i18n("Clear"), gb); -- clearRecent->tqsetSizePolicy( TQSizePolicy (TQSizePolicy::Minimum, TQSizePolicy::Fixed)); -+ clearRecent->setSizePolicy( TQSizePolicy (TQSizePolicy::Minimum, TQSizePolicy::Fixed)); - connect(clearRecent, TQT_SIGNAL(clicked()), this, TQT_SIGNAL(signalClearRecent())); - grid->addWidget(clearRecent, 0, 0); - TQLabel* clearLabel = new TQLabel(i18n("Clear recent files list"), gb); -diff --git a/kaffeine/src/startwindow.cpp b/kaffeine/src/startwindow.cpp -index 20a5941..a86696e 100644 ---- a/kaffeine/src/startwindow.cpp -+++ b/kaffeine/src/startwindow.cpp -@@ -66,7 +66,7 @@ SLabel::SLabel( TQWidget *parent ) : TQLabel( parent ) - void SLabel::paintEvent( TQPaintEvent *pe ) - { - TQLabel::paintEvent( pe ); -- TQColorGroup cg = parentWidget()->tqcolorGroup(); -+ TQColorGroup cg = parentWidget()->colorGroup(); - TQColor base = cg.base(); - TQColor selection = cg.highlight(); - int r = (base.red() + selection.red()) / 2; -@@ -92,7 +92,7 @@ StartWindow::StartWindow(TQWidget* parent, const char* name) : TQWidget(parent, - - panel = new TQWidget( this ); - panel->setPaletteBackgroundColor(TQColor("White")); -- panel->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::MinimumExpanding ) ); -+ panel->setSizePolicy( TQSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::MinimumExpanding ) ); - - buttons.setAutoDelete( true ); - } -@@ -118,7 +118,7 @@ void StartWindow::registerTarget( const TQString& uiName, const TQString& pixNam - btn->setTextPosition( TQToolButton::Under ); - btn->setUsesTextLabel( true ); - btn->setIconSet( KGlobal::iconLoader()->loadIconSet(pixName, KIcon::Panel) ); -- TQSize size = btn->tqsizeHint(); -+ TQSize size = btn->sizeHint(); - size.setHeight( size.height()+5 ); - btn->resize( size ); - connect( btn, TQT_SIGNAL(executed(const TQString&)), this, TQT_SIGNAL(execTarget(const TQString&)) ); -diff --git a/kaffeine/src/systemtray.cpp b/kaffeine/src/systemtray.cpp -index 79028aa..745360f 100644 ---- a/kaffeine/src/systemtray.cpp -+++ b/kaffeine/src/systemtray.cpp -@@ -72,7 +72,7 @@ SystemTray::SystemTray(TQWidget *parent, const char *name ) : KSystemTray(parent - m_osd = new TitleLabel; - m_osd->setFrameStyle(TQFrame::Panel | TQFrame::Plain); - m_osd->setLineWidth(1); -- m_osd->tqsetAlignment(SingleLine); -+ m_osd->setAlignment(SingleLine); - connect(&m_hideTimer, TQT_SIGNAL(timeout()), TQT_TQOBJECT(this), TQT_SLOT(slotHideOSD())); - - setPixmap(KGlobal::iconLoader()->loadIcon("kaffeine", KIcon::Panel, 22)); diff --git a/redhat/applications/kaffeine/kaffeine-3.5.13-renames_a_few_stragglers.patch b/redhat/applications/kaffeine/kaffeine-3.5.13-renames_a_few_stragglers.patch deleted file mode 100644 index b3fcbc792..000000000 --- a/redhat/applications/kaffeine/kaffeine-3.5.13-renames_a_few_stragglers.patch +++ /dev/null @@ -1,30 +0,0 @@ -commit 89b5fd35299d63e54cb2b36ec366d0071381458b -Author: Timothy Pearson -Date: 1324748015 -0600 - - Rename a few stragglers - -diff --git a/kaffeine/src/kmultitabbar.cpp b/kaffeine/src/kmultitabbar.cpp -index 4ff1154..8d85e01 100644 ---- a/kaffeine/src/kmultitabbar.cpp -+++ b/kaffeine/src/kmultitabbar.cpp -@@ -654,8 +654,8 @@ void KMultiTabBarTab::drawButtonStyled(TQPainter *paint) { - - if (down) st|=TQStyle::Style_On; - -- tqstyle().drawControl(TQStyle::CE_PushButton,&painter,this, TQRect(0,0,pixmap.width(),pixmap.height()), colorGroup(),st); -- tqstyle().drawControl(TQStyle::CE_PushButtonLabel,&painter,this, TQRect(0,0,pixmap.width(),pixmap.height()), colorGroup(),st); -+ style().drawControl(TQStyle::CE_PushButton,&painter,this, TQRect(0,0,pixmap.width(),pixmap.height()), colorGroup(),st); -+ style().drawControl(TQStyle::CE_PushButtonLabel,&painter,this, TQRect(0,0,pixmap.width(),pixmap.height()), colorGroup(),st); - - switch (m_position) { - case KMultiTabBar::Left: -@@ -671,7 +671,7 @@ void KMultiTabBarTab::drawButtonStyled(TQPainter *paint) { - paint->drawPixmap(0,0,pixmap); - break; - } --// tqstyle().drawControl(TQStyle::CE_PushButtonLabel,painter,this, TQRect(0,0,pixmap.width(),pixmap.height()), -+// style().drawControl(TQStyle::CE_PushButtonLabel,painter,this, TQRect(0,0,pixmap.width(),pixmap.height()), - // colorGroup(),TQStyle::Style_Enabled); - - diff --git a/redhat/applications/kaffeine/kaffeine-3.5.13.1-add_xine12_support.patch b/redhat/applications/kaffeine/kaffeine-3.5.13.1-add_xine12_support.patch deleted file mode 100644 index 386488625..000000000 --- a/redhat/applications/kaffeine/kaffeine-3.5.13.1-add_xine12_support.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- kaffeine-3.5.13.1/kaffeine/src/player-parts/xine-part/kxinewidget.cpp.ORI 2012-10-03 21:39:27.711879801 +0200 -+++ kaffeine-3.5.13.1/kaffeine/src/player-parts/xine-part/kxinewidget.cpp 2012-10-03 21:40:35.174370892 +0200 -@@ -2642,7 +2642,11 @@ - - bool KXineWidget::getAutoplayPluginURLS(const TQString& plugin, TQStringList& list) - { -+#if XINE_MAJOR_VERSION > 1 || ( XINE_MAJOR_VERSION == 1 && XINE_MINOR_VERSION >= 2 ) -+ const char* const* urls = NULL; -+#else - char** urls = NULL; -+#endif - int num; - int i = 0; - diff --git a/redhat/applications/kaffeine/kaffeine-3.5.13.1.spec b/redhat/applications/kaffeine/kaffeine-3.5.13.1.spec deleted file mode 100644 index 4e87fd16a..000000000 --- a/redhat/applications/kaffeine/kaffeine-3.5.13.1.spec +++ /dev/null @@ -1,284 +0,0 @@ -# Default version for this component -%define kdecomp kaffeine - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -Name: trinity-%{kdecomp} -Summary: Xine-based media player - -Version: 0.8.8 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Multimedia -URL: http://kaffeine.sourceforge.net/ - -Source0: kaffeine-3.5.13.1.tar.gz - -# [kaffeine] Add Xine 1.2 support -Patch1: kaffeine-3.5.13.1-add_xine12_support.patch - -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildRequires: gettext -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: libvorbis-devel -BuildRequires: libcdio-devel - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: libcdda-devel -BuildRequires: %{_lib}xext%{?mgaversion:6}-devel -BuildRequires: %{_lib}xtst-devel -BuildRequires: %{_lib}xinerama%{?mgaversion:1}-devel -# dvb -%if 0%{?pclinuxos} == 0 -BuildRequires: kernel-headers -%endif -BuildRequires: libgstreamer-devel >= 0.10 -BuildRequires: libgstreamer-plugins-base-devel >= 0.10 -%else -BuildRequires: cdparanoia -BuildRequires: cdparanoia-devel -%if 0%{?suse_version} -BuildRequires: libcdio-paranoia-devel -%endif -BuildRequires: libXext-devel -BuildRequires: libXtst-devel -BuildRequires: libXinerama-devel -# dvb -BuildRequires: gstreamer-devel >= 0.10 -%if 0%{?suse_version} -BuildRequires: gstreamer-0_10-plugins-base-devel -%else -BuildRequires: gstreamer-plugins-base-devel >= 0.10 -BuildRequires: glibc-kernheaders -%endif -%endif - -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 -BuildRequires: libxcb-devel -%endif - -# xine-lib -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -BuildRequires: libxine-devel -%endif -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: xine-lib-devel -%endif - -Requires: %{name}-libs = %{version}-%{release} - -%description -Kaffeine is a xine-based media player for KDE. It plays back CDs, -and VCDs, and can decode all (local or streamed) multimedia formats -supported by xine-lib. -Additionally, Kaffeine is fully integrated in KDE, it supports drag -and drop and provides an editable playlist, a bookmark system, a -Konqueror plugin, OSD and much more. - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING README TODO -%{tde_bindir}/kaffeine -%{tde_libdir}/libkaffeinepart.so -%{tde_tdelibdir}/lib*.* -%{tde_datadir}/appl*/*/*.desktop -%{tde_datadir}/apps/gstreamerpart/ -%{tde_datadir}/apps/kaffeine/ -%{tde_datadir}/apps/konqueror/servicemenus/*.desktop -%{tde_datadir}/apps/profiles/ -%{tde_datadir}/icons/hicolor/*/*/* -%{tde_datadir}/mimelnk/*/*.desktop -%{tde_datadir}/service*/*.desktop -%{tde_tdedocdir}/HTML/en/kaffeine/ - -%post -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database >& /dev/null ||: -/sbin/ldconfig || : - -%postun -touch --no-create %{_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database >& /dev/null ||: -/sbin/ldconfig || : - -########## - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Requires: %{name}-libs = %{version}-%{release} -Requires: trinity-tdelibs-devel - -%description devel -%{summary}. - -%files devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/kaffeine/ -%{tde_libdir}/lib*.so -%exclude %{tde_libdir}/libkaffeinepart.so - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - -########## - -%package libs -Summary: %{name} runtime libraries -Group: System Environment/Libraries - -# include to be paranoid, installing libs-only is still mostly untested -- Rex -Requires: %{name} = %{version}-%{release} - -%description libs -%{summary}. - -%files libs -%defattr(-,root,root,-) -%{tde_libdir}/lib*.so.* - -%post libs -/sbin/ldconfig || : - -%postun libs -/sbin/ldconfig || : - -########## - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n kaffeine-3.5.13.1 -%patch1 -p1 -b .xine12 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - -%build -unset QTDIR || : ; source /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export KDEDIR=%{tde_prefix} - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --mandir=%{tde_mandir} \ - --enable-new-ldflags \ - --disable-debug --disable-warnings \ - --disable-dependency-tracking --enable-final \ - --disable-rpath \ - --with-xinerama \ - --with-gstreamer \ - --without-lame \ - --with-extra-includes=%{tde_includedir}/tqt \ - --with-extra-libs=%{_prefix}/%{_lib} \ - --enable-closure \ -%if 0%{?rhel} > 0 && 0%{?rhel} <= 5 - --without-dvb \ -%endif - - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf $RPM_BUILD_ROOT -%__make install DESTDIR=$RPM_BUILD_ROOT - -## File lists -# locale's -%find_lang %{kdecomp} -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then -for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - -# Unpackaged files -rm -f $RPM_BUILD_ROOT%{tde_libdir}/lib*.la -rm -f $RPM_BUILD_ROOT%{tde_datadir}/mimelnk/application/x-mplayer2.desktop - -%clean -rm -rf $RPM_BUILD_ROOT - - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.8.8-4 -- Initial release for TDE 3.5.13.1 - -* Fri Aug 03 2012 Francois Andriot - 0.8.8-3 -- Add support for Mageia 2 and Mandriva 2011 -- Added automake initialization with proper program name and version [Bug #858] [Commit #4e982fa3] -- Fixed online hyperlink to win32 codecs download location. [Commit #5086f358] - -* Tue May 01 2012 Francois Andriot - 0.8.8-2 -- Rebuilt for Fedora 17 -- Adds more patches from GIT. - -* Mon Apr 23 2012 Francois Andriot - 0.8.8-1 -- Updates version to 0.8.8 -- Fix nominal "tqt" typos and fix slow DVB start. [Bug #729, #899] -- Change location where Kaffeine stores temporary pipe files from $HOME to the more appropriate $KDEHOME/tmp-$HOSTNAME. -- Work around Xine crash when displaying still logo image by creating a small movie file to replace it [Bug #511, #559] -- Add man page - -* Sun Dec 04 2011 Francois Andriot - 0.8.6-2 -- Disable 'libxcb-devel' for RHEL 5 compilation -- Fix HTML directory location - -* Wed Nov 09 2011 Francois Andriot - 0.8.6-1 -- Spec file based on Fedora 8 'kaffeine-0.8.6-3' diff --git a/redhat/applications/kaffeine/kaffeine-3.5.13.2.spec b/redhat/applications/kaffeine/kaffeine-3.5.13.2.spec deleted file mode 100644 index e46e985cc..000000000 --- a/redhat/applications/kaffeine/kaffeine-3.5.13.2.spec +++ /dev/null @@ -1,289 +0,0 @@ -# Default version for this component -%define tde_pkg kaffeine -%define tde_version 3.5.13.2 - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -Name: trinity-%{tde_pkg} -Summary: Xine-based media player - -Version: 0.8.8 -Release: %{?!preversion:7}%{?preversion:6_%{preversion}}%{?dist} - -License: GPLv2+ -Group: Applications/Multimedia -URL: http://kaffeine.sourceforge.net/ - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-arts-devel >= 1:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: gettext - -# VORBIS support -BuildRequires: libvorbis-devel - -# CDDA support -BuildRequires: libcdio-devel -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: libcdda-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} -BuildRequires: cdparanoia -BuildRequires: cdparanoia-devel -%endif -%if 0%{?suse_version} >= 1210 || 0%{?fedora} >= 19 || 0%{?rhel} >= 7 -BuildRequires: libcdio-paranoia-devel -%endif - -# X11 stuff -%if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?mgaversion} >= 4 -BuildRequires: %{_lib}xext-devel -BuildRequires: %{_lib}xtst-devel -BuildRequires: %{_lib}xinerama-devel -%else -BuildRequires: %{_lib}xext%{?mgaversion:6}-devel -BuildRequires: %{_lib}xtst%{?mgaversion:6}-devel -BuildRequires: %{_lib}xinerama%{?mgaversion:1}-devel -%endif -%endif -%if 0%{?rhel} == 4 -BuildRequires: xorg-x11-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 -BuildRequires: libXext-devel -BuildRequires: libXtst-devel -BuildRequires: libXinerama-devel -%endif -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 -BuildRequires: libxcb-devel -%endif - -# GSTREAMER support -%if 0%{?rhel} >= 5 || 0%{?suse_version} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_gstreamer 1 -%if 0%{?suse_version} -BuildRequires: gstreamer-0_10-devel -BuildRequires: gstreamer-0_10-plugins-base-devel -%endif -%if 0%{?rhel} == 4 -BuildRequires: gstreamer-devel -BuildRequires: gstreamer-plugins-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} -BuildRequires: gstreamer-plugins-base-devel >= 0.10 -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: libgstreamer-devel >= 0.10 -BuildRequires: libgstreamer-plugins-base-devel >= 0.10 -%endif -%endif - -# XINE support -%if 0%{?fedora} || 0%{?rhel} >= 4 || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_xine 1 -%if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?pclinuxos} -BuildRequires: %{_lib}xine-devel -%else -BuildRequires: %{_lib}xine1.2-devel -%endif -%endif -%if 0%{?fedora} || 0%{?rhel} -BuildRequires: xine-lib-devel -%endif -%if 0%{?suse_version} -BuildRequires: libxine-devel -%endif -%endif - -# LAME support -%if 0%{?suse_version} -BuildRequires: libmp3lame-devel -%else -BuildRequires: lame-devel -%endif - -# WTF support -%if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?pclinuxos} == 0 -BuildRequires: kernel-headers -%endif -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} -BuildRequires: glibc-kernheaders -%endif - -Requires: %{name}-libs = %{version}-%{release} - -%description -Kaffeine is a xine-based media player for TDE. It plays back CDs, -and VCDs, and can decode all (local or streamed) multimedia formats -supported by xine-lib. -Additionally, Kaffeine is fully integrated in TDE, it supports drag -and drop and provides an editable playlist, a bookmark system, a -Konqueror plugin, OSD and much more. - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING README TODO -%{tde_bindir}/kaffeine -%{tde_libdir}/libkaffeinepart.so -%{tde_tdelibdir}/lib*.* -%{tde_datadir}/appl*/*/*.desktop -%if 0%{?with_gstreamer} -%{tde_datadir}/apps/gstreamerpart/ -%endif -%{tde_datadir}/apps/kaffeine/ -%{tde_datadir}/apps/konqueror/servicemenus/*.desktop -%{tde_datadir}/apps/profiles/ -%{tde_datadir}/icons/hicolor/*/*/* -%{tde_datadir}/mimelnk/*/*.desktop -%{tde_datadir}/service*/*.desktop -%{tde_tdedocdir}/HTML/en/kaffeine/ - -%post -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database >& /dev/null ||: -/sbin/ldconfig || : - -%postun -touch --no-create %{_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database >& /dev/null ||: -/sbin/ldconfig || : - -########## - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Requires: %{name}-libs = %{version}-%{release} -Requires: trinity-tdelibs-devel - -%description devel -%{summary}. - -%files devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/kaffeine/ -%{tde_libdir}/lib*.so -%exclude %{tde_libdir}/libkaffeinepart.so - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - -########## - -%package libs -Summary: %{name} runtime libraries -Group: System Environment/Libraries - -# include to be paranoid, installing libs-only is still mostly untested -- Rex -Requires: %{name} = %{version}-%{release} - -%description libs -%{summary}. - -%files libs -%defattr(-,root,root,-) -%{tde_libdir}/lib*.so.* - -%post libs -/sbin/ldconfig || : - -%postun libs -/sbin/ldconfig || : - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR QTINC QTLIB -. /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export KDEDIR=%{tde_prefix} - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --mandir=%{tde_mandir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --enable-final \ - --enable-closure \ - --enable-rpath \ - \ - --with-xinerama \ - --with-gstreamer \ - --with-lame \ -%if 0%{?rhel} > 0 && 0%{?rhel} <= 5 - --without-dvb \ -%endif - - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf $RPM_BUILD_ROOT -%__make install DESTDIR=$RPM_BUILD_ROOT - -## File lists -# locale's -%find_lang %{tde_pkg} - -# Unpackaged files -rm -f $RPM_BUILD_ROOT%{tde_libdir}/lib*.la -rm -f $RPM_BUILD_ROOT%{tde_datadir}/mimelnk/application/x-mplayer2.desktop - - -%clean -rm -rf $RPM_BUILD_ROOT - - -%changelog diff --git a/redhat/applications/kaffeine/kaffeine-3.5.13.spec b/redhat/applications/kaffeine/kaffeine-3.5.13.spec deleted file mode 100644 index dbc3aefbc..000000000 --- a/redhat/applications/kaffeine/kaffeine-3.5.13.spec +++ /dev/null @@ -1,305 +0,0 @@ -# Default version for this component -%define kdecomp kaffeine - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -Name: trinity-%{kdecomp} -Summary: Xine-based media player - -Version: 0.8.8 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Multimedia -URL: http://kaffeine.sourceforge.net/ - -Source0: kaffeine-3.5.13.tar.gz -Source2: kaffeine.1 - -# [kaffeine] Work around Xine crash when displaying still logo image by creating a small movie file to replace it [Bug #511, #559] -Source1: 508cb342-logo - - - -# [kaffeine] Rename old tq methods that no longer need a unique name[Commit #60ed202f] -Patch1: kaffeine-3.5.13-rename_old_tq_methods.patch -# [kaffeine] Remove additional unneeded tq method conversions [Commit #701a1249] -Patch2: kaffeine-3.5.13-remove_additional_tq_conversions.patch -# [kaffeine] Rename obsolete tq methods to standard names [Commit #66805baf] -Patch3: kaffeine-3.5.13-rename_obsolete_tq_methods.patch -# [kaffeine] Rename a few stragglers [Commit #89b5fd35] -Patch4: kaffeine-3.5.13-renames_a_few_stragglers.patch -# [kaffeine] Error out if critical OSD-related defines are not set [Commit #25b89439] -Patch5: kaffeine-3.5.13-error_out_if_critical_osd_defines_not_set.patch -# [kaffeine] Fix nominal "tqt" typos and fix slow DVB start. [Bug #729, #899] [Commit #fd68e4c4] -Patch6: kaffeine-3.5.13-fix_slow_dvb_start.patch -# [kaffeine] Change location where Kaffeine stores temporary pipe files from $HOME to the more appropriate $TDEHOME/tmp-$HOSTNAME. [Commit #b480e3db] -Patch7: kaffeine-3.5.13-fix_temporary_location.patch -# [kaffeine] Fix typos, branding, and inadvertent tqt changes. [Commit #0e3d0ed6] -Patch8: kaffeine-3.5.13-fix_typos_branding_tqt.patch -# [kaffeine] Fix installation of localization files [Bug #858] -Patch9: kaffeine-3.5.13-fix_localization_files.patch -# [kaffeine] Added automake initialization with proper program name and version [Bug #858] [Commit #4e982fa3] -Patch10: kaffeine-3.5.13-fix_program_name.patch -# [kaffeine] Fixed online hyperlink to win32 codecs download location. [Commit #5086f358] -Patch11: kaffeine-3.5.13-fix_win32_codec_url.patch -# [kaffeine] Missing LDFLAGS cause FTBFS under MGA2/MDV2011 -Patch12: kaffeine-3.5.13-missing_ldflags.patch - -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildRequires: gettext -BuildRequires: trinity-kdelibs-devel -BuildRequires: libvorbis-devel -BuildRequires: libcdio-devel - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: libcdda-devel -BuildRequires: %{_lib}xine-devel -BuildRequires: %{_lib}xext%{?mgaversion:6}-devel -BuildRequires: %{_lib}xtst-devel -BuildRequires: %{_lib}xinerama%{?mgaversion:1}-devel -# dvb -BuildRequires: kernel-headers -BuildRequires: libgstreamer-devel >= 0.10 -BuildRequires: libgstreamer-plugins-base-devel >= 0.10 -%else -BuildRequires: cdparanoia-devel cdparanoia -BuildRequires: xine-lib-devel -BuildRequires: libXext-devel -BuildRequires: libXtst-devel -BuildRequires: libXinerama-devel -# dvb -BuildRequires: glibc-kernheaders -BuildRequires: gstreamer-devel >= 0.10 -BuildRequires: gstreamer-plugins-base-devel >= 0.10 -%endif - -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 -BuildRequires: libxcb-devel -%endif - - -Requires: %{name}-libs = %{version}-%{release} - -%description -Kaffeine is a xine-based media player for KDE. It plays back CDs, -and VCDs, and can decode all (local or streamed) multimedia formats -supported by xine-lib. -Additionally, Kaffeine is fully integrated in KDE, it supports drag -and drop and provides an editable playlist, a bookmark system, a -Konqueror plugin, OSD and much more. - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING README TODO -%{tde_bindir}/kaffeine -%{tde_libdir}/libkaffeinepart.so -%{tde_tdelibdir}/lib*.* -%{tde_datadir}/appl*/*/*.desktop -%{tde_datadir}/apps/gstreamerpart/ -%{tde_datadir}/apps/kaffeine/ -%{tde_datadir}/apps/konqueror/servicemenus/*.desktop -%{tde_datadir}/apps/profiles/ -%{tde_datadir}/icons/hicolor/*/*/* -%{tde_datadir}/mimelnk/*/*.desktop -%{tde_datadir}/service*/*.desktop -%{tde_tdedocdir}/HTML/en/kaffeine -%{tde_mandir}/*/* - -%post -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database >& /dev/null ||: -/sbin/ldconfig || : - -%postun -touch --no-create %{_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database >& /dev/null ||: -/sbin/ldconfig || : - -########## - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Requires: %{name}-libs = %{version}-%{release} -Requires: trinity-tdelibs-devel - -%description devel -%{summary}. - -%files devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/kaffeine/ -%{tde_libdir}/lib*.so -%exclude %{tde_libdir}/libkaffeinepart.so - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - -########## - -%package libs -Summary: %{name} runtime libraries -Group: System Environment/Libraries - -# include to be paranoid, installing libs-only is still mostly untested -- Rex -Requires: %{name} = %{version}-%{release} - -%description libs -%{summary}. - -%files libs -%defattr(-,root,root,-) -%{tde_libdir}/lib*.so.* - -%post libs -/sbin/ldconfig || : - -%postun libs -/sbin/ldconfig || : - -########## - - -%prep -%setup -q -n applications/kaffeine - -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 -%patch7 -p1 -%patch8 -p1 -%patch9 -p1 -%patch10 -p1 -%patch11 -p1 -%patch12 -p1 -b .ftbfs - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - -%build -unset QTDIR || : ; source /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --mandir=%{tde_mandir} \ - --enable-new-ldflags \ - --disable-debug --disable-warnings \ - --disable-dependency-tracking --enable-final \ - --disable-rpath \ - --with-xinerama \ - --with-gstreamer \ - --without-lame \ - --with-extra-includes=%{tde_includedir}/tqt \ - --with-extra-libs=%{_prefix}/%{_lib} \ - --enable-closure \ -%if 0%{?rhel} > 0 && 0%{?rhel} <= 5 - --without-dvb \ -%endif - - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf $RPM_BUILD_ROOT -%__make install DESTDIR=$RPM_BUILD_ROOT - -## File lists -# locale's -%find_lang %{kdecomp} -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then -for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - -# Unpackaged files -rm -f $RPM_BUILD_ROOT%{tde_libdir}/lib*.la -rm -f $RPM_BUILD_ROOT%{tde_datadir}/mimelnk/application/x-mplayer2.desktop - -%__install -D -m 644 %{SOURCE1} %{?buildroot}%{tde_datadir}/apps/kaffeine/logo -%__install -D -m 644 %{SOURCE2} %{?buildroot}%{tde_mandir}/man1/kaffeine.1 - -%clean -rm -rf $RPM_BUILD_ROOT - - - -%changelog -* Fri Aug 03 2012 Francois Andriot - 0.8.8-3 -- Add support for Mageia 2 and Mandriva 2011 -- Added automake initialization with proper program name and version [Bug #858] [Commit #4e982fa3] -- Fixed online hyperlink to win32 codecs download location. [Commit #5086f358] - -* Tue May 01 2012 Francois Andriot - 0.8.8-2 -- Rebuilt for Fedora 17 -- Adds more patches from GIT. - -* Mon Apr 23 2012 Francois Andriot - 0.8.8-1 -- Updates version to 0.8.8 -- Fix nominal "tqt" typos and fix slow DVB start. [Bug #729, #899] -- Change location where Kaffeine stores temporary pipe files from $HOME to the more appropriate $KDEHOME/tmp-$HOSTNAME. -- Work around Xine crash when displaying still logo image by creating a small movie file to replace it [Bug #511, #559] -- Add man page - -* Sun Dec 04 2011 Francois Andriot - 0.8.6-2 -- Disable 'libxcb-devel' for RHEL 5 compilation -- Fix HTML directory location - -* Wed Nov 09 2011 Francois Andriot - 0.8.6-1 -- Spec file based on Fedora 8 'kaffeine-0.8.6-3' diff --git a/redhat/applications/kasablanca/kasablanca-14.0.0-fix_ftp.patch b/redhat/applications/kasablanca/kasablanca-14.0.0-fix_ftp.patch deleted file mode 100644 index e365bfa55..000000000 --- a/redhat/applications/kasablanca/kasablanca-14.0.0-fix_ftp.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- trinity-kasablanca-14.0.0~pre22+07aa7379/src/ftpthread.cpp.ORI 2014-02-19 22:52:20.875005485 +0100 -+++ trinity-kasablanca-14.0.0~pre22+07aa7379/src/ftpthread.cpp 2014-02-19 22:53:01.488995960 +0100 -@@ -1094,8 +1094,8 @@ - - bool FtpThread::FormatFilelist(const char *filename, TQString current, filist *dirtable, filist *filetable) - { -- int i, blocks, space, month_int = 1; -- unsigned int loc, fileloc, datebegin, sizebegin = 0; -+ int i, blocks, space, month_int = 1, loc; -+ unsigned int fileloc, datebegin, sizebegin = 0; - string buffer, filestring; - - FILE* dirfile; diff --git a/redhat/applications/katapult/katapult-3.5.12.spec b/redhat/applications/katapult/katapult-3.5.12.spec deleted file mode 100644 index 1ae79b3cd..000000000 --- a/redhat/applications/katapult/katapult-3.5.12.spec +++ /dev/null @@ -1,120 +0,0 @@ -# Default version for this component -%define kdecomp katapult -%define version 0.3.2.1 -%define release 1 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%define _docdir %{_prefix}/share/doc -%endif - -# TDE 3.5.12 specific building variables -BuildRequires: autoconf automake libtool m4 -%define tde_docdir %{_docdir} -%define tde_includedir %{_includedir}/kde -%define tde_libdir %{_libdir}/kde3 - - -Name: trinity-%{kdecomp} -Summary: Faster access to applications, bookmarks, and other items. -Version: %{?version} -Release: %{?release}%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Source0: %{kdecomp}-3.5.12.tar.gz -Patch0: katapult-0.3.2.1_to_0.3.2.2.patch - -# TQt4 port Katapult. This enables compilation under both Qt3 and Qt4. -Patch1: r1233929.diff - - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-kdelibs-devel -BuildRequires: trinity-kdebase-devel -BuildRequires: desktop-file-utils - -%description -Katapult is an application for KDE, designed to allow faster access to -applications, bookmarks, and other items. It is plugin-based, so it can -launch anything that is has a plugin for. Its display is driven by -plugins as well, so its appearance is completely customizable. It was -inspired by Quicksilver for OS X. - - -%prep -%setup -q -n applications/%{kdecomp} -%patch0 -p1 -#patch1 -p2 - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -export PATH="%{_bindir}:${PATH}" -export LDFLAGS="-L%{_libdir} -I%{_includedir}" - -export CXXFLAGS="-DTQ_OBJECT=//" - -chmod +x ./configure - -%configure \ - --disable-rpath \ - --with-extra-includes=%{_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{_bindir}:${PATH}" -%__rm -rf %{buildroot} -%make_install - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : -/sbin/ldconfig - -%postun -touch --no-create %{_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : -/sbin/ldconfig - - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{_bindir}/* -%{_datadir}/applications/*/*.desktop -%{_datadir}/icons/*/*/*/* -%{_datadir}/locale/*/*/*.mo -%{_datadir}/services/*.desktop -%{_datadir}/servicetypes/*.desktop -%{tde_libdir}/*.so -%{_libdir}/*.so.* -%{tde_docdir}/HTML/en/katapult - - -%exclude %{tde_libdir}/*.la -%exclude %{_libdir}/*.so -%exclude %{_libdir}/*.la - -%Changelog -* Tue Sep 14 2011 Francois Andriot - 0.3.2.1-1 -- Initial release for RHEL 6.0 -- Import to GIT - diff --git a/redhat/applications/katapult/katapult-3.5.13.1.spec b/redhat/applications/katapult/katapult-3.5.13.1.spec deleted file mode 100644 index bdff714ad..000000000 --- a/redhat/applications/katapult/katapult-3.5.13.1.spec +++ /dev/null @@ -1,196 +0,0 @@ -# Default version for this component -%define kdecomp katapult - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Faster access to applications, bookmarks, and other items. -Version: 0.3.2.1 -Release: 5%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils - -%description -Katapult is an application for TDE, designed to allow faster access to -applications, bookmarks, and other items. It is plugin-based, so it can -launch anything that is has a plugin for. Its display is driven by -plugins as well, so its appearance is completely customizable. It was -inspired by Quicksilver for OS X. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f admin/Makefile.common - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -# Removes useless files (-devel ?) -%__rm -f %{?buildroot}%{tde_libdir}/*.so -%__rm -f %{?buildroot}%{tde_libdir}/*.la - -%clean -%__rm -rf %{buildroot} - - -%post -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig || : -update-desktop-database %{tde_appdir} &> /dev/null - -%postun -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig || : -update-desktop-database %{tde_appdir} &> /dev/null - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/katapult -%{tde_libdir}/libkatapult.so.2 -%{tde_libdir}/libkatapult.so.2.0.0 -%{tde_tdelibdir}/katapult_amarokcatalog.la -%{tde_tdelibdir}/katapult_amarokcatalog.so -%{tde_tdelibdir}/katapult_bookmarkcatalog.la -%{tde_tdelibdir}/katapult_bookmarkcatalog.so -%{tde_tdelibdir}/katapult_calculatorcatalog.la -%{tde_tdelibdir}/katapult_calculatorcatalog.so -%{tde_tdelibdir}/katapult_documentcatalog.la -%{tde_tdelibdir}/katapult_documentcatalog.so -%{tde_tdelibdir}/katapult_execcatalog.la -%{tde_tdelibdir}/katapult_execcatalog.so -%{tde_tdelibdir}/katapult_glassdisplay.la -%{tde_tdelibdir}/katapult_glassdisplay.so -%{tde_tdelibdir}/katapult_googlecatalog.la -%{tde_tdelibdir}/katapult_googlecatalog.so -%{tde_tdelibdir}/katapult_o2display.la -%{tde_tdelibdir}/katapult_o2display.so -%{tde_tdelibdir}/katapult_programcatalog.la -%{tde_tdelibdir}/katapult_programcatalog.so -%{tde_tdelibdir}/katapult_puredisplay.la -%{tde_tdelibdir}/katapult_puredisplay.so -%{tde_tdelibdir}/katapult_spellcatalog.la -%{tde_tdelibdir}/katapult_spellcatalog.so -%{tde_tdeappdir}/katapult.desktop -%{tde_datadir}/icons/crystalsvg/128x128/actions/katapultspellcheck.png -%{tde_datadir}/icons/crystalsvg/scalable/actions/katapultspellcheck.svgz -%{tde_datadir}/icons/hicolor/128x128/actions/checkmark.png -%{tde_datadir}/icons/hicolor/128x128/actions/no.png -%{tde_datadir}/icons/hicolor/128x128/apps/xcalc.png -%{tde_datadir}/icons/hicolor/*/apps/katapult.png -%{tde_datadir}/icons/hicolor/scalable/apps/katapult.svgz -%{tde_datadir}/services/katapult_amarokcatalog.desktop -%{tde_datadir}/services/katapult_bookmarkcatalog.desktop -%{tde_datadir}/services/katapult_calculatorcatalog.desktop -%{tde_datadir}/services/katapult_documentcatalog.desktop -%{tde_datadir}/services/katapult_execcatalog.desktop -%{tde_datadir}/services/katapult_glassdisplay.desktop -%{tde_datadir}/services/katapult_googlecatalog.desktop -%{tde_datadir}/services/katapult_o2display.desktop -%{tde_datadir}/services/katapult_programcatalog.desktop -%{tde_datadir}/services/katapult_puredisplay.desktop -%{tde_datadir}/services/katapult_spellcatalog.desktop -%{tde_datadir}/servicetypes/katapultcatalog.desktop -%{tde_datadir}/servicetypes/katapultdisplay.desktop -%{tde_tdedocdir}/HTML/en/katapult/ - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.3.2.1-5 -- Initial release for TDE 3.5.13.1 - -* Tue May 01 2012 Francois Andriot - 0.3.2.1-4 -- Rebuilt for Fedora 17 -- Fix post and postun - -* Fri Nov 25 2011 Francois Andriot - 0.3.2.1-3 -- Fix HTML directory location - -* Sun Oct 30 2011 Francois Andriot - 0.3.2.1-2 -- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 - -* Tue Sep 14 2011 Francois Andriot - 0.3.2.1-1 -- Initial release for RHEL 6.0 -- Import to GIT - diff --git a/redhat/applications/katapult/katapult-3.5.13.2.spec b/redhat/applications/katapult/katapult-3.5.13.2.spec deleted file mode 100644 index c26f46fbd..000000000 --- a/redhat/applications/katapult/katapult-3.5.13.2.spec +++ /dev/null @@ -1,173 +0,0 @@ -# Default version for this component -%define tde_pkg katapult -%define tde_version 3.5.13.2 - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tde_pkg} -Summary: Faster access to applications, bookmarks, and other items. -Version: 0.3.2.1 -Release: %{?!preversion:7}%{?preversion:6_%{preversion}}%{?dist} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-arts-devel >= 1:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - - -%description -Katapult is an application for TDE, designed to allow faster access to -applications, bookmarks, and other items. It is plugin-based, so it can -launch anything that is has a plugin for. Its display is driven by -plugins as well, so its appearance is completely customizable. It was -inspired by Quicksilver for OS X. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f admin/Makefile.common - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --enable-final \ - --enable-closure \ - --enable-rpath - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{tde_pkg} - -# Removes useless files (-devel ?) -%__rm -f %{?buildroot}%{tde_libdir}/*.so -%__rm -f %{?buildroot}%{tde_libdir}/*.la - -%clean -%__rm -rf %{buildroot} - - -%post -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig || : -update-desktop-database %{tde_appdir} &> /dev/null - -%postun -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig || : -update-desktop-database %{tde_appdir} &> /dev/null - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/katapult -%{tde_libdir}/libkatapult.so.2 -%{tde_libdir}/libkatapult.so.2.0.0 -%{tde_tdelibdir}/katapult_amarokcatalog.la -%{tde_tdelibdir}/katapult_amarokcatalog.so -%{tde_tdelibdir}/katapult_bookmarkcatalog.la -%{tde_tdelibdir}/katapult_bookmarkcatalog.so -%{tde_tdelibdir}/katapult_calculatorcatalog.la -%{tde_tdelibdir}/katapult_calculatorcatalog.so -%{tde_tdelibdir}/katapult_documentcatalog.la -%{tde_tdelibdir}/katapult_documentcatalog.so -%{tde_tdelibdir}/katapult_execcatalog.la -%{tde_tdelibdir}/katapult_execcatalog.so -%{tde_tdelibdir}/katapult_glassdisplay.la -%{tde_tdelibdir}/katapult_glassdisplay.so -%{tde_tdelibdir}/katapult_googlecatalog.la -%{tde_tdelibdir}/katapult_googlecatalog.so -%{tde_tdelibdir}/katapult_o2display.la -%{tde_tdelibdir}/katapult_o2display.so -%{tde_tdelibdir}/katapult_programcatalog.la -%{tde_tdelibdir}/katapult_programcatalog.so -%{tde_tdelibdir}/katapult_puredisplay.la -%{tde_tdelibdir}/katapult_puredisplay.so -%{tde_tdelibdir}/katapult_spellcatalog.la -%{tde_tdelibdir}/katapult_spellcatalog.so -%{tde_tdeappdir}/katapult.desktop -%{tde_datadir}/icons/crystalsvg/128x128/actions/katapultspellcheck.png -%{tde_datadir}/icons/crystalsvg/scalable/actions/katapultspellcheck.svgz -%{tde_datadir}/icons/hicolor/128x128/actions/checkmark.png -%{tde_datadir}/icons/hicolor/128x128/actions/no.png -%{tde_datadir}/icons/hicolor/128x128/apps/xcalc.png -%{tde_datadir}/icons/hicolor/*/apps/katapult.png -%{tde_datadir}/icons/hicolor/scalable/apps/katapult.svgz -%{tde_datadir}/services/katapult_amarokcatalog.desktop -%{tde_datadir}/services/katapult_bookmarkcatalog.desktop -%{tde_datadir}/services/katapult_calculatorcatalog.desktop -%{tde_datadir}/services/katapult_documentcatalog.desktop -%{tde_datadir}/services/katapult_execcatalog.desktop -%{tde_datadir}/services/katapult_glassdisplay.desktop -%{tde_datadir}/services/katapult_googlecatalog.desktop -%{tde_datadir}/services/katapult_o2display.desktop -%{tde_datadir}/services/katapult_programcatalog.desktop -%{tde_datadir}/services/katapult_puredisplay.desktop -%{tde_datadir}/services/katapult_spellcatalog.desktop -%{tde_datadir}/servicetypes/katapultcatalog.desktop -%{tde_datadir}/servicetypes/katapultdisplay.desktop -%{tde_tdedocdir}/HTML/en/katapult/ - - -%changelog diff --git a/redhat/applications/katapult/katapult-3.5.13.spec b/redhat/applications/katapult/katapult-3.5.13.spec deleted file mode 100644 index dff27c6e6..000000000 --- a/redhat/applications/katapult/katapult-3.5.13.spec +++ /dev/null @@ -1,189 +0,0 @@ -# Default version for this component -%define kdecomp katapult - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Faster access to applications, bookmarks, and other items. -Version: 0.3.2.1 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils - -%description -Katapult is an application for TDE, designed to allow faster access to -applications, bookmarks, and other items. It is plugin-based, so it can -launch anything that is has a plugin for. Its display is driven by -plugins as well, so its appearance is completely customizable. It was -inspired by Quicksilver for OS X. - - -%prep -%setup -q -n applications/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f admin/Makefile.common - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -# Removes useless files (-devel ?) -%__rm -f %{?buildroot}%{tde_libdir}/*.so -%__rm -f %{?buildroot}%{tde_libdir}/*.la - -%clean -%__rm -rf %{buildroot} - - -%post -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig || : -update-desktop-database %{tde_appdir} &> /dev/null - -%postun -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig || : -update-desktop-database %{tde_appdir} &> /dev/null - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/katapult -%{tde_libdir}/libkatapult.so.2 -%{tde_libdir}/libkatapult.so.2.0.0 -%{tde_tdelibdir}/katapult_amarokcatalog.la -%{tde_tdelibdir}/katapult_amarokcatalog.so -%{tde_tdelibdir}/katapult_bookmarkcatalog.la -%{tde_tdelibdir}/katapult_bookmarkcatalog.so -%{tde_tdelibdir}/katapult_calculatorcatalog.la -%{tde_tdelibdir}/katapult_calculatorcatalog.so -%{tde_tdelibdir}/katapult_documentcatalog.la -%{tde_tdelibdir}/katapult_documentcatalog.so -%{tde_tdelibdir}/katapult_execcatalog.la -%{tde_tdelibdir}/katapult_execcatalog.so -%{tde_tdelibdir}/katapult_glassdisplay.la -%{tde_tdelibdir}/katapult_glassdisplay.so -%{tde_tdelibdir}/katapult_googlecatalog.la -%{tde_tdelibdir}/katapult_googlecatalog.so -%{tde_tdelibdir}/katapult_o2display.la -%{tde_tdelibdir}/katapult_o2display.so -%{tde_tdelibdir}/katapult_programcatalog.la -%{tde_tdelibdir}/katapult_programcatalog.so -%{tde_tdelibdir}/katapult_puredisplay.la -%{tde_tdelibdir}/katapult_puredisplay.so -%{tde_tdelibdir}/katapult_spellcatalog.la -%{tde_tdelibdir}/katapult_spellcatalog.so -%{tde_tdeappdir}/katapult.desktop -%{tde_datadir}/icons/crystalsvg/128x128/actions/katapultspellcheck.png -%{tde_datadir}/icons/crystalsvg/scalable/actions/katapultspellcheck.svgz -%{tde_datadir}/icons/hicolor/128x128/actions/checkmark.png -%{tde_datadir}/icons/hicolor/128x128/actions/no.png -%{tde_datadir}/icons/hicolor/128x128/apps/xcalc.png -%{tde_datadir}/icons/hicolor/*/apps/katapult.png -%{tde_datadir}/icons/hicolor/scalable/apps/katapult.svgz -%{tde_datadir}/services/katapult_amarokcatalog.desktop -%{tde_datadir}/services/katapult_bookmarkcatalog.desktop -%{tde_datadir}/services/katapult_calculatorcatalog.desktop -%{tde_datadir}/services/katapult_documentcatalog.desktop -%{tde_datadir}/services/katapult_execcatalog.desktop -%{tde_datadir}/services/katapult_glassdisplay.desktop -%{tde_datadir}/services/katapult_googlecatalog.desktop -%{tde_datadir}/services/katapult_o2display.desktop -%{tde_datadir}/services/katapult_programcatalog.desktop -%{tde_datadir}/services/katapult_puredisplay.desktop -%{tde_datadir}/services/katapult_spellcatalog.desktop -%{tde_datadir}/servicetypes/katapultcatalog.desktop -%{tde_datadir}/servicetypes/katapultdisplay.desktop -%{tde_tdedocdir}/HTML/en/katapult/ - - - - -%Changelog -* Tue May 01 2012 Francois Andriot - 0.3.2.1-4 -- Rebuilt for Fedora 17 -- Fix post and postun - -* Fri Nov 25 2011 Francois Andriot - 0.3.2.1-3 -- Fix HTML directory location - -* Sun Oct 30 2011 Francois Andriot - 0.3.2.1-2 -- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 - -* Tue Sep 14 2011 Francois Andriot - 0.3.2.1-1 -- Initial release for RHEL 6.0 -- Import to GIT - diff --git a/redhat/applications/kbarcode/kbarcode-3.5.13-fix_format_not_a_string_literal.patch b/redhat/applications/kbarcode/kbarcode-3.5.13-fix_format_not_a_string_literal.patch deleted file mode 100644 index e779aa994..000000000 --- a/redhat/applications/kbarcode/kbarcode-3.5.13-fix_format_not_a_string_literal.patch +++ /dev/null @@ -1,27 +0,0 @@ -commit 14ba7d8af6ef7248dcd3eb85ae977950d1758600 -Author: Timothy Pearson -Date: 1336066403 -0500 - - Fix 'format not a string literal' error - -diff --git a/kbarcode/csvimportdlg.cpp b/kbarcode/csvimportdlg.cpp -index 26e59da..6b07a7b 100644 ---- a/kbarcode/csvimportdlg.cpp -+++ b/kbarcode/csvimportdlg.cpp -@@ -334,7 +334,6 @@ void CSVImportDlg::accept() - TQValueList headers; - TQStringList list; - TQString name = getDatabaseName(); -- int i = 0; - - TQString q = "INSERT INTO " + name + " ("; - for( int c = 0; c < table->horizontalHeader()->count(); c++ ) { -@@ -375,7 +374,7 @@ void CSVImportDlg::accept() - - TQSqlQuery query; - if( !query.exec( line ) ) -- qDebug( i18n("Could not import the following line:") + line ); -+ qDebug( "%s", i18n("Could not import the following line:") + line ); - //KMessageBox::error( this, i18n("Could not import the following line:") + line ); - } - diff --git a/redhat/applications/kbarcode/kbarcode-3.5.13-fix_ftbfs.patch b/redhat/applications/kbarcode/kbarcode-3.5.13-fix_ftbfs.patch deleted file mode 100644 index 87328eb06..000000000 --- a/redhat/applications/kbarcode/kbarcode-3.5.13-fix_ftbfs.patch +++ /dev/null @@ -1,19 +0,0 @@ -commit 62777d2782c7fa738eb047eff175785fc2cd24ff -Author: Timothy Pearson -Date: 1336091409 -0500 - - Fix FTBFS - -diff --git a/kbarcode/csvimportdlg.cpp b/kbarcode/csvimportdlg.cpp -index 6b07a7b..b5c6efa 100644 ---- a/kbarcode/csvimportdlg.cpp -+++ b/kbarcode/csvimportdlg.cpp -@@ -374,7 +374,7 @@ void CSVImportDlg::accept() - - TQSqlQuery query; - if( !query.exec( line ) ) -- qDebug( "%s", i18n("Could not import the following line:") + line ); -+ qDebug( "%s", (i18n("Could not import the following line:") + line).ascii() ); - //KMessageBox::error( this, i18n("Could not import the following line:") + line ); - } - diff --git a/redhat/applications/kbarcode/kbarcode-3.5.13-fix_remaining_string_literal.patch b/redhat/applications/kbarcode/kbarcode-3.5.13-fix_remaining_string_literal.patch deleted file mode 100644 index de445db7f..000000000 --- a/redhat/applications/kbarcode/kbarcode-3.5.13-fix_remaining_string_literal.patch +++ /dev/null @@ -1,32 +0,0 @@ -commit b8dc3f5795c618c3617302973fff7d7bbf0ead2d -Author: Timothy Pearson -Date: 1336099921 -0500 - - Fix remaining string format errors - -diff --git a/kbarcode/pixmapbarcode.cpp b/kbarcode/pixmapbarcode.cpp -index 02cb19b..4768b3e 100644 ---- a/kbarcode/pixmapbarcode.cpp -+++ b/kbarcode/pixmapbarcode.cpp -@@ -178,7 +178,7 @@ bool PixmapBarcode::createPixmap( TQPixmap* target, int resx, int resy ) - cmd += input->name(); - cmd += " -sNOPAUSE -q - -c showpage quit"; - -- qDebug("cmd: " + cmd ); -+ qDebug("cmd: %s", cmd.ascii() ); - gs_pipe = popen( cmd.latin1(), "w" ); - if( !gs_pipe ) - { -diff --git a/kbarcode/tbarcode2.cpp b/kbarcode/tbarcode2.cpp -index 8490f7c..95cc64f 100644 ---- a/kbarcode/tbarcode2.cpp -+++ b/kbarcode/tbarcode2.cpp -@@ -122,7 +122,7 @@ bool TBarcode2::createPostscript( char** postscript, long* postscript_size ) - tbarcode->height(), - tbarcode->checksum() ); - -- qDebug( "Cmd = " + cmd ); -+ qDebug( "Cmd = %s", cmd.ascii() ); - if( !readFromPipe( cmd.latin1(), postscript, postscript_size ) ) - return false; - diff --git a/redhat/applications/kbarcode/kbarcode-3.5.13.1.spec b/redhat/applications/kbarcode/kbarcode-3.5.13.1.spec deleted file mode 100644 index eb1805d37..000000000 --- a/redhat/applications/kbarcode/kbarcode-3.5.13.1.spec +++ /dev/null @@ -1,160 +0,0 @@ -# Default version for this component -%define kdecomp kbarcode - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: barcode and label printing application for Trinity -Version: 2.0.6 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.kbarcode.net - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -KBarcode is a barcode and label printing application for Trinity. It can be used -to print everything from simple business cards up to complex labels with -several barcodes (e.g. article descriptions). - -KBarcode comes with an easy to use WYSIWYG label designer, a setup wizard, -batch import of data for batch printing labels (directly from the delivery -note), thousands of predefined labels, database management tools and -translations in many languages. Even printing more than 10.000 labels in one -go is no problem for KBarcode. Data for printing can be imported from several -different data sources, including SQL databases, CSV files and the KDE address -book. - -Additionally it is a simple barcode generator (similar to the old xbarcode you -might know). All major types of barcodes like EAN, UPC, CODE39 and ISBN are -supported. Even complex 2D barcodes are supported using third party tools. The -generated barcodes can be directly printed or you can export them into images -to use them in another application. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{_includedir}/tqt - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%find_lang %{kdecomp} || touch %{kdecomp}.lang - - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README TODO -%{tde_bindir}/kbarcode -%{tde_tdelibdir}/kfile_kbarcode.la -%{tde_tdelibdir}/kfile_kbarcode.so -%{tde_tdeappdir}/kbarcode-batch.desktop -%{tde_tdeappdir}/kbarcode-editor.desktop -%{tde_tdeappdir}/kbarcode-label.desktop -%{tde_tdeappdir}/kbarcode-single.desktop -%{tde_tdeappdir}/kbarcode.desktop -%{tde_datadir}/apps/kbarcode/ -%{tde_datadir}/icons/hicolor/*/actions/barcode.png -%{tde_datadir}/icons/hicolor/*/actions/kbarcodeellipse.png -%{tde_datadir}/icons/hicolor/*/actions/kbarcodegrid.png -%{tde_datadir}/icons/hicolor/*/actions/kbarcodelinetool.png -%{tde_datadir}/icons/hicolor/*/actions/kbarcoderect.png -%{tde_datadir}/icons/hicolor/*/apps/kbarcode.png -%{tde_datadir}/services/kfile_kbarcode.desktop - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 2.0.6-2 -- Initial release for TDE 3.5.13.1 - -* Wed Nov 30 2011 Francois Andriot - 2.0.6-1 -- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kbarcode/kbarcode-3.5.13.2.spec b/redhat/applications/kbarcode/kbarcode-3.5.13.2.spec deleted file mode 100644 index 1713feaab..000000000 --- a/redhat/applications/kbarcode/kbarcode-3.5.13.2.spec +++ /dev/null @@ -1,154 +0,0 @@ -# Default version for this component -%define tde_pkg kbarcode -%define tde_version 3.5.13.2 - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tde_pkg} -Summary: barcode and label printing application for Trinity -Version: 2.0.6 -Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.kbarcode.net - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - - -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-arts-devel >= 1:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: gettext - - -%description -KBarcode is a barcode and label printing application for Trinity. It can be used -to print everything from simple business cards up to complex labels with -several barcodes (e.g. article descriptions). - -KBarcode comes with an easy to use WYSIWYG label designer, a setup wizard, -batch import of data for batch printing labels (directly from the delivery -note), thousands of predefined labels, database management tools and -translations in many languages. Even printing more than 10.000 labels in one -go is no problem for KBarcode. Data for printing can be imported from several -different data sources, including SQL databases, CSV files and the TDE address -book. - -Additionally it is a simple barcode generator (similar to the old xbarcode you -might know). All major types of barcodes like EAN, UPC, CODE39 and ISBN are -supported. Even complex 2D barcodes are supported using third party tools. The -generated barcodes can be directly printed or you can export them into images -to use them in another application. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --enable-final \ - --enable-closure \ - --enable-rpath \ - \ - --with-extra-includes=%{_includedir}/pcre - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%find_lang %{tde_pkg} - - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README TODO -%{tde_bindir}/kbarcode -%{tde_tdelibdir}/kfile_kbarcode.la -%{tde_tdelibdir}/kfile_kbarcode.so -%{tde_tdeappdir}/kbarcode-batch.desktop -%{tde_tdeappdir}/kbarcode-editor.desktop -%{tde_tdeappdir}/kbarcode-label.desktop -%{tde_tdeappdir}/kbarcode-single.desktop -%{tde_tdeappdir}/kbarcode.desktop -%{tde_datadir}/apps/kbarcode/ -%{tde_datadir}/icons/hicolor/*/actions/barcode.png -%{tde_datadir}/icons/hicolor/*/actions/kbarcodeellipse.png -%{tde_datadir}/icons/hicolor/*/actions/kbarcodegrid.png -%{tde_datadir}/icons/hicolor/*/actions/kbarcodelinetool.png -%{tde_datadir}/icons/hicolor/*/actions/kbarcoderect.png -%{tde_datadir}/icons/hicolor/*/apps/kbarcode.png -%{tde_datadir}/services/kfile_kbarcode.desktop - - -%changelog diff --git a/redhat/applications/kbarcode/kbarcode-3.5.13.spec b/redhat/applications/kbarcode/kbarcode-3.5.13.spec deleted file mode 100644 index 287fea1b6..000000000 --- a/redhat/applications/kbarcode/kbarcode-3.5.13.spec +++ /dev/null @@ -1,161 +0,0 @@ -# Default version for this component -%define kdecomp kbarcode - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: barcode and label printing application for Trinity -Version: 2.0.6 -Release: 1%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.kbarcode.net - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -# [kbarcode] Fix 'format not a string literal' error [Commit #14ba7d8a] -Patch1: kbarcode-3.5.13-fix_format_not_a_string_literal.patch -# [kbarcode] Fix FTBFS [Commit #62777d27] -Patch2: kbarcode-3.5.13-fix_ftbfs.patch -# [kbarcode] Fix remaining string format errors [Commit #b8dc3f57] -Patch3: kbarcode-3.5.13-fix_remaining_string_literal.patch - - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -KBarcode is a barcode and label printing application for Trinity. It can be used -to print everything from simple business cards up to complex labels with -several barcodes (e.g. article descriptions). - -KBarcode comes with an easy to use WYSIWYG label designer, a setup wizard, -batch import of data for batch printing labels (directly from the delivery -note), thousands of predefined labels, database management tools and -translations in many languages. Even printing more than 10.000 labels in one -go is no problem for KBarcode. Data for printing can be imported from several -different data sources, including SQL databases, CSV files and the KDE address -book. - -Additionally it is a simple barcode generator (similar to the old xbarcode you -might know). All major types of barcodes like EAN, UPC, CODE39 and ISBN are -supported. Even complex 2D barcodes are supported using third party tools. The -generated barcodes can be directly printed or you can export them into images -to use them in another application. - - -%prep -%setup -q -n applications/%{kdecomp} -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --disable-rpath \ - --with-extra-includes=%{_includedir}/tqt - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%find_lang %{kdecomp} || touch %{kdecomp}.lang - - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README TODO -%{tde_bindir}/kbarcode -%{tde_tdelibdir}/kfile_kbarcode.la -%{tde_tdelibdir}/kfile_kbarcode.so -%{tde_tdeappdir}/kbarcode-batch.desktop -%{tde_tdeappdir}/kbarcode-editor.desktop -%{tde_tdeappdir}/kbarcode-label.desktop -%{tde_tdeappdir}/kbarcode-single.desktop -%{tde_tdeappdir}/kbarcode.desktop -%{tde_datadir}/apps/kbarcode/ -%{tde_datadir}/icons/hicolor/*/actions/barcode.png -%{tde_datadir}/icons/hicolor/*/actions/kbarcodeellipse.png -%{tde_datadir}/icons/hicolor/*/actions/kbarcodegrid.png -%{tde_datadir}/icons/hicolor/*/actions/kbarcodelinetool.png -%{tde_datadir}/icons/hicolor/*/actions/kbarcoderect.png -%{tde_datadir}/icons/hicolor/*/apps/kbarcode.png -%{tde_datadir}/services/kfile_kbarcode.desktop - - -%Changelog -* Wed Nov 30 2011 Francois Andriot - 2.0.6-1 -- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kbfx/kbfx-3.5.13-fix_install_directories.patch b/redhat/applications/kbfx/kbfx-3.5.13-fix_install_directories.patch deleted file mode 100644 index 43ec3a0ed..000000000 --- a/redhat/applications/kbfx/kbfx-3.5.13-fix_install_directories.patch +++ /dev/null @@ -1,8 +0,0 @@ ---- kbfx/doc/CMakeLists.txt.ORI 2012-08-04 18:33:25.916251160 +0200 -+++ kbfx/doc/CMakeLists.txt 2012-08-04 18:33:49.658779402 +0200 -@@ -14,4 +14,4 @@ - ) - - INSTALL(FILES ${DOCFILES} -- DESTINATION ${SHARE_INSTALL_PREFIX}/doc/kbfx) -+ DESTINATION ${DOC_INSTALL_DIR}/kbfx) diff --git a/redhat/applications/kbfx/kbfx-3.5.13-missing_ldflags.patch b/redhat/applications/kbfx/kbfx-3.5.13-missing_ldflags.patch deleted file mode 100644 index ac20238f7..000000000 --- a/redhat/applications/kbfx/kbfx-3.5.13-missing_ldflags.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- kbfx/plugins/applications/CMakeLists.txt.ORI 2012-08-04 18:24:43.221636976 +0200 -+++ kbfx/plugins/applications/CMakeLists.txt 2012-08-04 18:26:32.602463608 +0200 -@@ -21,6 +21,7 @@ - ${KDE3_UI_LIBRARY} - ${KDE3_KHTML_LIBRARY} - ${M_LIBRARY} -+ ${KDE3_DCOP_LIBRARY} - ) - - KDE3_INSTALL_LIBTOOL_FILE(kbfxplasmadatastub ${LIB_INSTALL_DIR}/kbfx/plugins) ---- kbfx/plugins/settings/CMakeLists.txt.ORI 2012-08-04 18:28:43.968853387 +0200 -+++ kbfx/plugins/settings/CMakeLists.txt 2012-08-04 18:29:10.408328041 +0200 -@@ -21,6 +21,7 @@ - ${KDE3_UI_LIBRARY} - ${KDE3_KHTML_LIBRARY} - ${M_LIBRARY} -+ ${KDE3_DCOP_LIBRARY} - ) - - KDE3_INSTALL_LIBTOOL_FILE(kbfxplasmadatasettings ${LIB_INSTALL_DIR}/kbfx/plugins) diff --git a/redhat/applications/kbfx/kbfx-3.5.13.1-fix_install_directories.patch b/redhat/applications/kbfx/kbfx-3.5.13.1-fix_install_directories.patch deleted file mode 100644 index 93d0a406e..000000000 --- a/redhat/applications/kbfx/kbfx-3.5.13.1-fix_install_directories.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- kbfx-3.5.13.1/doc/CMakeLists.txt.dir 2012-07-05 19:59:27.000000000 +0200 -+++ kbfx-3.5.13.1/doc/CMakeLists.txt 2012-10-03 22:55:59.145960716 +0200 -@@ -13,5 +13,8 @@ - # TODO - ) - -+#add_subdirectory( common ) -+#add_subdirectory( en ) -+ - INSTALL(FILES ${DOCFILES} -- DESTINATION ${SHARE_INSTALL_PREFIX}/doc/kbfx) -+ DESTINATION ${DOC_INSTALL_DIR}/kbfx) diff --git a/redhat/applications/kbfx/kbfx-3.5.13.1.spec b/redhat/applications/kbfx/kbfx-3.5.13.1.spec deleted file mode 100644 index c6eb49dab..000000000 --- a/redhat/applications/kbfx/kbfx-3.5.13.1.spec +++ /dev/null @@ -1,169 +0,0 @@ -# Default version for this component -%define kdecomp kbfx - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: an alternative to K-Menu for KDE [Trinity] -Version: 0.4.9.3.1 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -# [kbfx] Some files are installed in wrong directories ... -Patch2: kbfx-3.5.13.1-fix_install_directories.patch - - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils - -%description -KBFX is an alternative to the classical K-Menu button and its menu. -It improves the user experience by enabling him to set a bigger (and thus more -visible) start button and by finally replacing the Win95-like K-Menu. -If you still want the old menu, because you're used to it, it is still -available as an option in kbfx. We recommend, however, that you give the Spinx -bar a try. - -Homepage: http://www.kbfx.org - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 -%patch2 -p1 -b .dir - -# Fix TDE executable path in 'CMakeLists.txt' ... -%__sed -i "CMakeLists.txt" \ - -e "s|/usr/bin/uic-tqt|%{tde_bindir}/uic-tqt|" \ - -e "s|/usr/bin/tmoc|%{tde_bindir}/tmoc|" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|" - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_tdeincludedir}:%{tde_includedir}/tqt" - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DDATA_INSTALL_DIR=%{tde_datadir}/apps \ - -DMIME_INSTALL_DIR=%{tde_datadir}/mimelnk \ - -DXDG_APPS_INSTALL_DIR=%{tde_tdeappdir} \ - -DDOC_INSTALL_DIR=%{tde_tdedocdir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DUSE_STRIGI=OFF \ - -DUSE_MENUDRAKE=OFF \ - -DBUILD_DOC=ON \ - -DBUILD_ALL=OFF \ - .. - -# Not SMP safe ! -%__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build VERBOSE=1 - - -%clean -%__rm -rf %{buildroot} - - -%post -/sbin/ldconfig -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - -%postun -/sbin/ldconfig -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - - -%files -%defattr(-,root,root,-) -%{tde_bindir}/kbfxconfigapp -%{tde_tdeincludedir}/kbfx/ -%{tde_libdir}/kbfx/plugins/libkbfxplasmadataplasmoid.la -%{tde_libdir}/kbfx/plugins/libkbfxplasmadataplasmoid.so -%{tde_libdir}/kbfx/plugins/libkbfxplasmadatasettings.la -%{tde_libdir}/kbfx/plugins/libkbfxplasmadatasettings.so -%{tde_libdir}/kbfx/plugins/libkbfxplasmadatastub.la -%{tde_libdir}/kbfx/plugins/libkbfxplasmadatastub.so -%{tde_libdir}/kbfx/plugins/libkbfxplasmarecentstuff.la -%{tde_libdir}/kbfx/plugins/libkbfxplasmarecentstuff.so -%{tde_libdir}/libkbfxcommon.la -%{tde_libdir}/libkbfxcommon.so -%{tde_libdir}/libkbfxdata.la -%{tde_libdir}/libkbfxdata.so -%{tde_tdelibdir}/kbfxspinx.la -%{tde_tdelibdir}/kbfxspinx.so -%{tde_tdeappdir}/kbfx_theme.desktop -%{tde_tdeappdir}/kbfxconfigapp.desktop -%{tde_datadir}/apps/kbfx/skins/*/* -%{tde_datadir}/apps/kbfxconfigapp/kbfxconfigappui.rc -%{tde_datadir}/apps/kicker/applets/kbfxspinx.desktop -%{tde_datadir}/apps/konqueror/servicemenus/kbfx_install_theme.desktop -%{tde_datadir}/apps/konqueror/servicemenus/kbfx_prepare_theme.desktop -#%{tde_tdedocdir}/HTML/en/common/kbfx-*.jpg -#%{tde_tdedocdir}/HTML/en/kbfxconfigapp/ -%{tde_tdedocdir}/kbfx/ -%{tde_datadir}/icons/hicolor/*/apps/kbfx.png -%{tde_datadir}/icons/hicolor/*/apps/kbfxconfigapp.png -#%{tde_datadir}/locale/*/LC_MESSAGES/kbfxconfigapp.mo -%{tde_datadir}/mimelnk/application/x-kbfxtheme.desktop - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.4.9.3.1-2 -- Initial release for TDE 3.5.13.1 - -* Sun Nov 20 2011 Francois Andriot - 0.4.9.3.1-1 -- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kbfx/kbfx-3.5.13.2.spec b/redhat/applications/kbfx/kbfx-3.5.13.2.spec deleted file mode 100644 index f3e9f4694..000000000 --- a/redhat/applications/kbfx/kbfx-3.5.13.2.spec +++ /dev/null @@ -1,173 +0,0 @@ -# Default version for this component -%define tde_pkg kbfx -%define tde_version 3.5.13.2 - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tde_pkg} -Summary: an alternative to K-Menu for TDE [Trinity] -Version: 0.4.9.3.1 -Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - - -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-arts-devel >= 1:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - - -%description -KBFX is an alternative to the classical K-Menu button and its menu. -It improves the user experience by enabling him to set a bigger (and thus more -visible) start button and by finally replacing the Win95-like K-Menu. -If you still want the old menu, because you're used to it, it is still -available as an option in kbfx. We recommend, however, that you give the Spinx -bar a try. - -Homepage: http://www.kbfx.org - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -# Fix TDE executable path in 'CMakeLists.txt' ... -%__sed -i "CMakeLists.txt" \ - -e "s|/usr/bin/uic-tqt|%{tde_bindir}/uic-tqt|" \ - -e "s|/usr/bin/tmoc|%{tde_bindir}/tmoc|" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|" - -%build -unset QTDIR QTINC QTLIB -. /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -# Shitty hack for RHEL4 ... -if [ -d "/usr/X11R6" ]; then - export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH}:/usr/X11R6/include:/usr/X11R6/%{_lib}" - export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DDATA_INSTALL_DIR=%{tde_datadir}/apps \ - -DMIME_INSTALL_DIR=%{tde_datadir}/mimelnk \ - -DXDG_APPS_INSTALL_DIR=%{tde_tdeappdir} \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}"\ - -DDOC_INSTALL_DIR=%{tde_tdedocdir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - \ - -DUSE_STRIGI=OFF \ - -DUSE_MENUDRAKE=OFF \ - -DBUILD_DOC=ON \ - -DBUILD_ALL=OFF \ - .. - -# Not SMP safe ! -%__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build VERBOSE=1 - - -%clean -%__rm -rf %{buildroot} - - -%post -/sbin/ldconfig -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - -%postun -/sbin/ldconfig -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - - -%files -%defattr(-,root,root,-) -%{tde_bindir}/kbfxconfigapp -%{tde_tdeincludedir}/kbfx/ -%{tde_libdir}/kbfx/plugins/libkbfxplasmadataplasmoid.la -%{tde_libdir}/kbfx/plugins/libkbfxplasmadataplasmoid.so -%{tde_libdir}/kbfx/plugins/libkbfxplasmadatasettings.la -%{tde_libdir}/kbfx/plugins/libkbfxplasmadatasettings.so -%{tde_libdir}/kbfx/plugins/libkbfxplasmadatastub.la -%{tde_libdir}/kbfx/plugins/libkbfxplasmadatastub.so -%{tde_libdir}/kbfx/plugins/libkbfxplasmarecentstuff.la -%{tde_libdir}/kbfx/plugins/libkbfxplasmarecentstuff.so -%{tde_libdir}/libkbfxcommon.la -%{tde_libdir}/libkbfxcommon.so -%{tde_libdir}/libkbfxdata.la -%{tde_libdir}/libkbfxdata.so -%{tde_tdelibdir}/kbfxspinx.la -%{tde_tdelibdir}/kbfxspinx.so -%{tde_tdeappdir}/kbfx_theme.desktop -%{tde_tdeappdir}/kbfxconfigapp.desktop -%{tde_datadir}/apps/kbfx/skins/*/* -%{tde_datadir}/apps/kbfxconfigapp/kbfxconfigappui.rc -%{tde_datadir}/apps/kicker/applets/kbfxspinx.desktop -%{tde_datadir}/apps/konqueror/servicemenus/kbfx_install_theme.desktop -%{tde_datadir}/apps/konqueror/servicemenus/kbfx_prepare_theme.desktop -#%{tde_tdedocdir}/HTML/en/common/kbfx-*.jpg -#%{tde_tdedocdir}/HTML/en/kbfxconfigapp/ -%{tde_tdedocdir}/kbfx/ -%{tde_datadir}/icons/hicolor/*/apps/kbfx.png -%{tde_datadir}/icons/hicolor/*/apps/kbfxconfigapp.png -#%{tde_datadir}/locale/*/LC_MESSAGES/kbfxconfigapp.mo -%{tde_datadir}/mimelnk/application/x-kbfxtheme.desktop - - -%changelog diff --git a/redhat/applications/kbfx/kbfx-3.5.13.spec b/redhat/applications/kbfx/kbfx-3.5.13.spec deleted file mode 100644 index 47b4831e0..000000000 --- a/redhat/applications/kbfx/kbfx-3.5.13.spec +++ /dev/null @@ -1,165 +0,0 @@ -# Default version for this component -%define kdecomp kbfx - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: an alternative to K-Menu for KDE [Trinity] -Version: 0.4.9.3.1 -Release: 1%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -# [kbfx] Missing LDFLAGS cause FTBFS on Mageia 2 and Mandriva 2011 -Patch1: kbfx-3.5.13-missing_ldflags.patch -# [kbfx] Some files are installed in wrong directories ... -Patch2: kbfx-3.5.13-fix_install_directories.patch - - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils - -%description -KBFX is an alternative to the classical K-Menu button and its menu. -It improves the user experience by enabling him to set a bigger (and thus more -visible) start button and by finally replacing the Win95-like K-Menu. -If you still want the old menu, because you're used to it, it is still -available as an option in kbfx. We recommend, however, that you give the Spinx -bar a try. - -Homepage: http://www.kbfx.org - - -%prep -%setup -q -n applications/%{kdecomp} -%patch1 -p1 -b .ldflags -%patch2 -p1 -b .dir - -# Fix TDE executable path in 'CMakeLists.txt' ... -%__sed -i "CMakeLists.txt" \ - -e "s|/usr/bin/uic-tqt|%{tde_bindir}/uic-tqt|" \ - -e "s|/usr/bin/tmoc|%{tde_bindir}/tmoc|" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|" - -# Prevents hardcoded TDE directories ... -%__sed -i "cmakemodules/FindKdeLibs.cmake" \ - -e "s|^\(set(HTML_INSTALL_DIR.*\)|#\1|" \ - -e "s|^\(set(INCLUDE_INSTALL_DIR.*\)|#\1|" - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_tdeincludedir}:%{tde_includedir}/tqt" - -%if 0%{?rhel} || 0%{?fedora} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DDOC_INSTALL_DIR=%{tde_tdedocdir} \ - -DHTML_INSTALL_DIR=%{tde_tdedocdir}/HTML \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DUSE_STRIGI=OFF \ - -DUSE_MENUDRAKE=OFF \ - -DUSE_KDE4=OFF \ - .. - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build VERBOSE=1 - - -%clean -%__rm -rf %{buildroot} - - -%post -/sbin/ldconfig -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - -%postun -/sbin/ldconfig -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - - -%files -%defattr(-,root,root,-) -%{tde_bindir}/kbfxconfigapp -%{tde_tdeincludedir}/kbfx/ -%{tde_libdir}/kbfx/plugins/libkbfxplasmadataplasmoid.la -%{tde_libdir}/kbfx/plugins/libkbfxplasmadataplasmoid.so -%{tde_libdir}/kbfx/plugins/libkbfxplasmadatasettings.la -%{tde_libdir}/kbfx/plugins/libkbfxplasmadatasettings.so -%{tde_libdir}/kbfx/plugins/libkbfxplasmadatastub.la -%{tde_libdir}/kbfx/plugins/libkbfxplasmadatastub.so -%{tde_libdir}/kbfx/plugins/libkbfxplasmarecentstuff.la -%{tde_libdir}/kbfx/plugins/libkbfxplasmarecentstuff.so -%{tde_libdir}/libkbfxcommon.la -%{tde_libdir}/libkbfxcommon.so -%{tde_libdir}/libkbfxdata.la -%{tde_libdir}/libkbfxdata.so -%{tde_tdelibdir}/libkbfxspinx.la -%{tde_tdelibdir}/libkbfxspinx.so -%{tde_tdeappdir}/kbfx_theme.desktop -%{tde_tdeappdir}/kbfxconfigapp.desktop -%{tde_datadir}/apps/kbfx/skins/*/* -%{tde_datadir}/apps/kbfxconfigapp/kbfxconfigappui.rc -%{tde_datadir}/apps/kicker/applets/kbfxspinx.desktop -%{tde_datadir}/apps/konqueror/servicemenus/kbfx_install_theme.desktop -%{tde_datadir}/apps/konqueror/servicemenus/kbfx_prepare_theme.desktop -%{tde_tdedocdir}/HTML/en/common/kbfx-*.jpg -%{tde_tdedocdir}/HTML/en/kbfxconfigapp/index.cache.bz2 -%{tde_tdedocdir}/HTML/en/kbfxconfigapp/index.docbook -%{tde_tdedocdir}/kbfx/ -%{tde_datadir}/icons/hicolor/*/apps/kbfx.png -%{tde_datadir}/icons/hicolor/*/apps/kbfxconfigapp.png -%{tde_datadir}/locale/*/LC_MESSAGES/kbfxconfigapp.mo -%{tde_datadir}/mimelnk/application/x-kbfxtheme.desktop - - -%Changelog -* Sun Nov 20 2011 Francois Andriot - 0.4.9.3.1-1 -- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kbookreader/kbookreader-3.5.13.1.spec b/redhat/applications/kbookreader/kbookreader-3.5.13.1.spec deleted file mode 100644 index 825244f38..000000000 --- a/redhat/applications/kbookreader/kbookreader-3.5.13.1.spec +++ /dev/null @@ -1,156 +0,0 @@ -# Default version for this component -%define kdecomp kbookreader - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: eBook reader for Trinity. -Version: 0.2.0 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-arts-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils - - -%description -kbookreader is an application which allows you to view eBooks -within the Trinity Desktop Environment. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f admin/Makefile.common - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - - -## File lists -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/bookreader -%{tde_bindir}/bookreader_client -%{tde_datadir}/applnk/Utilities/bookreader.desktop -%{tde_datadir}/apps/bookreader/ -%{tde_datadir}/config.kcfg/bookreader.kcfg -%{tde_tdedocdir}/HTML/en/bookreader/ -%{tde_datadir}/icons/hicolor/*/apps/bookreader.png - - - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.2.0-3 -- Initial release for TDE 3.5.13.1 - -* Tue May 01 2012 Francois Andriot - 0.2.0-2 -- Rebuilt for Fedora 17 -- Fix post and postun -- Fix HTML directory location - -* Sun Oct 30 2011 Francois Andriot - 0.2.0-1 -- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 diff --git a/redhat/applications/kbookreader/kbookreader-3.5.13.2.spec b/redhat/applications/kbookreader/kbookreader-3.5.13.2.spec deleted file mode 100644 index 61f8a726c..000000000 --- a/redhat/applications/kbookreader/kbookreader-3.5.13.2.spec +++ /dev/null @@ -1,118 +0,0 @@ -# Default version for this component -%define tde_pkg kbookreader -%define tde_version 3.5.13.2 - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tde_pkg} -Summary: eBook reader for Trinity. -Version: 0.2.0 -Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - - -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-arts-devel >= 1:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - - -%description -kbookreader is an application which allows you to view eBooks -within the Trinity Desktop Environment. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f admin/Makefile.common - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --enable-final \ - --enable-closure \ - --enable-rpath - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/bookreader -%{tde_bindir}/bookreader_client -%{tde_datadir}/applnk/Utilities/bookreader.desktop -%{tde_datadir}/apps/bookreader/ -%{tde_datadir}/config.kcfg/bookreader.kcfg -%{tde_tdedocdir}/HTML/en/bookreader/ -%{tde_datadir}/icons/hicolor/*/apps/bookreader.png - - -%changelog diff --git a/redhat/applications/kbookreader/kbookreader-3.5.13.spec b/redhat/applications/kbookreader/kbookreader-3.5.13.spec deleted file mode 100644 index 5f4263f6f..000000000 --- a/redhat/applications/kbookreader/kbookreader-3.5.13.spec +++ /dev/null @@ -1,147 +0,0 @@ -# Default version for this component -%define kdecomp kbookreader - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: eBook reader for Trinity. -Version: 0.2.0 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-arts-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils - - -%description -kbookreader is an application which allows you to view eBooks -within the Trinity Desktop Environment. - - -%prep -%setup -q -n applications/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f admin/Makefile.common - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - - -## File lists -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/bookreader -%{tde_bindir}/bookreader_client -%{tde_datadir}/applnk/Utilities/bookreader.desktop -%{tde_datadir}/apps/bookreader/ -%{tde_datadir}/config.kcfg/bookreader.kcfg -%{tde_tdedocdir}/HTML/en/bookreader/ -%{tde_datadir}/icons/hicolor/*/apps/bookreader.png - - - - -%Changelog -* Tue May 01 2012 Francois Andriot - 0.2.0-2 -- Rebuilt for Fedora 17 -- Fix post and postun -- Fix HTML directory location - -* Sun Oct 30 2011 Francois Andriot - 0.2.0-1 -- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 diff --git a/redhat/applications/kchmviewer/kchmviewer-3.5.13-missing_ldflags.patch b/redhat/applications/kchmviewer/kchmviewer-3.5.13-missing_ldflags.patch deleted file mode 100644 index 05012b5ba..000000000 --- a/redhat/applications/kchmviewer/kchmviewer-3.5.13-missing_ldflags.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- kchmviewer/lib/kio-msits/Makefile.am.ORI 2011-11-21 00:43:10.415241950 +0100 -+++ kchmviewer/lib/kio-msits/Makefile.am 2011-11-21 00:43:22.929241583 +0100 -@@ -5,7 +5,7 @@ - - kio_msits_la_SOURCES = msits.cpp - kio_msits_la_LIBADD = -lkio $(CHM_LIBS) --kio_msits_la_LDFLAGS = -module -avoid-version $(KDE_LDFLAGS) $(LIB_QT) $(LIB_KIO) $(LIB_KDECORE) $(KDE_PLUGIN) -+kio_msits_la_LDFLAGS = -module -avoid-version $(KDE_LDFLAGS) $(LIB_QT) $(LIB_KIO) $(LIB_KDECORE) $(KDE_PLUGIN) $(QT_LDFLAGS) - - protocol_DATA = msits.protocol - protocoldir = $(kde_servicesdir) diff --git a/redhat/applications/kchmviewer/kchmviewer-3.5.13.1.spec b/redhat/applications/kchmviewer/kchmviewer-3.5.13.1.spec deleted file mode 100644 index 774a8ff7a..000000000 --- a/redhat/applications/kchmviewer/kchmviewer-3.5.13.1.spec +++ /dev/null @@ -1,158 +0,0 @@ -# Default version for this component -%define kdecomp kchmviewer - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: CHM viewer for Trinity -Version: 3.1.2 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -# [kchmviewer] Missing LDFLAGS cause FTBFS on Mageia 2 / Mandriva 2011 -Patch0: kchmviewer-3.5.13-missing_ldflags.patch - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils - -%description -KchmViewer is a chm (MS HTML help file format) viewer, written in C++. -Unlike most existing CHM viewers for Unix, it uses Trolltech Qt widget -library, and does not depend on KDE or GNOME. However, it may be compiled -with full Trinity support, including Trinity widgets and KIO/KHTML. - -The main advantage of KchmViewer is non-English language support. Unlike -others, KchmViewer in most cases correctly detects help file encoding, -correctly shows tables of context of Russian, Korean, Chinese and Japanese -help files, and correctly searches in non-English help files (search for -MBCS languages - ja/ko/ch is still in progress). - -Completely safe and harmless. Does not support JavaScript in any way, -optionally warns you before opening an external web page, or switching to -another help file. Shows an appropriate image for every TOC entry. - -KchmViewer Has complete chm index support, including multiple index entries, -cross-links and parent/child entries in index as well as Persistent bookmarks -support. Correctly detects and shows encoding of any valid chm file. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 -%patch0 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-x \ - --with-kde \ - --with-extra-includes=%{_includedir}/tqt \ - --enable-closure - - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -# Removes useless files -%__rm -f %{?buildroot}%{tde_libdir}/*.a - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/crystalsvg || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : - -%postun -touch --no-create %{tde_datadir}/icons/crystalsvg || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc ChangeLog COPYING FAQ README -%{tde_bindir}/kchmviewer -%{tde_tdelibdir}/kio_msits.la -%{tde_tdelibdir}/kio_msits.so -%{tde_datadir}/applnk/kchmviewer.desktop -%{tde_datadir}/icons/crystalsvg/*/apps/kchmviewer.png -%{tde_datadir}/services/msits.protocol - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 3.1.2-3 -- Initial release for TDE 3.5.13.1 - -* Tue May 01 2012 Francois Andriot - 3.1.2-2 -- Rebuilt for Fedora 17 -- Fix post and postun -- Fix HTML directory location - -* Sat Nov 19 2011 Francois Andriot - 3.1.2-1 -- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kchmviewer/kchmviewer-3.5.13.2.spec b/redhat/applications/kchmviewer/kchmviewer-3.5.13.2.spec deleted file mode 100644 index 36012a73f..000000000 --- a/redhat/applications/kchmviewer/kchmviewer-3.5.13.2.spec +++ /dev/null @@ -1,145 +0,0 @@ -# Default version for this component -%define tde_pkg kchmviewer -%define tde_version 3.5.13.2 - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tde_pkg} -Summary: CHM viewer for Trinity -Version: 3.1.2 -Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-arts-devel >= 1:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - - -%description -KchmViewer is a chm (MS HTML help file format) viewer, written in C++. -Unlike most existing CHM viewers for Unix, it uses Trolltech Qt widget -library, and does not depend on TDE or GNOME. However, it may be compiled -with full Trinity support, including Trinity widgets and KIO/KHTML. - -The main advantage of KchmViewer is non-English language support. Unlike -others, KchmViewer in most cases correctly detects help file encoding, -correctly shows tables of context of Russian, Korean, Chinese and Japanese -help files, and correctly searches in non-English help files (search for -MBCS languages - ja/ko/ch is still in progress). - -Completely safe and harmless. Does not support JavaScript in any way, -optionally warns you before opening an external web page, or switching to -another help file. Shows an appropriate image for every TOC entry. - -KchmViewer Has complete chm index support, including multiple index entries, -cross-links and parent/child entries in index as well as Persistent bookmarks -support. Correctly detects and shows encoding of any valid chm file. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" - -# Specific path for RHEL4 -if [ -d /usr/X11R6 ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -# Warning: --enable-final causes FTBFS ! -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --disable-final \ - --enable-closure \ - --enable-rpath \ - \ - --with-x \ - --with-kde - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{tde_pkg} - -# Removes useless files -%__rm -f %{?buildroot}%{tde_libdir}/*.a - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/crystalsvg || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : - -%postun -touch --no-create %{tde_datadir}/icons/crystalsvg || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc ChangeLog COPYING FAQ README -%{tde_bindir}/kchmviewer -%{tde_tdelibdir}/kio_msits.la -%{tde_tdelibdir}/kio_msits.so -%{tde_datadir}/applnk/kchmviewer.desktop -%{tde_datadir}/icons/crystalsvg/*/apps/kchmviewer.png -%{tde_datadir}/services/msits.protocol - - -%changelog diff --git a/redhat/applications/kchmviewer/kchmviewer-3.5.13.spec b/redhat/applications/kchmviewer/kchmviewer-3.5.13.spec deleted file mode 100644 index e2dba2a34..000000000 --- a/redhat/applications/kchmviewer/kchmviewer-3.5.13.spec +++ /dev/null @@ -1,149 +0,0 @@ -# Default version for this component -%define kdecomp kchmviewer - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: CHM viewer for Trinity -Version: 3.1.2 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -# [kchmviewer] Missing LDFLAGS cause FTBFS on Mageia 2 / Mandriva 2011 -Patch0: kchmviewer-3.5.13-missing_ldflags.patch - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-kdelibs-devel -BuildRequires: trinity-kdebase-devel -BuildRequires: desktop-file-utils - -%description -KchmViewer is a chm (MS HTML help file format) viewer, written in C++. -Unlike most existing CHM viewers for Unix, it uses Trolltech Qt widget -library, and does not depend on KDE or GNOME. However, it may be compiled -with full Trinity support, including Trinity widgets and KIO/KHTML. - -The main advantage of KchmViewer is non-English language support. Unlike -others, KchmViewer in most cases correctly detects help file encoding, -correctly shows tables of context of Russian, Korean, Chinese and Japanese -help files, and correctly searches in non-English help files (search for -MBCS languages - ja/ko/ch is still in progress). - -Completely safe and harmless. Does not support JavaScript in any way, -optionally warns you before opening an external web page, or switching to -another help file. Shows an appropriate image for every TOC entry. - -KchmViewer Has complete chm index support, including multiple index entries, -cross-links and parent/child entries in index as well as Persistent bookmarks -support. Correctly detects and shows encoding of any valid chm file. - - -%prep -%setup -q -n applications/%{kdecomp} -%patch0 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --disable-rpath \ - --with-x \ - --with-kde \ - --with-extra-includes=%{_includedir}/tqt \ - --enable-closure - - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -# Removes useless files -%__rm -f %{?buildroot}%{tde_libdir}/*.a - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/crystalsvg || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : - -%postun -touch --no-create %{tde_datadir}/icons/crystalsvg || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc ChangeLog COPYING FAQ README -%{tde_bindir}/kchmviewer -%{tde_tdelibdir}/kio_msits.la -%{tde_tdelibdir}/kio_msits.so -%{tde_datadir}/applnk/kchmviewer.desktop -%{tde_datadir}/icons/crystalsvg/*/apps/kchmviewer.png -%{tde_datadir}/services/msits.protocol - - -%Changelog -* Tue May 01 2012 Francois Andriot - 3.1.2-2 -- Rebuilt for Fedora 17 -- Fix post and postun -- Fix HTML directory location - -* Sat Nov 19 2011 Francois Andriot - 3.1.2-1 -- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kcmautostart/kcmautostart-3.5.13-add_french.patch b/redhat/applications/kcmautostart/kcmautostart-3.5.13-add_french.patch deleted file mode 100644 index dcdb2ef48..000000000 --- a/redhat/applications/kcmautostart/kcmautostart-3.5.13-add_french.patch +++ /dev/null @@ -1,69 +0,0 @@ ---- kcmautostart/src/autostart.desktop.ORI 2012-05-10 11:47:47.743164035 +0200 -+++ kcmautostart/src/autostart.desktop 2012-05-10 11:49:15.127289325 +0200 -@@ -14,8 +14,10 @@ - Comment=A KControl tool for managing what programs start up with TDE. - Comment[ca]=Panell de control per a gestionar els programes que s'inicien amb la sessió de TDE. - Comment[es]=Panel de control para gestionar los programas que se inician con la sesión de TDE. -+Comment[fr]=Paneau de contrôle pour gérer le démarrage des programmes à l'ouverture de session TDE. - Keywords=autostart manager - Name=Autostart Manager - Name[ca]=Autoengega - Name[es]=Arranque automático -+Name[fr]=Démarrage automatique - Categories=Qt;KDE;X-KDE-settings-components; -diff -Nuar kcmautostart/po.ori//fr.po kcmautostart/po/fr.po ---- kcmautostart/po.ori//fr.po 1970-01-01 01:00:00.000000000 +0100 -+++ kcmautostart/po/fr.po 2012-05-10 19:27:38.107215981 +0200 -@@ -0,0 +1,52 @@ -+msgid "" -+msgstr "" -+"Content-Type: text/plain; charset=UTF-8\n" -+"Content-Transfer-Encoding: 8bit\n" -+"PO-Revision-Date: 2012-05-10 12:01+0100\n" -+"Project-Id-Version: autostart_ca\n" -+"Language-Team: \n" -+"X-Generator: KBabel 1.11.4\n" -+"MIME-Version: 1.0\n" -+"Plural-Forms: nplurals=2; plural=(n != 1);\n" -+"Last-Translator: Josep Febrer \n" -+ -+#: ../src/autostart.cpp:61 -+msgid "Startup" -+msgstr "Démarrage" -+ -+#: ../src/autostart.cpp:62 -+msgid "Shutdown" -+msgstr "Arrêt" -+ -+#: ../src/autostart.cpp:63 -+msgid "ENV" -+msgstr "ENV" -+ -+#: ../src/autostart.cpp:102 -+msgid "Name" -+msgstr "Nom" -+ -+#: ../src/autostart.cpp:103 -+msgid "Command" -+msgstr "Commande" -+ -+#: ../src/autostart.cpp:104 -+msgid "Run on" -+msgstr "Executer" -+ -+#: ../src/autostart.cpp:129 -+msgid "&Add" -+msgstr "&Ajouter" -+ -+#: ../src/autostart.cpp:131 -+msgid "&Remove" -+msgstr "&Supprimer" -+ -+#: ../src/autostart.cpp:133 -+msgid "&Properties" -+msgstr "&Propiétés" -+ -+#: ../src/autostart.cpp:317 -+msgid "This module helps you configure which applications KDE runs When starting up and shutting down." -+msgstr "Ce module vous aide à configurer quelles applications sont exécutées à l'ouverture et à la fermeture de session de TDE." -+ diff --git a/redhat/applications/kcmautostart/kcmautostart-3.5.13-fix_crash_on_exit.patch b/redhat/applications/kcmautostart/kcmautostart-3.5.13-fix_crash_on_exit.patch deleted file mode 100644 index da0940d89..000000000 --- a/redhat/applications/kcmautostart/kcmautostart-3.5.13-fix_crash_on_exit.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- kcmautostart/src/autostart.cpp.crash_on_exit 2013-05-10 23:35:31.443410887 +0200 -+++ kcmautostart/src/autostart.cpp 2013-05-10 23:46:31.852926622 +0200 -@@ -102,7 +102,10 @@ - if (bisDesktop) service = new KService( fileName.path() ); - } - ~desktop() { -- delete service; -+ if(service) { -+ service = NULL; -+ delete service; -+ } - } - }; - diff --git a/redhat/applications/kcmautostart/kcmautostart-3.5.13-fix_fr_translation.patch b/redhat/applications/kcmautostart/kcmautostart-3.5.13-fix_fr_translation.patch deleted file mode 100644 index d7b0217ee..000000000 --- a/redhat/applications/kcmautostart/kcmautostart-3.5.13-fix_fr_translation.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- kcmautostart/po/fr.po.ORI 2013-05-10 23:28:02.181493730 +0200 -+++ kcmautostart/po/fr.po 2013-05-10 23:28:09.944336813 +0200 -@@ -44,7 +44,7 @@ - - #: ../src/autostart.cpp:133 - msgid "&Properties" --msgstr "&Propiétés" -+msgstr "&Propriétés" - - #: ../src/autostart.cpp:317 - msgid "This module helps you configure which applications KDE runs When starting up and shutting down." diff --git a/redhat/applications/kcmautostart/kcmautostart-3.5.13-ftbfs.patch b/redhat/applications/kcmautostart/kcmautostart-3.5.13-ftbfs.patch deleted file mode 100644 index 0807b3a9b..000000000 --- a/redhat/applications/kcmautostart/kcmautostart-3.5.13-ftbfs.patch +++ /dev/null @@ -1,67 +0,0 @@ ---- kcmautostart.ORI/src/autostart.cpp 2012-05-10 11:36:44.887288951 +0200 -+++ kcmautostart.P/src/autostart.cpp 2012-05-10 11:37:16.701639283 +0200 -@@ -88,10 +88,10 @@ - path = kgs->autostartPath()+"/"; - break; - case Shutdown: -- path = ksd->localtdedir()+"shutdown/"; -+ path = ksd->localkdedir()+"shutdown/"; - break; - case ENV: -- path = ksd->localtdedir()+"env/"; -+ path = ksd->localkdedir()+"env/"; - break; - } - KIO::file_move(fileName, KURL( path + fileName.fileName() )); -@@ -190,9 +190,9 @@ - if (x==0) - path = kgs->autostartPath(); - else if (x==1) -- path = ksd->localtdedir() + "/shutdown"; -+ path = ksd->localkdedir() + "/shutdown"; - else if (x==2) -- path = ksd->localtdedir() + "/env"; -+ path = ksd->localkdedir() + "/env"; - - if (! KStandardDirs::exists(path)) - KStandardDirs::makeDir(path); ---- kcmautostart/admin/cvs.sh.ftbfs 2012-05-10 11:30:01.000000000 +0200 -+++ kcmautostart/admin/cvs.sh 2013-06-04 21:27:13.097359615 +0200 -@@ -68,7 +68,7 @@ - echo "*** KDE requires automake $required_automake_version" - exit 1 - ;; -- automake*1.6.* | automake*1.7* | automake*1.8* | automake*1.9* | automake*1.10* | automake*1.11* | automake*1.12*) -+ automake*1.6.* | automake*1.7* | automake*1.8* | automake*1.9* | automake*1.1[0-9]* ) - echo "*** $AUTOMAKE_STRING found." - UNSERMAKE=no - ;; -@@ -128,7 +128,7 @@ - echo "*** Creating configure" - call_and_fix_autoconf - --if egrep "^AM_CONFIG_HEADER" configure.in >/dev/null 2>&1; then -+if egrep "^A[CM]_CONFIG_HEADER" configure.in >/dev/null 2>&1; then - echo "*** Creating config.h template" - $AUTOHEADER || exit 1 - touch config.h.in -@@ -184,7 +184,7 @@ - fi - fi - $ACLOCAL $ACLOCALFLAGS --if egrep "^AM_CONFIG_HEADER" configure.in >/dev/null 2>&1; then -+if egrep "^A[CM]_CONFIG_HEADER" configure.in >/dev/null 2>&1; then - echo "*** Creating config.h template" - $AUTOHEADER || exit 1 - touch config.h.in ---- kcmautostart/admin/configure.in.min.ORI 2013-06-04 21:28:06.399273569 +0200 -+++ kcmautostart/admin/configure.in.min 2013-06-04 21:28:12.584147551 +0200 -@@ -41,7 +41,7 @@ - KDE_SET_PREFIX - - dnl generate the config header --AM_CONFIG_HEADER(config.h) dnl at the distribution this done -+AC_CONFIG_HEADER(config.h) dnl at the distribution this done - - dnl Checks for programs. - AC_PROG_CC diff --git a/redhat/applications/kcmautostart/kcmautostart-3.5.13.1.spec b/redhat/applications/kcmautostart/kcmautostart-3.5.13.1.spec deleted file mode 100644 index 8212e91f3..000000000 --- a/redhat/applications/kcmautostart/kcmautostart-3.5.13.1.spec +++ /dev/null @@ -1,125 +0,0 @@ -# Default version for this component -%define kdecomp kchmviewer - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-kcmautostart -Summary: Manage applications automatic startup. -Version: 1.0 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: kcmautostart-3.5.13.tar.gz - -# [kcmautostart] Fix FTBFS with TDE 3.5.13 -Patch1: kcmautostart-3.5.13-ftbfs.patch -# [kcmautostart] Add French support -Patch2: kcmautostart-3.5.13-add_french.patch - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-arts-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gcc-c++ - -Requires: trinity-kdebase - -%description -%{summary} - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -a 0 -n applications/kcmautostart -%patch1 -p1 -%patch2 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --disable-static - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang autostart - -%clean -%__rm -rf %{buildroot} - - -%files -f autostart.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING INSTALL NEWS README TODO -%{tde_tdelibdir}/kcm_autostart.la -%{tde_tdelibdir}/kcm_autostart.so -%{tde_tdeappdir}/autostart.desktop -%{tde_tdedocdir}/HTML/en/autostart/ - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 1.0-2 -- Initial release for TDE 3.5.13.1 - -* Thu May 10 2012 Francois Andriot - 1.0-1 -- Initial release for TDE 3.5.13 diff --git a/redhat/applications/kcmautostart/kcmautostart-3.5.13.2.spec b/redhat/applications/kcmautostart/kcmautostart-3.5.13.2.spec deleted file mode 100644 index 0ccd9d6d5..000000000 --- a/redhat/applications/kcmautostart/kcmautostart-3.5.13.2.spec +++ /dev/null @@ -1,124 +0,0 @@ -# Default version for this component -%define tde_pkg kchmviewer -%define tde_version 3.5.13.2 - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-kcmautostart -Summary: Manage applications automatic startup. -Version: 1.0 -Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: kcmautostart-3.5.13.tar.gz - -# [kcmautostart] Fix FTBFS with TDE 3.5.13 -Patch1: kcmautostart-3.5.13-ftbfs.patch -# [kcmautostart] Add French support -Patch2: kcmautostart-3.5.13-add_french.patch -# [kcmautostart] kcmautostart crash on exit -Patch3: kcmautostart-3.5.13-fix_crash_on_exit.patch -# [kcmautostart] Fix french translation -Patch4: kcmautostart-3.5.13-fix_fr_translation.patch - -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-arts-devel >= 1:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: gcc-c++ - -Requires: trinity-tdebase >= %{tde_version} - -%description -%{summary} - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n applications/kcmautostart -%patch1 -p1 -b .ftbfs -%patch2 -p1 -%patch3 -p1 -b .crash_on_exit -%patch4 -p1 -b .fr_translation - -%__sed -i admin/acinclude.m4.in \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --enable-final \ - --enable-closure \ - --enable-rpath - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang autostart - - -%clean -%__rm -rf %{buildroot} - - -%files -f autostart.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING INSTALL NEWS README TODO -%{tde_tdelibdir}/kcm_autostart.la -%{tde_tdelibdir}/kcm_autostart.so -%{tde_tdeappdir}/autostart.desktop -%{tde_tdedocdir}/HTML/en/autostart/ - - -%changelog diff --git a/redhat/applications/kcmautostart/kcmautostart-3.5.13.spec b/redhat/applications/kcmautostart/kcmautostart-3.5.13.spec deleted file mode 100644 index 522deb769..000000000 --- a/redhat/applications/kcmautostart/kcmautostart-3.5.13.spec +++ /dev/null @@ -1,116 +0,0 @@ -# Default version for this component -%define kdecomp kchmviewer - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-kcmautostart -Summary: Manage applications automatic startup. -Version: 1.0 -Release: 1%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: kcmautostart-3.5.13.tar.gz - -# [kcmautostart] Fix FTBFS with TDE 3.5.13 -Patch1: kcmautostart-3.5.13-ftbfs.patch -# [kcmautostart] Add French support -Patch2: kcmautostart-3.5.13-add_french.patch - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-arts-devel -BuildRequires: trinity-kdelibs-devel -BuildRequires: trinity-kdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gcc-c++ - -Requires: trinity-kdebase - -%description -%{summary} - -%prep -%setup -q -a 0 -n applications/kcmautostart -%patch1 -p1 -%patch2 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --disable-static - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang autostart - -%clean -%__rm -rf %{buildroot} - - -%files -f autostart.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING INSTALL NEWS README TODO -%{tde_tdelibdir}/kcm_autostart.la -%{tde_tdelibdir}/kcm_autostart.so -%{tde_tdeappdir}/autostart.desktop -%{tde_tdedocdir}/HTML/en/autostart/ - - -%Changelog -* Thu May 10 2012 Francois Andriot - 1.0-1 -- Initial release for TDE 3.5.13 diff --git a/redhat/applications/kcmautostart/kcmautostart-fr.po b/redhat/applications/kcmautostart/kcmautostart-fr.po deleted file mode 100644 index 6d898bc97..000000000 --- a/redhat/applications/kcmautostart/kcmautostart-fr.po +++ /dev/null @@ -1,52 +0,0 @@ -msgid "" -msgstr "" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"PO-Revision-Date: 2012-05-10 12:01+0100\n" -"Project-Id-Version: autostart_ca\n" -"Language-Team: \n" -"X-Generator: KBabel 1.11.4\n" -"MIME-Version: 1.0\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"Last-Translator: Josep Febrer \n" - -#: ../src/autostart.cpp:61 -msgid "Startup" -msgstr "Démarrage" - -#: ../src/autostart.cpp:62 -msgid "Shutdown" -msgstr "Arrêt" - -#: ../src/autostart.cpp:63 -msgid "ENV" -msgstr "ENV" - -#: ../src/autostart.cpp:102 -msgid "Name" -msgstr "Nom" - -#: ../src/autostart.cpp:103 -msgid "Command" -msgstr "Comande" - -#: ../src/autostart.cpp:104 -msgid "Run on" -msgstr "Executer" - -#: ../src/autostart.cpp:129 -msgid "&Add" -msgstr "&Ajouter" - -#: ../src/autostart.cpp:131 -msgid "&Remove" -msgstr "&Supprimer" - -#: ../src/autostart.cpp:133 -msgid "&Properties" -msgstr "&Propiétés" - -#: ../src/autostart.cpp:317 -msgid "This module helps you configure which applications KDE runs When starting up and shutting down." -msgstr "Ce module vous aide à configurer quelles applications sont exécutées à l'ouverture et à la fermeture de session de TDE." - diff --git a/redhat/applications/kcpuload/kcpuload-3.5.13.1.spec b/redhat/applications/kcpuload/kcpuload-3.5.13.1.spec deleted file mode 100644 index 4632b6607..000000000 --- a/redhat/applications/kcpuload/kcpuload-3.5.13.1.spec +++ /dev/null @@ -1,139 +0,0 @@ -# Default version for this component -%define kdecomp kcpuload - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: a CPU meter for Kicker [Trinity] -Version: 2.00 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -KCPULoad is a small program for Kicker (the TDE panel). It shows a -recent history of CPU usage in the form of one or two configurable -diagrams in the system tray. These diagrams have settings for colours -and various different styles. - -KCPULoad has support for SMP and separate user/system loads. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%clean -%__rm -rf %{buildroot} - - -%post -for f in crystalsvg locolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - -%postun -for f in crystalsvg locolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - - -%files -%defattr(-,root,root,-) -%{tde_bindir}/kcpuload -%{tde_datadir}/applnk/System/kcpuload.desktop -%{tde_datadir}/apps/kcpuload/icons/*/*/*/*.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcpuload.png -%{tde_datadir}/icons/locolor/*/apps/kcpuload.png -%{tde_tdedocdir}/HTML/en/kcpuload/ - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 2.00-3 -- Initial release for TDE 3.5.13.1 - -* Tue May 01 2012 Francois Andriot - 2.00-2 -- Rebuilt for Fedora 17 -- Fix post and postun -- Fix HTML directory location - -* Sat Nov 19 2011 Francois Andriot - 2.00-1 -- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kcpuload/kcpuload-3.5.13.2.spec b/redhat/applications/kcpuload/kcpuload-3.5.13.2.spec deleted file mode 100644 index df8ec2705..000000000 --- a/redhat/applications/kcpuload/kcpuload-3.5.13.2.spec +++ /dev/null @@ -1,125 +0,0 @@ -# Default version for this component -%define tde_pkg kcpuload -%define tde_version 3.5.13.2 - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tde_pkg} -Summary: a CPU meter for Kicker [Trinity] -Version: 2.00 -Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-arts-devel >= 1:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: gettext - - -%description -KCPULoad is a small program for Kicker (the TDE panel). It shows a -recent history of CPU usage in the form of one or two configurable -diagrams in the system tray. These diagrams have settings for colours -and various different styles. - -KCPULoad has support for SMP and separate user/system loads. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --enable-final \ - --enable-closure \ - --enable-rpath - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%clean -%__rm -rf %{buildroot} - - -%post -for f in crystalsvg locolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - -%postun -for f in crystalsvg locolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - - -%files -%defattr(-,root,root,-) -%{tde_bindir}/kcpuload -%{tde_datadir}/applnk/System/kcpuload.desktop -%{tde_datadir}/apps/kcpuload/icons/*/*/*/*.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcpuload.png -%{tde_datadir}/icons/locolor/*/apps/kcpuload.png -%{tde_tdedocdir}/HTML/en/kcpuload/ - - -%changelog diff --git a/redhat/applications/kcpuload/kcpuload-3.5.13.spec b/redhat/applications/kcpuload/kcpuload-3.5.13.spec deleted file mode 100644 index 828d6ee84..000000000 --- a/redhat/applications/kcpuload/kcpuload-3.5.13.spec +++ /dev/null @@ -1,130 +0,0 @@ -# Default version for this component -%define kdecomp kcpuload - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: a CPU meter for Kicker [Trinity] -Version: 2.00 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-kdelibs-devel -BuildRequires: trinity-kdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -KCPULoad is a small program for Kicker (the TDE panel). It shows a -recent history of CPU usage in the form of one or two configurable -diagrams in the system tray. These diagrams have settings for colours -and various different styles. - -KCPULoad has support for SMP and separate user/system loads. - - -%prep -%setup -q -n applications/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%clean -%__rm -rf %{buildroot} - - -%post -for f in crystalsvg locolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - -%postun -for f in crystalsvg locolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - - -%files -%defattr(-,root,root,-) -%{tde_bindir}/kcpuload -%{tde_datadir}/applnk/System/kcpuload.desktop -%{tde_datadir}/apps/kcpuload/icons/*/*/*/*.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcpuload.png -%{tde_datadir}/icons/locolor/*/apps/kcpuload.png -%{tde_tdedocdir}/HTML/en/kcpuload/ - - -%Changelog -* Tue May 01 2012 Francois Andriot - 2.00-2 -- Rebuilt for Fedora 17 -- Fix post and postun -- Fix HTML directory location - -* Sat Nov 19 2011 Francois Andriot - 2.00-1 -- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kdbusnotification/kdbusnotification-3.5.13-missing_ldlflags.patch b/redhat/applications/kdbusnotification/kdbusnotification-3.5.13-missing_ldlflags.patch deleted file mode 100644 index 06e1d455e..000000000 --- a/redhat/applications/kdbusnotification/kdbusnotification-3.5.13-missing_ldlflags.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- kdbusnotification/src/daemon/Makefile.am.ORI 2011-11-01 22:59:28.000000000 +0100 -+++ kdbusnotification/src/daemon/Makefile.am 2011-11-01 22:59:45.000000000 +0100 -@@ -35,6 +35,7 @@ - $(KDE_RPATH) \ - $(KDE_LDFLAGS) \ - $(LIB_QT) \ -+ $(QT_LDFLAGS) \ - -lDCOP \ - $(LIB_KDECORE) \ - $(LIB_KDEUI) \ diff --git a/redhat/applications/kdbusnotification/kdbusnotification-3.5.13.1.spec b/redhat/applications/kdbusnotification/kdbusnotification-3.5.13.1.spec deleted file mode 100644 index b44e41ab8..000000000 --- a/redhat/applications/kdbusnotification/kdbusnotification-3.5.13.1.spec +++ /dev/null @@ -1,129 +0,0 @@ -# Default version for this component -%define kdecomp kdbusnotification - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: a DBUS notification service [Trinity] - -Version: 0.1 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-arts-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gtk2-devel - -%if 0%{?suse_version} -BuildRequires: dbus-1-glib-devel -%else -BuildRequires: dbus-glib-devel -%endif - -%description -kdbusnotification is a small program for Trinity that displays -DBUS notifications via unobtrusive, easily dismissed passive popups. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - - -%clean -%__rm -rf %{buildroot} - - - -%files -%defattr(-,root,root,-) -%{tde_bindir}/notification-daemon-tde -%{tde_datadir}/autostart/kdbusnotification-autostart.desktop - - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.1-3 -- Initial release for TDE 3.5.13.1 - -* Tue May 01 2012 Francois Andriot - 0.1-2 -- Rebuilt for Fedora 17 -- Fix HTML directory location -- Removes post and postun - -* Sun Oct 30 2011 Francois Andriot - 0.1-1 -- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 diff --git a/redhat/applications/kdbusnotification/kdbusnotification-3.5.13.2-fix_utf8.patch b/redhat/applications/kdbusnotification/kdbusnotification-3.5.13.2-fix_utf8.patch deleted file mode 100644 index 4ed8c1c52..000000000 --- a/redhat/applications/kdbusnotification/kdbusnotification-3.5.13.2-fix_utf8.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- trinity-kdbusnotification-14.0.0~pre89+e169a4e3/src/daemon/daemon.cpp.ORI 2013-07-20 11:16:18.010011618 +0200 -+++ trinity-kdbusnotification-14.0.0~pre89+e169a4e3/src/daemon/daemon.cpp 2013-07-20 11:27:19.135889426 +0200 -@@ -231,9 +231,10 @@ - } - - // Send a notification request to KDE here... -- TQString messageText = TQString(body); -+ TQString messageCaption = TQString::fromLocal8Bit(summary); -+ TQString messageText = TQString::fromLocal8Bit(body); - -- GTKNotifierContainer->displayMessage(TQString(summary), TQString(body), TQString(icon), x, y); -+ GTKNotifierContainer->displayMessage(messageCaption, messageText, TQString(icon), x, y); - - return_id = 0; - diff --git a/redhat/applications/kdbusnotification/kdbusnotification-3.5.13.2.spec b/redhat/applications/kdbusnotification/kdbusnotification-3.5.13.2.spec deleted file mode 100644 index 36202497b..000000000 --- a/redhat/applications/kdbusnotification/kdbusnotification-3.5.13.2.spec +++ /dev/null @@ -1,117 +0,0 @@ -# Default version for this component -%define tde_pkg kdbusnotification -%define tde_version 3.5.13.2 - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tde_pkg} -Summary: a DBUS notification service [Trinity] - -Version: 0.1 -Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -Patch1: kdbusnotification-3.5.13.2-fix_utf8.patch - -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-arts-devel >= 1:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: gtk2-devel - -%if 0%{?suse_version} -BuildRequires: dbus-1-glib-devel -%else -BuildRequires: dbus-glib-devel -%endif - -%description -kdbusnotification is a small program for Trinity that displays -DBUS notifications via unobtrusive, easily dismissed passive popups. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} -%patch1 -p1 -b .utf8 - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --enable-final \ - --enable-closure \ - --enable-rpath - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - - -%clean -%__rm -rf %{buildroot} - - - -%files -%defattr(-,root,root,-) -%{tde_bindir}/notification-daemon-tde -%{tde_datadir}/autostart/kdbusnotification-autostart.desktop - - - -%changelog diff --git a/redhat/applications/kdbusnotification/kdbusnotification-3.5.13.spec b/redhat/applications/kdbusnotification/kdbusnotification-3.5.13.spec deleted file mode 100644 index 597505ee4..000000000 --- a/redhat/applications/kdbusnotification/kdbusnotification-3.5.13.spec +++ /dev/null @@ -1,119 +0,0 @@ -# Default version for this component -%define kdecomp kdbusnotification - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: a DBUS notification service [Trinity] - -Version: 0.1 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -# [kdbusnotification/src/daemon] Missing QT LDFLAGS -Patch1: kdbusnotification-3.5.13-missing_ldlflags.patch - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-arts-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: dbus-glib-devel -BuildRequires: gtk2-devel - -%description -kdbusnotification is a small program for Trinity that displays -DBUS notifications via unobtrusive, easily dismissed passive popups. - - -%prep -%setup -q -n applications/%{kdecomp} -%patch1 -p1 -b .ldflags - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - - -%clean -%__rm -rf %{buildroot} - - - -%files -%defattr(-,root,root,-) -%{tde_bindir}/notification-daemon-tde -%{tde_datadir}/autostart/kdbusnotification-autostart.desktop - - - -%Changelog -* Tue May 01 2012 Francois Andriot - 0.1-2 -- Rebuilt for Fedora 17 -- Fix HTML directory location -- Removes post and postun - -* Sun Oct 30 2011 Francois Andriot - 0.1-1 -- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 diff --git a/redhat/applications/kdiff3/bp000-c7e29c46.diff b/redhat/applications/kdiff3/bp000-c7e29c46.diff deleted file mode 100644 index 821fe6fe1..000000000 --- a/redhat/applications/kdiff3/bp000-c7e29c46.diff +++ /dev/null @@ -1,662 +0,0 @@ -commit c7e29c4606e72cf1d3d0052eec08805c8cf3fce7 -Author: Timothy Pearson -Date: 1324253375 -0600 - - Rename old tq methods that no longer need a unique name - -diff --git a/src/diff.h b/src/diff.h -index ee3076e..a4015d1 100644 ---- a/src/diff.h -+++ b/src/diff.h -@@ -169,10 +169,10 @@ public: - typedef std::vector Diff3WrapLineVector; - - --class TotalDifftqStatus -+class TotalDiffStatus - { - public: -- TotalDifftqStatus(){ reset(); } -+ TotalDiffStatus(){ reset(); } - void reset() {bBinaryAEqC=false; bBinaryBEqC=false; bBinaryAEqB=false; - bTextAEqC=false; bTextBEqC=false; bTextAEqB=false; - nofUnsolvedConflicts=0; nofSolvedConflicts=0; -diff --git a/src/difftextwindow.cpp b/src/difftextwindow.cpp -index 3c570e4..361eb73 100644 ---- a/src/difftextwindow.cpp -+++ b/src/difftextwindow.cpp -@@ -860,9 +860,9 @@ void DiffTextWindowData::writeLine( - else - { - p.fillRect( xOffset + fontWidth*outPos, yOffset, -- fontWidth*(spaces), fontHeight, m_pDiffTextWindow->tqcolorGroup().highlight() ); -+ fontWidth*(spaces), fontHeight, m_pDiffTextWindow->colorGroup().highlight() ); - -- p.setPen( m_pDiffTextWindow->tqcolorGroup().highlightedText() ); -+ p.setPen( m_pDiffTextWindow->colorGroup().highlightedText() ); - p.drawText( xOffset + fontWidth*outPos, yOffset + fontAscent, s ); - - m_selection.bSelectionContainsData = true; -@@ -875,7 +875,7 @@ void DiffTextWindowData::writeLine( - if( m_selection.lineWithin( line ) && m_selection.lineWithin( line+1 ) ) - { - p.fillRect( xOffset + fontWidth*outPos, yOffset, -- deviceWidth, fontHeight, m_pDiffTextWindow->tqcolorGroup().highlight() ); -+ deviceWidth, fontHeight, m_pDiffTextWindow->colorGroup().highlight() ); - } - } - -diff --git a/src/directorymergewindow.cpp b/src/directorymergewindow.cpp -index 7565e20..0520af3 100644 ---- a/src/directorymergewindow.cpp -+++ b/src/directorymergewindow.cpp -@@ -387,7 +387,7 @@ static TQPixmap pixCombiner2( const TQPixmap* pm1, const TQPixmap* pm2 ) - return pix; - } - --static void calcDirtqStatus( bool bThreeDirs, DirMergeItem* i, int& nofFiles, -+static void calcDirStatus( bool bThreeDirs, DirMergeItem* i, int& nofFiles, - int& nofDirs, int& nofEqualFiles, int& nofManualMerges ) - { - if ( i->m_pMFI->m_bDirA || i->m_pMFI->m_bDirB || i->m_pMFI->m_bDirC ) -@@ -408,7 +408,7 @@ static void calcDirtqStatus( bool bThreeDirs, DirMergeItem* i, int& nofFiles, - } - } - for( TQListViewItem* p = i->firstChild(); p!=0; p = p->nextSibling() ) -- calcDirtqStatus( bThreeDirs, static_cast(p), nofFiles, nofDirs, nofEqualFiles, nofManualMerges ); -+ calcDirStatus( bThreeDirs, static_cast(p), nofFiles, nofDirs, nofEqualFiles, nofManualMerges ); - } - - static TQString sortString(const TQString& s, bool bCaseSensitive) -@@ -698,7 +698,7 @@ bool DirectoryMergeWindow::init - int nofEqualFiles=0; - int nofManualMerges=0; - for( TQListViewItem* p = firstChild(); p!=0; p = p->nextSibling() ) -- calcDirtqStatus( m_dirC.isValid(), static_cast(p), -+ calcDirStatus( m_dirC.isValid(), static_cast(p), - nofFiles, nofDirs, nofEqualFiles, nofManualMerges ); - - TQString s; -@@ -915,10 +915,10 @@ void DirectoryMergeWindow::compareFilesAndCalcAges( MergeFileInfos& mfi ) - mfi.m_bExistsInB ? mfi.m_fileInfoB.absFilePath() : TQString(""), - mfi.m_bExistsInC ? mfi.m_fileInfoC.absFilePath() : TQString(""), - "", -- "","","",&mfi.m_totalDifftqStatus -+ "","","",&mfi.m_totalDiffStatus - ); -- int nofNonwhiteConflicts = mfi.m_totalDifftqStatus.nofUnsolvedConflicts + -- mfi.m_totalDifftqStatus.nofSolvedConflicts - mfi.m_totalDifftqStatus.nofWhitespaceConflicts; -+ int nofNonwhiteConflicts = mfi.m_totalDiffStatus.nofUnsolvedConflicts + -+ mfi.m_totalDiffStatus.nofSolvedConflicts - mfi.m_totalDiffStatus.nofWhitespaceConflicts; - - if (m_pOptions->m_bDmWhiteSpaceEqual && nofNonwhiteConflicts == 0) - { -@@ -928,25 +928,25 @@ void DirectoryMergeWindow::compareFilesAndCalcAges( MergeFileInfos& mfi ) - } - else - { -- mfi.m_bEqualAB = mfi.m_totalDifftqStatus.bBinaryAEqB; -- mfi.m_bEqualBC = mfi.m_totalDifftqStatus.bBinaryBEqC; -- mfi.m_bEqualAC = mfi.m_totalDifftqStatus.bBinaryAEqC; -+ mfi.m_bEqualAB = mfi.m_totalDiffStatus.bBinaryAEqB; -+ mfi.m_bEqualBC = mfi.m_totalDiffStatus.bBinaryBEqC; -+ mfi.m_bEqualAC = mfi.m_totalDiffStatus.bBinaryAEqC; - } - } - } - else - { - bool bError; -- TQString eqtqStatus; -+ TQString eqStatus; - if( mfi.m_bExistsInA && mfi.m_bExistsInB ) - { - if( mfi.m_bDirA ) mfi.m_bEqualAB=true; -- else fastFileComparison( mfi.m_fileInfoA, mfi.m_fileInfoB, mfi.m_bEqualAB, bError, eqtqStatus ); -+ else fastFileComparison( mfi.m_fileInfoA, mfi.m_fileInfoB, mfi.m_bEqualAB, bError, eqStatus ); - } - if( mfi.m_bExistsInA && mfi.m_bExistsInC ) - { - if( mfi.m_bDirA ) mfi.m_bEqualAC=true; -- else fastFileComparison( mfi.m_fileInfoA, mfi.m_fileInfoC, mfi.m_bEqualAC, bError, eqtqStatus ); -+ else fastFileComparison( mfi.m_fileInfoA, mfi.m_fileInfoC, mfi.m_bEqualAC, bError, eqStatus ); - } - if( mfi.m_bExistsInB && mfi.m_bExistsInC ) - { -@@ -955,7 +955,7 @@ void DirectoryMergeWindow::compareFilesAndCalcAges( MergeFileInfos& mfi ) - else - { - if( mfi.m_bDirB ) mfi.m_bEqualBC=true; -- else fastFileComparison( mfi.m_fileInfoB, mfi.m_fileInfoC, mfi.m_bEqualBC, bError, eqtqStatus ); -+ else fastFileComparison( mfi.m_fileInfoB, mfi.m_fileInfoC, mfi.m_bEqualBC, bError, eqStatus ); - } - } - } -@@ -1723,7 +1723,7 @@ void DirMergeItem::init(MergeFileInfos* pMFI) - { - pMFI->m_pDMI = this; - m_pMFI = pMFI; -- TotalDifftqStatus& tds = pMFI->m_totalDifftqStatus; -+ TotalDiffStatus& tds = pMFI->m_totalDiffStatus; - if ( m_pMFI->m_bDirA || m_pMFI->m_bDirB || m_pMFI->m_bDirC ) - { - } -@@ -2820,7 +2820,7 @@ TQTextStream& operator<<( TQTextStream& ts, MergeFileInfos& mfi ) - //FileAccess m_fileInfoB; - //FileAccess m_fileInfoC; - -- //TotalDifftqStatus m_totalDifftqStatus; -+ //TotalDiffStatus m_totalDiffStatus; - - vm.save(ts); - -diff --git a/src/directorymergewindow.h b/src/directorymergewindow.h -index 25a66f7..99c0405 100644 ---- a/src/directorymergewindow.h -+++ b/src/directorymergewindow.h -@@ -26,7 +26,7 @@ - #include - #include "common.h" - #include "fileaccess.h" --#include "diff.h" //TotalDifftqStatus -+#include "diff.h" //TotalDiffStatus - - class OptionDialog; - class KIconLoader; -@@ -37,7 +37,7 @@ class TQLabel; - class KAction; - class KToggleAction; - class KActionCollection; --class TotalDifftqStatus; -+class TotalDiffStatus; - - enum e_MergeOperation - { -@@ -99,7 +99,7 @@ public: - FileAccess m_fileInfoB; - FileAccess m_fileInfoC; - -- TotalDifftqStatus m_totalDifftqStatus; -+ TotalDiffStatus m_totalDiffStatus; - }; - - class DirMergeItem : public TQListViewItem -@@ -319,7 +319,7 @@ protected: - KAction* m_pDirSaveMergeState; - KAction* m_pDirLoadMergeState; - signals: -- void startDiffMerge(TQString fn1,TQString fn2, TQString fn3, TQString ofn, TQString,TQString,TQString,TotalDifftqStatus*); -+ void startDiffMerge(TQString fn1,TQString fn2, TQString fn3, TQString ofn, TQString,TQString,TQString,TotalDiffStatus*); - void checkIfCanContinue( bool* pbContinue ); - void updateAvailabilities(); - void statusBarMessage( const TQString& msg ); -diff --git a/src/fileaccess.cpp b/src/fileaccess.cpp -index c2be1dc..01b8d48 100644 ---- a/src/fileaccess.cpp -+++ b/src/fileaccess.cpp -@@ -407,11 +407,11 @@ bool FileAccess::writeFile( const void* pSrcBuffer, unsigned long length ) - if ( isExecutable() ) // value is true if the old file was executable - { - // Preserve attributes -- struct stat srcFiletqStatus; -- int statResult = ::stat( filePath().ascii(), &srcFiletqStatus ); -+ struct stat srcFileStatus; -+ int statResult = ::stat( filePath().ascii(), &srcFileStatus ); - if (statResult==0) - { -- ::chmod ( filePath().ascii(), srcFiletqStatus.st_mode | S_IXUSR ); -+ ::chmod ( filePath().ascii(), srcFileStatus.st_mode | S_IXUSR ); - } - } - #endif -@@ -938,28 +938,28 @@ bool FileAccessJobHandler::copyFile( const TQString& dest ) - - // Update the times of the destFile - #ifdef _WIN32 -- struct _stat srcFiletqStatus; -- int statResult = ::_stat( srcName.ascii(), &srcFiletqStatus ); -+ struct _stat srcFileStatus; -+ int statResult = ::_stat( srcName.ascii(), &srcFileStatus ); - if (statResult==0) - { - _utimbuf destTimes; -- destTimes.actime = srcFiletqStatus.st_atime;/* time of last access */ -- destTimes.modtime = srcFiletqStatus.st_mtime;/* time of last modification */ -+ destTimes.actime = srcFileStatus.st_atime;/* time of last access */ -+ destTimes.modtime = srcFileStatus.st_mtime;/* time of last modification */ - - _utime ( destName.ascii(), &destTimes ); -- _chmod ( destName.ascii(), srcFiletqStatus.st_mode ); -+ _chmod ( destName.ascii(), srcFileStatus.st_mode ); - } - #else -- struct stat srcFiletqStatus; -- int statResult = ::stat( srcName.ascii(), &srcFiletqStatus ); -+ struct stat srcFileStatus; -+ int statResult = ::stat( srcName.ascii(), &srcFileStatus ); - if (statResult==0) - { - utimbuf destTimes; -- destTimes.actime = srcFiletqStatus.st_atime;/* time of last access */ -- destTimes.modtime = srcFiletqStatus.st_mtime;/* time of last modification */ -+ destTimes.actime = srcFileStatus.st_atime;/* time of last access */ -+ destTimes.modtime = srcFileStatus.st_mtime;/* time of last modification */ - - utime ( destName.ascii(), &destTimes ); -- chmod ( destName.ascii(), srcFiletqStatus.st_mode ); -+ chmod ( destName.ascii(), srcFileStatus.st_mode ); - } - #endif - return true; -@@ -1010,7 +1010,7 @@ void CvsIgnoreList::init( FileAccess& dir, bool bUseLocalCvsIgnore ) - ".nse_depinfo #* .#* cvslog.* ,* CVS CVS.adm .del-* *.a *.olb *.o *.obj " - "*.so *.Z *~ *.old *.elc *.ln *.bak *.BAK *.orig *.rej *.exe _$* *$"; - -- addEntriesFromString(TQString::tqfromLatin1(ignorestr)); -+ addEntriesFromString(TQString::fromLatin1(ignorestr)); - addEntriesFromFile(TQDir::homeDirPath() + "/.cvsignore"); - addEntriesFromString(TQString::fromLocal8Bit(::getenv("CVSIGNORE"))); - -@@ -1032,7 +1032,7 @@ void CvsIgnoreList::init( FileAccess& dir, bool bUseLocalCvsIgnore ) - { - if (pos>pos1) - { -- addEntry( TQString::tqfromLatin1( &buf[pos1], pos-pos1 ) ); -+ addEntry( TQString::fromLatin1( &buf[pos1], pos-pos1 ) ); - } - ++pos1; - } -diff --git a/src/kdiff3.cpp b/src/kdiff3.cpp -index c3541ec..e6b3f40 100644 ---- a/src/kdiff3.cpp -+++ b/src/kdiff3.cpp -@@ -280,8 +280,8 @@ KDiff3App::KDiff3App(TQWidget* pParent, const char* name, KDiff3Part* pKDiff3Par - KApplication::kApplication()->iconLoader() ); - m_pDirectoryMergeInfo = new DirectoryMergeInfo( m_pDirectoryMergeSplitter ); - m_pDirectoryMergeWindow->setDirectoryMergeInfo( m_pDirectoryMergeInfo ); -- connect( m_pDirectoryMergeWindow, TQT_SIGNAL(startDiffMerge(TQString,TQString,TQString,TQString,TQString,TQString,TQString,TotalDifftqStatus*)), -- TQT_TQOBJECT(this), TQT_SLOT( slotFileOpen2(TQString,TQString,TQString,TQString,TQString,TQString,TQString,TotalDifftqStatus*))); -+ connect( m_pDirectoryMergeWindow, TQT_SIGNAL(startDiffMerge(TQString,TQString,TQString,TQString,TQString,TQString,TQString,TotalDiffStatus*)), -+ TQT_TQOBJECT(this), TQT_SLOT( slotFileOpen2(TQString,TQString,TQString,TQString,TQString,TQString,TQString,TotalDiffStatus*))); - connect( m_pDirectoryMergeWindow, TQT_SIGNAL(selectionChanged()), TQT_TQOBJECT(this), TQT_SLOT(slotUpdateAvailabilities())); - connect( m_pDirectoryMergeWindow, TQT_SIGNAL(currentChanged(TQListViewItem*)), TQT_TQOBJECT(this), TQT_SLOT(slotUpdateAvailabilities())); - connect( m_pDirectoryMergeWindow, TQT_SIGNAL(checkIfCanContinue(bool*)), TQT_TQOBJECT(this), TQT_SLOT(slotCheckIfCanContinue(bool*))); -@@ -341,13 +341,13 @@ void KDiff3App::completeInit( const TQString& fn1, const TQString& fn2, const TQ - SourceData* pSD=0; - if ( m_sd3.isEmpty() ) - { -- if ( m_totalDifftqStatus.bBinaryAEqB ){ pSD = &m_sd1; } -+ if ( m_totalDiffStatus.bBinaryAEqB ){ pSD = &m_sd1; } - } - else - { -- if ( m_totalDifftqStatus.bBinaryBEqC ){ pSD = &m_sd3; } // B==C (assume A is old) -- else if ( m_totalDifftqStatus.bBinaryAEqB ){ pSD = &m_sd3; } // assuming C has changed -- else if ( m_totalDifftqStatus.bBinaryAEqC ){ pSD = &m_sd2; } // assuming B has changed -+ if ( m_totalDiffStatus.bBinaryBEqC ){ pSD = &m_sd3; } // B==C (assume A is old) -+ else if ( m_totalDiffStatus.bBinaryAEqB ){ pSD = &m_sd3; } // assuming C has changed -+ else if ( m_totalDiffStatus.bBinaryAEqC ){ pSD = &m_sd2; } // assuming B has changed - } - - if ( pSD!=0 ) -diff --git a/src/kdiff3.h b/src/kdiff3.h -index f5e240f..c81ae71 100644 ---- a/src/kdiff3.h -+++ b/src/kdiff3.h -@@ -144,7 +144,7 @@ class KDiff3App : public TQSplitter - /** open a file and load it into the document*/ - void slotFileOpen(); - void slotFileOpen2( TQString fn1, TQString fn2, TQString fn3, TQString ofn, -- TQString an1, TQString an2, TQString an3, TotalDifftqStatus* pTotalDifftqStatus ); -+ TQString an1, TQString an2, TQString an3, TotalDiffStatus* pTotalDiffStatus ); - - void slotFileNameChanged(const TQString& fileName, int winIdx); - -@@ -281,7 +281,7 @@ class KDiff3App : public TQSplitter - - TQWidget* m_pCornerWidget; - -- TotalDifftqStatus m_totalDifftqStatus; -+ TotalDiffStatus m_totalDiffStatus; - - SourceData m_sd1; - SourceData m_sd2; -@@ -310,7 +310,7 @@ class KDiff3App : public TQSplitter - OptionDialog* m_pOptionDialog; - FindDialog* m_pFindDialog; - -- void init( bool bAuto=false, TotalDifftqStatus* pTotalDifftqStatus=0, bool bLoadFiles=true ); -+ void init( bool bAuto=false, TotalDiffStatus* pTotalDiffStatus=0, bool bLoadFiles=true ); - - virtual bool eventFilter( TQObject* o, TQEvent* e ); - virtual void resizeEvent(TQResizeEvent*); -diff --git a/src/mergeresultwindow.cpp b/src/mergeresultwindow.cpp -index 119294f..a222a14 100644 ---- a/src/mergeresultwindow.cpp -+++ b/src/mergeresultwindow.cpp -@@ -72,7 +72,7 @@ MergeResultWindow::MergeResultWindow( - m_sizeC = 0; - - m_pDiff3LineList = 0; -- m_pTotalDifftqStatus = 0; -+ m_pTotalDiffStatus = 0; - m_pStatusBar = pStatusBar; - - m_pOptionDialog = pOptionDialog; -@@ -97,7 +97,7 @@ void MergeResultWindow::init( - const LineData* pLineDataB, int sizeB, - const LineData* pLineDataC, int sizeC, - const Diff3LineList* pDiff3LineList, -- TotalDifftqStatus* pTotalDifftqStatus -+ TotalDiffStatus* pTotalDiffStatus - ) - { - m_firstLine = 0; -@@ -118,7 +118,7 @@ void MergeResultWindow::init( - m_sizeC = sizeC; - - m_pDiff3LineList = pDiff3LineList; -- m_pTotalDifftqStatus = pTotalDifftqStatus; -+ m_pTotalDiffStatus = pTotalDiffStatus; - - m_selection.reset(); - m_cursorXPos=0; -@@ -140,7 +140,7 @@ void MergeResultWindow::init( - void MergeResultWindow::reset() - { - m_pDiff3LineList = 0; -- m_pTotalDifftqStatus = 0; -+ m_pTotalDiffStatus = 0; - m_pldA = 0; - m_pldB = 0; - m_pldC = 0; -@@ -467,9 +467,9 @@ void MergeResultWindow::merge(bool bAutoSolve, int defaultSelector, bool bConfli - ++nrOfWhiteSpaceConflicts; - } - -- m_pTotalDifftqStatus->nofUnsolvedConflicts = nrOfUnsolvedConflicts; -- m_pTotalDifftqStatus->nofSolvedConflicts = nrOfSolvedConflicts; -- m_pTotalDifftqStatus->nofWhitespaceConflicts = nrOfWhiteSpaceConflicts; -+ m_pTotalDiffStatus->nofUnsolvedConflicts = nrOfUnsolvedConflicts; -+ m_pTotalDiffStatus->nofSolvedConflicts = nrOfSolvedConflicts; -+ m_pTotalDiffStatus->nofWhitespaceConflicts = nrOfWhiteSpaceConflicts; - - - m_cursorXPos=0; -@@ -804,17 +804,17 @@ void MergeResultWindow::showNrOfConflicts() - ++nrOfConflicts; - } - TQString totalInfo; -- if ( m_pTotalDifftqStatus->bBinaryAEqB && m_pTotalDifftqStatus->bBinaryAEqC ) -+ if ( m_pTotalDiffStatus->bBinaryAEqB && m_pTotalDiffStatus->bBinaryAEqC ) - totalInfo += i18n("All input files are binary equal."); -- else if ( m_pTotalDifftqStatus->bTextAEqB && m_pTotalDifftqStatus->bTextAEqC ) -+ else if ( m_pTotalDiffStatus->bTextAEqB && m_pTotalDiffStatus->bTextAEqC ) - totalInfo += i18n("All input files contain the same text."); - else { -- if ( m_pTotalDifftqStatus->bBinaryAEqB ) totalInfo += i18n("Files %1 and %2 are binary equal.\n").tqarg("A").tqarg("B"); -- else if ( m_pTotalDifftqStatus->bTextAEqB ) totalInfo += i18n("Files %1 and %2 have equal text.\n").tqarg("A").tqarg("B"); -- if ( m_pTotalDifftqStatus->bBinaryAEqC ) totalInfo += i18n("Files %1 and %2 are binary equal.\n").tqarg("A").tqarg("C"); -- else if ( m_pTotalDifftqStatus->bTextAEqC ) totalInfo += i18n("Files %1 and %2 have equal text.\n").tqarg("A").tqarg("C"); -- if ( m_pTotalDifftqStatus->bBinaryBEqC ) totalInfo += i18n("Files %1 and %2 are binary equal.\n").tqarg("B").tqarg("C"); -- else if ( m_pTotalDifftqStatus->bTextBEqC ) totalInfo += i18n("Files %1 and %2 have equal text.\n").tqarg("B").tqarg("C"); -+ if ( m_pTotalDiffStatus->bBinaryAEqB ) totalInfo += i18n("Files %1 and %2 are binary equal.\n").tqarg("A").tqarg("B"); -+ else if ( m_pTotalDiffStatus->bTextAEqB ) totalInfo += i18n("Files %1 and %2 have equal text.\n").tqarg("A").tqarg("B"); -+ if ( m_pTotalDiffStatus->bBinaryAEqC ) totalInfo += i18n("Files %1 and %2 are binary equal.\n").tqarg("A").tqarg("C"); -+ else if ( m_pTotalDiffStatus->bTextAEqC ) totalInfo += i18n("Files %1 and %2 have equal text.\n").tqarg("A").tqarg("C"); -+ if ( m_pTotalDiffStatus->bBinaryBEqC ) totalInfo += i18n("Files %1 and %2 are binary equal.\n").tqarg("B").tqarg("C"); -+ else if ( m_pTotalDiffStatus->bTextBEqC ) totalInfo += i18n("Files %1 and %2 have equal text.\n").tqarg("B").tqarg("C"); - } - - int nrOfUnsolvedConflicts = getNrOfUnsolvedConflicts(); -@@ -1661,12 +1661,12 @@ void MergeResultWindow::writeLine( - - if( m_selection.lineWithin( line+1 ) ) - p.fillRect( xOffset + fontWidth*(firstPosInLine2-m_firstColumn), yOffset, -- width(), fontHeight, tqcolorGroup().highlight() ); -+ width(), fontHeight, colorGroup().highlight() ); - else if ( lengthInLine2>0 ) - p.fillRect( xOffset + fontWidth*(firstPosInLine2-m_firstColumn), yOffset, -- fontWidth*lengthInLine2, fontHeight, tqcolorGroup().highlight() ); -+ fontWidth*lengthInLine2, fontHeight, colorGroup().highlight() ); - -- p.setPen( tqcolorGroup().highlightedText() ); -+ p.setPen( colorGroup().highlightedText() ); - p.drawText( xOffset + fontWidth*(firstPosInLine2-m_firstColumn), yOffset+fontAscent, - s.mid(firstPosInLine2,lengthInLine2), true ); - } -@@ -3072,7 +3072,7 @@ WindowTitleWidget::WindowTitleWidget(OptionDialog* pOptionDialog, TQWidget* pPar - - m_pModifiedLabel = new TQLabel(i18n("[Modified]"),this); - pHLayout->addWidget( m_pModifiedLabel ); -- m_pModifiedLabel->setMinimumSize( m_pModifiedLabel->tqsizeHint() ); -+ m_pModifiedLabel->setMinimumSize( m_pModifiedLabel->sizeHint() ); - m_pModifiedLabel->setText(""); - - pHLayout->addStretch(1); -@@ -3137,7 +3137,7 @@ void WindowTitleWidget::setEncodings( TQTextCodec* pCodecForA, TQTextCodec* pCod - m_codecMap[i]=it->second; - ++i; - } -- m_pEncodingSelector->setMinimumSize( m_pEncodingSelector->tqsizeHint() ); -+ m_pEncodingSelector->setMinimumSize( m_pEncodingSelector->sizeHint() ); - - if ( pCodecForC && pCodecForB && pCodecForA ) - { -diff --git a/src/mergeresultwindow.h b/src/mergeresultwindow.h -index ed524a5..2b61e6f 100644 ---- a/src/mergeresultwindow.h -+++ b/src/mergeresultwindow.h -@@ -110,7 +110,7 @@ public: - const LineData* pLineDataB, int sizeB, - const LineData* pLineDataC, int sizeC, - const Diff3LineList* pDiff3LineList, -- TotalDifftqStatus* pTotalDifftqStatus -+ TotalDiffStatus* pTotalDiffStatus - ); - - void reset(); -@@ -187,7 +187,7 @@ private: - int m_sizeC; - - const Diff3LineList* m_pDiff3LineList; -- TotalDifftqStatus* m_pTotalDifftqStatus; -+ TotalDiffStatus* m_pTotalDiffStatus; - - bool m_bPaintingAllowed; - int m_delayedDrawTimer; -diff --git a/src/pdiff.cpp b/src/pdiff.cpp -index 033fd31..1452eca 100644 ---- a/src/pdiff.cpp -+++ b/src/pdiff.cpp -@@ -235,14 +235,14 @@ bool KDiff3App::runDiff( const LineData* p1, int size1, const LineData* p2, int - return true; - } - --void KDiff3App::init( bool bAuto, TotalDifftqStatus* pTotalDifftqStatus, bool bLoadFiles ) -+void KDiff3App::init( bool bAuto, TotalDiffStatus* pTotalDiffStatus, bool bLoadFiles ) - { - ProgressProxy pp; - // When doing a full analysis in the directory-comparison, then the statistics-results -- // will be stored in the given TotalDifftqStatus. Otherwise it will be 0. -- bool bGUI = pTotalDifftqStatus == 0; -- if (pTotalDifftqStatus==0) -- pTotalDifftqStatus = &m_totalDifftqStatus; -+ // will be stored in the given TotalDiffStatus. Otherwise it will be 0. -+ bool bGUI = pTotalDiffStatus == 0; -+ if (pTotalDiffStatus==0) -+ pTotalDiffStatus = &m_totalDiffStatus; - - bool bPreserveCarriageReturn = m_pOptionDialog->m_bPreserveCarriageReturn; - -@@ -310,11 +310,11 @@ void KDiff3App::init( bool bAuto, TotalDifftqStatus* pTotalDifftqStatus, bool bL - pp.setMaxNofSteps( 6 ); // 3 comparisons, 3 finediffs - } - -- pTotalDifftqStatus->reset(); -+ pTotalDiffStatus->reset(); - // Run the diff. - if ( m_sd3.isEmpty() ) - { -- pTotalDifftqStatus->bBinaryAEqB = m_sd1.isBinaryEqualWith( m_sd2 ); -+ pTotalDiffStatus->bBinaryAEqB = m_sd1.isBinaryEqualWith( m_sd2 ); - pp.setInformation(i18n("Diff: A <-> B")); - - runDiff( m_sd1.getLineDataForDiff(), m_sd1.getSizeLines(), m_sd2.getLineDataForDiff(), m_sd2.getSizeLines(), m_diffList12,1,2 ); -@@ -323,8 +323,8 @@ void KDiff3App::init( bool bAuto, TotalDifftqStatus* pTotalDifftqStatus, bool bL - - pp.setInformation(i18n("Linediff: A <-> B")); - calcDiff3LineListUsingAB( &m_diffList12, m_diff3LineList ); -- fineDiff( m_diff3LineList, 1, m_sd1.getLineDataForDisplay(), m_sd2.getLineDataForDisplay(), pTotalDifftqStatus->bTextAEqB ); -- if ( m_sd1.getSizeBytes()==0 ) pTotalDifftqStatus->bTextAEqB=false; -+ fineDiff( m_diff3LineList, 1, m_sd1.getLineDataForDisplay(), m_sd2.getLineDataForDisplay(), pTotalDiffStatus->bTextAEqB ); -+ if ( m_sd1.getSizeBytes()==0 ) pTotalDiffStatus->bTextAEqB=false; - - pp.step(); - } -@@ -337,9 +337,9 @@ void KDiff3App::init( bool bAuto, TotalDifftqStatus* pTotalDifftqStatus, bool bL - pp.step(); - } - -- pTotalDifftqStatus->bBinaryAEqB = m_sd1.isBinaryEqualWith( m_sd2 ); -- pTotalDifftqStatus->bBinaryAEqC = m_sd1.isBinaryEqualWith( m_sd3 ); -- pTotalDifftqStatus->bBinaryBEqC = m_sd3.isBinaryEqualWith( m_sd2 ); -+ pTotalDiffStatus->bBinaryAEqB = m_sd1.isBinaryEqualWith( m_sd2 ); -+ pTotalDiffStatus->bBinaryAEqC = m_sd1.isBinaryEqualWith( m_sd3 ); -+ pTotalDiffStatus->bBinaryBEqC = m_sd3.isBinaryEqualWith( m_sd2 ); - - pp.setInformation(i18n("Diff: A <-> B")); - runDiff( m_sd1.getLineDataForDiff(), m_sd1.getSizeLines(), m_sd2.getLineDataForDiff(), m_sd2.getSizeLines(), m_diffList12,1,2 ); -@@ -364,16 +364,16 @@ void KDiff3App::init( bool bAuto, TotalDifftqStatus* pTotalDifftqStatus, bool bL - debugLineCheck( m_diff3LineList, m_sd3.getSizeLines(), 3 ); - - pp.setInformation(i18n("Linediff: A <-> B")); -- fineDiff( m_diff3LineList, 1, m_sd1.getLineDataForDisplay(), m_sd2.getLineDataForDisplay(), pTotalDifftqStatus->bTextAEqB ); -+ fineDiff( m_diff3LineList, 1, m_sd1.getLineDataForDisplay(), m_sd2.getLineDataForDisplay(), pTotalDiffStatus->bTextAEqB ); - pp.step(); - pp.setInformation(i18n("Linediff: B <-> C")); -- fineDiff( m_diff3LineList, 2, m_sd2.getLineDataForDisplay(), m_sd3.getLineDataForDisplay(), pTotalDifftqStatus->bTextBEqC ); -+ fineDiff( m_diff3LineList, 2, m_sd2.getLineDataForDisplay(), m_sd3.getLineDataForDisplay(), pTotalDiffStatus->bTextBEqC ); - pp.step(); - pp.setInformation(i18n("Linediff: A <-> C")); -- fineDiff( m_diff3LineList, 3, m_sd3.getLineDataForDisplay(), m_sd1.getLineDataForDisplay(), pTotalDifftqStatus->bTextAEqC ); -+ fineDiff( m_diff3LineList, 3, m_sd3.getLineDataForDisplay(), m_sd1.getLineDataForDisplay(), pTotalDiffStatus->bTextAEqC ); - pp.step(); -- if ( m_sd1.getSizeBytes()==0 ) { pTotalDifftqStatus->bTextAEqB=false; pTotalDifftqStatus->bTextAEqC=false; } -- if ( m_sd2.getSizeBytes()==0 ) { pTotalDifftqStatus->bTextAEqB=false; pTotalDifftqStatus->bTextBEqC=false; } -+ if ( m_sd1.getSizeBytes()==0 ) { pTotalDiffStatus->bTextAEqB=false; pTotalDiffStatus->bTextAEqC=false; } -+ if ( m_sd2.getSizeBytes()==0 ) { pTotalDiffStatus->bTextAEqB=false; pTotalDiffStatus->bTextBEqC=false; } - } - m_diffBufferInfo.init( &m_diff3LineList, &m_diff3LineVector, - m_sd1.getLineDataForDiff(), m_sd1.getSizeLines(), -@@ -420,7 +420,7 @@ void KDiff3App::init( bool bAuto, TotalDifftqStatus* pTotalDifftqStatus, bool bL - m_sd2.getLineDataForDisplay(), m_sd2.getSizeLines(), - m_bTripleDiff ? m_sd3.getLineDataForDisplay() : 0, m_sd3.getSizeLines(), - &m_diff3LineList, -- pTotalDifftqStatus -+ pTotalDiffStatus - ); - m_pMergeResultWindowTitle->setFileName( m_outputFilename.isEmpty() ? TQString("unnamed.txt") : m_outputFilename ); - -@@ -507,17 +507,17 @@ void KDiff3App::init( bool bAuto, TotalDifftqStatus* pTotalDifftqStatus, bool bL - ) - { - TQString totalInfo; -- if ( pTotalDifftqStatus->bBinaryAEqB && pTotalDifftqStatus->bBinaryAEqC ) -+ if ( pTotalDiffStatus->bBinaryAEqB && pTotalDiffStatus->bBinaryAEqC ) - totalInfo += i18n("All input files are binary equal."); -- else if ( pTotalDifftqStatus->bTextAEqB && pTotalDifftqStatus->bTextAEqC ) -+ else if ( pTotalDiffStatus->bTextAEqB && pTotalDiffStatus->bTextAEqC ) - totalInfo += i18n("All input files contain the same text, but are not binary equal."); - else { -- if ( pTotalDifftqStatus->bBinaryAEqB ) totalInfo += i18n("Files %1 and %2 are binary equal.\n" ).tqarg("A").tqarg("B"); -- else if ( pTotalDifftqStatus->bTextAEqB ) totalInfo += i18n("Files %1 and %2 have equal text, but are not binary equal. \n").tqarg("A").tqarg("B"); -- if ( pTotalDifftqStatus->bBinaryAEqC ) totalInfo += i18n("Files %1 and %2 are binary equal.\n" ).tqarg("A").tqarg("C"); -- else if ( pTotalDifftqStatus->bTextAEqC ) totalInfo += i18n("Files %1 and %2 have equal text, but are not binary equal. \n").tqarg("A").tqarg("C"); -- if ( pTotalDifftqStatus->bBinaryBEqC ) totalInfo += i18n("Files %1 and %2 are binary equal.\n" ).tqarg("B").tqarg("C"); -- else if ( pTotalDifftqStatus->bTextBEqC ) totalInfo += i18n("Files %1 and %2 have equal text, but are not binary equal. \n").tqarg("B").tqarg("C"); -+ if ( pTotalDiffStatus->bBinaryAEqB ) totalInfo += i18n("Files %1 and %2 are binary equal.\n" ).tqarg("A").tqarg("B"); -+ else if ( pTotalDiffStatus->bTextAEqB ) totalInfo += i18n("Files %1 and %2 have equal text, but are not binary equal. \n").tqarg("A").tqarg("B"); -+ if ( pTotalDiffStatus->bBinaryAEqC ) totalInfo += i18n("Files %1 and %2 are binary equal.\n" ).tqarg("A").tqarg("C"); -+ else if ( pTotalDiffStatus->bTextAEqC ) totalInfo += i18n("Files %1 and %2 have equal text, but are not binary equal. \n").tqarg("A").tqarg("C"); -+ if ( pTotalDiffStatus->bBinaryBEqC ) totalInfo += i18n("Files %1 and %2 are binary equal.\n" ).tqarg("B").tqarg("C"); -+ else if ( pTotalDiffStatus->bTextBEqC ) totalInfo += i18n("Files %1 and %2 have equal text, but are not binary equal. \n").tqarg("B").tqarg("C"); - } - - if ( !totalInfo.isEmpty() ) -@@ -609,12 +609,12 @@ void KDiff3App::sourceMask( int srcMask, int enabledMask ) - - - --// Function uses setMinSize( tqsizeHint ) before adding the widget. -+// Function uses setMinSize( sizeHint ) before adding the widget. - // void addWidget(TQBoxLayout* tqlayout, TQWidget* widget); - template - void addWidget( L* tqlayout, W* widget) - { -- TQSize s = widget->tqsizeHint(); -+ TQSize s = widget->sizeHint(); - widget->setMinimumSize( TQSize(max2(s.width(),0),max2(s.height(),0) ) ); - tqlayout->addWidget( widget ); - } -@@ -1071,7 +1071,7 @@ void KDiff3App::slotFileOpen() - } - - void KDiff3App::slotFileOpen2(TQString fn1, TQString fn2, TQString fn3, TQString ofn, -- TQString an1, TQString an2, TQString an3, TotalDifftqStatus* pTotalDifftqStatus ) -+ TQString an1, TQString an2, TQString an3, TotalDiffStatus* pTotalDiffStatus ) - { - if ( !canContinue() ) return; - -@@ -1111,9 +1111,9 @@ void KDiff3App::slotFileOpen2(TQString fn1, TQString fn2, TQString fn3, TQString - else - { - m_bDirCompare = bDirCompare; // Don't allow this to change here. -- init( false, pTotalDifftqStatus ); -+ init( false, pTotalDiffStatus ); - -- if ( pTotalDifftqStatus!=0 ) -+ if ( pTotalDiffStatus!=0 ) - return; - - if ( ! m_sd1.isEmpty() && ! m_sd1.hasData() || -@@ -1969,7 +1969,7 @@ void KDiff3App::slotMergeCurrentFile() - - void KDiff3App::slotWinFocusNext() - { -- TQWidget* focus = tqApp->tqfocusWidget(); -+ TQWidget* focus = tqApp->focusWidget(); - if ( focus == m_pDirectoryMergeWindow && m_pDirectoryMergeWindow->isVisible() && ! dirShowBoth->isChecked() ) - { - slotDirViewToggle(); -@@ -1999,7 +1999,7 @@ void KDiff3App::slotWinFocusNext() - - void KDiff3App::slotWinFocusPrev() - { -- TQWidget* focus = tqApp->tqfocusWidget(); -+ TQWidget* focus = tqApp->focusWidget(); - if ( focus == m_pDirectoryMergeWindow && m_pDirectoryMergeWindow->isVisible() && ! dirShowBoth->isChecked() ) - { - slotDirViewToggle(); -diff --git a/src/smalldialogs.cpp b/src/smalldialogs.cpp -index 7dc6340..5ed0c26 100644 ---- a/src/smalldialogs.cpp -+++ b/src/smalldialogs.cpp -@@ -170,7 +170,7 @@ OpenDialog::OpenDialog( - connect( button, TQT_SIGNAL(clicked()), this, TQT_SLOT( reject() ) ); - l->addWidget( button,1 ); - -- TQSize sh = tqsizeHint(); -+ TQSize sh = sizeHint(); - setFixedHeight( sh.height() ); - m_bInputFileNameChanged = false; - -@@ -498,7 +498,7 @@ RegExpTester::RegExpTester( TQWidget* pParent, const TQString& autoMergeRegExpTo - pGrid->addWidget(pButton,line,1); - connect( pButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(reject())); - -- resize( 800, tqsizeHint().height() ); -+ resize( 800, sizeHint().height() ); - } - - void RegExpTester::init( const TQString& autoMergeRegExp, const TQString& historyStartRegExp, const TQString& historyEntryStartRegExp, const TQString historySortKeyOrder ) diff --git a/redhat/applications/kdiff3/bp001-9b57232f.diff b/redhat/applications/kdiff3/bp001-9b57232f.diff deleted file mode 100644 index 6b0808574..000000000 --- a/redhat/applications/kdiff3/bp001-9b57232f.diff +++ /dev/null @@ -1,627 +0,0 @@ -commit 9b57232f1beb774a8a4bab4ae1f85999e193d037 -Author: Timothy Pearson -Date: 1324316180 -0600 - - Remove additional unneeded tq method conversions - -diff --git a/kdiff3plugin/kdiff3plugin.cpp b/kdiff3plugin/kdiff3plugin.cpp -index 53360b6..ec008f1 100755 ---- a/kdiff3plugin/kdiff3plugin.cpp -+++ b/kdiff3plugin/kdiff3plugin.cpp -@@ -101,17 +101,17 @@ KDiff3Plugin::KDiff3Plugin( KonqPopupMenu* pPopupmenu, const char *name, const T - if(m_list.count() == 1) - { - int historyCount = s_pHistory ? s_pHistory->count() : 0; -- s = i18n("Compare with %1").tqarg( historyCount>0 ? s_pHistory->front() : TQString() ); -+ s = i18n("Compare with %1").arg( historyCount>0 ? s_pHistory->front() : TQString() ); - pAction = new KAction ( s,0, this, TQT_SLOT(slotCompareWith()), actionCollection()); - pAction->setEnabled( m_list.count()>0 && historyCount>0 ); - pActionMenu->insert (pAction); - -- s = i18n("Merge with %1").tqarg( historyCount>0 ? s_pHistory->front() : TQString() ); -+ s = i18n("Merge with %1").arg( historyCount>0 ? s_pHistory->front() : TQString() ); - pAction = new KAction( s, 0, this, TQT_SLOT(slotMergeWith()), actionCollection()); - pAction->setEnabled( m_list.count()>0 && historyCount>0 ); - pActionMenu->insert (pAction); - -- s = i18n("Save '%1' for later").tqarg( ( m_list.front() ) ); -+ s = i18n("Save '%1' for later").arg( ( m_list.front() ) ); - pAction = new KAction ( s, 0, this, TQT_SLOT(slotSaveForLater()), actionCollection()); - pAction->setEnabled( m_list.count()>0 ); - pActionMenu->insert(pAction); -diff --git a/src/diff.cpp b/src/diff.cpp -index 136275c..722950f 100644 ---- a/src/diff.cpp -+++ b/src/diff.cpp -@@ -492,7 +492,7 @@ void SourceData::readAndPreprocess( TQTextCodec* pEncoding, bool bAutoDetectUnic - KMessageBox::error(m_pOptionDialog, - i18n("Preprocessing possibly failed. Check this command:\n\n %1" - "\n\nThe preprocessing command will be disabled now." -- ).tqarg(cmd) ); -+ ).arg(cmd) ); - m_pOptionDialog->m_PreProcessorCmd = ""; - m_normalData.readFile( fileNameIn1 ); - pEncoding1 = m_pEncoding; -@@ -527,7 +527,7 @@ void SourceData::readAndPreprocess( TQTextCodec* pEncoding, bool bAutoDetectUnic - KMessageBox::error(m_pOptionDialog, - i18n("The line-matching-preprocessing possibly failed. Check this command:\n\n %1" - "\n\nThe line-matching-preprocessing command will be disabled now." -- ).tqarg(cmd) ); -+ ).arg(cmd) ); - m_pOptionDialog->m_LineMatchingPreProcessorCmd = ""; - m_lmppData.readFile( fileNameIn2 ); - } -@@ -1190,7 +1190,7 @@ void correctManualDiffAlignment( Diff3LineList& d3ll, ManualDiffHelpList* pManua - if ( pManualDiffHelpList->empty() ) - return; - -- // If a line appears unaligned in comparison to the manual tqalignment, correct this. -+ // If a line appears unaligned in comparison to the manual alignment, correct this. - - ManualDiffHelpList::iterator iMDHL; - for( iMDHL = pManualDiffHelpList->begin(); iMDHL != pManualDiffHelpList->end(); ++iMDHL ) -@@ -1228,7 +1228,7 @@ void correctManualDiffAlignment( Diff3LineList& d3ll, ManualDiffHelpList* pManua - - if (wi>=1 && wi <= 3) - { -- // Found manual tqalignment for one source -+ // Found manual alignment for one source - Diff3LineList::iterator iDest = i3; - - // Move lines up until the next firstLine is found. Omit wi from move and search. -diff --git a/src/difftextwindow.cpp b/src/difftextwindow.cpp -index 361eb73..e8124fa 100644 ---- a/src/difftextwindow.cpp -+++ b/src/difftextwindow.cpp -@@ -1656,7 +1656,7 @@ void DiffTextWindowFrame::setFirstLine( int firstLine ) - s += " " + TQString::number( l+1 ); - - d->m_pTopLine->setText( s ); -- d->m_pTopLine->tqrepaint(); -+ d->m_pTopLine->repaint(); - } - } - -diff --git a/src/directorymergewindow.cpp b/src/directorymergewindow.cpp -index 0520af3..b4f6b20 100644 ---- a/src/directorymergewindow.cpp -+++ b/src/directorymergewindow.cpp -@@ -187,13 +187,13 @@ void DirectoryMergeWindow::fastFileComparison( - TempRemover tr1( fileName1, fi1 ); - if ( !tr1.success() ) - { -- status = i18n("Creating temp copy of %1 failed.").tqarg(fileName1); -+ status = i18n("Creating temp copy of %1 failed.").arg(fileName1); - return; - } - TempRemover tr2( fileName2, fi2 ); - if ( !tr2.success() ) - { -- status = i18n("Creating temp copy of %1 failed.").tqarg(fileName2); -+ status = i18n("Creating temp copy of %1 failed.").arg(fileName2); - return; - } - -@@ -204,7 +204,7 @@ void DirectoryMergeWindow::fastFileComparison( - - if ( ! file1.open(IO_ReadOnly) ) - { -- status = i18n("Opening %1 failed.").tqarg(fileName1); -+ status = i18n("Opening %1 failed.").arg(fileName1); - return; - } - -@@ -212,7 +212,7 @@ void DirectoryMergeWindow::fastFileComparison( - - if ( ! file2.open(IO_ReadOnly) ) - { -- status = i18n("Opening %1 failed.").tqarg(fileName2); -+ status = i18n("Opening %1 failed.").arg(fileName2); - return; - } - -@@ -230,13 +230,13 @@ void DirectoryMergeWindow::fastFileComparison( - int len = min2( sizeLeft, (t_FileSize)buf1.size() ); - if( len != file1.readBlock( &buf1[0], len ) ) - { -- status = i18n("Error reading from %1").tqarg(fileName1); -+ status = i18n("Error reading from %1").arg(fileName1); - return; - } - - if( len != file2.readBlock( &buf2[0], len ) ) - { -- status = i18n("Error reading from %1").tqarg(fileName2); -+ status = i18n("Error reading from %1").arg(fileName2); - return; - } - -@@ -507,13 +507,13 @@ bool DirectoryMergeWindow::init - TQString text( i18n("Opening of directories failed:") ); - text += "\n\n"; - if ( !dirA.isDir() ) -- { text += i18n("Dir A \"%1\" does not exist or is not a directory.\n").tqarg(m_dirA.prettyAbsPath()); } -+ { text += i18n("Dir A \"%1\" does not exist or is not a directory.\n").arg(m_dirA.prettyAbsPath()); } - - if ( !dirB.isDir() ) -- { text += i18n("Dir B \"%1\" does not exist or is not a directory.\n").tqarg(m_dirB.prettyAbsPath()); } -+ { text += i18n("Dir B \"%1\" does not exist or is not a directory.\n").arg(m_dirB.prettyAbsPath()); } - - if ( m_dirC.isValid() && !m_dirC.isDir() ) -- { text += i18n("Dir C \"%1\" does not exist or is not a directory.\n").tqarg(m_dirC.prettyAbsPath()); } -+ { text += i18n("Dir C \"%1\" does not exist or is not a directory.\n").arg(m_dirC.prettyAbsPath()); } - - KMessageBox::sorry( this, text, i18n("Directory Open Error") ); - return false; -@@ -2138,7 +2138,7 @@ void DirectoryMergeWindow::slotRunOperationForCurrentItem() - if ( m_mergeItemList.empty() ) - { - TQListViewItem* pBegin = currentItem(); -- TQListViewItem* pEnd = treeIterator(pBegin,false,false); // find next visible sibling (no tqchildren) -+ TQListViewItem* pEnd = treeIterator(pBegin,false,false); // find next visible sibling (no children) - - prepareMergeStart( pBegin, pEnd, bVerbose ); - mergeContinue(true, bVerbose); -@@ -2411,16 +2411,16 @@ bool DirectoryMergeWindow::deleteFLD( const TQString& name, bool bCreateBackup ) - bool bSuccess = renameFLD( name, name+".orig" ); - if (!bSuccess) - { -- m_pStatusInfo->addText( i18n("Error: While deleting %1: Creating backup failed.").tqarg(name) ); -+ m_pStatusInfo->addText( i18n("Error: While deleting %1: Creating backup failed.").arg(name) ); - return false; - } - } - else - { - if ( fi.isDir() && !fi.isSymLink() ) -- m_pStatusInfo->addText(i18n("delete directory recursively( %1 )").tqarg(name)); -+ m_pStatusInfo->addText(i18n("delete directory recursively( %1 )").arg(name)); - else -- m_pStatusInfo->addText(i18n("delete( %1 )").tqarg(name)); -+ m_pStatusInfo->addText(i18n("delete( %1 )").arg(name)); - - if ( m_bSimulatedMergeStarted ) - { -@@ -2454,7 +2454,7 @@ bool DirectoryMergeWindow::deleteFLD( const TQString& name, bool bCreateBackup ) - bSuccess = FileAccess::removeDir( name ); - if ( !bSuccess ) - { -- m_pStatusInfo->addText( i18n("Error: rmdir( %1 ) operation failed.").tqarg(name)); -+ m_pStatusInfo->addText( i18n("Error: rmdir( %1 ) operation failed.").arg(name)); - return false; - } - } -@@ -2490,7 +2490,7 @@ bool DirectoryMergeWindow::mergeFLD( const TQString& nameA,const TQString& nameB - return false; - } - -- m_pStatusInfo->addText(i18n("manual merge( %1, %2, %3 -> %4)").tqarg(nameA).tqarg(nameB).tqarg(nameC).tqarg(nameDest)); -+ m_pStatusInfo->addText(i18n("manual merge( %1, %2, %3 -> %4)").arg(nameA).arg(nameB).arg(nameC).arg(nameDest)); - if ( m_bSimulatedMergeStarted ) - { - m_pStatusInfo->addText(i18n(" Note: After a manual merge the user should continue by pressing F7.") ); -@@ -2517,7 +2517,7 @@ bool DirectoryMergeWindow::copyFLD( const TQString& srcName, const TQString& des - if ( !bSuccess ) - { - m_pStatusInfo->addText(i18n("Error: copy( %1 -> %2 ) failed." -- "Deleting existing destination failed.").tqarg(srcName).tqarg(destName)); -+ "Deleting existing destination failed.").arg(srcName).arg(destName)); - return false; - } - } -@@ -2526,7 +2526,7 @@ bool DirectoryMergeWindow::copyFLD( const TQString& srcName, const TQString& des - - if ( fi.isSymLink() && (fi.isDir() && !m_bFollowDirLinks || !fi.isDir() && !m_bFollowFileLinks) ) - { -- m_pStatusInfo->addText(i18n("copyLink( %1 -> %2 )").tqarg(srcName).tqarg(destName)); -+ m_pStatusInfo->addText(i18n("copyLink( %1 -> %2 )").arg(srcName).arg(destName)); - #ifdef _WIN32 - // What are links? - #else -@@ -2563,7 +2563,7 @@ bool DirectoryMergeWindow::copyFLD( const TQString& srcName, const TQString& des - return false; - } - -- m_pStatusInfo->addText(i18n("copy( %1 -> %2 )").tqarg(srcName).tqarg(destName)); -+ m_pStatusInfo->addText(i18n("copy( %1 -> %2 )").arg(srcName).arg(destName)); - - if ( m_bSimulatedMergeStarted ) - { -@@ -2590,12 +2590,12 @@ bool DirectoryMergeWindow::renameFLD( const TQString& srcName, const TQString& d - if (!bSuccess) - { - m_pStatusInfo->addText( i18n("Error during rename( %1 -> %2 ): " -- "Cannot delete existing destination." ).tqarg(srcName).tqarg(destName)); -+ "Cannot delete existing destination." ).arg(srcName).arg(destName)); - return false; - } - } - -- m_pStatusInfo->addText(i18n("rename( %1 -> %2 )").tqarg(srcName).tqarg(destName)); -+ m_pStatusInfo->addText(i18n("rename( %1 -> %2 )").arg(srcName).arg(destName)); - if ( m_bSimulatedMergeStarted ) - { - return true; -@@ -2623,7 +2623,7 @@ bool DirectoryMergeWindow::makeDir( const TQString& name, bool bQuiet ) - if (!bSuccess) - { - m_pStatusInfo->addText( i18n("Error during makeDir of %1. " -- "Cannot delete existing file." ).tqarg(name)); -+ "Cannot delete existing file." ).arg(name)); - return false; - } - } -@@ -2638,7 +2638,7 @@ bool DirectoryMergeWindow::makeDir( const TQString& name, bool bQuiet ) - } - - if ( ! bQuiet ) -- m_pStatusInfo->addText(i18n("makeDir( %1 )").tqarg(name)); -+ m_pStatusInfo->addText(i18n("makeDir( %1 )").arg(name)); - - if ( m_bSimulatedMergeStarted ) - { -diff --git a/src/fileaccess.cpp b/src/fileaccess.cpp -index 01b8d48..1f90d5d 100644 ---- a/src/fileaccess.cpp -+++ b/src/fileaccess.cpp -@@ -625,7 +625,7 @@ bool FileAccessJobHandler::stat( int detail, bool bWantToWrite ) - - connect( pStatJob, TQT_SIGNAL(result(KIO::Job*)), this, TQT_SLOT(slotStatResult(KIO::Job*))); - -- g_pProgressDialog->enterEventLoop( pStatJob, i18n("Getting file status: %1").tqarg(m_pFileAccess->prettyAbsPath()) ); -+ g_pProgressDialog->enterEventLoop( pStatJob, i18n("Getting file status: %1").arg(m_pFileAccess->prettyAbsPath()) ); - - return m_bSuccess; - } -@@ -668,7 +668,7 @@ bool FileAccessJobHandler::get(void* pDestBuffer, long maxLength ) - connect( pJob, TQT_SIGNAL(data(KIO::Job*,const TQByteArray &)), this, TQT_SLOT(slotGetData(KIO::Job*, const TQByteArray&))); - connect( pJob, TQT_SIGNAL(percent(KIO::Job*,unsigned long)), this, TQT_SLOT(slotPercent(KIO::Job*, unsigned long))); - -- g_pProgressDialog->enterEventLoop( pJob, i18n("Reading file: %1").tqarg(m_pFileAccess->prettyAbsPath()) ); -+ g_pProgressDialog->enterEventLoop( pJob, i18n("Reading file: %1").arg(m_pFileAccess->prettyAbsPath()) ); - return m_bSuccess; - } - else -@@ -704,7 +704,7 @@ bool FileAccessJobHandler::put(const void* pSrcBuffer, long maxLength, bool bOve - connect( pJob, TQT_SIGNAL(dataReq(KIO::Job*, TQByteArray&)), this, TQT_SLOT(slotPutData(KIO::Job*, TQByteArray&))); - connect( pJob, TQT_SIGNAL(percent(KIO::Job*,unsigned long)), this, TQT_SLOT(slotPercent(KIO::Job*, unsigned long))); - -- g_pProgressDialog->enterEventLoop( pJob, i18n("Writing file: %1").tqarg(m_pFileAccess->prettyAbsPath()) ); -+ g_pProgressDialog->enterEventLoop( pJob, i18n("Writing file: %1").arg(m_pFileAccess->prettyAbsPath()) ); - return m_bSuccess; - } - else -@@ -721,7 +721,7 @@ void FileAccessJobHandler::slotPutData( KIO::Job* pJob, TQByteArray& data ) - { - long maxChunkSize = 100000; - long length = min2( maxChunkSize, m_maxLength - m_transferredBytes ); -- bool bSuccess = data.tqresize( length ); -+ bool bSuccess = data.resize( length ); - if ( bSuccess ) - { - if ( length>0 ) -@@ -767,7 +767,7 @@ bool FileAccessJobHandler::mkDir( const TQString& dirName ) - KIO::SimpleJob* pJob = KIO::mkdir( dirURL ); - connect( pJob, TQT_SIGNAL(result(KIO::Job*)), this, TQT_SLOT(slotSimpleJobResult(KIO::Job*))); - -- g_pProgressDialog->enterEventLoop( pJob, i18n("Making directory: %1").tqarg(dirName) ); -+ g_pProgressDialog->enterEventLoop( pJob, i18n("Making directory: %1").arg(dirName) ); - return m_bSuccess; - } - } -@@ -787,7 +787,7 @@ bool FileAccessJobHandler::rmDir( const TQString& dirName ) - KIO::SimpleJob* pJob = KIO::rmdir( dirURL ); - connect( pJob, TQT_SIGNAL(result(KIO::Job*)), this, TQT_SLOT(slotSimpleJobResult(KIO::Job*))); - -- g_pProgressDialog->enterEventLoop(pJob, i18n("Removing directory: %1").tqarg(dirName)); -+ g_pProgressDialog->enterEventLoop(pJob, i18n("Removing directory: %1").arg(dirName)); - return m_bSuccess; - } - } -@@ -802,7 +802,7 @@ bool FileAccessJobHandler::removeFile( const TQString& fileName ) - KIO::SimpleJob* pJob = KIO::file_delete( KURL::fromPathOrURL(fileName), false ); - connect( pJob, TQT_SIGNAL(result(KIO::Job*)), this, TQT_SLOT(slotSimpleJobResult(KIO::Job*))); - -- g_pProgressDialog->enterEventLoop( pJob, i18n("Removing file: %1").tqarg(fileName) ); -+ g_pProgressDialog->enterEventLoop( pJob, i18n("Removing file: %1").arg(fileName) ); - return m_bSuccess; - } - } -@@ -818,7 +818,7 @@ bool FileAccessJobHandler::symLink( const TQString& linkTarget, const TQString& - connect( pJob, TQT_SIGNAL(result(KIO::Job*)), this, TQT_SLOT(slotSimpleJobResult(KIO::Job*))); - - g_pProgressDialog->enterEventLoop( pJob, -- i18n("Creating symbolic link: %1 -> %2").tqarg(linkLocation).tqarg(linkTarget) ); -+ i18n("Creating symbolic link: %1 -> %2").arg(linkLocation).arg(linkTarget) ); - return m_bSuccess; - } - } -@@ -848,7 +848,7 @@ bool FileAccessJobHandler::rename( const TQString& dest ) - connect( pJob, TQT_SIGNAL(percent(KIO::Job*,unsigned long)), this, TQT_SLOT(slotPercent(KIO::Job*, unsigned long))); - - g_pProgressDialog->enterEventLoop( pJob, -- i18n("Renaming file: %1 -> %2").tqarg(m_pFileAccess->prettyAbsPath()).tqarg(dest) ); -+ i18n("Renaming file: %1 -> %2").arg(m_pFileAccess->prettyAbsPath()).arg(dest) ); - return m_bSuccess; - } - } -@@ -884,7 +884,7 @@ bool FileAccessJobHandler::copyFile( const TQString& dest ) - connect( pJob, TQT_SIGNAL(result(KIO::Job*)), this, TQT_SLOT(slotSimpleJobResult(KIO::Job*))); - connect( pJob, TQT_SIGNAL(percent(KIO::Job*,unsigned long)), this, TQT_SLOT(slotPercent(KIO::Job*, unsigned long))); - g_pProgressDialog->enterEventLoop( pJob, -- i18n("Copying file: %1 -> %2").tqarg(m_pFileAccess->prettyAbsPath()).tqarg(dest) ); -+ i18n("Copying file: %1 -> %2").arg(m_pFileAccess->prettyAbsPath()).arg(dest) ); - - return m_bSuccess; - // Note that the KIO-slave preserves the original date, if this is supported. -@@ -898,13 +898,13 @@ bool FileAccessJobHandler::copyFile( const TQString& dest ) - bool bReadSuccess = srcFile.open( IO_ReadOnly ); - if ( bReadSuccess == false ) - { -- m_pFileAccess->m_statusText = i18n("Error during file copy operation: Opening file for reading failed. Filename: %1").tqarg(srcName); -+ m_pFileAccess->m_statusText = i18n("Error during file copy operation: Opening file for reading failed. Filename: %1").arg(srcName); - return false; - } - bool bWriteSuccess = destFile.open( IO_WriteOnly ); - if ( bWriteSuccess == false ) - { -- m_pFileAccess->m_statusText = i18n("Error during file copy operation: Opening file for writing failed. Filename: %1").tqarg(destName); -+ m_pFileAccess->m_statusText = i18n("Error during file copy operation: Opening file for writing failed. Filename: %1").arg(destName); - return false; - } - -@@ -916,7 +916,7 @@ bool FileAccessJobHandler::copyFile( const TQString& dest ) - TQ_LONG readSize = srcFile.readBlock( &buffer[0], min2( srcSize, bufSize ) ); - if ( readSize==-1 || readSize==0 ) - { -- m_pFileAccess->m_statusText = i18n("Error during file copy operation: Reading failed. Filename: %1").tqarg(srcName); -+ m_pFileAccess->m_statusText = i18n("Error during file copy operation: Reading failed. Filename: %1").arg(srcName); - return false; - } - srcSize -= readSize; -@@ -925,7 +925,7 @@ bool FileAccessJobHandler::copyFile( const TQString& dest ) - TQ_LONG writeSize = destFile.writeBlock( &buffer[0], readSize ); - if ( writeSize==-1 || writeSize==0 ) - { -- m_pFileAccess->m_statusText = i18n("Error during file copy operation: Writing failed. Filename: %1").tqarg(destName); -+ m_pFileAccess->m_statusText = i18n("Error during file copy operation: Writing failed. Filename: %1").arg(destName); - return false; - } - readSize -= writeSize; -@@ -1344,7 +1344,7 @@ bool FileAccessJobHandler::listDir( t_DirectoryList* pDirList, bool bRecursive, - //connect( pListJob, TQT_SIGNAL(percent(KIO::Job*,unsigned long)), this, TQT_SLOT(slotPercent(KIO::Job*, unsigned long))); - - g_pProgressDialog->enterEventLoop( pListJob, -- i18n("Listing directory: %1").tqarg(m_pFileAccess->prettyAbsPath()) ); -+ i18n("Listing directory: %1").arg(m_pFileAccess->prettyAbsPath()) ); - } - } - -diff --git a/src/gnudiff_diff.h b/src/gnudiff_diff.h -index 7bc8b92..482435c 100644 ---- a/src/gnudiff_diff.h -+++ b/src/gnudiff_diff.h -@@ -110,7 +110,7 @@ bool brief; - bool expand_tabs; - - /* Use a tab in the output, rather than a space, before the text of an -- input line, so as to keep the proper tqalignment in the input line -+ input line, so as to keep the proper alignment in the input line - without changing the characters in it (-T). */ - bool initial_tab; - -diff --git a/src/kdiff3.cpp b/src/kdiff3.cpp -index e6b3f40..ef1a843 100644 ---- a/src/kdiff3.cpp -+++ b/src/kdiff3.cpp -@@ -259,7 +259,7 @@ KDiff3App::KDiff3App(TQWidget* pParent, const char* name, KDiff3Part* pKDiff3Par - slotViewStatusBar(); - if( toolBar("mainToolBar")!=0 ) - toolBar("mainToolBar")->setBarPos( (KToolBar::BarPosition) m_pOptionDialog->m_toolBarPos ); --/* TQSize size = m_pOptionDialog->m_tqgeometry; -+/* TQSize size = m_pOptionDialog->m_geometry; - TQPoint pos = m_pOptionDialog->m_position; - if(!size.isEmpty()) - { -@@ -303,7 +303,7 @@ void KDiff3App::completeInit( const TQString& fn1, const TQString& fn2, const TQ - { - if (m_pKDiff3Shell!=0) - { -- TQSize size=m_pOptionDialog->m_tqgeometry; -+ TQSize size=m_pOptionDialog->m_geometry; - TQPoint pos=m_pOptionDialog->m_position; - if(!size.isEmpty()) - { -@@ -577,7 +577,7 @@ void KDiff3App::saveOptions( KConfig* config ) - m_pOptionDialog->m_bMaximised = m_pKDiff3Shell->isMaximized(); - if( ! m_pKDiff3Shell->isMaximized() && m_pKDiff3Shell->isVisible() ) - { -- m_pOptionDialog->m_tqgeometry = m_pKDiff3Shell->size(); -+ m_pOptionDialog->m_geometry = m_pKDiff3Shell->size(); - m_pOptionDialog->m_position = m_pKDiff3Shell->pos(); - } - if ( toolBar("mainToolBar")!=0 ) -diff --git a/src/kdiff3.h b/src/kdiff3.h -index c81ae71..46c0d3c 100644 ---- a/src/kdiff3.h -+++ b/src/kdiff3.h -@@ -110,7 +110,7 @@ class KDiff3App : public TQSplitter - /** initializes the KActions of the application */ - void initActions( KActionCollection* ); - -- /** save general Options like all bar positions and status as well as the tqgeometry -+ /** save general Options like all bar positions and status as well as the geometry - and the recent file list to the configuration file */ - void saveOptions( KConfig* ); - -diff --git a/src/kreplacements/kreplacements.cpp b/src/kreplacements/kreplacements.cpp -index 75894a1..c49adaf 100644 ---- a/src/kreplacements/kreplacements.cpp -+++ b/src/kreplacements/kreplacements.cpp -@@ -676,7 +676,7 @@ KToggleAction* KStdAction::showStatusbar( TQWidget* parent, const char* slot, KA - KAction* KStdAction::preferences( TQWidget* parent, const char* slot, KActionCollection* actionCollection) - { - KMainWindow* p = actionCollection->m_pMainWindow; -- KAction* a = new KAction( i18n("&Configure %1...").tqarg("KDiff3"), 0, parent, slot, actionCollection, "settings", false, false ); -+ KAction* a = new KAction( i18n("&Configure %1...").arg("KDiff3"), 0, parent, slot, actionCollection, "settings", false, false ); - if(p) a->addTo( p->settingsMenu ); - return a; - } -diff --git a/src/mergeresultwindow.cpp b/src/mergeresultwindow.cpp -index a222a14..dea1407 100644 ---- a/src/mergeresultwindow.cpp -+++ b/src/mergeresultwindow.cpp -@@ -134,7 +134,7 @@ void MergeResultWindow::init( - int nofUnsolved = getNrOfUnsolvedConflicts(&wsc); - if (m_pStatusBar) - m_pStatusBar->message( i18n("Number of remaining unsolved conflicts: %1 (of which %2 are whitespace)") -- .tqarg(nofUnsolved).tqarg(wsc) ); -+ .arg(nofUnsolved).arg(wsc) ); - } - - void MergeResultWindow::reset() -@@ -809,12 +809,12 @@ void MergeResultWindow::showNrOfConflicts() - else if ( m_pTotalDiffStatus->bTextAEqB && m_pTotalDiffStatus->bTextAEqC ) - totalInfo += i18n("All input files contain the same text."); - else { -- if ( m_pTotalDiffStatus->bBinaryAEqB ) totalInfo += i18n("Files %1 and %2 are binary equal.\n").tqarg("A").tqarg("B"); -- else if ( m_pTotalDiffStatus->bTextAEqB ) totalInfo += i18n("Files %1 and %2 have equal text.\n").tqarg("A").tqarg("B"); -- if ( m_pTotalDiffStatus->bBinaryAEqC ) totalInfo += i18n("Files %1 and %2 are binary equal.\n").tqarg("A").tqarg("C"); -- else if ( m_pTotalDiffStatus->bTextAEqC ) totalInfo += i18n("Files %1 and %2 have equal text.\n").tqarg("A").tqarg("C"); -- if ( m_pTotalDiffStatus->bBinaryBEqC ) totalInfo += i18n("Files %1 and %2 are binary equal.\n").tqarg("B").tqarg("C"); -- else if ( m_pTotalDiffStatus->bTextBEqC ) totalInfo += i18n("Files %1 and %2 have equal text.\n").tqarg("B").tqarg("C"); -+ if ( m_pTotalDiffStatus->bBinaryAEqB ) totalInfo += i18n("Files %1 and %2 are binary equal.\n").arg("A").arg("B"); -+ else if ( m_pTotalDiffStatus->bTextAEqB ) totalInfo += i18n("Files %1 and %2 have equal text.\n").arg("A").arg("B"); -+ if ( m_pTotalDiffStatus->bBinaryAEqC ) totalInfo += i18n("Files %1 and %2 are binary equal.\n").arg("A").arg("C"); -+ else if ( m_pTotalDiffStatus->bTextAEqC ) totalInfo += i18n("Files %1 and %2 have equal text.\n").arg("A").arg("C"); -+ if ( m_pTotalDiffStatus->bBinaryBEqC ) totalInfo += i18n("Files %1 and %2 are binary equal.\n").arg("B").arg("C"); -+ else if ( m_pTotalDiffStatus->bTextBEqC ) totalInfo += i18n("Files %1 and %2 have equal text.\n").arg("B").arg("C"); - } - - int nrOfUnsolvedConflicts = getNrOfUnsolvedConflicts(); -@@ -948,7 +948,7 @@ void MergeResultWindow::choose( int selector ) - int wsc; - int nofUnsolved = getNrOfUnsolvedConflicts(&wsc); - m_pStatusBar->message( i18n("Number of remaining unsolved conflicts: %1 (of which %2 are whitespace)") -- .tqarg(nofUnsolved).tqarg(wsc) ); -+ .arg(nofUnsolved).arg(wsc) ); - } - - // bConflictsOnly: automatically choose for conflicts only (true) or for everywhere (false) -@@ -962,7 +962,7 @@ void MergeResultWindow::chooseGlobal(int selector, bool bConflictsOnly, bool bWh - int wsc; - int nofUnsolved = getNrOfUnsolvedConflicts(&wsc); - m_pStatusBar->message( i18n("Number of remaining unsolved conflicts: %1 (of which %2 are whitespace)") -- .tqarg(nofUnsolved).tqarg(wsc) ); -+ .arg(nofUnsolved).arg(wsc) ); - } - - void MergeResultWindow::slotAutoSolve() -@@ -974,7 +974,7 @@ void MergeResultWindow::slotAutoSolve() - int wsc; - int nofUnsolved = getNrOfUnsolvedConflicts(&wsc); - m_pStatusBar->message( i18n("Number of remaining unsolved conflicts: %1 (of which %2 are whitespace)") -- .tqarg(nofUnsolved).tqarg(wsc) ); -+ .arg(nofUnsolved).arg(wsc) ); - } - - void MergeResultWindow::slotUnsolve() -@@ -986,7 +986,7 @@ void MergeResultWindow::slotUnsolve() - int wsc; - int nofUnsolved = getNrOfUnsolvedConflicts(&wsc); - m_pStatusBar->message( i18n("Number of remaining unsolved conflicts: %1 (of which %2 are whitespace)") -- .tqarg(nofUnsolved).tqarg(wsc) ); -+ .arg(nofUnsolved).arg(wsc) ); - } - - static TQString calcHistoryLead(const TQString& s ) -@@ -2105,9 +2105,9 @@ void MergeResultWindow::slotCursorUpdate() - int xCursor = ( m_cursorXPos - m_firstColumn ) * fontWidth + xOffset; - - if (!m_pOptionDialog->m_bRightToLeftLanguage) -- tqrepaint( xCursor-2, yOffset, 5, fm.ascent()+2 ); -+ repaint( xCursor-2, yOffset, 5, fm.ascent()+2 ); - else -- tqrepaint( width()-1-4-(xCursor-2), yOffset, 5, fm.ascent()+2 ); -+ repaint( width()-1-4-(xCursor-2), yOffset, 5, fm.ascent()+2 ); - - m_bCursorUpdate=false; - } -diff --git a/src/optiondialog.cpp b/src/optiondialog.cpp -index 9b46a6d..8b15dc8 100644 ---- a/src/optiondialog.cpp -+++ b/src/optiondialog.cpp -@@ -495,7 +495,7 @@ void OptionDialog::setupOtherOptions() - new OptionToggleAction( true, "Show Statusbar", &m_bShowStatusBar, this ); - - new OptionNum( (int)KToolBar::Top, "ToolBarPos", &m_toolBarPos, this ); -- new OptionSize( TQSize(600,400),"Geometry", &m_tqgeometry, this ); -+ new OptionSize( TQSize(600,400),"Geometry", &m_geometry, this ); - new OptionPoint( TQPoint(0,22), "Position", &m_position, this ); - new OptionToggleAction( false, "WindowStateMaximised", &m_bMaximised, this ); - -diff --git a/src/optiondialog.h b/src/optiondialog.h -index 697dfe3..b7a27e6 100644 ---- a/src/optiondialog.h -+++ b/src/optiondialog.h -@@ -59,7 +59,7 @@ public: - TQString calcOptionHelp(); - - // Some settings are not available in the option dialog: -- TQSize m_tqgeometry; -+ TQSize m_geometry; - TQPoint m_position; - bool m_bMaximised; - bool m_bShowToolBar; -diff --git a/src/pdiff.cpp b/src/pdiff.cpp -index 1452eca..3986596 100644 ---- a/src/pdiff.cpp -+++ b/src/pdiff.cpp -@@ -512,12 +512,12 @@ void KDiff3App::init( bool bAuto, TotalDiffStatus* pTotalDiffStatus, bool bLoadF - else if ( pTotalDiffStatus->bTextAEqB && pTotalDiffStatus->bTextAEqC ) - totalInfo += i18n("All input files contain the same text, but are not binary equal."); - else { -- if ( pTotalDiffStatus->bBinaryAEqB ) totalInfo += i18n("Files %1 and %2 are binary equal.\n" ).tqarg("A").tqarg("B"); -- else if ( pTotalDiffStatus->bTextAEqB ) totalInfo += i18n("Files %1 and %2 have equal text, but are not binary equal. \n").tqarg("A").tqarg("B"); -- if ( pTotalDiffStatus->bBinaryAEqC ) totalInfo += i18n("Files %1 and %2 are binary equal.\n" ).tqarg("A").tqarg("C"); -- else if ( pTotalDiffStatus->bTextAEqC ) totalInfo += i18n("Files %1 and %2 have equal text, but are not binary equal. \n").tqarg("A").tqarg("C"); -- if ( pTotalDiffStatus->bBinaryBEqC ) totalInfo += i18n("Files %1 and %2 are binary equal.\n" ).tqarg("B").tqarg("C"); -- else if ( pTotalDiffStatus->bTextBEqC ) totalInfo += i18n("Files %1 and %2 have equal text, but are not binary equal. \n").tqarg("B").tqarg("C"); -+ if ( pTotalDiffStatus->bBinaryAEqB ) totalInfo += i18n("Files %1 and %2 are binary equal.\n" ).arg("A").arg("B"); -+ else if ( pTotalDiffStatus->bTextAEqB ) totalInfo += i18n("Files %1 and %2 have equal text, but are not binary equal. \n").arg("A").arg("B"); -+ if ( pTotalDiffStatus->bBinaryAEqC ) totalInfo += i18n("Files %1 and %2 are binary equal.\n" ).arg("A").arg("C"); -+ else if ( pTotalDiffStatus->bTextAEqC ) totalInfo += i18n("Files %1 and %2 have equal text, but are not binary equal. \n").arg("A").arg("C"); -+ if ( pTotalDiffStatus->bBinaryBEqC ) totalInfo += i18n("Files %1 and %2 are binary equal.\n" ).arg("B").arg("C"); -+ else if ( pTotalDiffStatus->bTextBEqC ) totalInfo += i18n("Files %1 and %2 have equal text, but are not binary equal. \n").arg("B").arg("C"); - } - - if ( !totalInfo.isEmpty() ) -diff --git a/src/smalldialogs.cpp b/src/smalldialogs.cpp -index 5ed0c26..ff7ca56 100644 ---- a/src/smalldialogs.cpp -+++ b/src/smalldialogs.cpp -@@ -111,15 +111,15 @@ OpenDialog::OpenDialog( - - TQPopupMenu* m = new TQPopupMenu(this); - int id=0; -- m->insertItem( i18n("Swap %1<->%2").tqarg("A").tqarg("B"), id++ ); -- m->insertItem( i18n("Swap %1<->%2").tqarg("B").tqarg("C"), id++ ); -- m->insertItem( i18n("Swap %1<->%2").tqarg("C").tqarg("A"), id++ ); -- m->insertItem( i18n("Copy %1->Output").tqarg("A"), id++ ); -- m->insertItem( i18n("Copy %1->Output").tqarg("B"), id++ ); -- m->insertItem( i18n("Copy %1->Output").tqarg("C"), id++ ); -- m->insertItem( i18n("Swap %1<->Output").tqarg("A"), id++ ); -- m->insertItem( i18n("Swap %1<->Output").tqarg("B"), id++ ); -- m->insertItem( i18n("Swap %1<->Output").tqarg("C"), id++ ); -+ m->insertItem( i18n("Swap %1<->%2").arg("A").arg("B"), id++ ); -+ m->insertItem( i18n("Swap %1<->%2").arg("B").arg("C"), id++ ); -+ m->insertItem( i18n("Swap %1<->%2").arg("C").arg("A"), id++ ); -+ m->insertItem( i18n("Copy %1->Output").arg("A"), id++ ); -+ m->insertItem( i18n("Copy %1->Output").arg("B"), id++ ); -+ m->insertItem( i18n("Copy %1->Output").arg("C"), id++ ); -+ m->insertItem( i18n("Swap %1<->Output").arg("A"), id++ ); -+ m->insertItem( i18n("Swap %1<->Output").arg("B"), id++ ); -+ m->insertItem( i18n("Swap %1<->Output").arg("C"), id++ ); - connect( m, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotSwapCopyNames(int))); - button->setPopup(m); - diff --git a/redhat/applications/kdiff3/bp002-d654b107.diff b/redhat/applications/kdiff3/bp002-d654b107.diff deleted file mode 100644 index dc4a95c9e..000000000 --- a/redhat/applications/kdiff3/bp002-d654b107.diff +++ /dev/null @@ -1,328 +0,0 @@ -commit d654b1079f7801b0a65c8de8936d0d174656702b -Author: Timothy Pearson -Date: 1324497860 -0600 - - Rename obsolete tq methods to standard names - -diff --git a/src/diff.cpp b/src/diff.cpp -index 722950f..feb1373 100644 ---- a/src/diff.cpp -+++ b/src/diff.cpp -@@ -557,7 +557,7 @@ void SourceData::readAndPreprocess( TQTextCodec* pEncoding, bool bAutoDetectUnic - m_lmppData.m_v.resize( m_normalData.m_vSize ); - for(int i=m_lmppData.m_vSize; im_bIgnoreCase ) - { - int i; -- TQChar* pBuf = const_cast(m_lmppData.m_tqunicodeBuf.tqunicode()); -- int ucSize = m_lmppData.m_tqunicodeBuf.length(); -+ TQChar* pBuf = const_cast(m_lmppData.m_unicodeBuf.unicode()); -+ int ucSize = m_lmppData.m_unicodeBuf.length(); - for(i=0; i(m_tqunicodeBuf.tqunicode()); -+ TQChar* p = const_cast(m_unicodeBuf.unicode()); - bool bWithinComment=false; -- int size = m_tqunicodeBuf.length(); -+ int size = m_unicodeBuf.length(); - for(int i=0; i m_v; - bool m_bIsText; - bool readFile( const TQString& filename ); -diff --git a/src/fileaccess.cpp b/src/fileaccess.cpp -index 1f90d5d..5584c50 100644 ---- a/src/fileaccess.cpp -+++ b/src/fileaccess.cpp -@@ -1088,7 +1088,7 @@ void CvsIgnoreList::addEntry(const TQString& pattern) - unsigned int nofMetaCharacters = 0; - - const TQChar* pos; -- pos = pattern.tqunicode(); -+ pos = pattern.unicode(); - const TQChar* posEnd; - posEnd=pos + pattern.length(); - while (pos < posEnd) -@@ -1454,27 +1454,27 @@ ProgressDialog::ProgressDialog( TQWidget* pParent ) - : TQDialog( pParent, 0, true ) - { - m_bStayHidden = false; -- TQVBoxLayout* tqlayout = new TQVBoxLayout(this); -+ TQVBoxLayout* layout = new TQVBoxLayout(this); - - m_pInformation = new TQLabel( " ", this ); -- tqlayout->addWidget( m_pInformation ); -+ layout->addWidget( m_pInformation ); - - m_pProgressBar = new KProgress(1000, this); -- tqlayout->addWidget( m_pProgressBar ); -+ layout->addWidget( m_pProgressBar ); - - m_pSubInformation = new TQLabel( " ", this); -- tqlayout->addWidget( m_pSubInformation ); -+ layout->addWidget( m_pSubInformation ); - - m_pSubProgressBar = new KProgress(1000, this); -- tqlayout->addWidget( m_pSubProgressBar ); -+ layout->addWidget( m_pSubProgressBar ); - - m_pSlowJobInfo = new TQLabel( " ", this); -- tqlayout->addWidget( m_pSlowJobInfo ); -+ layout->addWidget( m_pSlowJobInfo ); - -- TQHBoxLayout* htqlayout = new TQHBoxLayout( tqlayout ); -- htqlayout->addStretch(1); -+ TQHBoxLayout* hlayout = new TQHBoxLayout( layout ); -+ hlayout->addStretch(1); - m_pAbortButton = new TQPushButton( i18n("&Cancel"), this); -- htqlayout->addWidget( m_pAbortButton ); -+ hlayout->addWidget( m_pAbortButton ); - connect( m_pAbortButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotAbort()) ); - - m_progressDelayTimer = 0; -diff --git a/src/gnudiff_io.cpp b/src/gnudiff_io.cpp -index f29fd31..aab645f 100644 ---- a/src/gnudiff_io.cpp -+++ b/src/gnudiff_io.cpp -@@ -169,7 +169,7 @@ void GnuDiff::find_and_hash_each_line (struct file_data *current) - while ( pgetString( this ); - int x = convertToPosInText( str, m_cursorXPos, m_pOptionDialog->m_tabSize ); - -- if ( !TQApplication::tqclipboard()->supportsSelection() ) -+ if ( !TQApplication::clipboard()->supportsSelection() ) - bFromSelection = false; - -- TQString clipBoard = TQApplication::tqclipboard()->text( bFromSelection ? TQClipboard::Selection : TQClipboard::Clipboard ); -+ TQString clipBoard = TQApplication::clipboard()->text( bFromSelection ? TQClipboard::Selection : TQClipboard::Clipboard ); - - TQString currentLine = str.left(x); - TQString endOfLine = str.mid(x); -diff --git a/src/pdiff.cpp b/src/pdiff.cpp -index 3986596..0a10b00 100644 ---- a/src/pdiff.cpp -+++ b/src/pdiff.cpp -@@ -610,13 +610,13 @@ void KDiff3App::sourceMask( int srcMask, int enabledMask ) - - - // Function uses setMinSize( sizeHint ) before adding the widget. --// void addWidget(TQBoxLayout* tqlayout, TQWidget* widget); -+// void addWidget(TQBoxLayout* layout, TQWidget* widget); - template --void addWidget( L* tqlayout, W* widget) -+void addWidget( L* layout, W* widget) - { - TQSize s = widget->sizeHint(); - widget->setMinimumSize( TQSize(max2(s.width(),0),max2(s.height(),0) ) ); -- tqlayout->addWidget( widget ); -+ layout->addWidget( widget ); - } - - void KDiff3App::initView() -@@ -1174,7 +1174,7 @@ void KDiff3App::slotEditCut() - - if ( !s.isNull() ) - { -- TQApplication::tqclipboard()->setText( s, TQClipboard::Clipboard ); -+ TQApplication::clipboard()->setText( s, TQClipboard::Clipboard ); - } - - slotStatusMsg(i18n("Ready.")); -@@ -1190,7 +1190,7 @@ void KDiff3App::slotEditCopy() - if ( s.isNull() && m_pMergeResultWindow!=0 ) s = m_pMergeResultWindow->getSelection(); - if ( !s.isNull() ) - { -- TQApplication::tqclipboard()->setText( s, TQClipboard::Clipboard ); -+ TQApplication::clipboard()->setText( s, TQClipboard::Clipboard ); - } - - slotStatusMsg(i18n("Ready.")); -@@ -1208,17 +1208,17 @@ void KDiff3App::slotEditPaste() - { - if ( m_pDiffTextWindow1->hasFocus() ) - { -- m_sd1.setData( TQApplication::tqclipboard()->text(TQClipboard::Clipboard) ); -+ m_sd1.setData( TQApplication::clipboard()->text(TQClipboard::Clipboard) ); - init(); - } - else if ( m_pDiffTextWindow2->hasFocus() ) - { -- m_sd2.setData( TQApplication::tqclipboard()->text(TQClipboard::Clipboard) ); -+ m_sd2.setData( TQApplication::clipboard()->text(TQClipboard::Clipboard) ); - init(); - } - else if ( m_pDiffTextWindow3->hasFocus() ) - { -- m_sd3.setData( TQApplication::tqclipboard()->text(TQClipboard::Clipboard) ); -+ m_sd3.setData( TQApplication::clipboard()->text(TQClipboard::Clipboard) ); - init(); - } - } -@@ -1465,7 +1465,7 @@ void KDiff3App::slotSelectionEnd() - } - else - { -- TQClipboard *clipBoard = TQApplication::tqclipboard(); -+ TQClipboard *clipBoard = TQApplication::clipboard(); - - if (clipBoard->supportsSelection ()) - { -@@ -1484,7 +1484,7 @@ void KDiff3App::slotSelectionEnd() - - void KDiff3App::slotClipboardChanged() - { -- TQString s = TQApplication::tqclipboard()->text(); -+ TQString s = TQApplication::clipboard()->text(); - //editPaste->setEnabled(!s.isEmpty()); - } - -diff --git a/src/smalldialogs.cpp b/src/smalldialogs.cpp -index ff7ca56..b19b7c2 100644 ---- a/src/smalldialogs.cpp -+++ b/src/smalldialogs.cpp -@@ -339,47 +339,47 @@ void OpenDialog::slotSwapCopyNames( int id ) // id selected in the popup menu - FindDialog::FindDialog(TQWidget* pParent) - : TQDialog( pParent ) - { -- TQGridLayout* tqlayout = new TQGridLayout( this ); -- tqlayout->setMargin(5); -- tqlayout->setSpacing(5); -+ TQGridLayout* layout = new TQGridLayout( this ); -+ layout->setMargin(5); -+ layout->setSpacing(5); - - int line=0; -- tqlayout->addMultiCellWidget( new TQLabel(i18n("Search text:"),this), line,line,0,1 ); -+ layout->addMultiCellWidget( new TQLabel(i18n("Search text:"),this), line,line,0,1 ); - ++line; - - m_pSearchString = new TQLineEdit( this ); -- tqlayout->addMultiCellWidget( m_pSearchString, line,line,0,1 ); -+ layout->addMultiCellWidget( m_pSearchString, line,line,0,1 ); - ++line; - - m_pCaseSensitive = new TQCheckBox(i18n("Case sensitive"),this); -- tqlayout->addWidget( m_pCaseSensitive, line, 1 ); -+ layout->addWidget( m_pCaseSensitive, line, 1 ); - - m_pSearchInA = new TQCheckBox(i18n("Search A"),this); -- tqlayout->addWidget( m_pSearchInA, line, 0 ); -+ layout->addWidget( m_pSearchInA, line, 0 ); - m_pSearchInA->setChecked( true ); - ++line; - - m_pSearchInB = new TQCheckBox(i18n("Search B"),this); -- tqlayout->addWidget( m_pSearchInB, line, 0 ); -+ layout->addWidget( m_pSearchInB, line, 0 ); - m_pSearchInB->setChecked( true ); - ++line; - - m_pSearchInC = new TQCheckBox(i18n("Search C"),this); -- tqlayout->addWidget( m_pSearchInC, line, 0 ); -+ layout->addWidget( m_pSearchInC, line, 0 ); - m_pSearchInC->setChecked( true ); - ++line; - - m_pSearchInOutput = new TQCheckBox(i18n("Search output"),this); -- tqlayout->addWidget( m_pSearchInOutput, line, 0 ); -+ layout->addWidget( m_pSearchInOutput, line, 0 ); - m_pSearchInOutput->setChecked( true ); - ++line; - - TQPushButton* pButton = new TQPushButton( i18n("&Search"), this ); -- tqlayout->addWidget( pButton, line, 0 ); -+ layout->addWidget( pButton, line, 0 ); - connect( pButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(accept())); - - pButton = new TQPushButton( i18n("&Cancel"), this ); -- tqlayout->addWidget( pButton, line, 1 ); -+ layout->addWidget( pButton, line, 1 ); - connect( pButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(reject())); - - hide(); diff --git a/redhat/applications/kdiff3/bp003-3f02b2be.diff b/redhat/applications/kdiff3/bp003-3f02b2be.diff deleted file mode 100644 index f287d6592..000000000 --- a/redhat/applications/kdiff3/bp003-3f02b2be.diff +++ /dev/null @@ -1,19 +0,0 @@ -commit 3f02b2be383bb2ab233fe8885f062f75fd902e78 -Author: Darrell Anderson -Date: 1332366465 -0500 - - Change tqaddAction -> addAction. There is no tqaddAction defined in tqt headers. - -diff --git a/kdiff3plugin/kdiff3plugin.cpp b/kdiff3plugin/kdiff3plugin.cpp -index ec008f1..02fa72d 100755 ---- a/kdiff3plugin/kdiff3plugin.cpp -+++ b/kdiff3plugin/kdiff3plugin.cpp -@@ -150,7 +150,7 @@ KDiff3Plugin::KDiff3Plugin( KonqPopupMenu* pPopupmenu, const char *name, const T - pActionMenu->insert (pAction); - - addSeparator(); -- tqaddAction( pActionMenu ); -+ addAction( pActionMenu ); - addSeparator(); - } - diff --git a/redhat/applications/kdiff3/kdiff3-3.5.12.spec b/redhat/applications/kdiff3/kdiff3-3.5.12.spec deleted file mode 100644 index 8c378cd72..000000000 --- a/redhat/applications/kdiff3/kdiff3-3.5.12.spec +++ /dev/null @@ -1,111 +0,0 @@ -# Default version for this component -%define kdecomp kdiff3 -%define version 0.9.91 -%define release 2 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%define _docdir %{_prefix}/share/doc -%endif - -# TDE 3.5.12 specific building variables -BuildRequires: autoconf automake libtool m4 -%define tde_docdir %{_docdir} -%define tde_includedir %{_includedir}/kde -%define tde_libdir %{_libdir}/kde3 - - -Name: trinity-%{kdecomp} -Summary: KDiff3 is a utility for comparing and/or merging two or three text files or directories. -Version: %{?version} -Release: %{?release}%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Source0: %{kdecomp}-3.5.12.tar.gz - - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-kdelibs-devel -BuildRequires: trinity-kdebase-devel -BuildRequires: desktop-file-utils - -%description -Shows the differences line by line and character by character (!). -Provides an automatic merge-facility and -an integrated editor for comfortable solving of merge-conflicts. -Supports KIO on KDE (allows accessing ftp, sftp, fish, smb etc.). -Unicode & UTF-8 support - - -%prep -%setup -q -n applications/%{kdecomp} - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -export PATH="%{_bindir}:${PATH}" -export LDFLAGS="-L%{_libdir} -I%{_includedir}" - -%configure \ - --disable-rpath \ - --with-extra-includes=%{_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{_bindir}:${PATH}" -%__rm -rf %{buildroot} -%make_install - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : - -%postun -touch --no-create %{_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{_bindir}/* -%{_datadir}/apps/*/ -%{_datadir}/icons/*/*/*/* -%{_datadir}/locale/*/*/*.mo -%{tde_docdir}/HTML/*/* -%{_datadir}/services/*.desktop -%{tde_libdir}/*.so -%{_datadir}/applnk/Development/*.desktop -%{_datadir}/applnk/.hidden/*.desktop -%{_mandir}/man*/* - -%{tde_libdir}/*.la - -%Changelog -* Tue Sep 14 2011 Francois Andriot - 0.9.91-2 -- Import to GIT - -* Wed Aug 24 2011 Francois Andriot - 0.9.91-1 -- Correct macro to install under "/opt", if desired - -* Sun Aug 14 2011 Francois Andriot - 0.9.91-0 -- Initial release for RHEL 6.0 - diff --git a/redhat/applications/kdiff3/kdiff3-3.5.13.1.spec b/redhat/applications/kdiff3/kdiff3-3.5.13.1.spec deleted file mode 100644 index f8912c6d3..000000000 --- a/redhat/applications/kdiff3/kdiff3-3.5.13.1.spec +++ /dev/null @@ -1,159 +0,0 @@ -# Default version for this component -%define kdecomp kdiff3 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: KDiff3 is a utility for comparing and/or merging two or three text files or directories. -Version: 0.9.91 -Release: 5%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-arts-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils - -%description -Shows the differences line by line and character by character (!). -Provides an automatic merge-facility and -an integrated editor for comfortable solving of merge-conflicts. -Supports KIO on TDE (allows accessing ftp, sftp, fish, smb etc.). -Unicode & UTF-8 support - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -for f in hicolor locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} &>/dev/null || : -done - -%postun -for f in hicolor locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} &>/dev/null || : -done - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/* -%{tde_datadir}/apps/*/ -%{tde_datadir}/icons/hicolor/*/*/* -%{tde_datadir}/icons/locolor/*/*/* -%{tde_tdedocdir}/HTML/*/* -%{tde_datadir}/services/*.desktop -%{tde_datadir}/applnk/Development/*.desktop -%{tde_datadir}/applnk/.hidden/kdiff3plugin.desktop -%{tde_mandir}/man*/* - -%{tde_tdelibdir}/*.so -%{tde_tdelibdir}/*.la - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.9.91-5 -- Initial release for TDE 3.5.13.1 - -* Tue May 01 2012 Francois Andriot - 0.9.91-4 -- Rebuilt for Fedora 17 -- Fix HTML directory location -- Fix post and postun -- Rename old tq methods that no longer need a unique name [Commit #c7e29c46] -- Remove additional unneeded tq method conversions [Commit #9b57232f] -- Rename obsolete tq methods to standard names [Commit #d654b107] - -* Sun Oct 30 2011 Francois Andriot - 0.9.91-3 -- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 - -* Tue Sep 14 2011 Francois Andriot - 0.9.91-2 -- Import to GIT - -* Wed Aug 24 2011 Francois Andriot - 0.9.91-1 -- Correct macro to install under "/opt", if desired - -* Sun Aug 14 2011 Francois Andriot - 0.9.91-0 -- Initial release for RHEL 6.0 - diff --git a/redhat/applications/kdiff3/kdiff3-3.5.13.2.spec b/redhat/applications/kdiff3/kdiff3-3.5.13.2.spec deleted file mode 100644 index e4099e05b..000000000 --- a/redhat/applications/kdiff3/kdiff3-3.5.13.2.spec +++ /dev/null @@ -1,138 +0,0 @@ -# Default version for this component -%define tde_pkg kdiff3 -%define tde_version 3.5.13.2 - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tde_pkg} -Summary: KDiff3 is a utility for comparing and/or merging two or three text files or directories. -Version: 0.9.91 -Release: %{?!preversion:8}%{?preversion:7_%{preversion}}%{?dist} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-arts-devel >= 1:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - - -%description -Shows the differences line by line and character by character (!). -Provides an automatic merge-facility and -an integrated editor for comfortable solving of merge-conflicts. -Supports KIO on TDE (allows accessing ftp, sftp, fish, smb etc.). -Unicode & UTF-8 support - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --enable-final \ - --enable-closure \ - --enable-rpath - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# Unwanted files -# These are not HTML files but weird files in wrong place ?? -%__rm -rf %{?buildroot}%{tde_tdedocdir}/HTML/kdiff3/ - -%find_lang %{tde_pkg} - - -%clean -%__rm -rf %{buildroot} - - -%post -for f in hicolor locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} &>/dev/null || : -done - -%postun -for f in hicolor locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} &>/dev/null || : -done - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/kdiff3 -%{tde_datadir}/apps/kdiff3/ -%{tde_datadir}/apps/kdiff3part/ -%{tde_datadir}/icons/hicolor/*/apps/kdiff3.png -%{tde_datadir}/icons/locolor/*/apps/kdiff3.png -%{tde_tdedocdir}/HTML/*/kdiff3/ -%{tde_datadir}/services/kdiff3_plugin.desktop -%{tde_datadir}/services/kdiff3part.desktop -%{tde_datadir}/applnk/Development/*.desktop -%{tde_datadir}/applnk/.hidden/kdiff3plugin.desktop -%{tde_mandir}/man*/* -%{tde_tdelibdir}/libkdiff3part.la -%{tde_tdelibdir}/libkdiff3part.so -%{tde_tdelibdir}/libkdiff3plugin.la -%{tde_tdelibdir}/libkdiff3plugin.so - -%changelog diff --git a/redhat/applications/kdiff3/kdiff3-3.5.13.spec b/redhat/applications/kdiff3/kdiff3-3.5.13.spec deleted file mode 100644 index bf89b7f56..000000000 --- a/redhat/applications/kdiff3/kdiff3-3.5.13.spec +++ /dev/null @@ -1,160 +0,0 @@ -# Default version for this component -%define kdecomp kdiff3 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: KDiff3 is a utility for comparing and/or merging two or three text files or directories. -Version: 0.9.91 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -# [kdiff3] Rename old tq methods that no longer need a unique name [Commit #c7e29c46] -Patch0: bp000-c7e29c46.diff -# [kdiff3] Remove additional unneeded tq method conversions [Commit #9b57232f] -Patch1: bp001-9b57232f.diff -# [kdiff3] Rename obsolete tq methods to standard names [Commit #d654b107] -Patch2: bp002-d654b107.diff - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-arts-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils - -%description -Shows the differences line by line and character by character (!). -Provides an automatic merge-facility and -an integrated editor for comfortable solving of merge-conflicts. -Supports KIO on TDE (allows accessing ftp, sftp, fish, smb etc.). -Unicode & UTF-8 support - - -%prep -%setup -q -n applications/%{kdecomp} -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -for f in hicolor locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - -%postun -for f in hicolor locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/* -%{tde_datadir}/apps/*/ -%{tde_datadir}/icons/hicolor/*/*/* -%{tde_datadir}/icons/locolor/*/*/* -%{tde_tdedocdir}/HTML/*/* -%{tde_datadir}/services/*.desktop -%{tde_datadir}/applnk/Development/*.desktop -%{tde_datadir}/applnk/.hidden/kdiff3plugin.desktop -%{tde_mandir}/man*/* - -%{tde_tdelibdir}/*.so -%{tde_tdelibdir}/*.la - -%Changelog -* Tue May 01 2012 Francois Andriot - 0.9.91-4 -- Rebuilt for Fedora 17 -- Fix HTML directory location -- Fix post and postun -- Rename old tq methods that no longer need a unique name [Commit #c7e29c46] -- Remove additional unneeded tq method conversions [Commit #9b57232f] -- Rename obsolete tq methods to standard names [Commit #d654b107] - -* Sun Oct 30 2011 Francois Andriot - 0.9.91-3 -- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 - -* Tue Sep 14 2011 Francois Andriot - 0.9.91-2 -- Import to GIT - -* Wed Aug 24 2011 Francois Andriot - 0.9.91-1 -- Correct macro to install under "/opt", if desired - -* Sun Aug 14 2011 Francois Andriot - 0.9.91-0 -- Initial release for RHEL 6.0 - diff --git a/redhat/applications/kdirstat/kdirstat-3.5.13.1.spec b/redhat/applications/kdirstat/kdirstat-3.5.13.1.spec deleted file mode 100644 index 47e8fea50..000000000 --- a/redhat/applications/kdirstat/kdirstat-3.5.13.1.spec +++ /dev/null @@ -1,148 +0,0 @@ -# Default version for this component -%define kdecomp kdirstat - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: graphical disk usage display with cleanup facilities [Trinity] -Version: 2.4.4 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -KDirStat (KDE Directory Statistics) is a small utility program that sums -up disk usage for directory trees, very much like the Unix 'du' command. -It displays the disk space used up by a directory tree, both numerically -and graphically. It is network transparent (i.e., you can use it to sum -up FTP servers), and comes with predefined and user configurable cleanup -actions. You can directly open a directory branch in Konqueror or the -shell of your choice, compress it to a .tar.bz2 archive, or define your -own cleanup actions. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir} - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%find_lang %{kdecomp} - - - -%clean -%__rm -rf %{buildroot} - - -%post -for f in hicolor locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - -%postun -for f in hicolor locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/kdirstat -%{tde_datadir}/applnk/Utilities/kdirstat.desktop -%{tde_datadir}/apps/kconf_update/fix_move_to_trash_bin.pl -%{tde_datadir}/apps/kconf_update/kdirstat.upd -%{tde_datadir}/apps/kdirstat/ -%{tde_tdedocdir}/HTML/en/kdirstat/ -%{tde_datadir}/icons/hicolor/*/apps/kdirstat.png -%{tde_datadir}/icons/locolor/*/apps/kdirstat.png - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 2.4.4-3 -- Initial release for TDE 3.5.13.1 - -* Tue May 01 2012 Francois Andriot - 2.4.4-2 -- Rebuilt for Fedora 17 -- Fix post and postun - -* Wed Nov 30 2011 Francois Andriot - 2.4.4-1 -- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kdirstat/kdirstat-3.5.13.2.spec b/redhat/applications/kdirstat/kdirstat-3.5.13.2.spec deleted file mode 100644 index 7eae449e0..000000000 --- a/redhat/applications/kdirstat/kdirstat-3.5.13.2.spec +++ /dev/null @@ -1,133 +0,0 @@ -# Default version for this component -%define tde_pkg kdirstat -%define tde_version 3.5.13.2 - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tde_pkg} -Summary: graphical disk usage display with cleanup facilities [Trinity] -Version: 2.4.4 -Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-arts-devel >= 1:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: gettext - - -%description -KDirStat (TDE Directory Statistics) is a small utility program that sums -up disk usage for directory trees, very much like the Unix 'du' command. -It displays the disk space used up by a directory tree, both numerically -and graphically. It is network transparent (i.e., you can use it to sum -up FTP servers), and comes with predefined and user configurable cleanup -actions. You can directly open a directory branch in Konqueror or the -shell of your choice, compress it to a .tar.bz2 archive, or define your -own cleanup actions. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --enable-final \ - --enable-closure \ - --enable-rpath - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{tde_pkg} - - -%clean -%__rm -rf %{buildroot} - - -%post -for f in hicolor locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - -%postun -for f in hicolor locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%{tde_bindir}/kdirstat -%{tde_datadir}/applnk/Utilities/kdirstat.desktop -%{tde_datadir}/apps/kconf_update/fix_move_to_trash_bin.pl -%{tde_datadir}/apps/kconf_update/kdirstat.upd -%{tde_datadir}/apps/kdirstat/ -%{tde_tdedocdir}/HTML/en/kdirstat/ -%{tde_datadir}/icons/hicolor/*/apps/kdirstat.png -%{tde_datadir}/icons/locolor/*/apps/kdirstat.png - - -%changelog diff --git a/redhat/applications/kdirstat/kdirstat-3.5.13.spec b/redhat/applications/kdirstat/kdirstat-3.5.13.spec deleted file mode 100644 index 843e486b8..000000000 --- a/redhat/applications/kdirstat/kdirstat-3.5.13.spec +++ /dev/null @@ -1,139 +0,0 @@ -# Default version for this component -%define kdecomp kdirstat - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: graphical disk usage display with cleanup facilities [Trinity] -Version: 2.4.4 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-kdelibs-devel -BuildRequires: trinity-kdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -KDirStat (KDE Directory Statistics) is a small utility program that sums -up disk usage for directory trees, very much like the Unix 'du' command. -It displays the disk space used up by a directory tree, both numerically -and graphically. It is network transparent (i.e., you can use it to sum -up FTP servers), and comes with predefined and user configurable cleanup -actions. You can directly open a directory branch in Konqueror or the -shell of your choice, compress it to a .tar.bz2 archive, or define your -own cleanup actions. - - -%prep -%setup -q -n applications/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir} - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%find_lang %{kdecomp} - - - -%clean -%__rm -rf %{buildroot} - - -%post -for f in hicolor locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - -%postun -for f in hicolor locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/kdirstat -%{tde_datadir}/applnk/Utilities/kdirstat.desktop -%{tde_datadir}/apps/kconf_update/fix_move_to_trash_bin.pl -%{tde_datadir}/apps/kconf_update/kdirstat.upd -%{tde_datadir}/apps/kdirstat/ -%{tde_tdedocdir}/HTML/en/kdirstat/ -%{tde_datadir}/icons/hicolor/*/apps/kdirstat.png -%{tde_datadir}/icons/locolor/*/apps/kdirstat.png - - -%Changelog -* Tue May 01 2012 Francois Andriot - 2.4.4-2 -- Rebuilt for Fedora 17 -- Fix post and postun - -* Wed Nov 30 2011 Francois Andriot - 2.4.4-1 -- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/keep/keep-3.5.13.1.spec b/redhat/applications/keep/keep-3.5.13.1.spec deleted file mode 100644 index be0abbb80..000000000 --- a/redhat/applications/keep/keep-3.5.13.1.spec +++ /dev/null @@ -1,139 +0,0 @@ -# Default version for this component -%define kdecomp keep - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: backup system for KDE [Trinity] -Version: 0.4.0 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -Requires: rdiff-backup - -%description -Keep is an automatic backup program that allows users to set the parameters of -the backup, including the frequency and the number of backups. - -Homepage: http://jr.falleri.free.fr/keep - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/keep -%{tde_tdelibdir}/kded_keep.la -%{tde_tdelibdir}/kded_keep.so -%{tde_tdeappdir}/keep.desktop -%{tde_datadir}/icons/hicolor/scalable/apps/keep.svgz -%{tde_datadir}/apps/keep/ -%{tde_datadir}/config.kcfg/keepsettings.kcfg -%{tde_datadir}/icons/hicolor/*/apps/keep.png -%{tde_datadir}/services/kded/keep.desktop - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.4.0-3 -- Initial release for TDE 3.5.13.1 - -* Tue May 01 2012 Francois Andriot - 0.4.0-2 -- Rebuilt for Fedora 17 - -* Thu Nov 24 2011 Francois Andriot - 0.4.0-1 -- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/keep/keep-3.5.13.2.spec b/redhat/applications/keep/keep-3.5.13.2.spec deleted file mode 100644 index 7dba42000..000000000 --- a/redhat/applications/keep/keep-3.5.13.2.spec +++ /dev/null @@ -1,128 +0,0 @@ -# Default version for this component -%define tde_pkg keep -%define tde_version 3.5.13.2 - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tde_pkg} -Summary: backup system for TDE [Trinity] -Version: 0.4.0 -Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-arts-devel >= 1:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: gettext - -Requires: rdiff-backup - -%description -Keep is an automatic backup program that allows users to set the parameters of -the backup, including the frequency and the number of backups. - -Homepage: http://jr.falleri.free.fr/keep - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --enable-final \ - --enable-closure \ - --enable-rpath - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{tde_pkg} - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%{tde_bindir}/keep -%{tde_tdelibdir}/kded_keep.la -%{tde_tdelibdir}/kded_keep.so -%{tde_tdeappdir}/keep.desktop -%{tde_datadir}/icons/hicolor/scalable/apps/keep.svgz -%{tde_datadir}/apps/keep/ -%{tde_datadir}/config.kcfg/keepsettings.kcfg -%{tde_datadir}/icons/hicolor/*/apps/keep.png -%{tde_datadir}/services/kded/keep.desktop - - -%changelog diff --git a/redhat/applications/keep/keep-3.5.13.spec b/redhat/applications/keep/keep-3.5.13.spec deleted file mode 100644 index 3518b879e..000000000 --- a/redhat/applications/keep/keep-3.5.13.spec +++ /dev/null @@ -1,130 +0,0 @@ -# Default version for this component -%define kdecomp keep - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: backup system for KDE [Trinity] -Version: 0.4.0 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - -Requires: rdiff-backup - -%description -Keep is an automatic backup program that allows users to set the parameters of -the backup, including the frequency and the number of backups. - -Homepage: http://jr.falleri.free.fr/keep - - -%prep -%setup -q -n applications/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/keep -%{tde_tdelibdir}/kded_keep.la -%{tde_tdelibdir}/kded_keep.so -%{tde_tdeappdir}/keep.desktop -%{tde_datadir}/icons/hicolor/scalable/apps/keep.svgz -%{tde_datadir}/apps/keep/ -%{tde_datadir}/config.kcfg/keepsettings.kcfg -%{tde_datadir}/icons/hicolor/*/apps/keep.png -%{tde_datadir}/services/kded/keep.desktop - - -%Changelog -* Tue May 01 2012 Francois Andriot - 0.4.0-2 -- Rebuilt for Fedora 17 - -* Thu Nov 24 2011 Francois Andriot - 0.4.0-1 -- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kerry/kerry-3.5.13-missing_ldflags.patch b/redhat/applications/kerry/kerry-3.5.13-missing_ldflags.patch deleted file mode 100644 index a4ba56b6e..000000000 --- a/redhat/applications/kerry/kerry-3.5.13-missing_ldflags.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- kerry/kerry/src/Makefile.am.ORI 2012-08-05 16:28:11.459614735 +0200 -+++ kerry/kerry/src/Makefile.am 2012-08-05 16:28:35.195085921 +0200 -@@ -28,7 +28,7 @@ - dcopinterface.skel dcopinterface.stub kerrylabel.cpp query.cpp - - kerry_la_LDFLAGS = -Wl,-export-dynamic $(KDE_RPATH) $(all_libraries) -module $(KDE_PLUGIN) $(GLIB_LDFLAGS) $(LIBBEAGLE_LDFLAGS) $(LIB_QT) --kerry_la_LIBADD = -lkio -lkonq $(LIB_KDEUI) $(LIBBEAGLE_LIBADD) $(GLIB_LIBADD) $(LIB_KABC) -+kerry_la_LIBADD = -lkio -lkonq $(LIB_KDEUI) $(LIBBEAGLE_LIBADD) $(GLIB_LIBADD) $(LIB_KABC) -lDCOP $(LIB_QT) $(LIB_KDECORE) - - autostartdir = $(datadir)/autostart - autostart_DATA = kerry.autostart.desktop beagled.desktop ---- kerry/kerry/src/kcm/Makefile.am.ORI 2012-08-06 10:28:54.410310191 -0400 -+++ kerry/kerry/src/kcm/Makefile.am 2012-08-06 10:29:27.804685127 -0400 -@@ -9,7 +9,7 @@ - select_privacy_resource.ui - - kcm_beagle_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined --kcm_beagle_la_LIBADD = $(LIB_KDEUI) $(LIB_KIO) $(LIBBEAGLE_LIBADD) -+kcm_beagle_la_LIBADD = $(LIB_KDEUI) $(LIB_KIO) $(LIBBEAGLE_LIBADD) $(LIB_QT) $(LIB_KDECORE) -lDCOP - - xdg_apps_DATA = kcmbeagle.desktop - diff --git a/redhat/applications/kerry/kerry-3.5.13.1.spec b/redhat/applications/kerry/kerry-3.5.13.1.spec deleted file mode 100644 index c1fbec722..000000000 --- a/redhat/applications/kerry/kerry-3.5.13.1.spec +++ /dev/null @@ -1,148 +0,0 @@ -# Default version for this component -%define kdecomp kerry - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: a KDE frontend for the Beagle desktop search daemon [Trinity] -Version: 0.2.1 -Release: 2%{?dist} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://en.opensuse.org/Kerry - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz -Source1: kerry.1.docbook - - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext -BuildRequires: libbeagle-devel >= 0.3.0 - - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: docbook2x -%else -BuildRequires: docbook2X -%endif - -%description -Kerry is a Trinity frontend for the Beagle desktop search daemon. - -A program for indexing and searching user's data. At the moment, it can index -filesystems, chat logs, mail and data, RSS and other. - - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir} - -%__make %{?_smp_mflags} - - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -#%__install -D -m 644 %{SOURCE1} %{buildroot}%{_mandir}/man1/kerry.1.docbook -#docbook2man %{buildroot}%{_mandir}/man1/kerry.1.docbook - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -/sbin/ldconfig || : -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - -%postun -/sbin/ldconfig || : -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_datadir}/locale/*/LC_MESSAGES/kcmbeagle.mo -%{tde_bindir}/beagled-shutdown -%{tde_bindir}/kerry -%{tde_libdir}/libkdeinit_kerry.la -%{tde_libdir}/libkdeinit_kerry.so -%{tde_tdelibdir}/kcm_beagle.la -%{tde_tdelibdir}/kcm_beagle.so -%{tde_tdelibdir}/kerry.la -%{tde_tdelibdir}/kerry.so -%{tde_tdeappdir}/kcmbeagle.desktop -%{tde_tdeappdir}/kerry.desktop -%{tde_datadir}/applnk/.hidden/kcmkerry.desktop -%{tde_datadir}/apps/kerry/search-running.mng -%{tde_datadir}/autostart/beagled.desktop -%{tde_datadir}/autostart/kerry.autostart.desktop -%{tde_datadir}/icons/hicolor/*/*/* - - -%changelog diff --git a/redhat/applications/kerry/kerry-3.5.13.2.spec b/redhat/applications/kerry/kerry-3.5.13.2.spec deleted file mode 100644 index eb48b72c8..000000000 --- a/redhat/applications/kerry/kerry-3.5.13.2.spec +++ /dev/null @@ -1,148 +0,0 @@ -# Default version for this component -%define tdecomp kerry - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tdecomp} -Summary: a KDE frontend for the Beagle desktop search daemon [Trinity] -Version: 0.2.1 -Release: 3%{?dist} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://en.opensuse.org/Kerry - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz -Source1: kerry.1.docbook - - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils -BuildRequires: gettext -BuildRequires: libbeagle-devel >= 0.3.0 - - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: docbook2x -%else -BuildRequires: docbook2X -%endif - -%description -Kerry is a Trinity frontend for the Beagle desktop search daemon. - -A program for indexing and searching user's data. At the moment, it can index -filesystems, chat logs, mail and data, RSS and other. - - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir} - -%__make %{?_smp_mflags} - - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -#%__install -D -m 644 %{SOURCE1} %{buildroot}%{_mandir}/man1/kerry.1.docbook -#docbook2man %{buildroot}%{_mandir}/man1/kerry.1.docbook - -%find_lang %{tdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -/sbin/ldconfig || : -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - -%postun -/sbin/ldconfig || : -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - - -%files -f %{tdecomp}.lang -%defattr(-,root,root,-) -%{tde_datadir}/locale/*/LC_MESSAGES/kcmbeagle.mo -%{tde_bindir}/beagled-shutdown -%{tde_bindir}/kerry -%{tde_libdir}/libkdeinit_kerry.la -%{tde_libdir}/libkdeinit_kerry.so -%{tde_tdelibdir}/kcm_beagle.la -%{tde_tdelibdir}/kcm_beagle.so -%{tde_tdelibdir}/kerry.la -%{tde_tdelibdir}/kerry.so -%{tde_tdeappdir}/kcmbeagle.desktop -%{tde_tdeappdir}/kerry.desktop -%{tde_datadir}/applnk/.hidden/kcmkerry.desktop -%{tde_datadir}/apps/kerry/search-running.mng -%{tde_datadir}/autostart/beagled.desktop -%{tde_datadir}/autostart/kerry.autostart.desktop -%{tde_datadir}/icons/hicolor/*/*/* - - -%changelog diff --git a/redhat/applications/kerry/kerry-3.5.13.spec b/redhat/applications/kerry/kerry-3.5.13.spec deleted file mode 100644 index ead20877c..000000000 --- a/redhat/applications/kerry/kerry-3.5.13.spec +++ /dev/null @@ -1,146 +0,0 @@ -# Default version for this component -%define kdecomp kerry - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: a KDE frontend for the Beagle desktop search daemon [Trinity] -Version: 0.2.1 -Release: 1%{?dist} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://en.opensuse.org/Kerry - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz -Source1: kerry.1.docbook - -# [kerry] Missing LDFLAGS cause FTBFS on Mageia and Mandriva -Patch1: kerry-3.5.13-missing_ldflags.patch - - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext -BuildRequires: libbeagle-devel >= 0.3.0 - - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: docbook2x -%else -BuildRequires: docbook2X -%endif - -%description -Kerry is a Trinity frontend for the Beagle desktop search daemon. - -A program for indexing and searching user's data. At the moment, it can index -filesystems, chat logs, mail and data, RSS and other. - - - -%prep -%setup -q -n applications/%{kdecomp} -%patch1 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir} - -%__make %{?_smp_mflags} - - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -#%__install -D -m 644 %{SOURCE1} %{buildroot}%{_mandir}/man1/kerry.1.docbook -#docbook2man %{buildroot}%{_mandir}/man1/kerry.1.docbook - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -/sbin/ldconfig || : -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - -%postun -/sbin/ldconfig || : -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_datadir}/locale/*/LC_MESSAGES/kcmbeagle.mo -%{tde_bindir}/beagled-shutdown -%{tde_bindir}/kerry -%{tde_libdir}/libkdeinit_kerry.la -%{tde_libdir}/libkdeinit_kerry.so -%{tde_tdelibdir}/kcm_beagle.la -%{tde_tdelibdir}/kcm_beagle.so -%{tde_tdelibdir}/kerry.la -%{tde_tdelibdir}/kerry.so -%{tde_tdeappdir}/kcmbeagle.desktop -%{tde_tdeappdir}/kerry.desktop -%{tde_datadir}/applnk/.hidden/kcmkerry.desktop -%{tde_datadir}/apps/kerry/search-running.mng -%{tde_datadir}/autostart/beagled.desktop -%{tde_datadir}/autostart/kerry.autostart.desktop -%{tde_datadir}/icons/hicolor/*/*/* - - -%changelog diff --git a/redhat/applications/kgtk-qt3/kgtk-qt3-3.5.13-fix_libsuffix.patch b/redhat/applications/kgtk-qt3/kgtk-qt3-3.5.13-fix_libsuffix.patch deleted file mode 100644 index a8deaa551..000000000 --- a/redhat/applications/kgtk-qt3/kgtk-qt3-3.5.13-fix_libsuffix.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- kgtk-qt3/qt3/kqt3-wrapper.cmake.ORI 2012-08-08 22:30:14.598900960 +0200 -+++ kgtk-qt3/qt3/kqt3-wrapper.cmake 2012-08-08 22:30:39.661367613 +0200 -@@ -15,7 +15,7 @@ - app=`basename $0` - - if [ "$app" = "kqt3-wrapper" ] ; then -- LD_PRELOAD=@CMAKE_INSTALL_PREFIX@/lib/kgtk/libkqt3.so:$LD_PRELOAD "$@" -+ LD_PRELOAD=@CMAKE_INSTALL_PREFIX@/lib@LIB_SUFFIX@/kgtk/libkqt3.so:$LD_PRELOAD "$@" - else - dir=`dirname $0` - oldPath=$PATH ---- kgtk-qt3/gtk2/kgtk2-wrapper.cmake.ORI 2012-08-08 22:31:30.684286835 +0200 -+++ kgtk-qt3/gtk2/kgtk2-wrapper.cmake 2012-08-08 22:32:10.294452119 +0200 -@@ -19,7 +19,7 @@ - app=`basename $0` - - if [ "$app" = "kgtk2-wrapper" ] ; then -- LD_PRELOAD=@CMAKE_INSTALL_PREFIX@/lib/kgtk/libkgtk2.so:libnspr4.so:$LD_PRELOAD "$@" -+ LD_PRELOAD=@CMAKE_INSTALL_PREFIX@/lib@LIB_SUFFIX@/kgtk/libkgtk2.so:libnspr4.so:$LD_PRELOAD "$@" - else - dir=`dirname $0` - oldPath=$PATH diff --git a/redhat/applications/kgtk-qt3/kgtk-qt3-3.5.13.1.spec b/redhat/applications/kgtk-qt3/kgtk-qt3-3.5.13.1.spec deleted file mode 100644 index a0b4ae4bd..000000000 --- a/redhat/applications/kgtk-qt3/kgtk-qt3-3.5.13.1.spec +++ /dev/null @@ -1,145 +0,0 @@ -# Default version for this component -%define kdecomp kgtk-qt3 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Use KDE dialogs in Gtk apps -Version: 0.10.2 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -This is an LD_PRELOAD hack that allows most GTK -applications to use Trinity's file dialogs when run under Trinity. - -The Gtk file chooser functions have been overridden to communicate -with this KDE module/application. - -This package includes the kqt3-wrapper - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -find . -name CMakeLists.txt -exec sed -i {} \ - -e "s,/usr/include/tqt,%{tde_includedir}/tqt,g" \ - -e "s,/usr/bin/tmoc,%{tde_bindir}/tmoc,g" \ - -e "s,/usr/bin/uic-tqt,%{tde_bindir}/uic-tqt,g" \ - \; - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir} -L${QTLIB} -lX11" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -export CMAKE_INCLUDE_PATH="%{tde_tdeincludedir}" - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - - -%cmake \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ - -DBUILD_ALL=ON \ - .. - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -# The "preload" file is used by "startkde" script -%__install -d -m 755 "%{buildroot}%{tde_datadir}/kgtk" -echo "%{tde_libdir}/kgtk/libkgtk2.so" >"%{buildroot}%{tde_datadir}/kgtk/preload" - -%find_lang kgtk - - - -%clean -%__rm -rf %{buildroot} - - -%files -f kgtk.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING README TODO -%{tde_bindir}/kdialogd-wrapper -%{tde_bindir}/kdialogd3 -%{tde_bindir}/kgtk-wrapper -%{tde_bindir}/kgtk2-wrapper -%{tde_bindir}/kqt3-wrapper -%{tde_libdir}/kgtk/libkgtk2.so -%{tde_libdir}/kgtk/libkqt3.so -%{tde_datadir}/kgtk/preload - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.10.2-4 -- Initial release for TDE 3.5.13.1 - -* Sun Aug 26 2012 Francois Andriot - 0.10.2-3 -- Add 'preload' file for startkde script - -* Tue May 01 2012 Francois Andriot - 0.10.2-2 -- Rebuilt for Fedora 17 -- Removes post and postun - -* Thu Dec 01 2011 Francois Andriot - 0.10.2-1 -- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kgtk-qt3/kgtk-qt3-3.5.13.2.spec b/redhat/applications/kgtk-qt3/kgtk-qt3-3.5.13.2.spec deleted file mode 100644 index 6bde2ebd1..000000000 --- a/redhat/applications/kgtk-qt3/kgtk-qt3-3.5.13.2.spec +++ /dev/null @@ -1,126 +0,0 @@ -# Default version for this component -%define tde_pkg kgtk-qt3 -%define tde_version 3.5.13.2 - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tde_pkg} -Summary: Use TDE dialogs in Gtk apps -Version: 0.10.2 -Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-arts-devel >= 1:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: gettext - - -%description -This is an LD_PRELOAD hack that allows most GTK -applications to use Trinity's file dialogs when run under Trinity. - -The Gtk file chooser functions have been overridden to communicate -with this TDE module/application. - -This package includes the kqt3-wrapper - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - \ - -DBUILD_ALL=ON \ - .. - -# SMP safe ! -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -# The "preload" file is used by "startkde" script -%__install -d -m 755 "%{buildroot}%{tde_datadir}/kgtk" -echo "%{tde_libdir}/kgtk/libkgtk2.so" >"%{buildroot}%{tde_datadir}/kgtk/preload" - -%find_lang kgtk - - - -%clean -%__rm -rf %{buildroot} - - -%files -f kgtk.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING README TODO -%{tde_bindir}/kdialogd-wrapper -%{tde_bindir}/kdialogd3 -%{tde_bindir}/kgtk-wrapper -%{tde_bindir}/kgtk2-wrapper -%{tde_bindir}/kqt3-wrapper -%{tde_libdir}/kgtk/libkgtk2.so -%{tde_libdir}/kgtk/libkqt3.so -%{tde_datadir}/kgtk/preload - -%changelog diff --git a/redhat/applications/kgtk-qt3/kgtk-qt3-3.5.13.spec b/redhat/applications/kgtk-qt3/kgtk-qt3-3.5.13.spec deleted file mode 100644 index c15f8b933..000000000 --- a/redhat/applications/kgtk-qt3/kgtk-qt3-3.5.13.spec +++ /dev/null @@ -1,138 +0,0 @@ -# Default version for this component -%define kdecomp kgtk-qt3 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Use KDE dialogs in Gtk apps -Version: 0.10.2 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -# [kgtk-qt-engine] Fix libsuffix for 64 bits machines -Patch1: kgtk-qt3-3.5.13-fix_libsuffix.patch - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -This is an LD_PRELOAD hack that allows most GTK -applications to use Trinity's file dialogs when run under Trinity. - -The Gtk file chooser functions have been overridden to communicate -with this KDE module/application. - -This package includes the kqt3-wrapper - - -%prep -%setup -q -n applications/%{kdecomp} -%patch1 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -find . -name CMakeLists.txt -exec sed -i {} \ - -e "s,/usr/include/tqt,%{tde_includedir}/tqt,g" \ - -e "s,/usr/bin/tmoc,%{tde_bindir}/tmoc,g" \ - -e "s,/usr/bin/uic-tqt,%{tde_bindir}/uic-tqt,g" \ - \; - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir} -L${QTLIB} -lX11" - -%if 0%{?rhel} || 0%{?fedora} -%__mkdir_p build -cd build -%endif - -export CMAKE_INCLUDE_PATH="%{tde_tdeincludedir}" - -%cmake \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ - .. - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -# The "preload" file is used by "startkde" script -%__install -d -m 755 "%{buildroot}%{tde_datadir}/kgtk" -echo "%{tde_libdir}/kgtk/libkgtk2.so" >"%{buildroot}%{tde_datadir}/kgtk/preload" - -%find_lang kdialogd3 - - - -%clean -%__rm -rf %{buildroot} - - -%files -f kdialogd3.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING README TODO -%{tde_bindir}/kdialogd-wrapper -%{tde_bindir}/kdialogd3 -%{tde_bindir}/kgtk-wrapper -%{tde_bindir}/kgtk2-wrapper -%{tde_bindir}/kqt3-wrapper -%{tde_libdir}/kgtk/libkgtk2.so -%{tde_libdir}/kgtk/libkqt3.so -%{tde_datadir}/kgtk/preload - -%Changelog -* Sun Aug 26 2012 Francois Andriot - 0.10.2-3 -- Add 'preload' file for startkde script - -* Tue May 01 2012 Francois Andriot - 0.10.2-2 -- Rebuilt for Fedora 17 -- Removes post and postun - -* Thu Dec 01 2011 Francois Andriot - 0.10.2-1 -- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kile/kile-3.5.13.1.spec b/redhat/applications/kile/kile-3.5.13.1.spec deleted file mode 100644 index 039e3afd2..000000000 --- a/redhat/applications/kile/kile-3.5.13.1.spec +++ /dev/null @@ -1,210 +0,0 @@ -# Default version for this component -%define kdecomp kile - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: KDE Integrated LaTeX Environment [Trinity] -Version: 2.0.2 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Publishing - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -Obsoletes: %{name}-i18n-ar -Obsoletes: %{name}-i18n-bg -Obsoletes: %{name}-i18n-br -Obsoletes: %{name}-i18n-ca -Obsoletes: %{name}-i18n-cs -Obsoletes: %{name}-i18n-cy -Obsoletes: %{name}-i18n-da -Obsoletes: %{name}-i18n-de -Obsoletes: %{name}-i18n-el -Obsoletes: %{name}-i18n-engb -Obsoletes: %{name}-i18n-es -Obsoletes: %{name}-i18n-et -Obsoletes: %{name}-i18n-eu -Obsoletes: %{name}-i18n-fi -Obsoletes: %{name}-i18n-fr -Obsoletes: %{name}-i18n-ga -Obsoletes: %{name}-i18n-gl -Obsoletes: %{name}-i18n-hi -Obsoletes: %{name}-i18n-hu -Obsoletes: %{name}-i18n-is -Obsoletes: %{name}-i18n-it -Obsoletes: %{name}-i18n-ja -Obsoletes: %{name}-i18n-lt -Obsoletes: %{name}-i18n-ms -Obsoletes: %{name}-i18n-mt -Obsoletes: %{name}-i18n-nb -Obsoletes: %{name}-i18n-nds -Obsoletes: %{name}-i18n-nl -Obsoletes: %{name}-i18n-nn -Obsoletes: %{name}-i18n-pa -Obsoletes: %{name}-i18n-pl -Obsoletes: %{name}-i18n-pt -Obsoletes: %{name}-i18n-ptbr -Obsoletes: %{name}-i18n-ro -Obsoletes: %{name}-i18n-ru -Obsoletes: %{name}-i18n-rw -Obsoletes: %{name}-i18n-sk -Obsoletes: %{name}-i18n-sr -Obsoletes: %{name}-i18n-srlatin -Obsoletes: %{name}-i18n-sv -Obsoletes: %{name}-i18n-ta -Obsoletes: %{name}-i18n-th -Obsoletes: %{name}-i18n-tr -Obsoletes: %{name}-i18n-uk -Obsoletes: %{name}-i18n-zhcn - - -%description -Kile is a user-friendly LaTeX source editor and TeX shell for TDE. - -The source editor is a multi-document editor designed for .tex and .bib -files. Menus, wizards and auto-completion are provided to assist with -tag insertion and code generation. A structural view of the document -assists with navigation within source files. - -The TeX shell integrates the various tools required for TeX processing. -It assists with LaTeX compilation, DVI and postscript document viewing, -generation of bibliographies and indices and other common tasks. - -Kile can support large projects consisting of several smaller files. - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%__chmod +x %{buildroot}%{tde_datadir}/apps/kile/test/runTests.sh - -# Unwanted files ... -%__rm -f %{?buildroot}%{tde_datadir}/apps/katepart/syntax/bibtex.xml -%__rm -f %{?buildroot}%{tde_datadir}/apps/katepart/syntax/latex.xml - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/kile -%{tde_tdeappdir}/kile.desktop -%{tde_datadir}/apps/kconf_update -%{tde_datadir}/apps/kile -%{tde_datadir}/config.kcfg/kile.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kile.png -%{tde_datadir}/icons/hicolor/scalable/apps/kile.svgz -%{tde_tdedocdir}/HTML/en/kile -%{tde_datadir}/mimelnk/text/x-kilepr.desktop - -%lang(da) %{tde_tdedocdir}/HTML/da/kile/ -%lang(es) %{tde_tdedocdir}/HTML/es/kile/ -%lang(et) %{tde_tdedocdir}/HTML/et/kile/ -%lang(it) %{tde_tdedocdir}/HTML/it/kile/ -%lang(nl) %{tde_tdedocdir}/HTML/nl/kile/ -%lang(pt) %{tde_tdedocdir}/HTML/pt/kile/ -%lang(sv) %{tde_tdedocdir}/HTML/sv/kile/ - - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 2.0.2-4 -- Initial release for TDE 3.5.13.1 - -* Tue May 01 2012 Francois Andriot - 2.0.2-3 -- Rebuilt for Fedora 17 -- Removes the XPM icon - -* Fri Apr 20 2012 Francois Andriot - 2.0.2-2 -- Fix file conflict with trinity-kdelibs - -* Fri Nov 25 2011 Francois Andriot - 2.0.2-1 -- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kile/kile-3.5.13.2.spec b/redhat/applications/kile/kile-3.5.13.2.spec deleted file mode 100644 index 9967337e3..000000000 --- a/redhat/applications/kile/kile-3.5.13.2.spec +++ /dev/null @@ -1,194 +0,0 @@ -# Default version for this component -%define tde_pkg kile -%define tde_version 3.5.13.2 - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tde_pkg} -Summary: TDE Integrated LaTeX Environment [Trinity] -Version: 2.0.2 -Release: %{?!preversion:7}%{?preversion:6_%{preversion}}%{?dist} - -License: GPLv2+ -Group: Applications/Publishing - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-arts-devel >= 1:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: gettext - -Obsoletes: %{name}-i18n-ar -Obsoletes: %{name}-i18n-bg -Obsoletes: %{name}-i18n-br -Obsoletes: %{name}-i18n-ca -Obsoletes: %{name}-i18n-cs -Obsoletes: %{name}-i18n-cy -Obsoletes: %{name}-i18n-da -Obsoletes: %{name}-i18n-de -Obsoletes: %{name}-i18n-el -Obsoletes: %{name}-i18n-engb -Obsoletes: %{name}-i18n-es -Obsoletes: %{name}-i18n-et -Obsoletes: %{name}-i18n-eu -Obsoletes: %{name}-i18n-fi -Obsoletes: %{name}-i18n-fr -Obsoletes: %{name}-i18n-ga -Obsoletes: %{name}-i18n-gl -Obsoletes: %{name}-i18n-hi -Obsoletes: %{name}-i18n-hu -Obsoletes: %{name}-i18n-is -Obsoletes: %{name}-i18n-it -Obsoletes: %{name}-i18n-ja -Obsoletes: %{name}-i18n-lt -Obsoletes: %{name}-i18n-ms -Obsoletes: %{name}-i18n-mt -Obsoletes: %{name}-i18n-nb -Obsoletes: %{name}-i18n-nds -Obsoletes: %{name}-i18n-nl -Obsoletes: %{name}-i18n-nn -Obsoletes: %{name}-i18n-pa -Obsoletes: %{name}-i18n-pl -Obsoletes: %{name}-i18n-pt -Obsoletes: %{name}-i18n-ptbr -Obsoletes: %{name}-i18n-ro -Obsoletes: %{name}-i18n-ru -Obsoletes: %{name}-i18n-rw -Obsoletes: %{name}-i18n-sk -Obsoletes: %{name}-i18n-sr -Obsoletes: %{name}-i18n-srlatin -Obsoletes: %{name}-i18n-sv -Obsoletes: %{name}-i18n-ta -Obsoletes: %{name}-i18n-th -Obsoletes: %{name}-i18n-tr -Obsoletes: %{name}-i18n-uk -Obsoletes: %{name}-i18n-zhcn - - -%description -Kile is a user-friendly LaTeX source editor and TeX shell for TDE. - -The source editor is a multi-document editor designed for .tex and .bib -files. Menus, wizards and auto-completion are provided to assist with -tag insertion and code generation. A structural view of the document -assists with navigation within source files. - -The TeX shell integrates the various tools required for TeX processing. -It assists with LaTeX compilation, DVI and postscript document viewing, -generation of bibliographies and indices and other common tasks. - -Kile can support large projects consisting of several smaller files. - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --enable-final \ - --enable-closure \ - --enable-rpath - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%__chmod +x %{buildroot}%{tde_datadir}/apps/kile/test/runTests.sh - -# Unwanted files ... -%__rm -f %{?buildroot}%{tde_datadir}/apps/katepart/syntax/bibtex.xml -%__rm -f %{?buildroot}%{tde_datadir}/apps/katepart/syntax/latex.xml - -%find_lang %{tde_pkg} - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%{tde_bindir}/kile -%{tde_tdeappdir}/kile.desktop -%{tde_datadir}/apps/kconf_update -%{tde_datadir}/apps/kile -%{tde_datadir}/config.kcfg/kile.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kile.png -%{tde_datadir}/icons/hicolor/scalable/apps/kile.svgz -%{tde_tdedocdir}/HTML/en/kile -%{tde_datadir}/mimelnk/text/x-kilepr.desktop - -%lang(da) %{tde_tdedocdir}/HTML/da/kile/ -%lang(es) %{tde_tdedocdir}/HTML/es/kile/ -%lang(et) %{tde_tdedocdir}/HTML/et/kile/ -%lang(it) %{tde_tdedocdir}/HTML/it/kile/ -%lang(nl) %{tde_tdedocdir}/HTML/nl/kile/ -%lang(pt) %{tde_tdedocdir}/HTML/pt/kile/ -%lang(sv) %{tde_tdedocdir}/HTML/sv/kile/ - - - -%changelog diff --git a/redhat/applications/kile/kile-3.5.13.spec b/redhat/applications/kile/kile-3.5.13.spec deleted file mode 100644 index c67f253fd..000000000 --- a/redhat/applications/kile/kile-3.5.13.spec +++ /dev/null @@ -1,648 +0,0 @@ -# Default version for this component -%define kdecomp kile - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: KDE Integrated LaTeX Environment [Trinity] -Version: 2.0.2 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Publishing - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - -%package i18n-ar -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Arabic (ar) translations for Kile [Trinity] -%description i18n-ar -This package contains the Arabic translations for Kile. - -%package i18n-bg -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Bulgarian (bg) translations for Kile [Trinity] -%description i18n-bg -This package contains the Bulgarian translations for Kile. - -%package i18n-br -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Brazilian (br) translations for Kile [Trinity] -%description i18n-br -This package contains the Brazilian translations for Kile. - -%package i18n-ca -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Catalan (ca) translations for Kile [Trinity] -%description i18n-ca -This package contains the Catalan translations for Kile. - -%package i18n-cs -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Czech (cs) translations for Kile [Trinity] -%description i18n-cs -This package contains the Czech translations for Kile. - -%package i18n-cy -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Welsh (cy) translations for Kile [Trinity] -%description i18n-cy -This package contains the Welsh translations for Kile. - -%package i18n-da -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Danish (da) translations for Kile [Trinity] -%description i18n-da -This package contains the Danish translations for Kile. - -%package i18n-de -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: German (de) translations for Kile [Trinity] -%description i18n-de -This package contains the German translations for Kile. - -%package i18n-el -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Greek (el) translations for Kile [Trinity] -%description i18n-el -This package contains the greek translations for Kile. - -%package i18n-engb -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: British English (en_GB) translations for Kile [Trinity] -%description i18n-engb -This package contains the British English (en_GB) translations for Kile [Trinity]. - -%package i18n-es -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Spanish (es) translations for Kile [Trinity] -%description i18n-es -This package contains the Spanish translations for Kile. - -%package i18n-et -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Estonian (et) translations for Kile [Trinity] -%description i18n-et -This package contains the Estonian translations for Kile. - -%package i18n-eu -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Basque (eu) translations for Kile [Trinity] -%description i18n-eu -This package contains the Basque translations for Kile. - -%package i18n-fi -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Finnish (fi) translations for Kile [Trinity] -%description i18n-fi -This package contains the Finnish translations for Kile. - -%package i18n-fr -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: French (fr) translations for Kile [Trinity] -%description i18n-fr -This package contains the French translations for Kile. - -%package i18n-ga -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Irish Gaelic (ga) translations for Kile [Trinity] -%description i18n-ga -This package contains the Irish Gaelic translations for Kile. - -%package i18n-gl -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Galician (gl) translations for Kile [Trinity] -%description i18n-gl -This package contains the Galician translations for Kile. - -%package i18n-hi -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Hindi (hi) translations for Kile [Trinity] -%description i18n-hi -This package contains the Hindi translations for Kile. - -%package i18n-hu -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Hungarian (hu) translations for Kile [Trinity] -%description i18n-hu -This package contains the Hungarian translations for Kile. - -%package i18n-is -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Icelandic (is) translations for Kile [Trinity] -%description i18n-is -This package contains the Icelandic translations for Kile. - -%package i18n-it -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Italian (it) translations for Kile [Trinity] -%description i18n-it -This package contains the Italian translations for Kile. - -%package i18n-ja -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Japanese (ja) translations for Kile [Trinity] -%description i18n-ja -This package contains the Japanese translations for Kile. - -%package i18n-lt -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Lithuanian (lt) translations for Kile [Trinity] -%description i18n-lt -This package contains the Lithuanian translations for Kile. - -%package i18n-ms -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Malay (ms) translations for Kile [Trinity] -%description i18n-ms -This package contains the Malay translations for Kile. - -%package i18n-mt -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Maltese (mt) translations for Kile [Trinity] -%description i18n-mt -This package contains the Maltese translations for Kile. - -%package i18n-nb -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Norwegian Bookmal (nb) translations for Kile [Trinity] -%description i18n-nb -This package contains the Norwegian Bookmal translations for Kile. - -%package i18n-nds -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Low Saxon (nds) translations for Kile [Trinity] -%description i18n-nds -This package contains the Low Saxon translations for Kile. - -%package i18n-nl -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Dutch (nl) translations for Kile [Trinity] -%description i18n-nl -This package contains the Dutch translations for Kile. - -%package i18n-nn -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Norwegian Nynorsk (nn) translations for Kile [Trinity] -%description i18n-nn -This package contains the Norwegian Nynorsk translations for Kile. - -%package i18n-pa -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Punjabi (pa) translations for Kile [Trinity] -%description i18n-pa -This package contains the Punjabi translations for Kile. - -%package i18n-pl -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Polish (pl) translations for Kile [Trinity] -%description i18n-pl -This package contains the Polish translations for Kile. - -%package i18n-pt -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Portuguese (pt) translations for Kile [Trinity] -%description i18n-pt -This package contains the Portuguese translations for Kile. - -%package i18n-ptbr -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Brazilian Portuguese (pt_BR) translations for Kile [Trinity] -%description i18n-ptbr -This package contains the Brazilian Portuguese translations for Kile. - -%package i18n-ro -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Romanian (ro) translations for Kile [Trinity] -%description i18n-ro -This package contains the Romanian translations for Kile. - -%package i18n-ru -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Russian (ru) translations for Kile [Trinity] -%description i18n-ru -This package contains the Russian translations for Kile. - -%package i18n-rw -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Kinyarwanda (rw) translations for Kile [Trinity] -%description i18n-rw -This package contains the Kinyarwanda translations for Kile. - -%package i18n-sk -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Slovak (sk) translations for Kile [Trinity] -%description i18n-sk -This package contains the Slovak translations for Kile. - -%package i18n-sr -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Serbian (sr) translations for Kile [Trinity] -%description i18n-sr -This package contains the Serbian translations for Kile. - -%package i18n-srlatin -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Latin Serbian (sr@Latn) translations for Kile [Trinity] -%description i18n-srlatin -This package contains the Latin Serbian translations for Kile. - -%package i18n-sv -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Swedish (sv) translations for Kile [Trinity] -%description i18n-sv -This package contains the Swedish translations for Kile. - -%package i18n-ta -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Tamil (ta) translations for Kile [Trinity] -%description i18n-ta -This package contains the Tamil translations for Kile. - -%package i18n-th -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Thai (th) translations for Kile [Trinity] -%description i18n-th -This package contains the Thai translations for Kile. - -%package i18n-tr -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Turkish (tr) translations for Kile [Trinity] -%description i18n-tr -This package contains the Turkish translations for Kile. - -%package i18n-uk -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Ukrainian (uk) translations for Kile [Trinity] -%description i18n-uk -This package contains the Ukrainian translations for Kile. - -%package i18n-zhcn -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Chinese Simplified (zh_CN) translations for Kile [Trinity] -%description i18n-zhcn -This package contains the Chinese Simplified translations for Kile. - - -%description -Kile is a user-friendly LaTeX source editor and TeX shell for TDE. - -The source editor is a multi-document editor designed for .tex and .bib -files. Menus, wizards and auto-completion are provided to assist with -tag insertion and code generation. A structural view of the document -assists with navigation within source files. - -The TeX shell integrates the various tools required for TeX processing. -It assists with LaTeX compilation, DVI and postscript document viewing, -generation of bibliographies and indices and other common tasks. - -Kile can support large projects consisting of several smaller files. - -%prep -%setup -q -n applications/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%__chmod +x %{buildroot}%{tde_datadir}/apps/kile/test/runTests.sh - -# Unwanted files ... -%__rm -f %{?buildroot}%{tde_datadir}/apps/katepart/syntax/bibtex.xml -%__rm -f %{?buildroot}%{tde_datadir}/apps/katepart/syntax/latex.xml - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%{tde_bindir}/kile -%{tde_tdeappdir}/kile.desktop -%{tde_datadir}/apps/kconf_update -%{tde_datadir}/apps/kile -%{tde_datadir}/config.kcfg/kile.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kile.png -%{tde_datadir}/icons/hicolor/scalable/apps/kile.svgz -%{tde_tdedocdir}/HTML/en/kile -%{tde_datadir}/mimelnk/text/x-kilepr.desktop - -%files i18n-da -%lang(da) %{tde_tdedocdir}/HTML/da/kile -%lang(da) %{tde_datadir}/locale/da/LC_MESSAGES/kile.mo - -%files i18n-es -%lang(es) %{tde_tdedocdir}/HTML/es/kile -%lang(es) %{tde_datadir}/locale/es/LC_MESSAGES/kile.mo - -%files i18n-et -%lang(et) %{tde_tdedocdir}/HTML/et/kile -%lang(et) %{tde_datadir}/locale/et/LC_MESSAGES/kile.mo - -%files i18n-it -%lang(it) %{tde_tdedocdir}/HTML/it/kile -%lang(it) %{tde_datadir}/locale/it/LC_MESSAGES/kile.mo - -%files i18n-nl -%lang(nl) %{tde_tdedocdir}/HTML/nl/kile -%lang(nl) %{tde_datadir}/locale/nl/LC_MESSAGES/kile.mo - -%files i18n-pt -%lang(pt) %{tde_tdedocdir}/HTML/pt/kile -%lang(pt) %{tde_datadir}/locale/pt/LC_MESSAGES/kile.mo - -%files i18n-sv -%lang(sv) %{tde_tdedocdir}/HTML/sv/kile -%lang(sv) %{tde_datadir}/locale/sv/LC_MESSAGES/kile.mo - -%files i18n-ar -%lang(ar) %{tde_datadir}/locale/ar/LC_MESSAGES/kile.mo - -%files i18n-bg -%lang(bg) %{tde_datadir}/locale/bg/LC_MESSAGES/kile.mo - -%files i18n-br -%lang(br) %{tde_datadir}/locale/br/LC_MESSAGES/kile.mo - -%files i18n-ca -%lang(ca) %{tde_datadir}/locale/ca/LC_MESSAGES/kile.mo - -%files i18n-cs -%lang(cs) %{tde_datadir}/locale/cs/LC_MESSAGES/kile.mo - -%files i18n-cy -%lang(cy) %{tde_datadir}/locale/cy/LC_MESSAGES/kile.mo - -%files i18n-de -%lang(de) %{tde_datadir}/locale/de/LC_MESSAGES/kile.mo - -%files i18n-el -%lang(el) %{tde_datadir}/locale/el/LC_MESSAGES/kile.mo - -%files i18n-engb -%lang(en_GB) %{tde_datadir}/locale/en_GB/LC_MESSAGES/kile.mo - -%files i18n-eu -%lang(eu) %{tde_datadir}/locale/eu/LC_MESSAGES/kile.mo - -%files i18n-fi -%lang(fi) %{tde_datadir}/locale/fi/LC_MESSAGES/kile.mo - -%files i18n-fr -%lang(fr) %{tde_datadir}/locale/fr/LC_MESSAGES/kile.mo - -%files i18n-ga -%lang(ga) %{tde_datadir}/locale/ga/LC_MESSAGES/kile.mo - -%files i18n-gl -%lang(gl) %{tde_datadir}/locale/gl/LC_MESSAGES/kile.mo - -%files i18n-hi -%lang(hi) %{tde_datadir}/locale/hi/LC_MESSAGES/kile.mo - -%files i18n-hu -%lang(hu) %{tde_datadir}/locale/hu/LC_MESSAGES/kile.mo - -%files i18n-is -%lang(is) %{tde_datadir}/locale/is/LC_MESSAGES/kile.mo - -%files i18n-ja -%lang(ja) %{tde_datadir}/locale/ja/LC_MESSAGES/kile.mo - -%files i18n-lt -%lang(lt) %{tde_datadir}/locale/lt/LC_MESSAGES/kile.mo - -%files i18n-ms -%lang(ms) %{tde_datadir}/locale/ms/LC_MESSAGES/kile.mo - -%files i18n-mt -%lang(mt) %{tde_datadir}/locale/mt/LC_MESSAGES/kile.mo - -%files i18n-nb -%lang(nb) %{tde_datadir}/locale/nb/LC_MESSAGES/kile.mo - -%files i18n-nds -%lang(nds) %{tde_datadir}/locale/nds/LC_MESSAGES/kile.mo - -%files i18n-nn -%lang(nn) %{tde_datadir}/locale/nn/LC_MESSAGES/kile.mo - -%files i18n-pa -%lang(pa) %{tde_datadir}/locale/pa/LC_MESSAGES/kile.mo - -%files i18n-pl -%lang(pl) %{tde_datadir}/locale/pl/LC_MESSAGES/kile.mo - -%files i18n-ptbr -%lang(pt_BR) %{tde_datadir}/locale/pt_BR/LC_MESSAGES/kile.mo - -%files i18n-ro -%lang(ro) %{tde_datadir}/locale/ro/LC_MESSAGES/kile.mo - -%files i18n-ru -%lang(ru) %{tde_datadir}/locale/ru/LC_MESSAGES/kile.mo - -%files i18n-rw -%lang(rw) %{tde_datadir}/locale/rw/LC_MESSAGES/kile.mo - -%files i18n-sk -%lang(sk) %{tde_datadir}/locale/sk/LC_MESSAGES/kile.mo - -%files i18n-sr -%lang(sr) %{tde_datadir}/locale/sr/LC_MESSAGES/kile.mo - -%files i18n-srlatin -%lang(sr@Latn) %{tde_datadir}/locale/sr@Latn/LC_MESSAGES/kile.mo - -%files i18n-ta -%lang(ta) %{tde_datadir}/locale/ta/LC_MESSAGES/kile.mo - -%files i18n-th -%lang(th) %{tde_datadir}/locale/th/LC_MESSAGES/kile.mo - -%files i18n-tr -%lang(tr) %{tde_datadir}/locale/tr/LC_MESSAGES/kile.mo - -%files i18n-uk -%lang(uk) %{tde_datadir}/locale/uk/LC_MESSAGES/kile.mo - -%files i18n-zhcn -%lang(zh_CN) %{tde_datadir}/locale/zh_CN/LC_MESSAGES/kile.mo - - - - -%Changelog -* Tue May 01 2012 Francois Andriot - 2.0.2-3 -- Rebuilt for Fedora 17 -- Removes the XPM icon - -* Fri Apr 20 2012 Francois Andriot - 2.0.2-2 -- Fix file conflict with trinity-kdelibs - -* Fri Nov 25 2011 Francois Andriot - 2.0.2-1 -- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kima/kima-3.5.13.1.spec b/redhat/applications/kima/kima-3.5.13.1.spec deleted file mode 100644 index adf052a06..000000000 --- a/redhat/applications/kima/kima-3.5.13.1.spec +++ /dev/null @@ -1,127 +0,0 @@ -# Default version for this component -%define kdecomp kima - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: kicker monitoring applet [Trinity] -Version: 0.7.3.2 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.elliptique.net/~ken/kima/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -This applet monitors various temperature, -frequency and fan sources in your kicker -panel. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt:%{tde_tdeincludedir} - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%find_lang %{kdecomp} - - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README TODO -%{tde_tdelibdir}/libkima.la -%{tde_tdelibdir}/libkima.so -%{tde_datadir}/apps/kicker/applets/kima.desktop -%{tde_tdedocdir}/HTML/en/kima/ - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.7.3.2-3 -- Initial release for TDE 3.5.13.1 - -* Tue May 01 2012 Francois Andriot - 0.7.3.2-2 -- Rebuilt for Fedora 17 -- Fix post and postun - -* Wed Nov 30 2011 Francois Andriot - 0.7.3.2-1 -- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kima/kima-3.5.13.2.spec b/redhat/applications/kima/kima-3.5.13.2.spec deleted file mode 100644 index aad28627b..000000000 --- a/redhat/applications/kima/kima-3.5.13.2.spec +++ /dev/null @@ -1,121 +0,0 @@ -# Default version for this component -%define tde_pkg kima -%define tde_version 3.5.13.2 - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tde_pkg} -Summary: kicker monitoring applet [Trinity] -Version: 0.7.3.2 -Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.elliptique.net/~ken/kima/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-arts-devel >= 1:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: gettext - -# HAL support -# On RHEL4, we do not use HAL (too old) -%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version} -%define with_hal 1 -BuildRequires: hal-devel >= 0.4.8 -%endif - - -%description -This applet monitors various temperature, -frequency and fan sources in your kicker -panel. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --enable-final \ - --enable-closure \ - --enable-rpath - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%find_lang %{tde_pkg} - - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README TODO -%{tde_tdelibdir}/libkima.la -%{tde_tdelibdir}/libkima.so -%{tde_datadir}/apps/kicker/applets/kima.desktop -%{tde_tdedocdir}/HTML/en/kima/ - - -%changelog diff --git a/redhat/applications/kima/kima-3.5.13.spec b/redhat/applications/kima/kima-3.5.13.spec deleted file mode 100644 index 80f5dc115..000000000 --- a/redhat/applications/kima/kima-3.5.13.spec +++ /dev/null @@ -1,118 +0,0 @@ -# Default version for this component -%define kdecomp kima - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: kicker monitoring applet [Trinity] -Version: 0.7.3.2 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.elliptique.net/~ken/kima/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -This applet monitors various temperature, -frequency and fan sources in your kicker -panel. - - -%prep -%setup -q -n applications/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt:%{tde_tdeincludedir} - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%find_lang %{kdecomp} - - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README TODO -%{tde_tdelibdir}/libkima.la -%{tde_tdelibdir}/libkima.so -%{tde_datadir}/apps/kicker/applets/kima.desktop -%{tde_tdedocdir}/HTML/en/kima/ - - -%Changelog -* Tue May 01 2012 Francois Andriot - 0.7.3.2-2 -- Rebuilt for Fedora 17 -- Fix post and postun - -* Wed Nov 30 2011 Francois Andriot - 0.7.3.2-1 -- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kiosktool/kiosktool-3.5.13.1.spec b/redhat/applications/kiosktool/kiosktool-3.5.13.1.spec deleted file mode 100644 index c95fcd01c..000000000 --- a/redhat/applications/kiosktool/kiosktool-3.5.13.1.spec +++ /dev/null @@ -1,159 +0,0 @@ -# Default version for this component -%define kdecomp kiosktool - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Version: 1.0 -Release: 3%{?dist}%{?_variant} -Summary: tool to configure the TDE kiosk framework - -License: GPLv2+ -Group: Applications/Multimedia - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - - -Source0: %{kdecomp}-3.5.13.1.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildRequires: gettext -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 - - -%description -A Point&Click tool for system administrators to enable -TDE's KIOSK features or otherwise preconfigure TDE for -groups of users. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; source /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --enable-new-ldflags \ - --disable-debug --disable-warnings \ - --disable-dependency-tracking --enable-final \ - --enable-closure \ - --with-extra-includes=%{tde_includedir}/tqt - - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf $RPM_BUILD_ROOT -%__make install DESTDIR=$RPM_BUILD_ROOT - -## File lists -# locale's -%find_lang %{kdecomp} -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then -for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - - -%clean -%__rm -rf $RPM_BUILD_ROOT - - -%post -touch --no-create %{tde_datadir}/icons/crystalsvg ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/crystalsvg 2> /dev/null ||: -update-desktop-database >& /dev/null ||: - -%postun -touch --no-create %{tde_datadir}/icons/crystalsvg ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/crystalsvg 2> /dev/null ||: -update-desktop-database >& /dev/null ||: - - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc ChangeLog COPYING README TODO -%{tde_bindir}/kiosktool -%{tde_bindir}/kiosktool-kdedirs -%{tde_tdeappdir}/kiosktool.desktop -%{tde_datadir}/apps/kiosktool/*.png -%{tde_tdedocdir}/HTML/en/kiosktool/ -%{tde_datadir}/icons/crystalsvg/*/apps/kiosktool.png -%{tde_datadir}/apps/kiosktool/kiosk_data.xml -%{tde_datadir}/apps/kiosktool/kiosktoolui.rc - -%changelog -* Wed Oct 03 2012 Francois Andriot - 1.0-3 -- Initial release for TDE 3.5.13.1 - -* Wed May 02 2012 Francois Andriot - 1.0-2 -- Rebuilt for Fedora 17 -- Fix post and postun - -* Sat Nov 19 2011 Francois Andriot - 1.0-1 -- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kiosktool/kiosktool-3.5.13.2.spec b/redhat/applications/kiosktool/kiosktool-3.5.13.2.spec deleted file mode 100644 index 68c088ba5..000000000 --- a/redhat/applications/kiosktool/kiosktool-3.5.13.2.spec +++ /dev/null @@ -1,125 +0,0 @@ -# Default version for this component -%define tde_pkg kiosktool -%define tde_version 3.5.13.2 - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tde_pkg} -Version: 1.0 -Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist} -Summary: tool to configure the TDE kiosk framework - -License: GPLv2+ -Group: Applications/Multimedia - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-arts-devel >= 1:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: gettext - - -%description -A Point&Click tool for system administrators to enable -TDE's KIOSK features or otherwise preconfigure TDE for -groups of users. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; source /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --enable-final \ - --enable-closure \ - --enable-rpath - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf $RPM_BUILD_ROOT -%__make install DESTDIR=$RPM_BUILD_ROOT - -%find_lang %{tde_pkg} - - -%clean -%__rm -rf $RPM_BUILD_ROOT - - -%post -touch --no-create %{tde_datadir}/icons/crystalsvg ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/crystalsvg 2> /dev/null ||: -update-desktop-database >& /dev/null ||: - -%postun -touch --no-create %{tde_datadir}/icons/crystalsvg ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/crystalsvg 2> /dev/null ||: -update-desktop-database >& /dev/null ||: - - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc ChangeLog COPYING README TODO -%{tde_bindir}/kiosktool -%{tde_bindir}/kiosktool-kdedirs -%{tde_tdeappdir}/kiosktool.desktop -%{tde_datadir}/apps/kiosktool/*.png -%{tde_tdedocdir}/HTML/en/kiosktool/ -%{tde_datadir}/icons/crystalsvg/*/apps/kiosktool.png -%{tde_datadir}/apps/kiosktool/kiosk_data.xml -%{tde_datadir}/apps/kiosktool/kiosktoolui.rc - -%changelog diff --git a/redhat/applications/kiosktool/kiosktool-3.5.13.spec b/redhat/applications/kiosktool/kiosktool-3.5.13.spec deleted file mode 100644 index 8ec53de65..000000000 --- a/redhat/applications/kiosktool/kiosktool-3.5.13.spec +++ /dev/null @@ -1,150 +0,0 @@ -# Default version for this component -%define kdecomp kiosktool - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Version: 1.0 -Release: 2%{?dist}%{?_variant} -Summary: tool to configure the TDE kiosk framework - -License: GPLv2+ -Group: Applications/Multimedia - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - - -Source0: %{kdecomp}-3.5.13.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildRequires: gettext -BuildRequires: trinity-tdelibs-devel - - -%description -A Point&Click tool for system administrators to enable -TDE's KIOSK features or otherwise preconfigure TDE for -groups of users. - - -%prep -%setup -q -n applications/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; source /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --enable-new-ldflags \ - --disable-debug --disable-warnings \ - --disable-dependency-tracking --enable-final \ - --enable-closure \ - --with-extra-includes=%{tde_includedir}/tqt - - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf $RPM_BUILD_ROOT -%__make install DESTDIR=$RPM_BUILD_ROOT - -## File lists -# locale's -%find_lang %{kdecomp} -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then -for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - - -%clean -%__rm -rf $RPM_BUILD_ROOT - - -%post -touch --no-create %{tde_datadir}/icons/crystalsvg ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/crystalsvg 2> /dev/null ||: -update-desktop-database >& /dev/null ||: - -%postun -touch --no-create %{tde_datadir}/icons/crystalsvg ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/crystalsvg 2> /dev/null ||: -update-desktop-database >& /dev/null ||: - - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc ChangeLog COPYING README TODO -%{tde_bindir}/kiosktool -%{tde_bindir}/kiosktool-kdedirs -%{tde_tdeappdir}/kiosktool.desktop -%{tde_datadir}/apps/kiosktool/*.png -%{tde_tdedocdir}/HTML/en/kiosktool/ -%{tde_datadir}/icons/crystalsvg/*/apps/kiosktool.png -%{tde_datadir}/apps/kiosktool/kiosk_data.xml -%{tde_datadir}/apps/kiosktool/kiosktoolui.rc - -%Changelog -* Wed May 02 2012 Francois Andriot - 1.0-2 -- Rebuilt for Fedora 17 -- Fix post and postun - -* Sat Nov 19 2011 Francois Andriot - 1.0-1 -- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kmplayer/kmplayer-3.5.13-fix_gcc47_compilation.patch b/redhat/applications/kmplayer/kmplayer-3.5.13-fix_gcc47_compilation.patch deleted file mode 100644 index 02962e256..000000000 --- a/redhat/applications/kmplayer/kmplayer-3.5.13-fix_gcc47_compilation.patch +++ /dev/null @@ -1,45 +0,0 @@ -commit 5106117b5c1439d3fee08395c1a025f62d30a53e -Author: Darrell Anderson -Date: 1335631986 -0500 - - GCC 4.7 fixes. - -diff --git a/src/gstplayer.cpp b/src/gstplayer.cpp -index ebf7b0d..c4bf580 100644 ---- a/src/gstplayer.cpp -+++ b/src/gstplayer.cpp -@@ -1003,11 +1003,16 @@ int main(int argc, char **argv) { - gstapp->exec (); - - XLockDisplay(display); -- XClientMessageEvent ev = { -- ClientMessage, 0, true, display, wid, -- XInternAtom (display, "XVIDEO", false), 8, {b: "quit_now"} -- }; -- XSendEvent (display, wid, false, StructureNotifyMask, (XEvent *) & ev); -+ XEvent ev; -+ ev.xclient.type = ClientMessage; -+ ev.xclient.serial = 0; -+ ev.xclient.send_event = true; -+ ev.xclient.display = display; -+ ev.xclient.window = wid; -+ ev.xclient.message_type = XInternAtom (display, "XVIDEO", false); -+ ev.xclient.format = 8; -+ strcpy(ev.xclient.data.b, "quit_now"); -+ XSendEvent (display, wid, false, StructureNotifyMask, &ev); - XFlush (display); - XUnlockDisplay(display); - eventThread->wait (500); -diff --git a/src/kmplayerapp.cpp b/src/kmplayerapp.cpp -index 27b26cd..bdeac91 100644 ---- a/src/kmplayerapp.cpp -+++ b/src/kmplayerapp.cpp -@@ -17,6 +17,8 @@ - - #undef Always - -+#include -+ - // include files for QT - #include - #include diff --git a/redhat/applications/kmplayer/kmplayer-3.5.13-missing_ldflags.patch b/redhat/applications/kmplayer/kmplayer-3.5.13-missing_ldflags.patch deleted file mode 100644 index ba6c16cb9..000000000 --- a/redhat/applications/kmplayer/kmplayer-3.5.13-missing_ldflags.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- kmplayer/src/Makefile.am.ORI 2012-08-05 17:09:59.963896862 +0200 -+++ kmplayer/src/Makefile.am 2012-08-05 17:10:16.667563785 +0200 -@@ -6,7 +6,7 @@ - - libkmplayercommon_la_SOURCES = viewarea.cpp kmplayerview.cpp playlistview.cpp kmplayercontrolpanel.cpp kmplayerconfig.cpp pref.cpp kmplayerprocess.cpp kmplayer_callback.skel kmplayer_backend.stub kmplayerpartbase.cpp kmplayerplaylist.cpp kmplayer_asx.cpp kmplayer_smil.cpp kmplayer_rp.cpp kmplayer_rss.cpp kmplayer_atom.cpp kmplayer_xspf.cpp triestring.cpp kmplayerpartbase.skel - libkmplayercommon_la_LDFLAGS = -avoid-version $(all_libraries) --libkmplayercommon_la_LIBADD = -lkmediaplayer $(LIB_KPARTS) $(LIB_KUTILS) $(LIB_EXPAT) -lm $(LIBCAIRO_LIBS) $(LIBQTDBUS) -+libkmplayercommon_la_LIBADD = -lkmediaplayer $(LIB_KPARTS) $(LIB_KUTILS) $(LIB_EXPAT) -lm $(LIBCAIRO_LIBS) $(LIBQTDBUS) $(LIB_QT) -lDCOP $(LIB_KDECORE) -lkdefx $(LIB_KDEUI) $(LIB_KIO) - - if include_koffice_support - kofficeplugin_lib= libkmplayerkofficepart.la ---- kmplayer/src/Makefile.am.ORI 2011-12-03 23:22:01.601981533 +0100 -+++ kmplayer/src/Makefile.am 2011-12-03 23:22:44.469655046 +0100 -@@ -58,6 +58,7 @@ - kgstplayer_SOURCES= gstplayer.cpp - - knpplayer_LDADD= $(LIBNSPR_LIBS) -+knpplayer_LDFLAGS= -lX11 -lgmodule-2.0 - knpplayer_SOURCES= npplayer.c - - xdg_apps_DATA = kmplayer.desktop diff --git a/redhat/applications/kmplayer/kmplayer-3.5.13.1-fix_xine12_support.patch b/redhat/applications/kmplayer/kmplayer-3.5.13.1-fix_xine12_support.patch deleted file mode 100644 index 1dd604c1a..000000000 --- a/redhat/applications/kmplayer/kmplayer-3.5.13.1-fix_xine12_support.patch +++ /dev/null @@ -1,112 +0,0 @@ -Index: b/src/xineplayer.cpp -=================================================================== ---- a/src/xineplayer.cpp 2012-10-30 18:39:16.000000000 +0000 -+++ b/src/xineplayer.cpp 2012-11-03 17:56:01.760234144 +0000 -@@ -528,7 +528,11 @@ - xine_event_create_listener_thread (event_queue, event_listener, NULL); - if (mrl == "cdda:/") { - int nr; -+#if XINE_MAJOR_VERSION > 1 || ( XINE_MAJOR_VERSION == 1 && XINE_MINOR_VERSION >= 2 ) -+ const char * const* mrls = xine_get_autoplay_mrls (xine, "CD", &nr); -+#else - char ** mrls = xine_get_autoplay_mrls (xine, "CD", &nr); -+#endif - running = 1; - for (int i = 0; i < nr; i++) { - TQString m (mrls[i]); -@@ -863,10 +867,10 @@ - case XK_p: // previous - mutex.lock (); - if (stream) { -- xine_event_t xine_event = { -- XINE_EVENT_INPUT_PREVIOUS, -- stream, 0L, 0, { 0, 0 } -- }; -+ xine_event_t xine_event; -+ memset(&xine_event, 0, sizeof(xine_event)); -+ xine_event.type = XINE_EVENT_INPUT_PREVIOUS; -+ xine_event.stream = stream; - xine_event_send (stream, &xine_event); - } - mutex.unlock (); -@@ -875,10 +879,10 @@ - case XK_n: // next - mutex.lock (); - if (stream) { -- xine_event_t xine_event = { -- XINE_EVENT_INPUT_NEXT, -- stream, 0L, 0, { 0, 0 } -- }; -+ xine_event_t xine_event; -+ memset(&xine_event, 0, sizeof(xine_event)); -+ xine_event.type = XINE_EVENT_INPUT_NEXT; -+ xine_event.stream = stream; - xine_event_send (stream, &xine_event); - } - mutex.unlock (); -@@ -887,10 +891,10 @@ - case XK_u: // up menu - mutex.lock (); - if (stream) { -- xine_event_t xine_event = { -- XINE_EVENT_INPUT_MENU1, -- stream, 0L, 0, { 0, 0 } -- }; -+ xine_event_t xine_event; -+ memset(&xine_event, 0, sizeof(xine_event)); -+ xine_event.type = XINE_EVENT_INPUT_MENU1; -+ xine_event.stream = stream; - xine_event_send (stream, &xine_event); - } - mutex.unlock (); -@@ -899,10 +903,10 @@ - case XK_r: // root menu - mutex.lock (); - if (stream) { -- xine_event_t xine_event = { -- XINE_EVENT_INPUT_MENU3, -- stream, 0L, 0, { 0, 0 } -- }; -+ xine_event_t xine_event; -+ memset(&xine_event, 0, sizeof(xine_event)); -+ xine_event.type = XINE_EVENT_INPUT_MENU3; -+ xine_event.stream = stream; - xine_event_send (stream, &xine_event); - } - mutex.unlock (); -@@ -985,11 +989,12 @@ - data.x = rect.x; - data.y = rect.y; - data.button = 0; -- xine_event_t xine_event = { -- XINE_EVENT_INPUT_MOUSE_MOVE, -- stream, &data, sizeof (xine_input_data_t), -- { 0 , 0 } -- }; -+ xine_event_t xine_event; -+ memset(&xine_event, 0, sizeof(xine_event)); -+ xine_event.type = XINE_EVENT_INPUT_MOUSE_MOVE; -+ xine_event.stream = stream; -+ xine_event.data = &data; -+ xine_event.data_length = sizeof (xine_input_data_t); - mutex.lock (); - xine_event_send (stream, &xine_event); - mutex.unlock (); -@@ -1023,11 +1028,12 @@ - data.x = rect.x; - data.y = rect.y; - data.button = 1; -- xine_event_t xine_event = { -- XINE_EVENT_INPUT_MOUSE_BUTTON, -- stream, &data, sizeof (xine_input_data_t), -- { 0, 0 } -- }; -+ xine_event_t xine_event; -+ memset(&xine_event, 0, sizeof(xine_event)); -+ xine_event.type = XINE_EVENT_INPUT_MOUSE_BUTTON; -+ xine_event.stream = stream; -+ xine_event.data = &data; -+ xine_event.data_length = sizeof (xine_input_data_t); - mutex.lock (); - xine_event_send (stream, &xine_event); - mutex.unlock (); diff --git a/redhat/applications/kmplayer/kmplayer-3.5.13.1.spec b/redhat/applications/kmplayer/kmplayer-3.5.13.1.spec deleted file mode 100644 index e01ee9a36..000000000 --- a/redhat/applications/kmplayer/kmplayer-3.5.13.1.spec +++ /dev/null @@ -1,247 +0,0 @@ -# Default version for this component -%define kdecomp kmplayer - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: media player for Trinity -Version: 0.10.0c -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Multimedia - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://kmplayer.kde.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -# [kmplayer] Fix xine 1.2 support -Patch1: kmplayer-3.5.13.1-fix_xine12_support.patch - - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-dbus-tqt-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils - - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}gstreamer0.10-devel -BuildRequires: %{_lib}gstreamer-plugins-base0.10-devel -BuildRequires: libxv-devel -%endif -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: gstreamer-devel -BuildRequires: gstreamer-plugins-base-devel -BuildRequires: libXv-devel -%endif -%if 0%{?suse_version} -BuildRequires: gstreamer-devel -BuildRequires: gstreamer-0_10-plugins-base-devel -BuildRequires: libXv-devel -%endif - -Requires: %{name}-base - -%description -A basic audio/video viewer application for Trinity. - -KMPlayer can: -* play DVD (DVDNav only with the Xine player) -* play VCD -* let the backend players play from a pipe (read from stdin) -* play from a TV device (experimental) -* show backend player's console output -* launch ffserver (only 0.4.8 works) when viewing from a v4l device -* DCOP KMediaPlayer interface support -* VDR viewer frontend (with *kxvplayer), configure VDR keys with standard KDE - shortcut configure window -* Lots of configurable shortcuts. Highly recommended for the VDR keys - (if you have VDR) and volume increase/decrease - - -%package base -Group: Applications/Multimedia -Summary: Base files for KMPlayer [Trinity] - -%description base -Core files needed for KMPlayer. - - -%package konq-plugins -Group: Applications/Multimedia -Requires: trinity-kmplayer-base, trinity-kdebase -Summary: KMPlayer plugin for KHTML/Konqueror [Trinity] - -%description konq-plugins -This plugin enables audio/video playback inside konqueror, using Xine (with -*kxineplayer) or GStreamer (with *kgstplayer), such as movie trailers, web -tv or radio. It mimics QuickTime, MS Media Player and RealPlayer plugin -browser plugins. - - -%package doc -Group: Applications/Multimedia -Requires: %{name} = %{version}-%{release} -Summary: Handbook for KMPlayer [Trinity] - -%description doc -Documention for KMPlayer, a basic audio/video viewer application for KDE. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 -%patch1 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir}/dbus-1.0 \ - --enable-closure - - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -# Removes unwanted files -%__rm -f %{?buildroot}%{tde_datadir}/mimelnk/application/x-mplayer2.desktop - - -%clean -%__rm -rf %{buildroot} - - -%post -/sbin/ldconfig || : - -%postun -/sbin/ldconfig || : - -%post base -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -/sbin/ldconfig || : - -%postun base -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -/sbin/ldconfig || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING ChangeLog INSTALL README TODO kmplayer.lsm -%{tde_bindir}/kmplayer -%{tde_bindir}/knpplayer -%{tde_bindir}/kxvplayer -%{tde_libdir}/libkdeinit_kmplayer.la -%{tde_libdir}/libkdeinit_kmplayer.so -%{tde_tdelibdir}/kmplayer.la -%{tde_tdelibdir}/kmplayer.so -%{tde_tdeappdir}/kmplayer.desktop -%{tde_datadir}/apps/kmplayer -%{tde_datadir}/services/kmplayer_part.desktop - -%files base -%defattr(-,root,root,-) -%{tde_libdir}/libkmplayercommon.la -%{tde_libdir}/libkmplayercommon.so -%{tde_bindir}/kgstplayer -%{tde_bindir}/kxineplayer -%{tde_datadir}/config/kmplayerrc -%{tde_datadir}/apps/kmplayer/bookmarks.xml -%{tde_datadir}/apps/kmplayer/noise.gif -%{tde_datadir}/apps/kmplayer/pluginsinfo -%{tde_datadir}/icons/hicolor/*/apps/kmplayer.png -%{tde_datadir}/icons/hicolor/*/apps/kmplayer.svgz -%{tde_datadir}/mimelnk/application/x-kmplayer.desktop -%{tde_datadir}/mimelnk/video/x-ms-wmp.desktop - - -%files doc -%defattr(-,root,root,-) -%{tde_tdedocdir}/HTML/*/kmplayer - -%files konq-plugins -%defattr(-,root,root,-) -%{tde_tdelibdir}/libkmplayerpart.la -%{tde_tdelibdir}/libkmplayerpart.so -%{tde_datadir}/apps/kmplayer/kmplayerpartui.rc -%{tde_datadir}/apps/kmplayer/pluginsinfo -%{tde_datadir}/services/kmplayer_part.desktop - - -%changelog -* Sat Nov 03 2012 Francois Andriot - 0.10.0c-4 -- Fix xine 1.2 support (openSUSE 12.2 only) - -* Wed Oct 03 2012 Francois Andriot - 0.10.0c-3 -- Initial release for TDE 3.5.13.1 - -* Wed May 02 2012 Francois Andriot - 0.10.0c-2 -- Fix compilation with GCC 4.7 [Commit #5106117b] - -* Sat Dec 03 2011 Francois Andriot - 0.10.0c-1 -- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/kmplayer/kmplayer-3.5.13.2.spec b/redhat/applications/kmplayer/kmplayer-3.5.13.2.spec deleted file mode 100644 index ef8bb091c..000000000 --- a/redhat/applications/kmplayer/kmplayer-3.5.13.2.spec +++ /dev/null @@ -1,275 +0,0 @@ -# Default version for this component -%define tde_pkg kmplayer -%define tde_version 3.5.13.2 - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tde_pkg} -Summary: media player for Trinity -Version: 0.10.0c -Release: %{?!preversion:7}%{?preversion:6_%{preversion}}%{?dist} - -License: GPLv2+ -Group: Applications/Multimedia - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://kmplayer.kde.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-arts-devel >= 1:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -# DBUS support -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} -BuildRequires: trinity-dbus-tqt-devel >= %{tde_version} -%endif - -# GSTREAMER support -%if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?pclinuxos} -BuildRequires: libgstreamer0.10-devel -%else -BuildRequires: %{_lib}gstreamer0.10-devel -%endif -BuildRequires: %{_lib}gstreamer-plugins-base0.10-devel -%endif -%if 0%{?rhel} == 4 -BuildRequires: gstreamer-devel -#BuildRequires: gstreamer-plugins-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} -BuildRequires: gstreamer-devel -BuildRequires: gstreamer-plugins-base-devel -%endif -%if 0%{?suse_version} -BuildRequires: gstreamer-0_10-devel -BuildRequires: gstreamer-0_10-plugins-base-devel -%endif - -# XINE support -%if 0%{?fedora} || 0%{?rhel} >= 4 || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_xine 1 -%if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?pclinuxos} -BuildRequires: %{_lib}xine-devel -%else -BuildRequires: %{_lib}xine1.2-devel -%endif -%endif -%if 0%{?fedora} || 0%{?rhel} -BuildRequires: xine-lib-devel -%endif -%if 0%{?suse_version} -BuildRequires: libxine-devel -%endif -%endif - -# X11 stuff -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: libxt-devel -BuildRequires: libxv-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1210 -BuildRequires: libXv-devel -%endif -%if 0%{?rhel} == 4 -BuildRequires: xorg-x11-devel -%endif -%if 0%{?suse_version} == 1140 -BuildRequires: xorg-x11-libXv-devel -%endif - -# GTK2 stuff -BuildRequires: gtk2-devel - -# DBUS stuff -%if 0%{?suse_version} -BuildRequires: dbus-1-glib-devel -%else -BuildRequires: dbus-glib-devel -%endif - -Requires: %{name}-base = %{version}-%{release} - -%description -A basic audio/video viewer application for Trinity. - -KMPlayer can: -* play DVD (DVDNav only with the Xine player) -* play VCD -* let the backend players play from a pipe (read from stdin) -* play from a TV device (experimental) -* show backend player's console output -* launch ffserver (only 0.4.8 works) when viewing from a v4l device -* DCOP KMediaPlayer interface support -* VDR viewer frontend (with *kxvplayer), configure VDR keys with standard TDE - shortcut configure window -* Lots of configurable shortcuts. Highly recommended for the VDR keys - (if you have VDR) and volume increase/decrease - - -%package base -Group: Applications/Multimedia -Summary: Base files for KMPlayer [Trinity] - -%description base -Core files needed for KMPlayer. - - -%package konq-plugins -Group: Applications/Multimedia -Requires: %{name}-base = %{version}-%{release} -Requires: trinity-tdebase >= %{tde_version} -Summary: KMPlayer plugin for KHTML/Konqueror [Trinity] - -%description konq-plugins -This plugin enables audio/video playback inside konqueror, using Xine (with -*kxineplayer) or GStreamer (with *kgstplayer), such as movie trailers, web -tv or radio. It mimics QuickTime, MS Media Player and RealPlayer plugin -browser plugins. - - -%package doc -Group: Applications/Multimedia -Requires: %{name} = %{version}-%{release} -Summary: Handbook for KMPlayer [Trinity] - -%description doc -Documention for KMPlayer, a basic audio/video viewer application for TDE. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --enable-final \ - --enable-closure \ - --enable-rpath - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{tde_pkg} - -# Removes unwanted files -%__rm -f %{?buildroot}%{tde_datadir}/mimelnk/application/x-mplayer2.desktop - - -%clean -%__rm -rf %{buildroot} - - -%post -/sbin/ldconfig || : - -%postun -/sbin/ldconfig || : - -%post base -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -/sbin/ldconfig || : - -%postun base -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -/sbin/ldconfig || : - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING ChangeLog INSTALL README TODO kmplayer.lsm -%{tde_bindir}/kmplayer -%{tde_bindir}/knpplayer -%{tde_bindir}/kxvplayer -%{tde_libdir}/libkdeinit_kmplayer.la -%{tde_libdir}/libkdeinit_kmplayer.so -%{tde_tdelibdir}/kmplayer.la -%{tde_tdelibdir}/kmplayer.so -%{tde_tdeappdir}/kmplayer.desktop -%{tde_datadir}/apps/kmplayer -%{tde_datadir}/services/kmplayer_part.desktop - -%files base -%defattr(-,root,root,-) -%{tde_libdir}/libkmplayercommon.la -%{tde_libdir}/libkmplayercommon.so -%{tde_bindir}/kgstplayer -%{tde_bindir}/kxineplayer -%{tde_datadir}/config/kmplayerrc -%{tde_datadir}/apps/kmplayer/bookmarks.xml -%{tde_datadir}/apps/kmplayer/noise.gif -%{tde_datadir}/apps/kmplayer/pluginsinfo -%{tde_datadir}/icons/hicolor/*/apps/kmplayer.png -%{tde_datadir}/icons/hicolor/*/apps/kmplayer.svgz -%{tde_datadir}/mimelnk/application/x-kmplayer.desktop -%{tde_datadir}/mimelnk/video/x-ms-wmp.desktop - -%files doc -%defattr(-,root,root,-) -%{tde_tdedocdir}/HTML/*/kmplayer - -%files konq-plugins -%defattr(-,root,root,-) -%{tde_tdelibdir}/libkmplayerpart.la -%{tde_tdelibdir}/libkmplayerpart.so -%{tde_datadir}/apps/kmplayer/kmplayerpartui.rc -%{tde_datadir}/apps/kmplayer/pluginsinfo -%{tde_datadir}/services/kmplayer_part.desktop - - -%changelog diff --git a/redhat/applications/kmplayer/kmplayer-3.5.13.spec b/redhat/applications/kmplayer/kmplayer-3.5.13.spec deleted file mode 100644 index 47248bc5d..000000000 --- a/redhat/applications/kmplayer/kmplayer-3.5.13.spec +++ /dev/null @@ -1,232 +0,0 @@ -# Default version for this component -%define kdecomp kmplayer - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: media player for Trinity -Version: 0.10.0c -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Multimedia - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://kmplayer.kde.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -# [kmplayer] Fix compilation with GCC 4.7 [Commit #5106117b] -Patch1: kmplayer-3.5.13-fix_gcc47_compilation.patch - -# [kmplayer] Missing LDLFLAGS cause FTBFS -Patch2: kmplayer-3.5.13-missing_ldflags.patch - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils - -BuildRequires: dbus-tqt-devel - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}gstreamer0.10-devel -BuildRequires: %{_lib}gstreamer-plugins-base0.10-devel -BuildRequires: libxv-devel -%else -BuildRequires: gstreamer-devel -BuildRequires: gstreamer-plugins-base-devel -BuildRequires: libXv-devel -%endif - -Requires: %{name}-base - -%description -A basic audio/video viewer application for Trinity. - -KMPlayer can: -* play DVD (DVDNav only with the Xine player) -* play VCD -* let the backend players play from a pipe (read from stdin) -* play from a TV device (experimental) -* show backend player's console output -* launch ffserver (only 0.4.8 works) when viewing from a v4l device -* DCOP KMediaPlayer interface support -* VDR viewer frontend (with *kxvplayer), configure VDR keys with standard KDE - shortcut configure window -* Lots of configurable shortcuts. Highly recommended for the VDR keys - (if you have VDR) and volume increase/decrease - - -%package base -Group: Applications/Multimedia -Summary: Base files for KMPlayer [Trinity] - -%description base -Core files needed for KMPlayer. - - -%package konq-plugins -Group: Applications/Multimedia -Requires: trinity-kmplayer-base, trinity-kdebase -Summary: KMPlayer plugin for KHTML/Konqueror [Trinity] - -%description konq-plugins -This plugin enables audio/video playback inside konqueror, using Xine (with -*kxineplayer) or GStreamer (with *kgstplayer), such as movie trailers, web -tv or radio. It mimics QuickTime, MS Media Player and RealPlayer plugin -browser plugins. - - -%package doc -Group: Applications/Multimedia -Requires: %{name} = %{version}-%{release} -Summary: Handbook for KMPlayer [Trinity] - -%description doc -Documention for KMPlayer, a basic audio/video viewer application for KDE. - - -%prep -%setup -q -n applications/%{kdecomp} -%patch1 -p1 -%patch2 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir}/dbus-1.0 \ - --enable-closure - - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -# Removes unwanted files -%__rm -f %{?buildroot}%{tde_datadir}/mimelnk/application/x-mplayer2.desktop - - -%clean -%__rm -rf %{buildroot} - - -%post -/sbin/ldconfig || : - -%postun -/sbin/ldconfig || : - -%post base -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -/sbin/ldconfig || : - -%postun base -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -/sbin/ldconfig || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING ChangeLog INSTALL README TODO kmplayer.lsm -%{tde_bindir}/kmplayer -%{tde_bindir}/knpplayer -%{tde_bindir}/kxvplayer -%{tde_libdir}/libkdeinit_kmplayer.la -%{tde_libdir}/libkdeinit_kmplayer.so -%{tde_tdelibdir}/kmplayer.la -%{tde_tdelibdir}/kmplayer.so -%{tde_tdeappdir}/kmplayer.desktop -%{tde_datadir}/apps/kmplayer -%{tde_datadir}/services/kmplayer_part.desktop - -%files base -%defattr(-,root,root,-) -%{tde_libdir}/libkmplayercommon.la -%{tde_libdir}/libkmplayercommon.so -%{tde_bindir}/kgstplayer -%{tde_bindir}/kxineplayer -%{tde_datadir}/config/kmplayerrc -%{tde_datadir}/apps/kmplayer/bookmarks.xml -%{tde_datadir}/apps/kmplayer/noise.gif -%{tde_datadir}/apps/kmplayer/pluginsinfo -%{tde_datadir}/icons/hicolor/*/apps/kmplayer.png -%{tde_datadir}/icons/hicolor/*/apps/kmplayer.svgz -%{tde_datadir}/mimelnk/application/x-kmplayer.desktop -%{tde_datadir}/mimelnk/video/x-ms-wmp.desktop - - -%files doc -%defattr(-,root,root,-) -%{tde_tdedocdir}/HTML/*/kmplayer - -%files konq-plugins -%defattr(-,root,root,-) -%{tde_tdelibdir}/libkmplayerpart.la -%{tde_tdelibdir}/libkmplayerpart.so -%{tde_datadir}/apps/kmplayer/kmplayerpartui.rc -%{tde_datadir}/apps/kmplayer/pluginsinfo -%{tde_datadir}/services/kmplayer_part.desktop - - -%Changelog -* Wed May 02 2012 Francois Andriot - 0.10.0c-2 -- Fix compilation with GCC 4.7 [Commit #5106117b] - -* Sat Dec 03 2011 Francois Andriot - 0.10.0c-1 -- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/kmyfirewall/kmyfirewall-3.5.13-fix_gcc47_compilation.patch b/redhat/applications/kmyfirewall/kmyfirewall-3.5.13-fix_gcc47_compilation.patch deleted file mode 100644 index 4daf67e9b..000000000 --- a/redhat/applications/kmyfirewall/kmyfirewall-3.5.13-fix_gcc47_compilation.patch +++ /dev/null @@ -1,39 +0,0 @@ ---- ./kmyfirewall/genericinterface/kmfgenericinterfaceprotocol.cpp.orig 2012-05-02 04:58:04.051212974 -0400 -+++ ./kmyfirewall/genericinterface/kmfgenericinterfaceprotocol.cpp 2012-05-02 05:07:11.093803088 -0400 -@@ -305,14 +305,15 @@ - if ( m_zone && ! m_host ) { - if ( onOff ) { - m_protocolUsage = 0; -- if ( KMFProtocolUsage* pro = m_zone->findProtocolUsageByProtocolUuid( protUsage->protocol()->uuid() ) ) { -+ KMFProtocolUsage* pro; -+ if ( pro = m_zone->findProtocolUsageByProtocolUuid( protUsage->protocol()->uuid() ) ) { - m_protocolUsage = pro; - } else { - KMFUndoEngine::instance()->startTransaction( - m_zone, - i18n("Add protocol %1 to zone %2.").tqarg( protUsage->protocol()->name() ).tqarg( m_zone->guiName() ) - ); -- KMFProtocolUsage * pro = m_zone->addProtocolUsage( protUsage->protocol()->uuid(), protUsage->protocol()->getDOMTree() ); -+ pro = m_zone->addProtocolUsage( protUsage->protocol()->uuid(), protUsage->protocol()->getDOMTree() ); - - if ( pro ) { - kdDebug() << "Added Protocol to zone: " << m_zone-> name() << endl; -@@ -341,15 +342,16 @@ - } else if ( m_host ) { - if ( onOff ) { - m_protocolUsage = 0; -+ KMFProtocolUsage* pro; - -- if ( KMFProtocolUsage* pro = m_host->findProtocolUsageByProtocolUuid( protUsage->protocol()->uuid() ) ) { -+ if ( pro = m_host->findProtocolUsageByProtocolUuid( protUsage->protocol()->uuid() ) ) { - m_protocolUsage = pro; - } else { - KMFUndoEngine::instance()->startTransaction( - m_host, - i18n("Add protocol %1 to host %2.").tqarg( protUsage->protocol()->name() ).tqarg( m_host->guiName() ) - ); -- KMFProtocolUsage * pro = m_host->addProtocolUsage( protUsage->protocol()->uuid(), protUsage->protocol() ->getDOMTree() ); -+ pro = m_host->addProtocolUsage( protUsage->protocol()->uuid(), protUsage->protocol() ->getDOMTree() ); - - if ( pro ) { - kdDebug() << "Added Protocol to host: " << m_host-> name() << endl; diff --git a/redhat/applications/kmyfirewall/kmyfirewall-3.5.13-missing_ldflags.patch b/redhat/applications/kmyfirewall/kmyfirewall-3.5.13-missing_ldflags.patch deleted file mode 100644 index f2d236faa..000000000 --- a/redhat/applications/kmyfirewall/kmyfirewall-3.5.13-missing_ldflags.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- kmyfirewall/kmyfirewall/core/Makefile.am.ROI 2012-08-05 17:28:28.006801940 +0200 -+++ kmyfirewall/kmyfirewall/core/Makefile.am 2012-08-05 17:28:40.878545270 +0200 -@@ -53,7 +53,7 @@ - - libkmfcoreincludedir = $(includedir)/kmyfirewall/core/ - --libkmfcore_la_LIBADD = $(LIB_KPARTS) $(LIB_KIO) -+libkmfcore_la_LIBADD = $(LIB_KPARTS) $(LIB_KIO) $(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI) - - libkmfcoreinclude_HEADERS = ipaddress.h \ - iptable.h \ diff --git a/redhat/applications/kmyfirewall/kmyfirewall-3.5.13.1.spec b/redhat/applications/kmyfirewall/kmyfirewall-3.5.13.1.spec deleted file mode 100644 index 22037de91..000000000 --- a/redhat/applications/kmyfirewall/kmyfirewall-3.5.13.1.spec +++ /dev/null @@ -1,208 +0,0 @@ -# Default version for this component -%define kdecomp kmyfirewall - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: iptables based firewall configuration tool for KDE [Trinity] -Version: 1.1.1 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils - - -%description -KMyFirewall attempts to make it easier to setup iptables based firewalls on -Linux systems. It will be the right tool if you like to have a so called -"Personal Firewall" running on your Linux box, but don't have the time and/or -the interest to spend hours in front of the iptables manual just to setup a -Firewall that keeps the "bad" people out. - -There is also the possibility to save entire rule sets, so you only have to -configure your rule set one time and then you can use it on several computers -giving each of them a similar configuration (p.e. school networks, office, -university etc.) - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} - -%description devel -%{summary} - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -for f in hicolor Locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -for f in hicolor Locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING COPYING-DOCS README TODO -%{tde_bindir}/kmyfirewall -%{tde_libdir}/libkmfcore.so.* -%{tde_libdir}/libkmfwidgets.so.* -%{tde_tdelibdir}/libkmfcompiler_ipt.la -%{tde_tdelibdir}/libkmfcompiler_ipt.so -%{tde_tdelibdir}/libkmfgenericinterfacepart.la -%{tde_tdelibdir}/libkmfgenericinterfacepart.so -%{tde_tdelibdir}/libkmfinstaller_linux.la -%{tde_tdelibdir}/libkmfinstaller_linux.so -%{tde_tdelibdir}/libkmfinstallerplugin.la -%{tde_tdelibdir}/libkmfinstallerplugin.so -%{tde_tdelibdir}/libkmfipteditorpart.la -%{tde_tdelibdir}/libkmfipteditorpart.so -%{tde_tdelibdir}/libkmfruleoptionedit_custom.la -%{tde_tdelibdir}/libkmfruleoptionedit_custom.so -%{tde_tdelibdir}/libkmfruleoptionedit_interface.la -%{tde_tdelibdir}/libkmfruleoptionedit_interface.so -%{tde_tdelibdir}/libkmfruleoptionedit_ip.la -%{tde_tdelibdir}/libkmfruleoptionedit_ip.so -%{tde_tdelibdir}/libkmfruleoptionedit_limit.la -%{tde_tdelibdir}/libkmfruleoptionedit_limit.so -%{tde_tdelibdir}/libkmfruleoptionedit_mac.la -%{tde_tdelibdir}/libkmfruleoptionedit_mac.so -%{tde_tdelibdir}/libkmfruleoptionedit_protocol.la -%{tde_tdelibdir}/libkmfruleoptionedit_protocol.so -%{tde_tdelibdir}/libkmfruleoptionedit_state.la -%{tde_tdelibdir}/libkmfruleoptionedit_state.so -%{tde_tdelibdir}/libkmfruleoptionedit_tos.la -%{tde_tdelibdir}/libkmfruleoptionedit_tos.so -%{tde_tdelibdir}/libkmfruletargetoptionedit_log.la -%{tde_tdelibdir}/libkmfruletargetoptionedit_log.so -%{tde_tdelibdir}/libkmfruletargetoptionedit_mark.la -%{tde_tdelibdir}/libkmfruletargetoptionedit_mark.so -%{tde_tdelibdir}/libkmfruletargetoptionedit_nat.la -%{tde_tdelibdir}/libkmfruletargetoptionedit_nat.so -%{tde_tdelibdir}/libkmfruletargetoptionedit_tos.la -%{tde_tdelibdir}/libkmfruletargetoptionedit_tos.so -%{tde_tdeappdir}/kmyfirewall.desktop -%{tde_datadir}/apps/kmfgenericinterfacepart/kmfgenericinterfacepartui.rc -%{tde_datadir}/apps/kmfipteditorpart/kmfipteditorpartui.rc -%{tde_datadir}/apps/kmfsystray -%{tde_datadir}/apps/kmyfirewall -%{tde_datadir}/config.kcfg/kmfconfig.kcfg -%{tde_datadir}/config/kmyfirewallrc -%{tde_tdedocdir}/HTML/en/kmyfirewall/ -%{tde_datadir}/icons/hicolor/*/apps/kmyfirewall.png -%{tde_datadir}/icons/Locolor/*/apps/kmyfirewall.png -%{tde_datadir}/mimelnk/application/kmfgrs.desktop -%{tde_datadir}/mimelnk/application/kmfnet.desktop -%{tde_datadir}/mimelnk/application/kmfpkg.desktop -%{tde_datadir}/mimelnk/application/kmfrs.desktop -%{tde_datadir}/services/kmf*.desktop -%{tde_datadir}/servicetypes/kmf*.desktop - -%files devel -%{tde_tdeincludedir}/kmyfirewall -%{tde_libdir}/libkmfcore.la -%{tde_libdir}/libkmfcore.so -%{tde_libdir}/libkmfwidgets.la -%{tde_libdir}/libkmfwidgets.so - -%changelog -* Wed Oct 03 2012 Francois Andriot - 1.1.1-3 -- Initial release for TDE 3.5.13.1 - -* Wed May 02 2012 Francois Andriot - 1.1.1-2 -- GCC 4.7 fixes. [Commit #88d2d2a7] - -* Sat Dec 03 2011 Francois Andriot - 1.1.1-1 -- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/kmyfirewall/kmyfirewall-3.5.13.2.spec b/redhat/applications/kmyfirewall/kmyfirewall-3.5.13.2.spec deleted file mode 100644 index ffea0e925..000000000 --- a/redhat/applications/kmyfirewall/kmyfirewall-3.5.13.2.spec +++ /dev/null @@ -1,193 +0,0 @@ -# Default version for this component -%define tde_pkg kmyfirewall -%define tde_version 3.5.13.2 - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tde_pkg} -Summary: iptables based firewall configuration tool for TDE [Trinity] -Version: 1.1.1 -Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-arts-devel >= 1:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - - -%description -KMyFirewall attempts to make it easier to setup iptables based firewalls on -Linux systems. It will be the right tool if you like to have a so called -"Personal Firewall" running on your Linux box, but don't have the time and/or -the interest to spend hours in front of the iptables manual just to setup a -Firewall that keeps the "bad" people out. - -There is also the possibility to save entire rule sets, so you only have to -configure your rule set one time and then you can use it on several computers -giving each of them a similar configuration (p.e. school networks, office, -university etc.) - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} - -%description devel -%{summary} - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --enable-final \ - --enable-closure \ - --enable-rpath - -%__make %{?_smp_mflags} - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -for f in hicolor locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -for f in hicolor locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING COPYING-DOCS README TODO -%{tde_bindir}/kmyfirewall -%{tde_libdir}/libkmfcore.so.* -%{tde_libdir}/libkmfwidgets.so.* -%{tde_tdelibdir}/libkmfcompiler_ipt.la -%{tde_tdelibdir}/libkmfcompiler_ipt.so -%{tde_tdelibdir}/libkmfgenericinterfacepart.la -%{tde_tdelibdir}/libkmfgenericinterfacepart.so -%{tde_tdelibdir}/libkmfinstaller_linux.la -%{tde_tdelibdir}/libkmfinstaller_linux.so -%{tde_tdelibdir}/libkmfinstallerplugin.la -%{tde_tdelibdir}/libkmfinstallerplugin.so -%{tde_tdelibdir}/libkmfipteditorpart.la -%{tde_tdelibdir}/libkmfipteditorpart.so -%{tde_tdelibdir}/libkmfruleoptionedit_custom.la -%{tde_tdelibdir}/libkmfruleoptionedit_custom.so -%{tde_tdelibdir}/libkmfruleoptionedit_interface.la -%{tde_tdelibdir}/libkmfruleoptionedit_interface.so -%{tde_tdelibdir}/libkmfruleoptionedit_ip.la -%{tde_tdelibdir}/libkmfruleoptionedit_ip.so -%{tde_tdelibdir}/libkmfruleoptionedit_limit.la -%{tde_tdelibdir}/libkmfruleoptionedit_limit.so -%{tde_tdelibdir}/libkmfruleoptionedit_mac.la -%{tde_tdelibdir}/libkmfruleoptionedit_mac.so -%{tde_tdelibdir}/libkmfruleoptionedit_protocol.la -%{tde_tdelibdir}/libkmfruleoptionedit_protocol.so -%{tde_tdelibdir}/libkmfruleoptionedit_state.la -%{tde_tdelibdir}/libkmfruleoptionedit_state.so -%{tde_tdelibdir}/libkmfruleoptionedit_tos.la -%{tde_tdelibdir}/libkmfruleoptionedit_tos.so -%{tde_tdelibdir}/libkmfruletargetoptionedit_log.la -%{tde_tdelibdir}/libkmfruletargetoptionedit_log.so -%{tde_tdelibdir}/libkmfruletargetoptionedit_mark.la -%{tde_tdelibdir}/libkmfruletargetoptionedit_mark.so -%{tde_tdelibdir}/libkmfruletargetoptionedit_nat.la -%{tde_tdelibdir}/libkmfruletargetoptionedit_nat.so -%{tde_tdelibdir}/libkmfruletargetoptionedit_tos.la -%{tde_tdelibdir}/libkmfruletargetoptionedit_tos.so -%{tde_tdeappdir}/kmyfirewall.desktop -%{tde_datadir}/apps/kmfgenericinterfacepart/kmfgenericinterfacepartui.rc -%{tde_datadir}/apps/kmfipteditorpart/kmfipteditorpartui.rc -%{tde_datadir}/apps/kmfsystray -%{tde_datadir}/apps/kmyfirewall -%{tde_datadir}/config.kcfg/kmfconfig.kcfg -%{tde_datadir}/config/kmyfirewallrc -%{tde_tdedocdir}/HTML/en/kmyfirewall/ -%{tde_datadir}/icons/hicolor/*/apps/kmyfirewall.png -%{tde_datadir}/icons/locolor/*/apps/kmyfirewall.png -%{tde_datadir}/mimelnk/application/kmfgrs.desktop -%{tde_datadir}/mimelnk/application/kmfnet.desktop -%{tde_datadir}/mimelnk/application/kmfpkg.desktop -%{tde_datadir}/mimelnk/application/kmfrs.desktop -%{tde_datadir}/services/kmf*.desktop -%{tde_datadir}/servicetypes/kmf*.desktop - -%files devel -%{tde_tdeincludedir}/kmyfirewall -%{tde_libdir}/libkmfcore.la -%{tde_libdir}/libkmfcore.so -%{tde_libdir}/libkmfwidgets.la -%{tde_libdir}/libkmfwidgets.so - -%changelog diff --git a/redhat/applications/kmyfirewall/kmyfirewall-3.5.13.spec b/redhat/applications/kmyfirewall/kmyfirewall-3.5.13.spec deleted file mode 100644 index 0414eddca..000000000 --- a/redhat/applications/kmyfirewall/kmyfirewall-3.5.13.spec +++ /dev/null @@ -1,207 +0,0 @@ -# Default version for this component -%define kdecomp kmyfirewall - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: iptables based firewall configuration tool for KDE [Trinity] -Version: 1.1.1 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -# [kmyfirewall] GCC 4.7 fixes. [Commit #88d2d2a7] -Patch1: kmyfirewall-3.5.13-fix_gcc47_compilation.patch -# [kmyfirefall] Missing LDFLAGS cause FTBFS -Patch2: kmyfirewall-3.5.13-missing_ldflags.patch - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils - - -%description -KMyFirewall attempts to make it easier to setup iptables based firewalls on -Linux systems. It will be the right tool if you like to have a so called -"Personal Firewall" running on your Linux box, but don't have the time and/or -the interest to spend hours in front of the iptables manual just to setup a -Firewall that keeps the "bad" people out. - -There is also the possibility to save entire rule sets, so you only have to -configure your rule set one time and then you can use it on several computers -giving each of them a similar configuration (p.e. school networks, office, -university etc.) - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} - -%description devel -%{summary} - - -%prep -%setup -q -n applications/%{kdecomp} -%patch1 -p1 -%patch2 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -for f in hicolor Locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -for f in hicolor Locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING COPYING-DOCS README TODO -%{tde_bindir}/kmyfirewall -%{tde_libdir}/libkmfcore.so.* -%{tde_libdir}/libkmfwidgets.so.* -%{tde_tdelibdir}/libkmfcompiler_ipt.la -%{tde_tdelibdir}/libkmfcompiler_ipt.so -%{tde_tdelibdir}/libkmfgenericinterfacepart.la -%{tde_tdelibdir}/libkmfgenericinterfacepart.so -%{tde_tdelibdir}/libkmfinstaller_linux.la -%{tde_tdelibdir}/libkmfinstaller_linux.so -%{tde_tdelibdir}/libkmfinstallerplugin.la -%{tde_tdelibdir}/libkmfinstallerplugin.so -%{tde_tdelibdir}/libkmfipteditorpart.la -%{tde_tdelibdir}/libkmfipteditorpart.so -%{tde_tdelibdir}/libkmfruleoptionedit_custom.la -%{tde_tdelibdir}/libkmfruleoptionedit_custom.so -%{tde_tdelibdir}/libkmfruleoptionedit_interface.la -%{tde_tdelibdir}/libkmfruleoptionedit_interface.so -%{tde_tdelibdir}/libkmfruleoptionedit_ip.la -%{tde_tdelibdir}/libkmfruleoptionedit_ip.so -%{tde_tdelibdir}/libkmfruleoptionedit_limit.la -%{tde_tdelibdir}/libkmfruleoptionedit_limit.so -%{tde_tdelibdir}/libkmfruleoptionedit_mac.la -%{tde_tdelibdir}/libkmfruleoptionedit_mac.so -%{tde_tdelibdir}/libkmfruleoptionedit_protocol.la -%{tde_tdelibdir}/libkmfruleoptionedit_protocol.so -%{tde_tdelibdir}/libkmfruleoptionedit_state.la -%{tde_tdelibdir}/libkmfruleoptionedit_state.so -%{tde_tdelibdir}/libkmfruleoptionedit_tos.la -%{tde_tdelibdir}/libkmfruleoptionedit_tos.so -%{tde_tdelibdir}/libkmfruletargetoptionedit_log.la -%{tde_tdelibdir}/libkmfruletargetoptionedit_log.so -%{tde_tdelibdir}/libkmfruletargetoptionedit_mark.la -%{tde_tdelibdir}/libkmfruletargetoptionedit_mark.so -%{tde_tdelibdir}/libkmfruletargetoptionedit_nat.la -%{tde_tdelibdir}/libkmfruletargetoptionedit_nat.so -%{tde_tdelibdir}/libkmfruletargetoptionedit_tos.la -%{tde_tdelibdir}/libkmfruletargetoptionedit_tos.so -%{tde_tdeappdir}/kmyfirewall.desktop -%{tde_datadir}/apps/kmfgenericinterfacepart/kmfgenericinterfacepartui.rc -%{tde_datadir}/apps/kmfipteditorpart/kmfipteditorpartui.rc -%{tde_datadir}/apps/kmfsystray -%{tde_datadir}/apps/kmyfirewall -%{tde_datadir}/config.kcfg/kmfconfig.kcfg -%{tde_datadir}/config/kmyfirewallrc -%{tde_tdedocdir}/HTML/en/kmyfirewall/ -%{tde_datadir}/icons/hicolor/*/apps/kmyfirewall.png -%{tde_datadir}/icons/Locolor/*/apps/kmyfirewall.png -%{tde_datadir}/mimelnk/application/kmfgrs.desktop -%{tde_datadir}/mimelnk/application/kmfnet.desktop -%{tde_datadir}/mimelnk/application/kmfpkg.desktop -%{tde_datadir}/mimelnk/application/kmfrs.desktop -%{tde_datadir}/services/kmf*.desktop -%{tde_datadir}/servicetypes/kmf*.desktop - -%files devel -%{tde_tdeincludedir}/kmyfirewall -%{tde_libdir}/libkmfcore.la -%{tde_libdir}/libkmfcore.so -%{tde_libdir}/libkmfwidgets.la -%{tde_libdir}/libkmfwidgets.so - -%Changelog -* Wed May 02 2012 Francois Andriot - 1.1.1-2 -- GCC 4.7 fixes. [Commit #88d2d2a7] - -* Sat Dec 03 2011 Francois Andriot - 1.1.1-1 -- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/kmymoney/23011-qt-sqlite3-0.2.tar.gz b/redhat/applications/kmymoney/23011-qt-sqlite3-0.2.tar.gz deleted file mode 100644 index 2d81662a6..000000000 Binary files a/redhat/applications/kmymoney/23011-qt-sqlite3-0.2.tar.gz and /dev/null differ diff --git a/redhat/applications/kmymoney/admin-fix-parallel-test.diff b/redhat/applications/kmymoney/admin-fix-parallel-test.diff deleted file mode 100644 index 9f6f46ba8..000000000 --- a/redhat/applications/kmymoney/admin-fix-parallel-test.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- trinity-tdebindings-14.0.0~pre214+2cf2b76c/admin/cvs.sh.automake113 2013-06-26 22:35:42.000000000 +0200 -+++ trinity-tdebindings-14.0.0~pre214+2cf2b76c/admin/cvs.sh 2013-08-29 22:27:18.546349736 +0200 -@@ -123,7 +123,7 @@ - fi - - echo "*** Creating Makefile templates" --$AUTOMAKE || exit 1 -+$AUTOMAKE --add-missing || exit 1 - - if test "$UNSERMAKE" = no; then - echo "*** Postprocessing Makefile templates" diff --git a/redhat/applications/kmymoney/kmymoney-3.5.13-fix_gcc47_compilation.patch b/redhat/applications/kmymoney/kmymoney-3.5.13-fix_gcc47_compilation.patch deleted file mode 100644 index f9c6cb62e..000000000 --- a/redhat/applications/kmymoney/kmymoney-3.5.13-fix_gcc47_compilation.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- kmymoney/kmymoney2/plugins/ofximport/ofxpartner.cpp.ORI 2012-05-02 05:22:43.788349181 -0400 -+++ kmymoney/kmymoney2/plugins/ofximport/ofxpartner.cpp 2012-05-02 05:23:01.910909490 -0400 -@@ -20,6 +20,8 @@ - #include - #endif - -+#include -+ - // ---------------------------------------------------------------------------- - // QT Includes - diff --git a/redhat/applications/kmymoney/kmymoney-3.5.13-fix_qt3_plugins_location.patch b/redhat/applications/kmymoney/kmymoney-3.5.13-fix_qt3_plugins_location.patch deleted file mode 100644 index 8a6754fb5..000000000 --- a/redhat/applications/kmymoney/kmymoney-3.5.13-fix_qt3_plugins_location.patch +++ /dev/null @@ -1,41 +0,0 @@ ---- kmymoney/kmymoney2/widgets/Makefile.am.ORI 2012-08-05 18:38:59.001977368 +0200 -+++ kmymoney/kmymoney2/widgets/Makefile.am 2012-08-05 18:39:47.007986865 +0200 -@@ -68,19 +68,19 @@ - # Hence the quick hack to include the required objects from the - # libkmm_mymoney.so directly into libkmymoney.so - libkmymoney_la_CXXFLAGS = -U_CHECK_MEMORY -DKMM_DESIGNER --libkmymoney_la_LDFLAGS = `ls ../mymoney/*.lo` $(KDE_LDFLAGS) $(QT_LDFLAGS) $(X_LDFLAGS) -rpath $(DESTDIR)$(qt_libraries)/../plugins/designer $(LIB_KDEUI) $(LIB_KDECORE) $(LIB_QT) -+libkmymoney_la_LDFLAGS = `ls ../mymoney/*.lo` $(KDE_LDFLAGS) $(QT_LDFLAGS) $(X_LDFLAGS) -rpath $(DESTDIR)${QTPLUGINS}/designer $(LIB_KDEUI) $(LIB_KDECORE) $(LIB_QT) - - if INSTALL_QTDESIGNER_SUPPORT - install-exec-local: libkmymoney.la -- $(mkinstalldirs) $(DESTDIR)$(qt_libraries)/../plugins/designer -- $(INSTALL_PROGRAM) .libs/libkmymoney.so $(DESTDIR)$(qt_libraries)/../plugins/designer -+ $(mkinstalldirs) $(DESTDIR)${QTPLUGINS}/designer -+ $(INSTALL_PROGRAM) .libs/libkmymoney.so $(DESTDIR)${QTPLUGINS}/designer - $(mkinstalldirs) $(DESTDIR)$(kde_datadir)/$(PICS_DIR) - for file in $(WIDGET_PNGS); do \ - $(INSTALL_DATA) $(abs_srcdir)/$$file $(DESTDIR)$(kde_datadir)/$(PICS_DIR); \ - done - - uninstall-local: -- -rm $(DESTDIR)$(qt_libraries)/../plugins/designer/libkmymoney.so -+ -rm $(DESTDIR)${QTPLUGINS}/designer/libkmymoney.so - for file in $(WIDGET_PNGS); do \ - rm -rf $(DESTDIR)$(kde_datadir)/$(PICS_DIR)/$$file; \ - done ---- kmymoney/admin/acinclude.m4.ORI 2012-08-05 19:47:47.819789267 +0200 -+++ kmymoney/admin/acinclude.m4.in 2012-08-05 19:48:35.842776216 +0200 -@@ -6724,7 +6724,11 @@ - QTDIR=`dirname $MOC` - QTDIR=${QTDIR%/bin} - fi -- LIBSQLITE3=${QTDIR}/plugins/sqldrivers/libsqlite3${qtlib}.so -+ if test x$QTPLUGINS = x; then -+ LIBSQLITE3=${QTDIR}/plugins/sqldrivers/libsqlite3${qtlib}.so -+ else -+ LIBSQLITE3=${QTPLUGINS}/sqldrivers/libsqlite3${qtlib}.so -+ fi - - # do the checks - if test $enable_sqlite3 = auto; then diff --git a/redhat/applications/kmymoney/kmymoney-3.5.13-lots_of_crash.patch b/redhat/applications/kmymoney/kmymoney-3.5.13-lots_of_crash.patch deleted file mode 100644 index 83bfec920..000000000 --- a/redhat/applications/kmymoney/kmymoney-3.5.13-lots_of_crash.patch +++ /dev/null @@ -1,238 +0,0 @@ -commit 2a54aa58cfe166f48d6f1395cbc6c9bfd5e31bfc -Author: Timothy Pearson -Date: 1326525051 -0600 - - Fix a number of crashes - -diff --git a/kmymoney2/converter/mymoneyqifprofile.cpp b/kmymoney2/converter/mymoneyqifprofile.cpp -index 52ef770..880b1c2 100644 ---- a/kmymoney2/converter/mymoneyqifprofile.cpp -+++ b/kmymoney2/converter/mymoneyqifprofile.cpp -@@ -769,7 +769,7 @@ TQString MyMoneyQifProfile::inputDateFormat(void) const - possibleDateFormats(list); - if(list.count() == 1) - return list.first(); -- return TQString(); -+ return TQString::null; - } - - void MyMoneyQifProfile::possibleDateFormats(TQStringList& list) const -diff --git a/kmymoney2/converter/mymoneyqifreader.cpp b/kmymoney2/converter/mymoneyqifreader.cpp -index 9390429..a974e8f 100644 ---- a/kmymoney2/converter/mymoneyqifreader.cpp -+++ b/kmymoney2/converter/mymoneyqifreader.cpp -@@ -714,7 +714,7 @@ const TQString MyMoneyQifReader::extractLine(const TQChar id, int cnt) - } - } - m_extractedLine = -1; -- return TQString(); -+ return TQString::null; - } - - void MyMoneyQifReader::extractSplits(TQValueList& listqSplits) const -diff --git a/kmymoney2/dialogs/kcategoryreassigndlg.cpp b/kmymoney2/dialogs/kcategoryreassigndlg.cpp -index 4de99f6..beb8e98 100644 ---- a/kmymoney2/dialogs/kcategoryreassigndlg.cpp -+++ b/kmymoney2/dialogs/kcategoryreassigndlg.cpp -@@ -53,7 +53,7 @@ KCategoryReassignDlg::~KCategoryReassignDlg() - TQString KCategoryReassignDlg::show(const MyMoneyAccount& category) - { - if (category.id().isEmpty()) -- return TQString(); // no payee available? nothing can be selected... -+ return TQString::null; // no payee available? nothing can be selected... - - AccountSet set; - set.addAccountGroup(MyMoneyAccount::Income); -@@ -79,12 +79,12 @@ TQString KCategoryReassignDlg::show(const MyMoneyAccount& category) - // if there is no category for reassignment left, we bail out - if(list.isEmpty()) { - KMessageBox::sorry(this, TQString("")+i18n("At least one transaction/schedule still references the category %1. However, at least one category with the same currency must exist so that the transactions/schedules can be reassigned.").tqarg(category.name())+TQString("")); -- return TQString(); -+ return TQString::null; - } - - // execute dialog and if aborted, return empty string - if (this->exec() == TQDialog::Rejected) -- return TQString(); -+ return TQString::null; - - // otherwise return index of selected payee - return m_category->selectedItem(); -diff --git a/kmymoney2/dialogs/knewloanwizard.cpp b/kmymoney2/dialogs/knewloanwizard.cpp -index 884807f..87baaf9 100644 ---- a/kmymoney2/dialogs/knewloanwizard.cpp -+++ b/kmymoney2/dialogs/knewloanwizard.cpp -@@ -1072,7 +1072,7 @@ int KNewLoanWizard::term(void) const - TQString KNewLoanWizard::initialPaymentAccount(void) const - { - if(m_dontCreatePayoutCheckBox->isChecked()) { -- return TQString(); -+ return TQString::null; - } - return m_assetAccountEdit->selectedItems().first(); - } -diff --git a/kmymoney2/dialogs/kpayeereassigndlg.cpp b/kmymoney2/dialogs/kpayeereassigndlg.cpp -index 0c3c0cf..1db13f1 100644 ---- a/kmymoney2/dialogs/kpayeereassigndlg.cpp -+++ b/kmymoney2/dialogs/kpayeereassigndlg.cpp -@@ -53,13 +53,13 @@ KPayeeReassignDlg::~KPayeeReassignDlg() - TQString KPayeeReassignDlg::show(const TQValueList& payeeslist) - { - if (payeeslist.isEmpty()) -- return TQString(); // no payee available? nothing can be selected... -+ return TQString::null; // no payee available? nothing can be selected... - - payeeCombo->loadPayees(payeeslist); - - // execute dialog and if aborted, return empty string - if (this->exec() == TQDialog::Rejected) -- return TQString(); -+ return TQString::null; - - // otherwise return index of selected payee - return payeeCombo->selectedItem(); -diff --git a/kmymoney2/mymoney/mymoneyaccount.cpp b/kmymoney2/mymoney/mymoneyaccount.cpp -index 6ef1f9c..c83e834 100644 ---- a/kmymoney2/mymoney/mymoneyaccount.cpp -+++ b/kmymoney2/mymoney/mymoneyaccount.cpp -@@ -450,7 +450,7 @@ void MyMoneyAccountLoan::setPayee(const TQString& payee) - - const TQString MyMoneyAccountLoan::interestAccountId(void) const - { -- return TQString(); -+ return TQString::null; - } - - void MyMoneyAccountLoan::setInterestAccountId(const TQString& /* id */) -diff --git a/kmymoney2/mymoney/mymoneyfile.cpp b/kmymoney2/mymoney/mymoneyfile.cpp -index 4809b28..c59d577 100644 ---- a/kmymoney2/mymoney/mymoneyfile.cpp -+++ b/kmymoney2/mymoney/mymoneyfile.cpp -@@ -1230,7 +1230,7 @@ TQString MyMoneyFile::locateSubAccount(const MyMoneyAccount& base, const TQStrin - return locateSubAccount(nextBase, remainder); - } - } -- return TQString(); -+ return TQString::null; - } - - TQString MyMoneyFile::value(const TQString& key) const -diff --git a/kmymoney2/mymoney/mymoneykeyvaluecontainer.cpp b/kmymoney2/mymoney/mymoneykeyvaluecontainer.cpp -index 22fa1ac..cabf772 100644 ---- a/kmymoney2/mymoney/mymoneykeyvaluecontainer.cpp -+++ b/kmymoney2/mymoney/mymoneykeyvaluecontainer.cpp -@@ -55,7 +55,7 @@ const TQString& MyMoneyKeyValueContainer::value(const TQString& key) const - it = m_kvp.find(key); - if(it != m_kvp.end()) - return (*it); -- return TQString(); -+ return TQString::null; - } - - void MyMoneyKeyValueContainer::setValue(const TQString& key, const TQString& value) -diff --git a/kmymoney2/mymoney/mymoneyutils.cpp b/kmymoney2/mymoney/mymoneyutils.cpp -index 08ffff4..8012200 100644 ---- a/kmymoney2/mymoney/mymoneyutils.cpp -+++ b/kmymoney2/mymoney/mymoneyutils.cpp -@@ -305,7 +305,7 @@ TQString dateToString(const TQDate& date) - if(!date.isNull() && date.isValid()) - return date.toString(Qt::ISODate); - -- return TQString(); -+ return TQString::null; - } - - TQDate stringToDate(const TQString& str) -@@ -323,7 +323,7 @@ TQString TQStringEmpty(const TQString& val) - if(!val.isEmpty()) - return TQString(val); - -- return TQString(); -+ return TQString::null; - } - - unsigned long extractId(const TQString& txt) -diff --git a/kmymoney2/plugins/ofximport/dialogs/konlinebankingstatus.cpp b/kmymoney2/plugins/ofximport/dialogs/konlinebankingstatus.cpp -index 084d73c..ec2d4a0 100644 ---- a/kmymoney2/plugins/ofximport/dialogs/konlinebankingstatus.cpp -+++ b/kmymoney2/plugins/ofximport/dialogs/konlinebankingstatus.cpp -@@ -98,14 +98,14 @@ const TQString& KOnlineBankingtqStatus::appId(void) const - { - if(m_appId) - return m_appId->appId(); -- return TQString(); -+ return TQString::null; - } - - TQString KOnlineBankingtqStatus::headerVersion(void) const - { - if(m_headerVersion) - return m_headerVersion->headerVersion(); -- return TQString(); -+ return TQString::null; - } - - #include "konlinebankingstatus.moc" -diff --git a/kmymoney2/plugins/ofximport/dialogs/mymoneyofxconnector.cpp b/kmymoney2/plugins/ofximport/dialogs/mymoneyofxconnector.cpp -index 36a05b5..7408a38 100644 ---- a/kmymoney2/plugins/ofximport/dialogs/mymoneyofxconnector.cpp -+++ b/kmymoney2/plugins/ofximport/dialogs/mymoneyofxconnector.cpp -@@ -125,7 +125,7 @@ const TQString& OfxAppVersion::appId(void) const - TQString app = m_combo->currentText(); - if(m_appMap[app] != defaultAppId) - return m_appMap[app]; -- return TQString(); -+ return TQString::null; - } - - MyMoneyOfxConnector::MyMoneyOfxConnector(const MyMoneyAccount& _account): -diff --git a/kmymoney2/widgets/kmymoneycombo.cpp b/kmymoney2/widgets/kmymoneycombo.cpp -index f8b6489..761b537 100644 ---- a/kmymoney2/widgets/kmymoneycombo.cpp -+++ b/kmymoney2/widgets/kmymoneycombo.cpp -@@ -588,7 +588,7 @@ public: - return it.key(); - } - } -- return TQString(); -+ return TQString::null; - } - }; - -diff --git a/kmymoney2/widgets/kmymoneywizard.cpp b/kmymoney2/widgets/kmymoneywizard.cpp -index ff00c78..f446acf 100644 ---- a/kmymoney2/widgets/kmymoneywizard.cpp -+++ b/kmymoney2/widgets/kmymoneywizard.cpp -@@ -106,7 +106,7 @@ bool KMyMoneyWizardPage::isComplete(void) const - - const TQString& KMyMoneyWizardPage::helpContext(void) const - { -- return TQString(); -+ return TQString::null; - } - - KMyMoneyWizard::KMyMoneyWizard(TQWidget *parent, const char *name, bool modal, WFlags f) : -diff --git a/kmymoney2/widgets/registeritem.h b/kmymoney2/widgets/registeritem.h -index e9c21d3..83b9a04 100644 ---- a/kmymoney2/widgets/registeritem.h -+++ b/kmymoney2/widgets/registeritem.h -@@ -88,14 +88,14 @@ public: - virtual const TQDate& sortPostDate(void) const { return nullDate; } - virtual int sortSamePostDate(void) const = 0; - virtual const TQDate& sortEntryDate(void) const { return nullDate; } -- virtual const TQString& sortPayee(void) const { return TQString(); } -+ virtual const TQString& sortPayee(void) const { return TQString::null; } - virtual const MyMoneyMoney& sortValue(void) const { return nullValue; } -- virtual const TQString& sortNumber(void) const { return TQString(); } -- virtual const TQString& sortEntryOrder(void) const { return TQString(); } -+ virtual const TQString& sortNumber(void) const { return TQString::null; } -+ virtual const TQString& sortEntryOrder(void) const { return TQString::null; } - virtual CashFlowDirection sortType(void) const { return Deposit; } -- virtual const TQString& sortCategory(void) const { return TQString(); } -+ virtual const TQString& sortCategory(void) const { return TQString::null; } - virtual MyMoneySplit::reconcileFlagE sortReconcileState(void) const { return MyMoneySplit::MaxReconcileState; } -- virtual const TQString& sortSecurity(void) const { return TQString(); } -+ virtual const TQString& sortSecurity(void) const { return TQString::null; } - - /** - * This method sets the row offset of the item in the register diff --git a/redhat/applications/kmymoney/kmymoney-3.5.13-missing_ldflags.patch b/redhat/applications/kmymoney/kmymoney-3.5.13-missing_ldflags.patch deleted file mode 100644 index c80007000..000000000 --- a/redhat/applications/kmymoney/kmymoney-3.5.13-missing_ldflags.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- kmymoney/qt-sqlite3-0.2/sqlite3/sqlite3.pro.ORI 2012-08-05 18:51:56.961702141 +0200 -+++ kmymoney/qt-sqlite3-0.2/sqlite3/sqlite3.pro 2012-08-05 19:05:43.064116419 +0200 -@@ -4,13 +4,13 @@ - # Target is una libreria: qsqlite3 - - INSTALLS += target --target.path = $QTDIR/plugins/sqldrivers -+target.path = $(qt_plugins)/sqldrivers - HEADERS += qsql_sqlite3.h \ - qsqlcachedresult.h - SOURCES += smain.cpp \ - qsql_sqlite3.cpp \ - qsqlcachedresult.cpp --LIBS += -lsqlite3 -+LIBS += -lsqlite3 -L$(QTLIB) - TARGET = qsqlite3 - DESTDIR = ../sqldrivers - CONFIG += release \ diff --git a/redhat/applications/kmymoney/kmymoney-3.5.13-recode_ftbfs.patch b/redhat/applications/kmymoney/kmymoney-3.5.13-recode_ftbfs.patch deleted file mode 100644 index 522329f19..000000000 --- a/redhat/applications/kmymoney/kmymoney-3.5.13-recode_ftbfs.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- kmymoney/doc/en/Makefile.am.ORI 2011-11-26 17:57:22.473298551 +0100 -+++ kmymoney/doc/en/Makefile.am 2011-11-26 17:58:18.611423284 +0100 -@@ -111,7 +111,7 @@ - kmymoney-user.pdf: $(DOCBOOK_FILES) $(SCREENSHOT_FILES) - $(MAKE) get-files - $(MEINPROC) --check --stylesheet `dirname $(KDE_XSL_STYLESHEET)`/kde-nochunk.xsl $(srcdir)/index.docbook -o index.html; -- recode utf8..latin1 index.html -+ recode utf8..latin1 index.html || : - html2ps -o kmymoney-user.ps -n index.html - ps2pdf kmymoney-user.ps kmymoney-user.pdf - rm index.html kmymoney-user.ps ---- kmymoney/developer-doc/phb/Makefile.am.ORI 2011-11-26 12:00:54.708855347 -0500 -+++ kmymoney/developer-doc/phb/Makefile.am 2011-11-26 12:01:01.683692300 -0500 -@@ -106,7 +106,7 @@ - kmymoney-phb.pdf: $(DOCBOOK_FILES) - $(MAKE) get-files - $(MEINPROC) --stylesheet `dirname $(KDE_XSL_STYLESHEET)`/kde-nochunk.xsl $(srcdir)/phb.docbook -o index.html -- recode utf8..latin1 index.html -+ recode utf8..latin1 index.html || : - html2ps -o kmymoney-phb.ps -n index.html - ps2pdf kmymoney-phb.ps kmymoney-phb.pdf - rm index.html kmymoney-phb.ps diff --git a/redhat/applications/kmymoney/kmymoney-3.5.13-update_to_1.0.5.patch b/redhat/applications/kmymoney/kmymoney-3.5.13-update_to_1.0.5.patch deleted file mode 100644 index 7aefe2026..000000000 --- a/redhat/applications/kmymoney/kmymoney-3.5.13-update_to_1.0.5.patch +++ /dev/null @@ -1,264 +0,0 @@ -commit 8654cea10f6902719006d5975db7dc07b2fcc713 -Author: Timothy Pearson -Date: 1326571732 -0600 - - Update to upstream stable version 1.0.5 - -diff --git a/ChangeLog b/ChangeLog -index d250496..c996acb 100644 ---- a/ChangeLog -+++ b/ChangeLog -@@ -1,7 +1,40 @@ - -+2010-05-15 Thomas Baumgart -+ * Released 1.0.5 -+ -+2010-05-12 Thomas Baumgart -+ * Fixed the way to calculate balance variation for the linear regression -+ forecast method (backported from KDE4) -+ -+2010-05-09 Alvaro Soliverez -+ * Fixed a crash when a budget selected for a report is no longer present -+ -+2010-05-04 Thomas Baumgart -+ * replace all new line characters because we only have one line -+ available for the displayed data (backported from KDE4) -+ * Don't allow import of investment transactions that don't have a share -+ amount. This used to end in a div by zero when calculating the price. -+ (Backported from KDE4) -+ -+2010-05-03 Alvaro Soliverez -+ * Add all overdue schedules when calculating forecast -+ * Do not show accounts of institutions if it has been selected -+ in the general settings to Do not show closed accounts -+ * Do not show an institution if it has no visible accounts and -+ it has been selected to not show closed accounts -+ -+2010-04-20 Thomas Baumgart -+ * Backported fix from Ian Neal to solve problems when opening the ledger -+ with specific scheduled transactions -+ -+2010-04-03 Alvaro Soliverez -+ * Fixed loop in payments of the home page when a schedule is set to -+ end by date -+ - 2010-03-30 Thomas Baumgart - * Backported encoding patch from KDE4 version - * Bumped version number -+ * Released 1.0.4 - - 2010-03-29 Thomas Baumgart - * Updated Finnish translation by Mikael Kujanpaa -diff --git a/configure.in b/configure.in -index 8a6c1b8..1a8dd02 100644 ---- a/configure.in -+++ b/configure.in -@@ -40,7 +40,7 @@ dnl Perform program name transformation - AC_ARG_PROGRAM - - dnl Automake doc recommends to do this only here. (Janos) --AM_INIT_AUTOMAKE(kmymoney2, 1.0.4) dnl searches for some needed programs -+AM_INIT_AUTOMAKE(kmymoney2, 1.0.5) dnl searches for some needed programs - - KDE_SET_PREFIX - -diff --git a/configure.in.in b/configure.in.in -index 3f82103..a90f40f 100644 ---- a/configure.in.in -+++ b/configure.in.in -@@ -1,6 +1,6 @@ - #MIN_CONFIG(3.3.1) - --AM_INIT_AUTOMAKE(kmymoney2,1.0.4) -+AM_INIT_AUTOMAKE(kmymoney2,1.0.5) - - KDE_ENABLE_HIDDEN_VISIBILITY - -diff --git a/kmymoney2/converter/mymoneystatementreader.cpp b/kmymoney2/converter/mymoneystatementreader.cpp -index 6756767..c08dcff 100644 ---- a/kmymoney2/converter/mymoneystatementreader.cpp -+++ b/kmymoney2/converter/mymoneystatementreader.cpp -@@ -664,6 +664,10 @@ void MyMoneyStatementReader::processTransactionEntry(const MyMoneyStatement::Tra - if(!t_in.m_price.isZero()) { - s1.setPrice(t_in.m_price); - } else { -+ if(t_in.m_shares.isZero()) { -+ KMessageBox::information(0, i18n("This imported statement contains investment transactions with no share amount. These transactions will be ignored."), i18n("No share amount provided"), TQString("BlankAmount")); -+ return; -+ } - s1.setPrice(((t_in.m_amount - t_in.m_fees) / t_in.m_shares).convert(MyMoneyMoney::precToDenom(KMyMoneyGlobalSettings::pricePrecision()))); - } - -diff --git a/kmymoney2/mymoney/mymoneyforecast.cpp b/kmymoney2/mymoney/mymoneyforecast.cpp -index bfecce0..c1c88c7 100644 ---- a/kmymoney2/mymoney/mymoneyforecast.cpp -+++ b/kmymoney2/mymoney/mymoneyforecast.cpp -@@ -651,7 +651,7 @@ void MyMoneyForecast::addScheduledTransactions (void) - TQValueList schedule; - - schedule = file->scheduleList("", MyMoneySchedule::TYPE_ANY, MyMoneySchedule::OCCUR_ANY, MyMoneySchedule::STYPE_ANY, -- TQDate::tqcurrentDate(), forecastEndDate()); -+ TQDate(), forecastEndDate()); - if(schedule.count() > 0) { - TQValueList::Iterator it; - do { -@@ -871,8 +871,21 @@ MyMoneyMoney MyMoneyForecast::accountCycleVariation(const MyMoneyAccount& acc) - MyMoneyMoney cycleVariation; - - if (forecastMethod() == eHistoric) { -- for(int t_day = 1; t_day <= accountsCycle() ; ++t_day) { -- cycleVariation += m_accountTrendList[acc.id()][t_day]; -+ switch(historyMethod()) { -+ case 0: -+ case 1: -+ { -+ for(int t_day = 1; t_day <= accountsCycle() ; ++t_day) { -+ cycleVariation += m_accountTrendList[acc.id()][t_day]; -+ } -+ } -+ break; -+ -+ case 2: -+ { -+ cycleVariation = m_accountList[acc.id()][TQDate::currentDate().addDays(accountsCycle())] - m_accountList[acc.id()][TQDate::currentDate()]; -+ } -+ break; - } - } - return cycleVariation; -diff --git a/kmymoney2/reports/pivottable.cpp b/kmymoney2/reports/pivottable.cpp -index db73062..b75ffb9 100644 ---- a/kmymoney2/reports/pivottable.cpp -+++ b/kmymoney2/reports/pivottable.cpp -@@ -825,9 +825,27 @@ void PivotTable::calculateBudgetMapping( void ) - // - // It will choose the first budget in the list for the start year of the report if no budget is select - MyMoneyBudget budget = MyMoneyBudget(); -+ -+ TQValueList budgets = file->budgetList(); -+ bool validBudget = false; -+ -+ //check that the selected budget is valid -+ if (m_config_f.budget() != "Any") { -+ TQValueList::const_iterator budgets_it = budgets.begin(); -+ while( budgets_it != budgets.end() ) { -+ //pick the budget by id -+ if ((*budgets_it).id() == m_config_f.budget()) { -+ budget = file->budget((*budgets_it).id()); -+ validBudget = true; -+ break; -+ } -+ ++budgets_it; -+ } -+ } -+ - //if no budget has been selected -- if (m_config_f.budget() == "Any" ) { -- TQValueList budgets = file->budgetList(); -+ if (!validBudget ) { -+ - TQValueList::const_iterator budgets_it = budgets.begin(); - while( budgets_it != budgets.end() ) { - //pick the first budget that matches the report start year -@@ -843,9 +861,6 @@ void PivotTable::calculateBudgetMapping( void ) - - //assign the budget to the report - m_config_f.setBudget(budget.id(), m_config_f.isIncludingBudgetActuals()); -- } else { -- //pick the budget selected by the user -- budget = file->budget( m_config_f.budget()); - } - - // Dump the budget -diff --git a/kmymoney2/views/kgloballedgerview.cpp b/kmymoney2/views/kgloballedgerview.cpp -index 8209d3f..e82459a 100644 ---- a/kmymoney2/views/kgloballedgerview.cpp -+++ b/kmymoney2/views/kgloballedgerview.cpp -@@ -485,7 +485,12 @@ void KGlobalLedgerView::loadView(void) - break; - - // for all others, we check if the next payment date is still 'in range' -- s.setNextDueDate(s.nextPayment(s.nextDueDate())); -+ TQDate nextDueDate = s.nextPayment(s.nextDueDate()); -+ if (nextDueDate.isValid()) { -+ s.setNextDueDate(nextDueDate); -+ } else { -+ break; -+ } - } - scheduleList.pop_front(); - } -diff --git a/kmymoney2/views/khomeview.cpp b/kmymoney2/views/khomeview.cpp -index 60bb173..8745d64 100644 ---- a/kmymoney2/views/khomeview.cpp -+++ b/kmymoney2/views/khomeview.cpp -@@ -595,6 +595,13 @@ void KHomeView::showPayments(void) - schedule.remove(it); - continue; - } -+ -+ //if nextPayment returns an invalid date, setNextDueDate will just skip it, resulting in a loop -+ //we check the resulting date and erase the schedule if invalid -+ if(!((*it).nextPayment((*it).nextDueDate())).isValid()) { -+ schedule.remove(it); -+ continue; -+ } - - (*it).setNextDueDate((*it).nextPayment((*it).nextDueDate())); - qBubbleSort(schedule); -diff --git a/kmymoney2/views/kinstitutionsview.cpp b/kmymoney2/views/kinstitutionsview.cpp -index 0b9258f..87c0fc1 100644 ---- a/kmymoney2/views/kinstitutionsview.cpp -+++ b/kmymoney2/views/kinstitutionsview.cpp -@@ -161,6 +161,9 @@ void KInstitutionsView::loadAccounts(void) - - // hide it, if unused - noInstitutionItem->setVisible(noInstitutionItem->childCount() != 0); -+ -+ bool showClosedAccounts = kmymoney2->toggleAction("view_show_all_accounts")->isChecked() -+ || !KMyMoneyGlobalSettings::hideClosedAccounts(); - - TQValueList list = file->institutionList(); - TQValueList::const_iterator it_i; -@@ -168,6 +171,8 @@ void KInstitutionsView::loadAccounts(void) - KMyMoneyAccountTreeItem* item = new KMyMoneyAccountTreeItem(m_accountTree, *it_i); - item->setPixmap(0, none.pixmap()); - loadSubAccounts(item, (*it_i).id()); -+ if(!showClosedAccounts) -+ item->setVisible(item->childCount() != 0); - } - - } catch(MyMoneyException *e) { -@@ -201,7 +206,8 @@ void KInstitutionsView::loadAccounts(void) - - void KInstitutionsView::loadSubAccounts(KMyMoneyAccountTreeItem* parent) - { -- bool showClosedAccounts = kmymoney2->toggleAction("view_show_all_accounts")->isChecked(); -+ bool showClosedAccounts = kmymoney2->toggleAction("view_show_all_accounts")->isChecked() -+ || !KMyMoneyGlobalSettings::hideClosedAccounts(); - const MyMoneyAccount& account = dynamic_cast(parent->itemObject()); - TQValueList::const_iterator it_a; - MyMoneyFile* file = MyMoneyFile::instance(); -@@ -230,7 +236,8 @@ void KInstitutionsView::loadSubAccounts(KMyMoneyAccountTreeItem* parent, const T - - TQMap::const_iterator it_a; - MyMoneyMoney value; -- bool showClosedAccounts = kmymoney2->toggleAction("view_show_all_accounts")->isChecked(); -+ bool showClosedAccounts = kmymoney2->toggleAction("view_show_all_accounts")->isChecked() -+ || !KMyMoneyGlobalSettings::hideClosedAccounts(); - - for(it_a = m_accountMap.begin(); it_a != m_accountMap.end(); ++it_a) { - const MyMoneyAccount& acc = *it_a; -diff --git a/kmymoney2/widgets/stdtransactionmatched.cpp b/kmymoney2/widgets/stdtransactionmatched.cpp -index 833c88e..9900c3c 100644 ---- a/kmymoney2/widgets/stdtransactionmatched.cpp -+++ b/kmymoney2/widgets/stdtransactionmatched.cpp -@@ -179,6 +179,8 @@ - memo = memo.left(pos); - if(memo.endsWith("\n")) - memo = memo.left(pos-1); -+ // replace all new line characters because we only have one line available for the displayed data -+ memo.replace('\n', " "); - } - } - txt = TQString("%1 %2").tqarg(postDate.toString(Qt::ISODate)).tqarg(memo); diff --git a/redhat/applications/kmymoney/kmymoney-3.5.13.1.spec b/redhat/applications/kmymoney/kmymoney-3.5.13.1.spec deleted file mode 100644 index 9cc8c496b..000000000 --- a/redhat/applications/kmymoney/kmymoney-3.5.13.1.spec +++ /dev/null @@ -1,277 +0,0 @@ -# Default version for this component -%define kdecomp kmymoney - -# Required for Mageia 2: removes the ldflag '--no-undefined' -%define _disable_ld_no_undefined 1 - -%if 0%{?mgaversion} || 0%{?mdkversion} -%define qt3pluginsdir %{_libdir}/qt3/plugins -%endif -%if 0%{?rhel} || 0%{?fedora} -%define qt3pluginsdir %{_libdir}/qt-3.3/plugins -%endif -%if 0%{?suse_version} -%define qt3pluginsdir /usr/lib/qt3/plugins -%endif - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: personal finance manager for TDE - -Version: 1.0.5 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz -Source1: kmymoneytitlelabel.png - -# [kmymoney] Missing LDFLAGS causing FTBFS -Patch4: kmymoney-3.5.13-missing_ldflags.patch - -# [kmymoney] Fix QT3 plugins directory location -Patch5: kmymoney-3.5.13-fix_qt3_plugins_location.patch - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-arts-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils - -BuildRequires: recode -BuildRequires: html2ps -BuildRequires: libofx-devel - -%if 0%{?mgaversion} || 0%{?pclinuxos} -BuildRequires: %{_lib}OpenSP5-devel -%else -BuildRequires: opensp-devel -%endif - -Requires: %{name}-common == %{version} - -%description -KMyMoney is the Personal Finance Manager for TDE. It operates similar to -MS-Money and Quicken, supports different account types, categorisation of -expenses, QIF import/export, multiple currencies and initial online banking -support. - - -%package common -Summary: KMyMoney architecture independent files -Group: Applications/Utilities -Requires: %{name} == %{version} - -%description common -This package contains architecture independent files needed for KMyMoney to -run properly. It also provides KMyMoney documentation. Therefore, unless you -have '%{name}' package installed, you will hardly find this package useful. - - -%package devel -Summary: KMyMoney development files -Group: Development/Libraries -Requires: %{name} == %{version} - -%description devel -This package contains development files needed for KMyMoney plugins. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 -%if 0%{?mgaversion} || 0%{?mdkversion} -%patch5 -p1 -b .qtpluginsdir -%endif - -%__install -m644 %{SOURCE1} kmymoney2/widgets/ - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" -export KDEDIR=%{tde_prefix} - -# Required to find the QT3 plugins directory -%if 0%{?mgaversion} || 0%{?mdkversion} -export QTPLUGINS=%{_libdir}/qt3/plugins -%endif - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure \ - --enable-pdf-docs \ - --enable-ofxplugin \ - --enable-ofxbanking \ - --enable-qtdesigner \ - --enable-sqlite3 - -# Fix FTBFS inside sqlite3 archive -patch -p1 < %{PATCH4} - -%__make %{?_smp_mflags} - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} - -# Required to find the QT3 plugins directory -%if 0%{?mgaversion} || 0%{?mdkversion} -export QTPLUGINS=%{_libdir}/qt3/plugins -%endif - -%__make install DESTDIR=%{buildroot} - - - - -## File lists -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then - for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi - done -fi - -%find_lang kmymoney2 - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -/sbin/ldconfig -for f in hicolor locolor Tango oxygen; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - -%postun -update-desktop-database %{tde_appdir} > /dev/null -/sbin/ldconfig -for f in hicolor locolor Tango oxygen; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - -%files -%defattr(-,root,root,-) -%{tde_bindir}/kmymoney -%{tde_bindir}/kmymoney2 -%{tde_tdeappdir}/kmymoney2.desktop -%{tde_datadir}/mimelnk/application/x-kmymoney2.desktop -%{tde_datadir}/servicetypes/kmymoneyimporterplugin.desktop -%{tde_datadir}/servicetypes/kmymoneyplugin.desktop -%{tde_libdir}/*.so.* -%{tde_tdelibdir}/kmm_ofximport.la -%{tde_tdelibdir}/kmm_ofximport.so - -%files common -f kmymoney2.lang -%defattr(-,root,root,-) -%{tde_datadir}/apps/kmymoney2/html/ -%{tde_datadir}/apps/kmymoney2/icons/*/*/*/*.png -%{tde_datadir}/apps/kmymoney2/kmymoney2ui.rc -%{tde_datadir}/apps/kmymoney2/misc/financequote.pl -%{tde_datadir}/apps/kmymoney2/pics/*.png -%{tde_datadir}/apps/kmymoney2/templates/*/*.kmt -%{tde_datadir}/apps/kmymoney2/tips -%{tde_datadir}/config.kcfg/kmymoney2.kcfg -%{tde_datadir}/icons/hicolor/*/*/*.png -%{tde_datadir}/icons/Tango/*/*/*.png -%{tde_datadir}/icons/Tango/scalable/*.svgz -%{tde_datadir}/icons/locolor/*/*/*.png -%{tde_datadir}/icons/oxygen/*/*/*.png -%{tde_datadir}/icons/oxygen/scalable/*.svgz -%{tde_tdedocdir}/HTML/en/kmymoney2/ -%{tde_mandir}/man1/kmymoney2.* -%{tde_datadir}/apps/kmm_ofximport/kmm_ofximport.rc -%{tde_datadir}/services/kmm_ofximport.desktop - - -%files devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/kmymoney/*.h -%{tde_libdir}/libkmm_kdchart.la -%{tde_libdir}/libkmm_mymoney.la -%{tde_libdir}/libkmm_plugin.la -%{tde_libdir}/*.so -%{qt3pluginsdir}/sqldrivers/libsqlite3*.so -%{qt3pluginsdir}/designer/libkmymoney.so - -%changelog -* Wed Oct 03 2012 Francois Andriot - 1.0.5-3 -- Initial release for TDE 3.5.13.1 - -* Wed May 02 2012 Francois Andriot - 1.0.5-2 -- Rebuild for Fedora 17 -- Fix compilation with GCC 4.7 [Bug #958] - -* Sun Jan 15 2012 Francois Andriot - 1.0.5-1 -- Updates to upstream 1.0.5 - -* Sun Oct 30 2011 Francois Andriot - 1.0.4-1 -- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 diff --git a/redhat/applications/kmymoney/kmymoney-3.5.13.2-ftbfs.patch b/redhat/applications/kmymoney/kmymoney-3.5.13.2-ftbfs.patch deleted file mode 100644 index 87e022f0f..000000000 --- a/redhat/applications/kmymoney/kmymoney-3.5.13.2-ftbfs.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- ./kmymoney2/widgets/Makefile.am.ftbfs 2013-06-06 19:37:02.000000000 +0200 -+++ ./kmymoney2/widgets/Makefile.am 2013-07-28 18:58:51.406093917 +0200 -@@ -7,14 +7,14 @@ - libwidgets_a_METASOURCES = AUTO - - libwidgets_a_SOURCES = kbudgetvalues.cpp kbudgetvaluesdecl.ui kguiutils.cpp klistviewsearchline.cpp kmymoneyaccountcombo.cpp kmymoneyaccountcompletion.cpp kmymoneyaccountselector.cpp kmymoneyaccounttreebase.cpp kmymoneyaccounttree.cpp kmymoneyaccounttreebudget.cpp kmymoneyaccounttreeforecast.cpp kmymoneybriefschedule.cpp kmymoneycalculator.cpp kmymoneycalendar.cpp kmymoneycategory.cpp kmymoneychecklistitem.cpp kmymoneycombo.cpp kmymoneycompletion.cpp kmymoneycurrencyselector.cpp kmymoneydateinput.cpp kmymoneydatetbl.cpp kmymoneyedit.cpp kmymoneyforecastlistviewitem.cpp kmymoneygpgconfig.cpp kmymoneygpgconfigdecl.ui kmymoneylineedit.cpp kmymoneylistviewitem.cpp kmymoneyonlinequoteconfig.cpp kmymoneyonlinequoteconfigdecl.ui kmymoneypriceview.cpp kmymoneyreportconfigtab1decl.ui kmymoneyreportconfigtab2decl.ui kmymoneyreportconfigtab3decl.ui kmymoneyreportconfigtabchartdecl.ui kmymoneyreportcontroldecl.ui kmymoneyscheduledcalendar.cpp kmymoneyscheduleddatetbl.cpp kmymoneyselector.cpp kmymoneytitlelabel.cpp kmymoneywizard.cpp kschedulebriefwidget.ui register.cpp registeritem.cpp registersearchline.cpp transaction.cpp scheduledtransaction.cpp stdtransactiondownloaded.cpp stdtransactionmatched.cpp transactioneditorcontainer.cpp transactionform.cpp kaccounttemplateselectordecl.ui kaccounttemplateselector.cpp \ --transactionsortoption.cpp transactionsortoption.ui \ -+transactionsortoption.ui \ - selectedtransaction.cpp - - #libwidgets_a_SOURCES = kmymoneyregisterinvestment.cpp kmymoneyequity.cpp kmymoneyequitycompletion.cpp kmymoneycompletion.cpp kmymoneyequityselector.cpp kmymoneyaccountcombo.cpp kmymoneyaccountcompletion.cpp kmymoneycurrencyselector.cpp kmymoneypriceview.cpp kmymoneypriceviewdecl.ui kschedulebriefwidget.ui kmymoneyaccountselector.cpp kmymoneyregisterloan.cpp kmymoneyregistersearch.cpp kmymoneybriefschedule.cpp kmymoneyscheduleddatetbl.cpp kmymoneydatetbl.cpp kmymoneyscheduledcalendar.cpp kmymoneycalendar.cpp kmymoneycalculator.cpp kmymoneycategory.cpp kmymoneypayee.cpp kmymoneytransactionform.cpp kmymoneyregistercheckings.cpp kmymoneyregister.cpp kmymoneycombo.cpp kmymoneyhlayout.cpp kmymoneylineedit.cpp kmymoneyedit.cpp kmymoneydateinput.cpp kmymoneyreportcontroldecl.ui kmymoneyreportconfigtab1decl.ui kmymoneyreportconfigtab2decl.ui kmymoneyreportconfigtab3decl.ui kmymoneyreportconfigtabchartdecl.ui kmymoneyonlinequoteconfig.cpp kmymoneyonlinequoteconfigdecl.ui kmymoneyaccounttree.cpp kmymoneygpgconfigdecl.ui kmymoneygpgconfig.cpp kmymoneytitlelabel.cpp kguiutils.cpp kmymoneywizard.cpp kmymoneyaccounttreebudget.cpp kmymoneyaccounttreeforecast.cpp \ - #register.cpp registeritem.cpp transaction.cpp transactionform.cpp transactioneditor.cpp transactioneditorcontainer.cpp kmymoneychecklistitem.cpp kmymoneylistviewitem.cpp kmymoneyforecastlistviewitem.cpp kmymoneyselector.cpp \ - #transactionsortoption.ui - --EXTRA_DIST = kmymoney.widgets kmymoneygpgconfigdecl.ui kmymoneyonlinequoteconfigdecl.ui kmymoneyreportconfigtab1decl.ui kmymoneyreportconfigtab2decl.ui kmymoneyreportconfigtab3decl.ui kmymoneyreportcontroldecl.ui kschedulebriefwidget.ui kmymoneyreportconfigtabchartdecl.ui transactionsortoption.ui transactionsortoption.ui.h sortoptionlistitem.h kbudgetvaluesdecl.ui kaccounttemplateselectordecl.ui -+EXTRA_DIST = kmymoney.widgets kmymoneygpgconfigdecl.ui kmymoneyonlinequoteconfigdecl.ui kmymoneyreportconfigtab1decl.ui kmymoneyreportconfigtab2decl.ui kmymoneyreportconfigtab3decl.ui kmymoneyreportcontroldecl.ui kschedulebriefwidget.ui kmymoneyreportconfigtabchartdecl.ui transactionsortoption.ui.h sortoptionlistitem.h kbudgetvaluesdecl.ui kaccounttemplateselectordecl.ui - - # include the widgets that are available to 3rd party sw (e.g. plugins or - # Qt designer) here diff --git a/redhat/applications/kmymoney/kmymoney-3.5.13.2.spec b/redhat/applications/kmymoney/kmymoney-3.5.13.2.spec deleted file mode 100644 index ce17fff0b..000000000 --- a/redhat/applications/kmymoney/kmymoney-3.5.13.2.spec +++ /dev/null @@ -1,268 +0,0 @@ -# Default version for this component -%define tde_pkg kmymoney -%define tde_version 3.5.13.2 - -# Required for Mageia 2: removes the ldflag '--no-undefined' -%define _disable_ld_no_undefined 1 - -%if 0%{?mgaversion} || 0%{?mdkversion} -%define qt3pluginsdir %{_libdir}/qt3/plugins -%endif -%if 0%{?rhel} || 0%{?fedora} -%define qt3pluginsdir %{_libdir}/qt-3.3/plugins -%endif -%if 0%{?suse_version} -%define qt3pluginsdir /usr/lib/qt3/plugins -%endif - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tde_pkg} -Summary: personal finance manager for TDE - -Version: 1.0.5 -Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz -Source1: kmymoneytitlelabel.png - -# [kmymoney] Fix FTBFS -Patch1: kmymoney-3.5.13.2-ftbfs.patch - -# [admin] Fix automake 1.13 build issue -Patch2: admin-fix-parallel-test.diff - -# [kmymoney] Missing LDFLAGS causing FTBFS -Patch4: kmymoney-3.5.13-missing_ldflags.patch - -# [kmymoney] Fix QT3 plugins directory location -Patch5: kmymoney-3.5.13-fix_qt3_plugins_location.patch - -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-arts-devel >= 1:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: recode -BuildRequires: libofx-devel - -# OPENSP support -%if 0%{?mgaversion} || 0%{?pclinuxos} || 0%{?mdkversion} -%if 0%{?mgaversion} || 0%{?pclinuxos} -%if 0%{?mgaversion} >= 4 -BuildRequires: %{_lib}osp-devel -%else -BuildRequires: %{_lib}OpenSP5-devel -%endif -%else -BuildRequires: opensp-devel -%endif -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} -BuildRequires: opensp-devel -%endif -%if 0%{?rhel} == 4 -BuildRequires: openjade-devel -%endif - -Requires: %{name}-common == %{version}-%{release} - -%description -KMyMoney is the Personal Finance Manager for TDE. It operates similar to -MS-Money and Quicken, supports different account types, categorisation of -expenses, QIF import/export, multiple currencies and initial online banking -support. - - -%package common -Summary: KMyMoney architecture independent files -Group: Applications/Utilities -Requires: %{name} == %{version} - -%description common -This package contains architecture independent files needed for KMyMoney to -run properly. It also provides KMyMoney documentation. Therefore, unless you -have '%{name}' package installed, you will hardly find this package useful. - - -%package devel -Summary: KMyMoney development files -Group: Development/Libraries -Requires: %{name} == %{version} - -%description devel -This package contains development files needed for KMyMoney plugins. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} -%patch1 -p1 -b .ftbfs -%patch2 -p1 -b .automake113 -%if 0%{?mgaversion} || 0%{?mdkversion} -%patch5 -p1 -b .qtpluginsdir -%endif - -%__install -m644 %{SOURCE1} kmymoney2/widgets/ - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR QTINC QTLIB -. /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" -export KDEDIR="%{tde_prefix}" - -# Required to find the QT3 plugins directory -%if 0%{?mgaversion} || 0%{?mdkversion} -export QTPLUGINS="%{_libdir}/qt3/plugins" -%endif - -# Fix strange FTBFS on RHEL4 -%if 0%{?rhel} == 4 -grep -v "^#~" po/it.po >/tmp/it.po && mv -f /tmp/it.po po/it.po -%endif - -# Warning: --enable-final causes FTBFS -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --disable-final \ - --enable-closure \ - --enable-rpath \ - \ - --disable-pdf-docs \ - --enable-ofxplugin \ - --enable-ofxbanking \ - --enable-qtdesigner \ - --enable-sqlite3 - -# Fix FTBFS inside sqlite3 archive -patch -p1 < %{PATCH4} - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} - -# Required to find the QT3 plugins directory -%if 0%{?mgaversion} || 0%{?mdkversion} -export QTPLUGINS=%{_libdir}/qt3/plugins -%endif - -%__make install DESTDIR=%{buildroot} - -%find_lang kmymoney2 - - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -/sbin/ldconfig -for f in hicolor locolor Tango oxygen; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - -%postun -update-desktop-database %{tde_appdir} > /dev/null -/sbin/ldconfig -for f in hicolor locolor Tango oxygen; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - - -%files -%defattr(-,root,root,-) -%{tde_bindir}/kmymoney -%{tde_bindir}/kmymoney2 -%{tde_tdeappdir}/kmymoney2.desktop -%{tde_datadir}/mimelnk/application/x-kmymoney2.desktop -%{tde_datadir}/servicetypes/kmymoneyimporterplugin.desktop -%{tde_datadir}/servicetypes/kmymoneyplugin.desktop -%{tde_libdir}/*.so.* -%{tde_tdelibdir}/kmm_ofximport.la -%{tde_tdelibdir}/kmm_ofximport.so - -%files common -f kmymoney2.lang -%defattr(-,root,root,-) -%{tde_datadir}/apps/kmymoney2/html/ -%{tde_datadir}/apps/kmymoney2/icons/*/*/*/*.png -%{tde_datadir}/apps/kmymoney2/kmymoney2ui.rc -%{tde_datadir}/apps/kmymoney2/misc/financequote.pl -%{tde_datadir}/apps/kmymoney2/pics/*.png -%{tde_datadir}/apps/kmymoney2/templates/*/*.kmt -%{tde_datadir}/apps/kmymoney2/tips -%{tde_datadir}/config.kcfg/kmymoney2.kcfg -%{tde_datadir}/icons/hicolor/*/*/*.png -%{tde_datadir}/icons/Tango/*/*/*.png -%{tde_datadir}/icons/Tango/scalable/*.svgz -%{tde_datadir}/icons/locolor/*/*/*.png -%{tde_datadir}/icons/oxygen/*/*/*.png -%{tde_datadir}/icons/oxygen/scalable/*.svgz -%{tde_tdedocdir}/HTML/en/kmymoney2/ -%{tde_mandir}/man1/kmymoney2.* -%{tde_datadir}/apps/kmm_ofximport/kmm_ofximport.rc -%{tde_datadir}/services/kmm_ofximport.desktop - - -%files devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/kmymoney/*.h -%{tde_libdir}/libkmm_kdchart.la -%{tde_libdir}/libkmm_mymoney.la -%{tde_libdir}/libkmm_plugin.la -%{tde_libdir}/*.so -%{qt3pluginsdir}/sqldrivers/libsqlite3*.so -%{qt3pluginsdir}/designer/libkmymoney.so - -%changelog diff --git a/redhat/applications/kmymoney/kmymoney-3.5.13.spec b/redhat/applications/kmymoney/kmymoney-3.5.13.spec deleted file mode 100644 index dfe995a5f..000000000 --- a/redhat/applications/kmymoney/kmymoney-3.5.13.spec +++ /dev/null @@ -1,278 +0,0 @@ -# Default version for this component -%define kdecomp kmymoney - -# Required for Mageia 2: removes the ldflag '--no-undefined' -%define _disable_ld_no_undefined 1 - -%if 0%{?mgaversion} || 0%{?mdkversion} -%define qt3pluginsdir %{_libdir}/qt3/plugins -%else -%define qt3pluginsdir %{_libdir}/qt-3.3/plugins -%endif - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: personal finance manager for TDE - -Version: 1.0.5 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz -Source1: kmymoneytitlelabel.png -Patch0: kmymoney-3.5.13-recode_ftbfs.patch - -# TDE Commit: 2a54aa58cfe166f48d6f1395cbc6c9bfd5e31bfc -Patch1: kmymoney-3.5.13-lots_of_crash.patch - -# TDE Commit: 8654cea10f6902719006d5975db7dc07b2fcc713 -Patch2: kmymoney-3.5.13-update_to_1.0.5.patch - -# [kmymoney] Fix compilation with GCC 4.7 [Bug #958] -Patch3: kmymoney-3.5.13-fix_gcc47_compilation.patch - -# [kmymoney] Missing LDFLAGS causing FTBFS -Patch4: kmymoney-3.5.13-missing_ldflags.patch - -# [kmymoney] Fix QT3 plugins directory location -Patch5: kmymoney-3.5.13-fix_qt3_plugins_location.patch - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-arts-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils - -BuildRequires: recode -BuildRequires: html2ps -BuildRequires: libofx-devel - -%if 0%{?mgaversion} -BuildRequires: %{_lib}OpenSP5-devel -%else -BuildRequires: opensp-devel -%endif - -Requires: %{name}-common == %{version} - -%description -KMyMoney is the Personal Finance Manager for TDE. It operates similar to -MS-Money and Quicken, supports different account types, categorisation of -expenses, QIF import/export, multiple currencies and initial online banking -support. - - -%package common -Summary: KMyMoney architecture independent files -Group: Applications/Utilities -Requires: %{name} == %{version} - -%description common -This package contains architecture independent files needed for KMyMoney to -run properly. It also provides KMyMoney documentation. Therefore, unless you -have '%{name}' package installed, you will hardly find this package useful. - - -%package devel -Summary: KMyMoney development files -Group: Development/Libraries -Requires: %{name} == %{version} - -%description devel -This package contains development files needed for KMyMoney plugins. - - -%prep -%setup -q -n applications/%{kdecomp} -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%if 0%{?mgaversion} || 0%{?mdkversion} -%patch5 -p1 -b .qtpluginsdir -%endif - -%__install -m644 %{SOURCE1} kmymoney2/widgets/ - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -# Required to find the QT3 plugins directory -%if 0%{?mgaversion} || 0%{?mdkversion} -export QTPLUGINS=%{_libdir}/qt3/plugins -%endif - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure \ - --enable-pdf-docs \ - --enable-ofxplugin \ - --enable-ofxbanking \ - --enable-qtdesigner \ - --enable-sqlite3 - -# Fix FTBFS inside sqlite3 archive -patch -p1 < %{PATCH4} - -%__make %{?_smp_mflags} - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} - -# Required to find the QT3 plugins directory -%if 0%{?mgaversion} || 0%{?mdkversion} -export QTPLUGINS=%{_libdir}/qt3/plugins -%endif - -%__make install DESTDIR=%{buildroot} - - - - -## File lists -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then - for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi - done -fi - -%find_lang kmymoney2 - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -/sbin/ldconfig -for f in hicolor locolor Tango oxygen; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - -%postun -update-desktop-database %{tde_appdir} > /dev/null -/sbin/ldconfig -for f in hicolor locolor Tango oxygen; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - -%files -%defattr(-,root,root,-) -%{tde_bindir}/kmymoney -%{tde_bindir}/kmymoney2 -%{tde_tdeappdir}/kmymoney2.desktop -%{tde_datadir}/mimelnk/application/x-kmymoney2.desktop -%{tde_datadir}/servicetypes/kmymoneyimporterplugin.desktop -%{tde_datadir}/servicetypes/kmymoneyplugin.desktop -%{tde_libdir}/*.so.* -%{tde_tdelibdir}/kmm_ofximport.la -%{tde_tdelibdir}/kmm_ofximport.so - -%files common -f kmymoney2.lang -%defattr(-,root,root,-) -%{tde_datadir}/apps/kmymoney2/html/ -%{tde_datadir}/apps/kmymoney2/icons/*/*/*/*.png -%{tde_datadir}/apps/kmymoney2/kmymoney2ui.rc -%{tde_datadir}/apps/kmymoney2/misc/financequote.pl -%{tde_datadir}/apps/kmymoney2/pics/*.png -%{tde_datadir}/apps/kmymoney2/templates/*/*.kmt -%{tde_datadir}/apps/kmymoney2/tips -%{tde_datadir}/config.kcfg/kmymoney2.kcfg -%{tde_datadir}/icons/hicolor/*/*/*.png -%{tde_datadir}/icons/Tango/*/*/*.png -%{tde_datadir}/icons/Tango/scalable/*.svgz -%{tde_datadir}/icons/locolor/*/*/*.png -%{tde_datadir}/icons/oxygen/*/*/*.png -%{tde_datadir}/icons/oxygen/scalable/*.svgz -%{tde_tdedocdir}/HTML/en/kmymoney2/ -%{tde_mandir}/man1/kmymoney2.* -%{tde_datadir}/apps/kmm_ofximport/kmm_ofximport.rc -%{tde_datadir}/services/kmm_ofximport.desktop - - -%files devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/kmymoney/*.h -%{tde_libdir}/libkmm_kdchart.la -%{tde_libdir}/libkmm_mymoney.la -%{tde_libdir}/libkmm_plugin.la -%{tde_libdir}/*.so -%{qt3pluginsdir}/sqldrivers/libsqlite3*.so -%{qt3pluginsdir}/designer/libkmymoney.so - -%Changelog -* Wed May 02 2012 Francois Andriot - 1.0.5-2 -- Rebuild for Fedora 17 -- Fix compilation with GCC 4.7 [Bug #958] - -* Sun Jan 15 2012 Francois Andriot - 1.0.5-1 -- Updates to upstream 1.0.5 - -* Sun Oct 30 2011 Francois Andriot - 1.0.4-1 -- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 diff --git a/redhat/applications/knemo/knemo-3.5.13.1.spec b/redhat/applications/knemo/knemo-3.5.13.1.spec deleted file mode 100644 index 4072c693b..000000000 --- a/redhat/applications/knemo/knemo-3.5.13.1.spec +++ /dev/null @@ -1,143 +0,0 @@ -# Default version for this component -%define kdecomp knemo - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: network interfaces monitor for the Trinity systray -Version: 0.4.8 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://beta.smileaf.org/projects - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -KNemo displays an icon in the systray for every network interface. -Tooltips and an info dialog provide further information about the -interface. Passive popups inform about interface changes. -A traffic plotter is also integrated. - -knemo polls the network interface status every second using the -ifconfig, route and iwconfig tools. - -Homepage: http://extragear.kde.org/apps/knemo/ - - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/crystalsvg || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/crystalsvg || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : - - -%files -%defattr(-,root,root,-) -%{tde_tdelibdir}/kcm_knemo.la -%{tde_tdelibdir}/kcm_knemo.so -%{tde_tdelibdir}/kded_knemod.la -%{tde_tdelibdir}/kded_knemod.so -%{tde_tdeappdir}/kcm_knemo.desktop -%{tde_datadir}/apps/knemo/eventsrc -%{tde_datadir}/icons/crystalsvg/*/*/*.png -%{tde_datadir}/locale/*/LC_MESSAGES/knemod.mo -%{tde_datadir}/locale/*/LC_MESSAGES/kcm_knemo.mo -%{tde_datadir}/services/kded/knemod.desktop - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.4.8-3 -- Initial release for TDE 3.5.13.1 - -* Wed May 02 2012 Francois Andriot - 0.4.8-2 -- Rebuild for Fedora 17 - -* Fri Nov 25 2011 Francois Andriot - 0.4.8-1 -- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/knemo/knemo-3.5.13.2.spec b/redhat/applications/knemo/knemo-3.5.13.2.spec deleted file mode 100644 index efdd7ccfc..000000000 --- a/redhat/applications/knemo/knemo-3.5.13.2.spec +++ /dev/null @@ -1,136 +0,0 @@ -# Default version for this component -%define tde_pkg knemo -%define tde_version 3.5.13.2 - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tde_pkg} -Summary: network interfaces monitor for the Trinity systray -Version: 0.4.8 -Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://beta.smileaf.org/projects - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-arts-devel >= 1:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: gettext - -%if 0%{?fedora} >= 18 -BuildRequires: net-tools -%endif - - -%description -KNemo displays an icon in the systray for every network interface. -Tooltips and an info dialog provide further information about the -interface. Passive popups inform about interface changes. -A traffic plotter is also integrated. - -knemo polls the network interface status every second using the -ifconfig, route and iwconfig tools. - -Homepage: http://extragear.kde.org/apps/knemo/ - - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --enable-final \ - --enable-closure \ - --enable-rpath - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/crystalsvg || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/crystalsvg || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : - - -%files -%defattr(-,root,root,-) -%{tde_tdelibdir}/kcm_knemo.la -%{tde_tdelibdir}/kcm_knemo.so -%{tde_tdelibdir}/kded_knemod.la -%{tde_tdelibdir}/kded_knemod.so -%{tde_tdeappdir}/kcm_knemo.desktop -%{tde_datadir}/apps/knemo/eventsrc -%{tde_datadir}/icons/crystalsvg/*/*/*.png -%{tde_datadir}/locale/*/LC_MESSAGES/knemod.mo -%{tde_datadir}/locale/*/LC_MESSAGES/kcm_knemo.mo -%{tde_datadir}/services/kded/knemod.desktop - - -%changelog diff --git a/redhat/applications/knemo/knemo-3.5.13.spec b/redhat/applications/knemo/knemo-3.5.13.spec deleted file mode 100644 index b316cf6b5..000000000 --- a/redhat/applications/knemo/knemo-3.5.13.spec +++ /dev/null @@ -1,135 +0,0 @@ -# Default version for this component -%define kdecomp knemo - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: network interfaces monitor for the Trinity systray -Version: 0.4.8 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://beta.smileaf.org/projects - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -KNemo displays an icon in the systray for every network interface. -Tooltips and an info dialog provide further information about the -interface. Passive popups inform about interface changes. -A traffic plotter is also integrated. - -knemo polls the network interface status every second using the -ifconfig, route and iwconfig tools. - -Homepage: http://extragear.kde.org/apps/knemo/ - - - -%prep -%setup -q -n applications/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/crystalsvg || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/crystalsvg || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : - - -%files -%defattr(-,root,root,-) -%{tde_tdelibdir}/kcm_knemo.la -%{tde_tdelibdir}/kcm_knemo.so -%{tde_tdelibdir}/kded_knemod.la -%{tde_tdelibdir}/kded_knemod.so -%{tde_tdeappdir}/kcm_knemo.desktop -%{tde_datadir}/apps/knemo/eventsrc -%{tde_datadir}/icons/crystalsvg/*/*/*.png -%{tde_datadir}/locale/*/LC_MESSAGES/knemod.mo -%{tde_datadir}/locale/*/LC_MESSAGES/kcm_knemo.mo -%{tde_datadir}/services/kded/knemod.desktop - - -%Changelog -* Wed May 02 2012 Francois Andriot - 0.4.8-2 -- Rebuild for Fedora 17 - -* Fri Nov 25 2011 Francois Andriot - 0.4.8-1 -- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/knetload/knetload-3.5.13.1.spec b/redhat/applications/knetload/knetload-3.5.13.1.spec deleted file mode 100644 index 0dc01dc02..000000000 --- a/redhat/applications/knetload/knetload-3.5.13.1.spec +++ /dev/null @@ -1,144 +0,0 @@ -# Default version for this component -%define kdecomp knetload - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: a network meter for Kicker [Trinity] -Version: 2.3 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -KNetLoad is a small network meter for Kicker (the KDE panel). It shows -a recent history of network usage in the form of two configurable -diagrams in the system tray, one for incoming and one for outgoing -data. These diagrams have settings for colours and various different -styles. - -KNetLoad can monitor just about any network device. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - - - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -for f in crystalsvg locolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - -%postun -update-desktop-database %{tde_appdir} > /dev/null -for f in crystalsvg locolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/knetload -%{tde_tdeappdir}/knetload.desktop -%{tde_datadir}/apps/knetload -%{tde_datadir}/icons/crystalsvg/*/apps/knetload.png -%{tde_datadir}/icons/locolor/*/apps/knetload.png - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 2.3-3 -- Initial release for TDE 3.5.13.1 - -* Wed May 02 2012 Francois Andriot - 2.3-2 -- Rebuild for Fedora 17 - -* Wed Nov 30 2011 Francois Andriot - 2.3-1 -- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/knetload/knetload-3.5.13.2.spec b/redhat/applications/knetload/knetload-3.5.13.2.spec deleted file mode 100644 index f61799be5..000000000 --- a/redhat/applications/knetload/knetload-3.5.13.2.spec +++ /dev/null @@ -1,132 +0,0 @@ -# Default version for this component -%define tde_pkg knetload -%define tde_version 3.5.13.2 - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tde_pkg} -Summary: a network meter for Kicker [Trinity] -Version: 2.3 -Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-arts-devel >= 1:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: gettext - - -%description -KNetLoad is a small network meter for Kicker (the TDE panel). It shows -a recent history of network usage in the form of two configurable -diagrams in the system tray, one for incoming and one for outgoing -data. These diagrams have settings for colours and various different -styles. - -KNetLoad can monitor just about any network device. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --enable-final \ - --enable-closure \ - --enable-rpath - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{tde_pkg} - - - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -for f in crystalsvg locolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - -%postun -update-desktop-database %{tde_appdir} > /dev/null -for f in crystalsvg locolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%{tde_bindir}/knetload -%{tde_tdeappdir}/knetload.desktop -%{tde_datadir}/apps/knetload -%{tde_datadir}/icons/crystalsvg/*/apps/knetload.png -%{tde_datadir}/icons/locolor/*/apps/knetload.png - - -%changelog diff --git a/redhat/applications/knetload/knetload-3.5.13.spec b/redhat/applications/knetload/knetload-3.5.13.spec deleted file mode 100644 index 0d4293016..000000000 --- a/redhat/applications/knetload/knetload-3.5.13.spec +++ /dev/null @@ -1,136 +0,0 @@ -# Default version for this component -%define kdecomp knetload - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: a network meter for Kicker [Trinity] -Version: 2.3 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -KNetLoad is a small network meter for Kicker (the KDE panel). It shows -a recent history of network usage in the form of two configurable -diagrams in the system tray, one for incoming and one for outgoing -data. These diagrams have settings for colours and various different -styles. - -KNetLoad can monitor just about any network device. - - -%prep -%setup -q -n applications/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - - - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -for f in crystalsvg locolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - -%postun -update-desktop-database %{tde_appdir} > /dev/null -for f in crystalsvg locolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/knetload -%{tde_tdeappdir}/knetload.desktop -%{tde_datadir}/apps/knetload -%{tde_datadir}/icons/crystalsvg/*/apps/knetload.png -%{tde_datadir}/icons/locolor/*/apps/knetload.png - - -%Changelog -* Wed May 02 2012 Francois Andriot - 2.3-2 -- Rebuild for Fedora 17 - -* Wed Nov 30 2011 Francois Andriot - 2.3-1 -- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/knetstats/knetstats-3.5.13.1.spec b/redhat/applications/knetstats/knetstats-3.5.13.1.spec deleted file mode 100644 index 0d12ef070..000000000 --- a/redhat/applications/knetstats/knetstats-3.5.13.1.spec +++ /dev/null @@ -1,132 +0,0 @@ -# Default version for this component -%define kdecomp knetstats - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: network interfaces monitor for the Trinity systray -Version: 1.6.1 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -A simple KDE network monitor that show rx/tx LEDs of any -network interface on a system tray icon - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - - - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/knetstats -%{tde_tdeappdir}/knetstats.desktop -%{tde_datadir}/apps/knetstats -%{tde_tdedocdir}/HTML/en/knetstats/ -%{tde_datadir}/icons/hicolor/*/apps/knetstats.png - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 1.6.1-2 -- Initial release for TDE 3.5.13.1 - -* Wed Nov 30 2011 Francois Andriot - 1.6.1-1 -- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/knetstats/knetstats-3.5.13.2.spec b/redhat/applications/knetstats/knetstats-3.5.13.2.spec deleted file mode 100644 index d38b4db5c..000000000 --- a/redhat/applications/knetstats/knetstats-3.5.13.2.spec +++ /dev/null @@ -1,123 +0,0 @@ -# Default version for this component -%define tde_pkg knetstats -%define tde_version 3.5.13.2 - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tde_pkg} -Summary: network interfaces monitor for the Trinity systray -Version: 1.6.1 -Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-arts-devel >= 1:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: gettext - - -%description -A simple TDE network monitor that show rx/tx LEDs of any -network interface on a system tray icon - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --enable-final \ - --enable-closure \ - --enable-rpath - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{tde_pkg} - - - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%{tde_bindir}/knetstats -%{tde_tdeappdir}/knetstats.desktop -%{tde_datadir}/apps/knetstats -%{tde_tdedocdir}/HTML/en/knetstats/ -%{tde_datadir}/icons/hicolor/*/apps/knetstats.png - - -%changelog diff --git a/redhat/applications/knetstats/knetstats-3.5.13.spec b/redhat/applications/knetstats/knetstats-3.5.13.spec deleted file mode 100644 index 17a63d2bf..000000000 --- a/redhat/applications/knetstats/knetstats-3.5.13.spec +++ /dev/null @@ -1,124 +0,0 @@ -# Default version for this component -%define kdecomp knetstats - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: network interfaces monitor for the Trinity systray -Version: 1.6.1 -Release: 1%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -A simple KDE network monitor that show rx/tx LEDs of any -network interface on a system tray icon - - -%prep -%setup -q -n applications/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - - - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/knetstats -%{tde_tdeappdir}/knetstats.desktop -%{tde_datadir}/apps/knetstats -%{tde_tdedocdir}/HTML/en/knetstats/ -%{tde_datadir}/icons/hicolor/*/apps/knetstats.png - - -%Changelog -* Wed Nov 30 2011 Francois Andriot - 1.6.1-1 -- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/knetworkmanager8/knetworkmanager-3.5.13-missing_includes.patch b/redhat/applications/knetworkmanager8/knetworkmanager-3.5.13-missing_includes.patch deleted file mode 100644 index 175d299e7..000000000 --- a/redhat/applications/knetworkmanager8/knetworkmanager-3.5.13-missing_includes.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- knetworkmanager8/knetworkmanager-0.8/src/CMakeLists.txt.ORI 2011-11-11 15:06:49.854247242 -0500 -+++ knetworkmanager8/knetworkmanager-0.8/src/CMakeLists.txt 2011-11-11 15:06:58.662060747 -0500 -@@ -18,6 +18,7 @@ - ${CMAKE_BINARY_DIR} - ${TDE_INCLUDE_DIR} - ${TQT_INCLUDE_DIRS} -+ ${DBUS_INCLUDE_DIRS} - ${DBUS_TQT_INCLUDE_DIRS} - ${NM_UTIL_INCLUDE_DIRS} - ) diff --git a/redhat/applications/knetworkmanager8/knetworkmanager-3.5.13-subdir_version.patch b/redhat/applications/knetworkmanager8/knetworkmanager-3.5.13-subdir_version.patch deleted file mode 100644 index 9db3ab5de..000000000 --- a/redhat/applications/knetworkmanager8/knetworkmanager-3.5.13-subdir_version.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- knetworkmanager9/CMakeLists.txt.ORI 2011-11-11 13:36:01.462536187 -0500 -+++ knetworkmanager9/CMakeLists.txt 2011-11-11 13:36:10.762446937 -0500 -@@ -63,7 +63,7 @@ - - ##### source directories ######################## - --add_subdirectory( knetworkmanager-0.8 ) -+add_subdirectory( knetworkmanager-0.9 ) - - - ##### write configure files ##################### ---- knetworkmanager9/knetworkmanager-0.9/src/dbus/CMakeLists.txt.ORI 2011-11-11 13:39:32.866229477 -0500 -+++ knetworkmanager9/knetworkmanager-0.9/src/dbus/CMakeLists.txt 2011-11-11 13:39:48.169042904 -0500 -@@ -18,7 +18,7 @@ - - ##### knm_dbus (static) ######################### - --set( INTROSPECTIONPATH "${CMAKE_SOURCE_DIR}/knetworkmanager-0.8/introspection" ) -+set( INTROSPECTIONPATH "${CMAKE_SOURCE_DIR}/knetworkmanager-0.9/introspection" ) - - # options: - # p - generate proxy files diff --git a/redhat/applications/knetworkmanager8/knetworkmanager-3.5.13-wpa_passphrase_lag.patch b/redhat/applications/knetworkmanager8/knetworkmanager-3.5.13-wpa_passphrase_lag.patch deleted file mode 100644 index ad10145cf..000000000 --- a/redhat/applications/knetworkmanager8/knetworkmanager-3.5.13-wpa_passphrase_lag.patch +++ /dev/null @@ -1,33 +0,0 @@ -diff -Nuar knetworkmanager9/knetworkmanager-0.9/src.ORI//knetworkmanager-connection_setting_wireless_security_widget.cpp knetworkmanager9/knetworkmanager-0.9/src/knetworkmanager-connection_setting_wireless_security_widget.cpp ---- knetworkmanager9/knetworkmanager-0.9/src.ORI//knetworkmanager-connection_setting_wireless_security_widget.cpp 2011-11-11 20:45:47.964680619 +0100 -+++ knetworkmanager9/knetworkmanager-0.9/src/knetworkmanager-connection_setting_wireless_security_widget.cpp 2011-11-11 20:51:32.689072955 +0100 -@@ -432,14 +432,15 @@ - , _wireless_setting(wireless_setting) - { - txtPSK->setText(_security_setting->getPSK()); -- connect(txtPSK, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotPSKChanged(const TQString&))); -+ connect(txtPSK, TQT_SIGNAL(lostFocus()), this, TQT_SLOT(slotPSKChanged())); - } - - void --WirelessSecurityWPAPSKImpl::slotPSKChanged(const TQString& psk) -+WirelessSecurityWPAPSKImpl::slotPSKChanged() - { - if (_wireless_setting) - { -+ TQString psk = txtPSK->text(); - _security_setting->setPSK(psk); - } - } -diff -Nuar knetworkmanager9/knetworkmanager-0.9/src.ORI//knetworkmanager-connection_setting_wireless_security_widget.h knetworkmanager9/knetworkmanager-0.9/src/knetworkmanager-connection_setting_wireless_security_widget.h ---- knetworkmanager9/knetworkmanager-0.9/src.ORI//knetworkmanager-connection_setting_wireless_security_widget.h 2011-11-11 20:45:47.962680657 +0100 -+++ knetworkmanager9/knetworkmanager-0.9/src/knetworkmanager-connection_setting_wireless_security_widget.h 2011-11-11 20:46:21.640030856 +0100 -@@ -145,7 +145,7 @@ - TQCString String2Hex(TQByteArray bytes, int final_len) const; - - public slots: -- void slotPSKChanged(const TQString&); -+ void slotPSKChanged(); - - private: - WirelessSecurity* _security_setting; diff --git a/redhat/applications/knetworkmanager8/knetworkmanager-3.5.13.1.spec b/redhat/applications/knetworkmanager8/knetworkmanager-3.5.13.1.spec deleted file mode 100644 index 38e901008..000000000 --- a/redhat/applications/knetworkmanager8/knetworkmanager-3.5.13.1.spec +++ /dev/null @@ -1,186 +0,0 @@ -# Default version for this component -%define kdecomp knetworkmanager -%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} -%define version 0.9 -%else -%define version 0.8 -%endif - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_tdedocdir} - - -Name: trinity-%{kdecomp} -Version: %{?version} -Release: 4%{?dist}%{?_variant} - -Summary: Trinity applet for Network Manager - -Group: Applications/Internet -License: GPLv2+ -URL: http://en.opensuse.org/Projects/KNetworkManager - -%if "%{?version}" == "0.9" -Source0: %{kdecomp}9-3.5.13.tar.gz -%else -Source0: %{kdecomp}8-3.5.13.tar.gz -%endif - -Patch0: knetworkmanager-3.5.13-missing_includes.patch - -# For knetworkmanager 0.9 only ! -Patch10: knetworkmanager-3.5.13-subdir_version.patch - -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -#Requires: kde-filesystem -BuildRequires: desktop-file-utils - -%if 0%{?rhel} || 0%{?fedora} -Requires: NetworkManager-gnome -%else -Requires: networkmanager -%endif - -BuildRequires: dbus-1-tqt-devel -BuildRequires: dbus-tqt-devel -BuildRequires: NetworkManager-glib-devel - -%description -KNetworkManager is a system tray applet for controlling network -connections on systems that use the NetworkManager daemon. - - -%package devel -Summary: Common data shared among the MySQL GUI Suites -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} - -%description devel -Development headers for knetworkmanager - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%if "%{?version}" == "0.9" -%setup -q -n %{kdecomp}-3.5.13.19 -%else -%setup -q -n applications/knetworkmanager8 -%endif - -%if "%{?version}" == "0.9" -%patch10 -p1 -%endif - -cd knetworkmanager-0.*/src -%patch0 -p3 - - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" -export LD_LIBRARY_PATH="%{tde_libdir}" - -# Missing TDE macros -%__mkdir_p cmake -%__ln_s %{tde_datadir}/cmake cmake/modules - -%if 0%{?rhel} || 0%{?fedora} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ - .. - -%__make %{?_smp_mflags} - -%install -%__rm -rf $RPM_BUILD_ROOT -%__make install DESTDIR=%{?buildroot} -C build - - -%clean -%__rm -rf $RPM_BUILD_ROOT - - -%post -update-desktop-database %{tde_appdir} > /dev/null -/sbin/ldconfig -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -/sbin/ldconfig -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%post devel -/sbin/ldconfig - -%postun devel -/sbin/ldconfig - -%files -%defattr(-,root,root,-) -%{tde_bindir}/knetworkmanager -%{tde_libdir}/*.la -%{tde_libdir}/*.so -%{_sysconfdir}/dbus-1/system.d/knetworkmanager.conf -%{tde_tdeappdir}/knetworkmanager.desktop -%{tde_datadir}/apps/knetworkmanager -%{tde_datadir}/icons/hicolor/*/apps/knetworkmanager* -%{tde_datadir}/servicetypes/knetworkmanager_plugin.desktop -%{tde_datadir}/servicetypes/knetworkmanager_vpnplugin.desktop - - -%files devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/*.h -%{tde_tdelibdir}/*.la -%{tde_tdelibdir}/*.so - -%changelog -* Wed Oct 03 2012 Francois Andriot - %{?version}-4 -- Initial release for TDE 3.5.13.1 - -* Wed May 02 2012 Francois Andriot - 0.8-3 / 0.9-3 -- Rebuild for Fedora 17 - -* Sat Nov 13 2011 Francois Andriot - 0.8-2 / 0.9-2 -- Remove faulty patch for WPA authentication - -* Tue Nov 11 2011 Francois Andriot - 0.8-1 / 0.9-1 -- Initial release diff --git a/redhat/applications/knetworkmanager8/knetworkmanager-3.5.13.spec b/redhat/applications/knetworkmanager8/knetworkmanager-3.5.13.spec deleted file mode 100644 index b51395370..000000000 --- a/redhat/applications/knetworkmanager8/knetworkmanager-3.5.13.spec +++ /dev/null @@ -1,180 +0,0 @@ -# Default version for this component -%define kdecomp knetworkmanager -%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} -%define version 0.9 -%else -%define version 0.8 -%endif - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_tdedocdir} - - -Name: trinity-%{kdecomp} -Version: %{?version} -Release: 3%{?dist}%{?_variant} - -Summary: Trinity applet for Network Manager - -Group: Applications/Internet -License: GPLv2+ -URL: http://en.opensuse.org/Projects/KNetworkManager - -%if "%{?version}" == "0.9" -Source0: %{kdecomp}9-3.5.13.tar.gz -%else -Source0: %{kdecomp}8-3.5.13.tar.gz -%endif - -Patch0: knetworkmanager-3.5.13-missing_includes.patch -Patch1: knetworkmanager-3.5.13-wpa_passphrase_lag.patch - -# For knetworkmanager 0.9 only ! -Patch10: knetworkmanager-3.5.13-subdir_version.patch - -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -#Requires: kde-filesystem -BuildRequires: desktop-file-utils - -%if 0%{?rhel} || 0%{?fedora} -Requires: NetworkManager-gnome -%else -Requires: networkmanager -%endif - -BuildRequires: dbus-1-tqt-devel -BuildRequires: dbus-tqt-devel -BuildRequires: NetworkManager-glib-devel - -%description -KNetworkManager is a system tray applet for controlling network -connections on systems that use the NetworkManager daemon. - - -%package devel -Summary: Common data shared among the MySQL GUI Suites -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} - -%description devel -Development headers for knetworkmanager - - -%prep -%if "%{?version}" == "0.9" -%setup -q -n applications/%{kdecomp}9 -%else -%setup -q -n applications/%{kdecomp}8 -%endif - -%if "%{?version}" == "0.9" -%patch10 -p1 -%endif - -cd knetworkmanager-0.*/src -%patch0 -p3 -#patch1 -p3 - - - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" -export LD_LIBRARY_PATH="%{tde_libdir}" - -# Missing TDE macros -%__mkdir_p cmake -%__ln_s %{tde_datadir}/cmake cmake/modules - -%if 0%{?rhel} || 0%{?fedora} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ - .. - -%__make %{?_smp_mflags} - -%install -%__rm -rf $RPM_BUILD_ROOT -%__make install DESTDIR=%{?buildroot} -C build - - -%clean -%__rm -rf $RPM_BUILD_ROOT - - -%post -update-desktop-database %{tde_appdir} > /dev/null -/sbin/ldconfig -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -/sbin/ldconfig -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%post devel -/sbin/ldconfig - -%postun devel -/sbin/ldconfig - -%files -%defattr(-,root,root,-) -%{tde_bindir}/knetworkmanager -%{tde_libdir}/*.la -%{tde_libdir}/*.so -%{_sysconfdir}/dbus-1/system.d/knetworkmanager.conf -%{tde_tdeappdir}/knetworkmanager.desktop -%{tde_datadir}/apps/knetworkmanager -%{tde_datadir}/icons/hicolor/*/apps/knetworkmanager* -%{tde_datadir}/servicetypes/knetworkmanager_plugin.desktop -%{tde_datadir}/servicetypes/knetworkmanager_vpnplugin.desktop - - -%files devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/*.h -%{tde_tdelibdir}/*.la -%{tde_tdelibdir}/*.so - -%changelog -* Wed May 02 2012 Francois Andriot - 0.8-3 / 0.9-3 -- Rebuild for Fedora 17 - -* Sat Nov 13 2011 Francois Andriot - 0.8-2 / 0.9-2 -- Remove faulty patch for WPA authentication - -* Tue Nov 11 2011 Francois Andriot - 0.8-1 / 0.9-1 -- Initial release diff --git a/redhat/applications/knetworkmanager8/knetworkmanager8-3.5.13.2.spec b/redhat/applications/knetworkmanager8/knetworkmanager8-3.5.13.2.spec deleted file mode 100644 index 0ada2aed4..000000000 --- a/redhat/applications/knetworkmanager8/knetworkmanager8-3.5.13.2.spec +++ /dev/null @@ -1,179 +0,0 @@ -# Default version for this component -%define tde_pkg knetworkmanager8 -%define tde_version 3.5.13.2 - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_tdedocdir} - - -Name: trinity-%{tde_pkg} -Version: 0.8 -Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist} - -Summary: Trinity applet for Network Manager - -Group: Applications/Internet -License: GPLv2+ -URL: http://en.opensuse.org/Projects/KNetworkManager - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -Patch0: knetworkmanager-3.5.13-missing_includes.patch - -# For knetworkmanager 0.9 only ! -Patch10: knetworkmanager-3.5.13-subdir_version.patch - -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildRequires: desktop-file-utils - -# NETWORKMANAGER support -%if 0%{?rhel} || 0%{?fedora} -Requires: NetworkManager-gnome -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -Requires: networkmanager -%endif -%if 0%{?rhel} || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: NetworkManager-glib-devel -%endif -%if 0%{?suse_version} -BuildRequires: NetworkManager-devel -Requires: NetworkManager -%endif - -BuildRequires: trinity-dbus-1-tqt-devel >= 1:0.9 -BuildRequires: trinity-dbus-tqt-devel >= 1:0.63 - -Obsoletes: trinity-knetworkmanager < %{version}-%{release} -Provides: trinity-knetworkmanager = %{version}-%{release} - -%description -KNetworkManager is a system tray applet for controlling network -connections on systems that use the NetworkManager daemon. - - -%package devel -Summary: Common data shared among the MySQL GUI Suites -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} - -Obsoletes: trinity-knetworkmanager-devel < %{version}-%{release} -Provides: trinity-knetworkmanager-devel = %{version}-%{release} - -%description devel -Development headers for knetworkmanager - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -%if "%{?version}" == "0.9" -%patch10 -p1 -%endif - -cd knetworkmanager-0.*/src -%patch0 -p3 - - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -# Missing TDE macros -%__mkdir_p cmake -%__ln_s %{tde_datadir}/cmake cmake/modules - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - .. - -%__make %{?_smp_mflags} - -%install -%__rm -rf $RPM_BUILD_ROOT -%__make install DESTDIR=%{?buildroot} -C build - - -%clean -%__rm -rf $RPM_BUILD_ROOT - - -%post -update-desktop-database %{tde_appdir} > /dev/null -/sbin/ldconfig -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%postun -update-desktop-database %{tde_appdir} > /dev/null -/sbin/ldconfig -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%post devel -/sbin/ldconfig - - -%postun devel -/sbin/ldconfig - - -%files -%defattr(-,root,root,-) -%{tde_bindir}/knetworkmanager -%{tde_libdir}/*.la -%{tde_libdir}/*.so -%{_sysconfdir}/dbus-1/system.d/knetworkmanager.conf -%{tde_tdeappdir}/knetworkmanager.desktop -%{tde_datadir}/apps/knetworkmanager -%{tde_datadir}/icons/hicolor/*/apps/knetworkmanager* -%{tde_datadir}/servicetypes/knetworkmanager_plugin.desktop -%{tde_datadir}/servicetypes/knetworkmanager_vpnplugin.desktop - - -%files devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/*.h -%{tde_tdelibdir}/*.la -%{tde_tdelibdir}/*.so - -%changelog diff --git a/redhat/applications/knights/knights-3.5.13.1.spec b/redhat/applications/knights/knights-3.5.13.1.spec deleted file mode 100644 index bba7572b4..000000000 --- a/redhat/applications/knights/knights-3.5.13.1.spec +++ /dev/null @@ -1,145 +0,0 @@ -# Default version for this component -%define kdecomp knights - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: A chess interface for the K Desktop Environment [Trinity] -Version: 0.6 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Amusements/Games - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -Requires: gnuchess - -%description -Knights aims to be the ultimate chess resource on your computer. -Written for the K Desktop Environment, it's designed to be both friendly -to new chess players and functional for Grand Masters. - -Here's a quick list of Knights' key features: -* Play against yourself, against computer opponents, - or against others over the Internet. -* Customize your board and pieces with over 30 different themes, - or make your own! -* Audio cues help alert you to important events. -* Novice players can preview potential moves. -* Save your unfinished matches and play them again later. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir} - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/knights -%{tde_datadir}/applnk/Games/Board/knights.desktop -%{tde_datadir}/apps/knights -%{tde_tdedocdir}/HTML/*/knights -%{tde_datadir}/icons/hicolor/*/*/*.png -%{tde_datadir}/mimelnk/application/pgn.desktop - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.6-4 -- Initial release for TDE 3.5.13.1 - -* Wed May 02 2012 Francois Andriot - 0.6-3 -- Rebuild for Fedora 17 - -* Fri Nov 25 2011 Francois Andriot - 0.6-2 -- Fix HTML directory location - -* Sun Nov 20 2011 Francois Andriot - 0.6-1 -- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/knights/knights-3.5.13.2.spec b/redhat/applications/knights/knights-3.5.13.2.spec deleted file mode 100644 index 523111ac8..000000000 --- a/redhat/applications/knights/knights-3.5.13.2.spec +++ /dev/null @@ -1,132 +0,0 @@ -# Default version for this component -%define tde_pkg knights -%define tde_version 3.5.13.2 - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tde_pkg} -Summary: A chess interface for the K Desktop Environment [Trinity] -Version: 0.6 -Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist} - -License: GPLv2+ -Group: Amusements/Games - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-arts-devel >= 1:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: gettext - -Requires: gnuchess - -%description -Knights aims to be the ultimate chess resource on your computer. -Written for the K Desktop Environment, it's designed to be both friendly -to new chess players and functional for Grand Masters. - -Here's a quick list of Knights' key features: -* Play against yourself, against computer opponents, - or against others over the Internet. -* Customize your board and pieces with over 30 different themes, - or make your own! -* Audio cues help alert you to important events. -* Novice players can preview potential moves. -* Save your unfinished matches and play them again later. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" - -# Warning: --enable-final causes FTBFS -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --disable-final \ - --enable-closure \ - --enable-rpath - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{tde_pkg} - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%{tde_bindir}/knights -%{tde_datadir}/applnk/Games/Board/knights.desktop -%{tde_datadir}/apps/knights -%{tde_tdedocdir}/HTML/*/knights -%{tde_datadir}/icons/hicolor/*/*/*.png -%{tde_datadir}/mimelnk/application/pgn.desktop - - -%changelog diff --git a/redhat/applications/knights/knights-3.5.13.spec b/redhat/applications/knights/knights-3.5.13.spec deleted file mode 100644 index 0ce527693..000000000 --- a/redhat/applications/knights/knights-3.5.13.spec +++ /dev/null @@ -1,137 +0,0 @@ -# Default version for this component -%define kdecomp knights - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: A chess interface for the K Desktop Environment [Trinity] -Version: 0.6 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Amusements/Games - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - -Requires: gnuchess - -%description -Knights aims to be the ultimate chess resource on your computer. -Written for the K Desktop Environment, it's designed to be both friendly -to new chess players and functional for Grand Masters. - -Here's a quick list of Knights' key features: -* Play against yourself, against computer opponents, - or against others over the Internet. -* Customize your board and pieces with over 30 different themes, - or make your own! -* Audio cues help alert you to important events. -* Novice players can preview potential moves. -* Save your unfinished matches and play them again later. - - -%prep -%setup -q -n applications/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir} - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/knights -%{tde_datadir}/applnk/Games/Board/knights.desktop -%{tde_datadir}/apps/knights -%{tde_tdedocdir}/HTML/*/knights -%{tde_datadir}/icons/hicolor/*/*/*.png -%{tde_datadir}/mimelnk/application/pgn.desktop - - -%Changelog -* Wed May 02 2012 Francois Andriot - 0.6-3 -- Rebuild for Fedora 17 - -* Fri Nov 25 2011 Francois Andriot - 0.6-2 -- Fix HTML directory location - -* Sun Nov 20 2011 Francois Andriot - 0.6-1 -- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/knowit/knowit-3.5.13.1.spec b/redhat/applications/knowit/knowit-3.5.13.1.spec deleted file mode 100644 index 6fb781e27..000000000 --- a/redhat/applications/knowit/knowit-3.5.13.1.spec +++ /dev/null @@ -1,142 +0,0 @@ -# Default version for this component -%define kdecomp knowit - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Tool for managing notes [Trinity] -Version: 0.10 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -KnowIt is a tool for managing notes which are organized in -tree-like hierarchy. It is similar to TuxCards, -but KDE-based, and requires Trinity. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%__mkdir_p %{buildroot}%{tde_tdeappdir} -%__mv %{buildroot}%{tde_datadir}/applnk/Applications/knowit.desktop %{buildroot}%{tde_tdeappdir}/knowit.desktop -%__rm -r %{buildroot}%{tde_datadir}/applnk - - -%find_lang %{kdecomp} - - - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/knowit -%{tde_tdeappdir}/knowit.desktop -%{tde_datadir}/apps/knowit/knowitui.rc -%{tde_datadir}/apps/knowit/tips -%{tde_tdedocdir}/HTML/en/knowit/common -%{tde_tdedocdir}/HTML/en/knowit/index.cache.bz2 -%{tde_tdedocdir}/HTML/en/knowit/index.docbook -%{tde_tdedocdir}/HTML/en/knowit/screenshot.png -%{tde_datadir}/icons/hicolor/*/apps/knowit.png - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.10-2 -- Initial release for TDE 3.5.13.1 - -* Wed Nov 30 2011 Francois Andriot - 0.10-1 -- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/knowit/knowit-3.5.13.2.spec b/redhat/applications/knowit/knowit-3.5.13.2.spec deleted file mode 100644 index 00791f091..000000000 --- a/redhat/applications/knowit/knowit-3.5.13.2.spec +++ /dev/null @@ -1,135 +0,0 @@ -# Default version for this component -%define tde_pkg knowit -%define tde_version 3.5.13.2 - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tde_pkg} -Summary: Tool for managing notes [Trinity] -Version: 0.10 -Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-arts-devel >= 1:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: gettext - - -%description -KnowIt is a tool for managing notes which are organized in -tree-like hierarchy. It is similar to TuxCards, -but TDE-based, and requires Trinity. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -# Warning: --enable-final causes FTBFS -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --disable-final \ - --enable-closure \ - --enable-rpath - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%__mkdir_p %{buildroot}%{tde_tdeappdir} -%__mv %{buildroot}%{tde_datadir}/applnk/Applications/knowit.desktop %{buildroot}%{tde_tdeappdir}/knowit.desktop -%__rm -r %{buildroot}%{tde_datadir}/applnk - - -%find_lang %{tde_pkg} - - - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%{tde_bindir}/knowit -%{tde_tdeappdir}/knowit.desktop -%{tde_datadir}/apps/knowit/knowitui.rc -%{tde_datadir}/apps/knowit/tips -%{tde_tdedocdir}/HTML/en/knowit/common -%{tde_tdedocdir}/HTML/en/knowit/index.cache.bz2 -%{tde_tdedocdir}/HTML/en/knowit/index.docbook -%{tde_tdedocdir}/HTML/en/knowit/screenshot.png -%{tde_datadir}/icons/hicolor/*/apps/knowit.png - - -%changelog diff --git a/redhat/applications/knowit/knowit-3.5.13.spec b/redhat/applications/knowit/knowit-3.5.13.spec deleted file mode 100644 index b76bc64db..000000000 --- a/redhat/applications/knowit/knowit-3.5.13.spec +++ /dev/null @@ -1,134 +0,0 @@ -# Default version for this component -%define kdecomp knowit - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Tool for managing notes [Trinity] -Version: 0.10 -Release: 1%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -KnowIt is a tool for managing notes which are organized in -tree-like hierarchy. It is similar to TuxCards, -but KDE-based, and requires Trinity. - - -%prep -%setup -q -n applications/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%__mkdir_p %{buildroot}%{tde_tdeappdir} -%__mv %{buildroot}%{tde_datadir}/applnk/Applications/knowit.desktop %{buildroot}%{tde_tdeappdir}/knowit.desktop -%__rm -r %{buildroot}%{tde_datadir}/applnk - - -%find_lang %{kdecomp} - - - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/knowit -%{tde_tdeappdir}/knowit.desktop -%{tde_datadir}/apps/knowit/knowitui.rc -%{tde_datadir}/apps/knowit/tips -%{tde_tdedocdir}/HTML/en/knowit/common -%{tde_tdedocdir}/HTML/en/knowit/index.cache.bz2 -%{tde_tdedocdir}/HTML/en/knowit/index.docbook -%{tde_tdedocdir}/HTML/en/knowit/screenshot.png -%{tde_datadir}/icons/hicolor/*/apps/knowit.png - - -%Changelog -* Wed Nov 30 2011 Francois Andriot - 0.10-1 -- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/knutclient/knutclient-3.5.13.1.spec b/redhat/applications/knutclient/knutclient-3.5.13.1.spec deleted file mode 100644 index e10e2a487..000000000 --- a/redhat/applications/knutclient/knutclient-3.5.13.1.spec +++ /dev/null @@ -1,141 +0,0 @@ -# Default version for this component -%define kdecomp knutclient - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: A KDE GUI that displays UPS statistics from NUT's upsd [Trinity] -Version: 0.9.5 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.knut.noveradsl.cz/knutclient/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils - - -%description -KNutClient monitors UPS statistics through the NUT (Network UPS Tools, -http://www.networkupstools.org/) framework on Linux and other systems. This -information, presented in a nice visual format, can be invaluable on -stations using an UPS. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -for f in hicolor locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - -%postun -for f in hicolor locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README TODO -%{tde_bindir}/knutclient -%{tde_datadir}/applnk/Utilities/knutclient.desktop -%{tde_datadir}/apps/knutclient/knutclientui.rc -%{tde_datadir}/apps/knutclient -%{tde_tdedocdir}/HTML/cs/knutclient -%{tde_tdedocdir}/HTML/en/knutclient -%{tde_datadir}/icons/hicolor/*/apps/*.png -%{tde_datadir}/icons/locolor/*/apps/*.png - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.9.5-3 -- Initial release for TDE 3.5.13.1 - -* Wed May 02 2012 Francois Andriot - 0.9.5-2 -- Rebuild for Fedora 17 - -* Sat Dec 03 2011 Francois Andriot - 0.9.5-1 -- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/knutclient/knutclient-3.5.13.2.spec b/redhat/applications/knutclient/knutclient-3.5.13.2.spec deleted file mode 100644 index 016bb891e..000000000 --- a/redhat/applications/knutclient/knutclient-3.5.13.2.spec +++ /dev/null @@ -1,126 +0,0 @@ -# Default version for this component -%define tde_pkg knutclient -%define tde_version 3.5.13.2 - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tde_pkg} -Summary: A TDE GUI that displays UPS statistics from NUT's upsd [Trinity] -Version: 0.9.5 -Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.knut.noveradsl.cz/knutclient/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - - -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-arts-devel >= 1:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - - -%description -KNutClient monitors UPS statistics through the NUT (Network UPS Tools, -http://www.networkupstools.org/) framework on Linux and other systems. This -information, presented in a nice visual format, can be invaluable on -stations using an UPS. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --enable-final \ - --enable-closure \ - --enable-rpath - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{tde_pkg} - -%clean -%__rm -rf %{buildroot} - - -%post -for f in hicolor locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - -%postun -for f in hicolor locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README TODO -%{tde_bindir}/knutclient -%{tde_datadir}/applnk/Utilities/knutclient.desktop -%{tde_datadir}/apps/knutclient/knutclientui.rc -%{tde_datadir}/apps/knutclient -%{tde_tdedocdir}/HTML/cs/knutclient -%{tde_tdedocdir}/HTML/en/knutclient -%{tde_datadir}/icons/hicolor/*/apps/*.png -%{tde_datadir}/icons/locolor/*/apps/*.png - -%changelog diff --git a/redhat/applications/knutclient/knutclient-3.5.13.spec b/redhat/applications/knutclient/knutclient-3.5.13.spec deleted file mode 100644 index 989670893..000000000 --- a/redhat/applications/knutclient/knutclient-3.5.13.spec +++ /dev/null @@ -1,133 +0,0 @@ -# Default version for this component -%define kdecomp knutclient - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: A KDE GUI that displays UPS statistics from NUT's upsd [Trinity] -Version: 0.9.5 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.knut.noveradsl.cz/knutclient/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils - - -%description -KNutClient monitors UPS statistics through the NUT (Network UPS Tools, -http://www.networkupstools.org/) framework on Linux and other systems. This -information, presented in a nice visual format, can be invaluable on -stations using an UPS. - - -%prep -%setup -q -n applications/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -for f in hicolor locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - -%postun -for f in hicolor locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README TODO -%{tde_bindir}/knutclient -%{tde_datadir}/applnk/Utilities/knutclient.desktop -%{tde_datadir}/apps/knutclient/knutclientui.rc -%{tde_datadir}/apps/knutclient -%{tde_tdedocdir}/HTML/cs/knutclient -%{tde_tdedocdir}/HTML/en/knutclient -%{tde_datadir}/icons/hicolor/*/apps/*.png -%{tde_datadir}/icons/locolor/*/apps/*.png - -%Changelog -* Wed May 02 2012 Francois Andriot - 0.9.5-2 -- Rebuild for Fedora 17 - -* Sat Dec 03 2011 Francois Andriot - 0.9.5-1 -- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/koffice-i18n/koffice-i18n-3.5.13.1.spec b/redhat/applications/koffice-i18n/koffice-i18n-3.5.13.1.spec deleted file mode 100644 index 5ce586eb3..000000000 --- a/redhat/applications/koffice-i18n/koffice-i18n-3.5.13.1.spec +++ /dev/null @@ -1,1086 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -# Builds all supported languages (not unsupported ones) -%if "%{?KDE_LANGS}" == "" -%define KDE_LANGS bg ca cs da de el en_GB es et fi fr hu it ja km lv ms nb nds ne nl pl pt pt_BR ru sk sl sr sv tr uk zh_CN zh_TW -%endif - - -Name: trinity-koffice-i18n -Summary: Internationalization support for Trinity -Version: 1.6.3 -Release: 2%{?dist}%{?_variant} - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -# GFDL, with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. -License: GFDL -Group: User Interface/Desktops -BuildArch: noarch - -# Speed build options -%define debug_package %{nil} -%define __spec_install_post %{nil} -AutoReq: no - -Source0: koffice-i18n-3.5.13.1.tar.gz - -BuildRequires: findutils -BuildRequires: gettext -BuildRequires: autoconf automake libtool m4 -BuildRequires: trinity-arts-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 - -%description -%{summary}. - -%package Bulgarian -Summary: Bulgarian(bg) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-bg = %{version}-%{release} -%description Bulgarian -%{summary}. - -%package Bengali -Summary: Bengali(bn) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-bn = %{version}-%{release} -%description Bengali -%{summary}. - -%package Tibetan -Summary: Tibetan(bo) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-bo = %{version}-%{release} -%description Tibetan -%{summary}. - -%package Breton -Summary: Breton(br) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-br = %{version}-%{release} -%description Breton -%{summary}. - -%package Bosnian -Summary: Bosnian(bs) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-bs = %{version}-%{release} -%description Bosnian -%{summary}. - -%package Catalan -Summary: Catalan(ca) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ca = %{version}-%{release} -%description Catalan -%{summary}. - -%package Czech -Summary: Czech(cs) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-cs = %{version}-%{release} -%description Czech -%{summary}. - -%package Cymraeg -Summary: Cymraeg language support for TDE -Group: User Interface/Desktops -%description Cymraeg -%{summary}. - -%package Welsh -Summary: Welsh(cy) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-cy = %{version}-%{release} -%description Welsh -%{summary}. - -%package Danish -Summary: Danish(da) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-da = %{version}-%{release} -%description Danish -%{summary}. - -%package German -Summary: German(de) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-de = %{version}-%{release} -%description German -%{summary}. - -%package Greek -Summary: Greek(el) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-el = %{version}-%{release} -%description Greek -%{summary}. - -%package British -Summary: British(en_GB) English support for TDE -Group: User Interface/Desktops -Provides: %{name}-en_GB = %{version}-%{release} -%description British -%{summary}. - -%package Esperanto -Summary: Esperanto(eo) support for TDE -Group: User Interface/Desktops -Provides: %{name}-eo = %{version}-%{release} -%description Esperanto -%{summary}. - -%package Spanish -Summary: Spanish(es) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-es = %{version}-%{release} -%description Spanish -%{summary}. - -%package Estonian -Summary: Estonian(et) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-et = %{version}-%{release} -%description Estonian -%{summary}. - -%package Basque -Summary: Basque(eu) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-eu = %{version}-%{release} -%description Basque -%{summary}. - -%package Finnish -Summary: Finnish(fi) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-fi = %{version}-%{release} -%description Finnish -%{summary}. - -%package Faroese -Summary: Faroese(fo) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-fo = %{version}-%{release} -%description Faroese -%{summary}. - -%package French -Summary: French(fr) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-fr = %{version}-%{release} -%description French -%{summary}. - -%package Frisian -Summary: Frisian(fy) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-fy = %{version}-%{release} -%description Frisian -%{summary}. - -%package Irish -Summary: Irish(ga) language support for TDE -Group: User Interface/Desktops -Obsoletes: kde-i18n-Gaeilge < %{version} -Provides: %{name}-ga = %{version}-%{release} -%description Irish -%{summary}. - -%package Galician -Summary: Galician(gl) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-gl = %{version}-%{release} -%description Galician -%{summary}. - -%package Hebrew -Summary: Hebrew(he) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-he = %{version}-%{release} -%description Hebrew -%{summary}. - -%package Hindi -Summary: Hindi(hi) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-hi = %{version}-%{release} -%description Hindi -%{summary}. - -%package Croatian -Summary: Croatian(hr) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-hr = %{version}-%{release} -%description Croatian -%{summary}. - -%package Hungarian -Summary: Hungarian(hu) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-hu = %{version}-%{release} -%description Hungarian -%{summary}. - -%package Indonesian -Summary: Indonesian(id) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-id = %{version}-%{release} -%description Indonesian -%{summary}. - -%package Icelandic -Summary: Icelandic(is) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-is = %{version}-%{release} -%description Icelandic -%{summary}. - -%package Italian -Summary: Italian(it) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-it = %{version}-%{release} -%description Italian -%{summary}. - -%package Japanese -Summary: Japanese(ja) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ja = %{version}-%{release} -%description Japanese -%{summary}. - -%package Khmer -Summary: Khmer(km) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-km = %{version}-%{release} -%description Khmer -%{summary}. - -%package Korean -Summary: Korean(ko) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ko = %{version}-%{release} -%description Korean -%{summary}. - -%package Kurdish -Summary: Kurdish(ku) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ku = %{version}-%{release} -%description Kurdish -%{summary}. - -%package Lao -Summary: Lao(lo) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-lo = %{version}-%{release} -%description Lao -%{summary}. - -%package Lithuanian -Summary: Lithuanian(lt) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-lt = %{version}-%{release} -%description Lithuanian -%{summary}. - -%package Latvian -Summary: Latvian(lv) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-lv = %{version}-%{release} -%description Latvian -%{summary}. - -%package Maori -Summary: Maori(mi) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-mi = %{version}-%{release} -%description Maori -%{summary}. - -%package Macedonian -Summary: Macedonian(mk) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-mk = %{version}-%{release} -%description Macedonian -%{summary}. - -%package Malay -Summary: Malay(ms) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ms = %{version}-%{release} -%description Malay -%{summary}. - -%package Maltese -Summary: Maltese(mt) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-mt = %{version}-%{release} -%description Maltese -%{summary}. - -%package LowSaxon -Summary: Low Saxon (nds) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-nds = %{version}-%{release} -%description LowSaxon -%{summary}. - -%package Nepali -Summary: Nepali(ne) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ne = %{version}-%{release} -%description Nepali -%{summary}. - -%package Dutch -Summary: Dutch(nl) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-nl = %{version}-%{release} -%description Dutch -%{summary}. - -%package Norwegian -Summary: Norwegian(no) (Bokmaal) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-no = %{version}-%{release} -%description Norwegian -%{summary}. - -%package Norwegian-Nynorsk -Summary: Norwegian(nn) (Nynorsk) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-nn = %{version}-%{release} -%description Norwegian-Nynorsk -%{summary}. - -%package Occitan -Summary: Occitan(oc) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-oc = %{version}-%{release} -%description Occitan -%{summary}. - -%package Polish -Summary: Polish(pl) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-pl = %{version}-%{release} -%description Polish -%{summary}. - -%package Portuguese -Summary: Portuguese(pt) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-pt = %{version}-%{release} -%description Portuguese -%{summary}. - -%package Punjabi -Summary: Punjabi(pa) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-pa = %{version}-%{release} -%description Punjabi -%{summary}. - -%package Brazil -Summary: Brazil(pt_BR) Portuguese language support for TDE -Group: User Interface/Desktops -Provides: %{name}-pt_BR = %{version}-%{release} -%description Brazil -%{summary}. - -%package Romanian -Summary: Romanian(ro) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ro = %{version}-%{release} -%description Romanian -%{summary}. - -%package Russian -Summary: Russian(ru) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ru = %{version}-%{release} -%description Russian -%{summary}. - -%package Slovak -Summary: Slovak(sk) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-sk = %{version}-%{release} -%description Slovak -%{summary}. - -%package Slovenian -Summary: Slovenian(sl) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-sl = %{version}-%{release} -%description Slovenian -%{summary}. - -%package Serbian -Summary: Serbian(sr) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-sr = %{version}-%{release} -%description Serbian -%{summary}. - -%package Swedish -Summary: Swedish(sv) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-sv = %{version}-%{release} -%description Swedish -%{summary}. - -%package Tamil -Summary: Tamil(ta) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ta = %{version}-%{release} -%description Tamil -%{summary}. - -%package Tajik -Summary: Tajik(tg) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-tg = %{version}-%{release} -%description Tajik -%{summary}. - -%package Thai -Summary: Thai(th) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-th = %{version}-%{release} -%description Thai -%{summary}. - -%package Turkish -Summary: Turkish(tr) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-tr = %{version}-%{release} -%description Turkish -%{summary}. - -%package Ukrainian -Summary: Ukrainian(uk) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-uk = %{version}-%{release} -%description Ukrainian -%{summary}. - -%package Venda -Summary: Venda(ven) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ven = %{version}-%{release} -%description Venda -%{summary}. - -%package Vietnamese -Summary: Vietnamese(vi) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-vi = %{version}-%{release} -%description Vietnamese -%{summary}. - -%package Walloon -Summary: Walloon(wa) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-wa = %{version}-%{release} -%description Walloon -%{summary}. - -%package Xhosa -Summary: Xhosa(xh) (a Bantu language) support for TDE -Group: User Interface/Desktops -Provides: %{name}-xh = %{version}-%{release} -%description Xhosa -%{summary}. - -%package Chinese -Summary: Chinese(zh_CN) (Simplified Chinese) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-zh_CN = %{version}-%{release} -%description Chinese -%{summary}. - -%package Chinese-Big5 -Summary: Chinese(zh_TW) (Big5) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-tz_TW = %{version}-%{release} -%description Chinese-Big5 -%{summary}. - - - -%prep -%setup -q -n koffice-i18n-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" - - -%build -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -export kde_htmldir="%{tde_tdedocdir}/HTML" - -for l in %{KDE_LANGS}; do - for f in koffice-i18n-${l}/; do - if [ -d "${f}" ]; then - pushd ${f} - autoreconf -fiv - %__make -f ../admin/Makefile.common - %configure \ - --prefix=%{tde_prefix} \ - --datadir=%{tde_datadir} \ - --docdir=%{tde_tdedocdir} - %__make %{?_smp_mflags} - popd - fi - done -done - -%install -%__rm -rf %{?buildroot} -export PATH="%{tde_bindir}:${PATH}" - -for l in %{KDE_LANGS}; do - for f in koffice-i18n-${l}/; do - if [ -d "${f}" ] && [ -r "${f}/Makefile" ] ; then - %__make install DESTDIR="%{?buildroot}" -C "${f}" - fi - done -done - -# make symlinks relative -%if "%{tde_prefix}" == "/usr" -pushd "%{buildroot}%{tde_tdedocdir}/HTML" -for lang in *; do - if [ -d "$lang" ]; then - pushd "$lang" - for i in */*/*; do - if [ -d $i -a -L $i/common ]; then - rm -f $i/common - ln -sf ../../../docs/common $i - fi - done - - for i in */*; do - if [ -d $i -a -L $i/common ]; then - rm -f $i/common - ln -sf ../../docs/common $i - fi - done - - for i in *; do - if [ -d $i -a -L $i/common ]; then - rm -f $i/common - ln -sf ../docs/common $i - fi - done - - popd - fi -done -popd -%endif - -# remove zero-length file -find "%{buildroot}%{tde_tdedocdir}/HTML" -size 0 -exec rm -f {} \; - -%clean -%__rm -rf %{buildroot} - -%if "%( grep -w af <<< '%{KDE_LANGS}' )" != "" -%files Afrikaans -%defattr(-,root,root,-) -%lang(af) %{tde_datadir}/locale/af/* -%endif - -%if "%( grep -w ar <<< '%{KDE_LANGS}' )" != "" -%files Arabic -%defattr(-,root,root,-) -%lang(ar) %{tde_datadir}/locale/ar/* -%endif - -%if "%( grep -w az <<< '%{KDE_LANGS}' )" != "" -%files Azerbaijani -%defattr(-,root,root,-) -%lang(az) %{tde_datadir}/locale/az/* -%endif - -%if "%( grep -w be <<< '%{KDE_LANGS}' )" != "" -%files Belarusian -%defattr(-,root,root,-) -%lang(be) %{tde_datadir}/locale/be/* -%endif - -%if "%( grep -w bg <<< '%{KDE_LANGS}' )" != "" -%files Bulgarian -%defattr(-,root,root,-) -%lang(bg) %{tde_datadir}/locale/bg/* -%endif - -%if "%( grep -w bn <<< '%{KDE_LANGS}' )" != "" -%files Bengali -%defattr(-,root,root,-) -%lang(bn) %{tde_datadir}/locale/bn/* -%endif - -%if "%( grep -w bo <<< '%{KDE_LANGS}' )" != "" -%files Tibetan -%defattr(-,root,root,-) -%lang(bo) %{tde_datadir}/locale/bo/* -%endif - -%if "%( grep -w br <<< '%{KDE_LANGS}' )" != "" -%files Breton -%defattr(-,root,root,-) -%lang(br) %{tde_datadir}/locale/br/* -%endif - -%if "%( grep -w bs <<< '%{KDE_LANGS}' )" != "" -%files Bosnian -%defattr(-,root,root,-) -%lang(bs) %{tde_datadir}/locale/bs/* -%endif - -%if "%( grep -w ca <<< '%{KDE_LANGS}' )" != "" -%files Catalan -%defattr(-,root,root,-) -%lang(ca) %{tde_datadir}/locale/ca/* -%lang(ca) %{tde_tdedocdir}/HTML/ca/ -%lang(ca) %{tde_datadir}/apps/koffice/autocorrect/ca.xml -%endif - -%if "%( grep -w cs <<< '%{KDE_LANGS}' )" != "" -%files Czech -%defattr(-,root,root,-) -%lang(cs) %{tde_datadir}/locale/cs/* -%lang(cs) %{tde_datadir}/apps/koffice/autocorrect/cs.xml -%endif - -%if "%( grep -w cy <<< '%{KDE_LANGS}' )" != "" -%files Welsh -%defattr(-,root,root,-) -%lang(cy) %{tde_datadir}/locale/cy/* -%endif - -%if "%( grep -w da <<< '%{KDE_LANGS}' )" != "" -%files Danish -%defattr(-,root,root,-) -%lang(da) %{tde_datadir}/locale/da/* -%lang(da) %{tde_tdedocdir}/HTML/da/ -%endif - -%if "%( grep -w de <<< '%{KDE_LANGS}' )" != "" -%files German -%defattr(-,root,root,-) -%lang(de) %{tde_datadir}/locale/de/* -%lang(de) %{tde_tdedocdir}/HTML/de/ -%lang(de) %{tde_datadir}/apps/koffice/autocorrect/de.xml -%endif - -%if "%( grep -w el <<< '%{KDE_LANGS}' )" != "" -%files Greek -%defattr(-,root,root,-) -%lang(el) %{tde_datadir}/locale/el/* -%endif - -%if "%( grep -w en_GB <<< '%{KDE_LANGS}' )" != "" -%files British -%defattr(-,root,root,-) -%lang(en_GB) %{tde_datadir}/locale/en_GB/* -%lang(en_GB) %{tde_tdedocdir}/HTML/en_GB/ -%endif - -%if "%( grep -w eo <<< '%{KDE_LANGS}' )" != "" -%files Esperanto -%defattr(-,root,root,-) -%lang(eo) %{tde_datadir}/locale/eo/* -%endif - -%if "%( grep -w es <<< '%{KDE_LANGS}' )" != "" -%files Spanish -%defattr(-,root,root,-) -%lang(es) %{tde_datadir}/locale/es/* -%lang(es) %{tde_tdedocdir}/HTML/es/ -%lang(es) %{tde_datadir}/apps/koffice/autocorrect/es.xml -%endif - -%if "%( grep -w et <<< '%{KDE_LANGS}' )" != "" -%files Estonian -%defattr(-,root,root,-) -%lang(et) %{tde_datadir}/locale/et/* -%lang(et) %{tde_tdedocdir}/HTML/et/ -%endif - -%if "%( grep -w eu <<< '%{KDE_LANGS}' )" != "" -%files Basque -%defattr(-,root,root,-) -%lang(eu) %{tde_datadir}/locale/eu/* -%endif - -%if "%( grep -w fa <<< '%{KDE_LANGS}' )" != "" -%files Farsi -%defattr(-,root,root,-) -%lang(fa) %{tde_datadir}/locale/fa/* -%endif - -%if "%( grep -w fi <<< '%{KDE_LANGS}' )" != "" -%files Finnish -%defattr(-,root,root,-) -%lang(fi) %{tde_datadir}/locale/fi/* -%endif - -%if "%( grep -w fo <<< '%{KDE_LANGS}' )" != "" -%files Faroese -%defattr(-,root,root,-) -%lang(fo) %{tde_datadir}/locale/fo/* -%endif - -%if "%( grep -w fr <<< '%{KDE_LANGS}' )" != "" -%files French -%defattr(-,root,root,-) -%lang(fr) %{tde_datadir}/locale/fr/* -%lang(fr) %{tde_tdedocdir}/HTML/fr/ -%lang(fr) %{tde_datadir}/apps/koffice/autocorrect/fr.xml -%endif - -%if "%( grep -w fy <<< '%{KDE_LANGS}' )" != "" -%files Frisian -%defattr(-,root,root,-) -%lang(fy) %{tde_datadir}/locale/fy/* -%endif - -%if "%( grep -w ga <<< '%{KDE_LANGS}' )" != "" -%files Irish -%defattr(-,root,root,-) -%lang(ga) %{tde_datadir}/locale/ga/* -%endif - -%if "%( grep -w gl <<< '%{KDE_LANGS}' )" != "" -%files Galician -%defattr(-,root,root,-) -%lang(gl) %{tde_datadir}/locale/gl/* -%endif - -%if "%( grep -w he <<< '%{KDE_LANGS}' )" != "" -%files Hebrew -%defattr(-,root,root,-) -%lang(he) %{tde_datadir}/locale/he/* -%endif - -%if "%( grep -w hi <<< '%{KDE_LANGS}' )" != "" -%files Hindi -%defattr(-,root,root,-) -%lang(hi) %{tde_datadir}/locale/hi/* -%endif - -%if "%( grep -w hr <<< '%{KDE_LANGS}' )" != "" -%files Croatian -%defattr(-,root,root,-) -%lang(hr) %{tde_datadir}/locale/hr/* -%endif - -%if "%( grep -w hu <<< '%{KDE_LANGS}' )" != "" -%files Hungarian -%defattr(-,root,root,-) -%lang(hu) %{tde_datadir}/locale/hu/* -%lang(hu) %{tde_datadir}/apps/koffice/autocorrect/hu.xml -%endif - -%if "%( grep -w id <<< '%{KDE_LANGS}' )" != "" -%files Indonesian -%defattr(-,root,root,-) -%lang(id) %{tde_datadir}/locale/id/* -%endif - -%if "%( grep -w is <<< '%{KDE_LANGS}' )" != "" -%files Icelandic -%defattr(-,root,root,-) -%lang(is) %{tde_datadir}/locale/is/* -%endif - -%if "%( grep -w it <<< '%{KDE_LANGS}' )" != "" -%files Italian -%defattr(-,root,root,-) -%lang(it) %{tde_datadir}/locale/it/* -%lang(it) %{tde_tdedocdir}/HTML/it/ -%lang(it) %{tde_datadir}/apps/koffice/autocorrect/it.xml -%endif - -%if "%( grep -w ja <<< '%{KDE_LANGS}' )" != "" -%files Japanese -%defattr(-,root,root,-) -%lang(ja) %{tde_datadir}/locale/ja/* -%endif - -%if "%( grep -w km <<< '%{KDE_LANGS}' )" != "" -%files Khmer -%defattr(-,root,root,-) -%lang(km) %{tde_datadir}/locale/km/* -%endif - -%if "%( grep -w ko <<< '%{KDE_LANGS}' )" != "" -%files Korean -%defattr(-,root,root,-) -%lang(ko) %{tde_datadir}/locale/ko/* -%endif - -%if "%( grep -w ku <<< '%{KDE_LANGS}' )" != "" -%files Kurdish -%defattr(-,root,root,-) -%lang(ku) %{tde_datadir}/locale/ku/* -%endif - -%if "%( grep -w lao <<< '%{KDE_LANGS}' )" != "" -%files Lao -%defattr(-,root,root,-) -%lang(lo) %{tde_datadir}/locale/lo/* -%endif - -%if "%( grep -w lt <<< '%{KDE_LANGS}' )" != "" -%files Lithuanian -%defattr(-,root,root,-) -%lang(lt) %{tde_datadir}/locale/lt/* -%endif - -%if "%( grep -w lv <<< '%{KDE_LANGS}' )" != "" -%files Latvian -%defattr(-,root,root,-) -%lang(lv) %{tde_datadir}/locale/lv/* -%endif - -%if "%( grep -w mi <<< '%{KDE_LANGS}' )" != "" -%files Maori -%defattr(-,root,root,-) -%lang(mi) %{tde_datadir}/locale/mi/* -%endif - -%if "%( grep -w mk <<< '%{KDE_LANGS}' )" != "" -%files Macedonian -%defattr(-,root,root,-) -%lang(mk) %{tde_datadir}/locale/mk/* -%endif - -%if "%( grep -w ms <<< '%{KDE_LANGS}' )" != "" -%files Malay -%defattr(-,root,root,-) -%lang(ms) %{tde_datadir}/locale/ms/* -%endif - -%if "%( grep -w mt <<< '%{KDE_LANGS}' )" != "" -%files Maltese -%defattr(-,root,root,-) -%lang(mt) %{tde_datadir}/locale/mt/* -%endif - -%if "%( grep -w nds <<< '%{KDE_LANGS}' )" != "" -%files LowSaxon -%defattr(-,root,root,-) -%lang(nds) %{tde_datadir}/locale/nds/* -%endif - -%if "%( grep -w ne <<< '%{KDE_LANGS}' )" != "" -%files Nepali -%defattr(-,root,root,-) -%lang(ne) %{tde_datadir}/locale/ne/* -%endif - -%if "%( grep -w nl <<< '%{KDE_LANGS}' )" != "" -%files Dutch -%defattr(-,root,root,-) -%lang(nl) %{tde_datadir}/locale/nl/* -%lang(nl) %{tde_tdedocdir}/HTML/nl/ -%endif - -%if "%( grep -w nb <<< '%{KDE_LANGS}' )" != "" -%files Norwegian -%defattr(-,root,root,-) -%lang(nb) %{tde_datadir}/locale/nb/* -%endif - -%if "%( grep -w nn <<< '%{KDE_LANGS}' )" != "" -%files Norwegian-Nynorsk -%defattr(-,root,root,-) -%lang(nn) %{tde_datadir}/locale/nn/* -%endif - -%if "%( grep -w oc <<< '%{KDE_LANGS}' )" != "" -%files Occitan -%defattr(-,root,root,-) -%lang(oc) %{tde_datadir}/locale/oc/* -%endif - -%if "%( grep -w pa <<< '%{KDE_LANGS}' )" != "" -%files Punjabi -%defattr(-,root,root,-) -%lang(pa) %{tde_datadir}/locale/pa/* -%endif - -%if "%( grep -w pl <<< '%{KDE_LANGS}' )" != "" -%files Polish -%defattr(-,root,root,-) -%lang(pl) %{tde_datadir}/locale/pl/* -%endif - -%if "%( grep -w pt <<< '%{KDE_LANGS}' )" != "" -%files Portuguese -%defattr(-,root,root,-) -%lang(pt) %{tde_datadir}/locale/pt/* -%lang(pt) %{tde_tdedocdir}/HTML/pt/ -%endif - -%if "%( grep -w pt_BR <<< '%{KDE_LANGS}' )" != "" -%files Brazil -%defattr(-,root,root,-) -%lang(pt_BR) %{tde_datadir}/locale/pt_BR/* -%lang(pt_BR) %{tde_tdedocdir}/HTML/pt_BR/ -%endif - -%if "%( grep -w ro <<< '%{KDE_LANGS}' )" != "" -%files Romanian -%defattr(-,root,root,-) -%lang(ro) %{tde_datadir}/locale/ro/* -%endif - -%if "%( grep -w ru <<< '%{KDE_LANGS}' )" != "" -%files Russian -%defattr(-,root,root,-) -%lang(ru) %{tde_datadir}/locale/ru/* -%lang(ru) %{tde_tdedocdir}/HTML/ru/ -%endif - -%if "%( grep -w sk <<< '%{KDE_LANGS}' )" != "" -%files Slovak -%defattr(-,root,root,-) -%lang(sk) %{tde_datadir}/locale/sk/* -%lang(sk) %{tde_tdedocdir}/HTML/sk/ -%lang(sk) %{tde_datadir}/apps/koffice/autocorrect/sk.xml -%endif - -%if "%( grep -w sl <<< '%{KDE_LANGS}' )" != "" -%files Slovenian -%defattr(-,root,root,-) -%lang(sl) %{tde_datadir}/locale/sl/* -%lang(sl) %{tde_tdedocdir}/HTML/sl/ -%endif - -%if "%( grep -w sr <<< '%{KDE_LANGS}' )" != "" -%files Serbian -%defattr(-,root,root,-) -%lang(sr) %{tde_datadir}/locale/sr/* -%endif - -%if "%( grep -w sv <<< '%{KDE_LANGS}' )" != "" -%files Swedish -%defattr(-,root,root,-) -%lang(sv) %{tde_datadir}/locale/sv/* -%lang(sv) %{tde_tdedocdir}/HTML/sv/ -%endif - -%if "%( grep -w ta <<< '%{KDE_LANGS}' )" != "" -%files Tamil -%defattr(-,root,root,-) -%lang(ta) %{tde_datadir}/locale/ta/* -%endif - -%if "%( grep -w tg <<< '%{KDE_LANGS}' )" != "" -%files Tajik -%defattr(-,root,root,-) -%lang(tg) %{tde_datadir}/locale/tg/* -%endif - -%if "%( grep -w th <<< '%{KDE_LANGS}' )" != "" -%files Thai -%defattr(-,root,root,-) -%lang(th) %{tde_datadir}/locale/th/* -%endif - -%if "%( grep -w tr <<< '%{KDE_LANGS}' )" != "" -%files Turkish -%defattr(-,root,root,-) -%lang(tr) %{tde_datadir}/locale/tr/* -%endif - -%if "%( grep -w uk <<< '%{KDE_LANGS}' )" != "" -%files Ukrainian -%defattr(-,root,root,-) -%lang(uk) %{tde_datadir}/locale/uk/* -%endif - -%if "%( grep -w ven <<< '%{KDE_LANGS}' )" != "" -%files Venda -%defattr(-,root,root,-) -%lang(ven) %{tde_datadir}/locale/ven/* -%endif - -%if "%( grep -w vi <<< '%{KDE_LANGS}' )" != "" -%files Vietnamese -%defattr(-,root,root,-) -%lang(vi) %{tde_datadir}/locale/vi/* -%endif - -%if "%( grep -w wa <<< '%{KDE_LANGS}' )" != "" -%files Walloon -%defattr(-,root,root,-) -%lang(wa) %{tde_datadir}/locale/wa/* -%endif - -%if "%( grep -w xh <<< '%{KDE_LANGS}' )" != "" -%files Xhosa -%defattr(-,root,root,-) -%lang(xh) %{tde_datadir}/locale/xh/* -%endif - -%if "%( grep -w zh_CN <<< '%{KDE_LANGS}' )" != "" -%files Chinese -%defattr(-,root,root,-) -%lang(zh_CN) %{tde_datadir}/locale/zh_CN/* -%endif - -%if "%( grep -w zh_TW <<< '%{KDE_LANGS}' )" != "" -%files Chinese-Big5 -%defattr(-,root,root,-) -%lang(zh_TW) %{tde_datadir}/locale/zh_TW/* -%endif - -%changelog -* Wed Oct 03 2012 Francois Andriot - 1.6.3-2 -- Initial release for TDE 3.5.13.1 - -* Sun Jul 01 2012 Francois Andriot - 1.6.3-1 -- Initial release for TDE 3.5.13 - diff --git a/redhat/applications/koffice-i18n/koffice-i18n-3.5.13.2.spec b/redhat/applications/koffice-i18n/koffice-i18n-3.5.13.2.spec deleted file mode 100644 index 88a4619fb..000000000 --- a/redhat/applications/koffice-i18n/koffice-i18n-3.5.13.2.spec +++ /dev/null @@ -1,1045 +0,0 @@ -# Default version for this component -%define tde_pkg koffice-i18n -%define tde_version 3.5.13.2 - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -# Builds all supported languages (not unsupported ones) -%if "%{?TDE_LANGS}" == "" -%define TDE_LANGS bg ca cs da de el en_GB es et fi fr hu it ja km lv ms nb nds ne nl pl pt pt_BR ru sk sl sr sv tr uk zh_CN zh_TW -%endif - - -Name: trinity-%{tde_pkg} -Summary: Internationalization support for Koffice [Trinity] -Version: 1.6.3 -Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist} - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -# GFDL, with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. -License: GFDL -Group: User Interface/Desktops -BuildArch: noarch - -# Speed build options -%define debug_package %{nil} -%define __spec_install_post %{nil} -AutoReq: no - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-arts-devel >= 1:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: findutils -BuildRequires: gettext -BuildRequires: autoconf automake libtool m4 - -%description -%{summary}. - -%package Bulgarian -Summary: Bulgarian(bg) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-bg = %{version}-%{release} -%description Bulgarian -%{summary}. - -%package Bengali -Summary: Bengali(bn) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-bn = %{version}-%{release} -%description Bengali -%{summary}. - -%package Tibetan -Summary: Tibetan(bo) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-bo = %{version}-%{release} -%description Tibetan -%{summary}. - -%package Breton -Summary: Breton(br) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-br = %{version}-%{release} -%description Breton -%{summary}. - -%package Bosnian -Summary: Bosnian(bs) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-bs = %{version}-%{release} -%description Bosnian -%{summary}. - -%package Catalan -Summary: Catalan(ca) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-ca = %{version}-%{release} -%description Catalan -%{summary}. - -%package Czech -Summary: Czech(cs) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-cs = %{version}-%{release} -%description Czech -%{summary}. - -%package Cymraeg -Summary: Cymraeg language support for Koffice [Trinity] -Group: User Interface/Desktops -%description Cymraeg -%{summary}. - -%package Welsh -Summary: Welsh(cy) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-cy = %{version}-%{release} -%description Welsh -%{summary}. - -%package Danish -Summary: Danish(da) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-da = %{version}-%{release} -%description Danish -%{summary}. - -%package German -Summary: German(de) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-de = %{version}-%{release} -%description German -%{summary}. - -%package Greek -Summary: Greek(el) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-el = %{version}-%{release} -%description Greek -%{summary}. - -%package British -Summary: British(en_GB) English support for TDE -Group: User Interface/Desktops -Provides: %{name}-en_GB = %{version}-%{release} -%description British -%{summary}. - -%package Esperanto -Summary: Esperanto(eo) support for TDE -Group: User Interface/Desktops -Provides: %{name}-eo = %{version}-%{release} -%description Esperanto -%{summary}. - -%package Spanish -Summary: Spanish(es) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-es = %{version}-%{release} -%description Spanish -%{summary}. - -%package Estonian -Summary: Estonian(et) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-et = %{version}-%{release} -%description Estonian -%{summary}. - -%package Basque -Summary: Basque(eu) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-eu = %{version}-%{release} -%description Basque -%{summary}. - -%package Finnish -Summary: Finnish(fi) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-fi = %{version}-%{release} -%description Finnish -%{summary}. - -%package Faroese -Summary: Faroese(fo) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-fo = %{version}-%{release} -%description Faroese -%{summary}. - -%package French -Summary: French(fr) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-fr = %{version}-%{release} -%description French -%{summary}. - -%package Frisian -Summary: Frisian(fy) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-fy = %{version}-%{release} -%description Frisian -%{summary}. - -%package Irish -Summary: Irish(ga) language support for Koffice [Trinity] -Group: User Interface/Desktops -Obsoletes: kde-i18n-Gaeilge < %{version} -Provides: %{name}-ga = %{version}-%{release} -%description Irish -%{summary}. - -%package Galician -Summary: Galician(gl) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-gl = %{version}-%{release} -%description Galician -%{summary}. - -%package Hebrew -Summary: Hebrew(he) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-he = %{version}-%{release} -%description Hebrew -%{summary}. - -%package Hindi -Summary: Hindi(hi) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-hi = %{version}-%{release} -%description Hindi -%{summary}. - -%package Croatian -Summary: Croatian(hr) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-hr = %{version}-%{release} -%description Croatian -%{summary}. - -%package Hungarian -Summary: Hungarian(hu) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-hu = %{version}-%{release} -%description Hungarian -%{summary}. - -%package Indonesian -Summary: Indonesian(id) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-id = %{version}-%{release} -%description Indonesian -%{summary}. - -%package Icelandic -Summary: Icelandic(is) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-is = %{version}-%{release} -%description Icelandic -%{summary}. - -%package Italian -Summary: Italian(it) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-it = %{version}-%{release} -%description Italian -%{summary}. - -%package Japanese -Summary: Japanese(ja) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-ja = %{version}-%{release} -%description Japanese -%{summary}. - -%package Khmer -Summary: Khmer(km) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-km = %{version}-%{release} -%description Khmer -%{summary}. - -%package Korean -Summary: Korean(ko) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-ko = %{version}-%{release} -%description Korean -%{summary}. - -%package Kurdish -Summary: Kurdish(ku) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-ku = %{version}-%{release} -%description Kurdish -%{summary}. - -%package Lao -Summary: Lao(lo) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-lo = %{version}-%{release} -%description Lao -%{summary}. - -%package Lithuanian -Summary: Lithuanian(lt) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-lt = %{version}-%{release} -%description Lithuanian -%{summary}. - -%package Latvian -Summary: Latvian(lv) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-lv = %{version}-%{release} -%description Latvian -%{summary}. - -%package Maori -Summary: Maori(mi) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-mi = %{version}-%{release} -%description Maori -%{summary}. - -%package Macedonian -Summary: Macedonian(mk) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-mk = %{version}-%{release} -%description Macedonian -%{summary}. - -%package Malay -Summary: Malay(ms) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-ms = %{version}-%{release} -%description Malay -%{summary}. - -%package Maltese -Summary: Maltese(mt) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-mt = %{version}-%{release} -%description Maltese -%{summary}. - -%package LowSaxon -Summary: Low Saxon (nds) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-nds = %{version}-%{release} -%description LowSaxon -%{summary}. - -%package Nepali -Summary: Nepali(ne) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-ne = %{version}-%{release} -%description Nepali -%{summary}. - -%package Dutch -Summary: Dutch(nl) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-nl = %{version}-%{release} -%description Dutch -%{summary}. - -%package Norwegian -Summary: Norwegian(no) (Bokmaal) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-no = %{version}-%{release} -%description Norwegian -%{summary}. - -%package Norwegian-Nynorsk -Summary: Norwegian(nn) (Nynorsk) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-nn = %{version}-%{release} -%description Norwegian-Nynorsk -%{summary}. - -%package Occitan -Summary: Occitan(oc) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-oc = %{version}-%{release} -%description Occitan -%{summary}. - -%package Polish -Summary: Polish(pl) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-pl = %{version}-%{release} -%description Polish -%{summary}. - -%package Portuguese -Summary: Portuguese(pt) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-pt = %{version}-%{release} -%description Portuguese -%{summary}. - -%package Punjabi -Summary: Punjabi(pa) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-pa = %{version}-%{release} -%description Punjabi -%{summary}. - -%package Brazil -Summary: Brazil(pt_BR) Portuguese language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-pt_BR = %{version}-%{release} -%description Brazil -%{summary}. - -%package Romanian -Summary: Romanian(ro) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-ro = %{version}-%{release} -%description Romanian -%{summary}. - -%package Russian -Summary: Russian(ru) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-ru = %{version}-%{release} -%description Russian -%{summary}. - -%package Slovak -Summary: Slovak(sk) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-sk = %{version}-%{release} -%description Slovak -%{summary}. - -%package Slovenian -Summary: Slovenian(sl) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-sl = %{version}-%{release} -%description Slovenian -%{summary}. - -%package Serbian -Summary: Serbian(sr) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-sr = %{version}-%{release} -%description Serbian -%{summary}. - -%package Swedish -Summary: Swedish(sv) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-sv = %{version}-%{release} -%description Swedish -%{summary}. - -%package Tamil -Summary: Tamil(ta) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-ta = %{version}-%{release} -%description Tamil -%{summary}. - -%package Tajik -Summary: Tajik(tg) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-tg = %{version}-%{release} -%description Tajik -%{summary}. - -%package Thai -Summary: Thai(th) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-th = %{version}-%{release} -%description Thai -%{summary}. - -%package Turkish -Summary: Turkish(tr) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-tr = %{version}-%{release} -%description Turkish -%{summary}. - -%package Ukrainian -Summary: Ukrainian(uk) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-uk = %{version}-%{release} -%description Ukrainian -%{summary}. - -%package Venda -Summary: Venda(ven) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-ven = %{version}-%{release} -%description Venda -%{summary}. - -%package Vietnamese -Summary: Vietnamese(vi) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-vi = %{version}-%{release} -%description Vietnamese -%{summary}. - -%package Walloon -Summary: Walloon(wa) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-wa = %{version}-%{release} -%description Walloon -%{summary}. - -%package Xhosa -Summary: Xhosa(xh) (a Bantu language) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-xh = %{version}-%{release} -%description Xhosa -%{summary}. - -%package Chinese -Summary: Chinese(zh_CN) (Simplified Chinese) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-zh_CN = %{version}-%{release} -%description Chinese -%{summary}. - -%package Chinese-Big5 -Summary: Chinese(zh_TW) (Big5) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-tz_TW = %{version}-%{release} -%description Chinese-Big5 -%{summary}. - - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" - - -%build -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -export kde_htmldir="%{tde_tdedocdir}/HTML" - -for l in %{TDE_LANGS}; do - for f in koffice-i18n-${l}/; do - if [ -d "${f}" ]; then - pushd ${f} - %__sed -i "configure.in" -e "s|AM_CONFIG_HEADER|AC_CONFIG_HEADER|" - %__make -f "admin/Makefile.common" - %configure \ - --prefix=%{tde_prefix} \ - --datadir=%{tde_datadir} \ - --docdir=%{tde_tdedocdir} - %__make %{?_smp_mflags} - popd - fi - done -done - -%install -%__rm -rf %{?buildroot} -export PATH="%{tde_bindir}:${PATH}" - -for l in %{TDE_LANGS}; do - for f in koffice-i18n-${l}/; do - if [ -d "${f}" ] && [ -r "${f}/Makefile" ] ; then - %__make install DESTDIR="%{?buildroot}" -C "${f}" - fi - done -done - -# remove zero-length file -find "%{buildroot}%{tde_tdedocdir}/HTML" -size 0 -exec rm -f {} \; - -%clean -%__rm -rf %{buildroot} - -%if "%( grep -w af <<< '%{TDE_LANGS}' )" != "" -%files Afrikaans -%defattr(-,root,root,-) -%{tde_datadir}/locale/af/* -%endif - -%if "%( grep -w ar <<< '%{TDE_LANGS}' )" != "" -%files Arabic -%defattr(-,root,root,-) -%{tde_datadir}/locale/ar/* -%endif - -%if "%( grep -w az <<< '%{TDE_LANGS}' )" != "" -%files Azerbaijani -%defattr(-,root,root,-) -%{tde_datadir}/locale/az/* -%endif - -%if "%( grep -w be <<< '%{TDE_LANGS}' )" != "" -%files Belarusian -%defattr(-,root,root,-) -%{tde_datadir}/locale/be/* -%endif - -%if "%( grep -w bg <<< '%{TDE_LANGS}' )" != "" -%files Bulgarian -%defattr(-,root,root,-) -%{tde_datadir}/locale/bg/* -%endif - -%if "%( grep -w bn <<< '%{TDE_LANGS}' )" != "" -%files Bengali -%defattr(-,root,root,-) -%{tde_datadir}/locale/bn/* -%endif - -%if "%( grep -w bo <<< '%{TDE_LANGS}' )" != "" -%files Tibetan -%defattr(-,root,root,-) -%{tde_datadir}/locale/bo/* -%endif - -%if "%( grep -w br <<< '%{TDE_LANGS}' )" != "" -%files Breton -%defattr(-,root,root,-) -%{tde_datadir}/locale/br/* -%endif - -%if "%( grep -w bs <<< '%{TDE_LANGS}' )" != "" -%files Bosnian -%defattr(-,root,root,-) -%{tde_datadir}/locale/bs/* -%endif - -%if "%( grep -w ca <<< '%{TDE_LANGS}' )" != "" -%files Catalan -%defattr(-,root,root,-) -%{tde_datadir}/locale/ca/* -%{tde_tdedocdir}/HTML/ca/ -%{tde_datadir}/apps/koffice/autocorrect/ca.xml -%endif - -%if "%( grep -w cs <<< '%{TDE_LANGS}' )" != "" -%files Czech -%defattr(-,root,root,-) -%{tde_datadir}/locale/cs/* -%{tde_datadir}/apps/koffice/autocorrect/cs.xml -%endif - -%if "%( grep -w cy <<< '%{TDE_LANGS}' )" != "" -%files Welsh -%defattr(-,root,root,-) -%{tde_datadir}/locale/cy/* -%endif - -%if "%( grep -w da <<< '%{TDE_LANGS}' )" != "" -%files Danish -%defattr(-,root,root,-) -%{tde_datadir}/locale/da/* -%{tde_tdedocdir}/HTML/da/ -%endif - -%if "%( grep -w de <<< '%{TDE_LANGS}' )" != "" -%files German -%defattr(-,root,root,-) -%{tde_datadir}/locale/de/* -%{tde_tdedocdir}/HTML/de/ -%{tde_datadir}/apps/koffice/autocorrect/de.xml -%endif - -%if "%( grep -w el <<< '%{TDE_LANGS}' )" != "" -%files Greek -%defattr(-,root,root,-) -%{tde_datadir}/locale/el/* -%endif - -%if "%( grep -w en_GB <<< '%{TDE_LANGS}' )" != "" -%files British -%defattr(-,root,root,-) -%{tde_datadir}/locale/en_GB/* -%{tde_tdedocdir}/HTML/en_GB/ -%endif - -%if "%( grep -w eo <<< '%{TDE_LANGS}' )" != "" -%files Esperanto -%defattr(-,root,root,-) -%{tde_datadir}/locale/eo/* -%endif - -%if "%( grep -w es <<< '%{TDE_LANGS}' )" != "" -%files Spanish -%defattr(-,root,root,-) -%{tde_datadir}/locale/es/* -%{tde_tdedocdir}/HTML/es/ -%{tde_datadir}/apps/koffice/autocorrect/es.xml -%endif - -%if "%( grep -w et <<< '%{TDE_LANGS}' )" != "" -%files Estonian -%defattr(-,root,root,-) -%{tde_datadir}/locale/et/* -%{tde_tdedocdir}/HTML/et/ -%endif - -%if "%( grep -w eu <<< '%{TDE_LANGS}' )" != "" -%files Basque -%defattr(-,root,root,-) -%{tde_datadir}/locale/eu/* -%endif - -%if "%( grep -w fa <<< '%{TDE_LANGS}' )" != "" -%files Farsi -%defattr(-,root,root,-) -%{tde_datadir}/locale/fa/* -%endif - -%if "%( grep -w fi <<< '%{TDE_LANGS}' )" != "" -%files Finnish -%defattr(-,root,root,-) -%{tde_datadir}/locale/fi/* -%endif - -%if "%( grep -w fo <<< '%{TDE_LANGS}' )" != "" -%files Faroese -%defattr(-,root,root,-) -%{tde_datadir}/locale/fo/* -%endif - -%if "%( grep -w fr <<< '%{TDE_LANGS}' )" != "" -%files French -%defattr(-,root,root,-) -%{tde_datadir}/locale/fr/* -%{tde_tdedocdir}/HTML/fr/ -%{tde_datadir}/apps/koffice/autocorrect/fr.xml -%endif - -%if "%( grep -w fy <<< '%{TDE_LANGS}' )" != "" -%files Frisian -%defattr(-,root,root,-) -%{tde_datadir}/locale/fy/* -%endif - -%if "%( grep -w ga <<< '%{TDE_LANGS}' )" != "" -%files Irish -%defattr(-,root,root,-) -%{tde_datadir}/locale/ga/* -%endif - -%if "%( grep -w gl <<< '%{TDE_LANGS}' )" != "" -%files Galician -%defattr(-,root,root,-) -%{tde_datadir}/locale/gl/* -%endif - -%if "%( grep -w he <<< '%{TDE_LANGS}' )" != "" -%files Hebrew -%defattr(-,root,root,-) -%{tde_datadir}/locale/he/* -%endif - -%if "%( grep -w hi <<< '%{TDE_LANGS}' )" != "" -%files Hindi -%defattr(-,root,root,-) -%{tde_datadir}/locale/hi/* -%endif - -%if "%( grep -w hr <<< '%{TDE_LANGS}' )" != "" -%files Croatian -%defattr(-,root,root,-) -%{tde_datadir}/locale/hr/* -%endif - -%if "%( grep -w hu <<< '%{TDE_LANGS}' )" != "" -%files Hungarian -%defattr(-,root,root,-) -%{tde_datadir}/locale/hu/* -%{tde_datadir}/apps/koffice/autocorrect/hu.xml -%endif - -%if "%( grep -w id <<< '%{TDE_LANGS}' )" != "" -%files Indonesian -%defattr(-,root,root,-) -%{tde_datadir}/locale/id/* -%endif - -%if "%( grep -w is <<< '%{TDE_LANGS}' )" != "" -%files Icelandic -%defattr(-,root,root,-) -%{tde_datadir}/locale/is/* -%endif - -%if "%( grep -w it <<< '%{TDE_LANGS}' )" != "" -%files Italian -%defattr(-,root,root,-) -%{tde_datadir}/locale/it/* -%{tde_tdedocdir}/HTML/it/ -%{tde_datadir}/apps/koffice/autocorrect/it.xml -%endif - -%if "%( grep -w ja <<< '%{TDE_LANGS}' )" != "" -%files Japanese -%defattr(-,root,root,-) -%{tde_datadir}/locale/ja/* -%endif - -%if "%( grep -w km <<< '%{TDE_LANGS}' )" != "" -%files Khmer -%defattr(-,root,root,-) -%{tde_datadir}/locale/km/* -%endif - -%if "%( grep -w ko <<< '%{TDE_LANGS}' )" != "" -%files Korean -%defattr(-,root,root,-) -%{tde_datadir}/locale/ko/* -%endif - -%if "%( grep -w ku <<< '%{TDE_LANGS}' )" != "" -%files Kurdish -%defattr(-,root,root,-) -%{tde_datadir}/locale/ku/* -%endif - -%if "%( grep -w lao <<< '%{TDE_LANGS}' )" != "" -%files Lao -%defattr(-,root,root,-) -%{tde_datadir}/locale/lo/* -%endif - -%if "%( grep -w lt <<< '%{TDE_LANGS}' )" != "" -%files Lithuanian -%defattr(-,root,root,-) -%{tde_datadir}/locale/lt/* -%endif - -%if "%( grep -w lv <<< '%{TDE_LANGS}' )" != "" -%files Latvian -%defattr(-,root,root,-) -%{tde_datadir}/locale/lv/* -%endif - -%if "%( grep -w mi <<< '%{TDE_LANGS}' )" != "" -%files Maori -%defattr(-,root,root,-) -%{tde_datadir}/locale/mi/* -%endif - -%if "%( grep -w mk <<< '%{TDE_LANGS}' )" != "" -%files Macedonian -%defattr(-,root,root,-) -%{tde_datadir}/locale/mk/* -%endif - -%if "%( grep -w ms <<< '%{TDE_LANGS}' )" != "" -%files Malay -%defattr(-,root,root,-) -%{tde_datadir}/locale/ms/* -%endif - -%if "%( grep -w mt <<< '%{TDE_LANGS}' )" != "" -%files Maltese -%defattr(-,root,root,-) -%{tde_datadir}/locale/mt/* -%endif - -%if "%( grep -w nds <<< '%{TDE_LANGS}' )" != "" -%files LowSaxon -%defattr(-,root,root,-) -%{tde_datadir}/locale/nds/* -%endif - -%if "%( grep -w ne <<< '%{TDE_LANGS}' )" != "" -%files Nepali -%defattr(-,root,root,-) -%{tde_datadir}/locale/ne/* -%endif - -%if "%( grep -w nl <<< '%{TDE_LANGS}' )" != "" -%files Dutch -%defattr(-,root,root,-) -%{tde_datadir}/locale/nl/* -%{tde_tdedocdir}/HTML/nl/ -%endif - -%if "%( grep -w nb <<< '%{TDE_LANGS}' )" != "" -%files Norwegian -%defattr(-,root,root,-) -%{tde_datadir}/locale/nb/* -%endif - -%if "%( grep -w nn <<< '%{TDE_LANGS}' )" != "" -%files Norwegian-Nynorsk -%defattr(-,root,root,-) -%{tde_datadir}/locale/nn/* -%endif - -%if "%( grep -w oc <<< '%{TDE_LANGS}' )" != "" -%files Occitan -%defattr(-,root,root,-) -%{tde_datadir}/locale/oc/* -%endif - -%if "%( grep -w pa <<< '%{TDE_LANGS}' )" != "" -%files Punjabi -%defattr(-,root,root,-) -%{tde_datadir}/locale/pa/* -%endif - -%if "%( grep -w pl <<< '%{TDE_LANGS}' )" != "" -%files Polish -%defattr(-,root,root,-) -%{tde_datadir}/locale/pl/* -%endif - -%if "%( grep -w pt <<< '%{TDE_LANGS}' )" != "" -%files Portuguese -%defattr(-,root,root,-) -%{tde_datadir}/locale/pt/* -%{tde_tdedocdir}/HTML/pt/ -%endif - -%if "%( grep -w pt_BR <<< '%{TDE_LANGS}' )" != "" -%files Brazil -%defattr(-,root,root,-) -%{tde_datadir}/locale/pt_BR/* -%{tde_tdedocdir}/HTML/pt_BR/ -%endif - -%if "%( grep -w ro <<< '%{TDE_LANGS}' )" != "" -%files Romanian -%defattr(-,root,root,-) -%{tde_datadir}/locale/ro/* -%endif - -%if "%( grep -w ru <<< '%{TDE_LANGS}' )" != "" -%files Russian -%defattr(-,root,root,-) -%{tde_datadir}/locale/ru/* -%{tde_tdedocdir}/HTML/ru/ -%endif - -%if "%( grep -w sk <<< '%{TDE_LANGS}' )" != "" -%files Slovak -%defattr(-,root,root,-) -%{tde_datadir}/locale/sk/* -%{tde_tdedocdir}/HTML/sk/ -%{tde_datadir}/apps/koffice/autocorrect/sk.xml -%endif - -%if "%( grep -w sl <<< '%{TDE_LANGS}' )" != "" -%files Slovenian -%defattr(-,root,root,-) -%{tde_datadir}/locale/sl/* -%{tde_tdedocdir}/HTML/sl/ -%endif - -%if "%( grep -w sr <<< '%{TDE_LANGS}' )" != "" -%files Serbian -%defattr(-,root,root,-) -%{tde_datadir}/locale/sr/* -%endif - -%if "%( grep -w sv <<< '%{TDE_LANGS}' )" != "" -%files Swedish -%defattr(-,root,root,-) -%{tde_datadir}/locale/sv/* -%{tde_tdedocdir}/HTML/sv/ -%endif - -%if "%( grep -w ta <<< '%{TDE_LANGS}' )" != "" -%files Tamil -%defattr(-,root,root,-) -%{tde_datadir}/locale/ta/* -%endif - -%if "%( grep -w tg <<< '%{TDE_LANGS}' )" != "" -%files Tajik -%defattr(-,root,root,-) -%{tde_datadir}/locale/tg/* -%endif - -%if "%( grep -w th <<< '%{TDE_LANGS}' )" != "" -%files Thai -%defattr(-,root,root,-) -%{tde_datadir}/locale/th/* -%endif - -%if "%( grep -w tr <<< '%{TDE_LANGS}' )" != "" -%files Turkish -%defattr(-,root,root,-) -%{tde_datadir}/locale/tr/* -%endif - -%if "%( grep -w uk <<< '%{TDE_LANGS}' )" != "" -%files Ukrainian -%defattr(-,root,root,-) -%{tde_datadir}/locale/uk/* -%endif - -%if "%( grep -w ven <<< '%{TDE_LANGS}' )" != "" -%files Venda -%defattr(-,root,root,-) -%{tde_datadir}/locale/ven/* -%endif - -%if "%( grep -w vi <<< '%{TDE_LANGS}' )" != "" -%files Vietnamese -%defattr(-,root,root,-) -%{tde_datadir}/locale/vi/* -%endif - -%if "%( grep -w wa <<< '%{TDE_LANGS}' )" != "" -%files Walloon -%defattr(-,root,root,-) -%{tde_datadir}/locale/wa/* -%endif - -%if "%( grep -w xh <<< '%{TDE_LANGS}' )" != "" -%files Xhosa -%defattr(-,root,root,-) -%{tde_datadir}/locale/xh/* -%endif - -%if "%( grep -w zh_CN <<< '%{TDE_LANGS}' )" != "" -%files Chinese -%defattr(-,root,root,-) -%{tde_datadir}/locale/zh_CN/* -%endif - -%if "%( grep -w zh_TW <<< '%{TDE_LANGS}' )" != "" -%files Chinese-Big5 -%defattr(-,root,root,-) -%{tde_datadir}/locale/zh_TW/* -%endif - - -%changelog diff --git a/redhat/applications/koffice-i18n/koffice-l10n-3.5.13.spec b/redhat/applications/koffice-i18n/koffice-l10n-3.5.13.spec deleted file mode 100644 index 043e71331..000000000 --- a/redhat/applications/koffice-i18n/koffice-l10n-3.5.13.spec +++ /dev/null @@ -1,1090 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%define _docdir %{_prefix}/share/doc -%endif - -# TDE 3.5.13 specific building variables -BuildRequires: autoconf automake libtool m4 -%define tde_docdir %{_docdir}/kde -%define tde_includedir %{_includedir}/kde -%define tde_libdir %{_libdir}/trinity - -# Builds all supported languages (not unsupported ones) -%if "%{?KDE_LANGS}" == "" -#define KDE_LANGS bg ca cs da de el en_GB es et fi fr hu it ja km lv ms nb nds ne nl pl pt pt_BR ru sk sl sr sv tr uk zh_CN zh_TW -%define KDE_LANGS fr -%endif - - -Name: trinity-koffice-i18n -Summary: Internationalization support for Trinity -Version: 1.6.3 -Release: 1%{?dist}%{?_variant} - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -# GFDL, with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. -License: GFDL -Group: User Interface/Desktops -BuildArch: noarch - -# Speed build options -%define debug_package %{nil} -%define __spec_install_post %{nil} -AutoReq: no - -Source0: koffice-l10n_1.6.3.orig.tar.gz - -BuildRequires: findutils -BuildRequires: gettext -BuildRequires: trinity-arts-devel -BuildRequires: trinity-kdelibs-devel - -%description -%{summary}. - -%package Bulgarian -Summary: Bulgarian(bg) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-bg = %{version}-%{release} -%description Bulgarian -%{summary}. - -%package Bengali -Summary: Bengali(bn) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-bn = %{version}-%{release} -%description Bengali -%{summary}. - -%package Tibetan -Summary: Tibetan(bo) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-bo = %{version}-%{release} -%description Tibetan -%{summary}. - -%package Breton -Summary: Breton(br) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-br = %{version}-%{release} -%description Breton -%{summary}. - -%package Bosnian -Summary: Bosnian(bs) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-bs = %{version}-%{release} -%description Bosnian -%{summary}. - -%package Catalan -Summary: Catalan(ca) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-ca = %{version}-%{release} -%description Catalan -%{summary}. - -%package Czech -Summary: Czech(cs) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-cs = %{version}-%{release} -%description Czech -%{summary}. - -%package Cymraeg -Summary: Cymraeg language support for KDE3 -Group: User Interface/Desktops -%description Cymraeg -%{summary}. - -%package Welsh -Summary: Welsh(cy) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-cy = %{version}-%{release} -%description Welsh -%{summary}. - -%package Danish -Summary: Danish(da) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-da = %{version}-%{release} -#Requires: kde-filesystem -%description Danish -%{summary}. - -%package German -Summary: German(de) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-de = %{version}-%{release} -#Requires: kde-filesystem -%description German -%{summary}. - -%package Greek -Summary: Greek(el) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-el = %{version}-%{release} -#Requires: kde-filesystem -%description Greek -%{summary}. - -%package British -Summary: British(en_GB) English support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-en_GB = %{version}-%{release} -#Requires: kde-filesystem -%description British -%{summary}. - -%package Esperanto -Summary: Esperanto(eo) support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-eo = %{version}-%{release} -#Requires: kde-filesystem -%description Esperanto -%{summary}. - -%package Spanish -Summary: Spanish(es) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-es = %{version}-%{release} -#Requires: kde-filesystem -%description Spanish -%{summary}. - -%package Estonian -Summary: Estonian(et) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-et = %{version}-%{release} -#Requires: kde-filesystem -%description Estonian -%{summary}. - -%package Basque -Summary: Basque(eu) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-eu = %{version}-%{release} -#Requires: kde-filesystem -%description Basque -%{summary}. - -%package Farsi -Summary: Farsi(fa) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-fa = %{version}-%{release} -#Requires: kde-filesystem -%description Farsi -%{summary}. - -%package Finnish -Summary: Finnish(fi) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-fi = %{version}-%{release} -#Requires: kde-filesystem -%description Finnish -%{summary}. - -%package Faroese -Summary: Faroese(fo) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-fo = %{version}-%{release} -#Requires: kde-filesystem -%description Faroese -%{summary}. - -%package French -Summary: French(fr) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-fr = %{version}-%{release} -%description French -%{summary}. - -%package Frisian -Summary: Frisian(fy) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-fy = %{version}-%{release} -#Requires: kde-filesystem -%description Frisian -%{summary}. - -%package Irish -Summary: Irish(ga) language support for KDE3 -Group: User Interface/Desktops -Obsoletes: kde-i18n-Gaeilge < %{version} -Provides: %{name}-ga = %{version}-%{release} -#Requires: kde-filesystem -%description Irish -%{summary}. - -%package Galician -Summary: Galician(gl) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-gl = %{version}-%{release} -#Requires: kde-filesystem -%description Galician -%{summary}. - -%package Hebrew -Summary: Hebrew(he) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-he = %{version}-%{release} -#Requires: kde-filesystem -%description Hebrew -%{summary}. - -%package Hindi -Summary: Hindi(hi) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-hi = %{version}-%{release} -#Requires: kde-filesystem -%description Hindi -%{summary}. - -%package Croatian -Summary: Croatian(hr) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-hr = %{version}-%{release} -#Requires: kde-filesystem -%description Croatian -%{summary}. - -%package Hungarian -Summary: Hungarian(hu) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-hu = %{version}-%{release} -#Requires: kde-filesystem -%description Hungarian -%{summary}. - -%package Indonesian -Summary: Indonesian(id) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-id = %{version}-%{release} -#Requires: kde-filesystem -%description Indonesian -%{summary}. - -%package Icelandic -Summary: Icelandic(is) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-is = %{version}-%{release} -#Requires: kde-filesystem -%description Icelandic -%{summary}. - -%package Italian -Summary: Italian(it) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-it = %{version}-%{release} -#Requires: kde-filesystem -%description Italian -%{summary}. - -%package Japanese -Summary: Japanese(ja) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-ja = %{version}-%{release} -#Requires: kde-filesystem -%description Japanese -%{summary}. - -%package Korean -Summary: Korean(ko) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-ko = %{version}-%{release} -#Requires: kde-filesystem -%description Korean -%{summary}. - -%package Kurdish -Summary: Kurdish(ku) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-ku = %{version}-%{release} -#Requires: kde-filesystem -%description Kurdish -%{summary}. - -%package Lao -Summary: Lao(lo) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-lo = %{version}-%{release} -#Requires: kde-filesystem -%description Lao -%{summary}. - -%package Lithuanian -Summary: Lithuanian(lt) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-lt = %{version}-%{release} -#Requires: kde-filesystem -%description Lithuanian -%{summary}. - -%package Latvian -Summary: Latvian(lv) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-lv = %{version}-%{release} -#Requires: kde-filesystem -%description Latvian -%{summary}. - -%package Maori -Summary: Maori(mi) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-mi = %{version}-%{release} -#Requires: kde-filesystem -%description Maori -%{summary}. - -%package Macedonian -Summary: Macedonian(mk) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-mk = %{version}-%{release} -#Requires: kde-filesystem -%description Macedonian -%{summary}. - -%package Maltese -Summary: Maltese(mt) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-mt = %{version}-%{release} -#Requires: kde-filesystem -%description Maltese -%{summary}. - -%package Dutch -Summary: Dutch(nl) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-nl = %{version}-%{release} -#Requires: kde-filesystem -%description Dutch -%{summary}. - -%package Norwegian -Summary: Norwegian(no) (Bokmaal) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-no = %{version}-%{release} -#Requires: kde-filesystem -%description Norwegian -%{summary}. - -%package Norwegian-Nynorsk -Summary: Norwegian(nn) (Nynorsk) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-nn = %{version}-%{release} -#Requires: kde-filesystem -%description Norwegian-Nynorsk -%{summary}. - -%package Occitan -Summary: Occitan(oc) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-oc = %{version}-%{release} -#Requires: kde-filesystem -%description Occitan -%{summary}. - -%package Polish -Summary: Polish(pl) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-pl = %{version}-%{release} -#Requires: kde-filesystem -%description Polish -%{summary}. - -%package Portuguese -Summary: Portuguese(pt) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-pt = %{version}-%{release} -#Requires: kde-filesystem -%description Portuguese -%{summary}. - -%package Punjabi -Summary: Punjabi(pa) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-pa = %{version}-%{release} -#Requires: kde-filesystem -%description Punjabi -%{summary}. - -%package Brazil -Summary: Brazil(pt_BR) Portuguese language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-pt_BR = %{version}-%{release} -#Requires: kde-filesystem -%description Brazil -%{summary}. - -%package Romanian -Summary: Romanian(ro) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-ro = %{version}-%{release} -#Requires: kde-filesystem -%description Romanian -%{summary}. - -%package Russian -Summary: Russian(ru) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-ru = %{version}-%{release} -#Requires: kde-filesystem -%description Russian -%{summary}. - -%package Slovak -Summary: Slovak(sk) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-sk = %{version}-%{release} -#Requires: kde-filesystem -%description Slovak -%{summary}. - -%package Slovenian -Summary: Slovenian(sl) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-sl = %{version}-%{release} -#Requires: kde-filesystem -%description Slovenian -%{summary}. - -%package Serbian -Summary: Serbian(sr) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-sr = %{version}-%{release} -#Requires: kde-filesystem -%description Serbian -%{summary}. - -%package Swedish -Summary: Swedish(sv) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-sv = %{version}-%{release} -#Requires: kde-filesystem -%description Swedish -%{summary}. - -%package Tamil -Summary: Tamil(ta) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-ta = %{version}-%{release} -#Requires: kde-filesystem -%description Tamil -%{summary}. - -%package Tajik -Summary: Tajik(tg) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-tg = %{version}-%{release} -#Requires: kde-filesystem -%description Tajik -%{summary}. - -%package Thai -Summary: Thai(th) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-th = %{version}-%{release} -#Requires: kde-filesystem -%description Thai -%{summary}. - -%package Turkish -Summary: Turkish(tr) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-tr = %{version}-%{release} -#Requires: kde-filesystem -%description Turkish -%{summary}. - -%package Ukrainian -Summary: Ukrainian(uk) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-uk = %{version}-%{release} -#Requires: kde-filesystem -%description Ukrainian -%{summary}. - -%package Venda -Summary: Venda(ven) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-ven = %{version}-%{release} -#Requires: kde-filesystem -%description Venda -%{summary}. - -%package Vietnamese -Summary: Vietnamese(vi) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-vi = %{version}-%{release} -#Requires: kde-filesystem -%description Vietnamese -%{summary}. - -%package Walloon -Summary: Walloon(wa) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-wa = %{version}-%{release} -#Requires: kde-filesystem -%description Walloon -%{summary}. - -%package Xhosa -Summary: Xhosa(xh) (a Bantu language) support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-xh = %{version}-%{release} -#Requires: kde-filesystem -%description Xhosa -%{summary}. - -%package Chinese -Summary: Chinese(zh_CN) (Simplified Chinese) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-zh_CN = %{version}-%{release} -#Requires: kde-filesystem -%description Chinese -%{summary}. - -%package Chinese-Big5 -Summary: Chinese(zh_TW) (Big5) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-tz_TW = %{version}-%{release} -#Requires: kde-filesystem -%description Chinese-Big5 -%{summary}. - - - -%prep -%setup -q -n koffice-l10n-%{version} - -for l in %{KDE_LANGS}; do - for f in koffice-l10n-${l}-*.tar.bz2; do - tar xjf "${f}" - done -done - - -%build -export PATH="%{_bindir}:${PATH}" -export LDFLAGS="-L%{_libdir} -I%{_includedir}" - -export kde_htmldir="%{tde_docdir}/HTML" - -for l in %{KDE_LANGS}; do - for f in koffice-l10n-${l}-*/; do - if [ -d "${f}" ] && [ -x "${f}/configure" ] ; then - pushd ${f} - %configure - %__make %{?_smp_mflags} - popd - fi - done -done - -%install -%__rm -rf %{?buildroot} -export PATH="%{_bindir}:${PATH}" - -for l in %{KDE_LANGS}; do - for f in koffice-l10n-${l}-*/; do - if [ -d "${f}" ] && [ -r "${f}/Makefile" ] ; then - %__make install DESTDIR="%{?buildroot}" -C "${f}" - fi - done -done - -# make symlinks relative -%if "%{_prefix}" == "/usr" -pushd "%{buildroot}%{tde_docdir}/HTML" -for lang in *; do - if [ -d "$lang" ]; then - pushd "$lang" - for i in */*/*; do - if [ -d $i -a -L $i/common ]; then - rm -f $i/common - ln -sf ../../../docs/common $i - fi - done - - for i in */*; do - if [ -d $i -a -L $i/common ]; then - rm -f $i/common - ln -sf ../../docs/common $i - fi - done - - for i in *; do - if [ -d $i -a -L $i/common ]; then - rm -f $i/common - ln -sf ../docs/common $i - fi - done - - popd - fi -done -popd -%endif - -# remove zero-length file -find "%{buildroot}%{tde_docdir}/HTML" -size 0 -exec rm -f {} \; - -%clean -%__rm -rf %{buildroot} - -%if "%( grep -w af <<< '%{KDE_LANGS}' )" != "" -%files Afrikaans -%defattr(-,root,root,-) -%lang(af) %{_datadir}/locale/af/* -%lang(af) %{tde_docdir}/HTML/af/ -%endif - -%if "%( grep -w ar <<< '%{KDE_LANGS}' )" != "" -%files Arabic -%defattr(-,root,root,-) -%lang(ar) %{_datadir}/locale/ar/* -%endif - -%if "%( grep -w az <<< '%{KDE_LANGS}' )" != "" -%files Azerbaijani -%defattr(-,root,root,-) -%lang(az) %{_datadir}/locale/az/* -%endif - -%if "%( grep -w be <<< '%{KDE_LANGS}' )" != "" -%files Belarusian -%defattr(-,root,root,-) -%lang(be) %{_datadir}/locale/be/* -%endif - -%if "%( grep -w bg <<< '%{KDE_LANGS}' )" != "" -%files Bulgarian -%defattr(-,root,root,-) -%lang(bg) %{_datadir}/locale/bg/* -%endif - -%if "%( grep -w bn <<< '%{KDE_LANGS}' )" != "" -%files Bengali -%defattr(-,root,root,-) -%lang(bn) %{_datadir}/locale/bn/* -%endif - -%if "%( grep -w bo <<< '%{KDE_LANGS}' )" != "" -%files Tibetan -%defattr(-,root,root,-) -%lang(bo) %{_datadir}/locale/bo/* -%endif - -%if "%( grep -w br <<< '%{KDE_LANGS}' )" != "" -%files Breton -%defattr(-,root,root,-) -%lang(br) %{_datadir}/locale/br/* -%endif - -%if "%( grep -w bs <<< '%{KDE_LANGS}' )" != "" -%files Bosnian -%defattr(-,root,root,-) -%lang(bs) %{_datadir}/locale/bs/* -%endif - -%if "%( grep -w ca <<< '%{KDE_LANGS}' )" != "" -%files Catalan -%defattr(-,root,root,-) -%lang(ca) %{_datadir}/locale/ca/* -%lang(ca) %{tde_docdir}/HTML/ca/ -%endif - -%if "%( grep -w cs <<< '%{KDE_LANGS}' )" != "" -%files Czech -%defattr(-,root,root,-) -%lang(cs) %{_datadir}/locale/cs/* -%lang(cs) %{tde_docdir}/HTML/cs/ -%endif - -%if "%( grep -w cy <<< '%{KDE_LANGS}' )" != "" -%files Welsh -%defattr(-,root,root,-) -%lang(cy) %{_datadir}/locale/cy/* -%endif - -%if "%( grep -w da <<< '%{KDE_LANGS}' )" != "" -%files Danish -%defattr(-,root,root,-) -%lang(da) %{_datadir}/locale/da/* -%lang(da) %{tde_docdir}/HTML/da/ -%endif - -%if "%( grep -w de <<< '%{KDE_LANGS}' )" != "" -%files German -%defattr(-,root,root,-) -%lang(de) %{_datadir}/locale/de/* -%lang(de) %{tde_docdir}/HTML/de/ -%endif - -%if "%( grep -w el <<< '%{KDE_LANGS}' )" != "" -%files Greek -%defattr(-,root,root,-) -%lang(el) %{_datadir}/locale/el/* -%endif - -%if "%( grep -w en_GB <<< '%{KDE_LANGS}' )" != "" -%files British -%defattr(-,root,root,-) -%lang(en_GB) %{_datadir}/locale/en_GB/* -%lang(en_GB) %{tde_docdir}/HTML/en_GB/ -%endif - -%if "%( grep -w eo <<< '%{KDE_LANGS}' )" != "" -%files Esperanto -%defattr(-,root,root,-) -%lang(eo) %{_datadir}/locale/eo/* -%endif - -%if "%( grep -w es <<< '%{KDE_LANGS}' )" != "" -%files Spanish -%defattr(-,root,root,-) -%lang(es) %{_datadir}/locale/es/* -%lang(es) %{tde_docdir}/HTML/es/ -%endif - -%if "%( grep -w et <<< '%{KDE_LANGS}' )" != "" -%files Estonian -%defattr(-,root,root,-) -%lang(et) %{_datadir}/locale/et/* -%lang(et) %{tde_docdir}/HTML/et/ -%endif - -%if "%( grep -w eu <<< '%{KDE_LANGS}' )" != "" -%files Basque -%defattr(-,root,root,-) -%lang(eu) %{_datadir}/locale/eu/* -%endif - -%if "%( grep -w fa <<< '%{KDE_LANGS}' )" != "" -%files Farsi -%defattr(-,root,root,-) -%lang(fa) %{_datadir}/locale/fa/* -%endif - -%if "%( grep -w fi <<< '%{KDE_LANGS}' )" != "" -%files Finnish -%defattr(-,root,root,-) -%lang(fi) %{_datadir}/locale/fi/* -%lang(fi) %{tde_docdir}/HTML/fi/ -%endif - -%if "%( grep -w fo <<< '%{KDE_LANGS}' )" != "" -%files Faroese -%defattr(-,root,root,-) -%lang(fo) %{_datadir}/locale/fo/* -%endif - -%if "%( grep -w fr <<< '%{KDE_LANGS}' )" != "" -%files French -%defattr(-,root,root,-) -%lang(fr) %{_datadir}/locale/fr/* -%lang(fr) %{tde_docdir}/HTML/fr/ -%lang(fr) %{_datadir}/apps/koffice/autocorrect/fr.xml -%endif - -%if "%( grep -w fy <<< '%{KDE_LANGS}' )" != "" -%files Frisian -%defattr(-,root,root,-) -%lang(fy) %{_datadir}/locale/fy/* -%endif - -%if "%( grep -w ga <<< '%{KDE_LANGS}' )" != "" -%files Irish -%defattr(-,root,root,-) -%lang(ga) %{_datadir}/locale/ga/* -%endif - -%if "%( grep -w gl <<< '%{KDE_LANGS}' )" != "" -%files Galician -%defattr(-,root,root,-) -%lang(gl) %{_datadir}/locale/gl/* -%endif - -%if "%( grep -w he <<< '%{KDE_LANGS}' )" != "" -%files Hebrew -%defattr(-,root,root,-) -%lang(he) %{_datadir}/locale/he/* -%lang(he) %{tde_docdir}/HTML/he/ -%endif - -%if "%( grep -w hi <<< '%{KDE_LANGS}' )" != "" -%files Hindi -%defattr(-,root,root,-) -%lang(hi) %{_datadir}/locale/hi/* -%endif - -%if "%( grep -w hr <<< '%{KDE_LANGS}' )" != "" -%files Croatian -%defattr(-,root,root,-) -%lang(hr) %{_datadir}/locale/hr/* -%lang(hr) %{tde_docdir}/HTML/hr/ -%endif - -%if "%( grep -w hu <<< '%{KDE_LANGS}' )" != "" -%files Hungarian -%defattr(-,root,root,-) -%lang(hu) %{_datadir}/locale/hu/* -%lang(hu) %{tde_docdir}/HTML/hu/ -%endif - -%if "%( grep -w id <<< '%{KDE_LANGS}' )" != "" -%files Indonesian -%defattr(-,root,root,-) -%lang(id) %{_datadir}/locale/id/* -%lang(id) %{tde_docdir}/HTML/id/ -%endif - -%if "%( grep -w is <<< '%{KDE_LANGS}' )" != "" -%files Icelandic -%defattr(-,root,root,-) -%lang(is) %{_datadir}/locale/is/* -%endif - -%if "%( grep -w it <<< '%{KDE_LANGS}' )" != "" -%files Italian -%defattr(-,root,root,-) -%lang(it) %{_datadir}/locale/it/* -%lang(it) %{tde_docdir}/HTML/it/ -%endif - -%if "%( grep -w ja <<< '%{KDE_LANGS}' )" != "" -%files Japanese -%defattr(-,root,root,-) -%lang(ja) %{_datadir}/locale/ja/* -%lang(ja) %{tde_docdir}/HTML/ja/ -%endif - -%if "%( grep -w ko <<< '%{KDE_LANGS}' )" != "" -%files Korean -%defattr(-,root,root,-) -%lang(ko) %{_datadir}/locale/ko/* -%lang(ko) %{tde_docdir}/HTML/ko/ -%endif - -%if "%( grep -w ku <<< '%{KDE_LANGS}' )" != "" -%files Kurdish -%defattr(-,root,root,-) -%lang(ku) %{_datadir}/locale/ku/* -%lang(ku) %{tde_docdir}/HTML/ku/ -%endif - -%if "%( grep -w lao <<< '%{KDE_LANGS}' )" != "" -%files Lao -%defattr(-,root,root,-) -%lang(lo) %{_datadir}/locale/lo/* -%lang(lo) %{tde_docdir}/HTML/lo/ -%endif - -%if "%( grep -w lt <<< '%{KDE_LANGS}' )" != "" -%files Lithuanian -%defattr(-,root,root,-) -%lang(lt) %{_datadir}/locale/lt/* -%endif - -%if "%( grep -w lv <<< '%{KDE_LANGS}' )" != "" -%files Latvian -%defattr(-,root,root,-) -%lang(lv) %{_datadir}/locale/lv/* -%endif - -%if "%( grep -w mi <<< '%{KDE_LANGS}' )" != "" -%files Maori -%defattr(-,root,root,-) -%lang(mi) %{_datadir}/locale/mi/* -%endif - -%if "%( grep -w mk <<< '%{KDE_LANGS}' )" != "" -%files Macedonian -%defattr(-,root,root,-) -%lang(mk) %{_datadir}/locale/mk/* -%endif - -%if "%( grep -w mt <<< '%{KDE_LANGS}' )" != "" -%files Maltese -%defattr(-,root,root,-) -%lang(mt) %{_datadir}/locale/mt/* -%endif - -%if "%( grep -w nl <<< '%{KDE_LANGS}' )" != "" -%files Dutch -%defattr(-,root,root,-) -%lang(nl) %{_datadir}/locale/nl/* -%lang(nl) %{tde_docdir}/HTML/nl/ -%endif - -%if "%( grep -w nb <<< '%{KDE_LANGS}' )" != "" -%files Norwegian -%defattr(-,root,root,-) -%lang(nb) %{_datadir}/locale/nb/* -#%lang(nb) %{tde_docdir}/HTML/nb/ -%endif - -%if "%( grep -w nn <<< '%{KDE_LANGS}' )" != "" -%files Norwegian-Nynorsk -%defattr(-,root,root,-) -%lang(nn) %{_datadir}/locale/nn/* -#%lang(nn) %{tde_docdir}/HTML/nn/ -%endif - -%if "%( grep -w oc <<< '%{KDE_LANGS}' )" != "" -%files Occitan -%defattr(-,root,root,-) -%lang(oc) %{_datadir}/locale/oc/* -%endif - -%if "%( grep -w pa <<< '%{KDE_LANGS}' )" != "" -%files Punjabi -%defattr(-,root,root,-) -%lang(pa) %{_datadir}/locale/pa/* -%endif - -%if "%( grep -w pl <<< '%{KDE_LANGS}' )" != "" -%files Polish -%defattr(-,root,root,-) -%lang(pl) %{_datadir}/locale/pl/* -%lang(pl) %{tde_docdir}/HTML/pl/ -%endif - -%if "%( grep -w pt <<< '%{KDE_LANGS}' )" != "" -%files Portuguese -%defattr(-,root,root,-) -%lang(pt) %{_datadir}/locale/pt/* -%lang(pt) %{tde_docdir}/HTML/pt/ -%endif - -%if "%( grep -w pt_BR <<< '%{KDE_LANGS}' )" != "" -%files Brazil -%defattr(-,root,root,-) -%lang(pt_BR) %{_datadir}/locale/pt_BR/* -%lang(pt_BR) %{tde_docdir}/HTML/pt_BR/ -%endif - -%if "%( grep -w ro <<< '%{KDE_LANGS}' )" != "" -%files Romanian -%defattr(-,root,root,-) -%lang(ro) %{_datadir}/locale/ro/* -%lang(ro) %{tde_docdir}/HTML/ro/ -%endif - -%if "%( grep -w ru <<< '%{KDE_LANGS}' )" != "" -%files Russian -%defattr(-,root,root,-) -%lang(ru) %{_datadir}/locale/ru/* -%lang(ru) %{tde_docdir}/HTML/ru/ -%endif - -%if "%( grep -w sk <<< '%{KDE_LANGS}' )" != "" -%files Slovak -%defattr(-,root,root,-) -%lang(sk) %{_datadir}/locale/sk/* -%lang(sk) %{tde_docdir}/HTML/sk/ -%endif - -%if "%( grep -w sl <<< '%{KDE_LANGS}' )" != "" -%files Slovenian -%defattr(-,root,root,-) -%lang(sl) %{_datadir}/locale/sl/* -%lang(sl) %{tde_docdir}/HTML/sl/ -%endif - -%if "%( grep -w sr <<< '%{KDE_LANGS}' )" != "" -%files Serbian -%defattr(-,root,root,-) -%lang(sr) %{_datadir}/locale/sr/* -%lang(sr) %{tde_docdir}/HTML/sr/ -%endif - -%if "%( grep -w sv <<< '%{KDE_LANGS}' )" != "" -%files Swedish -%defattr(-,root,root,-) -%lang(sv) %{_datadir}/locale/sv/* -%lang(sv) %{tde_docdir}/HTML/sv/ -%endif - -%if "%( grep -w ta <<< '%{KDE_LANGS}' )" != "" -%files Tamil -%defattr(-,root,root,-) -%lang(ta) %{_datadir}/locale/ta/* -%endif - -%if "%( grep -w tg <<< '%{KDE_LANGS}' )" != "" -%files Tajik -%defattr(-,root,root,-) -%lang(tg) %{_datadir}/locale/tg/* -%endif - -%if "%( grep -w th <<< '%{KDE_LANGS}' )" != "" -%files Thai -%defattr(-,root,root,-) -%lang(th) %{_datadir}/locale/th/* -%endif - -%if "%( grep -w tr <<< '%{KDE_LANGS}' )" != "" -%files Turkish -%defattr(-,root,root,-) -%lang(tr) %{_datadir}/locale/tr/* -%lang(tr) %{tde_docdir}/HTML/tr/ -%endif - -%if "%( grep -w uk <<< '%{KDE_LANGS}' )" != "" -%files Ukrainian -%defattr(-,root,root,-) -%lang(uk) %{tde_docdir}/HTML/uk/ -%lang(uk) %{_datadir}/locale/uk/* -%endif - -%if "%( grep -w ven <<< '%{KDE_LANGS}' )" != "" -%files Venda -%defattr(-,root,root,-) -%lang(ven) %{_datadir}/locale/ven/* -%endif - -%if "%( grep -w vi <<< '%{KDE_LANGS}' )" != "" -%files Vietnamese -%defattr(-,root,root,-) -%lang(vi) %{_datadir}/locale/vi/* -%endif - -%if "%( grep -w wa <<< '%{KDE_LANGS}' )" != "" -%files Walloon -%defattr(-,root,root,-) -%lang(wa) %{_datadir}/locale/wa/* -%endif - -%if "%( grep -w xh <<< '%{KDE_LANGS}' )" != "" -%files Xhosa -%defattr(-,root,root,-) -%lang(xh) %{_datadir}/locale/xh/* -%lang(xh) %{tde_docdir}/HTML/xh/ -%endif - -%if "%( grep -w zh_CN <<< '%{KDE_LANGS}' )" != "" -%files Chinese -%defattr(-,root,root,-) -%lang(zh_CN) %{_datadir}/locale/zh_CN/* -%lang(zh_CN) %{tde_docdir}/HTML/zh_CN/ -%endif - -%if "%( grep -w zh_TW <<< '%{KDE_LANGS}' )" != "" -%files Chinese-Big5 -%defattr(-,root,root,-) -%lang(zh_TW) %{_datadir}/locale/zh_TW/* -%lang(zh_TW) %{tde_docdir}/HTML/zh_TW/ -%endif - -%changelog -* Sun Jul 01 2012 Francois Andriot - 1.6.3-1 -- Initial release for TDE 3.5.13 - diff --git a/redhat/applications/koffice/admin-fix-parallel-test.diff b/redhat/applications/koffice/admin-fix-parallel-test.diff deleted file mode 100644 index 9f6f46ba8..000000000 --- a/redhat/applications/koffice/admin-fix-parallel-test.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- trinity-tdebindings-14.0.0~pre214+2cf2b76c/admin/cvs.sh.automake113 2013-06-26 22:35:42.000000000 +0200 -+++ trinity-tdebindings-14.0.0~pre214+2cf2b76c/admin/cvs.sh 2013-08-29 22:27:18.546349736 +0200 -@@ -123,7 +123,7 @@ - fi - - echo "*** Creating Makefile templates" --$AUTOMAKE || exit 1 -+$AUTOMAKE --add-missing || exit 1 - - if test "$UNSERMAKE" = no; then - echo "*** Postprocessing Makefile templates" diff --git a/redhat/applications/koffice/kexi-fix-possible-crash-in-buffered-mode-sqlite-2.patch b/redhat/applications/koffice/kexi-fix-possible-crash-in-buffered-mode-sqlite-2.patch deleted file mode 100644 index 0be9764e3..000000000 --- a/redhat/applications/koffice/kexi-fix-possible-crash-in-buffered-mode-sqlite-2.patch +++ /dev/null @@ -1,27 +0,0 @@ ---- kexi/kexidb/drivers/sqlite/sqlitecursor.cpp 2006/10/26 19:25:03 599352 -+++ kexi/kexidb/drivers/sqlite/sqlitecursor.cpp 2007/10/01 19:29:39 719720 -@@ -324,19 +324,21 @@ - } - - //debug --/* -- if (m_result == FetchOK && d->curr_coldata) { -+/* if (((int)m_result == (int)FetchOK) && d->curr_coldata) { - for (uint i=0;icurr_colname[i]<<" "<< d->curr_colname[m_fieldCount+i] - << " = " << (d->curr_coldata[i] ? TQString::fromLocal8Bit(d->curr_coldata[i]) : "(NULL)") <curr_coldata) -+ return; -+ - if (!d->cols_pointers_mem_size) - d->cols_pointers_mem_size = m_fieldCount * sizeof(char*); - const char **record = (const char**)malloc(d->cols_pointers_mem_size); diff --git a/redhat/applications/koffice/kexi-fix-support-for-boolean-types-in-migration.patch b/redhat/applications/koffice/kexi-fix-support-for-boolean-types-in-migration.patch deleted file mode 100644 index 7509946b2..000000000 --- a/redhat/applications/koffice/kexi-fix-support-for-boolean-types-in-migration.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- kexi/migration/pqxx/pqxxmigrate.cpp 2006/12/17 21:08:15 614463 -+++ kexi/migration/pqxx/pqxxmigrate.cpp 2008/04/30 09:54:43 802697 -@@ -538,10 +538,18 @@ - int index = 0; - for ( i = R.begin(); i != end; ++i, index++) { - if (fieldsExpanded.at(index)->field->type()==KexiDB::Field::BLOB || fieldsExpanded.at(index)->field->type()==KexiDB::Field::LongText) -+ { - vals.append( KexiDB::pgsqlByteaToByteArray((*i).c_str(), (*i).size()) ); -- else -+ } -+ else if (fieldsExpanded.at(index)->field->type()==KexiDB::Field::Boolean ) -+ { -+ vals.append(QString((*i).c_str()).lower() == "t" ? QVariant(true, 1) : QVariant(false, 1)); -+ } -+ else -+ { - vals.append( KexiDB::cstringToVariant((*i).c_str(), - fieldsExpanded.at(index)->field, (*i).size()) ); -+ } - } - if (!destConn->insertRecord(*dstTable, vals)) - return false; diff --git a/redhat/applications/koffice/kexi-fix-support-for-boolean-types.patch b/redhat/applications/koffice/kexi-fix-support-for-boolean-types.patch deleted file mode 100644 index dd8ee6ae7..000000000 --- a/redhat/applications/koffice/kexi-fix-support-for-boolean-types.patch +++ /dev/null @@ -1,23 +0,0 @@ ---- kexi/kexidb/drivers/pqxx/pqxxcursor.cpp 2007/10/25 14:56:36 729302 -+++ kexi/kexidb/drivers/pqxx/pqxxcursor.cpp 2008/04/30 09:54:43 802697 -@@ -236,12 +236,20 @@ - { - return (*m_res)[at()][pos].as(double()); - } -+ else if (f->type() == Field::Boolean ) -+ { -+ return QString((*m_res)[at()][pos].c_str()).lower() == "t" ? QVariant(true, 1) : QVariant(false, 1); -+ } - else if (f->typeGroup() == Field::BLOBGroup) - { - // pqxx::result::field r = (*m_res)[at()][pos]; - // kdDebug() << r.name() << ", " << r.c_str() << ", " << r.type() << ", " << r.size() << endl; - return ::pgsqlByteaToByteArray((*m_res)[at()][pos]); - } -+ else -+ { -+ return pgsqlCStrToVariant((*m_res)[at()][pos]); -+ } - } - else // We probably have a raw type query so use pqxx to determin the column type - { diff --git a/redhat/applications/koffice/kexi-fp_expressions-1.1.3.patch b/redhat/applications/koffice/kexi-fp_expressions-1.1.3.patch deleted file mode 100644 index 9147ffad2..000000000 --- a/redhat/applications/koffice/kexi-fp_expressions-1.1.3.patch +++ /dev/null @@ -1,21 +0,0 @@ -Index: kexi/kexidb/expression.cpp -=================================================================== ---- kexi/kexidb/expression.cpp (revision 742153) -+++ kexi/kexidb/expression.cpp (working copy) -@@ -400,14 +400,10 @@ - if (ltInt && rtInt) - return KexiDB::maximumForIntegerTypes(lt, rt); - -- if (Field::isFPNumericType(lt) && rtInt) -+ if (Field::isFPNumericType(lt) && (rtInt || lt==rt)) - return lt; -- if (Field::isFPNumericType(rt) && ltInt) -+ if (Field::isFPNumericType(rt) && (ltInt || lt==rt)) - return rt; -- if ((lt==Field::Double || lt==Field::Float) && rtInt) -- return lt; -- if ((rt==Field::Double || rt==Field::Float) && ltInt) -- return rt; - - return Field::Boolean; - } diff --git a/redhat/applications/koffice/kexi-hide_hourglass-1.1.3-2.patch b/redhat/applications/koffice/kexi-hide_hourglass-1.1.3-2.patch deleted file mode 100644 index eddfc24ce..000000000 --- a/redhat/applications/koffice/kexi-hide_hourglass-1.1.3-2.patch +++ /dev/null @@ -1,23 +0,0 @@ -Index: kexi/kexiutils/utils.cpp -=================================================================== ---- kexi/kexiutils/utils.cpp (revision 716273) -+++ kexi/kexiutils/utils.cpp (working copy) -@@ -57,7 +57,7 @@ - TQApplication::restoreOverrideCursor(); - } - void DelayedCursorHandler::show() { -- TQApplication::setOverrideCursor( KCursor::waitCursor() ); -+ TQApplication::setOverrideCursor( KCursor::waitCursor(), true/*replace*/ ); - } - - DelayedCursorHandler _delayedCursorHandler; -@@ -89,7 +89,8 @@ - - WaitCursorRemover::~WaitCursorRemover() - { -- _delayedCursorHandler.start(true); -+ if (m_reactivateCursor) -+ _delayedCursorHandler.start(true); - } - - //-------------------------------------------------------------------------------- diff --git a/redhat/applications/koffice/kexi-mysql_migrate_long_text-1.1.3.patch b/redhat/applications/koffice/kexi-mysql_migrate_long_text-1.1.3.patch deleted file mode 100644 index 70a0bab67..000000000 --- a/redhat/applications/koffice/kexi-mysql_migrate_long_text-1.1.3.patch +++ /dev/null @@ -1,16 +0,0 @@ -Index: kexi/migration/mysql/mysqlmigrate.cpp -=================================================================== ---- kexi/migration/mysql/mysqlmigrate.cpp (revision 714726) -+++ kexi/migration/mysql/mysqlmigrate.cpp (working copy) -@@ -420,9 +420,9 @@ - if(mysqlType.contains("blob", false) != 0) { - // Doesn't matter how big it is, it's binary - kexiType = KexiDB::Field::BLOB; -- } else if(mysqlType.contains("text", false) != 0) { -+/* } else if(mysqlType.contains("text", false) != 0) { - // All the TEXT types are too big for Kexi text. -- kexiType = KexiDB::Field::BLOB; -+ kexiType = KexiDB::Field::BLOB;*/ - } else if(fld->length < 200) { - kexiType = KexiDB::Field::Text; - } else { diff --git a/redhat/applications/koffice/kexi-thoushand_objects_support-1.1.3-2.patch b/redhat/applications/koffice/kexi-thoushand_objects_support-1.1.3-2.patch deleted file mode 100644 index 37d13523a..000000000 --- a/redhat/applications/koffice/kexi-thoushand_objects_support-1.1.3-2.patch +++ /dev/null @@ -1,258 +0,0 @@ -Index: kexi/plugins/forms/kexidataprovider.cpp -=================================================================== ---- kexi/plugins/forms/kexidataprovider.cpp (revision 688747) -+++ kexi/plugins/forms/kexidataprovider.cpp (revision 688748) -@@ -153,7 +153,7 @@ - count = it_dup.data(); - tmpDuplicatedItems.insert( it.current()->columnInfo()->field, ++count ); - } -- m_duplicatedItems = new TQPtrDict(101); -+ m_duplicatedItems = new TQPtrDict(1009); - for (it_dup = tmpDuplicatedItems.begin(); it_dup!=tmpDuplicatedItems.end(); ++it_dup) { - if (it_dup.data() > 1) { - m_duplicatedItems->insert( it_dup.key(), (char*)1 ); -@@ -260,7 +260,7 @@ - // m_fieldNumbersForDataItems = newFieldNumbersForDataItems; - - //update data sources set (some of them may be removed) -- TQDict tmpUsedDataSources(1013); -+ TQDict tmpUsedDataSources(1009); - - if (query) - query->debug(); -Index: kexi/plugins/tables/kexitabledesignerview.cpp -=================================================================== ---- kexi/plugins/tables/kexitabledesignerview.cpp (revision 688747) -+++ kexi/plugins/tables/kexitabledesignerview.cpp (revision 688748) -@@ -1262,7 +1262,7 @@ - KoProperty::Set *b = 0; - bool no_fields = true; - int i; -- TQDict names(101, false); -+ TQDict names(1009, false); - char dummy; - for (i=0;i<(int)d->sets->size();i++) { - b = d->sets->at(i); -Index: kexi/plugins/queries/kexiquerydesignerguieditor.cpp -=================================================================== ---- kexi/plugins/queries/kexiquerydesignerguieditor.cpp (revision 688747) -+++ kexi/plugins/queries/kexiquerydesignerguieditor.cpp (revision 688748) -@@ -77,7 +77,7 @@ - { - public: - Private() -- : fieldColumnIdentifiers(101, false/*case insens.*/) -+ : fieldColumnIdentifiers(1009, false/*case insens.*/) - { - droppedNewItem = 0; - slotTableAdded_enabled = true; -@@ -809,7 +809,7 @@ - //2. Collect information about criterias - // --this must be top level chain of AND's - // --this will also show joins as: [table1.]field1 = [table2.]field2 -- TQDict criterias(101, false); -+ TQDict criterias(1009, false); - KexiDB::BaseExpr* e = query->whereExpression(); - KexiDB::BaseExpr* eItem = 0; - while (e) { -@@ -877,7 +877,7 @@ - //3. show fields (including * and table.*) - uint row_num = 0; - KexiDB::Field *field; -- TQPtrDict usedCriterias(101); // <-- used criterias will be saved here -+ TQPtrDict usedCriterias(1009); // <-- used criterias will be saved here - // so in step 4. we will be able to add - // remaining invisible columns with criterias - for (KexiDB::Field::ListIterator it(*query->fields()); -@@ -1270,7 +1270,7 @@ - const TQCString expStr - = i18n("short for 'expression' word (only latin letters, please)", "expr").latin1(); - //TODO: optimization: cache it? -- TQAsciiDict aliases(101); -+ TQAsciiDict aliases(1009); - for (int r = 0; r<(int)d->sets->size(); r++) { - KoProperty::Set *set = d->sets->at(r); - if (set) { -Index: kexi/widget/tableview/kexidataawarepropertyset.cpp -=================================================================== ---- kexi/widget/tableview/kexidataawarepropertyset.cpp (revision 688747) -+++ kexi/widget/tableview/kexidataawarepropertyset.cpp (revision 688748) -@@ -24,7 +24,7 @@ - #include - #include - --#define MAX_FIELDS 101 //nice prime number (default prop. set vector size) -+#define MAX_FIELDS 1009 //nice prime number (default prop. set vector size) - - KexiDataAwarePropertySet::KexiDataAwarePropertySet(KexiViewBase *view, - KexiDataAwareObjectInterface* dataObject) -Index: kexi/widget/utils/kexisharedactionclient.cpp -=================================================================== ---- kexi/widget/utils/kexisharedactionclient.cpp (revision 688747) -+++ kexi/widget/utils/kexisharedactionclient.cpp (revision 688748) -@@ -22,7 +22,7 @@ - #include - - KexiSharedActionClient::KexiSharedActionClient() -- : m_sharedActions(101, false) -+ : m_sharedActions(1009, false) - { - } - -Index: kexi/main/keximainwindowimpl.cpp -=================================================================== ---- kexi/main/keximainwindowimpl.cpp (revision 688747) -+++ kexi/main/keximainwindowimpl.cpp (revision 688748) -@@ -4203,8 +4203,10 @@ - data = new KexiProjectData(*d->prj->data()); // a copy - drv = d->prj->dbConnection()->driver(); - const tristate res = closeProject(); -- if (~res || !res) -+ if (~res || !res) { -+ delete data; - return; -+ } - } - - if (!drv->adminTools().vacuum(*data->connectionData(), data->databaseName())) { -@@ -4212,10 +4214,9 @@ - showErrorMessage( &drv->adminTools() ); - } - -- if (data && projectWasOpened) { -+ if (projectWasOpened) - openProject(*data); -- delete data; -- } -+ delete data; - } - - tristate KexiMainWindowImpl::showProjectMigrationWizard( -Index: kexi/core/kexidbconnectionset.cpp -=================================================================== ---- kexi/core/kexidbconnectionset.cpp (revision 688747) -+++ kexi/core/kexidbconnectionset.cpp (revision 688748) -@@ -30,7 +30,7 @@ - { - public: - KexiDBConnectionSetPrivate() -- : dataForFilenames(101) -+ : dataForFilenames(1009) - { - list.setAutoDelete(true); - maxid=-1; -Index: kexi/migration/keximigrate.cpp -=================================================================== ---- kexi/migration/keximigrate.cpp (revision 688747) -+++ kexi/migration/keximigrate.cpp (revision 688748) -@@ -491,7 +491,6 @@ - // Prompt the user to choose a field type - KexiDB::Field::Type KexiMigrate::userType(const TQString& fname) - { -- KInputDialog *dlg; - TQStringList types; - TQString res; - -@@ -509,7 +508,7 @@ - types << "Long Text"; - types << "Binary Large Object"; - -- res = dlg->getItem( i18n("Field Type"), -+ res = KInputDialog::getItem( i18n("Field Type"), - i18n("The data type for %1 could not be determined. " - "Please select one of the following data " - "types").tqarg(fname), -Index: kexi/kexidb/connection.cpp -=================================================================== ---- kexi/kexidb/connection.cpp (revision 688747) -+++ kexi/kexidb/connection.cpp (revision 688748) -@@ -83,10 +83,10 @@ - ConnectionPrivate(Connection* const conn, ConnectionData &conn_data) - : conn(conn) - , conn_data(&conn_data) -- , tableSchemaChangeListeners(101) -+ , tableSchemaChangeListeners(1009) - , m_parser(0) -- , tables_byname(101, false) -- , queries_byname(101, false) -+ , tables_byname(1009, false) -+ , queries_byname(1009, false) - , kexiDBSystemTables(101) - , dont_remove_transactions(false) - , skip_databaseExists_check_in_useDatabase(false) -@@ -104,8 +104,8 @@ - queries_byname.setAutoDelete(false);//queries is owner, not me - - //reasonable sizes: TODO -- tables.resize(101); -- queries.resize(101); -+ tables.resize(1009); -+ queries.resize(1009); - } - ~ConnectionPrivate() - { -Index: kexi/kexidb/fieldvalidator.cpp -=================================================================== ---- kexi/kexidb/fieldvalidator.cpp (revision 688747) -+++ kexi/kexidb/fieldvalidator.cpp (revision 688748) -@@ -36,7 +36,7 @@ - if (field.isIntegerType()) { - TQValidator *validator = 0; - const bool u = field.isUnsigned(); -- int bottom, top; -+ int bottom = 0, top = 0; - if (t==Field::Byte) { - bottom = u ? 0 : -0x80; - top = u ? 0xff : 0x7f; -Index: kexi/kexidb/alter.cpp -=================================================================== ---- kexi/kexidb/alter.cpp (revision 688747) -+++ kexi/kexidb/alter.cpp (revision 688748) -@@ -223,7 +223,7 @@ - static AlterTableHandler::ActionDict* createActionDict( - AlterTableHandler::ActionDictDict &fieldActions, int forFieldUID ) - { -- AlterTableHandler::ActionDict* dict = new AlterTableHandler::ActionDict(101, false); -+ AlterTableHandler::ActionDict* dict = new AlterTableHandler::ActionDict(1009, false); - dict->setAutoDelete(true); - fieldActions.insert( forFieldUID, dict ); - return dict; -Index: kexi/kexidb/queryschema.cpp -=================================================================== ---- kexi/kexidb/queryschema.cpp (revision 688747) -+++ kexi/kexidb/queryschema.cpp (revision 688748) -@@ -1439,7 +1439,7 @@ - } - - //remove duplicates for lookup fields -- TQDict lookup_dict(101); //used to fight duplicates and to update QueryColumnInfo::indexForVisibleLookupValue() -+ TQDict lookup_dict(1009); //used to fight duplicates and to update QueryColumnInfo::indexForVisibleLookupValue() - // (a mapping from table.name string to uint* lookupFieldIndex - lookup_dict.setAutoDelete(true); - i=0; -Index: kexi/kexidb/fieldlist.cpp -=================================================================== ---- kexi/kexidb/fieldlist.cpp (revision 688747) -+++ kexi/kexidb/fieldlist.cpp (revision 688748) -@@ -28,7 +28,7 @@ - - FieldList::FieldList(bool owner) - //reasonable sizes: TODO -- : m_fields_by_name(101, false) -+ : m_fields_by_name(1009, false) - { - m_fields.setAutoDelete( owner ); - m_fields_by_name.setAutoDelete( false ); -Index: kexi/formeditor/widgetlibrary.cpp -=================================================================== ---- kexi/formeditor/widgetlibrary.cpp (revision 688747) -+++ kexi/formeditor/widgetlibrary.cpp (revision 688748) -@@ -55,7 +55,7 @@ - { - public: - WidgetLibraryPrivate() -- : widgets(101) -+ : widgets(1009) - // , alternateWidgets(101) - , services(101, false) - , supportedFactoryGroups(17, false) diff --git a/redhat/applications/koffice/koffice-3.5.13-chalk_gmagick.patch b/redhat/applications/koffice/koffice-3.5.13-chalk_gmagick.patch deleted file mode 100644 index d497a96e7..000000000 --- a/redhat/applications/koffice/koffice-3.5.13-chalk_gmagick.patch +++ /dev/null @@ -1,129 +0,0 @@ -diff --git a/filters/chalk/gmagick/kis_image_magick_converter.cc b/filters/chalk/gmagick/kis_image_magick_converter.cc -index 5bce37b..eea8000 100644 ---- a/filters/chalk/gmagick/kis_image_magick_converter.cc -+++ b/filters/chalk/gmagick/kis_image_magick_converter.cc -@@ -182,6 +182,7 @@ namespace { - - image -> addAnnotation(annotation); - } -+#if 0 - for(int i = 0; i < src->generic_profiles; i++) - { - TQByteArray rawdata; -@@ -193,6 +194,7 @@ namespace { - - image -> addAnnotation(annotation); - } -+#endif - - const ImageAttribute* imgAttr = GetImageAttribute(src, NULL); - while(imgAttr) -@@ -480,7 +482,7 @@ KisImageBuilder_Result KisImageMagickConverter::decode(const KURL& uri, bool isB - TQ_UINT8 opacity = OPACITY_OPAQUE; - const ImageAttribute * attr = GetImageAttribute(image, "[layer-opacity]"); - if (attr != 0) { -- opacity = TQ_UINT8_MAX - Downscale(TQString(attr->value).toInt()); -+ opacity = TQ_UINT8_MAX - ScaleQuantumToChar(TQString(attr->value).toInt()); - } - - KisPaintLayerSP layer = 0; -@@ -534,17 +536,17 @@ KisImageBuilder_Result KisImageMagickConverter::decode(const KURL& uri, bool isB - while (!hiter.isDone()) - { - TQ_UINT8 *ptr= hiter.rawData(); -- *(ptr++) = Downscale(pp->red); // cyan -- *(ptr++) = Downscale(pp->green); // magenta -- *(ptr++) = Downscale(pp->blue); // yellow -- *(ptr++) = Downscale(indexes[x]); // Black -+ *(ptr++) = ScaleQuantumToChar(pp->red); // cyan -+ *(ptr++) = ScaleQuantumToChar(pp->green); // magenta -+ *(ptr++) = ScaleQuantumToChar(pp->blue); // yellow -+ *(ptr++) = ScaleQuantumToChar(indexes[x]); // Black - // XXX: Warning! This ifdef messes up the paren matching big-time! - #ifdef HAVE_MAGICK6 - if (image->matte != MagickFalse) { - #else - if (image->matte == true) { - #endif -- *(ptr++) = OPACITY_OPAQUE - Downscale(pp->opacity); -+ *(ptr++) = OPACITY_OPAQUE - ScaleQuantumToChar(pp->opacity); - } - else { - *(ptr++) = OPACITY_OPAQUE; -@@ -578,10 +580,10 @@ KisImageBuilder_Result KisImageMagickConverter::decode(const KURL& uri, bool isB - { - TQ_UINT8 *ptr= hiter.rawData(); - // XXX: not colorstrategy and bitdepth independent -- *(ptr++) = Downscale(pp->blue); -- *(ptr++) = Downscale(pp->green); -- *(ptr++) = Downscale(pp->red); -- *(ptr++) = OPACITY_OPAQUE - Downscale(pp->opacity); -+ *(ptr++) = ScaleQuantumToChar(pp->blue); -+ *(ptr++) = ScaleQuantumToChar(pp->green); -+ *(ptr++) = ScaleQuantumToChar(pp->red); -+ *(ptr++) = OPACITY_OPAQUE - ScaleQuantumToChar(pp->opacity); - - pp++; - ++hiter; -@@ -608,8 +610,8 @@ KisImageBuilder_Result KisImageMagickConverter::decode(const KURL& uri, bool isB - { - TQ_UINT8 *ptr= hiter.rawData(); - // XXX: not colorstrategy and bitdepth independent -- *(ptr++) = Downscale(pp->blue); -- *(ptr++) = OPACITY_OPAQUE - Downscale(pp->opacity); -+ *(ptr++) = ScaleQuantumToChar(pp->blue); -+ *(ptr++) = OPACITY_OPAQUE - ScaleQuantumToChar(pp->opacity); - - pp++; - ++hiter; -@@ -812,13 +814,12 @@ KisImageBuilder_Result KisImageMagickConverter::decode(const KURL& uri, bool isB - while (!it.isDone()) { - - TQ_UINT8 * d = it.rawData(); -- pp -> red = Upscale(d[PIXEL_CYAN]); -- pp -> green = Upscale(d[PIXEL_MAGENTA]); -- pp -> blue = Upscale(d[PIXEL_YELLOW]); -+ pp -> red = ScaleCharToQuantum(d[PIXEL_CYAN]); -+ pp -> green = ScaleCharToQuantum(d[PIXEL_MAGENTA]); -+ pp -> blue = ScaleCharToQuantum(d[PIXEL_YELLOW]); - if (alpha) -- pp -> opacity = Upscale(OPACITY_OPAQUE - d[PIXEL_CMYK_ALPHA]); -- -- indexes[x]= Upscale(d[PIXEL_BLACK]); -+ pp -> opacity = ScaleCharToQuantum(OPACITY_OPAQUE - d[PIXEL_CMYK_ALPHA]); -+ indexes[x]= ScaleCharToQuantum(d[PIXEL_BLACK]); - - x++; - pp++; -@@ -848,11 +849,11 @@ KisImageBuilder_Result KisImageMagickConverter::decode(const KURL& uri, bool isB - while (!it.isDone()) { - - TQ_UINT8 * d = it.rawData(); -- pp -> red = Upscale(d[PIXEL_RED]); -- pp -> green = Upscale(d[PIXEL_GREEN]); -- pp -> blue = Upscale(d[PIXEL_BLUE]); -+ pp -> red = ScaleCharToQuantum(d[PIXEL_RED]); -+ pp -> green = ScaleCharToQuantum(d[PIXEL_GREEN]); -+ pp -> blue = ScaleCharToQuantum(d[PIXEL_BLUE]); - if (alpha) -- pp -> opacity = Upscale(OPACITY_OPAQUE - d[PIXEL_ALPHA]); -+ pp -> opacity = ScaleCharToQuantum(OPACITY_OPAQUE - d[PIXEL_ALPHA]); - - pp++; - ++it; -@@ -879,11 +880,11 @@ KisImageBuilder_Result KisImageMagickConverter::decode(const KURL& uri, bool isB - else { - while (!it.isDone()) { - TQ_UINT8 * d = it.rawData(); -- pp -> red = Upscale(d[PIXEL_GRAY]); -- pp -> green = Upscale(d[PIXEL_GRAY]); -- pp -> blue = Upscale(d[PIXEL_GRAY]); -+ pp -> red = ScaleCharToQuantum(d[PIXEL_GRAY]); -+ pp -> green = ScaleCharToQuantum(d[PIXEL_GRAY]); -+ pp -> blue = ScaleCharToQuantum(d[PIXEL_GRAY]); - if (alpha) -- pp -> opacity = Upscale(OPACITY_OPAQUE - d[PIXEL_GRAY_ALPHA]); -+ pp -> opacity = ScaleCharToQuantum(OPACITY_OPAQUE - d[PIXEL_GRAY_ALPHA]); - - pp++; - ++it; diff --git a/redhat/applications/koffice/koffice-3.5.13-damaged_binary_files.tar.gz b/redhat/applications/koffice/koffice-3.5.13-damaged_binary_files.tar.gz deleted file mode 100644 index 74196adea..000000000 Binary files a/redhat/applications/koffice/koffice-3.5.13-damaged_binary_files.tar.gz and /dev/null differ diff --git a/redhat/applications/koffice/koffice-3.5.13-fix_bug_657.patch b/redhat/applications/koffice/koffice-3.5.13-fix_bug_657.patch deleted file mode 100644 index 2308e33f4..000000000 --- a/redhat/applications/koffice/koffice-3.5.13-fix_bug_657.patch +++ /dev/null @@ -1,2662 +0,0 @@ -commit 5c69fcd39111465de16c933763d3c918703048d8 -Author: Slávek Banko -Date: 1339569472 +0200 - - Fix FTBFS due to missing libraries - Clean up lib paths in LDFLAGS - moved to LIBADD - For KWord and and KPresenter added linking kspell2 - For KSpread added linking kutils - This closes Bug 657 - -diff --git a/chalk/Makefile.am b/chalk/Makefile.am -index e06e155..3a0c3eb 100644 ---- a/chalk/Makefile.am -+++ b/chalk/Makefile.am -@@ -9,8 +9,8 @@ libchalkcommon_la_LIBADD = sdk/libchalksdk.la core/libchalkimage.la ui/libchalku - ## The part - kde_module_LTLIBRARIES = libchalkpart.la - libchalkpart_la_SOURCES = chalk_part_init.cc --libchalkpart_la_LDFLAGS = $(all_libraries) $(LIB_QT) -L../lib/kofficecore/.libs/ -lkofficecore -L../lib/kofficeui/.libs/ -lkofficeui -L../lib/store/.libs/ -lkstore -L../chalk/ui/.libs -lchalkui -module $(KDE_PLUGIN) --libchalkpart_la_LIBADD = libchalkcommon.la -+libchalkpart_la_LDFLAGS = $(all_libraries) $(LIB_QT) -module $(KDE_PLUGIN) -+libchalkpart_la_LIBADD = $(KOFFICE_LIBS) libchalkcommon.la ../chalk/ui/libchalkui.la - - METASOURCES = AUTO - -diff --git a/chalk/colorspaces/wet/Makefile.am b/chalk/colorspaces/wet/Makefile.am -index b12d3f3..8ad9b0d 100644 ---- a/chalk/colorspaces/wet/Makefile.am -+++ b/chalk/colorspaces/wet/Makefile.am -@@ -20,9 +20,11 @@ kde_module_LTLIBRARIES = chalkwetplugin.la - chalkwetplugin_la_SOURCES = kis_wet_colorspace.cc wet_plugin.cc kis_wetop.cc kis_wet_palette_widget.cc kis_wetness_visualisation_filter.cc kis_texture_painter.cc kis_texture_filter.cc wetphysicsfilter.cc wdgpressure.ui - noinst_HEADERS = kis_wet_colorspace.h wet_plugin.h wetphysicsfilter.h kis_wetop.cc kis_wet_palette_widget.h kis_texture_painter.h kis_wetness_visualisation_filter.h kis_texture_filter.h wetphysicsfilter.h - --chalkwetplugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -llcms -L../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../chalk/core/.libs -lchalkimage \ -- -L../../../chalk/ui/.libs -lchalkui --chalkwetplugin_la_LIBADD = ../../libchalkcommon.la $(LIB_KOPAINTER) $(LIB_KOFFICECORE) -+chalkwetplugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -llcms -+chalkwetplugin_la_LIBADD = ../../libchalkcommon.la $(LIB_KOPAINTER) $(LIB_KOFFICECORE) \ -+ ../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../chalk/core/libchalkimage.la \ -+ ../../../chalk/ui/libchalkui.la - - chalkwetplugin_la_METASOURCES = AUTO - -diff --git a/chalk/plugins/filters/blur/Makefile.am b/chalk/plugins/filters/blur/Makefile.am -index ac622d7..d54d65b 100644 ---- a/chalk/plugins/filters/blur/Makefile.am -+++ b/chalk/plugins/filters/blur/Makefile.am -@@ -14,9 +14,11 @@ chalkblurfilter_la_SOURCES = wdgblur.ui blur.cc kis_blur_filter.cc kis_wdg_blur. - kde_module_LTLIBRARIES = chalkblurfilter.la - noinst_HEADERS = blur.h kis_blur_filter.h - --chalkblurfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui -L../../../../lib/kofficeui/.libs -lkofficeui --chalkblurfilter_la_LIBADD = ../../../libchalkcommon.la -+chalkblurfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -+chalkblurfilter_la_LIBADD = $(LIB_KOFFICEUI) ../../../libchalkcommon.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - METASOURCES = AUTO - -diff --git a/chalk/plugins/filters/bumpmap/Makefile.am b/chalk/plugins/filters/bumpmap/Makefile.am -index c783157..156a60a 100644 ---- a/chalk/plugins/filters/bumpmap/Makefile.am -+++ b/chalk/plugins/filters/bumpmap/Makefile.am -@@ -12,8 +12,10 @@ chalkbumpmap_la_SOURCES = bumpmap.cc wdgbumpmap.ui - kde_module_LTLIBRARIES = chalkbumpmap.la - noinst_HEADERS = bumpmap.h - --chalkbumpmap_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui --chalkbumpmap_la_LIBADD = ../../../libchalkcommon.la -+chalkbumpmap_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -+chalkbumpmap_la_LIBADD = ../../../libchalkcommon.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - chalkbumpmap_la_METASOURCES = AUTO -diff --git a/chalk/plugins/filters/cimg/Makefile.am b/chalk/plugins/filters/cimg/Makefile.am -index 19e58bd..2553773 100644 ---- a/chalk/plugins/filters/cimg/Makefile.am -+++ b/chalk/plugins/filters/cimg/Makefile.am -@@ -25,9 +25,11 @@ noinst_HEADERS = \ - kis_cimg_plugin.h\ - kis_cimgconfig_widget.h - --chalkcimg_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui --chalkcimg_la_LIBADD = ../../../libchalkcommon.la -+chalkcimg_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -+chalkcimg_la_LIBADD = ../../../libchalkcommon.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - chalkcimg_la_METASOURCES = AUTO - -diff --git a/chalk/plugins/filters/colorify/Makefile.am b/chalk/plugins/filters/colorify/Makefile.am -index d69de33..65e7243 100644 ---- a/chalk/plugins/filters/colorify/Makefile.am -+++ b/chalk/plugins/filters/colorify/Makefile.am -@@ -14,9 +14,11 @@ INCLUDES = -I$(srcdir)/../../../sdk \ - kde_module_LTLIBRARIES = chalkcolorify.la - - --chalkcolorify_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui --chalkcolorify_la_LIBADD = ../../../libchalkcommon.la -+chalkcolorify_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -+chalkcolorify_la_LIBADD = ../../../libchalkcommon.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - METASOURCES = AUTO - chalkcolorify_la_SOURCES = Colorify.cpp KisWdgColorify.cpp\ -diff --git a/chalk/plugins/filters/colors/Makefile.am b/chalk/plugins/filters/colors/Makefile.am -index 523915c..0da38c0 100644 ---- a/chalk/plugins/filters/colors/Makefile.am -+++ b/chalk/plugins/filters/colors/Makefile.am -@@ -14,8 +14,10 @@ chalkextensioncolorsfilters_la_SOURCES = colors.cc kis_minmax_filters.cc kis_col - kde_module_LTLIBRARIES = chalkextensioncolorsfilters.la - noinst_HEADERS = colors.h - --chalkextensioncolorsfilters_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui --chalkextensioncolorsfilters_la_LIBADD = ../../../libchalkcommon.la -+chalkextensioncolorsfilters_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -+chalkextensioncolorsfilters_la_LIBADD = ../../../libchalkcommon.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - METASOURCES = AUTO -diff --git a/chalk/plugins/filters/colorsfilters/Makefile.am b/chalk/plugins/filters/colorsfilters/Makefile.am -index cd4745e..6aeaaee 100644 ---- a/chalk/plugins/filters/colorsfilters/Makefile.am -+++ b/chalk/plugins/filters/colorsfilters/Makefile.am -@@ -17,9 +17,11 @@ noinst_HEADERS = colorsfilters.h \ - kis_perchannel_filter.h \ - kis_brightness_contrast_filter.h - --chalkcolorsfilters_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui --chalkcolorsfilters_la_LIBADD = ../../../libchalkcommon.la -+chalkcolorsfilters_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -+chalkcolorsfilters_la_LIBADD = ../../../libchalkcommon.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - kde_module_LTLIBRARIES = chalkcolorsfilters.la - -diff --git a/chalk/plugins/filters/convolutionfilters/Makefile.am b/chalk/plugins/filters/convolutionfilters/Makefile.am -index 133a684..32f5cbd 100644 ---- a/chalk/plugins/filters/convolutionfilters/Makefile.am -+++ b/chalk/plugins/filters/convolutionfilters/Makefile.am -@@ -21,8 +21,10 @@ noinst_HEADERS = convolutionfilters.h \ - kis_custom_convolution_filter_configuration_widget.h \ - kis_convolution_filter.h - --chalkconvolutionfilters_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui --chalkconvolutionfilters_la_LIBADD = ../../../libchalkcommon.la -+chalkconvolutionfilters_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -+chalkconvolutionfilters_la_LIBADD = ../../../libchalkcommon.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - chalkconvolutionfilters_la_METASOURCES = AUTO -diff --git a/chalk/plugins/filters/embossfilter/Makefile.am b/chalk/plugins/filters/embossfilter/Makefile.am -index d0116fe..19b54e4 100644 ---- a/chalk/plugins/filters/embossfilter/Makefile.am -+++ b/chalk/plugins/filters/embossfilter/Makefile.am -@@ -17,8 +17,10 @@ chalkembossfilter_la_SOURCES = kis_emboss_filter_plugin.cc \ - noinst_HEADERS = kis_emboss_filter_plugin.h \ - kis_emboss_filter.h - --chalkembossfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui --chalkembossfilter_la_LIBADD = ../../../libchalkcommon.la -+chalkembossfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -+chalkembossfilter_la_LIBADD = ../../../libchalkcommon.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - chalkembossfilter_la_METASOURCES = AUTO -diff --git a/chalk/plugins/filters/example/Makefile.am b/chalk/plugins/filters/example/Makefile.am -index 33b55da..5dcd349 100644 ---- a/chalk/plugins/filters/example/Makefile.am -+++ b/chalk/plugins/filters/example/Makefile.am -@@ -15,8 +15,10 @@ chalkexample_la_SOURCES = example.cc - kde_module_LTLIBRARIES = chalkexample.la - noinst_HEADERS = example.h - --chalkexample_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui --chalkexample_la_LIBADD = ../../../libchalkcommon.la -+chalkexample_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -+chalkexample_la_LIBADD = ../../../libchalkcommon.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - chalkexample_la_METASOURCES = AUTO -diff --git a/chalk/plugins/filters/fastcolortransfer/Makefile.am b/chalk/plugins/filters/fastcolortransfer/Makefile.am -index 424231d..24b9f38 100644 ---- a/chalk/plugins/filters/fastcolortransfer/Makefile.am -+++ b/chalk/plugins/filters/fastcolortransfer/Makefile.am -@@ -16,8 +16,10 @@ chalkfastcolortransfer_la_SOURCES = wdgfastcolortransfer.ui fastcolortransfer.cc - kde_module_LTLIBRARIES = chalkfastcolortransfer.la - noinst_HEADERS = fastcolortransfer.h kis_wdg_fastcolortransfer.h - --chalkfastcolortransfer_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui -L../../../../lib/kofficecore/.libs -lkofficecore --chalkfastcolortransfer_la_LIBADD = ../../../libchalkcommon.la -+chalkfastcolortransfer_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -+chalkfastcolortransfer_la_LIBADD = $(LIB_KOFFICECORE) ../../../libchalkcommon.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - METASOURCES = AUTO -diff --git a/chalk/plugins/filters/imageenhancement/Makefile.am b/chalk/plugins/filters/imageenhancement/Makefile.am -index d2477eb..32b9bd7 100644 ---- a/chalk/plugins/filters/imageenhancement/Makefile.am -+++ b/chalk/plugins/filters/imageenhancement/Makefile.am -@@ -15,12 +15,14 @@ chalkimageenhancement_la_SOURCES = imageenhancement.cpp \ - - kde_module_LTLIBRARIES = chalkimageenhancement.la - --chalkimageenhancement_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui -+chalkimageenhancement_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts - - noinst_HEADERS = imageenhancement.h kis_wavelet_noise_reduction.h - --chalkimageenhancement_la_LIBADD = ../../../libchalkcommon.la -+chalkimageenhancement_la_LIBADD = ../../../libchalkcommon.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - chalkimageenhencement_la_METASOURCES = AUTO - -diff --git a/chalk/plugins/filters/lenscorrectionfilter/Makefile.am b/chalk/plugins/filters/lenscorrectionfilter/Makefile.am -index b853281..c794fee 100644 ---- a/chalk/plugins/filters/lenscorrectionfilter/Makefile.am -+++ b/chalk/plugins/filters/lenscorrectionfilter/Makefile.am -@@ -16,8 +16,10 @@ chalklenscorrectionfilter_la_SOURCES = lenscorrectionfilter.cc \ - kde_module_LTLIBRARIES = chalklenscorrectionfilter.la - noinst_HEADERS = lenscorrectionfilter.h - --chalklenscorrectionfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui --chalklenscorrectionfilter_la_LIBADD = ../../../libchalkcommon.la -+chalklenscorrectionfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -+chalklenscorrectionfilter_la_LIBADD = ../../../libchalkcommon.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - METASOURCES = AUTO -diff --git a/chalk/plugins/filters/levelfilter/Makefile.am b/chalk/plugins/filters/levelfilter/Makefile.am -index 5c04e69..314c442 100644 ---- a/chalk/plugins/filters/levelfilter/Makefile.am -+++ b/chalk/plugins/filters/levelfilter/Makefile.am -@@ -16,9 +16,11 @@ noinst_HEADERS = levelfilter.h \ - kis_level_filter.h \ - kgradientslider.h - --chalklevelfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui --chalklevelfilter_la_LIBADD = ../../../libchalkcommon.la -+chalklevelfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -+chalklevelfilter_la_LIBADD = ../../../libchalkcommon.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - kde_module_LTLIBRARIES = chalklevelfilter.la - -diff --git a/chalk/plugins/filters/noisefilter/Makefile.am b/chalk/plugins/filters/noisefilter/Makefile.am -index 3a085fc..aea0c05 100644 ---- a/chalk/plugins/filters/noisefilter/Makefile.am -+++ b/chalk/plugins/filters/noisefilter/Makefile.am -@@ -16,8 +16,10 @@ chalknoisefilter_la_SOURCES = noisefilter.cc wdgnoiseoptions.ui \ - kde_module_LTLIBRARIES = chalknoisefilter.la - noinst_HEADERS = noisefilter.h kis_wdg_noise.h - --chalknoisefilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui --chalknoisefilter_la_LIBADD = ../../../libchalkcommon.la -+chalknoisefilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -+chalknoisefilter_la_LIBADD = ../../../libchalkcommon.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - chalknoisefilter_la_METASOURCES = AUTO -diff --git a/chalk/plugins/filters/oilpaintfilter/Makefile.am b/chalk/plugins/filters/oilpaintfilter/Makefile.am -index cef2125..60878f6 100644 ---- a/chalk/plugins/filters/oilpaintfilter/Makefile.am -+++ b/chalk/plugins/filters/oilpaintfilter/Makefile.am -@@ -17,8 +17,10 @@ chalkoilpaintfilter_la_SOURCES = kis_oilpaint_filter_plugin.cc \ - noinst_HEADERS = kis_oilpaint_filter_plugin.h \ - kis_oilpaint_filter.h - --chalkoilpaintfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui --chalkoilpaintfilter_la_LIBADD = ../../../libchalkcommon.la -+chalkoilpaintfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -+chalkoilpaintfilter_la_LIBADD = ../../../libchalkcommon.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - chalkoilpaintfilter_la_METASOURCES = AUTO -diff --git a/chalk/plugins/filters/pixelizefilter/Makefile.am b/chalk/plugins/filters/pixelizefilter/Makefile.am -index cc12358..e46e0ea 100644 ---- a/chalk/plugins/filters/pixelizefilter/Makefile.am -+++ b/chalk/plugins/filters/pixelizefilter/Makefile.am -@@ -17,8 +17,10 @@ chalkpixelizefilter_la_SOURCES = kis_pixelize_filter_plugin.cc \ - noinst_HEADERS = kis_pixelize_filter_plugin.h \ - kis_pixelize_filter.h - --chalkpixelizefilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui --chalkpixelizefilter_la_LIBADD = ../../../libchalkcommon.la -+chalkpixelizefilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -+chalkpixelizefilter_la_LIBADD = ../../../libchalkcommon.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - chalkpixelizefilter_la_METASOURCES = AUTO -diff --git a/chalk/plugins/filters/raindropsfilter/Makefile.am b/chalk/plugins/filters/raindropsfilter/Makefile.am -index ba88e62..584ef96 100644 ---- a/chalk/plugins/filters/raindropsfilter/Makefile.am -+++ b/chalk/plugins/filters/raindropsfilter/Makefile.am -@@ -17,8 +17,10 @@ chalkraindropsfilter_la_SOURCES = kis_raindrops_filter_plugin.cc \ - noinst_HEADERS = kis_raindrops_filter_plugin.h \ - kis_raindrops_filter.h - --chalkraindropsfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui --chalkraindropsfilter_la_LIBADD = ../../../libchalkcommon.la -+chalkraindropsfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -+chalkraindropsfilter_la_LIBADD = ../../../libchalkcommon.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - chalkraindropsfilter_la_METASOURCES = AUTO -diff --git a/chalk/plugins/filters/randompickfilter/Makefile.am b/chalk/plugins/filters/randompickfilter/Makefile.am -index e46dc64..b7a1657 100644 ---- a/chalk/plugins/filters/randompickfilter/Makefile.am -+++ b/chalk/plugins/filters/randompickfilter/Makefile.am -@@ -16,8 +16,10 @@ chalkrandompickfilter_la_SOURCES = randompickfilter.cc wdgrandompickoptions.ui \ - kde_module_LTLIBRARIES = chalkrandompickfilter.la - noinst_HEADERS = randompickfilter.h - --chalkrandompickfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui --chalkrandompickfilter_la_LIBADD = ../../../libchalkcommon.la -+chalkrandompickfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -+chalkrandompickfilter_la_LIBADD = ../../../libchalkcommon.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - chalkrandompickfilter_la_METASOURCES = AUTO -diff --git a/chalk/plugins/filters/roundcorners/Makefile.am b/chalk/plugins/filters/roundcorners/Makefile.am -index 0b74580..ee9f141 100644 ---- a/chalk/plugins/filters/roundcorners/Makefile.am -+++ b/chalk/plugins/filters/roundcorners/Makefile.am -@@ -16,8 +16,10 @@ chalkroundcornersfilter_la_SOURCES = kis_round_corners_filter_plugin.cc \ - noinst_HEADERS = kis_round_corners_filter_plugin.h \ - kis_round_corners_filter.h - --chalkroundcornersfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui --chalkroundcornersfilter_la_LIBADD = ../../../libchalkcommon.la -+chalkroundcornersfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -+chalkroundcornersfilter_la_LIBADD = ../../../libchalkcommon.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - chalkroundcornersfilter_la_METASOURCES = AUTO -diff --git a/chalk/plugins/filters/smalltilesfilter/Makefile.am b/chalk/plugins/filters/smalltilesfilter/Makefile.am -index f139c29..ae28ed1 100644 ---- a/chalk/plugins/filters/smalltilesfilter/Makefile.am -+++ b/chalk/plugins/filters/smalltilesfilter/Makefile.am -@@ -16,8 +16,10 @@ chalksmalltilesfilter_la_SOURCES = kis_small_tiles_filter_plugin.cc \ - noinst_HEADERS = kis_small_tiles_filter_plugin.h \ - kis_small_tiles_filter.h - --chalksmalltilesfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui --chalksmalltilesfilter_la_LIBADD = ../../../libchalkcommon.la -+chalksmalltilesfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -+chalksmalltilesfilter_la_LIBADD = ../../../libchalkcommon.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - chalksmalltilesfilter_la_METASOURCES = AUTO -diff --git a/chalk/plugins/filters/sobelfilter/Makefile.am b/chalk/plugins/filters/sobelfilter/Makefile.am -index 9726f4d..da3fd16 100644 ---- a/chalk/plugins/filters/sobelfilter/Makefile.am -+++ b/chalk/plugins/filters/sobelfilter/Makefile.am -@@ -16,8 +16,10 @@ chalksobelfilter_la_SOURCES = kis_sobel_filter_plugin.cc \ - noinst_HEADERS = kis_sobel_filter_plugin.h \ - kis_sobel_filter.h - --chalksobelfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui --chalksobelfilter_la_LIBADD = ../../../libchalkcommon.la -+chalksobelfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -+chalksobelfilter_la_LIBADD = ../../../libchalkcommon.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - chalksobelfilter_la_METASOURCES = AUTO -diff --git a/chalk/plugins/filters/unsharp/Makefile.am b/chalk/plugins/filters/unsharp/Makefile.am -index 5c6eda7..1c1289f 100644 ---- a/chalk/plugins/filters/unsharp/Makefile.am -+++ b/chalk/plugins/filters/unsharp/Makefile.am -@@ -13,8 +13,10 @@ chalkunsharpfilter_la_SOURCES = wdgunsharp.ui kis_wdg_unsharp.cc unsharp.cc kis_ - - kde_module_LTLIBRARIES = chalkunsharpfilter.la - --chalkunsharpfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui --chalkunsharpfilter_la_LIBADD = ../../../libchalkcommon.la -+chalkunsharpfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -+chalkunsharpfilter_la_LIBADD = ../../../libchalkcommon.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - METASOURCES = AUTO -diff --git a/chalk/plugins/filters/wavefilter/Makefile.am b/chalk/plugins/filters/wavefilter/Makefile.am -index 6d2fec5..65b047c 100644 ---- a/chalk/plugins/filters/wavefilter/Makefile.am -+++ b/chalk/plugins/filters/wavefilter/Makefile.am -@@ -16,8 +16,10 @@ chalkwavefilter_la_SOURCES = wavefilter.cc wdgwaveoptions.ui \ - kde_module_LTLIBRARIES = chalkwavefilter.la - noinst_HEADERS = wavefilter.h kis_wdg_wave.h - --chalkwavefilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui --chalkwavefilter_la_LIBADD = ../../../libchalkcommon.la -+chalkwavefilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -+chalkwavefilter_la_LIBADD = ../../../libchalkcommon.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - METASOURCES = AUTO -diff --git a/chalk/plugins/paintops/defaultpaintops/Makefile.am b/chalk/plugins/paintops/defaultpaintops/Makefile.am -index ce91e83..186d501 100644 ---- a/chalk/plugins/paintops/defaultpaintops/Makefile.am -+++ b/chalk/plugins/paintops/defaultpaintops/Makefile.am -@@ -32,8 +32,10 @@ noinst_HEADERS = defaultpaintops_plugin.h kis_airbrushop.h kis_brushop.h \ - - kde_module_LTLIBRARIES = chalkdefaultpaintops.la - --chalkdefaultpaintops_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui --chalkdefaultpaintops_la_LIBADD = ../../../libchalkcommon.la $(LIB_KOPAINTER) $(LIB_KOFFICECORE) -+chalkdefaultpaintops_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -+chalkdefaultpaintops_la_LIBADD = ../../../libchalkcommon.la $(LIB_KOPAINTER) $(LIB_KOFFICECORE) \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - chalkdefaultpaintops_la_METASOURCES = AUTO -diff --git a/chalk/plugins/tools/defaulttools/Makefile.am b/chalk/plugins/tools/defaulttools/Makefile.am -index 16c4be5..329e9bb 100644 ---- a/chalk/plugins/tools/defaulttools/Makefile.am -+++ b/chalk/plugins/tools/defaulttools/Makefile.am -@@ -44,9 +44,11 @@ noinst_HEADERS = \ - kis_tool_pan.h - - --chalkdefaulttools_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui --chalkdefaulttools_la_LIBADD = ../../../libchalkcommon.la $(LIB_KOPAINTER) $(LIB_KOFFICECORE) -+chalkdefaulttools_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -+chalkdefaulttools_la_LIBADD = ../../../libchalkcommon.la $(LIB_KOPAINTER) $(LIB_KOFFICECORE) \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - chalkdefaulttools_la_METASOURCES = AUTO - -diff --git a/chalk/plugins/tools/selectiontools/Makefile.am b/chalk/plugins/tools/selectiontools/Makefile.am -index cfaa8f3..7f6c089 100644 ---- a/chalk/plugins/tools/selectiontools/Makefile.am -+++ b/chalk/plugins/tools/selectiontools/Makefile.am -@@ -28,9 +28,11 @@ noinst_HEADERS = \ - kis_tool_select_elliptical.h - - --chalkselectiontools_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui --chalkselectiontools_la_LIBADD = ../../../libchalkcommon.la -+chalkselectiontools_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -+chalkselectiontools_la_LIBADD = ../../../libchalkcommon.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - chalkselectiontools_la_METASOURCES = AUTO - -diff --git a/chalk/plugins/tools/tool_crop/Makefile.am b/chalk/plugins/tools/tool_crop/Makefile.am -index d1d73a7..9091a52 100644 ---- a/chalk/plugins/tools/tool_crop/Makefile.am -+++ b/chalk/plugins/tools/tool_crop/Makefile.am -@@ -21,9 +21,11 @@ noinst_HEADERS = \ - tool_crop.h \ - kis_tool_crop.h - --chalktoolcrop_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui --chalktoolcrop_la_LIBADD = ../../../libchalkcommon.la -+chalktoolcrop_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -+chalktoolcrop_la_LIBADD = ../../../libchalkcommon.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - chalktoolcrop_la_METASOURCES = AUTO - -diff --git a/chalk/plugins/tools/tool_curves/Makefile.am b/chalk/plugins/tools/tool_curves/Makefile.am -index 1f847fe..03d3395 100644 ---- a/chalk/plugins/tools/tool_curves/Makefile.am -+++ b/chalk/plugins/tools/tool_curves/Makefile.am -@@ -33,9 +33,11 @@ noinst_HEADERS = \ - kis_tool_bezier_select.h \ - kis_tool_moutline.h - --chalktoolcurves_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui --chalktoolcurves_la_LIBADD = ../../../libchalkcommon.la -+chalktoolcurves_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -+chalktoolcurves_la_LIBADD = ../../../libchalkcommon.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - chalktoolcurves_la_METASOURCES = AUTO - -diff --git a/chalk/plugins/tools/tool_filter/Makefile.am b/chalk/plugins/tools/tool_filter/Makefile.am -index 0f14b70..35c2381 100644 ---- a/chalk/plugins/tools/tool_filter/Makefile.am -+++ b/chalk/plugins/tools/tool_filter/Makefile.am -@@ -22,9 +22,11 @@ noinst_HEADERS = \ - kis_tool_filter.h \ - tool_filter.h - --chalktoolfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui --chalktoolfilter_la_LIBADD = ../../../libchalkcommon.la -+chalktoolfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -+chalktoolfilter_la_LIBADD = ../../../libchalkcommon.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - chalktoolfilter_la_METASOURCES = AUTO - -diff --git a/chalk/plugins/tools/tool_perspectivegrid/Makefile.am b/chalk/plugins/tools/tool_perspectivegrid/Makefile.am -index 80b6d35..ffa0832 100644 ---- a/chalk/plugins/tools/tool_perspectivegrid/Makefile.am -+++ b/chalk/plugins/tools/tool_perspectivegrid/Makefile.am -@@ -20,9 +20,11 @@ noinst_HEADERS = \ - tool_perspectivegrid.h \ - kis_tool_perspectivegrid.h - --chalktoolperspectivegrid_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui --chalktoolperspectivegrid_la_LIBADD = ../../../libchalkcommon.la -+chalktoolperspectivegrid_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -+chalktoolperspectivegrid_la_LIBADD = ../../../libchalkcommon.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - METASOURCES = AUTO - -diff --git a/chalk/plugins/tools/tool_perspectivetransform/Makefile.am b/chalk/plugins/tools/tool_perspectivetransform/Makefile.am -index 9f6dfb2..2491618 100644 ---- a/chalk/plugins/tools/tool_perspectivetransform/Makefile.am -+++ b/chalk/plugins/tools/tool_perspectivetransform/Makefile.am -@@ -20,9 +20,11 @@ noinst_HEADERS = \ - tool_perspectivetransform.h \ - kis_tool_perspectivetransform.h - --chalktoolperspectivetransform_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui --chalktoolperspectivetransform_la_LIBADD = ../../../libchalkcommon.la -+chalktoolperspectivetransform_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -+chalktoolperspectivetransform_la_LIBADD = ../../../libchalkcommon.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - chalktoolperspectivetransform_la_METASOURCES = AUTO - -diff --git a/chalk/plugins/tools/tool_polygon/Makefile.am b/chalk/plugins/tools/tool_polygon/Makefile.am -index ef2d230..2155322 100644 ---- a/chalk/plugins/tools/tool_polygon/Makefile.am -+++ b/chalk/plugins/tools/tool_polygon/Makefile.am -@@ -20,9 +20,11 @@ noinst_HEADERS = \ - tool_polygon.h \ - kis_tool_polygon.h - --chalktoolpolygon_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui --chalktoolpolygon_la_LIBADD = ../../../libchalkcommon.la -+chalktoolpolygon_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -+chalktoolpolygon_la_LIBADD = ../../../libchalkcommon.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - chalktoolpolygon_la_METASOURCES = AUTO - -diff --git a/chalk/plugins/tools/tool_polyline/Makefile.am b/chalk/plugins/tools/tool_polyline/Makefile.am -index acbe8e6..2beb650 100644 ---- a/chalk/plugins/tools/tool_polyline/Makefile.am -+++ b/chalk/plugins/tools/tool_polyline/Makefile.am -@@ -20,9 +20,11 @@ noinst_HEADERS = \ - tool_polyline.h \ - kis_tool_polyline.h - --chalktoolpolyline_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui --chalktoolpolyline_la_LIBADD = ../../../libchalkcommon.la -+chalktoolpolyline_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -+chalktoolpolyline_la_LIBADD = ../../../libchalkcommon.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - chalktoolpolyline_la_METASOURCES = AUTO - -diff --git a/chalk/plugins/tools/tool_selectsimilar/Makefile.am b/chalk/plugins/tools/tool_selectsimilar/Makefile.am -index 416c9a6..70d5885 100644 ---- a/chalk/plugins/tools/tool_selectsimilar/Makefile.am -+++ b/chalk/plugins/tools/tool_selectsimilar/Makefile.am -@@ -14,9 +14,11 @@ noinst_HEADERS = selectsimilar.h kis_tool_selectsimilar.h - - kde_module_LTLIBRARIES = chalktoolselectsimilar.la - --chalktoolselectsimilar_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui --chalktoolselectsimilar_la_LIBADD = ../../../libchalkcommon.la -+chalktoolselectsimilar_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -+chalktoolselectsimilar_la_LIBADD = ../../../libchalkcommon.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - chalktoolselectsimilar_la_METASOURCES = AUTO - -diff --git a/chalk/plugins/tools/tool_star/Makefile.am b/chalk/plugins/tools/tool_star/Makefile.am -index e068a62..a6b9a47 100644 ---- a/chalk/plugins/tools/tool_star/Makefile.am -+++ b/chalk/plugins/tools/tool_star/Makefile.am -@@ -21,9 +21,11 @@ noinst_HEADERS = \ - tool_star.h \ - kis_tool_star.h - --chalktoolstar_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui --chalktoolstar_la_LIBADD = ../../../libchalkcommon.la -+chalktoolstar_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -+chalktoolstar_la_LIBADD = ../../../libchalkcommon.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - chalktoolstar_la_METASOURCES = AUTO - -diff --git a/chalk/plugins/tools/tool_transform/Makefile.am b/chalk/plugins/tools/tool_transform/Makefile.am -index bb68737..b606e17 100644 ---- a/chalk/plugins/tools/tool_transform/Makefile.am -+++ b/chalk/plugins/tools/tool_transform/Makefile.am -@@ -21,9 +21,11 @@ noinst_HEADERS = \ - tool_transform.h \ - kis_tool_transform.h - --chalktooltransform_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui --chalktooltransform_la_LIBADD = ../../../libchalkcommon.la -+chalktooltransform_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -+chalktooltransform_la_LIBADD = ../../../libchalkcommon.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - chalktooltransform_la_METASOURCES = AUTO - -diff --git a/chalk/plugins/viewplugins/colorrange/Makefile.am b/chalk/plugins/viewplugins/colorrange/Makefile.am -index 19fb51e..57abd95 100644 ---- a/chalk/plugins/viewplugins/colorrange/Makefile.am -+++ b/chalk/plugins/viewplugins/colorrange/Makefile.am -@@ -10,9 +10,11 @@ kde_module_LTLIBRARIES = chalkcolorrange.la - chalkcolorrange_la_SOURCES = colorrange.cc dlg_colorrange.cc wdg_colorrange.ui - noinst_HEADERS = wdg_colorrange.h dlg_colorrange.h colorrange.h - --chalkcolorrange_la_LIBADD = ../../../libchalkcommon.la --chalkcolorrange_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) chalkblurfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui -L../../../../lib/kofficeui/.libs -lkofficeui -+chalkcolorrange_la_LIBADD = $(LIB_KOFFICEUI) ../../../libchalkcommon.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la -+chalkcolorrange_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) chalkblurfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts - - chalkrcdir = $(kde_datadir)/chalkplugins - chalkrc_DATA = colorrange.rc -diff --git a/chalk/plugins/viewplugins/colorspaceconversion/Makefile.am b/chalk/plugins/viewplugins/colorspaceconversion/Makefile.am -index 5469f41..a6da506 100644 ---- a/chalk/plugins/viewplugins/colorspaceconversion/Makefile.am -+++ b/chalk/plugins/viewplugins/colorspaceconversion/Makefile.am -@@ -17,9 +17,11 @@ kde_module_LTLIBRARIES = chalkcolorspaceconversion.la - chalkcolorspaceconversion_la_SOURCES = wdgconvertcolorspace.ui colorspaceconversion.cc dlg_colorspaceconversion.cc - noinst_HEADERS = wdgconvertcolorspace.h dlg_colorspaceconversion.h colorspaceconversion.h - --chalkcolorspaceconversion_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) chalkblurfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui -L../../../../lib/kofficeui/.libs -lkofficeui --chalkcolorspaceconversion_la_LIBADD = ../../../libchalkcommon.la -+chalkcolorspaceconversion_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) chalkblurfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -+chalkcolorspaceconversion_la_LIBADD = $(LIB_KOFFICEUI) ../../../libchalkcommon.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - chalkcolorspaceconversion_la_METASOURCES = AUTO - -diff --git a/chalk/plugins/viewplugins/dropshadow/Makefile.am b/chalk/plugins/viewplugins/dropshadow/Makefile.am -index a09b78e..137b57d 100644 ---- a/chalk/plugins/viewplugins/dropshadow/Makefile.am -+++ b/chalk/plugins/viewplugins/dropshadow/Makefile.am -@@ -20,9 +20,11 @@ chalkdropshadow_la_SOURCES = wdg_dropshadow.ui \ - noinst_HEADERS = wdg_dropshadow.h kis_dropshadow_plugin.h \ - kis_dropshadow.h dlg_dropshadow.h - --chalkdropshadow_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) chalkblurfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui -L../../../../lib/kofficeui/.libs -lkofficeui --chalkdropshadow_la_LIBADD = ../../../libchalkcommon.la ../../../colorspaces/rgb_u8/libchalkrgb.la -+chalkdropshadow_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) chalkblurfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -+chalkdropshadow_la_LIBADD = $(LIB_KOFFICEUI) ../../../libchalkcommon.la ../../../colorspaces/rgb_u8/libchalkrgb.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - kde_services_DATA = chalkdropshadow.desktop - -diff --git a/chalk/plugins/viewplugins/filtersgallery/Makefile.am b/chalk/plugins/viewplugins/filtersgallery/Makefile.am -index b326ddb..b200967 100644 ---- a/chalk/plugins/viewplugins/filtersgallery/Makefile.am -+++ b/chalk/plugins/viewplugins/filtersgallery/Makefile.am -@@ -19,8 +19,10 @@ noinst_HEADERS = filters_gallery.h kis_dlg_filtersgallery.h - - kde_services_DATA = chalkfiltersgallery.desktop - --chalkfiltersgallery_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) chalkblurfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui -L../../../../lib/kofficeui/.libs -lkofficeui --chalkfiltersgallery_la_LIBADD = ../../../libchalkcommon.la -+chalkfiltersgallery_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) chalkblurfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -+chalkfiltersgallery_la_LIBADD = $(LIB_KOFFICEUI) ../../../libchalkcommon.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - chalkfiltersgallery_la_METASOURCES = AUTO -diff --git a/chalk/plugins/viewplugins/histogram/Makefile.am b/chalk/plugins/viewplugins/histogram/Makefile.am -index 4b372cf..a5c5e3d 100644 ---- a/chalk/plugins/viewplugins/histogram/Makefile.am -+++ b/chalk/plugins/viewplugins/histogram/Makefile.am -@@ -18,8 +18,10 @@ noinst_HEADERS = dlg_histogram.h histogram.h wdghistogram.h kis_histogram_widget - - kde_services_DATA = chalkhistogram.desktop - --chalkhistogram_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) chalkblurfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui -L../../../../lib/kofficeui/.libs -lkofficeui --chalkhistogram_la_LIBADD = ../../../libchalkcommon.la -+chalkhistogram_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) chalkblurfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -+chalkhistogram_la_LIBADD = $(LIB_KOFFICEUI) ../../../libchalkcommon.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - chalkhistogram_la_METASOURCES = AUTO -diff --git a/chalk/plugins/viewplugins/histogram_docker/Makefile.am b/chalk/plugins/viewplugins/histogram_docker/Makefile.am -index 02864fc..d63edff 100644 ---- a/chalk/plugins/viewplugins/histogram_docker/Makefile.am -+++ b/chalk/plugins/viewplugins/histogram_docker/Makefile.am -@@ -15,8 +15,10 @@ chalkhistogramdocker_la_SOURCES = histogramdocker.cc kis_imagerasteredcache.cc - kde_module_LTLIBRARIES = chalkhistogramdocker.la - noinst_HEADERS = histogramdocker.h kis_imagerasteredcache.h kis_cachedhistogram.h kis_accumulating_producer.h - --chalkhistogramdocker_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) chalkblurfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui -L../../../../lib/kofficeui/.libs -lkofficeui --chalkhistogramdocker_la_LIBADD = ../../../libchalkcommon.la -+chalkhistogramdocker_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) chalkblurfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -+chalkhistogramdocker_la_LIBADD = $(LIB_KOFFICEUI) ../../../libchalkcommon.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - chalkhistogramdocker_la_METASOURCES = AUTO -diff --git a/chalk/plugins/viewplugins/imagesize/Makefile.am b/chalk/plugins/viewplugins/imagesize/Makefile.am -index 11da5c9..73a096b 100644 ---- a/chalk/plugins/viewplugins/imagesize/Makefile.am -+++ b/chalk/plugins/viewplugins/imagesize/Makefile.am -@@ -18,8 +18,10 @@ noinst_HEADERS = wdg_imagesize.h dlg_imagesize.h imagesize.h dlg_layersize.h - - kde_module_LTLIBRARIES = chalkimagesize.la - --chalkimagesize_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) chalkblurfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui -L../../../../lib/kofficeui/.libs -lkofficeui --chalkimagesize_la_LIBADD = ../../../libchalkcommon.la -+chalkimagesize_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) chalkblurfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -+chalkimagesize_la_LIBADD = $(LIB_KOFFICEUI) ../../../libchalkcommon.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - chalkimagesize_la_METASOURCES = AUTO -diff --git a/chalk/plugins/viewplugins/modify_selection/Makefile.am b/chalk/plugins/viewplugins/modify_selection/Makefile.am -index 0346768..c19b298 100644 ---- a/chalk/plugins/viewplugins/modify_selection/Makefile.am -+++ b/chalk/plugins/viewplugins/modify_selection/Makefile.am -@@ -20,8 +20,10 @@ dlg_shrink_selection.h dlg_border_selection.h modify_selection.h - - kde_module_LTLIBRARIES = chalkmodifyselection.la - --chalkmodifyselection_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) chalkblurfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui -L../../../../lib/kofficeui/.libs -lkofficeui --chalkmodifyselection_la_LIBADD = ../../../libchalkcommon.la -+chalkmodifyselection_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) chalkblurfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -+chalkmodifyselection_la_LIBADD = $(LIB_KOFFICEUI) ../../../libchalkcommon.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - chalkmodifyselection_la_METASOURCES = AUTO -diff --git a/chalk/plugins/viewplugins/performancetest/Makefile.am b/chalk/plugins/viewplugins/performancetest/Makefile.am -index 52cafd7..32da2ec 100644 ---- a/chalk/plugins/viewplugins/performancetest/Makefile.am -+++ b/chalk/plugins/viewplugins/performancetest/Makefile.am -@@ -16,9 +16,11 @@ kde_module_LTLIBRARIES = chalkperftest.la - chalkperftest_la_SOURCES = wdg_perftest.ui perftest.cc dlg_perftest.cc - noinst_HEADERS = wdg_perftest.h dlg_perftest.h perftest.h - --chalkperftest_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) chalkblurfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui -L../../../../lib/kofficeui/.libs -lkofficeui --chalkperftest_la_LIBADD = ../../../libchalkcommon.la -+chalkperftest_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) chalkblurfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -+chalkperftest_la_LIBADD = $(LIB_KOFFICEUI) ../../../libchalkcommon.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - kde_services_DATA = chalkperftest.desktop - -diff --git a/chalk/plugins/viewplugins/rotateimage/Makefile.am b/chalk/plugins/viewplugins/rotateimage/Makefile.am -index 25d48e3..61d729b 100644 ---- a/chalk/plugins/viewplugins/rotateimage/Makefile.am -+++ b/chalk/plugins/viewplugins/rotateimage/Makefile.am -@@ -16,9 +16,11 @@ kde_module_LTLIBRARIES = chalkrotateimage.la - chalkrotateimage_la_SOURCES = wdg_rotateimage.ui rotateimage.cc dlg_rotateimage.cc - noinst_HEADERS = wdg_rotateimage.h dlg_rotateimage.h rotateimage.h - --chalkrotateimage_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) chalkblurfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui -L../../../../lib/kofficeui/.libs -lkofficeui --chalkrotateimage_la_LIBADD = ../../../libchalkcommon.la -+chalkrotateimage_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) chalkblurfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -+chalkrotateimage_la_LIBADD = $(LIB_KOFFICEUI) ../../../libchalkcommon.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - kde_services_DATA = chalkrotateimage.desktop - -diff --git a/chalk/plugins/viewplugins/screenshot/Makefile.am b/chalk/plugins/viewplugins/screenshot/Makefile.am -index 7bde056..5394cf7 100644 ---- a/chalk/plugins/viewplugins/screenshot/Makefile.am -+++ b/chalk/plugins/viewplugins/screenshot/Makefile.am -@@ -15,9 +15,11 @@ kde_module_LTLIBRARIES = chalkscreenshot.la - chalkscreenshot_la_SOURCES = screenshot.cpp ksnapshot.cpp regiongrabber.cpp ksnapshotwidget.ui - noinst_HEADERS = screenshot.h ksnapshot.h regiongrabber.h ksnapshotwidget.h ksnapshotwidget.ui.h - --chalkscreenshot_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui -L../../../../lib/kofficeui/.libs -lkofficeui -lkdeprint --chalkscreenshot_la_LIBADD = ../../../libchalkcommon.la -+chalkscreenshot_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -lkdeprint -+chalkscreenshot_la_LIBADD = $(LIB_KOFFICEUI) ../../../libchalkcommon.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - kde_services_DATA = chalkscreenshot.desktop - -diff --git a/chalk/plugins/viewplugins/scripting/Makefile.am b/chalk/plugins/viewplugins/scripting/Makefile.am -index eec3697..5757c06 100644 ---- a/chalk/plugins/viewplugins/scripting/Makefile.am -+++ b/chalk/plugins/viewplugins/scripting/Makefile.am -@@ -20,9 +20,11 @@ chalkscripting_la_SOURCES = scripting.cc - kde_module_LTLIBRARIES = chalkscripting.la - noinst_HEADERS = scripting.h - --chalkscripting_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) chalkblurfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui -L../../../../lib/kofficeui/.libs -lkofficeui --chalkscripting_la_LIBADD = $(top_builddir)/chalk/libchalkcommon.la $(top_builddir)/lib/kross/main/libkrossmain.la ./chalkscripting/libchalkscripting.la -+chalkscripting_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) chalkblurfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -+chalkscripting_la_LIBADD = $(LIB_KOFFICEUI) $(top_builddir)/chalk/libchalkcommon.la $(top_builddir)/lib/kross/main/libkrossmain.la ./chalkscripting/libchalkscripting.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - KDE_CXXFLAGS = $(USE_EXCEPTIONS) - -diff --git a/chalk/plugins/viewplugins/scripting/chalkcore/Makefile.am b/chalk/plugins/viewplugins/scripting/chalkcore/Makefile.am -index ac4a959..e3eee89 100644 ---- a/chalk/plugins/viewplugins/scripting/chalkcore/Makefile.am -+++ b/chalk/plugins/viewplugins/scripting/chalkcore/Makefile.am -@@ -11,15 +11,18 @@ krosschalkcore_la_SOURCES = chalkcoremodule.cpp krs_doc.cpp krs_paint_layer.cpp - krs_brush.cpp krs_pattern.cpp krs_filter.cpp krs_filter_configuration.cpp \ - krs_wavelet.cpp - --krosschalkcore_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../../chalk/ui/.libs -lchalkui -L../../../../../lib/kofficeui/.libs -lkofficeui -L../../../../../lib/kofficecore/.libs -lkofficecore -+krosschalkcore_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts - krosschalkcore_la_LIBADD = \ -+ $(LIB_KOFFICE_CORE) $(LIB_KOFFICEUI) \ - $(LIB_QT) \ - $(LIB_KDECORE) \ - $(top_builddir)/lib/kross/api/libkrossapi.la \ - $(top_builddir)/lib/kross/main/libkrossmain.la \ - $(top_builddir)/chalk/libchalkcommon.la \ -- $(top_builddir)/chalk/plugins/viewplugins/scripting/chalkscripting/libchalkscripting.la -+ $(top_builddir)/chalk/plugins/viewplugins/scripting/chalkscripting/libchalkscripting.la \ -+ ../../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../../chalk/core/libchalkimage.la \ -+ ../../../../../chalk/ui/libchalkui.la - - METASOURCES = AUTO - SUBDIRS = . -diff --git a/chalk/plugins/viewplugins/selectopaque/Makefile.am b/chalk/plugins/viewplugins/selectopaque/Makefile.am -index 0682311..80ef392 100644 ---- a/chalk/plugins/viewplugins/selectopaque/Makefile.am -+++ b/chalk/plugins/viewplugins/selectopaque/Makefile.am -@@ -10,9 +10,11 @@ kde_module_LTLIBRARIES = chalkselectopaque.la - chalkselectopaque_la_SOURCES = selectopaque.cc - noinst_HEADERS = selectopaque.h - --chalkselectopaque_la_LIBADD = ../../../libchalkcommon.la --chalkselectopaque_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) chalkblurfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui -L../../../../lib/kofficeui/.libs -lkofficeui -+chalkselectopaque_la_LIBADD = $(LIB_KOFFICEUI) ../../../libchalkcommon.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la -+chalkselectopaque_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) chalkblurfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts - - chalkrcdir = $(kde_datadir)/chalkplugins - chalkrc_DATA = selectopaque.rc -diff --git a/chalk/plugins/viewplugins/separate_channels/Makefile.am b/chalk/plugins/viewplugins/separate_channels/Makefile.am -index 130a5ff..ce279a1 100644 ---- a/chalk/plugins/viewplugins/separate_channels/Makefile.am -+++ b/chalk/plugins/viewplugins/separate_channels/Makefile.am -@@ -20,8 +20,10 @@ noinst_HEADERS = wdg_separations.h kis_separate_channels_plugin.h \ - - kde_services_DATA = chalkseparatechannels.desktop - --chalkseparatechannels_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui -L../../../../lib/kofficeui/.libs -lkofficeui -L../../../../lib/kofficecore/.libs -lkofficecore --chalkseparatechannels_la_LIBADD = ../../../libchalkcommon.la -+chalkseparatechannels_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -+chalkseparatechannels_la_LIBADD = $(LIB_KOFFICECORE) $(LIB_KOFFICEUI) ../../../libchalkcommon.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - chalkseparatechannels_la_METASOURCES = AUTO -diff --git a/chalk/plugins/viewplugins/shearimage/Makefile.am b/chalk/plugins/viewplugins/shearimage/Makefile.am -index 937088b..5d3bd01 100644 ---- a/chalk/plugins/viewplugins/shearimage/Makefile.am -+++ b/chalk/plugins/viewplugins/shearimage/Makefile.am -@@ -18,8 +18,10 @@ kde_services_DATA = chalkshearimage.desktop - chalkshearimage_la_SOURCES = wdg_shearimage.ui shearimage.cc dlg_shearimage.cc - noinst_HEADERS = wdg_shearimage.h dlg_shearimage.h shearimage.h - --chalkshearimage_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) chalkblurfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui -L../../../../lib/kofficeui/.libs -lkofficeui --chalkshearimage_la_LIBADD = ../../../libchalkcommon.la -+chalkshearimage_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) chalkblurfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -+chalkshearimage_la_LIBADD = $(LIB_KOFFICEUI) ../../../libchalkcommon.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - chalkshearimage_la_METASOURCES = AUTO -diff --git a/chalk/plugins/viewplugins/substrate/Makefile.am b/chalk/plugins/viewplugins/substrate/Makefile.am -index 5e0fe4c..0d5e275 100644 ---- a/chalk/plugins/viewplugins/substrate/Makefile.am -+++ b/chalk/plugins/viewplugins/substrate/Makefile.am -@@ -17,9 +17,11 @@ kde_module_LTLIBRARIES = chalksubstrate.la - chalksubstrate_la_SOURCES = substrate.cc dlg_substrate.cc wdgsubstrate.ui kis_repeating_substrate.cc - noinst_HEADERS = wdgsubstrate.h dlg_substrate.h kis_repeating_substrate.h substrate.h - --chalksubstrate_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) chalkblurfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui -L../../../../lib/kofficeui/.libs -lkofficeui --chalksubstrate_la_LIBADD = ../../../libchalkcommon.la -+chalksubstrate_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) chalkblurfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -+chalksubstrate_la_LIBADD = $(LIB_KOFFICEUI) ../../../libchalkcommon.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - kde_services_DATA = chalksubstrate.desktop - -diff --git a/chalk/plugins/viewplugins/variations/Makefile.am b/chalk/plugins/viewplugins/variations/Makefile.am -index df07a2a..26b01aa 100644 ---- a/chalk/plugins/viewplugins/variations/Makefile.am -+++ b/chalk/plugins/viewplugins/variations/Makefile.am -@@ -17,9 +17,11 @@ kde_module_LTLIBRARIES = chalkvariations.la - chalkvariations_la_SOURCES = variations.cc dlg_variations.cc wdg_variations.ui - noinst_HEADERS = wdg_variations.h - --chalkvariations_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) chalkblurfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \ -- -L../../../../chalk/ui/.libs -lchalkui -L../../../../lib/kofficeui/.libs -lkofficeui --chalkvariations_la_LIBADD = ../../../libchalkcommon.la -+chalkvariations_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) chalkblurfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -+chalkvariations_la_LIBADD = $(LIB_KOFFICEUI) ../../../libchalkcommon.la \ -+ ../../../../chalk/chalkcolor/libchalkcolor.la \ -+ ../../../../chalk/core/libchalkimage.la \ -+ ../../../../chalk/ui/libchalkui.la - - kde_services_DATA = chalkvariations.desktop - -diff --git a/filters/chalk/gmagick/Makefile.am b/filters/chalk/gmagick/Makefile.am -index 99f468e..dc56704 100644 ---- a/filters/chalk/gmagick/Makefile.am -+++ b/filters/chalk/gmagick/Makefile.am -@@ -1,20 +1,24 @@ - kde_module_LTLIBRARIES = libchalkgmagickimport.la libchalkgmagickexport.la - - libchalkgmagickexport_la_LDFLAGS = $(KDE_PLUGIN) $(LIBGMAGICK_LDFLAGS) $(KDE_RPATH) $(LIBGMAGICK_RPATH) $(all_libraries) -module -avoid-version -no-undefined -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts \ -- -L../../../lib/kofficecore/.libs/ -lkofficecore -llcms \ -- -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -L../../../chalk/core/.libs/ -lchalkimage -L../../../chalk/ui/.libs/ -lchalkui -L../../../chalk/chalkcolor/.libs/ -lchalkcolor -+ -llcms - libchalkgmagickexport_la_LIBADD = \ - $(KOFFICE_LIBS) \ - $(LIBGMAGICK_LIBS) \ -- $(top_builddir)/chalk/libchalkcommon.la -+ $(top_builddir)/chalk/libchalkcommon.la \ -+ ../../../chalk/core/libchalkimage.la \ -+ ../../../chalk/ui/libchalkui.la \ -+ ../../../chalk/chalkcolor/libchalkcolor.la - - libchalkgmagickimport_la_LDFLAGS = $(KDE_PLUGIN) $(LIBGMAGICK_LDFLAGS) $(KDE_RPATH) $(LIBGMAGICK_RPATH) $(all_libraries) -module -avoid-version -no-undefined -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts \ -- -L../../../lib/kofficecore/.libs/ -lkofficecore -llcms \ -- -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -L../../../chalk/core/.libs/ -lchalkimage -L../../../chalk/ui/.libs/ -lchalkui -L../../../chalk/chalkcolor/.libs/ -lchalkcolor -+ -llcms - libchalkgmagickimport_la_LIBADD = \ - $(KOFFICE_LIBS) \ - $(LIBGMAGICK_LIBS) \ -- $(top_builddir)/chalk/libchalkcommon.la -+ $(top_builddir)/chalk/libchalkcommon.la \ -+ ../../../chalk/core/libchalkimage.la \ -+ ../../../chalk/ui/libchalkui.la \ -+ ../../../chalk/chalkcolor/libchalkcolor.la - - INCLUDES= \ - -I$(srcdir) \ -diff --git a/filters/chalk/jpeg/Makefile.am b/filters/chalk/jpeg/Makefile.am -index 780a3e2..7cefb8a 100644 ---- a/filters/chalk/jpeg/Makefile.am -+++ b/filters/chalk/jpeg/Makefile.am -@@ -2,24 +2,32 @@ noinst_LTLIBRARIES = libchalkconverter.la - kde_module_LTLIBRARIES = libchalkjpegimport.la libchalkjpegexport.la - - libchalkconverter_la_LDFLAGS = $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts \ -- -L../../../lib/kofficecore/.libs/ -lkofficecore -llcms \ -- -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -L../../../chalk/core/.libs/ -lchalkimage -L../../../chalk/ui/.libs/ -lchalkui -L../../../chalk/chalkcolor/.libs/ -lchalkcolor -+ -llcms - libchalkconverter_la_SOURCES = kis_jpeg_converter.cc iccjpeg.c --libchalkconverter_la_LIBADD = $(top_builddir)/filters/chalk/libkisexif/libkisexif.la -+libchalkconverter_la_LIBADD = $(KOFFICE_LIBS) $(top_builddir)/filters/chalk/libkisexif/libkisexif.la \ -+ ../../../chalk/core/libchalkimage.la \ -+ ../../../chalk/ui/libchalkui.la \ -+ ../../../chalk/chalkcolor/libchalkcolor.la - - libchalkjpegexport_la_LDFLAGS = -avoid-version -module -no-undefined \ - $(KDE_PLUGIN) $(KDE_RPATH) $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts \ -- -L../../../lib/kofficecore/.libs/ -lkofficecore -llcms \ -- -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -L../../../chalk/core/.libs/ -lchalkimage -L../../../chalk/ui/.libs/ -lchalkui -L../../../chalk/chalkcolor/.libs/ -lchalkcolor -+ -llcms - libchalkjpegexport_la_LIBADD = $(top_builddir)/chalk/libchalkcommon.la \ -- libchalkconverter.la $(KOFFICE_LIBS) -ljpeg -lexif -+ libchalkconverter.la $(KOFFICE_LIBS) \ -+ ../../../chalk/core/libchalkimage.la \ -+ ../../../chalk/ui/libchalkui.la \ -+ ../../../chalk/chalkcolor/libchalkcolor.la \ -+ -ljpeg -lexif - - libchalkjpegimport_la_LDFLAGS = -avoid-version -module -no-undefined \ - $(KDE_PLUGIN) $(KDE_RPATH) $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts \ -- -L../../../lib/kofficecore/.libs/ -lkofficecore -llcms \ -- -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -L../../../chalk/core/.libs/ -lchalkimage -L../../../chalk/ui/.libs/ -lchalkui -L../../../chalk/chalkcolor/.libs/ -lchalkcolor -+ -llcms - libchalkjpegimport_la_LIBADD = $(top_builddir)/chalk/libchalkcommon.la \ -- libchalkconverter.la $(KOFFICE_LIBS) -ljpeg -lexif -+ libchalkconverter.la $(KOFFICE_LIBS) \ -+ ../../../chalk/core/libchalkimage.la \ -+ ../../../chalk/ui/libchalkui.la \ -+ ../../../chalk/chalkcolor/libchalkcolor.la \ -+ -ljpeg -lexif - - INCLUDES= \ - -I$(srcdir) \ -diff --git a/filters/chalk/libkisexif/Makefile.am b/filters/chalk/libkisexif/Makefile.am -index d46bf3f..d8f40fa 100644 ---- a/filters/chalk/libkisexif/Makefile.am -+++ b/filters/chalk/libkisexif/Makefile.am -@@ -12,8 +12,11 @@ INCLUDES = \ - $(all_includes) - METASOURCES = AUTO - libkisexif_la_LDFLAGS = $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts \ -- -L../../../lib/kofficecore/.libs/ -lkofficecore -llcms \ -- -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -L../../../chalk/core/.libs/ -lchalkimage -L../../../chalk/ui/.libs/ -lchalkui -L../../../chalk/chalkcolor/.libs/ -lchalkcolor -+ -llcms -+libkisexif_la_LIBADD = $(KOFFICE_LIBS) \ -+ ../../../chalk/core/libchalkimage.la \ -+ ../../../chalk/ui/libchalkui.la \ -+ ../../../chalk/chalkcolor/libchalkcolor.la - noinst_LTLIBRARIES = libkisexif.la - - -diff --git a/filters/chalk/magick/Makefile.am b/filters/chalk/magick/Makefile.am -index 129f69a..745ad6b 100644 ---- a/filters/chalk/magick/Makefile.am -+++ b/filters/chalk/magick/Makefile.am -@@ -1,20 +1,24 @@ - kde_module_LTLIBRARIES = libchalkmagickimport.la libchalkmagickexport.la - - libchalkmagickexport_la_LDFLAGS = $(KDE_PLUGIN) $(LIBMAGICK_LDFLAGS) $(KDE_RPATH) $(LIBMAGICK_RPATH) $(all_libraries) -module -avoid-version -no-undefined -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts \ -- -L../../../lib/kofficecore/.libs/ -lkofficecore -llcms \ -- -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -L../../../chalk/core/.libs/ -lchalkimage -L../../../chalk/ui/.libs/ -lchalkui -L../../../chalk/chalkcolor/.libs/ -lchalkcolor -+ -llcms - libchalkmagickexport_la_LIBADD = \ - $(KOFFICE_LIBS) \ - $(LIBMAGICK_LIBS) \ -- $(top_builddir)/chalk/libchalkcommon.la -+ $(top_builddir)/chalk/libchalkcommon.la \ -+ ../../../chalk/core/libchalkimage.la \ -+ ../../../chalk/ui/libchalkui.la \ -+ ../../../chalk/chalkcolor/libchalkcolor.la - - libchalkmagickimport_la_LDFLAGS = $(KDE_PLUGIN) $(LIBMAGICK_LDFLAGS) $(KDE_RPATH) $(LIBMAGICK_RPATH) $(all_libraries) -module -avoid-version -no-undefined -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts \ -- -L../../../lib/kofficecore/.libs/ -lkofficecore -llcms \ -- -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -L../../../chalk/core/.libs/ -lchalkimage -L../../../chalk/ui/.libs/ -lchalkui -L../../../chalk/chalkcolor/.libs/ -lchalkcolor -+ -llcms - libchalkmagickimport_la_LIBADD = \ - $(KOFFICE_LIBS) \ - $(LIBMAGICK_LIBS) \ -- $(top_builddir)/chalk/libchalkcommon.la -+ $(top_builddir)/chalk/libchalkcommon.la \ -+ ../../../chalk/core/libchalkimage.la \ -+ ../../../chalk/ui/libchalkui.la \ -+ ../../../chalk/chalkcolor/libchalkcolor.la - - INCLUDES= \ - -I$(srcdir) \ -diff --git a/filters/chalk/openexr/Makefile.am b/filters/chalk/openexr/Makefile.am -index e186036..4c3ff9e 100644 ---- a/filters/chalk/openexr/Makefile.am -+++ b/filters/chalk/openexr/Makefile.am -@@ -15,25 +15,28 @@ AM_CPPFLAGS= \ - - kde_module_LTLIBRARIES = libchalk_openexr_import.la libchalk_openexr_export.la - --libchalk_openexr_export_la_LDFLAGS = $(KDE_PLUGIN) $(KDE_RPATH) $(all_libraries) -module -avoid-version -no-undefined $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts \ -- -L../../../lib/kofficecore/.libs/ -lkofficecore \ -- -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -L../../../chalk/core/.libs/ -lchalkimage -L../../../chalk/ui/.libs/ -lchalkui -L../../../chalk/chalkcolor/.libs/ -lchalkcolor -+libchalk_openexr_export_la_LDFLAGS = $(KDE_PLUGIN) $(KDE_RPATH) $(all_libraries) -module -avoid-version -no-undefined $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts - libchalk_openexr_export_la_LIBADD = \ - $(KOFFICE_LIBS) \ - $(OPENEXR_LIBS) \ - $(top_builddir)/chalk/libchalkcommon.la \ - $(top_builddir)/chalk/colorspaces/rgb_f32/libchalk_rgb_f32.la \ -- $(top_builddir)/chalk/colorspaces/rgb_f16half/libchalk_rgb_f16half.la -+ $(top_builddir)/chalk/colorspaces/rgb_f16half/libchalk_rgb_f16half.la \ -+ ../../../chalk/core/libchalkimage.la \ -+ ../../../chalk/ui/libchalkui.la \ -+ ../../../chalk/chalkcolor/libchalkcolor.la - - --libchalk_openexr_import_la_LDFLAGS = $(KDE_PLUGIN) $(KDE_RPATH) $(all_libraries) -module -avoid-version -no-undefined $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore \ -- -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -L../../../chalk/core/.libs/ -lchalkimage -L../../../chalk/ui/.libs/ -lchalkui -L../../../chalk/chalkcolor/.libs/ -lchalkcolor -+libchalk_openexr_import_la_LDFLAGS = $(KDE_PLUGIN) $(KDE_RPATH) $(all_libraries) -module -avoid-version -no-undefined $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts - libchalk_openexr_import_la_LIBADD = \ - $(KOFFICE_LIBS) \ - $(OPENEXR_LIBS) \ - $(top_builddir)/chalk/libchalkcommon.la \ - $(top_builddir)/chalk/colorspaces/rgb_f32/libchalk_rgb_f32.la \ -- $(top_builddir)/chalk/colorspaces/rgb_f16half/libchalk_rgb_f16half.la -+ $(top_builddir)/chalk/colorspaces/rgb_f16half/libchalk_rgb_f16half.la \ -+ ../../../chalk/core/libchalkimage.la \ -+ ../../../chalk/ui/libchalkui.la \ -+ ../../../chalk/chalkcolor/libchalkcolor.la - - - service_DATA = chalk_openexr_import.desktop chalk_openexr_export.desktop -diff --git a/filters/chalk/pdf/Makefile.am b/filters/chalk/pdf/Makefile.am -index e1c7c65..89d0281 100644 ---- a/filters/chalk/pdf/Makefile.am -+++ b/filters/chalk/pdf/Makefile.am -@@ -18,10 +18,12 @@ kdelnkdir = $(kde_appsdir)/.hidden - METASOURCES = AUTO - kde_module_LTLIBRARIES = libchalkpdfimport.la - libchalkpdfimport_la_LDFLAGS = -avoid-version -module -no-undefined $(KDE_PLUGIN) $(KDE_RPATH) $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts \ -- -L../../../lib/kofficecore/.libs/ -lkofficecore -llcms \ -- -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -L../../../chalk/core/.libs/ -lchalkimage -L../../../chalk/ui/.libs/ -lchalkui -L../../../chalk/chalkcolor/.libs/ -lchalkcolor -+ -llcms - libchalkpdfimport_la_LIBADD = $(top_builddir)/chalk/libchalkcommon.la \ -- -lpoppler-tqt $(KOFFICE_LIBS) $(POPPLER_LIBS) -+ -lpoppler-tqt $(KOFFICE_LIBS) $(POPPLER_LIBS) \ -+ ../../../chalk/core/libchalkimage.la \ -+ ../../../chalk/ui/libchalkui.la \ -+ ../../../chalk/chalkcolor/libchalkcolor.la - - noinst_HEADERS = kis_pdf_import.h kis_pdf_import_widget.h - libchalkpdfimport_la_SOURCES = kis_pdf_import.cpp pdfimportwidgetbase.ui \ -diff --git a/filters/chalk/png/Makefile.am b/filters/chalk/png/Makefile.am -index 929fbc7..857c368 100644 ---- a/filters/chalk/png/Makefile.am -+++ b/filters/chalk/png/Makefile.am -@@ -1,19 +1,23 @@ - kde_module_LTLIBRARIES = libchalkpngimport.la libchalkpngexport.la - - libchalkpngexport_la_LDFLAGS = $(KDE_PLUGIN) $(KDE_RPATH) $(all_libraries) -module -avoid-version -no-undefined -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts \ -- -L../../../lib/kofficecore/.libs/ -lkofficecore -llcms \ -- -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -L../../../chalk/core/.libs/ -lchalkimage -L../../../chalk/ui/.libs/ -lchalkui -L../../../chalk/chalkcolor/.libs/ -lchalkcolor -+ -llcms - libchalkpngexport_la_LIBADD = \ - $(KOFFICE_LIBS) \ - $(top_builddir)/chalk/libchalkcommon.la \ -+ ../../../chalk/core/libchalkimage.la \ -+ ../../../chalk/ui/libchalkui.la \ -+ ../../../chalk/chalkcolor/libchalkcolor.la \ - -lpng - - libchalkpngimport_la_LDFLAGS = $(KDE_PLUGIN) $(KDE_RPATH) $(all_libraries) -module -avoid-version -no-undefined -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts \ -- -L../../../lib/kofficecore/.libs/ -lkofficecore -llcms \ -- -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -L../../../chalk/core/.libs/ -lchalkimage -L../../../chalk/ui/.libs/ -lchalkui -L../../../chalk/chalkcolor/.libs/ -lchalkcolor -+ -llcms - libchalkpngimport_la_LIBADD = \ - $(KOFFICE_LIBS) \ - $(top_builddir)/chalk/libchalkcommon.la \ -+ ../../../chalk/core/libchalkimage.la \ -+ ../../../chalk/ui/libchalkui.la \ -+ ../../../chalk/chalkcolor/libchalkcolor.la \ - -lpng - - INCLUDES= \ -diff --git a/filters/chalk/raw/Makefile.am b/filters/chalk/raw/Makefile.am -index dffd88c..f48bb94 100644 ---- a/filters/chalk/raw/Makefile.am -+++ b/filters/chalk/raw/Makefile.am -@@ -12,12 +12,14 @@ AM_CPPFLAGS= \ - kde_module_LTLIBRARIES = libchalk_raw_import.la - - libchalk_raw_import_la_LDFLAGS = $(KDE_PLUGIN) $(KDE_RPATH) $(all_libraries) -module -avoid-version -no-undefined -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts \ -- -L../../../lib/kofficecore/.libs/ -lkofficecore -llcms \ -- -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -L../../../chalk/core/.libs/ -lchalkimage -L../../../chalk/ui/.libs/ -lchalkui -L../../../chalk/chalkcolor/.libs/ -lchalkcolor -+ -llcms - libchalk_raw_import_la_LIBADD = \ - $(KOFFICE_LIBS) \ - $(raw_LIBS) \ -- $(top_builddir)/chalk/libchalkcommon.la -+ $(top_builddir)/chalk/libchalkcommon.la \ -+ ../../../chalk/core/libchalkimage.la \ -+ ../../../chalk/ui/libchalkui.la \ -+ ../../../chalk/chalkcolor/libchalkcolor.la - - - service_DATA = chalk_raw_import.desktop -diff --git a/filters/chalk/tiff/Makefile.am b/filters/chalk/tiff/Makefile.am -index 3275055..c16e7f1 100644 ---- a/filters/chalk/tiff/Makefile.am -+++ b/filters/chalk/tiff/Makefile.am -@@ -2,17 +2,23 @@ kde_module_LTLIBRARIES = libchalktiffimport.la libchalktiffexport.la - - libchalktiffexport_la_LDFLAGS = -avoid-version -module -no-undefined \ - $(KDE_PLUGIN) $(KDE_RPATH) $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts \ -- -L../../../lib/kofficecore/.libs/ -lkofficecore -llcms \ -- -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -L../../../chalk/core/.libs/ -lchalkimage -L../../../chalk/ui/.libs/ -lchalkui -L../../../chalk/chalkcolor/.libs/ -lchalkcolor -+ -llcms - libchalktiffexport_la_LIBADD = $(top_builddir)/chalk/libchalkcommon.la \ -- libchalktiffconverter.la $(KOFFICE_LIBS) -ltiff -+ libchalktiffconverter.la $(KOFFICE_LIBS) \ -+ ../../../chalk/core/libchalkimage.la \ -+ ../../../chalk/ui/libchalkui.la \ -+ ../../../chalk/chalkcolor/libchalkcolor.la \ -+ -ltiff - - libchalktiffimport_la_LDFLAGS = -avoid-version -module -no-undefined \ - $(KDE_PLUGIN) $(KDE_RPATH) $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts \ -- -L../../../lib/kofficecore/.libs/ -lkofficecore -llcms \ -- -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -L../../../chalk/core/.libs/ -lchalkimage -L../../../chalk/ui/.libs/ -lchalkui -L../../../chalk/chalkcolor/.libs/ -lchalkcolor -+ -llcms - libchalktiffimport_la_LIBADD = $(top_builddir)/chalk/libchalkcommon.la \ -- libchalktiffconverter.la $(KOFFICE_LIBS) -ltiff -+ libchalktiffconverter.la $(KOFFICE_LIBS) \ -+ ../../../chalk/core/libchalkimage.la \ -+ ../../../chalk/ui/libchalkui.la \ -+ ../../../chalk/chalkcolor/libchalkcolor.la \ -+ -ltiff - - INCLUDES= \ - -I$(srcdir) \ -@@ -48,8 +54,11 @@ kdelnk_DATA = chalk_tiff.desktop - noinst_HEADERS = kis_dlg_options_tiff.h kis_tiff_writer_visitor.h \ - kis_tiff_ycbcr_reader.h - libchalktiffconverter_la_LDFLAGS = -no-undefined $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts \ -- -L../../../lib/kofficecore/.libs/ -lkofficecore -llcms \ -- -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -L../../../chalk/core/.libs/ -lchalkimage -L../../../chalk/ui/.libs/ -lchalkui -L../../../chalk/chalkcolor/.libs/ -lchalkcolor -+ -llcms -+libchalktiffconverter_la_LIBADD = $(KOFFICE_LIBS) \ -+ ../../../chalk/core/libchalkimage.la \ -+ ../../../chalk/ui/libchalkui.la \ -+ ../../../chalk/chalkcolor/libchalkcolor.la - noinst_LTLIBRARIES = libchalktiffconverter.la - libchalktiffconverter_la_SOURCES = kis_tiff_converter.cc kis_tiff_stream.cc \ - kis_tiff_writer_visitor.cpp kis_tiff_reader.cc kis_tiff_ycbcr_reader.cc -diff --git a/filters/chalk/xcf/Makefile.am b/filters/chalk/xcf/Makefile.am -index 6f163b4..5415f09 100644 ---- a/filters/chalk/xcf/Makefile.am -+++ b/filters/chalk/xcf/Makefile.am -@@ -1,20 +1,24 @@ - kde_module_LTLIBRARIES = libchalkxcfimport.la libchalkxcfexport.la - - libchalkxcfexport_la_LDFLAGS = $(KDE_PLUGIN) $(LIBMAGICK_LDFLAGS) $(KDE_RPATH) $(LIBMAGICK_RPATH) $(all_libraries) -module -avoid-version -no-undefined -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts \ -- -L../../../lib/kofficecore/.libs/ -lkofficecore -llcms \ -- -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -L../../../chalk/core/.libs/ -lchalkimage -L../../../chalk/ui/.libs/ -lchalkui -L../../../chalk/chalkcolor/.libs/ -lchalkcolor -+ -llcms - libchalkxcfexport_la_LIBADD = \ - $(KOFFICE_LIBS) \ - $(LIBMAGICK_LIBS) \ -- $(top_builddir)/chalk/libchalkcommon.la -+ $(top_builddir)/chalk/libchalkcommon.la \ -+ ../../../chalk/core/libchalkimage.la \ -+ ../../../chalk/ui/libchalkui.la \ -+ ../../../chalk/chalkcolor/libchalkcolor.la - - libchalkxcfimport_la_LDFLAGS = $(KDE_PLUGIN) $(LIBMAGICK_LDFLAGS) $(KDE_RPATH) $(LIBMAGICK_RPATH) $(all_libraries) -module -avoid-version -no-undefined -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts \ -- -L../../../lib/kofficecore/.libs/ -lkofficecore -llcms \ -- -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -L../../../chalk/core/.libs/ -lchalkimage -L../../../chalk/ui/.libs/ -lchalkui -L../../../chalk/chalkcolor/.libs/ -lchalkcolor -+ -llcms - libchalkxcfimport_la_LIBADD = \ - $(KOFFICE_LIBS) \ - $(LIBMAGICK_LIBS) \ -- $(top_builddir)/chalk/libchalkcommon.la -+ $(top_builddir)/chalk/libchalkcommon.la \ -+ ../../../chalk/core/libchalkimage.la \ -+ ../../../chalk/ui/libchalkui.la \ -+ ../../../chalk/chalkcolor/libchalkcolor.la - - INCLUDES= \ - -I$(srcdir) \ -diff --git a/filters/karbon/eps/Makefile.am b/filters/karbon/eps/Makefile.am -index b0ad08c..47b0135 100644 ---- a/filters/karbon/eps/Makefile.am -+++ b/filters/karbon/eps/Makefile.am -@@ -6,12 +6,12 @@ libkarbonepsexport_la_SOURCES = \ - epsexport.cc \ - epsexportdlg.cc - --libkarbonepsexport_la_LDFLAGS = $(KDE_PLUGIN) $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore --libkarbonepsexport_la_LIBADD = $(LIB_KOFFICEUI) ../../../karbon/libkarboncommon.la -+libkarbonepsexport_la_LDFLAGS = $(KDE_PLUGIN) $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -+libkarbonepsexport_la_LIBADD = $(KOFFICE_LIBS) ../../../karbon/libkarboncommon.la - - libkarbonepsimport_la_SOURCES = epsimport.cc pscommentlexer.cc --libkarbonepsimport_la_LDFLAGS = $(KDE_PLUGIN) $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore --libkarbonepsimport_la_LIBADD = $(LIB_KOFFICEUI) -+libkarbonepsimport_la_LDFLAGS = $(KDE_PLUGIN) $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -+libkarbonepsimport_la_LIBADD = $(KOFFICE_LIBS) - - INCLUDES = \ - $(KOFFICE_INCLUDES) \ -diff --git a/filters/karbon/kontour/Makefile.am b/filters/karbon/kontour/Makefile.am -index ff24495..29202e8 100644 ---- a/filters/karbon/kontour/Makefile.am -+++ b/filters/karbon/kontour/Makefile.am -@@ -10,7 +10,7 @@ INCLUDES= -I$(srcdir) $(KOFFICE_INCLUDES) $(KOPAINTER_INCLUDES) -I$(top_srcdir)/ - kde_module_LTLIBRARIES = libkarbonkontourimport.la - - libkarbonkontourimport_la_SOURCES = kontourimport.cpp --libkarbonkontourimport_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -+libkarbonkontourimport_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts - libkarbonkontourimport_la_LIBADD = $(KOFFICE_LIBS) ../../../karbon/libkarboncommon.la - - METASOURCES = AUTO -diff --git a/filters/karbon/png/Makefile.am b/filters/karbon/png/Makefile.am -index 3439b12..d997484 100644 ---- a/filters/karbon/png/Makefile.am -+++ b/filters/karbon/png/Makefile.am -@@ -1,8 +1,8 @@ - kde_module_LTLIBRARIES = libkarbonpngexport.la - --libkarbonpngexport_la_LDFLAGS = $(KDE_PLUGIN) $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -+libkarbonpngexport_la_LDFLAGS = $(KDE_PLUGIN) $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts - libkarbonpngexport_la_LIBADD = \ -- $(LIB_KOFFICEUI) \ -+ $(KOFFICE_LIBS) \ - ../../../karbon/libkarboncommon.la - - INCLUDES = \ -diff --git a/filters/karbon/svg/Makefile.am b/filters/karbon/svg/Makefile.am -index 0f2e80f..72eaf15 100644 ---- a/filters/karbon/svg/Makefile.am -+++ b/filters/karbon/svg/Makefile.am -@@ -1,13 +1,13 @@ - kde_module_LTLIBRARIES = libkarbonsvgexport.la libkarbonsvgimport.la - --libkarbonsvgexport_la_LDFLAGS = $(KDE_PLUGIN) $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -+libkarbonsvgexport_la_LDFLAGS = $(KDE_PLUGIN) $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts - libkarbonsvgexport_la_LIBADD = \ -- $(LIB_KOFFICEUI) \ -+ $(KOFFICE_LIBS) \ - ../../../karbon/libkarboncommon.la - --libkarbonsvgimport_la_LDFLAGS = $(KDE_PLUGIN) $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -+libkarbonsvgimport_la_LDFLAGS = $(KDE_PLUGIN) $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts - libkarbonsvgimport_la_LIBADD = \ -- $(LIB_KOFFICEUI) \ -+ $(KOFFICE_LIBS) \ - ../../../karbon/libkarboncommon.la - - INCLUDES = \ -diff --git a/filters/karbon/wmf/Makefile.am b/filters/karbon/wmf/Makefile.am -index df310c4..82d0c0a 100644 ---- a/filters/karbon/wmf/Makefile.am -+++ b/filters/karbon/wmf/Makefile.am -@@ -11,11 +11,11 @@ INCLUDES= \ - - kde_module_LTLIBRARIES = libwmfimport.la libwmfexport.la - --libwmfimport_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -+libwmfimport_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts - libwmfimport_la_LIBADD = $(KOFFICE_LIBS) $(LIB_KOWMF) ../../../karbon/libkarboncommon.la - libwmfimport_la_SOURCES = wmfimport.cc wmfimportparser.cc - --libwmfexport_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -+libwmfexport_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts - libwmfexport_la_LIBADD = $(KOFFICE_LIBS) $(LIB_KOWMF) ../../../karbon/libkarboncommon.la - libwmfexport_la_SOURCES = wmfexport.cc - -diff --git a/filters/karbon/xcf/Makefile.am b/filters/karbon/xcf/Makefile.am -index cd35667..49e5193 100644 ---- a/filters/karbon/xcf/Makefile.am -+++ b/filters/karbon/xcf/Makefile.am -@@ -1,8 +1,8 @@ - kde_module_LTLIBRARIES = libkarbonxcfexport.la - --libkarbonxcfexport_la_LDFLAGS = $(KDE_PLUGIN) $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -+libkarbonxcfexport_la_LDFLAGS = $(KDE_PLUGIN) $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts - libkarbonxcfexport_la_LIBADD = \ -- $(LIB_KOFFICEUI) \ -+ $(KOFFICE_LIBS) \ - ../../../karbon/libkarboncommon.la - - INCLUDES = \ -diff --git a/filters/kchart/bmp/Makefile.am b/filters/kchart/bmp/Makefile.am -index 63e6ff2..260601f 100644 ---- a/filters/kchart/bmp/Makefile.am -+++ b/filters/kchart/bmp/Makefile.am -@@ -12,7 +12,7 @@ INCLUDES= -I$(srcdir) $(KOFFICE_INCLUDES) \ - kde_module_LTLIBRARIES = libkchartbmpexport.la - - libkchartbmpexport_la_SOURCES = bmpexport.cpp --libkchartbmpexport_la_LDFLAGS = -module $(KDE_PLUGIN) -no-undefined $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -+libkchartbmpexport_la_LDFLAGS = -module $(KDE_PLUGIN) -no-undefined $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts - libkchartbmpexport_la_LIBADD = ../../../kchart/libkchartcommon.la ../libimageexport/libkchartimageexport.la ../../../filters/libdialogfilter/libdialogfilter.la $(KOFFICE_LIBS) - noinst_HEADERS = \ - bmpexport.h -diff --git a/filters/kchart/jpeg/Makefile.am b/filters/kchart/jpeg/Makefile.am -index f00a9ba..3907a5d 100644 ---- a/filters/kchart/jpeg/Makefile.am -+++ b/filters/kchart/jpeg/Makefile.am -@@ -13,7 +13,7 @@ INCLUDES= -I$(srcdir) $(KOFFICE_INCLUDES) \ - kde_module_LTLIBRARIES = libkchartjpegexport.la - - libkchartjpegexport_la_SOURCES = jpegexport.cpp --libkchartjpegexport_la_LDFLAGS = -module $(KDE_PLUGIN) -no-undefined $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -+libkchartjpegexport_la_LDFLAGS = -module $(KDE_PLUGIN) -no-undefined $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts - libkchartjpegexport_la_LIBADD = ../../../kchart/libkchartcommon.la ../libimageexport/libkchartimageexport.la ../../../filters/libdialogfilter/libdialogfilter.la $(KOFFICE_LIBS) - - noinst_HEADERS = \ -diff --git a/filters/kchart/mng/Makefile.am b/filters/kchart/mng/Makefile.am -index d46a9e0..22d611f 100644 ---- a/filters/kchart/mng/Makefile.am -+++ b/filters/kchart/mng/Makefile.am -@@ -12,7 +12,7 @@ INCLUDES= -I$(srcdir) $(KOFFICE_INCLUDES) \ - kde_module_LTLIBRARIES = libkchartmngexport.la - - libkchartmngexport_la_SOURCES = mngexport.cpp --libkchartmngexport_la_LDFLAGS = -module $(KDE_PLUGIN) -no-undefined $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -+libkchartmngexport_la_LDFLAGS = -module $(KDE_PLUGIN) -no-undefined $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts - libkchartmngexport_la_LIBADD = ../../../kchart/libkchartcommon.la ../libimageexport/libkchartimageexport.la ../../../filters/libdialogfilter/libdialogfilter.la $(KOFFICE_LIBS) - noinst_HEADERS = \ - mngexport.h -diff --git a/filters/kchart/png/Makefile.am b/filters/kchart/png/Makefile.am -index a2455ef..7af0f16 100644 ---- a/filters/kchart/png/Makefile.am -+++ b/filters/kchart/png/Makefile.am -@@ -13,7 +13,7 @@ INCLUDES= -I$(srcdir) $(KOFFICE_INCLUDES) \ - kde_module_LTLIBRARIES = libkchartpngexport.la - - libkchartpngexport_la_SOURCES = pngexport.cpp --libkchartpngexport_la_LDFLAGS = -module $(KDE_PLUGIN) -no-undefined $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -+libkchartpngexport_la_LDFLAGS = -module $(KDE_PLUGIN) -no-undefined $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts - libkchartpngexport_la_LIBADD = ../../../kchart/libkchartcommon.la ../libimageexport/libkchartimageexport.la ../../../filters/libdialogfilter/libdialogfilter.la $(KOFFICE_LIBS) - noinst_HEADERS = \ - pngexport.h -diff --git a/filters/kchart/svg/Makefile.am b/filters/kchart/svg/Makefile.am -index a85cfd0..c5025f3 100644 ---- a/filters/kchart/svg/Makefile.am -+++ b/filters/kchart/svg/Makefile.am -@@ -10,7 +10,7 @@ INCLUDES= -I$(srcdir) $(KOFFICE_INCLUDES) \ - kde_module_LTLIBRARIES = libkchartsvgexport.la - - libkchartsvgexport_la_SOURCES = svgexport.cc --libkchartsvgexport_la_LDFLAGS = -module $(KDE_PLUGIN) -no-undefined $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -+libkchartsvgexport_la_LDFLAGS = -module $(KDE_PLUGIN) -no-undefined $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts - libkchartsvgexport_la_LIBADD = ../../../kchart/libkchartcommon.la $(KOFFICE_LIBS) - noinst_HEADERS = \ - svgexport.h -diff --git a/filters/kchart/xbm/Makefile.am b/filters/kchart/xbm/Makefile.am -index 5c21b89..7a1a859 100644 ---- a/filters/kchart/xbm/Makefile.am -+++ b/filters/kchart/xbm/Makefile.am -@@ -13,7 +13,7 @@ INCLUDES= -I$(srcdir) $(KOFFICE_INCLUDES) \ - kde_module_LTLIBRARIES = libkchartxbmexport.la - - libkchartxbmexport_la_SOURCES = xbmexport.cpp --libkchartxbmexport_la_LDFLAGS = -module $(KDE_PLUGIN) -no-undefined $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -+libkchartxbmexport_la_LDFLAGS = -module $(KDE_PLUGIN) -no-undefined $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts - libkchartxbmexport_la_LIBADD = ../../../kchart/libkchartcommon.la ../libimageexport/libkchartimageexport.la ../../../filters/libdialogfilter/libdialogfilter.la $(KOFFICE_LIBS) - noinst_HEADERS = \ - xbmexport.h -diff --git a/filters/kchart/xpm/Makefile.am b/filters/kchart/xpm/Makefile.am -index 387dbee..3cb421d 100644 ---- a/filters/kchart/xpm/Makefile.am -+++ b/filters/kchart/xpm/Makefile.am -@@ -13,7 +13,7 @@ INCLUDES= -I$(srcdir) $(KOFFICE_INCLUDES) \ - kde_module_LTLIBRARIES = libkchartxpmexport.la - - libkchartxpmexport_la_SOURCES = xpmexport.cpp --libkchartxpmexport_la_LDFLAGS = -module $(KDE_PLUGIN) -no-undefined $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -+libkchartxpmexport_la_LDFLAGS = -module $(KDE_PLUGIN) -no-undefined $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts - libkchartxpmexport_la_LIBADD = ../../../kchart/libkchartcommon.la ../libimageexport/libkchartimageexport.la ../../../filters/libdialogfilter/libdialogfilter.la $(KOFFICE_LIBS) - noinst_HEADERS = \ - xpmexport.h -diff --git a/filters/kivio/imageexport/Makefile.am b/filters/kivio/imageexport/Makefile.am -index 9e5fae9..04d03c5 100644 ---- a/filters/kivio/imageexport/Makefile.am -+++ b/filters/kivio/imageexport/Makefile.am -@@ -11,7 +11,7 @@ kde_module_LTLIBRARIES = libkivioimageexport.la - - libkivioimageexport_la_SOURCES = kivio_imageexport.cpp \ - kivio_imageexportwidget.ui kivio_imageexportdialog.cpp --libkivioimageexport_la_LDFLAGS = -module $(KDE_PLUGIN) -no-undefined $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -+libkivioimageexport_la_LDFLAGS = -module $(KDE_PLUGIN) -no-undefined $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts - libkivioimageexport_la_LIBADD = $(top_builddir)/kivio/kiviopart/libkiviocommon.la $(KOFFICE_LIBS) - - service_DATA = kivio_image_export.desktop -diff --git a/filters/kpresenter/bmp/Makefile.am b/filters/kpresenter/bmp/Makefile.am -index 9574baa..2d85478 100644 ---- a/filters/kpresenter/bmp/Makefile.am -+++ b/filters/kpresenter/bmp/Makefile.am -@@ -12,7 +12,7 @@ INCLUDES= -I$(srcdir) $(KOFFICE_INCLUDES) \ - kde_module_LTLIBRARIES = libkpresenterbmpexport.la - - libkpresenterbmpexport_la_SOURCES = bmpexport.cpp --libkpresenterbmpexport_la_LDFLAGS = -module $(KDE_PLUGIN) -no-undefined $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -+libkpresenterbmpexport_la_LDFLAGS = -module $(KDE_PLUGIN) -no-undefined $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts - libkpresenterbmpexport_la_LIBADD = ../../../kpresenter/libkpresenterprivate.la ../../../filters/libdialogfilter/libdialogfilter.la ../libimageexport/libkpresenterimageexport.la $(KOFFICE_LIBS) - noinst_HEADERS = \ - bmpexport.h -diff --git a/filters/kpresenter/jpeg/Makefile.am b/filters/kpresenter/jpeg/Makefile.am -index 34540bb..40a3109 100644 ---- a/filters/kpresenter/jpeg/Makefile.am -+++ b/filters/kpresenter/jpeg/Makefile.am -@@ -12,7 +12,7 @@ INCLUDES= -I$(srcdir) $(KOFFICE_INCLUDES) \ - kde_module_LTLIBRARIES = libkpresenterjpegexport.la - - libkpresenterjpegexport_la_SOURCES = jpegexport.cpp --libkpresenterjpegexport_la_LDFLAGS = -module $(KDE_PLUGIN) -no-undefined $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -+libkpresenterjpegexport_la_LDFLAGS = -module $(KDE_PLUGIN) -no-undefined $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts - libkpresenterjpegexport_la_LIBADD = ../../../kpresenter/libkpresenterprivate.la ../../../filters/libdialogfilter/libdialogfilter.la ../libimageexport/libkpresenterimageexport.la $(KOFFICE_LIBS) - noinst_HEADERS = \ - jpegexport.h -diff --git a/filters/kpresenter/mng/Makefile.am b/filters/kpresenter/mng/Makefile.am -index 966197c..e51e800 100644 ---- a/filters/kpresenter/mng/Makefile.am -+++ b/filters/kpresenter/mng/Makefile.am -@@ -12,7 +12,7 @@ INCLUDES= -I$(srcdir) $(KOFFICE_INCLUDES) \ - kde_module_LTLIBRARIES = libkpresentermngexport.la - - libkpresentermngexport_la_SOURCES = mngexport.cpp --libkpresentermngexport_la_LDFLAGS = -module $(KDE_PLUGIN) -no-undefined $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -+libkpresentermngexport_la_LDFLAGS = -module $(KDE_PLUGIN) -no-undefined $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts - libkpresentermngexport_la_LIBADD = ../../../kpresenter/libkpresenterprivate.la ../../../filters/libdialogfilter/libdialogfilter.la ../libimageexport/libkpresenterimageexport.la $(KOFFICE_LIBS) - noinst_HEADERS = \ - mngexport.h -diff --git a/filters/kpresenter/png/Makefile.am b/filters/kpresenter/png/Makefile.am -index 9a05d53..0872168 100644 ---- a/filters/kpresenter/png/Makefile.am -+++ b/filters/kpresenter/png/Makefile.am -@@ -12,7 +12,7 @@ INCLUDES= -I$(srcdir) $(KOFFICE_INCLUDES) \ - kde_module_LTLIBRARIES = libkpresenterpngexport.la - - libkpresenterpngexport_la_SOURCES = pngexport.cpp --libkpresenterpngexport_la_LDFLAGS = -module $(KDE_PLUGIN) -no-undefined $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -+libkpresenterpngexport_la_LDFLAGS = -module $(KDE_PLUGIN) -no-undefined $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts - libkpresenterpngexport_la_LIBADD = ../../../kpresenter/libkpresenterprivate.la ../../../filters/libdialogfilter/libdialogfilter.la ../libimageexport/libkpresenterimageexport.la $(KOFFICE_LIBS) - noinst_HEADERS = \ - pngexport.h -diff --git a/filters/kpresenter/svg/Makefile.am b/filters/kpresenter/svg/Makefile.am -index 764bd30..d4b0b85 100644 ---- a/filters/kpresenter/svg/Makefile.am -+++ b/filters/kpresenter/svg/Makefile.am -@@ -9,7 +9,7 @@ INCLUDES= -I$(srcdir) $(KOFFICE_INCLUDES) \ - kde_module_LTLIBRARIES = libkpresentersvgexport.la - - libkpresentersvgexport_la_SOURCES = svgexport.cc --libkpresentersvgexport_la_LDFLAGS = -module $(KDE_PLUGIN) -no-undefined $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -+libkpresentersvgexport_la_LDFLAGS = -module $(KDE_PLUGIN) -no-undefined $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts - libkpresentersvgexport_la_LIBADD = ../../../kpresenter/libkpresenterprivate.la $(KOFFICE_LIBS) - noinst_HEADERS = \ - svgexport.h -diff --git a/filters/kpresenter/xbm/Makefile.am b/filters/kpresenter/xbm/Makefile.am -index 7cdb0e8..b57ad5f 100644 ---- a/filters/kpresenter/xbm/Makefile.am -+++ b/filters/kpresenter/xbm/Makefile.am -@@ -12,7 +12,7 @@ INCLUDES= -I$(srcdir) $(KOFFICE_INCLUDES) \ - kde_module_LTLIBRARIES = libkpresenterxbmexport.la - - libkpresenterxbmexport_la_SOURCES = xbmexport.cpp --libkpresenterxbmexport_la_LDFLAGS = -module $(KDE_PLUGIN) -no-undefined $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -+libkpresenterxbmexport_la_LDFLAGS = -module $(KDE_PLUGIN) -no-undefined $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts - libkpresenterxbmexport_la_LIBADD = ../../../kpresenter/libkpresenterprivate.la ../../../filters/libdialogfilter/libdialogfilter.la ../libimageexport/libkpresenterimageexport.la $(KOFFICE_LIBS) - noinst_HEADERS = \ - xbmexport.h -diff --git a/filters/kpresenter/xpm/Makefile.am b/filters/kpresenter/xpm/Makefile.am -index 188027b..5ce1efa 100644 ---- a/filters/kpresenter/xpm/Makefile.am -+++ b/filters/kpresenter/xpm/Makefile.am -@@ -12,7 +12,7 @@ INCLUDES= -I$(srcdir) $(KOFFICE_INCLUDES) \ - kde_module_LTLIBRARIES = libkpresenterxpmexport.la - - libkpresenterxpmexport_la_SOURCES = xpmexport.cpp --libkpresenterxpmexport_la_LDFLAGS = -module $(KDE_PLUGIN) -no-undefined $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -+libkpresenterxpmexport_la_LDFLAGS = -module $(KDE_PLUGIN) -no-undefined $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts - libkpresenterxpmexport_la_LIBADD = ../../../kpresenter/libkpresenterprivate.la ../../../filters/libdialogfilter/libdialogfilter.la ../libimageexport/libkpresenterimageexport.la $(KOFFICE_LIBS) - noinst_HEADERS = \ - xpmexport.h -diff --git a/filters/kspread/applixspread/Makefile.am b/filters/kspread/applixspread/Makefile.am -index eac8fb4..f85c2ac 100644 ---- a/filters/kspread/applixspread/Makefile.am -+++ b/filters/kspread/applixspread/Makefile.am -@@ -8,7 +8,7 @@ kde_module_LTLIBRARIES = libapplixspreadimport.la - - libapplixspreadimport_la_SOURCES = applixspreadimport.cc - libapplixspreadimport_la_LIBADD = $(KOFFICE_LIBS) --libapplixspreadimport_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -+libapplixspreadimport_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts - noinst_HEADERS = applixspreadimport.h - - METASOURCES = AUTO -diff --git a/filters/kspread/dbase/Makefile.am b/filters/kspread/dbase/Makefile.am -index c1e6049..cea95e5 100644 ---- a/filters/kspread/dbase/Makefile.am -+++ b/filters/kspread/dbase/Makefile.am -@@ -8,7 +8,7 @@ kde_module_LTLIBRARIES = libdbaseimport.la - - libdbaseimport_la_SOURCES = dbaseimport.cc dbase.cpp - libdbaseimport_la_LIBADD = $(KOFFICE_LIBS) --libdbaseimport_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -+libdbaseimport_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts - noinst_HEADERS = dbaseimport.h dbase.h - - METASOURCES = AUTO -diff --git a/filters/kspread/excel/import/Makefile.am b/filters/kspread/excel/import/Makefile.am -index 34adf0c..fffd45e 100644 ---- a/filters/kspread/excel/import/Makefile.am -+++ b/filters/kspread/excel/import/Makefile.am -@@ -8,7 +8,7 @@ kde_module_LTLIBRARIES = libexcelimport.la - - libexcelimport_la_SOURCES = excelimport.cc - libexcelimport_la_LIBADD = $(KOFFICE_LIBS) ../sidewinder/libsidewinder.la --libexcelimport_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../../lib/kofficecore/.libs/ -lkofficecore -L../../../../lib/kofficeui/.libs/ -lkofficeui -L../../../../lib/store/.libs/ -lkstore -+libexcelimport_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts - noinst_HEADERS = excelimport.h - - METASOURCES = AUTO -diff --git a/filters/kugar/kugarnop/Makefile.am b/filters/kugar/kugarnop/Makefile.am -index fa2e3d4..bf5bac0 100644 ---- a/filters/kugar/kugarnop/Makefile.am -+++ b/filters/kugar/kugarnop/Makefile.am -@@ -5,7 +5,7 @@ INCLUDES= -I$(srcdir) $(KOFFICE_INCLUDES) $(all_includes) - kde_module_LTLIBRARIES = libkugarnopimport.la - - libkugarnopimport_la_SOURCES = kugarnopimport.cpp --libkugarnopimport_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -+libkugarnopimport_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts - libkugarnopimport_la_LIBADD = $(KOFFICE_LIBS) - - noinst_HEADERS = kugarnopimport.h -diff --git a/filters/kword/hancomword/Makefile.am b/filters/kword/hancomword/Makefile.am -index 55f6a99..535abf0 100644 ---- a/filters/kword/hancomword/Makefile.am -+++ b/filters/kword/hancomword/Makefile.am -@@ -8,7 +8,7 @@ kde_module_LTLIBRARIES = libhancomwordimport.la - - libhancomwordimport_la_SOURCES = pole.cpp hancomwordimport.cpp - libhancomwordimport_la_LIBADD = $(KOFFICE_LIBS) --libhancomwordimport_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -+libhancomwordimport_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts - noinst_HEADERS = pole.h hancomwordimport.h - - METASOURCES = AUTO -diff --git a/filters/kword/msword/Makefile.am b/filters/kword/msword/Makefile.am -index 7de039c..deb8887 100644 ---- a/filters/kword/msword/Makefile.am -+++ b/filters/kword/msword/Makefile.am -@@ -8,7 +8,7 @@ kde_module_LTLIBRARIES = libmswordimport.la - - libmswordimport_la_SOURCES = mswordimport.cpp document.cpp conversion.cpp \ - texthandler.cpp tablehandler.cpp graphicshandler.cpp --libmswordimport_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -+libmswordimport_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts - libmswordimport_la_LIBADD = $(KOFFICE_LIBS) $(LIBWV2_LIBS) - - METASOURCES = AUTO -diff --git a/filters/kword/mswrite/Makefile.am b/filters/kword/mswrite/Makefile.am -index 423261e..596315f 100644 ---- a/filters/kword/mswrite/Makefile.am -+++ b/filters/kword/mswrite/Makefile.am -@@ -9,12 +9,12 @@ kde_module_LTLIBRARIES = libmswriteimport.la libmswriteexport.la - libmswriteimport_la_SOURCES = mswriteimport.cc \ - libmswrite_defs.cpp structures_generated.cpp structures_private.cpp structures.cpp libmswrite.cpp ImportDialogUI.ui ImportDialog.cc - --libmswriteimport_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -+libmswriteimport_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts - libmswriteimport_la_LIBADD = $(KOFFICE_LIBS) - - libmswriteexport_la_SOURCES = mswriteexport.cc \ - libmswrite_defs.cpp structures_generated.cpp structures_private.cpp structures.cpp libmswrite.cpp --libmswriteexport_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -+libmswriteexport_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts - libmswriteexport_la_LIBADD = $(KOFFICE_LIBS) $(LIB_KOWMF) ../libexport/libkwordexportfilters.la - - noinst_HEADERS = mswriteimport.h mswriteexport.h \ -diff --git a/filters/kword/pdf/Makefile.am b/filters/kword/pdf/Makefile.am -index 2a063f0..afcf443 100644 ---- a/filters/kword/pdf/Makefile.am -+++ b/filters/kword/pdf/Makefile.am -@@ -9,8 +9,8 @@ kde_module_LTLIBRARIES = libpdfimport.la - libpdfimport_la_SOURCES = misc.cpp transform.cpp data.cpp fstring.cpp \ - FilterPage.cpp FilterDevice.cpp \ - pdfdocument.cpp dialog.cpp pdfimport.cpp --libpdfimport_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore --libpdfimport_la_LIBADD = $(LIB_KOFFICECORE) $(LIBPAPER) ./xpdf/xpdf/libxpdf.la ./xpdf/goo/libgoo.la -+libpdfimport_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -+libpdfimport_la_LIBADD = $(KOFFICE_LIBS) $(LIBPAPER) ./xpdf/xpdf/libxpdf.la ./xpdf/goo/libgoo.la - - METASOURCES = dialog.moc pdfimport.moc - -diff --git a/filters/xsltfilter/export/Makefile.am b/filters/xsltfilter/export/Makefile.am -index fdf7466..d5bb41e 100644 ---- a/filters/xsltfilter/export/Makefile.am -+++ b/filters/xsltfilter/export/Makefile.am -@@ -8,7 +8,7 @@ INCLUDES= -I$(srcdir) $(KOFFICE_INCLUDES) $(all_includes) $(LIBXML_CFLAGS) $(LIB - kde_module_LTLIBRARIES = libxsltexport.la - - libxsltexport_la_SOURCES = xsltexport.cc xsltexportdia.cc xsltproc.cc xsltdialog.ui --libxsltexport_la_LDFLAGS = $(KDE_RPATH) $(LIBXML_RPATH) $(LIBXSLT_RPATH) $(all_libraries) -module $(KDE_PLUGIN) $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -+libxsltexport_la_LDFLAGS = $(KDE_RPATH) $(LIBXML_RPATH) $(LIBXSLT_RPATH) $(all_libraries) -module $(KDE_PLUGIN) $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts - libxsltexport_la_LIBADD = $(KOFFICE_LIBS) $(LIBXSLT_LIBS) $(LIBXML_LIBS) - - noinst_HEADERS = xsltexport.h xsltexportdia.h xsltproc.h -diff --git a/filters/xsltfilter/import/Makefile.am b/filters/xsltfilter/import/Makefile.am -index e72b85a..c1e58a4 100644 ---- a/filters/xsltfilter/import/Makefile.am -+++ b/filters/xsltfilter/import/Makefile.am -@@ -7,7 +7,7 @@ INCLUDES= -I$(srcdir) $(KOFFICE_INCLUDES) $(all_includes) $(LIBXML_CFLAGS) $(LI - kde_module_LTLIBRARIES = libxsltimport.la - - libxsltimport_la_SOURCES = xsltimport.cc xsltimportdia.cc xsltproc.cc xsltdialog.ui --libxsltimport_la_LDFLAGS = $(KDE_RPATH) $(LIBXML_RPATH) $(LIBXSLT_RPATH) $(all_libraries) -module $(KDE_PLUGIN) $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -+libxsltimport_la_LDFLAGS = $(KDE_RPATH) $(LIBXML_RPATH) $(LIBXSLT_RPATH) $(all_libraries) -module $(KDE_PLUGIN) $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts - libxsltimport_la_LIBADD = $(KOFFICE_LIBS) $(LIBXSLT_LIBS) $(LIBXML_LIBS) - - noinst_HEADERS = xsltimport.h xsltimportdia.h xsltproc.h -diff --git a/karbon/plugins/flattenpath/Makefile.am b/karbon/plugins/flattenpath/Makefile.am -index a61e0e6..da55ebc 100644 ---- a/karbon/plugins/flattenpath/Makefile.am -+++ b/karbon/plugins/flattenpath/Makefile.am -@@ -3,10 +3,10 @@ INCLUDES = $(KOFFICE_INCLUDES) -I$(top_srcdir)/karbon -I$(top_srcdir)/karbon/co - kde_module_LTLIBRARIES = karbon_flattenpathplugin.la - - karbon_flattenpathplugin_la_SOURCES = flattenpathplugin.cc --karbon_flattenpathplugin_la_LIBADD = $(LIB_KPARTS) $(LIB_KOFFICEUI) \ -- ../../libkarboncommon.la -+karbon_flattenpathplugin_la_LIBADD = $(LIB_KPARTS) $(LIB_KOFFICECORE) $(LIB_KOFFICEUI) \ -+ $(LIB_KOPAINTER) ../../libkarboncommon.la - --karbon_flattenpathplugin_la_LDFLAGS = -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kopainter/.libs/ -lkopainter $(all_libraries) -module $(KDE_PLUGIN) -+karbon_flattenpathplugin_la_LDFLAGS = -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio $(all_libraries) -module $(KDE_PLUGIN) - - partpluginsdir = $(kde_datadir)/karbon/kpartplugins - partplugins_DATA = flattenpathplugin.rc -diff --git a/karbon/plugins/imagetool/Makefile.am b/karbon/plugins/imagetool/Makefile.am -index f476cc2..4459522 100644 ---- a/karbon/plugins/imagetool/Makefile.am -+++ b/karbon/plugins/imagetool/Makefile.am -@@ -5,10 +5,10 @@ INCLUDES = $(KOFFICE_INCLUDES) -I$(top_srcdir)/karbon -I$(top_srcdir)/karbon/co - kde_module_LTLIBRARIES = karbon_imagetoolplugin.la - - karbon_imagetoolplugin_la_SOURCES = imagetoolplugin.cc vimagetool.cc --karbon_imagetoolplugin_la_LIBADD = $(LIB_KPARTS) $(LIB_KOFFICEUI) \ -- ../../libkarboncommon.la -+karbon_imagetoolplugin_la_LIBADD = $(LIB_KPARTS) $(LIB_KOFFICECORE) $(LIB_KOFFICEUI) \ -+ $(LIB_KOPAINTER) ../../libkarboncommon.la - --karbon_imagetoolplugin_la_LDFLAGS = -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kopainter/.libs/ -lkopainter $(all_libraries) -module $(KDE_PLUGIN) -+karbon_imagetoolplugin_la_LDFLAGS = -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio $(all_libraries) -module $(KDE_PLUGIN) - - METASOURCES = AUTO - -diff --git a/karbon/plugins/insertknots/Makefile.am b/karbon/plugins/insertknots/Makefile.am -index 1e01481..46f350c 100644 ---- a/karbon/plugins/insertknots/Makefile.am -+++ b/karbon/plugins/insertknots/Makefile.am -@@ -3,10 +3,10 @@ INCLUDES = $(KOFFICE_INCLUDES) -I$(top_srcdir)/karbon -I$(top_srcdir)/karbon/co - kde_module_LTLIBRARIES = karbon_insertknotsplugin.la - - karbon_insertknotsplugin_la_SOURCES = insertknotsplugin.cc --karbon_insertknotsplugin_la_LIBADD = $(LIB_KPARTS) \ -- ../../libkarboncommon.la -+karbon_insertknotsplugin_la_LIBADD = $(LIB_KPARTS) $(LIB_KOFFICECORE) $(LIB_KOFFICEUI) \ -+ $(LIB_KOPAINTER) ../../libkarboncommon.la - --karbon_insertknotsplugin_la_LDFLAGS = -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kopainter/.libs/ -lkopainter $(all_libraries) -module $(KDE_PLUGIN) -+karbon_insertknotsplugin_la_LDFLAGS = -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio $(all_libraries) -module $(KDE_PLUGIN) - - partpluginsdir = $(kde_datadir)/karbon/kpartplugins - partplugins_DATA = insertknotsplugin.rc -diff --git a/karbon/plugins/roundcorners/Makefile.am b/karbon/plugins/roundcorners/Makefile.am -index 7a3ee55..a4c6ac2 100644 ---- a/karbon/plugins/roundcorners/Makefile.am -+++ b/karbon/plugins/roundcorners/Makefile.am -@@ -3,10 +3,10 @@ INCLUDES = $(KOFFICE_INCLUDES) -I$(top_srcdir)/karbon -I$(top_srcdir)/karbon/co - kde_module_LTLIBRARIES = karbon_roundcornersplugin.la - - karbon_roundcornersplugin_la_SOURCES = roundcornersplugin.cc --karbon_roundcornersplugin_la_LIBADD = $(LIB_KPARTS) \ -- ../../libkarboncommon.la -+karbon_roundcornersplugin_la_LIBADD = $(LIB_KPARTS) $(LIB_KOFFICECORE) $(LIB_KOFFICEUI) \ -+ $(LIB_KOPAINTER) ../../libkarboncommon.la - --karbon_roundcornersplugin_la_LDFLAGS = -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kopainter/.libs/ -lkopainter $(all_libraries) -module $(KDE_PLUGIN) -+karbon_roundcornersplugin_la_LDFLAGS = -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio $(all_libraries) -module $(KDE_PLUGIN) - - partpluginsdir = $(kde_datadir)/karbon/kpartplugins - partplugins_DATA = roundcornersplugin.rc -diff --git a/karbon/plugins/shadoweffect/Makefile.am b/karbon/plugins/shadoweffect/Makefile.am -index 8a534c8..23ba030 100644 ---- a/karbon/plugins/shadoweffect/Makefile.am -+++ b/karbon/plugins/shadoweffect/Makefile.am -@@ -3,10 +3,10 @@ INCLUDES = $(KOFFICE_INCLUDES) $(KOPAINTER_INCLUDES) -I$(top_srcdir)/karbon -I$ - kde_module_LTLIBRARIES = karbon_shadoweffectplugin.la - - karbon_shadoweffectplugin_la_SOURCES = shadoweffectplugin.cc vshadowdecorator.cc --karbon_shadoweffectplugin_la_LIBADD = $(LIB_KPARTS) $(LIB_KOFFICEUI) \ -- ../../libkarboncommon.la -+karbon_shadoweffectplugin_la_LIBADD = $(LIB_KPARTS) $(LIB_KOFFICECORE) $(LIB_KOFFICEUI) \ -+ $(LIB_KOPAINTER) ../../libkarboncommon.la - --karbon_shadoweffectplugin_la_LDFLAGS = -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kopainter/.libs/ -lkopainter $(all_libraries) -module $(KDE_PLUGIN) -+karbon_shadoweffectplugin_la_LDFLAGS = -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio $(all_libraries) -module $(KDE_PLUGIN) - - partpluginsdir = $(kde_datadir)/karbon/kpartplugins - partplugins_DATA = shadoweffectplugin.rc -diff --git a/karbon/plugins/whirlpinch/Makefile.am b/karbon/plugins/whirlpinch/Makefile.am -index 600ccc6..cd8223d 100644 ---- a/karbon/plugins/whirlpinch/Makefile.am -+++ b/karbon/plugins/whirlpinch/Makefile.am -@@ -3,11 +3,11 @@ INCLUDES = $(KOFFICE_INCLUDES) -I$(top_srcdir)/karbon -I$(top_srcdir)/karbon/cor - kde_module_LTLIBRARIES = karbon_whirlpinchplugin.la - - karbon_whirlpinchplugin_la_SOURCES = whirlpinchplugin.cc --karbon_whirlpinchplugin_la_LIBADD = $(LIB_KPARTS) $(LIB_KOPAINTER) \ -+karbon_whirlpinchplugin_la_LIBADD = $(LIB_KPARTS) $(LIB_KOPAINTER) $(LIB_KOFFICECORE) $(LIB_KOFFICEUI) \ - ../../libkarboncommon.la - - --karbon_whirlpinchplugin_la_LDFLAGS = -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kopainter/.libs/ -lkopainter $(all_libraries) -module $(KDE_PLUGIN) -+karbon_whirlpinchplugin_la_LDFLAGS = -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio $(all_libraries) -module $(KDE_PLUGIN) - - partpluginsdir = $(kde_datadir)/karbon/kpartplugins - partplugins_DATA = whirlpinchplugin.rc -diff --git a/karbon/plugins/zoomtool/Makefile.am b/karbon/plugins/zoomtool/Makefile.am -index ef50f24..74dcf60 100644 ---- a/karbon/plugins/zoomtool/Makefile.am -+++ b/karbon/plugins/zoomtool/Makefile.am -@@ -5,10 +5,10 @@ INCLUDES = $(KOFFICE_INCLUDES) -I$(top_srcdir)/karbon -I$(top_srcdir)/karbon/co - kde_module_LTLIBRARIES = karbon_zoomtoolplugin.la - - karbon_zoomtoolplugin_la_SOURCES = vzoomtool.cc zoomtoolplugin.cc --karbon_zoomtoolplugin_la_LIBADD = $(LIB_KPARTS) $(LIB_KOFFICEUI) \ -- ../../libkarboncommon.la -+karbon_zoomtoolplugin_la_LIBADD = $(LIB_KPARTS) $(LIB_KOFFICECORE) $(LIB_KOFFICEUI) \ -+ $(LIB_KOPAINTER) ../../libkarboncommon.la - --karbon_zoomtoolplugin_la_LDFLAGS = -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kopainter/.libs/ -lkopainter $(all_libraries) -module $(KDE_PLUGIN) -+karbon_zoomtoolplugin_la_LDFLAGS = -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio $(all_libraries) -module $(KDE_PLUGIN) - - METASOURCES = AUTO - -diff --git a/karbon/tools/Makefile.am b/karbon/tools/Makefile.am -index ef666c1..f90ebb6 100644 ---- a/karbon/tools/Makefile.am -+++ b/karbon/tools/Makefile.am -@@ -56,8 +56,8 @@ karbon_defaulttools_la_SOURCES = \ - vtexttool.cc \ - vdefaulttools.cc - --karbon_defaulttools_la_LIBADD = $(LIB_KPARTS) $(LIB_KOFFICEUI) ../libkarboncommon.la --karbon_defaulttools_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -L../../lib/kofficeui/.libs/ -lkofficeui -L../../lib/kofficecore/.libs/ -lkofficecore -L../../lib/kopainter/.libs/ -lkopainter -+karbon_defaulttools_la_LIBADD = $(LIB_KPARTS) $(LIB_KOFFICECORE) $(LIB_KOFFICEUI) $(LIB_KOPAINTER) ../libkarboncommon.la -+karbon_defaulttools_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio - - karbon_defaulttools_la_METASOURCES = \ - AUTO -diff --git a/kexi/formeditor/factories/Makefile.am b/kexi/formeditor/factories/Makefile.am -index 72571e4..dd87e8b 100644 ---- a/kexi/formeditor/factories/Makefile.am -+++ b/kexi/formeditor/factories/Makefile.am -@@ -4,13 +4,15 @@ INCLUDES = -I$(top_srcdir)/kexi -I$(top_srcdir)/kexi/formeditor \ - -I$(top_srcdir)/kexi/core \ - -I$(top_srcdir)/lib -I$(top_srcdir)/lib/koproperty -I$(top_srcdir)/lib/kofficecore $(all_includes) - kde_module_LTLIBRARIES = kformdesigner_containers.la kformdesigner_stdwidgets.la --kformdesigner_containers_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) $(VER_INFO) -module -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -L../../../lib/koproperty/.libs/ -lkoproperty -+kformdesigner_containers_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) $(VER_INFO) -module -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts - kformdesigner_containers_la_SOURCES = containerfactory.cpp --kformdesigner_containers_la_LIBADD = $(top_builddir)/kexi/formeditor/libkformdesigner.la -+kformdesigner_containers_la_LIBADD = $(KOFFICE_LIBS) $(top_builddir)/kexi/formeditor/libkformdesigner.la \ -+ ../../../lib/koproperty/libkoproperty.la - --kformdesigner_stdwidgets_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) $(VER_INFO) -module -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -L../../../lib/koproperty/.libs/ -lkoproperty -+kformdesigner_stdwidgets_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) $(VER_INFO) -module -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts - kformdesigner_stdwidgets_la_SOURCES = stdwidgetfactory.cpp --kformdesigner_stdwidgets_la_LIBADD = $(top_builddir)/kexi/formeditor/libkformdesigner.la -+kformdesigner_stdwidgets_la_LIBADD = $(KOFFICE_LIBS) $(top_builddir)/kexi/formeditor/libkformdesigner.la \ -+ ../../../lib/koproperty/libkoproperty.la - - - servicesdir=$(kde_servicesdir)/kformdesigner -diff --git a/kexi/kexidb/drivers/mySQL/Makefile.am b/kexi/kexidb/drivers/mySQL/Makefile.am -index 2892bed..1678d52 100644 ---- a/kexi/kexidb/drivers/mySQL/Makefile.am -+++ b/kexi/kexidb/drivers/mySQL/Makefile.am -@@ -16,13 +16,13 @@ kexidb_mysqldriver_la_SOURCES = \ - mysqlkeywords.cpp \ - mysqlpreparedstatement.cpp - --kexidb_mysqldriver_la_LIBADD = $(LIB_KPARTS) \ -+kexidb_mysqldriver_la_LIBADD = $(KOFFICE_LIBS) $(LIB_KPARTS) \ - $(LIB_QT) \ - $(MYSQL_LIBS) \ - -lmysqlclient \ - ../../libkexidb.la - --kexidb_mysqldriver_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(VER_INFO) -no-undefined -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../../lib/kofficecore/.libs/ -lkofficecore -L../../../../lib/kofficeui/.libs/ -lkofficeui -L../../../../lib/store/.libs/ -lkstore -+kexidb_mysqldriver_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(VER_INFO) -no-undefined -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts - - - kde_services_DATA = kexidb_mysqldriver.desktop -diff --git a/kexi/kexidb/drivers/pqxx/Makefile.am b/kexi/kexidb/drivers/pqxx/Makefile.am -index 03dccbc..38fef64 100644 ---- a/kexi/kexidb/drivers/pqxx/Makefile.am -+++ b/kexi/kexidb/drivers/pqxx/Makefile.am -@@ -9,11 +9,11 @@ kexidb_pqxxsqldriver_la_METASOURCES = AUTO - kexidb_pqxxsqldriver_la_SOURCES = pqxxdriver.cpp pqxxcursor.cpp pqxxconnection.cpp \ - pqxxkeywords.cpp pqxxconnection_p.cpp pqxxpreparedstatement.cpp - --kexidb_pqxxsqldriver_la_LIBADD = $(LIB_KPARTS) $(LIB_QT) -lpqxx ../../libkexidb.la -+kexidb_pqxxsqldriver_la_LIBADD = $(KOFFICE_LIBS) $(LIB_KPARTS) $(LIB_QT) -lpqxx ../../libkexidb.la - - kexidb_pqxxsqldriver_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) \ - -L$(PQXX_LIBDIR) -L$(PG_LIBDIR) $(VER_INFO) -no-undefined \ -- -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../../lib/kofficecore/.libs/ -lkofficecore -L../../../../lib/kofficeui/.libs/ -lkofficeui -L../../../../lib/store/.libs/ -lkstore -+ -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts - - kde_services_DATA = kexidb_pqxxsqldriver.desktop - -diff --git a/kexi/kexidb/drivers/sqlite/Makefile.am b/kexi/kexidb/drivers/sqlite/Makefile.am -index 9d124bc..2722ea1 100644 ---- a/kexi/kexidb/drivers/sqlite/Makefile.am -+++ b/kexi/kexidb/drivers/sqlite/Makefile.am -@@ -11,12 +11,13 @@ kexidb_sqlite3driver_la_SOURCES = sqliteconnection.cpp sqlitedriver.cpp sqlitecu - sqlitekeywords.cpp sqlitepreparedstatement.cpp sqlitevacuum.cpp sqliteadmin.cpp \ - sqlitealter.cpp - --kexidb_sqlite3driver_la_LIBADD = $(LIB_KPARTS) $(LIB_QT) \ -+kexidb_sqlite3driver_la_LIBADD = $(KOFFICE_LIBS) $(LIB_KPARTS) $(LIB_QT) \ - $(top_builddir)/kexi/3rdparty/kexisql3/src/libkexisql3.la \ - $(top_builddir)/kexi/kexidb/libkexidb.la \ -- $(top_builddir)/kexi/kexidb/parser/libkexidbparser.la -+ $(top_builddir)/kexi/kexidb/parser/libkexidbparser.la \ -+ ../../../../kexi/kexiutils/libkexiutils.la - --kexidb_sqlite3driver_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(VER_INFO) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../../lib/kofficecore/.libs/ -lkofficecore -L../../../../lib/kofficeui/.libs/ -lkofficeui -L../../../../lib/store/.libs/ -lkstore -L../../../../kexi/kexiutils/.libs/ -lkexiutils -+kexidb_sqlite3driver_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(VER_INFO) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts - - - kde_services_DATA = kexidb_sqlite3driver.desktop -diff --git a/kexi/kexidb/drivers/sqlite2/Makefile.am b/kexi/kexidb/drivers/sqlite2/Makefile.am -index bd07f28..7484a27 100644 ---- a/kexi/kexidb/drivers/sqlite2/Makefile.am -+++ b/kexi/kexidb/drivers/sqlite2/Makefile.am -@@ -15,12 +15,13 @@ kexidb_sqlite2driver_la_METASOURCES = AUTO - kexidb_sqlite2driver_la_SOURCES = sqliteconnection.cpp sqlitedriver.cpp sqlitecursor.cpp \ - sqlitepreparedstatement.cpp sqliteadmin.cpp sqlitealter.cpp - --kexidb_sqlite2driver_la_LIBADD = $(LIB_KPARTS) $(LIB_QT) \ -+kexidb_sqlite2driver_la_LIBADD = $(KOFFICE_LIBS) $(LIB_KPARTS) $(LIB_QT) \ - $(top_builddir)/kexi/3rdparty/kexisql/src/libkexisql2.la \ - $(top_builddir)/kexi/kexidb/libkexidb.la \ -- $(top_builddir)/kexi/kexidb/parser/libkexidbparser.la -+ $(top_builddir)/kexi/kexidb/parser/libkexidbparser.la \ -+ ../../../../kexi/kexiutils/libkexiutils.la - --kexidb_sqlite2driver_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(VER_INFO) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../../lib/kofficecore/.libs/ -lkofficecore -L../../../../lib/kofficeui/.libs/ -lkofficeui -L../../../../lib/store/.libs/ -lkstore -L../../../../kexi/kexiutils/.libs/ -lkexiutils -+kexidb_sqlite2driver_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(VER_INFO) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts - - - kde_services_DATA = kexidb_sqlite2driver.desktop -diff --git a/kexi/migration/mysql/Makefile.am b/kexi/migration/mysql/Makefile.am -index 9423931..63b9626 100644 ---- a/kexi/migration/mysql/Makefile.am -+++ b/kexi/migration/mysql/Makefile.am -@@ -8,9 +8,11 @@ keximigrate_mysql_la_METASOURCES = AUTO - - keximigrate_mysql_la_SOURCES = mysqlmigrate.cpp - --keximigrate_mysql_la_LIBADD = $(LIB_KPARTS) $(LIB_QT) ../libkeximigrate.la $(MYSQL_LIBS) -lmysqlclient -+keximigrate_mysql_la_LIBADD = $(KOFFICE_LIBS) $(LIB_KPARTS) $(LIB_QT) ../libkeximigrate.la $(MYSQL_LIBS) -lmysqlclient \ -+ ../../../kexi/kexidb/libkexidb.la \ -+ ../../../kexi/kexiutils/libkexiutils.la - --keximigrate_mysql_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(VER_INFO) -no-undefined -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -L../../../kexi/kexidb/.libs/ -lkexidb -L../../../kexi/kexiutils/.libs/ -lkexiutils -+keximigrate_mysql_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(VER_INFO) -no-undefined -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts - - kde_services_DATA = keximigrate_mysql.desktop - -diff --git a/kexi/migration/pqxx/Makefile.am b/kexi/migration/pqxx/Makefile.am -index 8405de9..bdf7630 100644 ---- a/kexi/migration/pqxx/Makefile.am -+++ b/kexi/migration/pqxx/Makefile.am -@@ -10,9 +10,11 @@ keximigrate_pqxx_la_SOURCES = pqxxmigrate.cpp - - #TODO share -libs with pqxx kexidb drv! - #keximigrate_pqxx_la_LIBADD = $(LIB_KPARTS) $(LIB_QT) -lcom_err -lkrb5 -lssl -lcrypto -lcrypt -lpqxx ../libkeximigrate.la --keximigrate_pqxx_la_LIBADD = $(LIB_KPARTS) $(LIB_QT) -lpqxx ../libkeximigrate.la -+keximigrate_pqxx_la_LIBADD = $(KOFFICE_LIBS) $(LIB_KPARTS) $(LIB_QT) -lpqxx ../libkeximigrate.la \ -+ ../../../kexi/kexidb/libkexidb.la \ -+ ../../../kexi/kexiutils/libkexiutils.la - --keximigrate_pqxx_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -L$(PQXX_LIBDIR) -L$(PG_LIBDIR) $(VER_INFO) -no-undefined -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -L../../../kexi/kexidb/.libs/ -lkexidb -L../../../kexi/kexiutils/.libs/ -lkexiutils -+keximigrate_pqxx_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -L$(PQXX_LIBDIR) -L$(PG_LIBDIR) $(VER_INFO) -no-undefined -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts - - kde_services_DATA = keximigrate_pqxx.desktop - -diff --git a/kexi/plugins/forms/Makefile.am b/kexi/plugins/forms/Makefile.am -index 2cc9688..7d6d077 100644 ---- a/kexi/plugins/forms/Makefile.am -+++ b/kexi/plugins/forms/Makefile.am -@@ -4,31 +4,45 @@ kde_module_LTLIBRARIES = kexihandler_form.la kformdesigner_kexidbwidgets.la - - kexihandler_form_la_SOURCES = kexiforms.cpp - --kexihandler_form_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) $(VER_INFO) -module -no-undefined -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -L../../../kexi/kexidb/.libs/ -lkexidb -L../../../kexi/kexiutils/.libs/ -lkexiutils -L../../../kexi/widget/.libs/ -lkexiextendedwidgets -L../../../kexi/widget/utils/.libs/ -lkexiguiutils --kexihandler_form_la_LIBADD = $(top_builddir)/kexi/core/libkexicore.la \ -+kexihandler_form_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) $(VER_INFO) -module -no-undefined -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -+kexihandler_form_la_LIBADD = $(KOFFICE_LIBS) $(top_builddir)/kexi/core/libkexicore.la \ - $(top_builddir)/kexi/widget/utils/libkexiguiutils.la \ - $(top_builddir)/kexi/widget/tableview/libkexidatatable.la \ - $(top_builddir)/kexi/widget/libkexiextendedwidgets.la \ - $(top_builddir)/kexi/formeditor/libkformdesigner.la \ - $(top_builddir)/lib/koproperty/libkoproperty.la \ -- ./libkexiformutils.la -+ ./libkexiformutils.la \ -+ ../../../kexi/kexidb/libkexidb.la \ -+ ../../../kexi/kexiutils/libkexiutils.la \ -+ ../../../kexi/widget/libkexiextendedwidgets.la \ -+ ../../../kexi/widget/utils/libkexiguiutils.la - --kformdesigner_kexidbwidgets_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) $(VER_INFO) -module -no-undefined -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -L../../../kexi/kexidb/.libs/ -lkexidb -L../../../kexi/kexiutils/.libs/ -lkexiutils -L../../../kexi/widget/.libs/ -lkexiextendedwidgets -L../../../kexi/widget/utils/.libs/ -lkexiguiutils -+ -+kformdesigner_kexidbwidgets_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) $(VER_INFO) -module -no-undefined -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts - kformdesigner_kexidbwidgets_la_SOURCES = kexidbfactory.cpp --kformdesigner_kexidbwidgets_la_LIBADD = $(top_builddir)/kexi/formeditor/libkformdesigner.la \ -+kformdesigner_kexidbwidgets_la_LIBADD = $(KOFFICE_LIBS) $(top_builddir)/kexi/formeditor/libkformdesigner.la \ - $(top_builddir)/kexi/widget/libkexiextendedwidgets.la \ -- ./libkexiformutils.la -+ ./libkexiformutils.la \ -+ ../../../kexi/kexidb/libkexidb.la \ -+ ../../../kexi/kexiutils/libkexiutils.la \ -+ ../../../kexi/widget/libkexiextendedwidgets.la \ -+ ../../../kexi/widget/utils/libkexiguiutils.la -+ - - lib_LTLIBRARIES = libkexiformutils.la - libkexiformutils_la_SOURCES = kexiformdataiteminterface.cpp kexidataawarewidgetinfo.cpp \ - kexidataprovider.cpp kexiformscrollview.cpp kexiformeventhandler.cpp \ - kexidbtextwidgetinterface.cpp kexiactionselectiondialog.cpp kexiformmanager.cpp \ - kexidatasourcepage.cpp kexiformpart.cpp kexiformview.cpp --libkexiformutils_la_LDFLAGS = $(all_libraries) $(VER_INFO) -no-undefined -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -L../../../kexi/kexidb/.libs/ -lkexidb -L../../../kexi/kexiutils/.libs/ -lkexiutils -L../../../kexi/widget/.libs/ -lkexiextendedwidgets -L../../../kexi/widget/utils/.libs/ -lkexiguiutils --libkexiformutils_la_LIBADD = $(top_builddir)/kexi/core/libkexicore.la \ -+libkexiformutils_la_LDFLAGS = $(all_libraries) $(VER_INFO) -no-undefined -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -+libkexiformutils_la_LIBADD = $(KOFFICE_LIBS) $(top_builddir)/kexi/core/libkexicore.la \ - $(top_builddir)/kexi/widget/libkexiextendedwidgets.la \ - $(top_builddir)/kexi/formeditor/libkformdesigner.la \ -- $(top_builddir)/kexi/plugins/forms/widgets/libkexiformutilswidgets.la -+ $(top_builddir)/kexi/plugins/forms/widgets/libkexiformutilswidgets.la \ -+ ../../../kexi/kexidb/libkexidb.la \ -+ ../../../kexi/kexiutils/libkexiutils.la \ -+ ../../../kexi/widget/libkexiextendedwidgets.la \ -+ ../../../kexi/widget/utils/libkexiguiutils.la - - kformdesignerservicesdir=$(kde_servicesdir)/kformdesigner - kformdesignerservices_DATA=kformdesigner_kexidbfactory.desktop -diff --git a/kexi/plugins/importexport/csv/Makefile.am b/kexi/plugins/importexport/csv/Makefile.am -index 5249d93..dba9018 100644 ---- a/kexi/plugins/importexport/csv/Makefile.am -+++ b/kexi/plugins/importexport/csv/Makefile.am -@@ -5,10 +5,13 @@ kde_module_LTLIBRARIES = kexihandler_csv_importexport.la - kexihandler_csv_importexport_la_SOURCES = kexicsv_importexportpart.cpp kexicsvimportdialog.cpp \ - kexicsvimportoptionsdlg.cpp kexicsvwidgets.cpp kexicsvexport.cpp kexicsvexportwizard.cpp - --kexihandler_csv_importexport_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) $(VER_INFO) -module -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../../lib/kofficecore/.libs/ -lkofficecore -L../../../../lib/kofficeui/.libs/ -lkofficeui -L../../../../lib/store/.libs/ -lkstore -L../../../../kexi/kexidb/.libs/ -lkexidb -L../../../../kexi/kexiutils/.libs/ -lkexiutils \ -- -L../../../../kexi/main/.libs/ -lkeximain -L../../../../kexi/widget/.libs/ -lkexiextendedwidgets --kexihandler_csv_importexport_la_LIBADD = ../../../core/libkexicore.la \ -- ../../../migration/libkeximigrate.la -+kexihandler_csv_importexport_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) $(VER_INFO) -module -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -+kexihandler_csv_importexport_la_LIBADD = $(KOFFICE_LIBS) ../../../core/libkexicore.la \ -+ ../../../migration/libkeximigrate.la \ -+ ../../../../kexi/kexidb/libkexidb.la \ -+ ../../../../kexi/kexiutils/libkexiutils.la \ -+ ../../../../kexi/main/libkeximain.la \ -+ ../../../../kexi/widget/libkexiextendedwidgets.la - - INCLUDES= -I$(top_srcdir)/kexi/core -I$(top_srcdir)/kexi \ - -I$(top_srcdir)/kexi/widget -I$(top_srcdir)/kexi/migration \ -diff --git a/kexi/plugins/migration/Makefile.am b/kexi/plugins/migration/Makefile.am -index 3c15d37..2d92873 100644 ---- a/kexi/plugins/migration/Makefile.am -+++ b/kexi/plugins/migration/Makefile.am -@@ -4,9 +4,11 @@ kde_module_LTLIBRARIES = kexihandler_migration.la - - kexihandler_migration_la_SOURCES = keximigrationpart.cpp - --kexihandler_migration_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) $(VER_INFO) -module -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -L../../../kexi/kexidb/.libs/ -lkexidb -L../../../kexi/kexiutils/.libs/ -lkexiutils --kexihandler_migration_la_LIBADD = ../../core/libkexicore.la \ -- ../../migration/libkeximigrate.la -+kexihandler_migration_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) $(VER_INFO) -module -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -+kexihandler_migration_la_LIBADD = $(KOFFICE_LIBS) ../../core/libkexicore.la \ -+ ../../migration/libkeximigrate.la \ -+ ../../../kexi/kexidb/libkexidb.la \ -+ ../../../kexi/kexiutils/libkexiutils.la - - INCLUDES= -I$(top_srcdir)/kexi/core -I$(top_srcdir)/kexi \ - -I$(top_srcdir)/kexi/widget -I$(top_srcdir)/kexi/migration \ -diff --git a/kexi/plugins/queries/Makefile.am b/kexi/plugins/queries/Makefile.am -index 1b1052d..5dbb14f 100644 ---- a/kexi/plugins/queries/Makefile.am -+++ b/kexi/plugins/queries/Makefile.am -@@ -5,13 +5,16 @@ kde_module_LTLIBRARIES = kexihandler_query.la - kexihandler_query_la_SOURCES = kexiquerypart.cpp kexiquerydesignersql.cpp \ - kexiquerydesignersqlhistory.cpp kexiquerydesignerguieditor.cpp \ - kexiqueryview.cpp --kexihandler_query_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) $(VER_INFO) -module -no-undefined -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -L../../../kexi/kexidb/.libs/ -lkexidb -L../../../kexi/kexiutils/.libs/ -lkexiutils -L../../../kexi/kexidb/parser/.libs/ -lkexidbparser --kexihandler_query_la_LIBADD = ../../core/libkexicore.la \ -+kexihandler_query_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) $(VER_INFO) -module -no-undefined -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -+kexihandler_query_la_LIBADD = $(KOFFICE_LIBS) ../../core/libkexicore.la \ - $(top_builddir)/kexi/kexidb/libkexidb.la \ - $(top_builddir)/kexi/widget/libkexiextendedwidgets.la \ - $(top_builddir)/kexi/widget/tableview/libkexidatatable.la \ - $(top_builddir)/kexi/widget/relations/libkexirelationsview.la \ -- $(top_builddir)/lib/koproperty/libkoproperty.la -+ $(top_builddir)/lib/koproperty/libkoproperty.la \ -+ ../../../kexi/kexidb/libkexidb.la \ -+ ../../../kexi/kexiutils/libkexiutils.la \ -+ ../../../kexi/kexidb/parser/libkexidbparser.la - - INCLUDES= -I$(top_srcdir)/kexi/core -I$(top_srcdir)/kexi \ - -I$(top_srcdir)/kexi/widget -I$(top_srcdir)/kexi/widget/tableview \ -diff --git a/kexi/plugins/relations/Makefile.am b/kexi/plugins/relations/Makefile.am -index 47a263a..779b47e 100644 ---- a/kexi/plugins/relations/Makefile.am -+++ b/kexi/plugins/relations/Makefile.am -@@ -8,9 +8,11 @@ kde_module_LTLIBRARIES = kexihandler_relation.la - kexihandler_relation_la_SOURCES = kexirelationpartimpl.cpp \ - kexirelationmaindlg.cpp - --kexihandler_relation_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) $(VER_INFO) -module -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -L../../../kexi/kexidb/.libs/ -lkexidb -L../../../kexi/kexiutils/.libs/ -lkexiutils --kexihandler_relation_la_LIBADD = ../../core/libkexicore.la \ -- ../../widget/relations/libkexirelationsview.la -+kexihandler_relation_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) $(VER_INFO) -module -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -+kexihandler_relation_la_LIBADD = $(KOFFICE_LIBS) ../../core/libkexicore.la \ -+ ../../widget/relations/libkexirelationsview.la \ -+ ../../../kexi/kexidb/libkexidb.la \ -+ ../../../kexi/kexiutils/libkexiutils.la - - INCLUDES= -I$(top_srcdir)/kexi/core -I$(top_srcdir)/kexi \ - -I$(top_srcdir)/kexi/widget -I$(top_srcdir)/kexi/widget/relations \ -diff --git a/kexi/plugins/scripting/kexiscripting/Makefile.am b/kexi/plugins/scripting/kexiscripting/Makefile.am -index e9d0889..6b857e7 100644 ---- a/kexi/plugins/scripting/kexiscripting/Makefile.am -+++ b/kexi/plugins/scripting/kexiscripting/Makefile.am -@@ -7,14 +7,16 @@ kexihandler_script_la_SOURCES = \ - - kexihandler_script_la_LDFLAGS = \ - $(KDE_PLUGIN) -module -no-undefined -Wnounresolved $(all_libraries) $(VER_INFO) \ -- -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../../lib/kofficecore/.libs/ -lkofficecore -L../../../../lib/kofficeui/.libs/ -lkofficeui -L../../../../lib/store/.libs/ -lkstore -L../../../../kexi/kexidb/.libs/ -lkexidb -L../../../../kexi/kexiutils/.libs/ -lkexiutils \ -- -L../../../../lib/kross/api/.libs/ -lkrossapi -+ -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts - --kexihandler_script_la_LIBADD = \ -+kexihandler_script_la_LIBADD = $(KOFFICE_LIBS) \ - $(top_builddir)/lib/kross/main/libkrossmain.la \ - $(top_builddir)/kexi/core/libkexicore.la \ - $(top_builddir)/kexi/widget/libkexiextendedwidgets.la \ -- $(top_builddir)/lib/koproperty/libkoproperty.la -+ $(top_builddir)/lib/koproperty/libkoproperty.la \ -+ ../../../../kexi/kexidb/libkexidb.la \ -+ ../../../../kexi/kexiutils/libkexiutils.la \ -+ ../../../../lib/kross/api/libkrossapi.la - - INCLUDES = \ - $(KOFFICE_INCLUDES) \ -diff --git a/kexi/plugins/tables/Makefile.am b/kexi/plugins/tables/Makefile.am -index 2ee5a4a..eb38839 100644 ---- a/kexi/plugins/tables/Makefile.am -+++ b/kexi/plugins/tables/Makefile.am -@@ -5,12 +5,14 @@ kde_module_LTLIBRARIES = kexihandler_table.la - kexihandler_table_la_SOURCES = kexitablepart.cpp kexitabledesignerview.cpp kexitabledesignerview_p.cpp \ - kexitabledesigner_dataview.cpp kexitabledesignercommands.cpp kexilookupcolumnpage.cpp - --kexihandler_table_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) $(VER_INFO) -module -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -L../../../kexi/kexidb/.libs/ -lkexidb -L../../../kexi/kexiutils/.libs/ -lkexiutils -lkmdi --kexihandler_table_la_LIBADD = $(top_builddir)/kexi/core/libkexicore.la \ -+kexihandler_table_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) $(VER_INFO) -module -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -lkmdi -+kexihandler_table_la_LIBADD = $(KOFFICE_LIBS) $(top_builddir)/kexi/core/libkexicore.la \ - $(top_builddir)/kexi/kexidb/libkexidb.la \ - $(top_builddir)/kexi/widget/tableview/libkexidatatable.la \ - $(top_builddir)/kexi/widget/libkexiextendedwidgets.la \ -- $(top_builddir)/lib/koproperty/libkoproperty.la -+ $(top_builddir)/lib/koproperty/libkoproperty.la \ -+ ../../../kexi/kexidb/libkexidb.la \ -+ ../../../kexi/kexiutils/libkexiutils.la - - INCLUDES= $(KOFFICE_INCLUDES) \ - -I$(top_srcdir)/kexi/core -I$(top_srcdir)/kexi \ -diff --git a/kexi/tests/newapi/Makefile.am b/kexi/tests/newapi/Makefile.am -index 940e7c1..85eeab3 100644 ---- a/kexi/tests/newapi/Makefile.am -+++ b/kexi/tests/newapi/Makefile.am -@@ -18,8 +18,9 @@ METASOURCES = AUTO - kexidbtest_SOURCES = main.cpp - kexidbtest_LDADD = $(LIB_QT) $(LIB_KDECORE) $(top_builddir)/kexi/kexidb/libkexidb.la \ - ../../kexidb/parser/libkexidbparser.la \ -- $(top_builddir)/kexi/widget/libkexiextendedwidgets.la --kexidbtest_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor -L../../widget/tableview/.libs/ -lkexidatatable -+ $(top_builddir)/kexi/widget/libkexiextendedwidgets.la \ -+ ../../widget/tableview/libkexidatatable.la -+kexidbtest_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor - - #kexidbmysqlcursor_SOURCES = mysqlcursor.cpp - #kexidbmysqlcursor_LDADD = $(LIB_QT) $(LIB_KDECORE) $(top_builddir)/kexi/kexidb/libkexidb.la \ -diff --git a/kformula/Makefile.am b/kformula/Makefile.am -index e5b882a..fa49a75 100644 ---- a/kformula/Makefile.am -+++ b/kformula/Makefile.am -@@ -6,8 +6,8 @@ kde_module_LTLIBRARIES = libkformulapart.la - libkformulapart_la_SOURCES = kformula_doc.cc \ - kformula_view.cc kformula_factory.cc kformulawidget.cc kfconfig.cc \ - kformula_view_iface.skel kformula_view_iface.cc formulastring.cc fsparser.cc --libkformulapart_la_LDFLAGS = $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio $(KDE_PLUGIN) -lDCOP -lkparts -L../lib/kofficecore/.libs/ -lkofficecore -L../lib/kofficeui/.libs/ -lkofficeui -L../lib/store/.libs/ -lkstore --libkformulapart_la_LIBADD = $(LIB_KOFFICEUI) $(LIB_KFORMULA) $(LIB_KOTEXT) -+libkformulapart_la_LDFLAGS = $(all_libraries) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio $(KDE_PLUGIN) -lDCOP -lkparts -+libkformulapart_la_LIBADD = $(KOFFICE_LIBS) $(LIB_KFORMULA) $(LIB_KOTEXT) - libkformulapart_la_METASOURCES = AUTO - - ## The kdeinit loadable module -diff --git a/kivio/plugins/kivioconnectortool/Makefile.am b/kivio/plugins/kivioconnectortool/Makefile.am -index 45af1cb..d5ca3fe 100644 ---- a/kivio/plugins/kivioconnectortool/Makefile.am -+++ b/kivio/plugins/kivioconnectortool/Makefile.am -@@ -25,8 +25,8 @@ EXTRA_DIST = \ - kivio_connector_cursor2.xpm\ - kivio_connector_cursor1.xpm - --libkivioconnectortool_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficeui/.libs/ -lkofficeui --libkivioconnectortool_la_LIBADD = $(LIB_KOPAINTER) $(top_builddir)/kivio/kiviopart/libkiviocommon.la -+libkivioconnectortool_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -+libkivioconnectortool_la_LIBADD = $(LIB_KOPAINTER) $(LIB_KOFFICEUI) $(top_builddir)/kivio/kiviopart/libkiviocommon.la - - rc_DATA = kivioconnectortool.rc - rcdir = $(kde_datadir)/kivio/kpartplugins -diff --git a/kivio/plugins/kivioselecttool/Makefile.am b/kivio/plugins/kivioselecttool/Makefile.am -index 56bddbc..3cbe78a 100644 ---- a/kivio/plugins/kivioselecttool/Makefile.am -+++ b/kivio/plugins/kivioselecttool/Makefile.am -@@ -19,8 +19,8 @@ EXTRA_DIST = \ - tool_select.cpp\ - tool_select.h\ - kivioselecttool.rc --libkivioselecttool_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui --libkivioselecttool_la_LIBADD = $(LIB_KOTEXT) $(LIB_KOPAINTER) $(top_builddir)/kivio/kiviopart/libkiviocommon.la -+libkivioselecttool_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -+libkivioselecttool_la_LIBADD = $(LIB_KOFFICECORE) $(LIB_KOFFICEUI) $(LIB_KOTEXT) $(LIB_KOPAINTER) $(top_builddir)/kivio/kiviopart/libkiviocommon.la - - rc_DATA = kivioselecttool.rc - rcdir = $(kde_datadir)/kivio/kpartplugins -diff --git a/kivio/plugins/kiviotargettool/Makefile.am b/kivio/plugins/kiviotargettool/Makefile.am -index c3335a1..888b11f 100644 ---- a/kivio/plugins/kiviotargettool/Makefile.am -+++ b/kivio/plugins/kiviotargettool/Makefile.am -@@ -8,8 +8,8 @@ INCLUDES = -I$(top_srcdir)/kivio/kiviopart/config \ - METASOURCES = AUTO - - kde_module_LTLIBRARIES = libkiviotargettool.la --libkiviotargettool_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui --libkiviotargettool_la_LIBADD = $(LIB_KOTEXT) $(LIB_KOPAINTER) $(top_builddir)/kivio/kiviopart/libkiviocommon.la -+libkiviotargettool_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -+libkiviotargettool_la_LIBADD = $(LIB_KOFFICECORE) $(LIB_KOFFICEUI) $(LIB_KOTEXT) $(LIB_KOPAINTER) $(top_builddir)/kivio/kiviopart/libkiviocommon.la - libkiviotargettool_la_SOURCES = kiviotargettool.cpp kiviotargettoolfactory.cpp - - noinst_HEADERS = kiviotargettool.h kiviotargettoolfactory.h -diff --git a/kivio/plugins/kiviotexttool/Makefile.am b/kivio/plugins/kiviotexttool/Makefile.am -index d250466..8b3183f 100644 ---- a/kivio/plugins/kiviotexttool/Makefile.am -+++ b/kivio/plugins/kiviotexttool/Makefile.am -@@ -22,8 +22,8 @@ EXTRA_DIST = \ - kivio_text_cursor.xpm\ - Text.sml\ - Text.xpm --libkiviotexttool_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficeui/.libs/ -lkofficeui --libkiviotexttool_la_LIBADD =$(LIB_KOTEXT) $(LIB_KOPAINTER) $(top_builddir)/kivio/kiviopart/libkiviocommon.la -+libkiviotexttool_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -+libkiviotexttool_la_LIBADD =$(LIB_KOTEXT) $(LIB_KOPAINTER) $(LIB_KOFFICEUI) $(top_builddir)/kivio/kiviopart/libkiviocommon.la - - rc_DATA = kiviotexttool.rc - rcdir = $(kde_datadir)/kivio/kpartplugins -diff --git a/kivio/plugins/kiviozoomtool/Makefile.am b/kivio/plugins/kiviozoomtool/Makefile.am -index bcb513c..5ff1c22 100644 ---- a/kivio/plugins/kiviozoomtool/Makefile.am -+++ b/kivio/plugins/kiviozoomtool/Makefile.am -@@ -18,8 +18,8 @@ EXTRA_DIST = \ - kiviozoomtool.rc\ - tool_zoom.cpp\ - tool_zoom.h --libkiviozoomtool_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui --libkiviozoomtool_la_LIBADD = $(LIB_KOTEXT) $(LIB_KOPAINTER) $(top_builddir)/kivio/kiviopart/libkiviocommon.la -+libkiviozoomtool_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -+libkiviozoomtool_la_LIBADD = $(LIB_KOFFICECORE) $(LIB_KOFFICEUI) $(LIB_KOTEXT) $(LIB_KOPAINTER) $(top_builddir)/kivio/kiviopart/libkiviocommon.la - - rc_DATA = kiviozoomtool.rc - rcdir = $(kde_datadir)/kivio/kpartplugins -diff --git a/kplato/Makefile.am b/kplato/Makefile.am -index 6ccd319..865920a 100644 ---- a/kplato/Makefile.am -+++ b/kplato/Makefile.am -@@ -102,8 +102,8 @@ noinst_HEADERS = \ - ## The part - lib_LTLIBRARIES = - kde_module_LTLIBRARIES = libkplatopart.la --libkplatopart_la_LDFLAGS = $(KDE_LDFLAGS) $(KDE_PLUGIN) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../lib/kofficecore/.libs/ -lkofficecore -L../lib/kofficeui/.libs/ -lkofficeui -L../lib/store/.libs/ -lkstore -lkdeprint --libkplatopart_la_LIBADD = $(LIB_KABC) $(LIB_KOFFICEUI) -lDCOP \ -+libkplatopart_la_LDFLAGS = $(KDE_LDFLAGS) $(KDE_PLUGIN) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -lkdeprint -+libkplatopart_la_LIBADD = $(LIB_KABC) $(KOFFICE_LIBS) -lDCOP \ - $(top_builddir)/kdgantt/libkdgantt.la - ## $(top_builddir)/kugar/lib/libkugarlib.la - -@@ -113,8 +113,8 @@ libkplatopart_la_METASOURCES = AUTO - kdeinit_LTLIBRARIES = kplato.la - bin_PROGRAMS = - kplato_la_SOURCES = main.cc --kplato_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../lib/kofficecore/.libs/ -lkofficecore -L../lib/kofficeui/.libs/ -lkofficeui -L../lib/store/.libs/ -lkstore -lkdeprint --kplato_la_LIBADD = $(LIB_KOFFICECORE) -+kplato_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -lkdeprint -+kplato_la_LIBADD = $(KOFFICE_LIBS) - - xdg_apps_DATA = kplato.desktop - -diff --git a/kpresenter/Makefile.am b/kpresenter/Makefile.am -index 401160c..69f5b18 100644 ---- a/kpresenter/Makefile.am -+++ b/kpresenter/Makefile.am -@@ -68,7 +68,7 @@ libkpresenterprivate_la_SOURCES = KoPointArray.cpp KPrCanvas.cpp \ - slidetransitionwidget.ui KPrSlideTransitionDia.cpp \ - KPrPrinterDlg.cpp - --libkpresenterprivate_la_LDFLAGS = $(all_libraries) -version-info 4:0 -no-undefined -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -+libkpresenterprivate_la_LDFLAGS = $(all_libraries) -version-info 4:0 -no-undefined -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts $(LIBKSPELL2) - if include_ARTS - ARTSKDE = -lartskde - endif -diff --git a/kspread/Makefile.am b/kspread/Makefile.am -index 63bc28a..d65764f 100644 ---- a/kspread/Makefile.am -+++ b/kspread/Makefile.am -@@ -28,7 +28,7 @@ libkspreadcommon_la_SOURCES = digest.cc commands.cc damages.cc dependencies.cc \ - kspread_genvalidationstyle.cc region.cc selection.cc manipulator.cc manipulator_data.cc \ - kspread_generalProperty.cpp kspread_propertyEditor.cpp - --libkspreadcommon_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -no-undefined -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -+libkspreadcommon_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -no-undefined -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -lkutils - libkspreadcommon_la_LIBADD = $(top_builddir)/interfaces/libkochart.la \ - dialogs/libdialogs.la tests/libtests.la \ - $(LIB_KOFFICEUI) $(LIB_KOTEXT) -lkspell -diff --git a/kspread/plugins/scripting/kspreadcore/Makefile.am b/kspread/plugins/scripting/kspreadcore/Makefile.am -index 6bfe86f..c9f1f55 100644 ---- a/kspread/plugins/scripting/kspreadcore/Makefile.am -+++ b/kspread/plugins/scripting/kspreadcore/Makefile.am -@@ -7,8 +7,9 @@ kde_module_LTLIBRARIES = krosskspreadcore.la - - krosskspreadcore_la_SOURCES = kspreadcoremodule.cpp krs_doc.cpp krs_sheet.cpp krs_cell.cpp - --krosskspreadcore_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../../lib/kofficecore/.libs/ -lkofficecore -L../../../../lib/kofficeui/.libs/ -lkofficeui -+krosskspreadcore_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts - krosskspreadcore_la_LIBADD = \ -+ $(LIB_KOFFICECORE) $(LIB_KOFFICEUI) \ - $(LIB_QT) \ - $(LIB_KDECORE) \ - $(top_builddir)/lib/kross/api/libkrossapi.la \ -diff --git a/kword/Makefile.am b/kword/Makefile.am -index 523c2d9..1b89a71 100644 ---- a/kword/Makefile.am -+++ b/kword/Makefile.am -@@ -9,8 +9,8 @@ lib_LTLIBRARIES = libkwmailmerge_interface.la libkwordprivate.la - - ## The part - libkwordpart_la_SOURCES = KWFactoryInit.cpp --libkwordpart_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../lib/kofficecore/.libs/ -lkofficecore -L../lib/kofficeui/.libs/ -lkofficeui -L../lib/store/.libs/ -lkstore --libkwordpart_la_LIBADD = libkwordprivate.la -+libkwordpart_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -+libkwordpart_la_LIBADD = $(KOFFICE_LIBS) libkwordprivate.la - - ## A lib with all the code - libkwordprivate_la_SOURCES = KWTableFrameSet.cpp KWCanvas.cpp KWFrame.cpp KWFormulaFrameSet.cpp \ -@@ -54,15 +54,15 @@ libkwordprivate_la_SOURCES = KWTableFrameSet.cpp KWCanvas.cpp KWFrame.cpp KWForm - KWLoadingInfo.cpp - - --libkwordprivate_la_LDFLAGS = $(all_libraries) -version-info 4:0 -no-undefined -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../lib/kofficecore/.libs/ -lkofficecore -L../lib/kofficeui/.libs/ -lkofficeui -L../lib/store/.libs/ -lkstore --libkwordprivate_la_LIBADD = $(LIB_KOFFICEUI) $(LIB_KOTEXT) ../lib/kformula/libkformulalib.la ./libkwmailmerge_interface.la -+libkwordprivate_la_LDFLAGS = $(all_libraries) -version-info 4:0 -no-undefined -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts $(LIBKSPELL2) -+libkwordprivate_la_LIBADD = $(KOFFICE_LIBS) $(LIB_KOTEXT) ../lib/kformula/libkformulalib.la ./libkwmailmerge_interface.la - - METASOURCES = AUTO - - ## The mailmerge interface library - libkwmailmerge_interface_la_SOURCES = KWMailMergeDataSource.cpp KWMailMergeDataSource.skel --libkwmailmerge_interface_la_LDFLAGS = $(all_libraries) -version-info 4:0 -no-undefined -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../lib/kofficecore/.libs/ -lkofficecore -L../lib/kofficeui/.libs/ -lkofficeui -L../lib/store/.libs/ -lkstore --libkwmailmerge_interface_la_LIBADD = $(LIB_QT) -lDCOP -+libkwmailmerge_interface_la_LDFLAGS = $(all_libraries) -version-info 4:0 -no-undefined -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -+libkwmailmerge_interface_la_LIBADD = $(KOFFICE_LIBS) $(LIB_QT) -lDCOP - kwincludedir = $(includedir)/kword - kwinclude_HEADERS = KWMailMergeDataSource.h - -@@ -73,8 +73,8 @@ kwmailmerge_servicetypedir=$(kde_servicetypesdir) - kdeinit_LTLIBRARIES = kword.la - bin_PROGRAMS = - kword_la_SOURCES = main.cpp --kword_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../lib/kofficecore/.libs/ -lkofficecore -L../lib/kofficeui/.libs/ -lkofficeui -L../lib/store/.libs/ -lkstore --kword_la_LIBADD = $(LIB_KOFFICECORE) -+kword_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -+kword_la_LIBADD = $(KOFFICE_LIBS) - - xdg_apps_DATA = kword.desktop - -diff --git a/kword/mailmerge/Makefile.am b/kword/mailmerge/Makefile.am -index 497897c..ccc86c5 100644 ---- a/kword/mailmerge/Makefile.am -+++ b/kword/mailmerge/Makefile.am -@@ -6,8 +6,8 @@ kde_module_LTLIBRARIES = kwmailmerge_classic.la - - ## Plugin encapsulating the (old) internally stored style - kwmailmerge_classic_la_SOURCES = KWClassicSerialDataSource.cpp --kwmailmerge_classic_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -lDCOP -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../lib/kofficecore/.libs/ -lkofficecore -L../../lib/kofficeui/.libs/ -lkofficeui -L../../lib/store/.libs/ -lkstore --kwmailmerge_classic_la_LIBADD = ../libkwmailmerge_interface.la $(LIB_KDEUI) $(LIB_KOTEXT) -+kwmailmerge_classic_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -lDCOP -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -+kwmailmerge_classic_la_LIBADD = $(KOFFICE_LIBS) ../libkwmailmerge_interface.la $(LIB_KDEUI) $(LIB_KOTEXT) - - METASOURCES = AUTO - -diff --git a/kword/mailmerge/kabc/Makefile.am b/kword/mailmerge/kabc/Makefile.am -index de7f026..d5a8535 100644 ---- a/kword/mailmerge/kabc/Makefile.am -+++ b/kword/mailmerge/kabc/Makefile.am -@@ -7,8 +7,8 @@ kde_module_LTLIBRARIES = kwmailmerge_kabc.la - - ## Plugin encapsulating the QT SQL database interface - kwmailmerge_kabc_la_SOURCES = KWMailMergeKABC.cpp KWMailMergeKABCConfig.cpp addresspicker.ui --kwmailmerge_kabc_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -lDCOP -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore --kwmailmerge_kabc_la_LIBADD = ../../libkwmailmerge_interface.la $(LIB_KDEUI) $(LIB_KABC) -+kwmailmerge_kabc_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -lDCOP -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -+kwmailmerge_kabc_la_LIBADD = $(KOFFICE_LIBS) ../../libkwmailmerge_interface.la $(LIB_KDEUI) $(LIB_KABC) - - METASOURCES = AUTO - -diff --git a/kword/mailmerge/kspread/Makefile.am b/kword/mailmerge/kspread/Makefile.am -index dfb5e2d..04bb0b1 100644 ---- a/kword/mailmerge/kspread/Makefile.am -+++ b/kword/mailmerge/kspread/Makefile.am -@@ -6,8 +6,8 @@ INCLUDES = $(KOFFICE_INCLUDES) $(KOTEXT_INCLUDES) \ - kde_module_LTLIBRARIES = kwmailmerge_kspread.la - - kwmailmerge_kspread_la_SOURCES = kwmailmerge_kspread.cpp kwmailmerge_kspread_config.cpp --kwmailmerge_kspread_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -lDCOP -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore --kwmailmerge_kspread_la_LIBADD = ../../libkwmailmerge_interface.la \ -+kwmailmerge_kspread_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -lDCOP -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -+kwmailmerge_kspread_la_LIBADD = $(KOFFICE_LIBS) ../../libkwmailmerge_interface.la \ - $(top_builddir)/kspread/libkspreadcommon.la $(LIB_KDEUI) - - METASOURCES = AUTO -diff --git a/kword/mailmerge/sql/Makefile.am b/kword/mailmerge/sql/Makefile.am -index 4dd4816..082ddc3 100644 ---- a/kword/mailmerge/sql/Makefile.am -+++ b/kword/mailmerge/sql/Makefile.am -@@ -6,14 +6,14 @@ kde_module_LTLIBRARIES = kwmailmerge_qtsqldb.la kwmailmerge_qtsqldb_power.la - ## Plugin encapsulating the QT SQL database interface - kwmailmerge_qtsqldb_la_SOURCES = KWQtSqlSerialDataSource.cpp qtsqldatasourceeditor.ui \ - KWQtSqlEasyFilter.cpp --kwmailmerge_qtsqldb_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -lDCOP -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore --kwmailmerge_qtsqldb_la_LIBADD = libmailmergesqlcommon.la ../../libkwmailmerge_interface.la $(LIB_KDEUI) -+kwmailmerge_qtsqldb_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -lDCOP -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -+kwmailmerge_qtsqldb_la_LIBADD = $(KOFFICE_LIBS) libmailmergesqlcommon.la ../../libkwmailmerge_interface.la $(LIB_KDEUI) - kwmailmerge_qtsqldb_la_COMPILE_FIRST = qtsqlopenwidget.h - - ## 2. Plugin encapsulating the QT SQL database interface - kwmailmerge_qtsqldb_power_la_SOURCES = KWQtSqlPowerSerialDataSource.cpp kwqtsqlpower.ui KWQtSqlPowerSerialDataSource.skel --kwmailmerge_qtsqldb_power_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -lDCOP -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore --kwmailmerge_qtsqldb_power_la_LIBADD = libmailmergesqlcommon.la ../../libkwmailmerge_interface.la $(LIB_KDEUI) -+kwmailmerge_qtsqldb_power_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -lDCOP -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -+kwmailmerge_qtsqldb_power_la_LIBADD = $(KOFFICE_LIBS) libmailmergesqlcommon.la ../../libkwmailmerge_interface.la $(LIB_KDEUI) - kwmailmerge_qtsqldb_power_la_COMPILE_FIRST = qtsqlopenwidget.h - - # Common files -diff --git a/tools/kfile-plugins/abiword/Makefile.am b/tools/kfile-plugins/abiword/Makefile.am -index efeee86..81e8a65 100644 ---- a/tools/kfile-plugins/abiword/Makefile.am -+++ b/tools/kfile-plugins/abiword/Makefile.am -@@ -9,8 +9,8 @@ noinst_HEADERS = kfile_abiword.h - kde_module_LTLIBRARIES = kfile_abiword.la - - kfile_abiword_la_SOURCES = kfile_abiword.cpp --kfile_abiword_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore --kfile_abiword_la_LIBADD = $(LIB_KOFFICECORE) -+kfile_abiword_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -+kfile_abiword_la_LIBADD = $(KOFFICE_LIBS) - - # let automoc handle all of the meta source files (moc) - METASOURCES = AUTO -diff --git a/tools/kfile-plugins/gnumeric/Makefile.am b/tools/kfile-plugins/gnumeric/Makefile.am -index 94c90e9..c5d9704 100644 ---- a/tools/kfile-plugins/gnumeric/Makefile.am -+++ b/tools/kfile-plugins/gnumeric/Makefile.am -@@ -9,8 +9,8 @@ noinst_HEADERS = kfile_gnumeric.h - kde_module_LTLIBRARIES = kfile_gnumeric.la - - kfile_gnumeric_la_SOURCES = kfile_gnumeric.cpp --kfile_gnumeric_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore --kfile_gnumeric_la_LIBADD = $(LIB_KOFFICECORE) -+kfile_gnumeric_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -+kfile_gnumeric_la_LIBADD = $(KOFFICE_LIBS) - - # let automoc handle all of the meta source files (moc) - METASOURCES = AUTO -diff --git a/tools/kfile-plugins/koffice/Makefile.am b/tools/kfile-plugins/koffice/Makefile.am -index a4770ce..6d81afa 100644 ---- a/tools/kfile-plugins/koffice/Makefile.am -+++ b/tools/kfile-plugins/koffice/Makefile.am -@@ -9,8 +9,8 @@ noinst_HEADERS = kfile_koffice.h - kde_module_LTLIBRARIES = kfile_koffice.la - - kfile_koffice_la_SOURCES = kfile_koffice.cpp --kfile_koffice_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore --kfile_koffice_la_LIBADD = $(LIB_KOFFICECORE) -+kfile_koffice_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -+kfile_koffice_la_LIBADD = $(KOFFICE_LIBS) - - # let automoc handle all of the meta source files (moc) - METASOURCES = AUTO -diff --git a/tools/kfile-plugins/ooo/Makefile.am b/tools/kfile-plugins/ooo/Makefile.am -index 8c785ef..1e47978 100644 ---- a/tools/kfile-plugins/ooo/Makefile.am -+++ b/tools/kfile-plugins/ooo/Makefile.am -@@ -9,8 +9,8 @@ noinst_HEADERS = kfile_ooo.h - kde_module_LTLIBRARIES = kfile_ooo.la - - kfile_ooo_la_SOURCES = kfile_ooo.cpp --kfile_ooo_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../lib/kofficecore/.libs/ -lkofficecore -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore --kfile_ooo_la_LIBADD = $(LIB_KOFFICECORE) -+kfile_ooo_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -+kfile_ooo_la_LIBADD = $(KOFFICE_LIBS) - - # let automoc handle all of the meta source files (moc) - METASOURCES = AUTO -diff --git a/tools/thumbnail/Makefile.am b/tools/thumbnail/Makefile.am -index f63fd83..cf41afd 100644 ---- a/tools/thumbnail/Makefile.am -+++ b/tools/thumbnail/Makefile.am -@@ -4,12 +4,12 @@ METASOURCES = AUTO - kde_module_LTLIBRARIES = clipartthumbnail.la kofficethumbnail.la - - clipartthumbnail_la_SOURCES = clipartcreator.cpp --clipartthumbnail_la_LIBADD = $(LIB_KOFFICECORE) # for KoClipartCollection --clipartthumbnail_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../lib/kofficecore/.libs/ -lkofficecore -L../../lib/kofficeui/.libs/ -lkofficeui -L../../lib/store/.libs/ -lkstore -+clipartthumbnail_la_LIBADD = $(KOFFICE_LIBS) # for KoClipartCollection -+clipartthumbnail_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts - - kofficethumbnail_la_SOURCES = kofficecreator.cpp --kofficethumbnail_la_LIBADD = $(LIB_KOFFICECORE) --kofficethumbnail_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../lib/kofficecore/.libs/ -lkofficecore -L../../lib/kofficeui/.libs/ -lkofficeui -L../../lib/store/.libs/ -lkstore -+kofficethumbnail_la_LIBADD = $(KOFFICE_LIBS) -+kofficethumbnail_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts - - # otherofficethumbnail.desktop is currently not installed, as it gives too many problems - kde_services_DATA = clipartthumbnail.desktop kofficethumbnail.desktop diff --git a/redhat/applications/koffice/koffice-3.5.13-fix_gcc47_compilation.patch b/redhat/applications/koffice/koffice-3.5.13-fix_gcc47_compilation.patch deleted file mode 100644 index 909107727..000000000 --- a/redhat/applications/koffice/koffice-3.5.13-fix_gcc47_compilation.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- koffice/chalk/plugins/viewplugins/scripting/chalkcore/krs_iterator.h.ORI 2012-04-26 20:22:29.322777779 +0200 -+++ koffice/chalk/plugins/viewplugins/scripting/chalkcore/krs_iterator.h 2012-04-26 20:23:21.216311169 +0200 -@@ -137,12 +137,12 @@ - } - initiales = initiales.upper(); - // set/get general -- addFunction("set" + initiales, &Iterator::setPixel); -- addFunction("get" + initiales, &Iterator::getPixel); -+ this->addFunction("set" + initiales, &Iterator::setPixel); -+ this->addFunction("get" + initiales, &Iterator::getPixel); - kdDebug(41011) << ( "get" + initiales ) << endl; - // Various colorSpace -- addFunction("invertColor", &Iterator::invertColor); -- addFunction("darken", &Iterator::darken); -+ this->addFunction("invertColor", &Iterator::invertColor); -+ this->addFunction("darken", &Iterator::darken); - } - - ~Iterator() diff --git a/redhat/applications/koffice/koffice-3.5.13-fix_lcms_detection.patch b/redhat/applications/koffice/koffice-3.5.13-fix_lcms_detection.patch deleted file mode 100644 index bf714ab8a..000000000 --- a/redhat/applications/koffice/koffice-3.5.13-fix_lcms_detection.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- koffice/chalk/configure.in.in.ORI 2012-08-05 22:30:11.362533703 +0200 -+++ koffice/chalk/configure.in.in 2012-08-05 22:30:31.456987824 +0200 -@@ -48,7 +48,7 @@ - fi - - --ac_link='$LIBTOOL_SHELL --mode=link ${CXX-g++} -o conftest $CXXFLAGS $all_includes $CPPFLAGS $LDFLAGS $all_libraries -ltqt conftest.$ac_ext -llcms 1>&5' -+ac_link='$LIBTOOL_SHELL --mode=link --tag=LD ${CXX-g++} -o conftest $CXXFLAGS $all_includes $CPPFLAGS $LDFLAGS $all_libraries -ltqt conftest.$ac_ext -llcms 1>&5' - - if AC_TRY_EVAL(ac_link) && test -s conftest; then - AC_MSG_RESULT(yes) diff --git a/redhat/applications/koffice/koffice-3.5.13-fix_libpng.patch b/redhat/applications/koffice/koffice-3.5.13-fix_libpng.patch deleted file mode 100644 index 004bb0225..000000000 --- a/redhat/applications/koffice/koffice-3.5.13-fix_libpng.patch +++ /dev/null @@ -1,48 +0,0 @@ ---- koffice/filters/chalk/png/kis_png_converter.cc 2011-06-27 13:54:18.000000000 -0500 -+++ koffice/filters/chalk/png/kis_png_converter.cc.new 2011-11-07 15:38:47.918508855 -0600 -@@ -785,7 +785,7 @@ - - void KisPNGConverter::progress(png_structp png_ptr, png_uint_32 row_number, int pass) - { -- if(png_ptr == NULL || row_number > PNG_MAX_UINT || pass > 7) return; -+ if(png_ptr == NULL || row_number > PNG_UINT_31_MAX || pass > 7) return; - // setProgress(row_number); - } - ---- koffice/filters/chalk/png/kis_png_converter.cc.gcc47 2012-04-26 16:38:35.805156927 -0400 -+++ koffice/filters/chalk/png/kis_png_converter.cc 2012-04-26 16:49:27.179323394 -0400 -@@ -43,6 +43,8 @@ - #include - #include - -+#include -+ - namespace { - - const TQ_UINT8 PIXEL_BLUE = 0; -@@ -222,6 +224,7 @@ - - // Read image profile - png_charp profile_name, profile_data; -+ unsigned char* uprofile_data = reinterpret_cast(profile_data); - int compression_type; - png_uint_32 proflen; - int number_of_passes = 1; -@@ -230,7 +233,7 @@ - number_of_passes = png_set_interlace_handling(png_ptr); - - KisProfile* profile = 0; -- if(png_get_iCCP(png_ptr, info_ptr, &profile_name, &compression_type, &profile_data, &proflen)) -+ if(png_get_iCCP(png_ptr, info_ptr, &profile_name, &compression_type, &uprofile_data, &proflen)) - { - TQByteArray profile_rawdata; - // XXX: Hardcoded for icc type -- is that correct for us? -@@ -627,7 +630,7 @@ - } else { // Profile - char* name = new char[(*it)->type().length()+1]; - strcpy(name, (*it)->type().ascii()); -- png_set_iCCP(png_ptr, info_ptr, name, PNG_COMPRESSION_TYPE_BASE, (char*)(*it)->annotation().data(), (*it) -> annotation() . size()); -+ png_set_iCCP(png_ptr, info_ptr, name, PNG_COMPRESSION_TYPE_BASE, (unsigned char*)(*it)->annotation().data(), (*it) -> annotation() . size()); - } - ++it; - } diff --git a/redhat/applications/koffice/koffice-3.5.13-fix_ruby_1.9.patch b/redhat/applications/koffice/koffice-3.5.13-fix_ruby_1.9.patch deleted file mode 100644 index 9802009fa..000000000 --- a/redhat/applications/koffice/koffice-3.5.13-fix_ruby_1.9.patch +++ /dev/null @@ -1,118 +0,0 @@ -diff -urN koffice/configure.in koffice.new/configure.in ---- koffice/configure.in 2011-08-21 18:30:53.000000000 -0500 -+++ koffice.new/configure.in 2011-12-08 17:56:31.000000000 -0600 -@@ -1539,14 +1539,22 @@ - # Check for Ruby - - if test "x$compile_kross" = "xyes" ; then -- AC_CHECK_PROGS([RUBY], [ruby ruby1.8 ruby18], ruby) -+ AC_CHECK_PROGS([RUBY], [ruby ruby1.8 ruby18 ruby1.9 ruby19], ruby) - - if test -n "$RUBY"; then - AC_MSG_CHECKING(for Ruby dirs) - RUBY_ARCHDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"archdir"@:>@)'` - RUBY_SITEARCHDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"sitearchdir"@:>@)'` - RUBY_SITEDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"sitelibdir"@:>@)'` -- RUBY_INCLUDEDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"rubyincludedir"@:>@)'` -+ if test -n "$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"rubyhdrdir"@:>@)'"; then -+ # Ruby 1.9 -+ RUBY_INCLUDEDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"rubyhdrdir"@:>@)'` -+ RUBY_VERSION_H=ruby/version.h -+ else -+ # not Ruby 1.9 -+ RUBY_INCLUDEDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"rubyincludedir"@:>@)'` -+ RUBY_VERSION_H=version.h -+ fi - RUBY_LIBDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"libdir"@:>@)'` - RUBY_LIBRUBYARG=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"LIBRUBYARG_SHARED"@:>@)'` - RUBY_ENABLESHARED=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"ENABLE_SHARED"@:>@)'` -@@ -1599,7 +1607,7 @@ - [ - AC_TRY_COMPILE([ - #include -- #include -+ #include <$RUBY_VERSION_H> - ],[ - - #if(RUBY_VERSION_MAJOR==1 && RUBY_VERSION_MINOR == 8 && RUBY_VERSION_TEENY <= 1) -diff -urN koffice/lib/kross/configure.in.in koffice.new/lib/kross/configure.in.in ---- koffice/lib/kross/configure.in.in 2010-08-11 22:16:27.000000000 -0500 -+++ koffice.new/lib/kross/configure.in.in 2011-12-08 17:56:28.000000000 -0600 -@@ -21,14 +21,22 @@ - # Check for Ruby - - if test "x$compile_kross" = "xyes" ; then -- AC_CHECK_PROGS([RUBY], [ruby ruby1.8 ruby18], ruby) -+ AC_CHECK_PROGS([RUBY], [ruby ruby1.8 ruby18 ruby1.9 ruby19], ruby) - - if test -n "$RUBY"; then - AC_MSG_CHECKING(for Ruby dirs) - RUBY_ARCHDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"archdir"@:>@)'` - RUBY_SITEARCHDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"sitearchdir"@:>@)'` - RUBY_SITEDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"sitelibdir"@:>@)'` -- RUBY_INCLUDEDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"rubyincludedir"@:>@)'` -+ if test -n "$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"rubyhdrdir"@:>@)'"; then -+ # Ruby 1.9 -+ RUBY_INCLUDEDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"rubyhdrdir"@:>@)'` -+ RUBY_VERSION_H=ruby/version.h -+ else -+ # not Ruby 1.9 -+ RUBY_INCLUDEDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"rubyincludedir"@:>@)'` -+ RUBY_VERSION_H=version.h -+ fi - RUBY_LIBDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"libdir"@:>@)'` - RUBY_LIBRUBYARG=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"LIBRUBYARG_SHARED"@:>@)'` - RUBY_ENABLESHARED=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"ENABLE_SHARED"@:>@)'` -@@ -81,7 +89,7 @@ - [ - AC_TRY_COMPILE([ - #include -- #include -+ #include <$RUBY_VERSION_H> - ],[ - - #if(RUBY_VERSION_MAJOR==1 && RUBY_VERSION_MINOR == 8 && RUBY_VERSION_TEENY <= 1) -diff -urN koffice/lib/kross/ruby/rubyextension.cpp koffice.new/lib/kross/ruby/rubyextension.cpp ---- koffice/lib/kross/ruby/rubyextension.cpp 2011-08-17 20:25:04.000000000 -0500 -+++ koffice.new/lib/kross/ruby/rubyextension.cpp 2011-12-08 21:18:42.000000000 -0600 -@@ -18,7 +18,7 @@ - ***************************************************************************/ - #include "rubyextension.h" - --#include -+#include - - #include - #include -@@ -211,7 +211,7 @@ - case T_ARRAY: - { - TQValueList l; -- for(int i = 0; i < RARRAY(value)->len; i++) -+ for(int i = 0; i < RARRAY_LEN(value); i++) - { - Kross::Api::Object::Ptr o = toObject( rb_ary_entry( value , i ) ); - if(o) l.append(o); -diff -urN koffice/lib/kross/ruby/rubyscript.cpp koffice.new/lib/kross/ruby/rubyscript.cpp ---- koffice/lib/kross/ruby/rubyscript.cpp 2011-06-25 13:42:29.000000000 -0500 -+++ koffice.new/lib/kross/ruby/rubyscript.cpp 2011-12-08 21:45:36.000000000 -0600 -@@ -21,8 +21,8 @@ - - #include - #include --#include --#include -+#include -+#include - - #include
- -@@ -70,6 +70,8 @@ - krossdebug("RubyScript::compile()"); - #endif - int critical; -+ int ruby_nerrs; -+ int ruby_in_eval; - - ruby_nerrs = 0; - ruby_errinfo = Qnil; diff --git a/redhat/applications/koffice/koffice-3.5.13-kross_utilities_syntax.patch b/redhat/applications/koffice/koffice-3.5.13-kross_utilities_syntax.patch deleted file mode 100644 index db24095b3..000000000 --- a/redhat/applications/koffice/koffice-3.5.13-kross_utilities_syntax.patch +++ /dev/null @@ -1,34 +0,0 @@ ---- koffice/lib/kross/python/scripts/RestrictedPython/Utilities.py.ORI 2011-11-25 00:13:38.356036607 +0100 -+++ koffice/lib/kross/python/scripts/RestrictedPython/Utilities.py 2011-11-25 00:14:16.794035577 +0100 -@@ -46,11 +46,11 @@ - if l%2: return args[-1] - utility_builtins['test'] = test - --def reorder(s, with=None, without=()): -- # s, with, and without are sequences treated as sets. -- # The result is subtract(intersect(s, with), without), -- # unless with is None, in which case it is subtract(s, without). -- if with is None: with=s -+def reorder(s, swith=None, swithout=()): -+ # s, swith, and swithout are sequences treated as sets. -+ # The result is subtract(intersect(s, swith), swithout), -+ # unless swith is None, in which case it is subtract(s, swithout). -+ if swith is None: swith=s - d={} - tt=type(()) - for i in s: -@@ -61,12 +61,12 @@ - a=r.append - h=d.has_key - -- for i in without: -+ for i in swithout: - if type(i) is tt and len(i)==2: k, v = i - else: k= v = i - if h(k): del d[k] - -- for i in with: -+ for i in swith: - if type(i) is tt and len(i)==2: k, v = i - else: k= v = i - if h(k): diff --git a/redhat/applications/koffice/koffice-3.5.13-missing_ldflags.patch b/redhat/applications/koffice/koffice-3.5.13-missing_ldflags.patch deleted file mode 100644 index e6c683dc9..000000000 --- a/redhat/applications/koffice/koffice-3.5.13-missing_ldflags.patch +++ /dev/null @@ -1,61 +0,0 @@ ---- koffice/lib/store/Makefile.am.ORI 2012-08-05 21:05:16.181010835 +0200 -+++ koffice/lib/store/Makefile.am 2012-08-05 21:05:25.027837330 +0200 -@@ -7,7 +7,7 @@ - - ####### Files - --libkstore_la_LIBADD = $(LIB_KIO) -+libkstore_la_LIBADD = $(LIB_KIO) $(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI) - libkstore_la_SOURCES = KoStore.cpp KoTarStore.cpp KoDirectoryStore.cpp KoZipStore.cpp KoStoreDrag.cpp KoStoreBase.cpp KoXmlWriter.cpp - libkstore_la_LDFLAGS = $(all_libraries) -version-info 3:0:0 $(KDE_LDFLAGS) -no-undefined - include_HEADERS = KoStore.h KoStoreDevice.h KoXmlWriter.h ---- koffice/lib/kwmf/Makefile.am.ORI 2012-08-05 21:09:16.183303850 +0200 -+++ koffice/lib/kwmf/Makefile.am 2012-08-05 21:09:35.742920240 +0200 -@@ -3,7 +3,7 @@ - INCLUDES= $(KOFFICECORE_INCLUDES) -I$(srcdir) $(all_includes) - libkwmf_la_LDFLAGS = $(all_libraries) -version-info 3:0:0 -no-undefined - # We use kdecore for kdDebug :) --libkwmf_la_LIBADD = $(LIB_KDECORE) -+libkwmf_la_LIBADD = $(LIB_KDECORE) $(LIB_QT) - - ####### Files - -@@ -16,4 +16,4 @@ - - libkowmf_la_SOURCES = kowmfreadprivate.cc kowmfstack.cc kowmfread.cc kowmfwrite.cc kowmfpaint.cc - libkowmf_la_LDFLAGS = $(all_libraries) -version-info 2:0:0 -no-undefined --libkowmf_la_LIBADD = $(LIB_KDECORE) -+libkowmf_la_LIBADD = $(LIB_KDECORE) $(LIB_QT) ---- koffice/lib/kofficecore/Makefile.am.ORI 2012-08-05 21:12:34.924406087 +0200 -+++ koffice/lib/kofficecore/Makefile.am 2012-08-05 21:12:47.700155525 +0200 -@@ -4,7 +4,7 @@ - KDE_CXXFLAGS = $(USE_RTTI) $(WOVERLOADED_VIRTUAL) - INCLUDES= $(KSTORE_INCLUDES) $(KWMF_INCLUDES) $(all_includes) - libkofficecore_la_LIBADD = $(LIB_KSTORE) $(LIB_KOWMF) $(LIB_KPARTS) \ -- $(LIB_KDEPRINT) $(LIB_KABC) $(LIB_KWMF) -+ $(LIB_KDEPRINT) $(LIB_KABC) $(LIB_KWMF) -lDCOP - - ####### Files - ---- koffice/lib/koproperty/Makefile.am.ORI 2012-08-05 21:16:10.320181691 +0200 -+++ koffice/lib/koproperty/Makefile.am 2012-08-05 21:16:17.135048036 +0200 -@@ -2,7 +2,7 @@ - - lib_LTLIBRARIES = libkoproperty.la - --libkoproperty_la_LIBADD = $(LIB_KDEUI) ./editors/libkopropertyeditors.la -+libkoproperty_la_LIBADD = $(LIB_KDEUI) ./editors/libkopropertyeditors.la $(LIB_QT) $(LIB_KDECORE) - libkoproperty_la_LDFLAGS = -no-undefined $(all_libraries) -version-info 2:0:0 - libkoproperty_la_SOURCES = property.cpp customproperty.cpp set.cpp editor.cpp \ - editoritem.cpp factory.cpp widget.cpp ---- koffice/kpresenter/Makefile.am.ORI 2012-08-05 21:41:53.120199863 +0200 -+++ koffice/kpresenter/Makefile.am 2012-08-05 21:42:03.358832558 +0200 -@@ -72,7 +72,7 @@ - if include_ARTS - ARTSKDE = -lartskde - endif --libkpresenterprivate_la_LIBADD = autoformEdit/libaf.la $(LIB_KOFFICEUI) $(LIB_KOTEXT) $(LIB_KOPAINTER) $(ARTSKDE) -+libkpresenterprivate_la_LIBADD = autoformEdit/libaf.la $(LIB_KOFFICEUI) $(LIB_KOTEXT) $(LIB_KOPAINTER) $(ARTSKDE) -lsoundserver_idl -lmcop - - ## The part - kde_module_LTLIBRARIES = libkpresenterpart.la diff --git a/redhat/applications/koffice/koffice-3.5.13.1.spec b/redhat/applications/koffice/koffice-3.5.13.1.spec deleted file mode 100644 index b2b002f1c..000000000 --- a/redhat/applications/koffice/koffice-3.5.13.1.spec +++ /dev/null @@ -1,1081 +0,0 @@ -# Default version for this component -%define kdecomp koffice - -# Required for Mageia 2: removes the ldflag '--no-undefined' -%define _disable_ld_no_undefined 1 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -# Disable Kross support for RHEL <= 5 (python is too old) -%if 0%{?fedora} > 0 || 0%{?rhel} >= 6 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define with_kross 1 -%endif - -%if 0%{?fedora} >= 17 -%define with_ruby 0 -%else -%define with_ruby 1 -%endif - -# Ruby 1.9 includes are located in strance directories ... (taken from ruby 1.9 spec file) -%global _normalized_cpu %(echo %{_target_cpu} | sed 's/^ppc/powerpc/;s/i.86/i386/;s/sparcv./sparc/;s/armv.*/arm/') - - -Name: trinity-%{kdecomp} -Summary: An integrated office suite -Version: 1.6.3 -Release: 6%{?dist}%{?_variant} - -Group: Applications/Productivity -License: GPLv2+ - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -# [koffice] Fix compilation with Ruby 1.9 [Bug #735] -Patch13: koffice-3.5.13-fix_ruby_1.9.patch - -# BuildRequires: world-devel ;) -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdegraphics-devel >= 3.5.13.1 -BuildRequires: trinity-tdegraphics-libpoppler-tqt-devel >= 3.5.13.1 -BuildRequires: automake libtool -BuildRequires: freetype-devel -BuildRequires: fontconfig-devel -BuildRequires: libart_lgpl-devel -%if ( 0%{?mdkversion} || 0%{?mgaversion} ) && 0%{?pclinuxos} == 0 -BuildRequires: %{_lib}png15-devel -%else -BuildRequires: libpng-devel -%endif -BuildRequires: libtiff-devel -BuildRequires: libjpeg-devel -BuildRequires: ImageMagick-devel -BuildRequires: zlib-devel -BuildRequires: openssl-devel -BuildRequires: python-devel -BuildRequires: pcre-devel -BuildRequires: gettext-devel -BuildRequires: mysql-devel -BuildRequires: desktop-file-utils -BuildRequires: perl -BuildRequires: doxygen -BuildRequires: aspell-devel -BuildRequires: libxslt-devel -BuildRequires: OpenEXR-devel -BuildRequires: libexif-devel -BuildRequires: readline-devel -%if 0%{?with_ruby} -BuildRequires: ruby ruby-devel >= 1.8.2 -%endif -%if 0%{?suse_version} -BuildRequires: GraphicsMagick >= 1.1.0 -%endif -BuildRequires: GraphicsMagick-devel >= 1.1.0 - -%if 0%{?suse_version} -BuildRequires: libbz2-devel -BuildRequires: liblcms-devel -BuildRequires: utempter-devel -%else -BuildRequires: bzip2-devel -BuildRequires: lcms-devel -BuildRequires: libutempter-devel - -BuildRequires: libpaper-devel -%endif - - -# These libraries are either too old or too recent on distributions ! -# We always provide our versions with TDE... -BuildRequires: trinity-libwpd-devel -BuildRequires: trinity-libpqxx-devel - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}mesagl1-devel -BuildRequires: %{_lib}mesaglu1-devel -BuildRequires: %{_lib}xi-devel -BuildRequires: wv2-devel -BuildRequires: %{_lib}openjpeg-devel -%endif -%if 0%{?fedora} || 0%{?rhel} -BuildRequires: libGL-devel -BuildRequires: libGLU-devel -BuildRequires: libXi-devel -BuildRequires: trinity-wv2-devel -%endif -%if 0%{?suse_version} -BuildRequires: Mesa-libGL-devel -BuildRequires: Mesa-libGLU-devel -BuildRequires: libXi-devel -BuildRequires: wv2-devel -%endif - -%description -KOffice is an integrated office suite. - -%package suite -Summary: An integrated office suite -Group: Applications/Productivity -Obsoletes: %{name} <= %{version}-%{release} -Obsoletes: %{name}-i18n < 4:%{version} -Requires: %{name}-core = %{version}-%{release} -Requires: %{name}-kword = %{version}-%{release} -Requires: %{name}-kspread = %{version}-%{release} -Requires: %{name}-kpresenter = %{version}-%{release} -Requires: %{name}-kivio = %{version}-%{release} -Requires: %{name}-karbon = %{version}-%{release} -Requires: %{name}-kugar = %{version}-%{release} -Requires: %{name}-kexi = %{version}-%{release} -Requires: %{name}-kexi-driver-mysql = %{version}-%{release} -Requires: %{name}-kexi-driver-pgsql = %{version}-%{release} -Requires: %{name}-kchart = %{version}-%{release} -Requires: %{name}-kformula = %{version}-%{release} -Requires: %{name}-filters = %{version}-%{release} -Requires: %{name}-kplato = %{version}-%{release} -Requires: %{name}-chalk = %{version}-%{release} - -%description suite -KOffice is an integrated office suite. - -%package core -Summary: Core support files for %{name} -Group: Applications/Productivity -Requires: %{name}-libs = %{version}-%{release} -Requires: perl -Conflicts: koffice-i18n < %{version} -%description core -%{summary}. - -%package libs -Summary: Runtime libraries for %{name} -Group: System Environment/Libraries -Conflicts: %{name} <= %{version}-%{release} -Requires: trinity-kdelibs -License: LGPLv2+ -%description libs -%{summary}. - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Requires: %{name}-libs = %{version}-%{release} -License: LGPLv2+ -%description devel -%{summary}. - -%package kword -Summary: A frame-based word processor capable of professional standard documents -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} -%description kword -%{summary}. - -%package kspread -Summary: A powerful spreadsheet application -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} -%description kspread -%{summary}. - -%package kpresenter -Summary: A full-featured presentation program -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} -%description kpresenter -%{summary}. - -%package kivio -Summary: A flowcharting application -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} -Obsoletes: kivio < %{version}-%{release} -%description kivio -%{summary}. - -%package karbon -Summary: A vector drawing application -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} -%description karbon -%{summary}. - -%package kugar -Summary: A tool for generating business quality reports -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} -%description kugar -%{summary}. - -%package kexi -Summary: An integrated environment for managing data -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} -%description kexi -%{summary}. -For additional database drivers take a look at %{name}-kexi-driver-* - -%package kexi-driver-mysql -Summary: Mysql-driver for kexi -Group: Applications/Productivity -Requires: %{name}-kexi = %{version}-%{release} -%description kexi-driver-mysql -%{summary}. - -%package kexi-driver-pgsql -Summary: Postgresql driver for kexi -Group: Applications/Productivity -Requires: %{name}-kexi = %{version}-%{release} -%description kexi-driver-pgsql -%{summary}. - -%package kchart -Summary: An integrated graph and chart drawing tool -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} -%description kchart -%{summary}. - -%package kformula -Summary: A powerful formula editor -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} - -%if 0%{?mgaversion} || 0%{?mdkversion} -Requires: fonts-ttf-dejavu -%else -%if 0%{?fedora} >= 11 || 0%{?rhel} >= 6 -Requires: dejavu-lgc-sans-fonts -Requires: lyx-cmex10-fonts -%endif -%if 0%{?rhel} == 5 -Requires: dejavu-lgc-fonts -Requires: lyx-cmex10-fonts -%endif -%if 0%{?suse_version} -Requires: dejavu-fonts -%endif -%endif - -%description kformula -%{summary}. - -%package filters -Summary: Import and Export Filters for KOffice -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} -%description filters -%{summary}. - -%package kplato -Summary: An integrated project management and planning tool -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} -%description kplato -%{summary}. - -%package chalk -Summary: pixel-based image manipulation program for the TDE Office Suite [Trinity] -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} -Requires: %{name}-chalk-data = %{version}-%{release} -Requires: %{name}-filters -%description chalk -Chalk is a painting and image editing application for KOffice. Chalk contains -both ease-of-use and fun features like guided painting. - -This package is part of the TDE Office Suite. - -%package chalk-data -Summary: data files for Chalk painting program [Trinity] -Group: Applications/Productivity -%description chalk-data -This package contains architecture-independent data files for Chalk, -the painting program shipped with the TDE Office Suite. - -See the chalk package for further information. - -This package is part of the TDE Office Suite. - - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -%if 0%{?fedora} >= 17 || 0%{?suse_version} >= 1220 -%patch13 -p1 -b .ruby -%endif - -# use LGC variant instead -%__sed -i.dejavu-lgc \ - -e 's|DejaVu Sans|DejaVu LGC Sans|' \ - -e 's|dejavu sans|dejavu lgc sans|' \ - lib/kformula/{contextstyle,fontstyle,symboltable}.cc - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -%if 0%{?suse_version} == 1220 -RD=$(ruby -r rbconfig -e 'printf("%s",Config::CONFIG["rubyhdrdir"])') -export CXXFLAGS="${CXXFLAGS} -I${RD}/%_normalized_cpu-linux" -%endif - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath --disable-dependency-tracking \ - --enable-new-ldflags \ - --disable-debug --disable-warnings \ - --with-pic --enable-shared --disable-static \ - --with-extra-libs=%{tde_libdir} \ - --enable-final \ - --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir}/arts \ - --enable-closure \ - --disable-kexi-macros \ - --with-pqxx-includes=%{tde_includedir} \ - --with-pqxx-libraries=%{tde_libdir} \ -%if 0%{?with_kross} - --enable-scripting \ -%else - --disable-scripting \ -%endif - -%__make %{?_smp_mflags} - - -%install -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -# Replace absolute symlinks with relative ones -pushd %{buildroot}%{tde_tdedocdir}/HTML -for lang in *; do - if [ -d $lang ]; then - pushd $lang - for i in */*; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../../common $i/common - done - popd - fi -done -popd - -desktop-file-install \ - --dir=%{buildroot}%{tde_tdeappdir} \ - --vendor="" \ - --delete-original \ - %{buildroot}%{tde_datadir}/applnk/Office/*.desktop - -## Hack-in NoDisplay=True (http://bugzilla.redhat.com/245061) -## until http://bugzilla.redhat.com/245190 is fixed -%if 0%{?rhel} || 0%{?fedora} -for desktop_file in %{buildroot}%{tde_datadir}/applnk/.hidden/*.desktop ; do - grep "^NoDisplay=" ${desktop_file} || \ - echo "NoDisplay=True" >> ${desktop_file} -done -%endif - -## unpackaged files -# fonts -rm -rfv %{buildroot}%{tde_datadir}/apps/kformula/fonts/ -# libtool archives -rm -f %{buildroot}%{tde_libdir}/lib*.la -# shouldn't these be in koffice-l10n? -rm -f %{buildroot}%{tde_datadir}/locale/pl/LC_MESSAGES/kexi_{add,delete}_column_gui_transl_pl.sh -# -devel symlinks to nuke -rm -f %{buildroot}%{tde_libdir}/lib*common.so -rm -f %{buildroot}%{tde_libdir}/lib*filters.so -rm -f %{buildroot}%{tde_libdir}/lib*private.so -rm -f %{buildroot}%{tde_libdir}/libkarbon*.so -rm -f %{buildroot}%{tde_libdir}/libkchart*.so -rm -f %{buildroot}%{tde_libdir}/libkexi*.so -rm -f %{buildroot}%{tde_libdir}/libkisexiv2.so -rm -f %{buildroot}%{tde_libdir}/libkformdesigner.so -rm -f %{buildroot}%{tde_libdir}/libkplato*.so -rm -f %{buildroot}%{tde_libdir}/libkpresenter*.so -rm -f %{buildroot}%{tde_libdir}/libkword*.so -rm -f %{buildroot}%{tde_libdir}/libkross*.so -rm -f %{buildroot}%{tde_libdir}/libkugar*.so - - -%clean -%__rm -rf %{buildroot} - -%post core -touch --no-create %{tde_datadir}/icons/crystalsvg &> /dev/null || : -touch --no-create %{tde_datadir}/icons/hicolor &> /dev/null || : -touch --no-create %{tde_datadir}/icons/locolor &> /dev/null || : - -%postun core -if [ $1 -eq 0 ]; then - gtk-update-icon-cache %{tde_datadir}/icons/crystalsvg &> /dev/null || : - gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || : - gtk-update-icon-cache %{tde_datadir}/icons/locolor &> /dev/null || : - update-desktop-database -q &> /dev/null ||: -fi - -%posttrans core -gtk-update-icon-cache %{tde_datadir}/icons/crystalsvg &> /dev/null || : -gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || : -gtk-update-icon-cache %{tde_datadir}/icons/locolor &> /dev/null || : -update-desktop-database -q &> /dev/null ||: - -%post karbon -/sbin/ldconfig || : - -%postun karbon -/sbin/ldconfig || : - -%post kword -/sbin/ldconfig || : - -%postun kword -/sbin/ldconfig || : - -%posttrans kword -update-desktop-database -q &> /dev/null ||: - -%post kpresenter -/sbin/ldconfig || : - -%postun kpresenter -/sbin/ldconfig || : - -%posttrans kpresenter -update-desktop-database -q &> /dev/null ||: - -%post kugar -/sbin/ldconfig || : - -%postun kugar -/sbin/ldconfig || : - -%posttrans kugar -update-desktop-database -q &> /dev/null ||: - -%post kexi -/sbin/ldconfig || : - -%postun kexi -/sbin/ldconfig || : - -%posttrans kexi -update-desktop-database -q &> /dev/null ||: - -%post kchart -/sbin/ldconfig || : - -%postun kchart -/sbin/ldconfig || : - -%posttrans kchart -update-desktop-database -q &> /dev/null ||: - -%post filters -/sbin/ldconfig || : - -%postun filters -/sbin/ldconfig || : - -%post libs -/sbin/ldconfig || : - -%postun libs -/sbin/ldconfig || : - -%post chalk -/sbin/ldconfig || : - -%postun chalk -/sbin/ldconfig || : - -%posttrans chalk -update-desktop-database -q &> /dev/null ||: - -%files suite -#empty => virtual package - -%files core -%defattr(-,root,root,-) -%doc AUTHORS COPYING README -%{tde_bindir}/koshell -%{tde_bindir}/kthesaurus -%{tde_bindir}/koconverter -%{tde_libdir}/libkdeinit_koshell.so -%{tde_libdir}/libkdeinit_kthesaurus.so -%{tde_tdelibdir}/kfile_koffice.* -%{tde_tdelibdir}/kfile_ooo.* -%{tde_tdelibdir}/kfile_abiword.* -%{tde_tdelibdir}/kfile_gnumeric.* -%{tde_tdelibdir}/kodocinfopropspage.* -%{tde_tdelibdir}/kofficescan.* -%{tde_tdelibdir}/kofficethumbnail.* -%{tde_tdelibdir}/koshell.* -%{tde_tdelibdir}/kthesaurus.* -%{tde_tdelibdir}/kwmailmerge_classic.* -%{tde_tdelibdir}/kwmailmerge_kabc.* -%{tde_tdelibdir}/kwmailmerge_qtsqldb_power.* -%{tde_tdelibdir}/kwmailmerge_qtsqldb.* -%{tde_tdelibdir}/libkounavailpart.* -%{tde_tdelibdir}/libkprkword.* -%{tde_tdelibdir}/libthesaurustool.* -%{tde_tdelibdir}/clipartthumbnail.* -%{tde_datadir}/apps/koffice/ -%{tde_datadir}/apps/konqueror/servicemenus/* -%{tde_datadir}/apps/koshell/ -%{tde_datadir}/apps/thesaurus/ -%{tde_datadir}/config.kcfg/koshell.kcfg -%{tde_tdedocdir}/HTML/en/koffice/ -%{tde_tdedocdir}/HTML/en/koshell/ -%{tde_tdedocdir}/HTML/en/thesaurus/ -%{tde_datadir}/icons/crystalsvg/*/*/* -%{tde_datadir}/icons/hicolor/*/*/* -%{tde_datadir}/icons/locolor/*/*/* -%{tde_datadir}/services/clipartthumbnail.desktop -%{tde_datadir}/services/kfile*.desktop -%{tde_datadir}/services/kwmailmerge*.desktop -%{tde_datadir}/services/kodocinfopropspage.desktop -%{tde_datadir}/services/kofficethumbnail.desktop -%{tde_datadir}/services/kounavail.desktop -%{tde_datadir}/services/kprkword.desktop -%{tde_datadir}/services/thesaurustool.desktop -%{tde_datadir}/servicetypes/kochart.desktop -%{tde_datadir}/servicetypes/kofficepart.desktop -%{tde_datadir}/servicetypes/koplugin.desktop -%{tde_datadir}/servicetypes/kwmailmerge.desktop -%{tde_datadir}/servicetypes/widgetfactory.desktop -%{tde_tdeappdir}/*koffice.desktop -%{tde_tdeappdir}/*KThesaurus.desktop -%{tde_tdeappdir}/*koshell.desktop -%{tde_datadir}/apps/kofficewidgets/ -%if 0%{?with_kross} -%{tde_datadir}/apps/kross/ -%{tde_tdelibdir}/krosspython.* -%if 0%{?with_ruby} -%{tde_tdelibdir}/krossruby.* -%endif -%endif - -%files libs -%defattr(-,root,root,-) -%doc COPYING.LIB -#_libdir/libk*common.so.* -%{tde_libdir}/libkarboncommon.so.* -%{tde_libdir}/libkspreadcommon.so.* -%{tde_libdir}/libkdchart.so.* -%{tde_libdir}/libkochart.so.* -%{tde_libdir}/libkofficecore.so.* -%{tde_libdir}/libkofficeui.so.* -%{tde_libdir}/libkotext.so.* -%{tde_libdir}/libkowmf.so.* -%{tde_libdir}/libkopainter.so.* -%{tde_libdir}/libkstore.so.* -%{tde_libdir}/libkwmailmerge_interface.so.* -%{tde_libdir}/libkwmf.so.* -%{tde_libdir}/libkformulalib.so.* -%{tde_libdir}/libkopalette.so.* -%{tde_libdir}/libkoproperty.so.* -%if 0%{?with_kross} -%{tde_libdir}/libkrossapi.so.* -%{tde_libdir}/libkrossmain.so.* -%endif - -%files devel -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/koffice-apidocs/ -%{tde_includedir}/* -# FIXME: include only shlib symlinks we know/want to export -%{tde_libdir}/lib*.so -%exclude %{tde_libdir}/libkdeinit_*.so -%exclude %{tde_libdir}/libkudesignercore.so - -%files kword -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kword/ -%{tde_bindir}/kword -%{tde_libdir}/libkdeinit_kword.so -%{tde_libdir}/libkwordprivate.so.* -%{tde_tdelibdir}/libkwordpart.* -%{tde_tdelibdir}/kword.* -%{tde_datadir}/apps/kword/ -%{tde_datadir}/services/kword*.desktop -%{tde_datadir}/services/kwserial*.desktop -%{tde_datadir}/templates/TextDocument.desktop -%{tde_datadir}/templates/.source/TextDocument.kwt -%{tde_tdeappdir}/*kword.desktop - -%files kspread -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kspread/ -%{tde_bindir}/kspread -%{tde_libdir}/libkdeinit_kspread.so -%{tde_tdelibdir}/kspread.* -%{tde_tdelibdir}/libkspreadpart.* -%{tde_tdelibdir}/kwmailmerge_kspread.* -%{tde_tdelibdir}/libcsvexport.* -%{tde_tdelibdir}/libcsvimport.* -%{tde_tdelibdir}/libgnumericexport.* -%{tde_tdelibdir}/libgnumericimport.* -%{tde_tdelibdir}/libkspreadhtmlexport.* -%{tde_tdelibdir}/libkspreadinsertcalendar.* -%{tde_tdelibdir}/libopencalcexport.* -%{tde_tdelibdir}/libopencalcimport.* -%{tde_tdelibdir}/libqproimport.* -%{tde_datadir}/apps/kspread/ -%{tde_datadir}/services/kspread*.desktop -%{tde_datadir}/templates/SpreadSheet.desktop -%{tde_datadir}/templates/.source/SpreadSheet.kst -%{tde_tdeappdir}/*kspread.desktop -%if 0%{?with_kross} -%{tde_tdelibdir}/kspreadscripting.* -%{tde_tdelibdir}/krosskspreadcore.* -%endif - -%files kpresenter -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kpresenter/ -%{tde_bindir}/kpresenter -%{tde_bindir}/kprconverter.pl -%{tde_libdir}/libkdeinit_kpresenter.so -%{tde_libdir}/libkpresenterimageexport.so.* -%{tde_libdir}/libkpresenterprivate.so.* -%{tde_tdelibdir}/*kpresenter*.* -%{tde_datadir}/apps/kpresenter/ -%{tde_datadir}/services/kpresenter*.desktop -%{tde_datadir}/templates/Presentation.desktop -%{tde_datadir}/templates/.source/Presentation.kpt -%{tde_tdeappdir}/*kpresenter.desktop - -%files karbon -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/karbon/ -%{tde_bindir}/karbon -%{tde_libdir}/libkdeinit_karbon.so -%{tde_tdelibdir}/*karbon*.* -%{tde_tdelibdir}/libwmfexport.* -%{tde_tdelibdir}/libwmfimport.* -%{tde_datadir}/apps/karbon/ -%{tde_datadir}/services/karbon* -%{tde_datadir}/servicetypes/karbon_module.desktop -%{tde_datadir}/templates/Illustration.desktop -%{tde_datadir}/templates/.source/Illustration.karbon -%{tde_tdeappdir}/*karbon.desktop - -%files kugar -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kugar/ -%{tde_bindir}/kugar -%{tde_bindir}/kudesigner -%{tde_libdir}/libkdeinit_kugar.so -%{tde_libdir}/libkdeinit_kudesigner.so -%{tde_libdir}/libkugarlib.so.* -%{tde_libdir}/libkudesignercore.so -%{tde_tdelibdir}/kudesigner.* -%{tde_tdelibdir}/kugar.* -%{tde_tdelibdir}/libkudesignerpart.* -%{tde_tdelibdir}/libkugarpart.* -%{tde_datadir}/apps/kudesigner/ -%{tde_datadir}/apps/kugar/ -%{tde_datadir}/services/kugar*.desktop -%{tde_tdeappdir}/*kugar.desktop -%{tde_tdeappdir}/*kudesigner.desktop - -%files kexi -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kexi/ -%{tde_bindir}/kexi* -%{tde_bindir}/ksqlite* -%{tde_libdir}/libkdeinit_kexi.so -%{tde_libdir}/libkexi*.so.* -%{tde_libdir}/libkformdesigner.so.* -%{tde_tdelibdir}/kformdesigner_*.* -%{tde_tdelibdir}/kexidb_sqlite2driver.* -%{tde_tdelibdir}/kexidb_sqlite3driver.* -%{tde_tdelibdir}/kexihandler_*.* -%{tde_tdelibdir}/kexi.* -# moved here to workaround bug #394101, alternative is to move libkexi(db|dbparser|utils) to -libs) -%{tde_tdelibdir}/libkspreadkexiimport.* -%{tde_datadir}/config/kexirc -%{tde_datadir}/config/magic/kexi.magic -%{tde_datadir}/mimelnk/application/* -%{tde_datadir}/servicetypes/kexi*.desktop -%{tde_datadir}/services/kexi/ -%{tde_datadir}/apps/kexi/ -%{tde_datadir}/services/kformdesigner/* -%{tde_tdeappdir}/*kexi.desktop -%{tde_datadir}/services/kexidb_sqlite*driver.desktop -%if 0%{?with_kross} -%{tde_bindir}/krossrunner -%{tde_tdelibdir}/krosskexiapp.* -%{tde_tdelibdir}/krosskexidb.* -%endif - -%files kexi-driver-mysql -%defattr(-,root,root,-) -%{tde_tdelibdir}/kexidb_mysqldriver.* -%{tde_tdelibdir}/keximigrate_mysql.* -%{tde_datadir}/services/keximigrate_mysql.desktop -%{tde_datadir}/services/kexidb_mysqldriver.desktop - -%files kexi-driver-pgsql -%defattr(-,root,root,-) -%{tde_tdelibdir}/kexidb_pqxxsqldriver.* -%{tde_tdelibdir}/keximigrate_pqxx.* -%{tde_datadir}/services/kexidb_pqxxsqldriver.desktop -%{tde_datadir}/services/keximigrate_pqxx.desktop - -%files kchart -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kchart/ -%{tde_bindir}/kchart -%{tde_libdir}/libkchart*.so.* -%{tde_libdir}/libkdeinit_kchart.so -%{tde_tdelibdir}/*kchart*.* -%{tde_datadir}/apps/kchart/ -%{tde_datadir}/services/kchart*.desktop -%{tde_tdeappdir}/*kchart.desktop - -%files kformula -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kformula/ -%{tde_bindir}/kformula -%{tde_libdir}/libkdeinit_kformula.so -%{tde_tdelibdir}/*kformula*.* -%{tde_datadir}/apps/kformula/ -%{tde_datadir}/services/kformula*.desktop -%{tde_tdeappdir}/*kformula.desktop - -%files kivio -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kivio/ -%{tde_bindir}/kivio -%{tde_libdir}/libkdeinit_kivio.so -%{tde_libdir}/libkiviocommon.so.* -%{tde_tdelibdir}/*kivio*.* -%{tde_tdelibdir}/straight_connector.* -%{tde_datadir}/apps/kivio/ -%{tde_datadir}/config.kcfg/kivio.kcfg -%{tde_datadir}/services/kivio*.desktop -%{tde_tdeappdir}/*kivio.desktop - -%files filters -%defattr(-,root,root,-) -%{tde_libdir}/libkwordexportfilters.so.* -%{tde_tdelibdir}/libabiwordexport.* -%{tde_tdelibdir}/libabiwordimport.* -%{tde_tdelibdir}/libamiproexport.* -%{tde_tdelibdir}/libamiproimport.* -%{tde_tdelibdir}/libapplixspreadimport.* -%{tde_tdelibdir}/libapplixwordimport.* -%{tde_tdelibdir}/libasciiexport.* -%{tde_tdelibdir}/libasciiimport.* -%{tde_tdelibdir}/libdbaseimport.* -%{tde_tdelibdir}/libdocbookexport.* -%{tde_tdelibdir}/libexcelimport.* -%{tde_tdelibdir}/libgenerickofilter.* -%{tde_tdelibdir}/libhtmlexport.* -%{tde_tdelibdir}/libhtmlimport.* -%{tde_tdelibdir}/libkarbonepsimport.* -%{tde_tdelibdir}/libkfolatexexport.* -%{tde_tdelibdir}/libkfomathmlexport.* -%{tde_tdelibdir}/libkfomathmlimport.* -%{tde_tdelibdir}/libkfopngexport.* -%{tde_tdelibdir}/libkspreadlatexexport.* -%{tde_tdelibdir}/libkugarnopimport.* -%{tde_tdelibdir}/libkwordkword1dot3import.* -%{tde_tdelibdir}/libkwordlatexexport.* -%{tde_tdelibdir}/libmswriteexport.* -%{tde_tdelibdir}/libmswriteimport.* -%{tde_tdelibdir}/libooimpressexport.* -%{tde_tdelibdir}/libooimpressimport.* -%{tde_tdelibdir}/liboowriterexport.* -%{tde_tdelibdir}/liboowriterimport.* -%{tde_tdelibdir}/libpalmdocexport.* -%{tde_tdelibdir}/libpalmdocimport.* -%{tde_tdelibdir}/libpdfimport.* -%{tde_tdelibdir}/librtfexport.* -%{tde_tdelibdir}/librtfimport.* -%{tde_tdelibdir}/libwmlexport.* -%{tde_tdelibdir}/libwmlimport.* -%{tde_tdelibdir}/libwpexport.* -%{tde_tdelibdir}/libwpimport.* -%{tde_tdelibdir}/libmswordimport.* -%{tde_tdelibdir}/libxsltimport.* -%{tde_tdelibdir}/libxsltexport.* -%{tde_tdelibdir}/libhancomwordimport.* -%{tde_tdelibdir}/libkfosvgexport.* -%{tde_tdelibdir}/liboodrawimport.* -%{tde_tdelibdir}/libolefilter.* -%{tde_datadir}/apps/xsltfilter/ -%{tde_datadir}/services/generic_filter.desktop -%{tde_datadir}/services/ole_powerpoint97_import.desktop -%{tde_datadir}/services/xslt*.desktop -%{tde_datadir}/servicetypes/kofilter*.desktop - -%files kplato -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kplato/ -%{tde_bindir}/kplato -%{tde_libdir}/libkdeinit_kplato.so -%{tde_tdelibdir}/kplato.* -%{tde_tdelibdir}/libkplatopart.* -%{tde_datadir}/apps/kplato/ -%{tde_datadir}/services/kplatopart.desktop -%{tde_tdeappdir}/*kplato.desktop - -%files chalk -%defattr(-,root,root,-) -%{tde_bindir}/chalk -%{tde_tdelibdir}/chalkblurfilter.la -%{tde_tdelibdir}/chalkblurfilter.so -%{tde_tdelibdir}/chalkbumpmap.la -%{tde_tdelibdir}/chalkbumpmap.so -%{tde_tdelibdir}/chalkcimg.la -%{tde_tdelibdir}/chalkcimg.so -%{tde_tdelibdir}/chalk_cmyk_* -%{tde_tdelibdir}/chalkcmykplugin.la -%{tde_tdelibdir}/chalkcmykplugin.so -%{tde_tdelibdir}/chalkcolorify.la -%{tde_tdelibdir}/chalkcolorify.so -%{tde_tdelibdir}/chalkcolorrange.la -%{tde_tdelibdir}/chalkcolorrange.so -%{tde_tdelibdir}/chalkcolorsfilters.la -%{tde_tdelibdir}/chalkcolorsfilters.so -%{tde_tdelibdir}/chalkcolorspaceconversion.la -%{tde_tdelibdir}/chalkcolorspaceconversion.so -%{tde_tdelibdir}/chalkconvolutionfilters.la -%{tde_tdelibdir}/chalkconvolutionfilters.so -%{tde_tdelibdir}/chalkdefaultpaintops.la -%{tde_tdelibdir}/chalkdefaultpaintops.so -%{tde_tdelibdir}/chalkdefaulttools.la -%{tde_tdelibdir}/chalkdefaulttools.so -%{tde_tdelibdir}/chalkdropshadow.la -%{tde_tdelibdir}/chalkdropshadow.so -%{tde_tdelibdir}/chalkembossfilter.la -%{tde_tdelibdir}/chalkembossfilter.so -%{tde_tdelibdir}/chalkexample.la -%{tde_tdelibdir}/chalkexample.so -%{tde_tdelibdir}/chalkextensioncolorsfilters.la -%{tde_tdelibdir}/chalkextensioncolorsfilters.so -%{tde_tdelibdir}/chalkfastcolortransfer.la -%{tde_tdelibdir}/chalkfastcolortransfer.so -%{tde_tdelibdir}/chalkfiltersgallery.la -%{tde_tdelibdir}/chalkfiltersgallery.so -%{tde_tdelibdir}/chalk_gray_* -%{tde_tdelibdir}/chalkgrayplugin.la -%{tde_tdelibdir}/chalkgrayplugin.so -%{tde_tdelibdir}/chalkhistogramdocker.la -%{tde_tdelibdir}/chalkhistogramdocker.so -%{tde_tdelibdir}/chalkhistogram.la -%{tde_tdelibdir}/chalkhistogram.so -%{tde_tdelibdir}/chalkimageenhancement.la -%{tde_tdelibdir}/chalkimageenhancement.so -%{tde_tdelibdir}/chalkimagesize.la -%{tde_tdelibdir}/chalkimagesize.so -%{tde_tdelibdir}/chalk.la -%{tde_tdelibdir}/chalklenscorrectionfilter.la -%{tde_tdelibdir}/chalklenscorrectionfilter.so -%{tde_tdelibdir}/chalklevelfilter.la -%{tde_tdelibdir}/chalklevelfilter.so -%{tde_tdelibdir}/chalk_lms_* -%{tde_tdelibdir}/chalkmodifyselection.la -%{tde_tdelibdir}/chalkmodifyselection.so -%{tde_tdelibdir}/chalknoisefilter.la -%{tde_tdelibdir}/chalknoisefilter.so -%{tde_tdelibdir}/chalkoilpaintfilter.la -%{tde_tdelibdir}/chalkoilpaintfilter.so -%{tde_tdelibdir}/chalkpixelizefilter.la -%{tde_tdelibdir}/chalkpixelizefilter.so -%{tde_tdelibdir}/chalkraindropsfilter.la -%{tde_tdelibdir}/chalkraindropsfilter.so -%{tde_tdelibdir}/chalkrandompickfilter.la -%{tde_tdelibdir}/chalkrandompickfilter.so -%{tde_tdelibdir}/chalk_rgb_* -%{tde_tdelibdir}/chalkrgbplugin.la -%{tde_tdelibdir}/chalkrgbplugin.so -%{tde_tdelibdir}/chalkrotateimage.la -%{tde_tdelibdir}/chalkrotateimage.so -%{tde_tdelibdir}/chalkroundcornersfilter.la -%{tde_tdelibdir}/chalkroundcornersfilter.so -%{tde_tdelibdir}/chalkselectiontools.la -%{tde_tdelibdir}/chalkselectiontools.so -%{tde_tdelibdir}/chalkselectopaque.la -%{tde_tdelibdir}/chalkselectopaque.so -%{tde_tdelibdir}/chalkseparatechannels.la -%{tde_tdelibdir}/chalkseparatechannels.so -%{tde_tdelibdir}/chalkshearimage.la -%{tde_tdelibdir}/chalkshearimage.so -%{tde_tdelibdir}/chalksmalltilesfilter.la -%{tde_tdelibdir}/chalksmalltilesfilter.so -%{tde_tdelibdir}/chalk.so -%{tde_tdelibdir}/chalkscreenshot.la -%{tde_tdelibdir}/chalkscreenshot.so -%{tde_tdelibdir}/chalksobelfilter.la -%{tde_tdelibdir}/chalksobelfilter.so -%{tde_tdelibdir}/chalksubstrate.la -%{tde_tdelibdir}/chalksubstrate.so -%{tde_tdelibdir}/chalktoolcrop.la -%{tde_tdelibdir}/chalktoolcrop.so -%{tde_tdelibdir}/chalktoolcurves.la -%{tde_tdelibdir}/chalktoolcurves.so -%{tde_tdelibdir}/chalktoolfilter.la -%{tde_tdelibdir}/chalktoolfilter.so -%{tde_tdelibdir}/chalktoolperspectivegrid.la -%{tde_tdelibdir}/chalktoolperspectivegrid.so -%{tde_tdelibdir}/chalktoolperspectivetransform.la -%{tde_tdelibdir}/chalktoolperspectivetransform.so -%{tde_tdelibdir}/chalktoolpolygon.la -%{tde_tdelibdir}/chalktoolpolygon.so -%{tde_tdelibdir}/chalktoolpolyline.la -%{tde_tdelibdir}/chalktoolpolyline.so -%{tde_tdelibdir}/chalktoolselectsimilar.la -%{tde_tdelibdir}/chalktoolselectsimilar.so -%{tde_tdelibdir}/chalktoolstar.la -%{tde_tdelibdir}/chalktoolstar.so -%{tde_tdelibdir}/chalktooltransform.la -%{tde_tdelibdir}/chalktooltransform.so -%{tde_tdelibdir}/chalkunsharpfilter.la -%{tde_tdelibdir}/chalkunsharpfilter.so -%{tde_tdelibdir}/chalkwavefilter.la -%{tde_tdelibdir}/chalkwavefilter.so -%{tde_tdelibdir}/chalkwetplugin.la -%{tde_tdelibdir}/chalkwetplugin.so -%{tde_tdelibdir}/chalk_ycbcr_* -%{tde_tdelibdir}/libchalkgmagickexport.la -%{tde_tdelibdir}/libchalkgmagickexport.so -%{tde_tdelibdir}/libchalkgmagickimport.la -%{tde_tdelibdir}/libchalkgmagickimport.so -%{tde_tdelibdir}/libchalkjpegexport.la -%{tde_tdelibdir}/libchalkjpegexport.so -%{tde_tdelibdir}/libchalkjpegimport.la -%{tde_tdelibdir}/libchalkjpegimport.so -%{tde_tdelibdir}/libchalk_openexr_export.la -%{tde_tdelibdir}/libchalk_openexr_export.so -%{tde_tdelibdir}/libchalk_openexr_import.la -%{tde_tdelibdir}/libchalk_openexr_import.so -%{tde_tdelibdir}/libchalkpart.la -%{tde_tdelibdir}/libchalkpart.so -%{tde_tdelibdir}/libchalkpdfimport.la -%{tde_tdelibdir}/libchalkpdfimport.so -%{tde_tdelibdir}/libchalkpngexport.la -%{tde_tdelibdir}/libchalkpngexport.so -%{tde_tdelibdir}/libchalkpngimport.la -%{tde_tdelibdir}/libchalkpngimport.so -%{tde_tdelibdir}/libchalk_raw_import.la -%{tde_tdelibdir}/libchalk_raw_import.so -%{tde_tdelibdir}/libchalktiffexport.la -%{tde_tdelibdir}/libchalktiffexport.so -%{tde_tdelibdir}/libchalktiffimport.la -%{tde_tdelibdir}/libchalktiffimport.so -%{tde_libdir}/libkdeinit_chalk.so -%{tde_libdir}/libchalk_cmyk_*.so.* -%{tde_libdir}/libchalkcolor.so.* -%{tde_libdir}/libchalkcommon.so.* -%{tde_libdir}/libchalkgrayscale.so.* -%{tde_libdir}/libchalk_gray_*.so.* -%{tde_libdir}/libchalkimage.so.* -%{tde_libdir}/libchalk_lms_*.so.* -%{tde_libdir}/libchalk_rgb_*.so.* -%{tde_libdir}/libchalkrgb.so.* -%{tde_libdir}/libchalkui.so.* -%{tde_libdir}/libchalk_ycbcr_*.so.* -%if 0%{?with_kross} -%{tde_tdelibdir}/krosschalkcore.la -%{tde_tdelibdir}/krosschalkcore.so -%{tde_tdelibdir}/chalkscripting.la -%{tde_tdelibdir}/chalkscripting.so -%{tde_libdir}/libchalkscripting.so.* -%endif - -%files chalk-data -%{tde_tdeappdir}/chalk.desktop -%{tde_datadir}/applnk/.hidden/chalk_*.desktop -%{tde_datadir}/apps/konqueror/servicemenus/chalk_konqi.desktop -%{tde_datadir}/apps/chalk -%{tde_datadir}/apps/chalkplugins -%lang(en) %{tde_tdedocdir}/HTML/en/chalk -%{tde_datadir}/icons/hicolor/*/apps/chalk.png -%{tde_datadir}/services/chalk*.desktop -%{tde_datadir}/servicetypes/chalk*.desktop - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 1.6.3-6 -- Initial release for TDE 3.5.13.1 - -* Sun Jul 08 2012 Francois Andriot - 1.6.3-5 -- Fix kformula dependancies (for RHEL6) -- Fix FTBFS due to missing libraries [Bug #657] [Commit #5c69fcd3] - Clean up lib paths in LDFLAGS - moved to LIBADD - For KWord and and KPresenter added linking kspell2 - For KSpread added linking kutils -- Fix accidental conversions of binary files [Bug #1033] [Commit #dbe89307] - -* Thu Apr 26 2012 Francois Andriot - 1.6.3-4 -- Updates BuildRequires -- Build for Fedora 17 -- Fix compilation with GCC 4.7 [Bug #958] -- Fix compilation with Ruby 1.9 [Bug #735] -- Fix compilation with libpng [Bug #603] - -* Sat Jan 07 2012 Francois Andriot - 1.6.3-3 -- Fix GraphicksMagick 1.3 support [Bug #353] -- Various patches for kexi [Bug #777] - -* Fri Nov 25 2011 Francois Andriot - 1.6.3-2 -- Fix HTML directory location - -* Tue Nov 22 2011 Francois Andriot - 1.6.3-1 -- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16 -- Based on Spec file from Fedora 11 'koffice-2:1.6.3-25.20090306svn' -- Removed 'krita', added 'chalk' diff --git a/redhat/applications/koffice/koffice-3.5.13.2-fix_kformula_ftbfs.patch b/redhat/applications/koffice/koffice-3.5.13.2-fix_kformula_ftbfs.patch deleted file mode 100644 index 14e65f1cc..000000000 --- a/redhat/applications/koffice/koffice-3.5.13.2-fix_kformula_ftbfs.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- trinity-koffice-3.5.13.2/lib/kformula/creationstrategy.h.ORI 2013-08-17 16:45:10.505854525 +0200 -+++ trinity-koffice-3.5.13.2/lib/kformula/creationstrategy.h 2013-08-17 16:45:15.120749288 +0200 -@@ -86,7 +86,7 @@ - */ - class OrdinaryCreationStrategy : public ElementCreationStrategy { - public: -- virtual BasicElement* createElement( TQString type, const TQDomElement& element = 0 ); -+ virtual BasicElement* createElement( TQString type, const TQDomElement& element ); - - virtual TextElement* createTextElement( const TQChar& ch, bool symbol=false ); - virtual EmptyElement* createEmptyElement(); diff --git a/redhat/applications/koffice/koffice-3.5.13.2-fix_ruby2_detection.patch b/redhat/applications/koffice/koffice-3.5.13.2-fix_ruby2_detection.patch deleted file mode 100644 index f375078cf..000000000 --- a/redhat/applications/koffice/koffice-3.5.13.2-fix_ruby2_detection.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- trinity-koffice-3.5.13.2/lib/kross/configure.in.in.ori 2013-08-24 20:57:39.878623151 +0200 -+++ trinity-koffice-3.5.13.2/lib/kross/configure.in.in 2013-08-24 20:58:50.132123615 +0200 -@@ -42,6 +42,12 @@ - fi - fi - if test -z "$RUBY_VERSION"; then -+ RUBY_VERSION=`$PKGCONFIG ruby-2.0 --modversion 2>/dev/null` -+ if test -n "$RUBY_VERSION"; then -+ RUBY_CFLAGS=`$PKGCONFIG ruby-2.0 --cflags` -+ fi -+ fi -+ if test -z "$RUBY_VERSION"; then - # pkgconfig file does not exist but might be 1.9.1: RUBY_VERSION defined in ruby/version.h - if test -n "$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"rubyhdrdir"@:>@)'"; then - # rubyhdrdir parameter works only in >=1.9.1; this is 1.9.1 diff --git a/redhat/applications/koffice/koffice-3.5.13.2-fix_wpd_09_support.patch b/redhat/applications/koffice/koffice-3.5.13.2-fix_wpd_09_support.patch deleted file mode 100644 index c3519a0af..000000000 --- a/redhat/applications/koffice/koffice-3.5.13.2-fix_wpd_09_support.patch +++ /dev/null @@ -1,16418 +0,0 @@ -From efca1544fd2475b9f1198e793dde8da1a39de4e2 Mon Sep 17 00:00:00 2001 -From: Timothy Pearson -Date: Fri, 05 Apr 2013 20:17:32 +0000 -Subject: Fix FTBFS with libwpd 0.9 and above - -This resolves Bug 1169 -Remove spurious build files ---- -diff --git a/acinclude.m4 b/acinclude.m4 -deleted file mode 100644 -index b8033f8..0000000 ---- a/acinclude.m4 -+++ b/dev/null -@@ -1,12406 +0,0 @@ --## -*- autoconf -*- -- --dnl This file is part of the KDE libraries/packages --dnl Copyright (C) 1997 Janos Farkas (chexum@shadow.banki.hu) --dnl (C) 1997,98,99 Stephan Kulow (coolo@kde.org) -- --dnl This file is free software; you can redistribute it and/or --dnl modify it under the terms of the GNU Library General Public --dnl License as published by the Free Software Foundation; either --dnl version 2 of the License, or (at your option) any later version. -- --dnl This library is distributed in the hope that it will be useful, --dnl but WITHOUT ANY WARRANTY; without even the implied warranty of --dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU --dnl Library General Public License for more details. -- --dnl You should have received a copy of the GNU Library General Public License --dnl along with this library; see the file COPYING.LIB. If not, write to --dnl the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, --dnl Boston, MA 02110-1301, USA. -- --dnl IMPORTANT NOTE: --dnl Please do not modify this file unless you expect your modifications to be --dnl carried into every other module in the repository. --dnl --dnl Single-module modifications are best placed in configure.in for kdelibs --dnl and kdebase or configure.in.in if present. -- --# KDE_PATH_X_DIRECT --dnl Internal subroutine of AC_PATH_X. --dnl Set ac_x_includes and/or ac_x_libraries. --AC_DEFUN([KDE_PATH_X_DIRECT], --[ --AC_REQUIRE([KDE_CHECK_LIB64]) -- --if test "$ac_x_includes" = NO; then -- # Guess where to find include files, by looking for this one X11 .h file. -- test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h -- -- # First, try using that file with no special directory specified. --AC_TRY_CPP([#include <$x_direct_test_include>], --[# We can compile using X headers with no special include directory. --ac_x_includes=], --[# Look for the header file in a standard set of common directories. --# Check X11 before X11Rn because it is often a symlink to the current release. -- for ac_dir in \ -- /usr/X11/include \ -- /usr/X11R6/include \ -- /usr/X11R5/include \ -- /usr/X11R4/include \ -- \ -- /usr/include/X11 \ -- /usr/include/X11R6 \ -- /usr/include/X11R5 \ -- /usr/include/X11R4 \ -- \ -- /usr/local/X11/include \ -- /usr/local/X11R6/include \ -- /usr/local/X11R5/include \ -- /usr/local/X11R4/include \ -- \ -- /usr/local/include/X11 \ -- /usr/local/include/X11R6 \ -- /usr/local/include/X11R5 \ -- /usr/local/include/X11R4 \ -- \ -- /usr/X386/include \ -- /usr/x386/include \ -- /usr/XFree86/include/X11 \ -- \ -- /usr/include \ -- /usr/local/include \ -- /usr/unsupported/include \ -- /usr/athena/include \ -- /usr/local/x11r5/include \ -- /usr/lpp/Xamples/include \ -- \ -- /usr/openwin/include \ -- /usr/openwin/share/include \ -- ; \ -- do -- if test -r "$ac_dir/$x_direct_test_include"; then -- ac_x_includes=$ac_dir -- break -- fi -- done]) --fi # $ac_x_includes = NO -- --if test "$ac_x_libraries" = NO; then -- # Check for the libraries. -- -- test -z "$x_direct_test_library" && x_direct_test_library=Xt -- test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc -- -- # See if we find them without any special options. -- # Don't add to $LIBS permanently. -- ac_save_LIBS="$LIBS" -- LIBS="-l$x_direct_test_library $LIBS" --AC_TRY_LINK([#include ], [${x_direct_test_function}(1)], --[LIBS="$ac_save_LIBS" --# We can link X programs with no special library path. --ac_x_libraries=], --[LIBS="$ac_save_LIBS" --# First see if replacing the include by lib works. --# Check X11 before X11Rn because it is often a symlink to the current release. --for ac_dir in `echo "$ac_x_includes" | sed s/include/lib${kdelibsuff}/` \ -- /usr/X11/lib${kdelibsuff} \ -- /usr/X11R6/lib${kdelibsuff} \ -- /usr/X11R5/lib${kdelibsuff} \ -- /usr/X11R4/lib${kdelibsuff} \ -- \ -- /usr/lib${kdelibsuff}/X11 \ -- /usr/lib${kdelibsuff}/X11R6 \ -- /usr/lib${kdelibsuff}/X11R5 \ -- /usr/lib${kdelibsuff}/X11R4 \ -- \ -- /usr/local/X11/lib${kdelibsuff} \ -- /usr/local/X11R6/lib${kdelibsuff} \ -- /usr/local/X11R5/lib${kdelibsuff} \ -- /usr/local/X11R4/lib${kdelibsuff} \ -- \ -- /usr/local/lib${kdelibsuff}/X11 \ -- /usr/local/lib${kdelibsuff}/X11R6 \ -- /usr/local/lib${kdelibsuff}/X11R5 \ -- /usr/local/lib${kdelibsuff}/X11R4 \ -- \ -- /usr/X386/lib${kdelibsuff} \ -- /usr/x386/lib${kdelibsuff} \ -- /usr/XFree86/lib${kdelibsuff}/X11 \ -- \ -- /usr/lib${kdelibsuff} \ -- /usr/local/lib${kdelibsuff} \ -- /usr/unsupported/lib${kdelibsuff} \ -- /usr/athena/lib${kdelibsuff} \ -- /usr/local/x11r5/lib${kdelibsuff} \ -- /usr/lpp/Xamples/lib${kdelibsuff} \ -- /lib/usr/lib${kdelibsuff}/X11 \ -- \ -- /usr/openwin/lib${kdelibsuff} \ -- /usr/openwin/share/lib${kdelibsuff} \ -- ; \ --do --dnl Don't even attempt the hair of trying to link an X program! -- for ac_extension in a so sl; do -- if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then -- ac_x_libraries=$ac_dir -- break 2 -- fi -- done --done]) --fi # $ac_x_libraries = NO --]) -- -- --dnl ------------------------------------------------------------------------ --dnl Find a file (or one of more files in a list of dirs) --dnl ------------------------------------------------------------------------ --dnl --AC_DEFUN([AC_FIND_FILE], --[ --$3=NO --for i in $2; --do -- for j in $1; -- do -- echo "configure: __oline__: $i/$j" >&AC_FD_CC -- if test -r "$i/$j"; then -- echo "taking that" >&AC_FD_CC -- $3=$i -- break 2 -- fi -- done --done --]) -- --dnl KDE_FIND_PATH(program-name, variable-name, list-of-dirs, --dnl if-not-found, test-parameter, prepend-path) --dnl --dnl Look for program-name in list-of-dirs+$PATH. --dnl If prepend-path is set, look in $PATH+list-of-dirs instead. --dnl If found, $variable-name is set. If not, if-not-found is evaluated. --dnl test-parameter: if set, the program is executed with this arg, --dnl and only a successful exit code is required. --AC_DEFUN([KDE_FIND_PATH], --[ -- AC_MSG_CHECKING([for $1]) -- if test -n "$$2"; then -- kde_cv_path="$$2"; -- else -- kde_cache=`echo $1 | sed 'y%./+-%__p_%'` -- -- AC_CACHE_VAL(kde_cv_path_$kde_cache, -- [ -- kde_cv_path="NONE" -- kde_save_IFS=$IFS -- IFS=':' -- dirs="" -- for dir in $PATH; do -- dirs="$dirs $dir" -- done -- if test -z "$6"; then dnl Append dirs in PATH (default) -- dirs="$3 $dirs" -- else dnl Prepend dirs in PATH (if 6th arg is set) -- dirs="$dirs $3" -- fi -- IFS=$kde_save_IFS -- -- for dir in $dirs; do -- if test -x "$dir/$1"; then -- if test -n "$5" -- then -- evalstr="$dir/$1 $5 2>&1 " -- if eval $evalstr; then -- kde_cv_path="$dir/$1" -- break -- fi -- else -- kde_cv_path="$dir/$1" -- break -- fi -- fi -- done -- -- eval "kde_cv_path_$kde_cache=$kde_cv_path" -- -- ]) -- -- eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\"" -- -- fi -- -- if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then -- AC_MSG_RESULT(not found) -- $4 -- else -- AC_MSG_RESULT($kde_cv_path) -- $2=$kde_cv_path -- -- fi --]) -- --AC_DEFUN([KDE_MOC_ERROR_MESSAGE], --[ -- AC_MSG_ERROR([No Qt meta object compiler (moc) found! --Please check whether you installed Qt correctly. --You need to have a running moc binary. --configure tried to run $ac_cv_path_moc and the test didn't --succeed. If configure shouldn't have tried this one, set --the environment variable MOC to the right one before running --configure. --]) --]) -- --AC_DEFUN([KDE_UIC_ERROR_MESSAGE], --[ -- AC_MSG_WARN([No Qt ui compiler (uic) found! --Please check whether you installed Qt correctly. --You need to have a running uic binary. --configure tried to run $ac_cv_path_uic and the test didn't --succeed. If configure shouldn't have tried this one, set --the environment variable UIC to the right one before running --configure. --]) --]) -- -- --AC_DEFUN([KDE_CHECK_UIC_FLAG], --[ -- AC_MSG_CHECKING([whether uic supports -$1 ]) -- kde_cache=`echo $1 | sed 'y% .=/+-%____p_%'` -- AC_CACHE_VAL(kde_cv_prog_uic_$kde_cache, -- [ -- cat >conftest.ui < --EOT -- ac_uic_testrun="$UIC_PATH -$1 $2 conftest.ui >/dev/null" -- if AC_TRY_EVAL(ac_uic_testrun); then -- eval "kde_cv_prog_uic_$kde_cache=yes" -- else -- eval "kde_cv_prog_uic_$kde_cache=no" -- fi -- rm -f conftest* -- ]) -- -- if eval "test \"`echo '$kde_cv_prog_uic_'$kde_cache`\" = yes"; then -- AC_MSG_RESULT([yes]) -- : -- $3 -- else -- AC_MSG_RESULT([no]) -- : -- $4 -- fi --]) -- -- --dnl ------------------------------------------------------------------------ --dnl Find the meta object compiler and the ui compiler in the PATH, --dnl in $QTDIR/bin, and some more usual places --dnl ------------------------------------------------------------------------ --dnl --AC_DEFUN([AC_PATH_QT_MOC_UIC], --[ -- AC_REQUIRE([KDE_CHECK_PERL]) -- qt_bindirs="" -- for dir in $kde_qt_dirs; do -- qt_bindirs="$qt_bindirs $dir/bin $dir/src/moc" -- done -- qt_bindirs="$qt_bindirs /usr/bin /usr/X11R6/bin /usr/local/qt/bin" -- if test ! "$ac_qt_bindir" = "NO"; then -- qt_bindirs="$ac_qt_bindir $qt_bindirs" -- fi -- -- KDE_FIND_PATH(moc, MOC, [$qt_bindirs], [KDE_MOC_ERROR_MESSAGE]) -- if test -z "$UIC_NOT_NEEDED"; then -- KDE_FIND_PATH(uic, UIC_PATH, [$qt_bindirs], [UIC_PATH=""]) -- if test -z "$UIC_PATH" ; then -- KDE_UIC_ERROR_MESSAGE -- exit 1 -- else -- UIC=$UIC_PATH -- -- if test $kde_qtver = 3; then -- KDE_CHECK_UIC_FLAG(L,[/nonexistent],ac_uic_supports_libpath=yes,ac_uic_supports_libpath=no) -- KDE_CHECK_UIC_FLAG(nounload,,ac_uic_supports_nounload=yes,ac_uic_supports_nounload=no) -- -- if test x$ac_uic_supports_libpath = xyes; then -- UIC="$UIC -L \$(kde_widgetdir)" -- fi -- if test x$ac_uic_supports_nounload = xyes; then -- UIC="$UIC -nounload" -- fi -- fi -- fi -- else -- UIC="echo uic not available: " -- fi -- -- AC_SUBST(MOC) -- AC_SUBST(UIC) -- -- UIC_TR="i18n" -- if test $kde_qtver = 3; then -- UIC_TR="tr2i18n" -- fi -- -- AC_SUBST(UIC_TR) --]) -- --AC_DEFUN([KDE_1_CHECK_PATHS], --[ -- KDE_1_CHECK_PATH_HEADERS -- -- KDE_TEST_RPATH= -- -- if test -n "$USE_RPATH"; then -- -- if test -n "$kde_libraries"; then -- KDE_TEST_RPATH="-R $kde_libraries" -- fi -- -- if test -n "$qt_libraries"; then -- KDE_TEST_RPATH="$KDE_TEST_RPATH -R $qt_libraries" -- fi -- -- if test -n "$x_libraries"; then -- KDE_TEST_RPATH="$KDE_TEST_RPATH -R $x_libraries" -- fi -- -- KDE_TEST_RPATH="$KDE_TEST_RPATH $KDE_EXTRA_RPATH" -- fi -- --AC_MSG_CHECKING([for KDE libraries installed]) --ac_link='$LIBTOOL_SHELL --silent --mode=link ${CXX-g++} -o conftest $CXXFLAGS $all_includes $CPPFLAGS $LDFLAGS $all_libraries conftest.$ac_ext $LIBS -lkdecore $LIBQT $KDE_TEST_RPATH 1>&5' -- --if AC_TRY_EVAL(ac_link) && test -s conftest; then -- AC_MSG_RESULT(yes) --else -- AC_MSG_ERROR([your system fails at linking a small KDE application! --Check, if your compiler is installed correctly and if you have used the --same compiler to compile Qt and kdelibs as you did use now. --For more details about this problem, look at the end of config.log.]) --fi -- --if eval `KDEDIR= ./conftest 2>&5`; then -- kde_result=done --else -- kde_result=problems --fi -- --KDEDIR= ./conftest 2> /dev/null >&5 # make an echo for config.log --kde_have_all_paths=yes -- --KDE_SET_PATHS($kde_result) -- --]) -- --AC_DEFUN([KDE_SET_PATHS], --[ -- kde_cv_all_paths="kde_have_all_paths=\"yes\" \ -- kde_htmldir=\"$kde_htmldir\" \ -- kde_appsdir=\"$kde_appsdir\" \ -- kde_icondir=\"$kde_icondir\" \ -- kde_sounddir=\"$kde_sounddir\" \ -- kde_datadir=\"$kde_datadir\" \ -- kde_locale=\"$kde_locale\" \ -- kde_cgidir=\"$kde_cgidir\" \ -- kde_confdir=\"$kde_confdir\" \ -- kde_kcfgdir=\"$kde_kcfgdir\" \ -- kde_mimedir=\"$kde_mimedir\" \ -- kde_toolbardir=\"$kde_toolbardir\" \ -- kde_wallpaperdir=\"$kde_wallpaperdir\" \ -- kde_templatesdir=\"$kde_templatesdir\" \ -- kde_bindir=\"$kde_bindir\" \ -- kde_servicesdir=\"$kde_servicesdir\" \ -- kde_servicetypesdir=\"$kde_servicetypesdir\" \ -- kde_moduledir=\"$kde_moduledir\" \ -- kde_styledir=\"$kde_styledir\" \ -- kde_widgetdir=\"$kde_widgetdir\" \ -- xdg_appsdir=\"$xdg_appsdir\" \ -- xdg_menudir=\"$xdg_menudir\" \ -- xdg_directorydir=\"$xdg_directorydir\" \ -- kde_result=$1" --]) -- --AC_DEFUN([KDE_SET_DEFAULT_PATHS], --[ --if test "$1" = "default"; then -- -- if test -z "$kde_htmldir"; then -- kde_htmldir='\${datadir}/doc/tde/HTML' -- fi -- if test -z "$kde_appsdir"; then -- kde_appsdir='\${datadir}/applnk' -- fi -- if test -z "$kde_icondir"; then -- kde_icondir='\${datadir}/icons' -- fi -- if test -z "$kde_sounddir"; then -- kde_sounddir='\${datadir}/sounds' -- fi -- if test -z "$kde_datadir"; then -- kde_datadir='\${datadir}/apps' -- fi -- if test -z "$kde_locale"; then -- kde_locale='\${datadir}/locale' -- fi -- if test -z "$kde_cgidir"; then -- kde_cgidir='\${exec_prefix}/cgi-bin' -- fi -- if test -z "$kde_confdir"; then -- kde_confdir='\${datadir}/config' -- fi -- if test -z "$kde_kcfgdir"; then -- kde_kcfgdir='\${datadir}/config.kcfg' -- fi -- if test -z "$kde_mimedir"; then -- kde_mimedir='\${datadir}/mimelnk' -- fi -- if test -z "$kde_toolbardir"; then -- kde_toolbardir='\${datadir}/toolbar' -- fi -- if test -z "$kde_wallpaperdir"; then -- kde_wallpaperdir='\${datadir}/wallpapers' -- fi -- if test -z "$kde_templatesdir"; then -- kde_templatesdir='\${datadir}/templates' -- fi -- if test -z "$kde_bindir"; then -- kde_bindir='\${exec_prefix}/bin' -- fi -- if test -z "$kde_servicesdir"; then -- kde_servicesdir='\${datadir}/services' -- fi -- if test -z "$kde_servicetypesdir"; then -- kde_servicetypesdir='\${datadir}/servicetypes' -- fi -- if test -z "$kde_moduledir"; then -- if test "$kde_qtver" = "2"; then -- kde_moduledir='\${libdir}/kde2' -- else -- kde_moduledir='\${libdir}/trinity' -- fi -- fi -- if test -z "$kde_styledir"; then -- kde_styledir='\${libdir}/trinity/plugins/styles' -- fi -- if test -z "$kde_widgetdir"; then -- kde_widgetdir='\${libdir}/trinity/plugins/designer' -- fi -- if test -z "$xdg_appsdir"; then -- xdg_appsdir='\${datadir}/applications/kde' -- fi -- if test -z "$xdg_menudir"; then -- xdg_menudir='\${sysconfdir}/xdg/menus' -- fi -- if test -z "$xdg_directorydir"; then -- xdg_directorydir='\${datadir}/desktop-directories' -- fi -- -- KDE_SET_PATHS(defaults) -- --else -- -- if test $kde_qtver = 1; then -- AC_MSG_RESULT([compiling]) -- KDE_1_CHECK_PATHS -- else -- AC_MSG_ERROR([path checking not yet supported for KDE 2]) -- fi -- --fi --]) -- --AC_DEFUN([KDE_CHECK_PATHS_FOR_COMPLETENESS], --[ if test -z "$kde_htmldir" || test -z "$kde_appsdir" || -- test -z "$kde_icondir" || test -z "$kde_sounddir" || -- test -z "$kde_datadir" || test -z "$kde_locale" || -- test -z "$kde_cgidir" || test -z "$kde_confdir" || -- test -z "$kde_kcfgdir" || -- test -z "$kde_mimedir" || test -z "$kde_toolbardir" || -- test -z "$kde_wallpaperdir" || test -z "$kde_templatesdir" || -- test -z "$kde_bindir" || test -z "$kde_servicesdir" || -- test -z "$kde_servicetypesdir" || test -z "$kde_moduledir" || -- test -z "$kde_styledir" || test -z "kde_widgetdir" || -- test -z "$xdg_appsdir" || test -z "$xdg_menudir" || test -z "$xdg_directorydir" || -- test "x$kde_have_all_paths" != "xyes"; then -- kde_have_all_paths=no -- fi --]) -- --AC_DEFUN([KDE_MISSING_PROG_ERROR], --[ -- AC_MSG_ERROR([The important program $1 was not found! --Please check whether you installed KDE correctly. --]) --]) -- --AC_DEFUN([KDE_MISSING_ARTS_ERROR], --[ -- AC_MSG_ERROR([The important program $1 was not found! --Please check whether you installed aRts correctly or use ----without-arts to compile without aRts support (this will remove functionality). --]) --]) -- --AC_DEFUN([KDE_SET_DEFAULT_BINDIRS], --[ -- kde_default_bindirs="/usr/bin /usr/local/bin /opt/local/bin /usr/X11R6/bin /opt/kde/bin /opt/trinity/bin /usr/kde/bin /usr/local/kde/bin" -- test -n "$KDEDIR" && kde_default_bindirs="$KDEDIR/bin $kde_default_bindirs" -- if test -n "$KDEDIRS"; then -- kde_save_IFS=$IFS -- IFS=: -- for dir in $KDEDIRS; do -- kde_default_bindirs="$dir/bin $kde_default_bindirs " -- done -- IFS=$kde_save_IFS -- fi --]) -- --AC_DEFUN([KDE_SUBST_PROGRAMS], --[ -- AC_ARG_WITH(arts, -- AC_HELP_STRING([--without-arts],[build without aRts [default=no]]), -- [build_arts=$withval], -- [build_arts=yes] -- ) -- AM_CONDITIONAL(include_ARTS, test "$build_arts" '!=' "no") -- if test "$build_arts" = "no"; then -- AC_DEFINE(WITHOUT_ARTS, 1, [Defined if compiling without arts]) -- fi -- -- KDE_SET_DEFAULT_BINDIRS -- kde_default_bindirs="$exec_prefix/bin $prefix/bin $kde_libs_prefix/bin $kde_default_bindirs" -- KDE_FIND_PATH(dcopidl, DCOPIDL, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(dcopidl)]) -- KDE_FIND_PATH(dcopidl2cpp, DCOPIDL2CPP, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(dcopidl2cpp)]) -- if test "$build_arts" '!=' "no"; then -- KDE_FIND_PATH(mcopidl, MCOPIDL, [$kde_default_bindirs], [KDE_MISSING_ARTS_ERROR(mcopidl)]) -- KDE_FIND_PATH(artsc-config, ARTSCCONFIG, [$kde_default_bindirs], [KDE_MISSING_ARTS_ERROR(artsc-config)]) -- fi -- KDE_FIND_PATH(meinproc, MEINPROC, [$kde_default_bindirs]) -- -- trinity2ornewer=1 -- trinity3ornewer=1 -- if test -n "$kde_qtver" && test "$kde_qtver" -lt 3; then -- trinity2ornewer= -- trinity3ornewer= -- else -- if test "$kde_qtver" = "3"; then -- if test "$kde_qtsubver" -le 1; then -- trinity2ornewer= -- fi -- if test "$kde_qtsubver" -le 2; then -- trinity3ornewer= -- fi -- if test "$KDECONFIG" != "compiled"; then -- if test `$KDECONFIG --version | grep KDE | sed 's/KDE: \(...\).*/\1/'` = 3.2; then -- trinity3ornewer= -- fi -- fi -- fi -- fi -- -- if test -n "$trinity2ornewer"; then -- KDE_FIND_PATH(kconfig_compiler, KCONFIG_COMPILER, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(kconfig_compiler)]) -- KDE_FIND_PATH(dcopidlng, DCOPIDLNG, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(dcopidlng)]) -- fi -- if test -n "$trinity3ornewer"; then -- KDE_FIND_PATH(makekdewidgets, MAKEKDEWIDGETS, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(makekdewidgets)]) -- AC_SUBST(MAKEKDEWIDGETS) -- fi -- KDE_FIND_PATH(xmllint, XMLLINT, [${prefix}/bin ${exec_prefix}/bin], [XMLLINT=""]) -- -- if test -n "$MEINPROC" -a "$MEINPROC" != "compiled"; then -- kde_sharedirs="/usr/share/kde /usr/local/share /usr/share /opt/trinity/share /opt/kde/share $prefix/share" -- test -n "$KDEDIR" && kde_sharedirs="$KDEDIR/share $kde_sharedirs" -- AC_FIND_FILE(apps/ksgmltools2/customization/kde-chunk.xsl, $kde_sharedirs, KDE_XSL_STYLESHEET) -- if test "$KDE_XSL_STYLESHEET" = "NO"; then -- KDE_XSL_STYLESHEET="" -- else -- KDE_XSL_STYLESHEET="$KDE_XSL_STYLESHEET/apps/ksgmltools2/customization/kde-chunk.xsl" -- fi -- fi -- -- DCOP_DEPENDENCIES='$(DCOPIDL)' -- if test -n "$trinity2ornewer"; then -- KCFG_DEPENDENCIES='$(KCONFIG_COMPILER)' -- DCOP_DEPENDENCIES='$(DCOPIDL) $(DCOPIDLNG)' -- AC_SUBST(KCONFIG_COMPILER) -- AC_SUBST(KCFG_DEPENDENCIES) -- AC_SUBST(DCOPIDLNG) -- fi -- AC_SUBST(DCOPIDL) -- AC_SUBST(DCOPIDL2CPP) -- AC_SUBST(DCOP_DEPENDENCIES) -- AC_SUBST(MCOPIDL) -- AC_SUBST(ARTSCCONFIG) -- AC_SUBST(MEINPROC) -- AC_SUBST(KDE_XSL_STYLESHEET) -- AC_SUBST(XMLLINT) --])dnl -- --AC_DEFUN([AC_CREATE_KFSSTND], --[ --AC_REQUIRE([AC_CHECK_RPATH]) -- --AC_MSG_CHECKING([for KDE paths]) --kde_result="" --kde_cached_paths=yes --AC_CACHE_VAL(kde_cv_all_paths, --[ -- KDE_SET_DEFAULT_PATHS($1) -- kde_cached_paths=no --]) --eval "$kde_cv_all_paths" --KDE_CHECK_PATHS_FOR_COMPLETENESS --if test "$kde_have_all_paths" = "no" && test "$kde_cached_paths" = "yes"; then -- # wrong values were cached, may be, we can set better ones -- kde_result= -- kde_htmldir= kde_appsdir= kde_icondir= kde_sounddir= -- kde_datadir= kde_locale= kde_cgidir= kde_confdir= kde_kcfgdir= -- kde_mimedir= kde_toolbardir= kde_wallpaperdir= kde_templatesdir= -- kde_bindir= kde_servicesdir= kde_servicetypesdir= kde_moduledir= -- kde_have_all_paths= -- kde_styledir= -- kde_widgetdir= -- xdg_appsdir = xdg_menudir= xdg_directorydir= -- KDE_SET_DEFAULT_PATHS($1) -- eval "$kde_cv_all_paths" -- KDE_CHECK_PATHS_FOR_COMPLETENESS -- kde_result="$kde_result (cache overridden)" --fi --if test "$kde_have_all_paths" = "no"; then -- AC_MSG_ERROR([configure could not run a little KDE program to test the environment. --Since it had compiled and linked before, it must be a strange problem on your system. --Look at config.log for details. If you are not able to fix this, look at --http://www.kde.org/faq/installation.html or any www.kde.org mirror. --(If you're using an egcs version on Linux, you may update binutils!) --]) --else -- rm -f conftest* -- AC_MSG_RESULT($kde_result) --fi -- --bindir=$kde_bindir -- --KDE_SUBST_PROGRAMS -- --]) -- --AC_DEFUN([AC_SUBST_KFSSTND], --[ --AC_SUBST(kde_htmldir) --AC_SUBST(kde_appsdir) --AC_SUBST(kde_icondir) --AC_SUBST(kde_sounddir) --AC_SUBST(kde_datadir) --AC_SUBST(kde_locale) --AC_SUBST(kde_confdir) --AC_SUBST(kde_kcfgdir) --AC_SUBST(kde_mimedir) --AC_SUBST(kde_wallpaperdir) --AC_SUBST(kde_bindir) --dnl X Desktop Group standards --AC_SUBST(xdg_appsdir) --AC_SUBST(xdg_menudir) --AC_SUBST(xdg_directorydir) --dnl for KDE 2 --AC_SUBST(kde_templatesdir) --AC_SUBST(kde_servicesdir) --AC_SUBST(kde_servicetypesdir) --AC_SUBST(kde_moduledir) --AC_SUBST(kdeinitdir, '$(kde_moduledir)') --AC_SUBST(kde_styledir) --AC_SUBST(kde_widgetdir) --if test "$kde_qtver" = 1; then -- kde_minidir="$kde_icondir/mini" --else --# for KDE 1 - this breaks KDE2 apps using minidir, but --# that's the plan ;-/ -- kde_minidir="/dev/null" --fi --dnl AC_SUBST(kde_minidir) --dnl AC_SUBST(kde_cgidir) --dnl AC_SUBST(kde_toolbardir) --]) -- --AC_DEFUN([KDE_MISC_TESTS], --[ -- dnl Checks for libraries. -- AC_CHECK_LIB(util, main, [LIBUTIL="-lutil"]) dnl for *BSD -- AC_SUBST(LIBUTIL) -- AC_CHECK_LIB(compat, main, [LIBCOMPAT="-lcompat"]) dnl for *BSD -- AC_SUBST(LIBCOMPAT) -- kde_have_crypt= -- AC_CHECK_LIB(crypt, crypt, [LIBCRYPT="-lcrypt"; kde_have_crypt=yes], -- AC_CHECK_LIB(c, crypt, [kde_have_crypt=yes], [ -- AC_MSG_WARN([you have no crypt in either libcrypt or libc. --You should install libcrypt from another source or configure with PAM --support]) -- kde_have_crypt=no -- ])) -- AC_SUBST(LIBCRYPT) -- if test $kde_have_crypt = yes; then -- AC_DEFINE_UNQUOTED(HAVE_CRYPT, 1, [Defines if your system has the crypt function]) -- fi -- AC_CHECK_SOCKLEN_T -- AC_CHECK_LIB(dnet, dnet_ntoa, [X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"]) -- if test $ac_cv_lib_dnet_dnet_ntoa = no; then -- AC_CHECK_LIB(dnet_stub, dnet_ntoa, -- [X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"]) -- fi -- AC_CHECK_FUNC(inet_ntoa) -- if test $ac_cv_func_inet_ntoa = no; then -- AC_CHECK_LIB(nsl, inet_ntoa, X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl") -- fi -- AC_CHECK_FUNC(connect) -- if test $ac_cv_func_connect = no; then -- AC_CHECK_LIB(socket, connect, X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS", , -- $X_EXTRA_LIBS) -- fi -- -- AC_CHECK_FUNC(remove) -- if test $ac_cv_func_remove = no; then -- AC_CHECK_LIB(posix, remove, X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix") -- fi -- -- # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. -- AC_CHECK_FUNC(shmat, , -- AC_CHECK_LIB(ipc, shmat, X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc")) -- -- # more headers that need to be explicitly included on darwin -- AC_CHECK_HEADERS(sys/types.h stdint.h) -- -- # sys/bitypes.h is needed for uint32_t and friends on Tru64 -- AC_CHECK_HEADERS(sys/bitypes.h) -- -- # darwin requires a poll emulation library -- AC_CHECK_LIB(poll, poll, LIB_POLL="-lpoll") -- -- # for some image handling on Mac OS X -- AC_CHECK_HEADERS(Carbon/Carbon.h) -- -- # CoreAudio framework -- AC_CHECK_HEADER(CoreAudio/CoreAudio.h, [ -- AC_DEFINE(HAVE_COREAUDIO, 1, [Define if you have the CoreAudio API]) -- FRAMEWORK_COREAUDIO="-Wl,-framework,CoreAudio" -- ]) -- -- AC_CHECK_RES_INIT -- AC_SUBST(LIB_POLL) -- AC_SUBST(FRAMEWORK_COREAUDIO) -- LIBSOCKET="$X_EXTRA_LIBS" -- AC_SUBST(LIBSOCKET) -- AC_SUBST(X_EXTRA_LIBS) -- AC_CHECK_LIB(ucb, killpg, [LIBUCB="-lucb"]) dnl for Solaris2.4 -- AC_SUBST(LIBUCB) -- -- case $host in dnl this *is* LynxOS specific -- *-*-lynxos* ) -- AC_MSG_CHECKING([LynxOS header file wrappers]) -- [CFLAGS="$CFLAGS -D__NO_INCLUDE_WARN__"] -- AC_MSG_RESULT(disabled) -- AC_CHECK_LIB(bsd, gethostbyname, [LIBSOCKET="-lbsd"]) dnl for LynxOS -- ;; -- esac -- -- KDE_CHECK_TYPES -- KDE_CHECK_LIBDL -- KDE_CHECK_STRLCPY -- KDE_CHECK_PIE_SUPPORT -- --# darwin needs this to initialize the environment --AC_CHECK_HEADERS(crt_externs.h) --AC_CHECK_FUNC(_NSGetEnviron, [AC_DEFINE(HAVE_NSGETENVIRON, 1, [Define if your system needs _NSGetEnviron to set up the environment])]) -- --AH_VERBATIM(_DARWIN_ENVIRON, --[ --#if defined(HAVE_NSGETENVIRON) && defined(HAVE_CRT_EXTERNS_H) --# include --# include --# define environ (*_NSGetEnviron()) --#endif --]) -- --AH_VERBATIM(_AIX_STRINGS_H_BZERO, --[ --/* -- * AIX defines FD_SET in terms of bzero, but fails to include -- * that defines bzero. -- */ -- --#if defined(_AIX) --#include --#endif --]) -- --AC_CHECK_FUNCS([vsnprintf snprintf]) -- --AH_VERBATIM(_TRU64,[ --/* -- * On HP-UX, the declaration of vsnprintf() is needed every time ! -- */ -- --#if !defined(HAVE_VSNPRINTF) || defined(hpux) --#if __STDC__ --#include --#include --#else --#include --#endif --#ifdef __cplusplus --extern "C" --#endif --int vsnprintf(char *str, size_t n, char const *fmt, va_list ap); --#ifdef __cplusplus --extern "C" --#endif --int snprintf(char *str, size_t n, char const *fmt, ...); --#endif --]) -- --]) -- --dnl ------------------------------------------------------------------------ --dnl Find the header files and libraries for X-Windows. Extended the --dnl macro AC_PATH_X --dnl ------------------------------------------------------------------------ --dnl --AC_DEFUN([K_PATH_X], --[ --AC_REQUIRE([KDE_MISC_TESTS])dnl --AC_REQUIRE([KDE_CHECK_LIB64]) -- --AC_ARG_ENABLE( -- embedded, -- AC_HELP_STRING([--enable-embedded],[link to Qt-embedded, don't use X]), -- kde_use_qt_emb=$enableval, -- kde_use_qt_emb=no --) -- --AC_ARG_ENABLE( -- qtopia, -- AC_HELP_STRING([--enable-qtopia],[link to Qt-embedded, link to the Qtopia Environment]), -- kde_use_qt_emb_palm=$enableval, -- kde_use_qt_emb_palm=no --) -- --AC_ARG_ENABLE( -- mac, -- AC_HELP_STRING([--enable-mac],[link to Qt/Mac (don't use X)]), -- kde_use_qt_mac=$enableval, -- kde_use_qt_mac=no --) -- --# used to disable x11-specific stuff on special platforms --AM_CONDITIONAL(include_x11, test "$kde_use_qt_emb" = "no" && test "$kde_use_qt_mac" = "no") -- --if test "$kde_use_qt_emb" = "no" && test "$kde_use_qt_mac" = "no"; then -- --AC_MSG_CHECKING(for X) -- --AC_CACHE_VAL(kde_cv_have_x, --[# One or both of the vars are not set, and there is no cached value. --if test "{$x_includes+set}" = set || test "$x_includes" = NONE; then -- kde_x_includes=NO --else -- kde_x_includes=$x_includes --fi --if test "{$x_libraries+set}" = set || test "$x_libraries" = NONE; then -- kde_x_libraries=NO --else -- kde_x_libraries=$x_libraries --fi -- --# below we use the standard autoconf calls --ac_x_libraries=$kde_x_libraries --ac_x_includes=$kde_x_includes -- --KDE_PATH_X_DIRECT --dnl AC_PATH_X_XMKMF picks /usr/lib as the path for the X libraries. --dnl Unfortunately, if compiling with the N32 ABI, this is not the correct --dnl location. The correct location is /usr/lib32 or an undefined value --dnl (the linker is smart enough to pick the correct default library). --dnl Things work just fine if you use just AC_PATH_X_DIRECT. --dnl Solaris has a similar problem. AC_PATH_X_XMKMF forces x_includes to --dnl /usr/openwin/include, which doesn't work. /usr/include does work, so --dnl x_includes should be left alone. --case "$host" in --mips-sgi-irix6*) -- ;; --*-*-solaris*) -- ;; --*) -- _AC_PATH_X_XMKMF -- if test -z "$ac_x_includes"; then -- ac_x_includes="." -- fi -- if test -z "$ac_x_libraries"; then -- ac_x_libraries="/usr/lib${kdelibsuff}" -- fi --esac --#from now on we use our own again -- --# when the user already gave --x-includes, we ignore --# what the standard autoconf macros told us. --if test "$kde_x_includes" = NO; then -- kde_x_includes=$ac_x_includes --fi -- --# for --x-libraries too --if test "$kde_x_libraries" = NO; then -- kde_x_libraries=$ac_x_libraries --fi -- --if test "$kde_x_includes" = NO; then -- AC_MSG_ERROR([Can't find X includes. Please check your installation and add the correct paths!]) --fi -- --if test "$kde_x_libraries" = NO; then -- AC_MSG_ERROR([Can't find X libraries. Please check your installation and add the correct paths!]) --fi -- --# Record where we found X for the cache. --kde_cv_have_x="have_x=yes \ -- kde_x_includes=$kde_x_includes kde_x_libraries=$kde_x_libraries" --])dnl -- --eval "$kde_cv_have_x" -- --if test "$have_x" != yes; then -- AC_MSG_RESULT($have_x) -- no_x=yes --else -- AC_MSG_RESULT([libraries $kde_x_libraries, headers $kde_x_includes]) --fi -- --if test -z "$kde_x_includes" || test "x$kde_x_includes" = xNONE; then -- X_INCLUDES="" -- x_includes="."; dnl better than nothing :- -- else -- x_includes=$kde_x_includes -- X_INCLUDES="-I$x_includes" --fi -- --if test -z "$kde_x_libraries" || test "x$kde_x_libraries" = xNONE || test "$kde_x_libraries" = "/usr/lib"; then -- X_LDFLAGS="" -- x_libraries="/usr/lib"; dnl better than nothing :- -- else -- x_libraries=$kde_x_libraries -- X_LDFLAGS="-L$x_libraries" --fi --all_includes="$X_INCLUDES" --all_libraries="$X_LDFLAGS $LDFLAGS_AS_NEEDED $LDFLAGS_NEW_DTAGS" -- --# Check for libraries that X11R6 Xt/Xaw programs need. --ac_save_LDFLAGS="$LDFLAGS" --LDFLAGS="$LDFLAGS $X_LDFLAGS" --# SM needs ICE to (dynamically) link under SunOS 4.x (so we have to --# check for ICE first), but we must link in the order -lSM -lICE or --# we get undefined symbols. So assume we have SM if we have ICE. --# These have to be linked with before -lX11, unlike the other --# libraries we check for below, so use a different variable. --# --interran@uluru.Stanford.EDU, kb@cs.umb.edu. --AC_CHECK_LIB(ICE, IceConnectionNumber, -- [LIBSM="-lSM -lICE"], , $X_EXTRA_LIBS) --LDFLAGS="$ac_save_LDFLAGS" -- --LIB_X11='-lX11 $(LIBSOCKET)' -- --AC_MSG_CHECKING(for libXext) --AC_CACHE_VAL(kde_cv_have_libXext, --[ --kde_ldflags_safe="$LDFLAGS" --kde_libs_safe="$LIBS" -- --LDFLAGS="$LDFLAGS $X_LDFLAGS $USER_LDFLAGS" --LIBS="-lXext -lX11 $LIBSOCKET" -- --AC_TRY_LINK([ --#include --#ifdef STDC_HEADERS --# include --#endif --], --[ --printf("hello Xext\n"); --], --kde_cv_have_libXext=yes, --kde_cv_have_libXext=no --) -- --LDFLAGS=$kde_ldflags_safe --LIBS=$kde_libs_safe --]) -- --AC_MSG_RESULT($kde_cv_have_libXext) -- --if test "$kde_cv_have_libXext" = "no"; then -- AC_MSG_ERROR([We need a working libXext to proceed. Since configure --can't find it itself, we stop here assuming that make wouldn't find --them either.]) --fi -- --LIB_XEXT="-lXext" --QTE_NORTTI="" -- --elif test "$kde_use_qt_emb" = "yes"; then -- dnl We're using QT Embedded -- CPPFLAGS=-DQWS -- CXXFLAGS="$CXXFLAGS -fno-rtti" -- QTE_NORTTI="-fno-rtti -DQWS" -- X_PRE_LIBS="" -- LIB_X11="" -- LIB_XEXT="" -- LIB_XRENDER="" -- LIBSM="" -- X_INCLUDES="" -- X_LDFLAGS="" -- x_includes="" -- x_libraries="" --elif test "$kde_use_qt_mac" = "yes"; then -- dnl We're using QT/Mac (I use QT_MAC so that qglobal.h doesn't *have* to -- dnl be included to get the information) --Sam -- CXXFLAGS="$CXXFLAGS -DQT_MAC -no-cpp-precomp" -- CFLAGS="$CFLAGS -DQT_MAC -no-cpp-precomp" -- X_PRE_LIBS="" -- LIB_X11="" -- LIB_XEXT="" -- LIB_XRENDER="" -- LIBSM="" -- X_INCLUDES="" -- X_LDFLAGS="" -- x_includes="" -- x_libraries="" --fi --AC_SUBST(X_PRE_LIBS) --AC_SUBST(LIB_X11) --AC_SUBST(LIB_XRENDER) --AC_SUBST(LIBSM) --AC_SUBST(X_INCLUDES) --AC_SUBST(X_LDFLAGS) --AC_SUBST(x_includes) --AC_SUBST(x_libraries) --AC_SUBST(QTE_NORTTI) --AC_SUBST(LIB_XEXT) -- --]) -- --AC_DEFUN([KDE_PRINT_QT_PROGRAM], --[ --AC_REQUIRE([KDE_USE_QT]) --cat > conftest.$ac_ext < --#include --EOF --if test "$kde_qtver" = "2"; then --cat >> conftest.$ac_ext < --#include --#include --EOF -- --if test $kde_qtsubver -gt 0; then --cat >> conftest.$ac_ext <> conftest.$ac_ext < --#include --#include --EOF --fi -- --echo "#if ! ($kde_qt_verstring)" >> conftest.$ac_ext --cat >> conftest.$ac_ext <> conftest.$ac_ext <> conftest.$ac_ext <> conftest.$ac_ext <> conftest.$ac_ext <&AC_FD_CC -- cat conftest.$ac_ext >&AC_FD_CC --fi -- --rm -f conftest* --CXXFLAGS="$ac_cxxflags_safe" --LDFLAGS="$ac_ldflags_safe" --LIBS="$ac_libs_safe" -- --LD_LIBRARY_PATH="$ac_LD_LIBRARY_PATH_safe" --export LD_LIBRARY_PATH --LIBRARY_PATH="$ac_LIBRARY_PATH" --export LIBRARY_PATH --AC_LANG_RESTORE --]) -- --if test "$kde_cv_qt_direct" = "yes"; then -- AC_MSG_RESULT(yes) -- $1 --else -- AC_MSG_RESULT(no) -- $2 --fi --]) -- --dnl ------------------------------------------------------------------------ --dnl Try to find the Qt headers and libraries. --dnl $(QT_LDFLAGS) will be -Lqtliblocation (if needed) --dnl and $(QT_INCLUDES) will be -Iqthdrlocation (if needed) --dnl ------------------------------------------------------------------------ --dnl --AC_DEFUN([AC_PATH_QT_1_3], --[ --AC_REQUIRE([K_PATH_X]) --AC_REQUIRE([KDE_USE_QT]) --AC_REQUIRE([KDE_CHECK_LIB64]) -- --dnl ------------------------------------------------------------------------ --dnl Add configure flag to enable linking to MT version of Qt library. --dnl ------------------------------------------------------------------------ -- --AC_ARG_ENABLE( -- mt, -- AC_HELP_STRING([--disable-mt],[link to non-threaded Qt (deprecated)]), -- kde_use_qt_mt=$enableval, -- [ -- if test $kde_qtver = 3; then -- kde_use_qt_mt=yes -- else -- kde_use_qt_mt=no -- fi -- ] --) -- --USING_QT_MT="" -- --dnl ------------------------------------------------------------------------ --dnl If we not get --disable-qt-mt then adjust some vars for the host. --dnl ------------------------------------------------------------------------ -- --KDE_MT_LDFLAGS= --KDE_MT_LIBS= --if test "x$kde_use_qt_mt" = "xyes"; then -- KDE_CHECK_THREADING -- if test "x$kde_use_threading" = "xyes"; then -- CPPFLAGS="$USE_THREADS -DQT_THREAD_SUPPORT $CPPFLAGS" -- KDE_MT_LDFLAGS="$USE_THREADS" -- KDE_MT_LIBS="$LIBPTHREAD" -- else -- kde_use_qt_mt=no -- fi --fi --AC_SUBST(KDE_MT_LDFLAGS) --AC_SUBST(KDE_MT_LIBS) -- --kde_qt_was_given=yes -- --dnl ------------------------------------------------------------------------ --dnl If we haven't been told how to link to Qt, we work it out for ourselves. --dnl ------------------------------------------------------------------------ --if test -z "$LIBQT_GLOB"; then -- if test "x$kde_use_qt_emb" = "xyes"; then -- LIBQT_GLOB="libqte.*" -- else -- LIBQT_GLOB="libqt.*" -- fi --fi -- --dnl ------------------------------------------------------------ --dnl If we got --enable-embedded then adjust the Qt library name. --dnl ------------------------------------------------------------ --if test "x$kde_use_qt_emb" = "xyes"; then -- qtlib="qte" --else -- qtlib="qt" --fi -- --kde_int_qt="-l$qtlib" -- --if test -z "$LIBQPE"; then --dnl ------------------------------------------------------------ --dnl If we got --enable-palmtop then add -lqpe to the link line --dnl ------------------------------------------------------------ -- if test "x$kde_use_qt_emb" = "xyes"; then -- if test "x$kde_use_qt_emb_palm" = "xyes"; then -- LIB_QPE="-lqpe" -- else -- LIB_QPE="" -- fi -- else -- LIB_QPE="" -- fi --fi -- --dnl ------------------------------------------------------------------------ --dnl If we got --enable-qt-mt then adjust the Qt library name for the host. --dnl ------------------------------------------------------------------------ -- --if test "x$kde_use_qt_mt" = "xyes"; then -- LIBQT="-l$qtlib-mt" -- kde_int_qt="-l$qtlib-mt" -- LIBQT_GLOB="lib$qtlib-mt.*" -- USING_QT_MT="using -mt" --else -- LIBQT="-l$qtlib" --fi -- --if test $kde_qtver != 1; then -- -- AC_REQUIRE([AC_FIND_PNG]) -- AC_REQUIRE([AC_FIND_JPEG]) -- LIBQT="$LIBQT $LIBPNG $LIBJPEG" --fi -- --if test $kde_qtver = 3; then -- AC_REQUIRE([KDE_CHECK_LIBDL]) -- LIBQT="$LIBQT $LIBDL" --fi -- --AC_MSG_CHECKING([for Qt]) -- --if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then --LIBQT="$LIBQT $X_PRE_LIBS -lXext -lX11 $LIBSM $LIBSOCKET" --fi --ac_qt_includes=NO ac_qt_libraries=NO ac_qt_bindir=NO --qt_libraries="" --qt_includes="" --AC_ARG_WITH(qt-dir, -- AC_HELP_STRING([--with-qt-dir=DIR],[where the root of Qt is installed ]), -- [ ac_qt_includes="$withval"/include -- ac_qt_libraries="$withval"/lib${kdelibsuff} -- ac_qt_bindir="$withval"/bin -- ]) -- --AC_ARG_WITH(qt-includes, -- AC_HELP_STRING([--with-qt-includes=DIR],[where the Qt includes are. ]), -- [ -- ac_qt_includes="$withval" -- ]) -- --kde_qt_libs_given=no -- --AC_ARG_WITH(qt-libraries, -- AC_HELP_STRING([--with-qt-libraries=DIR],[where the Qt library is installed.]), -- [ ac_qt_libraries="$withval" -- kde_qt_libs_given=yes -- ]) -- --AC_CACHE_VAL(ac_cv_have_qt, --[#try to guess Qt locations -- --qt_incdirs="" --for dir in $kde_qt_dirs; do -- qt_incdirs="$qt_incdirs $dir/include $dir" --done --qt_incdirs="$QTINC $qt_incdirs /usr/local/qt/include /usr/include/qt /usr/include /usr/X11R6/include/X11/qt /usr/X11R6/include/qt /usr/X11R6/include/qt2 /usr/include/qt3 $x_includes" --if test ! "$ac_qt_includes" = "NO"; then -- qt_incdirs="$ac_qt_includes $qt_incdirs" --fi -- --if test "$kde_qtver" != "1"; then -- kde_qt_header=qstyle.h --else -- kde_qt_header=qglobal.h --fi -- --AC_FIND_FILE($kde_qt_header, $qt_incdirs, qt_incdir) --ac_qt_includes="$qt_incdir" -- --qt_libdirs="" --for dir in $kde_qt_dirs; do -- qt_libdirs="$qt_libdirs $dir/lib${kdelibsuff} $dir" --done --qt_libdirs="$QTLIB $qt_libdirs /usr/X11R6/lib /usr/lib /usr/local/qt/lib $x_libraries" --if test ! "$ac_qt_libraries" = "NO"; then -- qt_libdir=$ac_qt_libraries --else -- qt_libdirs="$ac_qt_libraries $qt_libdirs" -- # if the Qt was given, the chance is too big that libqt.* doesn't exist -- qt_libdir=NONE -- for dir in $qt_libdirs; do -- try="ls -1 $dir/${LIBQT_GLOB}" -- if test -n "`$try 2> /dev/null`"; then qt_libdir=$dir; break; else echo "tried $dir" >&AC_FD_CC ; fi -- done --fi --for a in $qt_libdir/lib`echo ${kde_int_qt} | sed 's,^-l,,'`_incremental.*; do -- if test -e "$a"; then -- LIBQT="$LIBQT ${kde_int_qt}_incremental" -- break -- fi --done -- --ac_qt_libraries="$qt_libdir" -- --AC_LANG_SAVE --AC_LANG_CPLUSPLUS -- --ac_cxxflags_safe="$CXXFLAGS" --ac_ldflags_safe="$LDFLAGS" --ac_libs_safe="$LIBS" -- --CXXFLAGS="$CXXFLAGS -I$qt_incdir $all_includes" --LDFLAGS="$LDFLAGS -L$qt_libdir $all_libraries $USER_LDFLAGS $KDE_MT_LDFLAGS" --LIBS="$LIBS $LIBQT $KDE_MT_LIBS" -- --KDE_PRINT_QT_PROGRAM -- --if AC_TRY_EVAL(ac_link) && test -s conftest; then -- rm -f conftest* --else -- echo "configure: failed program was:" >&AC_FD_CC -- cat conftest.$ac_ext >&AC_FD_CC -- ac_qt_libraries="NO" --fi --rm -f conftest* --CXXFLAGS="$ac_cxxflags_safe" --LDFLAGS="$ac_ldflags_safe" --LIBS="$ac_libs_safe" -- --AC_LANG_RESTORE --if test "$ac_qt_includes" = NO || test "$ac_qt_libraries" = NO; then -- ac_cv_have_qt="have_qt=no" -- ac_qt_notfound="" -- missing_qt_mt="" -- if test "$ac_qt_includes" = NO; then -- if test "$ac_qt_libraries" = NO; then -- ac_qt_notfound="(headers and libraries)"; -- else -- ac_qt_notfound="(headers)"; -- fi -- else -- if test "x$kde_use_qt_mt" = "xyes"; then -- missing_qt_mt=" --Make sure that you have compiled Qt with thread support!" -- ac_qt_notfound="(library $qtlib-mt)"; -- else -- ac_qt_notfound="(library $qtlib)"; -- fi -- fi -- -- AC_MSG_ERROR([Qt ($kde_qt_minversion) $ac_qt_notfound not found. Please check your installation! --For more details about this problem, look at the end of config.log.$missing_qt_mt]) --else -- have_qt="yes" --fi --]) -- --eval "$ac_cv_have_qt" -- --if test "$have_qt" != yes; then -- AC_MSG_RESULT([$have_qt]); --else -- ac_cv_have_qt="have_qt=yes \ -- ac_qt_includes=$ac_qt_includes ac_qt_libraries=$ac_qt_libraries" -- AC_MSG_RESULT([libraries $ac_qt_libraries, headers $ac_qt_includes $USING_QT_MT]) -- -- qt_libraries="$ac_qt_libraries" -- qt_includes="$ac_qt_includes" --fi -- --if test ! "$kde_qt_libs_given" = "yes" && test ! "$kde_qtver" = 3; then -- KDE_CHECK_QT_DIRECT(qt_libraries= ,[]) --fi -- --AC_SUBST(qt_libraries) --AC_SUBST(qt_includes) -- --if test "$qt_includes" = "$x_includes" || test -z "$qt_includes"; then -- QT_INCLUDES="" --else -- QT_INCLUDES="-I$qt_includes" -- all_includes="$QT_INCLUDES $all_includes" --fi -- --if test "$qt_libraries" = "$x_libraries" || test -z "$qt_libraries"; then -- QT_LDFLAGS="" --else -- QT_LDFLAGS="-L$qt_libraries" -- all_libraries="$QT_LDFLAGS $all_libraries" --fi --test -z "$KDE_MT_LDFLAGS" || all_libraries="$all_libraries $KDE_MT_LDFLAGS" -- --AC_SUBST(QT_INCLUDES) --AC_SUBST(QT_LDFLAGS) --AC_PATH_QT_MOC_UIC -- --KDE_CHECK_QT_JPEG -- --if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then --LIB_QT="$kde_int_qt $LIBJPEG_QT "'$(LIBZ) $(LIBPNG) -lXext $(LIB_X11) $(LIBSM)' --else --LIB_QT="$kde_int_qt $LIBJPEG_QT "'$(LIBZ) $(LIBPNG)' --fi --test -z "$KDE_MT_LIBS" || LIB_QT="$LIB_QT $KDE_MT_LIBS" --for a in $qt_libdir/lib`echo ${kde_int_qt} | sed 's,^-l,,'`_incremental.*; do -- if test -e "$a"; then -- LIB_QT="$LIB_QT ${kde_int_qt}_incremental" -- break -- fi --done -- --AC_SUBST(LIB_QT) --AC_SUBST(LIB_QPE) -- --AC_SUBST(kde_qtver) --]) -- --AC_DEFUN([AC_PATH_QT], --[ --AC_PATH_QT_1_3 --]) -- --AC_DEFUN([KDE_CHECK_UIC_PLUGINS], --[ --AC_REQUIRE([AC_PATH_QT_MOC_UIC]) -- --if test x$ac_uic_supports_libpath = xyes; then -- --AC_MSG_CHECKING([if UIC has KDE plugins available]) --AC_CACHE_VAL(kde_cv_uic_plugins, --[ --cat > actest.ui << EOF -- --NewConnectionDialog -- -- -- -- testInput -- -- -- -- --EOF -- -- -- --kde_cv_uic_plugins=no --kde_line="$UIC_PATH -L $kde_widgetdir" --if test x$ac_uic_supports_nounload = xyes; then -- kde_line="$kde_line -nounload" --fi --kde_line="$kde_line -impl actest.h actest.ui > actest.cpp" --if AC_TRY_EVAL(kde_line); then -- # if you're trying to debug this check and think it's incorrect, -- # better check your installation. The check _is_ correct - your -- # installation is not. -- if test -f actest.cpp && grep klineedit actest.cpp > /dev/null; then -- kde_cv_uic_plugins=yes -- fi --fi --rm -f actest.ui actest.cpp --]) -- --AC_MSG_RESULT([$kde_cv_uic_plugins]) --if test "$kde_cv_uic_plugins" != yes; then -- AC_MSG_ERROR([ --you need to install kdelibs first. -- --If you did install kdelibs, then the Qt version that is picked up by --this configure is not the same version you used to compile kdelibs. --The Qt Plugin installed by kdelibs is *ONLY* loadable if it is the --_same Qt version_, compiled with the _same compiler_ and the same Qt --configuration settings. --]) --fi --fi --]) -- --AC_DEFUN([KDE_CHECK_FINAL], --[ -- AC_ARG_ENABLE(final, -- AC_HELP_STRING([--enable-final], -- [build size optimized apps (experimental - needs lots of memory)]), -- kde_use_final=$enableval, kde_use_final=no) -- -- if test "x$kde_use_final" = "xyes"; then -- KDE_USE_FINAL_TRUE="" -- KDE_USE_FINAL_FALSE="#" -- else -- KDE_USE_FINAL_TRUE="#" -- KDE_USE_FINAL_FALSE="" -- fi -- AC_SUBST(KDE_USE_FINAL_TRUE) -- AC_SUBST(KDE_USE_FINAL_FALSE) --]) -- --AC_DEFUN([KDE_CHECK_CLOSURE], --[ -- AC_ARG_ENABLE(closure, -- AC_HELP_STRING([--enable-closure],[delay template instantiation]), -- kde_use_closure=$enableval, kde_use_closure=no) -- -- KDE_NO_UNDEFINED="" -- if test "x$kde_use_closure" = "xyes"; then -- KDE_USE_CLOSURE_TRUE="" -- KDE_USE_CLOSURE_FALSE="#" --# CXXFLAGS="$CXXFLAGS $REPO" -- else -- KDE_USE_CLOSURE_TRUE="#" -- KDE_USE_CLOSURE_FALSE="" -- KDE_NO_UNDEFINED="" -- fi -- AC_SUBST(KDE_USE_CLOSURE_TRUE) -- AC_SUBST(KDE_USE_CLOSURE_FALSE) -- AC_SUBST(KDE_NO_UNDEFINED) --]) -- --dnl Check if the linker supports --enable-new-dtags and --as-needed --AC_DEFUN([KDE_CHECK_NEW_LDFLAGS], --[ -- AC_ARG_ENABLE(new_ldflags, -- AC_HELP_STRING([--enable-new-ldflags], -- [enable the new linker flags]), -- kde_use_new_ldflags=$enableval, -- kde_use_new_ldflags=no) -- -- LDFLAGS_AS_NEEDED="" -- LDFLAGS_NEW_DTAGS="" -- if test "x$kde_use_new_ldflags" = "xyes"; then -- LDFLAGS_NEW_DTAGS="" -- KDE_CHECK_COMPILER_FLAG([Wl,--enable-new-dtags], -- [LDFLAGS_NEW_DTAGS="-Wl,--enable-new-dtags"],) -- -- KDE_CHECK_COMPILER_FLAG([Wl,--as-needed], -- [LDFLAGS_AS_NEEDED="-Wl,--as-needed"],) -- fi -- AC_SUBST(LDFLAGS_AS_NEEDED) -- AC_SUBST(LDFLAGS_NEW_DTAGS) --]) -- --AC_DEFUN([KDE_CHECK_NMCHECK], --[ -- AC_ARG_ENABLE(nmcheck,AC_HELP_STRING([--enable-nmcheck],[enable automatic namespace cleanness check]), -- kde_use_nmcheck=$enableval, kde_use_nmcheck=no) -- -- if test "$kde_use_nmcheck" = "yes"; then -- KDE_USE_NMCHECK_TRUE="" -- KDE_USE_NMCHECK_FALSE="#" -- else -- KDE_USE_NMCHECK_TRUE="#" -- KDE_USE_NMCHECK_FALSE="" -- fi -- AC_SUBST(KDE_USE_NMCHECK_TRUE) -- AC_SUBST(KDE_USE_NMCHECK_FALSE) --]) -- --AC_DEFUN([KDE_EXPAND_MAKEVAR], [ --savex=$exec_prefix --test "x$exec_prefix" = xNONE && exec_prefix=$prefix --tmp=$$2 --while $1=`eval echo "$tmp"`; test "x$$1" != "x$tmp"; do tmp=$$1; done --exec_prefix=$savex --]) -- --dnl ------------------------------------------------------------------------ --dnl Now, the same with KDE --dnl $(KDE_LDFLAGS) will be the kdeliblocation (if needed) --dnl and $(kde_includes) will be the kdehdrlocation (if needed) --dnl ------------------------------------------------------------------------ --dnl --AC_DEFUN([AC_BASE_PATH_KDE], --[ --AC_REQUIRE([KDE_CHECK_STL]) --AC_REQUIRE([AC_PATH_QT])dnl --AC_REQUIRE([KDE_CHECK_LIB64]) -- --AC_CHECK_RPATH --AC_MSG_CHECKING([for KDE]) -- --if test "${prefix}" != NONE; then -- kde_includes=${includedir} -- KDE_EXPAND_MAKEVAR(ac_kde_includes, includedir) -- -- kde_libraries=${libdir} -- KDE_EXPAND_MAKEVAR(ac_kde_libraries, libdir) -- --else -- ac_kde_includes= -- ac_kde_libraries= -- kde_libraries="" -- kde_includes="" --fi -- --AC_CACHE_VAL(ac_cv_have_kde, --[#try to guess kde locations -- --if test "$kde_qtver" = 1; then -- kde_check_header="ksock.h" -- kde_check_lib="libkdecore.la" --else -- kde_check_header="ksharedptr.h" -- kde_check_lib="libkio.la" --fi -- --if test -z "$1"; then -- --kde_incdirs="$kde_libs_prefix/include /usr/lib/kde/include /usr/local/kde/include /usr/local/include /usr/kde/include /usr/include/kde /usr/include /opt/trinity/include /opt/kde/include $x_includes $qt_includes" --test -n "$KDEDIR" && kde_incdirs="$KDEDIR/include $KDEDIR/include/kde $KDEDIR $kde_incdirs" --kde_incdirs="$ac_kde_includes $kde_incdirs" --AC_FIND_FILE($kde_check_header, $kde_incdirs, kde_incdir) --ac_kde_includes="$kde_incdir" -- --if test -n "$ac_kde_includes" && test ! -r "$ac_kde_includes/$kde_check_header"; then -- AC_MSG_ERROR([ --in the prefix, you've chosen, are no KDE headers installed. This will fail. --So, check this please and use another prefix!]) --fi -- --kde_libdirs="$kde_libs_prefix/lib${kdelibsuff} /usr/lib/kde/lib${kdelibsuff} /usr/local/kde/lib${kdelibsuff} /usr/kde/lib${kdelibsuff} /usr/lib${kdelibsuff}/kde /usr/lib${kdelibsuff}/trinity /usr/lib${kdelibsuff} /usr/X11R6/lib${kdelibsuff} /usr/local/lib${kdelibsuff} /opt/trinity/lib${kdelibsuff} /opt/kde/lib${kdelibsuff} /usr/X11R6/kde/lib${kdelibsuff}" --test -n "$KDEDIR" && kde_libdirs="$KDEDIR/lib${kdelibsuff} $KDEDIR $kde_libdirs" --kde_libdirs="$ac_kde_libraries $libdir $kde_libdirs" --AC_FIND_FILE($kde_check_lib, $kde_libdirs, kde_libdir) --ac_kde_libraries="$kde_libdir" -- --kde_widgetdir=NO --dnl this might be somewhere else --AC_FIND_FILE("trinity/plugins/designer/kdewidgets.la", $kde_libdirs, kde_widgetdir) -- --if test -n "$ac_kde_libraries" && test ! -r "$ac_kde_libraries/$kde_check_lib"; then --AC_MSG_ERROR([ --in the prefix, you've chosen, are no KDE libraries installed. This will fail. --So, check this please and use another prefix!]) --fi -- --if test -n "$kde_widgetdir" && test ! -r "$kde_widgetdir/trinity/plugins/designer/kdewidgets.la"; then --AC_MSG_ERROR([ --I can't find the designer plugins. These are required and should have been installed --by kdelibs]) --fi -- --if test -n "$kde_widgetdir"; then -- kde_widgetdir="$kde_widgetdir/trinity/plugins/designer" --fi -- -- --if test "$ac_kde_includes" = NO || test "$ac_kde_libraries" = NO || test "$kde_widgetdir" = NO; then -- ac_cv_have_kde="have_kde=no" --else -- ac_cv_have_kde="have_kde=yes \ -- ac_kde_includes=$ac_kde_includes ac_kde_libraries=$ac_kde_libraries" --fi -- --else dnl test -z $1, e.g. from kdelibs -- -- ac_cv_have_kde="have_kde=no" -- --fi --])dnl -- --eval "$ac_cv_have_kde" -- --if test "$have_kde" != "yes"; then -- if test "${prefix}" = NONE; then -- ac_kde_prefix="$ac_default_prefix" -- else -- ac_kde_prefix="$prefix" -- fi -- if test "$exec_prefix" = NONE; then -- ac_kde_exec_prefix="$ac_kde_prefix" -- AC_MSG_RESULT([will be installed in $ac_kde_prefix]) -- else -- ac_kde_exec_prefix="$exec_prefix" -- AC_MSG_RESULT([will be installed in $ac_kde_prefix and $ac_kde_exec_prefix]) -- fi -- -- kde_libraries="${libdir}" -- kde_includes="${includedir}" -- --else -- ac_cv_have_kde="have_kde=yes \ -- ac_kde_includes=$ac_kde_includes ac_kde_libraries=$ac_kde_libraries" -- AC_MSG_RESULT([libraries $ac_kde_libraries, headers $ac_kde_includes]) -- -- kde_libraries="$ac_kde_libraries" -- kde_includes="$ac_kde_includes" --fi --AC_SUBST(kde_libraries) --AC_SUBST(kde_includes) -- --if test "$kde_includes" = "$x_includes" || test "$kde_includes" = "$qt_includes" || test "$kde_includes" = "/usr/include"; then -- KDE_INCLUDES="" --else -- KDE_INCLUDES="-I$kde_includes" -- all_includes="$KDE_INCLUDES $all_includes" --fi -- --KDE_DEFAULT_CXXFLAGS="-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION" -- --KDE_LDFLAGS="-L$kde_libraries" --if test ! "$kde_libraries" = "$x_libraries" && test ! "$kde_libraries" = "$qt_libraries" ; then -- all_libraries="$KDE_LDFLAGS $all_libraries" --fi -- --AC_SUBST(KDE_LDFLAGS) --AC_SUBST(KDE_INCLUDES) -- --AC_REQUIRE([KDE_CHECK_EXTRA_LIBS]) -- --all_libraries="$all_libraries $USER_LDFLAGS" --all_includes="$all_includes $USER_INCLUDES" --AC_SUBST(all_includes) --AC_SUBST(all_libraries) -- --if test -z "$1"; then --KDE_CHECK_UIC_PLUGINS --fi -- --ac_kde_libraries="$kde_libdir" -- --AC_SUBST(AUTODIRS) -- -- --]) -- --AC_DEFUN([KDE_CHECK_EXTRA_LIBS], --[ --AC_MSG_CHECKING(for extra includes) --AC_ARG_WITH(extra-includes,AC_HELP_STRING([--with-extra-includes=DIR],[adds non standard include paths]), -- kde_use_extra_includes="$withval", -- kde_use_extra_includes=NONE --) --kde_extra_includes= --if test -n "$kde_use_extra_includes" && \ -- test "$kde_use_extra_includes" != "NONE"; then -- -- ac_save_ifs=$IFS -- IFS=':' -- for dir in $kde_use_extra_includes; do -- kde_extra_includes="$kde_extra_includes $dir" -- USER_INCLUDES="$USER_INCLUDES -I$dir" -- done -- IFS=$ac_save_ifs -- kde_use_extra_includes="added" --else -- kde_use_extra_includes="no" --fi --AC_SUBST(USER_INCLUDES) -- --AC_MSG_RESULT($kde_use_extra_includes) -- --kde_extra_libs= --AC_MSG_CHECKING(for extra libs) --AC_ARG_WITH(extra-libs,AC_HELP_STRING([--with-extra-libs=DIR],[adds non standard library paths]), -- kde_use_extra_libs=$withval, -- kde_use_extra_libs=NONE --) --if test -n "$kde_use_extra_libs" && \ -- test "$kde_use_extra_libs" != "NONE"; then -- -- ac_save_ifs=$IFS -- IFS=':' -- for dir in $kde_use_extra_libs; do -- kde_extra_libs="$kde_extra_libs $dir" -- KDE_EXTRA_RPATH="$KDE_EXTRA_RPATH -R $dir" -- USER_LDFLAGS="$USER_LDFLAGS -L$dir" -- done -- IFS=$ac_save_ifs -- kde_use_extra_libs="added" --else -- kde_use_extra_libs="no" --fi -- --AC_SUBST(USER_LDFLAGS) -- --AC_MSG_RESULT($kde_use_extra_libs) -- --]) -- --AC_DEFUN([KDE_1_CHECK_PATH_HEADERS], --[ -- AC_MSG_CHECKING([for KDE headers installed]) -- AC_LANG_SAVE -- AC_LANG_CPLUSPLUS --cat > conftest.$ac_ext < --#endif --#include --#include "confdefs.h" --#include -- --int main() { -- printf("kde_htmldir=\\"%s\\"\n", KApplication::kde_htmldir().data()); -- printf("kde_appsdir=\\"%s\\"\n", KApplication::kde_appsdir().data()); -- printf("kde_icondir=\\"%s\\"\n", KApplication::kde_icondir().data()); -- printf("kde_sounddir=\\"%s\\"\n", KApplication::kde_sounddir().data()); -- printf("kde_datadir=\\"%s\\"\n", KApplication::kde_datadir().data()); -- printf("kde_locale=\\"%s\\"\n", KApplication::kde_localedir().data()); -- printf("kde_cgidir=\\"%s\\"\n", KApplication::kde_cgidir().data()); -- printf("kde_confdir=\\"%s\\"\n", KApplication::kde_configdir().data()); -- printf("kde_mimedir=\\"%s\\"\n", KApplication::kde_mimedir().data()); -- printf("kde_toolbardir=\\"%s\\"\n", KApplication::kde_toolbardir().data()); -- printf("kde_wallpaperdir=\\"%s\\"\n", -- KApplication::kde_wallpaperdir().data()); -- printf("kde_bindir=\\"%s\\"\n", KApplication::kde_bindir().data()); -- printf("kde_partsdir=\\"%s\\"\n", KApplication::kde_partsdir().data()); -- printf("kde_servicesdir=\\"/tmp/dummy\\"\n"); -- printf("kde_servicetypesdir=\\"/tmp/dummy\\"\n"); -- printf("kde_moduledir=\\"/tmp/dummy\\"\n"); -- printf("kde_styledir=\\"/tmp/dummy\\"\n"); -- printf("kde_widgetdir=\\"/tmp/dummy\\"\n"); -- printf("xdg_appsdir=\\"/tmp/dummy\\"\n"); -- printf("xdg_menudir=\\"/tmp/dummy\\"\n"); -- printf("xdg_directorydir=\\"/tmp/dummy\\"\n"); -- printf("kde_kcfgdir=\\"/tmp/dummy\\"\n"); -- return 0; -- } --EOF -- -- ac_save_CPPFLAGS=$CPPFLAGS -- CPPFLAGS="$all_includes $CPPFLAGS" -- if AC_TRY_EVAL(ac_compile); then -- AC_MSG_RESULT(yes) -- else -- AC_MSG_ERROR([your system is not able to compile a small KDE application! --Check, if you installed the KDE header files correctly. --For more details about this problem, look at the end of config.log.]) -- fi -- CPPFLAGS=$ac_save_CPPFLAGS -- -- AC_LANG_RESTORE --]) -- --AC_DEFUN([KDE_CHECK_KDEQTADDON], --[ --AC_MSG_CHECKING(for kde-qt-addon) --AC_CACHE_VAL(kde_cv_have_kdeqtaddon, --[ -- kde_ldflags_safe="$LDFLAGS" -- kde_libs_safe="$LIBS" -- kde_cxxflags_safe="$CXXFLAGS" -- -- LIBS="-lkde-qt-addon $LIBQT $LIBS" -- CXXFLAGS="$CXXFLAGS -I$prefix/include -I$prefix/include/kde $all_includes" -- LDFLAGS="$LDFLAGS $all_libraries $USER_LDFLAGS" -- -- AC_TRY_LINK([ -- #include -- ], -- [ -- QDomDocument doc; -- ], -- kde_cv_have_kdeqtaddon=yes, -- kde_cv_have_kdeqtaddon=no -- ) -- -- LDFLAGS=$kde_ldflags_safe -- LIBS=$kde_libs_safe -- CXXFLAGS=$kde_cxxflags_safe --]) -- --AC_MSG_RESULT($kde_cv_have_kdeqtaddon) -- --if test "$kde_cv_have_kdeqtaddon" = "no"; then -- AC_MSG_ERROR([Can't find libkde-qt-addon. You need to install it first. --It is a separate package (and CVS module) named kde-qt-addon.]) --fi --]) -- --AC_DEFUN([KDE_CREATE_LIBS_ALIASES], --[ -- AC_REQUIRE([KDE_MISC_TESTS]) -- AC_REQUIRE([KDE_CHECK_LIBDL]) -- AC_REQUIRE([K_PATH_X]) -- --if test $kde_qtver = 3; then -- case $host in -- *cygwin*) lib_kded="-lkdeinit_kded" ;; -- *) lib_kded="" ;; -- esac -- AC_SUBST(LIB_KDED, $lib_kded) -- AC_SUBST(LIB_KDECORE, "-lkdecore") -- AC_SUBST(LIB_KDEUI, "-lkdeui") -- AC_SUBST(LIB_KIO, "-lkio") -- AC_SUBST(LIB_KJS, "-lkjs") -- AC_SUBST(LIB_SMB, "-lsmb") -- AC_SUBST(LIB_KAB, "-lkab") -- AC_SUBST(LIB_KABC, "-lkabc") -- AC_SUBST(LIB_KHTML, "-lkhtml") -- AC_SUBST(LIB_KSPELL, "-lkspell") -- AC_SUBST(LIB_KPARTS, "-lkparts") -- AC_SUBST(LIB_KDEPRINT, "-lkdeprint") -- AC_SUBST(LIB_KUTILS, "-lkutils") -- AC_SUBST(LIB_KDEPIM, "-lkdepim") -- AC_SUBST(LIB_KIMPROXY, "-lkimproxy") -- AC_SUBST(LIB_KNEWSTUFF, "-lknewstuff") -- AC_SUBST(LIB_KDNSSD, "-lkdnssd") -- AC_SUBST(LIB_KUNITTEST, "-lkunittest") --# these are for backward compatibility -- AC_SUBST(LIB_KSYCOCA, "-lkio") -- AC_SUBST(LIB_KFILE, "-lkio") --elif test $kde_qtver = 2; then -- AC_SUBST(LIB_KDECORE, "-lkdecore") -- AC_SUBST(LIB_KDEUI, "-lkdeui") -- AC_SUBST(LIB_KIO, "-lkio") -- AC_SUBST(LIB_KSYCOCA, "-lksycoca") -- AC_SUBST(LIB_SMB, "-lsmb") -- AC_SUBST(LIB_KFILE, "-lkfile") -- AC_SUBST(LIB_KAB, "-lkab") -- AC_SUBST(LIB_KHTML, "-lkhtml") -- AC_SUBST(LIB_KSPELL, "-lkspell") -- AC_SUBST(LIB_KPARTS, "-lkparts") -- AC_SUBST(LIB_KDEPRINT, "-lkdeprint") --else -- AC_SUBST(LIB_KDECORE, "-lkdecore -lXext $(LIB_QT)") -- AC_SUBST(LIB_KDEUI, "-lkdeui $(LIB_KDECORE)") -- AC_SUBST(LIB_KFM, "-lkfm $(LIB_KDECORE)") -- AC_SUBST(LIB_KFILE, "-lkfile $(LIB_KFM) $(LIB_KDEUI)") -- AC_SUBST(LIB_KAB, "-lkab $(LIB_KIMGIO) $(LIB_KDECORE)") --fi --]) -- --AC_DEFUN([AC_PATH_KDE], --[ -- AC_BASE_PATH_KDE -- AC_ARG_ENABLE(path-check,AC_HELP_STRING([--disable-path-check],[don't try to find out, where to install]), -- [ -- if test "$enableval" = "no"; -- then ac_use_path_checking="default" -- else ac_use_path_checking="" -- fi -- ], -- [ -- if test "$kde_qtver" = 1; -- then ac_use_path_checking="" -- else ac_use_path_checking="default" -- fi -- ] -- ) -- -- AC_CREATE_KFSSTND($ac_use_path_checking) -- -- AC_SUBST_KFSSTND -- KDE_CREATE_LIBS_ALIASES --]) -- --dnl KDE_CHECK_FUNC_EXT(, [headers], [sample-use], [C prototype], [autoheader define], [call if found]) --AC_DEFUN([KDE_CHECK_FUNC_EXT], --[ --AC_MSG_CHECKING(for $1) --AC_CACHE_VAL(kde_cv_func_$1, --[ --AC_LANG_SAVE --AC_LANG_CPLUSPLUS --save_CXXFLAGS="$CXXFLAGS" --kde_safe_LIBS="$LIBS" --LIBS="$LIBS $X_EXTRA_LIBS" --AC_TRY_COMPILE([ --$2 --], --[ --$3 --], --kde_cv_func_$1=yes, --kde_cv_func_$1=no) --CXXFLAGS="$save_CXXFLAGS" --LIBS="$kde_safe_LIBS" --AC_LANG_RESTORE --]) -- --AC_MSG_RESULT($kde_cv_func_$1) -- --AC_MSG_CHECKING([if $1 needs custom prototype]) --AC_CACHE_VAL(kde_cv_proto_$1, --[ --if test "x$kde_cv_func_$1" = xyes; then -- kde_cv_proto_$1=no --else -- case "$1" in -- setenv|unsetenv|usleep|random|srandom|seteuid|mkstemps|mkstemp|revoke|vsnprintf|strlcpy|strlcat) -- kde_cv_proto_$1="yes - in libkdefakes" -- ;; -- *) -- kde_cv_proto_$1=unknown -- ;; -- esac --fi -- --if test "x$kde_cv_proto_$1" = xunknown; then -- --AC_LANG_SAVE --AC_LANG_CPLUSPLUS -- kde_safe_libs=$LIBS -- LIBS="$LIBS $X_EXTRA_LIBS" -- AC_TRY_LINK([ --$2 -- --extern "C" $4; --], --[ --$3 --], --[ kde_cv_func_$1=yes -- kde_cv_proto_$1=yes ], -- [kde_cv_proto_$1="$1 unavailable"] --) --LIBS=$kde_safe_libs --AC_LANG_RESTORE --fi --]) --AC_MSG_RESULT($kde_cv_proto_$1) -- --if test "x$kde_cv_func_$1" = xyes; then -- AC_DEFINE(HAVE_$5, 1, [Define if you have $1]) -- $6 --fi --if test "x$kde_cv_proto_$1" = xno; then -- AC_DEFINE(HAVE_$5_PROTO, 1, -- [Define if you have the $1 prototype]) --fi -- --AH_VERBATIM([_HAVE_$5_PROTO], --[ --#if !defined(HAVE_$5_PROTO) --#ifdef __cplusplus --extern "C" { --#endif --$4; --#ifdef __cplusplus --} --#endif --#endif --]) --]) -- --AC_DEFUN([AC_CHECK_SETENV], --[ -- KDE_CHECK_FUNC_EXT(setenv, [ --#include --], -- [setenv("VAR", "VALUE", 1);], -- [int setenv (const char *, const char *, int)], -- [SETENV]) --]) -- --AC_DEFUN([AC_CHECK_UNSETENV], --[ -- KDE_CHECK_FUNC_EXT(unsetenv, [ --#include --], -- [unsetenv("VAR");], -- [void unsetenv (const char *)], -- [UNSETENV]) --]) -- --AC_DEFUN([AC_CHECK_GETDOMAINNAME], --[ -- KDE_CHECK_FUNC_EXT(getdomainname, [ --#include --#include --#include --], -- [ --char buffer[200]; --getdomainname(buffer, 200); --], -- [#include -- int getdomainname (char *, size_t)], -- [GETDOMAINNAME]) --]) -- --AC_DEFUN([AC_CHECK_GETHOSTNAME], --[ -- KDE_CHECK_FUNC_EXT(gethostname, [ --#include --#include --], -- [ --char buffer[200]; --gethostname(buffer, 200); --], -- [int gethostname (char *, unsigned int)], -- [GETHOSTNAME]) --]) -- --AC_DEFUN([AC_CHECK_USLEEP], --[ -- KDE_CHECK_FUNC_EXT(usleep, [ --#include --], -- [ --usleep(200); --], -- [int usleep (unsigned int)], -- [USLEEP]) --]) -- -- --AC_DEFUN([AC_CHECK_RANDOM], --[ -- KDE_CHECK_FUNC_EXT(random, [ --#include --], -- [ --random(); --], -- [long int random(void)], -- [RANDOM]) -- -- KDE_CHECK_FUNC_EXT(srandom, [ --#include --], -- [ --srandom(27); --], -- [void srandom(unsigned int)], -- [SRANDOM]) -- --]) -- --AC_DEFUN([AC_CHECK_INITGROUPS], --[ -- KDE_CHECK_FUNC_EXT(initgroups, [ --#include --#include --#include --], -- [ --char buffer[200]; --initgroups(buffer, 27); --], -- [int initgroups(const char *, gid_t)], -- [INITGROUPS]) --]) -- --AC_DEFUN([AC_CHECK_MKSTEMPS], --[ -- KDE_CHECK_FUNC_EXT(mkstemps, [ --#include --#include --], -- [ --mkstemps("/tmp/aaaXXXXXX", 6); --], -- [int mkstemps(char *, int)], -- [MKSTEMPS]) --]) -- --AC_DEFUN([AC_CHECK_MKSTEMP], --[ -- KDE_CHECK_FUNC_EXT(mkstemp, [ --#include --#include --], -- [ --mkstemp("/tmp/aaaXXXXXX"); --], -- [int mkstemp(char *)], -- [MKSTEMP]) --]) -- --AC_DEFUN([AC_CHECK_MKDTEMP], --[ -- KDE_CHECK_FUNC_EXT(mkdtemp, [ --#include --#include --], -- [ --mkdtemp("/tmp/aaaXXXXXX"); --], -- [char *mkdtemp(char *)], -- [MKDTEMP]) --]) -- -- --AC_DEFUN([AC_CHECK_RES_INIT], --[ -- AC_MSG_CHECKING([if res_init needs -lresolv]) -- kde_libs_safe="$LIBS" -- LIBS="$LIBS $X_EXTRA_LIBS -lresolv" -- AC_TRY_LINK( -- [ --#include --#include --#include --#include -- ], -- [ -- res_init(); -- ], -- [ -- LIBRESOLV="-lresolv" -- AC_MSG_RESULT(yes) -- AC_DEFINE(HAVE_RES_INIT, 1, [Define if you have the res_init function]) -- ], -- [ AC_MSG_RESULT(no) ] -- ) -- LIBS=$kde_libs_safe -- AC_SUBST(LIBRESOLV) -- -- KDE_CHECK_FUNC_EXT(res_init, -- [ --#include --#include --#include --#include -- ], -- [res_init()], -- [int res_init(void)], -- [RES_INIT]) --]) -- --AC_DEFUN([AC_CHECK_STRLCPY], --[ -- KDE_CHECK_FUNC_EXT(strlcpy, [ --#include --], --[ char buf[20]; -- strlcpy(buf, "KDE function test", sizeof(buf)); --], -- [unsigned long strlcpy(char*, const char*, unsigned long)], -- [STRLCPY]) --]) -- --AC_DEFUN([AC_CHECK_STRLCAT], --[ -- KDE_CHECK_FUNC_EXT(strlcat, [ --#include --], --[ char buf[20]; -- buf[0]='\0'; -- strlcat(buf, "KDE function test", sizeof(buf)); --], -- [unsigned long strlcat(char*, const char*, unsigned long)], -- [STRLCAT]) --]) -- --AC_DEFUN([AC_CHECK_RES_QUERY], --[ -- KDE_CHECK_FUNC_EXT(res_query, [ --#include --#include --#include --#include --#include --], --[ --res_query(NULL, 0, 0, NULL, 0); --], -- [int res_query(const char *, int, int, unsigned char *, int)], -- [RES_QUERY]) --]) -- --AC_DEFUN([AC_CHECK_DN_SKIPNAME], --[ -- KDE_CHECK_FUNC_EXT(dn_skipname, [ --#include --#include --#include --#include --], --[ --dn_skipname (NULL, NULL); --], -- [int dn_skipname (unsigned char *, unsigned char *)], -- [DN_SKIPNAME]) --]) -- -- --AC_DEFUN([AC_FIND_GIF], -- [AC_MSG_CHECKING([for giflib]) --AC_CACHE_VAL(ac_cv_lib_gif, --[ac_save_LIBS="$LIBS" --if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then --LIBS="$all_libraries -lgif -lX11 $LIBSOCKET" --else --LIBS="$all_libraries -lgif" --fi --AC_TRY_LINK(dnl --[ --#ifdef __cplusplus --extern "C" { --#endif --int GifLastError(void); --#ifdef __cplusplus --} --#endif --/* We use char because int might match the return type of a gcc2 -- builtin and then its argument prototype would still apply. */ --], -- [return GifLastError();], -- eval "ac_cv_lib_gif=yes", -- eval "ac_cv_lib_gif=no") --LIBS="$ac_save_LIBS" --])dnl --if eval "test \"`echo $ac_cv_lib_gif`\" = yes"; then -- AC_MSG_RESULT(yes) -- AC_DEFINE_UNQUOTED(HAVE_LIBGIF, 1, [Define if you have libgif]) --else -- AC_MSG_ERROR(You need giflib30. Please install the kdesupport package) --fi --]) -- --AC_DEFUN([KDE_FIND_JPEG_HELPER], --[ --AC_MSG_CHECKING([for libjpeg$2]) --AC_CACHE_VAL(ac_cv_lib_jpeg_$1, --[ --ac_save_LIBS="$LIBS" --LIBS="$all_libraries $USER_LDFLAGS -ljpeg$2 -lm" --ac_save_CFLAGS="$CFLAGS" --CFLAGS="$CFLAGS $all_includes $USER_INCLUDES" --AC_TRY_LINK( --[ --#ifdef __cplusplus --extern "C" { --#endif --void jpeg_CreateDecompress(); --#ifdef __cplusplus --} --#endif --], --[jpeg_CreateDecompress();], -- eval "ac_cv_lib_jpeg_$1=-ljpeg$2", -- eval "ac_cv_lib_jpeg_$1=no") --LIBS="$ac_save_LIBS" --CFLAGS="$ac_save_CFLAGS" --]) -- --if eval "test ! \"`echo $ac_cv_lib_jpeg_$1`\" = no"; then -- LIBJPEG="$ac_cv_lib_jpeg_$1" -- AC_MSG_RESULT($ac_cv_lib_jpeg_$1) --else -- AC_MSG_RESULT(no) -- $3 --fi -- --]) -- --AC_DEFUN([AC_FIND_JPEG], --[ --dnl first look for libraries --KDE_FIND_JPEG_HELPER(6b, 6b, -- KDE_FIND_JPEG_HELPER(normal, [], -- [ -- LIBJPEG= -- ] -- ) --) -- --dnl then search the headers (can't use simply AC_TRY_xxx, as jpeglib.h --dnl requires system dependent includes loaded before it) --jpeg_incdirs="$includedir /usr/include /usr/local/include $kde_extra_includes" --AC_FIND_FILE(jpeglib.h, $jpeg_incdirs, jpeg_incdir) --test "x$jpeg_incdir" = xNO && jpeg_incdir= -- --dnl if headers _and_ libraries are missing, this is no error, and we --dnl continue with a warning (the user will get no jpeg support in khtml) --dnl if only one is missing, it means a configuration error, but we still --dnl only warn --if test -n "$jpeg_incdir" && test -n "$LIBJPEG" ; then -- AC_DEFINE_UNQUOTED(HAVE_LIBJPEG, 1, [Define if you have libjpeg]) --else -- if test -n "$jpeg_incdir" || test -n "$LIBJPEG" ; then -- AC_MSG_WARN([ --There is an installation error in jpeg support. You seem to have only one --of either the headers _or_ the libraries installed. You may need to either --provide correct --with-extra-... options, or the development package of --libjpeg6b. You can get a source package of libjpeg from http://www.ijg.org/ --Disabling JPEG support. --]) -- else -- AC_MSG_WARN([libjpeg not found. disable JPEG support.]) -- fi -- jpeg_incdir= -- LIBJPEG= --fi -- --AC_SUBST(LIBJPEG) --AH_VERBATIM(_AC_CHECK_JPEG, --[/* -- * jpeg.h needs HAVE_BOOLEAN, when the system uses boolean in system -- * headers and I'm too lazy to write a configure test as long as only -- * unixware is related -- */ --#ifdef _UNIXWARE --#define HAVE_BOOLEAN --#endif --]) --]) -- --AC_DEFUN([KDE_CHECK_QT_JPEG], --[ --if test -n "$LIBJPEG"; then --AC_MSG_CHECKING([if Qt needs $LIBJPEG]) --AC_CACHE_VAL(kde_cv_qt_jpeg, --[ --AC_LANG_SAVE --AC_LANG_CPLUSPLUS --ac_save_LIBS="$LIBS" --LIBS="$all_libraries $USER_LDFLAGS $LIBQT" --LIBS=`echo $LIBS | sed "s/$LIBJPEG//"` --ac_save_CXXFLAGS="$CXXFLAGS" --CXXFLAGS="$CXXFLAGS $all_includes $USER_INCLUDES" --AC_TRY_LINK( --[#include ], -- [ -- int argc; -- char** argv; -- QApplication app(argc, argv);], -- eval "kde_cv_qt_jpeg=no", -- eval "kde_cv_qt_jpeg=yes") --LIBS="$ac_save_LIBS" --CXXFLAGS="$ac_save_CXXFLAGS" --AC_LANG_RESTORE --fi --]) -- --if eval "test ! \"`echo $kde_cv_qt_jpeg`\" = no"; then -- AC_MSG_RESULT(yes) -- LIBJPEG_QT='$(LIBJPEG)' --else -- AC_MSG_RESULT(no) -- LIBJPEG_QT= --fi -- --]) -- --AC_DEFUN([AC_FIND_ZLIB], --[ --AC_REQUIRE([KDE_CHECK_EXTRA_LIBS]) --AC_MSG_CHECKING([for libz]) --AC_CACHE_VAL(ac_cv_lib_z, --[ --kde_save_LIBS="$LIBS" --LIBS="$all_libraries $USER_LDFLAGS -lz $LIBSOCKET" --kde_save_CFLAGS="$CFLAGS" --CFLAGS="$CFLAGS $all_includes $USER_INCLUDES" --AC_TRY_LINK(dnl --[ --#include --], --[ -- char buf[42]; -- gzFile f = (gzFile) 0; -- /* this would segfault.. but we only link, don't run */ -- (void) gzgets(f, buf, sizeof(buf)); -- -- return (zlibVersion() == ZLIB_VERSION); --], -- eval "ac_cv_lib_z='-lz'", -- eval "ac_cv_lib_z=no") --LIBS="$kde_save_LIBS" --CFLAGS="$kde_save_CFLAGS" --])dnl --if test ! "$ac_cv_lib_z" = no; then -- AC_DEFINE_UNQUOTED(HAVE_LIBZ, 1, [Define if you have libz]) -- LIBZ="$ac_cv_lib_z" -- AC_MSG_RESULT($ac_cv_lib_z) --else -- AC_MSG_ERROR(not found. -- Possibly configure picks up an outdated version -- installed by XFree86. Remove it from your system. -- -- Check your installation and look into config.log) -- LIBZ="" --fi --AC_SUBST(LIBZ) --]) -- --AC_DEFUN([KDE_TRY_TIFFLIB], --[ --AC_MSG_CHECKING([for libtiff $1]) -- --AC_CACHE_VAL(kde_cv_libtiff_$1, --[ --AC_LANG_SAVE --AC_LANG_CPLUSPLUS --kde_save_LIBS="$LIBS" --if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then --LIBS="$all_libraries $USER_LDFLAGS -l$1 $LIBJPEG $LIBZ -lX11 $LIBSOCKET -lm" --else --LIBS="$all_libraries $USER_LDFLAGS -l$1 $LIBJPEG $LIBZ -lm" --fi --kde_save_CXXFLAGS="$CXXFLAGS" --CXXFLAGS="$CXXFLAGS $all_includes $USER_INCLUDES" -- --AC_TRY_LINK(dnl --[ --#include --], -- [return (TIFFOpen( "", "r") == 0); ], --[ -- kde_cv_libtiff_$1="-l$1 $LIBJPEG $LIBZ" --], [ -- kde_cv_libtiff_$1=no --]) -- --LIBS="$kde_save_LIBS" --CXXFLAGS="$kde_save_CXXFLAGS" --AC_LANG_RESTORE --]) -- --if test "$kde_cv_libtiff_$1" = "no"; then -- AC_MSG_RESULT(no) -- LIBTIFF="" -- $3 --else -- LIBTIFF="$kde_cv_libtiff_$1" -- AC_MSG_RESULT(yes) -- AC_DEFINE_UNQUOTED(HAVE_LIBTIFF, 1, [Define if you have libtiff]) -- $2 --fi -- --]) -- --AC_DEFUN([AC_FIND_TIFF], --[ --AC_REQUIRE([K_PATH_X]) --AC_REQUIRE([AC_FIND_ZLIB]) --AC_REQUIRE([AC_FIND_JPEG]) --AC_REQUIRE([KDE_CHECK_EXTRA_LIBS]) -- --KDE_TRY_TIFFLIB(tiff, [], -- KDE_TRY_TIFFLIB(tiff34)) -- --AC_SUBST(LIBTIFF) --]) -- --AC_DEFUN([KDE_FIND_LIBEXR], --[ --AC_REQUIRE([KDE_CHECK_EXTRA_LIBS]) --AC_REQUIRE([AC_FIND_ZLIB]) --AC_CACHE_VAL(ac_cv_libexr, --[ -- if test -z "$PKG_CONFIG"; then -- AC_PATH_PROG(PKG_CONFIG, pkg-config, no) -- fi -- -- AC_MSG_CHECKING([for OpenEXR libraries]) -- -- if test "$PKG_CONFIG" = "no" ; then -- AC_MSG_RESULT(no) -- echo "*** The pkg-config script could not be found. Make sure it is" -- echo "*** in your path, or set the PKG_CONFIG environment variable" -- echo "*** to the full path to pkg-config." -- echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." -- else -- if !(`$PKG_CONFIG --exists OpenEXR`) ; then -- AC_MSG_RESULT(no) -- EXRSTATUS=no -- else -- if !(`$PKG_CONFIG --atleast-version="1.1.1" OpenEXR`) ; then -- AC_MSG_RESULT(no) -- EXRSTATUS=old -- else -- kde_save_LIBS="$LIBS" -- LIBS="$LIBS $all_libraries $USER_LDFLAGS `pkg-config --libs OpenEXR` $LIBZ" -- AC_LANG_SAVE -- AC_LANG_CPLUSPLUS -- kde_save_CXXFLAGS="$CXXFLAGS" -- EXR_FLAGS=`$PKG_CONFIG --cflags OpenEXR` -- CXXFLAGS="$CXXFLAGS $all_includes $USER_INCLUDES $EXR_FLAGS" -- -- AC_TRY_LINK(dnl -- [ -- #include -- ], -- [ -- using namespace Imf; -- RgbaInputFile file ("dummy"); -- return 0; -- ], -- eval "ac_cv_libexr='`pkg-config --libs OpenEXR`'", -- eval "ac_cv_libexr=no" -- ) -- LIBS="$kde_save_LIBS" -- CXXFLAGS="$kde_save_CXXFLAGS" -- AC_LANG_RESTORE -- ])dnl -- if eval "test ! \"`echo $ac_cv_libexr`\" = no"; then -- AC_DEFINE_UNQUOTED(HAVE_EXR, 1, [Define if you have OpenEXR]) -- LIB_EXR="$ac_cv_libexr" -- AC_MSG_RESULT($ac_cv_libexr) -- else -- AC_MSG_RESULT(no) -- LIB_EXR="" -- fi -- fi -- fi -- fi -- AC_SUBST(LIB_EXR) -- AC_SUBST(EXR_FLAGS) --]) -- -- -- --AC_DEFUN([AC_FIND_PNG], --[ --AC_REQUIRE([KDE_CHECK_EXTRA_LIBS]) --AC_REQUIRE([AC_FIND_ZLIB]) --AC_MSG_CHECKING([for libpng]) --AC_CACHE_VAL(ac_cv_lib_png, --[ --kde_save_LIBS="$LIBS" --if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then --LIBS="$LIBS $all_libraries $USER_LDFLAGS -lpng $LIBZ -lm -lX11 $LIBSOCKET" --else --LIBS="$LIBS $all_libraries $USER_LDFLAGS -lpng $LIBZ -lm" --fi --kde_save_CFLAGS="$CFLAGS" --CFLAGS="$CFLAGS $all_includes $USER_INCLUDES" -- --AC_TRY_LINK(dnl -- [ -- #include -- ], -- [ -- png_structp png_ptr = png_create_read_struct( /* image ptr */ -- PNG_LIBPNG_VER_STRING, 0, 0, 0 ); -- return( png_ptr != 0 ); -- ], -- eval "ac_cv_lib_png='-lpng $LIBZ -lm'", -- eval "ac_cv_lib_png=no" --) --LIBS="$kde_save_LIBS" --CFLAGS="$kde_save_CFLAGS" --])dnl --if eval "test ! \"`echo $ac_cv_lib_png`\" = no"; then -- AC_DEFINE_UNQUOTED(HAVE_LIBPNG, 1, [Define if you have libpng]) -- LIBPNG="$ac_cv_lib_png" -- AC_SUBST(LIBPNG) -- AC_MSG_RESULT($ac_cv_lib_png) --else -- AC_MSG_RESULT(no) -- LIBPNG="" -- AC_SUBST(LIBPNG) --fi --]) -- -- --AC_DEFUN([AC_FIND_JASPER], --[ --AC_REQUIRE([KDE_CHECK_EXTRA_LIBS]) --AC_REQUIRE([AC_FIND_JPEG]) --AC_MSG_CHECKING([for jasper]) --AC_CACHE_VAL(ac_cv_jasper, --[ --kde_save_LIBS="$LIBS" --LIBS="$LIBS $all_libraries $USER_LDFLAGS -ljasper $LIBJPEG -lm" --kde_save_CFLAGS="$CFLAGS" --CFLAGS="$CFLAGS $all_includes $USER_INCLUDES" -- --AC_TRY_LINK(dnl -- [ -- #include -- ], -- [ -- return( jas_init() ); -- ], -- eval "ac_cv_jasper='-ljasper $LIBJPEG -lm'", -- eval "ac_cv_jasper=no" --) --LIBS="$kde_save_LIBS" --CFLAGS="$kde_save_CFLAGS" --])dnl --if eval "test ! \"`echo $ac_cv_jasper`\" = no"; then -- AC_DEFINE_UNQUOTED(HAVE_JASPER, 1, [Define if you have jasper]) -- LIB_JASPER="$ac_cv_jasper" -- AC_MSG_RESULT($ac_cv_jasper) --else -- AC_MSG_RESULT(no) -- LIB_JASPER="" --fi --AC_SUBST(LIB_JASPER) --]) -- --AC_DEFUN([AC_CHECK_BOOL], --[ -- AC_DEFINE_UNQUOTED(HAVE_BOOL, 1, [You _must_ have bool]) --]) -- --AC_DEFUN([AC_CHECK_GNU_EXTENSIONS], --[ --AC_MSG_CHECKING(if you need GNU extensions) --AC_CACHE_VAL(ac_cv_gnu_extensions, --[ --cat > conftest.c << EOF --#include -- --#ifdef __GNU_LIBRARY__ --yes --#endif --EOF -- --if (eval "$ac_cpp conftest.c") 2>&5 | -- egrep "yes" >/dev/null 2>&1; then -- rm -rf conftest* -- ac_cv_gnu_extensions=yes --else -- ac_cv_gnu_extensions=no --fi --]) -- --AC_MSG_RESULT($ac_cv_gnu_extensions) --if test "$ac_cv_gnu_extensions" = "yes"; then -- AC_DEFINE_UNQUOTED(_GNU_SOURCE, 1, [Define if you need to use the GNU extensions]) --fi --]) -- --AC_DEFUN([KDE_CHECK_COMPILER_FLAG], --[ --AC_MSG_CHECKING([whether $CXX supports -$1]) --kde_cache=`echo $1 | sed 'y% .=/+-,%____p__%'` --AC_CACHE_VAL(kde_cv_prog_cxx_$kde_cache, --[ -- AC_LANG_SAVE -- AC_LANG_CPLUSPLUS -- save_CXXFLAGS="$CXXFLAGS" -- CXXFLAGS="$CXXFLAGS -$1" -- AC_TRY_LINK([],[ return 0; ], [eval "kde_cv_prog_cxx_$kde_cache=yes"], []) -- CXXFLAGS="$save_CXXFLAGS" -- AC_LANG_RESTORE --]) --if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then -- AC_MSG_RESULT(yes) -- : -- $2 --else -- AC_MSG_RESULT(no) -- : -- $3 --fi --]) -- --AC_DEFUN([KDE_CHECK_C_COMPILER_FLAG], --[ --AC_MSG_CHECKING([whether $CC supports -$1]) --kde_cache=`echo $1 | sed 'y% .=/+-,%____p__%'` --AC_CACHE_VAL(kde_cv_prog_cc_$kde_cache, --[ -- AC_LANG_SAVE -- AC_LANG_C -- save_CFLAGS="$CFLAGS" -- CFLAGS="$CFLAGS -$1" -- AC_TRY_LINK([],[ return 0; ], [eval "kde_cv_prog_cc_$kde_cache=yes"], []) -- CFLAGS="$save_CFLAGS" -- AC_LANG_RESTORE --]) --if eval "test \"`echo '$kde_cv_prog_cc_'$kde_cache`\" = yes"; then -- AC_MSG_RESULT(yes) -- : -- $2 --else -- AC_MSG_RESULT(no) -- : -- $3 --fi --]) -- -- --dnl AC_REMOVE_FORBIDDEN removes forbidden arguments from variables --dnl use: AC_REMOVE_FORBIDDEN(CC, [-forbid -bad-option whatever]) --dnl it's all white-space separated --AC_DEFUN([AC_REMOVE_FORBIDDEN], --[ __val=$$1 -- __forbid=" $2 " -- if test -n "$__val"; then -- __new="" -- ac_save_IFS=$IFS -- IFS=" " -- for i in $__val; do -- case "$__forbid" in -- *" $i "*) AC_MSG_WARN([found forbidden $i in $1, removing it]) ;; -- *) # Careful to not add spaces, where there were none, because otherwise -- # libtool gets confused, if we change e.g. CXX -- if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;; -- esac -- done -- IFS=$ac_save_IFS -- $1=$__new -- fi --]) -- -- --AC_DEFUN([KDE_CHECK_FOR_BAD_COMPILER], --[ -- AC_MSG_CHECKING([whether $CC is blacklisted]) -- -- dnl In theory we have tu run this test against $CC and $CXX -- dnl in C and in C++ mode, because its perfectly legal for -- dnl the user to mix compiler versions, since C has a defined -- dnl ABI. -- dnl -- dnl For now, we assume the user is not on crack. -- -- AC_TRY_COMPILE([ --#ifdef __GNUC__ --#if __GNUC__ == 4 && __GNUC_MINOR__ == 0 && __GNUC_PATCHLEVEL__ == 0 --choke me --#endif --#endif --], , -- kde_bad_compiler=no, -- kde_bad_compiler=yes --) -- -- AC_MSG_RESULT($kde_bad_compiler) -- --if test "$kde_bad_compiler" = "yes"; then -- AC_MSG_ERROR([ -- --This particular compiler version is blacklisted because it --is known to miscompile KDE. Please use a newer version, or --if that is not yet available, choose an older version. -- --Please do not report a bug or bother us reporting this --configure error. We know about it, and we introduced --it by intention to avoid untraceable bugs or crashes in KDE. -- --]) --fi -- --]) -- -- --AC_DEFUN([KDE_CHECK_FOR_OPT_NOINLINE_MATCH], --[ -- AC_CACHE_CHECK([whether system headers can cope with -O2 -fno-inline], -- kde_cv_opt_noinline_match, -- [ -- kde_cv_opt_noinline_match=irrelevant -- dnl if we don't use both -O2 and -fno-inline, this check is moot -- if echo "$CFLAGS" | grep -e -O2 >/dev/null 2>/dev/null \ -- && echo "$CFLAGS" | grep -e -fno-inline >/dev/null 2>/dev/null ; then -- -- ac_cflags_save="$CFLAGS" -- CFLAGS="$CFLAGS -D_USE_GNU" -- -- AC_TRY_LINK([ -- #include --], [ const char *pt, *et; -- et = __extension__ ({ char __a0, __a1, __a2; (__builtin_constant_p ( ";," ) && ((size_t)(const void *)(( ";," )+ 1) - (size_t)(const void *)( ";," ) == 1) ? ((__a0 =((__const char *) ( ";," ))[0], __a0 == '\0') ? ((void) ( pt ),((void *)0) ) : ((__a1 = ((__const char *) ( ";," ))[1], __a1== '\0') ? (__extension__ (__builtin_constant_p ( __a0 ) && ( __a0 ) == '\0' ? (char *) __rawmemchr ( pt , __a0) : strchr( pt , __a0 ))) : ((__a2 = ((__const char *) ( ";," ))[2], __a2 == '\0') ? __strpbrk_c2 ( pt , __a0, __a1) :(((__const char *) ( ";," ))[3] == '\0' ? __strpbrk_c3 ( pt ,__a0, __a1, __a2): strpbrk ( pt , ";," ))))) : strpbrk ( pt , ";," )); }) ; --], -- kde_cv_opt_noinline_match=yes, -- kde_cv_opt_noinline_match=no -- ) -- -- CFLAGS="$ac_cflags_save" -- fi -- ]) --]) -- -- --dnl AC_VALIDIFY_CXXFLAGS checks for forbidden flags the user may have given --AC_DEFUN([AC_VALIDIFY_CXXFLAGS], --[dnl --if test "x$kde_use_qt_emb" != "xyes"; then -- AC_REMOVE_FORBIDDEN(CXX, [-fno-rtti -rpath]) -- AC_REMOVE_FORBIDDEN(CXXFLAGS, [-fno-rtti -rpath]) --else -- AC_REMOVE_FORBIDDEN(CXX, [-rpath]) -- AC_REMOVE_FORBIDDEN(CXXFLAGS, [-rpath]) --fi --]) -- --AC_DEFUN([AC_CHECK_COMPILERS], --[ -- AC_ARG_ENABLE(debug, -- AC_HELP_STRING([--enable-debug=ARG],[enables debug symbols (yes|no|full) [default=no]]), -- [ -- case $enableval in -- yes) -- kde_use_debug_code="yes" -- kde_use_debug_define=no -- ;; -- full) -- kde_use_debug_code="full" -- kde_use_debug_define=no -- ;; -- *) -- kde_use_debug_code="no" -- kde_use_debug_define=yes -- ;; -- esac -- ], -- [kde_use_debug_code="no" -- kde_use_debug_define=no -- ]) -- -- dnl Just for configure --help -- AC_ARG_ENABLE(dummyoption, -- AC_HELP_STRING([--disable-debug], -- [disables debug output and debug symbols [default=no]]), -- [],[]) -- -- AC_ARG_ENABLE(strict, -- AC_HELP_STRING([--enable-strict], -- [compiles with strict compiler options (may not work!)]), -- [ -- if test $enableval = "no"; then -- kde_use_strict_options="no" -- else -- kde_use_strict_options="yes" -- fi -- ], [kde_use_strict_options="no"]) -- -- AC_ARG_ENABLE(warnings,AC_HELP_STRING([--disable-warnings],[disables compilation with -Wall and similar]), -- [ -- if test $enableval = "no"; then -- kde_use_warnings="no" -- else -- kde_use_warnings="yes" -- fi -- ], [kde_use_warnings="yes"]) -- -- dnl enable warnings for debug build -- if test "$kde_use_debug_code" != "no"; then -- kde_use_warnings=yes -- fi -- -- AC_ARG_ENABLE(profile,AC_HELP_STRING([--enable-profile],[creates profiling infos [default=no]]), -- [kde_use_profiling=$enableval], -- [kde_use_profiling="no"] -- ) -- -- dnl this prevents stupid AC_PROG_CC to add "-g" to the default CFLAGS -- CFLAGS=" $CFLAGS" -- -- AC_PROG_CC -- -- AC_PROG_CPP -- -- if test "$GCC" = "yes"; then -- if test "$kde_use_debug_code" != "no"; then -- if test $kde_use_debug_code = "full"; then -- CFLAGS="-g3 -fno-inline $CFLAGS" -- else -- CFLAGS="-g -O2 -fno-schedule-insns -fno-inline $CFLAGS" -- fi -- else -- CFLAGS="-O2 $CFLAGS" -- fi -- fi -- -- if test "$kde_use_debug_define" = "yes"; then -- CFLAGS="-DNDEBUG $CFLAGS" -- fi -- -- -- case "$host" in -- *-*-sysv4.2uw*) CFLAGS="-D_UNIXWARE $CFLAGS";; -- *-*-sysv5uw7*) CFLAGS="-D_UNIXWARE7 $CFLAGS";; -- esac -- -- if test -z "$LDFLAGS" && test "$kde_use_debug_code" = "no" && test "$GCC" = "yes"; then -- LDFLAGS="" -- fi -- -- CXXFLAGS=" $CXXFLAGS" -- -- AC_PROG_CXX -- -- KDE_CHECK_FOR_BAD_COMPILER -- -- if test "$GXX" = "yes" || test "$CXX" = "KCC"; then -- if test "$kde_use_debug_code" != "no"; then -- if test "$CXX" = "KCC"; then -- CXXFLAGS="+K0 -Wall -pedantic -W -Wpointer-arith -Wwrite-strings $CXXFLAGS" -- else -- if test "$kde_use_debug_code" = "full"; then -- CXXFLAGS="-g3 -fno-inline $CXXFLAGS" -- else -- CXXFLAGS="-g -O2 -fno-schedule-insns -fno-inline $CXXFLAGS" -- fi -- fi -- KDE_CHECK_COMPILER_FLAG(fno-builtin,[CXXFLAGS="-fno-builtin $CXXFLAGS"]) -- -- dnl convenience compiler flags -- KDE_CHECK_COMPILER_FLAG(Woverloaded-virtual, [WOVERLOADED_VIRTUAL="-Woverloaded-virtual"], [WOVERLOADED_VRITUAL=""]) -- AC_SUBST(WOVERLOADED_VIRTUAL) -- else -- if test "$CXX" = "KCC"; then -- CXXFLAGS="+K3 $CXXFLAGS" -- else -- CXXFLAGS="-O2 $CXXFLAGS" -- fi -- fi -- fi -- -- if test "$kde_use_debug_define" = "yes"; then -- CXXFLAGS="-DNDEBUG -DNO_DEBUG $CXXFLAGS" -- fi -- -- if test "$kde_use_profiling" = "yes"; then -- KDE_CHECK_COMPILER_FLAG(pg, -- [ -- CFLAGS="-pg $CFLAGS" -- CXXFLAGS="-pg $CXXFLAGS" -- ]) -- fi -- -- if test "$kde_use_warnings" = "yes"; then -- if test "$GCC" = "yes"; then -- CXXFLAGS="-Wall -W -Wpointer-arith $CXXFLAGS" -- case $host in -- *-*-linux-gnu) -- CFLAGS="-std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE $CFLAGS" -- CXXFLAGS="-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts $CXXFLAGS" -- KDE_CHECK_COMPILER_FLAG(Wmissing-format-attribute, [CXXFLAGS="$CXXFLAGS -Wformat-security -Wmissing-format-attribute"]) -- KDE_CHECK_C_COMPILER_FLAG(Wmissing-format-attribute, [CFLAGS="$CFLAGS -Wformat-security -Wmissing-format-attribute"]) -- ;; -- esac -- KDE_CHECK_COMPILER_FLAG(Wundef,[CXXFLAGS="-Wundef $CXXFLAGS"]) -- KDE_CHECK_COMPILER_FLAG(Wno-long-long,[CXXFLAGS="-Wno-long-long $CXXFLAGS"]) -- dnl ### FIXME: revert for KDE 4 -- KDE_CHECK_COMPILER_FLAG(Wno-non-virtual-dtor,[CXXFLAGS="$CXXFLAGS -Wno-non-virtual-dtor"]) -- fi -- fi -- -- if test "$GXX" = "yes" && test "$kde_use_strict_options" = "yes"; then -- CXXFLAGS="-Wcast-qual -Wshadow -Wcast-align $CXXFLAGS" -- fi -- -- AC_ARG_ENABLE(pch, -- AC_HELP_STRING([--enable-pch], -- [enables precompiled header support (currently only KCC or gcc >=3.4+unsermake) [default=no]]), -- [ kde_use_pch=$enableval ],[ kde_use_pch=no ]) -- -- HAVE_GCC_VISIBILITY=0 -- AC_SUBST([HAVE_GCC_VISIBILITY]) -- -- if test "$GXX" = "yes"; then -- gcc_no_reorder_blocks=NO -- KDE_CHECK_COMPILER_FLAG(fno-reorder-blocks,[gcc_no_reorder_blocks=YES]) -- if test $kde_use_debug_code != "no" && \ -- test $kde_use_debug_code != "full" && \ -- test "YES" = "$gcc_no_reorder_blocks" ; then -- CXXFLAGS="$CXXFLAGS -fno-reorder-blocks" -- CFLAGS="$CFLAGS -fno-reorder-blocks" -- fi -- KDE_CHECK_COMPILER_FLAG(fno-exceptions,[CXXFLAGS="$CXXFLAGS -fno-exceptions"]) -- KDE_CHECK_COMPILER_FLAG(fno-check-new, [CXXFLAGS="$CXXFLAGS -fno-check-new"]) -- KDE_CHECK_COMPILER_FLAG(fno-common, [CXXFLAGS="$CXXFLAGS -fno-common"]) -- KDE_CHECK_COMPILER_FLAG(fexceptions, [USE_EXCEPTIONS="-fexceptions"], USE_EXCEPTIONS= ) -- ENABLE_PERMISSIVE_FLAG="-fpermissive" -- -- if test "$kde_use_pch" = "yes"; then -- AC_MSG_CHECKING(whether gcc supports precompiling c header files) -- echo >conftest.h -- if $CC -x c-header conftest.h >/dev/null 2>/dev/null; then -- kde_gcc_supports_pch=yes -- AC_MSG_RESULT(yes) -- else -- kde_gcc_supports_pch=no -- AC_MSG_RESULT(no) -- fi -- if test "$kde_gcc_supports_pch" = "yes"; then -- AC_MSG_CHECKING(whether gcc supports precompiling c++ header files) -- if $CXX -x c++-header conftest.h >/dev/null 2>/dev/null; then -- kde_gcc_supports_pch=yes -- AC_MSG_RESULT(yes) -- else -- kde_gcc_supports_pch=no -- AC_MSG_RESULT(no) -- fi -- fi -- rm -f conftest.h conftest.h.gch -- fi -- -- KDE_CHECK_FOR_OPT_NOINLINE_MATCH -- if test "x$kde_cv_opt_noinline_match" = "xno" ; then -- CFLAGS="`echo "$CFLAGS" | sed "s/ -fno-inline//"`" -- fi -- fi -- AM_CONDITIONAL(unsermake_enable_pch, test "$kde_use_pch" = "yes" && test "$kde_gcc_supports_pch" = "yes") -- if test "$CXX" = "KCC"; then -- dnl unfortunately we currently cannot disable exception support in KCC -- dnl because doing so is binary incompatible and Qt by default links with exceptions :-( -- dnl KDE_CHECK_COMPILER_FLAG(-no_exceptions,[CXXFLAGS="$CXXFLAGS --no_exceptions"]) -- dnl KDE_CHECK_COMPILER_FLAG(-exceptions, [USE_EXCEPTIONS="--exceptions"], USE_EXCEPTIONS= ) -- -- if test "$kde_use_pch" = "yes"; then -- dnl TODO: support --pch-dir! -- KDE_CHECK_COMPILER_FLAG(-pch,[CXXFLAGS="$CXXFLAGS --pch"]) -- dnl the below works (but the dir must exist), but it's -- dnl useless for a whole package. -- dnl The are precompiled headers for each source file, so when compiling -- dnl from scratch, it doesn't make a difference, and they take up -- dnl around ~5Mb _per_ sourcefile. -- dnl KDE_CHECK_COMPILER_FLAG(-pch_dir /tmp, -- dnl [CXXFLAGS="$CXXFLAGS --pch_dir `pwd`/pcheaders"]) -- fi -- dnl this flag controls inlining. by default KCC inlines in optimisation mode -- dnl all implementations that are defined inside the class {} declaration. -- dnl because of templates-compatibility with broken gcc compilers, this -- dnl can cause excessive inlining. This flag limits it to a sane level -- KDE_CHECK_COMPILER_FLAG(-inline_keyword_space_time=6,[CXXFLAGS="$CXXFLAGS --inline_keyword_space_time=6"]) -- KDE_CHECK_COMPILER_FLAG(-inline_auto_space_time=2,[CXXFLAGS="$CXXFLAGS --inline_auto_space_time=2"]) -- KDE_CHECK_COMPILER_FLAG(-inline_implicit_space_time=2.0,[CXXFLAGS="$CXXFLAGS --inline_implicit_space_time=2.0"]) -- KDE_CHECK_COMPILER_FLAG(-inline_generated_space_time=2.0,[CXXFLAGS="$CXXFLAGS --inline_generated_space_time=2.0"]) -- dnl Some source files are shared between multiple executables -- dnl (or libraries) and some of those need template instantiations. -- dnl In that case KCC needs to compile those sources with -- dnl --one_instantiation_per_object. To make it easy for us we compile -- dnl _all_ objects with that flag (--one_per is a shorthand). -- KDE_CHECK_COMPILER_FLAG(-one_per, [CXXFLAGS="$CXXFLAGS --one_per"]) -- fi -- AC_SUBST(USE_EXCEPTIONS) -- dnl obsolete macro - provided to keep things going -- USE_RTTI= -- AC_SUBST(USE_RTTI) -- -- case "$host" in -- *-*-irix*) test "$GXX" = yes && CXXFLAGS="-D_LANGUAGE_C_PLUS_PLUS -D__LANGUAGE_C_PLUS_PLUS $CXXFLAGS" ;; -- *-*-sysv4.2uw*) CXXFLAGS="-D_UNIXWARE $CXXFLAGS";; -- *-*-sysv5uw7*) CXXFLAGS="-D_UNIXWARE7 $CXXFLAGS";; -- *-*-solaris*) -- if test "$GXX" = yes; then -- libstdcpp=`$CXX -print-file-name=libstdc++.so` -- if test ! -f $libstdcpp; then -- AC_MSG_ERROR([You've compiled gcc without --enable-shared. This doesn't work with KDE. Please recompile gcc with --enable-shared to receive a libstdc++.so]) -- fi -- fi -- ;; -- esac -- -- AC_VALIDIFY_CXXFLAGS -- -- AC_PROG_CXXCPP -- -- if test "$GCC" = yes; then -- NOOPT_CFLAGS=-O0 -- fi -- KDE_CHECK_COMPILER_FLAG(O0,[NOOPT_CXXFLAGS=-O0]) -- -- AC_ARG_ENABLE(coverage, -- AC_HELP_STRING([--enable-coverage],[use gcc coverage testing]), [ -- if test "$am_cv_CC_dependencies_compiler_type" = "gcc3"; then -- ac_coverage_compiler="-fprofile-arcs -ftest-coverage" -- ac_coverage_linker="-lgcc" -- elif test "$am_cv_CC_dependencies_compiler_type" = "gcc"; then -- ac_coverage_compiler="-fprofile-arcs -ftest-coverage" -- ac_coverage_linker="" -- else -- AC_MSG_ERROR([coverage with your compiler is not supported]) -- fi -- CFLAGS="$CFLAGS $ac_coverage_compiler" -- CXXFLAGS="$CXXFLAGS $ac_coverage_compiler" -- LDFLAGS="$LDFLAGS $ac_coverage_linker" -- ]) -- -- AC_SUBST(NOOPT_CXXFLAGS) -- AC_SUBST(NOOPT_CFLAGS) -- AC_SUBST(ENABLE_PERMISSIVE_FLAG) -- -- KDE_CHECK_NEW_LDFLAGS -- KDE_CHECK_FINAL -- KDE_CHECK_CLOSURE -- KDE_CHECK_NMCHECK -- -- ifdef([AM_DEPENDENCIES], AC_REQUIRE([KDE_ADD_DEPENDENCIES]), []) --]) -- --AC_DEFUN([KDE_CHECK_VISIBILITY_GCC_BUG], -- [ -- AC_CACHE_CHECK([for gcc -fvisibility-inlines-hidden bug], kde_cv_val_gcc_visibility_bug, -- [ -- AC_LANG_SAVE -- AC_LANG_CPLUSPLUS -- -- safe_CXXFLAGS=$CXXFLAGS -- safe_LDFLAGS=$LDFLAGS -- CXXFLAGS="$CXXFLAGS -fPIC -fvisibility-inlines-hidden -O0" -- LDFLAGS="$LDFLAGS -shared -fPIC" -- -- AC_TRY_LINK( -- [ -- /* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19664 */ -- #include -- int some_function( void ) __attribute__ ((visibility("default"))); -- int some_function( void ) -- { -- std::string s("blafasel"); -- return 0; -- } -- ], [/* elvis is alive */], -- kde_cv_val_gcc_visibility_bug=no, kde_cv_val_gcc_visibility_bug=yes) -- -- CXXFLAGS=$safe_CXXFLAGS -- LDFLAGS=$safe_LDFLAGS -- AC_LANG_RESTORE -- ] -- ) -- -- if test x$kde_cv_val_gcc_visibility_bug = xno; then -- CXXFLAGS="$CXXFLAGS -fvisibility-inlines-hidden" -- fi -- ] --) -- --AC_DEFUN([KDE_ENABLE_HIDDEN_VISIBILITY], --[ -- AC_BEFORE([AC_PATH_QT_1_3], [KDE_ENABLE_HIDDEN_VISIBILITY]) -- -- AC_MSG_CHECKING([grepping for visibility push/pop in headers]) -- -- if test "x$GXX" = "xyes"; then -- AC_LANG_SAVE -- AC_LANG_CPLUSPLUS -- AC_EGREP_CPP( -- [GCC visibility push], -- [ #include -- ], -- [ -- AC_MSG_RESULT(yes) -- kde_stdc_visibility_patched=yes ], -- [ -- AC_MSG_RESULT(no) -- AC_MSG_WARN([Your libstdc++ doesn't appear to be patched for -- visibility support. Disabling -fvisibility=hidden]) -- -- kde_stdc_visibility_patched=no ]) -- -- AC_LANG_RESTORE -- -- kde_have_gcc_visibility=no -- KDE_CHECK_COMPILER_FLAG(fvisibility=hidden, -- [ -- kde_have_gcc_visibility=yes -- dnl the whole toolchain is just a mess, gcc is just too buggy -- dnl to handle STL with visibility enabled. Lets reconsider -- dnl when gcc 4.2 is out or when things get fixed in the compiler. -- dnl Contact mueller@kde.org for details. -- AC_ARG_ENABLE(gcc-hidden-visibility, -- AC_HELP_STRING([--enable-gcc-hidden-visibility],[toolchain hidden visibility [default=no]]), -- [kde_have_gcc_visibility=$enableval], -- [kde_have_gcc_visibility=no]) -- -- AC_CACHE_CHECK([if Qt is patched for -fvisibility], kde_cv_val_qt_gcc_visibility_patched, -- [ -- AC_LANG_SAVE -- AC_LANG_CPLUSPLUS -- -- safe_CXXFLAGS=$CXXFLAGS -- CXXFLAGS="$CXXFLAGS $all_includes" -- -- AC_TRY_COMPILE( -- [ --#include --#if Q_EXPORT - 0 != 0 --/* if this compiles, then Q_EXPORT is undefined */ --/* if Q_EXPORT is nonempty, this will break compilation */ --#endif -- ], [/* elvis is alive */], -- kde_cv_val_qt_gcc_visibility_patched=no, kde_cv_val_qt_gcc_visibility_patched=yes) -- -- CXXFLAGS=$safe_CXXFLAGS -- AC_LANG_RESTORE -- ] -- ) -- -- if test x$kde_have_gcc_visibility = "xyes" && test x$kde_stdc_visibility_patched = "xyes" && test x$kde_cv_val_qt_gcc_visibility_patched = "xyes"; then -- CXXFLAGS="$CXXFLAGS -fvisibility=hidden" -- KDE_CHECK_VISIBILITY_GCC_BUG -- HAVE_GCC_VISIBILITY=1 -- AC_DEFINE_UNQUOTED(__KDE_HAVE_GCC_VISIBILITY, "$HAVE_GCC_VISIBILITY", [define to 1 if -fvisibility is supported]) -- fi -- ]) -- fi --]) -- --AC_DEFUN([KDE_ADD_DEPENDENCIES], --[ -- [A]M_DEPENDENCIES(CC) -- [A]M_DEPENDENCIES(CXX) --]) -- --dnl just a wrapper to clean up configure.in --AC_DEFUN([KDE_PROG_LIBTOOL], --[ --AC_REQUIRE([AC_CHECK_COMPILERS]) --AC_REQUIRE([AC_ENABLE_SHARED]) --AC_REQUIRE([AC_ENABLE_STATIC]) -- --AC_REQUIRE([AC_LIBTOOL_DLOPEN]) --AC_REQUIRE([KDE_CHECK_LIB64]) -- --AC_OBJEXT --AC_EXEEXT -- --AM_PROG_LIBTOOL --AC_LIBTOOL_CXX -- --LIBTOOL_SHELL="/bin/sh ./libtool" --# LIBTOOL="$LIBTOOL --silent" --KDE_PLUGIN="-avoid-version -module -no-undefined \$(KDE_NO_UNDEFINED) \$(KDE_RPATH) \$(KDE_MT_LDFLAGS)" --AC_SUBST(KDE_PLUGIN) -- --# This hack ensures that libtool creates shared libs for kunittest plugins. By default check_LTLIBRARIES makes static libs. --KDE_CHECK_PLUGIN="\$(KDE_PLUGIN) -rpath \$(libdir)" --AC_SUBST(KDE_CHECK_PLUGIN) -- --# we patch configure quite some so we better keep that consistent for incremental runs --AC_SUBST(AUTOCONF,'$(SHELL) $(top_srcdir)/admin/cvs.sh configure || touch configure') --]) -- --AC_DEFUN([KDE_CHECK_LIB64], --[ -- AC_ARG_ENABLE(libsuffix, -- AC_HELP_STRING([--enable-libsuffix], -- [/lib directory suffix (64,32,none,auto[=default])]), -- kdelibsuff=$enableval, kdelibsuff="auto") -- -- if test "$kdelibsuff" = "auto"; then -- --cat > conftest.c << EOF --#include --int main() { -- return 0; --} --EOF -- kdelibsuff=`$CC conftest.c -o conftest.out; ldd conftest.out |sed -ne '/libc.so/{ -- s,.*/lib\([[^\/]]*\)/.*,\1, -- p --}'` -- rm -rf conftest.* -- fi -- -- if test "$kdelibsuff" = "no" || test "$kdelibsuff" = "none"; then -- kdelibsuff= -- fi -- if test -z "$kdelibsuff"; then -- AC_MSG_RESULT([not using lib directory suffix]) -- AC_DEFINE(KDELIBSUFF, [""], Suffix for lib directories) -- else -- if test "$libdir" = '${exec_prefix}/lib'; then -- libdir="$libdir${kdelibsuff}" -- AC_SUBST([libdir], ["$libdir"]) dnl ugly hack for lib64 platforms -- fi -- AC_DEFINE_UNQUOTED(KDELIBSUFF, ["${kdelibsuff}"], Suffix for lib directories) -- AC_MSG_RESULT([using lib directory suffix $kdelibsuff]) -- fi --]) -- --AC_DEFUN([KDE_CHECK_TYPES], --[ AC_CHECK_SIZEOF(int, 4)dnl -- AC_CHECK_SIZEOF(short)dnl -- AC_CHECK_SIZEOF(long, 4)dnl -- AC_CHECK_SIZEOF(char *, 4)dnl --])dnl -- --dnl Not used - kept for compat only? --AC_DEFUN([KDE_DO_IT_ALL], --[ --AC_CANONICAL_SYSTEM --AC_ARG_PROGRAM --AM_INIT_AUTOMAKE($1, $2) --AM_DISABLE_LIBRARIES --AC_PREFIX_DEFAULT(${KDEDIR:-/usr/local/kde}) --AC_CHECK_COMPILERS --KDE_PROG_LIBTOOL --AM_KDE_WITH_NLS --AC_PATH_KDE --]) -- --AC_DEFUN([AC_CHECK_RPATH], --[ --AC_MSG_CHECKING(for rpath) --AC_ARG_ENABLE(rpath, -- AC_HELP_STRING([--disable-rpath],[do not use the rpath feature of ld]), -- USE_RPATH=$enableval, USE_RPATH=yes) -- --if test -z "$KDE_RPATH" && test "$USE_RPATH" = "yes"; then -- -- KDE_RPATH="-R \$(libdir)" -- -- if test "$kde_libraries" != "$libdir"; then -- KDE_RPATH="$KDE_RPATH -R \$(kde_libraries)" -- fi -- -- if test -n "$qt_libraries"; then -- KDE_RPATH="$KDE_RPATH -R \$(qt_libraries)" -- fi -- dnl $x_libraries is set to /usr/lib in case -- if test -n "$X_LDFLAGS"; then -- X_RPATH="-R \$(x_libraries)" -- KDE_RPATH="$KDE_RPATH $X_RPATH" -- fi -- if test -n "$KDE_EXTRA_RPATH"; then -- KDE_RPATH="$KDE_RPATH \$(KDE_EXTRA_RPATH)" -- fi --fi --AC_SUBST(KDE_EXTRA_RPATH) --AC_SUBST(KDE_RPATH) --AC_SUBST(X_RPATH) --AC_MSG_RESULT($USE_RPATH) --]) -- --dnl Check for the type of the third argument of getsockname --AC_DEFUN([AC_CHECK_SOCKLEN_T], --[ -- AC_MSG_CHECKING(for socklen_t) -- AC_CACHE_VAL(kde_cv_socklen_t, -- [ -- AC_LANG_PUSH(C++) -- kde_cv_socklen_t=no -- AC_TRY_COMPILE([ -- #include -- #include -- ], -- [ -- socklen_t len; -- getpeername(0,0,&len); -- ], -- [ -- kde_cv_socklen_t=yes -- kde_cv_socklen_t_equiv=socklen_t -- ]) -- AC_LANG_POP(C++) -- ]) -- AC_MSG_RESULT($kde_cv_socklen_t) -- if test $kde_cv_socklen_t = no; then -- AC_MSG_CHECKING([for socklen_t equivalent for socket functions]) -- AC_CACHE_VAL(kde_cv_socklen_t_equiv, -- [ -- kde_cv_socklen_t_equiv=int -- AC_LANG_PUSH(C++) -- for t in int size_t unsigned long "unsigned long"; do -- AC_TRY_COMPILE([ -- #include -- #include -- ], -- [ -- $t len; -- getpeername(0,0,&len); -- ], -- [ -- kde_cv_socklen_t_equiv="$t" -- break -- ]) -- done -- AC_LANG_POP(C++) -- ]) -- AC_MSG_RESULT($kde_cv_socklen_t_equiv) -- fi -- AC_DEFINE_UNQUOTED(kde_socklen_t, $kde_cv_socklen_t_equiv, -- [type to use in place of socklen_t if not defined]) -- AC_DEFINE_UNQUOTED(ksize_t, $kde_cv_socklen_t_equiv, -- [type to use in place of socklen_t if not defined (deprecated, use kde_socklen_t)]) --]) -- --dnl This is a merge of some macros out of the gettext aclocal.m4 --dnl since we don't need anything, I took the things we need --dnl the copyright for them is: --dnl > --dnl Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc. --dnl This Makefile.in is free software; the Free Software Foundation --dnl gives unlimited permission to copy and/or distribute it, --dnl with or without modifications, as long as this notice is preserved. -- --dnl This program is distributed in the hope that it will be useful, --dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without --dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A --dnl PARTICULAR PURPOSE. --dnl > --dnl for this file it is relicensed under LGPL -- --AC_DEFUN([AM_KDE_WITH_NLS], -- [ -- dnl If we use NLS figure out what method -- -- AM_PATH_PROG_WITH_TEST_KDE(MSGFMT, msgfmt, -- [test -n "`$ac_dir/$ac_word --version 2>&1 | grep 'GNU gettext'`"], msgfmt) -- AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) -- -- if test -z "`$GMSGFMT --version 2>&1 | grep 'GNU gettext'`"; then -- AC_MSG_RESULT([found msgfmt program is not GNU msgfmt; ignore it]) -- GMSGFMT=":" -- fi -- MSGFMT=$GMSGFMT -- AC_SUBST(GMSGFMT) -- AC_SUBST(MSGFMT) -- -- AM_PATH_PROG_WITH_TEST_KDE(XGETTEXT, xgettext, -- [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :) -- -- dnl Test whether we really found GNU xgettext. -- if test "$XGETTEXT" != ":"; then -- dnl If it is no GNU xgettext we define it as : so that the -- dnl Makefiles still can work. -- if $XGETTEXT --omit-header /dev/null 2> /dev/null; then -- : ; -- else -- AC_MSG_RESULT( -- [found xgettext programs is not GNU xgettext; ignore it]) -- XGETTEXT=":" -- fi -- fi -- AC_SUBST(XGETTEXT) -- -- ]) -- --# Search path for a program which passes the given test. --# Ulrich Drepper , 1996. -- --# serial 1 --# Stephan Kulow: I appended a _KDE against name conflicts -- --dnl AM_PATH_PROG_WITH_TEST_KDE(VARIABLE, PROG-TO-CHECK-FOR, --dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) --AC_DEFUN([AM_PATH_PROG_WITH_TEST_KDE], --[# Extract the first word of "$2", so it can be a program name with args. --set dummy $2; ac_word=[$]2 --AC_MSG_CHECKING([for $ac_word]) --AC_CACHE_VAL(ac_cv_path_$1, --[case "[$]$1" in -- /*) -- ac_cv_path_$1="[$]$1" # Let the user override the test with a path. -- ;; -- *) -- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" -- for ac_dir in ifelse([$5], , $PATH, [$5]); do -- test -z "$ac_dir" && ac_dir=. -- if test -f $ac_dir/$ac_word; then -- if [$3]; then -- ac_cv_path_$1="$ac_dir/$ac_word" -- break -- fi -- fi -- done -- IFS="$ac_save_ifs" --dnl If no 4th arg is given, leave the cache variable unset, --dnl so AC_PATH_PROGS will keep looking. --ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" --])dnl -- ;; --esac])dnl --$1="$ac_cv_path_$1" --if test -n "[$]$1"; then -- AC_MSG_RESULT([$]$1) --else -- AC_MSG_RESULT(no) --fi --AC_SUBST($1)dnl --]) -- -- --# Check whether LC_MESSAGES is available in . --# Ulrich Drepper , 1995. -- --# serial 1 -- --AC_DEFUN([AM_LC_MESSAGES], -- [if test $ac_cv_header_locale_h = yes; then -- AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES, -- [AC_TRY_LINK([#include ], [return LC_MESSAGES], -- am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)]) -- if test $am_cv_val_LC_MESSAGES = yes; then -- AC_DEFINE(HAVE_LC_MESSAGES, 1, [Define if your locale.h file contains LC_MESSAGES]) -- fi -- fi]) -- --dnl From Jim Meyering. --dnl FIXME: migrate into libit. -- --AC_DEFUN([AM_FUNC_OBSTACK], --[AC_CACHE_CHECK([for obstacks], am_cv_func_obstack, -- [AC_TRY_LINK([#include "obstack.h"], -- [struct obstack *mem;obstack_free(mem,(char *) 0)], -- am_cv_func_obstack=yes, -- am_cv_func_obstack=no)]) -- if test $am_cv_func_obstack = yes; then -- AC_DEFINE(HAVE_OBSTACK) -- else -- LIBOBJS="$LIBOBJS obstack.o" -- fi --]) -- --dnl From Jim Meyering. Use this if you use the GNU error.[ch]. --dnl FIXME: Migrate into libit -- --AC_DEFUN([AM_FUNC_ERROR_AT_LINE], --[AC_CACHE_CHECK([for error_at_line], am_cv_lib_error_at_line, -- [AC_TRY_LINK([],[error_at_line(0, 0, "", 0, "");], -- am_cv_lib_error_at_line=yes, -- am_cv_lib_error_at_line=no)]) -- if test $am_cv_lib_error_at_line = no; then -- LIBOBJS="$LIBOBJS error.o" -- fi -- AC_SUBST(LIBOBJS)dnl --]) -- --# Macro to add for using GNU gettext. --# Ulrich Drepper , 1995. -- --# serial 1 --# Stephan Kulow: I put a KDE in it to avoid name conflicts -- --AC_DEFUN([AM_KDE_GNU_GETTEXT], -- [AC_REQUIRE([AC_PROG_MAKE_SET])dnl -- AC_REQUIRE([AC_PROG_RANLIB])dnl -- AC_REQUIRE([AC_HEADER_STDC])dnl -- AC_REQUIRE([AC_TYPE_OFF_T])dnl -- AC_REQUIRE([AC_TYPE_SIZE_T])dnl -- AC_REQUIRE([AC_FUNC_ALLOCA])dnl -- AC_REQUIRE([AC_FUNC_MMAP])dnl -- AC_REQUIRE([AM_KDE_WITH_NLS])dnl -- AC_CHECK_HEADERS([limits.h locale.h nl_types.h string.h values.h alloca.h]) -- AC_CHECK_FUNCS([getcwd munmap putenv setlocale strchr strcasecmp \ --__argz_count __argz_stringify __argz_next]) -- -- AC_MSG_CHECKING(for stpcpy) -- AC_CACHE_VAL(kde_cv_func_stpcpy, -- [ -- kde_safe_cxxflags=$CXXFLAGS -- CXXFLAGS="-Werror" -- AC_LANG_SAVE -- AC_LANG_CPLUSPLUS -- AC_TRY_COMPILE([ -- #include -- ], -- [ -- char buffer[200]; -- stpcpy(buffer, buffer); -- ], -- kde_cv_func_stpcpy=yes, -- kde_cv_func_stpcpy=no) -- AC_LANG_RESTORE -- CXXFLAGS=$kde_safe_cxxflags -- ]) -- AC_MSG_RESULT($kde_cv_func_stpcpy) -- if eval "test \"`echo $kde_cv_func_stpcpy`\" = yes"; then -- AC_DEFINE(HAVE_STPCPY, 1, [Define if you have stpcpy]) -- fi -- -- AM_LC_MESSAGES -- -- if test "x$CATOBJEXT" != "x"; then -- if test "x$ALL_LINGUAS" = "x"; then -- LINGUAS= -- else -- AC_MSG_CHECKING(for catalogs to be installed) -- NEW_LINGUAS= -- for lang in ${LINGUAS=$ALL_LINGUAS}; do -- case "$ALL_LINGUAS" in -- *$lang*) NEW_LINGUAS="$NEW_LINGUAS $lang" ;; -- esac -- done -- LINGUAS=$NEW_LINGUAS -- AC_MSG_RESULT($LINGUAS) -- fi -- -- dnl Construct list of names of catalog files to be constructed. -- if test -n "$LINGUAS"; then -- for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done -- fi -- fi -- -- ]) -- --AC_DEFUN([AC_HAVE_XPM], -- [AC_REQUIRE_CPP()dnl -- AC_REQUIRE([KDE_CHECK_EXTRA_LIBS]) -- -- test -z "$XPM_LDFLAGS" && XPM_LDFLAGS= -- test -z "$XPM_INCLUDE" && XPM_INCLUDE= -- -- AC_ARG_WITH(xpm,AC_HELP_STRING([--without-xpm],[disable color pixmap XPM tests]), -- xpm_test=$withval, xpm_test="yes") -- if test "x$xpm_test" = xno; then -- ac_cv_have_xpm=no -- else -- AC_MSG_CHECKING(for XPM) -- AC_CACHE_VAL(ac_cv_have_xpm, -- [ -- ac_save_ldflags="$LDFLAGS" -- ac_save_cflags="$CFLAGS" -- if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then -- LDFLAGS="$LDFLAGS $X_LDFLAGS $USER_LDFLAGS $LDFLAGS $XPM_LDFLAGS $all_libraries -lXpm -lX11 -lXext $LIBZ $LIBSOCKET" -- else -- LDFLAGS="$LDFLAGS $X_LDFLAGS $USER_LDFLAGS $LDFLAGS $XPM_LDFLAGS $all_libraries -lXpm $LIBZ $LIBSOCKET" -- fi -- CFLAGS="$CFLAGS $X_INCLUDES $USER_INCLUDES" -- test -n "$XPM_INCLUDE" && CFLAGS="-I$XPM_INCLUDE $CFLAGS" -- AC_TRY_LINK([#include ],[], -- ac_cv_have_xpm="yes",ac_cv_have_xpm="no") -- LDFLAGS="$ac_save_ldflags" -- CFLAGS="$ac_save_cflags" -- ])dnl -- -- if test "$ac_cv_have_xpm" = no; then -- AC_MSG_RESULT(no) -- XPM_LDFLAGS="" -- XPMINC="" -- $2 -- else -- AC_DEFINE(HAVE_XPM, 1, [Define if you have XPM support]) -- if test "$XPM_LDFLAGS" = ""; then -- XPMLIB='-lXpm $(LIB_X11)' -- else -- XPMLIB="-L$XPM_LDFLAGS -lXpm "'$(LIB_X11)' -- fi -- if test "$XPM_INCLUDE" = ""; then -- XPMINC="" -- else -- XPMINC="-I$XPM_INCLUDE" -- fi -- AC_MSG_RESULT(yes) -- $1 -- fi -- fi -- AC_SUBST(XPMINC) -- AC_SUBST(XPMLIB) --]) -- --AC_DEFUN([AC_HAVE_DPMS], -- [AC_REQUIRE_CPP()dnl -- AC_REQUIRE([KDE_CHECK_EXTRA_LIBS]) -- -- test -z "$DPMS_LDFLAGS" && DPMS_LDFLAGS= -- test -z "$DPMS_INCLUDE" && DPMS_INCLUDE= -- DPMS_LIB= -- -- AC_ARG_WITH(dpms,AC_HELP_STRING([--without-dpms],[disable DPMS power saving]), -- dpms_test=$withval, dpms_test="yes") -- if test "x$dpms_test" = xno; then -- ac_cv_have_dpms=no -- else -- AC_MSG_CHECKING(for DPMS) -- dnl Note: ac_cv_have_dpms can be no, yes, or -lXdpms. -- dnl 'yes' means DPMS_LIB="", '-lXdpms' means DPMS_LIB="-lXdpms". -- AC_CACHE_VAL(ac_cv_have_dpms, -- [ -- if test "x$kde_use_qt_emb" = "xyes" || test "x$kde_use_qt_mac" = "xyes"; then -- AC_MSG_RESULT(no) -- ac_cv_have_dpms="no" -- else -- ac_save_ldflags="$LDFLAGS" -- ac_save_cflags="$CFLAGS" -- ac_save_libs="$LIBS" -- LDFLAGS="$LDFLAGS $DPMS_LDFLAGS $all_libraries" -- LIBS="-lX11 -lXext $LIBSOCKET" -- CFLAGS="$CFLAGS $X_INCLUDES" -- test -n "$DPMS_INCLUDE" && CFLAGS="-I$DPMS_INCLUDE $CFLAGS" -- AC_TRY_LINK([ -- #include -- #include -- #include -- #include -- int foo_test_dpms() -- { return DPMSSetTimeouts( 0, 0, 0, 0 ); }],[], -- ac_cv_have_dpms="yes", [ -- LIBS="-lXdpms $LIBS" -- AC_TRY_LINK([ -- #include -- #include -- #include -- #include -- int foo_test_dpms() -- { return DPMSSetTimeouts( 0, 0, 0, 0 ); }],[], -- [ -- ac_cv_have_dpms="-lXdpms" -- ],ac_cv_have_dpms="no") -- ]) -- LDFLAGS="$ac_save_ldflags" -- CFLAGS="$ac_save_cflags" -- LIBS="$ac_save_libs" -- fi -- ])dnl -- -- if test "$ac_cv_have_dpms" = no; then -- AC_MSG_RESULT(no) -- DPMS_LDFLAGS="" -- DPMSINC="" -- $2 -- else -- AC_DEFINE(HAVE_DPMS, 1, [Define if you have DPMS support]) -- if test "$ac_cv_have_dpms" = "-lXdpms"; then -- DPMS_LIB="-lXdpms" -- fi -- if test "$DPMS_LDFLAGS" = ""; then -- DPMSLIB="$DPMS_LIB "'$(LIB_X11)' -- else -- DPMSLIB="$DPMS_LDFLAGS $DPMS_LIB "'$(LIB_X11)' -- fi -- if test "$DPMS_INCLUDE" = ""; then -- DPMSINC="" -- else -- DPMSINC="-I$DPMS_INCLUDE" -- fi -- AC_MSG_RESULT(yes) -- $1 -- fi -- fi -- ac_save_cflags="$CFLAGS" -- CFLAGS="$CFLAGS $X_INCLUDES" -- test -n "$DPMS_INCLUDE" && CFLAGS="-I$DPMS_INCLUDE $CFLAGS" -- AH_TEMPLATE(HAVE_DPMSCAPABLE_PROTO, -- [Define if you have the DPMSCapable prototype in ]) -- AC_CHECK_DECL(DPMSCapable, -- AC_DEFINE(HAVE_DPMSCAPABLE_PROTO),, -- [#include -- #include ]) -- AH_TEMPLATE(HAVE_DPMSINFO_PROTO, -- [Define if you have the DPMSInfo prototype in ]) -- AC_CHECK_DECL(DPMSInfo, -- AC_DEFINE(HAVE_DPMSINFO_PROTO),, -- [#include -- #include ]) -- CFLAGS="$ac_save_cflags" -- AC_SUBST(DPMSINC) -- AC_SUBST(DPMSLIB) --]) -- --AC_DEFUN([AC_HAVE_GL], -- [AC_REQUIRE_CPP()dnl -- AC_REQUIRE([KDE_CHECK_EXTRA_LIBS]) -- -- test -z "$GL_LDFLAGS" && GL_LDFLAGS= -- test -z "$GL_INCLUDE" && GL_INCLUDE= -- -- AC_ARG_WITH(gl,AC_HELP_STRING([--without-gl],[disable 3D GL modes]), -- gl_test=$withval, gl_test="yes") -- if test "x$kde_use_qt_emb" = "xyes"; then -- # GL and Qt Embedded is a no-go for now. -- ac_cv_have_gl=no -- elif test "x$gl_test" = xno; then -- ac_cv_have_gl=no -- else -- AC_MSG_CHECKING(for GL) -- AC_CACHE_VAL(ac_cv_have_gl, -- [ -- AC_LANG_SAVE -- AC_LANG_CPLUSPLUS -- ac_save_ldflags=$LDFLAGS -- ac_save_cxxflags=$CXXFLAGS -- ac_save_libs=$LIBS -- LDFLAGS="$LDFLAGS $GL_LDFLAGS $X_LDFLAGS $all_libraries" -- LIBS="$LIBS -lGL -lGLU" -- test "x$kde_use_qt_mac" != xyes && test "x$kde_use_qt_emb" != xyes && LIBS="$LIBS -lX11" -- LIBS="$LIBS $LIB_XEXT -lm $LIBSOCKET" -- CXXFLAGS="$CFLAGS $X_INCLUDES" -- test -n "$GL_INCLUDE" && CFLAGS="-I$GL_INCLUDE $CFLAGS" -- AC_TRY_LINK([#include --#include --], [], -- ac_cv_have_gl="yes", ac_cv_have_gl="no") -- AC_LANG_RESTORE -- LDFLAGS=$ac_save_ldflags -- CXXFLAGS=$ac_save_cxxflags -- LIBS=$ac_save_libs -- ])dnl -- -- if test "$ac_cv_have_gl" = "no"; then -- AC_MSG_RESULT(no) -- GL_LDFLAGS="" -- GLINC="" -- $2 -- else -- AC_DEFINE(HAVE_GL, 1, [Defines if you have GL (Mesa, OpenGL, ...)]) -- if test "$GL_LDFLAGS" = ""; then -- GLLIB='-lGLU -lGL $(LIB_X11)' -- else -- GLLIB="$GL_LDFLAGS -lGLU -lGL "'$(LIB_X11)' -- fi -- if test "$GL_INCLUDE" = ""; then -- GLINC="" -- else -- GLINC="-I$GL_INCLUDE" -- fi -- AC_MSG_RESULT($ac_cv_have_gl) -- $1 -- fi -- fi -- AC_SUBST(GLINC) -- AC_SUBST(GLLIB) --]) -- -- -- dnl shadow password and PAM magic - maintained by ossi@kde.org -- --AC_DEFUN([KDE_PAM], [ -- AC_REQUIRE([KDE_CHECK_LIBDL]) -- -- want_pam= -- AC_ARG_WITH(pam, -- AC_HELP_STRING([--with-pam[=ARG]],[enable support for PAM: ARG=[yes|no|service name]]), -- [ if test "x$withval" = "xyes"; then -- want_pam=yes -- pam_service=kde -- elif test "x$withval" = "xno"; then -- want_pam=no -- else -- want_pam=yes -- pam_service=$withval -- fi -- ], [ pam_service=kde ]) -- -- use_pam= -- PAMLIBS= -- if test "x$want_pam" != xno; then -- AC_CHECK_LIB(pam, pam_start, [ -- AC_CHECK_HEADER(security/pam_appl.h, -- [ pam_header=security/pam_appl.h ], -- [ AC_CHECK_HEADER(pam/pam_appl.h, -- [ pam_header=pam/pam_appl.h ], -- [ -- AC_MSG_WARN([PAM detected, but no headers found! --Make sure you have the necessary development packages installed.]) -- ] -- ) -- ] -- ) -- ], , $LIBDL) -- if test -z "$pam_header"; then -- if test "x$want_pam" = xyes; then -- AC_MSG_ERROR([--with-pam was specified, but cannot compile with PAM!]) -- fi -- else -- AC_DEFINE(HAVE_PAM, 1, [Defines if you have PAM (Pluggable Authentication Modules)]) -- PAMLIBS="$PAM_MISC_LIB -lpam $LIBDL" -- use_pam=yes -- -- dnl darwin claims to be something special -- if test "$pam_header" = "pam/pam_appl.h"; then -- AC_DEFINE(HAVE_PAM_PAM_APPL_H, 1, [Define if your PAM headers are in pam/ instead of security/]) -- fi -- -- dnl test whether struct pam_message is const (Linux) or not (Sun) -- AC_MSG_CHECKING(for const pam_message) -- AC_EGREP_HEADER([struct pam_message], $pam_header, -- [ AC_EGREP_HEADER([const struct pam_message], $pam_header, -- [AC_MSG_RESULT([const: Linux-type PAM])], -- [AC_MSG_RESULT([nonconst: Sun-type PAM]) -- AC_DEFINE(PAM_MESSAGE_NONCONST, 1, [Define if your PAM support takes non-const arguments (Solaris)])] -- )], -- [AC_MSG_RESULT([not found - assume const, Linux-type PAM])]) -- fi -- fi -- -- AC_SUBST(PAMLIBS) --]) -- --dnl DEF_PAM_SERVICE(arg name, full name, define name) --AC_DEFUN([DEF_PAM_SERVICE], [ -- AC_ARG_WITH($1-pam, -- AC_HELP_STRING([--with-$1-pam=[val]],[override PAM service from --with-pam for $2]), -- [ if test "x$use_pam" = xyes; then -- $3_PAM_SERVICE=$withval -- else -- AC_MSG_ERROR([Cannot use use --with-$1-pam, as no PAM was detected. --You may want to enforce it by using --with-pam.]) -- fi -- ], -- [ if test "x$use_pam" = xyes; then -- $3_PAM_SERVICE="$pam_service" -- fi -- ]) -- if test -n "$$3_PAM_SERVICE"; then -- AC_MSG_RESULT([The PAM service used by $2 will be $$3_PAM_SERVICE]) -- AC_DEFINE_UNQUOTED($3_PAM_SERVICE, "$$3_PAM_SERVICE", [The PAM service to be used by $2]) -- fi -- AC_SUBST($3_PAM_SERVICE) --]) -- --AC_DEFUN([KDE_SHADOWPASSWD], [ -- AC_REQUIRE([KDE_PAM]) -- -- AC_CHECK_LIB(shadow, getspent, -- [ LIBSHADOW="-lshadow" -- ac_use_shadow=yes -- ], -- [ dnl for UnixWare -- AC_CHECK_LIB(gen, getspent, -- [ LIBGEN="-lgen" -- ac_use_shadow=yes -- ], -- [ AC_CHECK_FUNC(getspent, -- [ ac_use_shadow=yes ], -- [ ac_use_shadow=no ]) -- ]) -- ]) -- AC_SUBST(LIBSHADOW) -- AC_SUBST(LIBGEN) -- -- AC_MSG_CHECKING([for shadow passwords]) -- -- AC_ARG_WITH(shadow, -- AC_HELP_STRING([--with-shadow],[If you want shadow password support]), -- [ if test "x$withval" != "xno"; then -- use_shadow=yes -- else -- use_shadow=no -- fi -- ], [ -- use_shadow="$ac_use_shadow" -- ]) -- -- if test "x$use_shadow" = xyes; then -- AC_MSG_RESULT(yes) -- AC_DEFINE(HAVE_SHADOW, 1, [Define if you use shadow passwords]) -- else -- AC_MSG_RESULT(no) -- LIBSHADOW= -- LIBGEN= -- fi -- -- dnl finally make the relevant binaries setuid root, if we have shadow passwds. -- dnl this still applies, if we could use it indirectly through pam. -- if test "x$use_shadow" = xyes || -- ( test "x$use_pam" = xyes && test "x$ac_use_shadow" = xyes ); then -- case $host in -- *-*-freebsd* | *-*-netbsd* | *-*-openbsd*) -- SETUIDFLAGS="-m 4755 -o root";; -- *) -- SETUIDFLAGS="-m 4755";; -- esac -- fi -- AC_SUBST(SETUIDFLAGS) -- --]) -- --AC_DEFUN([KDE_PASSWDLIBS], [ -- AC_REQUIRE([KDE_MISC_TESTS]) dnl for LIBCRYPT -- AC_REQUIRE([KDE_PAM]) -- AC_REQUIRE([KDE_SHADOWPASSWD]) -- -- if test "x$use_pam" = "xyes"; then -- PASSWDLIBS="$PAMLIBS" -- else -- PASSWDLIBS="$LIBCRYPT $LIBSHADOW $LIBGEN" -- fi -- -- dnl FreeBSD uses a shadow-like setup, where /etc/passwd holds the users, but -- dnl /etc/master.passwd holds the actual passwords. /etc/master.passwd requires -- dnl root to read, so kcheckpass needs to be root (even when using pam, since pam -- dnl may need to read /etc/master.passwd). -- case $host in -- *-*-freebsd*) -- SETUIDFLAGS="-m 4755 -o root" -- ;; -- *) -- ;; -- esac -- -- AC_SUBST(PASSWDLIBS) --]) -- --AC_DEFUN([KDE_CHECK_LIBDL], --[ --AC_CHECK_LIB(dl, dlopen, [ --LIBDL="-ldl" --ac_cv_have_dlfcn=yes --]) -- --AC_CHECK_LIB(dld, shl_unload, [ --LIBDL="-ldld" --ac_cv_have_shload=yes --]) -- --AC_SUBST(LIBDL) --]) -- --AC_DEFUN([KDE_CHECK_DLOPEN], --[ --KDE_CHECK_LIBDL --AC_CHECK_HEADERS(dlfcn.h dl.h) --if test "$ac_cv_header_dlfcn_h" = "no"; then -- ac_cv_have_dlfcn=no --fi -- --if test "$ac_cv_header_dl_h" = "no"; then -- ac_cv_have_shload=no --fi -- --dnl XXX why change enable_dlopen? its already set by autoconf's AC_ARG_ENABLE --dnl (MM) --AC_ARG_ENABLE(dlopen, --AC_HELP_STRING([--disable-dlopen],[link statically [default=no]]), --enable_dlopen=$enableval, --enable_dlopen=yes) -- --# override the user's opinion, if we know it better ;) --if test "$ac_cv_have_dlfcn" = "no" && test "$ac_cv_have_shload" = "no"; then -- enable_dlopen=no --fi -- --if test "$ac_cv_have_dlfcn" = "yes"; then -- AC_DEFINE_UNQUOTED(HAVE_DLFCN, 1, [Define if you have dlfcn]) --fi -- --if test "$ac_cv_have_shload" = "yes"; then -- AC_DEFINE_UNQUOTED(HAVE_SHLOAD, 1, [Define if you have shload]) --fi -- --if test "$enable_dlopen" = no ; then -- test -n "$1" && eval $1 --else -- test -n "$2" && eval $2 --fi -- --]) -- --AC_DEFUN([KDE_CHECK_DYNAMIC_LOADING], --[ --KDE_CHECK_DLOPEN(libtool_enable_shared=yes, libtool_enable_static=no) --KDE_PROG_LIBTOOL --AC_MSG_CHECKING([dynamic loading]) --eval "`egrep '^build_libtool_libs=' libtool`" --if test "$build_libtool_libs" = "yes" && test "$enable_dlopen" = "yes"; then -- dynamic_loading=yes -- AC_DEFINE_UNQUOTED(HAVE_DYNAMIC_LOADING) --else -- dynamic_loading=no --fi --AC_MSG_RESULT($dynamic_loading) --if test "$dynamic_loading" = "yes"; then -- $1 --else -- $2 --fi --]) -- --AC_DEFUN([KDE_ADD_INCLUDES], --[ --if test -z "$1"; then -- test_include="Pix.h" --else -- test_include="$1" --fi -- --AC_MSG_CHECKING([for libg++ ($test_include)]) -- --AC_CACHE_VAL(kde_cv_libgpp_includes, --[ --kde_cv_libgpp_includes=no -- -- for ac_dir in \ -- \ -- /usr/include/g++ \ -- /usr/include \ -- /usr/unsupported/include \ -- /opt/include \ -- $extra_include \ -- ; \ -- do -- if test -r "$ac_dir/$test_include"; then -- kde_cv_libgpp_includes=$ac_dir -- break -- fi -- done --]) -- --AC_MSG_RESULT($kde_cv_libgpp_includes) --if test "$kde_cv_libgpp_includes" != "no"; then -- all_includes="-I$kde_cv_libgpp_includes $all_includes $USER_INCLUDES" --fi --]) --]) -- --AC_DEFUN([KDE_CHECK_LIBPTHREAD], --[ -- dnl This code is here specifically to handle the -- dnl various flavors of threading library on FreeBSD -- dnl 4-, 5-, and 6-, and the (weird) rules around it. -- dnl There may be an environment PTHREAD_LIBS that -- dnl specifies what to use; otherwise, search for it. -- dnl -pthread is special cased and unsets LIBPTHREAD -- dnl below if found. -- LIBPTHREAD="" -- -- if test -n "$PTHREAD_LIBS"; then -- if test "x$PTHREAD_LIBS" = "x-pthread" ; then -- LIBPTHREAD="PTHREAD" -- else -- PTHREAD_LIBS_save="$PTHREAD_LIBS" -- PTHREAD_LIBS=`echo "$PTHREAD_LIBS_save" | sed -e 's,^-l,,g'` -- AC_MSG_CHECKING([for pthread_create in $PTHREAD_LIBS]) -- KDE_CHECK_LIB($PTHREAD_LIBS, pthread_create, [ -- LIBPTHREAD="$PTHREAD_LIBS_save"]) -- PTHREAD_LIBS="$PTHREAD_LIBS_save" -- fi -- fi -- -- dnl Is this test really needed, in the face of the Tru64 test below? -- if test -z "$LIBPTHREAD"; then -- AC_CHECK_LIB(pthread, pthread_create, [LIBPTHREAD="-lpthread"]) -- fi -- -- dnl This is a special Tru64 check, see BR 76171 issue #18. -- if test -z "$LIBPTHREAD" ; then -- AC_MSG_CHECKING([for pthread_create in -lpthread]) -- kde_safe_libs=$LIBS -- LIBS="$LIBS -lpthread" -- AC_TRY_LINK([#include ],[(void)pthread_create(0,0,0,0);],[ -- AC_MSG_RESULT(yes) -- LIBPTHREAD="-lpthread"],[ -- AC_MSG_RESULT(no)]) -- LIBS=$kde_safe_libs -- fi -- -- dnl Un-special-case for FreeBSD. -- if test "x$LIBPTHREAD" = "xPTHREAD" ; then -- LIBPTHREAD="" -- fi -- -- AC_SUBST(LIBPTHREAD) --]) -- --AC_DEFUN([KDE_CHECK_PTHREAD_OPTION], --[ -- USE_THREADS="" -- if test -z "$LIBPTHREAD"; then -- KDE_CHECK_COMPILER_FLAG(pthread, [USE_THREADS="-D_THREAD_SAFE -pthread"]) -- fi -- -- AH_VERBATIM(__svr_define, [ --#if defined(__SVR4) && !defined(__svr4__) --#define __svr4__ 1 --#endif --]) -- case $host_os in -- solaris*) -- KDE_CHECK_COMPILER_FLAG(mt, [USE_THREADS="-mt"]) -- CPPFLAGS="$CPPFLAGS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4" -- ;; -- freebsd*) -- CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE $PTHREAD_CFLAGS" -- ;; -- aix*) -- CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" -- LIBPTHREAD="$LIBPTHREAD -lc_r" -- ;; -- linux*) CPPFLAGS="$CPPFLAGS -D_REENTRANT" -- if test "$CXX" = "KCC"; then -- CXXFLAGS="$CXXFLAGS --thread_safe" -- NOOPT_CXXFLAGS="$NOOPT_CXXFLAGS --thread_safe" -- fi -- ;; -- *) -- ;; -- esac -- AC_SUBST(USE_THREADS) -- AC_SUBST(LIBPTHREAD) --]) -- --AC_DEFUN([KDE_CHECK_THREADING], --[ -- AC_REQUIRE([KDE_CHECK_LIBPTHREAD]) -- AC_REQUIRE([KDE_CHECK_PTHREAD_OPTION]) -- dnl default is yes if libpthread is found and no if no libpthread is available -- if test -z "$LIBPTHREAD"; then -- if test -z "$USE_THREADS"; then -- kde_check_threading_default=no -- else -- kde_check_threading_default=yes -- fi -- else -- kde_check_threading_default=yes -- fi -- AC_ARG_ENABLE(threading,AC_HELP_STRING([--disable-threading],[disables threading even if libpthread found]), -- kde_use_threading=$enableval, kde_use_threading=$kde_check_threading_default) -- if test "x$kde_use_threading" = "xyes"; then -- AC_DEFINE(HAVE_LIBPTHREAD, 1, [Define if you have a working libpthread (will enable threaded code)]) -- fi --]) -- --AC_DEFUN([KDE_TRY_LINK_PYTHON], --[ --if test "$kde_python_link_found" = no; then -- --if test "$1" = normal; then -- AC_MSG_CHECKING(if a Python application links) --else -- AC_MSG_CHECKING(if Python depends on $2) --fi -- --AC_CACHE_VAL(kde_cv_try_link_python_$1, --[ --kde_save_cflags="$CFLAGS" --CFLAGS="$CFLAGS $PYTHONINC" --kde_save_libs="$LIBS" --LIBS="$LIBS $LIBPYTHON $2 $LIBDL $LIBSOCKET" --kde_save_ldflags="$LDFLAGS" --LDFLAGS="$LDFLAGS $PYTHONLIB" -- --AC_TRY_LINK( --[ --#include --],[ -- PySys_SetArgv(1, 0); --], -- [kde_cv_try_link_python_$1=yes], -- [kde_cv_try_link_python_$1=no] --) --CFLAGS="$kde_save_cflags" --LIBS="$kde_save_libs" --LDFLAGS="$kde_save_ldflags" --]) -- --if test "$kde_cv_try_link_python_$1" = "yes"; then -- AC_MSG_RESULT(yes) -- kde_python_link_found=yes -- if test ! "$1" = normal; then -- LIBPYTHON="$LIBPYTHON $2" -- fi -- $3 --else -- AC_MSG_RESULT(no) -- $4 --fi -- --fi -- --]) -- --AC_DEFUN([KDE_CHECK_PYTHON_DIR], --[ --AC_MSG_CHECKING([for Python directory]) -- --AC_CACHE_VAL(kde_cv_pythondir, --[ -- if test -z "$PYTHONDIR"; then -- kde_cv_pythondir=/usr/local -- else -- kde_cv_pythondir="$PYTHONDIR" -- fi --]) -- --AC_ARG_WITH(pythondir, --AC_HELP_STRING([--with-pythondir=pythondir],[use python installed in pythondir]), --[ -- ac_python_dir=$withval --], ac_python_dir=$kde_cv_pythondir --) -- --AC_MSG_RESULT($ac_python_dir) --]) -- --AC_DEFUN([KDE_CHECK_PYTHON_INTERN], --[ --AC_REQUIRE([KDE_CHECK_LIBDL]) --AC_REQUIRE([KDE_CHECK_LIBPTHREAD]) --AC_REQUIRE([KDE_CHECK_PYTHON_DIR]) -- --if test -z "$1"; then -- version="1.5" --else -- version="$1" --fi -- --AC_MSG_CHECKING([for Python$version]) -- --python_incdirs="$ac_python_dir/include /usr/include /usr/local/include/ $kde_extra_includes" --AC_FIND_FILE(Python.h, $python_incdirs, python_incdir) --if test ! -r $python_incdir/Python.h; then -- AC_FIND_FILE(python$version/Python.h, $python_incdirs, python_incdir) -- python_incdir=$python_incdir/python$version -- if test ! -r $python_incdir/Python.h; then -- python_incdir=no -- fi --fi -- --PYTHONINC=-I$python_incdir -- --python_libdirs="$ac_python_dir/lib$kdelibsuff /usr/lib$kdelibsuff /usr/local /usr/lib$kdelibsuff $kde_extra_libs" --AC_FIND_FILE(libpython$version.so, $python_libdirs, python_libdir) --if test ! -r $python_libdir/libpython$version.so; then -- AC_FIND_FILE(libpython$version.a, $python_libdirs, python_libdir) -- if test ! -r $python_libdir/libpython$version.a; then -- AC_FIND_FILE(python$version/config/libpython$version.a, $python_libdirs, python_libdir) -- python_libdir=$python_libdir/python$version/config -- if test ! -r $python_libdir/libpython$version.a; then -- python_libdir=no -- fi -- fi --fi -- --PYTHONLIB=-L$python_libdir --kde_orig_LIBPYTHON=$LIBPYTHON --if test -z "$LIBPYTHON"; then -- LIBPYTHON=-lpython$version --fi -- --AC_FIND_FILE(python$version/copy.py, $python_libdirs, python_moddir) --python_moddir=$python_moddir/python$version --if test ! -r $python_moddir/copy.py; then -- python_moddir=no --fi -- --PYTHONMODDIR=$python_moddir -- --AC_MSG_RESULT(header $python_incdir library $python_libdir modules $python_moddir) -- --if test x$python_incdir = xno || test x$python_libdir = xno || test x$python_moddir = xno; then -- LIBPYTHON=$kde_orig_LIBPYTHON -- test "x$PYTHONLIB" = "x-Lno" && PYTHONLIB="" -- test "x$PYTHONINC" = "x-Ino" && PYTHONINC="" -- $2 --else -- dnl Note: this test is very weak -- kde_python_link_found=no -- KDE_TRY_LINK_PYTHON(normal) -- KDE_TRY_LINK_PYTHON(m, -lm) -- KDE_TRY_LINK_PYTHON(pthread, $LIBPTHREAD) -- KDE_TRY_LINK_PYTHON(tcl, -ltcl) -- KDE_TRY_LINK_PYTHON(db2, -ldb2) -- KDE_TRY_LINK_PYTHON(m_and_thread, [$LIBPTHREAD -lm]) -- KDE_TRY_LINK_PYTHON(m_and_thread_and_util, [$LIBPTHREAD -lm -lutil]) -- KDE_TRY_LINK_PYTHON(m_and_thread_and_db3, [$LIBPTHREAD -lm -ldb-3 -lutil]) -- KDE_TRY_LINK_PYTHON(pthread_and_db3, [$LIBPTHREAD -ldb-3]) -- KDE_TRY_LINK_PYTHON(m_and_thread_and_db, [$LIBPTHREAD -lm -ldb -ltermcap -lutil]) -- KDE_TRY_LINK_PYTHON(pthread_and_dl, [$LIBPTHREAD $LIBDL -lutil -lreadline -lncurses -lm]) -- KDE_TRY_LINK_PYTHON(pthread_and_panel_curses, [$LIBPTHREAD $LIBDL -lm -lpanel -lcurses]) -- KDE_TRY_LINK_PYTHON(m_and_thread_and_db_special, [$LIBPTHREAD -lm -ldb -lutil], [], -- [AC_MSG_WARN([it seems, Python depends on another library. -- Please set LIBPYTHON to '-lpython$version -lotherlib' before calling configure to fix this -- and contact the authors to let them know about this problem]) -- ]) -- -- LIBPYTHON="$LIBPYTHON $LIBDL $LIBSOCKET" -- AC_SUBST(PYTHONINC) -- AC_SUBST(PYTHONLIB) -- AC_SUBST(LIBPYTHON) -- AC_SUBST(PYTHONMODDIR) -- AC_DEFINE(HAVE_PYTHON, 1, [Define if you have the development files for python]) --fi -- --]) -- -- --AC_DEFUN([KDE_CHECK_PYTHON], --[ -- KDE_CHECK_PYTHON_INTERN("2.5", -- [KDE_CHECK_PYTHON_INTERN("2.4", -- [KDE_CHECK_PYTHON_INTERN("2.3", -- [KDE_CHECK_PYTHON_INTERN("2.2", -- [KDE_CHECK_PYTHON_INTERN("2.1", -- [KDE_CHECK_PYTHON_INTERN("2.0", -- [KDE_CHECK_PYTHON_INTERN($1, $2) ]) -- ]) -- ]) -- ]) -- ]) -- ]) --]) -- --AC_DEFUN([KDE_CHECK_STL], --[ -- AC_LANG_SAVE -- AC_LANG_CPLUSPLUS -- ac_save_CXXFLAGS="$CXXFLAGS" -- CXXFLAGS="`echo $CXXFLAGS | sed s/-fno-exceptions//`" -- -- AC_MSG_CHECKING([if C++ programs can be compiled]) -- AC_CACHE_VAL(kde_cv_stl_works, -- [ -- AC_TRY_COMPILE([ --#include --using namespace std; --],[ -- string astring="Hallo Welt."; -- astring.erase(0, 6); // now astring is "Welt" -- return 0; --], kde_cv_stl_works=yes, -- kde_cv_stl_works=no) --]) -- -- AC_MSG_RESULT($kde_cv_stl_works) -- -- if test "$kde_cv_stl_works" = "yes"; then -- # back compatible -- AC_DEFINE_UNQUOTED(HAVE_SGI_STL, 1, [Define if you have a STL implementation by SGI]) -- else -- AC_MSG_ERROR([Your Installation isn't able to compile simple C++ programs. --Check config.log for details - if you're using a Linux distribution you might miss --a package named similar to libstdc++-dev.]) -- fi -- -- CXXFLAGS="$ac_save_CXXFLAGS" -- AC_LANG_RESTORE --]) -- --AC_DEFUN([AC_FIND_QIMGIO], -- [AC_REQUIRE([AC_FIND_JPEG]) --AC_REQUIRE([KDE_CHECK_EXTRA_LIBS]) --AC_MSG_CHECKING([for qimgio]) --AC_CACHE_VAL(ac_cv_lib_qimgio, --[ --AC_LANG_SAVE --AC_LANG_CPLUSPLUS --ac_save_LIBS="$LIBS" --ac_save_CXXFLAGS="$CXXFLAGS" --LIBS="$all_libraries -lqimgio -lpng -lz $LIBJPEG $LIBQT" --CXXFLAGS="$CXXFLAGS -I$qt_incdir $all_includes" --AC_TRY_RUN(dnl --[ --#include --#include --int main() { -- QString t = "hallo"; -- t.fill('t'); -- qInitImageIO(); --} --], -- ac_cv_lib_qimgio=yes, -- ac_cv_lib_qimgio=no, -- ac_cv_lib_qimgio=no) --LIBS="$ac_save_LIBS" --CXXFLAGS="$ac_save_CXXFLAGS" --AC_LANG_RESTORE --])dnl --if eval "test \"`echo $ac_cv_lib_qimgio`\" = yes"; then -- LIBQIMGIO="-lqimgio -lpng -lz $LIBJPEG" -- AC_MSG_RESULT(yes) -- AC_DEFINE_UNQUOTED(HAVE_QIMGIO, 1, [Define if you have the Qt extension qimgio available]) -- AC_SUBST(LIBQIMGIO) --else -- AC_MSG_RESULT(not found) --fi --]) -- --AC_DEFUN([AM_DISABLE_LIBRARIES], --[ -- AC_PROVIDE([AM_ENABLE_STATIC]) -- AC_PROVIDE([AM_ENABLE_SHARED]) -- enable_static=no -- enable_shared=yes --]) -- -- --AC_DEFUN([AC_CHECK_UTMP_FILE], --[ -- AC_MSG_CHECKING([for utmp file]) -- -- AC_CACHE_VAL(kde_cv_utmp_file, -- [ -- kde_cv_utmp_file=no -- -- for ac_file in \ -- \ -- /var/run/utmp \ -- /var/adm/utmp \ -- /etc/utmp \ -- ; \ -- do -- if test -r "$ac_file"; then -- kde_cv_utmp_file=$ac_file -- break -- fi -- done -- ]) -- -- if test "$kde_cv_utmp_file" != "no"; then -- AC_DEFINE_UNQUOTED(UTMP, "$kde_cv_utmp_file", [Define the file for utmp entries]) -- $1 -- AC_MSG_RESULT($kde_cv_utmp_file) -- else -- $2 -- AC_MSG_RESULT([non found]) -- fi --]) -- -- --AC_DEFUN([KDE_CREATE_SUBDIRSLIST], --[ -- --DO_NOT_COMPILE="$DO_NOT_COMPILE CVS debian bsd-port admin" --TOPSUBDIRS="" -- --if test ! -s $srcdir/subdirs; then -- dnl Note: Makefile.common creates subdirs, so this is just a fallback -- files=`cd $srcdir && ls -1` -- dirs=`for i in $files; do if test -d $i; then echo $i; fi; done` -- for i in $dirs; do -- echo $i >> $srcdir/subdirs -- done --fi -- --ac_topsubdirs= --if test -s $srcdir/inst-apps; then -- ac_topsubdirs="`cat $srcdir/inst-apps`" --elif test -s $srcdir/subdirs; then -- ac_topsubdirs="`cat $srcdir/subdirs`" --fi -- --for i in $ac_topsubdirs; do -- AC_MSG_CHECKING([if $i should be compiled]) -- if test -d $srcdir/$i; then -- install_it="yes" -- for j in $DO_NOT_COMPILE; do -- if test $i = $j; then -- install_it="no" -- fi -- done -- else -- install_it="no" -- fi -- AC_MSG_RESULT($install_it) -- vari=`echo $i | sed -e 's,[[-+.@]],_,g'` -- if test $install_it = "yes"; then -- TOPSUBDIRS="$TOPSUBDIRS $i" -- eval "$vari""_SUBDIR_included=yes" -- else -- eval "$vari""_SUBDIR_included=no" -- fi --done -- --AC_SUBST(TOPSUBDIRS) --]) -- --AC_DEFUN([KDE_CHECK_NAMESPACES], --[ --AC_MSG_CHECKING(whether C++ compiler supports namespaces) --AC_LANG_SAVE --AC_LANG_CPLUSPLUS --AC_TRY_COMPILE([ --], --[ --namespace Foo { -- extern int i; -- namespace Bar { -- extern int i; -- } --} -- --int Foo::i = 0; --int Foo::Bar::i = 1; --],[ -- AC_MSG_RESULT(yes) -- AC_DEFINE(HAVE_NAMESPACES) --], [ --AC_MSG_RESULT(no) --]) --AC_LANG_RESTORE --]) -- --dnl ------------------------------------------------------------------------ --dnl Check for S_ISSOCK macro. Doesn't exist on Unix SCO. faure@kde.org --dnl ------------------------------------------------------------------------ --dnl --AC_DEFUN([AC_CHECK_S_ISSOCK], --[ --AC_MSG_CHECKING(for S_ISSOCK) --AC_CACHE_VAL(ac_cv_have_s_issock, --[ --AC_TRY_LINK( --[ --#include --], --[ --struct stat buff; --int b = S_ISSOCK( buff.st_mode ); --], --ac_cv_have_s_issock=yes, --ac_cv_have_s_issock=no) --]) --AC_MSG_RESULT($ac_cv_have_s_issock) --if test "$ac_cv_have_s_issock" = "yes"; then -- AC_DEFINE_UNQUOTED(HAVE_S_ISSOCK, 1, [Define if sys/stat.h declares S_ISSOCK.]) --fi -- --AH_VERBATIM(_ISSOCK, --[ --#ifndef HAVE_S_ISSOCK --#define HAVE_S_ISSOCK --#define S_ISSOCK(mode) (1==0) --#endif --]) -- --]) -- --dnl ------------------------------------------------------------------------ --dnl Check for MAXPATHLEN macro, defines KDEMAXPATHLEN. faure@kde.org --dnl ------------------------------------------------------------------------ --dnl --AC_DEFUN([AC_CHECK_KDEMAXPATHLEN], --[ --AC_MSG_CHECKING(for MAXPATHLEN) --AC_CACHE_VAL(ac_cv_maxpathlen, --[ --cat > conftest.$ac_ext < --#endif --#include --#include --#ifndef MAXPATHLEN --#define MAXPATHLEN 1024 --#endif -- --KDE_HELLO MAXPATHLEN -- --EOF -- --ac_try="$ac_cpp conftest.$ac_ext 2>/dev/null | grep '^KDE_HELLO' >conftest.out" -- --if AC_TRY_EVAL(ac_try) && test -s conftest.out; then -- ac_cv_maxpathlen=`sed 's#KDE_HELLO ##' conftest.out` --else -- ac_cv_maxpathlen=1024 --fi -- --rm conftest.* -- --]) --AC_MSG_RESULT($ac_cv_maxpathlen) --AC_DEFINE_UNQUOTED(KDEMAXPATHLEN,$ac_cv_maxpathlen, [Define a safe value for MAXPATHLEN] ) --]) -- --AC_DEFUN([KDE_CHECK_HEADER], --[ -- kde_safe_cppflags=$CPPFLAGS -- CPPFLAGS="$CPPFLAGS $all_includes" -- AC_LANG_SAVE -- AC_LANG_CPLUSPLUS -- AC_CHECK_HEADER([$1], [$2], [$3], [$4]) -- AC_LANG_RESTORE -- CPPFLAGS=$kde_safe_cppflags --]) -- --AC_DEFUN([KDE_CHECK_HEADERS], --[ -- AH_CHECK_HEADERS([$1]) -- AC_LANG_SAVE -- kde_safe_cppflags=$CPPFLAGS -- CPPFLAGS="$CPPFLAGS $all_includes" -- AC_LANG_CPLUSPLUS -- AC_CHECK_HEADERS([$1], [$2], [$3], [$4]) -- CPPFLAGS=$kde_safe_cppflags -- AC_LANG_RESTORE --]) -- --AC_DEFUN([KDE_FAST_CONFIGURE], --[ -- dnl makes configure fast (needs perl) -- AC_ARG_ENABLE(fast-perl, AC_HELP_STRING([--disable-fast-perl],[disable fast Makefile generation (needs perl)]), -- with_fast_perl=$enableval, with_fast_perl=yes) --]) -- --AC_DEFUN([KDE_CONF_FILES], --[ -- val= -- if test -f $srcdir/configure.files ; then -- val=`sed -e 's%^%\$(top_srcdir)/%' $srcdir/configure.files` -- fi -- CONF_FILES= -- if test -n "$val" ; then -- for i in $val ; do -- CONF_FILES="$CONF_FILES $i" -- done -- fi -- AC_SUBST(CONF_FILES) --])dnl -- --dnl This sets the prefix, for arts and kdelibs --dnl Do NOT use in any other module. --dnl It only looks at --prefix, KDEDIR and falls back to /usr/local/kde --AC_DEFUN([KDE_SET_PREFIX_CORE], --[ -- unset CDPATH -- dnl make $KDEDIR the default for the installation -- AC_PREFIX_DEFAULT(${KDEDIR:-/usr/local/kde}) -- -- if test "x$prefix" = "xNONE"; then -- prefix=$ac_default_prefix -- ac_configure_args="$ac_configure_args --prefix=$prefix" -- fi -- # And delete superfluous '/' to make compares easier -- prefix=`echo "$prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'` -- exec_prefix=`echo "$exec_prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'` -- -- kde_libs_prefix='$(prefix)' -- kde_libs_htmldir='$(kde_htmldir)' -- AC_SUBST(kde_libs_prefix) -- AC_SUBST(kde_libs_htmldir) -- KDE_FAST_CONFIGURE -- KDE_CONF_FILES --]) -- -- --AC_DEFUN([KDE_SET_PREFIX], --[ -- unset CDPATH -- dnl We can't give real code to that macro, only a value. -- dnl It only matters for --help, since we set the prefix in this function anyway. -- AC_PREFIX_DEFAULT(${KDEDIR:-the kde prefix}) -- -- KDE_SET_DEFAULT_BINDIRS -- if test "x$prefix" = "xNONE"; then -- dnl no prefix given: look for kde-config in the PATH and deduce the prefix from it -- KDE_FIND_PATH(kde-config, KDECONFIG, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(kde-config)], [], prepend) -- else -- dnl prefix given: look for kde-config, preferrably in prefix, otherwise in PATH -- kde_save_PATH="$PATH" -- PATH="$exec_prefix/bin:$prefix/bin:$PATH" -- KDE_FIND_PATH(kde-config, KDECONFIG, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(kde-config)], [], prepend) -- PATH="$kde_save_PATH" -- fi -- -- kde_libs_prefix=`$KDECONFIG --prefix` -- if test -z "$kde_libs_prefix" || test ! -x "$kde_libs_prefix"; then -- AC_MSG_ERROR([$KDECONFIG --prefix outputed the non existant prefix '$kde_libs_prefix' for kdelibs. -- This means it has been moved since you installed it. -- This won't work. Please recompile kdelibs for the new prefix. -- ]) -- fi -- kde_libs_htmldir=`$KDECONFIG --install html --expandvars` -- -- AC_MSG_CHECKING([where to install]) -- if test "x$prefix" = "xNONE"; then -- prefix=$kde_libs_prefix -- AC_MSG_RESULT([$prefix (as returned by kde-config)]) -- else -- dnl --prefix was given. Compare prefixes and warn (in configure.in.bot.end) if different -- given_prefix=$prefix -- AC_MSG_RESULT([$prefix (as requested)]) -- fi -- -- # And delete superfluous '/' to make compares easier -- prefix=`echo "$prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'` -- exec_prefix=`echo "$exec_prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'` -- given_prefix=`echo "$given_prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'` -- -- AC_SUBST(KDECONFIG) -- AC_SUBST(kde_libs_prefix) -- AC_SUBST(kde_libs_htmldir) -- -- KDE_FAST_CONFIGURE -- KDE_CONF_FILES --]) -- --pushdef([AC_PROG_INSTALL], --[ -- dnl our own version, testing for a -p flag -- popdef([AC_PROG_INSTALL]) -- dnl as AC_PROG_INSTALL works as it works we first have -- dnl to save if the user didn't specify INSTALL, as the -- dnl autoconf one overwrites INSTALL and we have no chance to find -- dnl out afterwards -- test -n "$INSTALL" && kde_save_INSTALL_given=$INSTALL -- test -n "$INSTALL_PROGRAM" && kde_save_INSTALL_PROGRAM_given=$INSTALL_PROGRAM -- test -n "$INSTALL_SCRIPT" && kde_save_INSTALL_SCRIPT_given=$INSTALL_SCRIPT -- AC_PROG_INSTALL -- -- if test -z "$kde_save_INSTALL_given" ; then -- # OK, user hasn't given any INSTALL, autoconf found one for us -- # now we test, if it supports the -p flag -- AC_MSG_CHECKING(for -p flag to install) -- rm -f confinst.$$.* > /dev/null 2>&1 -- echo "Testtest" > confinst.$$.orig -- ac_res=no -- if ${INSTALL} -p confinst.$$.orig confinst.$$.new > /dev/null 2>&1 ; then -- if test -f confinst.$$.new ; then -- # OK, -p seems to do no harm to install -- INSTALL="${INSTALL} -p" -- ac_res=yes -- fi -- fi -- rm -f confinst.$$.* -- AC_MSG_RESULT($ac_res) -- fi -- dnl the following tries to resolve some signs and wonders coming up -- dnl with different autoconf/automake versions -- dnl e.g.: -- dnl *automake 1.4 install-strip sets A_M_INSTALL_PROGRAM_FLAGS to -s -- dnl and has INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(A_M_INSTALL_PROGRAM_FLAGS) -- dnl it header-vars.am, so there the actual INSTALL_PROGRAM gets the -s -- dnl *automake 1.4a (and above) use INSTALL_STRIP_FLAG and only has -- dnl INSTALL_PROGRAM = @INSTALL_PROGRAM@ there, but changes the -- dnl install-@DIR@PROGRAMS targets to explicitly use that flag -- dnl *autoconf 2.13 is dumb, and thinks it can use INSTALL_PROGRAM as -- dnl INSTALL_SCRIPT, which breaks with automake <= 1.4 -- dnl *autoconf >2.13 (since 10.Apr 1999) has not that failure -- dnl *sometimes KDE does not use the install-@DIR@PROGRAM targets from -- dnl automake (due to broken Makefile.am or whatever) to install programs, -- dnl and so does not see the -s flag in automake > 1.4 -- dnl to clean up that mess we: -- dnl +set INSTALL_PROGRAM to use INSTALL_STRIP_FLAG -- dnl which cleans KDE's program with automake > 1.4; -- dnl +set INSTALL_SCRIPT to only use INSTALL, to clean up autoconf's problems -- dnl with automake<=1.4 -- dnl note that dues to this sometimes two '-s' flags are used (if KDE -- dnl properly uses install-@DIR@PROGRAMS, but I don't care -- dnl -- dnl And to all this comes, that I even can't write in comments variable -- dnl names used by automake, because it is so stupid to think I wanted to -- dnl _use_ them, therefor I have written A_M_... instead of AM_ -- dnl hmm, I wanted to say something ... ahh yes: Arghhh. -- -- if test -z "$kde_save_INSTALL_PROGRAM_given" ; then -- INSTALL_PROGRAM='${INSTALL} $(INSTALL_STRIP_FLAG)' -- fi -- if test -z "$kde_save_INSTALL_SCRIPT_given" ; then -- INSTALL_SCRIPT='${INSTALL}' -- fi --])dnl -- --AC_DEFUN([KDE_LANG_CPLUSPLUS], --[AC_LANG_CPLUSPLUS --ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&AC_FD_CC' --pushdef([AC_LANG_CPLUSPLUS], [popdef([AC_LANG_CPLUSPLUS]) KDE_LANG_CPLUSPLUS]) --]) -- --pushdef([AC_LANG_CPLUSPLUS], --[popdef([AC_LANG_CPLUSPLUS]) --KDE_LANG_CPLUSPLUS --]) -- --AC_DEFUN([KDE_CHECK_LONG_LONG], --[ --AC_MSG_CHECKING(for long long) --AC_CACHE_VAL(kde_cv_c_long_long, --[ -- AC_LANG_SAVE -- AC_LANG_CPLUSPLUS -- AC_TRY_LINK([], [ -- long long foo = 0; -- foo = foo+1; -- ], -- kde_cv_c_long_long=yes, kde_cv_c_long_long=no) -- AC_LANG_RESTORE --]) --AC_MSG_RESULT($kde_cv_c_long_long) --if test "$kde_cv_c_long_long" = yes; then -- AC_DEFINE(HAVE_LONG_LONG, 1, [Define if you have long long as datatype]) --fi --]) -- --AC_DEFUN([KDE_CHECK_LIB], --[ -- kde_save_LDFLAGS="$LDFLAGS" -- dnl AC_CHECK_LIB modifies LIBS, so save it here -- kde_save_LIBS="$LIBS" -- LDFLAGS="$LDFLAGS $all_libraries" -- case $host_os in -- aix*) LDFLAGS="-brtl $LDFLAGS" -- test "$GCC" = yes && LDFLAGS="-Wl,$LDFLAGS" -- ;; -- esac -- AC_CHECK_LIB($1, $2, $3, $4, $5) -- LDFLAGS="$kde_save_LDFLAGS" -- LIBS="$kde_save_LIBS" --]) -- --AC_DEFUN([KDE_JAVA_PREFIX], --[ -- dir=`dirname "$1"` -- base=`basename "$1"` -- list=`ls -1 $dir 2> /dev/null` -- for entry in $list; do -- if test -d $dir/$entry/bin; then -- case $entry in -- $base) -- javadirs="$javadirs $dir/$entry/bin" -- ;; -- esac -- elif test -d $dir/$entry/jre/bin; then -- case $entry in -- $base) -- javadirs="$javadirs $dir/$entry/jre/bin" -- ;; -- esac -- fi -- done --]) -- --dnl KDE_CHEC_JAVA_DIR(onlyjre) --AC_DEFUN([KDE_CHECK_JAVA_DIR], --[ -- --AC_ARG_WITH(java, --AC_HELP_STRING([--with-java=javadir],[use java installed in javadir, --without-java disables]), --[ ac_java_dir=$withval --], ac_java_dir="" --) -- --AC_MSG_CHECKING([for Java]) -- --dnl at this point ac_java_dir is either a dir, 'no' to disable, or '' to say look in $PATH --if test "x$ac_java_dir" = "xno"; then -- kde_java_bindir=no -- kde_java_includedir=no -- kde_java_libjvmdir=no -- kde_java_libgcjdir=no -- kde_java_libhpidir=no --else -- if test "x$ac_java_dir" = "x"; then -- -- -- dnl No option set -> collect list of candidate paths -- if test -n "$JAVA_HOME"; then -- KDE_JAVA_PREFIX($JAVA_HOME) -- fi -- KDE_JAVA_PREFIX(/usr/j2se) -- KDE_JAVA_PREFIX(/usr/lib/j2se) -- KDE_JAVA_PREFIX(/usr/j*dk*) -- KDE_JAVA_PREFIX(/usr/lib/j*dk*) -- KDE_JAVA_PREFIX(/opt/j*sdk*) -- KDE_JAVA_PREFIX(/usr/lib/java*) -- KDE_JAVA_PREFIX(/usr/java*) -- KDE_JAVA_PREFIX(/usr/java/j*dk*) -- KDE_JAVA_PREFIX(/usr/java/j*re*) -- KDE_JAVA_PREFIX(/usr/lib/SunJava2*) -- KDE_JAVA_PREFIX(/usr/lib/SunJava*) -- KDE_JAVA_PREFIX(/usr/lib/IBMJava2*) -- KDE_JAVA_PREFIX(/usr/lib/IBMJava*) -- KDE_JAVA_PREFIX(/opt/java*) -- -- kde_cv_path="NONE" -- kde_save_IFS=$IFS -- IFS=':' -- for dir in $PATH; do -- if test -d "$dir"; then -- javadirs="$javadirs $dir" -- fi -- done -- IFS=$kde_save_IFS -- jredirs= -- -- dnl Now javadirs contains a list of paths that exist, all ending with bin/ -- for dir in $javadirs; do -- dnl Check for the java executable -- if test -x "$dir/java"; then -- sane_path=$(cd $dir; /bin/pwd) -- dnl And also check for a libjvm.so somewhere under there -- dnl Since we have to go to the parent dir, /usr/bin is excluded, /usr is too big. -- if test "$sane_path" != "/usr/bin"; then -- libjvmdir=`find $dir/.. -name libjvm.so | sed 's,libjvm.so,,'|head -n 1` -- if test ! -f $libjvmdir/libjvm.so; then continue; fi -- jredirs="$jredirs $dir" -- fi -- fi -- done -- -- dnl Now jredirs contains a reduced list, of paths where both java and ../**/libjvm.so was found -- JAVAC= -- JAVA= -- kde_java_bindir=no -- for dir in $jredirs; do -- JAVA="$dir/java" -- kde_java_bindir=$dir -- if test -x "$dir/javac"; then -- JAVAC="$dir/javac" -- break -- fi -- done -- -- if test -n "$JAVAC"; then -- dnl this substitution might not work - well, we test for jni.h below -- kde_java_includedir=`echo $JAVAC | sed -e 's,bin/javac$,include/,'` -- else -- kde_java_includedir=no -- fi -- else -- dnl config option set -- kde_java_bindir=$ac_java_dir/bin -- if test -x $ac_java_dir/bin/java && test ! -x $ac_java_dir/bin/javac; then -- kde_java_includedir=no -- else -- kde_java_includedir=$ac_java_dir/include -- fi -- fi --fi -- --dnl At this point kde_java_bindir and kde_java_includedir are either set or "no" --if test "x$kde_java_bindir" != "xno"; then -- -- dnl Look for libjvm.so -- kde_java_libjvmdir=`find $kde_java_bindir/.. -name libjvm.so | sed 's,libjvm.so,,'|head -n 1` -- dnl Look for libgcj.so -- kde_java_libgcjdir=`find $kde_java_bindir/.. -name libgcj.so | sed 's,libgcj.so,,'|head -n 1` -- dnl Look for libhpi.so and avoid green threads -- kde_java_libhpidir=`find $kde_java_bindir/.. -name libhpi.so | grep -v green | sed 's,libhpi.so,,' | head -n 1` -- -- dnl Now check everything's fine under there -- dnl the include dir is our flag for having the JDK -- if test -d "$kde_java_includedir"; then -- if test ! -x "$kde_java_bindir/javac"; then -- AC_MSG_ERROR([javac not found under $kde_java_bindir - it seems you passed a wrong --with-java.]) -- fi -- if test ! -x "$kde_java_bindir/javah"; then -- AC_MSG_ERROR([javah not found under $kde_java_bindir. javac was found though! Use --with-java or --without-java.]) -- fi -- if test ! -x "$kde_java_bindir/jar"; then -- AC_MSG_ERROR([jar not found under $kde_java_bindir. javac was found though! Use --with-java or --without-java.]) -- fi -- if test ! -r "$kde_java_includedir/jni.h"; then -- AC_MSG_ERROR([jni.h not found under $kde_java_includedir. Use --with-java or --without-java.]) -- fi -- -- jni_includes="-I$kde_java_includedir" -- dnl Strange thing, jni.h requires jni_md.h which is under genunix here.. -- dnl and under linux here.. -- -- dnl not needed for gcj -- -- if test "x$kde_java_libgcjdir" = "x"; then -- test -d "$kde_java_includedir/linux" && jni_includes="$jni_includes -I$kde_java_includedir/linux" -- test -d "$kde_java_includedir/solaris" && jni_includes="$jni_includes -I$kde_java_includedir/solaris" -- test -d "$kde_java_includedir/genunix" && jni_includes="$jni_includes -I$kde_java_includedir/genunix" -- fi -- -- else -- JAVAC= -- jni_includes= -- fi -- -- if test "x$kde_java_libgcjdir" = "x"; then -- if test ! -r "$kde_java_libjvmdir/libjvm.so"; then -- AC_MSG_ERROR([libjvm.so not found under $kde_java_libjvmdir. Use --without-java.]) -- fi -- else -- if test ! -r "$kde_java_libgcjdir/libgcj.so"; then -- AC_MSG_ERROR([libgcj.so not found under $kde_java_libgcjdir. Use --without-java.]) -- fi -- fi -- -- if test ! -x "$kde_java_bindir/java"; then -- AC_MSG_ERROR([java not found under $kde_java_bindir. javac was found though! Use --with-java or --without-java.]) -- fi -- -- dnl not needed for gcj compile -- -- if test "x$kde_java_libgcjdir" = "x"; then -- if test ! -r "$kde_java_libhpidir/libhpi.so"; then -- AC_MSG_ERROR([libhpi.so not found under $kde_java_libhpidir. Use --without-java.]) -- fi -- fi -- -- if test -n "$jni_includes"; then -- dnl Check for JNI version -- AC_LANG_SAVE -- AC_LANG_CPLUSPLUS -- ac_cxxflags_safe="$CXXFLAGS" -- CXXFLAGS="$CXXFLAGS $all_includes $jni_includes" -- -- AC_TRY_COMPILE([ -- #include -- ], -- [ -- #ifndef JNI_VERSION_1_2 -- Syntax Error -- #endif -- ],[ kde_jni_works=yes ], -- [ kde_jni_works=no ]) -- -- if test $kde_jni_works = no; then -- AC_MSG_ERROR([Incorrect version of $kde_java_includedir/jni.h. -- You need to have Java Development Kit (JDK) version 1.2. -- -- Use --with-java to specify another location. -- Use --without-java to configure without java support. -- Or download a newer JDK and try again. -- See e.g. http://java.sun.com/products/jdk/1.2 ]) -- fi -- -- CXXFLAGS="$ac_cxxflags_safe" -- AC_LANG_RESTORE -- -- dnl All tests ok, inform and subst the variables -- -- JAVAC=$kde_java_bindir/javac -- JAVAH=$kde_java_bindir/javah -- JAR=$kde_java_bindir/jar -- AC_DEFINE_UNQUOTED(PATH_JAVA, "$kde_java_bindir/java", [Define where your java executable is]) -- if test "x$kde_java_libgcjdir" = "x"; then -- JVMLIBS="-L$kde_java_libjvmdir -ljvm -L$kde_java_libhpidir -lhpi" -- else -- JVMLIBS="-L$kde_java_libgcjdir -lgcj" -- fi -- AC_MSG_RESULT([java JDK in $kde_java_bindir]) -- -- else -- AC_DEFINE_UNQUOTED(PATH_JAVA, "$kde_java_bindir/java", [Define where your java executable is]) -- AC_MSG_RESULT([java JRE in $kde_java_bindir]) -- fi --elif test -d "/Library/Java/Home"; then -- kde_java_bindir="/Library/Java/Home/bin" -- jni_includes="-I/Library/Java/Home/include" -- -- JAVAC=$kde_java_bindir/javac -- JAVAH=$kde_java_bindir/javah -- JAR=$kde_java_bindir/jar -- JVMLIBS="-Wl,-framework,JavaVM" -- -- AC_DEFINE_UNQUOTED(PATH_JAVA, "$kde_java_bindir/java", [Define where your java executable is]) -- AC_MSG_RESULT([Apple Java Framework]) --else -- AC_MSG_RESULT([none found]) --fi -- --AC_SUBST(JAVAC) --AC_SUBST(JAVAH) --AC_SUBST(JAR) --AC_SUBST(JVMLIBS) --AC_SUBST(jni_includes) -- --# for backward compat --kde_cv_java_includedir=$kde_java_includedir --kde_cv_java_bindir=$kde_java_bindir --]) -- --dnl this is a redefinition of autoconf 2.5x's AC_FOREACH. --dnl When the argument list becomes big, as in KDE for AC_OUTPUT in --dnl big packages, m4_foreach is dog-slow. So use our own version of --dnl it. (matz@kde.org) --m4_define([mm_foreach], --[m4_pushdef([$1])_mm_foreach($@)m4_popdef([$1])]) --m4_define([mm_car], [[$1]]) --m4_define([mm_car2], [[$@]]) --m4_define([_mm_foreach], --[m4_if(m4_quote($2), [], [], -- [m4_define([$1], mm_car($2))$3[]_mm_foreach([$1], -- mm_car2(m4_shift($2)), -- [$3])])]) --m4_define([AC_FOREACH], --[mm_foreach([$1], m4_split(m4_normalize([$2])), [$3])]) -- --AC_DEFUN([KDE_NEED_FLEX], --[ --kde_libs_safe=$LIBS --LIBS="$LIBS $USER_LDFLAGS" --AM_PROG_LEX --LIBS=$kde_libs_safe --if test -z "$LEXLIB"; then -- AC_MSG_ERROR([You need to have flex installed.]) --fi --AC_SUBST(LEXLIB) --]) -- --AC_DEFUN([AC_PATH_QTOPIA], --[ -- dnl TODO: use AC_CACHE_VAL -- -- if test -z "$1"; then -- qtopia_minver_maj=1 -- qtopia_minver_min=5 -- qtopia_minver_pat=0 -- else -- qtopia_minver_maj=`echo "$1" | sed -e "s/^\(.*\)\..*\..*$/\1/"` -- qtopia_minver_min=`echo "$1" | sed -e "s/^.*\.\(.*\)\..*$/\1/"` -- qtopia_minver_pat=`echo "$1" | sed -e "s/^.*\..*\.\(.*\)$/\1/"` -- fi -- -- qtopia_minver="$qtopia_minver_maj$qtopia_minver_min$qtopia_minver_pat" -- qtopia_minverstr="$qtopia_minver_maj.$qtopia_minver_min.$qtopia_minver_pat" -- -- AC_REQUIRE([AC_PATH_QT]) -- -- AC_MSG_CHECKING([for Qtopia]) -- -- LIB_QTOPIA="-lqpe" -- AC_SUBST(LIB_QTOPIA) -- -- kde_qtopia_dirs="$QPEDIR /opt/Qtopia" -- -- ac_qtopia_incdir=NO -- -- AC_ARG_WITH(qtopia-dir, -- AC_HELP_STRING([--with-qtopia-dir=DIR],[where the root of Qtopia is installed]), -- [ ac_qtopia_incdir="$withval"/include] ) -- -- qtopia_incdirs="" -- for dir in $kde_qtopia_dirs; do -- qtopia_incdirs="$qtopia_incdirs $dir/include" -- done -- -- if test ! "$ac_qtopia_incdir" = "NO"; then -- qtopia_incdirs="$ac_qtopia_incdir $qtopia_incdirs" -- fi -- -- qtopia_incdir="" -- AC_FIND_FILE(qpe/qpeapplication.h, $qtopia_incdirs, qtopia_incdir) -- ac_qtopia_incdir="$qtopia_incdir" -- -- if test -z "$qtopia_incdir"; then -- AC_MSG_ERROR([Cannot find Qtopia headers. Please check your installation.]) -- fi -- -- qtopia_ver_maj=`cat $qtopia_incdir/qpe/version.h | sed -n -e 's,.*QPE_VERSION "\(.*\)\..*\..*".*,\1,p'`; -- qtopia_ver_min=`cat $qtopia_incdir/qpe/version.h | sed -n -e 's,.*QPE_VERSION ".*\.\(.*\)\..*".*,\1,p'`; -- qtopia_ver_pat=`cat $qtopia_incdir/qpe/version.h | sed -n -e 's,.*QPE_VERSION ".*\..*\.\(.*\)".*,\1,p'`; -- -- qtopia_ver="$qtopia_ver_maj$qtopia_ver_min$qtopia_ver_pat" -- qtopia_verstr="$qtopia_ver_maj.$qtopia_ver_min.$qtopia_ver_pat" -- if test "$qtopia_ver" -lt "$qtopia_minver"; then -- AC_MSG_ERROR([found Qtopia version $qtopia_verstr but version $qtopia_minverstr --is required.]) -- fi -- -- AC_LANG_SAVE -- AC_LANG_CPLUSPLUS -- -- ac_cxxflags_safe="$CXXFLAGS" -- ac_ldflags_safe="$LDFLAGS" -- ac_libs_safe="$LIBS" -- -- CXXFLAGS="$CXXFLAGS -I$qtopia_incdir $all_includes" -- LDFLAGS="$LDFLAGS $QT_LDFLAGS $all_libraries $USER_LDFLAGS $KDE_MT_LDFLAGS" -- LIBS="$LIBS $LIB_QTOPIA $LIBQT" -- -- cat > conftest.$ac_ext < --#include -- --int main( int argc, char **argv ) --{ -- QPEApplication app( argc, argv ); -- return 0; --} --EOF -- -- if AC_TRY_EVAL(ac_link) && test -s conftest; then -- rm -f conftest* -- else -- rm -f conftest* -- AC_MSG_ERROR([Cannot link small Qtopia Application. For more details look at --the end of config.log]) -- fi -- -- CXXFLAGS="$ac_cxxflags_safe" -- LDFLAGS="$ac_ldflags_safe" -- LIBS="$ac_libs_safe" -- -- AC_LANG_RESTORE -- -- QTOPIA_INCLUDES="-I$qtopia_incdir" -- AC_SUBST(QTOPIA_INCLUDES) -- -- AC_MSG_RESULT([found version $qtopia_verstr with headers at $qtopia_incdir]) --]) -- -- --AC_DEFUN([KDE_INIT_DOXYGEN], --[ --AC_MSG_CHECKING([for Qt docs]) --kde_qtdir= --if test "${with_qt_dir+set}" = set; then -- kde_qtdir="$with_qt_dir" --fi -- --AC_FIND_FILE(qsql.html, [ $kde_qtdir/doc/html $QTDIR/doc/html /usr/share/doc/packages/qt3/html /usr/lib/qt/doc /usr/lib/qt3/doc /usr/lib/qt3/doc/html /usr/doc/qt3/html /usr/doc/qt3 /usr/share/doc/qt3-doc /usr/share/qt3/doc/html /usr/X11R6/share/doc/qt/html ], QTDOCDIR) --AC_MSG_RESULT($QTDOCDIR) -- --AC_SUBST(QTDOCDIR) -- --KDE_FIND_PATH(dot, DOT, [], []) --if test -n "$DOT"; then -- KDE_HAVE_DOT="YES" --else -- KDE_HAVE_DOT="NO" --fi --AC_SUBST(KDE_HAVE_DOT) --KDE_FIND_PATH(doxygen, DOXYGEN, [], []) --AC_SUBST(DOXYGEN) -- --DOXYGEN_PROJECT_NAME="$1" --DOXYGEN_PROJECT_NUMBER="$2" --AC_SUBST(DOXYGEN_PROJECT_NAME) --AC_SUBST(DOXYGEN_PROJECT_NUMBER) -- --KDE_HAS_DOXYGEN=no --if test -n "$DOXYGEN" && test -x "$DOXYGEN" && test -f $QTDOCDIR/qsql.html; then -- KDE_HAS_DOXYGEN=yes --fi --AC_SUBST(KDE_HAS_DOXYGEN) -- --]) -- -- --AC_DEFUN([AC_FIND_BZIP2], --[ --AC_MSG_CHECKING([for bzDecompress in libbz2]) --AC_CACHE_VAL(ac_cv_lib_bzip2, --[ --AC_LANG_SAVE --AC_LANG_CPLUSPLUS --kde_save_LIBS="$LIBS" --LIBS="$all_libraries $USER_LDFLAGS -lbz2 $LIBSOCKET" --kde_save_CXXFLAGS="$CXXFLAGS" --CXXFLAGS="$CXXFLAGS $all_includes $USER_INCLUDES" --AC_TRY_LINK(dnl --[ --#define BZ_NO_STDIO --#include --], -- [ bz_stream s; (void) bzDecompress(&s); ], -- eval "ac_cv_lib_bzip2='-lbz2'", -- eval "ac_cv_lib_bzip2=no") --LIBS="$kde_save_LIBS" --CXXFLAGS="$kde_save_CXXFLAGS" --AC_LANG_RESTORE --])dnl --AC_MSG_RESULT($ac_cv_lib_bzip2) -- --if test ! "$ac_cv_lib_bzip2" = no; then -- BZIP2DIR=bzip2 -- -- LIBBZ2="$ac_cv_lib_bzip2" -- AC_SUBST(LIBBZ2) -- --else -- -- cxx_shared_flag= -- ld_shared_flag= -- KDE_CHECK_COMPILER_FLAG(shared, [ -- ld_shared_flag="-shared" -- ]) -- KDE_CHECK_COMPILER_FLAG(fPIC, [ -- cxx_shared_flag="-fPIC" -- ]) -- -- AC_MSG_CHECKING([for BZ2_bzDecompress in (shared) libbz2]) -- AC_CACHE_VAL(ac_cv_lib_bzip2_prefix, -- [ -- AC_LANG_SAVE -- AC_LANG_CPLUSPLUS -- kde_save_LIBS="$LIBS" -- LIBS="$all_libraries $USER_LDFLAGS $ld_shared_flag -lbz2 $LIBSOCKET" -- kde_save_CXXFLAGS="$CXXFLAGS" -- CXXFLAGS="$CFLAGS $cxx_shared_flag $all_includes $USER_INCLUDES" -- -- AC_TRY_LINK(dnl -- [ -- #define BZ_NO_STDIO -- #include -- ], -- [ bz_stream s; (void) BZ2_bzDecompress(&s); ], -- eval "ac_cv_lib_bzip2_prefix='-lbz2'", -- eval "ac_cv_lib_bzip2_prefix=no") -- LIBS="$kde_save_LIBS" -- CXXFLAGS="$kde_save_CXXFLAGS" -- AC_LANG_RESTORE -- ])dnl -- -- AC_MSG_RESULT($ac_cv_lib_bzip2_prefix) -- -- if test ! "$ac_cv_lib_bzip2_prefix" = no; then -- BZIP2DIR=bzip2 -- -- LIBBZ2="$ac_cv_lib_bzip2_prefix" -- AC_SUBST(LIBBZ2) -- -- AC_DEFINE(NEED_BZ2_PREFIX, 1, [Define if the libbz2 functions need the BZ2_ prefix]) -- dnl else, we just ignore this -- fi -- --fi --AM_CONDITIONAL(include_BZIP2, test -n "$BZIP2DIR") --]) -- --dnl ------------------------------------------------------------------------ --dnl Try to find the SSL headers and libraries. --dnl $(SSL_LDFLAGS) will be -Lsslliblocation (if needed) --dnl and $(SSL_INCLUDES) will be -Isslhdrlocation (if needed) --dnl ------------------------------------------------------------------------ --dnl --AC_DEFUN([KDE_CHECK_SSL], --[ --LIBSSL="-lssl -lcrypto" --AC_REQUIRE([KDE_CHECK_LIB64]) -- --ac_ssl_includes=NO ac_ssl_libraries=NO --ssl_libraries="" --ssl_includes="" --AC_ARG_WITH(ssl-dir, -- AC_HELP_STRING([--with-ssl-dir=DIR],[where the root of OpenSSL is installed]), -- [ ac_ssl_includes="$withval"/include -- ac_ssl_libraries="$withval"/lib$kdelibsuff -- ]) -- --want_ssl=yes --AC_ARG_WITH(ssl, -- AC_HELP_STRING([--without-ssl],[disable SSL checks]), -- [want_ssl=$withval]) -- --if test $want_ssl = yes; then -- --AC_MSG_CHECKING(for OpenSSL) -- --AC_CACHE_VAL(ac_cv_have_ssl, --[#try to guess OpenSSL locations -- -- ssl_incdirs="/usr/include /usr/local/include /usr/ssl/include /usr/local/ssl/include $prefix/include $kde_extra_includes" -- ssl_incdirs="$ac_ssl_includes $ssl_incdirs" -- AC_FIND_FILE(openssl/ssl.h, $ssl_incdirs, ssl_incdir) -- ac_ssl_includes="$ssl_incdir" -- -- ssl_libdirs="/usr/lib$kdelibsuff /usr/local/lib$kdelibsuff /usr/ssl/lib$kdelibsuff /usr/local/ssl/lib$kdelibsuff $libdir $prefix/lib$kdelibsuff $exec_prefix/lib$kdelibsuff $kde_extra_libs" -- if test ! "$ac_ssl_libraries" = "NO"; then -- ssl_libdirs="$ac_ssl_libraries $ssl_libdirs" -- fi -- -- test=NONE -- ssl_libdir=NONE -- for dir in $ssl_libdirs; do -- try="ls -1 $dir/libssl*" -- if test=`eval $try 2> /dev/null`; then ssl_libdir=$dir; break; else echo "tried $dir" >&AC_FD_CC ; fi -- done -- -- ac_ssl_libraries="$ssl_libdir" -- -- ac_ldflags_safe="$LDFLAGS" -- ac_libs_safe="$LIBS" -- -- LDFLAGS="$LDFLAGS -L$ssl_libdir $all_libraries" -- LIBS="$LIBS $LIBSSL -lRSAglue -lrsaref" -- -- AC_TRY_LINK(,void RSAPrivateEncrypt(void);RSAPrivateEncrypt();, -- ac_ssl_rsaref="yes" -- , -- ac_ssl_rsaref="no" -- ) -- -- LDFLAGS="$ac_ldflags_safe" -- LIBS="$ac_libs_safe" -- -- if test "$ac_ssl_includes" = NO || test "$ac_ssl_libraries" = NO; then -- have_ssl=no -- else -- have_ssl=yes; -- fi -- -- ]) -- -- eval "$ac_cv_have_ssl" -- -- AC_MSG_RESULT([libraries $ac_ssl_libraries, headers $ac_ssl_includes]) -- -- AC_MSG_CHECKING([whether OpenSSL uses rsaref]) -- AC_MSG_RESULT($ac_ssl_rsaref) -- -- AC_MSG_CHECKING([for easter eggs]) -- AC_MSG_RESULT([none found]) -- --else -- have_ssl=no --fi -- --if test "$have_ssl" = yes; then -- AC_MSG_CHECKING(for OpenSSL version) -- dnl Check for SSL version -- AC_CACHE_VAL(ac_cv_ssl_version, -- [ -- -- cat >conftest.$ac_ext < --#include -- int main() { -- --#ifndef OPENSSL_VERSION_NUMBER -- printf("ssl_version=\\"error\\"\n"); --#else -- if (OPENSSL_VERSION_NUMBER < 0x00906000) -- printf("ssl_version=\\"old\\"\n"); -- else -- printf("ssl_version=\\"ok\\"\n"); --#endif -- return (0); -- } --EOF -- -- ac_save_CPPFLAGS=$CPPFLAGS -- if test "$ac_ssl_includes" != "/usr/include"; then -- CPPFLAGS="$CPPFLAGS -I$ac_ssl_includes" -- fi -- -- if AC_TRY_EVAL(ac_link); then -- -- if eval `./conftest 2>&5`; then -- if test $ssl_version = error; then -- AC_MSG_ERROR([$ssl_incdir/openssl/opensslv.h doesn't define OPENSSL_VERSION_NUMBER !]) -- else -- if test $ssl_version = old; then -- AC_MSG_WARN([OpenSSL version too old. Upgrade to 0.9.6 at least, see http://www.openssl.org. SSL support disabled.]) -- have_ssl=no -- fi -- fi -- ac_cv_ssl_version="ssl_version=$ssl_version" -- else -- AC_MSG_ERROR([Your system couldn't run a small SSL test program. -- Check config.log, and if you can't figure it out, send a mail to -- David Faure , attaching your config.log]) -- fi -- -- else -- AC_MSG_ERROR([Your system couldn't link a small SSL test program. -- Check config.log, and if you can't figure it out, send a mail to -- David Faure , attaching your config.log]) -- fi -- CPPFLAGS=$ac_save_CPPFLAGS -- -- ]) -- -- eval "$ac_cv_ssl_version" -- AC_MSG_RESULT($ssl_version) --fi -- --if test "$have_ssl" != yes; then -- LIBSSL=""; --else -- AC_DEFINE(HAVE_SSL, 1, [If we are going to use OpenSSL]) -- ac_cv_have_ssl="have_ssl=yes \ -- ac_ssl_includes=$ac_ssl_includes ac_ssl_libraries=$ac_ssl_libraries ac_ssl_rsaref=$ac_ssl_rsaref" -- -- -- ssl_libraries="$ac_ssl_libraries" -- ssl_includes="$ac_ssl_includes" -- -- if test "$ac_ssl_rsaref" = yes; then -- LIBSSL="-lssl -lcrypto -lRSAglue -lrsaref" -- fi -- -- if test $ssl_version = "old"; then -- AC_DEFINE(HAVE_OLD_SSL_API, 1, [Define if you have OpenSSL < 0.9.6]) -- fi --fi -- --SSL_INCLUDES= -- --if test "$ssl_includes" = "/usr/include"; then -- if test -f /usr/kerberos/include/krb5.h; then -- SSL_INCLUDES="-I/usr/kerberos/include" -- fi --elif test "$ssl_includes" != "/usr/local/include" && test -n "$ssl_includes"; then -- SSL_INCLUDES="-I$ssl_includes" --fi -- --if test "$ssl_libraries" = "/usr/lib" || test "$ssl_libraries" = "/usr/local/lib" || test -z "$ssl_libraries" || test "$ssl_libraries" = "NONE"; then -- SSL_LDFLAGS="" --else -- SSL_LDFLAGS="-L$ssl_libraries -R$ssl_libraries" --fi -- --AC_SUBST(SSL_INCLUDES) --AC_SUBST(SSL_LDFLAGS) --AC_SUBST(LIBSSL) --]) -- --AC_DEFUN([KDE_CHECK_STRLCPY], --[ -- AC_REQUIRE([AC_CHECK_STRLCAT]) -- AC_REQUIRE([AC_CHECK_STRLCPY]) -- AC_CHECK_SIZEOF(size_t) -- AC_CHECK_SIZEOF(unsigned long) -- -- AC_MSG_CHECKING([sizeof size_t == sizeof unsigned long]) -- AC_TRY_COMPILE(,[ -- #if SIZEOF_SIZE_T != SIZEOF_UNSIGNED_LONG -- choke me -- #endif -- ],AC_MSG_RESULT([yes]),[ -- AC_MSG_RESULT(no) -- AC_MSG_ERROR([ -- Apparently on your system our assumption sizeof size_t == sizeof unsigned long -- does not apply. Please mail kde-devel@kde.org with a description of your system! -- ]) -- ]) --]) -- --AC_DEFUN([KDE_CHECK_BINUTILS], --[ -- AC_MSG_CHECKING([if ld supports unversioned version maps]) -- -- kde_save_LDFLAGS="$LDFLAGS" -- LDFLAGS="$LDFLAGS -Wl,--version-script=conftest.map" -- echo "{ local: extern \"C++\" { foo }; };" > conftest.map -- AC_TRY_LINK([int foo;], --[ --#ifdef __INTEL_COMPILER --icc apparently does not support libtools version-info and version-script --at the same time. Dunno where the bug is, but until somebody figured out, --better disable the optional version scripts. --#endif -- -- foo = 42; --], kde_supports_versionmaps=yes, kde_supports_versionmaps=no) -- LDFLAGS="$kde_save_LDFLAGS" -- rm -f conftest.map -- AM_CONDITIONAL(include_VERSION_SCRIPT, -- [test "$kde_supports_versionmaps" = "yes" && test "$kde_use_debug_code" = "no"]) -- -- AC_MSG_RESULT($kde_supports_versionmaps) --]) -- --AC_DEFUN([AM_PROG_OBJC],[ --AC_CHECK_PROGS(OBJC, gcc, gcc) --test -z "$OBJC" && AC_MSG_ERROR([no acceptable objective-c gcc found in \$PATH]) --if test "x${OBJCFLAGS-unset}" = xunset; then -- OBJCFLAGS="-g -O2" --fi --AC_SUBST(OBJCFLAGS) --_AM_IF_OPTION([no-dependencies],, [_AM_DEPENDENCIES(OBJC)]) --]) -- --AC_DEFUN([KDE_CHECK_PERL], --[ -- KDE_FIND_PATH(perl, PERL, [$bindir $exec_prefix/bin $prefix/bin], [ -- AC_MSG_ERROR([No Perl found in your $PATH. --We need perl to generate some code.]) -- ]) -- AC_SUBST(PERL) --]) -- --AC_DEFUN([KDE_CHECK_LARGEFILE], --[ --AC_SYS_LARGEFILE --if test "$ac_cv_sys_file_offset_bits" != no; then -- CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits" --fi -- --if test "x$ac_cv_sys_large_files" != "xno"; then -- CPPFLAGS="$CPPFLAGS -D_LARGE_FILES=1" --fi -- --]) -- --dnl A small extension to PKG_CHECK_MODULES (defined in pkg.m4.in) --dnl which allows to search for libs that get installed into the KDE prefix. --dnl --dnl Syntax: KDE_PKG_CHECK_MODULES(KSTUFF, libkexif >= 0.2 glib = 1.3.4, action-if, action-not) --dnl defines KSTUFF_LIBS, KSTUFF_CFLAGS, see pkg-config man page --dnl also defines KSTUFF_PKG_ERRORS on error --AC_DEFUN([KDE_PKG_CHECK_MODULES], [ -- -- PKG_CONFIG_PATH="$prefix/lib${kdelibsuff}/pkgconfig:$PKG_CONFIG_PATH" -- if test "$prefix" != "$kde_libs_prefix"; then -- PKG_CONFIG_PATH="$kde_libs_prefix/lib${kdelibsuff}/pkgconfig:$PKG_CONFIG_PATH" -- fi -- export PKG_CONFIG_PATH -- PKG_CHECK_MODULES([$1],[$2],[$3],[$4]) --]) -- -- --dnl Check for PIE support in the compiler and linker --AC_DEFUN([KDE_CHECK_PIE_SUPPORT], --[ -- AC_CACHE_CHECK([for PIE support], kde_cv_val_pie_support, -- [ -- AC_LANG_SAVE -- AC_LANG_CPLUSPLUS -- safe_CXXFLAGS=$CXXFLAGS -- safe_LDFLAGS=$LDFLAGS -- CXXFLAGS="$CXXFLAGS -fPIE" -- LDFLAGS="$LDFLAGS -pie" -- -- AC_TRY_LINK([int foo;], [], [kde_cv_val_pie_support=yes], [kde_cv_val_pie_support=no]) -- -- CXXFLAGS=$safe_CXXFLAGS -- LDFLAGS=$safe_LDFLAGS -- AC_LANG_RESTORE -- ]) -- -- AC_MSG_CHECKING(if enabling -pie/fPIE support) -- -- AC_ARG_ENABLE(pie, -- AC_HELP_STRING([--enable-pie],[platform supports PIE linking [default=detect]]), -- [kde_has_pie_support=$enableval], -- [kde_has_pie_support=detect]) -- -- if test "$kde_has_pie_support" = "detect"; then -- kde_has_pie_support=$kde_cv_val_pie_support -- fi -- -- AC_MSG_RESULT([$kde_has_pie_support]) -- -- KDE_USE_FPIE="" -- KDE_USE_PIE="" -- -- AC_SUBST([KDE_USE_FPIE]) -- AC_SUBST([KDE_USE_PIE]) -- -- if test "$kde_has_pie_support" = "yes"; then -- KDE_USE_FPIE="-fPIE" -- KDE_USE_PIE="-pie" -- fi --]) --# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- --## Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005 --## Free Software Foundation, Inc. --## Originally by Gordon Matzigkeit , 1996 --## --## This file is free software; the Free Software Foundation gives --## unlimited permission to copy and/or distribute it, with or without --## modifications, as long as this notice is preserved. -- --# serial 48 Debian 1.5.22-4 AC_PROG_LIBTOOL -- -- --# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED) --# ----------------------------------------------------------- --# If this macro is not defined by Autoconf, define it here. --m4_ifdef([AC_PROVIDE_IFELSE], -- [], -- [m4_define([AC_PROVIDE_IFELSE], -- [m4_ifdef([AC_PROVIDE_$1], -- [$2], [$3])])]) -- -- --# AC_PROG_LIBTOOL --# --------------- --AC_DEFUN([AC_PROG_LIBTOOL], --[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl --dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX --dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX. -- AC_PROVIDE_IFELSE([AC_PROG_CXX], -- [AC_LIBTOOL_CXX], -- [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX -- ])]) --dnl And a similar setup for Fortran 77 support -- AC_PROVIDE_IFELSE([AC_PROG_F77], -- [AC_LIBTOOL_F77], -- [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77 --])]) -- --dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly. --dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run --dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both. -- AC_PROVIDE_IFELSE([AC_PROG_GCJ], -- [AC_LIBTOOL_GCJ], -- [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], -- [AC_LIBTOOL_GCJ], -- [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ], -- [AC_LIBTOOL_GCJ], -- [ifdef([AC_PROG_GCJ], -- [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])]) -- ifdef([A][M_PROG_GCJ], -- [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])]) -- ifdef([LT_AC_PROG_GCJ], -- [define([LT_AC_PROG_GCJ], -- defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])]) --])])# AC_PROG_LIBTOOL -- -- --# _AC_PROG_LIBTOOL --# ---------------- --AC_DEFUN([_AC_PROG_LIBTOOL], --[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl --AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl --AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl --AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl -- --# This can be used to rebuild libtool when needed --LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" -- --# Always use our own libtool. --LIBTOOL='$(SHELL) $(top_builddir)/libtool' --AC_SUBST(LIBTOOL)dnl -- --# Prevent multiple expansion --define([AC_PROG_LIBTOOL], []) --])# _AC_PROG_LIBTOOL -- -- --# AC_LIBTOOL_SETUP --# ---------------- --AC_DEFUN([AC_LIBTOOL_SETUP], --[AC_PREREQ(2.50)dnl --AC_REQUIRE([AC_ENABLE_SHARED])dnl --AC_REQUIRE([AC_ENABLE_STATIC])dnl --AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl --AC_REQUIRE([AC_CANONICAL_HOST])dnl --AC_REQUIRE([AC_CANONICAL_BUILD])dnl --AC_REQUIRE([AC_PROG_CC])dnl --AC_REQUIRE([AC_PROG_LD])dnl --AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl --AC_REQUIRE([AC_PROG_NM])dnl -- --AC_REQUIRE([AC_PROG_LN_S])dnl --AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl --# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! --AC_REQUIRE([AC_OBJEXT])dnl --AC_REQUIRE([AC_EXEEXT])dnl --dnl -- --AC_LIBTOOL_SYS_MAX_CMD_LEN --AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE --AC_LIBTOOL_OBJDIR -- --AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl --_LT_AC_PROG_ECHO_BACKSLASH -- --case $host_os in --aix3*) -- # AIX sometimes has problems with the GCC collect2 program. For some -- # reason, if we set the COLLECT_NAMES environment variable, the problems -- # vanish in a puff of smoke. -- if test "X${COLLECT_NAMES+set}" != Xset; then -- COLLECT_NAMES= -- export COLLECT_NAMES -- fi -- ;; --esac -- --# Sed substitution that helps us do robust quoting. It backslashifies --# metacharacters that are still active within double-quoted strings. --Xsed='sed -e 1s/^X//' --[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'] -- --# Same as above, but do not quote variable references. --[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'] -- --# Sed substitution to delay expansion of an escaped shell variable in a --# double_quote_subst'ed string. --delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' -- --# Sed substitution to avoid accidental globbing in evaled expressions --no_glob_subst='s/\*/\\\*/g' -- --# Constants: --rm="rm -f" -- --# Global variables: --default_ofile=libtool --can_build_shared=yes -- --# All known linkers require a `.a' archive for static linking (except MSVC, --# which needs '.lib'). --libext=a --ltmain="$ac_aux_dir/ltmain.sh" --ofile="$default_ofile" --with_gnu_ld="$lt_cv_prog_gnu_ld" -- --AC_CHECK_TOOL(AR, ar, false) --AC_CHECK_TOOL(RANLIB, ranlib, :) --AC_CHECK_TOOL(STRIP, strip, :) -- --old_CC="$CC" --old_CFLAGS="$CFLAGS" -- --# Set sane defaults for various variables --test -z "$AR" && AR=ar --test -z "$AR_FLAGS" && AR_FLAGS=cru --test -z "$AS" && AS=as --test -z "$CC" && CC=cc --test -z "$LTCC" && LTCC=$CC --test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS --test -z "$DLLTOOL" && DLLTOOL=dlltool --test -z "$LD" && LD=ld --test -z "$LN_S" && LN_S="ln -s" --test -z "$MAGIC_CMD" && MAGIC_CMD=file --test -z "$NM" && NM=nm --test -z "$SED" && SED=sed --test -z "$OBJDUMP" && OBJDUMP=objdump --test -z "$RANLIB" && RANLIB=: --test -z "$STRIP" && STRIP=: --test -z "$ac_objext" && ac_objext=o -- --# Determine commands to create old-style static archives. --old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' --old_postinstall_cmds='chmod 644 $oldlib' --old_postuninstall_cmds= -- --if test -n "$RANLIB"; then -- case $host_os in -- openbsd*) -- old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" -- ;; -- *) -- old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" -- ;; -- esac -- old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" --fi -- --_LT_CC_BASENAME([$compiler]) -- --# Only perform the check for file, if the check method requires it --case $deplibs_check_method in --file_magic*) -- if test "$file_magic_cmd" = '$MAGIC_CMD'; then -- AC_PATH_MAGIC -- fi -- ;; --esac -- --AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no) --AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], --enable_win32_dll=yes, enable_win32_dll=no) -- --AC_ARG_ENABLE([libtool-lock], -- [AC_HELP_STRING([--disable-libtool-lock], -- [avoid locking (might break parallel builds)])]) --test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes -- --AC_ARG_WITH([pic], -- [AC_HELP_STRING([--with-pic], -- [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], -- [pic_mode="$withval"], -- [pic_mode=default]) --test -z "$pic_mode" && pic_mode=default -- --# Use C for the default configuration in the libtool script --tagname= --AC_LIBTOOL_LANG_C_CONFIG --_LT_AC_TAGCONFIG --])# AC_LIBTOOL_SETUP -- -- --# _LT_AC_SYS_COMPILER --# ------------------- --AC_DEFUN([_LT_AC_SYS_COMPILER], --[AC_REQUIRE([AC_PROG_CC])dnl -- --# If no C compiler was specified, use CC. --LTCC=${LTCC-"$CC"} -- --# If no C compiler flags were specified, use CFLAGS. --LTCFLAGS=${LTCFLAGS-"$CFLAGS"} -- --# Allow CC to be a program name with arguments. --compiler=$CC --])# _LT_AC_SYS_COMPILER -- -- --# _LT_CC_BASENAME(CC) --# ------------------- --# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. --AC_DEFUN([_LT_CC_BASENAME], --[for cc_temp in $1""; do -- case $cc_temp in -- compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; -- distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; -- \-*) ;; -- *) break;; -- esac --done --cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` --]) -- -- --# _LT_COMPILER_BOILERPLATE --# ------------------------ --# Check for compiler boilerplate output or warnings with --# the simple compiler test code. --AC_DEFUN([_LT_COMPILER_BOILERPLATE], --[ac_outfile=conftest.$ac_objext --printf "$lt_simple_compile_test_code" >conftest.$ac_ext --eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err --_lt_compiler_boilerplate=`cat conftest.err` --$rm conftest* --])# _LT_COMPILER_BOILERPLATE -- -- --# _LT_LINKER_BOILERPLATE --# ---------------------- --# Check for linker boilerplate output or warnings with --# the simple link test code. --AC_DEFUN([_LT_LINKER_BOILERPLATE], --[ac_outfile=conftest.$ac_objext --printf "$lt_simple_link_test_code" >conftest.$ac_ext --eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err --_lt_linker_boilerplate=`cat conftest.err` --$rm conftest* --])# _LT_LINKER_BOILERPLATE -- -- --# _LT_AC_SYS_LIBPATH_AIX --# ---------------------- --# Links a minimal program and checks the executable --# for the system default hardcoded library path. In most cases, --# this is /usr/lib:/lib, but when the MPI compilers are used --# the location of the communication and MPI libs are included too. --# If we don't find anything, use the default library path according --# to the aix ld manual. --AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX], --[AC_LINK_IFELSE(AC_LANG_PROGRAM,[ --aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } --}'` --# Check for a 64-bit object if we didn't find anything. --if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } --}'`; fi],[]) --if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi --])# _LT_AC_SYS_LIBPATH_AIX -- -- --# _LT_AC_SHELL_INIT(ARG) --# ---------------------- --AC_DEFUN([_LT_AC_SHELL_INIT], --[ifdef([AC_DIVERSION_NOTICE], -- [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], -- [AC_DIVERT_PUSH(NOTICE)]) --$1 --AC_DIVERT_POP --])# _LT_AC_SHELL_INIT -- -- --# _LT_AC_PROG_ECHO_BACKSLASH --# -------------------------- --# Add some code to the start of the generated configure script which --# will find an echo command which doesn't interpret backslashes. --AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH], --[_LT_AC_SHELL_INIT([ --# Check that we are running under the correct shell. --SHELL=${CONFIG_SHELL-/bin/sh} -- --case X$ECHO in --X*--fallback-echo) -- # Remove one level of quotation (which was required for Make). -- ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` -- ;; --esac -- --echo=${ECHO-echo} --if test "X[$]1" = X--no-reexec; then -- # Discard the --no-reexec flag, and continue. -- shift --elif test "X[$]1" = X--fallback-echo; then -- # Avoid inline document here, it may be left over -- : --elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then -- # Yippee, $echo works! -- : --else -- # Restart under the correct shell. -- exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} --fi -- --if test "X[$]1" = X--fallback-echo; then -- # used as fallback echo -- shift -- cat </dev/null 2>&1 && unset CDPATH -- --if test -z "$ECHO"; then --if test "X${echo_test_string+set}" != Xset; then --# find a string as large as possible, as long as the shell can cope with it -- for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do -- # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... -- if (echo_test_string=`eval $cmd`) 2>/dev/null && -- echo_test_string=`eval $cmd` && -- (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null -- then -- break -- fi -- done --fi -- --if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && -- echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && -- test "X$echo_testing_string" = "X$echo_test_string"; then -- : --else -- # The Solaris, AIX, and Digital Unix default echo programs unquote -- # backslashes. This makes it impossible to quote backslashes using -- # echo "$something" | sed 's/\\/\\\\/g' -- # -- # So, first we look for a working echo in the user's PATH. -- -- lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR -- for dir in $PATH /usr/ucb; do -- IFS="$lt_save_ifs" -- if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && -- test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && -- echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && -- test "X$echo_testing_string" = "X$echo_test_string"; then -- echo="$dir/echo" -- break -- fi -- done -- IFS="$lt_save_ifs" -- -- if test "X$echo" = Xecho; then -- # We didn't find a better echo, so look for alternatives. -- if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && -- echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && -- test "X$echo_testing_string" = "X$echo_test_string"; then -- # This shell has a builtin print -r that does the trick. -- echo='print -r' -- elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && -- test "X$CONFIG_SHELL" != X/bin/ksh; then -- # If we have ksh, try running configure again with it. -- ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -- export ORIGINAL_CONFIG_SHELL -- CONFIG_SHELL=/bin/ksh -- export CONFIG_SHELL -- exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"} -- else -- # Try using printf. -- echo='printf %s\n' -- if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && -- echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && -- test "X$echo_testing_string" = "X$echo_test_string"; then -- # Cool, printf works -- : -- elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && -- test "X$echo_testing_string" = 'X\t' && -- echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && -- test "X$echo_testing_string" = "X$echo_test_string"; then -- CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL -- export CONFIG_SHELL -- SHELL="$CONFIG_SHELL" -- export SHELL -- echo="$CONFIG_SHELL [$]0 --fallback-echo" -- elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && -- test "X$echo_testing_string" = 'X\t' && -- echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && -- test "X$echo_testing_string" = "X$echo_test_string"; then -- echo="$CONFIG_SHELL [$]0 --fallback-echo" -- else -- # maybe with a smaller string... -- prev=: -- -- for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do -- if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null -- then -- break -- fi -- prev="$cmd" -- done -- -- if test "$prev" != 'sed 50q "[$]0"'; then -- echo_test_string=`eval $prev` -- export echo_test_string -- exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"} -- else -- # Oops. We lost completely, so just stick with echo. -- echo=echo -- fi -- fi -- fi -- fi --fi --fi -- --# Copy echo and quote the copy suitably for passing to libtool from --# the Makefile, instead of quoting the original, which is used later. --ECHO=$echo --if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then -- ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo" --fi -- --AC_SUBST(ECHO) --])])# _LT_AC_PROG_ECHO_BACKSLASH -- -- --# _LT_AC_LOCK --# ----------- --AC_DEFUN([_LT_AC_LOCK], --[AC_ARG_ENABLE([libtool-lock], -- [AC_HELP_STRING([--disable-libtool-lock], -- [avoid locking (might break parallel builds)])]) --test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes -- --# Some flags need to be propagated to the compiler or linker for good --# libtool support. --case $host in --ia64-*-hpux*) -- # Find out which ABI we are using. -- echo 'int i;' > conftest.$ac_ext -- if AC_TRY_EVAL(ac_compile); then -- case `/usr/bin/file conftest.$ac_objext` in -- *ELF-32*) -- HPUX_IA64_MODE="32" -- ;; -- *ELF-64*) -- HPUX_IA64_MODE="64" -- ;; -- esac -- fi -- rm -rf conftest* -- ;; --*-*-irix6*) -- # Find out which ABI we are using. -- echo '[#]line __oline__ "configure"' > conftest.$ac_ext -- if AC_TRY_EVAL(ac_compile); then -- if test "$lt_cv_prog_gnu_ld" = yes; then -- case `/usr/bin/file conftest.$ac_objext` in -- *32-bit*) -- LD="${LD-ld} -melf32bsmip" -- ;; -- *N32*) -- LD="${LD-ld} -melf32bmipn32" -- ;; -- *64-bit*) -- LD="${LD-ld} -melf64bmip" -- ;; -- esac -- else -- case `/usr/bin/file conftest.$ac_objext` in -- *32-bit*) -- LD="${LD-ld} -32" -- ;; -- *N32*) -- LD="${LD-ld} -n32" -- ;; -- *64-bit*) -- LD="${LD-ld} -64" -- ;; -- esac -- fi -- fi -- rm -rf conftest* -- ;; -- --x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) -- # Find out which ABI we are using. -- echo 'int i;' > conftest.$ac_ext -- if AC_TRY_EVAL(ac_compile); then -- case `/usr/bin/file conftest.o` in -- *32-bit*) -- case $host in -- x86_64-*linux*) -- LD="${LD-ld} -m elf_i386" -- ;; -- ppc64-*linux*|powerpc64-*linux*) -- LD="${LD-ld} -m elf32ppclinux" -- ;; -- s390x-*linux*) -- LD="${LD-ld} -m elf_s390" -- ;; -- sparc64-*linux*) -- LD="${LD-ld} -m elf32_sparc" -- ;; -- esac -- ;; -- *64-bit*) -- case $host in -- x86_64-*linux*) -- LD="${LD-ld} -m elf_x86_64" -- ;; -- ppc*-*linux*|powerpc*-*linux*) -- LD="${LD-ld} -m elf64ppc" -- ;; -- s390*-*linux*) -- LD="${LD-ld} -m elf64_s390" -- ;; -- sparc*-*linux*) -- LD="${LD-ld} -m elf64_sparc" -- ;; -- esac -- ;; -- esac -- fi -- rm -rf conftest* -- ;; -- --*-*-sco3.2v5*) -- # On SCO OpenServer 5, we need -belf to get full-featured binaries. -- SAVE_CFLAGS="$CFLAGS" -- CFLAGS="$CFLAGS -belf" -- AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, -- [AC_LANG_PUSH(C) -- AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) -- AC_LANG_POP]) -- if test x"$lt_cv_cc_needs_belf" != x"yes"; then -- # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf -- CFLAGS="$SAVE_CFLAGS" -- fi -- ;; --sparc*-*solaris*) -- # Find out which ABI we are using. -- echo 'int i;' > conftest.$ac_ext -- if AC_TRY_EVAL(ac_compile); then -- case `/usr/bin/file conftest.o` in -- *64-bit*) -- case $lt_cv_prog_gnu_ld in -- yes*) LD="${LD-ld} -m elf64_sparc" ;; -- *) LD="${LD-ld} -64" ;; -- esac -- ;; -- esac -- fi -- rm -rf conftest* -- ;; -- --AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], --[*-*-cygwin* | *-*-mingw* | *-*-pw32*) -- AC_CHECK_TOOL(DLLTOOL, dlltool, false) -- AC_CHECK_TOOL(AS, as, false) -- AC_CHECK_TOOL(OBJDUMP, objdump, false) -- ;; -- ]) --esac -- --need_locks="$enable_libtool_lock" -- --])# _LT_AC_LOCK -- -- --# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, --# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) --# ---------------------------------------------------------------- --# Check whether the given compiler option works --AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], --[AC_REQUIRE([LT_AC_PROG_SED]) --AC_CACHE_CHECK([$1], [$2], -- [$2=no -- ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) -- printf "$lt_simple_compile_test_code" > conftest.$ac_ext -- lt_compiler_flag="$3" -- # Insert the option either (1) after the last *FLAGS variable, or -- # (2) before a word containing "conftest.", or (3) at the end. -- # Note that $ac_compile itself does not contain backslashes and begins -- # with a dollar sign (not a hyphen), so the echo should work correctly. -- # The option is referenced via a variable to avoid confusing sed. -- lt_compile=`echo "$ac_compile" | $SED \ -- -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -- -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ -- -e 's:$: $lt_compiler_flag:'` -- (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) -- (eval "$lt_compile" 2>conftest.err) -- ac_status=$? -- cat conftest.err >&AS_MESSAGE_LOG_FD -- echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD -- if (exit $ac_status) && test -s "$ac_outfile"; then -- # The compiler can only warn and ignore the option if not recognized -- # So say no if there are warnings other than the usual output. -- $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp -- $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 -- if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then -- $2=yes -- fi -- fi -- $rm conftest* --]) -- --if test x"[$]$2" = xyes; then -- ifelse([$5], , :, [$5]) --else -- ifelse([$6], , :, [$6]) --fi --])# AC_LIBTOOL_COMPILER_OPTION -- -- --# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, --# [ACTION-SUCCESS], [ACTION-FAILURE]) --# ------------------------------------------------------------ --# Check whether the given compiler option works --AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], --[AC_CACHE_CHECK([$1], [$2], -- [$2=no -- save_LDFLAGS="$LDFLAGS" -- LDFLAGS="$LDFLAGS $3" -- printf "$lt_simple_link_test_code" > conftest.$ac_ext -- if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then -- # The linker can only warn and ignore the option if not recognized -- # So say no if there are warnings -- if test -s conftest.err; then -- # Append any errors to the config.log. -- cat conftest.err 1>&AS_MESSAGE_LOG_FD -- $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp -- $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 -- if diff conftest.exp conftest.er2 >/dev/null; then -- $2=yes -- fi -- else -- $2=yes -- fi -- fi -- $rm conftest* -- LDFLAGS="$save_LDFLAGS" --]) -- --if test x"[$]$2" = xyes; then -- ifelse([$4], , :, [$4]) --else -- ifelse([$5], , :, [$5]) --fi --])# AC_LIBTOOL_LINKER_OPTION -- -- --# AC_LIBTOOL_SYS_MAX_CMD_LEN --# -------------------------- --AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], --[# find the maximum length of command line arguments --AC_MSG_CHECKING([the maximum length of command line arguments]) --AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl -- i=0 -- teststring="ABCD" -- -- case $build_os in -- msdosdjgpp*) -- # On DJGPP, this test can blow up pretty badly due to problems in libc -- # (any single argument exceeding 2000 bytes causes a buffer overrun -- # during glob expansion). Even if it were fixed, the result of this -- # check would be larger than it should be. -- lt_cv_sys_max_cmd_len=12288; # 12K is about right -- ;; -- -- gnu*) -- # Under GNU Hurd, this test is not required because there is -- # no limit to the length of command line arguments. -- # Libtool will interpret -1 as no limit whatsoever -- lt_cv_sys_max_cmd_len=-1; -- ;; -- -- cygwin* | mingw*) -- # On Win9x/ME, this test blows up -- it succeeds, but takes -- # about 5 minutes as the teststring grows exponentially. -- # Worse, since 9x/ME are not pre-emptively multitasking, -- # you end up with a "frozen" computer, even though with patience -- # the test eventually succeeds (with a max line length of 256k). -- # Instead, let's just punt: use the minimum linelength reported by -- # all of the supported platforms: 8192 (on NT/2K/XP). -- lt_cv_sys_max_cmd_len=8192; -- ;; -- -- amigaos*) -- # On AmigaOS with pdksh, this test takes hours, literally. -- # So we just punt and use a minimum line length of 8192. -- lt_cv_sys_max_cmd_len=8192; -- ;; -- -- netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) -- # This has been around since 386BSD, at least. Likely further. -- if test -x /sbin/sysctl; then -- lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` -- elif test -x /usr/sbin/sysctl; then -- lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` -- else -- lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs -- fi -- # And add a safety zone -- lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` -- lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` -- ;; -- -- interix*) -- # We know the value 262144 and hardcode it with a safety zone (like BSD) -- lt_cv_sys_max_cmd_len=196608 -- ;; -- -- osf*) -- # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure -- # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not -- # nice to cause kernel panics so lets avoid the loop below. -- # First set a reasonable default. -- lt_cv_sys_max_cmd_len=16384 -- # -- if test -x /sbin/sysconfig; then -- case `/sbin/sysconfig -q proc exec_disable_arg_limit` in -- *1*) lt_cv_sys_max_cmd_len=-1 ;; -- esac -- fi -- ;; -- sco3.2v5*) -- lt_cv_sys_max_cmd_len=102400 -- ;; -- sysv5* | sco5v6* | sysv4.2uw2*) -- kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` -- if test -n "$kargmax"; then -- lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` -- else -- lt_cv_sys_max_cmd_len=32768 -- fi -- ;; -- *) -- # If test is not a shell built-in, we'll probably end up computing a -- # maximum length that is only half of the actual maximum length, but -- # we can't tell. -- SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} -- while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \ -- = "XX$teststring") >/dev/null 2>&1 && -- new_result=`expr "X$teststring" : ".*" 2>&1` && -- lt_cv_sys_max_cmd_len=$new_result && -- test $i != 17 # 1/2 MB should be enough -- do -- i=`expr $i + 1` -- teststring=$teststring$teststring -- done -- teststring= -- # Add a significant safety factor because C++ compilers can tack on massive -- # amounts of additional arguments before passing them to the linker. -- # It appears as though 1/2 is a usable value. -- lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` -- ;; -- esac --]) --if test -n $lt_cv_sys_max_cmd_len ; then -- AC_MSG_RESULT($lt_cv_sys_max_cmd_len) --else -- AC_MSG_RESULT(none) --fi --])# AC_LIBTOOL_SYS_MAX_CMD_LEN -- -- --# _LT_AC_CHECK_DLFCN --# ------------------ --AC_DEFUN([_LT_AC_CHECK_DLFCN], --[AC_CHECK_HEADERS(dlfcn.h)dnl --])# _LT_AC_CHECK_DLFCN -- -- --# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, --# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) --# --------------------------------------------------------------------- --AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF], --[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl --if test "$cross_compiling" = yes; then : -- [$4] --else -- lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 -- lt_status=$lt_dlunknown -- cat > conftest.$ac_ext < --#endif -- --#include -- --#ifdef RTLD_GLOBAL --# define LT_DLGLOBAL RTLD_GLOBAL --#else --# ifdef DL_GLOBAL --# define LT_DLGLOBAL DL_GLOBAL --# else --# define LT_DLGLOBAL 0 --# endif --#endif -- --/* We may have to define LT_DLLAZY_OR_NOW in the command line if we -- find out it does not work in some platform. */ --#ifndef LT_DLLAZY_OR_NOW --# ifdef RTLD_LAZY --# define LT_DLLAZY_OR_NOW RTLD_LAZY --# else --# ifdef DL_LAZY --# define LT_DLLAZY_OR_NOW DL_LAZY --# else --# ifdef RTLD_NOW --# define LT_DLLAZY_OR_NOW RTLD_NOW --# else --# ifdef DL_NOW --# define LT_DLLAZY_OR_NOW DL_NOW --# else --# define LT_DLLAZY_OR_NOW 0 --# endif --# endif --# endif --# endif --#endif -- --#ifdef __cplusplus --extern "C" void exit (int); --#endif -- --void fnord() { int i=42;} --int main () --{ -- void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); -- int status = $lt_dlunknown; -- -- if (self) -- { -- if (dlsym (self,"fnord")) status = $lt_dlno_uscore; -- else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; -- /* dlclose (self); */ -- } -- else -- puts (dlerror ()); -- -- exit (status); --}] --EOF -- if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then -- (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null -- lt_status=$? -- case x$lt_status in -- x$lt_dlno_uscore) $1 ;; -- x$lt_dlneed_uscore) $2 ;; -- x$lt_dlunknown|x*) $3 ;; -- esac -- else : -- # compilation failed -- $3 -- fi --fi --rm -fr conftest* --])# _LT_AC_TRY_DLOPEN_SELF -- -- --# AC_LIBTOOL_DLOPEN_SELF --# ---------------------- --AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], --[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl --if test "x$enable_dlopen" != xyes; then -- enable_dlopen=unknown -- enable_dlopen_self=unknown -- enable_dlopen_self_static=unknown --else -- lt_cv_dlopen=no -- lt_cv_dlopen_libs= -- -- case $host_os in -- beos*) -- lt_cv_dlopen="load_add_on" -- lt_cv_dlopen_libs= -- lt_cv_dlopen_self=yes -- ;; -- -- mingw* | pw32*) -- lt_cv_dlopen="LoadLibrary" -- lt_cv_dlopen_libs= -- ;; -- -- cygwin*) -- lt_cv_dlopen="dlopen" -- lt_cv_dlopen_libs= -- ;; -- -- darwin*) -- # if libdl is installed we need to link against it -- AC_CHECK_LIB([dl], [dlopen], -- [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[ -- lt_cv_dlopen="dyld" -- lt_cv_dlopen_libs= -- lt_cv_dlopen_self=yes -- ]) -- ;; -- -- *) -- AC_CHECK_FUNC([shl_load], -- [lt_cv_dlopen="shl_load"], -- [AC_CHECK_LIB([dld], [shl_load], -- [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], -- [AC_CHECK_FUNC([dlopen], -- [lt_cv_dlopen="dlopen"], -- [AC_CHECK_LIB([dl], [dlopen], -- [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], -- [AC_CHECK_LIB([svld], [dlopen], -- [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], -- [AC_CHECK_LIB([dld], [dld_link], -- [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"]) -- ]) -- ]) -- ]) -- ]) -- ]) -- ;; -- esac -- -- if test "x$lt_cv_dlopen" != xno; then -- enable_dlopen=yes -- else -- enable_dlopen=no -- fi -- -- case $lt_cv_dlopen in -- dlopen) -- save_CPPFLAGS="$CPPFLAGS" -- test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" -- -- save_LDFLAGS="$LDFLAGS" -- wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" -- -- save_LIBS="$LIBS" -- LIBS="$lt_cv_dlopen_libs $LIBS" -- -- AC_CACHE_CHECK([whether a program can dlopen itself], -- lt_cv_dlopen_self, [dnl -- _LT_AC_TRY_DLOPEN_SELF( -- lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, -- lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) -- ]) -- -- if test "x$lt_cv_dlopen_self" = xyes; then -- wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" -- AC_CACHE_CHECK([whether a statically linked program can dlopen itself], -- lt_cv_dlopen_self_static, [dnl -- _LT_AC_TRY_DLOPEN_SELF( -- lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, -- lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) -- ]) -- fi -- -- CPPFLAGS="$save_CPPFLAGS" -- LDFLAGS="$save_LDFLAGS" -- LIBS="$save_LIBS" -- ;; -- esac -- -- case $lt_cv_dlopen_self in -- yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; -- *) enable_dlopen_self=unknown ;; -- esac -- -- case $lt_cv_dlopen_self_static in -- yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; -- *) enable_dlopen_self_static=unknown ;; -- esac --fi --])# AC_LIBTOOL_DLOPEN_SELF -- -- --# AC_LIBTOOL_PROG_CC_C_O([TAGNAME]) --# --------------------------------- --# Check to see if options -c and -o are simultaneously supported by compiler --AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O], --[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl --AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], -- [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)], -- [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no -- $rm -r conftest 2>/dev/null -- mkdir conftest -- cd conftest -- mkdir out -- printf "$lt_simple_compile_test_code" > conftest.$ac_ext -- -- lt_compiler_flag="-o out/conftest2.$ac_objext" -- # Insert the option either (1) after the last *FLAGS variable, or -- # (2) before a word containing "conftest.", or (3) at the end. -- # Note that $ac_compile itself does not contain backslashes and begins -- # with a dollar sign (not a hyphen), so the echo should work correctly. -- lt_compile=`echo "$ac_compile" | $SED \ -- -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -- -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ -- -e 's:$: $lt_compiler_flag:'` -- (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) -- (eval "$lt_compile" 2>out/conftest.err) -- ac_status=$? -- cat out/conftest.err >&AS_MESSAGE_LOG_FD -- echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD -- if (exit $ac_status) && test -s out/conftest2.$ac_objext -- then -- # The compiler can only warn and ignore the option if not recognized -- # So say no if there are warnings -- $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp -- $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 -- if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then -- _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes -- fi -- fi -- chmod u+w . 2>&AS_MESSAGE_LOG_FD -- $rm conftest* -- # SGI C++ compiler will create directory out/ii_files/ for -- # template instantiation -- test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files -- $rm out/* && rmdir out -- cd .. -- rmdir conftest -- $rm conftest* --]) --])# AC_LIBTOOL_PROG_CC_C_O -- -- --# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME]) --# ----------------------------------------- --# Check to see if we can do hard links to lock some files if needed --AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], --[AC_REQUIRE([_LT_AC_LOCK])dnl -- --hard_links="nottested" --if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then -- # do not overwrite the value of need_locks provided by the user -- AC_MSG_CHECKING([if we can lock with hard links]) -- hard_links=yes -- $rm conftest* -- ln conftest.a conftest.b 2>/dev/null && hard_links=no -- touch conftest.a -- ln conftest.a conftest.b 2>&5 || hard_links=no -- ln conftest.a conftest.b 2>/dev/null && hard_links=no -- AC_MSG_RESULT([$hard_links]) -- if test "$hard_links" = no; then -- AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe]) -- need_locks=warn -- fi --else -- need_locks=no --fi --])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS -- -- --# AC_LIBTOOL_OBJDIR --# ----------------- --AC_DEFUN([AC_LIBTOOL_OBJDIR], --[AC_CACHE_CHECK([for objdir], [lt_cv_objdir], --[rm -f .libs 2>/dev/null --mkdir .libs 2>/dev/null --if test -d .libs; then -- lt_cv_objdir=.libs --else -- # MS-DOS does not allow filenames that begin with a dot. -- lt_cv_objdir=_libs --fi --rmdir .libs 2>/dev/null]) --objdir=$lt_cv_objdir --])# AC_LIBTOOL_OBJDIR -- -- --# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME]) --# ---------------------------------------------- --# Check hardcoding attributes. --AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], --[AC_MSG_CHECKING([how to hardcode library paths into programs]) --_LT_AC_TAGVAR(hardcode_action, $1)= --if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \ -- test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \ -- test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then -- -- # We can hardcode non-existant directories. -- if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no && -- # If the only mechanism to avoid hardcoding is shlibpath_var, we -- # have to relink, otherwise we might link with an installed library -- # when we should be linking with a yet-to-be-installed one -- ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no && -- test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then -- # Linking always hardcodes the temporary library directory. -- _LT_AC_TAGVAR(hardcode_action, $1)=relink -- else -- # We can link without hardcoding, and we can hardcode nonexisting dirs. -- _LT_AC_TAGVAR(hardcode_action, $1)=immediate -- fi --else -- # We cannot hardcode anything, or else we can only hardcode existing -- # directories. -- _LT_AC_TAGVAR(hardcode_action, $1)=unsupported --fi --AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)]) -- --if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then -- # Fast installation is not supported -- enable_fast_install=no --elif test "$shlibpath_overrides_runpath" = yes || -- test "$enable_shared" = no; then -- # Fast installation is not necessary -- enable_fast_install=needless --fi --])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH -- -- --# AC_LIBTOOL_SYS_LIB_STRIP --# ------------------------ --AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP], --[striplib= --old_striplib= --AC_MSG_CHECKING([whether stripping libraries is possible]) --if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then -- test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" -- test -z "$striplib" && striplib="$STRIP --strip-unneeded" -- AC_MSG_RESULT([yes]) --else --# FIXME - insert some real tests, host_os isn't really good enough -- case $host_os in -- darwin*) -- if test -n "$STRIP" ; then -- striplib="$STRIP -x" -- AC_MSG_RESULT([yes]) -- else -- AC_MSG_RESULT([no]) --fi -- ;; -- *) -- AC_MSG_RESULT([no]) -- ;; -- esac --fi --])# AC_LIBTOOL_SYS_LIB_STRIP -- -- --# AC_LIBTOOL_SYS_DYNAMIC_LINKER --# ----------------------------- --# PORTME Fill in your ld.so characteristics --AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER], --[AC_MSG_CHECKING([dynamic linker characteristics]) --library_names_spec= --libname_spec='lib$name' --soname_spec= --shrext_cmds=".so" --postinstall_cmds= --postuninstall_cmds= --finish_cmds= --finish_eval= --shlibpath_var= --shlibpath_overrides_runpath=unknown --version_type=none --dynamic_linker="$host_os ld.so" --sys_lib_dlsearch_path_spec="/lib /usr/lib" --if test "$GCC" = yes; then -- sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` -- if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then -- # if the path contains ";" then we assume it to be the separator -- # otherwise default to the standard path separator (i.e. ":") - it is -- # assumed that no part of a normal pathname contains ";" but that should -- # okay in the real world where ";" in dirpaths is itself problematic. -- sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` -- else -- sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` -- fi --else -- sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" --fi --need_lib_prefix=unknown --hardcode_into_libs=no -- --# when you set need_version to no, make sure it does not cause -set_version --# flags to be left without arguments --need_version=unknown -- --case $host_os in --aix3*) -- version_type=linux -- library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' -- shlibpath_var=LIBPATH -- -- # AIX 3 has no versioning support, so we append a major version to the name. -- soname_spec='${libname}${release}${shared_ext}$major' -- ;; -- --aix4* | aix5*) -- version_type=linux -- need_lib_prefix=no -- need_version=no -- hardcode_into_libs=yes -- if test "$host_cpu" = ia64; then -- # AIX 5 supports IA64 -- library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' -- shlibpath_var=LD_LIBRARY_PATH -- else -- # With GCC up to 2.95.x, collect2 would create an import file -- # for dependence libraries. The import file would start with -- # the line `#! .'. This would cause the generated library to -- # depend on `.', always an invalid library. This was fixed in -- # development snapshots of GCC prior to 3.0. -- case $host_os in -- aix4 | aix4.[[01]] | aix4.[[01]].*) -- if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' -- echo ' yes ' -- echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then -- : -- else -- can_build_shared=no -- fi -- ;; -- esac -- # AIX (on Power*) has no versioning support, so currently we can not hardcode correct -- # soname into executable. Probably we can add versioning support to -- # collect2, so additional links can be useful in future. -- if test "$aix_use_runtimelinking" = yes; then -- # If using run time linking (on AIX 4.2 or later) use lib.so -- # instead of lib.a to let people know that these are not -- # typical AIX shared libraries. -- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -- else -- # We preserve .a as extension for shared libraries through AIX4.2 -- # and later when we are not doing run time linking. -- library_names_spec='${libname}${release}.a $libname.a' -- soname_spec='${libname}${release}${shared_ext}$major' -- fi -- shlibpath_var=LIBPATH -- fi -- ;; -- --amigaos*) -- library_names_spec='$libname.ixlibrary $libname.a' -- # Create ${libname}_ixlibrary.a entries in /sys/libs. -- finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' -- ;; -- --beos*) -- library_names_spec='${libname}${shared_ext}' -- dynamic_linker="$host_os ld.so" -- shlibpath_var=LIBRARY_PATH -- ;; -- --bsdi[[45]]*) -- version_type=linux -- need_version=no -- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -- soname_spec='${libname}${release}${shared_ext}$major' -- finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' -- shlibpath_var=LD_LIBRARY_PATH -- sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" -- sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" -- # the default ld.so.conf also contains /usr/contrib/lib and -- # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow -- # libtool to hard-code these into programs -- ;; -- --cygwin* | mingw* | pw32*) -- version_type=windows -- shrext_cmds=".dll" -- need_version=no -- need_lib_prefix=no -- -- case $GCC,$host_os in -- yes,cygwin* | yes,mingw* | yes,pw32*) -- library_names_spec='$libname.dll.a' -- # DLL is installed to $(libdir)/../bin by postinstall_cmds -- postinstall_cmds='base_file=`basename \${file}`~ -- dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ -- dldir=$destdir/`dirname \$dlpath`~ -- test -d \$dldir || mkdir -p \$dldir~ -- $install_prog $dir/$dlname \$dldir/$dlname~ -- chmod a+x \$dldir/$dlname' -- postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ -- dlpath=$dir/\$dldll~ -- $rm \$dlpath' -- shlibpath_overrides_runpath=yes -- -- case $host_os in -- cygwin*) -- # Cygwin DLLs use 'cyg' prefix rather than 'lib' -- soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' -- sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" -- ;; -- mingw*) -- # MinGW DLLs use traditional 'lib' prefix -- soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' -- sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` -- if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then -- # It is most probably a Windows format PATH printed by -- # mingw gcc, but we are running on Cygwin. Gcc prints its search -- # path with ; separators, and with drive letters. We can handle the -- # drive letters (cygwin fileutils understands them), so leave them, -- # especially as we might pass files found there to a mingw objdump, -- # which wouldn't understand a cygwinified path. Ahh. -- sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` -- else -- sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` -- fi -- ;; -- pw32*) -- # pw32 DLLs use 'pw' prefix rather than 'lib' -- library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' -- ;; -- esac -- ;; -- -- *) -- library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib' -- ;; -- esac -- dynamic_linker='Win32 ld.exe' -- # FIXME: first we should search . and the directory the executable is in -- shlibpath_var=PATH -- ;; -- --darwin* | rhapsody*) -- dynamic_linker="$host_os dyld" -- version_type=darwin -- need_lib_prefix=no -- need_version=no -- library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' -- soname_spec='${libname}${release}${major}$shared_ext' -- shlibpath_overrides_runpath=yes -- shlibpath_var=DYLD_LIBRARY_PATH -- shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' -- # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. -- if test "$GCC" = yes; then -- sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` -- else -- sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' -- fi -- sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' -- ;; -- --dgux*) -- version_type=linux -- need_lib_prefix=no -- need_version=no -- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' -- soname_spec='${libname}${release}${shared_ext}$major' -- shlibpath_var=LD_LIBRARY_PATH -- ;; -- --freebsd1*) -- dynamic_linker=no -- ;; -- --freebsd* | dragonfly*) -- # DragonFly does not have aout. When/if they implement a new -- # versioning mechanism, adjust this. -- if test -x /usr/bin/objformat; then -- objformat=`/usr/bin/objformat` -- else -- case $host_os in -- freebsd[[123]]*) objformat=aout ;; -- *) objformat=elf ;; -- esac -- fi -- version_type=freebsd-$objformat -- case $version_type in -- freebsd-elf*) -- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' -- need_version=no -- need_lib_prefix=no -- ;; -- freebsd-*) -- library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' -- need_version=yes -- ;; -- esac -- shlibpath_var=LD_LIBRARY_PATH -- case $host_os in -- freebsd2*) -- shlibpath_overrides_runpath=yes -- ;; -- freebsd3.[[01]]* | freebsdelf3.[[01]]*) -- shlibpath_overrides_runpath=yes -- hardcode_into_libs=yes -- ;; -- freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \ -- freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1) -- shlibpath_overrides_runpath=no -- hardcode_into_libs=yes -- ;; -- freebsd*) # from 4.6 on -- shlibpath_overrides_runpath=yes -- hardcode_into_libs=yes -- ;; -- esac -- ;; -- --gnu*) -- version_type=linux -- need_lib_prefix=no -- need_version=no -- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' -- soname_spec='${libname}${release}${shared_ext}$major' -- shlibpath_var=LD_LIBRARY_PATH -- hardcode_into_libs=yes -- ;; -- --hpux9* | hpux10* | hpux11*) -- # Give a soname corresponding to the major version so that dld.sl refuses to -- # link against other versions. -- version_type=sunos -- need_lib_prefix=no -- need_version=no -- case $host_cpu in -- ia64*) -- shrext_cmds='.so' -- hardcode_into_libs=yes -- dynamic_linker="$host_os dld.so" -- shlibpath_var=LD_LIBRARY_PATH -- shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. -- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -- soname_spec='${libname}${release}${shared_ext}$major' -- if test "X$HPUX_IA64_MODE" = X32; then -- sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" -- else -- sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" -- fi -- sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec -- ;; -- hppa*64*) -- shrext_cmds='.sl' -- hardcode_into_libs=yes -- dynamic_linker="$host_os dld.sl" -- shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH -- shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. -- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -- soname_spec='${libname}${release}${shared_ext}$major' -- sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" -- sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec -- ;; -- *) -- shrext_cmds='.sl' -- dynamic_linker="$host_os dld.sl" -- shlibpath_var=SHLIB_PATH -- shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH -- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -- soname_spec='${libname}${release}${shared_ext}$major' -- ;; -- esac -- # HP-UX runs *really* slowly unless shared libraries are mode 555. -- postinstall_cmds='chmod 555 $lib' -- ;; -- --interix3*) -- version_type=linux -- need_lib_prefix=no -- need_version=no -- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' -- soname_spec='${libname}${release}${shared_ext}$major' -- dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' -- shlibpath_var=LD_LIBRARY_PATH -- shlibpath_overrides_runpath=no -- hardcode_into_libs=yes -- ;; -- --irix5* | irix6* | nonstopux*) -- case $host_os in -- nonstopux*) version_type=nonstopux ;; -- *) -- if test "$lt_cv_prog_gnu_ld" = yes; then -- version_type=linux -- else -- version_type=irix -- fi ;; -- esac -- need_lib_prefix=no -- need_version=no -- soname_spec='${libname}${release}${shared_ext}$major' -- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' -- case $host_os in -- irix5* | nonstopux*) -- libsuff= shlibsuff= -- ;; -- *) -- case $LD in # libtool.m4 will add one of these switches to LD -- *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") -- libsuff= shlibsuff= libmagic=32-bit;; -- *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") -- libsuff=32 shlibsuff=N32 libmagic=N32;; -- *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") -- libsuff=64 shlibsuff=64 libmagic=64-bit;; -- *) libsuff= shlibsuff= libmagic=never-match;; -- esac -- ;; -- esac -- shlibpath_var=LD_LIBRARY${shlibsuff}_PATH -- shlibpath_overrides_runpath=no -- sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" -- sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" -- hardcode_into_libs=yes -- ;; -- --# No shared lib support for Linux oldld, aout, or coff. --linux*oldld* | linux*aout* | linux*coff*) -- dynamic_linker=no -- ;; -- --# This must be Linux ELF. --linux* | k*bsd*-gnu) -- version_type=linux -- need_lib_prefix=no -- need_version=no -- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -- soname_spec='${libname}${release}${shared_ext}$major' -- finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' -- shlibpath_var=LD_LIBRARY_PATH -- shlibpath_overrides_runpath=no -- # This implies no fast_install, which is unacceptable. -- # Some rework will be needed to allow for fast_install -- # before this can be enabled. -- hardcode_into_libs=yes -- -- # Append ld.so.conf contents to the search path -- if test -f /etc/ld.so.conf; then -- lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` -- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" -- fi -- -- # We used to test for /lib/ld.so.1 and disable shared libraries on -- # powerpc, because MkLinux only supported shared libraries with the -- # GNU dynamic linker. Since this was broken with cross compilers, -- # most powerpc-linux boxes support dynamic linking these days and -- # people can always --disable-shared, the test was removed, and we -- # assume the GNU/Linux dynamic linker is in use. -- dynamic_linker='GNU/Linux ld.so' -- ;; -- --netbsdelf*-gnu) -- version_type=linux -- need_lib_prefix=no -- need_version=no -- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' -- soname_spec='${libname}${release}${shared_ext}$major' -- shlibpath_var=LD_LIBRARY_PATH -- shlibpath_overrides_runpath=no -- hardcode_into_libs=yes -- dynamic_linker='NetBSD ld.elf_so' -- ;; -- --netbsd*) -- version_type=sunos -- need_lib_prefix=no -- need_version=no -- if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then -- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' -- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' -- dynamic_linker='NetBSD (a.out) ld.so' -- else -- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' -- soname_spec='${libname}${release}${shared_ext}$major' -- dynamic_linker='NetBSD ld.elf_so' -- fi -- shlibpath_var=LD_LIBRARY_PATH -- shlibpath_overrides_runpath=yes -- hardcode_into_libs=yes -- ;; -- --newsos6) -- version_type=linux -- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -- shlibpath_var=LD_LIBRARY_PATH -- shlibpath_overrides_runpath=yes -- ;; -- --nto-qnx*) -- version_type=linux -- need_lib_prefix=no -- need_version=no -- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -- soname_spec='${libname}${release}${shared_ext}$major' -- shlibpath_var=LD_LIBRARY_PATH -- shlibpath_overrides_runpath=yes -- ;; -- --openbsd*) -- version_type=sunos -- sys_lib_dlsearch_path_spec="/usr/lib" -- need_lib_prefix=no -- # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. -- case $host_os in -- openbsd3.3 | openbsd3.3.*) need_version=yes ;; -- *) need_version=no ;; -- esac -- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' -- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' -- shlibpath_var=LD_LIBRARY_PATH -- if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then -- case $host_os in -- openbsd2.[[89]] | openbsd2.[[89]].*) -- shlibpath_overrides_runpath=no -- ;; -- *) -- shlibpath_overrides_runpath=yes -- ;; -- esac -- else -- shlibpath_overrides_runpath=yes -- fi -- ;; -- --os2*) -- libname_spec='$name' -- shrext_cmds=".dll" -- need_lib_prefix=no -- library_names_spec='$libname${shared_ext} $libname.a' -- dynamic_linker='OS/2 ld.exe' -- shlibpath_var=LIBPATH -- ;; -- --osf3* | osf4* | osf5*) -- version_type=osf -- need_lib_prefix=no -- need_version=no -- soname_spec='${libname}${release}${shared_ext}$major' -- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -- shlibpath_var=LD_LIBRARY_PATH -- sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" -- sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" -- ;; -- --solaris*) -- version_type=linux -- need_lib_prefix=no -- need_version=no -- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -- soname_spec='${libname}${release}${shared_ext}$major' -- shlibpath_var=LD_LIBRARY_PATH -- shlibpath_overrides_runpath=yes -- hardcode_into_libs=yes -- # ldd complains unless libraries are executable -- postinstall_cmds='chmod +x $lib' -- ;; -- --sunos4*) -- version_type=sunos -- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' -- finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' -- shlibpath_var=LD_LIBRARY_PATH -- shlibpath_overrides_runpath=yes -- if test "$with_gnu_ld" = yes; then -- need_lib_prefix=no -- fi -- need_version=yes -- ;; -- --sysv4 | sysv4.3*) -- version_type=linux -- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -- soname_spec='${libname}${release}${shared_ext}$major' -- shlibpath_var=LD_LIBRARY_PATH -- case $host_vendor in -- sni) -- shlibpath_overrides_runpath=no -- need_lib_prefix=no -- export_dynamic_flag_spec='${wl}-Blargedynsym' -- runpath_var=LD_RUN_PATH -- ;; -- siemens) -- need_lib_prefix=no -- ;; -- motorola) -- need_lib_prefix=no -- need_version=no -- shlibpath_overrides_runpath=no -- sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' -- ;; -- esac -- ;; -- --sysv4*MP*) -- if test -d /usr/nec ;then -- version_type=linux -- library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' -- soname_spec='$libname${shared_ext}.$major' -- shlibpath_var=LD_LIBRARY_PATH -- fi -- ;; -- --sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) -- version_type=freebsd-elf -- need_lib_prefix=no -- need_version=no -- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' -- soname_spec='${libname}${release}${shared_ext}$major' -- shlibpath_var=LD_LIBRARY_PATH -- hardcode_into_libs=yes -- if test "$with_gnu_ld" = yes; then -- sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' -- shlibpath_overrides_runpath=no -- else -- sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' -- shlibpath_overrides_runpath=yes -- case $host_os in -- sco3.2v5*) -- sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" -- ;; -- esac -- fi -- sys_lib_dlsearch_path_spec='/usr/lib' -- ;; -- --uts4*) -- version_type=linux -- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -- soname_spec='${libname}${release}${shared_ext}$major' -- shlibpath_var=LD_LIBRARY_PATH -- ;; -- --*) -- dynamic_linker=no -- ;; --esac --AC_MSG_RESULT([$dynamic_linker]) --test "$dynamic_linker" = no && can_build_shared=no -- --variables_saved_for_relink="PATH $shlibpath_var $runpath_var" --if test "$GCC" = yes; then -- variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" --fi --])# AC_LIBTOOL_SYS_DYNAMIC_LINKER -- -- --# _LT_AC_TAGCONFIG --# ---------------- --AC_DEFUN([_LT_AC_TAGCONFIG], --[AC_ARG_WITH([tags], -- [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@], -- [include additional configurations @<:@automatic@:>@])], -- [tagnames="$withval"]) -- --if test -f "$ltmain" && test -n "$tagnames"; then -- if test ! -f "${ofile}"; then -- AC_MSG_WARN([output file `$ofile' does not exist]) -- fi -- -- if test -z "$LTCC"; then -- eval "`$SHELL ${ofile} --config | grep '^LTCC='`" -- if test -z "$LTCC"; then -- AC_MSG_WARN([output file `$ofile' does not look like a libtool script]) -- else -- AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile']) -- fi -- fi -- if test -z "$LTCFLAGS"; then -- eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`" -- fi -- -- # Extract list of available tagged configurations in $ofile. -- # Note that this assumes the entire list is on one line. -- available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` -- -- lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," -- for tagname in $tagnames; do -- IFS="$lt_save_ifs" -- # Check whether tagname contains only valid characters -- case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in -- "") ;; -- *) AC_MSG_ERROR([invalid tag name: $tagname]) -- ;; -- esac -- -- if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null -- then -- AC_MSG_ERROR([tag name \"$tagname\" already exists]) -- fi -- -- # Update the list of available tags. -- if test -n "$tagname"; then -- echo appending configuration tag \"$tagname\" to $ofile -- -- case $tagname in -- CXX) -- if test -n "$CXX" && ( test "X$CXX" != "Xno" && -- ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || -- (test "X$CXX" != "Xg++"))) ; then -- AC_LIBTOOL_LANG_CXX_CONFIG -- else -- tagname="" -- fi -- ;; -- -- F77) -- if test -n "$F77" && test "X$F77" != "Xno"; then -- AC_LIBTOOL_LANG_F77_CONFIG -- else -- tagname="" -- fi -- ;; -- -- GCJ) -- if test -n "$GCJ" && test "X$GCJ" != "Xno"; then -- AC_LIBTOOL_LANG_GCJ_CONFIG -- else -- tagname="" -- fi -- ;; -- -- RC) -- AC_LIBTOOL_LANG_RC_CONFIG -- ;; -- -- *) -- AC_MSG_ERROR([Unsupported tag name: $tagname]) -- ;; -- esac -- -- # Append the new tag name to the list of available tags. -- if test -n "$tagname" ; then -- available_tags="$available_tags $tagname" -- fi -- fi -- done -- IFS="$lt_save_ifs" -- -- # Now substitute the updated list of available tags. -- if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then -- mv "${ofile}T" "$ofile" -- chmod +x "$ofile" -- else -- rm -f "${ofile}T" -- AC_MSG_ERROR([unable to update list of available tagged configurations.]) -- fi --fi --])# _LT_AC_TAGCONFIG -- -- --# AC_LIBTOOL_DLOPEN --# ----------------- --# enable checks for dlopen support --AC_DEFUN([AC_LIBTOOL_DLOPEN], -- [AC_BEFORE([$0],[AC_LIBTOOL_SETUP]) --])# AC_LIBTOOL_DLOPEN -- -- --# AC_LIBTOOL_WIN32_DLL --# -------------------- --# declare package support for building win32 DLLs --AC_DEFUN([AC_LIBTOOL_WIN32_DLL], --[AC_BEFORE([$0], [AC_LIBTOOL_SETUP]) --])# AC_LIBTOOL_WIN32_DLL -- -- --# AC_ENABLE_SHARED([DEFAULT]) --# --------------------------- --# implement the --enable-shared flag --# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. --AC_DEFUN([AC_ENABLE_SHARED], --[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl --AC_ARG_ENABLE([shared], -- [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@], -- [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])], -- [p=${PACKAGE-default} -- case $enableval in -- yes) enable_shared=yes ;; -- no) enable_shared=no ;; -- *) -- enable_shared=no -- # Look at the argument we got. We use all the common list separators. -- lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," -- for pkg in $enableval; do -- IFS="$lt_save_ifs" -- if test "X$pkg" = "X$p"; then -- enable_shared=yes -- fi -- done -- IFS="$lt_save_ifs" -- ;; -- esac], -- [enable_shared=]AC_ENABLE_SHARED_DEFAULT) --])# AC_ENABLE_SHARED -- -- --# AC_DISABLE_SHARED --# ----------------- --# set the default shared flag to --disable-shared --AC_DEFUN([AC_DISABLE_SHARED], --[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl --AC_ENABLE_SHARED(no) --])# AC_DISABLE_SHARED -- -- --# AC_ENABLE_STATIC([DEFAULT]) --# --------------------------- --# implement the --enable-static flag --# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. --AC_DEFUN([AC_ENABLE_STATIC], --[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl --AC_ARG_ENABLE([static], -- [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@], -- [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])], -- [p=${PACKAGE-default} -- case $enableval in -- yes) enable_static=yes ;; -- no) enable_static=no ;; -- *) -- enable_static=no -- # Look at the argument we got. We use all the common list separators. -- lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," -- for pkg in $enableval; do -- IFS="$lt_save_ifs" -- if test "X$pkg" = "X$p"; then -- enable_static=yes -- fi -- done -- IFS="$lt_save_ifs" -- ;; -- esac], -- [enable_static=]AC_ENABLE_STATIC_DEFAULT) --])# AC_ENABLE_STATIC -- -- --# AC_DISABLE_STATIC --# ----------------- --# set the default static flag to --disable-static --AC_DEFUN([AC_DISABLE_STATIC], --[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl --AC_ENABLE_STATIC(no) --])# AC_DISABLE_STATIC -- -- --# AC_ENABLE_FAST_INSTALL([DEFAULT]) --# --------------------------------- --# implement the --enable-fast-install flag --# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. --AC_DEFUN([AC_ENABLE_FAST_INSTALL], --[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl --AC_ARG_ENABLE([fast-install], -- [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], -- [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], -- [p=${PACKAGE-default} -- case $enableval in -- yes) enable_fast_install=yes ;; -- no) enable_fast_install=no ;; -- *) -- enable_fast_install=no -- # Look at the argument we got. We use all the common list separators. -- lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," -- for pkg in $enableval; do -- IFS="$lt_save_ifs" -- if test "X$pkg" = "X$p"; then -- enable_fast_install=yes -- fi -- done -- IFS="$lt_save_ifs" -- ;; -- esac], -- [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT) --])# AC_ENABLE_FAST_INSTALL -- -- --# AC_DISABLE_FAST_INSTALL --# ----------------------- --# set the default to --disable-fast-install --AC_DEFUN([AC_DISABLE_FAST_INSTALL], --[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl --AC_ENABLE_FAST_INSTALL(no) --])# AC_DISABLE_FAST_INSTALL -- -- --# AC_LIBTOOL_PICMODE([MODE]) --# -------------------------- --# implement the --with-pic flag --# MODE is either `yes' or `no'. If omitted, it defaults to `both'. --AC_DEFUN([AC_LIBTOOL_PICMODE], --[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl --pic_mode=ifelse($#,1,$1,default) --])# AC_LIBTOOL_PICMODE -- -- --# AC_PROG_EGREP --# ------------- --# This is predefined starting with Autoconf 2.54, so this conditional --# definition can be removed once we require Autoconf 2.54 or later. --m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP], --[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep], -- [if echo a | (grep -E '(a|b)') >/dev/null 2>&1 -- then ac_cv_prog_egrep='grep -E' -- else ac_cv_prog_egrep='egrep' -- fi]) -- EGREP=$ac_cv_prog_egrep -- AC_SUBST([EGREP]) --])]) -- -- --# AC_PATH_TOOL_PREFIX --# ------------------- --# find a file program which can recognise shared library --AC_DEFUN([AC_PATH_TOOL_PREFIX], --[AC_REQUIRE([AC_PROG_EGREP])dnl --AC_MSG_CHECKING([for $1]) --AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, --[case $MAGIC_CMD in --[[\\/*] | ?:[\\/]*]) -- lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. -- ;; --*) -- lt_save_MAGIC_CMD="$MAGIC_CMD" -- lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR --dnl $ac_dummy forces splitting on constant user-supplied paths. --dnl POSIX.2 word splitting is done only on the output of word expansions, --dnl not every word. This closes a longstanding sh security hole. -- ac_dummy="ifelse([$2], , $PATH, [$2])" -- for ac_dir in $ac_dummy; do -- IFS="$lt_save_ifs" -- test -z "$ac_dir" && ac_dir=. -- if test -f $ac_dir/$1; then -- lt_cv_path_MAGIC_CMD="$ac_dir/$1" -- if test -n "$file_magic_test_file"; then -- case $deplibs_check_method in -- "file_magic "*) -- file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` -- MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -- if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | -- $EGREP "$file_magic_regex" > /dev/null; then -- : -- else -- cat <&2 -- --*** Warning: the command libtool uses to detect shared libraries, --*** $file_magic_cmd, produces output that libtool cannot recognize. --*** The result is that libtool may fail to recognize shared libraries --*** as such. This will affect the creation of libtool libraries that --*** depend on shared libraries, but programs linked with such libtool --*** libraries will work regardless of this problem. Nevertheless, you --*** may want to report the problem to your system manager and/or to --*** bug-libtool@gnu.org -- --EOF -- fi ;; -- esac -- fi -- break -- fi -- done -- IFS="$lt_save_ifs" -- MAGIC_CMD="$lt_save_MAGIC_CMD" -- ;; --esac]) --MAGIC_CMD="$lt_cv_path_MAGIC_CMD" --if test -n "$MAGIC_CMD"; then -- AC_MSG_RESULT($MAGIC_CMD) --else -- AC_MSG_RESULT(no) --fi --])# AC_PATH_TOOL_PREFIX -- -- --# AC_PATH_MAGIC --# ------------- --# find a file program which can recognise a shared library --AC_DEFUN([AC_PATH_MAGIC], --[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) --if test -z "$lt_cv_path_MAGIC_CMD"; then -- if test -n "$ac_tool_prefix"; then -- AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) -- else -- MAGIC_CMD=: -- fi --fi --])# AC_PATH_MAGIC -- -- --# AC_PROG_LD --# ---------- --# find the pathname to the GNU or non-GNU linker --AC_DEFUN([AC_PROG_LD], --[AC_ARG_WITH([gnu-ld], -- [AC_HELP_STRING([--with-gnu-ld], -- [assume the C compiler uses GNU ld @<:@default=no@:>@])], -- [test "$withval" = no || with_gnu_ld=yes], -- [with_gnu_ld=no]) --AC_REQUIRE([LT_AC_PROG_SED])dnl --AC_REQUIRE([AC_PROG_CC])dnl --AC_REQUIRE([AC_CANONICAL_HOST])dnl --AC_REQUIRE([AC_CANONICAL_BUILD])dnl --ac_prog=ld --if test "$GCC" = yes; then -- # Check if gcc -print-prog-name=ld gives a path. -- AC_MSG_CHECKING([for ld used by $CC]) -- case $host in -- *-*-mingw*) -- # gcc leaves a trailing carriage return which upsets mingw -- ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; -- *) -- ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; -- esac -- case $ac_prog in -- # Accept absolute paths. -- [[\\/]]* | ?:[[\\/]]*) -- re_direlt='/[[^/]][[^/]]*/\.\./' -- # Canonicalize the pathname of ld -- ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` -- while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do -- ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` -- done -- test -z "$LD" && LD="$ac_prog" -- ;; -- "") -- # If it fails, then pretend we aren't using GCC. -- ac_prog=ld -- ;; -- *) -- # If it is relative, then search for the first ld in PATH. -- with_gnu_ld=unknown -- ;; -- esac --elif test "$with_gnu_ld" = yes; then -- AC_MSG_CHECKING([for GNU ld]) --else -- AC_MSG_CHECKING([for non-GNU ld]) --fi --AC_CACHE_VAL(lt_cv_path_LD, --[if test -z "$LD"; then -- lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR -- for ac_dir in $PATH; do -- IFS="$lt_save_ifs" -- test -z "$ac_dir" && ac_dir=. -- if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then -- lt_cv_path_LD="$ac_dir/$ac_prog" -- # Check to see if the program is GNU ld. I'd rather use --version, -- # but apparently some variants of GNU ld only accept -v. -- # Break only if it was the GNU/non-GNU ld that we prefer. -- case `"$lt_cv_path_LD" -v 2>&1 &1 /dev/null; then -- case $host_cpu in -- i*86 ) -- # Not sure whether the presence of OpenBSD here was a mistake. -- # Let's accept both of them until this is cleared up. -- lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library' -- lt_cv_file_magic_cmd=/usr/bin/file -- lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` -- ;; -- esac -- else -- lt_cv_deplibs_check_method=pass_all -- fi -- ;; -- --gnu*) -- lt_cv_deplibs_check_method=pass_all -- ;; -- --hpux10.20* | hpux11*) -- lt_cv_file_magic_cmd=/usr/bin/file -- case $host_cpu in -- ia64*) -- lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' -- lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so -- ;; -- hppa*64*) -- [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'] -- lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl -- ;; -- *) -- lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library' -- lt_cv_file_magic_test_file=/usr/lib/libc.sl -- ;; -- esac -- ;; -- --interix3*) -- # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here -- lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$' -- ;; -- --irix5* | irix6* | nonstopux*) -- case $LD in -- *-32|*"-32 ") libmagic=32-bit;; -- *-n32|*"-n32 ") libmagic=N32;; -- *-64|*"-64 ") libmagic=64-bit;; -- *) libmagic=never-match;; -- esac -- lt_cv_deplibs_check_method=pass_all -- ;; -- --# This must be Linux ELF. --linux* | k*bsd*-gnu) -- lt_cv_deplibs_check_method=pass_all -- ;; -- --netbsd* | netbsdelf*-gnu) -- if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then -- lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' -- else -- lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' -- fi -- ;; -- --newos6*) -- lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' -- lt_cv_file_magic_cmd=/usr/bin/file -- lt_cv_file_magic_test_file=/usr/lib/libnls.so -- ;; -- --nto-qnx*) -- lt_cv_deplibs_check_method=unknown -- ;; -- --openbsd*) -- if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then -- lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$' -- else -- lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' -- fi -- ;; -- --osf3* | osf4* | osf5*) -- lt_cv_deplibs_check_method=pass_all -- ;; -- --solaris*) -- lt_cv_deplibs_check_method=pass_all -- ;; -- --sysv4 | sysv4.3*) -- case $host_vendor in -- motorola) -- lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' -- lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` -- ;; -- ncr) -- lt_cv_deplibs_check_method=pass_all -- ;; -- sequent) -- lt_cv_file_magic_cmd='/bin/file' -- lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' -- ;; -- sni) -- lt_cv_file_magic_cmd='/bin/file' -- lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" -- lt_cv_file_magic_test_file=/lib/libc.so -- ;; -- siemens) -- lt_cv_deplibs_check_method=pass_all -- ;; -- pc) -- lt_cv_deplibs_check_method=pass_all -- ;; -- esac -- ;; -- --sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) -- lt_cv_deplibs_check_method=pass_all -- ;; --esac --]) --file_magic_cmd=$lt_cv_file_magic_cmd --deplibs_check_method=$lt_cv_deplibs_check_method --test -z "$deplibs_check_method" && deplibs_check_method=unknown --])# AC_DEPLIBS_CHECK_METHOD -- -- --# AC_PROG_NM --# ---------- --# find the pathname to a BSD-compatible name lister --AC_DEFUN([AC_PROG_NM], --[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM, --[if test -n "$NM"; then -- # Let the user override the test. -- lt_cv_path_NM="$NM" --else -- lt_nm_to_check="${ac_tool_prefix}nm" -- if test -n "$ac_tool_prefix" && test "$build" = "$host"; then -- lt_nm_to_check="$lt_nm_to_check nm" -- fi -- for lt_tmp_nm in $lt_nm_to_check; do -- lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR -- for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do -- IFS="$lt_save_ifs" -- test -z "$ac_dir" && ac_dir=. -- tmp_nm="$ac_dir/$lt_tmp_nm" -- if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then -- # Check to see if the nm accepts a BSD-compat flag. -- # Adding the `sed 1q' prevents false positives on HP-UX, which says: -- # nm: unknown option "B" ignored -- # Tru64's nm complains that /dev/null is an invalid object file -- case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in -- */dev/null* | *'Invalid file or object type'*) -- lt_cv_path_NM="$tmp_nm -B" -- break -- ;; -- *) -- case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in -- */dev/null*) -- lt_cv_path_NM="$tmp_nm -p" -- break -- ;; -- *) -- lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but -- continue # so that we can try to find one that supports BSD flags -- ;; -- esac -- ;; -- esac -- fi -- done -- IFS="$lt_save_ifs" -- done -- test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm --fi]) --NM="$lt_cv_path_NM" --])# AC_PROG_NM -- -- --# AC_CHECK_LIBM --# ------------- --# check for math library --AC_DEFUN([AC_CHECK_LIBM], --[AC_REQUIRE([AC_CANONICAL_HOST])dnl --LIBM= --case $host in --*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*) -- # These system don't have libm, or don't need it -- ;; --*-ncr-sysv4.3*) -- AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") -- AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") -- ;; --*) -- AC_CHECK_LIB(m, cos, LIBM="-lm") -- ;; --esac --])# AC_CHECK_LIBM -- -- --# AC_LIBLTDL_CONVENIENCE([DIRECTORY]) --# ----------------------------------- --# sets LIBLTDL to the link flags for the libltdl convenience library and --# LTDLINCL to the include flags for the libltdl header and adds --# --enable-ltdl-convenience to the configure arguments. Note that --# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided, --# it is assumed to be `libltdl'. LIBLTDL will be prefixed with --# '${top_builddir}/' and LTDLINCL will be prefixed with '${top_srcdir}/' --# (note the single quotes!). If your package is not flat and you're not --# using automake, define top_builddir and top_srcdir appropriately in --# the Makefiles. --AC_DEFUN([AC_LIBLTDL_CONVENIENCE], --[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl -- case $enable_ltdl_convenience in -- no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;; -- "") enable_ltdl_convenience=yes -- ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; -- esac -- LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la -- LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) -- # For backwards non-gettext consistent compatibility... -- INCLTDL="$LTDLINCL" --])# AC_LIBLTDL_CONVENIENCE -- -- --# AC_LIBLTDL_INSTALLABLE([DIRECTORY]) --# ----------------------------------- --# sets LIBLTDL to the link flags for the libltdl installable library and --# LTDLINCL to the include flags for the libltdl header and adds --# --enable-ltdl-install to the configure arguments. Note that --# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided, --# and an installed libltdl is not found, it is assumed to be `libltdl'. --# LIBLTDL will be prefixed with '${top_builddir}/'# and LTDLINCL with --# '${top_srcdir}/' (note the single quotes!). If your package is not --# flat and you're not using automake, define top_builddir and top_srcdir --# appropriately in the Makefiles. --# In the future, this macro may have to be called after AC_PROG_LIBTOOL. --AC_DEFUN([AC_LIBLTDL_INSTALLABLE], --[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl -- AC_CHECK_LIB(ltdl, lt_dlinit, -- [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no], -- [if test x"$enable_ltdl_install" = xno; then -- AC_MSG_WARN([libltdl not installed, but installation disabled]) -- else -- enable_ltdl_install=yes -- fi -- ]) -- if test x"$enable_ltdl_install" = x"yes"; then -- ac_configure_args="$ac_configure_args --enable-ltdl-install" -- LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la -- LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) -- else -- ac_configure_args="$ac_configure_args --enable-ltdl-install=no" -- LIBLTDL="-lltdl" -- LTDLINCL= -- fi -- # For backwards non-gettext consistent compatibility... -- INCLTDL="$LTDLINCL" --])# AC_LIBLTDL_INSTALLABLE -- -- --# AC_LIBTOOL_CXX --# -------------- --# enable support for C++ libraries --AC_DEFUN([AC_LIBTOOL_CXX], --[AC_REQUIRE([_LT_AC_LANG_CXX]) --])# AC_LIBTOOL_CXX -- -- --# _LT_AC_LANG_CXX --# --------------- --AC_DEFUN([_LT_AC_LANG_CXX], --[AC_REQUIRE([AC_PROG_CXX]) --AC_REQUIRE([_LT_AC_PROG_CXXCPP]) --_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX]) --])# _LT_AC_LANG_CXX -- --# _LT_AC_PROG_CXXCPP --# ------------------ --AC_DEFUN([_LT_AC_PROG_CXXCPP], --[ --AC_REQUIRE([AC_PROG_CXX]) --if test -n "$CXX" && ( test "X$CXX" != "Xno" && -- ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || -- (test "X$CXX" != "Xg++"))) ; then -- AC_PROG_CXXCPP --fi --])# _LT_AC_PROG_CXXCPP -- --# AC_LIBTOOL_F77 --# -------------- --# enable support for Fortran 77 libraries --AC_DEFUN([AC_LIBTOOL_F77], --[AC_REQUIRE([_LT_AC_LANG_F77]) --])# AC_LIBTOOL_F77 -- -- --# _LT_AC_LANG_F77 --# --------------- --AC_DEFUN([_LT_AC_LANG_F77], --[AC_REQUIRE([AC_PROG_F77]) --_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77]) --])# _LT_AC_LANG_F77 -- -- --# AC_LIBTOOL_GCJ --# -------------- --# enable support for GCJ libraries --AC_DEFUN([AC_LIBTOOL_GCJ], --[AC_REQUIRE([_LT_AC_LANG_GCJ]) --])# AC_LIBTOOL_GCJ -- -- --# _LT_AC_LANG_GCJ --# --------------- --AC_DEFUN([_LT_AC_LANG_GCJ], --[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[], -- [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[], -- [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[], -- [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])], -- [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])], -- [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])]) --_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ]) --])# _LT_AC_LANG_GCJ -- -- --# AC_LIBTOOL_RC --# ------------- --# enable support for Windows resource files --AC_DEFUN([AC_LIBTOOL_RC], --[AC_REQUIRE([LT_AC_PROG_RC]) --_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC]) --])# AC_LIBTOOL_RC -- -- --# AC_LIBTOOL_LANG_C_CONFIG --# ------------------------ --# Ensure that the configuration vars for the C compiler are --# suitably defined. Those variables are subsequently used by --# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. --AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG]) --AC_DEFUN([_LT_AC_LANG_C_CONFIG], --[lt_save_CC="$CC" --AC_LANG_PUSH(C) -- --# Source file extension for C test sources. --ac_ext=c -- --# Object file extension for compiled C test sources. --objext=o --_LT_AC_TAGVAR(objext, $1)=$objext -- --# Code to be used in simple compile tests --lt_simple_compile_test_code="int some_variable = 0;\n" -- --# Code to be used in simple link tests --lt_simple_link_test_code='int main(){return(0);}\n' -- --_LT_AC_SYS_COMPILER -- --# save warnings/boilerplate of simple test code --_LT_COMPILER_BOILERPLATE --_LT_LINKER_BOILERPLATE -- --## CAVEAT EMPTOR: --## There is no encapsulation within the following macros, do not change --## the running order or otherwise move them around unless you know exactly --## what you are doing... --AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1) --AC_LIBTOOL_PROG_COMPILER_PIC($1) --AC_LIBTOOL_PROG_CC_C_O($1) --AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) --AC_LIBTOOL_PROG_LD_SHLIBS($1) --AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) --AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) --AC_LIBTOOL_SYS_LIB_STRIP --AC_LIBTOOL_DLOPEN_SELF -- --# Report which library types will actually be built --AC_MSG_CHECKING([if libtool supports shared libraries]) --AC_MSG_RESULT([$can_build_shared]) -- --AC_MSG_CHECKING([whether to build shared libraries]) --test "$can_build_shared" = "no" && enable_shared=no -- --# On AIX, shared libraries and static libraries use the same namespace, and --# are all built from PIC. --case $host_os in --aix3*) -- test "$enable_shared" = yes && enable_static=no -- if test -n "$RANLIB"; then -- archive_cmds="$archive_cmds~\$RANLIB \$lib" -- postinstall_cmds='$RANLIB $lib' -- fi -- ;; -- --aix4* | aix5*) -- if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then -- test "$enable_shared" = yes && enable_static=no -- fi -- ;; --esac --AC_MSG_RESULT([$enable_shared]) -- --AC_MSG_CHECKING([whether to build static libraries]) --# Make sure either enable_shared or enable_static is yes. --test "$enable_shared" = yes || enable_static=yes --AC_MSG_RESULT([$enable_static]) -- --AC_LIBTOOL_CONFIG($1) -- --AC_LANG_POP --CC="$lt_save_CC" --])# AC_LIBTOOL_LANG_C_CONFIG -- -- --# AC_LIBTOOL_LANG_CXX_CONFIG --# -------------------------- --# Ensure that the configuration vars for the C compiler are --# suitably defined. Those variables are subsequently used by --# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. --AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)]) --AC_DEFUN([_LT_AC_LANG_CXX_CONFIG], --[AC_LANG_PUSH(C++) --AC_REQUIRE([AC_PROG_CXX]) --AC_REQUIRE([_LT_AC_PROG_CXXCPP]) -- --_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no --_LT_AC_TAGVAR(allow_undefined_flag, $1)= --_LT_AC_TAGVAR(always_export_symbols, $1)=no --_LT_AC_TAGVAR(archive_expsym_cmds, $1)= --_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= --_LT_AC_TAGVAR(hardcode_direct, $1)=no --_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= --_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= --_LT_AC_TAGVAR(hardcode_libdir_separator, $1)= --_LT_AC_TAGVAR(hardcode_minus_L, $1)=no --_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported --_LT_AC_TAGVAR(hardcode_automatic, $1)=no --_LT_AC_TAGVAR(module_cmds, $1)= --_LT_AC_TAGVAR(module_expsym_cmds, $1)= --_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown --_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds --_LT_AC_TAGVAR(no_undefined_flag, $1)= --_LT_AC_TAGVAR(whole_archive_flag_spec, $1)= --_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no -- --# Dependencies to place before and after the object being linked: --_LT_AC_TAGVAR(predep_objects, $1)= --_LT_AC_TAGVAR(postdep_objects, $1)= --_LT_AC_TAGVAR(predeps, $1)= --_LT_AC_TAGVAR(postdeps, $1)= --_LT_AC_TAGVAR(compiler_lib_search_path, $1)= -- --# Source file extension for C++ test sources. --ac_ext=cpp -- --# Object file extension for compiled C++ test sources. --objext=o --_LT_AC_TAGVAR(objext, $1)=$objext -- --# Code to be used in simple compile tests --lt_simple_compile_test_code="int some_variable = 0;\n" -- --# Code to be used in simple link tests --lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }\n' -- --# ltmain only uses $CC for tagged configurations so make sure $CC is set. --_LT_AC_SYS_COMPILER -- --# save warnings/boilerplate of simple test code --_LT_COMPILER_BOILERPLATE --_LT_LINKER_BOILERPLATE -- --# Allow CC to be a program name with arguments. --lt_save_CC=$CC --lt_save_LD=$LD --lt_save_GCC=$GCC --GCC=$GXX --lt_save_with_gnu_ld=$with_gnu_ld --lt_save_path_LD=$lt_cv_path_LD --if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then -- lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx --else -- $as_unset lt_cv_prog_gnu_ld --fi --if test -n "${lt_cv_path_LDCXX+set}"; then -- lt_cv_path_LD=$lt_cv_path_LDCXX --else -- $as_unset lt_cv_path_LD --fi --test -z "${LDCXX+set}" || LD=$LDCXX --CC=${CXX-"c++"} --compiler=$CC --_LT_AC_TAGVAR(compiler, $1)=$CC --_LT_CC_BASENAME([$compiler]) -- --# We don't want -fno-exception wen compiling C++ code, so set the --# no_builtin_flag separately --if test "$GXX" = yes; then -- _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' --else -- _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= --fi -- --if test "$GXX" = yes; then -- # Set up default GNU C++ configuration -- -- AC_PROG_LD -- -- # Check if GNU C++ uses GNU ld as the underlying linker, since the -- # archiving commands below assume that GNU ld is being used. -- if test "$with_gnu_ld" = yes; then -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' -- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' -- -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' -- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' -- -- # If archive_cmds runs LD, not CC, wlarc should be empty -- # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to -- # investigate it a little bit more. (MM) -- wlarc='${wl}' -- -- # ancient GNU ld didn't support --whole-archive et. al. -- if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ -- grep 'no-whole-archive' > /dev/null; then -- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' -- else -- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= -- fi -- else -- with_gnu_ld=no -- wlarc= -- -- # A generic and very simple default shared library creation -- # command for GNU C++ for the case where it uses the native -- # linker, instead of GNU ld. If possible, this setting should -- # overridden to take advantage of the native linker features on -- # the platform it is being used on. -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' -- fi -- -- # Commands to make compiler produce verbose output that lists -- # what "hidden" libraries, object files and flags are used when -- # linking a shared library. -- output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' -- --else -- GXX=no -- with_gnu_ld=no -- wlarc= --fi -- --# PORTME: fill in a description of your system's C++ link characteristics --AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) --_LT_AC_TAGVAR(ld_shlibs, $1)=yes --case $host_os in -- aix3*) -- # FIXME: insert proper C++ library support -- _LT_AC_TAGVAR(ld_shlibs, $1)=no -- ;; -- aix4* | aix5*) -- if test "$host_cpu" = ia64; then -- # On IA64, the linker does run time linking by default, so we don't -- # have to do anything special. -- aix_use_runtimelinking=no -- exp_sym_flag='-Bexport' -- no_entry_flag="" -- else -- aix_use_runtimelinking=no -- -- # Test if we are trying to use run time linking or normal -- # AIX style linking. If -brtl is somewhere in LDFLAGS, we -- # need to do runtime linking. -- case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) -- for ld_flag in $LDFLAGS; do -- case $ld_flag in -- *-brtl*) -- aix_use_runtimelinking=yes -- break -- ;; -- esac -- done -- ;; -- esac -- -- exp_sym_flag='-bexport' -- no_entry_flag='-bnoentry' -- fi -- -- # When large executables or shared objects are built, AIX ld can -- # have problems creating the table of contents. If linking a library -- # or program results in "error TOC overflow" add -mminimal-toc to -- # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not -- # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. -- -- _LT_AC_TAGVAR(archive_cmds, $1)='' -- _LT_AC_TAGVAR(hardcode_direct, $1)=yes -- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' -- _LT_AC_TAGVAR(link_all_deplibs, $1)=yes -- -- if test "$GXX" = yes; then -- case $host_os in aix4.[[012]]|aix4.[[012]].*) -- # We only want to do this on AIX 4.2 and lower, the check -- # below for broken collect2 doesn't work under 4.3+ -- collect2name=`${CC} -print-prog-name=collect2` -- if test -f "$collect2name" && \ -- strings "$collect2name" | grep resolve_lib_name >/dev/null -- then -- # We have reworked collect2 -- _LT_AC_TAGVAR(hardcode_direct, $1)=yes -- else -- # We have old collect2 -- _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported -- # It fails to find uninstalled libraries when the uninstalled -- # path is not listed in the libpath. Setting hardcode_minus_L -- # to unsupported forces relinking -- _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' -- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= -- fi -- ;; -- esac -- shared_flag='-shared' -- if test "$aix_use_runtimelinking" = yes; then -- shared_flag="$shared_flag "'${wl}-G' -- fi -- else -- # not using gcc -- if test "$host_cpu" = ia64; then -- # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release -- # chokes on -Wl,-G. The following line is correct: -- shared_flag='-G' -- else -- if test "$aix_use_runtimelinking" = yes; then -- shared_flag='${wl}-G' -- else -- shared_flag='${wl}-bM:SRE' -- fi -- fi -- fi -- -- # It seems that -bexpall does not export symbols beginning with -- # underscore (_), so it is better to generate a list of symbols to export. -- _LT_AC_TAGVAR(always_export_symbols, $1)=yes -- if test "$aix_use_runtimelinking" = yes; then -- # Warning - without using the other runtime loading flags (-brtl), -- # -berok will link without error, but may produce a broken library. -- _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' -- # Determine the default libpath from the value encoded in an empty executable. -- _LT_AC_SYS_LIBPATH_AIX -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" -- -- _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" -- else -- if test "$host_cpu" = ia64; then -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' -- _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" -- _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" -- else -- # Determine the default libpath from the value encoded in an empty executable. -- _LT_AC_SYS_LIBPATH_AIX -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" -- # Warning - without using the other run time loading flags, -- # -berok will link without error, but may produce a broken library. -- _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' -- _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' -- # Exported symbols can be pulled into shared objects from archives -- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience' -- _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes -- # This is similar to how AIX traditionally builds its shared libraries. -- _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' -- fi -- fi -- ;; -- -- beos*) -- if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then -- _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported -- # Joseph Beckenbach says some releases of gcc -- # support --undefined. This deserves some investigation. FIXME -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' -- else -- _LT_AC_TAGVAR(ld_shlibs, $1)=no -- fi -- ;; -- -- chorus*) -- case $cc_basename in -- *) -- # FIXME: insert proper C++ library support -- _LT_AC_TAGVAR(ld_shlibs, $1)=no -- ;; -- esac -- ;; -- -- cygwin* | mingw* | pw32*) -- # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, -- # as there is no search path for DLLs. -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' -- _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported -- _LT_AC_TAGVAR(always_export_symbols, $1)=no -- _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes -- -- if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' -- # If the export-symbols file already is a .def file (1st line -- # is EXPORTS), use it as is; otherwise, prepend... -- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then -- cp $export_symbols $output_objdir/$soname.def; -- else -- echo EXPORTS > $output_objdir/$soname.def; -- cat $export_symbols >> $output_objdir/$soname.def; -- fi~ -- $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' -- else -- _LT_AC_TAGVAR(ld_shlibs, $1)=no -- fi -- ;; -- darwin* | rhapsody*) -- case $host_os in -- rhapsody* | darwin1.[[012]]) -- _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress' -- ;; -- *) # Darwin 1.3 on -- if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then -- _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' -- else -- case ${MACOSX_DEPLOYMENT_TARGET} in -- 10.[[012]]) -- _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' -- ;; -- 10.*) -- _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup' -- ;; -- esac -- fi -- ;; -- esac -- _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no -- _LT_AC_TAGVAR(hardcode_direct, $1)=no -- _LT_AC_TAGVAR(hardcode_automatic, $1)=yes -- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported -- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='' -- _LT_AC_TAGVAR(link_all_deplibs, $1)=yes -- -- if test "$GXX" = yes ; then -- lt_int_apple_cc_single_mod=no -- output_verbose_link_cmd='echo' -- if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then -- lt_int_apple_cc_single_mod=yes -- fi -- if test "X$lt_int_apple_cc_single_mod" = Xyes ; then -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' -- else -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' -- fi -- _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' -- # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds -- if test "X$lt_int_apple_cc_single_mod" = Xyes ; then -- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' -- else -- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' -- fi -- _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' -- else -- case $cc_basename in -- xlc*) -- output_verbose_link_cmd='echo' -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' -- _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' -- # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds -- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' -- _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' -- ;; -- *) -- _LT_AC_TAGVAR(ld_shlibs, $1)=no -- ;; -- esac -- fi -- ;; -- -- dgux*) -- case $cc_basename in -- ec++*) -- # FIXME: insert proper C++ library support -- _LT_AC_TAGVAR(ld_shlibs, $1)=no -- ;; -- ghcx*) -- # Green Hills C++ Compiler -- # FIXME: insert proper C++ library support -- _LT_AC_TAGVAR(ld_shlibs, $1)=no -- ;; -- *) -- # FIXME: insert proper C++ library support -- _LT_AC_TAGVAR(ld_shlibs, $1)=no -- ;; -- esac -- ;; -- freebsd[[12]]*) -- # C++ shared libraries reported to be fairly broken before switch to ELF -- _LT_AC_TAGVAR(ld_shlibs, $1)=no -- ;; -- freebsd-elf*) -- _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no -- ;; -- freebsd* | dragonfly*) -- # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF -- # conventions -- _LT_AC_TAGVAR(ld_shlibs, $1)=yes -- ;; -- gnu*) -- ;; -- hpux9*) -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' -- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: -- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' -- _LT_AC_TAGVAR(hardcode_direct, $1)=yes -- _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, -- # but as the default -- # location of the library. -- -- case $cc_basename in -- CC*) -- # FIXME: insert proper C++ library support -- _LT_AC_TAGVAR(ld_shlibs, $1)=no -- ;; -- aCC*) -- _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' -- # Commands to make compiler produce verbose output that lists -- # what "hidden" libraries, object files and flags are used when -- # linking a shared library. -- # -- # There doesn't appear to be a way to prevent this compiler from -- # explicitly linking system object files so we need to strip them -- # from the output so that they don't get included in the library -- # dependencies. -- output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[[-]]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' -- ;; -- *) -- if test "$GXX" = yes; then -- _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' -- else -- # FIXME: insert proper C++ library support -- _LT_AC_TAGVAR(ld_shlibs, $1)=no -- fi -- ;; -- esac -- ;; -- hpux10*|hpux11*) -- if test $with_gnu_ld = no; then -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' -- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: -- -- case $host_cpu in -- hppa*64*|ia64*) -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' -- ;; -- *) -- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' -- ;; -- esac -- fi -- case $host_cpu in -- hppa*64*|ia64*) -- _LT_AC_TAGVAR(hardcode_direct, $1)=no -- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no -- ;; -- *) -- _LT_AC_TAGVAR(hardcode_direct, $1)=yes -- _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, -- # but as the default -- # location of the library. -- ;; -- esac -- -- case $cc_basename in -- CC*) -- # FIXME: insert proper C++ library support -- _LT_AC_TAGVAR(ld_shlibs, $1)=no -- ;; -- aCC*) -- case $host_cpu in -- hppa*64*) -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' -- ;; -- ia64*) -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' -- ;; -- *) -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' -- ;; -- esac -- # Commands to make compiler produce verbose output that lists -- # what "hidden" libraries, object files and flags are used when -- # linking a shared library. -- # -- # There doesn't appear to be a way to prevent this compiler from -- # explicitly linking system object files so we need to strip them -- # from the output so that they don't get included in the library -- # dependencies. -- output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' -- ;; -- *) -- if test "$GXX" = yes; then -- if test $with_gnu_ld = no; then -- case $host_cpu in -- hppa*64*) -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' -- ;; -- ia64*) -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' -- ;; -- *) -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' -- ;; -- esac -- fi -- else -- # FIXME: insert proper C++ library support -- _LT_AC_TAGVAR(ld_shlibs, $1)=no -- fi -- ;; -- esac -- ;; -- interix3*) -- _LT_AC_TAGVAR(hardcode_direct, $1)=no -- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' -- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' -- # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. -- # Instead, shared libraries are loaded at an image base (0x10000000 by -- # default) and relocated if they conflict, which is a slow very memory -- # consuming and fragmenting process. To avoid this, we pick a random, -- # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link -- # time. Moving up from 0x10000000 also allows more sbrk(2) space. -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' -- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' -- ;; -- irix5* | irix6*) -- case $cc_basename in -- CC*) -- # SGI C++ -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' -- -- # Archives containing C++ object files must be created using -- # "CC -ar", where "CC" is the IRIX C++ compiler. This is -- # necessary to make sure instantiated templates are included -- # in the archive. -- _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs' -- ;; -- *) -- if test "$GXX" = yes; then -- if test "$with_gnu_ld" = no; then -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' -- else -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' -- fi -- fi -- _LT_AC_TAGVAR(link_all_deplibs, $1)=yes -- ;; -- esac -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' -- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: -- ;; -- linux* | k*bsd*-gnu) -- case $cc_basename in -- KCC*) -- # Kuck and Associates, Inc. (KAI) C++ Compiler -- -- # KCC will only create a shared library if the output file -- # ends with ".so" (or ".sl" for HP-UX), so rename the library -- # to its proper name (with version) after linking. -- _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' -- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' -- # Commands to make compiler produce verbose output that lists -- # what "hidden" libraries, object files and flags are used when -- # linking a shared library. -- # -- # There doesn't appear to be a way to prevent this compiler from -- # explicitly linking system object files so we need to strip them -- # from the output so that they don't get included in the library -- # dependencies. -- output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' -- -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir' -- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' -- -- # Archives containing C++ object files must be created using -- # "CC -Bstatic", where "CC" is the KAI C++ compiler. -- _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' -- ;; -- icpc*) -- # Intel C++ -- with_gnu_ld=yes -- # version 8.0 and above of icpc choke on multiply defined symbols -- # if we add $predep_objects and $postdep_objects, however 7.1 and -- # earlier do not add the objects themselves. -- case `$CC -V 2>&1` in -- *"Version 7."*) -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' -- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' -- ;; -- *) # Version 8.0 or newer -- tmp_idyn= -- case $host_cpu in -- ia64*) tmp_idyn=' -i_dynamic';; -- esac -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' -- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' -- ;; -- esac -- _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' -- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' -- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' -- ;; -- pgCC*) -- # Portland Group C++ compiler -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' -- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' -- -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' -- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' -- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' -- ;; -- cxx*) -- # Compaq C++ -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' -- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' -- -- runpath_var=LD_RUN_PATH -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' -- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: -- -- # Commands to make compiler produce verbose output that lists -- # what "hidden" libraries, object files and flags are used when -- # linking a shared library. -- # -- # There doesn't appear to be a way to prevent this compiler from -- # explicitly linking system object files so we need to strip them -- # from the output so that they don't get included in the library -- # dependencies. -- output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' -- ;; -- esac -- ;; -- lynxos*) -- # FIXME: insert proper C++ library support -- _LT_AC_TAGVAR(ld_shlibs, $1)=no -- ;; -- m88k*) -- # FIXME: insert proper C++ library support -- _LT_AC_TAGVAR(ld_shlibs, $1)=no -- ;; -- mvs*) -- case $cc_basename in -- cxx*) -- # FIXME: insert proper C++ library support -- _LT_AC_TAGVAR(ld_shlibs, $1)=no -- ;; -- *) -- # FIXME: insert proper C++ library support -- _LT_AC_TAGVAR(ld_shlibs, $1)=no -- ;; -- esac -- ;; -- netbsd* | netbsdelf*-gnu) -- if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then -- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' -- wlarc= -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' -- _LT_AC_TAGVAR(hardcode_direct, $1)=yes -- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no -- fi -- # Workaround some broken pre-1.5 toolchains -- output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' -- ;; -- openbsd2*) -- # C++ shared libraries are fairly broken -- _LT_AC_TAGVAR(ld_shlibs, $1)=no -- ;; -- openbsd*) -- _LT_AC_TAGVAR(hardcode_direct, $1)=yes -- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' -- if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then -- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' -- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' -- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' -- fi -- output_verbose_link_cmd='echo' -- ;; -- osf3*) -- case $cc_basename in -- KCC*) -- # Kuck and Associates, Inc. (KAI) C++ Compiler -- -- # KCC will only create a shared library if the output file -- # ends with ".so" (or ".sl" for HP-UX), so rename the library -- # to its proper name (with version) after linking. -- _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' -- -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' -- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: -- -- # Archives containing C++ object files must be created using -- # "CC -Bstatic", where "CC" is the KAI C++ compiler. -- _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' -- -- ;; -- RCC*) -- # Rational C++ 2.4.1 -- # FIXME: insert proper C++ library support -- _LT_AC_TAGVAR(ld_shlibs, $1)=no -- ;; -- cxx*) -- _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' -- -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' -- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: -- -- # Commands to make compiler produce verbose output that lists -- # what "hidden" libraries, object files and flags are used when -- # linking a shared library. -- # -- # There doesn't appear to be a way to prevent this compiler from -- # explicitly linking system object files so we need to strip them -- # from the output so that they don't get included in the library -- # dependencies. -- output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' -- ;; -- *) -- if test "$GXX" = yes && test "$with_gnu_ld" = no; then -- _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' -- -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' -- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: -- -- # Commands to make compiler produce verbose output that lists -- # what "hidden" libraries, object files and flags are used when -- # linking a shared library. -- output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' -- -- else -- # FIXME: insert proper C++ library support -- _LT_AC_TAGVAR(ld_shlibs, $1)=no -- fi -- ;; -- esac -- ;; -- osf4* | osf5*) -- case $cc_basename in -- KCC*) -- # Kuck and Associates, Inc. (KAI) C++ Compiler -- -- # KCC will only create a shared library if the output file -- # ends with ".so" (or ".sl" for HP-UX), so rename the library -- # to its proper name (with version) after linking. -- _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' -- -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' -- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: -- -- # Archives containing C++ object files must be created using -- # the KAI C++ compiler. -- _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' -- ;; -- RCC*) -- # Rational C++ 2.4.1 -- # FIXME: insert proper C++ library support -- _LT_AC_TAGVAR(ld_shlibs, $1)=no -- ;; -- cxx*) -- _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' -- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ -- echo "-hidden">> $lib.exp~ -- $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~ -- $rm $lib.exp' -- -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' -- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: -- -- # Commands to make compiler produce verbose output that lists -- # what "hidden" libraries, object files and flags are used when -- # linking a shared library. -- # -- # There doesn't appear to be a way to prevent this compiler from -- # explicitly linking system object files so we need to strip them -- # from the output so that they don't get included in the library -- # dependencies. -- output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' -- ;; -- *) -- if test "$GXX" = yes && test "$with_gnu_ld" = no; then -- _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' -- -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' -- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: -- -- # Commands to make compiler produce verbose output that lists -- # what "hidden" libraries, object files and flags are used when -- # linking a shared library. -- output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' -- -- else -- # FIXME: insert proper C++ library support -- _LT_AC_TAGVAR(ld_shlibs, $1)=no -- fi -- ;; -- esac -- ;; -- psos*) -- # FIXME: insert proper C++ library support -- _LT_AC_TAGVAR(ld_shlibs, $1)=no -- ;; -- sunos4*) -- case $cc_basename in -- CC*) -- # Sun C++ 4.x -- # FIXME: insert proper C++ library support -- _LT_AC_TAGVAR(ld_shlibs, $1)=no -- ;; -- lcc*) -- # Lucid -- # FIXME: insert proper C++ library support -- _LT_AC_TAGVAR(ld_shlibs, $1)=no -- ;; -- *) -- # FIXME: insert proper C++ library support -- _LT_AC_TAGVAR(ld_shlibs, $1)=no -- ;; -- esac -- ;; -- solaris*) -- case $cc_basename in -- CC*) -- # Sun C++ 4.2, 5.x and Centerline C++ -- _LT_AC_TAGVAR(archive_cmds_need_lc,$1)=yes -- _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs' -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' -- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ -- $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' -- -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' -- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no -- case $host_os in -- solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; -- *) -- # The C++ compiler is used as linker so we must use $wl -- # flag to pass the commands to the underlying system -- # linker. We must also pass each convience library through -- # to the system linker between allextract/defaultextract. -- # The C++ compiler will combine linker options so we -- # cannot just pass the convience library names through -- # without $wl. -- # Supported since Solaris 2.6 (maybe 2.5.1?) -- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' -- ;; -- esac -- _LT_AC_TAGVAR(link_all_deplibs, $1)=yes -- -- output_verbose_link_cmd='echo' -- -- # Archives containing C++ object files must be created using -- # "CC -xar", where "CC" is the Sun C++ compiler. This is -- # necessary to make sure instantiated templates are included -- # in the archive. -- _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' -- ;; -- gcx*) -- # Green Hills C++ Compiler -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' -- -- # The C++ compiler must be used to create the archive. -- _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs' -- ;; -- *) -- # GNU C++ compiler with Solaris linker -- if test "$GXX" = yes && test "$with_gnu_ld" = no; then -- _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs' -- if $CC --version | grep -v '^2\.7' > /dev/null; then -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' -- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ -- $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' -- -- # Commands to make compiler produce verbose output that lists -- # what "hidden" libraries, object files and flags are used when -- # linking a shared library. -- output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" -- else -- # g++ 2.7 appears to require `-G' NOT `-shared' on this -- # platform. -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' -- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ -- $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' -- -- # Commands to make compiler produce verbose output that lists -- # what "hidden" libraries, object files and flags are used when -- # linking a shared library. -- output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" -- fi -- -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' -- fi -- ;; -- esac -- ;; -- sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) -- _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' -- _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no -- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no -- runpath_var='LD_RUN_PATH' -- -- case $cc_basename in -- CC*) -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' -- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' -- ;; -- *) -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' -- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' -- ;; -- esac -- ;; -- sysv5* | sco3.2v5* | sco5v6*) -- # Note: We can NOT use -z defs as we might desire, because we do not -- # link with -lc, and that would cause any symbols used from libc to -- # always be unresolved, which means just about no library would -- # ever link correctly. If we're not using GNU ld we use -z text -- # though, which does catch some bad symbols but isn't as heavy-handed -- # as -z defs. -- # For security reasons, it is highly recommended that you always -- # use absolute paths for naming shared libraries, and exclude the -- # DT_RUNPATH tag from executables and libraries. But doing so -- # requires that you compile everything twice, which is a pain. -- # So that behaviour is only enabled if SCOABSPATH is set to a -- # non-empty value in the environment. Most likely only useful for -- # creating official distributions of packages. -- # This is a hack until libtool officially supports absolute path -- # names for shared libraries. -- _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' -- _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' -- _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no -- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' -- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' -- _LT_AC_TAGVAR(link_all_deplibs, $1)=yes -- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' -- runpath_var='LD_RUN_PATH' -- -- case $cc_basename in -- CC*) -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' -- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' -- ;; -- *) -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' -- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' -- ;; -- esac -- ;; -- tandem*) -- case $cc_basename in -- NCC*) -- # NonStop-UX NCC 3.20 -- # FIXME: insert proper C++ library support -- _LT_AC_TAGVAR(ld_shlibs, $1)=no -- ;; -- *) -- # FIXME: insert proper C++ library support -- _LT_AC_TAGVAR(ld_shlibs, $1)=no -- ;; -- esac -- ;; -- vxworks*) -- # FIXME: insert proper C++ library support -- _LT_AC_TAGVAR(ld_shlibs, $1)=no -- ;; -- *) -- # FIXME: insert proper C++ library support -- _LT_AC_TAGVAR(ld_shlibs, $1)=no -- ;; --esac --AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) --test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no -- --_LT_AC_TAGVAR(GCC, $1)="$GXX" --_LT_AC_TAGVAR(LD, $1)="$LD" -- --## CAVEAT EMPTOR: --## There is no encapsulation within the following macros, do not change --## the running order or otherwise move them around unless you know exactly --## what you are doing... --AC_LIBTOOL_POSTDEP_PREDEP($1) --AC_LIBTOOL_PROG_COMPILER_PIC($1) --AC_LIBTOOL_PROG_CC_C_O($1) --AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) --AC_LIBTOOL_PROG_LD_SHLIBS($1) --AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) --AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) -- --AC_LIBTOOL_CONFIG($1) -- --AC_LANG_POP --CC=$lt_save_CC --LDCXX=$LD --LD=$lt_save_LD --GCC=$lt_save_GCC --with_gnu_ldcxx=$with_gnu_ld --with_gnu_ld=$lt_save_with_gnu_ld --lt_cv_path_LDCXX=$lt_cv_path_LD --lt_cv_path_LD=$lt_save_path_LD --lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld --lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld --])# AC_LIBTOOL_LANG_CXX_CONFIG -- --# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME]) --# ------------------------------------ --# Figure out "hidden" library dependencies from verbose --# compiler output when linking a shared library. --# Parse the compiler output and extract the necessary --# objects, libraries and library flags. --AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[ --dnl we can't use the lt_simple_compile_test_code here, --dnl because it contains code intended for an executable, --dnl not a library. It's possible we should let each --dnl tag define a new lt_????_link_test_code variable, --dnl but it's only used here... --ifelse([$1],[],[cat > conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext <> "$cfgfile" --ifelse([$1], [], --[#! $SHELL -- --# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. --# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) --# NOTE: Changes made to this file will be lost: look at ltmain.sh. --# --# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 --# Free Software Foundation, Inc. --# --# This file is part of GNU Libtool: --# Originally by Gordon Matzigkeit , 1996 --# --# This program is free software; you can redistribute it and/or modify --# it under the terms of the GNU General Public License as published by --# the Free Software Foundation; either version 2 of the License, or --# (at your option) any later version. --# --# This program is distributed in the hope that it will be useful, but --# WITHOUT ANY WARRANTY; without even the implied warranty of --# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU --# General Public License for more details. --# --# You should have received a copy of the GNU General Public License --# along with this program; if not, write to the Free Software --# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. --# --# As a special exception to the GNU General Public License, if you --# distribute this file as part of a program that contains a --# configuration script generated by Autoconf, you may include it under --# the same distribution terms that you use for the rest of that program. -- --# A sed program that does not truncate output. --SED=$lt_SED -- --# Sed that helps us avoid accidentally triggering echo(1) options like -n. --Xsed="$SED -e 1s/^X//" -- --# The HP-UX ksh and POSIX shell print the target directory to stdout --# if CDPATH is set. --(unset CDPATH) >/dev/null 2>&1 && unset CDPATH -- --# The names of the tagged configurations supported by this script. --available_tags= -- --# ### BEGIN LIBTOOL CONFIG], --[# ### BEGIN LIBTOOL TAG CONFIG: $tagname]) -- --# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: -- --# Shell to use when invoking shell scripts. --SHELL=$lt_SHELL -- --# Whether or not to build shared libraries. --build_libtool_libs=$enable_shared -- --# Whether or not to build static libraries. --build_old_libs=$enable_static -- --# Whether or not to add -lc for building shared libraries. --build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1) -- --# Whether or not to disallow shared libs when runtime libs are static --allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) -- --# Whether or not to optimize for fast installation. --fast_install=$enable_fast_install -- --# The host system. --host_alias=$host_alias --host=$host --host_os=$host_os -- --# The build system. --build_alias=$build_alias --build=$build --build_os=$build_os -- --# An echo program that does not interpret backslashes. --echo=$lt_echo -- --# The archiver. --AR=$lt_AR --AR_FLAGS=$lt_AR_FLAGS -- --# A C compiler. --LTCC=$lt_LTCC -- --# LTCC compiler flags. --LTCFLAGS=$lt_LTCFLAGS -- --# A language-specific compiler. --CC=$lt_[]_LT_AC_TAGVAR(compiler, $1) -- --# Is the compiler the GNU C compiler? --with_gcc=$_LT_AC_TAGVAR(GCC, $1) -- --# An ERE matcher. --EGREP=$lt_EGREP -- --# The linker used to build libraries. --LD=$lt_[]_LT_AC_TAGVAR(LD, $1) -- --# Whether we need hard or soft links. --LN_S=$lt_LN_S -- --# A BSD-compatible nm program. --NM=$lt_NM -- --# A symbol stripping program --STRIP=$lt_STRIP -- --# Used to examine libraries when file_magic_cmd begins "file" --MAGIC_CMD=$MAGIC_CMD -- --# Used on cygwin: DLL creation program. --DLLTOOL="$DLLTOOL" -- --# Used on cygwin: object dumper. --OBJDUMP="$OBJDUMP" -- --# Used on cygwin: assembler. --AS="$AS" -- --# The name of the directory that contains temporary libtool files. --objdir=$objdir -- --# How to create reloadable object files. --reload_flag=$lt_reload_flag --reload_cmds=$lt_reload_cmds -- --# How to pass a linker flag through the compiler. --wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) -- --# Object file suffix (normally "o"). --objext="$ac_objext" -- --# Old archive suffix (normally "a"). --libext="$libext" -- --# Shared library suffix (normally ".so"). --shrext_cmds='$shrext_cmds' -- --# Executable file suffix (normally ""). --exeext="$exeext" -- --# Additional compiler flags for building library objects. --pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) --pic_mode=$pic_mode -- --# What is the maximum length of a command? --max_cmd_len=$lt_cv_sys_max_cmd_len -- --# Does compiler simultaneously support -c and -o options? --compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) -- --# Must we lock files when doing compilation? --need_locks=$lt_need_locks -- --# Do we need the lib prefix for modules? --need_lib_prefix=$need_lib_prefix -- --# Do we need a version for libraries? --need_version=$need_version -- --# Whether dlopen is supported. --dlopen_support=$enable_dlopen -- --# Whether dlopen of programs is supported. --dlopen_self=$enable_dlopen_self -- --# Whether dlopen of statically linked programs is supported. --dlopen_self_static=$enable_dlopen_self_static -- --# Compiler flag to prevent dynamic linking. --link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1) -- --# Compiler flag to turn off builtin functions. --no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -- --# Compiler flag to allow reflexive dlopens. --export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1) -- --# Compiler flag to generate shared objects directly from archives. --whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1) -- --# Compiler flag to generate thread-safe objects. --thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1) -- --# Library versioning type. --version_type=$version_type -- --# Format of library name prefix. --libname_spec=$lt_libname_spec -- --# List of archive names. First name is the real one, the rest are links. --# The last name is the one that the linker finds with -lNAME. --library_names_spec=$lt_library_names_spec -- --# The coded name of the library, if different from the real name. --soname_spec=$lt_soname_spec -- --# Commands used to build and install an old-style archive. --RANLIB=$lt_RANLIB --old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1) --old_postinstall_cmds=$lt_old_postinstall_cmds --old_postuninstall_cmds=$lt_old_postuninstall_cmds -- --# Create an old-style archive from a shared archive. --old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1) -- --# Create a temporary old-style archive to link instead of a shared archive. --old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) -- --# Commands used to build and install a shared archive. --archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1) --archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1) --postinstall_cmds=$lt_postinstall_cmds --postuninstall_cmds=$lt_postuninstall_cmds -- --# Commands used to build a loadable module (assumed same as above if empty) --module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1) --module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1) -- --# Commands to strip libraries. --old_striplib=$lt_old_striplib --striplib=$lt_striplib -- --# Dependencies to place before the objects being linked to create a --# shared library. --predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1) -- --# Dependencies to place after the objects being linked to create a --# shared library. --postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1) -- --# Dependencies to place before the objects being linked to create a --# shared library. --predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1) -- --# Dependencies to place after the objects being linked to create a --# shared library. --postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1) -- --# The library search path used internally by the compiler when linking --# a shared library. --compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) -- --# Method to check whether dependent libraries are shared objects. --deplibs_check_method=$lt_deplibs_check_method -- --# Command to use when deplibs_check_method == file_magic. --file_magic_cmd=$lt_file_magic_cmd -- --# Flag that allows shared libraries with undefined symbols to be built. --allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1) -- --# Flag that forces no undefined symbols. --no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1) -- --# Commands used to finish a libtool library installation in a directory. --finish_cmds=$lt_finish_cmds -- --# Same as above, but a single script fragment to be evaled but not shown. --finish_eval=$lt_finish_eval -- --# Take the output of nm and produce a listing of raw symbols and C names. --global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe -- --# Transform the output of nm in a proper C declaration --global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl -- --# Transform the output of nm in a C name address pair --global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address -- --# This is the shared library runtime path variable. --runpath_var=$runpath_var -- --# This is the shared library path variable. --shlibpath_var=$shlibpath_var -- --# Is shlibpath searched before the hard-coded library search path? --shlibpath_overrides_runpath=$shlibpath_overrides_runpath -- --# How to hardcode a shared library path into an executable. --hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1) -- --# Whether we should hardcode library paths into libraries. --hardcode_into_libs=$hardcode_into_libs -- --# Flag to hardcode \$libdir into a binary during linking. --# This must work even if \$libdir does not exist. --hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) -- --# If ld is used when linking, flag to hardcode \$libdir into --# a binary during linking. This must work even if \$libdir does --# not exist. --hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) -- --# Whether we need a single -rpath flag with a separated argument. --hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1) -- --# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the --# resulting binary. --hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1) -- --# Set to yes if using the -LDIR flag during linking hardcodes DIR into the --# resulting binary. --hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1) -- --# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into --# the resulting binary. --hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1) -- --# Set to yes if building a shared library automatically hardcodes DIR into the library --# and all subsequent libraries and executables linked against it. --hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1) -- --# Variables whose values should be saved in libtool wrapper scripts and --# restored at relink time. --variables_saved_for_relink="$variables_saved_for_relink" -- --# Whether libtool must link a program against all its dependency libraries. --link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1) -- --# Compile-time system search path for libraries --sys_lib_search_path_spec=$lt_sys_lib_search_path_spec -- --# Run-time system search path for libraries --sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec -- --# Fix the shell variable \$srcfile for the compiler. --fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)" -- --# Set to yes if exported symbols are required. --always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1) -- --# The commands to list exported symbols. --export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1) -- --# The commands to extract the exported symbol list from a shared archive. --extract_expsyms_cmds=$lt_extract_expsyms_cmds -- --# Symbols that should not be listed in the preloaded symbols. --exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1) -- --# Symbols that must always be exported. --include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1) -- --ifelse([$1],[], --[# ### END LIBTOOL CONFIG], --[# ### END LIBTOOL TAG CONFIG: $tagname]) -- --__EOF__ -- --ifelse([$1],[], [ -- case $host_os in -- aix3*) -- cat <<\EOF >> "$cfgfile" -- --# AIX sometimes has problems with the GCC collect2 program. For some --# reason, if we set the COLLECT_NAMES environment variable, the problems --# vanish in a puff of smoke. --if test "X${COLLECT_NAMES+set}" != Xset; then -- COLLECT_NAMES= -- export COLLECT_NAMES --fi --EOF -- ;; -- esac -- -- # We use sed instead of cat because bash on DJGPP gets confused if -- # if finds mixed CR/LF and LF-only lines. Since sed operates in -- # text mode, it properly converts lines to CR/LF. This bash problem -- # is reportedly fixed, but why not run on old versions too? -- sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) -- -- mv -f "$cfgfile" "$ofile" || \ -- (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") -- chmod +x "$ofile" --]) --else -- # If there is no Makefile yet, we rely on a make rule to execute -- # `config.status --recheck' to rerun these tests and create the -- # libtool script then. -- ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` -- if test -f "$ltmain_in"; then -- test -f Makefile && make "$ltmain" -- fi --fi --])# AC_LIBTOOL_CONFIG -- -- --# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME]) --# ------------------------------------------- --AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], --[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl -- --_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= -- --if test "$GCC" = yes; then -- _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' -- -- AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], -- lt_cv_prog_compiler_rtti_exceptions, -- [-fno-rtti -fno-exceptions], [], -- [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"]) --fi --])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI -- -- --# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE --# --------------------------------- --AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], --[AC_REQUIRE([AC_CANONICAL_HOST]) --AC_REQUIRE([AC_PROG_NM]) --AC_REQUIRE([AC_OBJEXT]) --# Check for command to grab the raw symbol name followed by C symbol from nm. --AC_MSG_CHECKING([command to parse $NM output from $compiler object]) --AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], --[ --# These are sane defaults that work on at least a few old systems. --# [They come from Ultrix. What could be older than Ultrix?!! ;)] -- --# Character class describing NM global symbol codes. --symcode='[[BCDEGRST]]' -- --# Regexp to match symbols that can be accessed directly from C. --sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' -- --# Transform an extracted symbol line into a proper C declaration --lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" -- --# Transform an extracted symbol line into symbol name and symbol address --lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" -- --# Define system-specific variables. --case $host_os in --aix*) -- symcode='[[BCDT]]' -- ;; --cygwin* | mingw* | pw32*) -- symcode='[[ABCDGISTW]]' -- ;; --hpux*) # Its linker distinguishes data from code symbols -- if test "$host_cpu" = ia64; then -- symcode='[[ABCDEGRST]]' -- fi -- lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" -- lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" -- ;; --linux* | k*bsd*-gnu) -- if test "$host_cpu" = ia64; then -- symcode='[[ABCDGIRSTW]]' -- lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" -- lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" -- fi -- ;; --irix* | nonstopux*) -- symcode='[[BCDEGRST]]' -- ;; --osf*) -- symcode='[[BCDEGQRST]]' -- ;; --solaris*) -- symcode='[[BDRT]]' -- ;; --sco3.2v5*) -- symcode='[[DT]]' -- ;; --sysv4.2uw2*) -- symcode='[[DT]]' -- ;; --sysv5* | sco5v6* | unixware* | OpenUNIX*) -- symcode='[[ABDT]]' -- ;; --sysv4) -- symcode='[[DFNSTU]]' -- ;; --esac -- --# Handle CRLF in mingw tool chain --opt_cr= --case $build_os in --mingw*) -- opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp -- ;; --esac -- --# If we're using GNU nm, then use its standard symbol codes. --case `$NM -V 2>&1` in --*GNU* | *'with BFD'*) -- symcode='[[ABCDGIRSTW]]' ;; --esac -- --# Try without a prefix undercore, then with it. --for ac_symprfx in "" "_"; do -- -- # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. -- symxfrm="\\1 $ac_symprfx\\2 \\2" -- -- # Write the raw and C identifiers. -- lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" -- -- # Check to see that the pipe works correctly. -- pipe_works=no -- -- rm -f conftest* -- cat > conftest.$ac_ext < $nlist) && test -s "$nlist"; then -- # Try sorting and uniquifying the output. -- if sort "$nlist" | uniq > "$nlist"T; then -- mv -f "$nlist"T "$nlist" -- else -- rm -f "$nlist"T -- fi -- -- # Make sure that we snagged all the symbols we need. -- if grep ' nm_test_var$' "$nlist" >/dev/null; then -- if grep ' nm_test_func$' "$nlist" >/dev/null; then -- cat < conftest.$ac_ext --#ifdef __cplusplus --extern "C" { --#endif -- --EOF -- # Now generate the symbol file. -- eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' -- -- cat <> conftest.$ac_ext --#if defined (__STDC__) && __STDC__ --# define lt_ptr_t void * --#else --# define lt_ptr_t char * --# define const --#endif -- --/* The mapping between symbol names and symbols. */ --const struct { -- const char *name; -- lt_ptr_t address; --} --lt_preloaded_symbols[[]] = --{ --EOF -- $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext -- cat <<\EOF >> conftest.$ac_ext -- {0, (lt_ptr_t) 0} --}; -- --#ifdef __cplusplus --} --#endif --EOF -- # Now try linking the two files. -- mv conftest.$ac_objext conftstm.$ac_objext -- lt_save_LIBS="$LIBS" -- lt_save_CFLAGS="$CFLAGS" -- LIBS="conftstm.$ac_objext" -- CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" -- if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then -- pipe_works=yes -- fi -- LIBS="$lt_save_LIBS" -- CFLAGS="$lt_save_CFLAGS" -- else -- echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD -- fi -- else -- echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD -- fi -- else -- echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD -- fi -- else -- echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD -- cat conftest.$ac_ext >&5 -- fi -- rm -f conftest* conftst* -- -- # Do not use the global_symbol_pipe unless it works. -- if test "$pipe_works" = yes; then -- break -- else -- lt_cv_sys_global_symbol_pipe= -- fi --done --]) --if test -z "$lt_cv_sys_global_symbol_pipe"; then -- lt_cv_sys_global_symbol_to_cdecl= --fi --if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then -- AC_MSG_RESULT(failed) --else -- AC_MSG_RESULT(ok) --fi --]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE -- -- --# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME]) --# --------------------------------------- --AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC], --[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)= --_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= --_LT_AC_TAGVAR(lt_prog_compiler_static, $1)= -- --AC_MSG_CHECKING([for $compiler option to produce PIC]) -- ifelse([$1],[CXX],[ -- # C++ specific cases for pic, static, wl, etc. -- if test "$GXX" = yes; then -- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' -- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' -- -- case $host_os in -- aix*) -- # All AIX code is PIC. -- if test "$host_cpu" = ia64; then -- # AIX 5 now supports IA64 processor -- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' -- fi -- ;; -- amigaos*) -- # FIXME: we need at least 68020 code to build shared libraries, but -- # adding the `-m68020' flag to GCC prevents building anything better, -- # like `-m68040'. -- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' -- ;; -- beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) -- # PIC is the default for these OSes. -- ;; -- mingw* | os2* | pw32*) -- # This hack is so that the source file can tell whether it is being -- # built for inclusion in a dll (and should export symbols for example). -- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' -- ;; -- darwin* | rhapsody*) -- # PIC is the default on this platform -- # Common symbols not allowed in MH_DYLIB files -- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' -- ;; -- *djgpp*) -- # DJGPP does not support shared libraries at all -- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= -- ;; -- interix3*) -- # Interix 3.x gcc -fpic/-fPIC options generate broken code. -- # Instead, we relocate shared libraries at runtime. -- ;; -- sysv4*MP*) -- if test -d /usr/nec; then -- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic -- fi -- ;; -- hpux*) -- # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but -- # not for PA HP-UX. -- case $host_cpu in -- hppa*64*|ia64*) -- ;; -- *) -- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' -- ;; -- esac -- ;; -- *) -- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' -- ;; -- esac -- else -- case $host_os in -- aix4* | aix5*) -- # All AIX code is PIC. -- if test "$host_cpu" = ia64; then -- # AIX 5 now supports IA64 processor -- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' -- else -- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' -- fi -- ;; -- chorus*) -- case $cc_basename in -- cxch68*) -- # Green Hills C++ Compiler -- # _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" -- ;; -- esac -- ;; -- darwin*) -- # PIC is the default on this platform -- # Common symbols not allowed in MH_DYLIB files -- case $cc_basename in -- xlc*) -- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon' -- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' -- ;; -- esac -- ;; -- dgux*) -- case $cc_basename in -- ec++*) -- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' -- ;; -- ghcx*) -- # Green Hills C++ Compiler -- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' -- ;; -- *) -- ;; -- esac -- ;; -- freebsd* | dragonfly*) -- # FreeBSD uses GNU C++ -- ;; -- hpux9* | hpux10* | hpux11*) -- case $cc_basename in -- CC*) -- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' -- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' -- if test "$host_cpu" != ia64; then -- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' -- fi -- ;; -- aCC*) -- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' -- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' -- case $host_cpu in -- hppa*64*|ia64*) -- # +Z the default -- ;; -- *) -- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' -- ;; -- esac -- ;; -- *) -- ;; -- esac -- ;; -- interix*) -- # This is c89, which is MS Visual C++ (no shared libs) -- # Anyone wants to do a port? -- ;; -- irix5* | irix6* | nonstopux*) -- case $cc_basename in -- CC*) -- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' -- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' -- # CC pic flag -KPIC is the default. -- ;; -- *) -- ;; -- esac -- ;; -- linux* | k*bsd*-gnu) -- case $cc_basename in -- KCC*) -- # KAI C++ Compiler -- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' -- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' -- ;; -- icpc* | ecpc*) -- # Intel C++ -- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' -- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' -- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' -- ;; -- pgCC*) -- # Portland Group C++ compiler. -- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' -- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' -- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' -- ;; -- cxx*) -- # Compaq C++ -- # Make sure the PIC flag is empty. It appears that all Alpha -- # Linux and Compaq Tru64 Unix objects are PIC. -- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= -- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' -- ;; -- *) -- ;; -- esac -- ;; -- lynxos*) -- ;; -- m88k*) -- ;; -- mvs*) -- case $cc_basename in -- cxx*) -- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' -- ;; -- *) -- ;; -- esac -- ;; -- netbsd* | netbsdelf*-gnu) -- ;; -- osf3* | osf4* | osf5*) -- case $cc_basename in -- KCC*) -- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' -- ;; -- RCC*) -- # Rational C++ 2.4.1 -- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' -- ;; -- cxx*) -- # Digital/Compaq C++ -- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' -- # Make sure the PIC flag is empty. It appears that all Alpha -- # Linux and Compaq Tru64 Unix objects are PIC. -- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= -- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' -- ;; -- *) -- ;; -- esac -- ;; -- psos*) -- ;; -- solaris*) -- case $cc_basename in -- CC*) -- # Sun C++ 4.2, 5.x and Centerline C++ -- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' -- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' -- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' -- ;; -- gcx*) -- # Green Hills C++ Compiler -- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' -- ;; -- *) -- ;; -- esac -- ;; -- sunos4*) -- case $cc_basename in -- CC*) -- # Sun C++ 4.x -- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' -- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' -- ;; -- lcc*) -- # Lucid -- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' -- ;; -- *) -- ;; -- esac -- ;; -- tandem*) -- case $cc_basename in -- NCC*) -- # NonStop-UX NCC 3.20 -- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' -- ;; -- *) -- ;; -- esac -- ;; -- sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) -- case $cc_basename in -- CC*) -- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' -- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' -- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' -- ;; -- esac -- ;; -- vxworks*) -- ;; -- *) -- _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no -- ;; -- esac -- fi --], --[ -- if test "$GCC" = yes; then -- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' -- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' -- -- case $host_os in -- aix*) -- # All AIX code is PIC. -- if test "$host_cpu" = ia64; then -- # AIX 5 now supports IA64 processor -- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' -- fi -- ;; -- -- amigaos*) -- # FIXME: we need at least 68020 code to build shared libraries, but -- # adding the `-m68020' flag to GCC prevents building anything better, -- # like `-m68040'. -- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' -- ;; -- -- beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) -- # PIC is the default for these OSes. -- ;; -- -- mingw* | pw32* | os2*) -- # This hack is so that the source file can tell whether it is being -- # built for inclusion in a dll (and should export symbols for example). -- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' -- ;; -- -- darwin* | rhapsody*) -- # PIC is the default on this platform -- # Common symbols not allowed in MH_DYLIB files -- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' -- ;; -- -- interix3*) -- # Interix 3.x gcc -fpic/-fPIC options generate broken code. -- # Instead, we relocate shared libraries at runtime. -- ;; -- -- msdosdjgpp*) -- # Just because we use GCC doesn't mean we suddenly get shared libraries -- # on systems that don't support them. -- _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no -- enable_shared=no -- ;; -- -- sysv4*MP*) -- if test -d /usr/nec; then -- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic -- fi -- ;; -- -- hpux*) -- # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but -- # not for PA HP-UX. -- case $host_cpu in -- hppa*64*|ia64*) -- # +Z the default -- ;; -- *) -- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' -- ;; -- esac -- ;; -- -- *) -- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' -- ;; -- esac -- else -- # PORTME Check for flag to pass linker flags through the system compiler. -- case $host_os in -- aix*) -- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' -- if test "$host_cpu" = ia64; then -- # AIX 5 now supports IA64 processor -- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' -- else -- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' -- fi -- ;; -- darwin*) -- # PIC is the default on this platform -- # Common symbols not allowed in MH_DYLIB files -- case $cc_basename in -- xlc*) -- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon' -- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' -- ;; -- esac -- ;; -- -- mingw* | pw32* | os2*) -- # This hack is so that the source file can tell whether it is being -- # built for inclusion in a dll (and should export symbols for example). -- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' -- ;; -- -- hpux9* | hpux10* | hpux11*) -- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' -- # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but -- # not for PA HP-UX. -- case $host_cpu in -- hppa*64*|ia64*) -- # +Z the default -- ;; -- *) -- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' -- ;; -- esac -- # Is there a better lt_prog_compiler_static that works with the bundled CC? -- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' -- ;; -- -- irix5* | irix6* | nonstopux*) -- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' -- # PIC (with -KPIC) is the default. -- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' -- ;; -- -- newsos6) -- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' -- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' -- ;; -- -- linux* | k*bsd*-gnu) -- case $cc_basename in -- icc* | ecc*) -- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' -- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' -- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' -- ;; -- pgcc* | pgf77* | pgf90* | pgf95*) -- # Portland Group compilers (*not* the Pentium gcc compiler, -- # which looks to be a dead project) -- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' -- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' -- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' -- ;; -- ccc*) -- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' -- # All Alpha code is PIC. -- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' -- ;; -- esac -- ;; -- -- osf3* | osf4* | osf5*) -- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' -- # All OSF/1 code is PIC. -- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' -- ;; -- -- solaris*) -- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' -- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' -- case $cc_basename in -- f77* | f90* | f95*) -- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';; -- *) -- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';; -- esac -- ;; -- -- sunos4*) -- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' -- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' -- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' -- ;; -- -- sysv4 | sysv4.2uw2* | sysv4.3*) -- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' -- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' -- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' -- ;; -- -- sysv4*MP*) -- if test -d /usr/nec ;then -- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic' -- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' -- fi -- ;; -- -- sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) -- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' -- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' -- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' -- ;; -- -- unicos*) -- _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' -- _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no -- ;; -- -- uts4*) -- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' -- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' -- ;; -- -- *) -- _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no -- ;; -- esac -- fi --]) --AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)]) -- --# --# Check to make sure the PIC flag actually works. --# --if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then -- AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works], -- _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1), -- [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [], -- [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in -- "" | " "*) ;; -- *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;; -- esac], -- [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= -- _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) --fi --case $host_os in -- # For platforms which do not support PIC, -DPIC is meaningless: -- *djgpp*) -- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= -- ;; -- *) -- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])" -- ;; --esac -- --# --# Check to make sure the static flag actually works. --# --wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\" --AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], -- _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1), -- $lt_tmp_static_flag, -- [], -- [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=]) --]) -- -- --# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME]) --# ------------------------------------ --# See if the linker supports building shared libraries. --AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS], --[AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) --ifelse([$1],[CXX],[ -- _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' -- case $host_os in -- aix4* | aix5*) -- # If we're using GNU nm, then we don't want the "-C" option. -- # -C means demangle to AIX nm, but means don't demangle with GNU nm -- if $NM -V 2>&1 | grep 'GNU' > /dev/null; then -- _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' -- else -- _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' -- fi -- ;; -- pw32*) -- _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" -- ;; -- cygwin* | mingw*) -- _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] /s/.* \([[^ ]]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([[^ ]]*\) [[^ ]]*/\1 DATA/;/^I /d;/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' -- ;; -- linux* | k*bsd*-gnu) -- _LT_AC_TAGVAR(link_all_deplibs, $1)=no -- ;; -- *) -- _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' -- ;; -- esac --],[ -- runpath_var= -- _LT_AC_TAGVAR(allow_undefined_flag, $1)= -- _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no -- _LT_AC_TAGVAR(archive_cmds, $1)= -- _LT_AC_TAGVAR(archive_expsym_cmds, $1)= -- _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)= -- _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)= -- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= -- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= -- _LT_AC_TAGVAR(thread_safe_flag_spec, $1)= -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= -- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= -- _LT_AC_TAGVAR(hardcode_direct, $1)=no -- _LT_AC_TAGVAR(hardcode_minus_L, $1)=no -- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported -- _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown -- _LT_AC_TAGVAR(hardcode_automatic, $1)=no -- _LT_AC_TAGVAR(module_cmds, $1)= -- _LT_AC_TAGVAR(module_expsym_cmds, $1)= -- _LT_AC_TAGVAR(always_export_symbols, $1)=no -- _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' -- # include_expsyms should be a list of space-separated symbols to be *always* -- # included in the symbol list -- _LT_AC_TAGVAR(include_expsyms, $1)= -- # exclude_expsyms can be an extended regexp of symbols to exclude -- # it will be wrapped by ` (' and `)$', so one must not match beginning or -- # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', -- # as well as any symbol that contains `d'. -- _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_" -- # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out -- # platforms (ab)use it in PIC code, but their linkers get confused if -- # the symbol is explicitly referenced. Since portable code cannot -- # rely on this symbol name, it's probably fine to never include it in -- # preloaded symbol tables. -- extract_expsyms_cmds= -- # Just being paranoid about ensuring that cc_basename is set. -- _LT_CC_BASENAME([$compiler]) -- case $host_os in -- cygwin* | mingw* | pw32*) -- # FIXME: the MSVC++ port hasn't been tested in a loooong time -- # When not using gcc, we currently assume that we are using -- # Microsoft Visual C++. -- if test "$GCC" != yes; then -- with_gnu_ld=no -- fi -- ;; -- interix*) -- # we just hope/assume this is gcc and not c89 (= MSVC++) -- with_gnu_ld=yes -- ;; -- openbsd*) -- with_gnu_ld=no -- ;; -- esac -- -- _LT_AC_TAGVAR(ld_shlibs, $1)=yes -- if test "$with_gnu_ld" = yes; then -- # If archive_cmds runs LD, not CC, wlarc should be empty -- wlarc='${wl}' -- -- # Set some defaults for GNU ld with shared library support. These -- # are reset later if shared libraries are not supported. Putting them -- # here allows them to be overridden if necessary. -- runpath_var=LD_RUN_PATH -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' -- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' -- # ancient GNU ld didn't support --whole-archive et. al. -- if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then -- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' -- else -- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= -- fi -- supports_anon_versioning=no -- case `$LD -v 2>/dev/null` in -- *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 -- *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... -- *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... -- *\ 2.11.*) ;; # other 2.11 versions -- *) supports_anon_versioning=yes ;; -- esac -- -- # See if GNU ld supports shared libraries. -- case $host_os in -- aix3* | aix4* | aix5*) -- # On AIX/PPC, the GNU linker is very broken -- if test "$host_cpu" != ia64; then -- _LT_AC_TAGVAR(ld_shlibs, $1)=no -- cat <&2 -- --*** Warning: the GNU linker, at least up to release 2.9.1, is reported --*** to be unable to reliably create shared libraries on AIX. --*** Therefore, libtool is disabling shared libraries support. If you --*** really care for shared libraries, you may want to modify your PATH --*** so that a non-GNU linker is found, and then restart. -- --EOF -- fi -- ;; -- -- amigaos*) -- _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' -- _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes -- -- # Samuel A. Falvo II reports -- # that the semantics of dynamic libraries on AmigaOS, at least up -- # to version 4, is to share data among multiple programs linked -- # with the same dynamic library. Since this doesn't match the -- # behavior of shared libraries on other platforms, we can't use -- # them. -- _LT_AC_TAGVAR(ld_shlibs, $1)=no -- ;; -- -- beos*) -- if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then -- _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported -- # Joseph Beckenbach says some releases of gcc -- # support --undefined. This deserves some investigation. FIXME -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' -- else -- _LT_AC_TAGVAR(ld_shlibs, $1)=no -- fi -- ;; -- -- cygwin* | mingw* | pw32*) -- # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, -- # as there is no search path for DLLs. -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' -- _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported -- _LT_AC_TAGVAR(always_export_symbols, $1)=no -- _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes -- _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' -- -- if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' -- # If the export-symbols file already is a .def file (1st line -- # is EXPORTS), use it as is; otherwise, prepend... -- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then -- cp $export_symbols $output_objdir/$soname.def; -- else -- echo EXPORTS > $output_objdir/$soname.def; -- cat $export_symbols >> $output_objdir/$soname.def; -- fi~ -- $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' -- else -- _LT_AC_TAGVAR(ld_shlibs, $1)=no -- fi -- ;; -- -- interix3*) -- _LT_AC_TAGVAR(hardcode_direct, $1)=no -- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' -- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' -- # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. -- # Instead, shared libraries are loaded at an image base (0x10000000 by -- # default) and relocated if they conflict, which is a slow very memory -- # consuming and fragmenting process. To avoid this, we pick a random, -- # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link -- # time. Moving up from 0x10000000 also allows more sbrk(2) space. -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' -- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' -- ;; -- -- linux* | k*bsd*-gnu) -- if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then -- tmp_addflag= -- case $cc_basename,$host_cpu in -- pgcc*) # Portland Group C compiler -- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' -- tmp_addflag=' $pic_flag' -- ;; -- pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers -- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' -- tmp_addflag=' $pic_flag -Mnomain' ;; -- ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 -- tmp_addflag=' -i_dynamic' ;; -- efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 -- tmp_addflag=' -i_dynamic -nofor_main' ;; -- ifc* | ifort*) # Intel Fortran compiler -- tmp_addflag=' -nofor_main' ;; -- esac -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' -- -- if test $supports_anon_versioning = yes; then -- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~ -- cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ -- $echo "local: *; };" >> $output_objdir/$libname.ver~ -- $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' -- fi -- _LT_AC_TAGVAR(link_all_deplibs, $1)=no -- else -- _LT_AC_TAGVAR(ld_shlibs, $1)=no -- fi -- ;; -- -- netbsd* | netbsdelf*-gnu) -- if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then -- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' -- wlarc= -- else -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' -- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' -- fi -- ;; -- -- solaris*) -- if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then -- _LT_AC_TAGVAR(ld_shlibs, $1)=no -- cat <&2 -- --*** Warning: The releases 2.8.* of the GNU linker cannot reliably --*** create shared libraries on Solaris systems. Therefore, libtool --*** is disabling shared libraries support. We urge you to upgrade GNU --*** binutils to release 2.9.1 or newer. Another option is to modify --*** your PATH or compiler configuration so that the native linker is --*** used, and then restart. -- --EOF -- elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' -- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' -- else -- _LT_AC_TAGVAR(ld_shlibs, $1)=no -- fi -- ;; -- -- sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) -- case `$LD -v 2>&1` in -- *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*) -- _LT_AC_TAGVAR(ld_shlibs, $1)=no -- cat <<_LT_EOF 1>&2 -- --*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not --*** reliably create shared libraries on SCO systems. Therefore, libtool --*** is disabling shared libraries support. We urge you to upgrade GNU --*** binutils to release 2.16.91.0.3 or newer. Another option is to modify --*** your PATH or compiler configuration so that the native linker is --*** used, and then restart. -- --_LT_EOF -- ;; -- *) -- if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' -- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' -- else -- _LT_AC_TAGVAR(ld_shlibs, $1)=no -- fi -- ;; -- esac -- ;; -- -- sunos4*) -- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' -- wlarc= -- _LT_AC_TAGVAR(hardcode_direct, $1)=yes -- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no -- ;; -- -- *) -- if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' -- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' -- else -- _LT_AC_TAGVAR(ld_shlibs, $1)=no -- fi -- ;; -- esac -- -- if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no; then -- runpath_var= -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= -- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= -- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= -- fi -- else -- # PORTME fill in a description of your system's linker (not GNU ld) -- case $host_os in -- aix3*) -- _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported -- _LT_AC_TAGVAR(always_export_symbols, $1)=yes -- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' -- # Note: this linker hardcodes the directories in LIBPATH if there -- # are no directories specified by -L. -- _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes -- if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then -- # Neither direct hardcoding nor static linking is supported with a -- # broken collect2. -- _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported -- fi -- ;; -- -- aix4* | aix5*) -- if test "$host_cpu" = ia64; then -- # On IA64, the linker does run time linking by default, so we don't -- # have to do anything special. -- aix_use_runtimelinking=no -- exp_sym_flag='-Bexport' -- no_entry_flag="" -- else -- # If we're using GNU nm, then we don't want the "-C" option. -- # -C means demangle to AIX nm, but means don't demangle with GNU nm -- if $NM -V 2>&1 | grep 'GNU' > /dev/null; then -- _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' -- else -- _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' -- fi -- aix_use_runtimelinking=no -- -- # Test if we are trying to use run time linking or normal -- # AIX style linking. If -brtl is somewhere in LDFLAGS, we -- # need to do runtime linking. -- case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) -- for ld_flag in $LDFLAGS; do -- if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then -- aix_use_runtimelinking=yes -- break -- fi -- done -- ;; -- esac -- -- exp_sym_flag='-bexport' -- no_entry_flag='-bnoentry' -- fi -- -- # When large executables or shared objects are built, AIX ld can -- # have problems creating the table of contents. If linking a library -- # or program results in "error TOC overflow" add -mminimal-toc to -- # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not -- # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. -- -- _LT_AC_TAGVAR(archive_cmds, $1)='' -- _LT_AC_TAGVAR(hardcode_direct, $1)=yes -- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' -- _LT_AC_TAGVAR(link_all_deplibs, $1)=yes -- -- if test "$GCC" = yes; then -- case $host_os in aix4.[[012]]|aix4.[[012]].*) -- # We only want to do this on AIX 4.2 and lower, the check -- # below for broken collect2 doesn't work under 4.3+ -- collect2name=`${CC} -print-prog-name=collect2` -- if test -f "$collect2name" && \ -- strings "$collect2name" | grep resolve_lib_name >/dev/null -- then -- # We have reworked collect2 -- _LT_AC_TAGVAR(hardcode_direct, $1)=yes -- else -- # We have old collect2 -- _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported -- # It fails to find uninstalled libraries when the uninstalled -- # path is not listed in the libpath. Setting hardcode_minus_L -- # to unsupported forces relinking -- _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' -- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= -- fi -- ;; -- esac -- shared_flag='-shared' -- if test "$aix_use_runtimelinking" = yes; then -- shared_flag="$shared_flag "'${wl}-G' -- fi -- else -- # not using gcc -- if test "$host_cpu" = ia64; then -- # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release -- # chokes on -Wl,-G. The following line is correct: -- shared_flag='-G' -- else -- if test "$aix_use_runtimelinking" = yes; then -- shared_flag='${wl}-G' -- else -- shared_flag='${wl}-bM:SRE' -- fi -- fi -- fi -- -- # It seems that -bexpall does not export symbols beginning with -- # underscore (_), so it is better to generate a list of symbols to export. -- _LT_AC_TAGVAR(always_export_symbols, $1)=yes -- if test "$aix_use_runtimelinking" = yes; then -- # Warning - without using the other runtime loading flags (-brtl), -- # -berok will link without error, but may produce a broken library. -- _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' -- # Determine the default libpath from the value encoded in an empty executable. -- _LT_AC_SYS_LIBPATH_AIX -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" -- _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" -- else -- if test "$host_cpu" = ia64; then -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' -- _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" -- _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" -- else -- # Determine the default libpath from the value encoded in an empty executable. -- _LT_AC_SYS_LIBPATH_AIX -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" -- # Warning - without using the other run time loading flags, -- # -berok will link without error, but may produce a broken library. -- _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' -- _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' -- # Exported symbols can be pulled into shared objects from archives -- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience' -- _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes -- # This is similar to how AIX traditionally builds its shared libraries. -- _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' -- fi -- fi -- ;; -- -- amigaos*) -- _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' -- _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes -- # see comment about different semantics on the GNU ld section -- _LT_AC_TAGVAR(ld_shlibs, $1)=no -- ;; -- -- bsdi[[45]]*) -- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic -- ;; -- -- cygwin* | mingw* | pw32*) -- # When not using gcc, we currently assume that we are using -- # Microsoft Visual C++. -- # hardcode_libdir_flag_spec is actually meaningless, as there is -- # no search path for DLLs. -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' -- _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported -- # Tell ltmain to make .lib files, not .a files. -- libext=lib -- # Tell ltmain to make .dll files, not .so files. -- shrext_cmds=".dll" -- # FIXME: Setting linknames here is a bad hack. -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' -- # The linker will automatically build a .lib file if we build a DLL. -- _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true' -- # FIXME: Should let the user specify the lib program. -- _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs' -- _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`' -- _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes -- ;; -- -- darwin* | rhapsody*) -- case $host_os in -- rhapsody* | darwin1.[[012]]) -- _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress' -- ;; -- *) # Darwin 1.3 on -- if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then -- _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' -- else -- case ${MACOSX_DEPLOYMENT_TARGET} in -- 10.[[012]]) -- _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' -- ;; -- 10.*) -- _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup' -- ;; -- esac -- fi -- ;; -- esac -- _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no -- _LT_AC_TAGVAR(hardcode_direct, $1)=no -- _LT_AC_TAGVAR(hardcode_automatic, $1)=yes -- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported -- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='' -- _LT_AC_TAGVAR(link_all_deplibs, $1)=yes -- if test "$GCC" = yes ; then -- output_verbose_link_cmd='echo' -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' -- _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' -- # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds -- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' -- _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' -- else -- case $cc_basename in -- xlc*) -- output_verbose_link_cmd='echo' -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' -- _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' -- # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds -- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' -- _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' -- ;; -- *) -- _LT_AC_TAGVAR(ld_shlibs, $1)=no -- ;; -- esac -- fi -- ;; -- -- dgux*) -- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' -- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no -- ;; -- -- freebsd1*) -- _LT_AC_TAGVAR(ld_shlibs, $1)=no -- ;; -- -- # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor -- # support. Future versions do this automatically, but an explicit c++rt0.o -- # does not break anything, and helps significantly (at the cost of a little -- # extra space). -- freebsd2.2*) -- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' -- _LT_AC_TAGVAR(hardcode_direct, $1)=yes -- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no -- ;; -- -- # Unfortunately, older versions of FreeBSD 2 do not have this feature. -- freebsd2*) -- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' -- _LT_AC_TAGVAR(hardcode_direct, $1)=yes -- _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes -- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no -- ;; -- -- # FreeBSD 3 and greater uses gcc -shared to do shared libraries. -- freebsd* | dragonfly*) -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' -- _LT_AC_TAGVAR(hardcode_direct, $1)=yes -- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no -- ;; -- -- hpux9*) -- if test "$GCC" = yes; then -- _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' -- else -- _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' -- fi -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' -- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: -- _LT_AC_TAGVAR(hardcode_direct, $1)=yes -- -- # hardcode_minus_L: Not really in the search PATH, -- # but as the default location of the library. -- _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes -- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' -- ;; -- -- hpux10*) -- if test "$GCC" = yes -a "$with_gnu_ld" = no; then -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' -- else -- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' -- fi -- if test "$with_gnu_ld" = no; then -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' -- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: -- -- _LT_AC_TAGVAR(hardcode_direct, $1)=yes -- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' -- -- # hardcode_minus_L: Not really in the search PATH, -- # but as the default location of the library. -- _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes -- fi -- ;; -- -- hpux11*) -- if test "$GCC" = yes -a "$with_gnu_ld" = no; then -- case $host_cpu in -- hppa*64*) -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' -- ;; -- ia64*) -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' -- ;; -- *) -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' -- ;; -- esac -- else -- case $host_cpu in -- hppa*64*) -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' -- ;; -- ia64*) -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' -- ;; -- *) -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' -- ;; -- esac -- fi -- if test "$with_gnu_ld" = no; then -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' -- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: -- -- case $host_cpu in -- hppa*64*|ia64*) -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' -- _LT_AC_TAGVAR(hardcode_direct, $1)=no -- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no -- ;; -- *) -- _LT_AC_TAGVAR(hardcode_direct, $1)=yes -- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' -- -- # hardcode_minus_L: Not really in the search PATH, -- # but as the default location of the library. -- _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes -- ;; -- esac -- fi -- ;; -- -- irix5* | irix6* | nonstopux*) -- if test "$GCC" = yes; then -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' -- else -- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir' -- fi -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' -- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: -- _LT_AC_TAGVAR(link_all_deplibs, $1)=yes -- ;; -- -- netbsd* | netbsdelf*-gnu) -- if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then -- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out -- else -- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF -- fi -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' -- _LT_AC_TAGVAR(hardcode_direct, $1)=yes -- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no -- ;; -- -- newsos6) -- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' -- _LT_AC_TAGVAR(hardcode_direct, $1)=yes -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' -- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: -- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no -- ;; -- -- openbsd*) -- _LT_AC_TAGVAR(hardcode_direct, $1)=yes -- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no -- if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' -- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' -- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' -- else -- case $host_os in -- openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) -- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' -- ;; -- *) -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' -- ;; -- esac -- fi -- ;; -- -- os2*) -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' -- _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes -- _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported -- _LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' -- _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' -- ;; -- -- osf3*) -- if test "$GCC" = yes; then -- _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' -- else -- _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' -- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' -- fi -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' -- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: -- ;; -- -- osf4* | osf5*) # as osf3* with the addition of -msym flag -- if test "$GCC" = yes; then -- _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' -- else -- _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' -- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' -- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ -- $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' -- -- # Both c and cxx compiler support -rpath directly -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' -- fi -- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: -- ;; -- -- solaris*) -- _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text' -- if test "$GCC" = yes; then -- wlarc='${wl}' -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' -- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ -- $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' -- else -- wlarc='' -- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' -- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ -- $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' -- fi -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' -- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no -- case $host_os in -- solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; -- *) -- # The compiler driver will combine linker options so we -- # cannot just pass the convience library names through -- # without $wl, iff we do not link with $LD. -- # Luckily, gcc supports the same syntax we need for Sun Studio. -- # Supported since Solaris 2.6 (maybe 2.5.1?) -- case $wlarc in -- '') -- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;; -- *) -- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;; -- esac ;; -- esac -- _LT_AC_TAGVAR(link_all_deplibs, $1)=yes -- ;; -- -- sunos4*) -- if test "x$host_vendor" = xsequent; then -- # Use $CC to link under sequent, because it throws in some extra .o -- # files that make .init and .fini sections work. -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' -- else -- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' -- fi -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' -- _LT_AC_TAGVAR(hardcode_direct, $1)=yes -- _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes -- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no -- ;; -- -- sysv4) -- case $host_vendor in -- sni) -- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' -- _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true??? -- ;; -- siemens) -- ## LD is ld it makes a PLAMLIB -- ## CC just makes a GrossModule. -- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' -- _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs' -- _LT_AC_TAGVAR(hardcode_direct, $1)=no -- ;; -- motorola) -- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' -- _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie -- ;; -- esac -- runpath_var='LD_RUN_PATH' -- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no -- ;; -- -- sysv4.3*) -- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' -- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no -- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport' -- ;; -- -- sysv4*MP*) -- if test -d /usr/nec; then -- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' -- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no -- runpath_var=LD_RUN_PATH -- hardcode_runpath_var=yes -- _LT_AC_TAGVAR(ld_shlibs, $1)=yes -- fi -- ;; -- -- sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7*) -- _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' -- _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no -- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no -- runpath_var='LD_RUN_PATH' -- -- if test "$GCC" = yes; then -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' -- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' -- else -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' -- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' -- fi -- ;; -- -- sysv5* | sco3.2v5* | sco5v6*) -- # Note: We can NOT use -z defs as we might desire, because we do not -- # link with -lc, and that would cause any symbols used from libc to -- # always be unresolved, which means just about no library would -- # ever link correctly. If we're not using GNU ld we use -z text -- # though, which does catch some bad symbols but isn't as heavy-handed -- # as -z defs. -- _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' -- _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' -- _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no -- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' -- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' -- _LT_AC_TAGVAR(link_all_deplibs, $1)=yes -- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' -- runpath_var='LD_RUN_PATH' -- -- if test "$GCC" = yes; then -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' -- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' -- else -- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' -- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' -- fi -- ;; -- -- uts4*) -- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' -- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' -- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no -- ;; -- -- *) -- _LT_AC_TAGVAR(ld_shlibs, $1)=no -- ;; -- esac -- fi --]) --AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) --test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no -- --# --# Do we need to explicitly link libc? --# --case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in --x|xyes) -- # Assume -lc should be added -- _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes -- -- if test "$enable_shared" = yes && test "$GCC" = yes; then -- case $_LT_AC_TAGVAR(archive_cmds, $1) in -- *'~'*) -- # FIXME: we may have to deal with multi-command sequences. -- ;; -- '$CC '*) -- # Test whether the compiler implicitly links with -lc since on some -- # systems, -lgcc has to come before -lc. If gcc already passes -lc -- # to ld, don't add -lc before -lgcc. -- AC_MSG_CHECKING([whether -lc should be explicitly linked in]) -- $rm conftest* -- printf "$lt_simple_compile_test_code" > conftest.$ac_ext -- -- if AC_TRY_EVAL(ac_compile) 2>conftest.err; then -- soname=conftest -- lib=conftest -- libobjs=conftest.$ac_objext -- deplibs= -- wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) -- pic_flag=$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) -- compiler_flags=-v -- linker_flags=-v -- verstring= -- output_objdir=. -- libname=conftest -- lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1) -- _LT_AC_TAGVAR(allow_undefined_flag, $1)= -- if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) -- then -- _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no -- else -- _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes -- fi -- _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag -- else -- cat conftest.err 1>&5 -- fi -- $rm conftest* -- AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)]) -- ;; -- esac -- fi -- ;; --esac --])# AC_LIBTOOL_PROG_LD_SHLIBS -- -- --# _LT_AC_FILE_LTDLL_C --# ------------------- --# Be careful that the start marker always follows a newline. --AC_DEFUN([_LT_AC_FILE_LTDLL_C], [ --# /* ltdll.c starts here */ --# #define WIN32_LEAN_AND_MEAN --# #include --# #undef WIN32_LEAN_AND_MEAN --# #include --# --# #ifndef __CYGWIN__ --# # ifdef __CYGWIN32__ --# # define __CYGWIN__ __CYGWIN32__ --# # endif --# #endif --# --# #ifdef __cplusplus --# extern "C" { --# #endif --# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved); --# #ifdef __cplusplus --# } --# #endif --# --# #ifdef __CYGWIN__ --# #include --# DECLARE_CYGWIN_DLL( DllMain ); --# #endif --# HINSTANCE __hDllInstance_base; --# --# BOOL APIENTRY --# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) --# { --# __hDllInstance_base = hInst; --# return TRUE; --# } --# /* ltdll.c ends here */ --])# _LT_AC_FILE_LTDLL_C -- -- --# _LT_AC_TAGVAR(VARNAME, [TAGNAME]) --# --------------------------------- --AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])]) -- -- --# old names --AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL]) --AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) --AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) --AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) --AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) --AC_DEFUN([AM_PROG_LD], [AC_PROG_LD]) --AC_DEFUN([AM_PROG_NM], [AC_PROG_NM]) -- --# This is just to silence aclocal about the macro not being used --ifelse([AC_DISABLE_FAST_INSTALL]) -- --AC_DEFUN([LT_AC_PROG_GCJ], --[AC_CHECK_TOOL(GCJ, gcj, no) -- test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2" -- AC_SUBST(GCJFLAGS) --]) -- --AC_DEFUN([LT_AC_PROG_RC], --[AC_CHECK_TOOL(RC, windres, no) --]) -- --############################################################ --# NOTE: This macro has been submitted for inclusion into # --# GNU Autoconf as AC_PROG_SED. When it is available in # --# a released version of Autoconf we should remove this # --# macro and use it instead. # --############################################################ --# LT_AC_PROG_SED --# -------------- --# Check for a fully-functional sed program, that truncates --# as few characters as possible. Prefer GNU sed if found. --AC_DEFUN([LT_AC_PROG_SED], --[AC_MSG_CHECKING([for a sed that does not truncate output]) --AC_CACHE_VAL(lt_cv_path_SED, --[# Loop through the user's path and test for sed and gsed. --# Then use that list of sed's as ones to test for truncation. --as_save_IFS=$IFS; IFS=$PATH_SEPARATOR --for as_dir in $PATH --do -- IFS=$as_save_IFS -- test -z "$as_dir" && as_dir=. -- for lt_ac_prog in sed gsed; do -- for ac_exec_ext in '' $ac_executable_extensions; do -- if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then -- lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" -- fi -- done -- done --done --lt_ac_max=0 --lt_ac_count=0 --# Add /usr/xpg4/bin/sed as it is typically found on Solaris --# along with /bin/sed that truncates output. --for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do -- test ! -f $lt_ac_sed && continue -- cat /dev/null > conftest.in -- lt_ac_count=0 -- echo $ECHO_N "0123456789$ECHO_C" >conftest.in -- # Check for GNU sed and select it if it is found. -- if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then -- lt_cv_path_SED=$lt_ac_sed -- break -- fi -- while true; do -- cat conftest.in conftest.in >conftest.tmp -- mv conftest.tmp conftest.in -- cp conftest.in conftest.nl -- echo >>conftest.nl -- $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break -- cmp -s conftest.out conftest.nl || break -- # 10000 chars as input seems more than enough -- test $lt_ac_count -gt 10 && break -- lt_ac_count=`expr $lt_ac_count + 1` -- if test $lt_ac_count -gt $lt_ac_max; then -- lt_ac_max=$lt_ac_count -- lt_cv_path_SED=$lt_ac_sed -- fi -- done --done --]) --SED=$lt_cv_path_SED --AC_MSG_RESULT([$SED]) --]) -- --dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not) --dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page --dnl also defines GSTUFF_PKG_ERRORS on error --AC_DEFUN([PKG_CHECK_MODULES], [ -- succeeded=no -- -- if test -z "$PKG_CONFIG"; then -- AC_PATH_PROG(PKG_CONFIG, pkg-config, no) -- fi -- -- if test "$PKG_CONFIG" = "no" ; then -- echo "*** The pkg-config script could not be found. Make sure it is" -- echo "*** in your path, or set the PKG_CONFIG environment variable" -- echo "*** to the full path to pkg-config." -- echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." -- else -- PKG_CONFIG_MIN_VERSION=0.9.0 -- if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then -- AC_MSG_CHECKING(for $2) -- -- if $PKG_CONFIG --exists "$2" ; then -- AC_MSG_RESULT(yes) -- succeeded=yes -- -- AC_MSG_CHECKING($1_CFLAGS) -- $1_CFLAGS=`$PKG_CONFIG --cflags "$2"` -- AC_MSG_RESULT($$1_CFLAGS) -- -- AC_MSG_CHECKING($1_LIBS) -- $1_LIBS=`$PKG_CONFIG --libs "$2"` -- AC_MSG_RESULT($$1_LIBS) -- else -- $1_CFLAGS="" -- $1_LIBS="" -- ## If we have a custom action on failure, don't print errors, but -- ## do set a variable so people can do so. -- $1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` -- ifelse([$4], ,echo $$1_PKG_ERRORS,) -- fi -- -- AC_SUBST($1_CFLAGS) -- AC_SUBST($1_LIBS) -- else -- echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." -- echo "*** See http://www.freedesktop.org/software/pkgconfig" -- fi -- fi -- -- if test $succeeded = yes; then -- ifelse([$3], , :, [$3]) -- else -- ifelse([$4], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$4]) -- fi --]) -- -- -diff --git a/aclocal.m4 b/aclocal.m4 -deleted file mode 100644 -index 0e90944..0000000 ---- a/aclocal.m4 -+++ b/dev/null -@@ -1,892 +0,0 @@ --# generated automatically by aclocal 1.9.6 -*- Autoconf -*- -- --# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, --# 2005 Free Software Foundation, Inc. --# This file is free software; the Free Software Foundation --# gives unlimited permission to copy and/or distribute it, --# with or without modifications, as long as this notice is preserved. -- --# This program is distributed in the hope that it will be useful, --# but WITHOUT ANY WARRANTY, to the extent permitted by law; without --# even the implied warranty of MERCHANTABILITY or FITNESS FOR A --# PARTICULAR PURPOSE. -- --# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. --# --# This file is free software; the Free Software Foundation --# gives unlimited permission to copy and/or distribute it, --# with or without modifications, as long as this notice is preserved. -- --# AM_AUTOMAKE_VERSION(VERSION) --# ---------------------------- --# Automake X.Y traces this macro to ensure aclocal.m4 has been --# generated from the m4 files accompanying Automake X.Y. --AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"]) -- --# AM_SET_CURRENT_AUTOMAKE_VERSION --# ------------------------------- --# Call AM_AUTOMAKE_VERSION so it can be traced. --# This function is AC_REQUIREd by AC_INIT_AUTOMAKE. --AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], -- [AM_AUTOMAKE_VERSION([1.9.6])]) -- --# AM_AUX_DIR_EXPAND -*- Autoconf -*- -- --# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. --# --# This file is free software; the Free Software Foundation --# gives unlimited permission to copy and/or distribute it, --# with or without modifications, as long as this notice is preserved. -- --# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets --# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to --# `$srcdir', `$srcdir/..', or `$srcdir/../..'. --# --# Of course, Automake must honor this variable whenever it calls a --# tool from the auxiliary directory. The problem is that $srcdir (and --# therefore $ac_aux_dir as well) can be either absolute or relative, --# depending on how configure is run. This is pretty annoying, since --# it makes $ac_aux_dir quite unusable in subdirectories: in the top --# source directory, any form will work fine, but in subdirectories a --# relative path needs to be adjusted first. --# --# $ac_aux_dir/missing --# fails when called from a subdirectory if $ac_aux_dir is relative --# $top_srcdir/$ac_aux_dir/missing --# fails if $ac_aux_dir is absolute, --# fails when called from a subdirectory in a VPATH build with --# a relative $ac_aux_dir --# --# The reason of the latter failure is that $top_srcdir and $ac_aux_dir --# are both prefixed by $srcdir. In an in-source build this is usually --# harmless because $srcdir is `.', but things will broke when you --# start a VPATH build or use an absolute $srcdir. --# --# So we could use something similar to $top_srcdir/$ac_aux_dir/missing, --# iff we strip the leading $srcdir from $ac_aux_dir. That would be: --# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` --# and then we would define $MISSING as --# MISSING="\${SHELL} $am_aux_dir/missing" --# This will work as long as MISSING is not called from configure, because --# unfortunately $(top_srcdir) has no meaning in configure. --# However there are other variables, like CC, which are often used in --# configure, and could therefore not use this "fixed" $ac_aux_dir. --# --# Another solution, used here, is to always expand $ac_aux_dir to an --# absolute PATH. The drawback is that using absolute paths prevent a --# configured tree to be moved without reconfiguration. -- --AC_DEFUN([AM_AUX_DIR_EXPAND], --[dnl Rely on autoconf to set up CDPATH properly. --AC_PREREQ([2.50])dnl --# expand $ac_aux_dir to an absolute path --am_aux_dir=`cd $ac_aux_dir && pwd` --]) -- --# AM_CONDITIONAL -*- Autoconf -*- -- --# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005 --# Free Software Foundation, Inc. --# --# This file is free software; the Free Software Foundation --# gives unlimited permission to copy and/or distribute it, --# with or without modifications, as long as this notice is preserved. -- --# serial 7 -- --# AM_CONDITIONAL(NAME, SHELL-CONDITION) --# ------------------------------------- --# Define a conditional. --AC_DEFUN([AM_CONDITIONAL], --[AC_PREREQ(2.52)dnl -- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], -- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl --AC_SUBST([$1_TRUE]) --AC_SUBST([$1_FALSE]) --if $2; then -- $1_TRUE= -- $1_FALSE='#' --else -- $1_TRUE='#' -- $1_FALSE= --fi --AC_CONFIG_COMMANDS_PRE( --[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then -- AC_MSG_ERROR([[conditional "$1" was never defined. --Usually this means the macro was only invoked conditionally.]]) --fi])]) -- -- --# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 --# Free Software Foundation, Inc. --# --# This file is free software; the Free Software Foundation --# gives unlimited permission to copy and/or distribute it, --# with or without modifications, as long as this notice is preserved. -- --# serial 8 -- --# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be --# written in clear, in which case automake, when reading aclocal.m4, --# will think it sees a *use*, and therefore will trigger all it's --# C support machinery. Also note that it means that autoscan, seeing --# CC etc. in the Makefile, will ask for an AC_PROG_CC use... -- -- --# _AM_DEPENDENCIES(NAME) --# ---------------------- --# See how the compiler implements dependency checking. --# NAME is "CC", "CXX", "GCJ", or "OBJC". --# We try a few techniques and use that to set a single cache variable. --# --# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was --# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular --# dependency, and given that the user is not expected to run this macro, --# just rely on AC_PROG_CC. --AC_DEFUN([_AM_DEPENDENCIES], --[AC_REQUIRE([AM_SET_DEPDIR])dnl --AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl --AC_REQUIRE([AM_MAKE_INCLUDE])dnl --AC_REQUIRE([AM_DEP_TRACK])dnl -- --ifelse([$1], CC, [depcc="$CC" am_compiler_list=], -- [$1], CXX, [depcc="$CXX" am_compiler_list=], -- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], -- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], -- [depcc="$$1" am_compiler_list=]) -- --AC_CACHE_CHECK([dependency style of $depcc], -- [am_cv_$1_dependencies_compiler_type], --[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then -- # We make a subdir and do the tests there. Otherwise we can end up -- # making bogus files that we don't know about and never remove. For -- # instance it was reported that on HP-UX the gcc test will end up -- # making a dummy file named `D' -- because `-MD' means `put the output -- # in D'. -- mkdir conftest.dir -- # Copy depcomp to subdir because otherwise we won't find it if we're -- # using a relative directory. -- cp "$am_depcomp" conftest.dir -- cd conftest.dir -- # We will build objects and dependencies in a subdirectory because -- # it helps to detect inapplicable dependency modes. For instance -- # both Tru64's cc and ICC support -MD to output dependencies as a -- # side effect of compilation, but ICC will put the dependencies in -- # the current directory while Tru64 will put them in the object -- # directory. -- mkdir sub -- -- am_cv_$1_dependencies_compiler_type=none -- if test "$am_compiler_list" = ""; then -- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` -- fi -- for depmode in $am_compiler_list; do -- # Setup a source with many dependencies, because some compilers -- # like to wrap large dependency lists on column 80 (with \), and -- # we should not choose a depcomp mode which is confused by this. -- # -- # We need to recreate these files for each test, as the compiler may -- # overwrite some of them when testing with obscure command lines. -- # This happens at least with the AIX C compiler. -- : > sub/conftest.c -- for i in 1 2 3 4 5 6; do -- echo '#include "conftst'$i'.h"' >> sub/conftest.c -- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with -- # Solaris 8's {/usr,}/bin/sh. -- touch sub/conftst$i.h -- done -- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf -- -- case $depmode in -- nosideeffect) -- # after this tag, mechanisms are not by side-effect, so they'll -- # only be used when explicitly requested -- if test "x$enable_dependency_tracking" = xyes; then -- continue -- else -- break -- fi -- ;; -- none) break ;; -- esac -- # We check with `-c' and `-o' for the sake of the "dashmstdout" -- # mode. It turns out that the SunPro C++ compiler does not properly -- # handle `-M -o', and we need to detect this. -- if depmode=$depmode \ -- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ -- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ -- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ -- >/dev/null 2>conftest.err && -- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && -- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && -- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then -- # icc doesn't choke on unknown options, it will just issue warnings -- # or remarks (even with -Werror). So we grep stderr for any message -- # that says an option was ignored or not supported. -- # When given -MP, icc 7.0 and 7.1 complain thusly: -- # icc: Command line warning: ignoring option '-M'; no argument required -- # The diagnosis changed in icc 8.0: -- # icc: Command line remark: option '-MP' not supported -- if (grep 'ignoring option' conftest.err || -- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else -- am_cv_$1_dependencies_compiler_type=$depmode -- break -- fi -- fi -- done -- -- cd .. -- rm -rf conftest.dir --else -- am_cv_$1_dependencies_compiler_type=none --fi --]) --AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) --AM_CONDITIONAL([am__fastdep$1], [ -- test "x$enable_dependency_tracking" != xno \ -- && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) --]) -- -- --# AM_SET_DEPDIR --# ------------- --# Choose a directory name for dependency files. --# This macro is AC_REQUIREd in _AM_DEPENDENCIES --AC_DEFUN([AM_SET_DEPDIR], --[AC_REQUIRE([AM_SET_LEADING_DOT])dnl --AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl --]) -- -- --# AM_DEP_TRACK --# ------------ --AC_DEFUN([AM_DEP_TRACK], --[AC_ARG_ENABLE(dependency-tracking, --[ --disable-dependency-tracking speeds up one-time build -- --enable-dependency-tracking do not reject slow dependency extractors]) --if test "x$enable_dependency_tracking" != xno; then -- am_depcomp="$ac_aux_dir/depcomp" -- AMDEPBACKSLASH='\' --fi --AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) --AC_SUBST([AMDEPBACKSLASH]) --]) -- --# Generate code to set up dependency tracking. -*- Autoconf -*- -- --# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 --# Free Software Foundation, Inc. --# --# This file is free software; the Free Software Foundation --# gives unlimited permission to copy and/or distribute it, --# with or without modifications, as long as this notice is preserved. -- --#serial 3 -- --# _AM_OUTPUT_DEPENDENCY_COMMANDS --# ------------------------------ --AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], --[for mf in $CONFIG_FILES; do -- # Strip MF so we end up with the name of the file. -- mf=`echo "$mf" | sed -e 's/:.*$//'` -- # Check whether this is an Automake generated Makefile or not. -- # We used to match only the files named `Makefile.in', but -- # some people rename them; so instead we look at the file content. -- # Grep'ing the first line is not enough: some people post-process -- # each Makefile.in and add a new line on top of each file to say so. -- # So let's grep whole file. -- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then -- dirpart=`AS_DIRNAME("$mf")` -- else -- continue -- fi -- # Extract the definition of DEPDIR, am__include, and am__quote -- # from the Makefile without running `make'. -- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` -- test -z "$DEPDIR" && continue -- am__include=`sed -n 's/^am__include = //p' < "$mf"` -- test -z "am__include" && continue -- am__quote=`sed -n 's/^am__quote = //p' < "$mf"` -- # When using ansi2knr, U may be empty or an underscore; expand it -- U=`sed -n 's/^U = //p' < "$mf"` -- # Find all dependency output files, they are included files with -- # $(DEPDIR) in their names. We invoke sed twice because it is the -- # simplest approach to changing $(DEPDIR) to its actual value in the -- # expansion. -- for file in `sed -n " -- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ -- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do -- # Make sure the directory exists. -- test -f "$dirpart/$file" && continue -- fdir=`AS_DIRNAME(["$file"])` -- AS_MKDIR_P([$dirpart/$fdir]) -- # echo "creating $dirpart/$file" -- echo '# dummy' > "$dirpart/$file" -- done --done --])# _AM_OUTPUT_DEPENDENCY_COMMANDS -- -- --# AM_OUTPUT_DEPENDENCY_COMMANDS --# ----------------------------- --# This macro should only be invoked once -- use via AC_REQUIRE. --# --# This code is only required when automatic dependency tracking --# is enabled. FIXME. This creates each `.P' file that we will --# need in order to bootstrap the dependency handling code. --AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], --[AC_CONFIG_COMMANDS([depfiles], -- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], -- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) --]) -- --# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 --# Free Software Foundation, Inc. --# --# This file is free software; the Free Software Foundation --# gives unlimited permission to copy and/or distribute it, --# with or without modifications, as long as this notice is preserved. -- --# serial 8 -- --# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. --AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) -- --# Do all the work for Automake. -*- Autoconf -*- -- --# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 --# Free Software Foundation, Inc. --# --# This file is free software; the Free Software Foundation --# gives unlimited permission to copy and/or distribute it, --# with or without modifications, as long as this notice is preserved. -- --# serial 12 -- --# This macro actually does too much. Some checks are only needed if --# your package does certain things. But this isn't really a big deal. -- --# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) --# AM_INIT_AUTOMAKE([OPTIONS]) --# ----------------------------------------------- --# The call with PACKAGE and VERSION arguments is the old style --# call (pre autoconf-2.50), which is being phased out. PACKAGE --# and VERSION should now be passed to AC_INIT and removed from --# the call to AM_INIT_AUTOMAKE. --# We support both call styles for the transition. After --# the next Automake release, Autoconf can make the AC_INIT --# arguments mandatory, and then we can depend on a new Autoconf --# release and drop the old call support. --AC_DEFUN([AM_INIT_AUTOMAKE], --[AC_PREREQ([2.58])dnl --dnl Autoconf wants to disallow AM_ names. We explicitly allow --dnl the ones we care about. --m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl --AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl --AC_REQUIRE([AC_PROG_INSTALL])dnl --# test to see if srcdir already configured --if test "`cd $srcdir && pwd`" != "`pwd`" && -- test -f $srcdir/config.status; then -- AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) --fi -- --# test whether we have cygpath --if test -z "$CYGPATH_W"; then -- if (cygpath --version) >/dev/null 2>/dev/null; then -- CYGPATH_W='cygpath -w' -- else -- CYGPATH_W=echo -- fi --fi --AC_SUBST([CYGPATH_W]) -- --# Define the identity of the package. --dnl Distinguish between old-style and new-style calls. --m4_ifval([$2], --[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl -- AC_SUBST([PACKAGE], [$1])dnl -- AC_SUBST([VERSION], [$2])], --[_AM_SET_OPTIONS([$1])dnl -- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl -- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl -- --_AM_IF_OPTION([no-define],, --[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) -- AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl -- --# Some tools Automake needs. --AC_REQUIRE([AM_SANITY_CHECK])dnl --AC_REQUIRE([AC_ARG_PROGRAM])dnl --AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) --AM_MISSING_PROG(AUTOCONF, autoconf) --AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) --AM_MISSING_PROG(AUTOHEADER, autoheader) --AM_MISSING_PROG(MAKEINFO, makeinfo) --AM_PROG_INSTALL_SH --AM_PROG_INSTALL_STRIP --AC_REQUIRE([AM_PROG_MKDIR_P])dnl --# We need awk for the "check" target. The system "awk" is bad on --# some platforms. --AC_REQUIRE([AC_PROG_AWK])dnl --AC_REQUIRE([AC_PROG_MAKE_SET])dnl --AC_REQUIRE([AM_SET_LEADING_DOT])dnl --_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], -- [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], -- [_AM_PROG_TAR([v7])])]) --_AM_IF_OPTION([no-dependencies],, --[AC_PROVIDE_IFELSE([AC_PROG_CC], -- [_AM_DEPENDENCIES(CC)], -- [define([AC_PROG_CC], -- defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl --AC_PROVIDE_IFELSE([AC_PROG_CXX], -- [_AM_DEPENDENCIES(CXX)], -- [define([AC_PROG_CXX], -- defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl --]) --]) -- -- --# When config.status generates a header, we must update the stamp-h file. --# This file resides in the same directory as the config header --# that is generated. The stamp files are numbered to have different names. -- --# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the --# loop where config.status creates the headers, so we can generate --# our stamp files there. --AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], --[# Compute $1's index in $config_headers. --_am_stamp_count=1 --for _am_header in $config_headers :; do -- case $_am_header in -- $1 | $1:* ) -- break ;; -- * ) -- _am_stamp_count=`expr $_am_stamp_count + 1` ;; -- esac --done --echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) -- --# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. --# --# This file is free software; the Free Software Foundation --# gives unlimited permission to copy and/or distribute it, --# with or without modifications, as long as this notice is preserved. -- --# AM_PROG_INSTALL_SH --# ------------------ --# Define $install_sh. --AC_DEFUN([AM_PROG_INSTALL_SH], --[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl --install_sh=${install_sh-"$am_aux_dir/install-sh"} --AC_SUBST(install_sh)]) -- --# Copyright (C) 2003, 2005 Free Software Foundation, Inc. --# --# This file is free software; the Free Software Foundation --# gives unlimited permission to copy and/or distribute it, --# with or without modifications, as long as this notice is preserved. -- --# serial 2 -- --# Check whether the underlying file-system supports filenames --# with a leading dot. For instance MS-DOS doesn't. --AC_DEFUN([AM_SET_LEADING_DOT], --[rm -rf .tst 2>/dev/null --mkdir .tst 2>/dev/null --if test -d .tst; then -- am__leading_dot=. --else -- am__leading_dot=_ --fi --rmdir .tst 2>/dev/null --AC_SUBST([am__leading_dot])]) -- --# Add --enable-maintainer-mode option to configure. -*- Autoconf -*- --# From Jim Meyering -- --# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005 --# Free Software Foundation, Inc. --# --# This file is free software; the Free Software Foundation --# gives unlimited permission to copy and/or distribute it, --# with or without modifications, as long as this notice is preserved. -- --# serial 4 -- --AC_DEFUN([AM_MAINTAINER_MODE], --[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) -- dnl maintainer-mode is disabled by default -- AC_ARG_ENABLE(maintainer-mode, --[ --enable-maintainer-mode enable make rules and dependencies not useful -- (and sometimes confusing) to the casual installer], -- USE_MAINTAINER_MODE=$enableval, -- USE_MAINTAINER_MODE=no) -- AC_MSG_RESULT([$USE_MAINTAINER_MODE]) -- AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes]) -- MAINT=$MAINTAINER_MODE_TRUE -- AC_SUBST(MAINT)dnl --] --) -- --AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) -- --# Check to see how 'make' treats includes. -*- Autoconf -*- -- --# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. --# --# This file is free software; the Free Software Foundation --# gives unlimited permission to copy and/or distribute it, --# with or without modifications, as long as this notice is preserved. -- --# serial 3 -- --# AM_MAKE_INCLUDE() --# ----------------- --# Check to see how make treats includes. --AC_DEFUN([AM_MAKE_INCLUDE], --[am_make=${MAKE-make} --cat > confinc << 'END' --am__doit: -- @echo done --.PHONY: am__doit --END --# If we don't find an include directive, just comment out the code. --AC_MSG_CHECKING([for style of include used by $am_make]) --am__include="#" --am__quote= --_am_result=none --# First try GNU make style include. --echo "include confinc" > confmf --# We grep out `Entering directory' and `Leaving directory' --# messages which can occur if `w' ends up in MAKEFLAGS. --# In particular we don't look at `^make:' because GNU make might --# be invoked under some other name (usually "gmake"), in which --# case it prints its new name instead of `make'. --if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then -- am__include=include -- am__quote= -- _am_result=GNU --fi --# Now try BSD make style include. --if test "$am__include" = "#"; then -- echo '.include "confinc"' > confmf -- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then -- am__include=.include -- am__quote="\"" -- _am_result=BSD -- fi --fi --AC_SUBST([am__include]) --AC_SUBST([am__quote]) --AC_MSG_RESULT([$_am_result]) --rm -f confinc confmf --]) -- --# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- -- --# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005 --# Free Software Foundation, Inc. --# --# This file is free software; the Free Software Foundation --# gives unlimited permission to copy and/or distribute it, --# with or without modifications, as long as this notice is preserved. -- --# serial 4 -- --# AM_MISSING_PROG(NAME, PROGRAM) --# ------------------------------ --AC_DEFUN([AM_MISSING_PROG], --[AC_REQUIRE([AM_MISSING_HAS_RUN]) --$1=${$1-"${am_missing_run}$2"} --AC_SUBST($1)]) -- -- --# AM_MISSING_HAS_RUN --# ------------------ --# Define MISSING if not defined so far and test if it supports --run. --# If it does, set am_missing_run to use it, otherwise, to nothing. --AC_DEFUN([AM_MISSING_HAS_RUN], --[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl --test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" --# Use eval to expand $SHELL --if eval "$MISSING --run true"; then -- am_missing_run="$MISSING --run " --else -- am_missing_run= -- AC_MSG_WARN([`missing' script is too old or missing]) --fi --]) -- --# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. --# --# This file is free software; the Free Software Foundation --# gives unlimited permission to copy and/or distribute it, --# with or without modifications, as long as this notice is preserved. -- --# AM_PROG_MKDIR_P --# --------------- --# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise. --# --# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories --# created by `make install' are always world readable, even if the --# installer happens to have an overly restrictive umask (e.g. 077). --# This was a mistake. There are at least two reasons why we must not --# use `-m 0755': --# - it causes special bits like SGID to be ignored, --# - it may be too restrictive (some setups expect 775 directories). --# --# Do not use -m 0755 and let people choose whatever they expect by --# setting umask. --# --# We cannot accept any implementation of `mkdir' that recognizes `-p'. --# Some implementations (such as Solaris 8's) are not thread-safe: if a --# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c' --# concurrently, both version can detect that a/ is missing, but only --# one can create it and the other will error out. Consequently we --# restrict ourselves to GNU make (using the --version option ensures --# this.) --AC_DEFUN([AM_PROG_MKDIR_P], --[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then -- # We used to keeping the `.' as first argument, in order to -- # allow $(mkdir_p) to be used without argument. As in -- # $(mkdir_p) $(somedir) -- # where $(somedir) is conditionally defined. However this is wrong -- # for two reasons: -- # 1. if the package is installed by a user who cannot write `.' -- # make install will fail, -- # 2. the above comment should most certainly read -- # $(mkdir_p) $(DESTDIR)$(somedir) -- # so it does not work when $(somedir) is undefined and -- # $(DESTDIR) is not. -- # To support the latter case, we have to write -- # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), -- # so the `.' trick is pointless. -- mkdir_p='mkdir -p --' --else -- # On NextStep and OpenStep, the `mkdir' command does not -- # recognize any option. It will interpret all options as -- # directories to create, and then abort because `.' already -- # exists. -- for d in ./-p ./--version; -- do -- test -d $d && rmdir $d -- done -- # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. -- if test -f "$ac_aux_dir/mkinstalldirs"; then -- mkdir_p='$(mkinstalldirs)' -- else -- mkdir_p='$(install_sh) -d' -- fi --fi --AC_SUBST([mkdir_p])]) -- --# Helper functions for option handling. -*- Autoconf -*- -- --# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. --# --# This file is free software; the Free Software Foundation --# gives unlimited permission to copy and/or distribute it, --# with or without modifications, as long as this notice is preserved. -- --# serial 3 -- --# _AM_MANGLE_OPTION(NAME) --# ----------------------- --AC_DEFUN([_AM_MANGLE_OPTION], --[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) -- --# _AM_SET_OPTION(NAME) --# ------------------------------ --# Set option NAME. Presently that only means defining a flag for this option. --AC_DEFUN([_AM_SET_OPTION], --[m4_define(_AM_MANGLE_OPTION([$1]), 1)]) -- --# _AM_SET_OPTIONS(OPTIONS) --# ---------------------------------- --# OPTIONS is a space-separated list of Automake options. --AC_DEFUN([_AM_SET_OPTIONS], --[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) -- --# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) --# ------------------------------------------- --# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. --AC_DEFUN([_AM_IF_OPTION], --[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) -- --# Check to make sure that the build environment is sane. -*- Autoconf -*- -- --# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 --# Free Software Foundation, Inc. --# --# This file is free software; the Free Software Foundation --# gives unlimited permission to copy and/or distribute it, --# with or without modifications, as long as this notice is preserved. -- --# serial 4 -- --# AM_SANITY_CHECK --# --------------- --AC_DEFUN([AM_SANITY_CHECK], --[AC_MSG_CHECKING([whether build environment is sane]) --# Just in case --sleep 1 --echo timestamp > conftest.file --# Do `set' in a subshell so we don't clobber the current shell's --# arguments. Must try -L first in case configure is actually a --# symlink; some systems play weird games with the mod time of symlinks --# (eg FreeBSD returns the mod time of the symlink's containing --# directory). --if ( -- set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` -- if test "$[*]" = "X"; then -- # -L didn't work. -- set X `ls -t $srcdir/configure conftest.file` -- fi -- rm -f conftest.file -- if test "$[*]" != "X $srcdir/configure conftest.file" \ -- && test "$[*]" != "X conftest.file $srcdir/configure"; then -- -- # If neither matched, then we have a broken ls. This can happen -- # if, for instance, CONFIG_SHELL is bash and it inherits a -- # broken ls alias from the environment. This has actually -- # happened. Such a system could not be considered "sane". -- AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken --alias in your environment]) -- fi -- -- test "$[2]" = conftest.file -- ) --then -- # Ok. -- : --else -- AC_MSG_ERROR([newly created file is older than distributed files! --Check your system clock]) --fi --AC_MSG_RESULT(yes)]) -- --# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. --# --# This file is free software; the Free Software Foundation --# gives unlimited permission to copy and/or distribute it, --# with or without modifications, as long as this notice is preserved. -- --# AM_PROG_INSTALL_STRIP --# --------------------- --# One issue with vendor `install' (even GNU) is that you can't --# specify the program used to strip binaries. This is especially --# annoying in cross-compiling environments, where the build's strip --# is unlikely to handle the host's binaries. --# Fortunately install-sh will honor a STRIPPROG variable, so we --# always use install-sh in `make install-strip', and initialize --# STRIPPROG with the value of the STRIP variable (set by the user). --AC_DEFUN([AM_PROG_INSTALL_STRIP], --[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl --# Installed binaries are usually stripped using `strip' when the user --# run `make install-strip'. However `strip' might not be the right --# tool to use in cross-compilation environments, therefore Automake --# will honor the `STRIP' environment variable to overrule this program. --dnl Don't test for $cross_compiling = yes, because it might be `maybe'. --if test "$cross_compiling" != no; then -- AC_CHECK_TOOL([STRIP], [strip], :) --fi --INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" --AC_SUBST([INSTALL_STRIP_PROGRAM])]) -- --# Check how to create a tarball. -*- Autoconf -*- -- --# Copyright (C) 2004, 2005 Free Software Foundation, Inc. --# --# This file is free software; the Free Software Foundation --# gives unlimited permission to copy and/or distribute it, --# with or without modifications, as long as this notice is preserved. -- --# serial 2 -- --# _AM_PROG_TAR(FORMAT) --# -------------------- --# Check how to create a tarball in format FORMAT. --# FORMAT should be one of `v7', `ustar', or `pax'. --# --# Substitute a variable $(am__tar) that is a command --# writing to stdout a FORMAT-tarball containing the directory --# $tardir. --# tardir=directory && $(am__tar) > result.tar --# --# Substitute a variable $(am__untar) that extract such --# a tarball read from stdin. --# $(am__untar) < result.tar --AC_DEFUN([_AM_PROG_TAR], --[# Always define AMTAR for backward compatibility. --AM_MISSING_PROG([AMTAR], [tar]) --m4_if([$1], [v7], -- [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], -- [m4_case([$1], [ustar],, [pax],, -- [m4_fatal([Unknown tar format])]) --AC_MSG_CHECKING([how to create a $1 tar archive]) --# Loop over all known methods to create a tar archive until one works. --_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' --_am_tools=${am_cv_prog_tar_$1-$_am_tools} --# Do not fold the above two line into one, because Tru64 sh and --# Solaris sh will not grok spaces in the rhs of `-'. --for _am_tool in $_am_tools --do -- case $_am_tool in -- gnutar) -- for _am_tar in tar gnutar gtar; -- do -- AM_RUN_LOG([$_am_tar --version]) && break -- done -- am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' -- am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' -- am__untar="$_am_tar -xf -" -- ;; -- plaintar) -- # Must skip GNU tar: if it does not support --format= it doesn't create -- # ustar tarball either. -- (tar --version) >/dev/null 2>&1 && continue -- am__tar='tar chf - "$$tardir"' -- am__tar_='tar chf - "$tardir"' -- am__untar='tar xf -' -- ;; -- pax) -- am__tar='pax -L -x $1 -w "$$tardir"' -- am__tar_='pax -L -x $1 -w "$tardir"' -- am__untar='pax -r' -- ;; -- cpio) -- am__tar='find "$$tardir" -print | cpio -o -H $1 -L' -- am__tar_='find "$tardir" -print | cpio -o -H $1 -L' -- am__untar='cpio -i -H $1 -d' -- ;; -- none) -- am__tar=false -- am__tar_=false -- am__untar=false -- ;; -- esac -- -- # If the value was cached, stop now. We just wanted to have am__tar -- # and am__untar set. -- test -n "${am_cv_prog_tar_$1}" && break -- -- # tar/untar a dummy directory, and stop if the command works -- rm -rf conftest.dir -- mkdir conftest.dir -- echo GrepMe > conftest.dir/file -- AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) -- rm -rf conftest.dir -- if test -s conftest.tar; then -- AM_RUN_LOG([$am__untar /dev/null 2>&1 && break -- fi --done --rm -rf conftest.dir -- --AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) --AC_MSG_RESULT([$am_cv_prog_tar_$1])]) --AC_SUBST([am__tar]) --AC_SUBST([am__untar]) --]) # _AM_PROG_TAR -- --m4_include([acinclude.m4]) -diff --git a/config.h.in b/config.h.in -index 626a392..78d8bb0 100644 ---- a/config.h.in -+++ b/config.h.in -@@ -1,5 +1,8 @@ - /* config.h.in. Generated from configure.in by autoheader. */ - -+/* Define if building universal (internal helper macro) */ -+#undef AC_APPLE_UNIVERSAL_BUILD -+ - /* Define to 1 if you have the header file. */ - #undef HAVE_CARBON_CARBON_H - -@@ -68,9 +71,6 @@ - /* Defines if your system has the fontconfig and freetype libraries */ - #undef HAVE_KARBONTEXT - --/* Define to 1 if you have the header file. */ --#undef HAVE_KSPELL2_BROKER_H -- - /* Defines if your system has the libart library */ - #undef HAVE_LIBART - -@@ -89,6 +89,9 @@ - /* Define if you have libtiff */ - #undef HAVE_LIBTIFF - -+/* Defines if your system has libpwd greater than or equal to v0.9.0 */ -+#undef HAVE_LIBWPD_090 -+ - /* Define if you have libz */ - #undef HAVE_LIBZ - -@@ -150,6 +153,9 @@ - /* Define to 1 if you have the `rewinddir' function. */ - #undef HAVE_REWINDDIR - -+/* Defines if your system has Ruby 1.9.x */ -+#undef HAVE_RUBY_1_9 -+ - /* Define if you have a STL implementation by SGI */ - #undef HAVE_SGI_STL - -@@ -200,6 +206,9 @@ - /* Define to 1 if you have the header file. */ - #undef HAVE_SYS_TYPES_H - -+/* Define to 1 if you have the header file. */ -+#undef HAVE_TDESPELL2_BROKER_H -+ - /* Define to 1 if you have the header file. */ - #undef HAVE_UNISTD_H - -@@ -227,6 +236,10 @@ - /* The correct header */ - #undef LCMS_HEADER - -+/* Define to the sub-directory in which libtool stores uninstalled libraries. -+ */ -+#undef LT_OBJDIR -+ - /* Name of package */ - #undef PACKAGE - -@@ -242,6 +255,9 @@ - /* Define to the one symbol short name of this package. */ - #undef PACKAGE_TARNAME - -+/* Define to the home page for this package. */ -+#undef PACKAGE_URL -+ - /* Define to the version of this package. */ - #undef PACKAGE_VERSION - -@@ -275,9 +291,17 @@ - /* Defined if compiling without arts */ - #undef WITHOUT_ARTS - --/* Define to 1 if your processor stores words with the most significant byte -- first (like Motorola and SPARC, unlike Intel and VAX). */ --#undef WORDS_BIGENDIAN -+/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most -+ significant byte first (like Motorola and SPARC, unlike Intel). */ -+#if defined AC_APPLE_UNIVERSAL_BUILD -+# if defined __BIG_ENDIAN__ -+# define WORDS_BIGENDIAN 1 -+# endif -+#else -+# ifndef WORDS_BIGENDIAN -+# undef WORDS_BIGENDIAN -+# endif -+#endif - - /* Defines the executable of xmllint */ - #undef XMLLINT -@@ -311,6 +335,11 @@ - #endif - - -+/* Enable large inode numbers on Mac OS X 10.5. */ -+#ifndef _DARWIN_USE_64_BIT_INODE -+# define _DARWIN_USE_64_BIT_INODE 1 -+#endif -+ - /* Number of bits in a file offset, on hosts where this is settable. */ - #undef _FILE_OFFSET_BITS - -@@ -379,6 +408,9 @@ - #endif - - -+/* define to 1 if -fvisibility is supported */ -+#undef __KDE_HAVE_GCC_VISIBILITY -+ - - #if defined(__SVR4) && !defined(__svr4__) - #define __svr4__ 1 -diff --git a/configure.files b/configure.files -index 635634e..e0bbb6e 100644 ---- a/configure.files -+++ b/configure.files -@@ -1,5 +1,9 @@ - ./admin/configure.in.min - configure.in.in -+./chalk/configure.in.bot -+./chalk/configure.in.in -+./chalk/plugins/configure.in.in -+./chalk/plugins/viewplugins/imagesize/configure.in.in - ./example/configure.in.in - ./filters/configure.in.mid - ./filters/chalk/configure.in.in -@@ -31,10 +35,6 @@ configure.in.in - ./kexi/plugins/macros/configure.in.in - ./kivio/configure.in.in - ./kpresenter/configure.in.in --./chalk/configure.in.bot --./chalk/configure.in.in --./chalk/plugins/configure.in.in --./chalk/plugins/viewplugins/imagesize/configure.in.in - ./kspread/plugins/calculator/configure.in.in - ./kword/mailmerge/configure.in.in - ./lib/configure.in.in -diff --git a/configure.in b/configure.in -deleted file mode 100644 -index 92ca35d..0000000 ---- a/configure.in -+++ b/dev/null -@@ -1,2701 +0,0 @@ --dnl ======================================================= --dnl FILE: ./admin/configure.in.min --dnl ======================================================= -- --dnl This file is part of the KDE libraries/packages --dnl Copyright (C) 2001 Stephan Kulow (coolo@kde.org) -- --dnl This file is free software; you can redistribute it and/or --dnl modify it under the terms of the GNU Library General Public --dnl License as published by the Free Software Foundation; either --dnl version 2 of the License, or (at your option) any later version. -- --dnl This library is distributed in the hope that it will be useful, --dnl but WITHOUT ANY WARRANTY; without even the implied warranty of --dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU --dnl Library General Public License for more details. -- --dnl You should have received a copy of the GNU Library General Public License --dnl along with this library; see the file COPYING.LIB. If not, write to --dnl the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, --dnl Boston, MA 02110-1301, USA. -- --# Original Author was Kalle@kde.org --# I lifted it in some mater. (Stephan Kulow) --# I used much code from Janos Farkas -- --dnl Process this file with autoconf to produce a configure script. -- --AC_INIT(acinclude.m4) dnl a source file from your sub dir -- --dnl This is so we can use kde-common --AC_CONFIG_AUX_DIR(admin) -- --dnl This ksh/zsh feature conflicts with `cd blah ; pwd` --unset CDPATH -- --dnl Checking host/target/build systems, for make, install etc. --AC_CANONICAL_SYSTEM --dnl Perform program name transformation --AC_ARG_PROGRAM -- --dnl Automake doc recommends to do this only here. (Janos) --AM_INIT_AUTOMAKE(koffice, "1.6.3") dnl searches for some needed programs -- --AM_MAINTAINER_MODE -- --KDE_SET_PREFIX -- --dnl generate the config header --AM_CONFIG_HEADER(config.h) dnl at the distribution this done -- --dnl Checks for programs. --AC_CHECK_COMPILERS --AC_ENABLE_SHARED(yes) --AC_ENABLE_STATIC(no) --KDE_PROG_LIBTOOL -- --dnl for NLS support. Call them in this order! --dnl WITH_NLS is for the po files --AM_KDE_WITH_NLS -- --KDE_USE_QT(3.3) --AC_PATH_KDE --dnl ======================================================= --dnl FILE: configure.in.in --dnl ======================================================= -- --#MIN_CONFIG(3.3) -- --# Remember to synchronize the version number with the file koffice/lib/kofficecore/kofficeversion.h --dnl PACKAGE set before -- --CXXFLAGS="$CXXFLAGS $KDE_DEFAULT_CXXFLAGS" -- --AC_CHECK_HEADERS(unistd.h sys/param.h floatingpoint.h paths.h) --AC_C_BIGENDIAN --AC_CHECK_KDEMAXPATHLEN -- --KDE_INIT_DOXYGEN([The KOffice API Reference], [Version $VERSION]) -- --# Check for GraphicsMagick... -- --have_graphicsmagick=no --KDE_FIND_PATH(GraphicsMagick-config, GRAPHICS_MAGICK_CONFIG, [${prefix}/bin ${exec_prefix}/bin /usr/local/bin /opt/local/bin], [ -- AC_MSG_WARN([Could not find GraphicsMagick anywhere, check http://www.graphicsmagick.org/ for GraphicsMagick >= 1.1.7.]) --]) -- --if test -n "$GRAPHICS_MAGICK_CONFIG"; then -- vers=`$GRAPHICS_MAGICK_CONFIG --version 2>/dev/null | $AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` -- if test -n "$vers" && test "$vers" -ge 1001007; then -- LIBGMAGICK_LIBS="`$GRAPHICS_MAGICK_CONFIG --libs`" -- LIBGMAGICK_LDFLAGS="`$GRAPHICS_MAGICK_CONFIG --ldflags`" -- LIBGMAGICK_RPATH= -- for args in $LIBGMAGICK_LIBS; do -- case $args in -- -L*) -- LIBGMAGICK_RPATH="$LIBMAGICK_RPATH $args" -- ;; -- esac -- done -- LIBGMAGICK_RPATH=`echo $LIBGMAGICK_RPATH | $SED -e "s/-L/-R/g"` -- LIBGMAGICK_CPPFLAGS="`$GRAPHICS_MAGICK_CONFIG --cppflags`" -- AC_DEFINE(HAVE_GMAGICK,1, [GraphicsMagick is available]) -- have_graphicsmagick=yes -- else -- AC_MSG_WARN([You need at least GraphicsMagick 1.1.7]) -- fi -- --fi -- --if test ! "$USE_RPATH" = "yes"; then -- LIBGMAGICK_RPATH= --fi -- --AC_SUBST(LIBGMAGICK_LIBS) --AC_SUBST(LIBGMAGICK_LDFLAGS) --AC_SUBST(LIBGMAGICK_CPPFLAGS) --AC_SUBST(LIBGMAGICK_RPATH) --AM_CONDITIONAL(include_graphicsmagick_filter, test "$have_graphicsmagick" = "yes" -a HAVE_GMAGICK) -- --# End of GraphicsMagick check -- --# Check for ImageMagick... -- --have_imagemagick=no --KDE_FIND_PATH(Magick-config, MAGICK_CONFIG, [${prefix}/bin ${exec_prefix}/bin /usr/local/bin /opt/local/bin], [ -- AC_MSG_WARN([Could not find ImageMagick anywhere, check http://www.imagemagick.org/ for ImageMagick >= 5.5.2.]) --]) -- --if test -n "$MAGICK_CONFIG"; then -- vers=`$MAGICK_CONFIG --version 2>/dev/null | $AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` -- if test -n "$vers" && test "$vers" -ge 5005002 -- then -- if test "$vers" -ge 6000003 -- then -- AC_DEFINE(HAVE_MAGICK6, 1, [ImageMagick Version 6]) -- fi -- if test "$vers" -ge 6001000 -- then -- AC_DEFINE(HAVE_MAGICK61, 1, [ImageMagick Version 6.1]) -- fi -- LIBMAGICK_LIBS="`$MAGICK_CONFIG --libs`" -- LIBMAGICK_LDFLAGS="`$MAGICK_CONFIG --ldflags`" -- LIBMAGICK_RPATH= -- for args in $LIBMAGICK_LIBS; do -- case $args in -- -L*) -- LIBMAGICK_RPATH="$LIBMAGICK_RPATH $args" -- ;; -- esac -- done -- LIBMAGICK_RPATH=`echo $LIBMAGICK_RPATH | $SED -e "s/-L/-R/g"` -- LIBMAGICK_CPPFLAGS="`$MAGICK_CONFIG --cppflags`" -- AC_DEFINE(HAVE_MAGICK,1, [ImageMagick is available]) -- have_imagemagick=yes -- else -- AC_MSG_WARN([You need at least ImageMagick 5.5.2]) -- fi --fi -- --if test ! "$USE_RPATH" = "yes"; then -- LIBMAGICK_RPATH= --fi -- --AC_SUBST(LIBMAGICK_LIBS) --AC_SUBST(LIBMAGICK_LDFLAGS) --AC_SUBST(LIBMAGICK_CPPFLAGS) --AC_SUBST(LIBMAGICK_RPATH) --AM_CONDITIONAL(include_imagemagick_filter, test "$have_imagemagick" = "yes" -a HAVE_MAGICK61 -a ! "$have_graphicsmagick" = "yes" -a ! HAVE_GMAGICK) -- --# End of ImageMagick check -- --########################################################################## --# This last check is copied from kdenonbeta/gsf/configure.in.in --########################################################################## --# KOFFICE_PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not) --# defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page --# also defines GSTUFF_PKG_ERRORS on error --# Note: This is specially tweaked for karbon's fontconfig check. Please fix --# it before using it for other tests :-) --AC_DEFUN([KOFFICE_PKG_CHECK_MODULES], [ -- succeeded=no -- -- if test -z "$PKG_CONFIG"; then -- AC_PATH_PROG(PKG_CONFIG, pkg-config, no) -- fi -- -- if test "$PKG_CONFIG" = "no" ; then -- echo "*** The pkg-config script could not be found. Make sure it is" -- echo "*** in your path, or set the PKG_CONFIG environment variable" -- echo "*** to the full path to pkg-config." -- echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." -- echo "***" -- echo "*** Due to that we can't perform the check for fontconfig..." # added for karbon (Werner) -- else -- PKG_CONFIG_MIN_VERSION=0.9.0 -- if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then -- AC_MSG_CHECKING(for $2) -- -- if $PKG_CONFIG --exists "$2" ; then -- AC_MSG_RESULT(yes) -- succeeded=yes -- -- AC_MSG_CHECKING($1_CFLAGS) -- $1_CFLAGS=`$PKG_CONFIG --cflags "$2"` -- AC_MSG_RESULT($$1_CFLAGS) -- -- AC_MSG_CHECKING($1_LIBS) -- $1_LIBS=`$PKG_CONFIG --libs "$2"` -- AC_MSG_RESULT($$1_LIBS) -- else -- $1_CFLAGS="" -- $1_LIBS="" -- ## If we have a custom action on failure, don't print errors, but -- ## do set a variable so people can do so. -- $1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` -- ifelse([$4], ,echo $$1_PKG_ERRORS,) -- fi -- -- AC_SUBST($1_CFLAGS) -- AC_SUBST($1_LIBS) -- else -- echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." -- echo "*** See http://www.freedesktop.org/software/pkgconfig" -- fi -- fi -- -- if test $succeeded = yes; then -- ifelse([$3], , :, [$3]) --# else # removed for karbon (Werner) --# ifelse([$4], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$4]) -- fi --]) -- --# --- Check for KDE 3.2 or 3.3 --- -- --AC_MSG_CHECKING([for KDE version]) -- --AC_LANG_SAVE --AC_LANG_CPLUSPLUS --kdeversion_save_CXXFLAGS="$CXXFLAGS" --kdeversion_safe_LIBS="$LIBS" --LIBS="$LIBS $X_EXTRA_LIBS" --CXXFLAGS="$CXXFLAGS $all_includes" -- --AC_COMPILE_IFELSE([ --#include --#if ! ( KDE_IS_VERSION( 3, 2, 90 ) ) --#error KDE 3.2 --#endif --], -- need_trinity2_compat="no" --, -- need_trinity2_compat="yes" --) -- --AC_COMPILE_IFELSE([ --#include --#if ! ( KDE_IS_VERSION( 3, 3, 90 ) ) --#error KDE 3.3 --#endif --], -- need_trinity3_compat="no" --, -- need_trinity3_compat="yes" --) -- --AC_COMPILE_IFELSE([ --#include --#if ! ( KDE_IS_VERSION( 3, 4, 90 ) ) --#error KDE 3.4 --#endif --], -- need_trinity4_compat="no" --, -- need_trinity4_compat="yes" --) -- --AC_COMPILE_IFELSE([ --#include --#if ! ( KDE_IS_VERSION( 3, 5, 2 ) ) --#error KDE 3.5.x (x < 2) --#endif --], -- need_trinity51_compat="no" --, -- need_trinity51_compat="yes" --) --CXXFLAGS="$kdeversion_save_CXXFLAGS" --LIBS="$kdeversion_safe_LIBS" --AC_LANG_RESTORE -- --if test "$need_trinity2_compat" = "yes"; then -- AC_MSG_RESULT([KDE 3.2.x]) --else -- if test "$need_trinity3_compat" = "yes"; then -- AC_MSG_RESULT([KDE 3.3.x]) -- else -- if test "$need_trinity4_compat" = "yes"; then -- AC_MSG_RESULT([KDE 3.4.x]) -- else -- if test "$need_trinity51_compat" = "yes"; then -- AC_MSG_RESULT([KDE 3.5.x (x < 2)]) -- else -- AC_MSG_RESULT([KDE 3.5.x (x >=2) or SVN trunk]) -- fi -- fi -- fi --fi -- --AM_CONDITIONAL(need_trinity2_compatibility, test "$need_trinity2_compat" = "yes") --AM_CONDITIONAL(need_trinity3_compatibility, test "$need_trinity3_compat" = "yes") --AM_CONDITIONAL(need_trinity4_compatibility, test "$need_trinity4_compat" = "yes") --AM_CONDITIONAL(need_trinity51_compatibility, test "$need_trinity51_compat" = "yes") -- --# Keep the old KDE 3.1 test, as long as it is still used --AM_CONDITIONAL(need_trinity1_compatibility, test "supported" = "no") -- --# --- End KDE 3.2 check --- -- --# --- OpenEXR check --- -- --KDE_FIND_PATH(pkg-config, PKGCONFIG, [${prefix}/bin ${exec_prefix}/bin /usr/bin /usr/local/bin /opt/local/bin], [ -- AC_MSG_WARN([Could not find pkg-config]) --]) -- --AC_MSG_CHECKING([for OpenEXR]) -- --if test -n "$PKGCONFIG"; then -- vers=`$PKGCONFIG OpenEXR --modversion 2>/dev/null` -- if test -n "$vers" -- then -- OPENEXR_LIBS="`$PKGCONFIG OpenEXR --libs`" -- OPENEXR_RPATH= -- for args in $OPENEXR_LIBS; do -- case $args in -- -L*) -- OPENEXR_RPATH="$OPENEXR_RPATH $args" -- ;; -- esac -- done -- OPENEXR_RPATH=`echo $OPENEXR_RPATH | $SED -e "s/-L/-R/g"` -- OPENEXR_CFLAGS="`$PKGCONFIG OpenEXR --cflags`" -- -- AC_DEFINE_UNQUOTED(HAVE_OPENEXR, 1, [Defines if your system has the OpenEXR library]) -- fi --fi -- --if test ! "$USE_RPATH" = "yes"; then -- OPENEXR_RPATH= --fi -- --if test -n "$OPENEXR_LIBS" --then -- AC_MSG_RESULT([yes]) --else -- AC_MSG_RESULT([not found]) --fi -- --AC_SUBST(OPENEXR_LIBS) --AC_SUBST(OPENEXR_CFLAGS) --AC_SUBST(OPENEXR_RPATH) -- --AM_CONDITIONAL(have_openexr, test -n "$OPENEXR_LIBS") -- --# --- End of OpenEXR check --- --dnl ======================================================= --dnl FILE: ./example/configure.in.in --dnl ======================================================= -- --dnl This is here so that example isn't compiled and intalled by default. --dnl Do NOT put this file in your application, if you want it compiled ! -- --DO_NOT_COMPILE="$DO_NOT_COMPILE example" --dnl ======================================================= --dnl FILE: ./filters/chalk/configure.in.in --dnl ======================================================= -- --# Check if the tiff lib is available --AC_FIND_TIFF --AM_CONDITIONAL(have_tiff, test -n "$LIBTIFF") -- --AC_FIND_PNG --AM_CONDITIONAL(have_png, test -n "$LIBPNG") -- --AC_FIND_JPEG --AM_CONDITIONAL(have_jpeg, test -n "$LIBJPEG") -- --#--------------------------------------------------------- --# libexif detection --# taken from libkexif's configure.in.in --#--------------------------------------------------------- -- --LIBEXIF=no -- --#PKG_CHECK_MODULES(LIBEXIF, libexif >= 0.5.7, , --# [ AC_MSG_WARN([libexif >= 0.5.7 not found.]) --# LIBEXIF=yes ]) -- -- --#PKG_CHECK_MODULES(LIBEXIF06, libexif >= 0.6.9, --# AC_DEFINE(HAVE_EXIF06,1,[check for libexif > 0.6]), --# AC_MSG_WARN([Using old version of libexif.])) -- --PKG_CHECK_MODULES(LIBEXIF, libexif >= 0.6.12 , , -- [ AC_MSG_WARN([libexif >= 0.6.12 not found.]) -- LIBEXIF=yes ]) -- --AC_SUBST(LIBEXIF_LIBS) --AC_SUBST(LIBEXIF_CFLAGS) -- --#--------------------------------------------------------- --# libexif detection --#--------------------------------------------------------- --AC_MSG_CHECKING([if C++ program with exif can be compiled]) --AC_LANG_SAVE --AC_LANG_CPLUSPLUS --ac_save_CXXFLAGS="$CXXFLAGS" --CXXFLAGS="$CXXFLAGS $LIBEXIF_CFLAGS" --AC_CACHE_VAL(exif_build, --[ -- AC_TRY_COMPILE([ -- extern "C" { --#include --#include --} -- ],[ -- ExifLoader *l = exif_loader_new (); -- exif_loader_write_file (l,"kikoo"); -- return 0; -- ], exif_build=yes, -- exif_build=no) --]) --AC_MSG_RESULT($exif_build) --if test "$exif_build" = "no"; then -- LIBEXIF="" --fi --CXXFLAGS="$ac_save_CXXFLAGS" --AC_LANG_RESTORE -- -- --AM_CONDITIONAL(have_exif, test -n "$LIBEXIF") --AM_CONDITIONAL(include_jpeg_filter, test -n "$LIBJPEG" -a -n "$LIBEXIF") --AM_CONDITIONAL(include_tiff_filter, test -n "$LIBTIFF" -a -n "$LIBEXIF") --dnl ======================================================= --dnl FILE: ./filters/chalk/pdf/configure.in.in --dnl ======================================================= -- --# Compile the pdf import filter only if Poppler is available --PKG_CHECK_MODULES(POPPLER, poppler-tqt >= 0.5.1, have_poppler=yes, have_poppler=no) -- --AM_CONDITIONAL(include_PDF, test "x$have_poppler" = xyes) --dnl ======================================================= --dnl FILE: ./filters/kword/msword/configure.in.in --dnl ======================================================= -- --AC_ARG_WITH(libwv2,AC_HELP_STRING([--with-libwv2=DIR],[use libwv2 in DIR]),[ -- if [ test "x$withval" != "xno" ]; then -- if [ test "x$withval" != "xyes" ]; then -- WV2_DIR=$withval -- fi -- search_for_wv2=yes -- else -- search_for_wv2=no -- fi --],[ search_for_wv2=yes --]) -- --if [ test $search_for_wv2 != no ]; then -- if [ test -n "$WV2_DIR" ]; then -- KDE_FIND_PATH(wv2-config, WV2_CONFIG, [$WV2_DIR/bin], [ -- AC_MSG_WARN([Could not find libwv2, check http://www.sourceforge.net/projects/wvware/]) -- ]) -- else -- KDE_FIND_PATH(wv2-config, WV2_CONFIG, [${prefix}/bin ${exec_prefix}/bin /usr/local/bin /opt/local/bin], [ -- AC_MSG_WARN([Could not find libwv2 anywhere, check http://www.sourceforge.net/projects/wvware/]) -- ]) -- fi --fi -- --if test -n "$WV2_CONFIG"; then -- vers=`$WV2_CONFIG --version 2>/dev/null | $SED -e 's/libwv2 //' | $AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` -- if test -n "$vers" && test "$vers" -ge 1009 -- then -- LIBWV2_LIBS="`$WV2_CONFIG --libs`" -- LIBWV2_RPATH= -- for args in $LIBWV2_LIBS; do -- case $args in -- -L*) -- LIBWV2_RPATH="$LIBWV2_RPATH $args" -- ;; -- esac -- done -- LIBWV2_RPATH=`echo $LIBWV2_RPATH | $SED -e "s/-L/-R/g"` -- LIBWV2_CFLAGS="`$WV2_CONFIG --cflags`" -- -- AC_DEFINE_UNQUOTED(HAVE_WV2, 1, [Defines if your system has the wv2 library]) -- else -- AC_MSG_WARN([You need at least version 0.1.9 of libwv2]) -- fi --fi -- -- --AC_SUBST(LIBWV2_LIBS) --AC_SUBST(LIBWV2_CFLAGS) --AC_SUBST(LIBWV2_RPATH) --AM_CONDITIONAL(include_wv2_msword_filter, test -n "$LIBWV2_LIBS") --dnl ======================================================= --dnl FILE: ./filters/kword/pdf/xpdf/configure.in.in --dnl ======================================================= -- -- --AC_HEADER_DIRENT --AC_HEADER_STDC --AC_CHECK_FUNCS(rewinddir popen mkstemp) -- --dnl ##### Check for fseeko/ftello or fseek64/ftell64 --dnl The LARGEFILE and FSEEKO macros have to be called in C, not C++, mode. --AC_SYS_LARGEFILE --AC_FUNC_FSEEKO --AC_CHECK_FUNCS(fseek64) --AC_CHECK_FUNCS(ftell64) -- --dnl ##### Check for libpaper (Debian). --KDE_CHECK_HEADERS(paper.h) --KDE_CHECK_LIB(paper, paperinit, [LIBPAPER="-lpaper"]) --AC_SUBST(LIBPAPER) --dnl ======================================================= --dnl FILE: ./filters/kword/wordperfect/configure.in.in --dnl ======================================================= -- --KDE_FIND_PATH(pkg-config, PKGCONFIG, [${prefix}/bin ${exec_prefix}/bin /usr/bin /usr/local/bin /opt/local/bin], [ -- AC_MSG_WARN([Could not find pkg-config]) --]) -- --if test -n "$PKGCONFIG"; then -- vers=`$PKGCONFIG libwpd-0.8 --modversion 2>/dev/null` -- if test -n "$vers" -- then -- LIBWPD_LIBS="`$PKGCONFIG libwpd-0.8 --libs`" -- LIBWPD_RPATH= -- for args in $LIBWPD_LIBS; do -- case $args in -- -L*) -- LIBWPD_RPATH="$LIBWPD_RPATH $args" -- ;; -- esac -- done -- LIBWPD_RPATH=`echo $LIBWPD_RPATH | $SED -e "s/-L/-R/g"` -- LIBWPD_CFLAGS="`$PKGCONFIG libwpd-0.8 --cflags`" -- -- AC_DEFINE_UNQUOTED(HAVE_WPD, 1, [Defines if your system has the libwpd library]) -- fi --fi -- -- --AC_SUBST(LIBWPD_LIBS) --AC_SUBST(LIBWPD_CFLAGS) --AC_SUBST(LIBWPD_RPATH) -- --AM_CONDITIONAL(include_wpd_filter, test -n "$LIBWPD_LIBS") -- --dnl ======================================================= --dnl FILE: ./filters/xsltfilter/configure.in.in --dnl ======================================================= -- -- --KDE_FIND_PATH(xml2-config, XML_CONFIG, [${prefix}/bin ${exec_prefix}/bin /usr/local/bin /opt/local/bin], [ -- AC_MSG_WARN([Could not find libxml2 anywhere, check ftp://xmlsoft.org/ for libxml >= 2.4.8. (we also keep a version of it in kdesupport for CVS users' convience)]) -- HELP_SUBDIR= --]) -- --if test -n "$XML_CONFIG"; then -- vers=`$XML_CONFIG --version 2>/dev/null | $SED -e 's/libxml //' | $AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` -- if test -n "$vers" && test "$vers" -ge 2004008 -- then -- LIBXML_LIBS="`$XML_CONFIG --libs`" -- LIBXML_RPATH= -- for args in $LIBXML_LIBS; do -- case $args in -- -L*) -- LIBXML_RPATH="$LIBXML_RPATH $args" -- ;; -- esac -- done -- LIBXML_RPATH=`echo $LIBXML_RPATH | $SED -e "s/-L/-R/g"` -- LIBXML_CFLAGS="`$XML_CONFIG --cflags`" -- -- KDE_FIND_PATH(xmllint, XMLLINT, [${prefix}/bin ${exec_prefix}/bin /usr/local/bin /opt/local/bin], [XMLLINT=""]) -- AC_DEFINE_UNQUOTED(XMLLINT, "$XMLLINT", [Defines the executable of xmllint]) -- else -- AC_MSG_WARN([You need at least libxml 2.4.8]) -- HELP_SUBDIR= -- fi --fi -- --KDE_FIND_PATH(xslt-config, XSLT_CONFIG, [${prefix}/bin ${exec_prefix}/bin /usr/local/bin /opt/local/bin], [ -- AC_MSG_WARN([Could not find libxslt anywhere, check ftp://xmlsoft.org/ for libxslt >= 1.0.7. (we also keep a version of it in kdesupport for CVS users' convience)]) -- HELP_SUBDIR= --]) -- --if test -n "$XSLT_CONFIG"; then -- vers=`$XSLT_CONFIG --version 2>/dev/null | $AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` -- if test -n "$vers" && test "$vers" -ge 1000007; then -- LIBXSLT_LIBS="`$XSLT_CONFIG --libs`" -- LIBXSLT_RPATH= -- for args in $LIBXSLT_LIBS; do -- case $args in -- -L*) -- LIBXSLT_RPATH="$LIBXSLT_RPATH $args" -- ;; -- esac -- done -- LIBXSLT_RPATH=`echo $LIBXSLT_RPATH | $SED -e "s/-L/-R/g"` -- LIBXSLT_CFLAGS="`$XSLT_CONFIG --cflags`" -- -- else -- AC_MSG_WARN([You need at least libxslt 1.0.7]) -- HELP_SUBDIR= -- fi --fi -- --if test ! "$USE_RPATH" = "yes"; then -- LIBXSLT_RPATH= -- LIBXML_RPATH= --fi -- --AC_SUBST(LIBXSLT_LIBS) --AC_SUBST(LIBXSLT_CFLAGS) --AC_SUBST(LIBXSLT_RPATH) -- --AC_SUBST(LIBXML_LIBS) --AC_SUBST(LIBXML_CFLAGS) --AC_SUBST(LIBXML_RPATH) -- --AM_CONDITIONAL(include_XSLTFILTERS, test -n "$LIBXML_LIBS" -a -n "$LIBXSLT_LIBS") --dnl ======================================================= --dnl FILE: ./karbon/configure.in.in --dnl ======================================================= -- -- --KDE_FIND_PATH(freetype-config, FREETYPE_CONFIG, [${prefix}/bin ${exec_prefix}/bin /usr/local/bin /opt/local/bin], [ -- AC_MSG_WARN([Could not find libfreetype anywhere, check http://www.freetype.org/]) --]) -- --if test -n "$FREETYPE_CONFIG"; then -- vers=`$FREETYPE_CONFIG --version 2>/dev/null | $SED -e 's/libfreetype //' | $AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` -- if test -n "$vers" && test "$vers" -ge 5000000 -- then -- LIBFREETYPE_LIBS="`$FREETYPE_CONFIG --libs`" -- LIBFREETYPE_RPATH= -- for args in $LIBFREETYPE_LIBS; do -- case $args in -- -L*) -- LIBFREETYPE_RPATH="$LIBFREETYPE_RPATH $args" -- ;; -- esac -- done -- LIBFREETYPE_RPATH=`echo $LIBFREETYPE_RPATH | $SED -e "s/-L/-R/g"` -- LIBFREETYPE_CFLAGS="`$FREETYPE_CONFIG --cflags`" -- else -- AC_MSG_WARN([You need at least libfreetype 5.0]) -- fi --fi -- --AC_SUBST(LIBFREETYPE_LIBS) --AC_SUBST(LIBFREETYPE_CFLAGS) --AC_SUBST(LIBFREETYPE_RPATH) -- -- --KDE_FIND_PATH(libart2-config, LIBART_CONFIG, [${prefix}/bin ${exec_prefix}/bin /usr/local/bin /opt/local/bin], [ -- AC_MSG_WARN([Could not find libart anywhere, check http://www.levien.com/libart/]) --]) -- --if test -n "$LIBART_CONFIG"; then -- vers=`$LIBART_CONFIG --version 2>/dev/null | $AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` -- if test -n "$vers" && test "$vers" -ge 2003008 -- then -- LIBART_LIBS="`$LIBART_CONFIG --libs`" -- LIBART_RPATH= -- for args in $LIBART_LIBS; do -- case $args in -- -L*) -- LIBART_RPATH="$LIBART_RPATH $args" -- ;; -- esac -- done -- LIBART_RPATH=`echo $LIBART_RPATH | $SED -e "s/-L/-R/g"` -- LIBART_CFLAGS="`$LIBART_CONFIG --cflags`" -- -- AC_DEFINE_UNQUOTED(HAVE_LIBART, 1, [Defines if your system has the libart library]) -- else -- AC_MSG_WARN([You need at least libart 2.3.8]) -- fi --fi -- --AC_SUBST(LIBART_LIBS) --AC_SUBST(LIBART_CFLAGS) --AC_SUBST(LIBART_RPATH) -- -- --# Check for fontconfig --KDE_FIND_PATH(fontconfig-config, FONTCONFIG_CONFIG, [${prefix}/bin ${exec_prefix}/bin /usr/bin /usr/local/bin /opt/local/bin], [ -- KDE_FIND_PATH(pkg-config, PKGCONFIG, [${prefix}/bin ${exec_prefix}/bin /usr/bin /usr/local/bin /opt/local/bin], [ -- AC_MSG_WARN([Could not find neither pkg-config nor fontconfig-config, check http://www.fontconfig.org/ ]) -- ]) --]) -- --if test -n "$PKGCONFIG"; then -- vers=`$PKGCONFIG fontconfig --modversion 2>/dev/null | $SED -e 's/libfontconfig //' | $AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` -- if test -n "$vers" && test "$vers" -ge 1000001 -- then -- LIBFONTCONFIG_LIBS="`$PKGCONFIG fontconfig --libs`" -- LIBFONTCONFIG_RPATH= -- for args in $LIBFONTCONFIG_LIBS; do -- case $args in -- -L*) -- LIBFONTCONFIG_RPATH="$LIBFONTCONFIG_RPATH $args" -- ;; -- esac -- done -- LIBFONTCONFIG_RPATH=`echo $LIBFONTCONFIG_RPATH | $SED -e "s/-L/-R/g"` -- LIBFONTCONFIG_CFLAGS="`$PKGCONFIG fontconfig --cflags`" -- -- AC_DEFINE_UNQUOTED(HAVE_FONTCONFIG, 1, [Defines if your system has the libfontconfig library]) -- fi --fi -- --if test -n "$FONTCONFIG_CONFIG"; then -- vers=`$FONTCONFIG_CONFIG --version 2>/dev/null | $SED -e 's/libfontconfig //' | $AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` -- if test -n "$vers" && test "$vers" -ge 1000001 -- then -- LIBFONTCONFIG_LIBS="`$FONTCONFIG_CONFIG --libs`" -- LIBFONTCONFIG_RPATH= -- for args in $LIBFONTCONFIG_LIBS; do -- case $args in -- -L*) -- LIBFONTCONFIG_RPATH="$LIBFONTCONFIG_RPATH $args" -- ;; -- esac -- done -- LIBFONTCONFIG_RPATH=`echo $LIBFONTCONFIG_RPATH | $SED -e "s/-L/-R/g"` -- LIBFONTCONFIG_CFLAGS="`$FONTCONFIG_CONFIG --cflags`" -- -- AC_DEFINE_UNQUOTED(HAVE_FONTCONFIG, 1, [Defines if your system has the libfontconfig library]) -- fi --fi -- --AC_SUBST(LIBFONTCONFIG_LIBS) --AC_SUBST(LIBFONTCONFIG_CFLAGS) --AC_SUBST(LIBFONTCONFIG_RPATH) -- --if test -z "$LIBART_LIBS"; then -- DO_NOT_COMPILE="$DO_NOT_COMPILE karbon" --fi -- --if test -n "$LIBFREETYPE_LIBS" -a -n "$LIBFONTCONFIG_LIBS"; then -- AC_DEFINE_UNQUOTED(HAVE_KARBONTEXT, 1, [Defines if your system has the fontconfig and freetype libraries]) --fi --dnl ======================================================= --dnl FILE: ./kexi/3rdparty/configure.in.in --dnl ======================================================= -- --dnl This is copied from gpsim-0.21.1/acinclude.m4, which was itself --dnl copied from the NcFTP distribution. --dnl Modified by David Faure for kexi's purposes. --dnl --dnl Original author Mike Gleason mgleason@NcFTP.com --dnl --dnl --AC_DEFUN([kexi_LIB_READLINE], [ --AC_MSG_CHECKING([for Readline library]) -- --kexi_cv_lib_readline=no --ac_save_LIBS="$LIBS" --# Note: $LIBCURSES is permitted to be empty. --for LIBREADLINE in "-lreadline" "-lreadline $LIBCURSES" "-lreadline -ltermcap" "-lreadline -lncurses" "-lreadline -lcurses" --do -- LIBS="$ac_save_LIBS $LIBREADLINE" -- AC_TRY_RUN([ -- /* program */ --#include --#include --#include -- --main(int argc, char **argv) --{ -- /* Note: don't actually call readline, since it may block; -- * We just want to see if it (dynamic) linked in okay. -- */ -- if (argc == 0) /* never true */ -- readline(0); -- exit(0); --} --],[ -- # action if true -- kexi_cv_lib_readline=yes --],[ -- # action if false -- kexi_cv_lib_readline=no --],[ -- # action if cross compiling -- kexi_cv_lib_readline=no --]) -- -- if test "$kexi_cv_lib_readline" = yes ; then break ; fi --done --# restore LIBS --LIBS="$ac_save_LIBS" -- --if test "$kexi_cv_lib_readline" = no ; then -- LIBREADLINE="" -- AC_MSG_RESULT("not found - kexisql will not be compiled") --else -- AC_MSG_RESULT($LIBREADLINE) -- AC_DEFINE(HAVE_READLINE, 1, [define if you have libreadline available]) --fi -- --AM_CONDITIONAL(have_readline, test "$kexi_cv_lib_readline" = "yes") --AC_SUBST(LIBREADLINE) --]) -- --kexi_LIB_READLINE --dnl ======================================================= --dnl FILE: ./kexi/configure.in.in --dnl ======================================================= -- -- --#KEXI_VERSION= --AC_SUBST(LIB_KEXI_KMDI, '-lkmdi') --AC_SUBST(LIB_KEXI_KMDI_INCLUDES, '') -- --dnl ======================================================= --dnl FILE: ./kexi/kexidb/drivers/configure.in.in --dnl ======================================================= -- --dnl ======================================== --dnl checks for MySQL --dnl taken form KDEDB --dnl ======================================== -- --AC_ARG_ENABLE(mysql, -- AC_HELP_STRING([--enable-mysql],[build MySQL-plugin [default=yes]]), -- mysql_plugin=$enableval, mysql_plugin=yes) -- --if test "x$mysql_plugin" = "xyes"; then -- compile_mysql_plugin="yes" --else -- compile_mysql_plugin="no" --fi -- --AC_ARG_WITH(mysql_includes, --AC_HELP_STRING([--with-mysql-includes=DIR],[use MySQL-includes installed in this directory]), --[ -- ac_mysql_incdir=$withval --], ac_mysql_incdir= --) -- --AC_ARG_WITH(mysql_libraries, --AC_HELP_STRING([--with-mysql-libraries=DIR],[use MySQL-libs installed in this directory ]), --[ -- ac_mysql_libdir=$withval --], ac_mysql_libdir= --) -- --dnl ============================================== --dnl check whether MySQL should be compiled --dnl and where headers and libraries are installed --dnl if present compile mysql-plugin --dnl ============================================== -- --AC_MSG_CHECKING([for MySQL]) -- --if test "$compile_mysql_plugin" = "yes"; then -- if test -n "$ac_mysql_incdir" -o -n "$ac_mysql_libdir"; then --dnl *** Configure arguments for includes or libs given *** --dnl *** and MySQL not explicitly disabled. *** --dnl *** Check that the paths given to configure are valid *** -- AC_MSG_CHECKING([for MySQL headers]) -- mysql_incdirs="$ac_mysql_incdir /usr/local/include /usr/include" -- AC_FIND_FILE(mysql/mysql.h, $mysql_incdirs, mysql_incdir) -- if test -r $mysql_incdir/mysql/mysql.h; then -- MYSQL_INC=$mysql_incdir -- AC_MSG_RESULT([$MYSQL_INC]) -- AC_SUBST(MYSQL_INC) -- else -- compile_mysql_plugin="no" -- AC_MSG_RESULT([not found]) -- fi -- -- AC_MSG_CHECKING([for MySQL libraries]) -- mysql_libdirs="$ac_mysql_libdir /usr/local/lib$kdelibsuff /usr/lib$kdelibsuff" -- AC_FIND_FILE(mysql/libmysqlclient.so, $mysql_libdirs, mysql_libdir) -- if test -r $mysql_libdir/mysql/libmysqlclient.so; then -- MYSQL_LIBS=$mysql_libdir -- AC_MSG_RESULT([$MYSQL_LIBS]) -- AC_SUBST(MYSQL_LIBS) -- else -- compile_mysql_plugin="no" -- AC_MSG_RESULT([not found]) -- fi -- else --dnl *** No configure arguments for includes or libs given *** --dnl *** and MySQL not explicitly disabled. *** -- KDE_FIND_PATH(mysql_config, MYSQL_CONFIG, -- [${prefix}/bin ${exec_prefix}/bin /usr/local/bin /usr/bin ], [ -- AC_MSG_RESULT([not found]) -- ]) -- -- if test -n "$MYSQL_CONFIG"; then -- mysql_incdir=`$MYSQL_CONFIG --cflags| $SED -e "s,-I,,g" | cut -d " " -f 1` -- mysql_libdir=`$MYSQL_CONFIG --libs| $SED -e "s,',,g"` -- MYSQL_INC=$mysql_incdir -- MYSQL_LIBS=$mysql_libdir -- AC_SUBST(MYSQL_INC) -- AC_SUBST(MYSQL_LIBS) -- compile_mypsql_plugin="yes" -- AC_MSG_RESULT([headers $mysql_incdir, libraries $mysql_libdir]) -- else -- compile_mysql_plugin="no" -- fi -- fi --else --dnl *** MySQL plugin explicitly disabled. *** --dnl *** Show that we are doing as requested. *** -- AC_MSG_NOTICE([Not attempting to configure MySQL as requested]) --fi -- --AM_CONDITIONAL(compile_mysql_plugin, test "$compile_mysql_plugin" = "yes") -- --dnl ======================================== --dnl Checks for PostgreSQL --dnl ======================================== -- --dnl ======================================== --dnl libpq --dnl Add configure-args --dnl ======================================== -- --dnl Assume we're building until something fails, unless explicitly disabled --AC_ARG_ENABLE(pgsql, --AC_HELP_STRING([--enable-pgsql],[build PostgreSQL-plugin [default=yes]]), -- pgsql_plugin=$enableval, pgsql_plugin=yes) -- --if test "x$pgsql_plugin" = "xyes"; then -- compile_pgsql_plugin="yes" --else -- compile_pgsql_plugin="no" --fi -- --AC_ARG_WITH(pgsql-includes, --AC_HELP_STRING([--with-pgsql-includes=DIR],[use PostgreSQL(libpq)-includes installed in this directory ]), --[ -- ac_pgsql_incdir=$withval --], ac_pgsql_incdir= --) -- --AC_ARG_WITH(pgsql-libraries, --AC_HELP_STRING([--with-pgsql-libraries=DIR],[use PostgreSQL(libpq)-libraries installed in this directory ]), --[ -- ac_pgsql_libdir=$withval --], ac_pgsql_libdir= --) -- -- --dnl ======================================== --dnl header/library directories --dnl ======================================== -- --if test "$compile_pgsql_plugin" = "yes"; then -- if test -n "$ac_pgsql_incdir" -o -n "$ac_pgsql_libdir"; then --dnl *** Configure arguments for includes or libs given *** --dnl *** and PostgreSQL not explicitly disabled. *** --dnl *** Check that the paths given to configure are valid *** -- AC_MSG_CHECKING([for PostgreSQL C API headers]) -- pgsql_incdirs="$ac_pgsql_incdir /usr/local/include /usr/include" -- AC_FIND_FILE(libpq-fe.h, $pgsql_incdirs, pgsql_incdir) -- if test -r $pgsql_incdir/libpq-fe.h; then -- PG_INCDIR=$pgsql_incdir -- AC_MSG_RESULT([$PG_INCDIR]) -- AC_SUBST(PG_INCDIR) -- else -- compile_pgsql_plugin="no" -- AC_MSG_RESULT([not found]) -- fi -- -- AC_MSG_CHECKING([for PostgreSQL C API libraries]) -- pgsql_libdirs="$ac_pgsql_libdir /usr/local/lib$kdelibsuff /usr/lib$kdelibsuff" -- AC_FIND_FILE(libpq.so, $pgsql_libdirs, pgsql_libdir) -- if test -r $pgsql_libdir/libpq.so; then -- PG_LIBDIR=$pgsql_libdir -- AC_MSG_RESULT([$PG_LIBDIR]) -- AC_SUBST(PG_LIBDIR) -- else -- compile_pgsql_plugin="no" -- AC_MSG_RESULT([not found]) -- fi -- else --dnl *** No configure arguments for includes or libs given *** --dnl *** and PostgreSQL not explicitly disabled. *** -- KDE_FIND_PATH(pg_config, PG_CONFIG, -- [${prefix}/bin ${exec_prefix}/bin /usr/local/bin /usr/bin ], [ -- AC_MSG_RESULT([not found]) -- ]) -- -- if test -n "$PG_CONFIG"; then -- pgsql_incdir=`$PG_CONFIG --includedir` -- pgsql_libdir=`$PG_CONFIG --libdir` -- PG_INCDIR=$pgsql_incdir -- PG_LIBDIR=$pgsql_libdir -- AC_SUBST(PG_LIBDIR) -- compile_pgsql_plugin="yes" -- AC_MSG_RESULT([headers $pgsql_incdir, libraries $pgsql_libdir]) -- else -- compile_pgsql_plugin="no" -- fi -- fi --else --dnl *** PostgreSQL plugin explicitly disabled. *** --dnl *** Show that we are doing as requested. *** -- AC_MSG_NOTICE([Not attempting to configure PostgreSQL as requested]) --fi -- --AM_CONDITIONAL(compile_pgsql_plugin, test "$compile_pgsql_plugin" = "yes") -- -- --dnl ======================================== --dnl libpqxx checks --dnl ======================================== -- --AC_ARG_WITH(pqxx-includes, --AC_HELP_STRING([--with-pqxx-includes=DIR],[use PostgreSQL(libpqxx)-includes installed in this directory ]), --[ -- ac_pqxx_incdir=$withval --], ac_pqxx_incdir= --) -- --AC_ARG_WITH(pqxx-libraries, --AC_HELP_STRING([--with-pqxx-libraries=DIR],[use PostgreSQL(libpqxx)-libraries installed in this directory ]), --[ -- ac_pqxx_libdir=$withval --], ac_pqxx_libdir= --) -- -- --dnl ======================================== --dnl libpqxx headers --dnl ======================================== --if test "$compile_pgsql_plugin" = "yes"; then -- AC_MSG_CHECKING([for PostgreSQL C++ includes]) -- pqxx_incdirs="$ac_pqxx_incdir /usr/local/include /usr/include" -- AC_FIND_FILE(pqxx/pqxx, $pqxx_incdirs, pqxx_incdir) -- if test -r $pqxx_incdir/pqxx/pqxx; then -- PQXX_INCDIR=$pqxx_incdir -- AC_MSG_RESULT([$PQXX_INCDIR]) -- AC_SUBST(PQXX_INCDIR) -- else -- compile_pgsql_plugin="no" -- AC_MSG_RESULT([not found]) -- fi --fi -- --dnl ======================================== --dnl libpqxx libraries --dnl ======================================== --if test "$compile_pgsql_plugin" = "yes"; then -- AC_MSG_CHECKING([for PostgreSQL C++ libraries]) -- pqxx_libdirs="$ac_pqxx_libdir /usr/local/lib$kdelibsuff /usr/lib$kdelibsuff" -- AC_FIND_FILE(libpqxx.so, $pqxx_libdirs, pqxx_libdir) -- if test -r $pqxx_libdir/libpqxx.so; then -- PQXX_LIBDIR=$pqxx_libdir -- AC_MSG_RESULT([$PQXX_LIBDIR]) -- AC_SUBST(PQXX_LIBDIR) -- else -- compile_pgsql_plugin="no" -- AC_MSG_RESULT([not found]) -- fi --fi -- --AM_CONDITIONAL(compile_pgsql_plugin, test "$compile_pgsql_plugin" = "yes") --dnl ======================================================= --dnl FILE: ./kexi/main/configure.in.in --dnl ======================================================= -- -- --dnl ====================================== --dnl KNewStuff Configuration --dnl ====================================== --dnl --dnl Copyright (C) 2004 Josef Spillner --dnl This file is to be used within KDE's build system. --dnl It defines $(LIB_KNEWSTUFF) if knewstuff has been found, --dnl and a HAVE_KNEWSTUFF #define statement is added. --dnl -- --AC_MSG_CHECKING([for KDE library: knewstuff]) -- --ac_knewstuff_includes=NO ac_knewstuff_libraries=NO --knewstuff_libraries="" --knewstuff_includes="" -- --AC_CACHE_VAL(ac_cv_have_knewstuff, --[ --AC_FIND_FILE(knewstuff/downloaddialog.h, $kde_incdirs, knewstuff_incdir) --ac_knewstuff_includes="$knewstuff_incdir" -- --AC_FIND_FILE(libknewstuff.so, $kde_libdirs, knewstuff_libdir) --ac_knewstuff_libraries="$knewstuff_libdir" -- --if test "$ac_knewstuff_includes" = NO || test "$ac_knewstuff_libraries" = NO; then -- ac_cv_have_knewstuff="have_knewstuff=no" -- ac_knewstuff_notfound="" --else -- have_knewstuff="yes" --fi --]) -- --eval "$ac_cv_have_knewstuff" -- --if test "$have_knewstuff" != yes; then -- AC_MSG_RESULT([$have_knewstuff]) --else -- AC_MSG_RESULT([$have_knewstuff (libraries $ac_knewstuff_libraries, headers $ac_knewstuff_includes)]) -- --dnl AC_DEFINE_UNQUOTED(HAVE_KNEWSTUFF, 1, [Add KNewStuff functionality.]) -- CXXFLAGS="$CXXFLAGS -DHAVE_KNEWSTUFF" -- -- LIB_KNEWSTUFF='-lknewstuff' -- AC_SUBST(LIB_KNEWSTUFF) --fi -- --AC_CHECK_FILE([kexi/3rdparty/kexifeedbackwizard/lib/kexifeedbackwizard.cpp], -- have_internal_feedback="yes" --, -- have_internal_feedback="no" --) -- --AC_MSG_CHECKING([for KDE library: kfeedbackwizard]) -- --ac_kfeedback_includes=NO ac_kfeedback_libraries=NO --kfeedback_libraries="" --kfeedback_includes="" -- --AC_CACHE_VAL(ac_cv_have_kfeedback, --[ --AC_FIND_FILE(kfeedbackwizard.h, $kde_incdirs, kfeedback_incdir) --ac_kfeedback_includes="$kfeedback_incdir" -- --AC_FIND_FILE(libkfeedbackwizard.so, $kde_libdirs, kfeedback_libdir) --ac_kfeedback_libraries="$kfeedback_libdir" -- --if test "$ac_kfeedback_includes" = NO || test "$ac_kfeedback_libraries" = NO; then -- ac_cv_have_kfeedback="have_kfeedback=no" -- ac_kfeedback_notfound="" --else -- have_kfeedback="yes" --fi --]) -- --eval "$ac_cv_have_kfeedback" -- --INC_KFEEDBACK='' --LIB_KFEEDBACK='' --if test "$have_kfeedback" != yes; then -- if test "$have_internal_feedback" = yes; then -- CXXFLAGS="$CXXFLAGS -DFEEDBACK_CLASS=KexiFeedbackWizard -DFEEDBACK_INCLUDE=\"\"" -- use_kexifb="yes" -- AC_MSG_RESULT([using internal]) -- INC_KFEEDBACK='-I../3rdparty/kexifeedbackwizard/lib' -- LIB_KFEEDBACK='../3rdparty/kexifeedbackwizard/lib/libkexifeedbackwizard.la' -- else -- use_kexifb="no" -- AC_MSG_RESULT([dont use]) -- fi --else -- use_kexifb="no" -- AC_MSG_RESULT([$have_kfeedback (libraries $ac_kfeedback_libraries, headers $ac_kfeedback_includes)]) -- --dnl AC_DEFINE_UNQUOTED(HAVE_KFEEDBACK, 1, [Add KNewStuff functionality.]) -- CXXFLAGS="$CXXFLAGS -DFEEDBACK_CLASS=KFeedbackWizard -DFEEDBACK_INCLUDE=\"\"" -- -- LIB_KFEEDBACK='-lkfeedbackwizard' --fi --AC_SUBST(LIB_KFEEDBACK) --AC_SUBST(INC_KFEEDBACK) --AM_CONDITIONAL(use_kexifeedback, test "$use_kexifb" = "yes") --dnl ======================================================= --dnl FILE: ./kexi/migration/configure.in.in --dnl ======================================================= -- --# KexiMDB isn't built as part of Kexi right now. --#AC_ARG_ENABLE(keximdb, --# AC_HELP_STRING([--enable-keximdb], --# [build KexiMDB (MS Access) plugin [default=no]]), --# compile_keximdb_plugin=$enableval, compile_keximdb_plugin=no) --# --#AM_CONDITIONAL(compile_keximdb_plugin, test "x$compile_keximdb_plugin" != "xno") --dnl ======================================================= --dnl FILE: ./kexi/plugins/configure.in.in --dnl ======================================================= -- --# disabled --#AC_ARG_ENABLE(kexi-reports, --# AC_HELP_STRING([--enable-kexi-reports], --# [build Kexi reports plugin (EXPERIMENTAL) [default=no]]), --# compile_kexi_reports_plugin=$enableval, compile_kexi_reports_plugin=no) --#AM_CONDITIONAL(compile_kexi_reports_plugin, test "x$compile_kexi_reports_plugin" != "xno") --# --#if test "$compile_kexi_reports_plugin" == "yes"; then --# AC_DEFINE(KEXI_REPORTS_SUPPORT, 1, [build Kexi reports plugin]) --#fi -- --AC_ARG_ENABLE(kexi-macros, -- AC_HELP_STRING([--enable-kexi-macros], -- [build Kexi macro plugin (EXPERIMENTAL) [default=yes]]), -- compile_kexi_macros_plugin=$enableval, compile_kexi_macros_plugin=no) --AM_CONDITIONAL(compile_kexi_macros_plugin, test "x$compile_kexi_macros_plugin" == "xyes") -- --if test "$compile_kexi_macros_plugin" == "yes"; then -- AC_DEFINE(KEXI_MACROS_SUPPORT, 1, [build Kexi macros plugin]) --fi --dnl ======================================================= --dnl FILE: ./kexi/plugins/macros/configure.in.in --dnl ======================================================= -- --# Check for kunittest --AC_MSG_CHECKING([for kunittest]) -- --# First we check if the console unittester could be compiled --have_kunittest_header="no" --KDE_CHECK_HEADER(kunittest/tester.h, have_kunittest_header="yes", , ) --AM_CONDITIONAL(include_kunittest, test "$have_kunittest_header" = "yes") -- --# Second we check if the GUI-unittester could be compiled --have_kunittestgui_header="no" --KDE_CHECK_HEADER(kunittest/runnergui.h, have_kunittestgui_header="yes", , ) --AM_CONDITIONAL(include_kunittestgui, test "$have_kunittestgui_header" = "yes") -- --dnl ======================================================= --dnl FILE: ./kivio/configure.in.in --dnl ======================================================= -- --dnl Do we have Python? --KDE_CHECK_PYTHON --dnl ======================================================= --dnl FILE: ./kpresenter/configure.in.in --dnl ======================================================= -- --AC_HAVE_DPMS() --dnl ======================================================= --dnl FILE: ./chalk/configure.in.in --dnl ======================================================= -- --KDE_CHECK_LIB(Xi, XOpenDisplay, [ -- LIB_XINPUTEXT="-lXi" -- AC_DEFINE(HAVE_XINPUTEXT, 1, [Define if you have the X11 Input Extension]) -- ]) --AC_SUBST(LIB_XINPUTEXT) -- --# Check for lcms --AC_MSG_CHECKING([for lcms >= 1.15]) -- --have_lcms_header='no' --KDE_CHECK_HEADER(lcms/lcms.h,have_lcms_header='yes',,) --if test "$have_lcms_header" = 'yes' --then -- AC_DEFINE(LCMS_HEADER, , [The correct header]) -- HAVELCMS="yes" -- LCMS_LIBS="-llcms" -- -- echo "#include " > conftest.$ac_ext -- echo "#if LCMS_VERSION < 115" >> conftest.$ac_ext -- echo "#error Need lcms >= 1.15" >> conftest.$ac_ext -- echo "#endif" >> conftest.$ac_ext -- echo "int main() {}" >> conftest.$ac_ext -- --else -- # Alternative! Debian does it this way... -- KDE_CHECK_HEADER(lcms.h,have_lcms_header='yes',,) -- -- if test "$have_lcms_header" = 'yes' -- then -- AC_DEFINE(LCMS_HEADER, , [The correct header]) -- HAVELCMS="yes" -- LCMS_LIBS="-llcms" -- -- echo "#include " > conftest.$ac_ext -- echo "#if LCMS_VERSION < 115" >> conftest.$ac_ext -- echo "#error Need lcms >= 1.15" >> conftest.$ac_ext -- echo "#endif" >> conftest.$ac_ext -- echo "int main() {}" >> conftest.$ac_ext -- else -- KDE_CHECK_HEADER(lcms.h,have_lcms_header='yes',,) -- # and now debian also does it this way... can't they decide for one way of doing stuff ? -- -- AC_DEFINE(LCMS_HEADER, , [The correct header]) -- HAVELCMS="yes" -- LCMS_LIBS="-llcms" -- -- echo "#include " > conftest.$ac_ext -- echo "#if LCMS_VERSION < 115" >> conftest.$ac_ext -- echo "#error Need lcms >= 1.15" >> conftest.$ac_ext -- echo "#endif" >> conftest.$ac_ext -- echo "int main() {}" >> conftest.$ac_ext -- -- fi --fi -- --AC_SUBST(LCMS_LIBS) -- --# IM 6.1.3 changed the number of arguments to GetMagickInfoList -- --AC_MSG_CHECKING(if GetMagickInfoList has only 2 arguments) --CPPFLAGS_TMP="$CPPFLAGS" # Save preprocessor flags --CPPFLAGS="$LIBMAGICK_CPPFLAGS" -- --AC_TRY_COMPILE( -- [#include -- #if HAVE_SYS_TYPES_H -- #include -- #endif -- #include "magick/api.h"], -- [const char *pattern; unsigned long ncolors; (void)GetMagickInfoList(pattern, &ncolors)], -- magick_info_list='yes', -- magick_info_list='no') -- --CPPFLAGS="$CPPFLAGS_TMP" # Restore preprocessor flags -- --if test "$magick_info_list" = 'yes'; then -- AC_MSG_RESULT(yes) -- AC_DEFINE([HAVE_OLD_GETMAGICKINFOLIST], 1, [GetMagickInfoList has different number of arguments with versions >= 6.1.3]) --else -- AC_MSG_RESULT(no) --fi -- --# Check for kunittest --AC_MSG_CHECKING([for kunittest]) -- --have_kunittest_header="no" --KDE_CHECK_HEADER(kunittest/tester.h, have_kunittest_header="yes", , ) --AM_CONDITIONAL(include_kunittest_tests, test "$have_kunittest_header" = "yes") -- --# --- OpenGL check --- -- --AC_HAVE_GL( [], [] ) -- --# --- End of OpenGL check --- -- --# Check for powf. -- --AC_CHECK_FUNC(powf, [have_powf="yes"], [AC_CHECK_LIB(m, powf, [have_powf="yes"], [have_powf="no"])]) -- --if test "$have_powf" = 'yes'; then -- AC_DEFINE([HAVE_POWF], 1, [Define to 1 if your system has powf in ]) --fi\ --dnl ======================================================= --dnl FILE: ./chalk/plugins/configure.in.in --dnl ======================================================= -- --KDE_CHECK_HEADER(kjsembed/jsproxy_imp.h, have_kjsembed=yes, have_kjsembed=no) --AM_CONDITIONAL(use_kjsembed, test x$have_kjsembed = xyes) --dnl ======================================================= --dnl FILE: ./chalk/plugins/viewplugins/imagesize/configure.in.in --dnl ======================================================= -- --AC_CHECK_DECLS([round], [], [], [#include ]) --dnl ======================================================= --dnl FILE: ./kspread/plugins/calculator/configure.in.in --dnl ======================================================= -- --AC_CHECK_HEADERS(ieeefp.h) -- --AC_CHECK_FUNCS(fabsl) -- --AC_DEFUN([KDE_C_LONG_DOUBLE], --[ -- AC_CACHE_CHECK(for long double, ac_cv_c_long_double, -- [ -- AC_TRY_RUN( -- [ --#include --#include --#include --#include -- --int main() { --/* The Stardent Vistra knows sizeof(long double), but does not support it. */ --long double foo = 1.0; --char buffer[10]; --/* On Ultrix 4.3 cc, long double is 4 and double is 8. */ --int result = (sizeof(long double) < sizeof(double)); --/* the following is needed for a broken printf in glibc2 */ --if (!result) { -- foo = foo * 3; -- sprintf(buffer,"%0.0Lf",foo); -- result = strcmp(buffer, "3"); --/* and now something mean ;-) */ -- foo = powl(fabsl(foo), 1); --} --exit(result); } -- ], -- ac_cv_c_long_double=yes, ac_cv_c_long_double=no, -- ac_cv_c_long_double=no -- ) -- ]) -- if test $ac_cv_c_long_double = yes; then -- AC_DEFINE(HAVE_LONG_DOUBLE, 1, [Define if you have support for long double in printf]) -- fi --]) --KDE_C_LONG_DOUBLE -- --AC_LANG_C --KDE_CHECK_LIB(m, isinf, [ -- AC_DEFINE_UNQUOTED(HAVE_FUNC_ISINF, 1, [Define if you have isinf]) --]) --dnl ======================================================= --dnl FILE: ./kword/mailmerge/configure.in.in --dnl ======================================================= -- --dnl only compile the sql plugin if qt was compiled with sql support -- -- --AC_MSG_CHECKING([for SQL support in QT]) -- --LIBS_SAVE_KWSL="$LIBS" --CXXFLAGS_SAVE_KWSL="$CXXFLAGS" --CFLAGS_SAVE_KWSL="$CFLAGS" -- --AC_LANG_SAVE --AC_LANG_CPLUSPLUS -- --LIBS="$all_libraries -lqimgio -lpng -lz $LIBJPEG $LIBQT" --CXXFLAGS="$CXXFLAGS -I$qt_includes $all_includes" -- --AC_TRY_COMPILE([ --#include --], --[ --#ifdef QT_NO_SQL --#error "No QT-SQL support" --#endif --], --ac_trycompile_kwsl_qtsql=yes, --ac_trycompile_kwsl_qtsql=no) -- --CXXFLAGS="$CXXFLAGS_SAVE_KWSL" --LIBS="$LIBS_SAVE_KWSL" --AC_LANG_RESTORE -- --if eval "test \"`echo $ac_trycompile_kwsl_qtsql`\" = yes"; then -- SQLDIR=sql -- AC_SUBST(SQLDIR) -- AC_MSG_RESULT([QT supports SQL - compile qtsqlmailmerge]) --else -- SQLDIR= -- AC_SUBST(SQLDIR) -- AC_MSG_RESULT([QT supports SQL -- qtsqlmailmerge will not be built]) --fi -- --AM_CONDITIONAL(include_sql, test -n "$SQLDIR") --dnl ======================================================= --dnl FILE: ./lib/configure.in.in --dnl ======================================================= -- --AC_SUBST(KWMF_INCLUDES, '-I$(top_srcdir)/lib/kwmf -I$(top_builddir)/lib/kwmf') --AC_SUBST(KSTORE_INCLUDES, '-I$(top_srcdir)/lib/store -I$(top_builddir)/lib/store') --AC_SUBST(KOTEXT_INCLUDES, '-I$(top_srcdir)/lib/kotext -I$(top_builddir)/lib/kotext') --AC_SUBST(KOPAINTER_INCLUDES, '-I$(top_srcdir)/lib/kopainter -I$(top_builddir)/lib/kopainter') --AC_SUBST(KOPALETTE_INCLUDES, '-I$(top_srcdir)/lib/kopalette -I$(top_builddir)/lib/kopalette') --AC_SUBST(KOFFICECORE_INCLUDES, '-I$(top_srcdir)/lib/kofficecore -I$(top_builddir)/lib/kofficecore') --AC_SUBST(KOFFICEUI_INCLUDES, '-I$(top_srcdir)/lib/kofficeui -I$(top_builddir)/lib/kofficeui') --AC_SUBST(KFORMULA_INCLUDES, '-I$(top_srcdir)/lib/kformula -I$(top_builddir)/lib/kformula') --dnl those are included with e.g. --AC_SUBST(KOPROPERTY_INCLUDES, '-I$(top_srcdir)/lib -I$(top_builddir)/lib') --AC_SUBST(KROSS_INCLUDES, '-I$(top_srcdir)/lib/kross -I$(top_builddir)/lib/kross') --AC_SUBST(LIB_KOFFICEUI, '$(top_builddir)/lib/kofficeui/libkofficeui.la') --AC_SUBST(LIB_KOFFICECORE, '$(top_builddir)/lib/kofficecore/libkofficecore.la') --AC_SUBST(LIB_KSTORE, '$(top_builddir)/lib/store/libkstore.la') --AC_SUBST(LIB_KOTEXT, '$(top_builddir)/lib/kotext/libkotext.la') --AC_SUBST(LIB_KOPAINTER, '$(top_builddir)/lib/kopainter/libkopainter.la') --AC_SUBST(LIB_KOPALETTE, '$(top_builddir)/lib/kopalette/libkopalette.la') --AC_SUBST(LIB_KWMF, '$(top_builddir)/lib/kwmf/libkwmf.la') --AC_SUBST(LIB_KOWMF, '$(top_builddir)/lib/kwmf/libkowmf.la') --AC_SUBST(LIB_KFORMULA, '$(top_builddir)/lib/kformula/libkformulalib.la') --AC_SUBST(LIB_KOPROPERTY, '$(top_builddir)/lib/koproperty/libkoproperty.la') --AC_SUBST(LIB_KROSS_API, '$(top_builddir)/lib/kross/api/libkrossapi.la') --AC_SUBST(LIB_KROSS_MAIN, '$(top_builddir)/lib/kross/main/libkrossmain.la') -- --AC_SUBST(interfacedir, '$(top_srcdir)/lib/interfaces') --AC_SUBST(KOFFICE_LIBS, '$(LIB_KOFFICEUI) $(LIB_KOFFICECORE) $(LIB_KSTORE)') --AC_SUBST(KOFFICE_INCLUDES, '$(KOFFICEUI_INCLUDES) $(KOFFICECORE_INCLUDES) $(KSTORE_INCLUDES) $(KWMF_INCLUDES) $(KOPALETTE_INCLUDES)') -- --AC_DEFINE_UNQUOTED(PREFIX,"$prefix",[Define the PREFIX where to install this package]) -- --dnl ======================================================= --dnl FILE: ./lib/kotext/configure.in.in --dnl ======================================================= -- -- AC_LANG_SAVE -- AC_LANG_C -- dnl Check for aspell library -- KDE_CHECK_HEADERS([kspell2/broker.h]) -- if test "x$ac_cv_header_kspell2_broker_h" = "xyes"; then -- dnl the header and the lib exist -> ok -- dnl this is for config.h -- AC_DEFINE(HAVE_LIBKSPELL2, 1, [If we are going to use libkspell2 for spell-checking]) -- LIBKSPELL2="-lkspell2" -- AC_MSG_RESULT([found in $ac_kspell2_includes]) -- else -- LIBKSPELL2="" -- AC_MSG_RESULT([not found -- spell-checking will be disabled]) -- fi -- AC_SUBST(LIBKSPELL2) -- AC_LANG_RESTORE --dnl ======================================================= --dnl FILE: ./lib/kross/configure.in.in --dnl ======================================================= -- --AC_ARG_ENABLE(scripting, -- AC_HELP_STRING([--enable-scripting], -- [build scripting library (Kross) [default=yes]]), -- compile_kross=$enableval, compile_kross=yes) --AM_CONDITIONAL(compile_kross, test "x$compile_kross" = "xyes") -- --############################### --# Check if Python is installed. -- --if test "x$compile_kross" = "xyes" ; then -- #KDE_CHECK_PYTHON(2.3) -- KDE_CHECK_PYTHON --fi -- --# Compile the Kross python plugin only if both, $LIBPYTHON and --# $PYTHONINC, are defined. --AM_CONDITIONAL(compile_kross_python, -- test -n "$LIBPYTHON" && test -n "$PYTHONINC") -- --############################### --# Check for Ruby -- --if test "x$compile_kross" = "xyes" ; then -- AC_CHECK_PROGS([RUBY], [ruby ruby1.8 ruby18 ruby1.9 ruby19], ruby) -- -- if test -n "$RUBY"; then -- AC_MSG_CHECKING(for Ruby dirs) -- # Note: pkgconfig file exists only for ruby >= 1.9.3 -- if test -n "$PKGCONFIG"; then -- RUBY_VERSION=`$PKGCONFIG ruby --modversion 2>/dev/null` -- if test -n "$RUBY_VERSION"; then -- RUBY_CFLAGS=`$PKGCONFIG ruby --cflags` -- fi -- if test -z "$RUBY_VERSION"; then -- RUBY_VERSION=`$PKGCONFIG ruby-1.9 --modversion 2>/dev/null` -- if test -n "$RUBY_VERSION"; then -- RUBY_CFLAGS=`$PKGCONFIG ruby-1.9 --cflags` -- fi -- fi -- if test -z "$RUBY_VERSION"; then -- # pkgconfig file does not exist but might be 1.9.1: RUBY_VERSION defined in ruby/version.h -- if test -n "$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"rubyhdrdir"@:>@)'"; then -- # rubyhdrdir parameter works only in >=1.9.1; this is 1.9.1 -- RUBY_MAJOR=`$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"['MAJOR']"@:>@)'` -- RUBY_MINOR=`$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"['MINOR']"@:>@)'` -- RUBY_TEENY=`$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"['TEENY']"@:>@)'` -- if test "$RUBY_MAJOR" == "1" && test "$RUBY_MINOR" == "9"; then -- RUBY_VERSION="$RUBY_MAJOR.$RUBY_MINOR.$RUBY_TEENY" -- RUBY_CFLAGS="-I`$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"rubyhdrdir"@:>@)'`" -- RUBY_CFLAGS="$RUBY_CFLAGS/`$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"arch"@:>@)'` $RUBY_CFLAGS" -- if test -n "`$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"LIBRUBYARG_SHARED"@:>@)'`"; then -- RUBY_ENABLESHARED=yes -- fi -- fi -- fi -- fi -- if test -n "$RUBY_VERSION"; then -- RUBY_ARCHDIR=`$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"archdir"@:>@)'` -- RUBY_SITEARCHDIR=`$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"sitearchdir"@:>@)'` -- RUBY_SITEDIR=`$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"sitelibdir"@:>@)'` -- RUBY_RUBYLIBDIR=`$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"rubylibdir"@:>@)'` -- RUBY_LIBDIR=`$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"libdir"@:>@)'` -- RUBY_INCLUDEDIR=`$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"rubyhdrdir"@:>@)'` -- RUBY_LIBRUBYARG=`$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"LIBRUBYARG_SHARED"@:>@)'` -- AC_DEFINE_UNQUOTED(HAVE_RUBY_1_9, 1, [Defines if your system has Ruby 1.9.x]) -- fi -- fi -- if test -z "$RUBY_VERSION"; then -- RUBY_ARCHDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"archdir"@:>@)'` -- RUBY_SITEARCHDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"sitearchdir"@:>@)'` -- RUBY_SITEDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"sitelibdir"@:>@)'` -- RUBY_RUBYLIBDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"rubylibdir"@:>@)'` -- RUBY_LIBDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"libdir"@:>@)'` -- RUBY_INCLUDEDIR=$RUBY_ARCHDIR -- RUBY_LIBRUBYARG=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"LIBRUBYARG_SHARED"@:>@)'` -- fi -- AC_MSG_RESULT([ -- archdir $RUBY_ARCHDIR, -- sitearchdir $RUBY_SITEARCHDIR, -- sitedir $RUBY_SITEDIR, -- rubylibdir $RUBY_RUBYLIBDIR, -- libdir $RUBY_LIBDIR, -- includedir $RUBY_INCLUDEDIR, -- librubyarg $RUBY_LIBRUBYARG, -- cflags $RUBY_CFLAGS]) -- AC_SUBST(RUBY_ARCHDIR) -- AC_SUBST(RUBY_SITEARCHDIR) -- AC_SUBST(RUBY_RUBYLIBDIR) -- AC_SUBST(RUBY_INCLUDEDIR) -- AC_SUBST(RUBY_LIBRUBYARG) -- AC_SUBST(RUBY_SITEDIR) -- AC_SUBST(RUBY_CFLAGS) -- -- AC_MSG_CHECKING(for Ruby header) -- -- if test ! -r $RUBY_INCLUDEDIR/ruby.h; then -- # if $RUBY_INCLUDEDIR is not valid try to use $RUBY_ARCHDIR -- RUBY_INCLUDEDIR=$RUBY_ARCHDIR -- fi -- -- if test ! -r $RUBY_INCLUDEDIR/ruby.h; then -- RUBY_LIBDIR="" -- AC_MSG_RESULT([not found]) -- else -- AC_MSG_RESULT([found]) # header -- -- AC_MSG_CHECKING(Ruby shared library) -- if test "x$RUBY_ENABLESHARED" != "xyes" ; then -- AC_MSG_RESULT([shared library not found]) -- RUBY_LIBDIR="" -- else -- if test -z "$RUBY_LIBRUBYARG" ; then -- AC_MSG_RESULT([link argument not found]) -- RUBY_LIBDIR="" -- else -- AC_MSG_RESULT([found]) # shared library link arg -- -- AC_MSG_CHECKING([if C++ program with ruby can be compiled]) -- AC_LANG_SAVE -- AC_LANG_CPLUSPLUS -- ac_save_CXXFLAGS="$CXXFLAGS" -- CXXFLAGS="$CXXFLAGS -I$RUBY_INCLUDEDIR" -- AC_CACHE_VAL(ruby_build, -- [ -- AC_TRY_COMPILE([ -- #include -- #include -- ],[ -- --#if(RUBY_VERSION_MAJOR==1 && RUBY_VERSION_MINOR == 8 && RUBY_VERSION_TEENY <= 1) --#error "need at least ruby 1.8.2\n" --#endif -- -- ruby_init(); -- return 0; -- ], ruby_build=yes, -- ruby_build=no) -- ]) -- AC_MSG_RESULT($ruby_build) -- if test "$ruby_build" = "no"; then -- RUBY_LIBDIR="" -- fi -- CXXFLAGS="$ac_save_CXXFLAGS" -- AC_LANG_RESTORE -- fi # have ruby shared lib argument -- fi # have shared lib -- fi # have ruby header -- fi # have ruby --fi # compiling kross -- --AM_CONDITIONAL(compile_kross_ruby, test -n "$RUBY_LIBDIR") --KDE_CREATE_SUBDIRSLIST --AM_CONDITIONAL(lib_SUBDIR_included, test "x$lib_SUBDIR_included" = xyes) --AM_CONDITIONAL(interfaces_SUBDIR_included, test "x$interfaces_SUBDIR_included" = xyes) --AM_CONDITIONAL(autocorrect_SUBDIR_included, test "x$autocorrect_SUBDIR_included" = xyes) --AM_CONDITIONAL(doc_SUBDIR_included, test "x$doc_SUBDIR_included" = xyes) --AM_CONDITIONAL(example_SUBDIR_included, test "x$example_SUBDIR_included" = xyes) --AM_CONDITIONAL(karbon_SUBDIR_included, test "x$karbon_SUBDIR_included" = xyes) --AM_CONDITIONAL(kchart_SUBDIR_included, test "x$kchart_SUBDIR_included" = xyes) --AM_CONDITIONAL(kdgantt_SUBDIR_included, test "x$kdgantt_SUBDIR_included" = xyes) --AM_CONDITIONAL(kformula_SUBDIR_included, test "x$kformula_SUBDIR_included" = xyes) --AM_CONDITIONAL(kivio_SUBDIR_included, test "x$kivio_SUBDIR_included" = xyes) --AM_CONDITIONAL(koshell_SUBDIR_included, test "x$koshell_SUBDIR_included" = xyes) --AM_CONDITIONAL(kounavail_SUBDIR_included, test "x$kounavail_SUBDIR_included" = xyes) --AM_CONDITIONAL(kpresenter_SUBDIR_included, test "x$kpresenter_SUBDIR_included" = xyes) --AM_CONDITIONAL(chalk_SUBDIR_included, test "x$chalk_SUBDIR_included" = xyes) --AM_CONDITIONAL(kspread_SUBDIR_included, test "x$kspread_SUBDIR_included" = xyes) --AM_CONDITIONAL(kugar_SUBDIR_included, test "x$kugar_SUBDIR_included" = xyes) --AM_CONDITIONAL(mimetypes_SUBDIR_included, test "x$mimetypes_SUBDIR_included" = xyes) --AM_CONDITIONAL(pics_SUBDIR_included, test "x$pics_SUBDIR_included" = xyes) --AM_CONDITIONAL(plugins_SUBDIR_included, test "x$plugins_SUBDIR_included" = xyes) --AM_CONDITIONAL(servicetypes_SUBDIR_included, test "x$servicetypes_SUBDIR_included" = xyes) --AM_CONDITIONAL(templates_SUBDIR_included, test "x$templates_SUBDIR_included" = xyes) --AM_CONDITIONAL(tools_SUBDIR_included, test "x$tools_SUBDIR_included" = xyes) --AM_CONDITIONAL(kword_SUBDIR_included, test "x$kword_SUBDIR_included" = xyes) --AM_CONDITIONAL(kplato_SUBDIR_included, test "x$kplato_SUBDIR_included" = xyes) --AM_CONDITIONAL(kexi_SUBDIR_included, test "x$kexi_SUBDIR_included" = xyes) --AM_CONDITIONAL(filters_SUBDIR_included, test "x$filters_SUBDIR_included" = xyes) --AC_CONFIG_FILES([ Makefile ]) --AC_CONFIG_FILES([ autocorrect/Makefile ]) --AC_CONFIG_FILES([ doc/Makefile ]) --AC_CONFIG_FILES([ doc/karbon/Makefile ]) --AC_CONFIG_FILES([ doc/kchart/Makefile ]) --AC_CONFIG_FILES([ doc/kexi/Makefile ]) --AC_CONFIG_FILES([ doc/kformula/Makefile ]) --AC_CONFIG_FILES([ doc/kivio/Makefile ]) --AC_CONFIG_FILES([ doc/koffice/Makefile ]) --AC_CONFIG_FILES([ doc/koshell/Makefile ]) --AC_CONFIG_FILES([ doc/kplato/Makefile ]) --AC_CONFIG_FILES([ doc/kpresenter/Makefile ]) --AC_CONFIG_FILES([ doc/chalk/Makefile ]) --AC_CONFIG_FILES([ doc/kspread/Makefile ]) --AC_CONFIG_FILES([ doc/kugar/Makefile ]) --AC_CONFIG_FILES([ doc/kword/Makefile ]) --AC_CONFIG_FILES([ doc/thesaurus/Makefile ]) --AC_CONFIG_FILES([ example/Makefile ]) --AC_CONFIG_FILES([ filters/Makefile ]) --AC_CONFIG_FILES([ filters/generic_wrapper/Makefile ]) --AC_CONFIG_FILES([ filters/karbon/Makefile ]) --AC_CONFIG_FILES([ filters/karbon/ai/Makefile ]) --AC_CONFIG_FILES([ filters/karbon/applixgraphics/Makefile ]) --AC_CONFIG_FILES([ filters/karbon/eps/Makefile ]) --AC_CONFIG_FILES([ filters/karbon/kontour/Makefile ]) --AC_CONFIG_FILES([ filters/karbon/msod/Makefile ]) --AC_CONFIG_FILES([ filters/karbon/oodraw/Makefile ]) --AC_CONFIG_FILES([ filters/karbon/png/Makefile ]) --AC_CONFIG_FILES([ filters/karbon/svg/Makefile ]) --AC_CONFIG_FILES([ filters/karbon/wmf/Makefile ]) --AC_CONFIG_FILES([ filters/karbon/xaml/Makefile ]) --AC_CONFIG_FILES([ filters/karbon/xcf/Makefile ]) --AC_CONFIG_FILES([ filters/kchart/Makefile ]) --AC_CONFIG_FILES([ filters/kchart/bmp/Makefile ]) --AC_CONFIG_FILES([ filters/kchart/jpeg/Makefile ]) --AC_CONFIG_FILES([ filters/kchart/libimageexport/Makefile ]) --AC_CONFIG_FILES([ filters/kchart/mng/Makefile ]) --AC_CONFIG_FILES([ filters/kchart/png/Makefile ]) --AC_CONFIG_FILES([ filters/kchart/svg/Makefile ]) --AC_CONFIG_FILES([ filters/kchart/xbm/Makefile ]) --AC_CONFIG_FILES([ filters/kchart/xpm/Makefile ]) --AC_CONFIG_FILES([ filters/kformula/Makefile ]) --AC_CONFIG_FILES([ filters/kformula/latex/Makefile ]) --AC_CONFIG_FILES([ filters/kformula/mathml/Makefile ]) --AC_CONFIG_FILES([ filters/kformula/png/Makefile ]) --AC_CONFIG_FILES([ filters/kformula/svg/Makefile ]) --AC_CONFIG_FILES([ filters/kivio/Makefile ]) --AC_CONFIG_FILES([ filters/kivio/imageexport/Makefile ]) --AC_CONFIG_FILES([ filters/kpresenter/Makefile ]) --AC_CONFIG_FILES([ filters/kpresenter/bmp/Makefile ]) --AC_CONFIG_FILES([ filters/kpresenter/jpeg/Makefile ]) --AC_CONFIG_FILES([ filters/kpresenter/kword/Makefile ]) --AC_CONFIG_FILES([ filters/kpresenter/libimageexport/Makefile ]) --AC_CONFIG_FILES([ filters/kpresenter/magicpoint/Makefile ]) --AC_CONFIG_FILES([ filters/kpresenter/mng/Makefile ]) --AC_CONFIG_FILES([ filters/kpresenter/ooimpress/Makefile ]) --AC_CONFIG_FILES([ filters/kpresenter/png/Makefile ]) --AC_CONFIG_FILES([ filters/kpresenter/powerpoint/Makefile ]) --AC_CONFIG_FILES([ filters/kpresenter/powerpoint/import/Makefile ]) --AC_CONFIG_FILES([ filters/kpresenter/powerpoint/libppt/Makefile ]) --AC_CONFIG_FILES([ filters/kpresenter/svg/Makefile ]) --AC_CONFIG_FILES([ filters/kpresenter/xbm/Makefile ]) --AC_CONFIG_FILES([ filters/kpresenter/xpm/Makefile ]) --AC_CONFIG_FILES([ filters/chalk/Makefile ]) --AC_CONFIG_FILES([ filters/chalk/gmagick/Makefile ]) --AC_CONFIG_FILES([ filters/chalk/jpeg/Makefile ]) --AC_CONFIG_FILES([ filters/chalk/libkisexif/Makefile ]) --AC_CONFIG_FILES([ filters/chalk/magick/Makefile ]) --AC_CONFIG_FILES([ filters/chalk/openexr/Makefile ]) --AC_CONFIG_FILES([ filters/chalk/pdf/Makefile ]) --AC_CONFIG_FILES([ filters/chalk/png/Makefile ]) --AC_CONFIG_FILES([ filters/chalk/raw/Makefile ]) --AC_CONFIG_FILES([ filters/chalk/tiff/Makefile ]) --AC_CONFIG_FILES([ filters/chalk/xcf/Makefile ]) --AC_CONFIG_FILES([ filters/kspread/Makefile ]) --AC_CONFIG_FILES([ filters/kspread/applixspread/Makefile ]) --AC_CONFIG_FILES([ filters/kspread/csv/Makefile ]) --AC_CONFIG_FILES([ filters/kspread/dbase/Makefile ]) --AC_CONFIG_FILES([ filters/kspread/excel/Makefile ]) --AC_CONFIG_FILES([ filters/kspread/excel/import/Makefile ]) --AC_CONFIG_FILES([ filters/kspread/excel/sidewinder/Makefile ]) --AC_CONFIG_FILES([ filters/kspread/gnumeric/Makefile ]) --AC_CONFIG_FILES([ filters/kspread/html/Makefile ]) --AC_CONFIG_FILES([ filters/kspread/kexi/Makefile ]) --AC_CONFIG_FILES([ filters/kspread/latex/Makefile ]) --AC_CONFIG_FILES([ filters/kspread/latex/export/Makefile ]) --AC_CONFIG_FILES([ filters/kspread/libkspreadexport/Makefile ]) --AC_CONFIG_FILES([ filters/kspread/opencalc/Makefile ]) --AC_CONFIG_FILES([ filters/kspread/qpro/Makefile ]) --AC_CONFIG_FILES([ filters/kspread/qpro/libqpro/Makefile ]) --AC_CONFIG_FILES([ filters/kspread/qpro/libqpro/qpro/Makefile ]) --AC_CONFIG_FILES([ filters/kspread/qpro/libqpro/src/Makefile ]) --AC_CONFIG_FILES([ filters/kugar/Makefile ]) --AC_CONFIG_FILES([ filters/kugar/kugarnop/Makefile ]) --AC_CONFIG_FILES([ filters/kword/Makefile ]) --AC_CONFIG_FILES([ filters/kword/abiword/Makefile ]) --AC_CONFIG_FILES([ filters/kword/amipro/Makefile ]) --AC_CONFIG_FILES([ filters/kword/applixword/Makefile ]) --AC_CONFIG_FILES([ filters/kword/ascii/Makefile ]) --AC_CONFIG_FILES([ filters/kword/docbook/Makefile ]) --AC_CONFIG_FILES([ filters/kword/hancomword/Makefile ]) --AC_CONFIG_FILES([ filters/kword/html/Makefile ]) --AC_CONFIG_FILES([ filters/kword/html/export/Makefile ]) --AC_CONFIG_FILES([ filters/kword/html/import/Makefile ]) --AC_CONFIG_FILES([ filters/kword/kword1.3/Makefile ]) --AC_CONFIG_FILES([ filters/kword/kword1.3/import/Makefile ]) --AC_CONFIG_FILES([ filters/kword/latex/Makefile ]) --AC_CONFIG_FILES([ filters/kword/latex/export/Makefile ]) --AC_CONFIG_FILES([ filters/kword/latex/import/Makefile ]) --AC_CONFIG_FILES([ filters/kword/latex/import/generator/Makefile ]) --AC_CONFIG_FILES([ filters/kword/latex/import/parser/Makefile ]) --AC_CONFIG_FILES([ filters/kword/libexport/Makefile ]) --AC_CONFIG_FILES([ filters/kword/msword/Makefile ]) --AC_CONFIG_FILES([ filters/kword/mswrite/Makefile ]) --AC_CONFIG_FILES([ filters/kword/oowriter/Makefile ]) --AC_CONFIG_FILES([ filters/kword/palmdoc/Makefile ]) --AC_CONFIG_FILES([ filters/kword/pdf/Makefile ]) --AC_CONFIG_FILES([ filters/kword/pdf/xpdf/Makefile ]) --AC_CONFIG_FILES([ filters/kword/pdf/xpdf/goo/Makefile ]) --AC_CONFIG_FILES([ filters/kword/pdf/xpdf/xpdf/Makefile ]) --AC_CONFIG_FILES([ filters/kword/rtf/Makefile ]) --AC_CONFIG_FILES([ filters/kword/rtf/export/Makefile ]) --AC_CONFIG_FILES([ filters/kword/rtf/import/Makefile ]) --AC_CONFIG_FILES([ filters/kword/starwriter/Makefile ]) --AC_CONFIG_FILES([ filters/kword/wml/Makefile ]) --AC_CONFIG_FILES([ filters/kword/wordperfect/Makefile ]) --AC_CONFIG_FILES([ filters/kword/wordperfect/export/Makefile ]) --AC_CONFIG_FILES([ filters/kword/wordperfect/import/Makefile ]) --AC_CONFIG_FILES([ filters/libdialogfilter/Makefile ]) --AC_CONFIG_FILES([ filters/liboofilter/Makefile ]) --AC_CONFIG_FILES([ filters/olefilters/Makefile ]) --AC_CONFIG_FILES([ filters/olefilters/lib/Makefile ]) --AC_CONFIG_FILES([ filters/olefilters/powerpoint97/Makefile ]) --AC_CONFIG_FILES([ filters/xsltfilter/Makefile ]) --AC_CONFIG_FILES([ filters/xsltfilter/export/Makefile ]) --AC_CONFIG_FILES([ filters/xsltfilter/export/xsl/Makefile ]) --AC_CONFIG_FILES([ filters/xsltfilter/export/xsl/kword/Makefile ]) --AC_CONFIG_FILES([ filters/xsltfilter/export/xsl/kword/xslfo/Makefile ]) --AC_CONFIG_FILES([ filters/xsltfilter/import/Makefile ]) --AC_CONFIG_FILES([ interfaces/Makefile ]) --AC_CONFIG_FILES([ karbon/Makefile ]) --AC_CONFIG_FILES([ karbon/commands/Makefile ]) --AC_CONFIG_FILES([ karbon/core/Makefile ]) --AC_CONFIG_FILES([ karbon/data/Makefile ]) --AC_CONFIG_FILES([ karbon/dialogs/Makefile ]) --AC_CONFIG_FILES([ karbon/dockers/Makefile ]) --AC_CONFIG_FILES([ karbon/pics/Makefile ]) --AC_CONFIG_FILES([ karbon/plugins/Makefile ]) --AC_CONFIG_FILES([ karbon/plugins/flattenpath/Makefile ]) --AC_CONFIG_FILES([ karbon/plugins/imagetool/Makefile ]) --AC_CONFIG_FILES([ karbon/plugins/insertknots/Makefile ]) --AC_CONFIG_FILES([ karbon/plugins/roundcorners/Makefile ]) --AC_CONFIG_FILES([ karbon/plugins/shadoweffect/Makefile ]) --AC_CONFIG_FILES([ karbon/plugins/whirlpinch/Makefile ]) --AC_CONFIG_FILES([ karbon/plugins/zoomtool/Makefile ]) --AC_CONFIG_FILES([ karbon/render/Makefile ]) --AC_CONFIG_FILES([ karbon/render/xrgbrender/Makefile ]) --AC_CONFIG_FILES([ karbon/shapes/Makefile ]) --AC_CONFIG_FILES([ karbon/templates/Makefile ]) --AC_CONFIG_FILES([ karbon/templates/basic/Makefile ]) --AC_CONFIG_FILES([ karbon/tools/Makefile ]) --AC_CONFIG_FILES([ karbon/visitors/Makefile ]) --AC_CONFIG_FILES([ karbon/widgets/Makefile ]) --AC_CONFIG_FILES([ kchart/Makefile ]) --AC_CONFIG_FILES([ kchart/kdchart/Makefile ]) --AC_CONFIG_FILES([ kchart/pics/Makefile ]) --AC_CONFIG_FILES([ kchart/templates/Makefile ]) --AC_CONFIG_FILES([ kchart/toolbar/Makefile ]) --AC_CONFIG_FILES([ kchart/toolbar/crystalsvg/Makefile ]) --AC_CONFIG_FILES([ kchart/toolbar/locolor/Makefile ]) --AC_CONFIG_FILES([ kdgantt/Makefile ]) --AC_CONFIG_FILES([ kexi/Makefile ]) --AC_CONFIG_FILES([ kexi/3rdparty/Makefile ]) --AC_CONFIG_FILES([ kexi/3rdparty/kexisql/Makefile ]) --AC_CONFIG_FILES([ kexi/3rdparty/kexisql/src/Makefile ]) --AC_CONFIG_FILES([ kexi/3rdparty/kexisql/tool/Makefile ]) --AC_CONFIG_FILES([ kexi/3rdparty/kexisql3/Makefile ]) --AC_CONFIG_FILES([ kexi/3rdparty/kexisql3/src/Makefile ]) --AC_CONFIG_FILES([ kexi/3rdparty/kolibs/Makefile ]) --AC_CONFIG_FILES([ kexi/3rdparty/uuid/Makefile ]) --AC_CONFIG_FILES([ kexi/core/Makefile ]) --AC_CONFIG_FILES([ kexi/data/Makefile ]) --AC_CONFIG_FILES([ kexi/data/trinity4compat/Makefile ]) --AC_CONFIG_FILES([ kexi/examples/Makefile ]) --AC_CONFIG_FILES([ kexi/formeditor/Makefile ]) --AC_CONFIG_FILES([ kexi/formeditor/factories/Makefile ]) --AC_CONFIG_FILES([ kexi/formeditor/kdevelop_plugin/Makefile ]) --AC_CONFIG_FILES([ kexi/formeditor/scripting/Makefile ]) --AC_CONFIG_FILES([ kexi/formeditor/test/Makefile ]) --AC_CONFIG_FILES([ kexi/kexidb/Makefile ]) --AC_CONFIG_FILES([ kexi/kexidb/drivers/Makefile ]) --AC_CONFIG_FILES([ kexi/kexidb/drivers/mySQL/Makefile ]) --AC_CONFIG_FILES([ kexi/kexidb/drivers/odbc/Makefile ]) --AC_CONFIG_FILES([ kexi/kexidb/drivers/pqxx/Makefile ]) --AC_CONFIG_FILES([ kexi/kexidb/drivers/sqlite/Makefile ]) --AC_CONFIG_FILES([ kexi/kexidb/drivers/sqlite2/Makefile ]) --AC_CONFIG_FILES([ kexi/kexidb/parser/Makefile ]) --AC_CONFIG_FILES([ kexi/kexiutils/Makefile ]) --AC_CONFIG_FILES([ kexi/main/Makefile ]) --AC_CONFIG_FILES([ kexi/main/printing/Makefile ]) --AC_CONFIG_FILES([ kexi/main/startup/Makefile ]) --AC_CONFIG_FILES([ kexi/migration/Makefile ]) --AC_CONFIG_FILES([ kexi/migration/mysql/Makefile ]) --AC_CONFIG_FILES([ kexi/migration/pqxx/Makefile ]) --AC_CONFIG_FILES([ kexi/migration/txt/Makefile ]) --AC_CONFIG_FILES([ kexi/pics/Makefile ]) --AC_CONFIG_FILES([ kexi/plugins/Makefile ]) --AC_CONFIG_FILES([ kexi/plugins/forms/Makefile ]) --AC_CONFIG_FILES([ kexi/plugins/forms/widgets/Makefile ]) --AC_CONFIG_FILES([ kexi/plugins/importexport/Makefile ]) --AC_CONFIG_FILES([ kexi/plugins/importexport/csv/Makefile ]) --AC_CONFIG_FILES([ kexi/plugins/macros/Makefile ]) --AC_CONFIG_FILES([ kexi/plugins/macros/kexiactions/Makefile ]) --AC_CONFIG_FILES([ kexi/plugins/macros/kexipart/Makefile ]) --AC_CONFIG_FILES([ kexi/plugins/macros/lib/Makefile ]) --AC_CONFIG_FILES([ kexi/plugins/macros/tests/Makefile ]) --AC_CONFIG_FILES([ kexi/plugins/migration/Makefile ]) --AC_CONFIG_FILES([ kexi/plugins/queries/Makefile ]) --AC_CONFIG_FILES([ kexi/plugins/relations/Makefile ]) --AC_CONFIG_FILES([ kexi/plugins/reports/Makefile ]) --AC_CONFIG_FILES([ kexi/plugins/scripting/Makefile ]) --AC_CONFIG_FILES([ kexi/plugins/scripting/kexiapp/Makefile ]) --AC_CONFIG_FILES([ kexi/plugins/scripting/kexidb/Makefile ]) --AC_CONFIG_FILES([ kexi/plugins/scripting/kexiscripting/Makefile ]) --AC_CONFIG_FILES([ kexi/plugins/scripting/scripts/Makefile ]) --AC_CONFIG_FILES([ kexi/plugins/scripting/scripts/copycenter/Makefile ]) --AC_CONFIG_FILES([ kexi/plugins/scripting/scripts/exportxhtml/Makefile ]) --AC_CONFIG_FILES([ kexi/plugins/scripting/scripts/importxhtml/Makefile ]) --AC_CONFIG_FILES([ kexi/plugins/scripting/scripts/projectdocumentor/Makefile ]) --AC_CONFIG_FILES([ kexi/plugins/scripting/scripts/python/Makefile ]) --AC_CONFIG_FILES([ kexi/plugins/scripting/scripts/python/kexiapp/Makefile ]) --AC_CONFIG_FILES([ kexi/plugins/tables/Makefile ]) --AC_CONFIG_FILES([ kexi/tests/Makefile ]) --AC_CONFIG_FILES([ kexi/tests/altertable/Makefile ]) --AC_CONFIG_FILES([ kexi/tests/newapi/Makefile ]) --AC_CONFIG_FILES([ kexi/tests/parser/Makefile ]) --AC_CONFIG_FILES([ kexi/tests/startup/Makefile ]) --AC_CONFIG_FILES([ kexi/tests/tableview/Makefile ]) --AC_CONFIG_FILES([ kexi/tests/widgets/Makefile ]) --AC_CONFIG_FILES([ kexi/tools/Makefile ]) --AC_CONFIG_FILES([ kexi/tools/add_column/Makefile ]) --AC_CONFIG_FILES([ kexi/tools/delete_column/Makefile ]) --AC_CONFIG_FILES([ kexi/widget/Makefile ]) --AC_CONFIG_FILES([ kexi/widget/relations/Makefile ]) --AC_CONFIG_FILES([ kexi/widget/tableview/Makefile ]) --AC_CONFIG_FILES([ kexi/widget/utils/Makefile ]) --AC_CONFIG_FILES([ kformula/Makefile ]) --AC_CONFIG_FILES([ kformula/pics/Makefile ]) --AC_CONFIG_FILES([ kivio/Makefile ]) --AC_CONFIG_FILES([ kivio/kiviopart/Makefile ]) --AC_CONFIG_FILES([ kivio/kiviopart/config/Makefile ]) --AC_CONFIG_FILES([ kivio/kiviopart/kiviosdk/Makefile ]) --AC_CONFIG_FILES([ kivio/kiviopart/pics/Makefile ]) --AC_CONFIG_FILES([ kivio/kiviopart/stencils/Makefile ]) --AC_CONFIG_FILES([ kivio/kiviopart/stencils/Dia/Makefile ]) --AC_CONFIG_FILES([ kivio/kiviopart/stencils/Dia/Assorted/Makefile ]) --AC_CONFIG_FILES([ kivio/kiviopart/stencils/Dia/Circuit/Makefile ]) --AC_CONFIG_FILES([ kivio/kiviopart/stencils/Dia/Cisco/Makefile ]) --AC_CONFIG_FILES([ kivio/kiviopart/stencils/Dia/Civil/Makefile ]) --AC_CONFIG_FILES([ kivio/kiviopart/stencils/Dia/Contact/Makefile ]) --AC_CONFIG_FILES([ kivio/kiviopart/stencils/Dia/Electric/Makefile ]) --AC_CONFIG_FILES([ kivio/kiviopart/stencils/Dia/Jigsaw/Makefile ]) --AC_CONFIG_FILES([ kivio/kiviopart/stencils/Dia/MSE/Makefile ]) --AC_CONFIG_FILES([ kivio/kiviopart/stencils/Dia/Network/Makefile ]) --AC_CONFIG_FILES([ kivio/kiviopart/stencils/Dia/Pneumatic/Makefile ]) --AC_CONFIG_FILES([ kivio/kiviopart/stencils/Dia/SDL/Makefile ]) --AC_CONFIG_FILES([ kivio/kiviopart/stencils/Dia/Sybase/Makefile ]) --AC_CONFIG_FILES([ kivio/kiviopart/stencils/Flowcharting/Makefile ]) --AC_CONFIG_FILES([ kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/Makefile ]) --AC_CONFIG_FILES([ kivio/kiviopart/stencils/Flowcharting/Extended/Makefile ]) --AC_CONFIG_FILES([ kivio/kiviopart/stencils/Flowcharting/Logic/Makefile ]) --AC_CONFIG_FILES([ kivio/kiviopart/stencils/Geographic/Makefile ]) --AC_CONFIG_FILES([ kivio/kiviopart/stencils/Geographic/Flags/Makefile ]) --AC_CONFIG_FILES([ kivio/kiviopart/stencils/Geographic/Maps/Makefile ]) --AC_CONFIG_FILES([ kivio/kiviopart/stencils/Hardware/Makefile ]) --AC_CONFIG_FILES([ kivio/kiviopart/stencils/Hardware/Computer/Makefile ]) --AC_CONFIG_FILES([ kivio/kiviopart/stencils/Hardware/Miscellaneous/Makefile ]) --AC_CONFIG_FILES([ kivio/kiviopart/stencils/Miscellaneous/Makefile ]) --AC_CONFIG_FILES([ kivio/kiviopart/stencils/Miscellaneous/Arrows/Makefile ]) --AC_CONFIG_FILES([ kivio/kiviopart/stencils/Miscellaneous/Buildings/Makefile ]) --AC_CONFIG_FILES([ kivio/kiviopart/stencils/Miscellaneous/ER/Makefile ]) --AC_CONFIG_FILES([ kivio/kiviopart/stencils/Miscellaneous/NassiShneiderman/Makefile ]) --AC_CONFIG_FILES([ kivio/kiviopart/stencils/Miscellaneous/People/Makefile ]) --AC_CONFIG_FILES([ kivio/kiviopart/stencils/Miscellaneous/Transport/Makefile ]) --AC_CONFIG_FILES([ kivio/kiviopart/stencils/UML/Makefile ]) --AC_CONFIG_FILES([ kivio/kiviopart/stencils/UML/ActivityDiagrams/Makefile ]) --AC_CONFIG_FILES([ kivio/kiviopart/stencils/UML/ClassDiagrams/Makefile ]) --AC_CONFIG_FILES([ kivio/kiviopart/tiles/Makefile ]) --AC_CONFIG_FILES([ kivio/kiviopart/tools/Makefile ]) --AC_CONFIG_FILES([ kivio/kiviopart/ui/Makefile ]) --AC_CONFIG_FILES([ kivio/plugins/Makefile ]) --AC_CONFIG_FILES([ kivio/plugins/kivioconnectortool/Makefile ]) --AC_CONFIG_FILES([ kivio/plugins/kivioconnectortool/straight_connector/Makefile ]) --AC_CONFIG_FILES([ kivio/plugins/kivioselecttool/Makefile ]) --AC_CONFIG_FILES([ kivio/plugins/kivioselecttool/select_pics/Makefile ]) --AC_CONFIG_FILES([ kivio/plugins/kiviosmlconnector/Makefile ]) --AC_CONFIG_FILES([ kivio/plugins/kiviosmlconnector/sml_connector/Makefile ]) --AC_CONFIG_FILES([ kivio/plugins/kiviotargettool/Makefile ]) --AC_CONFIG_FILES([ kivio/plugins/kiviotexttool/Makefile ]) --AC_CONFIG_FILES([ kivio/plugins/kiviozoomtool/Makefile ]) --AC_CONFIG_FILES([ kivio/plugins/kiviozoomtool/zoom_pics/Makefile ]) --AC_CONFIG_FILES([ kivio/templates/Makefile ]) --AC_CONFIG_FILES([ kivio/templates/basic/Makefile ]) --AC_CONFIG_FILES([ koshell/Makefile ]) --AC_CONFIG_FILES([ kounavail/Makefile ]) --AC_CONFIG_FILES([ kplato/Makefile ]) --AC_CONFIG_FILES([ kplato/pics/Makefile ]) --AC_CONFIG_FILES([ kplato/reports/Makefile ]) --AC_CONFIG_FILES([ kplato/templates/Makefile ]) --AC_CONFIG_FILES([ kplato/templates/Simple/Makefile ]) --AC_CONFIG_FILES([ kplato/tests/Makefile ]) --AC_CONFIG_FILES([ kplato/toolbar/Makefile ]) --AC_CONFIG_FILES([ kpresenter/Makefile ]) --AC_CONFIG_FILES([ kpresenter/autoformEdit/Makefile ]) --AC_CONFIG_FILES([ kpresenter/autoforms/Makefile ]) --AC_CONFIG_FILES([ kpresenter/autoforms/Arrows/Makefile ]) --AC_CONFIG_FILES([ kpresenter/autoforms/Connections/Makefile ]) --AC_CONFIG_FILES([ kpresenter/dtd/Makefile ]) --AC_CONFIG_FILES([ kpresenter/pics/Makefile ]) --AC_CONFIG_FILES([ kpresenter/pics/rotate/Makefile ]) --AC_CONFIG_FILES([ kpresenter/slideshow/Makefile ]) --AC_CONFIG_FILES([ kpresenter/templates/Makefile ]) --AC_CONFIG_FILES([ kpresenter/templates/A4/Makefile ]) --AC_CONFIG_FILES([ kpresenter/templates/Screen/Makefile ]) --AC_CONFIG_FILES([ kpresenter/templates/Screenpresentations/Makefile ]) --AC_CONFIG_FILES([ kpresenter/templates/common_icon/Makefile ]) --AC_CONFIG_FILES([ kpresenter/templates/legal/Makefile ]) --AC_CONFIG_FILES([ kpresenter/templates/letter/Makefile ]) --AC_CONFIG_FILES([ kpresenter/toolbar/Makefile ]) --AC_CONFIG_FILES([ chalk/Makefile ]) --AC_CONFIG_FILES([ chalk/colorspaces/Makefile ]) --AC_CONFIG_FILES([ chalk/colorspaces/cmyk_u16/Makefile ]) --AC_CONFIG_FILES([ chalk/colorspaces/cmyk_u8/Makefile ]) --AC_CONFIG_FILES([ chalk/colorspaces/cmyk_u8/templates/Makefile ]) --AC_CONFIG_FILES([ chalk/colorspaces/gray_u16/Makefile ]) --AC_CONFIG_FILES([ chalk/colorspaces/gray_u8/Makefile ]) --AC_CONFIG_FILES([ chalk/colorspaces/gray_u8/templates/Makefile ]) --AC_CONFIG_FILES([ chalk/colorspaces/gray_u8/tests/Makefile ]) --AC_CONFIG_FILES([ chalk/colorspaces/lms_f32/Makefile ]) --AC_CONFIG_FILES([ chalk/colorspaces/rgb_f16half/Makefile ]) --AC_CONFIG_FILES([ chalk/colorspaces/rgb_f16half/tests/Makefile ]) --AC_CONFIG_FILES([ chalk/colorspaces/rgb_f32/Makefile ]) --AC_CONFIG_FILES([ chalk/colorspaces/rgb_f32/tests/Makefile ]) --AC_CONFIG_FILES([ chalk/colorspaces/rgb_u16/Makefile ]) --AC_CONFIG_FILES([ chalk/colorspaces/rgb_u16/tests/Makefile ]) --AC_CONFIG_FILES([ chalk/colorspaces/rgb_u8/Makefile ]) --AC_CONFIG_FILES([ chalk/colorspaces/rgb_u8/templates/Makefile ]) --AC_CONFIG_FILES([ chalk/colorspaces/rgb_u8/tests/Makefile ]) --AC_CONFIG_FILES([ chalk/colorspaces/wet/Makefile ]) --AC_CONFIG_FILES([ chalk/colorspaces/wetsticky/Makefile ]) --AC_CONFIG_FILES([ chalk/colorspaces/wetsticky/brushop/Makefile ]) --AC_CONFIG_FILES([ chalk/colorspaces/ycbcr_u16/Makefile ]) --AC_CONFIG_FILES([ chalk/colorspaces/ycbcr_u8/Makefile ]) --AC_CONFIG_FILES([ chalk/core/Makefile ]) --AC_CONFIG_FILES([ chalk/core/tests/Makefile ]) --AC_CONFIG_FILES([ chalk/core/tiles/Makefile ]) --AC_CONFIG_FILES([ chalk/core/tiles/tests/Makefile ]) --AC_CONFIG_FILES([ chalk/data/Makefile ]) --AC_CONFIG_FILES([ chalk/data/brushes/Makefile ]) --AC_CONFIG_FILES([ chalk/data/gradients/Makefile ]) --AC_CONFIG_FILES([ chalk/data/images/Makefile ]) --AC_CONFIG_FILES([ chalk/data/palettes/Makefile ]) --AC_CONFIG_FILES([ chalk/data/patterns/Makefile ]) --AC_CONFIG_FILES([ chalk/data/profiles/Makefile ]) --AC_CONFIG_FILES([ chalk/dtd/Makefile ]) --AC_CONFIG_FILES([ chalk/chalkcolor/Makefile ]) --AC_CONFIG_FILES([ chalk/chalkcolor/colorspaces/Makefile ]) --AC_CONFIG_FILES([ chalk/chalkcolor/tests/Makefile ]) --AC_CONFIG_FILES([ chalk/pics/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/filters/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/filters/blur/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/filters/bumpmap/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/filters/cimg/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/filters/colorify/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/filters/colors/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/filters/colorsfilters/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/filters/convolutionfilters/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/filters/cubismfilter/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/filters/embossfilter/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/filters/example/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/filters/fastcolortransfer/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/filters/imageenhancement/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/filters/lenscorrectionfilter/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/filters/levelfilter/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/filters/noisefilter/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/filters/oilpaintfilter/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/filters/pixelizefilter/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/filters/raindropsfilter/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/filters/randompickfilter/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/filters/roundcorners/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/filters/smalltilesfilter/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/filters/sobelfilter/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/filters/threadtest/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/filters/unsharp/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/filters/wavefilter/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/paintops/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/paintops/defaultpaintops/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/tools/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/tools/defaulttools/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/tools/selectiontools/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/tools/tool_crop/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/tools/tool_curves/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/tools/tool_filter/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/tools/tool_perspectivegrid/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/tools/tool_perspectivetransform/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/tools/tool_polygon/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/tools/tool_polyline/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/tools/tool_selectsimilar/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/tools/tool_star/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/tools/tool_transform/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/viewplugins/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/viewplugins/colorrange/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/viewplugins/colorspaceconversion/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/viewplugins/dropshadow/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/viewplugins/filtersgallery/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/viewplugins/histogram/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/viewplugins/histogram_docker/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/viewplugins/history_docker/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/viewplugins/imagesize/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/viewplugins/modify_selection/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/viewplugins/performancetest/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/viewplugins/rotateimage/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/viewplugins/screenshot/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/viewplugins/scripting/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/viewplugins/scripting/chalkcore/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/viewplugins/scripting/chalkscripting/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/viewplugins/scripting/samples/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/viewplugins/scripting/samples/python/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/viewplugins/scripting/samples/ruby/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/viewplugins/selectopaque/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/viewplugins/separate_channels/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/viewplugins/shearimage/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/viewplugins/substrate/Makefile ]) --AC_CONFIG_FILES([ chalk/plugins/viewplugins/variations/Makefile ]) --AC_CONFIG_FILES([ chalk/sdk/Makefile ]) --AC_CONFIG_FILES([ chalk/ui/Makefile ]) --AC_CONFIG_FILES([ kspread/Makefile ]) --AC_CONFIG_FILES([ kspread/dialogs/Makefile ]) --AC_CONFIG_FILES([ kspread/dtd/Makefile ]) --AC_CONFIG_FILES([ kspread/extensions/Makefile ]) --AC_CONFIG_FILES([ kspread/pics/Makefile ]) --AC_CONFIG_FILES([ kspread/plugins/Makefile ]) --AC_CONFIG_FILES([ kspread/plugins/calculator/Makefile ]) --AC_CONFIG_FILES([ kspread/plugins/calculator/pics/Makefile ]) --AC_CONFIG_FILES([ kspread/plugins/insertcalendar/Makefile ]) --AC_CONFIG_FILES([ kspread/plugins/scripting/Makefile ]) --AC_CONFIG_FILES([ kspread/plugins/scripting/kspreadcore/Makefile ]) --AC_CONFIG_FILES([ kspread/plugins/scripting/scripts/Makefile ]) --AC_CONFIG_FILES([ kspread/plugins/scripting/scripts/exporthtml/Makefile ]) --AC_CONFIG_FILES([ kspread/plugins/scripting/scripts/scripteditor/Makefile ]) --AC_CONFIG_FILES([ kspread/sheetstyles/Makefile ]) --AC_CONFIG_FILES([ kspread/templates/Makefile ]) --AC_CONFIG_FILES([ kspread/templates/Business/Makefile ]) --AC_CONFIG_FILES([ kspread/templates/General/Makefile ]) --AC_CONFIG_FILES([ kspread/templates/HomeFamily/Makefile ]) --AC_CONFIG_FILES([ kspread/tests/Makefile ]) --AC_CONFIG_FILES([ kspread/toolbar/Makefile ]) --AC_CONFIG_FILES([ kspread/toolbar/crystalsvg/Makefile ]) --AC_CONFIG_FILES([ kugar/Makefile ]) --AC_CONFIG_FILES([ kugar/kudesigner/Makefile ]) --AC_CONFIG_FILES([ kugar/kudesigner/pics/Makefile ]) --AC_CONFIG_FILES([ kugar/kudesigner/templates/Makefile ]) --AC_CONFIG_FILES([ kugar/kudesigner/templates/General/Makefile ]) --AC_CONFIG_FILES([ kugar/kudesigner/toolbar/Makefile ]) --AC_CONFIG_FILES([ kugar/kudesigner_lib/Makefile ]) --AC_CONFIG_FILES([ kugar/lib/Makefile ]) --AC_CONFIG_FILES([ kugar/part/Makefile ]) --AC_CONFIG_FILES([ kugar/samples/Makefile ]) --AC_CONFIG_FILES([ kword/Makefile ]) --AC_CONFIG_FILES([ kword/data/Makefile ]) --AC_CONFIG_FILES([ kword/dtd/Makefile ]) --AC_CONFIG_FILES([ kword/expression/Makefile ]) --AC_CONFIG_FILES([ kword/horizontalline/Makefile ]) --AC_CONFIG_FILES([ kword/mailmerge/Makefile ]) --AC_CONFIG_FILES([ kword/mailmerge/kabc/Makefile ]) --AC_CONFIG_FILES([ kword/mailmerge/kspread/Makefile ]) --AC_CONFIG_FILES([ kword/mailmerge/sql/Makefile ]) --AC_CONFIG_FILES([ kword/pics/Makefile ]) --AC_CONFIG_FILES([ kword/templates/Makefile ]) --AC_CONFIG_FILES([ kword/templates/CardsAndLabels/Makefile ]) --AC_CONFIG_FILES([ kword/templates/Envelopes/Makefile ]) --AC_CONFIG_FILES([ kword/templates/Wordprocessing/Makefile ]) --AC_CONFIG_FILES([ kword/tests/Makefile ]) --AC_CONFIG_FILES([ kword/toolbar/Makefile ]) --AC_CONFIG_FILES([ lib/Makefile ]) --AC_CONFIG_FILES([ lib/kformula/Makefile ]) --AC_CONFIG_FILES([ lib/kformula/config/Makefile ]) --AC_CONFIG_FILES([ lib/kformula/dtd/Makefile ]) --AC_CONFIG_FILES([ lib/kformula/fonts/Makefile ]) --AC_CONFIG_FILES([ lib/kformula/pics/Makefile ]) --AC_CONFIG_FILES([ lib/kformula/pics/crystalsvg/Makefile ]) --AC_CONFIG_FILES([ lib/kofficecore/Makefile ]) --AC_CONFIG_FILES([ lib/kofficecore/tests/Makefile ]) --AC_CONFIG_FILES([ lib/kofficeui/Makefile ]) --AC_CONFIG_FILES([ lib/kofficeui/pics/Makefile ]) --AC_CONFIG_FILES([ lib/kofficeui/tests/Makefile ]) --AC_CONFIG_FILES([ lib/kopainter/Makefile ]) --AC_CONFIG_FILES([ lib/kopalette/Makefile ]) --AC_CONFIG_FILES([ lib/koproperty/Makefile ]) --AC_CONFIG_FILES([ lib/koproperty/editors/Makefile ]) --AC_CONFIG_FILES([ lib/koproperty/test/Makefile ]) --AC_CONFIG_FILES([ lib/kotext/Makefile ]) --AC_CONFIG_FILES([ lib/kotext/kohyphen/Makefile ]) --AC_CONFIG_FILES([ lib/kotext/kohyphen/hyphdicts/Makefile ]) --AC_CONFIG_FILES([ lib/kotext/tests/Makefile ]) --AC_CONFIG_FILES([ lib/kross/Makefile ]) --AC_CONFIG_FILES([ lib/kross/api/Makefile ]) --AC_CONFIG_FILES([ lib/kross/main/Makefile ]) --AC_CONFIG_FILES([ lib/kross/python/Makefile ]) --AC_CONFIG_FILES([ lib/kross/python/cxx/Makefile ]) --AC_CONFIG_FILES([ lib/kross/python/scripts/Makefile ]) --AC_CONFIG_FILES([ lib/kross/python/scripts/RestrictedPython/Makefile ]) --AC_CONFIG_FILES([ lib/kross/ruby/Makefile ]) --AC_CONFIG_FILES([ lib/kross/runner/Makefile ]) --AC_CONFIG_FILES([ lib/kross/test/Makefile ]) --AC_CONFIG_FILES([ lib/kwmf/Makefile ]) --AC_CONFIG_FILES([ lib/store/Makefile ]) --AC_CONFIG_FILES([ lib/store/tests/Makefile ]) --AC_CONFIG_FILES([ mimetypes/Makefile ]) --AC_CONFIG_FILES([ mimetypes/trinity3/Makefile ]) --AC_CONFIG_FILES([ mimetypes/trinity51/Makefile ]) --AC_CONFIG_FILES([ pics/Makefile ]) --AC_CONFIG_FILES([ pics/crystalsvg/Makefile ]) --AC_CONFIG_FILES([ plugins/Makefile ]) --AC_CONFIG_FILES([ plugins/scan/Makefile ]) --AC_CONFIG_FILES([ servicetypes/Makefile ]) --AC_CONFIG_FILES([ templates/Makefile ]) --AC_CONFIG_FILES([ tools/Makefile ]) --AC_CONFIG_FILES([ tools/converter/Makefile ]) --AC_CONFIG_FILES([ tools/kfile-plugins/Makefile ]) --AC_CONFIG_FILES([ tools/kfile-plugins/abiword/Makefile ]) --AC_CONFIG_FILES([ tools/kfile-plugins/gnumeric/Makefile ]) --AC_CONFIG_FILES([ tools/kfile-plugins/koffice/Makefile ]) --AC_CONFIG_FILES([ tools/kfile-plugins/ooo/Makefile ]) --AC_CONFIG_FILES([ tools/kthesaurus/Makefile ]) --AC_CONFIG_FILES([ tools/quickprint/Makefile ]) --AC_CONFIG_FILES([ tools/spell/Makefile ]) --AC_CONFIG_FILES([ tools/thesaurus/Makefile ]) --AC_CONFIG_FILES([ tools/thumbnail/Makefile ]) --AC_MSG_CHECKING([for filters to be compiled]) -- --if test -s $srcdir/inst-apps ; then -- SUBDIRLIST=`cat $srcdir/inst-apps` --else -- SUBDIRLIST=`cat $srcdir/subdirs` --fi -- --# fallback (KDE_CREATE_SUBDIRLIST has this fallback, so I have put it here too.) --if test -z "$SUBDIRLIST" ; then -- SUBDIRLIST=`ls -1 $srcdir` --fi -- --# first check which main apllication we could compile --for args in $SUBDIRLIST ; do -- case $args in -- kword) COMPILE_FILTER_KWORD="$args " ;; -- kspread) COMPILE_FILTER_KSPREAD="$args " ;; -- kchart) COMPILE_FILTER_KCHART="$args " ;; -- karbon) COMPILE_FILTER_KARBON="$args " ;; -- kpresenter) COMPILE_FILTER_KPRESENTER="$args " ;; -- kformula) COMPILE_FILTER_KFORMULA="$args " ;; -- kugar) COMPILE_FILTER_KUGAR="$args " ;; -- chalk) COMPILE_FILTER_KRITA="$args " ;; -- kivio) COMPILE_FILTER_KIVIO="$args " ;; -- kexi) COMPILE_FILTER_KEXI="$args " ;; -- esac --done -- --# now remove the applications the user has asked not to compile --for args in $DO_NOT_COMPILE ; do -- case $args in -- kword) COMPILE_FILTER_KWORD= ;; -- kspread) COMPILE_FILTER_KSPREAD= ;; -- kchart) COMPILE_FILTER_KCHART= ;; -- karbon) COMPILE_FILTER_KARBON= ;; -- kpresenter) COMPILE_FILTER_KPRESENTER= ;; -- kformula) COMPILE_FILTER_KFORMULA= ;; -- kugar) COMPILE_FILTER_KUGAR= ;; -- chalk) COMPILE_FILTER_KRITA= ;; -- kivio) COMPILE_FILTER_KIVIO= ;; -- kexi) COMPILE_FILTER_KEXI= ;; -- esac --done -- --USERFEEDBACKCOMPILE="$COMPILE_FILTER_KWORD$COMPILE_FILTER_KSPREAD$COMPILE_FILTER_KCHART$COMPILE_FILTER_KARBON$COMPILE_FILTER_KPRESENTER$COMPILE_FILTER_KFORMULA$COMPILE_FILTER_KUGAR" --AC_MSG_RESULT([$USERFEEDBACKCOMPILE]) -- --AM_CONDITIONAL(compile_filter_KWORD, test -n "$COMPILE_FILTER_KWORD") --AM_CONDITIONAL(compile_filter_KSPREAD, test -n "$COMPILE_FILTER_KSPREAD") --AM_CONDITIONAL(compile_filter_KCHART, test -n "$COMPILE_FILTER_KCHART") --AM_CONDITIONAL(compile_filter_KARBON, test -n "$COMPILE_FILTER_KARBON") --AM_CONDITIONAL(compile_filter_KPRESENTER, test -n "$COMPILE_FILTER_KPRESENTER") --AM_CONDITIONAL(compile_filter_KFORMULA, test -n "$COMPILE_FILTER_KFORMULA") --AM_CONDITIONAL(compile_filter_KUGAR, test -n "$COMPILE_FILTER_KUGAR") --AM_CONDITIONAL(compile_filter_KRITA, test -n "$COMPILE_FILTER_KRITA") --AM_CONDITIONAL(compile_filter_KIVIO, test -n "$COMPILE_FILTER_KIVIO") --AM_CONDITIONAL(compile_filter_KEXI, test -n "$COMPILE_FILTER_KEXI") --if test -s $srcdir/inst-apps ; then -- SUBDIRLIST=`cat $srcdir/inst-apps` --else -- SUBDIRLIST=`cat $srcdir/subdirs` --fi -- --# fallback (KDE_CREATE_SUBDIRLIST has this fallback, so I have put it here too.) --if test -z "$SUBDIRLIST" ; then -- SUBDIRLIST=`ls -1 $srcdir` --fi -- --# first check which main apllication we could compile --for args in $SUBDIRLIST ; do -- case $args in -- kugar) COMPILE_PLUGIN_KUGAR="$args " ;; -- esac --done -- --# now remove the applications the user has asked not to compile --for args in $DO_NOT_COMPILE ; do -- case $args in -- kugar) COMPILE_PLUGIN_KUGAR= ;; -- esac --done -- --AM_CONDITIONAL(compile_plugin_KUGAR, test -n "$COMPILE_PLUGIN_KUGAR") --if test -s $srcdir/inst-apps ; then -- SUBDIRLIST=`cat $srcdir/inst-apps` --else -- SUBDIRLIST=`cat $srcdir/subdirs` --fi -- --# fallback (KDE_CREATE_SUBDIRLIST has this fallback, so I have put it here too.) --if test -z "$SUBDIRLIST" ; then -- SUBDIRLIST=`ls -1 $srcdir` --fi -- --AC_MSG_CHECKING([whether only Kexi is being built]) --KEXI_ONLY=yes --for args in $SUBDIRLIST ; do -- case $args in -- lib) ;; -- kexi) ;; -- *) if test -d $srcdir/$args ; then -- KEXI_ONLY=no -- fi -- ;; -- esac --done --AC_MSG_RESULT([$KEXI_ONLY]) --AM_CONDITIONAL(compile_kexionly, test "$KEXI_ONLY" = "yes" ) -- --AC_MSG_CHECKING([whether kopainter should be compiled]) -- --# first check which main application we could compile --for args in $SUBDIRLIST ; do -- case $args in -- chalk) COMPILE_LIB_FOR_KRITA="$args " ;; -- karbon) COMPILE_LIB_FOR_KARBON="$args " ;; -- kivio) COMPILE_LIB_FOR_KIVIO="$args " ;; -- esac --done -- --# now remove the applications the user has asked not to compile --COMPILE_LIB_FOR_KPRESENTER="#" --for args in $DO_NOT_COMPILE ; do -- case $args in -- chalk) COMPILE_LIB_FOR_KRITA= ;; -- karbon) COMPILE_LIB_FOR_KARBON= ;; -- kivio) COMPILE_LIB_FOR_KIVIO= ;; -- kpresenter) COMPILE_LIB_FOR_KPRESENTER= ;; -- esac --done -- --if test -n "$COMPILE_LIB_FOR_KRITA$COMPILE_LIB_FOR_KARBON$COMPILE_LIB_FOR_KIVIO$COMPILE_LIB_FOR_KPRESENTER" ; then -- USERFEEDBACKCOMPILELIB="yes" --else -- USERFEEDBACKCOMPILELIB="no" --fi -- --AC_MSG_RESULT([$USERFEEDBACKCOMPILELIB]) -- --AM_CONDITIONAL(compile_lib_KOPAINTER, test "$USERFEEDBACKCOMPILELIB" = "yes" ) -- --AC_OUTPUT --if test -z "$LIBGMAGICK_LIBS" -a -z "$LIBMAGICK_LIBS"; then -- echo "" -- echo "You're missing GraphicsMagick (>=1.1.7). chalk's GraphicsMagick import/export" -- echo "filter will not be compiled. You can download GraphicsMagick from" -- echo "http://www.graphicsmagick.org/. The GraphicsMagick filter allows chalk to" -- echo "read and write XCF, PSD, GIF, BMP, and many other image formats." -- echo "" -- echo "If you have problems compiling GraphicsMagick, please try configuring it using" -- echo "the --without-magick-plus-plus flag, the C++ API isn't needed for chalk." -- echo "" -- all_tests=bad -- AC_DEFINE([include_imagemagick_filter],"",[don't use magick filter]) --fi -- --if test -z "$LIBGMAGICK_LIBS" -a ! -z "$LIBMAGICK_LIBS"; then -- -- echo "" -- echo "You're missing GraphicsMagick (>=1.1.7). chalk's GraphicsMagick import/export" -- echo "filter will not be compiled. But ImageMagick was found, which mean that chalk" -- echo "will be able to read and write XCF, PSD, GIF, BMP, and many other image formats." -- echo "But the ImageMagick filter is deprecated and we strongly advise you to install" -- echo "GraphicsMagick either from your distribution or from http://www.graphicsmagick.org/" --fi --if test -z "$LIBJPEG" -o -z "$LIBEXIF"; then -- echo "" -- echo "You're missing libjpeg or libexif 0.6.12 or later (binaries and/or headers)." -- echo "chalk won't be able to import/export jpeg" -- echo "" -- all_tests=bad --fi --# ImageMagick is deprecated, we don't care anymore if it's not here --# --#if test -z "$LIBMAGICK_LIBS"; then --# echo "" --# echo "You're missing ImageMagick (>=6.1.0). chalk's ImageMagick import/export" --# echo "filter will not be compiled. You can download ImageMagick from" --# echo "http://www.imagemagick.org/. The ImageMagick filter allows chalk to" --# echo "read and write XCF, PSD, GIF, BMP, and many other image formats." --# echo "" --# echo "If you have problems compiling ImageMagick, please try configuring it using" --# echo "the --without-magick-plus-plus flag, the C++ API isn't needed for chalk." --# echo "" --# all_tests=bad --#fi -- --if test -z "$OPENEXR_LIBS"; then -- echo "" -- echo "You're missing the OpenEXR library. Chalk's OpenEXR import/export filter will " -- echo "not be compiled. You can download OpenEXR from http://www.openexr.com or " -- echo "install it from an appropriate binary package." -- echo "" -- all_tests=bad --fi -- --if test -z "$POPPLER_LIBS"; then -- echo "" -- echo "You're missing libpoppler 0.5.1 or later (binaries and/or headers)." -- echo "chalk won't be able to import pdf" -- echo "note that the tqt-binding of libpoppler is required" -- echo "" --fi --if test -z "$LIBPNG"; then -- echo "" -- echo "You're missing libpng (binaries and/or headers), chalk won't be able" -- echo "to import/export png" -- echo "" -- all_tests=bad --fi -- --if test -z "$LIBTIFF"; then -- echo "" -- echo "You're missing libtiff (binaries and/or headers), chalk won't be able" -- echo "to import/export tiff" -- echo "" -- all_tests=bad --fi --if test -z "$LIBWV2_LIBS"; then -- echo "" -- echo "You're missing libwv2 0.1.9 or newer. KWord's MS Word filter will not be" -- echo "compiled. You can download wv2 using anonymous CVS from the Sourceforge" -- echo "repository (http://sourceforge.net/cvs/?group_id=10501) or get a" -- echo "tarball at http://sourceforge.net/projects/wvware/" --# echo "The MS Word filter won't be compiled due to experimental changes." -- echo "" -- all_tests=bad --fi --if test -z "$LIBWPD_LIBS"; then -- echo "" -- echo "You're missing libwpd 0.8 or newer. KWord's WordPerfect import filter will " -- echo "not be compiled. You can download libwpd from http://libwpd.sf.net or " -- echo "install it from appropriate binary package." -- echo "" -- all_tests=bad --fi --if test -z "$LIBXML_LIBS"; then -- echo "" -- echo "You're missing libxml2 (at least version 2.4.8)." -- echo "The XSLT filters will not be compiled." -- echo "Please download libxml2 from http://xmlsoft.org ." -- echo "" -- all_tests=bad --fi -- --if test -z "$LIBXSLT_LIBS"; then -- echo "" -- echo "You're missing libxslt (at least version 1.0.7)." -- echo "The XSLT filters will not be compiled." --# TODO: URL is not exacly right anymore -- echo "Please download libxml2 from http://xmlsoft.org ." -- echo "" -- all_tests=bad --fi -- --if test -z "$LIBART_LIBS"; then -- echo "" -- echo "You're missing libart 2.3.8. karbon will not be compiled." -- echo "You can download libart from" -- echo "http://svg.kde.org/download.html" -- echo "" -- all_tests=bad --else -- if test -z "$LIBFONTCONFIG_LIBS"; then -- echo "" -- echo "You're missing fontconfig 1.0.1 or newer. karbon will not have text support." -- echo "You can download fontconfig from http://fontconfig.org/" -- echo "" -- all_tests=bad -- fi -- -- if test -z "$LIBFREETYPE_LIBS"; then -- echo "" -- echo "You're missing libfreetype 5.0 or newer. karbon will not have text support." -- echo "You can download libfreetype from http://www.freetype.org/" -- echo "" -- all_tests=bad -- fi --fi --if test -z "$MYSQL_INC" -o -z "$MYSQL_LIBS"; then -- -- echo "----------------------------------------------------------------------" -- -- echo " + The MySQL development files were not found." -- cat <=2) -- --EOS -- fi -- --# SUMMARY messages -- cat <&1 >/dev/null -- if test $? -ne 0; then -- echo "" -- echo "Warning: you chose to install this package in $given_prefix," -- echo "but KDE was found in $kde_libs_prefix." -- echo "For this to work, you will need to tell KDE about the new prefix, by ensuring" -- echo "that KDEDIRS contains it, e.g. export KDEDIRS=$given_prefix:$kde_libs_prefix" -- echo "Then restart KDE." -- echo "" -- fi -- fi --fi -- --if test x$GXX = "xyes" -a x$kde_have_gcc_visibility = "xyes" -a x$kde_cv_val_qt_gcc_visibility_patched = "xno"; then -- echo "" -- echo "Your GCC supports symbol visibility, but the patch for Qt supporting visibility" -- echo "was not included. Therefore, GCC symbol visibility support remains disabled." -- echo "" -- echo "For better performance, consider including the Qt visibility supporting patch" -- echo "located at:" -- echo "" -- echo "http://bugs.kde.org/show_bug.cgi?id=109386" -- echo "" -- echo "and recompile all of Qt and KDE. Note, this is entirely optional and" -- echo "everything will continue to work just fine without it." -- echo "" --fi -- --if test "$all_tests" = "bad"; then -- if test ! "$cache_file" = "/dev/null"; then -- echo "" -- echo "Please remove the file $cache_file after changing your setup" -- echo "so that configure will find the changes next time." -- echo "" -- fi --else -- echo "" -- echo "Good - your configure finished. Start make now" -- echo "" --fi -diff --git a/filters/kword/wordperfect/configure.in.in b/filters/kword/wordperfect/configure.in.in -index a491966..d3b8353 100644 ---- a/filters/kword/wordperfect/configure.in.in -+++ b/filters/kword/wordperfect/configure.in.in -@@ -41,8 +41,6 @@ if test -z "$LIBWPD_LIBS"; then - - AC_DEFINE_UNQUOTED(HAVE_WPD, 1, [Defines if your system has the libwpd library]) - AC_DEFINE_UNQUOTED(HAVE_LIBWPD_090, 1, [Defines if your system has libpwd greater than or equal to v0.9.0]) -- -- AC_MSG_ERROR([[libwpd >= 0.9.0 is not yet supported!]]) - fi - fi - fi -diff --git a/filters/kword/wordperfect/import/WordPerfectCollector.hxx b/filters/kword/wordperfect/import/WordPerfectCollector.hxx -index d593224..fa3ec72 100644 ---- a/filters/kword/wordperfect/import/WordPerfectCollector.hxx -+++ b/filters/kword/wordperfect/import/WordPerfectCollector.hxx -@@ -77,13 +77,72 @@ struct ltstr - } - }; - -+#ifdef HAVE_LIBWPD_090 -+class WordPerfectCollector : public WPXDocumentInterface -+#else // HAVE_LIBWPD_090 - class WordPerfectCollector : public WPXHLListenerImpl -+#endif HAVE_LIBWPD_090 - { - public: - WordPerfectCollector(WPXInputStream *pInput, DocumentHandler *pHandler); - virtual ~WordPerfectCollector(); - bool filter(); - -+#ifdef HAVE_LIBWPD_090 -+ virtual void setDocumentMetaData(const WPXPropertyList &propList) {}; -+ virtual void startDocument(); -+ virtual void endDocument(); -+ virtual void definePageStyle(const WPXPropertyList &propList) {}; -+ virtual void openPageSpan(const WPXPropertyList &propList) {}; -+ virtual void closePageSpan() {}; -+ virtual void openHeader(const WPXPropertyList &propList) {}; -+ virtual void closeHeader() {}; -+ virtual void openFooter(const WPXPropertyList &propList) {}; -+ virtual void closeFooter() {}; -+ virtual void defineParagraphStyle(const WPXPropertyList &propList, const WPXPropertyListVector &tabStops) {}; -+ virtual void openParagraph(const WPXPropertyList &propList, const WPXPropertyListVector &tabStops); -+ virtual void closeParagraph(); -+ virtual void defineCharacterStyle(const WPXPropertyList &propList) {}; -+ virtual void openSpan(const WPXPropertyList &propList); -+ virtual void closeSpan(); -+ virtual void defineSectionStyle(const WPXPropertyList &propList, const WPXPropertyListVector &columns) {}; -+ virtual void openSection(const WPXPropertyList &propList, const WPXPropertyListVector &columns) {}; -+ virtual void closeSection() {}; -+ virtual void insertTab(); -+ virtual void insertSpace() {}; -+ virtual void insertText(const WPXString &text); -+ virtual void insertLineBreak(); -+ virtual void insertField(const WPXString &type, const WPXPropertyList &propList) {}; -+ virtual void defineOrderedListLevel(const WPXPropertyList &propList) {}; -+ virtual void defineUnorderedListLevel(const WPXPropertyList &propList) {}; -+ virtual void openOrderedListLevel(const WPXPropertyList &propList) {}; -+ virtual void openUnorderedListLevel(const WPXPropertyList &propList) {}; -+ virtual void closeOrderedListLevel() {}; -+ virtual void closeUnorderedListLevel() {}; -+ virtual void openListElement(const WPXPropertyList &propList, const WPXPropertyListVector &tabStops) {}; -+ virtual void closeListElement() {}; -+ virtual void openFootnote(const WPXPropertyList &propList) {}; -+ virtual void closeFootnote() {}; -+ virtual void openEndnote(const WPXPropertyList &propList) {}; -+ virtual void closeEndnote() {}; -+ virtual void openComment(const WPXPropertyList &propList) {}; -+ virtual void closeComment() {}; -+ virtual void openTextBox(const WPXPropertyList &propList) {}; -+ virtual void closeTextBox() {}; -+ virtual void openTable(const WPXPropertyList &propList, const WPXPropertyListVector &columns) {}; -+ virtual void openTableRow(const WPXPropertyList &propList) {}; -+ virtual void closeTableRow() {}; -+ virtual void openTableCell(const WPXPropertyList &propList) {}; -+ virtual void closeTableCell() {}; -+ virtual void insertCoveredTableCell(const WPXPropertyList &propList) {}; -+ virtual void closeTable() {}; -+ virtual void openFrame(const WPXPropertyList &propList) {}; -+ virtual void closeFrame() {}; -+ virtual void insertBinaryObject(const WPXPropertyList &propList, const WPXBinaryData &data) {}; -+ virtual void insertEquation(const WPXPropertyList &propList, const WPXString &data) {}; -+ -+#else // HAVE_LIBWPD_090 -+ - virtual void setDocumentMetaData(const WPXPropertyList &propList) {} - virtual void startDocument() {} - virtual void endDocument() {} -@@ -132,6 +191,8 @@ public: - virtual void insertCoveredTableCell(const WPXPropertyList &propList); - virtual void closeTable(); - -+#endif // HAVE_LIBWPD_090 -+ - protected: - void _resetDocumentState(); - bool _parseSourceDocument(WPXInputStream &input); -diff --git a/filters/kword/wordperfect/import/wpimport.cc b/filters/kword/wordperfect/import/wpimport.cc -index 09fc4d5..5ff786c 100644 ---- a/filters/kword/wordperfect/import/wpimport.cc -+++ b/filters/kword/wordperfect/import/wpimport.cc -@@ -44,6 +44,104 @@ K_EXPORT_COMPONENT_FACTORY( libwpimport, WPImportFactory( "kofficefilters" ) ) - #include "DocumentHandler.hxx" - #include "WordPerfectCollector.hxx" - -+#ifdef HAVE_LIBWPD_090 -+class WPXMemoryInputStream : public WPXInputStream -+{ -+public: -+ WPXMemoryInputStream(unsigned char *data, unsigned long size); -+ virtual ~WPXMemoryInputStream(); -+ -+ virtual bool isOLEStream() { -+ return false; -+ } -+ virtual WPXInputStream * getDocumentOLEStream(const char *name) { -+ return NULL; -+ } -+ -+ const virtual unsigned char *read(unsigned long numBytes, unsigned long &numBytesRead); -+ virtual int seek(long offset, WPX_SEEK_TYPE seekType); -+ virtual long tell(); -+ virtual bool atEOS(); -+ -+private: -+ long m_offset; -+ size_t m_size; -+ unsigned char *m_data; -+}; -+ -+WPXMemoryInputStream::WPXMemoryInputStream(unsigned char *data, unsigned long size) : -+ WPXInputStream(), -+ m_offset(0), -+ m_size(size), -+ m_data(data) -+{ -+} -+ -+WPXMemoryInputStream::~WPXMemoryInputStream() -+{ -+} -+ -+const unsigned char * WPXMemoryInputStream::read(unsigned long numBytes, unsigned long &numBytesRead) -+{ -+ numBytesRead = 0; -+ -+ if (numBytes == 0) -+ return 0; -+ -+ int numBytesToRead; -+ -+ if ((m_offset+numBytes) < m_size) -+ numBytesToRead = numBytes; -+ else -+ numBytesToRead = m_size - m_offset; -+ -+ numBytesRead = numBytesToRead; // about as paranoid as we can be.. -+ -+ if (numBytesToRead == 0) -+ return 0; -+ -+ long oldOffset = m_offset; -+ m_offset += numBytesToRead; -+ -+ return &m_data[oldOffset]; -+} -+ -+int WPXMemoryInputStream::seek(long offset, WPX_SEEK_TYPE seekType) -+{ -+ if (seekType == WPX_SEEK_CUR) -+ m_offset += offset; -+ else if (seekType == WPX_SEEK_SET) -+ m_offset = offset; -+ -+ if (m_offset < 0) -+ { -+ m_offset = 0; -+ return 1; -+ } -+ if ((long)m_offset > (long)m_size) -+ { -+ m_offset = m_size; -+ return 1; -+ } -+ -+ return 0; -+} -+ -+long WPXMemoryInputStream::tell() -+{ -+ return m_offset; -+} -+ -+bool WPXMemoryInputStream::atEOS() -+{ -+ if ((long)m_offset == (long)m_size) -+ return true; -+ -+ return false; -+} -+ -+#else // HAVE_LIBWPD_090 -+ - class WPXMemoryInputStream : public WPXInputStream - { - public: -@@ -138,6 +236,8 @@ bool WPXMemoryInputStream::atEOS() - return false; - } - -+#endif // HAVE_LIBWPD_090 -+ - class KWordHandler : public DocumentHandler - { - public: -@@ -250,7 +350,11 @@ KoFilter::ConversionStatus WPImport::convert( const TQCString& from, const TQCSt - // instream now owns buf, no need to delete buf later - WPXMemoryInputStream instream = WPXMemoryInputStream( buf, fsize ); - -+#ifdef HAVE_LIBWPD_090 -+ WPDConfidence confidence = WPDocument::isFileFormatSupported(&instream); -+#else // HAVE_LIBWPD_090 - WPDConfidence confidence = WPDocument::isFileFormatSupported(&instream, false); -+#endif // HAVE_LIBWPD_090 - if( confidence == WPD_CONFIDENCE_NONE ) - { - fprintf(stderr, "ERROR: We have no confidence that you are giving us a valid WordPerfect document.\n"); -diff --git a/subdirs b/subdirs -index 5e82c6f..9ba54a3 100644 ---- a/subdirs -+++ b/subdirs -@@ -1,6 +1,7 @@ - lib - interfaces - autocorrect -+chalk - doc - example - karbon -@@ -11,7 +12,6 @@ kivio - koshell - kounavail - kpresenter --chalk - kspread - kugar - mimetypes --- -cgit v0.9.0.2-52-g1de3 diff --git a/redhat/applications/koffice/koffice-3.5.13.2-fix_wpd_09_support_2.patch b/redhat/applications/koffice/koffice-3.5.13.2-fix_wpd_09_support_2.patch deleted file mode 100644 index a024f98b4..000000000 --- a/redhat/applications/koffice/koffice-3.5.13.2-fix_wpd_09_support_2.patch +++ /dev/null @@ -1,88 +0,0 @@ ---- trinity-koffice-3.5.13.2/filters/kword/wordperfect/import/WordPerfectCollector.hxx.wpd2 2013-04-08 12:28:49.159409461 +0200 -+++ trinity-koffice-3.5.13.2/filters/kword/wordperfect/import/WordPerfectCollector.hxx 2013-04-08 12:29:01.170158682 +0200 -@@ -81,7 +81,7 @@ - class WordPerfectCollector : public WPXDocumentInterface - #else // HAVE_LIBWPD_090 - class WordPerfectCollector : public WPXHLListenerImpl --#endif HAVE_LIBWPD_090 -+#endif // HAVE_LIBWPD_090 - { - public: - WordPerfectCollector(WPXInputStream *pInput, DocumentHandler *pHandler); -@@ -93,12 +93,12 @@ - virtual void startDocument(); - virtual void endDocument(); - virtual void definePageStyle(const WPXPropertyList &propList) {}; -- virtual void openPageSpan(const WPXPropertyList &propList) {}; -- virtual void closePageSpan() {}; -- virtual void openHeader(const WPXPropertyList &propList) {}; -- virtual void closeHeader() {}; -- virtual void openFooter(const WPXPropertyList &propList) {}; -- virtual void closeFooter() {}; -+ virtual void openPageSpan(const WPXPropertyList &propList); -+ virtual void closePageSpan(); -+ virtual void openHeader(const WPXPropertyList &propList); -+ virtual void closeHeader(); -+ virtual void openFooter(const WPXPropertyList &propList); -+ virtual void closeFooter(); - virtual void defineParagraphStyle(const WPXPropertyList &propList, const WPXPropertyListVector &tabStops) {}; - virtual void openParagraph(const WPXPropertyList &propList, const WPXPropertyListVector &tabStops); - virtual void closeParagraph(); -@@ -106,36 +106,36 @@ - virtual void openSpan(const WPXPropertyList &propList); - virtual void closeSpan(); - virtual void defineSectionStyle(const WPXPropertyList &propList, const WPXPropertyListVector &columns) {}; -- virtual void openSection(const WPXPropertyList &propList, const WPXPropertyListVector &columns) {}; -- virtual void closeSection() {}; -+ virtual void openSection(const WPXPropertyList &propList, const WPXPropertyListVector &columns); -+ virtual void closeSection(); - virtual void insertTab(); - virtual void insertSpace() {}; - virtual void insertText(const WPXString &text); - virtual void insertLineBreak(); - virtual void insertField(const WPXString &type, const WPXPropertyList &propList) {}; -- virtual void defineOrderedListLevel(const WPXPropertyList &propList) {}; -- virtual void defineUnorderedListLevel(const WPXPropertyList &propList) {}; -- virtual void openOrderedListLevel(const WPXPropertyList &propList) {}; -- virtual void openUnorderedListLevel(const WPXPropertyList &propList) {}; -- virtual void closeOrderedListLevel() {}; -- virtual void closeUnorderedListLevel() {}; -- virtual void openListElement(const WPXPropertyList &propList, const WPXPropertyListVector &tabStops) {}; -- virtual void closeListElement() {}; -- virtual void openFootnote(const WPXPropertyList &propList) {}; -- virtual void closeFootnote() {}; -- virtual void openEndnote(const WPXPropertyList &propList) {}; -- virtual void closeEndnote() {}; -+ virtual void defineOrderedListLevel(const WPXPropertyList &propList); -+ virtual void defineUnorderedListLevel(const WPXPropertyList &propList); -+ virtual void openOrderedListLevel(const WPXPropertyList &propList); -+ virtual void openUnorderedListLevel(const WPXPropertyList &propList); -+ virtual void closeOrderedListLevel(); -+ virtual void closeUnorderedListLevel(); -+ virtual void openListElement(const WPXPropertyList &propList, const WPXPropertyListVector &tabStops); -+ virtual void closeListElement(); -+ virtual void openFootnote(const WPXPropertyList &propList); -+ virtual void closeFootnote(); -+ virtual void openEndnote(const WPXPropertyList &propList); -+ virtual void closeEndnote(); - virtual void openComment(const WPXPropertyList &propList) {}; - virtual void closeComment() {}; - virtual void openTextBox(const WPXPropertyList &propList) {}; - virtual void closeTextBox() {}; -- virtual void openTable(const WPXPropertyList &propList, const WPXPropertyListVector &columns) {}; -- virtual void openTableRow(const WPXPropertyList &propList) {}; -- virtual void closeTableRow() {}; -- virtual void openTableCell(const WPXPropertyList &propList) {}; -- virtual void closeTableCell() {}; -- virtual void insertCoveredTableCell(const WPXPropertyList &propList) {}; -- virtual void closeTable() {}; -+ virtual void openTable(const WPXPropertyList &propList, const WPXPropertyListVector &columns); -+ virtual void openTableRow(const WPXPropertyList &propList); -+ virtual void closeTableRow(); -+ virtual void openTableCell(const WPXPropertyList &propList); -+ virtual void closeTableCell(); -+ virtual void insertCoveredTableCell(const WPXPropertyList &propList); -+ virtual void closeTable(); - virtual void openFrame(const WPXPropertyList &propList) {}; - virtual void closeFrame() {}; - virtual void insertBinaryObject(const WPXPropertyList &propList, const WPXBinaryData &data) {}; diff --git a/redhat/applications/koffice/koffice-3.5.13.2.spec b/redhat/applications/koffice/koffice-3.5.13.2.spec deleted file mode 100644 index b620d022d..000000000 --- a/redhat/applications/koffice/koffice-3.5.13.2.spec +++ /dev/null @@ -1,1157 +0,0 @@ -# Default version for this component -%define tde_pkg koffice -%define tde_version 3.5.13.2 - -# Required for Mageia 2: removes the ldflag '--no-undefined' -%define _disable_ld_no_undefined 1 - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -# Disable Kross support for RHEL <= 5 (python is too old) -%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define with_kross 1 -%endif - -# Ruby support -%define with_ruby 1 - -# Ruby 1.9 includes are located in strance directories ... (taken from ruby 1.9 spec file) -%global _normalized_cpu %(echo %{_target_cpu} | sed 's/^ppc/powerpc/;s/i.86/i386/;s/sparcv./sparc/;s/armv.*/arm/') - - -Name: trinity-%{tde_pkg} -Summary: An integrated office suite -Version: 1.6.3 -Release: %{?!preversion:9}%{?preversion:8_%{preversion}}%{?dist} - -Group: Applications/Productivity -License: GPLv2+ - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -# BuildRequires: world-devel ;) -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-arts-devel >= 1:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: trinity-tdegraphics-devel >= %{tde_version} -BuildRequires: trinity-tdegraphics-libpoppler-tqt-devel >= %{tde_version} -BuildRequires: automake libtool -BuildRequires: fontconfig-devel -BuildRequires: libart_lgpl-devel -BuildRequires: libtiff-devel -BuildRequires: libjpeg-devel -BuildRequires: ImageMagick-devel -BuildRequires: zlib-devel -BuildRequires: openssl-devel -BuildRequires: python-devel -BuildRequires: pcre-devel -BuildRequires: gettext-devel -BuildRequires: mysql-devel -BuildRequires: perl -BuildRequires: doxygen -BuildRequires: aspell-devel -BuildRequires: libxslt-devel -BuildRequires: OpenEXR-devel -BuildRequires: libexif-devel -BuildRequires: readline-devel - -%if 0%{?suse_version} -BuildRequires: libbz2-devel -BuildRequires: liblcms-devel -%else -BuildRequires: bzip2-devel -BuildRequires: lcms-devel - -BuildRequires: libpaper-devel -%endif - -# RUBY support -%if 0%{?with_ruby} -BuildRequires: ruby ruby-devel >= 1.8.1 -%endif - -# FREETYPE support -%if 0%{?suse_version} == 1140 -BuildRequires: freetype2-devel -%else -BuildRequires: freetype-devel -%endif - -# LIBPNG support -%if 0%{?mgaversion} -BuildRequires: %{_lib}png-devel -%endif -%if 0%{?mdkversion} && 0%{?pclinuxos} == 0 -BuildRequires: %{_lib}png15-devel -%endif -%if 0%{?suse_version} || 0%{?fedora} || 0%{?rhel} -BuildRequires: libpng-devel -%endif - -# GRAPHICSMAGICK support -%if 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?rhel} >= 5 -%define with_graphicsmagick 1 -%if 0%{?suse_version} -BuildRequires: GraphicsMagick >= 1.1.0 -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?rhel} >= 5 || 0%{?suse_version} -BuildRequires: GraphicsMagick-devel >= 1.1.0 -%endif -%endif - -# UTEMPTER support -%if 0%{?suse_version} -BuildRequires: utempter-devel -%endif -%if 0%{?rhel} == 4 -BuildRequires: utempter -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?rhel} >= 5 -BuildRequires: libutempter-devel -%endif - -# POSTGRESQL support -# Requires 'libpqxx', for kexi-driver-pgqsl -%if 0%{?mdkversion} || 0%{?fedora} || 0%{?suse_version} -%define with_postgresql 1 -BuildRequires: postgresql-devel -BuildRequires: libpqxx-devel -%endif -Obsoletes: trinity-libpqxx - -# WPD support -# For chalk and filters -BuildRequires: libwpd-devel -Obsoletes: trinity-libwpd - -# WV2 support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}wv2-devel -%endif -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -BuildRequires: wv2-devel -%endif - -# MESA support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}mesagl1-devel -BuildRequires: %{_lib}mesaglu1-devel -%endif -%if 0%{?fedora} || 0%{?rhel} -BuildRequires: libGL-devel -BuildRequires: libGLU-devel -%endif -%if 0%{?suse_version} >= 1220 -BuildRequires: Mesa-libGL-devel -BuildRequires: Mesa-libGLU-devel -%endif - -# OPENJPEG -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}openjpeg-devel -%endif - -# LIBXI support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}xi-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} -BuildRequires: libXi-devel -%endif -%if 0%{?suse_version} == 1140 -BuildRequires: libXi6-devel -%endif -%if 0%{?suse_version} >= 1220 -BuildRequires: libXi-devel -%endif - - -%description -KOffice is an integrated office suite. - -########## - -%package suite -Summary: An integrated office suite -Group: Applications/Productivity -Obsoletes: %{name} <= %{version}-%{release} -Obsoletes: %{name}-i18n < 4:%{version} -Requires: %{name}-core = %{version}-%{release} -Requires: %{name}-kword = %{version}-%{release} -Requires: %{name}-kspread = %{version}-%{release} -Requires: %{name}-kpresenter = %{version}-%{release} -Requires: %{name}-kivio = %{version}-%{release} -Requires: %{name}-karbon = %{version}-%{release} -Requires: %{name}-kugar = %{version}-%{release} -Requires: %{name}-kexi = %{version}-%{release} -Requires: %{name}-kexi-driver-mysql = %{version}-%{release} -%{?with_postgresql:Requires: %{name}-kexi-driver-pgsql = %{version}-%{release}} -Requires: %{name}-kchart = %{version}-%{release} -Requires: %{name}-kformula = %{version}-%{release} -Requires: %{name}-filters = %{version}-%{release} -Requires: %{name}-kplato = %{version}-%{release} -Requires: %{name}-chalk = %{version}-%{release} - -%description suite -KOffice is an integrated office suite. - -%files suite -#empty => virtual package - -########## - -%package core -Summary: Core support files for %{name} -Group: Applications/Productivity -Requires: %{name}-libs = %{version}-%{release} -Requires: perl - -%description core -%{summary}. - -%posttrans core -gtk-update-icon-cache %{tde_datadir}/icons/crystalsvg &> /dev/null || : -gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || : -gtk-update-icon-cache %{tde_datadir}/icons/locolor &> /dev/null || : -update-desktop-database -q &> /dev/null ||: - -%post core -touch --no-create %{tde_datadir}/icons/crystalsvg &> /dev/null || : -touch --no-create %{tde_datadir}/icons/hicolor &> /dev/null || : -touch --no-create %{tde_datadir}/icons/locolor &> /dev/null || : - -%postun core -if [ $1 -eq 0 ]; then - gtk-update-icon-cache %{tde_datadir}/icons/crystalsvg &> /dev/null || : - gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || : - gtk-update-icon-cache %{tde_datadir}/icons/locolor &> /dev/null || : - update-desktop-database -q &> /dev/null ||: -fi - -%files core -%defattr(-,root,root,-) -%doc AUTHORS COPYING README -%{tde_bindir}/koshell -%{tde_bindir}/kthesaurus -%{tde_bindir}/koconverter -%{tde_libdir}/libkdeinit_koshell.so -%{tde_libdir}/libkdeinit_kthesaurus.so -%{tde_tdelibdir}/kfile_koffice.* -%{tde_tdelibdir}/kfile_ooo.* -%{tde_tdelibdir}/kfile_abiword.* -%{tde_tdelibdir}/kfile_gnumeric.* -%{tde_tdelibdir}/kodocinfopropspage.* -%{tde_tdelibdir}/kofficescan.* -%{tde_tdelibdir}/kofficethumbnail.* -%{tde_tdelibdir}/koshell.* -%{tde_tdelibdir}/kthesaurus.* -%{tde_tdelibdir}/kwmailmerge_classic.* -%{tde_tdelibdir}/kwmailmerge_kabc.* -%{tde_tdelibdir}/kwmailmerge_qtsqldb_power.* -%{tde_tdelibdir}/kwmailmerge_qtsqldb.* -%{tde_tdelibdir}/libkounavailpart.* -%{tde_tdelibdir}/libkprkword.* -%{tde_tdelibdir}/libthesaurustool.* -%{tde_tdelibdir}/clipartthumbnail.* -%{tde_datadir}/apps/koffice/ -%{tde_datadir}/apps/konqueror/servicemenus/* -%{tde_datadir}/apps/koshell/ -%{tde_datadir}/apps/thesaurus/ -%{tde_datadir}/config.kcfg/koshell.kcfg -%{tde_tdedocdir}/HTML/en/koffice/ -%{tde_tdedocdir}/HTML/en/koshell/ -%{tde_tdedocdir}/HTML/en/thesaurus/ -%{tde_datadir}/icons/crystalsvg/*/*/* -%{tde_datadir}/icons/hicolor/*/*/* -%{tde_datadir}/icons/locolor/*/*/* -%{tde_datadir}/services/clipartthumbnail.desktop -%{tde_datadir}/services/kfile*.desktop -%{tde_datadir}/services/kwmailmerge*.desktop -%{tde_datadir}/services/kodocinfopropspage.desktop -%{tde_datadir}/services/kofficethumbnail.desktop -%{tde_datadir}/services/kounavail.desktop -%{tde_datadir}/services/kprkword.desktop -%{tde_datadir}/services/thesaurustool.desktop -%{tde_datadir}/servicetypes/kochart.desktop -%{tde_datadir}/servicetypes/kofficepart.desktop -%{tde_datadir}/servicetypes/koplugin.desktop -%{tde_datadir}/servicetypes/kwmailmerge.desktop -%{tde_datadir}/servicetypes/widgetfactory.desktop -%{tde_tdeappdir}/*koffice.desktop -%{tde_tdeappdir}/*KThesaurus.desktop -%{tde_tdeappdir}/*koshell.desktop -%{tde_datadir}/apps/kofficewidgets/ -%if 0%{?with_kross} -%{tde_datadir}/apps/kross/ -%{tde_tdelibdir}/krosspython.* -%if 0%{?with_ruby} -%{tde_tdelibdir}/krossruby.* -%endif -%endif - -########## - -%package libs -Summary: Runtime libraries for %{name} -Group: System Environment/Libraries -Conflicts: %{name} <= %{version}-%{release} -Requires: trinity-tdelibs -License: LGPLv2+ - -%description libs -%{summary}. - -%files libs -%defattr(-,root,root,-) -%doc COPYING.LIB -#_libdir/libk*common.so.* -%{tde_libdir}/libkarboncommon.so.* -%{tde_libdir}/libkspreadcommon.so.* -%{tde_libdir}/libkdchart.so.* -%{tde_libdir}/libkochart.so.* -%{tde_libdir}/libkofficecore.so.* -%{tde_libdir}/libkofficeui.so.* -%{tde_libdir}/libkotext.so.* -%{tde_libdir}/libkowmf.so.* -%{tde_libdir}/libkopainter.so.* -%{tde_libdir}/libkstore.so.* -%{tde_libdir}/libkwmailmerge_interface.so.* -%{tde_libdir}/libkwmf.so.* -%{tde_libdir}/libkformulalib.so.* -%{tde_libdir}/libkopalette.so.* -%{tde_libdir}/libkoproperty.so.* -%if 0%{?with_kross} -%{tde_libdir}/libkrossapi.so.* -%{tde_libdir}/libkrossmain.so.* -%endif - -%post libs -/sbin/ldconfig || : - -%postun libs -/sbin/ldconfig || : - -########## - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Requires: %{name}-libs = %{version}-%{release} -License: LGPLv2+ - -%description devel -%{summary}. - -%files devel -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/koffice-apidocs/ -%{tde_includedir}/* -# FIXME: include only shlib symlinks we know/want to export -%{tde_libdir}/lib*.so -%exclude %{tde_libdir}/libkdeinit_*.so -%exclude %{tde_libdir}/libkudesignercore.so - -########## - -%package kword -Summary: A frame-based word processor capable of professional standard documents -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} - -%description kword -%{summary}. - -%post kword -/sbin/ldconfig || : - -%postun kword -/sbin/ldconfig || : - -%posttrans kword -update-desktop-database -q &> /dev/null ||: - -%files kword -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kword/ -%{tde_bindir}/kword -%{tde_libdir}/libkdeinit_kword.so -%{tde_libdir}/libkwordprivate.so.* -%{tde_tdelibdir}/libkwordpart.* -%{tde_tdelibdir}/kword.* -%{tde_datadir}/apps/kword/ -%{tde_datadir}/services/kword*.desktop -%{tde_datadir}/services/kwserial*.desktop -%{tde_datadir}/templates/TextDocument.desktop -%{tde_datadir}/templates/.source/TextDocument.kwt -%{tde_tdeappdir}/*kword.desktop - -########## - -%package kspread -Summary: A powerful spreadsheet application -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} - -%description kspread -%{summary}. - -%files kspread -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kspread/ -%{tde_bindir}/kspread -%{tde_libdir}/libkdeinit_kspread.so -%{tde_tdelibdir}/kspread.* -%{tde_tdelibdir}/libkspreadpart.* -%{tde_tdelibdir}/kwmailmerge_kspread.* -%{tde_tdelibdir}/libcsvexport.* -%{tde_tdelibdir}/libcsvimport.* -%{tde_tdelibdir}/libgnumericexport.* -%{tde_tdelibdir}/libgnumericimport.* -%{tde_tdelibdir}/libkspreadhtmlexport.* -%{tde_tdelibdir}/libkspreadinsertcalendar.* -%{tde_tdelibdir}/libopencalcexport.* -%{tde_tdelibdir}/libopencalcimport.* -%{tde_tdelibdir}/libqproimport.* -%{tde_datadir}/apps/kspread/ -%{tde_datadir}/services/kspread*.desktop -%{tde_datadir}/templates/SpreadSheet.desktop -%{tde_datadir}/templates/.source/SpreadSheet.kst -%{tde_tdeappdir}/*kspread.desktop -%if 0%{?with_kross} -%{tde_tdelibdir}/kspreadscripting.* -%{tde_tdelibdir}/krosskspreadcore.* -%endif - -########## - -%package kpresenter -Summary: A full-featured presentation program -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} - -%description kpresenter -%{summary}. - -%post kpresenter -/sbin/ldconfig || : - -%postun kpresenter -/sbin/ldconfig || : - -%posttrans kpresenter -update-desktop-database -q &> /dev/null ||: - -%files kpresenter -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kpresenter/ -%{tde_bindir}/kpresenter -%{tde_bindir}/kprconverter.pl -%{tde_libdir}/libkdeinit_kpresenter.so -%{tde_libdir}/libkpresenterimageexport.so.* -%{tde_libdir}/libkpresenterprivate.so.* -%{tde_tdelibdir}/*kpresenter*.* -%{tde_datadir}/apps/kpresenter/ -%{tde_datadir}/services/kpresenter*.desktop -%{tde_datadir}/templates/Presentation.desktop -%{tde_datadir}/templates/.source/Presentation.kpt -%{tde_tdeappdir}/*kpresenter.desktop - -########## - -%package kivio -Summary: A flowcharting application -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} -Obsoletes: kivio < %{version}-%{release} - -%description kivio -%{summary}. - -%files kivio -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kivio/ -%{tde_bindir}/kivio -%{tde_libdir}/libkdeinit_kivio.so -%{tde_libdir}/libkiviocommon.so.* -%{tde_tdelibdir}/*kivio*.* -%{tde_tdelibdir}/straight_connector.* -%{tde_datadir}/apps/kivio/ -%{tde_datadir}/config.kcfg/kivio.kcfg -%{tde_datadir}/services/kivio*.desktop -%{tde_tdeappdir}/*kivio.desktop - -########## - -%package karbon -Summary: A vector drawing application -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} - -%description karbon -%{summary}. - -%post karbon -/sbin/ldconfig || : - -%postun karbon -/sbin/ldconfig || : - -%files karbon -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/karbon/ -%{tde_bindir}/karbon -%{tde_libdir}/libkdeinit_karbon.so -%{tde_tdelibdir}/*karbon*.* -%{tde_tdelibdir}/libwmfexport.* -%{tde_tdelibdir}/libwmfimport.* -%{tde_datadir}/apps/karbon/ -%{tde_datadir}/services/karbon* -%{tde_datadir}/servicetypes/karbon_module.desktop -%{tde_datadir}/templates/Illustration.desktop -%{tde_datadir}/templates/.source/Illustration.karbon -%{tde_tdeappdir}/*karbon.desktop - -########## - -%package kugar -Summary: A tool for generating business quality reports -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} - -%description kugar -%{summary}. - -%post kugar -/sbin/ldconfig || : - -%postun kugar -/sbin/ldconfig || : - -%posttrans kugar -update-desktop-database -q &> /dev/null ||: - -%files kugar -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kugar/ -%{tde_bindir}/kugar -%{tde_bindir}/kudesigner -%{tde_libdir}/libkdeinit_kugar.so -%{tde_libdir}/libkdeinit_kudesigner.so -%{tde_libdir}/libkugarlib.so.* -%{tde_libdir}/libkudesignercore.so -%{tde_tdelibdir}/kudesigner.* -%{tde_tdelibdir}/kugar.* -%{tde_tdelibdir}/libkudesignerpart.* -%{tde_tdelibdir}/libkugarpart.* -%{tde_datadir}/apps/kudesigner/ -%{tde_datadir}/apps/kugar/ -%{tde_datadir}/services/kugar*.desktop -%{tde_tdeappdir}/*kugar.desktop -%{tde_tdeappdir}/*kudesigner.desktop - -########## - -%package kexi -Summary: An integrated environment for managing data -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} - -%if 0%{?with_postgresql} == 0 -Obsoletes: %{name}-kexi-driver-pgsql -%endif - -%description kexi -%{summary}. -For additional database drivers take a look at %{name}-kexi-driver-* - -%post kexi -/sbin/ldconfig || : - -%postun kexi -/sbin/ldconfig || : - -%posttrans kexi -update-desktop-database -q &> /dev/null ||: - -%files kexi -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kexi/ -%{tde_bindir}/kexi* -%{tde_bindir}/ksqlite* -%{tde_libdir}/libkdeinit_kexi.so -%{tde_libdir}/libkexi*.so.* -%{tde_libdir}/libkformdesigner.so.* -%{tde_tdelibdir}/kformdesigner_*.* -%{tde_tdelibdir}/kexidb_sqlite2driver.* -%{tde_tdelibdir}/kexidb_sqlite3driver.* -%{tde_tdelibdir}/kexihandler_*.* -%{tde_tdelibdir}/kexi.* -# moved here to workaround bug #394101, alternative is to move libkexi(db|dbparser|utils) to -libs) -%{tde_tdelibdir}/libkspreadkexiimport.* -%{tde_datadir}/config/kexirc -%{tde_datadir}/config/magic/kexi.magic -%{tde_datadir}/mimelnk/application/* -%{tde_datadir}/servicetypes/kexi*.desktop -%{tde_datadir}/services/kexi/ -%{tde_datadir}/apps/kexi/ -%{tde_datadir}/services/kformdesigner/* -%{tde_tdeappdir}/*kexi.desktop -%{tde_datadir}/services/kexidb_sqlite*driver.desktop -%if 0%{?with_kross} -%{tde_bindir}/krossrunner -%{tde_tdelibdir}/krosskexiapp.* -%{tde_tdelibdir}/krosskexidb.* -%endif - -########## - -%package kexi-driver-mysql -Summary: Mysql-driver for kexi -Group: Applications/Productivity -Requires: %{name}-kexi = %{version}-%{release} - -%description kexi-driver-mysql -%{summary}. - -%files kexi-driver-mysql -%defattr(-,root,root,-) -%{tde_tdelibdir}/kexidb_mysqldriver.* -%{tde_tdelibdir}/keximigrate_mysql.* -%{tde_datadir}/services/keximigrate_mysql.desktop -%{tde_datadir}/services/kexidb_mysqldriver.desktop - -########## - -%if 0%{?with_postgresql} - -%package kexi-driver-pgsql -Summary: Postgresql driver for kexi -Group: Applications/Productivity -Requires: %{name}-kexi = %{version}-%{release} - -%description kexi-driver-pgsql -%{summary}. - -%files kexi-driver-pgsql -%defattr(-,root,root,-) -%{tde_tdelibdir}/kexidb_pqxxsqldriver.* -%{tde_tdelibdir}/keximigrate_pqxx.* -%{tde_datadir}/services/kexidb_pqxxsqldriver.desktop -%{tde_datadir}/services/keximigrate_pqxx.desktop - -%endif - -########## - -%package kchart -Summary: An integrated graph and chart drawing tool -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} - -%description kchart -%{summary}. - -%post kchart -/sbin/ldconfig || : - -%postun kchart -/sbin/ldconfig || : - -%posttrans kchart -update-desktop-database -q &> /dev/null ||: - -%files kchart -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kchart/ -%{tde_bindir}/kchart -%{tde_libdir}/libkchart*.so.* -%{tde_libdir}/libkdeinit_kchart.so -%{tde_tdelibdir}/*kchart*.* -%{tde_datadir}/apps/kchart/ -%{tde_datadir}/services/kchart*.desktop -%{tde_tdeappdir}/*kchart.desktop - -########## - -%package kformula -Summary: A powerful formula editor -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} - -%if 0%{?mgaversion} || 0%{?mdkversion} -Requires: fonts-ttf-dejavu -%else -%if 0%{?fedora} >= 11 || 0%{?rhel} >= 6 -Requires: dejavu-lgc-sans-fonts -Requires: lyx-cmex10-fonts -%endif -%if 0%{?rhel} == 5 -Requires: dejavu-lgc-fonts -Requires: lyx-cmex10-fonts -%endif -%if 0%{?suse_version} >= 1220 -Requires: dejavu-fonts -%endif -%if 0%{?suse_version} == 1140 -Requires: dejavu -%endif -%endif - -%description kformula -%{summary}. - -%files kformula -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kformula/ -%{tde_bindir}/kformula -%{tde_libdir}/libkdeinit_kformula.so -%{tde_tdelibdir}/*kformula*.* -%{tde_datadir}/apps/kformula/ -%{tde_datadir}/services/kformula*.desktop -%{tde_tdeappdir}/*kformula.desktop - -########## - -%package filters -Summary: Import and Export Filters for KOffice -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} - -%description filters -%{summary}. - -%post filters -/sbin/ldconfig || : - -%postun filters -/sbin/ldconfig || : - -%files filters -%defattr(-,root,root,-) -%{tde_libdir}/libkwordexportfilters.so.* -%{tde_tdelibdir}/libabiwordexport.* -%{tde_tdelibdir}/libabiwordimport.* -%{tde_tdelibdir}/libamiproexport.* -%{tde_tdelibdir}/libamiproimport.* -%{tde_tdelibdir}/libapplixspreadimport.* -%{tde_tdelibdir}/libapplixwordimport.* -%{tde_tdelibdir}/libasciiexport.* -%{tde_tdelibdir}/libasciiimport.* -%{tde_tdelibdir}/libdbaseimport.* -%{tde_tdelibdir}/libdocbookexport.* -%{tde_tdelibdir}/libexcelimport.* -%{tde_tdelibdir}/libgenerickofilter.* -%{tde_tdelibdir}/libhtmlexport.* -%{tde_tdelibdir}/libhtmlimport.* -%{tde_tdelibdir}/libkarbonepsimport.* -%{tde_tdelibdir}/libkfolatexexport.* -%{tde_tdelibdir}/libkfomathmlexport.* -%{tde_tdelibdir}/libkfomathmlimport.* -%{tde_tdelibdir}/libkfopngexport.* -%{tde_tdelibdir}/libkspreadlatexexport.* -%{tde_tdelibdir}/libkugarnopimport.* -%{tde_tdelibdir}/libkwordkword1dot3import.* -%{tde_tdelibdir}/libkwordlatexexport.* -%{tde_tdelibdir}/libmswriteexport.* -%{tde_tdelibdir}/libmswriteimport.* -%{tde_tdelibdir}/libooimpressexport.* -%{tde_tdelibdir}/libooimpressimport.* -%{tde_tdelibdir}/liboowriterexport.* -%{tde_tdelibdir}/liboowriterimport.* -%{tde_tdelibdir}/libpalmdocexport.* -%{tde_tdelibdir}/libpalmdocimport.* -%{tde_tdelibdir}/libpdfimport.* -%{tde_tdelibdir}/librtfexport.* -%{tde_tdelibdir}/librtfimport.* -%{tde_tdelibdir}/libwmlexport.* -%{tde_tdelibdir}/libwmlimport.* -%{tde_tdelibdir}/libwpexport.* -%{tde_tdelibdir}/libwpimport.* -%{tde_tdelibdir}/libmswordimport.* -%{tde_tdelibdir}/libxsltimport.* -%{tde_tdelibdir}/libxsltexport.* -%{tde_tdelibdir}/libhancomwordimport.* -%{tde_tdelibdir}/libkfosvgexport.* -%{tde_tdelibdir}/liboodrawimport.* -%{tde_tdelibdir}/libolefilter.* -%{tde_datadir}/apps/xsltfilter/ -%{tde_datadir}/services/generic_filter.desktop -%{tde_datadir}/services/ole_powerpoint97_import.desktop -%{tde_datadir}/services/xslt*.desktop -%{tde_datadir}/servicetypes/kofilter*.desktop - -########## - -%package kplato -Summary: An integrated project management and planning tool -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} - -%description kplato -%{summary}. - -%files kplato -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kplato/ -%{tde_bindir}/kplato -%{tde_libdir}/libkdeinit_kplato.so -%{tde_tdelibdir}/kplato.* -%{tde_tdelibdir}/libkplatopart.* -%{tde_datadir}/apps/kplato/ -%{tde_datadir}/services/kplatopart.desktop -%{tde_tdeappdir}/*kplato.desktop - -########## - -%package chalk -Summary: pixel-based image manipulation program for the TDE Office Suite [Trinity] -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} -Requires: %{name}-chalk-data = %{version}-%{release} -Requires: %{name}-filters - -%description chalk -Chalk is a painting and image editing application for KOffice. Chalk contains -both ease-of-use and fun features like guided painting. - -This package is part of the TDE Office Suite. - -%post chalk -/sbin/ldconfig || : - -%postun chalk -/sbin/ldconfig || : - -%posttrans chalk -update-desktop-database -q &> /dev/null ||: - -%files chalk -%defattr(-,root,root,-) -%{tde_bindir}/chalk -%{tde_tdelibdir}/chalkblurfilter.la -%{tde_tdelibdir}/chalkblurfilter.so -%{tde_tdelibdir}/chalkbumpmap.la -%{tde_tdelibdir}/chalkbumpmap.so -%{tde_tdelibdir}/chalkcimg.la -%{tde_tdelibdir}/chalkcimg.so -%{tde_tdelibdir}/chalk_cmyk_* -%{tde_tdelibdir}/chalkcmykplugin.la -%{tde_tdelibdir}/chalkcmykplugin.so -%{tde_tdelibdir}/chalkcolorify.la -%{tde_tdelibdir}/chalkcolorify.so -%{tde_tdelibdir}/chalkcolorrange.la -%{tde_tdelibdir}/chalkcolorrange.so -%{tde_tdelibdir}/chalkcolorsfilters.la -%{tde_tdelibdir}/chalkcolorsfilters.so -%{tde_tdelibdir}/chalkcolorspaceconversion.la -%{tde_tdelibdir}/chalkcolorspaceconversion.so -%{tde_tdelibdir}/chalkconvolutionfilters.la -%{tde_tdelibdir}/chalkconvolutionfilters.so -%{tde_tdelibdir}/chalkdefaultpaintops.la -%{tde_tdelibdir}/chalkdefaultpaintops.so -%{tde_tdelibdir}/chalkdefaulttools.la -%{tde_tdelibdir}/chalkdefaulttools.so -%{tde_tdelibdir}/chalkdropshadow.la -%{tde_tdelibdir}/chalkdropshadow.so -%{tde_tdelibdir}/chalkembossfilter.la -%{tde_tdelibdir}/chalkembossfilter.so -%{tde_tdelibdir}/chalkexample.la -%{tde_tdelibdir}/chalkexample.so -%{tde_tdelibdir}/chalkextensioncolorsfilters.la -%{tde_tdelibdir}/chalkextensioncolorsfilters.so -%{tde_tdelibdir}/chalkfastcolortransfer.la -%{tde_tdelibdir}/chalkfastcolortransfer.so -%{tde_tdelibdir}/chalkfiltersgallery.la -%{tde_tdelibdir}/chalkfiltersgallery.so -%{tde_tdelibdir}/chalk_gray_* -%{tde_tdelibdir}/chalkgrayplugin.la -%{tde_tdelibdir}/chalkgrayplugin.so -%{tde_tdelibdir}/chalkhistogramdocker.la -%{tde_tdelibdir}/chalkhistogramdocker.so -%{tde_tdelibdir}/chalkhistogram.la -%{tde_tdelibdir}/chalkhistogram.so -%{tde_tdelibdir}/chalkimageenhancement.la -%{tde_tdelibdir}/chalkimageenhancement.so -%{tde_tdelibdir}/chalkimagesize.la -%{tde_tdelibdir}/chalkimagesize.so -%{tde_tdelibdir}/chalk.la -%{tde_tdelibdir}/chalklenscorrectionfilter.la -%{tde_tdelibdir}/chalklenscorrectionfilter.so -%{tde_tdelibdir}/chalklevelfilter.la -%{tde_tdelibdir}/chalklevelfilter.so -%{tde_tdelibdir}/chalk_lms_* -%{tde_tdelibdir}/chalkmodifyselection.la -%{tde_tdelibdir}/chalkmodifyselection.so -%{tde_tdelibdir}/chalknoisefilter.la -%{tde_tdelibdir}/chalknoisefilter.so -%{tde_tdelibdir}/chalkoilpaintfilter.la -%{tde_tdelibdir}/chalkoilpaintfilter.so -%{tde_tdelibdir}/chalkpixelizefilter.la -%{tde_tdelibdir}/chalkpixelizefilter.so -%{tde_tdelibdir}/chalkraindropsfilter.la -%{tde_tdelibdir}/chalkraindropsfilter.so -%{tde_tdelibdir}/chalkrandompickfilter.la -%{tde_tdelibdir}/chalkrandompickfilter.so -%{tde_tdelibdir}/chalk_rgb_* -%{tde_tdelibdir}/chalkrgbplugin.la -%{tde_tdelibdir}/chalkrgbplugin.so -%{tde_tdelibdir}/chalkrotateimage.la -%{tde_tdelibdir}/chalkrotateimage.so -%{tde_tdelibdir}/chalkroundcornersfilter.la -%{tde_tdelibdir}/chalkroundcornersfilter.so -%{tde_tdelibdir}/chalkselectiontools.la -%{tde_tdelibdir}/chalkselectiontools.so -%{tde_tdelibdir}/chalkselectopaque.la -%{tde_tdelibdir}/chalkselectopaque.so -%{tde_tdelibdir}/chalkseparatechannels.la -%{tde_tdelibdir}/chalkseparatechannels.so -%{tde_tdelibdir}/chalkshearimage.la -%{tde_tdelibdir}/chalkshearimage.so -%{tde_tdelibdir}/chalksmalltilesfilter.la -%{tde_tdelibdir}/chalksmalltilesfilter.so -%{tde_tdelibdir}/chalk.so -%{tde_tdelibdir}/chalkscreenshot.la -%{tde_tdelibdir}/chalkscreenshot.so -%{tde_tdelibdir}/chalksobelfilter.la -%{tde_tdelibdir}/chalksobelfilter.so -%{tde_tdelibdir}/chalksubstrate.la -%{tde_tdelibdir}/chalksubstrate.so -%{tde_tdelibdir}/chalktoolcrop.la -%{tde_tdelibdir}/chalktoolcrop.so -%{tde_tdelibdir}/chalktoolcurves.la -%{tde_tdelibdir}/chalktoolcurves.so -%{tde_tdelibdir}/chalktoolfilter.la -%{tde_tdelibdir}/chalktoolfilter.so -%{tde_tdelibdir}/chalktoolperspectivegrid.la -%{tde_tdelibdir}/chalktoolperspectivegrid.so -%{tde_tdelibdir}/chalktoolperspectivetransform.la -%{tde_tdelibdir}/chalktoolperspectivetransform.so -%{tde_tdelibdir}/chalktoolpolygon.la -%{tde_tdelibdir}/chalktoolpolygon.so -%{tde_tdelibdir}/chalktoolpolyline.la -%{tde_tdelibdir}/chalktoolpolyline.so -%{tde_tdelibdir}/chalktoolselectsimilar.la -%{tde_tdelibdir}/chalktoolselectsimilar.so -%{tde_tdelibdir}/chalktoolstar.la -%{tde_tdelibdir}/chalktoolstar.so -%{tde_tdelibdir}/chalktooltransform.la -%{tde_tdelibdir}/chalktooltransform.so -%{tde_tdelibdir}/chalkunsharpfilter.la -%{tde_tdelibdir}/chalkunsharpfilter.so -%{tde_tdelibdir}/chalkwavefilter.la -%{tde_tdelibdir}/chalkwavefilter.so -%{tde_tdelibdir}/chalkwetplugin.la -%{tde_tdelibdir}/chalkwetplugin.so -%{tde_tdelibdir}/chalk_ycbcr_* -%if 0%{?with_graphicsmagick} -%{tde_tdelibdir}/libchalkgmagickexport.la -%{tde_tdelibdir}/libchalkgmagickexport.so -%{tde_tdelibdir}/libchalkgmagickimport.la -%{tde_tdelibdir}/libchalkgmagickimport.so -%{tde_tdelibdir}/libchalkjpegexport.la -%{tde_tdelibdir}/libchalkjpegexport.so -%{tde_tdelibdir}/libchalkjpegimport.la -%{tde_tdelibdir}/libchalkjpegimport.so -%endif -%{tde_tdelibdir}/libchalk_openexr_export.la -%{tde_tdelibdir}/libchalk_openexr_export.so -%{tde_tdelibdir}/libchalk_openexr_import.la -%{tde_tdelibdir}/libchalk_openexr_import.so -%{tde_tdelibdir}/libchalkpart.la -%{tde_tdelibdir}/libchalkpart.so -%{tde_tdelibdir}/libchalkpdfimport.la -%{tde_tdelibdir}/libchalkpdfimport.so -%{tde_tdelibdir}/libchalkpngexport.la -%{tde_tdelibdir}/libchalkpngexport.so -%{tde_tdelibdir}/libchalkpngimport.la -%{tde_tdelibdir}/libchalkpngimport.so -%{tde_tdelibdir}/libchalk_raw_import.la -%{tde_tdelibdir}/libchalk_raw_import.so -%if 0%{?with_graphicsmagick} -%{tde_tdelibdir}/libchalktiffexport.la -%{tde_tdelibdir}/libchalktiffexport.so -%{tde_tdelibdir}/libchalktiffimport.la -%{tde_tdelibdir}/libchalktiffimport.so -%endif -%{tde_libdir}/libkdeinit_chalk.so -%{tde_libdir}/libchalk_cmyk_*.so.* -%{tde_libdir}/libchalkcolor.so.* -%{tde_libdir}/libchalkcommon.so.* -%{tde_libdir}/libchalkgrayscale.so.* -%{tde_libdir}/libchalk_gray_*.so.* -%{tde_libdir}/libchalkimage.so.* -%{tde_libdir}/libchalk_lms_*.so.* -%{tde_libdir}/libchalk_rgb_*.so.* -%{tde_libdir}/libchalkrgb.so.* -%{tde_libdir}/libchalkui.so.* -%{tde_libdir}/libchalk_ycbcr_*.so.* -%if 0%{?with_kross} -%{tde_tdelibdir}/krosschalkcore.la -%{tde_tdelibdir}/krosschalkcore.so -%{tde_tdelibdir}/chalkscripting.la -%{tde_tdelibdir}/chalkscripting.so -%{tde_libdir}/libchalkscripting.so.* -%endif - -########## - -%package chalk-data -Summary: data files for Chalk painting program [Trinity] -Group: Applications/Productivity - -%description chalk-data -This package contains architecture-independent data files for Chalk, -the painting program shipped with the TDE Office Suite. - -See the chalk package for further information. - -This package is part of the TDE Office Suite. - -%files chalk-data -%defattr(-,root,root,-) -%{tde_tdeappdir}/chalk.desktop -%{tde_datadir}/applnk/.hidden/chalk_*.desktop -%{tde_datadir}/apps/konqueror/servicemenus/chalk_konqi.desktop -%{tde_datadir}/apps/chalk/ -%{tde_datadir}/apps/chalkplugins/ -%lang(en) %{tde_tdedocdir}/HTML/en/chalk/ -%{tde_datadir}/icons/hicolor/*/apps/chalk.png -%{tde_datadir}/services/chalk*.desktop -%{tde_datadir}/servicetypes/chalk*.desktop - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -# use LGC variant instead -%__sed -i.dejavu-lgc \ - -e 's|DejaVu Sans|DejaVu LGC Sans|' \ - -e 's|dejavu sans|dejavu lgc sans|' \ - lib/kformula/{contextstyle,fontstyle,symboltable}.cc - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR QTINC QTLIB; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" -export KDEDIR="%{tde_prefix}" - -%if 0%{?suse_version} == 1220 -RD=$(ruby -r rbconfig -e 'printf("%s",Config::CONFIG["rubyhdrdir"])') -export CXXFLAGS="${CXXFLAGS} -I${RD}/%_normalized_cpu-linux" -%endif - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --enable-final \ - --enable-closure \ - --enable-rpath \ - \ - --with-extra-libs=%{tde_libdir} \ - --with-extra-includes=%{tde_includedir}/arts \ - \ - --disable-kexi-macros \ - %{?with_kross:--enable-scripting} %{!?with_kross:--disable-scripting} \ - %{?with_postgresql:--enable-pgsql} %{!?with_postgresql:--disable-pgsql} \ - -%__make %{?_smp_mflags} || %__make - - -%install -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# Moves menu elements to XDG folder -desktop-file-install \ - --dir=%{buildroot}%{tde_tdeappdir} \ - --vendor="" \ - --delete-original \ - %{buildroot}%{tde_datadir}/applnk/Office/*.desktop - -# Replace absolute symlinks with relative ones -pushd %{buildroot}%{tde_tdedocdir}/HTML -for lang in *; do - if [ -d $lang ]; then - pushd $lang - for i in */*; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../../common $i/common - done - popd - fi -done -popd - - -## unpackaged files -# fonts -rm -rfv %{buildroot}%{tde_datadir}/apps/kformula/fonts/ -# libtool archives -rm -f %{buildroot}%{tde_libdir}/lib*.la -# shouldn't these be in koffice-l10n? -rm -f %{buildroot}%{tde_datadir}/locale/pl/LC_MESSAGES/kexi_{add,delete}_column_gui_transl_pl.sh -# -devel symlinks to nuke -rm -f %{buildroot}%{tde_libdir}/lib*common.so -rm -f %{buildroot}%{tde_libdir}/lib*filters.so -rm -f %{buildroot}%{tde_libdir}/lib*private.so -rm -f %{buildroot}%{tde_libdir}/libkarbon*.so -rm -f %{buildroot}%{tde_libdir}/libkchart*.so -rm -f %{buildroot}%{tde_libdir}/libkexi*.so -rm -f %{buildroot}%{tde_libdir}/libkisexiv2.so -rm -f %{buildroot}%{tde_libdir}/libkformdesigner.so -rm -f %{buildroot}%{tde_libdir}/libkplato*.so -rm -f %{buildroot}%{tde_libdir}/libkpresenter*.so -rm -f %{buildroot}%{tde_libdir}/libkword*.so -rm -f %{buildroot}%{tde_libdir}/libkross*.so -rm -f %{buildroot}%{tde_libdir}/libkugar*.so - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/applications/koffice/koffice-3.5.13.spec b/redhat/applications/koffice/koffice-3.5.13.spec deleted file mode 100644 index 803407cb6..000000000 --- a/redhat/applications/koffice/koffice-3.5.13.spec +++ /dev/null @@ -1,1081 +0,0 @@ -# Default version for this component -%define kdecomp koffice - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -# Disable Kross support for RHEL <= 5 (python is too old) -%if 0%{?fedora} > 0 || 0%{?rhel} >= 6 || 0%{?mgaversion} || 0%{?mdkversion} -%define with_kross 1 -%endif - -%if 0%{?fedora} >= 17 -%define with_ruby 0 -%else -%define with_ruby 1 -%endif - -# Ruby 1.9 includes are located in strance directories ... (taken from ruby 1.9 spec file) -%global _normalized_cpu %(echo %{_target_cpu} | sed 's/^ppc/powerpc/;s/i.86/i386/;s/sparcv./sparc/;s/armv.*/arm/') - - -Name: trinity-%{kdecomp} -Summary: An integrated office suite -Version: 1.6.3 -Release: 5%{?dist}%{?_variant} - -Group: Applications/Productivity -License: GPLv2+ - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz -Source100: koshell.png - -# [lib/kross/python/scripts/RestrictedPython/Utilities.py] Syntax error [Bug #679] -Patch2: koffice-3.5.13-kross_utilities_syntax.patch -# [koffice/chalk] Fix GraphicksMagick 1.3 support [Bug #353] -Patch3: koffice-3.5.13-chalk_gmagick.patch -# [koffice/kexi] Various patches for kexi, found on the web [Bug # 777] -Patch5: kexi-fix-possible-crash-in-buffered-mode-sqlite-2.patch -Patch6: kexi-hide_hourglass-1.1.3-2.patch -Patch7: kexi-fix-support-for-boolean-types-in-migration.patch -Patch8: kexi-mysql_migrate_long_text-1.1.3.patch -Patch9: kexi-fix-support-for-boolean-types.patch -Patch10: kexi-thoushand_objects_support-1.1.3-2.patch -Patch11: kexi-fp_expressions-1.1.3.patch -# [koffice] Fix compilation with GCC 4.7 [Bug #958] -Patch12: koffice-3.5.13-fix_gcc47_compilation.patch -# [koffice] Fix compilation with Ruby 1.9 [Bug #735] -Patch13: koffice-3.5.13-fix_ruby_1.9.patch -# [koffice] Fix compilation with libpng [Bug #603] -Patch14: koffice-3.5.13-fix_libpng.patch -# [koffice] Fix FTBFS due to missing libraries [Bug #657] [Commit #5c69fcd3] -# Clean up lib paths in LDFLAGS - moved to LIBADD -# For KWord and and KPresenter added linking kspell2 -# For KSpread added linking kutils -Patch15: koffice-3.5.13-fix_bug_657.patch -# [koffice] Fix accidental conversions of binary files [Bug #1033] [Commit #dbe89307] -Source1: koffice-3.5.13-damaged_binary_files.tar.gz -# [koffice] Missing LDFLAGS cause FTBFS on Mageia / Mandriva -Patch16: koffice-3.5.13-missing_ldflags.patch - -# BuildRequires: world-devel ;) -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdegraphics-devel -BuildRequires: automake libtool -BuildRequires: freetype-devel -BuildRequires: fontconfig-devel -BuildRequires: libart_lgpl-devel -BuildRequires: libpng-devel -BuildRequires: libtiff-devel -BuildRequires: libjpeg-devel -BuildRequires: ImageMagick-devel -BuildRequires: bzip2-devel -BuildRequires: zlib-devel -BuildRequires: openssl-devel -BuildRequires: python-devel -BuildRequires: pcre-devel -BuildRequires: lcms-devel -BuildRequires: gettext-devel -BuildRequires: mysql-devel -BuildRequires: desktop-file-utils -BuildRequires: perl -BuildRequires: doxygen -BuildRequires: aspell-devel -BuildRequires: libxslt-devel -BuildRequires: OpenEXR-devel -BuildRequires: libexif-devel -BuildRequires: readline-devel -%if 0%{?with_ruby} -BuildRequires: ruby ruby-devel >= 1.8.2 -%endif -BuildRequires: libpaper-devel -BuildRequires: libutempter-devel -BuildRequires: GraphicsMagick-devel >= 1.1.0 - -BuildRequires: trinity-tdegraphics-libpoppler-tqt-devel - -# These libraries are either too old or too recent on distributions ! -# We always provide our versions with TDE... -BuildRequires: trinity-libwpd-devel -BuildRequires: trinity-libpqxx-devel - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}mesagl1-devel -BuildRequires: %{_lib}mesaglu1-devel -BuildRequires: %{_lib}xi-devel -BuildRequires: wv2-devel -%else -BuildRequires: libGL-devel -BuildRequires: libGLU-devel -BuildRequires: libXi-devel -BuildRequires: trinity-wv2-devel -%endif - -%description -KOffice is an integrated office suite. - -%package suite -Summary: An integrated office suite -Group: Applications/Productivity -Obsoletes: %{name} <= %{version}-%{release} -Obsoletes: %{name}-i18n < 4:%{version} -Requires: %{name}-core = %{version}-%{release} -Requires: %{name}-kword = %{version}-%{release} -Requires: %{name}-kspread = %{version}-%{release} -Requires: %{name}-kpresenter = %{version}-%{release} -Requires: %{name}-kivio = %{version}-%{release} -Requires: %{name}-karbon = %{version}-%{release} -Requires: %{name}-kugar = %{version}-%{release} -Requires: %{name}-kexi = %{version}-%{release} -Requires: %{name}-kexi-driver-mysql = %{version}-%{release} -Requires: %{name}-kexi-driver-pgsql = %{version}-%{release} -Requires: %{name}-kchart = %{version}-%{release} -Requires: %{name}-kformula = %{version}-%{release} -Requires: %{name}-filters = %{version}-%{release} -Requires: %{name}-kplato = %{version}-%{release} -Requires: %{name}-chalk = %{version}-%{release} - -%description suite -KOffice is an integrated office suite. - -%package core -Summary: Core support files for %{name} -Group: Applications/Productivity -Requires: %{name}-libs = %{version}-%{release} -Requires: perl -Conflicts: koffice-i18n < %{version} -%description core -%{summary}. - -%package libs -Summary: Runtime libraries for %{name} -Group: System Environment/Libraries -Conflicts: %{name} <= %{version}-%{release} -Requires: trinity-kdelibs -License: LGPLv2+ -%description libs -%{summary}. - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Requires: %{name}-libs = %{version}-%{release} -License: LGPLv2+ -%description devel -%{summary}. - -%package kword -Summary: A frame-based word processor capable of professional standard documents -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} -%description kword -%{summary}. - -%package kspread -Summary: A powerful spreadsheet application -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} -%description kspread -%{summary}. - -%package kpresenter -Summary: A full-featured presentation program -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} -%description kpresenter -%{summary}. - -%package kivio -Summary: A flowcharting application -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} -Obsoletes: kivio < %{version}-%{release} -%description kivio -%{summary}. - -%package karbon -Summary: A vector drawing application -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} -%description karbon -%{summary}. - -%package kugar -Summary: A tool for generating business quality reports -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} -%description kugar -%{summary}. - -%package kexi -Summary: An integrated environment for managing data -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} -%description kexi -%{summary}. -For additional database drivers take a look at %{name}-kexi-driver-* - -%package kexi-driver-mysql -Summary: Mysql-driver for kexi -Group: Applications/Productivity -Requires: %{name}-kexi = %{version}-%{release} -%description kexi-driver-mysql -%{summary}. - -%package kexi-driver-pgsql -Summary: Postgresql driver for kexi -Group: Applications/Productivity -Requires: %{name}-kexi = %{version}-%{release} -%description kexi-driver-pgsql -%{summary}. - -%package kchart -Summary: An integrated graph and chart drawing tool -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} -%description kchart -%{summary}. - -%package kformula -Summary: A powerful formula editor -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} - -%if 0%{?mgaversion} || 0%{?mdkversion} -Requires: fonts-ttf-dejavu -%else -Requires: lyx-cmex10-fonts -%if 0%{?fedora} >= 11 || 0%{?rhel} >= 6 -Requires: dejavu-lgc-sans-fonts -%else -Requires: dejavu-lgc-fonts -%endif -%endif - -%description kformula -%{summary}. - -%package filters -Summary: Import and Export Filters for KOffice -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} -%description filters -%{summary}. - -%package kplato -Summary: An integrated project management and planning tool -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} -%description kplato -%{summary}. - -%package chalk -Summary: pixel-based image manipulation program for the TDE Office Suite [Trinity] -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} -Requires: %{name}-chalk-data = %{version}-%{release} -Requires: %{name}-filters -%description chalk -Chalk is a painting and image editing application for KOffice. Chalk contains -both ease-of-use and fun features like guided painting. - -This package is part of the TDE Office Suite. - -%package chalk-data -Summary: data files for Chalk painting program [Trinity] -Group: Applications/Productivity -%description chalk-data -This package contains architecture-independent data files for Chalk, -the painting program shipped with the TDE Office Suite. - -See the chalk package for further information. - -This package is part of the TDE Office Suite. - - - -%prep -%setup -q -n applications/%{kdecomp} -%setup -q -n applications/%{kdecomp} -a 1 - -#patch0 -p1 -#patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch5 -p0 -%patch6 -p0 -%patch7 -p0 -%patch8 -p0 -%patch9 -p0 -%patch10 -p0 -%patch11 -p0 -%patch12 -p1 -b .gcc47 -%if 0%{?fedora} >= 17 -%patch13 -p1 -b .ruby -%patch14 -p1 -b .libpng -%endif -%patch15 -p1 -%patch16 -p1 - -# use LGC variant instead -%__sed -i.dejavu-lgc \ - -e 's|DejaVu Sans|DejaVu LGC Sans|' \ - -e 's|dejavu sans|dejavu lgc sans|' \ - lib/kformula/{contextstyle,fontstyle,symboltable}.cc - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath --disable-dependency-tracking \ - --enable-new-ldflags \ - --disable-debug --disable-warnings \ - --with-pic --enable-shared --disable-static \ - --with-extra-libs=%{tde_libdir} \ - --enable-final \ - --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir}/arts \ - --enable-closure \ - --disable-kexi-macros \ - --with-pqxx-includes=%{tde_includedir} \ - --with-pqxx-libraries=%{tde_libdir} \ -%if 0%{?with_kross} > 0 - --enable-scripting \ -%else - --disable-scripting \ -%endif - -%__make %{?_smp_mflags} - - -%install -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -[ ! -f %{buildroot}%{tde_datadir}/icons/hicolor/48x48/apps/koshell.png ] && \ -%__install -p -D -m644 %{SOURCE100} %{buildroot}%{tde_datadir}/icons/hicolor/48x48/apps/koshell.png - -# Replace absolute symlinks with relative ones -pushd %{buildroot}%{tde_tdedocdir}/HTML -for lang in *; do - if [ -d $lang ]; then - pushd $lang - for i in */*; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../../common $i/common - done - popd - fi -done -popd - -desktop-file-install \ - --dir=%{buildroot}%{tde_tdeappdir} \ - --vendor="" \ - --delete-original \ - %{buildroot}%{tde_datadir}/applnk/Office/*.desktop - -## Hack-in NoDisplay=True (http://bugzilla.redhat.com/245061) -## until http://bugzilla.redhat.com/245190 is fixed -%if 0%{?rhel} || 0%{?fedora} -for desktop_file in %{buildroot}%{tde_datadir}/applnk/.hidden/*.desktop ; do - grep "^NoDisplay=" ${desktop_file} || \ - echo "NoDisplay=True" >> ${desktop_file} -done -%endif - -## unpackaged files -# fonts -rm -rfv %{buildroot}%{tde_datadir}/apps/kformula/fonts/ -# libtool archives -rm -f %{buildroot}%{tde_libdir}/lib*.la -# shouldn't these be in koffice-l10n? -rm -f %{buildroot}%{tde_datadir}/locale/pl/LC_MESSAGES/kexi_{add,delete}_column_gui_transl_pl.sh -# -devel symlinks to nuke -rm -f %{buildroot}%{tde_libdir}/lib*common.so -rm -f %{buildroot}%{tde_libdir}/lib*filters.so -rm -f %{buildroot}%{tde_libdir}/lib*private.so -rm -f %{buildroot}%{tde_libdir}/libkarbon*.so -rm -f %{buildroot}%{tde_libdir}/libkchart*.so -rm -f %{buildroot}%{tde_libdir}/libkexi*.so -rm -f %{buildroot}%{tde_libdir}/libkisexiv2.so -rm -f %{buildroot}%{tde_libdir}/libkformdesigner.so -rm -f %{buildroot}%{tde_libdir}/libkplato*.so -rm -f %{buildroot}%{tde_libdir}/libkpresenter*.so -rm -f %{buildroot}%{tde_libdir}/libkword*.so -rm -f %{buildroot}%{tde_libdir}/libkross*.so -rm -f %{buildroot}%{tde_libdir}/libkugar*.so - - -%clean -%__rm -rf %{buildroot} - -%post core -touch --no-create %{tde_datadir}/icons/crystalsvg &> /dev/null || : -touch --no-create %{tde_datadir}/icons/hicolor &> /dev/null || : -touch --no-create %{tde_datadir}/icons/locolor &> /dev/null || : - -%postun core -if [ $1 -eq 0 ]; then - gtk-update-icon-cache %{tde_datadir}/icons/crystalsvg &> /dev/null || : - gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || : - gtk-update-icon-cache %{tde_datadir}/icons/locolor &> /dev/null || : - update-desktop-database -q &> /dev/null ||: -fi - -%posttrans core -gtk-update-icon-cache %{tde_datadir}/icons/crystalsvg &> /dev/null || : -gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || : -gtk-update-icon-cache %{tde_datadir}/icons/locolor &> /dev/null || : -update-desktop-database -q &> /dev/null ||: - -%post karbon -/sbin/ldconfig || : - -%postun karbon -/sbin/ldconfig || : - -%post kword -/sbin/ldconfig || : - -%postun kword -/sbin/ldconfig || : - -%posttrans kword -update-desktop-database -q &> /dev/null ||: - -%post kpresenter -/sbin/ldconfig || : - -%postun kpresenter -/sbin/ldconfig || : - -%posttrans kpresenter -update-desktop-database -q &> /dev/null ||: - -%post kugar -/sbin/ldconfig || : - -%postun kugar -/sbin/ldconfig || : - -%posttrans kugar -update-desktop-database -q &> /dev/null ||: - -%post kexi -/sbin/ldconfig || : - -%postun kexi -/sbin/ldconfig || : - -%posttrans kexi -update-desktop-database -q &> /dev/null ||: - -%post kchart -/sbin/ldconfig || : - -%postun kchart -/sbin/ldconfig || : - -%posttrans kchart -update-desktop-database -q &> /dev/null ||: - -%post filters -/sbin/ldconfig || : - -%postun filters -/sbin/ldconfig || : - -%post libs -/sbin/ldconfig || : - -%postun libs -/sbin/ldconfig || : - -%post chalk -/sbin/ldconfig || : - -%postun chalk -/sbin/ldconfig || : - -%posttrans chalk -update-desktop-database -q &> /dev/null ||: - -%files suite -#empty => virtual package - -%files core -%defattr(-,root,root,-) -%doc AUTHORS COPYING README -%{tde_bindir}/koshell -%{tde_bindir}/kthesaurus -%{tde_bindir}/koconverter -%{tde_libdir}/libkdeinit_koshell.so -%{tde_libdir}/libkdeinit_kthesaurus.so -%{tde_tdelibdir}/kfile_koffice.* -%{tde_tdelibdir}/kfile_ooo.* -%{tde_tdelibdir}/kfile_abiword.* -%{tde_tdelibdir}/kfile_gnumeric.* -%{tde_tdelibdir}/kodocinfopropspage.* -%{tde_tdelibdir}/kofficescan.* -%{tde_tdelibdir}/kofficethumbnail.* -%{tde_tdelibdir}/koshell.* -%{tde_tdelibdir}/kthesaurus.* -%{tde_tdelibdir}/kwmailmerge_classic.* -%{tde_tdelibdir}/kwmailmerge_kabc.* -%{tde_tdelibdir}/kwmailmerge_qtsqldb_power.* -%{tde_tdelibdir}/kwmailmerge_qtsqldb.* -%{tde_tdelibdir}/libkounavailpart.* -%{tde_tdelibdir}/libkprkword.* -%{tde_tdelibdir}/libthesaurustool.* -%{tde_tdelibdir}/clipartthumbnail.* -%{tde_datadir}/apps/koffice/ -%{tde_datadir}/apps/konqueror/servicemenus/* -%{tde_datadir}/apps/koshell/ -%{tde_datadir}/apps/thesaurus/ -%{tde_datadir}/config.kcfg/koshell.kcfg -%{tde_tdedocdir}/HTML/en/koffice/ -%{tde_tdedocdir}/HTML/en/koshell/ -%{tde_tdedocdir}/HTML/en/thesaurus/ -%{tde_datadir}/icons/crystalsvg/*/*/* -%{tde_datadir}/icons/hicolor/*/*/* -%{tde_datadir}/icons/locolor/*/*/* -%{tde_datadir}/services/clipartthumbnail.desktop -%{tde_datadir}/services/kfile*.desktop -%{tde_datadir}/services/kwmailmerge*.desktop -%{tde_datadir}/services/kodocinfopropspage.desktop -%{tde_datadir}/services/kofficethumbnail.desktop -%{tde_datadir}/services/kounavail.desktop -%{tde_datadir}/services/kprkword.desktop -%{tde_datadir}/services/thesaurustool.desktop -%{tde_datadir}/servicetypes/kochart.desktop -%{tde_datadir}/servicetypes/kofficepart.desktop -%{tde_datadir}/servicetypes/koplugin.desktop -%{tde_datadir}/servicetypes/kwmailmerge.desktop -%{tde_datadir}/servicetypes/widgetfactory.desktop -%{tde_tdeappdir}/*koffice.desktop -%{tde_tdeappdir}/*KThesaurus.desktop -%{tde_tdeappdir}/*koshell.desktop -%{tde_datadir}/apps/kofficewidgets/ -%if 0%{?with_kross} > 0 -%{tde_datadir}/apps/kross/ -%{tde_tdelibdir}/krosspython.* -%if 0%{?with_ruby} -%{tde_tdelibdir}/krossruby.* -%endif -%endif - -%files libs -%defattr(-,root,root,-) -%doc COPYING.LIB -#_libdir/libk*common.so.* -%{tde_libdir}/libkarboncommon.so.* -%{tde_libdir}/libkspreadcommon.so.* -%{tde_libdir}/libkdchart.so.* -%{tde_libdir}/libkochart.so.* -%{tde_libdir}/libkofficecore.so.* -%{tde_libdir}/libkofficeui.so.* -%{tde_libdir}/libkotext.so.* -%{tde_libdir}/libkowmf.so.* -%{tde_libdir}/libkopainter.so.* -%{tde_libdir}/libkstore.so.* -%{tde_libdir}/libkwmailmerge_interface.so.* -%{tde_libdir}/libkwmf.so.* -%{tde_libdir}/libkformulalib.so.* -%{tde_libdir}/libkopalette.so.* -%{tde_libdir}/libkoproperty.so.* -%if 0%{?with_kross} > 0 -%{tde_libdir}/libkrossapi.so.* -%{tde_libdir}/libkrossmain.so.* -%endif - -%files devel -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/koffice-apidocs/ -%{tde_includedir}/* -# FIXME: include only shlib symlinks we know/want to export -%{tde_libdir}/lib*.so -%exclude %{tde_libdir}/libkdeinit_*.so -%exclude %{tde_libdir}/libkudesignercore.so - -%files kword -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kword/ -%{tde_bindir}/kword -%{tde_libdir}/libkdeinit_kword.so -%{tde_libdir}/libkwordprivate.so.* -%{tde_tdelibdir}/libkwordpart.* -%{tde_tdelibdir}/kword.* -%{tde_datadir}/apps/kword/ -%{tde_datadir}/services/kword*.desktop -%{tde_datadir}/services/kwserial*.desktop -%{tde_datadir}/templates/TextDocument.desktop -%{tde_datadir}/templates/.source/TextDocument.kwt -%{tde_tdeappdir}/*kword.desktop - -%files kspread -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kspread/ -%{tde_bindir}/kspread -%{tde_libdir}/libkdeinit_kspread.so -%{tde_tdelibdir}/kspread.* -%{tde_tdelibdir}/libkspreadpart.* -%{tde_tdelibdir}/kwmailmerge_kspread.* -%{tde_tdelibdir}/libcsvexport.* -%{tde_tdelibdir}/libcsvimport.* -%{tde_tdelibdir}/libgnumericexport.* -%{tde_tdelibdir}/libgnumericimport.* -%{tde_tdelibdir}/libkspreadhtmlexport.* -%{tde_tdelibdir}/libkspreadinsertcalendar.* -%{tde_tdelibdir}/libopencalcexport.* -%{tde_tdelibdir}/libopencalcimport.* -%{tde_tdelibdir}/libqproimport.* -%{tde_datadir}/apps/kspread/ -%{tde_datadir}/services/kspread*.desktop -%{tde_datadir}/templates/SpreadSheet.desktop -%{tde_datadir}/templates/.source/SpreadSheet.kst -%{tde_tdeappdir}/*kspread.desktop -%if 0%{?with_kross} > 0 -%{tde_tdelibdir}/kspreadscripting.* -%{tde_tdelibdir}/krosskspreadcore.* -%endif - -%files kpresenter -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kpresenter/ -%{tde_bindir}/kpresenter -%{tde_bindir}/kprconverter.pl -%{tde_libdir}/libkdeinit_kpresenter.so -%{tde_libdir}/libkpresenterimageexport.so.* -%{tde_libdir}/libkpresenterprivate.so.* -%{tde_tdelibdir}/*kpresenter*.* -%{tde_datadir}/apps/kpresenter/ -%{tde_datadir}/services/kpresenter*.desktop -%{tde_datadir}/templates/Presentation.desktop -%{tde_datadir}/templates/.source/Presentation.kpt -%{tde_tdeappdir}/*kpresenter.desktop - -%files karbon -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/karbon/ -%{tde_bindir}/karbon -%{tde_libdir}/libkdeinit_karbon.so -%{tde_tdelibdir}/*karbon*.* -%{tde_tdelibdir}/libwmfexport.* -%{tde_tdelibdir}/libwmfimport.* -%{tde_datadir}/apps/karbon/ -%{tde_datadir}/services/karbon* -%{tde_datadir}/servicetypes/karbon_module.desktop -%{tde_datadir}/templates/Illustration.desktop -%{tde_datadir}/templates/.source/Illustration.karbon -%{tde_tdeappdir}/*karbon.desktop - -%files kugar -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kugar/ -%{tde_bindir}/kugar -%{tde_bindir}/kudesigner -%{tde_libdir}/libkdeinit_kugar.so -%{tde_libdir}/libkdeinit_kudesigner.so -%{tde_libdir}/libkugarlib.so.* -%{tde_libdir}/libkudesignercore.so -%{tde_tdelibdir}/kudesigner.* -%{tde_tdelibdir}/kugar.* -%{tde_tdelibdir}/libkudesignerpart.* -%{tde_tdelibdir}/libkugarpart.* -%{tde_datadir}/apps/kudesigner/ -%{tde_datadir}/apps/kugar/ -%{tde_datadir}/services/kugar*.desktop -%{tde_tdeappdir}/*kugar.desktop -%{tde_tdeappdir}/*kudesigner.desktop - -%files kexi -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kexi/ -%{tde_bindir}/kexi* -%{tde_bindir}/ksqlite* -%{tde_libdir}/libkdeinit_kexi.so -%{tde_libdir}/libkexi*.so.* -%{tde_libdir}/libkformdesigner.so.* -%{tde_tdelibdir}/kformdesigner_*.* -%{tde_tdelibdir}/kexidb_sqlite2driver.* -%{tde_tdelibdir}/kexidb_sqlite3driver.* -%{tde_tdelibdir}/kexihandler_*.* -%{tde_tdelibdir}/kexi.* -# moved here to workaround bug #394101, alternative is to move libkexi(db|dbparser|utils) to -libs) -%{tde_tdelibdir}/libkspreadkexiimport.* -%{tde_datadir}/config/kexirc -%{tde_datadir}/config/magic/kexi.magic -%{tde_datadir}/mimelnk/application/* -%{tde_datadir}/servicetypes/kexi*.desktop -%{tde_datadir}/services/kexi/ -%{tde_datadir}/apps/kexi/ -%{tde_datadir}/services/kformdesigner/* -%{tde_tdeappdir}/*kexi.desktop -%{tde_datadir}/services/kexidb_sqlite*driver.desktop -%if 0%{?with_kross} > 0 -%{tde_bindir}/krossrunner -%{tde_tdelibdir}/krosskexiapp.* -%{tde_tdelibdir}/krosskexidb.* -%endif - -%files kexi-driver-mysql -%defattr(-,root,root,-) -%{tde_tdelibdir}/kexidb_mysqldriver.* -%{tde_tdelibdir}/keximigrate_mysql.* -%{tde_datadir}/services/keximigrate_mysql.desktop -%{tde_datadir}/services/kexidb_mysqldriver.desktop - -%files kexi-driver-pgsql -%defattr(-,root,root,-) -%{tde_tdelibdir}/kexidb_pqxxsqldriver.* -%{tde_tdelibdir}/keximigrate_pqxx.* -%{tde_datadir}/services/kexidb_pqxxsqldriver.desktop -%{tde_datadir}/services/keximigrate_pqxx.desktop - -%files kchart -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kchart/ -%{tde_bindir}/kchart -%{tde_libdir}/libkchart*.so.* -%{tde_libdir}/libkdeinit_kchart.so -%{tde_tdelibdir}/*kchart*.* -%{tde_datadir}/apps/kchart/ -%{tde_datadir}/services/kchart*.desktop -%{tde_tdeappdir}/*kchart.desktop - -%files kformula -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kformula/ -%{tde_bindir}/kformula -%{tde_libdir}/libkdeinit_kformula.so -%{tde_tdelibdir}/*kformula*.* -%{tde_datadir}/apps/kformula/ -%{tde_datadir}/services/kformula*.desktop -%{tde_tdeappdir}/*kformula.desktop - -%files kivio -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kivio/ -%{tde_bindir}/kivio -%{tde_libdir}/libkdeinit_kivio.so -%{tde_libdir}/libkiviocommon.so.* -%{tde_tdelibdir}/*kivio*.* -%{tde_tdelibdir}/straight_connector.* -%{tde_datadir}/apps/kivio/ -%{tde_datadir}/config.kcfg/kivio.kcfg -%{tde_datadir}/services/kivio*.desktop -%{tde_tdeappdir}/*kivio.desktop - -%files filters -%defattr(-,root,root,-) -%{tde_libdir}/libkwordexportfilters.so.* -%{tde_tdelibdir}/libabiwordexport.* -%{tde_tdelibdir}/libabiwordimport.* -%{tde_tdelibdir}/libamiproexport.* -%{tde_tdelibdir}/libamiproimport.* -%{tde_tdelibdir}/libapplixspreadimport.* -%{tde_tdelibdir}/libapplixwordimport.* -%{tde_tdelibdir}/libasciiexport.* -%{tde_tdelibdir}/libasciiimport.* -%{tde_tdelibdir}/libdbaseimport.* -%{tde_tdelibdir}/libdocbookexport.* -%{tde_tdelibdir}/libexcelimport.* -%{tde_tdelibdir}/libgenerickofilter.* -%{tde_tdelibdir}/libhtmlexport.* -%{tde_tdelibdir}/libhtmlimport.* -%{tde_tdelibdir}/libkarbonepsimport.* -%{tde_tdelibdir}/libkfolatexexport.* -%{tde_tdelibdir}/libkfomathmlexport.* -%{tde_tdelibdir}/libkfomathmlimport.* -%{tde_tdelibdir}/libkfopngexport.* -%{tde_tdelibdir}/libkspreadlatexexport.* -%{tde_tdelibdir}/libkugarnopimport.* -%{tde_tdelibdir}/libkwordkword1dot3import.* -%{tde_tdelibdir}/libkwordlatexexport.* -%{tde_tdelibdir}/libmswriteexport.* -%{tde_tdelibdir}/libmswriteimport.* -%{tde_tdelibdir}/libooimpressexport.* -%{tde_tdelibdir}/libooimpressimport.* -%{tde_tdelibdir}/liboowriterexport.* -%{tde_tdelibdir}/liboowriterimport.* -%{tde_tdelibdir}/libpalmdocexport.* -%{tde_tdelibdir}/libpalmdocimport.* -%{tde_tdelibdir}/libpdfimport.* -%{tde_tdelibdir}/librtfexport.* -%{tde_tdelibdir}/librtfimport.* -%{tde_tdelibdir}/libwmlexport.* -%{tde_tdelibdir}/libwmlimport.* -%{tde_tdelibdir}/libwpexport.* -%{tde_tdelibdir}/libwpimport.* -%{tde_tdelibdir}/libmswordimport.* -%{tde_tdelibdir}/libxsltimport.* -%{tde_tdelibdir}/libxsltexport.* -%{tde_tdelibdir}/libhancomwordimport.* -%{tde_tdelibdir}/libkfosvgexport.* -%{tde_tdelibdir}/liboodrawimport.* -%{tde_tdelibdir}/libolefilter.* -%{tde_datadir}/apps/xsltfilter/ -%{tde_datadir}/services/generic_filter.desktop -%{tde_datadir}/services/ole_powerpoint97_import.desktop -%{tde_datadir}/services/xslt*.desktop -%{tde_datadir}/servicetypes/kofilter*.desktop - -%files kplato -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kplato/ -%{tde_bindir}/kplato -%{tde_libdir}/libkdeinit_kplato.so -%{tde_tdelibdir}/kplato.* -%{tde_tdelibdir}/libkplatopart.* -%{tde_datadir}/apps/kplato/ -%{tde_datadir}/services/kplatopart.desktop -%{tde_tdeappdir}/*kplato.desktop - -%files chalk -%defattr(-,root,root,-) -%{tde_bindir}/chalk -%{tde_tdelibdir}/chalkblurfilter.la -%{tde_tdelibdir}/chalkblurfilter.so -%{tde_tdelibdir}/chalkbumpmap.la -%{tde_tdelibdir}/chalkbumpmap.so -%{tde_tdelibdir}/chalkcimg.la -%{tde_tdelibdir}/chalkcimg.so -%{tde_tdelibdir}/chalk_cmyk_* -%{tde_tdelibdir}/chalkcmykplugin.la -%{tde_tdelibdir}/chalkcmykplugin.so -%{tde_tdelibdir}/chalkcolorify.la -%{tde_tdelibdir}/chalkcolorify.so -%{tde_tdelibdir}/chalkcolorrange.la -%{tde_tdelibdir}/chalkcolorrange.so -%{tde_tdelibdir}/chalkcolorsfilters.la -%{tde_tdelibdir}/chalkcolorsfilters.so -%{tde_tdelibdir}/chalkcolorspaceconversion.la -%{tde_tdelibdir}/chalkcolorspaceconversion.so -%{tde_tdelibdir}/chalkconvolutionfilters.la -%{tde_tdelibdir}/chalkconvolutionfilters.so -%{tde_tdelibdir}/chalkdefaultpaintops.la -%{tde_tdelibdir}/chalkdefaultpaintops.so -%{tde_tdelibdir}/chalkdefaulttools.la -%{tde_tdelibdir}/chalkdefaulttools.so -%{tde_tdelibdir}/chalkdropshadow.la -%{tde_tdelibdir}/chalkdropshadow.so -%{tde_tdelibdir}/chalkembossfilter.la -%{tde_tdelibdir}/chalkembossfilter.so -%{tde_tdelibdir}/chalkexample.la -%{tde_tdelibdir}/chalkexample.so -%{tde_tdelibdir}/chalkextensioncolorsfilters.la -%{tde_tdelibdir}/chalkextensioncolorsfilters.so -%{tde_tdelibdir}/chalkfastcolortransfer.la -%{tde_tdelibdir}/chalkfastcolortransfer.so -%{tde_tdelibdir}/chalkfiltersgallery.la -%{tde_tdelibdir}/chalkfiltersgallery.so -%{tde_tdelibdir}/chalk_gray_* -%{tde_tdelibdir}/chalkgrayplugin.la -%{tde_tdelibdir}/chalkgrayplugin.so -%{tde_tdelibdir}/chalkhistogramdocker.la -%{tde_tdelibdir}/chalkhistogramdocker.so -%{tde_tdelibdir}/chalkhistogram.la -%{tde_tdelibdir}/chalkhistogram.so -%{tde_tdelibdir}/chalkimageenhancement.la -%{tde_tdelibdir}/chalkimageenhancement.so -%{tde_tdelibdir}/chalkimagesize.la -%{tde_tdelibdir}/chalkimagesize.so -%{tde_tdelibdir}/chalk.la -%{tde_tdelibdir}/chalklenscorrectionfilter.la -%{tde_tdelibdir}/chalklenscorrectionfilter.so -%{tde_tdelibdir}/chalklevelfilter.la -%{tde_tdelibdir}/chalklevelfilter.so -%{tde_tdelibdir}/chalk_lms_* -%{tde_tdelibdir}/chalkmodifyselection.la -%{tde_tdelibdir}/chalkmodifyselection.so -%{tde_tdelibdir}/chalknoisefilter.la -%{tde_tdelibdir}/chalknoisefilter.so -%{tde_tdelibdir}/chalkoilpaintfilter.la -%{tde_tdelibdir}/chalkoilpaintfilter.so -%{tde_tdelibdir}/chalkpixelizefilter.la -%{tde_tdelibdir}/chalkpixelizefilter.so -%{tde_tdelibdir}/chalkraindropsfilter.la -%{tde_tdelibdir}/chalkraindropsfilter.so -%{tde_tdelibdir}/chalkrandompickfilter.la -%{tde_tdelibdir}/chalkrandompickfilter.so -%{tde_tdelibdir}/chalk_rgb_* -%{tde_tdelibdir}/chalkrgbplugin.la -%{tde_tdelibdir}/chalkrgbplugin.so -%{tde_tdelibdir}/chalkrotateimage.la -%{tde_tdelibdir}/chalkrotateimage.so -%{tde_tdelibdir}/chalkroundcornersfilter.la -%{tde_tdelibdir}/chalkroundcornersfilter.so -%{tde_tdelibdir}/chalkselectiontools.la -%{tde_tdelibdir}/chalkselectiontools.so -%{tde_tdelibdir}/chalkselectopaque.la -%{tde_tdelibdir}/chalkselectopaque.so -%{tde_tdelibdir}/chalkseparatechannels.la -%{tde_tdelibdir}/chalkseparatechannels.so -%{tde_tdelibdir}/chalkshearimage.la -%{tde_tdelibdir}/chalkshearimage.so -%{tde_tdelibdir}/chalksmalltilesfilter.la -%{tde_tdelibdir}/chalksmalltilesfilter.so -%{tde_tdelibdir}/chalk.so -%{tde_tdelibdir}/chalkscreenshot.la -%{tde_tdelibdir}/chalkscreenshot.so -%{tde_tdelibdir}/chalksobelfilter.la -%{tde_tdelibdir}/chalksobelfilter.so -%{tde_tdelibdir}/chalksubstrate.la -%{tde_tdelibdir}/chalksubstrate.so -%{tde_tdelibdir}/chalktoolcrop.la -%{tde_tdelibdir}/chalktoolcrop.so -%{tde_tdelibdir}/chalktoolcurves.la -%{tde_tdelibdir}/chalktoolcurves.so -%{tde_tdelibdir}/chalktoolfilter.la -%{tde_tdelibdir}/chalktoolfilter.so -%{tde_tdelibdir}/chalktoolperspectivegrid.la -%{tde_tdelibdir}/chalktoolperspectivegrid.so -%{tde_tdelibdir}/chalktoolperspectivetransform.la -%{tde_tdelibdir}/chalktoolperspectivetransform.so -%{tde_tdelibdir}/chalktoolpolygon.la -%{tde_tdelibdir}/chalktoolpolygon.so -%{tde_tdelibdir}/chalktoolpolyline.la -%{tde_tdelibdir}/chalktoolpolyline.so -%{tde_tdelibdir}/chalktoolselectsimilar.la -%{tde_tdelibdir}/chalktoolselectsimilar.so -%{tde_tdelibdir}/chalktoolstar.la -%{tde_tdelibdir}/chalktoolstar.so -%{tde_tdelibdir}/chalktooltransform.la -%{tde_tdelibdir}/chalktooltransform.so -%{tde_tdelibdir}/chalkunsharpfilter.la -%{tde_tdelibdir}/chalkunsharpfilter.so -%{tde_tdelibdir}/chalkwavefilter.la -%{tde_tdelibdir}/chalkwavefilter.so -%{tde_tdelibdir}/chalkwetplugin.la -%{tde_tdelibdir}/chalkwetplugin.so -%{tde_tdelibdir}/chalk_ycbcr_* -%{tde_tdelibdir}/libchalkgmagickexport.la -%{tde_tdelibdir}/libchalkgmagickexport.so -%{tde_tdelibdir}/libchalkgmagickimport.la -%{tde_tdelibdir}/libchalkgmagickimport.so -%{tde_tdelibdir}/libchalkjpegexport.la -%{tde_tdelibdir}/libchalkjpegexport.so -%{tde_tdelibdir}/libchalkjpegimport.la -%{tde_tdelibdir}/libchalkjpegimport.so -%{tde_tdelibdir}/libchalk_openexr_export.la -%{tde_tdelibdir}/libchalk_openexr_export.so -%{tde_tdelibdir}/libchalk_openexr_import.la -%{tde_tdelibdir}/libchalk_openexr_import.so -%{tde_tdelibdir}/libchalkpart.la -%{tde_tdelibdir}/libchalkpart.so -%{tde_tdelibdir}/libchalkpdfimport.la -%{tde_tdelibdir}/libchalkpdfimport.so -%{tde_tdelibdir}/libchalkpngexport.la -%{tde_tdelibdir}/libchalkpngexport.so -%{tde_tdelibdir}/libchalkpngimport.la -%{tde_tdelibdir}/libchalkpngimport.so -%{tde_tdelibdir}/libchalk_raw_import.la -%{tde_tdelibdir}/libchalk_raw_import.so -%{tde_tdelibdir}/libchalktiffexport.la -%{tde_tdelibdir}/libchalktiffexport.so -%{tde_tdelibdir}/libchalktiffimport.la -%{tde_tdelibdir}/libchalktiffimport.so -%{tde_libdir}/libkdeinit_chalk.so -%{tde_libdir}/libchalk_cmyk_*.so.* -%{tde_libdir}/libchalkcolor.so.* -%{tde_libdir}/libchalkcommon.so.* -%{tde_libdir}/libchalkgrayscale.so.* -%{tde_libdir}/libchalk_gray_*.so.* -%{tde_libdir}/libchalkimage.so.* -%{tde_libdir}/libchalk_lms_*.so.* -%{tde_libdir}/libchalk_rgb_*.so.* -%{tde_libdir}/libchalkrgb.so.* -%{tde_libdir}/libchalkui.so.* -%{tde_libdir}/libchalk_ycbcr_*.so.* -%if 0%{?with_kross} > 0 -%{tde_tdelibdir}/krosschalkcore.la -%{tde_tdelibdir}/krosschalkcore.so -%{tde_tdelibdir}/chalkscripting.la -%{tde_tdelibdir}/chalkscripting.so -%{tde_libdir}/libchalkscripting.so.* -%endif - -%files chalk-data -%{tde_tdeappdir}/chalk.desktop -%{tde_datadir}/applnk/.hidden/chalk_*.desktop -%{tde_datadir}/apps/konqueror/servicemenus/chalk_konqi.desktop -%{tde_datadir}/apps/chalk -%{tde_datadir}/apps/chalkplugins -%lang(en) %{tde_tdedocdir}/HTML/en/chalk -%{tde_datadir}/icons/hicolor/*/apps/chalk.png -%{tde_datadir}/services/chalk*.desktop -%{tde_datadir}/servicetypes/chalk*.desktop - - -%changelog -* Sun Jul 08 2012 Francois Andriot - 1.6.3-5 -- Fix kformula dependancies (for RHEL6) -- Fix FTBFS due to missing libraries [Bug #657] [Commit #5c69fcd3] - Clean up lib paths in LDFLAGS - moved to LIBADD - For KWord and and KPresenter added linking kspell2 - For KSpread added linking kutils -- Fix accidental conversions of binary files [Bug #1033] [Commit #dbe89307] - -* Thu Apr 26 2012 Francois Andriot - 1.6.3-4 -- Updates BuildRequires -- Build for Fedora 17 -- Fix compilation with GCC 4.7 [Bug #958] -- Fix compilation with Ruby 1.9 [Bug #735] -- Fix compilation with libpng [Bug #603] - -* Sat Jan 07 2012 Francois Andriot - 1.6.3-3 -- Fix GraphicksMagick 1.3 support [Bug #353] -- Various patches for kexi [Bug #777] - -* Fri Nov 25 2011 Francois Andriot - 1.6.3-2 -- Fix HTML directory location - -* Tue Nov 22 2011 Francois Andriot - 1.6.3-1 -- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16 -- Based on Spec file from Fedora 11 'koffice-2:1.6.3-25.20090306svn' -- Removed 'krita', added 'chalk' diff --git a/redhat/applications/konversation/96f2a488.diff b/redhat/applications/konversation/96f2a488.diff deleted file mode 100644 index 45aec3704..000000000 --- a/redhat/applications/konversation/96f2a488.diff +++ /dev/null @@ -1,84 +0,0 @@ -commit 96f2a488786e370c355778e00c795e776e09d199 -Author: Timothy Pearson -Date: 1322168535 -0600 - - Fix FTBFS - -diff --git a/konversation/src/alias_preferences.h b/konversation/src/alias_preferences.h -index cf70b4f..aeb3062 100644 ---- a/konversation/src/alias_preferences.h -+++ b/konversation/src/alias_preferences.h -@@ -13,6 +13,8 @@ - #ifndef EXALIASPREFERENCES_H - #define EXALIASPREFERENCES_H - -+#include -+ - #include "alias_preferencesui.h" - #include "konvisettingspage.h" - -diff --git a/konversation/src/autoreplace_preferences.h b/konversation/src/autoreplace_preferences.h -index c73da29..9cab1f0 100644 ---- a/konversation/src/autoreplace_preferences.h -+++ b/konversation/src/autoreplace_preferences.h -@@ -13,6 +13,8 @@ - #ifndef AUTOREPLACECONFIG_H - #define AUTOREPLACECONFIG_H - -+#include -+ - #include "autoreplace_preferencesui.h" - #include "konvisettingspage.h" - -diff --git a/konversation/src/config/konversation.kcfg b/konversation/src/config/konversation.kcfg -index a2a2582..8cf2b82 100644 ---- a/konversation/src/config/konversation.kcfg -+++ b/konversation/src/config/konversation.kcfg -@@ -294,7 +294,7 @@ - - - -- QSize(400, 200) -+ TQSize(400, 200) - - - -diff --git a/konversation/src/highlight_preferences.h b/konversation/src/highlight_preferences.h -index 67863a7..89974ca 100644 ---- a/konversation/src/highlight_preferences.h -+++ b/konversation/src/highlight_preferences.h -@@ -17,7 +17,7 @@ - #include "konvisettingspage.h" - - #include -- -+#include - - class Highlight_Config; - class Highlight; -diff --git a/konversation/src/ignore_preferences.h b/konversation/src/ignore_preferences.h -index e910b78..a19ff03 100644 ---- a/konversation/src/ignore_preferences.h -+++ b/konversation/src/ignore_preferences.h -@@ -17,7 +17,7 @@ - #include "konvisettingspage.h" - - #include -- -+#include - - class Ignore; - class Ignore_Config : public Ignore_ConfigUI, public KonviSettingsPage -diff --git a/konversation/src/quickbuttons_preferences.h b/konversation/src/quickbuttons_preferences.h -index c8cc0e1..ccf26af 100644 ---- a/konversation/src/quickbuttons_preferences.h -+++ b/konversation/src/quickbuttons_preferences.h -@@ -13,6 +13,8 @@ - #ifndef TQUICKBUTTONSCONFIG_H - #define TQUICKBUTTONSCONFIG_H - -+#include -+ - #include "quickbuttons_preferencesui.h" - #include "konvisettingspage.h" - diff --git a/redhat/applications/konversation/bp000-01f5ea83.diff b/redhat/applications/konversation/bp000-01f5ea83.diff deleted file mode 100644 index e55a04f57..000000000 --- a/redhat/applications/konversation/bp000-01f5ea83.diff +++ /dev/null @@ -1,3130 +0,0 @@ -commit 01f5ea83754cabfe6ebbcea0601cebaec976f708 -Author: Timothy Pearson -Date: 1324253563 -0600 - - Rename old tq methods that no longer need a unique name - -diff --git a/konversation/src/alias_preferencesui.ui b/konversation/src/alias_preferencesui.ui -index eb53d83..3783955 100644 ---- a/konversation/src/alias_preferencesui.ui -+++ b/konversation/src/alias_preferencesui.ui -@@ -146,7 +146,7 @@ - - Expanding - -- -+ - - 20 - 350 -diff --git a/konversation/src/autoreplace_preferencesui.ui b/konversation/src/autoreplace_preferencesui.ui -index f617836..769ba9b 100644 ---- a/konversation/src/autoreplace_preferencesui.ui -+++ b/konversation/src/autoreplace_preferencesui.ui -@@ -54,7 +54,7 @@ - - Expanding - -- -+ - - 20 - 506 -diff --git a/konversation/src/channel.cpp b/konversation/src/channel.cpp -index 21a507d..13e026e 100644 ---- a/konversation/src/channel.cpp -+++ b/konversation/src/channel.cpp -@@ -139,7 +139,7 @@ Channel::Channel(TQWidget* parent, TQString _name) : ChatWindow(parent) - - // The box holding the channel modes - modeBox = new TQHBox(topicWidget); -- modeBox->tqsetSizePolicy(hfixed); -+ modeBox->setSizePolicy(hfixed); - modeT = new ModeButton("T",modeBox,0); - modeN = new ModeButton("N",modeBox,1); - modeS = new ModeButton("S",modeBox,2); -@@ -240,33 +240,33 @@ Channel::Channel(TQWidget* parent, TQString _name) : ChatWindow(parent) - channelInput->installEventFilter(this); - - // Set the widgets size policies -- m_topicButton->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Fixed)); -- topicLine->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Minimum)); -+ m_topicButton->setSizePolicy(TQSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Fixed)); -+ topicLine->setSizePolicy(TQSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Minimum)); - -- commandLineBox->tqsetSizePolicy(vfixed); -+ commandLineBox->setSizePolicy(vfixed); - - limit->setMaximumSize(40,100); -- limit->tqsetSizePolicy(hfixed); -+ limit->setSizePolicy(hfixed); - - modeT->setMaximumSize(20,100); -- modeT->tqsetSizePolicy(hfixed); -+ modeT->setSizePolicy(hfixed); - modeN->setMaximumSize(20,100); -- modeN->tqsetSizePolicy(hfixed); -+ modeN->setSizePolicy(hfixed); - modeS->setMaximumSize(20,100); -- modeS->tqsetSizePolicy(hfixed); -+ modeS->setSizePolicy(hfixed); - modeI->setMaximumSize(20,100); -- modeI->tqsetSizePolicy(hfixed); -+ modeI->setSizePolicy(hfixed); - modeP->setMaximumSize(20,100); -- modeP->tqsetSizePolicy(hfixed); -+ modeP->setSizePolicy(hfixed); - modeM->setMaximumSize(20,100); -- modeM->tqsetSizePolicy(hfixed); -+ modeM->setSizePolicy(hfixed); - modeK->setMaximumSize(20,100); -- modeK->tqsetSizePolicy(hfixed); -+ modeK->setSizePolicy(hfixed); - modeL->setMaximumSize(20,100); -- modeL->tqsetSizePolicy(hfixed); -+ modeL->setSizePolicy(hfixed); - -- getTextView()->tqsetSizePolicy(greedy); -- nicknameListView->tqsetSizePolicy(hmodest); -+ getTextView()->setSizePolicy(greedy); -+ nicknameListView->setSizePolicy(hmodest); - - connect(channelInput,TQT_SIGNAL (submit()),this,TQT_SLOT (channelTextEntered()) ); - connect(channelInput,TQT_SIGNAL (envelopeCommand()),this,TQT_SLOT (channelPassthroughCommand()) ); -@@ -568,7 +568,7 @@ void Channel::popupCommand(int id) - break; - case Konversation::Ping: - { -- unsigned int time_t = TQDateTime::tqcurrentDateTime().toTime_t(); -+ unsigned int time_t = TQDateTime::currentDateTime().toTime_t(); - pattern=TQString(cc+"CTCP %u PING %1").tqarg(time_t); - } - break; -@@ -796,7 +796,7 @@ void Channel::completeNick() - { - nick = it.current(); - -- if(nick->getChannelNick()->getNickname().tqstartsWith(pattern, Preferences::nickCompletionCaseSensitive()) && -+ if(nick->getChannelNick()->getNickname().startsWith(pattern, Preferences::nickCompletionCaseSensitive()) && - (nick->getChannelNick()->timeStamp() > timeStamp)) - { - timeStamp = nick->getChannelNick()->timeStamp(); -@@ -822,7 +822,7 @@ void Channel::completeNick() - lookNick = lookNick.section( prefixCharacter,1 ); - } - -- if(lookNick.tqstartsWith(pattern, Preferences::nickCompletionCaseSensitive())) -+ if(lookNick.startsWith(pattern, Preferences::nickCompletionCaseSensitive())) - { - foundNick = lookNick; - } -@@ -1521,7 +1521,7 @@ void Channel::setTopic(const TQString &newTopic) - - if(m_topicHistory.first().section(' ', 2) != newTopic) - { -- m_topicHistory.prepend(TQString("%1 "+i18n("unknown")+" %2").tqarg(TQDateTime::tqcurrentDateTime().toTime_t()).tqarg(newTopic)); -+ m_topicHistory.prepend(TQString("%1 "+i18n("unknown")+" %2").tqarg(TQDateTime::currentDateTime().toTime_t()).tqarg(newTopic)); - emit topicHistoryChanged(); - } - } -@@ -1537,7 +1537,7 @@ void Channel::setTopic(const TQString &nickname, const TQString &newTopic) // Ov - appendCommandMessage(i18n("Topic"), i18n("%1 sets the channel topic to \"%2\".").tqarg(nickname).tqarg(newTopic)); - } - -- m_topicHistory.prepend(TQString("%1 %2 %3").tqarg(TQDateTime::tqcurrentDateTime().toTime_t()).tqarg(nickname).tqarg(newTopic)); -+ m_topicHistory.prepend(TQString("%1 %2 %3").tqarg(TQDateTime::currentDateTime().toTime_t()).tqarg(nickname).tqarg(newTopic)); - TQString topic = Konversation::removeIrcMarkup(newTopic); - topicLine->setText(topic); - -@@ -1557,7 +1557,7 @@ TQString Channel::getTopic() - void Channel::setTopicAuthor(const TQString& newAuthor, TQDateTime time) - { - if (time.isNull() || !time.isValid()) -- time=TQDateTime::tqcurrentDateTime(); -+ time=TQDateTime::currentDateTime(); - - if(topicAuthorUnknown) - { -@@ -2253,8 +2253,8 @@ void Channel::updateAppearance() - } - else - { -- fg=tqcolorGroup().foreground(); -- bg=tqcolorGroup().base(); -+ fg=colorGroup().foreground(); -+ bg=colorGroup().base(); - abg=KGlobalSettings::alternateBackgroundColor(); - } - -@@ -2797,7 +2797,7 @@ void Channel::append(const TQString& nickname, const TQString& message) - Nick* nick = getNickByName(nickname); - - if(nick) { -- nick->getChannelNick()->setTimeStamp(TQDateTime::tqcurrentDateTime().toTime_t()); -+ nick->getChannelNick()->setTimeStamp(TQDateTime::currentDateTime().toTime_t()); - } - } - -@@ -2811,7 +2811,7 @@ void Channel::appendAction(const TQString& nickname, const TQString& message) - Nick* nick = getNickByName(nickname); - - if(nick) { -- nick->getChannelNick()->setTimeStamp(TQDateTime::tqcurrentDateTime().toTime_t()); -+ nick->getChannelNick()->setTimeStamp(TQDateTime::currentDateTime().toTime_t()); - } - } - -diff --git a/konversation/src/channellistpanel.cpp b/konversation/src/channellistpanel.cpp -index 364c34c..79a9168 100644 ---- a/konversation/src/channellistpanel.cpp -+++ b/konversation/src/channellistpanel.cpp -@@ -223,7 +223,7 @@ void ChannelListPanel::saveList() - - TQString header(i18n("Konversation Channel List: %1 - %2\n\n") - .tqarg(m_server->getServerName()) -- .tqarg(TQDateTime::tqcurrentDateTime().toString())); -+ .tqarg(TQDateTime::currentDateTime().toString())); - - // send header to stream - stream << header; -diff --git a/konversation/src/channeloptionsui.ui b/konversation/src/channeloptionsui.ui -index bfdaea8..33bb6ff 100644 ---- a/konversation/src/channeloptionsui.ui -+++ b/konversation/src/channeloptionsui.ui -@@ -267,7 +267,7 @@ the Free Software Foundation; either version 2 of the License, or - - Expanding - -- -+ - - 211 - 20 -@@ -319,7 +319,7 @@ the Free Software Foundation; either version 2 of the License, or - - Expanding - -- -+ - - 301 - 31 -@@ -383,7 +383,7 @@ the Free Software Foundation; either version 2 of the License, or - - Expanding - -- -+ - - 20 - 16 -diff --git a/konversation/src/chatwindow.cpp b/konversation/src/chatwindow.cpp -index f7eb651..9e37d92 100644 ---- a/konversation/src/chatwindow.cpp -+++ b/konversation/src/chatwindow.cpp -@@ -219,7 +219,7 @@ void ChatWindow::setLogfileName(const TQString& name) - if(firstLog) - { - // status panels get special treatment here, since they have no server at the beginning -- if (getType() == tqStatus || getType() == DccChat) -+ if (getType() == Status || getType() == DccChat) - { - logName = name + ".log"; - } -@@ -236,7 +236,7 @@ void ChatWindow::setLogfileName(const TQString& name) - cdIntoLogPath(); - // Show last log lines. This idea was stole ... um ... inspired by PMP :) - // Don't do this for the server status windows, though -- if((getType() != tqStatus) && logfile.open(IO_ReadOnly)) -+ if((getType() != Status) && logfile.open(IO_ReadOnly)) - { - unsigned long filePosition; - -@@ -343,13 +343,13 @@ void ChatWindow::logText(const TQString& text) - - if(firstLog) - { -- TQString intro(i18n("\n*** Logfile started\n*** on %1\n\n").tqarg(TQDateTime::tqcurrentDateTime().toString())); -+ TQString intro(i18n("\n*** Logfile started\n*** on %1\n\n").tqarg(TQDateTime::currentDateTime().toString())); - logStream << intro; - firstLog=false; - } - - TQTime time=TQTime::currentTime(); -- TQString logLine(TQString("[%1] [%2] %3\n").tqarg(TQDate::tqcurrentDate(Qt::LocalTime).toString()). -+ TQString logLine(TQString("[%1] [%2] %3\n").tqarg(TQDate::currentDate(Qt::LocalTime).toString()). - tqarg(time.toString("hh:mm:ss")).tqarg(text)); - - logStream << logLine; -diff --git a/konversation/src/chatwindow.h b/konversation/src/chatwindow.h -index 947c789..d77f5d1 100644 ---- a/konversation/src/chatwindow.h -+++ b/konversation/src/chatwindow.h -@@ -35,7 +35,7 @@ class ChatWindow : public TQVBox - - enum WindowType - { -- tqStatus=0, -+ Status=0, - Channel, - Query, - DccChat, -diff --git a/konversation/src/chatwindowappearance_preferences.ui b/konversation/src/chatwindowappearance_preferences.ui -index a332268..c1c152c 100644 ---- a/konversation/src/chatwindowappearance_preferences.ui -+++ b/konversation/src/chatwindowappearance_preferences.ui -@@ -74,7 +74,7 @@ the Free Software Foundation; either version 2 of the License, or - - Expanding - -- -+ - - 191 - 20 -@@ -129,7 +129,7 @@ the Free Software Foundation; either version 2 of the License, or - - Expanding - -- -+ - - 251 - 20 -@@ -205,7 +205,7 @@ the Free Software Foundation; either version 2 of the License, or - - Fixed - -- -+ - - 16 - 20 -@@ -233,7 +233,7 @@ the Free Software Foundation; either version 2 of the License, or - - Fixed - -- -+ - - 16 - 20 -@@ -269,7 +269,7 @@ the Free Software Foundation; either version 2 of the License, or - - Fixed - -- -+ - - 16 - 20 -@@ -320,7 +320,7 @@ the Free Software Foundation; either version 2 of the License, or - - Expanding - -- -+ - - 20 - 20 -diff --git a/konversation/src/chatwindowbehaviour_preferences.ui b/konversation/src/chatwindowbehaviour_preferences.ui -index 0e5c779..5968850 100644 ---- a/konversation/src/chatwindowbehaviour_preferences.ui -+++ b/konversation/src/chatwindowbehaviour_preferences.ui -@@ -92,7 +92,7 @@ - - Expanding - -- -+ - - 410 - 20 -@@ -137,7 +137,7 @@ - - Expanding - -- -+ - - 230 - 20 -@@ -200,7 +200,7 @@ - - Fixed - -- -+ - - 16 - 20 -@@ -236,7 +236,7 @@ - - Expanding - -- -+ - - 170 - 20 -@@ -253,7 +253,7 @@ - - Expanding - -- -+ - - 190 - 20 -@@ -331,7 +331,7 @@ - - Expanding - -- -+ - - 41 - 20 -diff --git a/konversation/src/colorsappearance_preferences.ui b/konversation/src/colorsappearance_preferences.ui -index 54f68ac..909e5b3 100644 ---- a/konversation/src/colorsappearance_preferences.ui -+++ b/konversation/src/colorsappearance_preferences.ui -@@ -141,7 +141,7 @@ the Free Software Foundation; either version 2 of the License, or - - Expanding - -- -+ - - 20 - 20 -@@ -158,7 +158,7 @@ the Free Software Foundation; either version 2 of the License, or - - Expanding - -- -+ - - 20 - 20 -@@ -175,7 +175,7 @@ the Free Software Foundation; either version 2 of the License, or - - Expanding - -- -+ - - 20 - 20 -@@ -192,7 +192,7 @@ the Free Software Foundation; either version 2 of the License, or - - Expanding - -- -+ - - 20 - 20 -@@ -209,7 +209,7 @@ the Free Software Foundation; either version 2 of the License, or - - Expanding - -- -+ - - 20 - 20 -@@ -226,7 +226,7 @@ the Free Software Foundation; either version 2 of the License, or - - Expanding - -- -+ - - 20 - 20 -@@ -243,7 +243,7 @@ the Free Software Foundation; either version 2 of the License, or - - Expanding - -- -+ - - 20 - 20 -@@ -260,7 +260,7 @@ the Free Software Foundation; either version 2 of the License, or - - Expanding - -- -+ - - 20 - 20 -@@ -277,7 +277,7 @@ the Free Software Foundation; either version 2 of the License, or - - Expanding - -- -+ - - 20 - 20 -@@ -294,7 +294,7 @@ the Free Software Foundation; either version 2 of the License, or - - Expanding - -- -+ - - 20 - 20 -@@ -536,7 +536,7 @@ the Free Software Foundation; either version 2 of the License, or - - Expanding - -- -+ - - 40 - 20 -@@ -553,7 +553,7 @@ the Free Software Foundation; either version 2 of the License, or - - Expanding - -- -+ - - 40 - 20 -@@ -570,7 +570,7 @@ the Free Software Foundation; either version 2 of the License, or - - Expanding - -- -+ - - 40 - 20 -@@ -587,7 +587,7 @@ the Free Software Foundation; either version 2 of the License, or - - Expanding - -- -+ - - 40 - 20 -@@ -652,7 +652,7 @@ the Free Software Foundation; either version 2 of the License, or - - Expanding - -- -+ - - 40 - 20 -@@ -669,7 +669,7 @@ the Free Software Foundation; either version 2 of the License, or - - Expanding - -- -+ - - 40 - 20 -@@ -761,7 +761,7 @@ the Free Software Foundation; either version 2 of the License, or - - Expanding - -- -+ - - 271 - 20 -@@ -962,7 +962,7 @@ the Free Software Foundation; either version 2 of the License, or - - Expanding - -- -+ - - 50 - 20 -@@ -979,7 +979,7 @@ the Free Software Foundation; either version 2 of the License, or - - Expanding - -- -+ - - 50 - 20 -@@ -996,7 +996,7 @@ the Free Software Foundation; either version 2 of the License, or - - Expanding - -- -+ - - 50 - 20 -@@ -1013,7 +1013,7 @@ the Free Software Foundation; either version 2 of the License, or - - Expanding - -- -+ - - 50 - 20 -@@ -1030,7 +1030,7 @@ the Free Software Foundation; either version 2 of the License, or - - Expanding - -- -+ - - 50 - 20 -@@ -1047,7 +1047,7 @@ the Free Software Foundation; either version 2 of the License, or - - Expanding - -- -+ - - 50 - 20 -@@ -1064,7 +1064,7 @@ the Free Software Foundation; either version 2 of the License, or - - Expanding - -- -+ - - 50 - 20 -@@ -1081,7 +1081,7 @@ the Free Software Foundation; either version 2 of the License, or - - Expanding - -- -+ - - 50 - 20 -@@ -1162,7 +1162,7 @@ the Free Software Foundation; either version 2 of the License, or - - Expanding - -- -+ - - 50 - 20 -@@ -1179,7 +1179,7 @@ the Free Software Foundation; either version 2 of the License, or - - Expanding - -- -+ - - 50 - 20 -@@ -1196,7 +1196,7 @@ the Free Software Foundation; either version 2 of the License, or - - Expanding - -- -+ - - 50 - 20 -@@ -1213,7 +1213,7 @@ the Free Software Foundation; either version 2 of the License, or - - Expanding - -- -+ - - 50 - 20 -@@ -1296,7 +1296,7 @@ the Free Software Foundation; either version 2 of the License, or - - Expanding - -- -+ - - 20 - 0 -diff --git a/konversation/src/common.cpp b/konversation/src/common.cpp -index 7e1d301..eba7508 100644 ---- a/konversation/src/common.cpp -+++ b/konversation/src/common.cpp -@@ -144,7 +144,7 @@ namespace Konversation - continue; - } - -- if (urlPattern.cap(1).tqstartsWith("www.", false)) -+ if (urlPattern.cap(1).startsWith("www.", false)) - protocol = "http://"; - else if (urlPattern.cap(1).isEmpty()) - protocol = "mailto:"; -diff --git a/konversation/src/connectionbehavior_preferences.ui b/konversation/src/connectionbehavior_preferences.ui -index 8c2f2a1..752c26c 100644 ---- a/konversation/src/connectionbehavior_preferences.ui -+++ b/konversation/src/connectionbehavior_preferences.ui -@@ -60,7 +60,7 @@ the Free Software Foundation; either version 2 of the License, or - - Expanding - -- -+ - - 278 - 20 -@@ -119,7 +119,7 @@ the Free Software Foundation; either version 2 of the License, or - - Expanding - -- -+ - - 280 - 20 -@@ -138,7 +138,7 @@ the Free Software Foundation; either version 2 of the License, or - - Expanding - -- -+ - - 21 - 60 -diff --git a/konversation/src/dcc_preferencesui.ui b/konversation/src/dcc_preferencesui.ui -index 9ae128a..ccff213 100644 ---- a/konversation/src/dcc_preferencesui.ui -+++ b/konversation/src/dcc_preferencesui.ui -@@ -114,7 +114,7 @@ the Free Software Foundation; either version 2 of the License, or - - Expanding - -- -+ - - 20 - 16 -@@ -214,7 +214,7 @@ the Free Software Foundation; either version 2 of the License, or - - Maximum - -- -+ - - 70 - 20 -@@ -231,7 +231,7 @@ the Free Software Foundation; either version 2 of the License, or - - Expanding - -- -+ - - 70 - 20 -@@ -248,7 +248,7 @@ the Free Software Foundation; either version 2 of the License, or - - Expanding - -- -+ - - 70 - 20 -@@ -329,7 +329,7 @@ the Free Software Foundation; either version 2 of the License, or - - Expanding - -- -+ - - 50 - 21 -@@ -396,7 +396,7 @@ the Free Software Foundation; either version 2 of the License, or - - Expanding - -- -+ - - 50 - 21 -diff --git a/konversation/src/dccchat.cpp b/konversation/src/dccchat.cpp -index 58002f9..f40d1ae 100644 ---- a/konversation/src/dccchat.cpp -+++ b/konversation/src/dccchat.cpp -@@ -418,7 +418,7 @@ void DccChat::showEvent(TQShowEvent* /* event */) - if(m_initialShow) { - m_initialShow = false; - TQValueList sizes; -- sizes << m_sourceLine->tqsizeHint().height() << (height() - m_sourceLine->tqsizeHint().height()); -+ sizes << m_sourceLine->sizeHint().height() << (height() - m_sourceLine->sizeHint().height()); - m_headerSplitter->setSizes(sizes); - } - } -@@ -435,8 +435,8 @@ void DccChat::updateAppearance() - } - else - { -- fg=tqcolorGroup().foreground(); -- bg=tqcolorGroup().base(); -+ fg=colorGroup().foreground(); -+ bg=colorGroup().base(); - } - - m_dccChatInput->unsetPalette(); -diff --git a/konversation/src/dccresumedialog.cpp b/konversation/src/dccresumedialog.cpp -index d2d3c7e..30b687b 100644 ---- a/konversation/src/dccresumedialog.cpp -+++ b/konversation/src/dccresumedialog.cpp -@@ -97,7 +97,7 @@ DccResumeDialog::DccResumeDialog(DccTransferRecv* item, const TQString& caption, - } - - updateDialogButtons(); -- setInitialSize(TQSize(500, tqsizeHint().height())); -+ setInitialSize(TQSize(500, sizeHint().height())); - - } - -diff --git a/konversation/src/dcctransfer.cpp b/konversation/src/dcctransfer.cpp -index cec058c..c12147f 100644 ---- a/konversation/src/dcctransfer.cpp -+++ b/konversation/src/dcctransfer.cpp -@@ -43,7 +43,7 @@ DccTransfer::DccTransfer( DccType dccType, TQObject* parent ) : TQObject(parent) - - connect( &m_loggerTimer, TQT_SIGNAL( timeout() ), this, TQT_SLOT( logTransfer() ) ); - -- m_timeOffer = TQDateTime::tqcurrentDateTime(); -+ m_timeOffer = TQDateTime::currentDateTime(); - } - - DccTransfer::~DccTransfer() -@@ -60,7 +60,7 @@ DccTransfer::DccTransfer( const DccTransfer& obj ) - m_bufferSize = 0; - m_averageSpeed = obj.getAverageSpeed(); - m_currentSpeed = obj.getCurrentSpeed(); -- m_status = obj.gettqStatus(); -+ m_status = obj.getStatus(); - m_statusDetail = obj.getStatusDetail(); - m_type = obj.getType(); - m_fileName = obj.getFileName(); -@@ -88,20 +88,20 @@ DccTransfer::DccTransfer( const DccTransfer& obj ) - - void DccTransfer::setConnectionId( int id ) - { -- if ( gettqStatus() == Configuring || gettqStatus() == Queued ) -+ if ( getStatus() == Configuring || getStatus() == Queued ) - m_connectionId = id; - } - - void DccTransfer::setPartnerNick( const TQString& nick ) - { -- if ( gettqStatus() == Configuring || gettqStatus() == Queued ) -+ if ( getStatus() == Configuring || getStatus() == Queued ) - m_partnerNick = nick; - } - - bool DccTransfer::queue() - { - kdDebug() << "DccTransfer::queue()" << endl; -- if ( gettqStatus() != Configuring ) -+ if ( getStatus() != Configuring ) - return false; - - if ( m_fileName.isEmpty() ) -@@ -110,13 +110,13 @@ bool DccTransfer::queue() - if ( m_connectionId == -1 || m_partnerNick.isEmpty() ) - return false; - -- settqStatus( Queued ); -+ setStatus( Queued ); - return true; - } - - void DccTransfer::startTransferLogger() - { -- m_timeTransferStarted = TQDateTime::tqcurrentDateTime(); -+ m_timeTransferStarted = TQDateTime::currentDateTime(); - m_loggerBaseTime.start(); - m_loggerTimer.start( 100 ); - } -@@ -124,7 +124,7 @@ void DccTransfer::startTransferLogger() - void DccTransfer::finishTransferLogger() - { - if ( m_timeTransferFinished.isNull() ) -- m_timeTransferFinished = TQDateTime::tqcurrentDateTime(); -+ m_timeTransferFinished = TQDateTime::currentDateTime(); - m_loggerTimer.stop(); - updateTransferMeters(); - } -@@ -137,21 +137,21 @@ void DccTransfer::logTransfer() - updateTransferMeters(); - } - --void DccTransfer::settqStatus( DcctqStatus status, const TQString& statusDetail ) -+void DccTransfer::setStatus( DccStatus status, const TQString& statusDetail ) - { - bool changed = ( status != m_status ); -- DcctqStatus oldtqStatus = m_status; -+ DccStatus oldStatus = m_status; - m_status = status; - m_statusDetail = statusDetail; - if ( changed ) -- emit statusChanged( this, m_status, oldtqStatus ); -+ emit statusChanged( this, m_status, oldStatus ); - } - - void DccTransfer::updateTransferMeters() - { - const int timeToCalc = 5; - -- if ( gettqStatus() == Transferring ) -+ if ( getStatus() == Transferring ) - { - // update CurrentSpeed - -@@ -174,7 +174,7 @@ void DccTransfer::updateTransferMeters() - if ( m_transferLogTime.count() >= 2 ) - { - // FIXME: precision of average speed is too bad -- m_averageSpeed = (double)( m_transferringPosition - m_transferStartPosition ) / (double)m_timeTransferStarted.secsTo( TQDateTime::tqcurrentDateTime() ); -+ m_averageSpeed = (double)( m_transferringPosition - m_transferStartPosition ) / (double)m_timeTransferStarted.secsTo( TQDateTime::currentDateTime() ); - m_currentSpeed = (double)( m_transferLogPosition.last() - m_transferLogPosition.front() ) / (double)( m_transferLogTime.last() - m_transferLogTime.front() ) * 1000; - } - else // avoid zero devision -@@ -240,7 +240,7 @@ DccTransfer::DccType DccTransfer::getType() const - return m_type; - } - --DccTransfer::DcctqStatus DccTransfer::gettqStatus() const -+DccTransfer::DccStatus DccTransfer::getStatus() const - { - return m_status; - } -diff --git a/konversation/src/dcctransfer.h b/konversation/src/dcctransfer.h -index 64d3827..5765bdd 100644 ---- a/konversation/src/dcctransfer.h -+++ b/konversation/src/dcctransfer.h -@@ -39,7 +39,7 @@ class DccTransfer : public TQObject - Send - }; - -- enum DcctqStatus -+ enum DccStatus - { - Configuring = 0, // Not queud yet (this means that user can't see the item at this time) - Queued, // Newly added DCC, waiting user's response -@@ -52,7 +52,7 @@ class DccTransfer : public TQObject - Aborted - }; - -- enum UnavailabletqStatus -+ enum UnavailableStatus - { - Calculating = -1, - NotInTransfer = -2, -@@ -66,7 +66,7 @@ class DccTransfer : public TQObject - DccTransfer( const DccTransfer& obj ); - - DccType getType() const; -- DcctqStatus gettqStatus() const; -+ DccStatus getStatus() const; - const TQString& getStatusDetail() const; - TQDateTime getTimeOffer() const; - int getConnectionId() const; -@@ -100,7 +100,7 @@ class DccTransfer : public TQObject - signals: - void transferStarted( DccTransfer* item ); - void done( DccTransfer* item ); -- void statusChanged( DccTransfer* item, int newtqStatus, int oldtqStatus ); -+ void statusChanged( DccTransfer* item, int newStatus, int oldStatus ); - - public slots: - virtual bool queue(); -@@ -108,7 +108,7 @@ class DccTransfer : public TQObject - virtual void abort() {}; - - protected: -- void settqStatus( DcctqStatus status, const TQString& statusDetail = TQString() ); -+ void setStatus( DccStatus status, const TQString& statusDetail = TQString() ); - void startTransferLogger(); - void finishTransferLogger(); - -@@ -122,7 +122,7 @@ class DccTransfer : public TQObject - protected: - // transfer information - DccType m_type; -- DcctqStatus m_status; -+ DccStatus m_status; - TQString m_statusDetail; - bool m_resumed; - bool m_reverse; -diff --git a/konversation/src/dcctransferdetailedinfopanel.cpp b/konversation/src/dcctransferdetailedinfopanel.cpp -index 635faf2..6bd6961 100644 ---- a/konversation/src/dcctransferdetailedinfopanel.cpp -+++ b/konversation/src/dcctransferdetailedinfopanel.cpp -@@ -61,7 +61,7 @@ void DccTransferDetailedInfoPanel::setItem( DccTransferPanelItem* item ) - - // If the file is already being transferred, the timer must be started here, - // otherwise the information will not be updated every 0.5sec -- if (m_item->transfer()->gettqStatus() == DccTransfer::Transferring) -+ if (m_item->transfer()->getStatus() == DccTransfer::Transferring) - m_autoViewUpdateTimer->start(500, false); - connect( m_item->transfer(), TQT_SIGNAL( statusChanged( DccTransfer*, int, int ) ), this, TQT_SLOT( slotTransferStatusChanged( DccTransfer*, int, int ) ) ); - -@@ -83,10 +83,10 @@ void DccTransferDetailedInfoPanel::updateView() - - // Location: - m_urlreqLocation->setURL( transfer->getFileURL().prettyURL() ); -- //m_urlreqLocation->lineEdit()->setFocusPolicy( transfer->gettqStatus() == DccTransfer::Queued ? StrongFocus : ClickFocus ); -- m_urlreqLocation->lineEdit()->setReadOnly( transfer->gettqStatus() != DccTransfer::Queued ); -- m_urlreqLocation->lineEdit()->setFrame( transfer->gettqStatus() == DccTransfer::Queued ); -- m_urlreqLocation->button()->setEnabled( transfer->gettqStatus() == DccTransfer::Queued ); -+ //m_urlreqLocation->lineEdit()->setFocusPolicy( transfer->getStatus() == DccTransfer::Queued ? StrongFocus : ClickFocus ); -+ m_urlreqLocation->lineEdit()->setReadOnly( transfer->getStatus() != DccTransfer::Queued ); -+ m_urlreqLocation->lineEdit()->setFrame( transfer->getStatus() == DccTransfer::Queued ); -+ m_urlreqLocation->button()->setEnabled( transfer->getStatus() == DccTransfer::Queued ); - m_buttonOpenFolder->setEnabled( !m_urlreqLocation->lineEdit()->text().isEmpty() ); - - // Partner: -@@ -110,11 +110,11 @@ void DccTransferDetailedInfoPanel::updateView() - else - m_labelSelf->setText( i18n( "%1 (port %2)" ).tqarg( transfer->getOwnIp() ).tqarg( transfer->getOwnPort() ) ); - -- // tqStatus: -- if ( transfer->gettqStatus() == DccTransfer::Transferring ) -- m_labeltqStatus->setText( m_item->getStatusText() + " ( " + m_item->getCurrentSpeedPrettyText() + " )" ); -+ // Status: -+ if ( transfer->getStatus() == DccTransfer::Transferring ) -+ m_labelStatus->setText( m_item->getStatusText() + " ( " + m_item->getCurrentSpeedPrettyText() + " )" ); - else -- m_labeltqStatus->setText( transfer->getStatusDetail().isEmpty() ? m_item->getStatusText() : m_item->getStatusText() + " (" + transfer->getStatusDetail() + ')' ); -+ m_labelStatus->setText( transfer->getStatusDetail().isEmpty() ? m_item->getStatusText() : m_item->getStatusText() + " (" + transfer->getStatusDetail() + ')' ); - - // Progress: - m_progress->setProgress( transfer->getProgress() ); -@@ -146,7 +146,7 @@ void DccTransferDetailedInfoPanel::updateView() - - // The transfer is still in progress - if ( transfer->getTimeTransferFinished().isNull() ) -- transferringTime = transfer->getTimeTransferStarted().secsTo( TQDateTime::tqcurrentDateTime() ); -+ transferringTime = transfer->getTimeTransferStarted().secsTo( TQDateTime::currentDateTime() ); - // The transfer has finished - else - transferringTime = transfer->getTimeTransferStarted().secsTo( transfer->getTimeTransferFinished() ); -@@ -176,15 +176,15 @@ void DccTransferDetailedInfoPanel::updateView() - m_labelTimeFinished->setText( "" ); - } - --void DccTransferDetailedInfoPanel::slotTransferStatusChanged( DccTransfer* /* transfer */, int newtqStatus, int oldtqStatus ) -+void DccTransferDetailedInfoPanel::slotTransferStatusChanged( DccTransfer* /* transfer */, int newStatus, int oldStatus ) - { - updateView(); -- if ( newtqStatus == DccTransfer::Transferring ) -+ if ( newStatus == DccTransfer::Transferring ) - { - // start auto view-update timer - m_autoViewUpdateTimer->start( 500, false ); - } -- else if ( oldtqStatus == DccTransfer::Transferring ) -+ else if ( oldStatus == DccTransfer::Transferring ) - { - // stop auto view-update timer - m_autoViewUpdateTimer->stop(); -diff --git a/konversation/src/dcctransferdetailedinfopanel.h b/konversation/src/dcctransferdetailedinfopanel.h -index 7fbcf65..8433822 100644 ---- a/konversation/src/dcctransferdetailedinfopanel.h -+++ b/konversation/src/dcctransferdetailedinfopanel.h -@@ -33,7 +33,7 @@ class DccTransferDetailedInfoPanel : public DccTransferDetailedInfoPanelUI - - private slots: - void updateView(); -- void slotTransferStatusChanged( DccTransfer* transfer, int newtqStatus, int oldtqStatus ); -+ void slotTransferStatusChanged( DccTransfer* transfer, int newStatus, int oldStatus ); - void slotLocationChanged( const TQString& url ); - void slotOpenFolderButtonClicked(); - -diff --git a/konversation/src/dcctransferdetailedinfopanelui.ui b/konversation/src/dcctransferdetailedinfopanelui.ui -index 24f6742..b11b2e1 100644 ---- a/konversation/src/dcctransferdetailedinfopanelui.ui -+++ b/konversation/src/dcctransferdetailedinfopanelui.ui -@@ -71,7 +71,7 @@ - textLabel10 - - -- tqStatus: -+ Status: - - - -@@ -92,7 +92,7 @@ - - - -- m_labeltqStatus -+ m_labelStatus - - - -@@ -188,7 +188,7 @@ - 0 - - -- -+ - - 130 - 0 -@@ -218,7 +218,7 @@ - 0 - - -- -+ - - 130 - 0 -@@ -240,7 +240,7 @@ - 0 - - -- -+ - - 130 - 0 -@@ -278,7 +278,7 @@ - 0 - - -- -+ - - 130 - 0 -@@ -316,7 +316,7 @@ - 0 - - -- -+ - - 130 - 0 -@@ -386,7 +386,7 @@ - 0 - - -- -+ - - 130 - 0 -@@ -424,7 +424,7 @@ - 0 - - -- -+ - - 130 - 0 -@@ -470,7 +470,7 @@ - - Expanding - -- -+ - - 110 - 20 -diff --git a/konversation/src/dcctransfermanager.cpp b/konversation/src/dcctransfermanager.cpp -index 3e4357c..ec36840 100644 ---- a/konversation/src/dcctransfermanager.cpp -+++ b/konversation/src/dcctransfermanager.cpp -@@ -62,7 +62,7 @@ DccTransferRecv* DccTransferManager::resumeDownload( int connectionId, const TQS - TQValueListConstIterator< DccTransferRecv* > it; - for ( it = m_recvItems.begin() ; it != m_recvItems.end() ; ++it ) - { -- if ( ( (*it)->gettqStatus() == DccTransfer::Queued || (*it)->gettqStatus() == DccTransfer::WaitingRemote ) && -+ if ( ( (*it)->getStatus() == DccTransfer::Queued || (*it)->getStatus() == DccTransfer::WaitingRemote ) && - (*it)->getConnectionId() == connectionId && - (*it)->getPartnerNick() == partnerNick && - (*it)->getFileName() == fileName && -@@ -92,7 +92,7 @@ DccTransferSend* DccTransferManager::resumeUpload( int connectionId, const TQStr - TQValueListConstIterator< DccTransferSend* > it; - for ( it = m_sendItems.begin() ; it != m_sendItems.end() ; ++it ) - { -- if ( ( (*it)->gettqStatus() == DccTransfer::Queued || (*it)->gettqStatus() == DccTransfer::WaitingRemote ) && -+ if ( ( (*it)->getStatus() == DccTransfer::Queued || (*it)->getStatus() == DccTransfer::WaitingRemote ) && - (*it)->getConnectionId() == connectionId && - (*it)->getPartnerNick() == partnerNick && - (*it)->getFileName() == fileName && -@@ -124,7 +124,7 @@ DccTransferSend* DccTransferManager::startReverseSending( int connectionId, cons - for ( it = m_sendItems.begin() ; it != m_sendItems.end() ; ++it ) - { - if ( -- (*it)->gettqStatus() == DccTransfer::WaitingRemote && -+ (*it)->getStatus() == DccTransfer::WaitingRemote && - (*it)->getConnectionId() == connectionId && - (*it)->getPartnerNick() == partnerNick && - (*it)->getFileName() == fileName && -@@ -155,8 +155,8 @@ bool DccTransferManager::isLocalFileInWritingProcess( const KURL& url ) const - TQValueListConstIterator< DccTransferRecv* > it; - for ( it = m_recvItems.begin() ; it != m_recvItems.end() ; ++it ) - { -- if ( ( (*it)->gettqStatus() == DccTransfer::Connecting || -- (*it)->gettqStatus() == DccTransfer::Transferring ) && -+ if ( ( (*it)->getStatus() == DccTransfer::Connecting || -+ (*it)->getStatus() == DccTransfer::Transferring ) && - (*it)->getFileURL() == url ) - { - return true; -@@ -175,25 +175,25 @@ bool DccTransferManager::hasActiveTransfers() - TQValueListConstIterator< DccTransferSend* > it; - for ( it = m_sendItems.begin() ; it != m_sendItems.end() ; ++it ) - { -- if ((*it)->gettqStatus() == DccTransfer::Transferring) -+ if ((*it)->getStatus() == DccTransfer::Transferring) - return true; - } - - TQValueListConstIterator< DccTransferRecv* > it2; - for ( it2 = m_recvItems.begin() ; it2 != m_recvItems.end() ; ++it2 ) - { -- if ((*it2)->gettqStatus() == DccTransfer::Transferring) -+ if ((*it2)->getStatus() == DccTransfer::Transferring) - return true; - } - - return false; - } - --void DccTransferManager::slotTransferStatusChanged( DccTransfer* item, int newtqStatus, int oldtqStatus ) -+void DccTransferManager::slotTransferStatusChanged( DccTransfer* item, int newStatus, int oldStatus ) - { -- kdDebug() << "DccTransferManager::slotTransferStatusChanged(): " << oldtqStatus << " -> " << newtqStatus << " " << item->getFileName() << " (" << item->getType() << ")" << endl; -+ kdDebug() << "DccTransferManager::slotTransferStatusChanged(): " << oldStatus << " -> " << newStatus << " " << item->getFileName() << " (" << item->getType() << ")" << endl; - -- if ( newtqStatus == DccTransfer::Queued ) -+ if ( newStatus == DccTransfer::Queued ) - emit newTransferQueued( item ); - } - -@@ -205,7 +205,7 @@ void DccTransferManager::slotSettingsChanged() - TQValueListConstIterator< DccTransferRecv* > it; - for ( it = m_recvItems.begin() ; it != m_recvItems.end() ; ++it ) - { -- if ( (*it)->gettqStatus() == DccTransfer::Queued && -+ if ( (*it)->getStatus() == DccTransfer::Queued && - (*it)->getFileURL().directory() == m_defaultIncomingFolder ) - { - KURL url; -diff --git a/konversation/src/dcctransfermanager.h b/konversation/src/dcctransfermanager.h -index c5753f7..0a34c3b 100644 ---- a/konversation/src/dcctransfermanager.h -+++ b/konversation/src/dcctransfermanager.h -@@ -79,7 +79,7 @@ class DccTransferManager : public TQObject - void initTransfer( DccTransfer* transfer ); - - private slots: -- void slotTransferStatusChanged( DccTransfer* item, int newtqStatus, int oldtqStatus ); -+ void slotTransferStatusChanged( DccTransfer* item, int newStatus, int oldStatus ); - void removeSendItem( DccTransfer* item ); - void removeRecvItem( DccTransfer* item ); - -diff --git a/konversation/src/dcctransferpanel.cpp b/konversation/src/dcctransferpanel.cpp -index 385850b..8b89afa 100644 ---- a/konversation/src/dcctransferpanel.cpp -+++ b/konversation/src/dcctransferpanel.cpp -@@ -76,7 +76,7 @@ void DccTransferPanel::initGUI() - - //m_listView->setColumnText(Column::TypeIcon, ""); - m_listView->setColumnText(Column::OfferDate, i18n("Started at")); -- m_listView->setColumnText(Column::tqStatus, i18n("Status")); -+ m_listView->setColumnText(Column::Status, i18n("Status")); - m_listView->setColumnText(Column::FileName, i18n("File")); - m_listView->setColumnText(Column::PartnerNick, i18n("Partner")); - m_listView->setColumnText(Column::Progress, i18n("Progress")); -@@ -201,7 +201,7 @@ void DccTransferPanel::updateButton() - DccTransferPanelItem* item = static_cast( it.current() ); - - DccTransfer::DccType type = item->transfer()->getType(); -- DccTransfer::DcctqStatus status = item->transfer()->gettqStatus(); -+ DccTransfer::DccStatus status = item->transfer()->getStatus(); - - selectAll = true; - selectAllCompleted |= ( status >= DccTransfer::Done ); -@@ -276,7 +276,7 @@ void DccTransferPanel::acceptDcc() - { - DccTransferPanelItem* item=static_cast( it.current() ); - DccTransfer* transfer = item->transfer(); -- if( transfer->getType() == DccTransfer::Receive && transfer->gettqStatus() == DccTransfer::Queued ) -+ if( transfer->getType() == DccTransfer::Receive && transfer->getStatus() == DccTransfer::Queued ) - transfer->start(); - } - ++it; -@@ -292,7 +292,7 @@ void DccTransferPanel::abortDcc() - { - DccTransferPanelItem* item=static_cast( it.current() ); - DccTransfer* transfer = item->transfer(); -- if( transfer->gettqStatus() < DccTransfer::Done ) -+ if( transfer->getStatus() < DccTransfer::Done ) - transfer->abort(); - } - ++it; -@@ -308,7 +308,7 @@ void DccTransferPanel::resendFile() - { - DccTransferPanelItem* item=static_cast( it.current() ); - DccTransfer* transfer = item->transfer(); -- if( transfer->getType() == DccTransfer::Send && transfer->gettqStatus() >= DccTransfer::Done ) -+ if( transfer->getType() == DccTransfer::Send && transfer->getStatus() >= DccTransfer::Done ) - { - DccTransferSend* newTransfer = KonversationApplication::instance()->getDccTransferManager()->newUpload(); - -@@ -335,7 +335,7 @@ void DccTransferPanel::clearDcc() - { - DccTransferPanelItem* item = static_cast( it.current() ); - // should we check that [item] is not null? -- if( it.current()->isSelected() && item->transfer()->gettqStatus() >= DccTransfer::Done ) -+ if( it.current()->isSelected() && item->transfer()->getStatus() >= DccTransfer::Done ) - lst.append( it.current() ); - ++it; - } -@@ -377,7 +377,7 @@ void DccTransferPanel::runDcc() - { - DccTransferPanelItem* item=static_cast( it.current() ); - DccTransfer* transfer = item->transfer(); -- if( transfer->getType() == DccTransfer::Send || transfer->gettqStatus() == DccTransfer::Done ) -+ if( transfer->getType() == DccTransfer::Send || transfer->getStatus() == DccTransfer::Done ) - item->runFile(); - } - ++it; -@@ -392,7 +392,7 @@ void DccTransferPanel::showFileInfo() - if( it.current()->isSelected() ) - { - DccTransferPanelItem* item=static_cast( it.current() ); -- if( item->transfer()->getType() == DccTransfer::Send || item->transfer()->gettqStatus() == DccTransfer::Done ) -+ if( item->transfer()->getType() == DccTransfer::Send || item->transfer()->getStatus() == DccTransfer::Done ) - item->openFileInfoDialog(); - } - ++it; -@@ -416,7 +416,7 @@ void DccTransferPanel::selectAllCompleted() - while ( it.current() ) - { - DccTransferPanelItem* item=static_cast( it.current() ); -- m_listView->setSelected( *it, item->transfer()->gettqStatus() >= DccTransfer::Done ); -+ m_listView->setSelected( *it, item->transfer()->getStatus() >= DccTransfer::Done ); - ++it; - } - updateButton(); -diff --git a/konversation/src/dcctransferpanel.h b/konversation/src/dcctransferpanel.h -index 09afaeb..7b88bcb 100644 ---- a/konversation/src/dcctransferpanel.h -+++ b/konversation/src/dcctransferpanel.h -@@ -39,7 +39,7 @@ class DccTransferPanel : public ChatWindow - { - TypeIcon, - OfferDate, -- tqStatus, -+ Status, - FileName, - PartnerNick, - Progress, -diff --git a/konversation/src/dcctransferpanelitem.cpp b/konversation/src/dcctransferpanelitem.cpp -index 8737a3b..d2cb9ee 100644 ---- a/konversation/src/dcctransferpanelitem.cpp -+++ b/konversation/src/dcctransferpanelitem.cpp -@@ -67,10 +67,10 @@ DccTransferPanelItem::~DccTransferPanelItem() - void DccTransferPanelItem::updateView() - { - setPixmap( DccTransferPanel::Column::TypeIcon, getTypeIcon() ); -- setPixmap( DccTransferPanel::Column::tqStatus, getStatusIcon() ); -+ setPixmap( DccTransferPanel::Column::Status, getStatusIcon() ); - - setText( DccTransferPanel::Column::OfferDate, m_transfer->getTimeOffer().toString( "hh:mm:ss" ) ); -- setText( DccTransferPanel::Column::tqStatus, getStatusText() ); -+ setText( DccTransferPanel::Column::Status, getStatusText() ); - setText( DccTransferPanel::Column::FileName, m_transfer->getFileName() ); - setText( DccTransferPanel::Column::PartnerNick, m_transfer->getPartnerNick() ); - setText( DccTransferPanel::Column::Position, getPositionPrettyText() ); -@@ -104,9 +104,9 @@ int DccTransferPanelItem::compare( TQListViewItem* i, int col, bool ascending ) - if ( m_transfer->getTimeOffer() < item->transfer()->getTimeOffer() ) return -1; - return 0; - break; -- case DccTransferPanel::Column::tqStatus: -- if ( m_transfer->gettqStatus() > item->transfer()->gettqStatus() ) return 1; -- if ( m_transfer->gettqStatus() < item->transfer()->gettqStatus() ) return -1; -+ case DccTransferPanel::Column::Status: -+ if ( m_transfer->getStatus() > item->transfer()->getStatus() ) return 1; -+ if ( m_transfer->getStatus() < item->transfer()->getStatus() ) return -1; - return 0; - break; - case DccTransferPanel::Column::Position: -@@ -130,11 +130,11 @@ int DccTransferPanelItem::compare( TQListViewItem* i, int col, bool ascending ) - return TQListViewItem::compare( i, col, ascending ); - } - --void DccTransferPanelItem::slotStatusChanged( DccTransfer* /* transfer */, int newtqStatus, int /* oldtqStatus */ ) -+void DccTransferPanelItem::slotStatusChanged( DccTransfer* /* transfer */, int newStatus, int /* oldStatus */ ) - { - updateView(); - -- if ( newtqStatus == DccTransfer::Transferring ) -+ if ( newStatus == DccTransfer::Transferring ) - startAutoViewUpdate(); - } - -@@ -167,7 +167,7 @@ void DccTransferPanelItem::showProgressBar() - { - if ( m_transfer->getFileSize() ) - { -- TQRect rect = listView()->tqitemRect( this ); -+ TQRect rect = listView()->itemRect( this ); - TQHeader *head = listView()->header(); - rect.setLeft( head->sectionPos( DccTransferPanel::Column::Progress ) - head->offset() ); - rect.setWidth( head->sectionSize( DccTransferPanel::Column::Progress ) ); -@@ -178,13 +178,13 @@ void DccTransferPanelItem::showProgressBar() - - void DccTransferPanelItem::runFile() - { -- if ( m_transfer->getType() == DccTransfer::Send || m_transfer->gettqStatus() == DccTransfer::Done ) -+ if ( m_transfer->getType() == DccTransfer::Send || m_transfer->getStatus() == DccTransfer::Done ) - new KRun( m_transfer->getFileURL(), listView() ); - } - - void DccTransferPanelItem::openFileInfoDialog() - { -- if ( m_transfer->getType() == DccTransfer::Send || m_transfer->gettqStatus() == DccTransfer::Done ) -+ if ( m_transfer->getType() == DccTransfer::Send || m_transfer->getStatus() == DccTransfer::Done ) - { - TQStringList infoList; - -@@ -278,7 +278,7 @@ TQPixmap DccTransferPanelItem::getTypeIcon() const - TQPixmap DccTransferPanelItem::getStatusIcon() const - { - TQString icon; -- switch ( m_transfer->gettqStatus() ) -+ switch ( m_transfer->getStatus() ) - { - case DccTransfer::Queued: - icon = "player_stop"; -@@ -306,7 +306,7 @@ TQPixmap DccTransferPanelItem::getStatusIcon() const - - TQString DccTransferPanelItem::getStatusText() const - { -- DccTransfer::DcctqStatus status = m_transfer->gettqStatus(); -+ DccTransfer::DccStatus status = m_transfer->getStatus(); - DccTransfer::DccType type = m_transfer->getType(); - - if ( status == DccTransfer::Queued ) -diff --git a/konversation/src/dcctransferpanelitem.h b/konversation/src/dcctransferpanelitem.h -index 7e1b113..eef6305 100644 ---- a/konversation/src/dcctransferpanelitem.h -+++ b/konversation/src/dcctransferpanelitem.h -@@ -71,7 +71,7 @@ class DccTransferPanelItem : public TQObject, public KListViewItem - static TQString secToHMS( long sec ); - - private slots: -- void slotStatusChanged( DccTransfer* transfer, int newtqStatus, int oldtqStatus ); -+ void slotStatusChanged( DccTransfer* transfer, int newStatus, int oldStatus ); - void updateView(); - - private: -diff --git a/konversation/src/dcctransferrecv.cpp b/konversation/src/dcctransferrecv.cpp -index 6a5820a..9922bbb 100644 ---- a/konversation/src/dcctransferrecv.cpp -+++ b/konversation/src/dcctransferrecv.cpp -@@ -113,44 +113,44 @@ void DccTransferRecv::cleanUp() - // just for convenience - void DccTransferRecv::failed( const TQString& errorMessage ) - { -- settqStatus( Failed, errorMessage ); -+ setStatus( Failed, errorMessage ); - cleanUp(); - emit done( this ); - } - - void DccTransferRecv::setPartnerIp( const TQString& ip ) - { -- if ( gettqStatus() == Configuring ) -+ if ( getStatus() == Configuring ) - m_partnerIp = ip; - } - - void DccTransferRecv::setPartnerPort( const TQString& port ) - { -- if ( gettqStatus() == Configuring ) -+ if ( getStatus() == Configuring ) - m_partnerPort = port; - } - - void DccTransferRecv::setFileSize( unsigned long fileSize ) - { -- if ( gettqStatus() == Configuring ) -+ if ( getStatus() == Configuring ) - m_fileSize = fileSize; - } - - void DccTransferRecv::setFileName( const TQString& fileName ) - { -- if ( gettqStatus() == Configuring ) -+ if ( getStatus() == Configuring ) - m_fileName = fileName; - } - - void DccTransferRecv::setFileURL( const KURL& url ) - { -- if ( gettqStatus() == Configuring || gettqStatus() == Queued ) -+ if ( getStatus() == Configuring || getStatus() == Queued ) - m_fileURL = url; - } - - void DccTransferRecv::setReverse( bool reverse, const TQString& reverseToken ) - { -- if ( gettqStatus() == Configuring ) -+ if ( getStatus() == Configuring ) - { - m_reverse = reverse; - if ( reverse ) -@@ -165,7 +165,7 @@ bool DccTransferRecv::queue() - { - kdDebug() << "DccTransferRecv::queue()" << endl; - -- if ( gettqStatus() != Configuring ) -+ if ( getStatus() != Configuring ) - return false; - - if ( m_partnerIp.isEmpty() || m_partnerPort.isEmpty() ) -@@ -237,7 +237,7 @@ void DccTransferRecv::abort() // public slot - m_writeCacheHandler->write( true ); // flush - } - -- settqStatus( Aborted ); -+ setStatus( Aborted ); - cleanUp(); - emit done( this ); - } -@@ -246,10 +246,10 @@ void DccTransferRecv::start() // public slot - { - kdDebug() << "DccTransferRecv::start() [BEGIN]" << endl; - -- if ( gettqStatus() != Queued ) -+ if ( getStatus() != Queued ) - return; - -- settqStatus( Preparing ); -+ setStatus( Preparing ); - - prepareLocalKio( false, false ); - -@@ -305,7 +305,7 @@ void DccTransferRecv::askAndPrepareLocalKio( const TQString& message, int enable - break; - case DccResumeDialog::RA_Cancel: - default: -- settqStatus( Queued ); -+ setStatus( Queued ); - } - } - -@@ -444,7 +444,7 @@ void DccTransferRecv::connectWithSender() - m_ownIp = DccCommon::getOwnIp( server ); - m_ownPort = TQString::number( DccCommon::getServerSocketPort( m_serverSocket ) ); - -- settqStatus( WaitingRemote, i18n( "Waiting for connection" ) ); -+ setStatus( WaitingRemote, i18n( "Waiting for connection" ) ); - - server->dccReverseSendAck( m_partnerNick, m_fileName, DccCommon::textIpToNumericalIp( m_ownIp ), m_ownPort, m_fileSize, m_reverseToken ); - -@@ -460,7 +460,7 @@ void DccTransferRecv::requestResume() - { - kdDebug() << "DccTransferRecv::requestResume()" << endl; - -- settqStatus( WaitingRemote, i18n( "Waiting for remote host's acceptance" ) ); -+ setStatus( WaitingRemote, i18n( "Waiting for remote host's acceptance" ) ); - - startConnectionTimer( 30 ); - -@@ -503,7 +503,7 @@ void DccTransferRecv::connectToSendServer() - - // connect to sender - -- settqStatus( Connecting ); -+ setStatus( Connecting ); - - m_recvSocket = new KNetwork::KStreamSocket( m_partnerIp, m_partnerPort, this); - -@@ -577,7 +577,7 @@ void DccTransferRecv::startReceiving() - connect( m_recvSocket, TQT_SIGNAL( readyWrite() ), this, TQT_SLOT( sendAck() ) ); - connect( m_recvSocket, TQT_SIGNAL( closed() ), this, TQT_SLOT( slotSocketClosed() ) ); - -- settqStatus( Transferring ); -+ setStatus( Transferring ); - - m_transferStartPosition = m_transferringPosition; - -@@ -633,7 +633,7 @@ void DccTransferRecv::sendAck() // slot - void DccTransferRecv::slotLocalWriteDone() // <-WriteCacheHandler::done() - { - kdDebug() << "DccTransferRecv::slotLocalWriteDone()" << endl; -- settqStatus( Done ); -+ setStatus( Done ); - cleanUp(); - emit done( this ); - } -@@ -670,7 +670,7 @@ void DccTransferRecv::connectionTimeout() // slot - void DccTransferRecv::slotSocketClosed() - { - finishTransferLogger(); -- if ( gettqStatus() == Transferring ) -+ if ( getStatus() == Transferring ) - failed( i18n( "Remote user disconnected" ) ); - } - -diff --git a/konversation/src/dcctransfersend.cpp b/konversation/src/dcctransfersend.cpp -index 295a12b..db0bad2 100644 ---- a/konversation/src/dcctransfersend.cpp -+++ b/konversation/src/dcctransfersend.cpp -@@ -91,38 +91,38 @@ void DccTransferSend::cleanUp() - // just for convenience - void DccTransferSend::failed( const TQString& errorMessage ) - { -- settqStatus( Failed, errorMessage ); -+ setStatus( Failed, errorMessage ); - cleanUp(); - emit done( this ); - } - - void DccTransferSend::setFileURL( const KURL& url ) - { -- if ( gettqStatus() == Configuring ) -+ if ( getStatus() == Configuring ) - m_fileURL = url; - } - - void DccTransferSend::setFileName( const TQString& fileName ) - { -- if ( gettqStatus() == Configuring ) -+ if ( getStatus() == Configuring ) - m_fileName = fileName; - } - - void DccTransferSend::setOwnIp( const TQString& ownIp ) - { -- if ( gettqStatus() == Configuring ) -+ if ( getStatus() == Configuring ) - m_ownIp = ownIp; - } - - void DccTransferSend::setFileSize( KIO::filesize_t fileSize ) - { -- if ( gettqStatus() == Configuring ) -+ if ( getStatus() == Configuring ) - m_fileSize = fileSize; - } - - void DccTransferSend::setReverse( bool reverse ) - { -- if ( gettqStatus() == Configuring ) -+ if ( getStatus() == Configuring ) - m_reverse = reverse; - } - -@@ -130,7 +130,7 @@ bool DccTransferSend::queue() - { - kdDebug() << "DccTransferSend::queue()" << endl; - -- if ( gettqStatus() != Configuring ) -+ if ( getStatus() != Configuring ) - return false; - - if ( m_ownIp.isEmpty() ) -@@ -217,7 +217,7 @@ void DccTransferSend::abort() // public slot - { - kdDebug() << "DccTransferSend::abort()" << endl; - -- settqStatus( Aborted ); -+ setStatus( Aborted ); - cleanUp(); - emit done( this ); - } -@@ -226,7 +226,7 @@ void DccTransferSend::start() // public slot - { - kdDebug() << "DccTransferSend::start()" << endl; - -- if ( gettqStatus() != Queued ) -+ if ( getStatus() != Queued ) - return; - - // common procedure -@@ -283,7 +283,7 @@ void DccTransferSend::start() // public slot - server->dccPassiveSendRequest( m_partnerNick, m_fileName, getNumericalIpText( m_ownIp ), m_fileSize, m_reverseToken ); - } - -- settqStatus( WaitingRemote, i18n( "Waiting remote user's acceptance" ) ); -+ setStatus( WaitingRemote, i18n( "Waiting remote user's acceptance" ) ); - } - - void DccTransferSend::connectToReceiver( const TQString& partnerHost, const TQString& partnerPort ) -@@ -300,7 +300,7 @@ void DccTransferSend::connectToReceiver( const TQString& partnerHost, const TQSt - connect( m_sendSocket, TQT_SIGNAL( connected( const KResolverEntry& ) ), this, TQT_SLOT( startSending() ) ); - connect( m_sendSocket, TQT_SIGNAL( gotError( int ) ), this, TQT_SLOT( slotConnectionFailed( int ) ) ); - -- settqStatus( Connecting ); -+ setStatus( Connecting ); - - m_sendSocket->connect(); - } -@@ -309,7 +309,7 @@ bool DccTransferSend::setResume( unsigned long position ) - { - kdDebug() << "DccTransferSend::setResume(): position=" << position << endl; - -- if ( gettqStatus() > WaitingRemote ) -+ if ( getStatus() > WaitingRemote ) - return false; - - if ( position >= m_fileSize ) -@@ -359,7 +359,7 @@ void DccTransferSend::startSending() - m_file.at( m_transferringPosition ); - m_transferStartPosition = m_transferringPosition; - -- settqStatus( Transferring ); -+ setStatus( Transferring ); - m_sendSocket->enableWrite( true ); - m_sendSocket->enableRead( m_fastSend ); - startTransferLogger(); // initialize CPS counter, ETA counter, etc... -@@ -407,7 +407,7 @@ void DccTransferSend::getAck() // slot - { - kdDebug() << "DccTransferSend::getAck(): Received final ACK." << endl; - finishTransferLogger(); -- settqStatus( Done ); -+ setStatus( Done ); - cleanUp(); - emit done( this ); - break; // for safe -@@ -457,7 +457,7 @@ void DccTransferSend::slotSendSocketClosed() - { - kdDebug() << "DccTransferSend::slotSendSocketClosed()" << endl; - finishTransferLogger(); -- if ( gettqStatus() == Transferring && m_transferringPosition < (KIO::fileoffset_t)m_fileSize ) -+ if ( getStatus() == Transferring && m_transferringPosition < (KIO::fileoffset_t)m_fileSize ) - failed( i18n( "Remote user disconnected" ) ); - } - -diff --git a/konversation/src/fontappearance_preferences.ui b/konversation/src/fontappearance_preferences.ui -index 389a252..a50b3a0 100644 ---- a/konversation/src/fontappearance_preferences.ui -+++ b/konversation/src/fontappearance_preferences.ui -@@ -54,7 +54,7 @@ the Free Software Foundation; either version 2 of the License, or - - Expanding - -- -+ - - 20 - 161 -diff --git a/konversation/src/generalbehavior_preferences.ui b/konversation/src/generalbehavior_preferences.ui -index 164ca58..0354e67 100644 ---- a/konversation/src/generalbehavior_preferences.ui -+++ b/konversation/src/generalbehavior_preferences.ui -@@ -60,7 +60,7 @@ the Free Software Foundation; either version 2 of the License, or - - Fixed - -- -+ - - 31 - 20 -@@ -88,7 +88,7 @@ the Free Software Foundation; either version 2 of the License, or - - Fixed - -- -+ - - 31 - 20 -@@ -301,7 +301,7 @@ the Free Software Foundation; either version 2 of the License, or - - Expanding - -- -+ - - 20 - 20 -diff --git a/konversation/src/highlight_preferencesui.ui b/konversation/src/highlight_preferencesui.ui -index 65baf8f..3b42a4d 100644 ---- a/konversation/src/highlight_preferencesui.ui -+++ b/konversation/src/highlight_preferencesui.ui -@@ -141,7 +141,7 @@ - - Expanding - -- -+ - - 20 - 250 -@@ -362,7 +362,7 @@ - - Expanding - -- -+ - - 120 - 20 -@@ -379,7 +379,7 @@ - - Expanding - -- -+ - - 50 - 20 -@@ -396,7 +396,7 @@ - - Expanding - -- -+ - - 50 - 21 -diff --git a/konversation/src/ignore_preferencesui.ui b/konversation/src/ignore_preferencesui.ui -index b726d29..88aa423 100644 ---- a/konversation/src/ignore_preferencesui.ui -+++ b/konversation/src/ignore_preferencesui.ui -@@ -185,7 +185,7 @@ the Free Software Foundation; either version 2 of the License, or - - Expanding - -- -+ - - 20 - 40 -diff --git a/konversation/src/inputfilter.cpp b/konversation/src/inputfilter.cpp -index f597812..f2e78ec 100644 ---- a/konversation/src/inputfilter.cpp -+++ b/konversation/src/inputfilter.cpp -@@ -371,7 +371,7 @@ void InputFilter::parseClientCommand(const TQString &prefix, const TQString &com - i18n("Received CTCP-%1 request from %2, sending answer.") - .tqarg("TIME").tqarg(sourceNick) - ); -- server->ctcpReply(sourceNick,TQString("TIME ")+TQDateTime::tqcurrentDateTime().toString()); -+ server->ctcpReply(sourceNick,TQString("TIME ")+TQDateTime::currentDateTime().toString()); - } - - // No known CTCP request, give a general message -@@ -431,7 +431,7 @@ void InputFilter::parseClientCommand(const TQString &prefix, const TQString &com - // pong reply, calculate turnaround time - if(replyReason.lower()=="ping") - { -- int dateArrived=TQDateTime::tqcurrentDateTime().toTime_t(); -+ int dateArrived=TQDateTime::currentDateTime().toTime_t(); - int dateSent=reply.toInt(); - int time = dateArrived-dateSent; - TQString unit = "seconds"; -diff --git a/konversation/src/ircinput.cpp b/konversation/src/ircinput.cpp -index 568adc9..20d3edf 100644 ---- a/konversation/src/ircinput.cpp -+++ b/konversation/src/ircinput.cpp -@@ -61,7 +61,7 @@ IRCInput::IRCInput(TQWidget* parent) : KTextEdit(parent) - connect(completionBox, TQT_SIGNAL(activated(const TQString&)), this, TQT_SLOT(insertCompletion(const TQString&))); - - // widget may not be resized vertically -- tqsetSizePolicy(TQSizePolicy(TQSizePolicy::MinimumExpanding,TQSizePolicy::Fixed)); -+ setSizePolicy(TQSizePolicy(TQSizePolicy::MinimumExpanding,TQSizePolicy::Fixed)); - - //NoWrap coupled with the size policy constrains the line edit to be one row high - setWordWrap(m_multiRow ? WidgetWidth : NoWrap); -@@ -130,7 +130,7 @@ void IRCInput::updateAppearance() - { - m_multiRow = Preferences::useMultiRowInputBox(); - setWordWrap(m_multiRow ? WidgetWidth : NoWrap); -- m_lastHeight=heightForWidth(tqsizeHint().width()); -+ m_lastHeight=heightForWidth(sizeHint().width()); - ensureCursorVisible(); //appears to trigger updateGeometry - } - -@@ -144,7 +144,7 @@ void IRCInput::resizeContents( int w, int h ) - } - - // widget must be only one line high - luckily QT will enforce this via wrappping policy --TQSize IRCInput::tqsizeHint() const -+TQSize IRCInput::sizeHint() const - { - constPolish(); - -diff --git a/konversation/src/ircinput.h b/konversation/src/ircinput.h -index f372b24..f4fa095 100644 ---- a/konversation/src/ircinput.h -+++ b/konversation/src/ircinput.h -@@ -38,7 +38,7 @@ class IRCInput : public KTextEdit - int getOldCursorPosition(); - TQString lastCompletion() const { return m_lastCompletion; } - -- virtual TQSize tqsizeHint() const; -+ virtual TQSize sizeHint() const; - TQString text() const; - - signals: -diff --git a/konversation/src/ircview.cpp b/konversation/src/ircview.cpp -index 6b3342b..fb57094 100644 ---- a/konversation/src/ircview.cpp -+++ b/konversation/src/ircview.cpp -@@ -532,7 +532,7 @@ bool doHighlight, bool parseURL, bool self) - (whoSent.find(needleReg) != -1)); - - // remember captured patterns for later -- captures=needleReg.tqcapturedTexts(); -+ captures=needleReg.capturedTexts(); - - } - else -@@ -1709,7 +1709,7 @@ TQString IRCView::timeStamp() - } - else - { -- TQDate date = TQDate::tqcurrentDate(); -+ TQDate date = TQDate::currentDate(); - timeString = TQString("[%1 %2] ") - .tqarg(KGlobal::locale()->formatDate(date, true /*short format*/), -diff --git a/konversation/src/ircviewbox.cpp b/konversation/src/ircviewbox.cpp -index 9318cbf..24401dd 100644 ---- a/konversation/src/ircviewbox.cpp -+++ b/konversation/src/ircviewbox.cpp -@@ -84,14 +84,14 @@ void IRCViewBox::searchNext(bool reversed) - if (match) - { - m_searchBar->setHasMatch(true); -- m_searchBar->settqStatus(TQPixmap(), ""); -+ m_searchBar->setStatus(TQPixmap(), ""); - return; - } - - if (!m_matchedOnce) - { - m_searchBar->setHasMatch(false); -- m_searchBar->settqStatus(getIcon("messagebox_warning"), -+ m_searchBar->setStatus(getIcon("messagebox_warning"), - i18n("Phrase not found")); - return; - } -@@ -105,13 +105,13 @@ void IRCViewBox::searchNext(bool reversed) - if (!match) - { - m_searchBar->setHasMatch(false); -- m_searchBar->settqStatus(getIcon("messagebox_warning"), -+ m_searchBar->setStatus(getIcon("messagebox_warning"), - i18n("Phrase not found")); - return; - } - - m_searchBar->setHasMatch(true); -- m_searchBar->settqStatus(getIcon("messagebox_info"), -+ m_searchBar->setStatus(getIcon("messagebox_info"), - i18n("Wrapped search")); - } - -@@ -126,12 +126,12 @@ void IRCViewBox::slotSearchChanged(const TQString& pattern) - if (match) - { - m_searchBar->setHasMatch(true); -- m_searchBar->settqStatus(TQPixmap(), ""); -+ m_searchBar->setStatus(TQPixmap(), ""); - } - else - { - m_searchBar->setHasMatch(false); -- m_searchBar->settqStatus(getIcon("messagebox_warning"), -+ m_searchBar->setStatus(getIcon("messagebox_warning"), - i18n("Phrase not found")); - } - -diff --git a/konversation/src/konversationapplication.cpp b/konversation/src/konversationapplication.cpp -index d8f5891..083a1ee 100644 ---- a/konversation/src/konversationapplication.cpp -+++ b/konversation/src/konversationapplication.cpp -@@ -343,7 +343,7 @@ void KonversationApplication::readOptions() - osd->setShadow(Preferences::oSDDrawShadow()); - - osd->setOffset(Preferences::oSDOffsetX(), Preferences::oSDOffsetY()); -- osd->tqsetAlignment((OSDWidget::Alignment)Preferences::oSDAlignment()); -+ osd->setAlignment((OSDWidget::Alignment)Preferences::oSDAlignment()); - - if(Preferences::oSDUseCustomColors()) - { -@@ -856,7 +856,7 @@ TQString KonversationApplication::doAutoreplace(const TQString& text,bool output - if(index != -1) - { - // remember captured patterns -- TQStringList captures = needleReg.tqcapturedTexts(); -+ TQStringList captures = needleReg.capturedTexts(); - - // replace %0 - %9 in regex groups - for(unsigned int capture=0;capturestatusBar(),"mainLabel"); - setMainLabelText(i18n("Ready.")); -- m_mainLabel->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Fixed)); -+ m_mainLabel->setSizePolicy(TQSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Fixed)); - m_mainLabel->setMinimumWidth(0); - - // KSqueezedLabel calculates the wrong height. Popular workaround. -diff --git a/konversation/src/konvibookmarkhandler.cpp b/konversation/src/konvibookmarkhandler.cpp -index 79cf12a..5a76682 100644 ---- a/konversation/src/konvibookmarkhandler.cpp -+++ b/konversation/src/konvibookmarkhandler.cpp -@@ -63,7 +63,7 @@ KonviBookmarkHandler::~KonviBookmarkHandler() - void KonviBookmarkHandler::slotEditBookmarks() - { - KProcess proc; -- proc << TQString::tqfromLatin1("keditbookmarks"); -+ proc << TQString::fromLatin1("keditbookmarks"); - proc << "--nobrowser"; - proc << "--caption" << i18n("Konversation Bookmarks Editor"); - proc << m_file; -diff --git a/konversation/src/linkaddressbook/addressbook.cpp b/konversation/src/linkaddressbook/addressbook.cpp -index 6a050af..7d09c49 100644 ---- a/konversation/src/linkaddressbook/addressbook.cpp -+++ b/konversation/src/linkaddressbook/addressbook.cpp -@@ -98,7 +98,7 @@ namespace Konversation - kdDebug() << "Addressbook::presenceString() called with an empty uid" << endl; - return TQString("Error"); - } -- switch( presencetqStatus(uid)) -+ switch( presenceStatus(uid)) - { - case 0: - return ""; -@@ -113,7 +113,7 @@ namespace Konversation - } - return TQString("Error"); - } -- int Addressbook::presencetqStatus(const TQString &uid) -+ int Addressbook::presenceStatus(const TQString &uid) - { - return presenceStatusByAddressee(addressBook->findByUid(uid)); - } -@@ -125,7 +125,7 @@ namespace Konversation - kdDebug() << "Addressbook::canReceiveFiles() called with empty uid" << endl; - return false; - } -- int presence = presencetqStatus(uid); -+ int presence = presenceStatus(uid); - - return (presence == 4) || (presence == 3); - } -@@ -137,7 +137,7 @@ namespace Konversation - return false; - } - //this should return false if they are offline. -- int result = presencetqStatus(uid); -+ int result = presenceStatus(uid); - if(result == 3 || result == 4) return true; - return false; - } -@@ -161,7 +161,7 @@ namespace Konversation - if(!isPresent(uid)) - return TQPixmap(); - -- switch(presencetqStatus(uid)) -+ switch(presenceStatus(uid)) - { - case 0: //Unknown - case 1: //Offline -@@ -331,7 +331,7 @@ void Addressbook::emitContactPresenceChanged(const TQString &uid) - return; - }; - -- emitContactPresenceChanged(uid, presencetqStatus(uid)); -+ emitContactPresenceChanged(uid, presenceStatus(uid)); - } - - } //NAMESPACE -diff --git a/konversation/src/linkaddressbook/addressbook.h b/konversation/src/linkaddressbook/addressbook.h -index 222a05f..95fc6c5 100644 ---- a/konversation/src/linkaddressbook/addressbook.h -+++ b/konversation/src/linkaddressbook/addressbook.h -@@ -52,7 +52,7 @@ namespace Konversation - // metadata - TQPixmap icon( const TQString &uid ); - TQString context( const TQString &uid ); -- virtual int presencetqStatus(const TQString &uid); -+ virtual int presenceStatus(const TQString &uid); - // App capabilities - TQStringList protocols(); - -diff --git a/konversation/src/linkaddressbook/kimiface.h b/konversation/src/linkaddressbook/kimiface.h -index bd6ab85..257bb42 100644 ---- a/konversation/src/linkaddressbook/kimiface.h -+++ b/konversation/src/linkaddressbook/kimiface.h -@@ -88,7 +88,7 @@ class KIMIface : virtual public DCOPObject - * @param uid the KABC uid you want the presence for. - * @return a numeric representation of presence - currently one of 0 (Unknown), 1 (Offline), 2 (Connecting), 3 (Away), 4 (Online) - */ -- virtual int presencetqStatus( const TQString & uid ) = 0; -+ virtual int presenceStatus( const TQString & uid ) = 0; - /** - * Indicate if a given uid can receive files - * @param uid the KABC uid you are interested in. -@@ -175,7 +175,7 @@ class KIMIface : virtual public DCOPObject - * Indicates that a contact's presence has changed - * @param uid the contact whose presence changed. - * @param appId the dcop application id of the program the signal originates from. -- * @param presence the new numeric presence @ref presencetqStatus -+ * @param presence the new numeric presence @ref presenceStatus - */ - void contactPresenceChanged( TQString uid, TQCString appId, int presence ); - }; -diff --git a/konversation/src/linkaddressbook/linkaddressbookui_base.ui b/konversation/src/linkaddressbook/linkaddressbookui_base.ui -index 5d630c4..e67d306 100644 ---- a/konversation/src/linkaddressbook/linkaddressbookui_base.ui -+++ b/konversation/src/linkaddressbook/linkaddressbookui_base.ui -@@ -37,7 +37,7 @@ - - Expanding - -- -+ - - 405 - 20 -diff --git a/konversation/src/linkaddressbook/nicklisttooltip.cpp b/konversation/src/linkaddressbook/nicklisttooltip.cpp -index f49d7a0..732b32e 100644 ---- a/konversation/src/linkaddressbook/nicklisttooltip.cpp -+++ b/konversation/src/linkaddressbook/nicklisttooltip.cpp -@@ -52,17 +52,17 @@ namespace Konversation - return; - - TQString toolTip; -- TQRect tqitemRect = m_listView->tqitemRect( item ); -+ TQRect itemRect = m_listView->itemRect( item ); - - uint leftMargin = m_listView->treeStepSize() * - ( item->depth() + ( m_listView->rootIsDecorated() ? 1 : 0 ) ) + - m_listView->itemMargin(); -- uint xAdjust = tqitemRect.left() + leftMargin; -- uint yAdjust = tqitemRect.top(); -+ uint xAdjust = itemRect.left() + leftMargin; -+ uint yAdjust = itemRect.top(); - TQPoint relativePos( pos.x() - xAdjust, pos.y() - yAdjust ); - toolTip = Konversation::removeIrcMarkup(nick->getChannelNick()->tooltip()); - if(!toolTip.isEmpty()) -- tip(tqitemRect, toolTip); -+ tip(itemRect, toolTip); - } - - } // namespace Konversation -diff --git a/konversation/src/linkaddressbook/nicksonlinetooltip.cpp b/konversation/src/linkaddressbook/nicksonlinetooltip.cpp -index 6315e10..9c4df71 100644 ---- a/konversation/src/linkaddressbook/nicksonlinetooltip.cpp -+++ b/konversation/src/linkaddressbook/nicksonlinetooltip.cpp -@@ -51,17 +51,17 @@ namespace Konversation - if(!nickInfo ) - return; - TQString toolTip; -- TQRect tqitemRect = m_listView->tqitemRect( item ); -+ TQRect itemRect = m_listView->itemRect( item ); - - uint leftMargin = m_listView->treeStepSize() * - ( item->depth() + ( m_listView->rootIsDecorated() ? 1 : 0 ) ) + - m_listView->itemMargin(); -- uint xAdjust = tqitemRect.left() + leftMargin; -- uint yAdjust = tqitemRect.top(); -+ uint xAdjust = itemRect.left() + leftMargin; -+ uint yAdjust = itemRect.top(); - TQPoint relativePos( pos.x() - xAdjust, pos.y() - yAdjust ); - toolTip = nickInfo->tooltip(); - if(!toolTip.isEmpty()) -- tip(tqitemRect, toolTip); -+ tip(itemRect, toolTip); - } - - } // namespace Konversation -diff --git a/konversation/src/log_preferences.ui b/konversation/src/log_preferences.ui -index 0ffdfc7..13326e6 100644 ---- a/konversation/src/log_preferences.ui -+++ b/konversation/src/log_preferences.ui -@@ -92,7 +92,7 @@ the Free Software Foundation; either version 2 of the License, or - - Expanding - -- -+ - - 21 - 10 -diff --git a/konversation/src/multilinetextedit.cpp b/konversation/src/multilinetextedit.cpp -index 880d0d1..be42a1f 100644 ---- a/konversation/src/multilinetextedit.cpp -+++ b/konversation/src/multilinetextedit.cpp -@@ -44,7 +44,7 @@ void MultilineTextEdit::drawWhitespaces() - TQPainter pa(viewport()); - - // get a sane color -- TQColor col=tqcolorGroup().link(); -+ TQColor col=colorGroup().link(); - // and a brush of the same color - TQBrush fillBrush(col); - // use it for line drawing -diff --git a/konversation/src/nickinfo.cpp b/konversation/src/nickinfo.cpp -index fb2cde4..17765ca 100644 ---- a/konversation/src/nickinfo.cpp -+++ b/konversation/src/nickinfo.cpp -@@ -99,7 +99,7 @@ bool NickInfo::isIdentified() const { return m_identified; } - TQString NickInfo::getPrettyOnlineSince() const - { - TQString prettyOnlineSince; -- int daysto = m_onlineSince.date().daysTo( TQDate::tqcurrentDate()); -+ int daysto = m_onlineSince.date().daysTo( TQDate::currentDate()); - if(daysto == 0) prettyOnlineSince = i18n("Today"); - else if(daysto == 1) prettyOnlineSince = i18n("Yesterday"); - else prettyOnlineSince = m_onlineSince.toString("ddd d MMMM yyyy"); -diff --git a/konversation/src/nicklistbehavior_preferencesui.ui b/konversation/src/nicklistbehavior_preferencesui.ui -index 3df61f0..53b06ae 100644 ---- a/konversation/src/nicklistbehavior_preferencesui.ui -+++ b/konversation/src/nicklistbehavior_preferencesui.ui -@@ -54,7 +54,7 @@ the Free Software Foundation; either version 2 of the License, or - - - -- kcfg_SortBytqStatus -+ kcfg_SortByStatus - - - -@@ -133,13 +133,13 @@ the Free Software Foundation; either version 2 of the License, or - - - -- kcfg_SortBytqStatus -+ kcfg_SortByStatus - toggled(bool) - sortOrder - setEnabled(bool) - - -- kcfg_SortBytqStatus -+ kcfg_SortByStatus - toggled(bool) - orderHintLabel - setEnabled(bool) -@@ -148,7 +148,7 @@ the Free Software Foundation; either version 2 of the License, or - - kcfg_ChannelDoubleClickAction - kcfg_SortCaseInsensitive -- kcfg_SortBytqStatus -+ kcfg_SortByStatus - sortOrder - - -diff --git a/konversation/src/nicklistview.cpp b/konversation/src/nicklistview.cpp -index ab98437..26e6bdd 100644 ---- a/konversation/src/nicklistview.cpp -+++ b/konversation/src/nicklistview.cpp -@@ -86,14 +86,14 @@ KListView(parent) - - int newitem; - newitem = popup->insertItem(i18n("Open &Query"),Konversation::OpenQuery); -- popup->tqsetWhatsThis(newitem, "Start a private chat between you and this person.

Technical note:
The conversation between you and this person will be sent via the server. This means that the conversation will be affected by server lag, server stability, and will be terminated when you disconnect from the server."); -+ popup->setWhatsThis(newitem, "Start a private chat between you and this person.

Technical note:
The conversation between you and this person will be sent via the server. This means that the conversation will be affected by server lag, server stability, and will be terminated when you disconnect from the server."); - newitem = popup->insertItem(i18n("Open DCC &Chat"),Konversation::StartDccChat); -- popup->tqsetWhatsThis(newitem, "Start a private Direct Client Connection chat between you and this person.

Technical note:
The conversation between you and this person will be sent directly. This means it is independent from the server - so if the server connection fails, or use disconnect, your DCC Chat will be unaffected. It also means that no irc server admin can view or spy on this chat."); -+ popup->setWhatsThis(newitem, "Start a private Direct Client Connection chat between you and this person.

Technical note:
The conversation between you and this person will be sent directly. This means it is independent from the server - so if the server connection fails, or use disconnect, your DCC Chat will be unaffected. It also means that no irc server admin can view or spy on this chat."); - - if (kapp->authorize("allow_downloading")) - { - newitem = popup->insertItem(SmallIcon("2rightarrow"),i18n("Send &File..."),Konversation::DccSend); -- popup->tqsetWhatsThis(newitem, "Send a file to this person. If you are having problem sending files, or they are sending slowly, see the Konversation Handbook and DCC preferences page."); -+ popup->setWhatsThis(newitem, "Send a file to this person. If you are having problem sending files, or they are sending slowly, see the Konversation Handbook and DCC preferences page."); - } - popup->insertItem(SmallIconSet("mail_generic"),i18n("&Send Email..."), Konversation::SendEmail); - -diff --git a/konversation/src/nicksonline.cpp b/konversation/src/nicksonline.cpp -index 5cc7bf1..1dd88f2 100644 ---- a/konversation/src/nicksonline.cpp -+++ b/konversation/src/nicksonline.cpp -@@ -102,7 +102,7 @@ NicksOnline::NicksOnline(TQWidget* parent): ChatWindow(parent) - "When you select a nickname in the list above, the buttons here are used " - "to associate the nickname with an entry in KAddressBook."); - TQWhatsThis::add(addressbookLabel, addressbookLabelWT); -- addressbookLabel->tqsetAlignment(TQt::AlignRight | TQt::AlignVCenter); -+ addressbookLabel->setAlignment(TQt::AlignRight | TQt::AlignVCenter); - m_editContactButton = new TQPushButton(i18n("Edit C&ontact..."), - buttonBox, "nicksonline_editcontact_button"); - TQString editContactButtonWT = i18n( -diff --git a/konversation/src/osd.cpp b/konversation/src/osd.cpp -index b228a73..8bd1745 100644 ---- a/konversation/src/osd.cpp -+++ b/konversation/src/osd.cpp -@@ -206,7 +206,7 @@ void OSDWidget::setOffset( int /*x*/, int y ) - reposition(); - } - --void OSDWidget::tqsetAlignment( Alignment a ) -+void OSDWidget::setAlignment( Alignment a ) - { - m_tqalignment = a; - reposition(); -@@ -402,7 +402,7 @@ void OSDPreviewWidget::mouseMoveEvent( TQMouseEvent *e ) - - // the code was taken from pilotDaemon.cc in KPilot - // static --OSDWidget::KDesktopLocktqStatus OSDWidget::isKDesktopLockRunning() -+OSDWidget::KDesktopLockStatus OSDWidget::isKDesktopLockRunning() - { - if (!Preferences::oSDCheckDesktopLock()) - return NotLocked; -diff --git a/konversation/src/osd.h b/konversation/src/osd.h -index 68bf408..f71f1d7 100644 ---- a/konversation/src/osd.h -+++ b/konversation/src/osd.h -@@ -41,7 +41,7 @@ class OSDWidget : public TQWidget - void setTextColor(const TQColor &newcolor); - void setBackgroundColor(const TQColor &newColor); - void setOffset( int x, int y ); -- void tqsetAlignment(Alignment); -+ void setAlignment(Alignment); - void setScreen(uint screen); - void setText(const TQString &text) { m_currentText = text; refresh(); } - -@@ -79,8 +79,8 @@ class OSDWidget : public TQWidget - /* called after most set*() calls to update the OSD */ - void refresh(); - -- enum KDesktopLocktqStatus { NotLocked=0, Locked=1, DCOPError=2 }; -- static KDesktopLocktqStatus isKDesktopLockRunning(); -+ enum KDesktopLockStatus { NotLocked=0, Locked=1, DCOPError=2 }; -+ static KDesktopLockStatus isKDesktopLockRunning(); - - static const int MARGIN = 15; - -diff --git a/konversation/src/osd_preferences.cpp b/konversation/src/osd_preferences.cpp -index aa68f83..7a765ef 100644 ---- a/konversation/src/osd_preferences.cpp -+++ b/konversation/src/osd_preferences.cpp -@@ -108,7 +108,7 @@ void OSD_Config::saveSettings() - - //x is ignored anyway, but leave incase we use in future - konvApp->osd->setOffset(kcfg_OSDOffsetX->value(), kcfg_OSDOffsetY->value()); -- konvApp->osd->tqsetAlignment((OSDWidget::Alignment)kcfg_OSDAlignment->value()); -+ konvApp->osd->setAlignment((OSDWidget::Alignment)kcfg_OSDAlignment->value()); - } - - } -@@ -116,7 +116,7 @@ void OSD_Config::saveSettings() - void OSD_Config::showEvent(TQShowEvent*) - { - //Update the preview -- m_pOSDPreview->tqsetAlignment((OSDWidget::Alignment)( kcfg_OSDAlignment->value() ) ); -+ m_pOSDPreview->setAlignment((OSDWidget::Alignment)( kcfg_OSDAlignment->value() ) ); - m_pOSDPreview->setOffset(kcfg_OSDOffsetX->value(),kcfg_OSDOffsetY->value()); - - m_pOSDPreview->setShown(kcfg_UseOSD->isChecked()); -diff --git a/konversation/src/osd_preferencesui.ui b/konversation/src/osd_preferencesui.ui -index f854584..2837552 100644 ---- a/konversation/src/osd_preferencesui.ui -+++ b/konversation/src/osd_preferencesui.ui -@@ -29,7 +29,7 @@ - - Expanding - -- -+ - - 21 - 10 -@@ -263,7 +263,7 @@ - - Expanding - -- -+ - - 50 - 31 -@@ -340,7 +340,7 @@ - - Expanding - -- -+ - - 50 - 21 -diff --git a/konversation/src/outputfilter.cpp b/konversation/src/outputfilter.cpp -index 47800f3..749e278 100644 ---- a/konversation/src/outputfilter.cpp -+++ b/konversation/src/outputfilter.cpp -@@ -181,8 +181,8 @@ namespace Konversation - // someone didn't notice leading spaces - { - TQString testNickServ( inputLine.stripWhiteSpace() ); -- if(testNickServ.tqstartsWith(commandChar+"nickserv", false) -- || testNickServ.tqstartsWith(commandChar+"ns", false)) -+ if(testNickServ.startsWith(commandChar+"nickserv", false) -+ || testNickServ.startsWith(commandChar+"ns", false)) - { - inputLine = testNickServ; - } -@@ -762,7 +762,7 @@ namespace Konversation - - if (request == "PING") - { -- unsigned int time_t = TQDateTime::tqcurrentDateTime().toTime_t(); -+ unsigned int time_t = TQDateTime::currentDateTime().toTime_t(); - result.toServer = TQString("PRIVMSG %1 :\x01PING %2\x01").tqarg(recipient).tqarg(time_t); - result.output = i18n("Sending CTCP-%1 request to %2.").tqarg("PING").tqarg(recipient); - } -diff --git a/konversation/src/query.cpp b/konversation/src/query.cpp -index c4e1fb5..b04c703 100644 ---- a/konversation/src/query.cpp -+++ b/konversation/src/query.cpp -@@ -57,10 +57,10 @@ Query::Query(TQWidget* parent, TQString _name) : ChatWindow(parent) - awayState=false; - TQHBox *box = new TQHBox(m_headerSplitter); - addresseeimage = new TQLabel(box, "query_image"); -- addresseeimage->tqsetSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Fixed); -+ addresseeimage->setSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Fixed); - addresseeimage->hide(); - addresseelogoimage = new TQLabel(box, "query_logo_image"); -- addresseelogoimage->tqsetSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Fixed); -+ addresseelogoimage->setSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Fixed); - addresseelogoimage->hide(); - - queryHostmask=new Konversation::TopicLabel(box, "query_hostmask"); -@@ -284,8 +284,8 @@ void Query::updateAppearance() - } - else - { -- fg=tqcolorGroup().foreground(); -- bg=tqcolorGroup().base(); -+ fg=colorGroup().foreground(); -+ bg=colorGroup().base(); - } - - queryInput->unsetPalette(); -@@ -365,7 +365,7 @@ void Query::showEvent(TQShowEvent*) - if(m_initialShow) { - m_initialShow = false; - TQValueList sizes; -- sizes << queryHostmask->tqsizeHint().height() << (height() - queryHostmask->tqsizeHint().height()); -+ sizes << queryHostmask->sizeHint().height() << (height() - queryHostmask->sizeHint().height()); - m_headerSplitter->setSizes(sizes); - } - } -diff --git a/konversation/src/queuetunerbase.ui b/konversation/src/queuetunerbase.ui -index e81effd..6bb1c7a 100644 ---- a/konversation/src/queuetunerbase.ui -+++ b/konversation/src/queuetunerbase.ui -@@ -54,7 +54,7 @@ - - Expanding - -- -+ - - 16 - 34 -@@ -96,7 +96,7 @@ - - Expanding - -- -+ - - 16 - 33 -diff --git a/konversation/src/quickbuttons_preferencesui.ui b/konversation/src/quickbuttons_preferencesui.ui -index 91d66a4..4e22b30 100644 ---- a/konversation/src/quickbuttons_preferencesui.ui -+++ b/konversation/src/quickbuttons_preferencesui.ui -@@ -193,7 +193,7 @@ - - Expanding - -- -+ - - 20 - 230 -diff --git a/konversation/src/searchbar.cpp b/konversation/src/searchbar.cpp -index 38946c0..913e435 100644 ---- a/konversation/src/searchbar.cpp -+++ b/konversation/src/searchbar.cpp -@@ -126,7 +126,7 @@ void SearchBar::slotFind() - m_searchEdit->unsetPalette(); - m_findNextButton->setEnabled(false); - m_findPreviousButton->setEnabled(false); -- settqStatus(TQPixmap(), ""); -+ setStatus(TQPixmap(), ""); - return; - } - -@@ -140,7 +140,7 @@ void SearchBar::slotFindNext() - m_searchEdit->unsetPalette(); - m_findNextButton->setEnabled(false); - m_findPreviousButton->setEnabled(false); -- settqStatus(TQPixmap(), ""); -+ setStatus(TQPixmap(), ""); - return; - } - -@@ -154,7 +154,7 @@ void SearchBar::slotFindPrevious() - m_searchEdit->unsetPalette(); - m_findNextButton->setEnabled(false); - m_findPreviousButton->setEnabled(false); -- settqStatus(TQPixmap(), ""); -+ setStatus(TQPixmap(), ""); - return; - } - -@@ -170,7 +170,7 @@ void SearchBar::setHasMatch(bool value) - m_findPreviousButton->setEnabled(value); - } - --void SearchBar::settqStatus(const TQPixmap& pix, const TQString& text) -+void SearchBar::setStatus(const TQPixmap& pix, const TQString& text) - { - if(!text.isEmpty()) { - m_statusPixLabel->show(); -diff --git a/konversation/src/searchbar.h b/konversation/src/searchbar.h -index 8c3204c..6fa113f 100644 ---- a/konversation/src/searchbar.h -+++ b/konversation/src/searchbar.h -@@ -34,7 +34,7 @@ class SearchBar : public SearchBarBase - ~SearchBar(); - - void setHasMatch(bool value); -- void settqStatus(const TQPixmap& pix, const TQString& text); -+ void setStatus(const TQPixmap& pix, const TQString& text); - - TQString pattern() const; - -diff --git a/konversation/src/server.cpp b/konversation/src/server.cpp -index eb9c625..f6cf5ad 100644 ---- a/konversation/src/server.cpp -+++ b/konversation/src/server.cpp -@@ -324,7 +324,7 @@ void Server::connectSignals() - connect(&m_inputFilter, TQT_SIGNAL(addToChannelList(const TQString&, int, const TQString& )), - this, TQT_SLOT(addToChannelList(const TQString&, int, const TQString& ))); - -- // tqStatus View -+ // Status View - connect(this, TQT_SIGNAL(serverOnline(bool)), getStatusView(), TQT_SLOT(serverOnline(bool))); - - // Scripts -@@ -1882,10 +1882,10 @@ void Server::dccGetDone(DccTransfer* item) - if(showfile.startsWith("\"") && showfile.endsWith("\"")) - showfile = showfile.mid(1, showfile.length() - 2); - -- if(item->gettqStatus()==DccTransfer::Done) -+ if(item->getStatus()==DccTransfer::Done) - appendMessageToFrontmost(i18n("DCC"),i18n("%1 = file name, %2 = nickname of sender", - "Download of \"%1\" from %2 finished.").tqarg(showfile, item->getPartnerNick())); -- else if(item->gettqStatus()==DccTransfer::Failed) -+ else if(item->getStatus()==DccTransfer::Failed) - appendMessageToFrontmost(i18n("DCC"),i18n("%1 = file name, %2 = nickname of sender", - "Download of \"%1\" from %2 failed. Reason: %3.").tqarg(showfile, - item->getPartnerNick(), item->getStatusDetail())); -@@ -1901,16 +1901,16 @@ void Server::dccSendDone(DccTransfer* item) - if(showfile.startsWith("\"") && showfile.endsWith("\"")) - showfile = showfile.mid(1, showfile.length() - 2); - -- if(item->gettqStatus()==DccTransfer::Done) -+ if(item->getStatus()==DccTransfer::Done) - appendMessageToFrontmost(i18n("DCC"),i18n("%1 = file name, %2 = nickname of recipient", - "Upload of \"%1\" to %2 finished.").tqarg(showfile, item->getPartnerNick())); -- else if(item->gettqStatus()==DccTransfer::Failed) -+ else if(item->getStatus()==DccTransfer::Failed) - appendMessageToFrontmost(i18n("DCC"),i18n("%1 = file name, %2 = nickname of recipient", - "Upload of \"%1\" to %2 failed. Reason: %3.").tqarg(showfile, item->getPartnerNick(), - item->getStatusDetail())); - } - --void Server::dccStatusChanged(DccTransfer *item, int newtqStatus, int oldtqStatus) -+void Server::dccStatusChanged(DccTransfer *item, int newStatus, int oldStatus) - { - if(!item) - return; -@@ -1923,13 +1923,13 @@ void Server::dccStatusChanged(DccTransfer *item, int newtqStatus, int oldtqStatu - if ( item->getType() == DccTransfer::Send ) - { - // when resuming, a message about the receiver's acceptance has been shown already, so suppress this message -- if ( newtqStatus == DccTransfer::Transferring && oldtqStatus == DccTransfer::WaitingRemote && !item->isResumed() ) -+ if ( newStatus == DccTransfer::Transferring && oldStatus == DccTransfer::WaitingRemote && !item->isResumed() ) - appendMessageToFrontmost( i18n( "DCC" ), i18n( "%1 = file name, %2 nickname of recipient", - "Sending \"%1\" to %2...").tqarg( showfile, item->getPartnerNick() ) ); - } - else // type == Receive - { -- if ( newtqStatus == DccTransfer::Transferring && !item->isResumed() ) -+ if ( newStatus == DccTransfer::Transferring && !item->isResumed() ) - { - appendMessageToFrontmost( i18n( "DCC" ), - i18n( "%1 = file name, %2 = file size, %3 = nickname of sender", "Downloading \"%1\" (%2) from %3...") -@@ -2068,7 +2068,7 @@ void Server::updateChannelMode(const TQString &updater, const TQString &channelN - if (plus) - { - TQDateTime when; -- addBan(channelName, TQString("%1 %2 %3").tqarg(parameter).tqarg(updater).tqarg(TQDateTime::tqcurrentDateTime().toTime_t())); -+ addBan(channelName, TQString("%1 %2 %3").tqarg(parameter).tqarg(updater).tqarg(TQDateTime::currentDateTime().toTime_t())); - } else { - removeBan(channelName, parameter); - } -@@ -3226,7 +3226,7 @@ TQString Server::awayTime() const - - if (m_away) - { -- int diff = TQDateTime::tqcurrentDateTime().toTime_t() - m_awayTime; -+ int diff = TQDateTime::currentDateTime().toTime_t() - m_awayTime; - int num = diff / 3600; - - if (num < 10) -@@ -3254,7 +3254,7 @@ TQString Server::awayTime() const - - void Server::startAwayTimer() - { -- m_awayTime = TQDateTime::tqcurrentDateTime().toTime_t(); -+ m_awayTime = TQDateTime::currentDateTime().toTime_t(); - } - - KABC::Addressee Server::getOfflineNickAddressee(TQString& nickname) -diff --git a/konversation/src/server.h b/konversation/src/server.h -index 959319c..ff8b0d7 100644 ---- a/konversation/src/server.h -+++ b/konversation/src/server.h -@@ -502,7 +502,7 @@ void resetNickSelection(); - void resumeDccSendTransfer(const TQString& sourceNick,const TQStringList& dccArguments); - void dccGetDone(DccTransfer* item); - void dccSendDone(DccTransfer* item); -- void dccStatusChanged(DccTransfer* item, int newtqStatus, int oldtqStatus); -+ void dccStatusChanged(DccTransfer* item, int newStatus, int oldStatus); - void scriptNotFound(const TQString& name); - void scriptExecutionError(const TQString& name); - void userhost(const TQString& nick,const TQString& hostmask,bool away,bool ircOp); -diff --git a/konversation/src/servergroupdialogui.ui b/konversation/src/servergroupdialogui.ui -index 4ef4866..933e019 100644 ---- a/konversation/src/servergroupdialogui.ui -+++ b/konversation/src/servergroupdialogui.ui -@@ -185,7 +185,7 @@ - - Expanding - -- -+ - - 0 - 20 -@@ -264,7 +264,7 @@ - - Expanding - -- -+ - - 255 - 20 -diff --git a/konversation/src/serverlistview.cpp b/konversation/src/serverlistview.cpp -index 0035c53..be33e43 100644 ---- a/konversation/src/serverlistview.cpp -+++ b/konversation/src/serverlistview.cpp -@@ -66,7 +66,7 @@ void ServerListView::findDrop(const TQPoint &pos, TQListViewItem *&parent, TQLis - else - { - // Get the closest item before us ('atpos' or the one above, if any) -- if (p.y() - tqitemRect(atpos).topLeft().y() < (atpos->height()/2)) -+ if (p.y() - itemRect(atpos).topLeft().y() < (atpos->height()/2)) - above = atpos->itemAbove(); - else - above = atpos; -diff --git a/konversation/src/statuspanel.cpp b/konversation/src/statuspanel.cpp -index 9615c1d..e2ff9f1 100644 ---- a/konversation/src/statuspanel.cpp -+++ b/konversation/src/statuspanel.cpp -@@ -32,7 +32,7 @@ - - StatusPanel::StatusPanel(TQWidget* parent) : ChatWindow(parent) - { -- setType(ChatWindow::tqStatus); -+ setType(ChatWindow::Status); - - setChannelEncodingSupported(true); - -@@ -164,8 +164,8 @@ void StatusPanel::updateAppearance() - } - else - { -- fg=tqcolorGroup().foreground(); -- bg=tqcolorGroup().base(); -+ fg=colorGroup().foreground(); -+ bg=colorGroup().base(); - } - - statusInput->unsetPalette(); -diff --git a/konversation/src/tabnotifications_preferences.ui b/konversation/src/tabnotifications_preferences.ui -index aaf68ac..3b62feb 100644 ---- a/konversation/src/tabnotifications_preferences.ui -+++ b/konversation/src/tabnotifications_preferences.ui -@@ -73,7 +73,7 @@ - true - - -- Application events occur in Konsole tabs, the DCC tqStatus tab and other application tabs not used directly for chatting. -+ Application events occur in Konsole tabs, the DCC Status tab and other application tabs not used directly for chatting. - - - -@@ -86,7 +86,7 @@ - - Expanding - -- -+ - - 50 - 21 -@@ -122,7 +122,7 @@ - - Expanding - -- -+ - - 50 - 21 -@@ -154,7 +154,7 @@ - - Expanding - -- -+ - - 60 - 21 -@@ -208,7 +208,7 @@ - - Expanding - -- -+ - - 50 - 20 -@@ -225,7 +225,7 @@ - - Expanding - -- -+ - - 50 - 21 -@@ -283,7 +283,7 @@ - - Expanding - -- -+ - - 50 - 20 -@@ -337,7 +337,7 @@ - - Expanding - -- -+ - - 21 - 60 -diff --git a/konversation/src/tabs_preferencesui.ui b/konversation/src/tabs_preferencesui.ui -index 9e8dbbe..73b914c 100644 ---- a/konversation/src/tabs_preferencesui.ui -+++ b/konversation/src/tabs_preferencesui.ui -@@ -83,7 +83,7 @@ the Free Software Foundation; either version 2 of the License, or - - Expanding - -- -+ - - 111 - 20 -@@ -178,7 +178,7 @@ the Free Software Foundation; either version 2 of the License, or - - Expanding - -- -+ - - 20 - 100 -diff --git a/konversation/src/theme_preferencesui.ui b/konversation/src/theme_preferencesui.ui -index bf7d7ab..44c01e8 100644 ---- a/konversation/src/theme_preferencesui.ui -+++ b/konversation/src/theme_preferencesui.ui -@@ -66,7 +66,7 @@ - - Expanding - -- -+ - - 131 - 20 -@@ -77,7 +77,7 @@ - - frame3_2 - -- -+ - - 0 - 0 -diff --git a/konversation/src/topiclabel.cpp b/konversation/src/topiclabel.cpp -index e04a1d0..0fdbe18 100644 ---- a/konversation/src/topiclabel.cpp -+++ b/konversation/src/topiclabel.cpp -@@ -60,13 +60,13 @@ namespace Konversation - { - } - -- TQSize TopicLabel::tqminimumSizeHint() const -+ TQSize TopicLabel::minimumSizeHint() const - { - int minHeight = fontMetrics().lineSpacing() + fontMetrics().descent(); - return TQSize(0, minHeight); - } - -- TQSize TopicLabel::tqsizeHint() const -+ TQSize TopicLabel::sizeHint() const - { - int minHeight = fontMetrics().lineSpacing() + fontMetrics().descent(); - return TQSize(0, minHeight); -diff --git a/konversation/src/topiclabel.h b/konversation/src/topiclabel.h -index 4e22dbc..0a649b6 100644 ---- a/konversation/src/topiclabel.h -+++ b/konversation/src/topiclabel.h -@@ -33,8 +33,8 @@ namespace Konversation - explicit TopicLabel(TQWidget *parent = 0, const char *name = 0); - ~TopicLabel(); - -- TQSize tqminimumSizeHint() const; -- TQSize tqsizeHint() const; -+ TQSize minimumSizeHint() const; -+ TQSize sizeHint() const; - void setServer(Server* server); - - enum PopupIDs { Copy,CopyUrl,SelectAll,Bookmark }; -diff --git a/konversation/src/viewcontainer.cpp b/konversation/src/viewcontainer.cpp -index 89be010..04d6635 100644 ---- a/konversation/src/viewcontainer.cpp -+++ b/konversation/src/viewcontainer.cpp -@@ -157,7 +157,7 @@ void ViewContainer::setupTabWidget() - KPushButton* closeBtn = new KPushButton(m_tabWidget); - closeBtn->setPixmap(KGlobal::iconLoader()->loadIcon("tab_remove", KIcon::Small)); - closeBtn->resize(22, 22); -- closeBtn->tqsetSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Fixed); -+ closeBtn->setSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Fixed); - m_tabWidget->setCornerWidget(closeBtn); - connect(closeBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(closeCurrentView())); - -@@ -220,7 +220,7 @@ void ViewContainer::setupViewTree() - { - ChatWindow* view = static_cast(m_tabWidget->page(i)); - -- if (view->getType() == ChatWindow::tqStatus) -+ if (view->getType() == ChatWindow::Status) - { - if (view == m_frontView) - m_viewTree->addView(view->getName(), view, m_tabWidget->tabIconSet(view), true); -@@ -233,7 +233,7 @@ void ViewContainer::setupViewTree() - { - ChatWindow* view = static_cast(m_tabWidget->page(i)); - -- if (!view->getType() == ChatWindow::tqStatus) -+ if (!view->getType() == ChatWindow::Status) - { - if (view == m_frontView) - m_viewTree->addView(view->getName(), view, m_tabWidget->tabIconSet(view), true); -@@ -426,7 +426,7 @@ void ViewContainer::updateViewActions(int index) - if (action) action->setEnabled(index < (m_tabWidget->count() - 1)); - } - -- if (server && (viewType == ChatWindow::tqStatus || server == m_frontServer)) -+ if (server && (viewType == ChatWindow::Status || server == m_frontServer)) - { - action = actionCollection()->action("reconnect_server"); - if (action) action->setEnabled(true); -@@ -457,7 +457,7 @@ void ViewContainer::updateViewActions(int index) - if (notifyAction) - { - notifyAction->setEnabled(viewType == ChatWindow::Channel || viewType == ChatWindow::Query || -- viewType == ChatWindow::tqStatus || viewType == ChatWindow::Konsole || -+ viewType == ChatWindow::Status || viewType == ChatWindow::Konsole || - viewType == ChatWindow::DccTransferPanel || viewType == ChatWindow::RawLog); - notifyAction->setChecked(view->notificationsEnabled()); - } -@@ -702,7 +702,7 @@ void ViewContainer::updateFrontView() - { - case ChatWindow::Channel: - case ChatWindow::Query: -- case ChatWindow::tqStatus: -+ case ChatWindow::Status: - case ChatWindow::ChannelList: - case ChatWindow::RawLog: - emit setStatusBarLagLabelShown(true); -@@ -729,7 +729,7 @@ void ViewContainer::updateViews(const Konversation::ServerGroupSettings* serverG - - if (serverGroup) - { -- if (view->getType() == ChatWindow::tqStatus && view->getServer()->getServerGroup() == serverGroup) -+ if (view->getType() == ChatWindow::Status && view->getServer()->getServerGroup() == serverGroup) - { - TQString label = view->getServer()->getDisplayName(); - -@@ -762,7 +762,7 @@ void ViewContainer::updateViews(const Konversation::ServerGroupSettings* serverG - - - if (!Preferences::tabNotificationsText()) -- m_viewTree->setViewColor(view, m_window->tqcolorGroup().foreground()); -+ m_viewTree->setViewColor(view, m_window->colorGroup().foreground()); - } - else if (m_tabWidget) - { -@@ -773,7 +773,7 @@ void ViewContainer::updateViews(const Konversation::ServerGroupSettings* serverG - m_tabWidget->setTabIconSet(view, images->getCloseIcon()); - - if (!Preferences::tabNotificationsText()) -- m_tabWidget->setTabColor(view, m_window->tqcolorGroup().foreground()); -+ m_tabWidget->setTabColor(view, m_window->colorGroup().foreground()); - } - - if (Preferences::tabNotificationsLeds() || Preferences::tabNotificationsText()) -@@ -1040,7 +1040,7 @@ void ViewContainer::unsetViewNotification(ChatWindow* view) - m_viewTree->setViewIcon(view, images->getPrivateLed(false)); - break; - -- case ChatWindow::tqStatus: -+ case ChatWindow::Status: - m_viewTree->setViewIcon(view, images->getServerLed(false)); - break; - -@@ -1051,7 +1051,7 @@ void ViewContainer::unsetViewNotification(ChatWindow* view) - } - - TQColor textColor = (Preferences::inputFieldsBackgroundColor() -- ? Preferences::color(Preferences::ChannelMessage) : m_window->tqcolorGroup().foreground()); -+ ? Preferences::color(Preferences::ChannelMessage) : m_window->colorGroup().foreground()); - - if (view->getType() == ChatWindow::Channel) - { -@@ -1083,7 +1083,7 @@ void ViewContainer::unsetViewNotification(ChatWindow* view) - m_tabWidget->setTabIconSet(view, images->getPrivateLed(false)); - break; - -- case ChatWindow::tqStatus: -+ case ChatWindow::Status: - m_tabWidget->setTabIconSet(view, images->getServerLed(false)); - break; - -@@ -1093,7 +1093,7 @@ void ViewContainer::unsetViewNotification(ChatWindow* view) - } - } - -- TQColor textColor = m_window->tqcolorGroup().foreground(); -+ TQColor textColor = m_window->colorGroup().foreground(); - - if (view->getType() == ChatWindow::Channel) - { -@@ -1196,7 +1196,7 @@ void ViewContainer::addView(ChatWindow* view, const TQString& label, bool weinit - { - tmp_ChatWindow = static_cast(m_tabWidget->page(sindex)); - -- if (tmp_ChatWindow->getType() == ChatWindow::tqStatus && tmp_ChatWindow->getServer() == view->getServer()) -+ if (tmp_ChatWindow->getType() == ChatWindow::Status && tmp_ChatWindow->getServer() == view->getServer()) - { - for (int index = sindex + 1; index < m_tabWidget->count(); index++) - { -@@ -1226,7 +1226,7 @@ void ViewContainer::addView(ChatWindow* view, const TQString& label, bool weinit - { - tmp_ChatWindow = static_cast(m_tabWidget->page(sindex)); - -- if (tmp_ChatWindow->getType() == ChatWindow::tqStatus && tmp_ChatWindow->getServer() == view->getServer()) -+ if (tmp_ChatWindow->getType() == ChatWindow::Status && tmp_ChatWindow->getServer() == view->getServer()) - { - placement = sindex + 1; - break; -@@ -1245,7 +1245,7 @@ void ViewContainer::addView(ChatWindow* view, const TQString& label, bool weinit - { - tmp_ChatWindow = static_cast(m_tabWidget->page(sindex)); - -- if (tmp_ChatWindow->getType() == ChatWindow::tqStatus && tmp_ChatWindow->getServer() == view->getServer()) -+ if (tmp_ChatWindow->getType() == ChatWindow::Status && tmp_ChatWindow->getServer() == view->getServer()) - { - for (int index = sindex + 1; index < m_tabWidget->count(); index++) - { -@@ -1276,7 +1276,7 @@ void ViewContainer::addView(ChatWindow* view, const TQString& label, bool weinit - tmp_ChatWindow = static_cast(m_tabWidget->page(sindex)); - wtype = tmp_ChatWindow->getType(); - -- if (wtype != ChatWindow::tqStatus && wtype != ChatWindow::Channel -+ if (wtype != ChatWindow::Status && wtype != ChatWindow::Channel - && wtype != ChatWindow::RawLog && wtype != ChatWindow::Query - && wtype != ChatWindow::DccChat && wtype != ChatWindow::ChannelList) - { -@@ -1286,7 +1286,7 @@ void ViewContainer::addView(ChatWindow* view, const TQString& label, bool weinit - } - break; - -- case ChatWindow::tqStatus: -+ case ChatWindow::Status: - if (Preferences::tabNotificationsLeds()) - iconSet = images->getServerLed(false); - else if (Preferences::closeButtons()) -@@ -1299,7 +1299,7 @@ void ViewContainer::addView(ChatWindow* view, const TQString& label, bool weinit - tmp_ChatWindow = static_cast(m_tabWidget->page(sindex)); - - if (tmp_ChatWindow->getType() != ChatWindow::Channel -- && tmp_ChatWindow->getType() != ChatWindow::tqStatus -+ && tmp_ChatWindow->getType() != ChatWindow::Status - && tmp_ChatWindow->getType() != ChatWindow::RawLog - && tmp_ChatWindow->getType() != ChatWindow::Query - && tmp_ChatWindow->getType() != ChatWindow::DccChat) -@@ -1624,7 +1624,7 @@ void ViewContainer::updateViewEncoding(ChatWindow* view) - - if (codecAction) - { -- if(viewType == ChatWindow::Channel || viewType == ChatWindow::Query || viewType == ChatWindow::tqStatus) -+ if(viewType == ChatWindow::Channel || viewType == ChatWindow::Query || viewType == ChatWindow::Status) - { - codecAction->setEnabled(view->isChannelEncodingSupported()); - TQString encoding = view->getChannelEncoding(); -@@ -1682,7 +1682,7 @@ void ViewContainer::showViewContextMenu(TQWidget* tab, const TQPoint& pos) - } - } - -- if (viewType == ChatWindow::tqStatus) -+ if (viewType == ChatWindow::Status) - { - TQPtrList serverActions; - KAction* action = actionCollection()->action("disconnect_server"); -@@ -1825,7 +1825,7 @@ void ViewContainer::appendToFrontmost(const TQString& type,const TQString& messa - } - - // This might happen if canBeFrontView() is false for active ChatWindow -- // and the view does not belong to any server (e.g. DCC tqStatus View). -+ // and the view does not belong to any server (e.g. DCC Status View). - // Discard message in this case. - if (!serverView) return; - -@@ -1957,7 +1957,7 @@ void ViewContainer::openLogFile() - ChatWindow* view=static_cast(m_frontView); - ChatWindow::WindowType viewType=view->getType(); - if (viewType==ChatWindow::Channel || viewType==ChatWindow::Query || -- viewType==ChatWindow::tqStatus || viewType==ChatWindow::DccChat) -+ viewType==ChatWindow::Status || viewType==ChatWindow::DccChat) - { - openLogFile(view->getName(), view->logFileName()); - } -diff --git a/konversation/src/viewtree.cpp b/konversation/src/viewtree.cpp -index d62bee4..67efaf5 100644 ---- a/konversation/src/viewtree.cpp -+++ b/konversation/src/viewtree.cpp -@@ -56,7 +56,7 @@ void ViewTree::ToolTip::maybeTip (const TQPoint &pos) - - ViewTreeItem* view = static_cast(viewTree->itemAt(pos)); - -- if (view && view->isTruncated()) tip(viewTree->tqitemRect(view), view->getName()); -+ if (view && view->isTruncated()) tip(viewTree->itemRect(view), view->getName()); - } - - -@@ -503,7 +503,7 @@ void ViewTree::enableCloseButton() - - bool ViewTree::isAboveIcon(TQPoint point, ViewTreeItem* item) - { -- TQPoint inItem = point - tqitemRect(item).topLeft(); -+ TQPoint inItem = point - itemRect(item).topLeft(); - - int MARGIN = 2; - int LED_ICON_SIZE = 14; -@@ -748,7 +748,7 @@ void ViewTree::findDrop(const TQPoint &pos, TQListViewItem *&parent, TQListViewI - else - { - // Get the closest item before us ('atpos' or the one above, if any). -- if (p.y() - tqitemRect(atpos).topLeft().y() < (atpos->height()/2)) -+ if (p.y() - itemRect(atpos).topLeft().y() < (atpos->height()/2)) - above = atpos->itemAbove(); - else - above = atpos; -@@ -913,7 +913,7 @@ ViewTreeItem* ViewTree::getParentItemForView(ChatWindow* view) - - while (item) - { -- if (item->getViewType() == ChatWindow::tqStatus -+ if (item->getViewType() == ChatWindow::Status - && item->getView() - && item->getView()->getServer() == server) - { -diff --git a/konversation/src/viewtreeitem.cpp b/konversation/src/viewtreeitem.cpp -index 1d18a8d..f831fbb 100644 ---- a/konversation/src/viewtreeitem.cpp -+++ b/konversation/src/viewtreeitem.cpp -@@ -246,7 +246,7 @@ bool ViewTreeItem::sortLast() const - { - if (!m_isSeparator) - { -- if (getViewType() == ChatWindow::tqStatus -+ if (getViewType() == ChatWindow::Status - || getViewType() == ChatWindow::Channel - || getViewType() == ChatWindow::Query - || getViewType() == ChatWindow::RawLog -diff --git a/konversation/src/watchednicknames_preferencesui.ui b/konversation/src/watchednicknames_preferencesui.ui -index 6fbcc36..6f9860b 100644 ---- a/konversation/src/watchednicknames_preferencesui.ui -+++ b/konversation/src/watchednicknames_preferencesui.ui -@@ -106,7 +106,7 @@ command is placed in the <b>Input Line</b> on the server window.< - - Expanding - -- -+ - - 150 - 20 -@@ -333,7 +333,7 @@ When the nickname watcher is turned on, you will be notified when the nicknames - - Expanding - -- -+ - - 20 - 160 diff --git a/redhat/applications/konversation/bp001-efdae4e7.diff b/redhat/applications/konversation/bp001-efdae4e7.diff deleted file mode 100644 index 693709e28..000000000 --- a/redhat/applications/konversation/bp001-efdae4e7.diff +++ /dev/null @@ -1,4114 +0,0 @@ -commit efdae4e712984b2932ca4a43942b7a93dcb8dbd3 -Author: Timothy Pearson -Date: 1324316340 -0600 - - Remove additional unneeded tq method conversions - -diff --git a/konversation/scripts/fortunes.dat b/konversation/scripts/fortunes.dat -index 7abf85d..240af34 100644 ---- a/konversation/scripts/fortunes.dat -+++ b/konversation/scripts/fortunes.dat -@@ -419,7 +419,7 @@ Eric Youngdale: Err... is Richard Stallman here? - Linux: The OS people choose without $200,000,000 of persuasion. - -- Mike Coleman - % --The memory management on the PowerPC can be used to frighten small tqchildren. -+The memory management on the PowerPC can be used to frighten small children. - -- Linus Torvalds - % - ... faster BogoMIPS calculations (yes, it now boots 2 seconds faster than -diff --git a/konversation/src/autoreplace_preferences.cpp b/konversation/src/autoreplace_preferences.cpp -index c77d01a..b66eb25 100644 ---- a/konversation/src/autoreplace_preferences.cpp -+++ b/konversation/src/autoreplace_preferences.cpp -@@ -146,7 +146,7 @@ void Autoreplace_Config::saveSettings() - for(unsigned int index=0;indexwriteEntry(TQString("Autoreplace%1").tqarg(index),newList[index]+'#'); -+ config->writeEntry(TQString("Autoreplace%1").arg(index),newList[index]+'#'); - } // for - } - // if there were no entries at all, write a dummy entry to prevent KConfigXT from "optimizing" -diff --git a/konversation/src/channel.cpp b/konversation/src/channel.cpp -index 13e026e..b7063c0 100644 ---- a/konversation/src/channel.cpp -+++ b/konversation/src/channel.cpp -@@ -569,7 +569,7 @@ void Channel::popupCommand(int id) - case Konversation::Ping: - { - unsigned int time_t = TQDateTime::currentDateTime().toTime_t(); -- pattern=TQString(cc+"CTCP %u PING %1").tqarg(time_t); -+ pattern=TQString(cc+"CTCP %u PING %1").arg(time_t); - } - break; - case Konversation::Kick: -@@ -617,7 +617,7 @@ void Channel::popupCommand(int id) - break; - case Konversation::IgnoreNick: - if (nickList.size() == 1) -- question=i18n("Do you want to ignore %1?").tqarg(nickList.first()); -+ question=i18n("Do you want to ignore %1?").arg(nickList.first()); - else - question = i18n("Do you want to ignore the selected users?"); - if (KMessageBox::warningContinueCancel(this, question, i18n("Ignore"), i18n("Ignore"), "IgnoreNick") == -@@ -635,7 +635,7 @@ void Channel::popupCommand(int id) - } - - if (selectedIgnoredNicks.count() == 1) -- question=i18n("Do you want to stop ignoring %1?").tqarg(selectedIgnoredNicks.first()); -+ question=i18n("Do you want to stop ignoring %1?").arg(selectedIgnoredNicks.first()); - else - question = i18n("Do you want to stop ignoring the selected users?"); - if (KMessageBox::warningContinueCancel(this, question, i18n("Unignore"), i18n("Unignore"), "UnignoreNick") == -@@ -776,7 +776,7 @@ void Channel::completeNick() - if(Preferences::nickCompletionMode() == 1) - { - TQString nicksFound = found.join(" "); -- appendServerMessage(i18n("Completion"), i18n("Possible completions: %1.").tqarg(nicksFound)); -+ appendServerMessage(i18n("Completion"), i18n("Possible completions: %1.").arg(nicksFound)); - } - else - { -@@ -1174,7 +1174,7 @@ void Channel::modeButtonClicked(int id, bool on) - args=limit->text(); - } - // put together the mode command and send it to the server queue -- m_server->queue(command.tqarg(getName()).tqarg((on) ? "+" : "-").tqarg(mode[id]).tqarg(args)); -+ m_server->queue(command.arg(getName()).arg((on) ? "+" : "-").arg(mode[id]).arg(args)); - } - - void Channel::quickButtonClicked(const TQString &buttonText) -@@ -1247,12 +1247,12 @@ void Channel::nickRenamed(const TQString &oldNick, const NickInfo& nickInfo) - if(newNick == m_server->getNickname()) /* Check newNick because m_server->getNickname() is already updated to new nick */ - { - setNickname(newNick); -- appendCommandMessage(i18n("Nick"),i18n("You are now known as %1.").tqarg(newNick), false, true, true); -+ appendCommandMessage(i18n("Nick"),i18n("You are now known as %1.").arg(newNick), false, true, true); - } - else - { - /* No, must've been someone else */ -- appendCommandMessage(i18n("Nick"),i18n("%1 is now known as %2.").tqarg(oldNick).tqarg(newNick),false); -+ appendCommandMessage(i18n("Nick"),i18n("%1 is now known as %2.").arg(oldNick).arg(newNick),false); - } - - nicknameListView->sort(); -@@ -1266,7 +1266,7 @@ void Channel::joinNickname(ChannelNickPtr channelNick) - m_joined = true; - emit joined(this); - appendCommandMessage(i18n("Join"),i18n("%1 is the channel and %2 is our hostmask", -- "You have joined the channel %1 (%2).").tqarg(getName()).tqarg(channelNick->getHostmask()),false, false, true); -+ "You have joined the channel %1 (%2).").arg(getName()).arg(channelNick->getHostmask()),false, false, true); - m_ownChannelNick = channelNick; - connect(m_ownChannelNick, TQT_SIGNAL(channelNickChanged()), TQT_SLOT(refreshModeButtons())); - refreshModeButtons(); -@@ -1283,7 +1283,7 @@ void Channel::joinNickname(ChannelNickPtr channelNick) - TQString nick = channelNick->getNickname(); - TQString hostname = channelNick->getHostmask(); - appendCommandMessage(i18n("Join"), i18n("%1 is the nick joining and %2 the hostmask of that nick", -- "%1 has joined this channel (%2).").tqarg(nick).tqarg(hostname),false, false); -+ "%1 has joined this channel (%2).").arg(nick).arg(hostname),false, false); - addNickname(channelNick); - } - } -@@ -1307,15 +1307,15 @@ void Channel::removeNick(ChannelNickPtr channelNick, const TQString &reason, boo - if (displayReason.isEmpty()) - appendCommandMessage(i18n("Quit"), i18n("You have left this server."), false); - else -- appendCommandMessage(i18n("Quit"), i18n("%1 adds the reason", "You have left this server (%1).").tqarg(displayReason), false); -+ appendCommandMessage(i18n("Quit"), i18n("%1 adds the reason", "You have left this server (%1).").arg(displayReason), false); - } - else - { - if (displayReason.isEmpty()) -- appendCommandMessage(i18n("Part"), i18n("You have left channel %1.").tqarg(getName()), false); -+ appendCommandMessage(i18n("Part"), i18n("You have left channel %1.").arg(getName()), false); - else - appendCommandMessage(i18n("Part"), i18n("%1 adds the channel and %2 the reason", -- "You have left channel %1 (%2).").tqarg(getName()).tqarg(displayReason), false); -+ "You have left channel %1 (%2).").arg(getName()).arg(displayReason), false); - - } - -@@ -1326,18 +1326,18 @@ void Channel::removeNick(ChannelNickPtr channelNick, const TQString &reason, boo - if (quit) - { - if (displayReason.isEmpty()) -- appendCommandMessage(i18n("Quit"), i18n("%1 has left this server.").tqarg(channelNick->getNickname()), false); -+ appendCommandMessage(i18n("Quit"), i18n("%1 has left this server.").arg(channelNick->getNickname()), false); - else - appendCommandMessage(i18n("Quit"), i18n("%1 adds the nick and %2 the reason", -- "%1 has left this server (%2).").tqarg(channelNick->getNickname()).tqarg(displayReason), false); -+ "%1 has left this server (%2).").arg(channelNick->getNickname()).arg(displayReason), false); - } - else - { - if (displayReason.isEmpty()) -- appendCommandMessage(i18n("Part"), i18n("%1 has left this channel.").tqarg(channelNick->getNickname()), false); -+ appendCommandMessage(i18n("Part"), i18n("%1 has left this channel.").arg(channelNick->getNickname()), false); - else - appendCommandMessage(i18n("Part"), i18n("%1 adds the nick and %2 the reason", -- "%1 has left this channel (%2).").tqarg(channelNick->getNickname()).tqarg(displayReason), false); -+ "%1 has left this channel (%2).").arg(channelNick->getNickname()).arg(displayReason), false); - } - - if(channelNick->isAnyTypeOfOp()) -@@ -1375,10 +1375,10 @@ void Channel::kickNick(ChannelNickPtr channelNick, const TQString &kicker, const - if(kicker == m_server->getNickname()) - { - if (displayReason.isEmpty()) -- appendCommandMessage(i18n("Kick"), i18n("You have kicked yourself from channel %1.").tqarg(getName())); -+ appendCommandMessage(i18n("Kick"), i18n("You have kicked yourself from channel %1.").arg(getName())); - else - appendCommandMessage(i18n("Kick"), i18n("%1 adds the channel and %2 the reason", -- "You have kicked yourself from channel %1 (%2).").tqarg(getName()).tqarg(displayReason)); -+ "You have kicked yourself from channel %1 (%2).").arg(getName()).arg(displayReason)); - } - else - { -@@ -1386,13 +1386,13 @@ void Channel::kickNick(ChannelNickPtr channelNick, const TQString &kicker, const - { - appendCommandMessage(i18n("Kick"), i18n("%1 adds the channel, %2 adds the kicker", - "You have been kicked from channel %1 by %2.") -- .tqarg(getName()).tqarg(kicker), true); -+ .arg(getName()).arg(kicker), true); - } - else - { - appendCommandMessage(i18n("Kick"), i18n("%1 adds the channel, %2 the kicker and %3 the reason", - "You have been kicked from channel %1 by %2 (%3).") -- .tqarg(getName()).tqarg(kicker).tqarg(displayReason), true); -+ .arg(getName()).arg(kicker).arg(displayReason), true); - } - - KonversationApplication::instance()->notificationHandler()->kick(this,getName(), kicker); -@@ -1412,10 +1412,10 @@ void Channel::kickNick(ChannelNickPtr channelNick, const TQString &kicker, const - if(kicker == m_server->getNickname()) - { - if (displayReason.isEmpty()) -- appendCommandMessage(i18n("Kick"), i18n("You have kicked %1 from the channel.").tqarg(channelNick->getNickname())); -+ appendCommandMessage(i18n("Kick"), i18n("You have kicked %1 from the channel.").arg(channelNick->getNickname())); - else - appendCommandMessage(i18n("Kick"), i18n("%1 adds the kicked nick and %2 the reason", -- "You have kicked %1 from the channel (%2).").tqarg(channelNick->getNickname()).tqarg(displayReason), true); -+ "You have kicked %1 from the channel (%2).").arg(channelNick->getNickname()).arg(displayReason), true); - } - else - { -@@ -1423,13 +1423,13 @@ void Channel::kickNick(ChannelNickPtr channelNick, const TQString &kicker, const - { - appendCommandMessage(i18n("Kick"), i18n("%1 adds the kicked nick, %2 adds the kicker", - "%1 has been kicked from the channel by %2.") -- .tqarg(channelNick->getNickname()).tqarg(kicker), true); -+ .arg(channelNick->getNickname()).arg(kicker), true); - } - else - { - appendCommandMessage(i18n("Kick"), i18n("%1 adds the kicked nick, %2 the kicker and %3 the reason", - "%1 has been kicked from the channel by %2 (%3).") -- .tqarg(channelNick->getNickname()).tqarg(kicker).tqarg(displayReason), true); -+ .arg(channelNick->getNickname()).arg(kicker).arg(displayReason), true); - } - } - -@@ -1511,7 +1511,7 @@ void Channel::emitUpdateInfo() - - void Channel::setTopic(const TQString &newTopic) - { -- appendCommandMessage(i18n("Topic"), i18n("The channel topic is \"%1\".").tqarg(newTopic)); -+ appendCommandMessage(i18n("Topic"), i18n("The channel topic is \"%1\".").arg(newTopic)); - TQString topic = Konversation::removeIrcMarkup(newTopic); - topicLine->setText(topic); - topicAuthorUnknown=true; // if we only get called with a topic, it was a 332, which usually has a 333 next -@@ -1521,7 +1521,7 @@ void Channel::setTopic(const TQString &newTopic) - - if(m_topicHistory.first().section(' ', 2) != newTopic) - { -- m_topicHistory.prepend(TQString("%1 "+i18n("unknown")+" %2").tqarg(TQDateTime::currentDateTime().toTime_t()).tqarg(newTopic)); -+ m_topicHistory.prepend(TQString("%1 "+i18n("unknown")+" %2").arg(TQDateTime::currentDateTime().toTime_t()).arg(newTopic)); - emit topicHistoryChanged(); - } - } -@@ -1530,14 +1530,14 @@ void Channel::setTopic(const TQString &nickname, const TQString &newTopic) // Ov - { - if(nickname == m_server->getNickname()) - { -- appendCommandMessage(i18n("Topic"), i18n("You set the channel topic to \"%1\".").tqarg(newTopic)); -+ appendCommandMessage(i18n("Topic"), i18n("You set the channel topic to \"%1\".").arg(newTopic)); - } - else - { -- appendCommandMessage(i18n("Topic"), i18n("%1 sets the channel topic to \"%2\".").tqarg(nickname).tqarg(newTopic)); -+ appendCommandMessage(i18n("Topic"), i18n("%1 sets the channel topic to \"%2\".").arg(nickname).arg(newTopic)); - } - -- m_topicHistory.prepend(TQString("%1 %2 %3").tqarg(TQDateTime::currentDateTime().toTime_t()).tqarg(nickname).tqarg(newTopic)); -+ m_topicHistory.prepend(TQString("%1 %2 %3").arg(TQDateTime::currentDateTime().toTime_t()).arg(nickname).arg(newTopic)); - TQString topic = Konversation::removeIrcMarkup(newTopic); - topicLine->setText(topic); - -@@ -1561,7 +1561,7 @@ void Channel::setTopicAuthor(const TQString& newAuthor, TQDateTime time) - - if(topicAuthorUnknown) - { -- m_topicHistory[0] = TQString("%1").tqarg(time.toTime_t()) + ' ' + newAuthor + ' ' + m_topicHistory[0].section(' ', 2); -+ m_topicHistory[0] = TQString("%1").arg(time.toTime_t()) + ' ' + newAuthor + ' ' + m_topicHistory[0].section(' ', 2); - topicAuthorUnknown = false; - - emit topicHistoryChanged(); -@@ -1599,14 +1599,14 @@ void Channel::updateMode(const TQString& sourceNick, char mode, bool plus, const - if(toMe) - message=i18n("You give channel owner privileges to yourself."); - else -- message=i18n("You give channel owner privileges to %1.").tqarg(parameter); -+ message=i18n("You give channel owner privileges to %1.").arg(parameter); - } - else - { - if(toMe) -- message=i18n("%1 gives channel owner privileges to you.").tqarg(sourceNick); -+ message=i18n("%1 gives channel owner privileges to you.").arg(sourceNick); - else -- message=i18n("%1 gives channel owner privileges to %2.").tqarg(sourceNick).tqarg(parameter); -+ message=i18n("%1 gives channel owner privileges to %2.").arg(sourceNick).arg(parameter); - } - } - else -@@ -1616,14 +1616,14 @@ void Channel::updateMode(const TQString& sourceNick, char mode, bool plus, const - if(toMe) - message=i18n("You take channel owner privileges from yourself."); - else -- message=i18n("You take channel owner privileges from %1.").tqarg(parameter); -+ message=i18n("You take channel owner privileges from %1.").arg(parameter); - } - else - { - if(toMe) -- message=i18n("%1 takes channel owner privileges from you.").tqarg(sourceNick); -+ message=i18n("%1 takes channel owner privileges from you.").arg(sourceNick); - else -- message=i18n("%1 takes channel owner privileges from %2.").tqarg(sourceNick).tqarg(parameter); -+ message=i18n("%1 takes channel owner privileges from %2.").arg(sourceNick).arg(parameter); - } - } - if(parameterChannelNick) -@@ -1642,14 +1642,14 @@ void Channel::updateMode(const TQString& sourceNick, char mode, bool plus, const - if(toMe) - message=i18n("You give channel admin privileges to yourself."); - else -- message=i18n("You give channel admin privileges to %1.").tqarg(parameter); -+ message=i18n("You give channel admin privileges to %1.").arg(parameter); - } - else - { - if(toMe) -- message=i18n("%1 gives channel admin privileges to you.").tqarg(sourceNick); -+ message=i18n("%1 gives channel admin privileges to you.").arg(sourceNick); - else -- message=i18n("%1 gives channel admin privileges to %2.").tqarg(sourceNick).tqarg(parameter); -+ message=i18n("%1 gives channel admin privileges to %2.").arg(sourceNick).arg(parameter); - } - } - else -@@ -1659,14 +1659,14 @@ void Channel::updateMode(const TQString& sourceNick, char mode, bool plus, const - if(toMe) - message=i18n("You take channel admin privileges from yourself."); - else -- message=i18n("You take channel admin privileges from %1.").tqarg(parameter); -+ message=i18n("You take channel admin privileges from %1.").arg(parameter); - } - else - { - if(toMe) -- message=i18n("%1 takes channel admin privileges from you.").tqarg(sourceNick); -+ message=i18n("%1 takes channel admin privileges from you.").arg(sourceNick); - else -- message=i18n("%1 takes channel admin privileges from %2.").tqarg(sourceNick).tqarg(parameter); -+ message=i18n("%1 takes channel admin privileges from %2.").arg(sourceNick).arg(parameter); - } - } - if(parameterChannelNick) -@@ -1685,14 +1685,14 @@ void Channel::updateMode(const TQString& sourceNick, char mode, bool plus, const - if(toMe) - message=i18n("You give channel operator privileges to yourself."); - else -- message=i18n("You give channel operator privileges to %1.").tqarg(parameter); -+ message=i18n("You give channel operator privileges to %1.").arg(parameter); - } - else - { - if(toMe) -- message=i18n("%1 gives channel operator privileges to you.").tqarg(sourceNick); -+ message=i18n("%1 gives channel operator privileges to you.").arg(sourceNick); - else -- message=i18n("%1 gives channel operator privileges to %2.").tqarg(sourceNick).tqarg(parameter); -+ message=i18n("%1 gives channel operator privileges to %2.").arg(sourceNick).arg(parameter); - } - } - else -@@ -1702,14 +1702,14 @@ void Channel::updateMode(const TQString& sourceNick, char mode, bool plus, const - if(toMe) - message=i18n("You take channel operator privileges from yourself."); - else -- message=i18n("You take channel operator privileges from %1.").tqarg(parameter); -+ message=i18n("You take channel operator privileges from %1.").arg(parameter); - } - else - { - if(toMe) -- message=i18n("%1 takes channel operator privileges from you.").tqarg(sourceNick); -+ message=i18n("%1 takes channel operator privileges from you.").arg(sourceNick); - else -- message=i18n("%1 takes channel operator privileges from %2.").tqarg(sourceNick).tqarg(parameter); -+ message=i18n("%1 takes channel operator privileges from %2.").arg(sourceNick).arg(parameter); - } - } - if(parameterChannelNick) -@@ -1728,14 +1728,14 @@ void Channel::updateMode(const TQString& sourceNick, char mode, bool plus, const - if(toMe) - message=i18n("You give channel halfop privileges to yourself."); - else -- message=i18n("You give channel halfop privileges to %1.").tqarg(parameter); -+ message=i18n("You give channel halfop privileges to %1.").arg(parameter); - } - else - { - if(toMe) -- message=i18n("%1 gives channel halfop privileges to you.").tqarg(sourceNick); -+ message=i18n("%1 gives channel halfop privileges to you.").arg(sourceNick); - else -- message=i18n("%1 gives channel halfop privileges to %2.").tqarg(sourceNick).tqarg(parameter); -+ message=i18n("%1 gives channel halfop privileges to %2.").arg(sourceNick).arg(parameter); - } - } - else -@@ -1745,14 +1745,14 @@ void Channel::updateMode(const TQString& sourceNick, char mode, bool plus, const - if(toMe) - message=i18n("You take channel halfop privileges from yourself."); - else -- message=i18n("You take channel halfop privileges from %1.").tqarg(parameter); -+ message=i18n("You take channel halfop privileges from %1.").arg(parameter); - } - else - { - if(toMe) -- message=i18n("%1 takes channel halfop privileges from you.").tqarg(sourceNick); -+ message=i18n("%1 takes channel halfop privileges from you.").arg(sourceNick); - else -- message=i18n("%1 takes channel halfop privileges from %2.").tqarg(sourceNick).tqarg(parameter); -+ message=i18n("%1 takes channel halfop privileges from %2.").arg(sourceNick).arg(parameter); - } - } - if(parameterChannelNick) -@@ -1771,12 +1771,12 @@ void Channel::updateMode(const TQString& sourceNick, char mode, bool plus, const - if(fromMe) - { - if(toMe) message=i18n("You give yourself permission to talk."); -- else message=i18n("You give %1 permission to talk.").tqarg(parameter); -+ else message=i18n("You give %1 permission to talk.").arg(parameter); - } - else - { -- if(toMe) message=i18n("%1 gives you permission to talk.").tqarg(sourceNick); -- else message=i18n("%1 gives %2 permission to talk.").tqarg(sourceNick).tqarg(parameter); -+ if(toMe) message=i18n("%1 gives you permission to talk.").arg(sourceNick); -+ else message=i18n("%1 gives %2 permission to talk.").arg(sourceNick).arg(parameter); - } - } - else -@@ -1784,12 +1784,12 @@ void Channel::updateMode(const TQString& sourceNick, char mode, bool plus, const - if(fromMe) - { - if(toMe) message=i18n("You take the permission to talk from yourself."); -- else message=i18n("You take the permission to talk from %1.").tqarg(parameter); -+ else message=i18n("You take the permission to talk from %1.").arg(parameter); - } - else - { -- if(toMe) message=i18n("%1 takes the permission to talk from you.").tqarg(sourceNick); -- else message=i18n("%1 takes the permission to talk from %2.").tqarg(sourceNick).tqarg(parameter); -+ if(toMe) message=i18n("%1 takes the permission to talk from you.").arg(sourceNick); -+ else message=i18n("%1 takes the permission to talk from %2.").arg(sourceNick).arg(parameter); - } - } - if(parameterChannelNick) -@@ -1803,12 +1803,12 @@ void Channel::updateMode(const TQString& sourceNick, char mode, bool plus, const - if(plus) - { - if(fromMe) message=i18n("You set the channel mode to 'no colors allowed'."); -- else message=i18n("%1 sets the channel mode to 'no colors allowed'.").tqarg(sourceNick); -+ else message=i18n("%1 sets the channel mode to 'no colors allowed'.").arg(sourceNick); - } - else - { - if(fromMe) message=i18n("You set the channel mode to 'allow color codes'."); -- else message=i18n("%1 sets the channel mode to 'allow color codes'.").tqarg(sourceNick); -+ else message=i18n("%1 sets the channel mode to 'allow color codes'.").arg(sourceNick); - } - break; - -@@ -1816,12 +1816,12 @@ void Channel::updateMode(const TQString& sourceNick, char mode, bool plus, const - if(plus) - { - if(fromMe) message=i18n("You set the channel mode to 'invite only'."); -- else message=i18n("%1 sets the channel mode to 'invite only'.").tqarg(sourceNick); -+ else message=i18n("%1 sets the channel mode to 'invite only'.").arg(sourceNick); - } - else - { - if(fromMe) message=i18n("You remove the 'invite only' mode from the channel."); -- else message=i18n("%1 removes the 'invite only' mode from the channel.").tqarg(sourceNick); -+ else message=i18n("%1 removes the 'invite only' mode from the channel.").arg(sourceNick); - } - modeI->setDown(plus); - break; -@@ -1830,12 +1830,12 @@ void Channel::updateMode(const TQString& sourceNick, char mode, bool plus, const - if(plus) - { - if(fromMe) message=i18n("You set the channel mode to 'moderated'."); -- else message=i18n("%1 sets the channel mode to 'moderated'.").tqarg(sourceNick); -+ else message=i18n("%1 sets the channel mode to 'moderated'.").arg(sourceNick); - } - else - { - if(fromMe) message=i18n("You set the channel mode to 'unmoderated'."); -- else message=i18n("%1 sets the channel mode to 'unmoderated'.").tqarg(sourceNick); -+ else message=i18n("%1 sets the channel mode to 'unmoderated'.").arg(sourceNick); - } - modeM->setDown(plus); - break; -@@ -1844,12 +1844,12 @@ void Channel::updateMode(const TQString& sourceNick, char mode, bool plus, const - if(plus) - { - if(fromMe) message=i18n("You set the channel mode to 'no messages from outside'."); -- else message=i18n("%1 sets the channel mode to 'no messages from outside'.").tqarg(sourceNick); -+ else message=i18n("%1 sets the channel mode to 'no messages from outside'.").arg(sourceNick); - } - else - { - if(fromMe) message=i18n("You set the channel mode to 'allow messages from outside'."); -- else message=i18n("%1 sets the channel mode to 'allow messages from outside'.").tqarg(sourceNick); -+ else message=i18n("%1 sets the channel mode to 'allow messages from outside'.").arg(sourceNick); - } - modeN->setDown(plus); - break; -@@ -1858,12 +1858,12 @@ void Channel::updateMode(const TQString& sourceNick, char mode, bool plus, const - if(plus) - { - if(fromMe) message=i18n("You set the channel mode to 'private'."); -- else message=i18n("%1 sets the channel mode to 'private'.").tqarg(sourceNick); -+ else message=i18n("%1 sets the channel mode to 'private'.").arg(sourceNick); - } - else - { - if(fromMe) message=i18n("You set the channel mode to 'public'."); -- else message=i18n("%1 sets the channel mode to 'public'.").tqarg(sourceNick); -+ else message=i18n("%1 sets the channel mode to 'public'.").arg(sourceNick); - } - modeP->setDown(plus); - if(plus) modeS->setDown(false); -@@ -1873,12 +1873,12 @@ void Channel::updateMode(const TQString& sourceNick, char mode, bool plus, const - if(plus) - { - if(fromMe) message=i18n("You set the channel mode to 'secret'."); -- else message=i18n("%1 sets the channel mode to 'secret'.").tqarg(sourceNick); -+ else message=i18n("%1 sets the channel mode to 'secret'.").arg(sourceNick); - } - else - { - if(fromMe) message=i18n("You set the channel mode to 'visible'."); -- else message=i18n("%1 sets the channel mode to 'visible'.").tqarg(sourceNick); -+ else message=i18n("%1 sets the channel mode to 'visible'.").arg(sourceNick); - } - modeS->setDown(plus); - if(plus) modeP->setDown(false); -@@ -1890,12 +1890,12 @@ void Channel::updateMode(const TQString& sourceNick, char mode, bool plus, const - if(plus) - { - if(fromMe) message=i18n("You switch on 'topic protection'."); -- else message=i18n("%1 switches on 'topic protection'.").tqarg(sourceNick); -+ else message=i18n("%1 switches on 'topic protection'.").arg(sourceNick); - } - else - { - if(fromMe) message=i18n("You switch off 'topic protection'."); -- else message=i18n("%1 switches off 'topic protection'.").tqarg(sourceNick); -+ else message=i18n("%1 switches off 'topic protection'.").arg(sourceNick); - } - modeT->setDown(plus); - break; -@@ -1903,13 +1903,13 @@ void Channel::updateMode(const TQString& sourceNick, char mode, bool plus, const - case 'k': - if(plus) - { -- if(fromMe) message=i18n("You set the channel key to '%1'.").tqarg(parameter); -- else message=i18n("%1 sets the channel key to '%2'.").tqarg(sourceNick).tqarg(parameter); -+ if(fromMe) message=i18n("You set the channel key to '%1'.").arg(parameter); -+ else message=i18n("%1 sets the channel key to '%2'.").arg(sourceNick).arg(parameter); - } - else - { - if(fromMe) message=i18n("You remove the channel key."); -- else message=i18n("%1 removes the channel key.").tqarg(sourceNick); -+ else message=i18n("%1 removes the channel key.").arg(sourceNick); - } - modeK->setDown(plus); - break; -@@ -1917,13 +1917,13 @@ void Channel::updateMode(const TQString& sourceNick, char mode, bool plus, const - case 'l': - if(plus) - { -- if(fromMe) message=i18n("You set the channel limit to %1 nicks.").tqarg(parameter); -- else message=i18n("%1 sets the channel limit to %2 nicks.").tqarg(sourceNick).tqarg(parameter); -+ if(fromMe) message=i18n("You set the channel limit to %1 nicks.").arg(parameter); -+ else message=i18n("%1 sets the channel limit to %2 nicks.").arg(sourceNick).arg(parameter); - } - else - { - if(fromMe) message=i18n("You remove the channel limit."); -- else message=i18n("%1 removes the channel limit.").tqarg(sourceNick); -+ else message=i18n("%1 removes the channel limit.").arg(sourceNick); - } - modeL->setDown(plus); - if(plus) limit->setText(parameter); -@@ -1933,51 +1933,51 @@ void Channel::updateMode(const TQString& sourceNick, char mode, bool plus, const - case 'b': - if(plus) - { -- if(fromMe) message=i18n("You set a ban on %1.").tqarg(parameter); -- else message=i18n("%1 sets a ban on %2.").tqarg(sourceNick).tqarg(parameter); -+ if(fromMe) message=i18n("You set a ban on %1.").arg(parameter); -+ else message=i18n("%1 sets a ban on %2.").arg(sourceNick).arg(parameter); - } - else - { -- if(fromMe) message=i18n("You remove the ban on %1.").tqarg(parameter); -- else message=i18n("%1 removes the ban on %2.").tqarg(sourceNick).tqarg(parameter); -+ if(fromMe) message=i18n("You remove the ban on %1.").arg(parameter); -+ else message=i18n("%1 removes the ban on %2.").arg(sourceNick).arg(parameter); - } - break; - - case 'e': - if(plus) - { -- if(fromMe) message=i18n("You set a ban exception on %1.").tqarg(parameter); -- else message=i18n("%1 sets a ban exception on %2.").tqarg(sourceNick).tqarg(parameter); -+ if(fromMe) message=i18n("You set a ban exception on %1.").arg(parameter); -+ else message=i18n("%1 sets a ban exception on %2.").arg(sourceNick).arg(parameter); - } - else - { -- if(fromMe) message=i18n("You remove the ban exception on %1.").tqarg(parameter); -- else message=i18n("%1 removes the ban exception on %2.").tqarg(sourceNick).tqarg(parameter); -+ if(fromMe) message=i18n("You remove the ban exception on %1.").arg(parameter); -+ else message=i18n("%1 removes the ban exception on %2.").arg(sourceNick).arg(parameter); - } - break; - - case 'I': - if(plus) - { -- if(fromMe) message=i18n("You set invitation mask %1.").tqarg(parameter); -- else message=i18n("%1 sets invitation mask %2.").tqarg(sourceNick).tqarg(parameter); -+ if(fromMe) message=i18n("You set invitation mask %1.").arg(parameter); -+ else message=i18n("%1 sets invitation mask %2.").arg(sourceNick).arg(parameter); - } - else - { -- if(fromMe) message=i18n("You remove the invitation mask %1.").tqarg(parameter); -- else message=i18n("%1 removes the invitation mask %2.").tqarg(sourceNick).tqarg(parameter); -+ if(fromMe) message=i18n("You remove the invitation mask %1.").arg(parameter); -+ else message=i18n("%1 removes the invitation mask %2.").arg(sourceNick).arg(parameter); - } - break; - default: - if(plus) - { -- if(fromMe) message=i18n("You set channel mode +%1").tqarg(mode); -- else message=i18n("%1 sets channel mode +%2").tqarg(sourceNick).tqarg(mode); -+ if(fromMe) message=i18n("You set channel mode +%1").arg(mode); -+ else message=i18n("%1 sets channel mode +%2").arg(sourceNick).arg(mode); - } - else - { -- if (fromMe) message=i18n("You set channel mode -%1").tqarg(mode); -- else message= i18n("%1 sets channel mode -%2").tqarg(sourceNick).tqarg(mode); -+ if (fromMe) message=i18n("You set channel mode -%1").arg(mode); -+ else message= i18n("%1 sets channel mode -%2").arg(sourceNick).arg(mode); - } - } - -@@ -2067,7 +2067,7 @@ void Channel::updateModeWidgets(char mode, bool plus, const TQString ¶meter) - } - else - { -- TQStringList removable = m_modeList.grep(TQRegExp(TQString("^%1.*").tqarg(mode))); -+ TQStringList removable = m_modeList.grep(TQRegExp(TQString("^%1.*").arg(mode))); - - for(TQStringList::iterator it = removable.begin(); it != removable.end(); ++it) - { -@@ -2393,12 +2393,12 @@ void Channel::refreshModeButtons() - TQString opOnly; - if(!enable) opOnly = i18n("You have to be an operator to change this."); - -- TQToolTip::add(modeT, i18n("Topic can be changed by channel operator only. %1").tqarg(opOnly)); -- TQToolTip::add(modeN, i18n("No messages to channel from clients on the outside. %1").tqarg(opOnly)); -- TQToolTip::add(modeS, i18n("Secret channel. %1").tqarg(opOnly)); -- TQToolTip::add(modeI, i18n("Invite only channel. %1").tqarg(opOnly)); -- TQToolTip::add(modeP, i18n("Private channel. %1").tqarg(opOnly)); -- TQToolTip::add(modeM, i18n("Moderated channel. %1").tqarg(opOnly)); -+ TQToolTip::add(modeT, i18n("Topic can be changed by channel operator only. %1").arg(opOnly)); -+ TQToolTip::add(modeN, i18n("No messages to channel from clients on the outside. %1").arg(opOnly)); -+ TQToolTip::add(modeS, i18n("Secret channel. %1").arg(opOnly)); -+ TQToolTip::add(modeI, i18n("Invite only channel. %1").arg(opOnly)); -+ TQToolTip::add(modeP, i18n("Private channel. %1").arg(opOnly)); -+ TQToolTip::add(modeM, i18n("Moderated channel. %1").arg(opOnly)); - TQToolTip::add(modeK, i18n("Protect channel with a password.")); - TQToolTip::add(modeL, i18n("Set user limit to channel.")); - -@@ -2538,7 +2538,7 @@ bool Channel::closeYourself(bool confirm) - { - int result=KMessageBox::Continue; - if (confirm) -- result = KMessageBox::warningContinueCancel(this, i18n("Do you want to leave %1?").tqarg(getName()), -+ result = KMessageBox::warningContinueCancel(this, i18n("Do you want to leave %1?").arg(getName()), - i18n("Leave Channel"), i18n("Leave"), "QuitChannelTab"); - - if (result==KMessageBox::Continue) -@@ -2668,7 +2668,7 @@ TQString Channel::getChannelEncoding() // virtual - - TQString Channel::getChannelEncodingDefaultDesc() // virtual - { -- return i18n("Identity Default ( %1 )").tqarg(getServer()->getIdentity()->getCodecName()); -+ return i18n("Identity Default ( %1 )").arg(getServer()->getIdentity()->getCodecName()); - } - - void Channel::showNicknameBox(bool show) -diff --git a/konversation/src/channellistpanel.cpp b/konversation/src/channellistpanel.cpp -index 79a9168..165a177 100644 ---- a/konversation/src/channellistpanel.cpp -+++ b/konversation/src/channellistpanel.cpp -@@ -222,8 +222,8 @@ void ChannelListPanel::saveList() - TQTextStream stream(&listFile); - - TQString header(i18n("Konversation Channel List: %1 - %2\n\n") -- .tqarg(m_server->getServerName()) -- .tqarg(TQDateTime::currentDateTime().toString())); -+ .arg(m_server->getServerName()) -+ .arg(TQDateTime::currentDateTime().toString())); - - // send header to stream - stream << header; -@@ -483,8 +483,8 @@ void ChannelListPanel::applyFilterClicked() - - void ChannelListPanel::updateUsersChannels() - { -- emit updateNumChannels(i18n("Channels: %1 (%2 shown)").tqarg(getNumChannels()).tqarg(getVisibleChannels())); -- emit updateNumUsers(i18n("Non-unique users: %1 (%2 shown)").tqarg(getNumUsers()).tqarg(getVisibleUsers())); -+ emit updateNumChannels(i18n("Channels: %1 (%2 shown)").arg(getNumChannels()).arg(getVisibleChannels())); -+ emit updateNumUsers(i18n("Non-unique users: %1 (%2 shown)").arg(getNumUsers()).arg(getVisibleUsers())); - } - - bool ChannelListPanel::closeYourself() -@@ -585,7 +585,7 @@ void ChannelListPanel::serverOnline(bool online) - void ChannelListPanel::emitUpdateInfo() - { - TQString info; -- info = i18n("Channel List for %1").tqarg(m_server->getDisplayName()); -+ info = i18n("Channel List for %1").arg(m_server->getDisplayName()); - emit updateInfo(info); - } - -diff --git a/konversation/src/channeloptionsdialog.cpp b/konversation/src/channeloptionsdialog.cpp -index 27e5f7f..7cb34cd 100644 ---- a/konversation/src/channeloptionsdialog.cpp -+++ b/konversation/src/channeloptionsdialog.cpp -@@ -35,7 +35,7 @@ namespace Konversation - { - - ChannelOptionsDialog::ChannelOptionsDialog(Channel *channel) -- : KDialogBase(channel, "channelOptions", false, i18n("Channel Settings for %1").tqarg(channel->getName()), Ok|Cancel, Ok) -+ : KDialogBase(channel, "channelOptions", false, i18n("Channel Settings for %1").arg(channel->getName()), Ok|Cancel, Ok) - { - Q_ASSERT(channel); - m_widget = new ChannelOptionsUI(this); -@@ -124,16 +124,16 @@ namespace Konversation - - if(tmp.isEmpty() && plus) - { -- m_channel->getServer()->queue(command.tqarg(m_channel->getName()).tqarg("+").tqarg(modeString[0]).tqarg(modeString.mid(1))); -+ m_channel->getServer()->queue(command.arg(m_channel->getName()).arg("+").arg(modeString[0]).arg(modeString.mid(1))); - } - else if(!tmp.isEmpty() && !plus) - { - //FIXME: Bahamuth requires the key parameter for -k, but ircd breaks on -l with limit number. - //Hence two versions of this. - if (modeString[0] == 'k') -- m_channel->getServer()->queue(command.tqarg(m_channel->getName()).tqarg("-").tqarg(modeString[0]).tqarg(modeString.mid(1))); -+ m_channel->getServer()->queue(command.arg(m_channel->getName()).arg("-").arg(modeString[0]).arg(modeString.mid(1))); - else -- m_channel->getServer()->queue(command.tqarg(m_channel->getName()).tqarg("-").tqarg(modeString[0]).tqarg("")); -+ m_channel->getServer()->queue(command.arg(m_channel->getName()).arg("-").arg(modeString[0]).arg("")); - } - } - hide(); -diff --git a/konversation/src/chatwindow.cpp b/konversation/src/chatwindow.cpp -index 9e37d92..ab7c6ad 100644 ---- a/konversation/src/chatwindow.cpp -+++ b/konversation/src/chatwindow.cpp -@@ -247,9 +247,9 @@ void ChatWindow::setLogfileName(const TQString& name) - TQStringList firstColumns; - TQStringList messages; - int offset = 0; -- unsigned int lastPacketHeadPosition = backlog.tqdevice()->size(); -+ unsigned int lastPacketHeadPosition = backlog.device()->size(); - const unsigned int packetSize = 4096; -- while(messages.count() < (unsigned int)Preferences::backlogLines() && backlog.tqdevice()->size() > packetSize * offset) -+ while(messages.count() < (unsigned int)Preferences::backlogLines() && backlog.device()->size() > packetSize * offset) - { - TQStringList firstColumnsInPacket; - TQStringList messagesInPacket; -@@ -257,30 +257,30 @@ void ChatWindow::setLogfileName(const TQString& name) - // packetSize * offset < size <= packetSize * ( offset + 1 ) - - // Check if the log is bigger than packetSize * ( offset + 1 ) -- if(backlog.tqdevice()->size() > packetSize * ( offset + 1 )) -+ if(backlog.device()->size() > packetSize * ( offset + 1 )) - { - // Set file pointer to the packet size above the offset -- backlog.tqdevice()->at(backlog.tqdevice()->size() - packetSize * ( offset + 1 )); -+ backlog.device()->at(backlog.device()->size() - packetSize * ( offset + 1 )); - // Skip first line, since it may be incomplete - backlog.readLine(); - } - else - { - // Set file pointer to the head -- backlog.tqdevice()->reset(); -+ backlog.device()->reset(); - } - -- unsigned int currentPacketHeadPosition = backlog.tqdevice()->at(); -+ unsigned int currentPacketHeadPosition = backlog.device()->at(); - - // Loop until end of file reached -- while(!backlog.atEnd() && backlog.tqdevice()->at() < lastPacketHeadPosition) -+ while(!backlog.atEnd() && backlog.device()->at() < lastPacketHeadPosition) - { - // remember actual file position to check for deadlocks -- filePosition = backlog.tqdevice()->at(); -+ filePosition = backlog.device()->at(); - backlogLine = backlog.readLine(); - - // check for deadlocks -- if(backlog.tqdevice()->at() == filePosition) backlog.tqdevice()->at(filePosition + 1); -+ if(backlog.device()->at() == filePosition) backlog.device()->at(filePosition + 1); - - // if a tab character is present in the line - if(backlogLine.find('\t') != -1) -@@ -343,14 +343,14 @@ void ChatWindow::logText(const TQString& text) - - if(firstLog) - { -- TQString intro(i18n("\n*** Logfile started\n*** on %1\n\n").tqarg(TQDateTime::currentDateTime().toString())); -+ TQString intro(i18n("\n*** Logfile started\n*** on %1\n\n").arg(TQDateTime::currentDateTime().toString())); - logStream << intro; - firstLog=false; - } - - TQTime time=TQTime::currentTime(); -- TQString logLine(TQString("[%1] [%2] %3\n").tqarg(TQDate::currentDate(Qt::LocalTime).toString()). -- tqarg(time.toString("hh:mm:ss")).tqarg(text)); -+ TQString logLine(TQString("[%1] [%2] %3\n").arg(TQDate::currentDate(Qt::LocalTime).toString()). -+ arg(time.toString("hh:mm:ss")).arg(text)); - - logStream << logLine; - -diff --git a/konversation/src/chatwindow.h b/konversation/src/chatwindow.h -index d77f5d1..840a815 100644 ---- a/konversation/src/chatwindow.h -+++ b/konversation/src/chatwindow.h -@@ -165,7 +165,7 @@ class ChatWindow : public TQVBox - - protected: - -- /** Some tqchildren may handle the name themselves, and not want this public. -+ /** Some children may handle the name themselves, and not want this public. - * Increase the visibility in the subclass if you want outsiders to call this. - * The name is the string that is shown in the tab. - * @param newName The name to show in the tab -diff --git a/konversation/src/common.cpp b/konversation/src/common.cpp -index eba7508..d3449fc 100644 ---- a/konversation/src/common.cpp -+++ b/konversation/src/common.cpp -@@ -78,7 +78,7 @@ namespace Konversation - pos += chanExp.cap(1).length(); - - // HACK:Use space as a placeholder for \ as TQt tries to be clever and does a replace to / in urls in TQTextEdit -- insertText = link.tqarg(TQString(href).replace('\\', " "), href); -+ insertText = link.arg(TQString(href).replace('\\', " "), href); - filteredLine.replace(pos, urlLen, insertText); - pos += insertText.length(); - } -@@ -151,7 +151,7 @@ namespace Konversation - - // Use \x0b as a placeholder for & so we can readd them after changing all & in the normal text to & - // HACK Replace % with \x03 in the url to keep TQt from doing stupid things -- insertText = link.tqarg(protocol, TQString(href).replace('&', "\x0b").replace('%', "\x03"), href) + append; -+ insertText = link.arg(protocol, TQString(href).replace('&', "\x0b").replace('%', "\x03"), href) + append; - filteredLine.replace(pos, urlLen, insertText); - pos += insertText.length(); - KonversationApplication::instance()->storeUrl(fromNick, href); -diff --git a/konversation/src/connectionmanager.cpp b/konversation/src/connectionmanager.cpp -index 763f191..294adec 100644 ---- a/konversation/src/connectionmanager.cpp -+++ b/konversation/src/connectionmanager.cpp -@@ -203,15 +203,15 @@ void ConnectionManager::handleReconnect(Server* server) - - server->getStatusView()->appendServerMessage(i18n("Info"), - i18n("Trying to connect to %1 in %2 seconds.") -- .tqarg(settings.server().host()) -- .tqarg(Preferences::reconnectDelay())); -+ .arg(settings.server().host()) -+ .arg(Preferences::reconnectDelay())); - } - else - { - server->getStatusView()->appendServerMessage(i18n("Info"), - i18n("Trying to reconnect to %1 in %2 seconds.") -- .tqarg(settings.server().host()) -- .tqarg(Preferences::reconnectDelay())); -+ .arg(settings.server().host()) -+ .arg(Preferences::reconnectDelay())); - } - - server->getConnectionSettings().incrementReconnectCount(); -@@ -437,8 +437,8 @@ bool ConnectionManager::reuseExistingConnection(ConnectionSettings& settings, bo - int result = KMessageBox::warningContinueCancel( - mainWindow, - i18n("You are already connected to %1. Do you want to open another connection?") -- .tqarg(dupe->getDisplayName()), -- i18n("Already connected to %1").tqarg(dupe->getDisplayName()), -+ .arg(dupe->getDisplayName()), -+ i18n("Already connected to %1").arg(dupe->getDisplayName()), - i18n("Create connection"), - "ReuseExistingConnection"); - -@@ -453,12 +453,12 @@ bool ConnectionManager::reuseExistingConnection(ConnectionSettings& settings, bo - int result = KMessageBox::warningContinueCancel( - mainWindow, - i18n("You are presently connected to %1 via '%2' (port %3). Do you want to switch to '%4' (port %5) instead?") -- .tqarg(dupe->getDisplayName()) -- .tqarg(dupe->getServerName()) -- .tqarg(dupe->getPort()) -- .tqarg(settings.server().host()) -- .tqarg(settings.server().port()), -- i18n("Already connected to %1").tqarg(dupe->getDisplayName()), -+ .arg(dupe->getDisplayName()) -+ .arg(dupe->getServerName()) -+ .arg(dupe->getPort()) -+ .arg(settings.server().host()) -+ .arg(settings.server().port()), -+ i18n("Already connected to %1").arg(dupe->getDisplayName()), - i18n("Switch Server"), - "ReconnectWithDifferentServer"); - -@@ -513,7 +513,7 @@ bool ConnectionManager::validateIdentity(IdentityPtr identity, bool interactive) - { - int result = KMessageBox::warningContinueCancel(mainWindow, - i18n("Your identity \"%1\" is not set up correctly:
%2
") -- .tqarg(identity->getName()).tqarg(errors), -+ .arg(identity->getName()).arg(errors), - i18n("Identity Settings"), - i18n("Edit Identity...")); - -diff --git a/konversation/src/dcc_preferencesui.ui b/konversation/src/dcc_preferencesui.ui -index ccff213..a1a4da2 100644 ---- a/konversation/src/dcc_preferencesui.ui -+++ b/konversation/src/dcc_preferencesui.ui -@@ -360,7 +360,7 @@ the Free Software Foundation; either version 2 of the License, or - - to - -- -+ - AlignCenter - - -@@ -427,7 +427,7 @@ the Free Software Foundation; either version 2 of the License, or - - to - -- -+ - AlignCenter - - -diff --git a/konversation/src/dccchat.cpp b/konversation/src/dccchat.cpp -index f40d1ae..15eb235 100644 ---- a/konversation/src/dccchat.cpp -+++ b/konversation/src/dccchat.cpp -@@ -134,7 +134,7 @@ void DccChat::listenForPartner() - m_listenSocket = DccCommon::createServerSocketAndListen( TQT_TQOBJECT(this), &failedReason ); - if ( !m_listenSocket ) - { -- getTextView()->appendServerMessage( i18n( "DCC" ), i18n( "Could not open a socket for listening: %1" ).tqarg( failedReason ) ); -+ getTextView()->appendServerMessage( i18n( "DCC" ), i18n( "Could not open a socket for listening: %1" ).arg( failedReason ) ); - return; - } - -@@ -144,8 +144,8 @@ void DccChat::listenForPartner() - m_ownPort = DccCommon::getServerSocketPort( m_listenSocket ); - kdDebug() << "DccChat::listenForPartner(): using port " << m_ownPort << endl; - -- getTextView()->appendServerMessage( i18n("DCC"), i18n("Offering DCC Chat connection to %1 on port %2...").tqarg( m_partnerNick ).tqarg( m_ownPort ) ); -- m_sourceLine->setText(i18n( "DCC chat with %1 on port %2." ).tqarg( m_partnerNick ).tqarg( m_ownPort ) ); -+ getTextView()->appendServerMessage( i18n("DCC"), i18n("Offering DCC Chat connection to %1 on port %2...").arg( m_partnerNick ).arg( m_ownPort ) ); -+ m_sourceLine->setText(i18n( "DCC chat with %1 on port %2." ).arg( m_partnerNick ).arg( m_ownPort ) ); - kdDebug() << "DccChat::listenForPartner() [END]" << endl; - } - -@@ -157,9 +157,9 @@ void DccChat::connectToPartner() - m_partnerHost=ip.toString(); - - getTextView()->appendServerMessage( i18n( "DCC" ), i18n( "%1 = nickname, %2 = IP, %3 = port", -- "Establishing DCC Chat connection to %1 (%2:%3)..." ).tqarg( m_partnerNick ).tqarg( m_partnerHost ).tqarg( m_partnerPort ) ); -+ "Establishing DCC Chat connection to %1 (%2:%3)..." ).arg( m_partnerNick ).arg( m_partnerHost ).arg( m_partnerPort ) ); - -- m_sourceLine->setText( i18n( "%1 = nickname, %2 = IP, %3 = port", "DCC chat with %1 on %2:%3." ).tqarg( m_partnerNick ).tqarg( host ).tqarg( m_partnerPort ) ); -+ m_sourceLine->setText( i18n( "%1 = nickname, %2 = IP, %3 = port", "DCC chat with %1 on %2:%3." ).arg( m_partnerNick ).arg( host ).arg( m_partnerPort ) ); - - m_dccSocket = new KNetwork::KStreamSocket( m_partnerHost, TQString::number( m_partnerPort ), TQT_TQOBJECT(this) ); - -@@ -179,7 +179,7 @@ void DccChat::connectToPartner() - m_dccSocket->connect(); - - #if 0 -- //getTextView()->appendServerMessage(i18n("DCC"),i18n("Looking for host %1...").tqarg(host)); -+ //getTextView()->appendServerMessage(i18n("DCC"),i18n("Looking for host %1...").arg(host)); - #endif - - } -@@ -195,14 +195,14 @@ void DccChat::lookupFinished() - - void DccChat::dccChatConnectionSuccess() - { -- getTextView()->appendServerMessage( i18n( "DCC" ), i18n( "Established DCC Chat connection to %1." ).tqarg( m_partnerNick ) ); -+ getTextView()->appendServerMessage( i18n( "DCC" ), i18n( "Established DCC Chat connection to %1." ).arg( m_partnerNick ) ); - m_dccSocket->enableRead(true); - m_dccChatInput->setEnabled(true); - } - - void DccChat::dccChatBroken(int error) - { -- getTextView()->appendServerMessage(i18n("Error"),i18n("Connection broken, error code %1.").tqarg(error)); -+ getTextView()->appendServerMessage(i18n("Error"),i18n("Connection broken, error code %1.").arg(error)); - m_dccSocket->enableRead(false); - m_dccSocket->blockSignals(true); - m_dccSocket->close(); -@@ -241,7 +241,7 @@ void DccChat::readData() - if( ctcpCommand.lower() == "action" ) - appendAction( m_partnerNick, ctcpArgument ); - else -- getTextView()->appendServerMessage( i18n( "CTCP" ), i18n( "Received unknown CTCP-%1 request from %2" ).tqarg( ctcp ).tqarg( m_partnerNick ) ); -+ getTextView()->appendServerMessage( i18n( "CTCP" ), i18n( "Received unknown CTCP-%1 request from %2" ).arg( ctcp ).arg( m_partnerNick ) ); - } - else getTextView()->append( m_partnerNick, *itLine ); - } // endfor -@@ -295,7 +295,7 @@ void DccChat::sendDccChatText(const TQString& sendLine) - if (cmd == cc+"me") - { - appendAction( m_ownNick, line.section( " ", 1 ) ); -- line=TQString("\x01%1 %2\x01").tqarg("ACTION").tqarg(line.section(" ",1)); -+ line=TQString("\x01%1 %2\x01").arg("ACTION").arg(line.section(" ",1)); - } - else if (cmd == cc+"close") - { -@@ -336,7 +336,7 @@ void DccChat::heardPartner() - m_dccSocket->enableRead(true); - m_dccChatInput->setEnabled(true); - -- getTextView()->appendServerMessage( i18n( "DCC" ), i18n( "Established DCC Chat connection to %1." ).tqarg( m_partnerNick ) ); -+ getTextView()->appendServerMessage( i18n( "DCC" ), i18n( "Established DCC Chat connection to %1." ).arg( m_partnerNick ) ); - } - - void DccChat::socketClosed() -@@ -410,7 +410,7 @@ TQString DccChat::getChannelEncoding() // virtual - - TQString DccChat::getChannelEncodingDefaultDesc() // virtual - { -- return i18n("Default ( %1 )").tqarg(Konversation::IRCCharsets::self()->encodingForLocale()); -+ return i18n("Default ( %1 )").arg(Konversation::IRCCharsets::self()->encodingForLocale()); - } - - void DccChat::showEvent(TQShowEvent* /* event */) -diff --git a/konversation/src/dcctransferdetailedinfopanel.cpp b/konversation/src/dcctransferdetailedinfopanel.cpp -index 6bd6961..8aec7d0 100644 ---- a/konversation/src/dcctransferdetailedinfopanel.cpp -+++ b/konversation/src/dcctransferdetailedinfopanel.cpp -@@ -98,17 +98,17 @@ void DccTransferDetailedInfoPanel::updateView() - else - partnerInfoServerName = i18n( "Unknown server" ); - TQString partnerInfo( i18n( "%1 on %2" ) -- .tqarg( transfer->getPartnerNick().isEmpty() ? "?" : transfer->getPartnerNick() ) -- .tqarg( partnerInfoServerName ) ); -+ .arg( transfer->getPartnerNick().isEmpty() ? "?" : transfer->getPartnerNick() ) -+ .arg( partnerInfoServerName ) ); - if ( !transfer->getPartnerIp().isEmpty() ) -- partnerInfo += i18n( ", %1 (port %2)" ).tqarg( transfer->getPartnerIp() ).tqarg( transfer->getPartnerPort() ); -+ partnerInfo += i18n( ", %1 (port %2)" ).arg( transfer->getPartnerIp() ).arg( transfer->getPartnerPort() ); - m_labelPartner->setText( partnerInfo ); - - // Self: - if ( transfer->getOwnIp().isEmpty() ) - m_labelSelf->setText( "" ); - else -- m_labelSelf->setText( i18n( "%1 (port %2)" ).tqarg( transfer->getOwnIp() ).tqarg( transfer->getOwnPort() ) ); -+ m_labelSelf->setText( i18n( "%1 (port %2)" ).arg( transfer->getOwnIp() ).arg( transfer->getOwnPort() ) ); - - // Status: - if ( transfer->getStatus() == DccTransfer::Transferring ) -@@ -133,7 +133,7 @@ void DccTransferDetailedInfoPanel::updateView() - - // Resumed: - if ( transfer->isResumed() ) -- m_labelIsResumed->setText( i18n( "Yes, %1" ).tqarg( KGlobal::locale()->formatNumber( transfer->getTransferStartPosition(), 0 ) ) ); -+ m_labelIsResumed->setText( i18n( "Yes, %1" ).arg( KGlobal::locale()->formatNumber( transfer->getTransferStartPosition(), 0 ) ) ); - else - m_labelIsResumed->setText( i18n( "No" ) ); - -diff --git a/konversation/src/dcctransferdetailedinfopanelui.ui b/konversation/src/dcctransferdetailedinfopanelui.ui -index b11b2e1..967b1ae 100644 ---- a/konversation/src/dcctransferdetailedinfopanelui.ui -+++ b/konversation/src/dcctransferdetailedinfopanelui.ui -@@ -194,7 +194,7 @@ - 0 -
-
-- -+ - AlignVCenter|AlignRight - - -@@ -224,7 +224,7 @@ - 0 -
-
-- -+ - AlignVCenter|AlignRight - - -@@ -246,7 +246,7 @@ - 0 -
-
-- -+ - AlignVCenter|AlignRight - - -@@ -284,7 +284,7 @@ - 0 -
-
-- -+ - AlignVCenter|AlignRight - - -@@ -322,7 +322,7 @@ - 0 -
-
-- -+ - AlignVCenter|AlignRight - - -@@ -370,7 +370,7 @@ - - m_labelTimeFinished - -- -+ - AlignVCenter|AlignRight - - -@@ -392,7 +392,7 @@ - 0 -
-
-- -+ - AlignVCenter|AlignRight - - -@@ -430,7 +430,7 @@ - 0 -
-
-- -+ - AlignVCenter|AlignRight - - -@@ -438,7 +438,7 @@ - - m_labelTimeOffered - -- -+ - AlignVCenter|AlignRight - - -@@ -454,7 +454,7 @@ - - m_labelTimeStarted - -- -+ - AlignVCenter|AlignRight - - -diff --git a/konversation/src/dcctransferpanelitem.cpp b/konversation/src/dcctransferpanelitem.cpp -index d2cb9ee..e0ebc49 100644 ---- a/konversation/src/dcctransferpanelitem.cpp -+++ b/konversation/src/dcctransferpanelitem.cpp -@@ -156,9 +156,9 @@ void DccTransferPanelItem::stopAutoViewUpdate() - } - } - --void DccTransferPanelItem::paintCell( TQPainter* painter, const TQColorGroup& colorgroup, int column, int width, int tqalignment ) // virtual public -+void DccTransferPanelItem::paintCell( TQPainter* painter, const TQColorGroup& colorgroup, int column, int width, int alignment ) // virtual public - { -- KListViewItem::paintCell( painter, colorgroup, column, width, tqalignment ); -+ KListViewItem::paintCell( painter, colorgroup, column, width, alignment ); - if ( column == DccTransferPanel::Column::Progress ) - showProgressBar(); - } -@@ -229,7 +229,7 @@ void DccTransferPanelItem::openFileInfoDialog() - #ifdef USE_INFOLIST - KMessageBox::informationList( - listView(), -- i18n("Available information for file %1:").tqarg(path), -+ i18n("Available information for file %1:").arg(path), - infoList, - i18n("File Information") - ); -@@ -372,9 +372,9 @@ TQString DccTransferPanelItem::getCurrentSpeedPrettyText() const - TQString DccTransferPanelItem::getSenderAddressPrettyText() const - { - if ( m_transfer->getType() == DccTransfer::Send ) -- return TQString( "%1:%2" ).tqarg( m_transfer->getOwnIp() ).tqarg( m_transfer->getOwnPort() ); -+ return TQString( "%1:%2" ).arg( m_transfer->getOwnIp() ).arg( m_transfer->getOwnPort() ); - else -- return TQString( "%1:%2" ).tqarg( m_transfer->getPartnerIp() ).tqarg( m_transfer->getPartnerPort() ); -+ return TQString( "%1:%2" ).arg( m_transfer->getPartnerIp() ).arg( m_transfer->getPartnerPort() ); - } - - TQString DccTransferPanelItem::getSpeedPrettyText( transferspeed_t speed ) -@@ -384,7 +384,7 @@ TQString DccTransferPanelItem::getSpeedPrettyText( transferspeed_t speed ) - else if ( speed == DccTransfer::NotInTransfer ) - return TQString(); - else -- return i18n("%1/sec").tqarg( KIO::convertSize( (KIO::fileoffset_t)speed ) ); -+ return i18n("%1/sec").arg( KIO::convertSize( (KIO::fileoffset_t)speed ) ); - } - - TQString DccTransferPanelItem::secToHMS( long sec ) -@@ -395,9 +395,9 @@ TQString DccTransferPanelItem::secToHMS( long sec ) - - // remHour can be more than 25, so we can't use TQTime here. - return TQString( "%1:%2:%3" ) -- .tqarg( TQString::number( remHour ).rightJustify( 2, '0', false ) ) -- .tqarg( TQString::number( remMin ).rightJustify( 2, '0' ) ) -- .tqarg( TQString::number( remSec ).rightJustify( 2, '0' ) ); -+ .arg( TQString::number( remHour ).rightJustify( 2, '0', false ) ) -+ .arg( TQString::number( remMin ).rightJustify( 2, '0' ) ) -+ .arg( TQString::number( remSec ).rightJustify( 2, '0' ) ); - } - - #include "dcctransferpanelitem.moc" -diff --git a/konversation/src/dcctransferpanelitem.h b/konversation/src/dcctransferpanelitem.h -index eef6305..5a50f61 100644 ---- a/konversation/src/dcctransferpanelitem.h -+++ b/konversation/src/dcctransferpanelitem.h -@@ -46,7 +46,7 @@ class DccTransferPanelItem : public TQObject, public KListViewItem - DccTransferPanelItem( DccTransferPanel* panel, DccTransfer* transfer ); - virtual ~DccTransferPanelItem(); - -- virtual void paintCell( TQPainter* painter, const TQColorGroup& colorgroup, int column, int width, int tqalignment ); -+ virtual void paintCell( TQPainter* painter, const TQColorGroup& colorgroup, int column, int width, int alignment ); - - virtual int compare( TQListViewItem* i, int col, bool ascending ) const; - -diff --git a/konversation/src/dcctransferrecv.cpp b/konversation/src/dcctransferrecv.cpp -index 9922bbb..9134a8d 100644 ---- a/konversation/src/dcctransferrecv.cpp -+++ b/konversation/src/dcctransferrecv.cpp -@@ -182,7 +182,7 @@ bool DccTransferRecv::queue() - // check if the sender IP is valid - if ( m_partnerIp == "0.0.0.0" ) - { -- failed( i18n( "Invalid sender address (%1)" ).tqarg( m_partnerIp ) ); -+ failed( i18n( "Invalid sender address (%1)" ).arg( m_partnerIp ) ); - return false; - } - -@@ -270,7 +270,7 @@ void DccTransferRecv::prepareLocalKio( bool overwrite, bool resume, KIO::fileoff - { - askAndPrepareLocalKio( i18n( "Cannot create the folder.
" - "Folder: %1
" ) -- .tqarg( m_fileURL.upURL().prettyURL() ), -+ .arg( m_fileURL.upURL().prettyURL() ), - DccResumeDialog::RA_Rename | DccResumeDialog::RA_Cancel, - DccResumeDialog::RA_Rename ); - return; -@@ -352,7 +352,7 @@ void DccTransferRecv::slotLocalCanResume( KIO::Job* job, KIO::filesize_t size ) - { - askAndPrepareLocalKio( i18n( "The file is used by another transfer.
" - "%1
" ) -- .tqarg( m_fileURL.prettyURL() ), -+ .arg( m_fileURL.prettyURL() ), - DccResumeDialog::RA_Rename | DccResumeDialog::RA_Cancel, - DccResumeDialog::RA_Rename ); - } -@@ -365,8 +365,8 @@ void DccTransferRecv::slotLocalCanResume( KIO::Job* job, KIO::filesize_t size ) - askAndPrepareLocalKio( i18n( "A partial file exists.
" - "%1
" - "Size of the partial file: %2 bytes
" ) -- .tqarg( m_fileURL.prettyURL() ) -- .tqarg( KGlobal::locale()->formatNumber( size, 0 ) ), -+ .arg( m_fileURL.prettyURL() ) -+ .arg( KGlobal::locale()->formatNumber( size, 0 ) ), - DccResumeDialog::RA_Resume | DccResumeDialog::RA_Overwrite | DccResumeDialog::RA_Rename | DccResumeDialog::RA_Cancel, - DccResumeDialog::RA_Resume, - size ); -@@ -392,7 +392,7 @@ void DccTransferRecv::slotLocalGotResult( KIO::Job* job ) - case KIO::ERR_FILE_ALREADY_EXIST: - askAndPrepareLocalKio( i18n( "The file already exists.
" - "%1
" ) -- .tqarg( m_fileURL.prettyURL() ), -+ .arg( m_fileURL.prettyURL() ), - DccResumeDialog::RA_Overwrite | DccResumeDialog::RA_Rename | DccResumeDialog::RA_Cancel, - DccResumeDialog::RA_Overwrite ); - break; -@@ -400,8 +400,8 @@ void DccTransferRecv::slotLocalGotResult( KIO::Job* job ) - askAndPrepareLocalKio( i18n( "Could not open the file.
" - "Error: %1

" - "%2
" ) -- .tqarg( transferJob->error() ) -- .tqarg( m_fileURL.prettyURL() ), -+ .arg( transferJob->error() ) -+ .arg( m_fileURL.prettyURL() ), - DccResumeDialog::RA_Rename | DccResumeDialog::RA_Cancel, - DccResumeDialog::RA_Rename ); - } -@@ -564,7 +564,7 @@ void DccTransferRecv::slotServerSocketReadyAccept() - - void DccTransferRecv::slotServerSocketGotError( int /* errorCode*/ ) - { -- failed( i18n( "Socket error: %1" ).tqarg( m_serverSocket->errorString() ) ); -+ failed( i18n( "Socket error: %1" ).arg( m_serverSocket->errorString() ) ); - } - - void DccTransferRecv::startReceiving() -@@ -591,7 +591,7 @@ void DccTransferRecv::startReceiving() - void DccTransferRecv::connectionFailed( int errorCode ) - { - kdDebug() << "DccTransferRecv::connectionFailed(): code = " << errorCode << ", string = " << m_recvSocket->KSocketBase::errorString() << endl; -- failed( i18n( "Connection failure: %1" ).tqarg( m_recvSocket->KSocketBase::errorString() ) ); -+ failed( i18n( "Connection failure: %1" ).arg( m_recvSocket->KSocketBase::errorString() ) ); - } - - void DccTransferRecv::readData() // slot -@@ -642,7 +642,7 @@ void DccTransferRecv::slotLocalWriteDone() // <-WriteCacheHandler::done() - void DccTransferRecv::slotLocalGotWriteError( const TQString& errorString ) - { - kdDebug() << "DccTransferRecv::slotLocalGotWriteError()" << endl; -- failed( i18n( "KIO error: %1" ).tqarg( errorString ) ); -+ failed( i18n( "KIO error: %1" ).arg( errorString ) ); - } - - void DccTransferRecv::startConnectionTimer( int sec ) -diff --git a/konversation/src/dcctransfersend.cpp b/konversation/src/dcctransfersend.cpp -index db0bad2..1ed371f 100644 ---- a/konversation/src/dcctransfersend.cpp -+++ b/konversation/src/dcctransfersend.cpp -@@ -170,7 +170,7 @@ bool DccTransferSend::queue() - //Check the file exists - if ( !KIO::NetAccess::exists( m_fileURL, true, NULL ) ) - { -- failed( i18n( "The url \"%1\" does not exist" ).tqarg( m_fileURL.prettyURL() ) ); -+ failed( i18n( "The url \"%1\" does not exist" ).arg( m_fileURL.prettyURL() ) ); - return false; - } - -@@ -178,7 +178,7 @@ bool DccTransferSend::queue() - //Download the file. Does nothing if it's local (file:/) - if ( !KIO::NetAccess::download( m_fileURL, m_tmpFile, NULL ) ) - { -- failed( i18n( "Could not retrieve \"%1\"" ).tqarg( m_fileURL.prettyURL() ) ); -+ failed( i18n( "Could not retrieve \"%1\"" ).arg( m_fileURL.prettyURL() ) ); - kdDebug() << "DccTransferSend::DccTransferSend(): KIO::NetAccess::download() failed. reason: " << KIO::NetAccess::lastErrorString() << endl; - return false; - } -@@ -187,7 +187,7 @@ bool DccTransferSend::queue() - if ( m_fileName.isEmpty() ) - { - bool pressedOk; -- m_fileName = KInputDialog::getText( i18n( "Enter Filename" ), i18n( "The file that you are sending to %1 does not have a filename.
Please enter a filename to be presented to the receiver, or cancel the dcc transfer
" ).tqarg( getPartnerNick() ), "unknown", &pressedOk, NULL ); -+ m_fileName = KInputDialog::getText( i18n( "Enter Filename" ), i18n( "The file that you are sending to %1 does not have a filename.
Please enter a filename to be presented to the receiver, or cancel the dcc transfer
" ).arg( getPartnerNick() ), "unknown", &pressedOk, NULL ); - - if ( !pressedOk ) - { -@@ -365,7 +365,7 @@ void DccTransferSend::startSending() - startTransferLogger(); // initialize CPS counter, ETA counter, etc... - } - else -- failed( i18n( "Could not open the file: %1" ).tqarg( getTQFileErrorString( m_file.status() ) ) ); -+ failed( i18n( "Could not open the file: %1" ).arg( getTQFileErrorString( m_file.status() ) ) ); - } - - void DccTransferSend::writeData() // slot -@@ -418,7 +418,7 @@ void DccTransferSend::getAck() // slot - void DccTransferSend::slotGotSocketError( int errorCode ) - { - kdDebug() << "DccTransferSend::slotGotSocketError(): code = " << errorCode << " string = " << m_serverSocket->errorString() << endl; -- failed( i18n( "Socket error: %1" ).tqarg( m_serverSocket->errorString() ) ); -+ failed( i18n( "Socket error: %1" ).arg( m_serverSocket->errorString() ) ); - } - - void DccTransferSend::startConnectionTimer( int sec ) -@@ -445,7 +445,7 @@ void DccTransferSend::slotConnectionTimeout() // slot - - void DccTransferSend::slotConnectionFailed( int /* errorCode */ ) - { -- failed( i18n( "Connection failure: %1" ).tqarg( m_sendSocket->KSocketBase::errorString() ) ); -+ failed( i18n( "Connection failure: %1" ).arg( m_sendSocket->KSocketBase::errorString() ) ); - } - - void DccTransferSend::slotServerSocketClosed() -@@ -472,16 +472,16 @@ TQString DccTransferSend::getTQFileErrorString( int code ) - errorString=i18n("The operation was successful. Should never happen in an error dialog."); - break; - case IO_ReadError: -- errorString=i18n("Could not read from file \"%1\".").tqarg( m_fileName ); -+ errorString=i18n("Could not read from file \"%1\".").arg( m_fileName ); - break; - case IO_WriteError: -- errorString=i18n("Could not write to file \"%1\".").tqarg( m_fileName ); -+ errorString=i18n("Could not write to file \"%1\".").arg( m_fileName ); - break; - case IO_FatalError: - errorString=i18n("A fatal unrecoverable error occurred."); - break; - case IO_OpenError: -- errorString=i18n("Could not open file \"%1\".").tqarg( m_fileName ); -+ errorString=i18n("Could not open file \"%1\".").arg( m_fileName ); - break; - - // Same case value? Damn! -@@ -499,7 +499,7 @@ TQString DccTransferSend::getTQFileErrorString( int code ) - errorString=i18n("An unspecified error happened on close."); - break; - default: -- errorString=i18n("Unknown error. Code %1").tqarg(code); -+ errorString=i18n("Unknown error. Code %1").arg(code); - break; - } - -diff --git a/konversation/src/emoticon.cpp b/konversation/src/emoticon.cpp -index c1fe023..96e967f 100644 ---- a/konversation/src/emoticon.cpp -+++ b/konversation/src/emoticon.cpp -@@ -159,7 +159,7 @@ namespace Konversation - - for(EmotIconMap::iterator it = self()->m_emotIconMap.begin(); it != self()->m_emotIconMap.end(); ++it) - { -- TQRegExp regExp(TQString("(^|\\s)%1($|\\s)").tqarg(it.data())); -+ TQRegExp regExp(TQString("(^|\\s)%1($|\\s)").arg(it.data())); - filteredTxt.replace(regExp, " \"" "); - } -diff --git a/konversation/src/highlight_preferences.cpp b/konversation/src/highlight_preferences.cpp -index 3b72fda..c59a545 100644 ---- a/konversation/src/highlight_preferences.cpp -+++ b/konversation/src/highlight_preferences.cpp -@@ -228,7 +228,7 @@ void Highlight_Config::highlightColorChanged(const TQColor& newColor) - if(!newItemSelected && item) - { - item->setColor(newColor); -- item->tqrepaint(); -+ item->repaint(); - emit modified(); - } - } -@@ -327,7 +327,7 @@ void Highlight_Config::saveSettings() - int i = 0; - for(Highlight* hl = hiList.first(); hl; hl = hiList.next()) - { -- config->setGroup(TQString("Highlight%1").tqarg(i)); -+ config->setGroup(TQString("Highlight%1").arg(i)); - config->writeEntry("Pattern", hl->getPattern()); - config->writeEntry("RegExp", hl->getRegExp()); - config->writeEntry("Color", hl->getColor()); -@@ -339,9 +339,9 @@ void Highlight_Config::saveSettings() - Preferences::setHighlightList(hiList); - - // Remove unused entries... -- while(config->hasGroup(TQString("Highlight%1").tqarg(i))) -+ while(config->hasGroup(TQString("Highlight%1").arg(i))) - { -- config->deleteGroup(TQString("Highlight%1").tqarg(i)); -+ config->deleteGroup(TQString("Highlight%1").arg(i)); - i++; - } - -diff --git a/konversation/src/highlightviewitem.cpp b/konversation/src/highlightviewitem.cpp -index 138ca2f..f6784a6 100644 ---- a/konversation/src/highlightviewitem.cpp -+++ b/konversation/src/highlightviewitem.cpp -@@ -35,12 +35,12 @@ HighlightViewItem::~HighlightViewItem() - { - } - --void HighlightViewItem::paintCell(TQPainter* p, const TQColorGroup &cg, int column, int width, int tqalignment) -+void HighlightViewItem::paintCell(TQPainter* p, const TQColorGroup &cg, int column, int width, int alignment) - { - // copy all colors from cg and only then change needed colors - itemColorGroup=cg; - itemColorGroup.setColor(TQColorGroup::Text, itemColor); -- TQCheckListItem::paintCell(p, itemColorGroup, column, width, tqalignment); -+ TQCheckListItem::paintCell(p, itemColorGroup, column, width, alignment); - } - - HighlightViewItem* HighlightViewItem::itemBelow() -diff --git a/konversation/src/highlightviewitem.h b/konversation/src/highlightviewitem.h -index 805f806..d2d15dc 100644 ---- a/konversation/src/highlightviewitem.h -+++ b/konversation/src/highlightviewitem.h -@@ -67,6 +67,6 @@ class HighlightViewItem : public TQCheckListItem - bool m_changed; // true if the checkbox has been changed - - void stateChange(bool newState); // reimplemented to store changed value -- void paintCell(TQPainter* p, const TQColorGroup &cg, int column, int width, int tqalignment); -+ void paintCell(TQPainter* p, const TQColorGroup &cg, int column, int width, int alignment); - }; - #endif -diff --git a/konversation/src/inputfilter.cpp b/konversation/src/inputfilter.cpp -index f2e78ec..e1fb804 100644 ---- a/konversation/src/inputfilter.cpp -+++ b/konversation/src/inputfilter.cpp -@@ -201,17 +201,17 @@ void InputFilter::parseClientCommand(const TQString &prefix, const TQString &com - { - server->appendMessageToFrontmost(i18n("CTCP"), - i18n("Received CTCP-PING request from %1 to channel %2, sending answer.") -- .tqarg(sourceNick).tqarg(parameterList[0]) -+ .arg(sourceNick).arg(parameterList[0]) - ); - } - else - { - server->appendMessageToFrontmost(i18n("CTCP"), - i18n("Received CTCP-%1 request from %2, sending answer.") -- .tqarg("PING").tqarg(sourceNick) -+ .arg("PING").arg(sourceNick) - ); - } -- server->ctcpReply(sourceNick,TQString("PING %1").tqarg(ctcpArgument)); -+ server->ctcpReply(sourceNick,TQString("PING %1").arg(ctcpArgument)); - } - } - -@@ -224,14 +224,14 @@ void InputFilter::parseClientCommand(const TQString &prefix, const TQString &com - { - server->appendMessageToFrontmost(i18n("CTCP"), - i18n("Received Version request from %1 to channel %2.") -- .tqarg(sourceNick).tqarg(parameterList[0]) -+ .arg(sourceNick).arg(parameterList[0]) - ); - } - else - { - server->appendMessageToFrontmost(i18n("CTCP"), - i18n("Received Version request from %1.") -- .tqarg(sourceNick) -+ .arg(sourceNick) - ); - } - -@@ -244,7 +244,7 @@ void InputFilter::parseClientCommand(const TQString &prefix, const TQString &com - { - // Do not internationalize the below version string - reply = TQString("Konversation %1 (C) 2002-2008 by the Konversation team") -- .tqarg(TQString(KONVI_VERSION)); -+ .arg(TQString(KONVI_VERSION)); - } - server->ctcpReply(sourceNick,"VERSION "+reply); - } -@@ -298,7 +298,7 @@ void InputFilter::parseClientCommand(const TQString &prefix, const TQString &com - { - server->appendMessageToFrontmost(i18n("DCC"), - i18n("Received invalid DCC SEND request from %1.") -- .tqarg(sourceNick) -+ .arg(sourceNick) - ); - } - } -@@ -313,7 +313,7 @@ void InputFilter::parseClientCommand(const TQString &prefix, const TQString &com - { - server->appendMessageToFrontmost(i18n("DCC"), - i18n("Received invalid DCC ACCEPT request from %1.") -- .tqarg(sourceNick) -+ .arg(sourceNick) - ); - } - } -@@ -328,7 +328,7 @@ void InputFilter::parseClientCommand(const TQString &prefix, const TQString &com - { - server->appendMessageToFrontmost(i18n("DCC"), - i18n("Received invalid DCC RESUME request from %1.") -- .tqarg(sourceNick) -+ .arg(sourceNick) - ); - } - } -@@ -344,7 +344,7 @@ void InputFilter::parseClientCommand(const TQString &prefix, const TQString &com - { - server->appendMessageToFrontmost(i18n("DCC"), - i18n("Received invalid DCC CHAT request from %1.") -- .tqarg(sourceNick) -+ .arg(sourceNick) - ); - } - } -@@ -352,7 +352,7 @@ void InputFilter::parseClientCommand(const TQString &prefix, const TQString &com - { - server->appendMessageToFrontmost(i18n("DCC"), - i18n("Unknown DCC command %1 received from %2.") -- .tqarg(ctcpArgument).tqarg(sourceNick) -+ .arg(ctcpArgument).arg(sourceNick) - ); - } - } -@@ -361,7 +361,7 @@ void InputFilter::parseClientCommand(const TQString &prefix, const TQString &com - { - server->appendMessageToFrontmost(i18n("CTCP"), - i18n("Received CTCP-%1 request from %2, sending answer.") -- .tqarg("CLIENTINFO").tqarg(sourceNick) -+ .arg("CLIENTINFO").arg(sourceNick) - ); - server->ctcpReply(sourceNick,TQString("CLIENTINFO ACTION CLIENTINFO DCC PING TIME VERSION")); - } -@@ -369,7 +369,7 @@ void InputFilter::parseClientCommand(const TQString &prefix, const TQString &com - { - server->appendMessageToFrontmost(i18n("CTCP"), - i18n("Received CTCP-%1 request from %2, sending answer.") -- .tqarg("TIME").tqarg(sourceNick) -+ .arg("TIME").arg(sourceNick) - ); - server->ctcpReply(sourceNick,TQString("TIME ")+TQDateTime::currentDateTime().toString()); - } -@@ -384,12 +384,12 @@ void InputFilter::parseClientCommand(const TQString &prefix, const TQString &com - parameterList[0], - "CTCP", - i18n("Received unknown CTCP-%1 request from %2 to Channel %3.") -- .tqarg(ctcp).tqarg(sourceNick).tqarg(parameterList[0]) -+ .arg(ctcp).arg(sourceNick).arg(parameterList[0]) - ); - else - server->appendMessageToFrontmost(i18n("CTCP"), - i18n("Received unknown CTCP-%1 request from %2.") -- .tqarg(ctcp).tqarg(sourceNick) -+ .arg(ctcp).arg(sourceNick) - ); - } - } -@@ -414,7 +414,7 @@ void InputFilter::parseClientCommand(const TQString &prefix, const TQString &com - - server->appendServerMessageToChannel(parameterList[0], i18n("Notice"), - i18n("-%1 to %2- %3") -- .tqarg(sourceNick).tqarg(parameterList[0]).tqarg(trailing) -+ .arg(sourceNick).arg(parameterList[0]).arg(trailing) - ); - } - // Private notice -@@ -441,9 +441,9 @@ void InputFilter::parseClientCommand(const TQString &prefix, const TQString &com - - server->appendMessageToFrontmost(i18n("CTCP"), - i18n("Received CTCP-PING reply from %1: %2 %3.") -- .tqarg(sourceNick) -- .tqarg(time) -- .tqarg(unit) -+ .arg(sourceNick) -+ .arg(time) -+ .arg(unit) - ); - } - // all other ctcp replies get a general message -@@ -451,7 +451,7 @@ void InputFilter::parseClientCommand(const TQString &prefix, const TQString &com - { - server->appendMessageToFrontmost(i18n("CTCP"), - i18n("Received CTCP-%1 reply from %2: %3.") -- .tqarg(replyReason).tqarg(sourceNick).tqarg(reply) -+ .arg(replyReason).arg(sourceNick).arg(reply) - ); - } - } -@@ -474,7 +474,7 @@ void InputFilter::parseClientCommand(const TQString &prefix, const TQString &com - if(nickInfo) - nickInfo->setIdentified(true); - } -- server->appendMessageToFrontmost(i18n("Notice"), i18n("-%1- %2").tqarg(sourceNick).tqarg(trailing)); -+ server->appendMessageToFrontmost(i18n("Notice"), i18n("-%1- %2").arg(sourceNick).arg(trailing)); - } - } - } -@@ -608,7 +608,7 @@ void InputFilter::parseClientCommand(const TQString &prefix, const TQString &com - - server->appendMessageToFrontmost(i18n("Invite"), - i18n("%1 invited you to channel %2.") -- .tqarg(sourceNick).tqarg(channel) -+ .arg(sourceNick).arg(channel) - ); - emit invitation(sourceNick,channel); - } -@@ -668,7 +668,7 @@ void InputFilter::parseServerCommand(const TQString &prefix, const TQString &com - } - else if(command=="notice") - { -- server->appendStatusMessage(i18n("Notice"),i18n("-%1- %2").tqarg(prefix).tqarg(trailing)); -+ server->appendStatusMessage(i18n("Notice"),i18n("-%1- %2").arg(prefix).arg(trailing)); - } - else if(command=="kick") - { -@@ -714,10 +714,10 @@ void InputFilter::parseServerCommand(const TQString &prefix, const TQString &com - { - server->appendStatusMessage(i18n("Welcome"), - i18n("Server %1 (Version %2), User modes: %3, Channel modes: %4") -- .tqarg(parameterList[1]) -- .tqarg(parameterList[2]) -- .tqarg(parameterList[3]) -- .tqarg(parameterList[4]) -+ .arg(parameterList[1]) -+ .arg(parameterList[2]) -+ .arg(parameterList[3]) -+ .arg(parameterList[4]) - ); - server->setAllowedChannelModes(parameterList[4]); - break; -@@ -781,7 +781,7 @@ void InputFilter::parseServerCommand(const TQString &prefix, const TQString &com - } - case RPL_UMODEIS: - { -- TQString message=TQString("%1 %2").tqarg(i18n("Your personal modes are:")).tqarg(parameterList.join(" ").section(' ',1) + ' '+trailing); -+ TQString message=TQString("%1 %2").arg(i18n("Your personal modes are:")).arg(parameterList.join(" ").section(' ',1) + ' '+trailing); - server->appendMessageToFrontmost("Info", message); - break; - } -@@ -853,7 +853,7 @@ void InputFilter::parseServerCommand(const TQString &prefix, const TQString &com - case RPL_CHANNELURLIS: - {// :niven.freenode.net 328 argonel #channel :http://www.buggeroff.com/ - server->appendCommandMessageToChannel(parameterList[1], i18n("URL"), -- i18n("Channel URL: %1").tqarg(trailing)); -+ i18n("Channel URL: %1").arg(trailing)); - break; - } - case RPL_CHANNELCREATED: -@@ -862,7 +862,7 @@ void InputFilter::parseServerCommand(const TQString &prefix, const TQString &com - when.setTime_t(parameterList[2].toUInt()); - server->appendCommandMessageToChannel(parameterList[1],i18n("Created"), - i18n("This channel was created on %1.") -- .tqarg(when.toString(Qt::LocalDate)) -+ .arg(when.toString(Qt::LocalDate)) - ); - - if(Preferences::autoWhoContinuousEnabled()) -@@ -877,7 +877,7 @@ void InputFilter::parseServerCommand(const TQString &prefix, const TQString &com - // Display message only if this was not an automatic request. - if(getAutomaticRequest("WHOIS",parameterList[1])==0) - { -- server->appendMessageToFrontmost(i18n("Whois"),i18n("%1 is logged in as %2.").tqarg(parameterList[1]).tqarg(parameterList[2])); -+ server->appendMessageToFrontmost(i18n("Whois"),i18n("%1 is logged in as %2.").arg(parameterList[1]).arg(parameterList[2])); - } - break; - } -@@ -927,7 +927,7 @@ void InputFilter::parseServerCommand(const TQString &prefix, const TQString &com - // Topic set messages - case RPL_NOTOPIC: - { -- server->appendMessageToFrontmost(i18n("TOPIC"),i18n("The channel %1 has no topic set.").tqarg(parameterList[1]) /*.tqarg(parameterList[2])*/); //FIXME ok, whats the second parameter supposed to be? -+ server->appendMessageToFrontmost(i18n("TOPIC"),i18n("The channel %1 has no topic set.").arg(parameterList[1]) /*.arg(parameterList[2])*/); //FIXME ok, whats the second parameter supposed to be? - - break; - } -@@ -946,7 +946,7 @@ void InputFilter::parseServerCommand(const TQString &prefix, const TQString &com - } - else - { -- server->appendMessageToFrontmost(i18n("Topic"),i18n("The channel topic for %1 is: \"%2\"").tqarg(parameterList[1]).tqarg(topic)); -+ server->appendMessageToFrontmost(i18n("Topic"),i18n("The channel topic for %1 is: \"%2\"").arg(parameterList[1]).arg(topic)); - } - - break; -@@ -962,15 +962,15 @@ void InputFilter::parseServerCommand(const TQString &prefix, const TQString &com - { - server->appendCommandMessageToChannel(parameterList[1],i18n("Topic"), - i18n("The topic was set by %1 on %2.") -- .tqarg(parameterList[2]).tqarg(when.toString(Qt::LocalDate)), -+ .arg(parameterList[2]).arg(when.toString(Qt::LocalDate)), - false); - } - else - { - server->appendMessageToFrontmost(i18n("Topic"),i18n("The topic for %1 was set by %2 on %3.") -- .tqarg(parameterList[1]) -- .tqarg(parameterList[2]) -- .tqarg(when.toString(Qt::LocalDate)) -+ .arg(parameterList[1]) -+ .arg(parameterList[2]) -+ .arg(when.toString(Qt::LocalDate)) - ); - setAutomaticRequest("TOPIC",parameterList[1],false); - } -@@ -983,7 +983,7 @@ void InputFilter::parseServerCommand(const TQString &prefix, const TQString &com - // Display message only if this was not an automatic request. - if(getAutomaticRequest("WHOIS",parameterList[1])==0) - { -- server->appendMessageToFrontmost(i18n("Whois"),i18n("%1 is actually using the host %2.").tqarg(parameterList[1]).tqarg(parameterList[2])); -+ server->appendMessageToFrontmost(i18n("Whois"),i18n("%1 is actually using the host %2.").arg(parameterList[1]).arg(parameterList[2])); - } - break; - } -@@ -993,11 +993,11 @@ void InputFilter::parseServerCommand(const TQString &prefix, const TQString &com - // IP resolve purposes, and clear it from the automaticRequest list - if(getAutomaticRequest("DNS",parameterList[1])==0) - { -- server->appendMessageToFrontmost(i18n("Error"),i18n("%1: No such nick/channel.").tqarg(parameterList[1])); -+ server->appendMessageToFrontmost(i18n("Error"),i18n("%1: No such nick/channel.").arg(parameterList[1])); - } - else if(getAutomaticRequest("WHOIS",parameterList[1])==0) //Display message only if this was not an automatic request. - { -- server->appendMessageToFrontmost(i18n("Error"),i18n("No such nick: %1.").tqarg(parameterList[1])); -+ server->appendMessageToFrontmost(i18n("Error"),i18n("No such nick: %1.").arg(parameterList[1])); - setAutomaticRequest("DNS", parameterList[1], false); - } - -@@ -1008,7 +1008,7 @@ void InputFilter::parseServerCommand(const TQString &prefix, const TQString &com - // Display message only if this was not an automatic request. - if(getAutomaticRequest("WHOIS",parameterList[1])==0) - { -- server->appendMessageToFrontmost(i18n("Error"),i18n("%1: No such channel.").tqarg(parameterList[1])); -+ server->appendMessageToFrontmost(i18n("Error"),i18n("%1: No such channel.").arg(parameterList[1])); - } - break; - } -@@ -1036,7 +1036,7 @@ void InputFilter::parseServerCommand(const TQString &prefix, const TQString &com - server->obtainNickInfo(server->getNickname()) ; - server->renameNick(server->getNickname(), newNick); - // Show message -- server->appendMessageToFrontmost(i18n("Nick"), i18n("Nickname already in use. Trying %1.").tqarg(newNick)); -+ server->appendMessageToFrontmost(i18n("Nick"), i18n("Nickname already in use. Trying %1.").arg(newNick)); - // Send nickchange request to the server - server->queue("NICK "+newNick); - } -@@ -1062,7 +1062,7 @@ void InputFilter::parseServerCommand(const TQString &prefix, const TQString &com - { - server->obtainNickInfo(server->getNickname()) ; - server->renameNick(server->getNickname(), newNick); -- server->appendMessageToFrontmost(i18n("Nick"), i18n("Erroneus nickname. Changing nick to %1." ).tqarg(newNick)) ; -+ server->appendMessageToFrontmost(i18n("Nick"), i18n("Erroneus nickname. Changing nick to %1." ).arg(newNick)) ; - server->queue("NICK "+newNick); - } - } -@@ -1070,7 +1070,7 @@ void InputFilter::parseServerCommand(const TQString &prefix, const TQString &com - } - case ERR_NOTONCHANNEL: - { -- server->appendMessageToFrontmost(i18n("Error"),i18n("You are not on %1.").tqarg(parameterList[1])); -+ server->appendMessageToFrontmost(i18n("Error"),i18n("You are not on %1.").arg(parameterList[1])); - - break; - } -@@ -1115,14 +1115,14 @@ void InputFilter::parseServerCommand(const TQString &prefix, const TQString &com - { - TQString current(trailing.section(' ',3)); - //TQString max(trailing.section(' ',5,5)); -- server->appendStatusMessage(i18n("Users"),i18n("Current users on the network: %1").tqarg(current)); -+ server->appendStatusMessage(i18n("Users"),i18n("Current users on the network: %1").arg(current)); - break; - } - case RPL_LOCALUSERS: // Current local users: 589 Max: 845 - { - TQString current(trailing.section(' ',3)); - //TQString max(trailing.section(' ',5,5)); -- server->appendStatusMessage(i18n("Users"),i18n("Current users on %1: %2.").tqarg(prefix).tqarg(current)); -+ server->appendStatusMessage(i18n("Users"),i18n("Current users on %1: %2.").arg(prefix).arg(current)); - break; - } - case RPL_ISON: -@@ -1145,7 +1145,7 @@ void InputFilter::parseServerCommand(const TQString &prefix, const TQString &com - if(getAutomaticRequest("WHOIS",parameterList[1])==0) - { - server->appendMessageToFrontmost(i18n("Away"),i18n("%1 is away: %2") -- .tqarg(parameterList[1]).tqarg(trailing) -+ .arg(parameterList[1]).arg(trailing) - ); - } - -@@ -1155,7 +1155,7 @@ void InputFilter::parseServerCommand(const TQString &prefix, const TQString &com - { - server->appendMessageToFrontmost(i18n("Invite"), - i18n("You invited %1 to channel %2.") -- .tqarg(parameterList[1]).tqarg(parameterList[2]) -+ .arg(parameterList[1]).arg(parameterList[2]) - ); - break; - } -@@ -1173,7 +1173,7 @@ void InputFilter::parseServerCommand(const TQString &prefix, const TQString &com - NickInfo* nickInfo = server->getNickInfo(parameterList[1]); - if(nickInfo) - { -- nickInfo->setHostmask(i18n("%1@%2").tqarg(parameterList[2]).tqarg(parameterList[3])); -+ nickInfo->setHostmask(i18n("%1@%2").arg(parameterList[2]).arg(parameterList[3])); - nickInfo->setRealName(trailing); - } - // Display message only if this was not an automatic request. -@@ -1184,10 +1184,10 @@ void InputFilter::parseServerCommand(const TQString &prefix, const TQString &com - escapedRealName.replace("<","<").replace(">",">"); - server->appendMessageToFrontmost(i18n("Whois"), - i18n("%1 is %2@%3 (%4)") -- .tqarg(parameterList[1]) -- .tqarg(parameterList[2]) -- .tqarg(parameterList[3]) -- .tqarg(escapedRealName), false); // Don't parse any urls -+ .arg(parameterList[1]) -+ .arg(parameterList[2]) -+ .arg(parameterList[3]) -+ .arg(escapedRealName), false); // Don't parse any urls - } - else - { -@@ -1200,17 +1200,17 @@ void InputFilter::parseServerCommand(const TQString &prefix, const TQString &com - TQString ip = resolved.first().address().nodeName(); - server->appendMessageToFrontmost(i18n("DNS"), - i18n("Resolved %1 (%2) to address: %3") -- .tqarg(parameterList[1]) -- .tqarg(parameterList[3]) -- .tqarg(ip) -+ .arg(parameterList[1]) -+ .arg(parameterList[3]) -+ .arg(ip) - ); - } - else - { - server->appendMessageToFrontmost(i18n("Error"), - i18n("Unable to resolve address for %1 (%2)") -- .tqarg(parameterList[1]) -- .tqarg(parameterList[3]) -+ .arg(parameterList[1]) -+ .arg(parameterList[3]) - ); - } - -@@ -1235,7 +1235,7 @@ void InputFilter::parseServerCommand(const TQString &prefix, const TQString &com - // Prints "psn is an identified user" - //server->appendStatusMessage(i18n("Whois"),parameterList.join(" ").section(' ',1)+' '+trailing); - // The above line works fine, but can't be i18n'ised. So use the below instead.. I hope this is okay. -- server->appendMessageToFrontmost(i18n("Whois"), i18n("%1 is an identified user.").tqarg(parameterList[1])); -+ server->appendMessageToFrontmost(i18n("Whois"), i18n("%1 is an identified user.").arg(parameterList[1])); - } - break; - } -@@ -1250,7 +1250,7 @@ void InputFilter::parseServerCommand(const TQString &prefix, const TQString &com - bool bAway = parameterList[6].upper().startsWith("G"); - if(nickInfo) - { -- nickInfo->setHostmask(i18n("%1@%2").tqarg(parameterList[2]).tqarg(parameterList[3])); -+ nickInfo->setHostmask(i18n("%1@%2").arg(parameterList[2]).arg(parameterList[3])); - //Strip off the "0 " - nickInfo->setRealName(trailing.section(" ", 1)); - nickInfo->setAway(bAway); -@@ -1265,11 +1265,11 @@ void InputFilter::parseServerCommand(const TQString &prefix, const TQString &com - if(getAutomaticRequest("WHO",whoRequestList.front())==0) - { - server->appendMessageToFrontmost(i18n("Who"), -- i18n("%1 is %2@%3 (%4)%5").tqarg(parameterList[5]) -- .tqarg(parameterList[2]) -- .tqarg(parameterList[3]) -- .tqarg(trailing.section(" ", 1)) -- .tqarg(bAway?i18n(" (Away)"):TQString()) -+ i18n("%1 is %2@%3 (%4)%5").arg(parameterList[5]) -+ .arg(parameterList[2]) -+ .arg(parameterList[3]) -+ .arg(trailing.section(" ", 1)) -+ .arg(bAway?i18n(" (Away)"):TQString()) - , false); // Don't parse as url - } - } -@@ -1287,7 +1287,7 @@ void InputFilter::parseServerCommand(const TQString &prefix, const TQString &com - { - server->appendMessageToFrontmost(i18n("Who"), - i18n("End of /WHO list for %1") -- .tqarg(parameterList[1])); -+ .arg(parameterList[1])); - } - else - { -@@ -1372,43 +1372,43 @@ void InputFilter::parseServerCommand(const TQString &prefix, const TQString &com - { - server->appendMessageToFrontmost(i18n("Whois"), - i18n("%1 is a user on channels: %2") -- .tqarg(parameterList[1]) -- .tqarg(userChannels.join(" ")) -+ .arg(parameterList[1]) -+ .arg(userChannels.join(" ")) - ); - } - if(voiceChannels.count()) - { - server->appendMessageToFrontmost(i18n("Whois"), - i18n("%1 has voice on channels: %2") -- .tqarg(parameterList[1]).tqarg(voiceChannels.join(" ")) -+ .arg(parameterList[1]).arg(voiceChannels.join(" ")) - ); - } - if(halfopChannels.count()) - { - server->appendMessageToFrontmost(i18n("Whois"), - i18n("%1 is a halfop on channels: %2") -- .tqarg(parameterList[1]).tqarg(halfopChannels.join(" ")) -+ .arg(parameterList[1]).arg(halfopChannels.join(" ")) - ); - } - if(opChannels.count()) - { - server->appendMessageToFrontmost(i18n("Whois"), - i18n("%1 is an operator on channels: %2") -- .tqarg(parameterList[1]).tqarg(opChannels.join(" ")) -+ .arg(parameterList[1]).arg(opChannels.join(" ")) - ); - } - if(ownerChannels.count()) - { - server->appendMessageToFrontmost(i18n("Whois"), - i18n("%1 is owner of channels: %2") -- .tqarg(parameterList[1]).tqarg(ownerChannels.join(" ")) -+ .arg(parameterList[1]).arg(ownerChannels.join(" ")) - ); - } - if(adminChannels.count()) - { - server->appendMessageToFrontmost(i18n("Whois"), - i18n("%1 is admin on channels: %2") -- .tqarg(parameterList[1]).tqarg(adminChannels.join(" ")) -+ .arg(parameterList[1]).arg(adminChannels.join(" ")) - ); - } - } -@@ -1430,8 +1430,8 @@ void InputFilter::parseServerCommand(const TQString &prefix, const TQString &com - if(getAutomaticRequest("WHOIS",parameterList[1])==0) - { - server->appendMessageToFrontmost(i18n("Whois"), -- i18n("%1 is online via %2 (%3).").tqarg(parameterList[1]) -- .tqarg(parameterList[2]).tqarg(trailing) -+ i18n("%1 is online via %2 (%3).").arg(parameterList[1]) -+ .arg(parameterList[2]).arg(trailing) - ); - } - break; -@@ -1443,7 +1443,7 @@ void InputFilter::parseServerCommand(const TQString &prefix, const TQString &com - { - server->appendMessageToFrontmost(i18n("Whois"), - i18n("%1 is available for help.") -- .tqarg(parameterList[1]) -+ .arg(parameterList[1]) - ); - } - break; -@@ -1454,9 +1454,9 @@ void InputFilter::parseServerCommand(const TQString &prefix, const TQString &com - if(getAutomaticRequest("WHOIS",parameterList[1])==0) - { - if (trailing.lower().simplifyWhiteSpace().startsWith("is an irc operator")) -- server->appendMessageToFrontmost(i18n("Whois"),i18n("%1 is an IRC Operator.").tqarg(parameterList[1])); -+ server->appendMessageToFrontmost(i18n("Whois"),i18n("%1 is an IRC Operator.").arg(parameterList[1])); - else -- server->appendMessageToFrontmost(i18n("Whois"),TQString("%1 %2").tqarg(parameterList[1]).tqarg(trailing)); -+ server->appendMessageToFrontmost(i18n("Whois"),TQString("%1 %2").arg(parameterList[1]).arg(trailing)); - } - break; - } -@@ -1482,8 +1482,8 @@ void InputFilter::parseServerCommand(const TQString &prefix, const TQString &com - server->appendMessageToFrontmost(i18n("Whois"), - i18n("%1 = name of person, %2 = (x days), %3 = (x hours), %4 = (x minutes), %5 = (x seconds)", - "%1 has been idle for %2, %3, %4, and %5.") -- .tqarg(parameterList[1]) -- .tqarg(daysString).tqarg(hoursString).tqarg(minutesString).tqarg(secondsString) -+ .arg(parameterList[1]) -+ .arg(daysString).arg(hoursString).arg(minutesString).arg(secondsString) - ); - // or longer than an hour - } -@@ -1495,8 +1495,8 @@ void InputFilter::parseServerCommand(const TQString &prefix, const TQString &com - server->appendMessageToFrontmost(i18n("Whois"), - i18n("%1 = name of person, %2 = (x hours), %3 = (x minutes), %4 = (x seconds)", - "%1 has been idle for %2, %3, and %4.") -- .tqarg(parameterList[1]) -- .tqarg(hoursString).tqarg(minutesString).tqarg(secondsString) -+ .arg(parameterList[1]) -+ .arg(hoursString).arg(minutesString).arg(secondsString) - ); - // or longer than a minute - } -@@ -1507,8 +1507,8 @@ void InputFilter::parseServerCommand(const TQString &prefix, const TQString &com - server->appendMessageToFrontmost(i18n("Whois"), - i18n("%1 = name of person, %2 = (x minutes), %3 = (x seconds)", - "%1 has been idle for %2 and %3.") -- .tqarg(parameterList[1]) -- .tqarg(minutesString).tqarg(secondsString) -+ .arg(parameterList[1]) -+ .arg(minutesString).arg(secondsString) - ); - // or just some seconds - } -@@ -1516,7 +1516,7 @@ void InputFilter::parseServerCommand(const TQString &prefix, const TQString &com - { - server->appendMessageToFrontmost(i18n("Whois"), - i18n("%1 has been idle for 1 second.", "%1 has been idle for %n seconds.", seconds) -- .tqarg(parameterList[1]) -+ .arg(parameterList[1]) - ); - } - } -@@ -1535,7 +1535,7 @@ void InputFilter::parseServerCommand(const TQString &prefix, const TQString &com - { - server->appendMessageToFrontmost(i18n("Whois"), - i18n("%1 has been online since %2.") -- .tqarg(parameterList[1]).tqarg(when.toString(Qt::LocalDate)) -+ .arg(parameterList[1]).arg(when.toString(Qt::LocalDate)) - ); - } - } -@@ -1586,10 +1586,10 @@ void InputFilter::parseServerCommand(const TQString &prefix, const TQString &com - { - server->appendMessageToFrontmost(i18n("Userhost"), - i18n("%1 = nick, %2 = shows if nick is op, %3 = hostmask, %4 = shows away", "%1%2 is %3%4.") -- .tqarg(nick) -- .tqarg((ircOp) ? i18n(" (IRC Operator)") : TQString()) -- .tqarg(mask) -- .tqarg((away) ? i18n(" (away)") : TQString())); -+ .arg(nick) -+ .arg((ircOp) ? i18n(" (IRC Operator)") : TQString()) -+ .arg(mask) -+ .arg((away) ? i18n(" (away)") : TQString())); - } - - // was this an automatic request? -@@ -1614,7 +1614,7 @@ void InputFilter::parseServerCommand(const TQString &prefix, const TQString &com - { - TQString message; - message=i18n("%1 (%n user): %2", "%1 (%n users): %2", parameterList[2].toInt()); -- server->appendMessageToFrontmost(i18n("List"),message.tqarg(parameterList[1]).tqarg(trailing)); -+ server->appendMessageToFrontmost(i18n("List"),message.arg(parameterList[1]).arg(trailing)); - } - else // send them to /LIST window - { -@@ -1668,7 +1668,7 @@ void InputFilter::parseServerCommand(const TQString &prefix, const TQString &com - TQDateTime when; - when.setTime_t(parameterList[4].toUInt()); - -- server->appendMessageToFrontmost(i18n("BanList:%1").tqarg(parameterList[1]), i18n("BanList message: e.g. *!*@aol.com set by MrGrim on ", "%1 set by %2 on %3").tqarg(parameterList[2]).tqarg(parameterList[3].section('!', 0, 0)).tqarg(when.toString(Qt::LocalDate))); -+ server->appendMessageToFrontmost(i18n("BanList:%1").arg(parameterList[1]), i18n("BanList message: e.g. *!*@aol.com set by MrGrim on ", "%1 set by %2 on %3").arg(parameterList[2]).arg(parameterList[3].section('!', 0, 0)).arg(when.toString(Qt::LocalDate))); - } - break; - } -@@ -1678,7 +1678,7 @@ void InputFilter::parseServerCommand(const TQString &prefix, const TQString &com - { - setAutomaticRequest("BANLIST", parameterList[1], false); - } else { -- server->appendMessageToFrontmost(i18n("BanList:%1").tqarg(parameterList[1]), i18n("End of Ban List.")); -+ server->appendMessageToFrontmost(i18n("BanList:%1").arg(parameterList[1]), i18n("End of Ban List.")); - } - break; - } -@@ -1706,7 +1706,7 @@ void InputFilter::parseServerCommand(const TQString &prefix, const TQString &com - } - case ERR_UNAVAILRESOURCE: - { -- server->appendMessageToFrontmost(i18n("Error"),i18n("%1 is currently unavailable.").tqarg(parameterList[1])); -+ server->appendMessageToFrontmost(i18n("Error"),i18n("%1 is currently unavailable.").arg(parameterList[1])); - - break; - } -@@ -1722,7 +1722,7 @@ void InputFilter::parseServerCommand(const TQString &prefix, const TQString &com - } - case ERR_UNKNOWNCOMMAND: - { -- server->appendMessageToFrontmost(i18n("Error"),i18n("%1: Unknown command.").tqarg(parameterList[1])); -+ server->appendMessageToFrontmost(i18n("Error"),i18n("%1: Unknown command.").arg(parameterList[1])); - - break; - } -@@ -1734,7 +1734,7 @@ void InputFilter::parseServerCommand(const TQString &prefix, const TQString &com - } - case ERR_NEEDMOREPARAMS: - { -- server->appendMessageToFrontmost(i18n("Error"),i18n("%1: This command requires more parameters.").tqarg(parameterList[1])); -+ server->appendMessageToFrontmost(i18n("Error"),i18n("%1: This command requires more parameters.").arg(parameterList[1])); - - break; - } -@@ -1776,7 +1776,7 @@ void InputFilter::parseModes(const TQString &sourceNick, const TQStringList &par - } - else - { //XXX someone might care about the potentially unnecessary plural here -- message = TQString("%1 %2 %3").tqarg(sourceNick).tqarg(i18n("has changed your personal modes:")).tqarg(modestring); -+ message = TQString("%1 %2 %3").arg(sourceNick).arg(i18n("has changed your personal modes:")).arg(modestring); - } - } - if (!message.isEmpty()) -diff --git a/konversation/src/irccolorchooserui.ui b/konversation/src/irccolorchooserui.ui -index 00a3cae..3bfd4f7 100644 ---- a/konversation/src/irccolorchooserui.ui -+++ b/konversation/src/irccolorchooserui.ui -@@ -32,7 +32,7 @@ - - Preview - -- -+ - AlignCenter - - -diff --git a/konversation/src/ircinput.cpp b/konversation/src/ircinput.cpp -index 20d3edf..e76b032 100644 ---- a/konversation/src/ircinput.cpp -+++ b/konversation/src/ircinput.cpp -@@ -476,7 +476,7 @@ bool IRCInput::checkPaste(TQString& text) - (this, - i18n("You are attempting to paste a large portion of text (%1 bytes or %2 lines) into " - "the chat. This can cause connection resets or flood kills. " -- "Do you really want to continue?").tqarg(text.length()).tqarg(lines+1), -+ "Do you really want to continue?").arg(text.length()).arg(lines+1), - i18n("Large Paste Warning"), - i18n("Paste"), - i18n("&Edit..."), -diff --git a/konversation/src/ircview.cpp b/konversation/src/ircview.cpp -index fb57094..94a10b5 100644 ---- a/konversation/src/ircview.cpp -+++ b/konversation/src/ircview.cpp -@@ -267,7 +267,7 @@ void IRCView::highlightedSlot(const TQString& _link) - m_currentNick = link.mid(1); - m_nickPopup->changeTitle(m_nickPopupId,m_currentNick); - m_isOnNick = true; -- emit setStatusBarTempText(i18n("Open a query with %1").tqarg(m_currentNick)); -+ emit setStatusBarTempText(i18n("Open a query with %1").arg(m_currentNick)); - } - else - { -@@ -284,7 +284,7 @@ void IRCView::highlightedSlot(const TQString& _link) - - m_channelPopup->changeTitle(m_channelPopupId,prettyId); - m_isOnChannel = true; -- emit setStatusBarTempText(i18n("Join the channel %1").tqarg(m_currentChannel)); -+ emit setStatusBarTempText(i18n("Join the channel %1").arg(m_currentChannel)); - } - } - -@@ -353,7 +353,7 @@ void IRCView::replaceDecoration(TQString& line, char decoration, char replacemen - - while((pos=line.find(decoration))!=-1) - { -- line.replace(pos,1,(decorated) ? TQString("").tqarg(replacement) : TQString("<%1>").tqarg(replacement)); -+ line.replace(pos,1,(decorated) ? TQString("").arg(replacement) : TQString("<%1>").arg(replacement)); - decorated = !decorated; - } - } -@@ -573,7 +573,7 @@ bool doHighlight, bool parseURL, bool self) - // replace %0 - %9 in regex groups - for(unsigned int capture=0;capture%1" + nickLine + " %3

\n"; - } - -- line = line.tqarg(timeStamp(), nick, filter(message, channelColor, nick, true)); -+ line = line.arg(timeStamp(), nick, filter(message, channelColor, nick, true)); - -- emit textToLog(TQString("<%1>\t%2").tqarg(nick).tqarg(message)); -+ emit textToLog(TQString("<%1>\t%2").arg(nick).arg(message)); - - doAppend(line); - } -@@ -874,9 +874,9 @@ void IRCView::appendQuery(const TQString& nick, const TQString& message, bool in - line = "

%1 " + nickLine + " %3

\n"; - } - -- line = line.tqarg(timeStamp(), nick, filter(message, queryColor, nick, true)); -+ line = line.arg(timeStamp(), nick, filter(message, queryColor, nick, true)); - -- emit textToLog(TQString("<%1>\t%2").tqarg(nick).tqarg(message)); -+ emit textToLog(TQString("<%1>\t%2").arg(nick).arg(message)); - - doAppend(line); - } -@@ -917,9 +917,9 @@ void IRCView::appendAction(const TQString& nick,const TQString& message) - line = "

%1 * " + nickLine + " %3

\n"; - } - -- line = line.tqarg(timeStamp(), nick, filter(message, actionColor, nick, true)); -+ line = line.arg(timeStamp(), nick, filter(message, actionColor, nick, true)); - -- emit textToLog(TQString("\t * %1 %2").tqarg(nick).tqarg(message)); -+ emit textToLog(TQString("\t * %1 %2").arg(nick).arg(message)); - - doAppend(line); - } -@@ -951,11 +951,11 @@ void IRCView::appendServerMessage(const TQString& type, const TQString& message, - } - - if(type != i18n("Notify")) -- line = line.tqarg(timeStamp(), type, filter(message, serverColor, 0 , true, parseURL)); -+ line = line.arg(timeStamp(), type, filter(message, serverColor, 0 , true, parseURL)); - else -- line = ""+line.tqarg(timeStamp(), type, message)+""; -+ line = ""+line.arg(timeStamp(), type, message)+""; - -- emit textToLog(TQString("%1\t%2").tqarg(type).tqarg(message)); -+ emit textToLog(TQString("%1\t%2").arg(type).arg(message)); - - doAppend(line); - } -@@ -993,9 +993,9 @@ void IRCView::appendCommandMessage(const TQString& type,const TQString& message, - line = "

%1 %2 %3

\n"; - } - -- line = line.tqarg(timeStamp(), prefix, filter(message, commandColor, 0, true, parseURL, self)); -+ line = line.arg(timeStamp(), prefix, filter(message, commandColor, 0, true, parseURL, self)); - -- emit textToLog(TQString("%1\t%2").tqarg(type).tqarg(message)); -+ emit textToLog(TQString("%1\t%2").arg(type).arg(message)); - - doAppend(line, self); - } -@@ -1031,7 +1031,7 @@ void IRCView::appendBacklogMessage(const TQString& firstColumn,const TQString& r - line = "

%1 %2 %3

\n"; - } - -- line = line.tqarg(time, nick, filter(message, backlogColor, NULL, false, false)); -+ line = line.arg(time, nick, filter(message, backlogColor, NULL, false, false)); - - doAppend(line); - } -@@ -1251,7 +1251,7 @@ void IRCView::contentsMouseMoveEvent(TQMouseEvent* ev) - if (m_server && m_urlToDrag.startsWith("##")) - { - //FIXME consistent IRC URL serialization -- ux = TQString("irc://%1:%2/%3").tqarg(m_server->getServerName()).tqarg(m_server->getPort()).tqarg(m_urlToDrag.mid(2)); -+ ux = TQString("irc://%1:%2/%3").arg(m_server->getServerName()).arg(m_server->getPort()).arg(m_urlToDrag.mid(2)); - } - else if (m_urlToDrag.startsWith("#")) - { -@@ -1545,7 +1545,7 @@ void IRCView::searchAgain() - - if(!find(m_pattern, m_caseSensitive, m_wholeWords, m_forward, &m_findParagraph, &m_findIndex)) - { -- KMessageBox::information(this,i18n("No matches found for \"%1\".").tqarg(m_pattern),i18n("Information")); -+ KMessageBox::information(this,i18n("No matches found for \"%1\".").arg(m_pattern),i18n("Information")); - } - - } -@@ -1705,14 +1705,14 @@ TQString IRCView::timeStamp() - - if(!Preferences::showDate()) - { -- timeString = TQString("[%1] ").tqarg(time.toString(timeFormat)); -+ timeString = TQString("[%1] ").arg(time.toString(timeFormat)); - } - else - { - TQDate date = TQDate::currentDate(); - timeString = TQString("[%1 %2] ") -- .tqarg(KGlobal::locale()->formatDate(date, true /*short format*/), -+ .arg(KGlobal::locale()->formatDate(date, true /*short format*/), - time.toString(timeFormat)); - } - -diff --git a/konversation/src/joinchanneldialog.cpp b/konversation/src/joinchanneldialog.cpp -index 63ad6c3..d50eb8c 100644 ---- a/konversation/src/joinchanneldialog.cpp -+++ b/konversation/src/joinchanneldialog.cpp -@@ -26,7 +26,7 @@ namespace Konversation - { - - JoinChannelDialog::JoinChannelDialog(Server* server, TQWidget *parent, const char *name) -- : KDialogBase(parent, name, true, i18n("Join Channel on %1").tqarg(server->getDisplayName()), Ok|Cancel, Ok) -+ : KDialogBase(parent, name, true, i18n("Join Channel on %1").arg(server->getDisplayName()), Ok|Cancel, Ok) - { - m_server = server; - m_widget = new JoinChannelUI(this); -diff --git a/konversation/src/konvdcop.cpp b/konversation/src/konvdcop.cpp -index b6e4b2a..e0054af 100644 ---- a/konversation/src/konvdcop.cpp -+++ b/konversation/src/konvdcop.cpp -@@ -128,13 +128,13 @@ void KonvDCOP::info(const TQString& string) - void KonvDCOP::debug(const TQString& string) - { - kdDebug() << "KonvDCOP::debug()" << endl; -- emit dcopInfo(TQString("Debug: %1").tqarg(string)); -+ emit dcopInfo(TQString("Debug: %1").arg(string)); - } - - void KonvDCOP::error(const TQString& string) - { - kdDebug() << "KonvDCOP::error()" << endl; -- emit dcopInfo(TQString("Error: %1").tqarg(string)); -+ emit dcopInfo(TQString("Error: %1").arg(string)); - } - - void KonvDCOP::insertMarkerLine() -@@ -153,7 +153,7 @@ TQString KonvDCOP::getNickname(const TQString& serverName) - - if (!server) - { -- error( i18n( "getNickname: Server %1 is not found." ).tqarg( serverName ) ); -+ error( i18n( "getNickname: Server %1 is not found." ).arg( serverName ) ); - return TQString(); - } - -diff --git a/konversation/src/konversationapplication.cpp b/konversation/src/konversationapplication.cpp -index 083a1ee..c1a489f 100644 ---- a/konversation/src/konversationapplication.cpp -+++ b/konversation/src/konversationapplication.cpp -@@ -446,9 +446,9 @@ void KonversationApplication::readOptions() - TQStringList buttonList(Preferences::quickButtonList()); - // Read all quick buttons - int index=0; -- while(config->hasKey(TQString("Button%1").tqarg(index))) -+ while(config->hasKey(TQString("Button%1").arg(index))) - { -- buttonList.append(config->readEntry(TQString("Button%1").tqarg(index++))); -+ buttonList.append(config->readEntry(TQString("Button%1").arg(index++))); - } // while - // Put back the changed button list - Preferences::setQuickButtonList(buttonList); -@@ -462,10 +462,10 @@ void KonversationApplication::readOptions() - TQStringList autoreplaceList(Preferences::autoreplaceList()); - // Read all entries - index=0; -- while(config->hasKey(TQString("Autoreplace%1").tqarg(index))) -+ while(config->hasKey(TQString("Autoreplace%1").arg(index))) - { - // read entry and get length of the string -- TQString entry=config->readEntry(TQString("Autoreplace%1").tqarg(index++)); -+ TQString entry=config->readEntry(TQString("Autoreplace%1").arg(index++)); - unsigned int length=entry.length()-1; - // if there's a "#" in the end, strip it (used to preserve blanks at the end of the replacement text) - // there should always be one, but older versions did not do it, so we check first -@@ -494,9 +494,9 @@ void KonversationApplication::readOptions() - { - int i = 0; - -- while(config->hasGroup(TQString("Highlight%1").tqarg(i))) -+ while(config->hasGroup(TQString("Highlight%1").arg(i))) - { -- config->setGroup(TQString("Highlight%1").tqarg(i)); -+ config->setGroup(TQString("Highlight%1").arg(i)); - Preferences::addHighlight(config->readEntry("Pattern"), - config->readBoolEntry("RegExp"), - config->readColorEntry("Color"), -@@ -512,9 +512,9 @@ void KonversationApplication::readOptions() - if(config->hasKey("Ignore0")) Preferences::clearIgnoreList(); - // Read all ignores - index=0; -- while(config->hasKey(TQString("Ignore%1").tqarg(index))) -+ while(config->hasKey(TQString("Ignore%1").arg(index))) - { -- Preferences::addIgnore(config->readEntry(TQString("Ignore%1").tqarg(index++))); -+ Preferences::addIgnore(config->readEntry(TQString("Ignore%1").arg(index++))); - } - - // Aliases -@@ -563,7 +563,7 @@ void KonversationApplication::saveOptions(bool updateGUI) - for(IdentityList::ConstIterator it = identityList.begin(); it != identityList.end(); ++it) - { - IdentityPtr identity = (*it); -- config->setGroup(TQString("Identity %1").tqarg(index)); -+ config->setGroup(TQString("Identity %1").arg(index)); - - config->writeEntry("Name",identity->getName()); - config->writeEntry("Ident",identity->getIdent()); -@@ -643,7 +643,7 @@ void KonversationApplication::saveOptions(bool updateGUI) - - for(it2 = serverlist.begin(); it2 != serverlist.end(); ++it2) - { -- groupName = TQString("Server %1").tqarg(index2); -+ groupName = TQString("Server %1").arg(index2); - servers.append(groupName); - config->setGroup(groupName); - config->writeEntry("Server", (*it2).host()); -@@ -658,7 +658,7 @@ void KonversationApplication::saveOptions(bool updateGUI) - - for(it3 = channelList.begin(); it3 != channelList.end(); ++it3) - { -- groupName = TQString("Channel %1").tqarg(index3); -+ groupName = TQString("Channel %1").arg(index3); - channels.append(groupName); - config->setGroup(groupName); - config->writeEntry("Name", (*it3).name()); -@@ -671,7 +671,7 @@ void KonversationApplication::saveOptions(bool updateGUI) - - for(it3 = channelList.begin(); it3 != channelList.end(); ++it3) - { -- groupName = TQString("Channel %1").tqarg(index3); -+ groupName = TQString("Channel %1").arg(index3); - channelHistory.append(groupName); - config->setGroup(groupName); - config->writeEntry("Name", (*it3).name()); -@@ -680,7 +680,7 @@ void KonversationApplication::saveOptions(bool updateGUI) - index3++; - } - -- config->setGroup(TQString("ServerGroup %1").tqarg(TQString::number(index).rightJustify(width,'0'))); -+ config->setGroup(TQString("ServerGroup %1").arg(TQString::number(index).rightJustify(width,'0'))); - config->writeEntry("Name", (*it)->name()); - config->writeEntry("Identity", (*it)->identity()->getName()); - config->writeEntry("ServerList", servers); -@@ -704,7 +704,7 @@ void KonversationApplication::saveOptions(bool updateGUI) - index=0; - while(item) - { -- config->writeEntry(TQString("Ignore%1").tqarg(index),TQString("%1,%2").tqarg(item->getName()).tqarg(item->getFlags())); -+ config->writeEntry(TQString("Ignore%1").arg(index),TQString("%1,%2").arg(item->getName()).arg(item->getFlags())); - item=ignoreList.next(); - index++; - } -@@ -861,7 +861,7 @@ TQString KonversationApplication::doAutoreplace(const TQString& text,bool output - // replace %0 - %9 in regex groups - for(unsigned int capture=0;capturesetMapping( tabSelectionAction, i-1); - } - -@@ -487,7 +487,7 @@ void KonversationMainWindow::toggleMenubar(bool dontShowWarning) - { - TQString accel = hideMenuBarAction->shortcut().toString(); - KMessageBox::information(this, -- i18n("This will hide the menu bar completely. You can show it again by typing %1.").tqarg(accel), -+ i18n("This will hide the menu bar completely. You can show it again by typing %1.").arg(accel), - "Hide menu bar","HideMenuBarWarning"); - } - menuBar()->hide(); -diff --git a/konversation/src/konversationstatusbar.cpp b/konversation/src/konversationstatusbar.cpp -index bd8e61e..bdfc9ca 100644 ---- a/konversation/src/konversationstatusbar.cpp -+++ b/konversation/src/konversationstatusbar.cpp -@@ -148,9 +148,9 @@ void KonversationStatusBar::updateLagLabel(Server* lagServer, int msec) - if (msec == -1) - lagString += i18n("Lag: Unknown"); - else if (msec < 1000) -- lagString += i18n("Lag: %1 ms").tqarg(msec); -+ lagString += i18n("Lag: %1 ms").arg(msec); - else -- lagString += i18n("Lag: %1 s").tqarg(msec / 1000); -+ lagString += i18n("Lag: %1 s").arg(msec / 1000); - - m_lagLabel->setText(lagString); - -@@ -179,8 +179,8 @@ void KonversationStatusBar::setTooLongLag(Server* lagServer, int msec) - const TQString hoursString = i18n("1 hour", "%n hours", (hours % 24)); - const TQString minutesString = i18n("1 minute", "%n minutes", (minutes % 60)); - const TQString secondsString = i18n("1 second", "%n seconds", (seconds % 60)); -- lagString = i18n("%1 = name of server, %2 = (x days), %3 = (x hours), %4 = (x minutes), %5 = (x seconds)", "No answer from server %1 for more than %2, %3, %4, and %5.").tqarg(lagServer->getServerName()) -- .tqarg(daysString).tqarg(hoursString).tqarg(minutesString).tqarg(secondsString); -+ lagString = i18n("%1 = name of server, %2 = (x days), %3 = (x hours), %4 = (x minutes), %5 = (x seconds)", "No answer from server %1 for more than %2, %3, %4, and %5.").arg(lagServer->getServerName()) -+ .arg(daysString).arg(hoursString).arg(minutesString).arg(secondsString); - // or longer than an hour - } - else if (hours) -@@ -188,21 +188,21 @@ void KonversationStatusBar::setTooLongLag(Server* lagServer, int msec) - const TQString hoursString = i18n("1 hour", "%n hours", hours); - const TQString minutesString = i18n("1 minute", "%n minutes", (minutes % 60)); - const TQString secondsString = i18n("1 second", "%n seconds", (seconds % 60)); -- lagString = i18n("%1 = name of server, %2 = (x hours), %3 = (x minutes), %4 = (x seconds)", "No answer from server %1 for more than %2, %3, and %4.").tqarg(lagServer->getServerName()) -- .tqarg(hoursString).tqarg(minutesString).tqarg(secondsString); -+ lagString = i18n("%1 = name of server, %2 = (x hours), %3 = (x minutes), %4 = (x seconds)", "No answer from server %1 for more than %2, %3, and %4.").arg(lagServer->getServerName()) -+ .arg(hoursString).arg(minutesString).arg(secondsString); - // or longer than a minute - } - else if (minutes) - { - const TQString minutesString = i18n("1 minute", "%n minutes", minutes); - const TQString secondsString = i18n("1 second", "%n seconds", (seconds % 60)); -- lagString = i18n("%1 = name of server, %2 = (x minutes), %3 = (x seconds)", "No answer from server %1 for more than %2 and %3.").tqarg(lagServer->getServerName()) -- .tqarg(minutesString).tqarg(secondsString); -+ lagString = i18n("%1 = name of server, %2 = (x minutes), %3 = (x seconds)", "No answer from server %1 for more than %2 and %3.").arg(lagServer->getServerName()) -+ .arg(minutesString).arg(secondsString); - // or just some seconds - } - else - { -- lagString = i18n("No answer from server %1 for more than 1 second.", "No answer from server %1 for more than %n seconds.", seconds).tqarg(lagServer->getServerName()); -+ lagString = i18n("No answer from server %1 for more than 1 second.", "No answer from server %1 for more than %n seconds.", seconds).arg(lagServer->getServerName()); - } - - setMainLabelText(lagString); -@@ -211,7 +211,7 @@ void KonversationStatusBar::setTooLongLag(Server* lagServer, int msec) - if (lagServer==m_window->getViewContainer()->getFrontServer()) - { - TQString lagString = lagServer->getServerName() + " - "; -- lagString.append(i18n("Lag: %1 s").tqarg(msec/1000)); -+ lagString.append(i18n("Lag: %1 s").arg(msec/1000)); - - if (m_lagLabel->isHidden()) m_lagLabel->show(); - m_lagLabel->setText(lagString); -diff --git a/konversation/src/linkaddressbook/addressbook.cpp b/konversation/src/linkaddressbook/addressbook.cpp -index 7d09c49..1b8f4cb 100644 ---- a/konversation/src/linkaddressbook/addressbook.cpp -+++ b/konversation/src/linkaddressbook/addressbook.cpp -@@ -226,7 +226,7 @@ namespace Konversation - { - TQString user = addressee.fullEmail(); - if(!user.isEmpty()) user = " (" + user + ')'; -- focusAndShowErrorMessage(i18n("Another KDE application tried to use Konversation for instant messaging, but the requested user%1 is not online.").tqarg(user)); -+ focusAndShowErrorMessage(i18n("Another KDE application tried to use Konversation for instant messaging, but the requested user%1 is not online.").arg(user)); - return; - } - -@@ -286,7 +286,7 @@ void Addressbook::sendFile(const TQString &uid, const KURL &sourceURL, const TQS - { - TQString user = addressee.fullEmail(); - if(!user.isEmpty()) user = " (" + user + ')'; -- focusAndShowErrorMessage(i18n("Another KDE application tried to use Konversation to send a file to a contact, but the requested user%1 is not currently online.").tqarg(user)); -+ focusAndShowErrorMessage(i18n("Another KDE application tried to use Konversation to send a file to a contact, but the requested user%1 is not currently online.").arg(user)); - return; - } - nickInfo->getServer()->addDccSend(nickInfo->getNickname(), sourceURL, altFileName, fileSize); -diff --git a/konversation/src/linkaddressbook/addressbook_base.cpp b/konversation/src/linkaddressbook/addressbook_base.cpp -index 91cdba2..48f6973 100644 ---- a/konversation/src/linkaddressbook/addressbook_base.cpp -+++ b/konversation/src/linkaddressbook/addressbook_base.cpp -@@ -463,9 +463,9 @@ namespace Konversation - else - { - if(nicksWithoutAddressee.count() > 1) -- message = i18n("Some of the contacts (%1) that you have selected are not associated with addressbook contacts. ").tqarg(nicksWithoutAddressee.join(", ")); -+ message = i18n("Some of the contacts (%1) that you have selected are not associated with addressbook contacts. ").arg(nicksWithoutAddressee.join(", ")); - else -- message = i18n("One of the contacts (%1) that you have selected is not associated with an addressbook contact. ").tqarg(nicksWithoutAddressee.join(", ")); -+ message = i18n("One of the contacts (%1) that you have selected is not associated with an addressbook contact. ").arg(nicksWithoutAddressee.join(", ")); - } - message += i18n("You can right click on a contact, and choose to edit the Addressbook Associations to link them to a contact in your addressbook."); - } -@@ -481,15 +481,15 @@ namespace Konversation - else - { - if(nicksWithoutEmails.count() > 1) -- message = i18n("Some of the contacts (%1) that you have selected do not have an email address associated with them. ").tqarg(nicksWithoutEmails.join(", ")); -+ message = i18n("Some of the contacts (%1) that you have selected do not have an email address associated with them. ").arg(nicksWithoutEmails.join(", ")); - else -- message = i18n("One of the contacts (%1) that you have selected does not have an email address associated with them. ").tqarg(nicksWithoutEmails.join(", ")); -+ message = i18n("One of the contacts (%1) that you have selected does not have an email address associated with them. ").arg(nicksWithoutEmails.join(", ")); - } - message += i18n("You can right click on a contact, and choose to edit the addressbook contact, adding an email for them."); - } - else - { -- message = i18n("Some of the contacts (%1) that you have selected are not associated with addressbook contacts, and some of the contacts (%2) do not have an email address associated with them. ").tqarg(nicksWithoutAddressee.join(", ").tqarg(nicksWithoutEmails.join(", "))); -+ message = i18n("Some of the contacts (%1) that you have selected are not associated with addressbook contacts, and some of the contacts (%2) do not have an email address associated with them. ").arg(nicksWithoutAddressee.join(", ").arg(nicksWithoutEmails.join(", "))); - message += i18n("You can right click on a contact, and choose to edit the Addressbook Associations to link them to a contact in your addressbook, and choose to edit the addressbook contact, adding an email for them."); - } - if(nicksWithEmails.isEmpty()) -diff --git a/konversation/src/linkaddressbook/linkaddressbookui.cpp b/konversation/src/linkaddressbook/linkaddressbookui.cpp -index 6968f4d..e6fe29e 100644 ---- a/konversation/src/linkaddressbook/linkaddressbookui.cpp -+++ b/konversation/src/linkaddressbook/linkaddressbookui.cpp -@@ -115,13 +115,13 @@ void LinkAddressbookUI::slotLoadAddressees() - /*AddresseeItem *item =*/ new AddresseeItem( m_mainWidget->addresseeListView, (*it)); - - if(num_contacts_with_nick == 0) -- m_mainWidget->lblHeader->setText(i18n("Choose the person who '%1' is.").tqarg(m_ircnick)); -+ m_mainWidget->lblHeader->setText(i18n("Choose the person who '%1' is.").arg(m_ircnick)); - else if(num_contacts_with_nick == 1 && realname.isEmpty()) -- m_mainWidget->lblHeader->setText(i18n("Currently '%1' is associated with a contact.").tqarg(m_ircnick)); -+ m_mainWidget->lblHeader->setText(i18n("Currently '%1' is associated with a contact.").arg(m_ircnick)); - else if(num_contacts_with_nick == 1 && !realname.isEmpty()) -- m_mainWidget->lblHeader->setText(i18n("Currently '%1' is associated with contact '%2'.").tqarg(m_ircnick).tqarg(realname)); -+ m_mainWidget->lblHeader->setText(i18n("Currently '%1' is associated with contact '%2'.").arg(m_ircnick).arg(realname)); - else -- m_mainWidget->lblHeader->setText(i18n("Warning: '%1' is currently being listed as belonging to multiple contacts. Please select the correct contact.").tqarg(m_ircnick)); -+ m_mainWidget->lblHeader->setText(i18n("Warning: '%1' is currently being listed as belonging to multiple contacts. Please select the correct contact.").arg(m_ircnick)); - - } - -diff --git a/konversation/src/logfilereader.cpp b/konversation/src/logfilereader.cpp -index 74ea0e8..5e14f64 100644 ---- a/konversation/src/logfilereader.cpp -+++ b/konversation/src/logfilereader.cpp -@@ -111,8 +111,8 @@ void LogfileReader::updateView() - stream.setEncoding(TQTextStream::UnicodeUTF8); - - // Set file pointer to bytes from the end -- if(stream.tqdevice()->size()>pos) -- stream.tqdevice()->at(stream.tqdevice()->size()-pos); -+ if(stream.device()->size()>pos) -+ stream.device()->at(stream.device()->size()-pos); - // Skip first line, since it may be incomplete - stream.readLine(); - TQString str; -diff --git a/konversation/src/nick.cpp b/konversation/src/nick.cpp -index 3226d2e..640003a 100644 ---- a/konversation/src/nick.cpp -+++ b/konversation/src/nick.cpp -@@ -124,7 +124,7 @@ void Nick::refresh() - } - - setText(2, calculateLabel2()); -- tqrepaint(); -+ repaint(); - - if(m_flags != flags) - { -diff --git a/konversation/src/nicksonline.cpp b/konversation/src/nicksonline.cpp -index 1dd88f2..47a79e8 100644 ---- a/konversation/src/nicksonline.cpp -+++ b/konversation/src/nicksonline.cpp -@@ -249,12 +249,12 @@ bool& needWhois) - niInfo += " (" + nickInfo->getRealName() + ')'; - if (!nickInfo->getNetServer().isEmpty()) - { -- niInfo += i18n( " online via %1" ).tqarg( nickInfo->getNetServer() ); -+ niInfo += i18n( " online via %1" ).arg( nickInfo->getNetServer() ); - if (!nickInfo->getNetServerInfo().isEmpty()) - niInfo += " (" + nickInfo->getNetServerInfo() + ')'; - } - if (!nickInfo->getOnlineSince().isNull()) -- niInfo += i18n( " since %1" ).tqarg( nickInfo->getPrettyOnlineSince() ); -+ niInfo += i18n( " since %1" ).arg( nickInfo->getPrettyOnlineSince() ); - } - needWhois = niInfo.isEmpty(); - if (!info.isEmpty() && !needWhois) info += ' '; -diff --git a/konversation/src/notificationhandler.cpp b/konversation/src/notificationhandler.cpp -index ea5c8ef..7b615e0 100644 ---- a/konversation/src/notificationhandler.cpp -+++ b/konversation/src/notificationhandler.cpp -@@ -50,7 +50,7 @@ namespace Konversation - TQString cleanedMessage = TQStyleSheet::escape(Konversation::removeIrcMarkup(message)); - TQString cutup = addLineBreaks(cleanedMessage); - -- KNotifyClient::event(m_mainWindow->winId(), "message", TQString("<%1> %2").tqarg(fromNick).tqarg(cutup)); -+ KNotifyClient::event(m_mainWindow->winId(), "message", TQString("<%1> %2").arg(fromNick).arg(cutup)); - - if(!Preferences::trayNotifyOnlyOwnNick()) - { -@@ -76,7 +76,7 @@ namespace Konversation - TQString cleanedMessage = TQStyleSheet::escape(Konversation::removeIrcMarkup(message)); - TQString cutup = addLineBreaks(cleanedMessage); - -- KNotifyClient::event(m_mainWindow->winId(), "nick", TQString("<%1> %2").tqarg(fromNick).tqarg(cutup)); -+ KNotifyClient::event(m_mainWindow->winId(), "nick", TQString("<%1> %2").arg(fromNick).arg(cutup)); - - startTrayNotification(chatWin); - -@@ -86,7 +86,7 @@ namespace Konversation - (!m_mainWindow->isActiveWindow() || - (chatWin != m_mainWindow->getViewContainer()->getFrontView()))) - { -- konvApp->osd->showOSD(i18n("[HighLight] (%1) <%2> %3").tqarg(chatWin->getName()).tqarg(fromNick).tqarg(cleanedMessage)); -+ konvApp->osd->showOSD(i18n("[HighLight] (%1) <%2> %3").arg(chatWin->getName()).arg(fromNick).arg(cleanedMessage)); - } - } - -@@ -102,7 +102,7 @@ namespace Konversation - TQString cleanedMessage = TQStyleSheet::escape(Konversation::removeIrcMarkup(message)); - TQString cutup = addLineBreaks(cleanedMessage); - -- KNotifyClient::event(m_mainWindow->winId(), "queryMessage", TQString("<%1> %2").tqarg(fromNick).tqarg(cutup)); -+ KNotifyClient::event(m_mainWindow->winId(), "queryMessage", TQString("<%1> %2").arg(fromNick).arg(cutup)); - - startTrayNotification(chatWin); - -@@ -111,7 +111,7 @@ namespace Konversation - if(Preferences::oSDShowQuery() && (!m_mainWindow->isActiveWindow() || - (chatWin != m_mainWindow->getViewContainer()->getFrontView()))) - { -- konvApp->osd->showOSD(i18n("[Query] <%1> %2").tqarg(fromNick).tqarg(cleanedMessage)); -+ konvApp->osd->showOSD(i18n("[Query] <%1> %2").arg(fromNick).arg(cleanedMessage)); - } - } - -@@ -135,14 +135,14 @@ namespace Konversation - if (Preferences::disableNotifyWhileAway() && chatWin->getServer() && chatWin->getServer()->isAway()) - return; - -- KNotifyClient::event(m_mainWindow->winId(), "join", i18n("%1 joined %2").tqarg(nick, chatWin->getName())); -+ KNotifyClient::event(m_mainWindow->winId(), "join", i18n("%1 joined %2").arg(nick, chatWin->getName())); - - // OnScreen Message - if(Preferences::oSDShowChannelEvent() && - (!m_mainWindow->isActiveWindow() || (chatWin != m_mainWindow->getViewContainer()->getFrontView()))) - { - KonversationApplication* konvApp = static_cast(kapp); -- konvApp->osd->showOSD(i18n("%1 joined %2").tqarg(nick, chatWin->getName())); -+ konvApp->osd->showOSD(i18n("%1 joined %2").arg(nick, chatWin->getName())); - } - } - -@@ -154,14 +154,14 @@ namespace Konversation - if (Preferences::disableNotifyWhileAway() && chatWin->getServer() && chatWin->getServer()->isAway()) - return; - -- KNotifyClient::event(m_mainWindow->winId(), "part", i18n("%1 parted %2").tqarg(nick, chatWin->getName())); -+ KNotifyClient::event(m_mainWindow->winId(), "part", i18n("%1 parted %2").arg(nick, chatWin->getName())); - - // OnScreen Message - if(Preferences::oSDShowChannelEvent() && - (!m_mainWindow->isActiveWindow() || (chatWin != m_mainWindow->getViewContainer()->getFrontView()))) - { - KonversationApplication* konvApp = static_cast(kapp); -- konvApp->osd->showOSD(i18n("%1 parted %2").tqarg(nick, chatWin->getName())); -+ konvApp->osd->showOSD(i18n("%1 parted %2").arg(nick, chatWin->getName())); - } - } - -@@ -173,7 +173,7 @@ namespace Konversation - if (Preferences::disableNotifyWhileAway() && chatWin->getServer() && chatWin->getServer()->isAway()) - return; - -- KNotifyClient::event(m_mainWindow->winId(), "part", i18n("%1 quit %2").tqarg(nick, chatWin->getServer()->getServerName())); -+ KNotifyClient::event(m_mainWindow->winId(), "part", i18n("%1 quit %2").arg(nick, chatWin->getServer()->getServerName())); - } - - void NotificationHandler::nickChange(ChatWindow* chatWin, const TQString& oldNick, const TQString& newNick) -@@ -184,7 +184,7 @@ namespace Konversation - if (Preferences::disableNotifyWhileAway() && chatWin->getServer() && chatWin->getServer()->isAway()) - return; - -- KNotifyClient::event(m_mainWindow->winId(), "nickchange", i18n("%1 changed nickname to %2").tqarg(oldNick, newNick)); -+ KNotifyClient::event(m_mainWindow->winId(), "nickchange", i18n("%1 changed nickname to %2").arg(oldNick, newNick)); - } - - void NotificationHandler::dccIncoming(ChatWindow* chatWin, const TQString& fromNick) -@@ -195,7 +195,7 @@ namespace Konversation - if (Preferences::disableNotifyWhileAway() && chatWin->getServer() && chatWin->getServer()->isAway()) - return; - -- KNotifyClient::event(m_mainWindow->winId(), "dcc_incoming", i18n("%1 wants to send a file to you").tqarg(fromNick)); -+ KNotifyClient::event(m_mainWindow->winId(), "dcc_incoming", i18n("%1 wants to send a file to you").arg(fromNick)); - } - - void NotificationHandler::mode(ChatWindow* chatWin, const TQString& /*nick*/) -@@ -220,7 +220,7 @@ namespace Konversation - startTrayNotification(chatWin); - - KNotifyClient::event(m_mainWindow->winId(), "query", -- i18n("%1 has started a conversation (query) with you.").tqarg(fromNick)); -+ i18n("%1 has started a conversation (query) with you.").arg(fromNick)); - } - - void NotificationHandler::nickOnline(ChatWindow* chatWin, const TQString& nick) -@@ -232,7 +232,7 @@ namespace Konversation - return; - - KNotifyClient::event(m_mainWindow->winId(), "notify", -- i18n("%1 is online (%2).").tqarg(nick).tqarg(chatWin->getServer()->getServerName())); -+ i18n("%1 is online (%2).").arg(nick).arg(chatWin->getServer()->getServerName())); - } - - void NotificationHandler::nickOffline(ChatWindow* chatWin, const TQString& nick) -@@ -244,7 +244,7 @@ namespace Konversation - return; - - KNotifyClient::event(m_mainWindow->winId(), "notify", -- i18n("%1 went offline (%2).").tqarg(nick).tqarg(chatWin->getServer()->getServerName())); -+ i18n("%1 went offline (%2).").arg(nick).arg(chatWin->getServer()->getServerName())); - } - - void NotificationHandler::kick(ChatWindow* chatWin, const TQString& channel,const TQString& nick) -@@ -256,7 +256,7 @@ namespace Konversation - return; - - KNotifyClient::event(m_mainWindow->winId(), "kick", -- i18n("You are kicked by %1 from %2").tqarg(nick).tqarg(channel)); -+ i18n("You are kicked by %1 from %2").arg(nick).arg(channel)); - } - - void NotificationHandler::dccChat(ChatWindow* chatWin, const TQString& nick) -@@ -268,7 +268,7 @@ namespace Konversation - return; - - KNotifyClient::event(m_mainWindow->winId(), "dccChat", -- i18n("%1 started a dcc chat with you").tqarg(nick)); -+ i18n("%1 started a dcc chat with you").arg(nick)); - } - - void NotificationHandler::highlight(ChatWindow* chatWin, const TQString& fromNick, const TQString& message) -@@ -288,10 +288,10 @@ namespace Konversation - // if there was no nick associated, this must be a command message, so don't try displaying - // an empty nick in <> - if(fromNick.isEmpty()) -- konvApp->osd->showOSD(i18n("[HighLight] (%1) *** %2").tqarg(chatWin->getName()).tqarg(message)); -+ konvApp->osd->showOSD(i18n("[HighLight] (%1) *** %2").arg(chatWin->getName()).arg(message)); - // normal highlight message - else -- konvApp->osd->showOSD(i18n("[HighLight] (%1) <%2> %3").tqarg(chatWin->getName()).tqarg(fromNick).tqarg(message)); -+ konvApp->osd->showOSD(i18n("[HighLight] (%1) <%2> %3").arg(chatWin->getName()).arg(fromNick).arg(message)); - } - } - -@@ -301,7 +301,7 @@ namespace Konversation - return; - - KNotifyClient::event(m_mainWindow->winId(), "connectionFailure", -- i18n("Failed to connect to %1").tqarg(server)); -+ i18n("Failed to connect to %1").arg(server)); - } - - void NotificationHandler::channelJoin(ChatWindow* chatWin, const TQString& channel) -@@ -312,7 +312,7 @@ namespace Konversation - if (Preferences::disableNotifyWhileAway() && chatWin->getServer() && chatWin->getServer()->isAway()) - return; - -- KNotifyClient::event(m_mainWindow->winId(), "channelJoin", i18n("You have joined %1.").tqarg(channel)); -+ KNotifyClient::event(m_mainWindow->winId(), "channelJoin", i18n("You have joined %1.").arg(channel)); - } - - TQString NotificationHandler::addLineBreaks(const TQString& string) -diff --git a/konversation/src/osd.cpp b/konversation/src/osd.cpp -index 8bd1745..9935576 100644 ---- a/konversation/src/osd.cpp -+++ b/konversation/src/osd.cpp -@@ -34,7 +34,7 @@ OSDWidget::OSDWidget( const TQString &appName, TQWidget *parent, const char *nam - , m_appName( appName ) - , m_duration( 5000 ) - , m_shadow( true ) --, m_tqalignment( Middle ) -+, m_alignment( Middle ) - , m_screen( 0 ) - , m_y( MARGIN ) - , m_dirty( false ) -@@ -208,7 +208,7 @@ void OSDWidget::setOffset( int /*x*/, int y ) - - void OSDWidget::setAlignment( Alignment a ) - { -- m_tqalignment = a; -+ m_alignment = a; - reposition(); - } - -@@ -277,7 +277,7 @@ void OSDWidget::reposition( TQSize newSize ) - - //TODO m_y is the middle of the OSD, and don't exceed screen margins - -- switch ( m_tqalignment ) -+ switch ( m_alignment ) - { - case Left: - break; -@@ -371,12 +371,12 @@ void OSDPreviewWidget::mouseMoveEvent( TQMouseEvent *e ) - - if( eGlobalPosX < (hcenter-snapZone) ) - { -- m_tqalignment = Left; -+ m_alignment = Left; - destination.rx() = MARGIN; - } - else if( eGlobalPosX > (hcenter+snapZone) ) - { -- m_tqalignment = Right; -+ m_alignment = Right; - destination.rx() = screen.width() - MARGIN - width(); - } - else -@@ -388,10 +388,10 @@ void OSDPreviewWidget::mouseMoveEvent( TQMouseEvent *e ) - - if( eGlobalPosY >= (vcenter-snapZone) && eGlobalPosY <= (vcenter+snapZone) ) - { -- m_tqalignment = Center; -+ m_alignment = Center; - destination.ry() = vcenter - height()/2; - } -- else m_tqalignment = Middle; -+ else m_alignment = Middle; - } - - destination += screen.topLeft(); -diff --git a/konversation/src/osd.h b/konversation/src/osd.h -index f71f1d7..9dac20a 100644 ---- a/konversation/src/osd.h -+++ b/konversation/src/osd.h -@@ -48,7 +48,7 @@ class OSDWidget : public TQWidget - void unsetColors(); - - int screen() { return m_screen; } -- int tqalignment() { return m_tqalignment; } -+ int alignment() { return m_alignment; } - int y() { return m_y; } - - signals: -@@ -93,7 +93,7 @@ class OSDWidget : public TQWidget - TQString m_currentText; - bool m_shadow; - -- Alignment m_tqalignment; -+ Alignment m_alignment; - int m_screen; - uint m_y; - -diff --git a/konversation/src/osd_preferences.cpp b/konversation/src/osd_preferences.cpp -index 7a765ef..61e8115 100644 ---- a/konversation/src/osd_preferences.cpp -+++ b/konversation/src/osd_preferences.cpp -@@ -143,7 +143,7 @@ void OSD_Config::slotPositionChanged() - { - kcfg_OSDScreen->setCurrentItem(m_pOSDPreview->screen()); - -- kcfg_OSDAlignment->setValue( m_pOSDPreview->tqalignment() ); -+ kcfg_OSDAlignment->setValue( m_pOSDPreview->alignment() ); - kcfg_OSDOffsetX->setValue( m_pOSDPreview->x()); - kcfg_OSDOffsetY->setValue( m_pOSDPreview->y()); - } -diff --git a/konversation/src/outputfilter.cpp b/konversation/src/outputfilter.cpp -index 749e278..46dee2f 100644 ---- a/konversation/src/outputfilter.cpp -+++ b/konversation/src/outputfilter.cpp -@@ -334,7 +334,7 @@ namespace Konversation - else if(parameter == "off") - konvApp->showQueueTuner(false); - else -- result = usage(i18n("Usage: %1queuetuner [on | off]").tqarg(commandChar)); -+ result = usage(i18n("Usage: %1queuetuner [on | off]").arg(commandChar)); - - return result; - } -@@ -380,7 +380,7 @@ namespace Konversation - if (channelName.isEmpty()) - { - if (destination.isEmpty() || !isAChannel(destination)) -- return usage(i18n("Usage: %1JOIN [password]").tqarg(commandChar)); -+ return usage(i18n("Usage: %1JOIN [password]").arg(commandChar)); - channelName=destination; - } - else if (!isAChannel(channelName)) -@@ -413,7 +413,7 @@ namespace Konversation - - if(victim.isEmpty()) - { -- result = usage(i18n("Usage: %1KICK [reason]").tqarg(commandChar)); -+ result = usage(i18n("Usage: %1KICK [reason]").arg(commandChar)); - } - else - { -@@ -431,7 +431,7 @@ namespace Konversation - } - else - { -- result = error(i18n("%1KICK only works from within channels.").tqarg(commandChar)); -+ result = error(i18n("%1KICK only works from within channels.").arg(commandChar)); - } - - return result; -@@ -451,7 +451,7 @@ namespace Konversation - } - else - { -- result = error(i18n("%1PART without parameters only works from within a channel or a query.").tqarg(commandChar)); -+ result = error(i18n("%1PART without parameters only works from within a channel or a query.").arg(commandChar)); - } - } - else -@@ -481,7 +481,7 @@ namespace Konversation - } - else - { -- result = error(i18n("%1PART without channel name only works from within a channel.").tqarg(commandChar)); -+ result = error(i18n("%1PART without channel name only works from within a channel.").arg(commandChar)); - } - } - } -@@ -503,7 +503,7 @@ namespace Konversation - } - else - { -- result = error(i18n("%1TOPIC without parameters only works from within a channel.").tqarg(commandChar)); -+ result = error(i18n("%1TOPIC without parameters only works from within a channel.").arg(commandChar)); - } - } - else -@@ -545,7 +545,7 @@ namespace Konversation - } - else - { -- result = error(i18n("%1TOPIC without channel name only works from within a channel.").tqarg(commandChar)); -+ result = error(i18n("%1TOPIC without channel name only works from within a channel.").arg(commandChar)); - } - } - } -@@ -572,7 +572,7 @@ namespace Konversation - result.toServer = "NAMES "; - if (parameter.isNull()) - { -- return error(i18n("%1NAMES with no target may disconnect you from the server. Specify '*' if you really want this.").tqarg(commandChar)); -+ return error(i18n("%1NAMES with no target may disconnect you from the server. Specify '*' if you really want this.").arg(commandChar)); - } - else if (parameter != TQChar('*')) - { -@@ -593,7 +593,7 @@ namespace Konversation - else if (parm.isEmpty()) // this can only mean one thing.. we're in the Server tab - m_server->closeYourself(false); - else -- return usage(i18n("Usage: %1close [window] closes the named channel or query tab, or the current tab if none specified.").tqarg(commandChar)); -+ return usage(i18n("Usage: %1close [window] closes the named channel or query tab, or the current tab if none specified.").arg(commandChar)); - return OutputFilterResult(); - } - -@@ -619,13 +619,13 @@ namespace Konversation - - if(parameter.isEmpty() || message.isEmpty()) - { -- result = usage(i18n("Usage: %1NOTICE ").tqarg(commandChar)); -+ result = usage(i18n("Usage: %1NOTICE ").arg(commandChar)); - } - else - { - result.typeString = i18n("Notice"); - result.toServer = "NOTICE " + recipient + " :" + message; -- result.output=i18n("%1 is the message, %2 the recipient nickname","Sending notice \"%2\" to %1.").tqarg(recipient).tqarg(message); -+ result.output=i18n("%1 is the message, %2 the recipient nickname","Sending notice \"%2\" to %1.").arg(recipient).arg(message); - result.type = Program; - } - -@@ -644,7 +644,7 @@ namespace Konversation - } - else - { -- result = usage(i18n("Usage: %1ME text").tqarg(commandChar)); -+ result = usage(i18n("Usage: %1ME text").arg(commandChar)); - } - - return result; -@@ -681,7 +681,7 @@ namespace Konversation - else if (message.startsWith(commandChar+"me")) - { - result.toServer = "PRIVMSG " + recipient + " :" + '\x01' + "ACTION " + message.mid(4) + '\x01'; -- output = TQString("* %1 %2").tqarg(myNick).tqarg(message.mid(4)); -+ output = TQString("* %1 %2").arg(myNick).arg(message.mid(4)); - } - else - { -@@ -763,13 +763,13 @@ namespace Konversation - if (request == "PING") - { - unsigned int time_t = TQDateTime::currentDateTime().toTime_t(); -- result.toServer = TQString("PRIVMSG %1 :\x01PING %2\x01").tqarg(recipient).tqarg(time_t); -- result.output = i18n("Sending CTCP-%1 request to %2.").tqarg("PING").tqarg(recipient); -+ result.toServer = TQString("PRIVMSG %1 :\x01PING %2\x01").arg(recipient).arg(time_t); -+ result.output = i18n("Sending CTCP-%1 request to %2.").arg("PING").arg(recipient); - } - else - { - result.toServer = "PRIVMSG " + recipient + " :" + '\x01' + out + '\x01'; -- result.output = i18n("Sending CTCP-%1 request to %2.").tqarg(out).tqarg(recipient); -+ result.output = i18n("Sending CTCP-%1 request to %2.").arg(out).arg(recipient); - } - - result.typeString = i18n("CTCP"); -@@ -863,7 +863,7 @@ namespace Konversation - else if(parameterList.count()>2) - { - // TODO: make sure this will work: -- //output=i18n("Usage: %1DCC SEND nickname [fi6lename] [filename] ...").tqarg(commandChar); -+ //output=i18n("Usage: %1DCC SEND nickname [fi6lename] [filename] ...").arg(commandChar); - KURL fileURL(parameterList[2]); - - //We could easily check if the remote file exists, but then we might -@@ -874,12 +874,12 @@ namespace Konversation - } - else - { -- result = error(i18n("File \"%1\" does not exist.").tqarg(parameterList[2])); -+ result = error(i18n("File \"%1\" does not exist.").arg(parameterList[2])); - } - } - else // Don't know how this should happen, but ... - { -- result = usage(i18n("Usage: %1DCC [SEND nickname filename]").tqarg(commandChar)); -+ result = usage(i18n("Usage: %1DCC [SEND nickname filename]").arg(commandChar)); - } - } - // TODO: DCC Chat etc. comes here -@@ -891,12 +891,12 @@ namespace Konversation - } - else - { -- result = usage(i18n("Usage: %1DCC [CHAT nickname]").tqarg(commandChar)); -+ result = usage(i18n("Usage: %1DCC [CHAT nickname]").arg(commandChar)); - } - } - else - { -- result = error(i18n("Unrecognized command %1DCC %2. Possible commands are SEND, CHAT, CLOSE.").tqarg(commandChar).tqarg(parameterList[0])); -+ result = error(i18n("Unrecognized command %1DCC %2. Possible commands are SEND, CHAT, CLOSE.").arg(commandChar).arg(parameterList[0])); - } - } - -@@ -993,7 +993,7 @@ namespace Konversation - - if(parameter.isEmpty()) - { -- result = usage(i18n("Usage: %1INVITE [channel]").tqarg(commandChar)); -+ result = usage(i18n("Usage: %1INVITE [channel]").arg(commandChar)); - } - else - { -@@ -1008,7 +1008,7 @@ namespace Konversation - } - else - { -- result = error(i18n("%1INVITE without channel name works only from within channels.").tqarg(commandChar)); -+ result = error(i18n("%1INVITE without channel name works only from within channels.").arg(commandChar)); - } - } - -@@ -1020,7 +1020,7 @@ namespace Konversation - } - else - { -- result = error(i18n("%1 is not a channel.").tqarg(channel)); -+ result = error(i18n("%1 is not a channel.").arg(channel)); - } - } - } -@@ -1034,7 +1034,7 @@ namespace Konversation - - if(parameter.isEmpty()) - { -- result = usage(i18n("Usage: %1EXEC