From 7dc7ba1feaf62c3b6bb5bb88de6abb36fbbfadef Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Fri, 25 Sep 2009 16:30:06 +0000 Subject: [PATCH 01/11] Initialize branch F-11 for webkitkde --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..25c7708 --- /dev/null +++ b/branch @@ -0,0 +1 @@ +F-11 From 10f2c020f1f60d58c83c568889d5c5c16263dca9 Mon Sep 17 00:00:00 2001 From: nucleo Date: Fri, 25 Sep 2009 16:49:13 +0000 Subject: [PATCH 02/11] Initial import webkitkde --- .cvsignore | 1 + import.log | 1 + sources | 1 + webkitkde.spec | 135 +++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 138 insertions(+) create mode 100644 import.log create mode 100644 webkitkde.spec diff --git a/.cvsignore b/.cvsignore index e69de29..478b7f1 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +webkitkde-0.0.1-svn.tar.bz2 diff --git a/import.log b/import.log new file mode 100644 index 0000000..991265a --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +webkitkde-0_0_1-0_1_20090924svn_fc11:F-11:webkitkde-0.0.1-0.1.20090924svn.fc11.src.rpm:1253897177 diff --git a/sources b/sources index e69de29..5779ee9 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +eccfb5d3f6c973f18b4b55cb01789756 webkitkde-0.0.1-svn.tar.bz2 diff --git a/webkitkde.spec b/webkitkde.spec new file mode 100644 index 0000000..1837e00 --- /dev/null +++ b/webkitkde.spec @@ -0,0 +1,135 @@ +Name: webkitkde +Version: 0.0.1 +Release: 0.1.20090924svn%{?dist} +Summary: QtWebKit bindings to KDE +Group: System Environment/Libraries +License: LGPLv2+ +URL: http://techbase.kde.org/Projects/WebKit + +# To create a tarball from svn use create_tarball.rb script +# +# http://websvn.kde.org/trunk/KDE/kdesdk/scripts/createtarball/ +# +# To use it you will need the script itself and a config.ini in the same directory +# config.ini contents: +# +# [webkitkde] +# mainmodule = playground +# submodule = libs +# kde_release = no +# version = 0.0.1-svn +# docs = no +# +# To create a new checkout use it with anonymous svn access +# ./create_tarball.rb -n -a webkitkde +# svn revision 1027811 +Source0: %{name}-%{version}-svn.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: cmake gettext +BuildRequires: kdelibs4-devel + +%description +This project aims to integrate WebKit (QtWebKit) into KDE. +The project is made up of the following components: +- WebKitKDE: The binding between KDE and QtWebKit +- WebKitPart: A KPart based on it +The WebKitKDE library sits on top of QtWebKit, providing +KDE integration (for example, WebActions using KDE icons +and shortcuts, downloading using KIO, etc). +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: kdelibs4-devel +Requires: %{name} = %{version}-%{release} + +%description devel +Development files for the %{name}. + +%package -n webkitpart +Summary: A KPart based on WebKitKDE library +Group: System Environment/Libraries +%description -n webkitpart +WebKitPart is a KPart that allows KPart-based applications, +for example Konqueror, to make use of WebKit for viewing +web pages. + +%package -n webkitpart-devel +Summary: Development files for webkitpart +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} +Requires: webkitpart = %{version}-%{release} +%description -n webkitpart-devel +Development files for the webkitpart. + +%prep +%setup -q -n %{name}-%{version}-svn + +%build +mkdir -p %{_target_platform} +pushd %{_target_platform} +%{cmake_kde4} .. +popd + +make %{?_smp_mflags} -C %{_target_platform} + +%install +rm -rf $RPM_BUILD_ROOT + +make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} + +%find_lang %{name} + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%post -n webkitpart +/sbin/ldconfig +touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null ||: + +%posttrans -n webkitpart +gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null ||: + +%postun -n webkitpart +/sbin/ldconfig +if [ $1 -eq 0 ] ; then + touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null ||: + gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null ||: +fi + +%files -f %{name}.lang +%defattr(-,root,root,-) +%doc README COPYING.LIB +%{_kde4_libdir}/libkdewebkit.so.* + +%files devel +%defattr(-,root,root,-) +%doc README +%{_kde4_includedir}/KDE/KdeWebKit +%{_kde4_includedir}/kdewebkit +%{_kde4_libdir}/libkdewebkit.so +%{_kde4_appsdir}/cmake/modules/FindKdeWebKit.cmake + +%files -n webkitpart +%defattr(-,root,root,-) +%doc README COPYING.LIB +%{_kde4_libdir}/kde4/webkitkdepart.so +%{_kde4_libdir}/libwebkitkde.so.* +%{_kde4_iconsdir}/hicolor/*/apps/webkit.png +%{_kde4_appsdir}/webkitpart +%{_kde4_datadir}/kde4/services/webkitpart.desktop + +%files -n webkitpart-devel +%defattr(-,root,root,-) +%doc README +%{_kde4_includedir}/KDE/WebKitPart +%{_kde4_includedir}/webkitkde +%{_kde4_libdir}/libwebkitkde.so +%{_kde4_appsdir}/cmake/modules/FindWebKitPart.cmake + +%changelog +* Thu Sep 24 2009 Alexey Kurov - 0.0.1-0.1.20090924svn +- Initial RPM release From 49360c6be7e71dbbf112b1a6b83f08b492bcee9f Mon Sep 17 00:00:00 2001 From: nucleo Date: Sun, 27 Sep 2009 17:32:41 +0000 Subject: [PATCH 03/11] webkitpart should owns kpartplugins --- webkitkde.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/webkitkde.spec b/webkitkde.spec index 1837e00..61b9459 100644 --- a/webkitkde.spec +++ b/webkitkde.spec @@ -1,6 +1,6 @@ Name: webkitkde Version: 0.0.1 -Release: 0.1.20090924svn%{?dist} +Release: 0.2.20090924svn%{?dist} Summary: QtWebKit bindings to KDE Group: System Environment/Libraries License: LGPLv2+ @@ -76,6 +76,7 @@ make %{?_smp_mflags} -C %{_target_platform} rm -rf $RPM_BUILD_ROOT make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} +mkdir $RPM_BUILD_ROOT%{_kde4_appsdir}/webkitpart/kpartplugins %find_lang %{name} @@ -131,5 +132,8 @@ fi %{_kde4_appsdir}/cmake/modules/FindWebKitPart.cmake %changelog +* Sun Sep 27 2009 Alexey Kurov - 0.0.1-0.2.20090924svn +- webkitpart should owns kpartplugins in webkitpart apps dir + * Thu Sep 24 2009 Alexey Kurov - 0.0.1-0.1.20090924svn - Initial RPM release From 232a18ece707cdf15ce66dfcb728f8b3d122d38d Mon Sep 17 00:00:00 2001 From: nucleo Date: Mon, 9 Nov 2009 14:45:01 +0000 Subject: [PATCH 04/11] snapshot 1046552 with new API --- sources | 2 +- webkitkde-remove-kdelauncher.patch | 10 ++++++++++ webkitkde.spec | 11 +++++++++-- 3 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 webkitkde-remove-kdelauncher.patch diff --git a/sources b/sources index 5779ee9..9deb4c6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -eccfb5d3f6c973f18b4b55cb01789756 webkitkde-0.0.1-svn.tar.bz2 +4718a0c0acceb4c0abcd5b570037ac9f webkitkde-0.0.1-svn.tar.bz2 diff --git a/webkitkde-remove-kdelauncher.patch b/webkitkde-remove-kdelauncher.patch new file mode 100644 index 0000000..0b4c3d3 --- /dev/null +++ b/webkitkde-remove-kdelauncher.patch @@ -0,0 +1,10 @@ +--- webkitkde-0.0.1-svn/CMakeLists.txt 2009-11-09 15:48:59.000000000 +0200 ++++ webkitkde-0.0.1-svn/CMakeLists.txt 2009-11-09 16:25:23.000000000 +0200 +@@ -14,7 +14,6 @@ + add_subdirectory(icons) + add_subdirectory(kdewebkit) + add_subdirectory(part) +-add_subdirectory(kdelauncher) + find_package(Msgfmt REQUIRED) + find_package(Gettext REQUIRED) + add_subdirectory( po ) diff --git a/webkitkde.spec b/webkitkde.spec index 61b9459..47f66ab 100644 --- a/webkitkde.spec +++ b/webkitkde.spec @@ -1,6 +1,6 @@ Name: webkitkde Version: 0.0.1 -Release: 0.2.20090924svn%{?dist} +Release: 0.6.20091109svn%{?dist} Summary: QtWebKit bindings to KDE Group: System Environment/Libraries License: LGPLv2+ @@ -22,8 +22,8 @@ URL: http://techbase.kde.org/Projects/WebKit # # To create a new checkout use it with anonymous svn access # ./create_tarball.rb -n -a webkitkde -# svn revision 1027811 Source0: %{name}-%{version}-svn.tar.bz2 +Patch0: webkitkde-remove-kdelauncher.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: cmake gettext BuildRequires: kdelibs4-devel @@ -63,6 +63,7 @@ Development files for the webkitpart. %prep %setup -q -n %{name}-%{version}-svn +%patch0 -p1 %build mkdir -p %{_target_platform} @@ -132,6 +133,12 @@ fi %{_kde4_appsdir}/cmake/modules/FindWebKitPart.cmake %changelog +* Mon Nov 9 2009 Alexey Kurov - 0.0.1-0.6.20091109svn +- removed kdelauncher from CMakeLists because it not installs + +* Mon Nov 9 2009 Alexey Kurov - 0.0.1-0.5.20091109svn +- snapshot 1046552 with new API + * Sun Sep 27 2009 Alexey Kurov - 0.0.1-0.2.20090924svn - webkitpart should owns kpartplugins in webkitpart apps dir From ee35cf11c93052590b6939227c760abbc05e8df9 Mon Sep 17 00:00:00 2001 From: nucleo Date: Mon, 9 Nov 2009 15:53:52 +0000 Subject: [PATCH 05/11] version changed to 0.0.2 for new API --- .cvsignore | 2 +- sources | 2 +- webkitkde.spec | 9 ++++++--- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.cvsignore b/.cvsignore index 478b7f1..7a4ce84 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -webkitkde-0.0.1-svn.tar.bz2 +webkitkde-0.0.2-svn.tar.bz2 diff --git a/sources b/sources index 9deb4c6..172f8b7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -4718a0c0acceb4c0abcd5b570037ac9f webkitkde-0.0.1-svn.tar.bz2 +a4a7e6bb355a15a21f2949986567e3c1 webkitkde-0.0.2-svn.tar.bz2 diff --git a/webkitkde.spec b/webkitkde.spec index 47f66ab..45c58ec 100644 --- a/webkitkde.spec +++ b/webkitkde.spec @@ -1,6 +1,6 @@ Name: webkitkde -Version: 0.0.1 -Release: 0.6.20091109svn%{?dist} +Version: 0.0.2 +Release: 0.1.20091109svn%{?dist} Summary: QtWebKit bindings to KDE Group: System Environment/Libraries License: LGPLv2+ @@ -17,7 +17,7 @@ URL: http://techbase.kde.org/Projects/WebKit # mainmodule = playground # submodule = libs # kde_release = no -# version = 0.0.1-svn +# version = 0.0.2-svn # docs = no # # To create a new checkout use it with anonymous svn access @@ -133,6 +133,9 @@ fi %{_kde4_appsdir}/cmake/modules/FindWebKitPart.cmake %changelog +* Mon Nov 9 2009 Alexey Kurov - 0.0.2-0.1.20091109svn +- version changed to 0.0.2 for new API + * Mon Nov 9 2009 Alexey Kurov - 0.0.1-0.6.20091109svn - removed kdelauncher from CMakeLists because it not installs From f420536e5fa8e4bcb830b0b08a22aff5bbf91260 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 26 Nov 2009 01:15:57 +0000 Subject: [PATCH 06/11] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f3656ef..6f594a5 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,10 @@ # Makefile for source rpm: webkitkde -# $Id$ +# $Id: Makefile,v 1.1 2009/09/25 16:30:04 kevin Exp $ NAME := webkitkde SPECFILE = $(firstword $(wildcard *.spec)) define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) From 644e4630ab547fc6c51bc293a17f5f4a08191d02 Mon Sep 17 00:00:00 2001 From: nucleo Date: Wed, 10 Feb 2010 14:58:52 +0000 Subject: [PATCH 07/11] build only for kdelibs >= 4.4.0 --- .cvsignore | 2 +- sources | 2 +- webkitkde-remove-kdelauncher.patch | 10 ---- webkitkde-svn1079265.patch | 48 +++++++++++++++++++ webkitkde.spec | 74 +++++++++++++++--------------- 5 files changed, 88 insertions(+), 48 deletions(-) delete mode 100644 webkitkde-remove-kdelauncher.patch create mode 100644 webkitkde-svn1079265.patch diff --git a/.cvsignore b/.cvsignore index 7a4ce84..549be18 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -webkitkde-0.0.2-svn.tar.bz2 +webkitkde-0.0.4-svn.tar.bz2 diff --git a/sources b/sources index 172f8b7..e98b3bf 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a4a7e6bb355a15a21f2949986567e3c1 webkitkde-0.0.2-svn.tar.bz2 +3c375f8e4255c6c168e0a8f629a41d09 webkitkde-0.0.4-svn.tar.bz2 diff --git a/webkitkde-remove-kdelauncher.patch b/webkitkde-remove-kdelauncher.patch deleted file mode 100644 index 0b4c3d3..0000000 --- a/webkitkde-remove-kdelauncher.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- webkitkde-0.0.1-svn/CMakeLists.txt 2009-11-09 15:48:59.000000000 +0200 -+++ webkitkde-0.0.1-svn/CMakeLists.txt 2009-11-09 16:25:23.000000000 +0200 -@@ -14,7 +14,6 @@ - add_subdirectory(icons) - add_subdirectory(kdewebkit) - add_subdirectory(part) --add_subdirectory(kdelauncher) - find_package(Msgfmt REQUIRED) - find_package(Gettext REQUIRED) - add_subdirectory( po ) diff --git a/webkitkde-svn1079265.patch b/webkitkde-svn1079265.patch new file mode 100644 index 0000000..c48c0dd --- /dev/null +++ b/webkitkde-svn1079265.patch @@ -0,0 +1,48 @@ +--- trunk/playground/libs/webkitkde/part/cmake/modules/FindWebKitPart.cmake 2009/11/24 06:55:18 1053443 ++++ trunk/playground/libs/webkitkde/part/cmake/modules/FindWebKitPart.cmake 2010/01/23 23:12:51 1079265 +@@ -5,10 +5,9 @@ + # WEBKITPART_INCLUDE_DIR - the WebKitPart include directory + # WEBKITPART_LIBRARIES - Link these to use WebKitPart + # WEBKITPART_DEFINITIONS - Compiler switches required for using WebKitPart ++# + # Redistribution and use is allowed according to the terms of the BSD license. + # For details see the accompanying COPYING-CMAKE-SCRIPTS file. +-# +- + + if ( WEBKITPART_INCLUDE_DIR AND WEBKITPART_LIBRARIES ) + # in cache already +@@ -17,7 +16,7 @@ + + # Little trick I found in FindKDE4Interal... If we're building WebKitPart, set the variables to point to the build directory. + if(webkitpart_SOURCE_DIR) +- set(WEBKITPART_LIBRARIES webkitkpart) ++ set(WEBKITPART_LIBRARIES kwebkitpart) + set(WEBKITPART_INCLUDE_DIR ${CMAKE_SOURCE_DIR}) + endif(webkitpart_SOURCE_DIR) + +@@ -25,18 +24,15 @@ + # in the FIND_PATH() and FIND_LIBRARY() calls + if( NOT WIN32 ) + find_package(PkgConfig) +- + pkg_check_modules(PC_WEBKITPART kwebkitpart) +- + set(PCRE_DEFINITIONS ${PC_WEBKITPART_CFLAGS_OTHER}) + endif( NOT WIN32 ) + +-FIND_PATH(WEBKITPART_INCLUDE_DIR NAMES webkitpart.h ++FIND_PATH(WEBKITPART_INCLUDE_DIR NAMES kwebkitpart.h + PATHS + ${PC_WEBKITPART_INCLUDEDIR} + ${PC_WEBKITPART_INCLUDE_DIRS} + ${KDE4_INCLUDE_INSTALL_DIR} +- PATH_SUFFIXES webkitkde + ) + + FIND_LIBRARY(WEBKITPART_LIBRARIES NAMES kwebkit +@@ -51,4 +47,3 @@ + + # show the WEBKITPART_INCLUDE_DIR and WEBKITPART_LIBRARIES variables only in the advanced view + MARK_AS_ADVANCED(WEBKITPART_INCLUDE_DIR WEBKITPART_LIBRARIES) +- diff --git a/webkitkde.spec b/webkitkde.spec index 45c58ec..8706993 100644 --- a/webkitkde.spec +++ b/webkitkde.spec @@ -1,6 +1,6 @@ Name: webkitkde -Version: 0.0.2 -Release: 0.1.20091109svn%{?dist} +Version: 0.0.4 +Release: 0.3.svn1079265%{?dist} Summary: QtWebKit bindings to KDE Group: System Environment/Libraries License: LGPLv2+ @@ -17,16 +17,17 @@ URL: http://techbase.kde.org/Projects/WebKit # mainmodule = playground # submodule = libs # kde_release = no -# version = 0.0.2-svn +# version = 0.0.4-svn # docs = no # # To create a new checkout use it with anonymous svn access # ./create_tarball.rb -n -a webkitkde Source0: %{name}-%{version}-svn.tar.bz2 -Patch0: webkitkde-remove-kdelauncher.patch +Patch0: webkitkde-svn1079265.patch +Patch1: webkitkde-remove-kdelauncher.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: cmake gettext -BuildRequires: kdelibs4-devel +BuildRequires: kdelibs4-devel >= 4.4.0 %description This project aims to integrate WebKit (QtWebKit) into KDE. @@ -36,18 +37,11 @@ The project is made up of the following components: The WebKitKDE library sits on top of QtWebKit, providing KDE integration (for example, WebActions using KDE icons and shortcuts, downloading using KIO, etc). -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Requires: kdelibs4-devel -Requires: %{name} = %{version}-%{release} - -%description devel -Development files for the %{name}. %package -n webkitpart Summary: A KPart based on WebKitKDE library Group: System Environment/Libraries +Requires: %{name} = %{version}-%{release} %description -n webkitpart WebKitPart is a KPart that allows KPart-based applications, for example Konqueror, to make use of WebKit for viewing @@ -56,14 +50,15 @@ web pages. %package -n webkitpart-devel Summary: Development files for webkitpart Group: Development/Libraries -Requires: %{name}-devel = %{version}-%{release} +Requires: kdelibs4-devel Requires: webkitpart = %{version}-%{release} %description -n webkitpart-devel Development files for the webkitpart. %prep %setup -q -n %{name}-%{version}-svn -%patch0 -p1 +%patch0 -p4 +%patch1 -p1 %build mkdir -p %{_target_platform} @@ -77,17 +72,13 @@ make %{?_smp_mflags} -C %{_target_platform} rm -rf $RPM_BUILD_ROOT make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} -mkdir $RPM_BUILD_ROOT%{_kde4_appsdir}/webkitpart/kpartplugins +#mkdir $RPM_BUILD_ROOT%{_kde4_appsdir}/webkitpart/kpartplugins %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig - %post -n webkitpart /sbin/ldconfig touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null ||: @@ -105,34 +96,45 @@ fi %files -f %{name}.lang %defattr(-,root,root,-) %doc README COPYING.LIB -%{_kde4_libdir}/libkdewebkit.so.* - -%files devel -%defattr(-,root,root,-) -%doc README -%{_kde4_includedir}/KDE/KdeWebKit -%{_kde4_includedir}/kdewebkit -%{_kde4_libdir}/libkdewebkit.so -%{_kde4_appsdir}/cmake/modules/FindKdeWebKit.cmake %files -n webkitpart %defattr(-,root,root,-) %doc README COPYING.LIB -%{_kde4_libdir}/kde4/webkitkdepart.so -%{_kde4_libdir}/libwebkitkde.so.* +%{_kde4_libdir}/kde4/kwebkitpart.so* +%{_kde4_libdir}/libkwebkit.so.* %{_kde4_iconsdir}/hicolor/*/apps/webkit.png -%{_kde4_appsdir}/webkitpart -%{_kde4_datadir}/kde4/services/webkitpart.desktop +%{_kde4_appsdir}/kwebkitpart +%{_kde4_datadir}/kde4/services/kwebkitpart.desktop %files -n webkitpart-devel %defattr(-,root,root,-) %doc README -%{_kde4_includedir}/KDE/WebKitPart -%{_kde4_includedir}/webkitkde -%{_kde4_libdir}/libwebkitkde.so +%{_kde4_includedir}/KDE/KWebKitPart +%{_kde4_includedir}/kwebkitpart.h +%{_kde4_includedir}/kwebkit_export.h +%{_kde4_libdir}/libkwebkit.so %{_kde4_appsdir}/cmake/modules/FindWebKitPart.cmake %changelog +* Wed Feb 10 2010 Alexey Kurov - 0.0.4-0.3.svn1079265 +- build only for kdelibs >= 4.4.0 + +* Sun Jan 24 2010 Alexey Kurov - 0.0.4-0.2.svn1079265 +- svn 1079265. Fixed the library and header file names. + +* Sat Jan 23 2010 Alexey Kurov - 0.0.4-0.1.svn1078162 +- svn 1078162 + +* Thu Dec 3 2009 Alexey Kurov - 0.0.3-0.2.svn1057318 +- svn 1057318 + +* Tue Nov 24 2009 Alexey Kurov - 0.0.3-0.1.svn1049337 +- version changed to 0.0.3 (kdewebkit moved to kdelibs 4.4) +- drop webkitkde-devel subpackage for KDE 4.4 + +* Wed Nov 18 2009 Rex Dieter - 0.0.2-0.2.20091109svn +- rebuild (qt-4.6.0-rc1, fc13+) + * Mon Nov 9 2009 Alexey Kurov - 0.0.2-0.1.20091109svn - version changed to 0.0.2 for new API From 1516717ad9bfd643e22cb02600444deb2f1e3c93 Mon Sep 17 00:00:00 2001 From: nucleo Date: Wed, 10 Feb 2010 14:59:28 +0000 Subject: [PATCH 08/11] don't build kdelauncher --- webkitkde-remove-kdelauncher.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 webkitkde-remove-kdelauncher.patch diff --git a/webkitkde-remove-kdelauncher.patch b/webkitkde-remove-kdelauncher.patch new file mode 100644 index 0000000..99be9e0 --- /dev/null +++ b/webkitkde-remove-kdelauncher.patch @@ -0,0 +1,10 @@ +--- webkitkde/CMakeLists.txt 2009-11-24 21:36:22.000000000 +0200 ++++ webkitkde/CMakeLists.txt 2009-11-24 21:47:10.000000000 +0200 +@@ -16,7 +16,6 @@ + add_subdirectory(kdewebkit) + endif(${KDE_VERSION} VERSION_LESS 4.3.74) + add_subdirectory(part) +-add_subdirectory(kdelauncher) + find_package(Msgfmt REQUIRED) + find_package(Gettext REQUIRED) + add_subdirectory( po ) From 2ec0afba6807822543a28cc346bb18586841de29 Mon Sep 17 00:00:00 2001 From: nucleo Date: Wed, 10 Feb 2010 18:52:18 +0000 Subject: [PATCH 09/11] update to kwebkitpart snapshot from kdereview --- .cvsignore | 2 +- sources | 2 +- webkitkde-remove-kdelauncher.patch | 15 ++++------ webkitkde-svn1079265.patch | 48 ------------------------------ webkitkde.spec | 48 +++++++++++------------------- 5 files changed, 26 insertions(+), 89 deletions(-) delete mode 100644 webkitkde-svn1079265.patch diff --git a/.cvsignore b/.cvsignore index 549be18..bcce97a 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -webkitkde-0.0.4-svn.tar.bz2 +webkitkde-0.0.5-svn.tar.bz2 diff --git a/sources b/sources index e98b3bf..0665e7d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -3c375f8e4255c6c168e0a8f629a41d09 webkitkde-0.0.4-svn.tar.bz2 +f3517d9a109b483a8df8230d61cecd95 webkitkde-0.0.5-svn.tar.bz2 diff --git a/webkitkde-remove-kdelauncher.patch b/webkitkde-remove-kdelauncher.patch index 99be9e0..9174a16 100644 --- a/webkitkde-remove-kdelauncher.patch +++ b/webkitkde-remove-kdelauncher.patch @@ -1,10 +1,7 @@ ---- webkitkde/CMakeLists.txt 2009-11-24 21:36:22.000000000 +0200 -+++ webkitkde/CMakeLists.txt 2009-11-24 21:47:10.000000000 +0200 -@@ -16,7 +16,6 @@ - add_subdirectory(kdewebkit) - endif(${KDE_VERSION} VERSION_LESS 4.3.74) - add_subdirectory(part) +--- CMakeLists.txt 2010-01-30 18:04:51.000000000 +0200 ++++ CMakeLists.txt 2010-02-10 20:01:41.000000000 +0200 +@@ -8,4 +8,3 @@ + add_subdirectory(cmake) + add_subdirectory(icons) + add_subdirectory(src) -add_subdirectory(kdelauncher) - find_package(Msgfmt REQUIRED) - find_package(Gettext REQUIRED) - add_subdirectory( po ) diff --git a/webkitkde-svn1079265.patch b/webkitkde-svn1079265.patch deleted file mode 100644 index c48c0dd..0000000 --- a/webkitkde-svn1079265.patch +++ /dev/null @@ -1,48 +0,0 @@ ---- trunk/playground/libs/webkitkde/part/cmake/modules/FindWebKitPart.cmake 2009/11/24 06:55:18 1053443 -+++ trunk/playground/libs/webkitkde/part/cmake/modules/FindWebKitPart.cmake 2010/01/23 23:12:51 1079265 -@@ -5,10 +5,9 @@ - # WEBKITPART_INCLUDE_DIR - the WebKitPart include directory - # WEBKITPART_LIBRARIES - Link these to use WebKitPart - # WEBKITPART_DEFINITIONS - Compiler switches required for using WebKitPart -+# - # Redistribution and use is allowed according to the terms of the BSD license. - # For details see the accompanying COPYING-CMAKE-SCRIPTS file. --# -- - - if ( WEBKITPART_INCLUDE_DIR AND WEBKITPART_LIBRARIES ) - # in cache already -@@ -17,7 +16,7 @@ - - # Little trick I found in FindKDE4Interal... If we're building WebKitPart, set the variables to point to the build directory. - if(webkitpart_SOURCE_DIR) -- set(WEBKITPART_LIBRARIES webkitkpart) -+ set(WEBKITPART_LIBRARIES kwebkitpart) - set(WEBKITPART_INCLUDE_DIR ${CMAKE_SOURCE_DIR}) - endif(webkitpart_SOURCE_DIR) - -@@ -25,18 +24,15 @@ - # in the FIND_PATH() and FIND_LIBRARY() calls - if( NOT WIN32 ) - find_package(PkgConfig) -- - pkg_check_modules(PC_WEBKITPART kwebkitpart) -- - set(PCRE_DEFINITIONS ${PC_WEBKITPART_CFLAGS_OTHER}) - endif( NOT WIN32 ) - --FIND_PATH(WEBKITPART_INCLUDE_DIR NAMES webkitpart.h -+FIND_PATH(WEBKITPART_INCLUDE_DIR NAMES kwebkitpart.h - PATHS - ${PC_WEBKITPART_INCLUDEDIR} - ${PC_WEBKITPART_INCLUDE_DIRS} - ${KDE4_INCLUDE_INSTALL_DIR} -- PATH_SUFFIXES webkitkde - ) - - FIND_LIBRARY(WEBKITPART_LIBRARIES NAMES kwebkit -@@ -51,4 +47,3 @@ - - # show the WEBKITPART_INCLUDE_DIR and WEBKITPART_LIBRARIES variables only in the advanced view - MARK_AS_ADVANCED(WEBKITPART_INCLUDE_DIR WEBKITPART_LIBRARIES) -- diff --git a/webkitkde.spec b/webkitkde.spec index 8706993..6cf8713 100644 --- a/webkitkde.spec +++ b/webkitkde.spec @@ -1,30 +1,18 @@ Name: webkitkde -Version: 0.0.4 -Release: 0.3.svn1079265%{?dist} +Version: 0.0.5 +Release: 0.1.svn1088283%{?dist} Summary: QtWebKit bindings to KDE Group: System Environment/Libraries License: LGPLv2+ URL: http://techbase.kde.org/Projects/WebKit -# To create a tarball from svn use create_tarball.rb script -# -# http://websvn.kde.org/trunk/KDE/kdesdk/scripts/createtarball/ -# -# To use it you will need the script itself and a config.ini in the same directory -# config.ini contents: -# -# [webkitkde] -# mainmodule = playground -# submodule = libs -# kde_release = no -# version = 0.0.4-svn -# docs = no -# -# To create a new checkout use it with anonymous svn access -# ./create_tarball.rb -n -a webkitkde +# The source for this package was pulled from upstream's vcs. +# Use the following commands to generate the tarball: +# svn export -r 1088283 svn://anonsvn.kde.org/home/kde/trunk/kdereview/kwebkitpart webkitkde-0.0.5-svn +# tar -cjf webkitkde-0.0.5-svn.tar.bz2 webkitkde-0.0.5-svn + Source0: %{name}-%{version}-svn.tar.bz2 -Patch0: webkitkde-svn1079265.patch -Patch1: webkitkde-remove-kdelauncher.patch +Patch0: webkitkde-remove-kdelauncher.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: cmake gettext BuildRequires: kdelibs4-devel >= 4.4.0 @@ -32,9 +20,9 @@ BuildRequires: kdelibs4-devel >= 4.4.0 %description This project aims to integrate WebKit (QtWebKit) into KDE. The project is made up of the following components: -- WebKitKDE: The binding between KDE and QtWebKit -- WebKitPart: A KPart based on it -The WebKitKDE library sits on top of QtWebKit, providing +- kdewebkit: The binding between KDE and QtWebKit +- kwebkitpart: A KPart based on it +The kdewebkit library sits on top of QtWebKit, providing KDE integration (for example, WebActions using KDE icons and shortcuts, downloading using KIO, etc). @@ -43,7 +31,7 @@ Summary: A KPart based on WebKitKDE library Group: System Environment/Libraries Requires: %{name} = %{version}-%{release} %description -n webkitpart -WebKitPart is a KPart that allows KPart-based applications, +KWebKitPart is a KPart that allows KPart-based applications, for example Konqueror, to make use of WebKit for viewing web pages. @@ -57,8 +45,7 @@ Development files for the webkitpart. %prep %setup -q -n %{name}-%{version}-svn -%patch0 -p4 -%patch1 -p1 +%patch0 %build mkdir -p %{_target_platform} @@ -74,8 +61,6 @@ rm -rf $RPM_BUILD_ROOT make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} #mkdir $RPM_BUILD_ROOT%{_kde4_appsdir}/webkitpart/kpartplugins -%find_lang %{name} - %clean rm -rf $RPM_BUILD_ROOT @@ -93,7 +78,7 @@ if [ $1 -eq 0 ] ; then gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null ||: fi -%files -f %{name}.lang +%files %defattr(-,root,root,-) %doc README COPYING.LIB @@ -113,9 +98,12 @@ fi %{_kde4_includedir}/kwebkitpart.h %{_kde4_includedir}/kwebkit_export.h %{_kde4_libdir}/libkwebkit.so -%{_kde4_appsdir}/cmake/modules/FindWebKitPart.cmake +%{_kde4_appsdir}/cmake/modules/FindKWebKitPart.cmake %changelog +* Wed Feb 10 2010 Alexey Kurov - 0.0.5-0.1.svn1088283 +- update to kwebkitpart snapshot from kdereview + * Wed Feb 10 2010 Alexey Kurov - 0.0.4-0.3.svn1079265 - build only for kdelibs >= 4.4.0 From 8def6b2249b07a1c206ac4cdfbd3c451fde67e3f Mon Sep 17 00:00:00 2001 From: nucleo Date: Wed, 24 Mar 2010 19:31:19 +0000 Subject: [PATCH 10/11] drop webkitkde --- webkitkde.spec | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/webkitkde.spec b/webkitkde.spec index 6cf8713..20d69c7 100644 --- a/webkitkde.spec +++ b/webkitkde.spec @@ -1,6 +1,6 @@ Name: webkitkde Version: 0.0.5 -Release: 0.1.svn1088283%{?dist} +Release: 0.2.svn1088283%{?dist} Summary: QtWebKit bindings to KDE Group: System Environment/Libraries License: LGPLv2+ @@ -29,7 +29,6 @@ and shortcuts, downloading using KIO, etc). %package -n webkitpart Summary: A KPart based on WebKitKDE library Group: System Environment/Libraries -Requires: %{name} = %{version}-%{release} %description -n webkitpart KWebKitPart is a KPart that allows KPart-based applications, for example Konqueror, to make use of WebKit for viewing @@ -78,10 +77,6 @@ if [ $1 -eq 0 ] ; then gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null ||: fi -%files -%defattr(-,root,root,-) -%doc README COPYING.LIB - %files -n webkitpart %defattr(-,root,root,-) %doc README COPYING.LIB @@ -101,6 +96,10 @@ fi %{_kde4_appsdir}/cmake/modules/FindKWebKitPart.cmake %changelog +* Wed Mar 24 2010 Alexey Kurov - 0.0.5-0.2.svn1088283 +- drop webkitkde package +- removed Requires: webkitkde from webkitpart + * Wed Feb 10 2010 Alexey Kurov - 0.0.5-0.1.svn1088283 - update to kwebkitpart snapshot from kdereview From 59375d260b6a498abfe05c9e272e50f7dc66338e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 15:14:40 +0000 Subject: [PATCH 11/11] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- branch | 1 - import.log | 1 - 4 files changed, 23 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 branch delete mode 100644 import.log diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index 6f594a5..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: webkitkde -# $Id: Makefile,v 1.1 2009/09/25 16:30:04 kevin Exp $ -NAME := webkitkde -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/branch b/branch deleted file mode 100644 index 25c7708..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -F-11 diff --git a/import.log b/import.log deleted file mode 100644 index 991265a..0000000 --- a/import.log +++ /dev/null @@ -1 +0,0 @@ -webkitkde-0_0_1-0_1_20090924svn_fc11:F-11:webkitkde-0.0.1-0.1.20090924svn.fc11.src.rpm:1253897177