Mageia Bugzilla – Attachment 4429 Details for
Bug 11439
qtwebkit update to 2.3.3
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
qtwebkit.spec
qtwebkit.spec (text/x-rpm-spec), 4.67 KB, created by
David Walser
on 2013-10-11 04:48:35 CEST
(
hide
)
Description:
qtwebkit.spec
Filename:
MIME Type:
Creator:
David Walser
Created:
2013-10-11 04:48:35 CEST
Size:
4.67 KB
patch
obsolete
># Qt webkit git repository ># https://gitorious.org/+qt-developers/qt/webkit > >Name: qtwebkit >Summary: Qt WebKit bindings >Group: Development/KDE and Qt >Version: 2.3.3 >Release: %mkrel 1 >License: LGPLv2 with exceptions or GPLv3 with exceptions >URL: http://trac.webkit.org/wiki/QtWebKit ># Tarball was created using git and obtained from fedora ># git is used to create tarball because upstream tarball is around 500 megabytes ># and we're using just a small part of this to build package >Source0: %{name}-%{version}.tar.gz > ># smaller debuginfo s/-g/-g1/ (debian uses -gstabs) to avoid 4gb size limit >Patch3: qtwebkit-2.3-debuginfo.patch > ># tweak linker flags to minimize memory usage on "small" platforms >Patch4: qtwebkit-2.3-save_memory.patch > >## upstream patches >Patch102: 0002-Texmap-GTK-The-poster-circle-doesn-t-appear.patch >Patch103: 0003-Qt-Tiled-backing-store-not-clipped-to-frame-or-visib.patch >Patch104: 0004-Qt-Images-scaled-poorly-on-composited-canvas.patch >Patch105: 0005-Port-of-r118587-to-TextBreakIteratorQt.cpp.patch >patch106: 0006-JSC-ARM-traditional-failing-on-Octane-NavierStokes-t.patch >Patch107: 0007-Correct-range-used-for-Emoji-checks.patch >Patch108: 0008-Qt-RepaintRequested-signal-sometimes-not-emitted.patch >Patch109: 0009-TexMap-Remove-ParentChange-in-TextureMapperLayer.patch > >BuildRequires: bison >BuildRequires: chrpath >BuildRequires: flex >BuildRequires: gperf >BuildRequires: icu-devel >BuildRequires: jpeg-devel >BuildRequires: glib2-devel >BuildRequires: pkgconfig(fontconfig) >BuildRequires: pkgconfig(gstreamer-0.10) >BuildRequires: pkgconfig(gstreamer-app-0.10) >BuildRequires: pkgconfig(libpcre) >BuildRequires: pkgconfig(libpng) >BuildRequires: pkgconfig(libwebp) >BuildRequires: pkgconfig(libxslt) >BuildRequires: pkgconfig(phonon) >BuildRequires: pkgconfig(QtCore) < 5.0.0 >BuildRequires: pkgconfig(sqlite3) >BuildRequires: pkgconfig(xext) >BuildRequires: pkgconfig(xrender) >BuildRequires: perl(version) >BuildRequires: perl(Digest::MD5) >BuildRequires: qt-mobility-devel >BuildRequires: ruby > > >%description >Qt WebKit library is an open source web browser engine. > >#------------------------------------------------------------------------------ > >%define major 4 >%define api 2.3 >%define libname %mklibname %{name} %{api} %{major} >%define oldwebkit %mklibname qtwebkit 4 > >%package -n %{libname} >Summary: Qt Webkit 2.3 Library >Group: System/Libraries >Requires: qtwebkit-qmlplugin >Obsoletes: %{oldwebkit} < 4:4.7.4-6 > >%description -n %{libname} > >This package provides the runtime library for %{name}. > >%files -n %{libname} >%{_qt4_libdir}/libQtWebKit.so.%{major}* > >#------------------------------------------------------------------------------ > >%package -n qtwebkit-qmlplugin >Summary: QML plugin for QtWebKit >Group: System/Libraries >Conflicts: %{libname} < 2.2.0-1 > >%description -n qtwebkit-qmlplugin > >This package provides the qml plugin for QtWebKit. > >%files -n qtwebkit-qmlplugin >%{_qt4_importdir}/QtWebKit/ > >#------------------------------------------------------------------------------ > >%define libnamedev %mklibname %{name} %{api} -d >%define oldwebkitdevel %mklibname qt 4 -d > >%package -n %{libnamedev} >Summary: Qt Webkit 2.3 Development Files >Group: Development/KDE and Qt >Requires: %{libname} = %{version}-%{release} >Requires: qt4-devel >Requires: qt-mobility-devel >Provides: %{name}-devel = %{version}-%{release} >Conflicts: %{oldwebkitdevel} < 4:4.7.4-6 > > >%description -n %{libnamedev} >Development files to build applications against Qt Webkit 2.3.x > >%files -n %{libnamedev} >%{_qt4_datadir}/mkspecs/modules/qt_webkit.pri >%{_qt4_includedir}/QtWebKit/ >%{_qt4_libdir}/libQtWebKit.prl >%{_qt4_libdir}/libQtWebKit.so >%{_qt4_libdir}/pkgconfig/QtWebKit.pc > >#------------------------------------------------------------------------------ > >%prep >%setup -q -n webkit-qtwebkit-23/ >%apply_patches > >%build >PATH="%{_qt4_bindir}:$PATH"; export PATH >QTDIR=%{_qt4_prefix}; export QTDIR > >Tools/Scripts/build-webkit \ > --qt \ > --release \ > --3d-rendering \ > --qmakearg="CONFIG+=production_build DEFINES+=HAVE_LIBWEBP=1" \ > --makeargs="%{_smp_mflags}" \ >%ifarch %{ix86} > --no-force-sse2 >%endif > >%install >%makeinstall -C WebKitBuild/Release INSTALL_ROOT=%{buildroot} > ># Remove rpath >chrpath --list %{buildroot}%{_qt4_libdir}/libQtWebKit.so.4.10.? ||: >chrpath --delete %{buildroot}%{_qt4_libdir}/libQtWebKit.so.4.10.? ||: > >## pkgconfig love ># drop Libs.private, it contains buildroot references, and ># we don't support static linking libQtWebKit anyway >pushd %{buildroot}%{_libdir}/pkgconfig >grep -v "^Libs.private:" QtWebKit.pc > QtWebKit.pc.new && \ >mv QtWebKit.pc.new QtWebKit.pc >popd
# Qt webkit git repository # https://gitorious.org/+qt-developers/qt/webkit Name: qtwebkit Summary: Qt WebKit bindings Group: Development/KDE and Qt Version: 2.3.3 Release: %mkrel 1 License: LGPLv2 with exceptions or GPLv3 with exceptions URL: http://trac.webkit.org/wiki/QtWebKit # Tarball was created using git and obtained from fedora # git is used to create tarball because upstream tarball is around 500 megabytes # and we're using just a small part of this to build package Source0: %{name}-%{version}.tar.gz # smaller debuginfo s/-g/-g1/ (debian uses -gstabs) to avoid 4gb size limit Patch3: qtwebkit-2.3-debuginfo.patch # tweak linker flags to minimize memory usage on "small" platforms Patch4: qtwebkit-2.3-save_memory.patch ## upstream patches Patch102: 0002-Texmap-GTK-The-poster-circle-doesn-t-appear.patch Patch103: 0003-Qt-Tiled-backing-store-not-clipped-to-frame-or-visib.patch Patch104: 0004-Qt-Images-scaled-poorly-on-composited-canvas.patch Patch105: 0005-Port-of-r118587-to-TextBreakIteratorQt.cpp.patch patch106: 0006-JSC-ARM-traditional-failing-on-Octane-NavierStokes-t.patch Patch107: 0007-Correct-range-used-for-Emoji-checks.patch Patch108: 0008-Qt-RepaintRequested-signal-sometimes-not-emitted.patch Patch109: 0009-TexMap-Remove-ParentChange-in-TextureMapperLayer.patch BuildRequires: bison BuildRequires: chrpath BuildRequires: flex BuildRequires: gperf BuildRequires: icu-devel BuildRequires: jpeg-devel BuildRequires: glib2-devel BuildRequires: pkgconfig(fontconfig) BuildRequires: pkgconfig(gstreamer-0.10) BuildRequires: pkgconfig(gstreamer-app-0.10) BuildRequires: pkgconfig(libpcre) BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(libwebp) BuildRequires: pkgconfig(libxslt) BuildRequires: pkgconfig(phonon) BuildRequires: pkgconfig(QtCore) < 5.0.0 BuildRequires: pkgconfig(sqlite3) BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xrender) BuildRequires: perl(version) BuildRequires: perl(Digest::MD5) BuildRequires: qt-mobility-devel BuildRequires: ruby %description Qt WebKit library is an open source web browser engine. #------------------------------------------------------------------------------ %define major 4 %define api 2.3 %define libname %mklibname %{name} %{api} %{major} %define oldwebkit %mklibname qtwebkit 4 %package -n %{libname} Summary: Qt Webkit 2.3 Library Group: System/Libraries Requires: qtwebkit-qmlplugin Obsoletes: %{oldwebkit} < 4:4.7.4-6 %description -n %{libname} This package provides the runtime library for %{name}. %files -n %{libname} %{_qt4_libdir}/libQtWebKit.so.%{major}* #------------------------------------------------------------------------------ %package -n qtwebkit-qmlplugin Summary: QML plugin for QtWebKit Group: System/Libraries Conflicts: %{libname} < 2.2.0-1 %description -n qtwebkit-qmlplugin This package provides the qml plugin for QtWebKit. %files -n qtwebkit-qmlplugin %{_qt4_importdir}/QtWebKit/ #------------------------------------------------------------------------------ %define libnamedev %mklibname %{name} %{api} -d %define oldwebkitdevel %mklibname qt 4 -d %package -n %{libnamedev} Summary: Qt Webkit 2.3 Development Files Group: Development/KDE and Qt Requires: %{libname} = %{version}-%{release} Requires: qt4-devel Requires: qt-mobility-devel Provides: %{name}-devel = %{version}-%{release} Conflicts: %{oldwebkitdevel} < 4:4.7.4-6 %description -n %{libnamedev} Development files to build applications against Qt Webkit 2.3.x %files -n %{libnamedev} %{_qt4_datadir}/mkspecs/modules/qt_webkit.pri %{_qt4_includedir}/QtWebKit/ %{_qt4_libdir}/libQtWebKit.prl %{_qt4_libdir}/libQtWebKit.so %{_qt4_libdir}/pkgconfig/QtWebKit.pc #------------------------------------------------------------------------------ %prep %setup -q -n webkit-qtwebkit-23/ %apply_patches %build PATH="%{_qt4_bindir}:$PATH"; export PATH QTDIR=%{_qt4_prefix}; export QTDIR Tools/Scripts/build-webkit \ --qt \ --release \ --3d-rendering \ --qmakearg="CONFIG+=production_build DEFINES+=HAVE_LIBWEBP=1" \ --makeargs="%{_smp_mflags}" \ %ifarch %{ix86} --no-force-sse2 %endif %install %makeinstall -C WebKitBuild/Release INSTALL_ROOT=%{buildroot} # Remove rpath chrpath --list %{buildroot}%{_qt4_libdir}/libQtWebKit.so.4.10.? ||: chrpath --delete %{buildroot}%{_qt4_libdir}/libQtWebKit.so.4.10.? ||: ## pkgconfig love # drop Libs.private, it contains buildroot references, and # we don't support static linking libQtWebKit anyway pushd %{buildroot}%{_libdir}/pkgconfig grep -v "^Libs.private:" QtWebKit.pc > QtWebKit.pc.new && \ mv QtWebKit.pc.new QtWebKit.pc popd
View Attachment As Raw
Actions:
View
Attachments on
bug 11439
: 4429