libqt5-qtwebkit
No description set
- Links to home:Beineri:opt:KDE:Qt5 / libqt5-qtbase
- Has a link diff
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:Beineri:opt:KDE:Qt5/libqt5-qtwebkit && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
_constraints | 0000000104 104 Bytes | |
build-qvfb-tool.diff | 0000000615 615 Bytes | |
libQtMultimedia5.changes | 0000001460 1.43 KB | |
libQtQuick1-5.changes | 0000001460 1.43 KB | |
libQtQuick5.changes | 0000001460 1.43 KB | |
libQtScript5.changes | 0000001460 1.43 KB | |
libQtSvg5.changes | 0000001460 1.43 KB | |
libQtV8-5.changes | 0000001460 1.43 KB | |
libQtWebKit5.changes | 0000001460 1.43 KB | |
libQtXmlPatterns5.changes | 0000001460 1.43 KB | |
libqt5-libtool-nodate.diff | 0000000490 490 Bytes | |
libqt5-qtbase.changes | 0000001460 1.43 KB | |
libqt5-qtbase.spec | 0000017040 16.6 KB | |
libqt5-qtdeclarative.spec | 0000009545 9.32 KB | |
libqt5-qtdeclarative.spec.in | 0000005515 5.39 KB | |
libqt5-qtdoc.changes | 0000001460 1.43 KB | |
libqt5-qtdoc.spec | 0000005978 5.84 KB | |
libqt5-qtdoc.spec.in | 0000001948 1.9 KB | |
libqt5-qtgraphicaleffects.changes | 0000001460 1.43 KB | |
libqt5-qtgraphicaleffects.spec | 0000005881 5.74 KB | |
libqt5-qtgraphicaleffects.spec.in | 0000001851 1.81 KB | |
libqt5-qtimageformats.changes | 0000001460 1.43 KB | |
libqt5-qtimageformats.spec | 0000006245 6.1 KB | |
libqt5-qtimageformats.spec.in | 0000002215 2.16 KB | |
libqt5-qtjsbackend.spec | 0000007001 6.84 KB | |
libqt5-qtjsbackend.spec.in | 0000002971 2.9 KB | |
libqt5-qtmultimedia.spec | 0000009074 8.86 KB | |
libqt5-qtmultimedia.spec.in | 0000005044 4.93 KB | |
libqt5-qtquick1.spec | 0000008513 8.31 KB | |
libqt5-qtquick1.spec.in | 0000004483 4.38 KB | |
libqt5-qtscript.spec | 0000007870 7.69 KB | |
libqt5-qtscript.spec.in | 0000003840 3.75 KB | |
libqt5-qtsvg.spec | 0000007181 7.01 KB | |
libqt5-qtsvg.spec.in | 0000003151 3.08 KB | |
libqt5-qttools.changes | 0000001460 1.43 KB | |
libqt5-qttools.spec | 0000010210 9.97 KB | |
libqt5-qttools.spec.in | 0000006180 6.04 KB | |
libqt5-qtwebkit-examples-and-demos.changes | 0000001460 1.43 KB | |
libqt5-qtwebkit-examples-and-demos.spec | 0000005941 5.8 KB | |
libqt5-qtwebkit-examples-and-demos.spec.in | 0000001911 1.87 KB | |
libqt5-qtwebkit.spec | 0000009083 8.87 KB | |
libqt5-qtwebkit.spec.in | 0000005053 4.93 KB | |
libqt5-qtxmlpatterns.spec | 0000007331 7.16 KB | |
libqt5-qtxmlpatterns.spec.in | 0000003301 3.22 KB | |
link-tools-shared.diff | 0000008217 8.02 KB | |
no-Werror-rpath.diff | 0000000958 958 Bytes | |
opt-assistant.png | 0000002353 2.3 KB | |
opt-assistant5.desktop | 0000000235 235 Bytes | |
opt-designer.png | 0000000324 324 Bytes | |
opt-designer5.desktop | 0000000265 265 Bytes | |
opt-linguist.png | 0000001936 1.89 KB | |
opt-linguist5.desktop | 0000000263 263 Bytes | |
opt-qt5config.desktop | 0000000187 187 Bytes | |
plastik-default.diff | 0000002730 2.67 KB | |
pre_checkin.sh | 0000001468 1.43 KB | |
qfatal-noreturn.diff | 0000000346 346 Bytes | |
qmake-add-usr-include.diff | 0000000633 633 Bytes | |
qt-5.0-env.sh | 0000000415 415 Bytes | |
qt-debug-timer.diff | 0000001327 1.3 KB | |
qt-everywhere-opensource-src-5.0.2.tar.xz | 0172800940 165 MB | |
qt-never-strip.diff | 0000000795 795 Bytes | |
qt5-fake-bold.patch | 0000008512 8.31 KB | |
qt_lt.ts | 0000211204 206 KB | |
rcc-stable-dirlisting.diff | 0000003062 2.99 KB | |
rpmlintrc | 0000000063 63 Bytes | |
system-pcre.diff | 0000000538 538 Bytes | |
use-cups-default-print-settings-bnc552218.diff | 0000002881 2.81 KB | |
use-freetype-default-legacy.diff | 0000000774 774 Bytes | |
use-freetype-default.diff | 0000001390 1.36 KB |
Revision 9 (latest revision is 14)
Stephan Binner (Beineri)
committed
(revision 9)
hange mem check -This line, and those below, will be ignored-- A libqt5-qtwebkit.spec Diff for working copy: . Index: libqt5-qtwebkit.spec =================================================================== --- libqt5-qtwebkit.spec (revision 0) +++ libqt5-qtwebkit.spec (revision 0) @@ -0,0 +1,241 @@ +# +# spec file for package libqt5-qtwebkit +# +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +%define _prefix /opt/qt-5.0 +%define packageprefix opt- + +Name: %{packageprefix}libQtWebKitWidgets5 +# COMMON-VERSION-BEGIN +# COMMON-VERSION-BEGIN +Version: 5.0.1 +Release: 0 +%define base_name %{packageprefix}libqt5 +%define real_version 5.0.1 +%define tar_version everywhere-opensource-src-%{real_version} +# COMMON-VERSION-END +# COMMON-VERSION-END +BuildRequires: %{packageprefix}libQtScript-devel +BuildRequires: %{packageprefix}libQtQuick-private-headers-devel +BuildRequires: gstreamer-0_10-plugins-base-devel +BuildRequires: libicu-devel +BuildRequires: libxslt-devel +BuildRequires: ruby +BuildRequires: flex +BuildRequires: bison +BuildRequires: gperf +BuildRequires: python-xml +BuildRequires: procps +BuildRequires: xz +Url: http://qt.digia.com +Summary: Qt 5 WebKit Library +License: SUSE-LGPL-2.1-with-nokia-exception-1.1 or GPL-3.0 +Group: Development/Libraries/X11 +Provides: %{packageprefix}libQtWebKit5 = 4.99.0+4.5.0.beta2 +Obsoletes: %{packageprefix}libQtWebKit5 <= 4.99.0+4.5.0.beta2 +# COMMON-BEGIN +# COMMON-BEGIN +Source: qt-%{tar_version}.tar.xz +# to get mtime of file: +Source1: libqt5-qtbase.changes +Source10: %{packageprefix}qt5config.desktop +Source11: %{packageprefix}designer5.desktop +Source12: %{packageprefix}linguist5.desktop +Source13: %{packageprefix}assistant5.desktop +Source14: %{packageprefix}assistant.png +Source15: %{packageprefix}designer.png +Source16: %{packageprefix}linguist.png +Source17: qt-5.0-env.sh +Patch2: qt-never-strip.diff +Patch3: plastik-default.diff +Patch6: use-freetype-default.diff +Patch1006: use-freetype-default-legacy.diff +Patch8: link-tools-shared.diff +Patch61: qt5-fake-bold.patch +Patch75: qt-debug-timer.diff +Patch87: qfatal-noreturn.diff +Patch109: libqt5-libtool-nodate.diff +Patch118: rcc-stable-dirlisting.diff +Patch123: use-cups-default-print-settings-bnc552218.diff +Patch128: build-qvfb-tool.diff +Patch129: system-pcre.diff +Patch130: no-Werror-rpath.diff +Patch131: qmake-add-usr-include.diff + +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if %suse_version > 1140 + %define common_options -accessibility --opensource -no-separate-debug-info -shared -xkb -xrender -xcursor -dbus-linked -xfixes -xrandr -xinerama -sm -no-rpath -system-libjpeg -openssl-linked -system-libpng -cups -nis -system-zlib -prefix %_prefix -L %_libdir -libdir %_libdir -docdir %_docdir/%{base_name} -examplesdir %_libdir/qt5/examples -plugindir %plugindir -translationdir %_datadir/qt5/translations -iconv -sysconfdir /etc/settings -datadir %_datadir/qt5/ -no-pch -reduce-relocations -glib -optimized-qmake -system-sqlite -no-sql-mysql -importdir %plugindir/imports -xsync -xinput -gtkstyle --no-largefile -javascript-jit -xcb -no-eglfs -opengl -hostdatadir %_libdir/qt5 -qmldir %_libdir/qt5/qml +%else + %define common_options --opensource -no-separate-debug-info -shared -xkb -xrender -xcursor -dbus-linked -xfixes -xrandr -xinerama -sm -no-rpath -system-libjpeg -openssl-linked -system-libpng -cups -nis -system-zlib -prefix %_prefix -L %_libdir -libdir %_libdir -docdir %_docdir/%{base_name} -examplesdir %_libdir/qt5/examples -plugindir %plugindir -translationdir %_datadir/qt5/translations -iconv -sysconfdir /etc/settings -datadir %_datadir/qt5/ -no-pch -reduce-relocations -glib -optimized-qmake -system-sqlite -no-sql-mysql -importdir %plugindir/imports -xsync -xinput -gtkstyle --no-largefile -javascript-jit -xcb -no-eglfs -opengl -hostdatadir %_libdir/qt5 -qmldir %_libdir/qt5/qml +%endif +# disabled -largefile +%define check_config \ + grep '# define' src/corelib/global/qconfig.h | egrep -v 'QT_(ARCH|USE)'; \ + if test -f %_libdir/qt5/mkspecs/qconfig.pri ; then \ + diff -u %_libdir/qt5/mkspecs/qconfig.pri mkspecs/qconfig.pri || exit 1; \ + fi \ + +%description +Qt is a set of libraries for developing applications. + +This package contains base tools, like string, xml, and network +handling. + + + +%prep +%define plugindir %_libdir/qt5/plugins +%setup -q -n qt-everywhere-opensource-src-%{real_version} +%patch2 +### 50 rediff +#%patch3 +%if %suse_version > 1010 +### 50 rediff +#%patch6 +%else +### 50 rediff +#%patch1006 +%endif +#%patch129 +%patch130 +# needs rediffing +#%patch8 +# bnc#374073 comment #8 +# %patch61 +### 50 rediff +#%patch75 +### 50 rediff +#%patch87 +# ### 48 rediff +# %patch107 +%patch109 +# ### 48 rediff +# %patch113 +### 50 rediff +#%patch118 -p1 +### 50 rediff +#%patch123 +### 50 rediff +#%patch128 +# ### 47 rediff +#%patch121 -p1 +%patch131 + +# be sure not to use them +rm -r qtbase/src/3rdparty/{libjpeg,freetype,libpng,zlib} +#rm -r qtimageformats/src/3rdparty/{libtiff,libmng} +# COMMON-END +# COMMON-END + +%package -n %{packageprefix}libQtWebKitWidgets-devel +Summary: Qt Development Kit +Group: Development/Libraries/X11 +Requires: %name = %version +Requires: %{packageprefix}libQtScript-devel +Requires: %{packageprefix}libQtQuick-devel +Requires: gstreamer-0_10-plugins-base-devel +Requires: libicu-devel +Provides: %{packageprefix}libQtWebKit5-devel = 4.99.0+4.5.0.beta2 +Obsoletes: %{packageprefix}libQtWebKit5-devel <= 4.99.0+4.5.0.beta2 + +%description -n %{packageprefix}libQtWebKitWidgets-devel +You need this package, if you want to compile programs with qtwebkit. + +%package -n %{packageprefix}libQtWebKitWidgets-private-headers-devel +Summary: Non-ABI stable experimental API +Group: Development/Libraries/C and C++ +Requires: %{packageprefix}libQtWebKitWidgets-devel = %version +Requires: %{packageprefix}libQtQuick-private-headers-devel +Provides: %{packageprefix}libQtWebKit5-private-headers-devel = 4.99.0+4.5.0.beta2 +Obsoletes: %{packageprefix}libQtWebKit5-private-headers-devel <= 4.99.0+4.5.0.beta2 + +%description -n %{packageprefix}libQtWebKitWidgets-private-headers-devel +This package provides private headers of libqt5-qtwebkit that are normally +not used by application development and that do not have any ABI or +API guarantees. The packages that build against these have to require +the exact Qt version. + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%build +export QTDIR=`pwd`/qtbase +export PATH=$PATH:%{_prefix}/bin +export QMAKEPATH=`pwd`/qtwebkit/Tools/qmake +cd qtwebkit +%ifarch ppc64 + RPM_OPT_FLAGS="$RPM_OPT_FLAGS -mminimal-toc" +%endif +export CXXFLAGS="$CXXFLAGS $RPM_OPT_FLAGS -DOPENSSL_LOAD_CONF" +export CFLAGS="$CFLAGS $RPM_OPT_FLAGS -DOPENSSL_LOAD_CONF" +export LDFLAGS="$LDFLAGS -Wl,--reduce-memory-overheads -Wl,--no-keep-memory" +export MAKEFLAGS="-j 1" + +free -m +FREESPACE=`free -m | grep Mem | cut -c15-18` +if [ "$FREESPACE" -lt 1500 ]; then +echo not enough memory +exit 1 +fi + +qmake +make + +%install +cd qtwebkit +make INSTALL_ROOT=$RPM_BUILD_ROOT install +find $RPM_BUILD_ROOT/%_libdir -type f -name '*la' -print -exec perl -pi -e 's,-L%{_builddir}/\S+,,g' {} \; +find $RPM_BUILD_ROOT/%_libdir -type f -name '*pc' -print -exec perl -pi -e "s, -L$RPM_BUILD_DIR/?\S+,,g" {} \; -exec sed -i -e "s,^moc_location=.*,moc_location=%_bindir/moc," -e "s,uic_location=.*,uic_location=%_bindir/uic," {} \; + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,755) +%dir %_prefix/libexec +%_prefix/libexec/QtWebProcess +%_prefix/libexec/QtWebPluginProcess +%_libdir/libQt5WebKit.so.* +%_libdir/libQt5WebKitWidgets.so.* +%_libdir/qt5/qml/QtWebKit + +%files -n %{packageprefix}libQtWebKitWidgets-private-headers-devel +%defattr(-,root,root,755) +%_includedir/QtWebKit/%{version} +%_includedir/QtWebKitWidgets/%{version} + +%files -n %{packageprefix}libQtWebKitWidgets-devel +%defattr(-,root,root,755) +%exclude %_includedir/QtWebKit/%{version} +%_includedir/QtWebKit +%_libdir/cmake/Qt5WebKit +%_libdir/libQt5WebKit.la +%_libdir/libQt5WebKit.prl +%_libdir/libQt5WebKit.so +%_libdir/pkgconfig/Qt5WebKit.pc +%_libdir/qt5/mkspecs/modules/qt_lib_webkit.pri + +%exclude %_includedir/QtWebKitWidgets/%{version} +%_includedir/QtWebKitWidgets +%_libdir/cmake/Qt5WebKitWidgets +%_libdir/libQt5WebKitWidgets.la +%_libdir/libQt5WebKitWidgets.prl +%_libdir/libQt5WebKitWidgets.so +%_libdir/pkgconfig/Qt5WebKitWidgets.pc +%_libdir/qt5/mkspecs/modules/qt_lib_webkitwidgets.pri + +%changelog
Comments 0