diff --git a/dist/deb/qt/libqt5-opensource-5.14.2-minimal-static.dsc b/dist/deb/qt/libqt5-opensource-5.14.2-minimal-static.dsc new file mode 100644 index 0000000..0f1436c --- /dev/null +++ b/dist/deb/qt/libqt5-opensource-5.14.2-minimal-static.dsc @@ -0,0 +1,10 @@ +Format: 3.0 (quilt) +Source: libqt5-opensource-5.14.2-minimal-static +Binary: libqt5-opensource-5.14.2-minimal-static +Architecture: any +Version: 5.14.2-1 +Maintainer: Maxime Rijnders +Build-Depends: debhelper (>= 4.1.16), libfontconfig1-dev, libfreetype6-dev, libssl-dev, libx11-dev, libxcb1-dev, libx11-xcb-dev, libxcb-xkb-dev, libxkbcommon-dev, libxkbcommon-x11-dev, libxcursor-dev +Files: + b3d2b6d00e6ca8a8ede6d1c9bdc74daf 549205340 libqt5-opensource-5.14.2-minimal-static_5.14.2.orig.tar.xz + d08c8e2867f1e4e30662261f9f61402a 2084 libqt5-opensource-5.14.2-minimal-static_5.14.2-1.debian.tar.xz diff --git a/dist/deb/qt/libqt5-opensource-5.14.2-minimal-static_5.14.2-1.debian.tar.xz b/dist/deb/qt/libqt5-opensource-5.14.2-minimal-static_5.14.2-1.debian.tar.xz new file mode 100644 index 0000000..c3d314f Binary files /dev/null and b/dist/deb/qt/libqt5-opensource-5.14.2-minimal-static_5.14.2-1.debian.tar.xz differ diff --git a/dist/deb/qt/libqt5-opensource-5.14.2-minimal.dsc b/dist/deb/qt/libqt5-opensource-5.14.2-minimal.dsc new file mode 100644 index 0000000..a79b597 --- /dev/null +++ b/dist/deb/qt/libqt5-opensource-5.14.2-minimal.dsc @@ -0,0 +1,10 @@ +Format: 3.0 (quilt) +Source: libqt5-opensource-5.14.2-minimal +Binary: libqt5-opensource-5.14.2-minimal +Architecture: any +Version: 5.14.2-1 +Maintainer: Maxime Rijnders +Build-Depends: debhelper (>= 4.1.16), libfontconfig1-dev, libfreetype6-dev, libssl-dev, libx11-dev, libxcb1-dev, libx11-xcb-dev, libxcb-xkb-dev, libxkbcommon-dev, libxkbcommon-x11-dev, libxcursor-dev +Files: + b3d2b6d00e6ca8a8ede6d1c9bdc74daf 549205340 libqt5-opensource-5.14.2-minimal_5.14.2.orig.tar.xz + ec525ca0bb568caa6674d68dd318b362 2076 libqt5-opensource-5.14.2-minimal_5.14.2-1.debian.tar.xz diff --git a/dist/deb/qt/libqt5-opensource-5.14.2-minimal_5.14.2-1.debian.tar.xz b/dist/deb/qt/libqt5-opensource-5.14.2-minimal_5.14.2-1.debian.tar.xz new file mode 100644 index 0000000..5bad256 Binary files /dev/null and b/dist/deb/qt/libqt5-opensource-5.14.2-minimal_5.14.2-1.debian.tar.xz differ diff --git a/dist/rpm/qt/_constraints b/dist/rpm/qt/_constraints new file mode 100644 index 0000000..9a43b84 --- /dev/null +++ b/dist/rpm/qt/_constraints @@ -0,0 +1,11 @@ + + + + + 12 + + + 5000 + + + diff --git a/dist/rpm/qt/_multibuild b/dist/rpm/qt/_multibuild new file mode 100644 index 0000000..939ab02 --- /dev/null +++ b/dist/rpm/qt/_multibuild @@ -0,0 +1,3 @@ + + libqt5-opensource-5.14.2-minimal-static + diff --git a/dist/rpm/qt/_service b/dist/rpm/qt/_service new file mode 100644 index 0000000..fa8e975 --- /dev/null +++ b/dist/rpm/qt/_service @@ -0,0 +1,32 @@ + + + https://github.com/Ximi1970/systray-x.git + git + feature-static + 0~git%cd.%h + dist/rpm/qt/_constraints + dist/rpm/qt/_multibuild + dist/rpm/qt/libqt5-opensource-5.14.2-minimal.spec + dist/rpm/qt/libqt5-opensource-5.14.2-minimal.changes + dist/rpm/qt/libqt5-opensource-5.14.2-minimal-static.spec + dist/rpm/qt/libqt5-opensource-5.14.2-minimal-static.changes + dist/rpm/qt/qt-everywhere-src-5.14.2-fedora_shebang.diff + dist/rpm/qt/qt-everywhere-src-5.14.2-shebang.diff + dist/rpm/qt/rpmlintrc + dist/deb/qt/libqt5-opensource-5.14.2-minimal.dsc + dist/deb/qt/libqt5-opensource-5.14.2-minimal-static.dsc + dist/deb/qt/libqt5-opensource-5.14.2-minimal_5.14.2-1.debian.tar.xz + dist/deb/qt/libqt5-opensource-5.14.2-minimal-static_5.14.2-1.debian.tar.xz + + + https + download.qt.io + archive/qt/5.14/5.14.2/single/qt-everywhere-src-5.14.2.tar.xz + + + + *.tar + xz + + + diff --git a/dist/rpm/qt/libqt5-opensource-5.14.2-minimal-static.changes b/dist/rpm/qt/libqt5-opensource-5.14.2-minimal-static.changes new file mode 100644 index 0000000..e08d973 --- /dev/null +++ b/dist/rpm/qt/libqt5-opensource-5.14.2-minimal-static.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Mon May 25 21:22:00 UTC 2017 - ximi.obs@gmail.com + +- Initial packaging diff --git a/dist/rpm/qt/libqt5-opensource-5.14.2-minimal-static.spec b/dist/rpm/qt/libqt5-opensource-5.14.2-minimal-static.spec new file mode 100644 index 0000000..f2eb2d8 --- /dev/null +++ b/dist/rpm/qt/libqt5-opensource-5.14.2-minimal-static.spec @@ -0,0 +1,101 @@ +# +# spec file for package libqt5-opensource-xxx-minimal-static +# +%define license_type opensource +%define package_version %{nil} + + +Version: 5.14.2 +Name: libqt5-%{license_type}-%{version}-minimal-static + +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: fdupes + +BuildRequires: fontconfig-devel +%if 0%{?fedora_version} +BuildRequires: freetype-devel +BuildRequires: openssl-devel +%else +BuildRequires: freetype2-devel +BuildRequires: libopenssl-1_0_0-devel +%endif + +BuildRequires: libxcb-devel +BuildRequires: libxkbcommon-x11-devel + +BuildRequires: libX11-devel +BuildRequires: libXcursor-devel +#BuildRequires: -post-build-checks + +Url: http://qt-project.org/ +Summary: Qt is a cross-platform application and UI framework +License: GPL-2.0 or GPL-3.0 or LGPL-2.1 or LGPL-3.0 or GFDL-1.3 +Group: System/Libraries +Release: 0 +Source: qt-everywhere-src-%{version}%{package_version}.tar.xz +# to get mtime of file: +Source1: %{name}.changes +#Patch0: qt-everywhere-src-%{version}.diff +Patch10: qt-everywhere-src-%{version}-shebang.diff +%if 0%{?fedora_version} +Patch100: qt-everywhere-src-%{version}-fedora_shebang.diff +%endif +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Prefix: /usr + + +%define common_options -%{license_type} -confirm-license -prefix %{prefix}/Qt-%{license_type}-%{version}-static -libdir %{prefix}/Qt-%{license_type}-%{version}-static/%{_libdir} -no-rpath +%define lib_options -static -fontconfig -sql-sqlite -no-sql-odbc -system-freetype -qt-zlib -qt-libpng -qt-libjpeg -openssl-linked -qt-xcb +%define special_options -verbose +%define x11_options %{nil} +%define disable_options -no-compile-examples -nomake tests -nomake examples -no-opengl -no-feature-concurrent -no-feature-xml -no-feature-testlib -skip qt3d -skip qtactiveqt -skip qtandroidextras -skip qtcanvas3d -skip qtcharts -skip qtconnectivity -skip qtdatavis3d -skip qtdeclarative -skip qtdoc -skip qtgamepad -skip qtgraphicaleffects -skip qtimageformats -skip qtlocation -skip qtmacextras -skip qtmultimedia -skip qtnetworkauth -skip qtpurchasing -skip qtquickcontrols -skip qtquickcontrols2 -skip qtremoteobjects -skip qtscript -skip qtscxml -skip qtsensors -skip qtserialbus -skip qtserialport -skip qtsvg -skip qtspeech -skip qttools -skip qttranslations -skip qtvirtualkeyboard -skip qtwayland -skip qtwebchannel -skip qtwebsockets -skip qtwebview -skip qtwinextras -skip qtx11extras -skip qtxmlpatterns -skip qtwebengine + + +%description +Qt is a cross-platform application and UI framework. + +This packages contains the full toolkit. + + +%prep +%setup -q -n qt-everywhere-src-%{version} +#patch0 -p1 +%patch10 -p1 +# +%if 0%{?fedora_version} +%patch100 -p1 +%endif + + +%build +./configure %common_options %lib_options %special_options %x11_options %disable_options +make %{?jobs:-j %jobs} + + +%install +make INSTALL_ROOT=$RPM_BUILD_ROOT install + +find $RPM_BUILD_ROOT/%{prefix}/Qt-%{license_type}-%{version}-static -type f -name '*la' -print -exec perl -pi -e 's,-L%{_builddir}/\S+,,g' {} \; +find $RPM_BUILD_ROOT/%{prefix}/Qt-%{license_type}-%{version}-static -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," {} \; + +%fdupes $RPM_BUILD_ROOT/%{prefix}/Qt-%{license_type}-%{version}-static + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%post -p /sbin/ldconfig + + +%postun -p /sbin/ldconfig + + +%files +%defattr(-,root,root,755) +%doc README LICENSE.* +%{prefix}/Qt-%{license_type}-%{version}-static + + +%changelog diff --git a/dist/rpm/qt/libqt5-opensource-5.14.2-minimal.changes b/dist/rpm/qt/libqt5-opensource-5.14.2-minimal.changes new file mode 100644 index 0000000..e08d973 --- /dev/null +++ b/dist/rpm/qt/libqt5-opensource-5.14.2-minimal.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Mon May 25 21:22:00 UTC 2017 - ximi.obs@gmail.com + +- Initial packaging diff --git a/dist/rpm/qt/libqt5-opensource-5.14.2-minimal.spec b/dist/rpm/qt/libqt5-opensource-5.14.2-minimal.spec new file mode 100644 index 0000000..bf5052f --- /dev/null +++ b/dist/rpm/qt/libqt5-opensource-5.14.2-minimal.spec @@ -0,0 +1,101 @@ +# +# spec file for package libqt5-opensource-xxx-minimal +# +%define license_type opensource +%define package_version %{nil} + + +Version: 5.14.2 +Name: libqt5-%{license_type}-%{version}-minimal + +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: fdupes + +BuildRequires: fontconfig-devel +%if 0%{?fedora_version} +BuildRequires: freetype-devel +BuildRequires: openssl-devel +%else +BuildRequires: freetype2-devel +BuildRequires: libopenssl-1_0_0-devel +%endif + +BuildRequires: libxcb-devel +BuildRequires: libxkbcommon-x11-devel + +BuildRequires: libX11-devel +BuildRequires: libXcursor-devel +#BuildRequires: -post-build-checks + +Url: http://qt-project.org/ +Summary: Qt is a cross-platform application and UI framework +License: GPL-2.0 or GPL-3.0 or LGPL-2.1 or LGPL-3.0 or GFDL-1.3 +Group: System/Libraries +Release: 0 +Source: qt-everywhere-src-%{version}%{package_version}.tar.xz +# to get mtime of file: +Source1: %{name}.changes +#Patch0: qt-everywhere-src-%{version}.diff +Patch10: qt-everywhere-src-%{version}-shebang.diff +%if 0%{?fedora_version} +Patch100: qt-everywhere-src-%{version}-fedora_shebang.diff +%endif +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Prefix: /usr + + +%define common_options -%{license_type} -confirm-license -prefix %{prefix}/Qt-%{license_type}-%{version}-static -libdir %{prefix}/Qt-%{license_type}-%{version}-static/%{_libdir} -no-rpath +%define lib_options -fontconfig -sql-sqlite -no-sql-odbc -system-freetype -qt-zlib -qt-libpng -qt-libjpeg -openssl-linked -qt-xcb +%define special_options -verbose +%define x11_options %{nil} +%define disable_options -no-compile-examples -nomake tests -nomake examples -no-opengl -no-feature-concurrent -no-feature-xml -no-feature-testlib -skip qt3d -skip qtactiveqt -skip qtandroidextras -skip qtcanvas3d -skip qtcharts -skip qtconnectivity -skip qtdatavis3d -skip qtdeclarative -skip qtdoc -skip qtgamepad -skip qtgraphicaleffects -skip qtimageformats -skip qtlocation -skip qtmacextras -skip qtmultimedia -skip qtnetworkauth -skip qtpurchasing -skip qtquickcontrols -skip qtquickcontrols2 -skip qtremoteobjects -skip qtscript -skip qtscxml -skip qtsensors -skip qtserialbus -skip qtserialport -skip qtsvg -skip qtspeech -skip qttools -skip qttranslations -skip qtvirtualkeyboard -skip qtwayland -skip qtwebchannel -skip qtwebsockets -skip qtwebview -skip qtwinextras -skip qtx11extras -skip qtxmlpatterns -skip qtwebengine + + +%description +Qt is a cross-platform application and UI framework. + +This packages contains the full toolkit. + + +%prep +%setup -q -n qt-everywhere-src-%{version} +#patch0 -p1 +%patch10 -p1 +# +%if 0%{?fedora_version} +%patch100 -p1 +%endif + + +%build +./configure %common_options %lib_options %special_options %x11_options %disable_options +make %{?jobs:-j %jobs} + + +%install +make INSTALL_ROOT=$RPM_BUILD_ROOT install + +find $RPM_BUILD_ROOT/%{prefix}/Qt-%{license_type}-%{version}-static -type f -name '*la' -print -exec perl -pi -e 's,-L%{_builddir}/\S+,,g' {} \; +find $RPM_BUILD_ROOT/%{prefix}/Qt-%{license_type}-%{version}-static -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," {} \; + +%fdupes $RPM_BUILD_ROOT/%{prefix}/Qt-%{license_type}-%{version}-static + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%post -p /sbin/ldconfig + + +%postun -p /sbin/ldconfig + + +%files +%defattr(-,root,root,755) +%doc README LICENSE.* +%{prefix}/Qt-%{license_type}-%{version}-static + + +%changelog diff --git a/dist/rpm/qt/qt-everywhere-src-5.14.2-fedora_shebang.diff b/dist/rpm/qt/qt-everywhere-src-5.14.2-fedora_shebang.diff new file mode 100644 index 0000000..841c0c3 --- /dev/null +++ b/dist/rpm/qt/qt-everywhere-src-5.14.2-fedora_shebang.diff @@ -0,0 +1,27 @@ +diff -urN qt-everywhere-src-5.14.2.orig/qtbase/mkspecs/features/data/mac/objc_namespace.sh qt-everywhere-src-5.14.2/qtbase/mkspecs/features/data/mac/objc_namespace.sh +--- qt-everywhere-src-5.14.2.orig/qtbase/mkspecs/features/data/mac/objc_namespace.sh 2020-03-27 10:49:31.000000000 +0100 ++++ qt-everywhere-src-5.14.2/qtbase/mkspecs/features/data/mac/objc_namespace.sh 2020-05-31 12:11:40.399393824 +0200 +@@ -1,4 +1,4 @@ +-#!/bin/bash ++#!/usr/bin/bash + + ############################################################################# + ## +diff -urN qt-everywhere-src-5.14.2.orig/qtbase/mkspecs/features/uikit/device_destinations.sh qt-everywhere-src-5.14.2/qtbase/mkspecs/features/uikit/device_destinations.sh +--- qt-everywhere-src-5.14.2.orig/qtbase/mkspecs/features/uikit/device_destinations.sh 2020-03-27 10:49:31.000000000 +0100 ++++ qt-everywhere-src-5.14.2/qtbase/mkspecs/features/uikit/device_destinations.sh 2020-05-31 12:10:58.719661513 +0200 +@@ -1,4 +1,4 @@ +-#!/bin/bash ++#!/usr/bin/bash + + ############################################################################# + ## +diff -urN qt-everywhere-src-5.14.2.orig/qtbase/mkspecs/features/uikit/devices.py qt-everywhere-src-5.14.2/qtbase/mkspecs/features/uikit/devices.py +--- qt-everywhere-src-5.14.2.orig/qtbase/mkspecs/features/uikit/devices.py 2020-03-27 10:49:31.000000000 +0100 ++++ qt-everywhere-src-5.14.2/qtbase/mkspecs/features/uikit/devices.py 2020-05-31 12:09:44.742136970 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/python ++#!/usr/bin/python3 + + ############################################################################# + ## diff --git a/dist/rpm/qt/qt-everywhere-src-5.14.2-shebang.diff b/dist/rpm/qt/qt-everywhere-src-5.14.2-shebang.diff new file mode 100644 index 0000000..8bbc807 --- /dev/null +++ b/dist/rpm/qt/qt-everywhere-src-5.14.2-shebang.diff @@ -0,0 +1,18 @@ +diff -urN qt-everywhere-src-5.14.2.orig/qtbase/bin/fixqt4headers.pl qt-everywhere-src-5.14.2/qtbase/bin/fixqt4headers.pl +--- qt-everywhere-src-5.14.2.orig/qtbase/bin/fixqt4headers.pl 2020-03-27 10:49:31.000000000 +0100 ++++ qt-everywhere-src-5.14.2/qtbase/bin/fixqt4headers.pl 2020-05-31 12:12:53.325925775 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env perl ++#!/usr/bin/perl + ############################################################################# + ## + ## Copyright (C) 2016 The Qt Company Ltd. +diff -urN qt-everywhere-src-5.14.2.orig/qtbase/bin/syncqt.pl qt-everywhere-src-5.14.2/qtbase/bin/syncqt.pl +--- qt-everywhere-src-5.14.2.orig/qtbase/bin/syncqt.pl 2020-03-27 10:49:31.000000000 +0100 ++++ qt-everywhere-src-5.14.2/qtbase/bin/syncqt.pl 2020-05-31 12:12:27.715090101 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env perl ++#!/usr/bin/perl + ############################################################################# + ## + ## Copyright (C) 2016 The Qt Company Ltd. diff --git a/dist/rpm/qt/rpmlintrc b/dist/rpm/qt/rpmlintrc new file mode 100644 index 0000000..9583d74 --- /dev/null +++ b/dist/rpm/qt/rpmlintrc @@ -0,0 +1,2 @@ +addFilter("devel-file-in-non-devel-package .*") +addFilter("shlib-policy-name-error .*")