Remove unused packages and patches.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
f3b6c0e1cc
commit
8247636d21
|
@ -1,23 +0,0 @@
|
||||||
package=dbus
|
|
||||||
$(package)_version=1.8.6
|
|
||||||
$(package)_download_path=http://dbus.freedesktop.org/releases/dbus
|
|
||||||
$(package)_file_name=$(package)-$($(package)_version).tar.gz
|
|
||||||
$(package)_sha256_hash=eded83ca007b719f32761e60fd8b9ffd0f5796a4caf455b01b5a5ef740ebd23f
|
|
||||||
$(package)_dependencies=expat
|
|
||||||
|
|
||||||
define $(package)_set_vars
|
|
||||||
$(package)_config_opts=--disable-tests --disable-doxygen-docs --disable-xml-docs --disable-static --without-x
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_config_cmds
|
|
||||||
$($(package)_autoconf)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_build_cmds
|
|
||||||
$(MAKE) -C dbus libdbus-1.la
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_stage_cmds
|
|
||||||
$(MAKE) -C dbus DESTDIR=$($(package)_staging_dir) install-libLTLIBRARIES install-dbusincludeHEADERS install-nodist_dbusarchincludeHEADERS && \
|
|
||||||
$(MAKE) DESTDIR=$($(package)_staging_dir) install-pkgconfigDATA
|
|
||||||
endef
|
|
|
@ -1,21 +0,0 @@
|
||||||
package=expat
|
|
||||||
$(package)_version=2.1.0
|
|
||||||
$(package)_download_path=http://sourceforge.net/projects/expat/files/expat/$($(package)_version)
|
|
||||||
$(package)_file_name=$(package)-$($(package)_version).tar.gz
|
|
||||||
$(package)_sha256_hash=823705472f816df21c8f6aa026dd162b280806838bb55b3432b0fb1fcca7eb86
|
|
||||||
|
|
||||||
define $(package)_set_vars
|
|
||||||
$(package)_config_opts=--disable-static
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_config_cmds
|
|
||||||
$($(package)_autoconf)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_build_cmds
|
|
||||||
$(MAKE)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_stage_cmds
|
|
||||||
$(MAKE) DESTDIR=$($(package)_staging_dir) install
|
|
||||||
endef
|
|
|
@ -1,22 +0,0 @@
|
||||||
package=fontconfig
|
|
||||||
$(package)_version=2.11.1
|
|
||||||
$(package)_download_path=http://www.freedesktop.org/software/fontconfig/release/
|
|
||||||
$(package)_file_name=$(package)-$($(package)_version).tar.bz2
|
|
||||||
$(package)_sha256_hash=dc62447533bca844463a3c3fd4083b57c90f18a70506e7a9f4936b5a1e516a99
|
|
||||||
$(package)_dependencies=freetype expat
|
|
||||||
|
|
||||||
define $(package)_set_vars
|
|
||||||
$(package)_config_opts=--disable-docs --disable-static
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_config_cmds
|
|
||||||
$($(package)_autoconf)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_build_cmds
|
|
||||||
$(MAKE)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_stage_cmds
|
|
||||||
$(MAKE) DESTDIR=$($(package)_staging_dir) install
|
|
||||||
endef
|
|
|
@ -1,22 +0,0 @@
|
||||||
package=freetype
|
|
||||||
$(package)_version=2.5.3
|
|
||||||
$(package)_download_path=http://downloads.sourceforge.net/$(package)
|
|
||||||
$(package)_file_name=$(package)-$($(package)_version).tar.bz2
|
|
||||||
$(package)_sha256_hash=c0848b29d52ef3ca27ad92e08351f023c5e24ce8cea7d8fe69fc96358e65f75e
|
|
||||||
|
|
||||||
define $(package)_set_vars
|
|
||||||
$(package)_config_opts=--without-zlib --without-png --disable-static
|
|
||||||
$(package)_config_opts_linux=--with-pic
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_config_cmds
|
|
||||||
$($(package)_autoconf)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_build_cmds
|
|
||||||
$(MAKE)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_stage_cmds
|
|
||||||
$(MAKE) DESTDIR=$($(package)_staging_dir) install
|
|
||||||
endef
|
|
|
@ -1,23 +0,0 @@
|
||||||
package=libICE
|
|
||||||
$(package)_version=1.0.9
|
|
||||||
$(package)_download_path=http://xorg.freedesktop.org/releases/individual/lib/
|
|
||||||
$(package)_file_name=$(package)-$($(package)_version).tar.bz2
|
|
||||||
$(package)_sha256_hash=8f7032f2c1c64352b5423f6b48a8ebdc339cc63064af34d66a6c9aa79759e202
|
|
||||||
$(package)_dependencies=xtrans xproto
|
|
||||||
|
|
||||||
define $(package)_set_vars
|
|
||||||
$(package)_config_opts=--disable-static --disable-docs --disable-specs --without-xsltproc
|
|
||||||
$(package)_config_opts_linux=--with-pic
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_config_cmds
|
|
||||||
$($(package)_autoconf)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_build_cmds
|
|
||||||
$(MAKE)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_stage_cmds
|
|
||||||
$(MAKE) DESTDIR=$($(package)_staging_dir) install
|
|
||||||
endef
|
|
|
@ -1,23 +0,0 @@
|
||||||
package=libSM
|
|
||||||
$(package)_version=1.2.2
|
|
||||||
$(package)_download_path=http://xorg.freedesktop.org/releases/individual/lib/
|
|
||||||
$(package)_file_name=$(package)-$($(package)_version).tar.bz2
|
|
||||||
$(package)_sha256_hash=0baca8c9f5d934450a70896c4ad38d06475521255ca63b717a6510fdb6e287bd
|
|
||||||
$(package)_dependencies=xtrans xproto libICE
|
|
||||||
|
|
||||||
define $(package)_set_vars
|
|
||||||
$(package)_config_opts=--without-libuuid --without-xsltproc --disable-docs --disable-static
|
|
||||||
$(package)_config_opts_linux=--with-pic
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_config_cmds
|
|
||||||
$($(package)_autoconf)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_build_cmds
|
|
||||||
$(MAKE)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_stage_cmds
|
|
||||||
$(MAKE) DESTDIR=$($(package)_staging_dir) install
|
|
||||||
endef
|
|
|
@ -1,23 +0,0 @@
|
||||||
package=libX11
|
|
||||||
$(package)_version=1.6.2
|
|
||||||
$(package)_download_path=http://xorg.freedesktop.org/releases/individual/lib/
|
|
||||||
$(package)_file_name=$(package)-$($(package)_version).tar.bz2
|
|
||||||
$(package)_sha256_hash=2aa027e837231d2eeea90f3a4afe19948a6eb4c8b2bec0241eba7dbc8106bd16
|
|
||||||
$(package)_dependencies=libxcb xtrans xextproto xproto
|
|
||||||
|
|
||||||
define $(package)_set_vars
|
|
||||||
$(package)_config_opts=--disable-xkb --disable-static
|
|
||||||
$(package)_config_opts_linux=--with-pic
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_config_cmds
|
|
||||||
$($(package)_autoconf)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_build_cmds
|
|
||||||
$(MAKE)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_stage_cmds
|
|
||||||
$(MAKE) DESTDIR=$($(package)_staging_dir) install
|
|
||||||
endef
|
|
|
@ -1,23 +0,0 @@
|
||||||
package=libXau
|
|
||||||
$(package)_version=1.0.8
|
|
||||||
$(package)_download_path=http://xorg.freedesktop.org/releases/individual/lib/
|
|
||||||
$(package)_file_name=$(package)-$($(package)_version).tar.bz2
|
|
||||||
$(package)_sha256_hash=fdd477320aeb5cdd67272838722d6b7d544887dfe7de46e1e7cc0c27c2bea4f2
|
|
||||||
$(package)_dependencies=xproto
|
|
||||||
|
|
||||||
define $(package)_set_vars
|
|
||||||
$(package)_config_opts=--disable-shared
|
|
||||||
$(package)_config_opts_linux=--with-pic
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_config_cmds
|
|
||||||
$($(package)_autoconf)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_build_cmds
|
|
||||||
$(MAKE)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_stage_cmds
|
|
||||||
$(MAKE) DESTDIR=$($(package)_staging_dir) install
|
|
||||||
endef
|
|
|
@ -1,22 +0,0 @@
|
||||||
package=libXext
|
|
||||||
$(package)_version=1.3.2
|
|
||||||
$(package)_download_path=http://xorg.freedesktop.org/releases/individual/lib/
|
|
||||||
$(package)_file_name=$(package)-$($(package)_version).tar.bz2
|
|
||||||
$(package)_sha256_hash=f829075bc646cdc085fa25d98d5885d83b1759ceb355933127c257e8e50432e0
|
|
||||||
$(package)_dependencies=xproto xextproto libX11 libXau
|
|
||||||
|
|
||||||
define $(package)_set_vars
|
|
||||||
$(package)_config_opts=--disable-static
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_config_cmds
|
|
||||||
$($(package)_autoconf)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_build_cmds
|
|
||||||
$(MAKE)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_stage_cmds
|
|
||||||
$(MAKE) DESTDIR=$($(package)_staging_dir) install
|
|
||||||
endef
|
|
|
@ -1,35 +0,0 @@
|
||||||
package=libxcb
|
|
||||||
$(package)_version=1.10
|
|
||||||
$(package)_download_path=http://xcb.freedesktop.org/dist
|
|
||||||
$(package)_file_name=$(package)-$($(package)_version).tar.bz2
|
|
||||||
$(package)_sha256_hash=98d9ab05b636dd088603b64229dd1ab2d2cc02ab807892e107d674f9c3f2d5b5
|
|
||||||
$(package)_dependencies=xcb_proto libXau xproto
|
|
||||||
|
|
||||||
define $(package)_set_vars
|
|
||||||
$(package)_config_opts=--disable-static
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_preprocess_cmds
|
|
||||||
sed "s/pthread-stubs//" -i configure
|
|
||||||
endef
|
|
||||||
|
|
||||||
# Don't install xcb headers to the default path in order to work around a qt
|
|
||||||
# build issue: https://bugreports.qt.io/browse/QTBUG-34748
|
|
||||||
# When using qt's internal libxcb, it may end up finding the real headers in
|
|
||||||
# depends staging. Use a non-default path to avoid that.
|
|
||||||
|
|
||||||
define $(package)_config_cmds
|
|
||||||
$($(package)_autoconf) --includedir=$(host_prefix)/include/xcb-shared
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_build_cmds
|
|
||||||
$(MAKE)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_stage_cmds
|
|
||||||
$(MAKE) DESTDIR=$($(package)_staging_dir) install
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_postprocess_cmds
|
|
||||||
rm -rf share/man share/doc
|
|
||||||
endef
|
|
|
@ -1,26 +0,0 @@
|
||||||
package=native_cdrkit
|
|
||||||
$(package)_version=1.1.11
|
|
||||||
$(package)_download_path=http://distro.ibiblio.org/fatdog/source/600/c
|
|
||||||
$(package)_file_name=cdrkit-$($(package)_version).tar.bz2
|
|
||||||
$(package)_sha256_hash=b50d64c214a65b1a79afe3a964c691931a4233e2ba605d793eb85d0ac3652564
|
|
||||||
$(package)_patches=cdrkit-deterministic.patch
|
|
||||||
|
|
||||||
define $(package)_preprocess_cmds
|
|
||||||
patch -p1 < $($(package)_patch_dir)/cdrkit-deterministic.patch
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_config_cmds
|
|
||||||
cmake -DCMAKE_INSTALL_PREFIX=$(build_prefix)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_build_cmds
|
|
||||||
$(MAKE) genisoimage
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_stage_cmds
|
|
||||||
$(MAKE) DESTDIR=$($(package)_staging_dir) -C genisoimage install
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_postprocess_cmds
|
|
||||||
rm bin/isovfy bin/isoinfo bin/isodump bin/isodebug bin/devdump
|
|
||||||
endef
|
|
|
@ -1,22 +0,0 @@
|
||||||
package=native_libdmg-hfsplus
|
|
||||||
$(package)_version=0.1
|
|
||||||
$(package)_download_path=https://github.com/theuni/libdmg-hfsplus/archive
|
|
||||||
$(package)_file_name=libdmg-hfsplus-v$($(package)_version).tar.gz
|
|
||||||
$(package)_sha256_hash=6569a02eb31c2827080d7d59001869ea14484c281efab0ae7f2b86af5c3120b3
|
|
||||||
$(package)_build_subdir=build
|
|
||||||
|
|
||||||
define $(package)_preprocess_cmds
|
|
||||||
mkdir build
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_config_cmds
|
|
||||||
cmake -DCMAKE_INSTALL_PREFIX:PATH=$(build_prefix)/bin ..
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_build_cmds
|
|
||||||
$(MAKE) -C dmg
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_stage_cmds
|
|
||||||
$(MAKE) DESTDIR=$($(package)_staging_dir) -C dmg install
|
|
||||||
endef
|
|
|
@ -1,25 +0,0 @@
|
||||||
package=native_protobuf
|
|
||||||
$(package)_version=2.5.0
|
|
||||||
$(package)_download_path=https://protobuf.googlecode.com/files
|
|
||||||
$(package)_file_name=protobuf-$($(package)_version).tar.bz2
|
|
||||||
$(package)_sha256_hash=13bfc5ae543cf3aa180ac2485c0bc89495e3ae711fc6fab4f8ffe90dfb4bb677
|
|
||||||
|
|
||||||
define $(package)_set_vars
|
|
||||||
$(package)_config_opts=--disable-shared
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_config_cmds
|
|
||||||
$($(package)_autoconf)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_build_cmds
|
|
||||||
$(MAKE) -C src protoc
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_stage_cmds
|
|
||||||
$(MAKE) -C src DESTDIR=$($(package)_staging_dir) install-strip
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_postprocess_cmds
|
|
||||||
rm -rf lib include
|
|
||||||
endef
|
|
|
@ -1,28 +0,0 @@
|
||||||
package=protobuf
|
|
||||||
$(package)_version=$(native_$(package)_version)
|
|
||||||
$(package)_download_path=$(native_$(package)_download_path)
|
|
||||||
$(package)_file_name=$(native_$(package)_file_name)
|
|
||||||
$(package)_sha256_hash=$(native_$(package)_sha256_hash)
|
|
||||||
$(package)_dependencies=native_$(package)
|
|
||||||
|
|
||||||
define $(package)_set_vars
|
|
||||||
$(package)_config_opts=--disable-shared --with-protoc=$(build_prefix)/bin/protoc
|
|
||||||
$(package)_config_opts_linux=--with-pic
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_config_cmds
|
|
||||||
$($(package)_autoconf)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_build_cmds
|
|
||||||
$(MAKE) -C src libprotobuf.la
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_stage_cmds
|
|
||||||
$(MAKE) DESTDIR=$($(package)_staging_dir) -C src install-libLTLIBRARIES install-nobase_includeHEADERS &&\
|
|
||||||
$(MAKE) DESTDIR=$($(package)_staging_dir) install-pkgconfigDATA
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_postprocess_cmds
|
|
||||||
rm lib/libprotoc.a
|
|
||||||
endef
|
|
|
@ -1,22 +0,0 @@
|
||||||
package=qrencode
|
|
||||||
$(package)_version=3.4.3
|
|
||||||
$(package)_download_path=https://fukuchi.org/works/qrencode/
|
|
||||||
$(package)_file_name=qrencode-$(qrencode_version).tar.bz2
|
|
||||||
$(package)_sha256_hash=dfd71487513c871bad485806bfd1fdb304dedc84d2b01a8fb8e0940b50597a98
|
|
||||||
|
|
||||||
define $(package)_set_vars
|
|
||||||
$(package)_config_opts=--disable-shared -without-tools --disable-sdltest
|
|
||||||
$(package)_config_opts_linux=--with-pic
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_config_cmds
|
|
||||||
$($(package)_autoconf)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_build_cmds
|
|
||||||
$(MAKE)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_stage_cmds
|
|
||||||
$(MAKE) DESTDIR=$($(package)_staging_dir) install
|
|
||||||
endef
|
|
|
@ -1,66 +0,0 @@
|
||||||
PACKAGE=qt46
|
|
||||||
$(package)_version=4.6.4
|
|
||||||
$(package)_download_path=http://download.qt-project.org/archive/qt/4.6/
|
|
||||||
$(package)_file_name=qt-everywhere-opensource-src-$($(package)_version).tar.gz
|
|
||||||
$(package)_sha256_hash=9ad4d46c721b53a429ed5a2eecfd3c239a9ab566562f183f99d3125f1a234250
|
|
||||||
$(package)_dependencies=openssl freetype dbus libX11 xproto libXext libICE libSM
|
|
||||||
$(package)_patches=stlfix.patch
|
|
||||||
|
|
||||||
define $(package)_set_vars
|
|
||||||
$(package)_config_opts = -prefix $(host_prefix) -headerdir $(host_prefix)/include/qt4 -bindir $(build_prefix)/bin
|
|
||||||
$(package)_config_opts += -release -no-separate-debug-info -opensource -confirm-license
|
|
||||||
$(package)_config_opts += -stl -qt-zlib
|
|
||||||
|
|
||||||
$(package)_config_opts += -nomake examples -nomake tests -nomake tools -nomake translations -nomake demos -nomake docs
|
|
||||||
$(package)_config_opts += -no-audio-backend -no-glib -no-nis -no-cups -no-iconv -no-gif -no-pch
|
|
||||||
$(package)_config_opts += -no-xkb -no-xrender -no-xrandr -no-xfixes -no-xcursor -no-xinerama -no-xsync -no-xinput -no-mitshm -no-xshape
|
|
||||||
$(package)_config_opts += -no-libtiff -no-fontconfig -openssl-linked
|
|
||||||
$(package)_config_opts += -no-sql-db2 -no-sql-ibase -no-sql-oci -no-sql-tds -no-sql-mysql
|
|
||||||
$(package)_config_opts += -no-sql-odbc -no-sql-psql -no-sql-sqlite -no-sql-sqlite2
|
|
||||||
$(package)_config_opts += -no-xmlpatterns -no-multimedia -no-phonon -no-scripttools -no-declarative
|
|
||||||
$(package)_config_opts += -no-phonon-backend -no-webkit -no-javascript-jit -no-script
|
|
||||||
$(package)_config_opts += -no-svg -no-libjpeg -no-libtiff -no-libpng -no-libmng -no-qt3support -no-opengl
|
|
||||||
|
|
||||||
$(package)_config_opts_x86_64_linux += -platform linux-g++-64
|
|
||||||
$(package)_config_opts_i686_linux = -platform linux-g++-32
|
|
||||||
$(package)_build_env = QT_RCC_TEST=1
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_preprocess_cmds
|
|
||||||
sed -i.old "s|/include /usr/include||" config.tests/unix/freetype/freetype.pri && \
|
|
||||||
sed -i.old "s|src_plugins.depends = src_gui src_sql src_svg|src_plugins.depends = src_gui src_sql|" src/src.pro && \
|
|
||||||
sed -i.old "s|\.lower(|\.toLower(|g" src/network/ssl/qsslsocket_openssl.cpp && \
|
|
||||||
sed -i.old "s|Key_BackSpace|Key_Backspace|" src/gui/itemviews/qabstractitemview.cpp && \
|
|
||||||
sed -i.old "s|/usr/X11R6/lib64|$(host_prefix)/lib|" mkspecs/*/*.conf && \
|
|
||||||
sed -i.old "s|/usr/X11R6/lib|$(host_prefix)/lib|" mkspecs/*/*.conf && \
|
|
||||||
sed -i.old "s|/usr/X11R6/include|$(host_prefix)/include|" mkspecs/*/*.conf && \
|
|
||||||
sed -i.old "s|QMAKE_LFLAGS_SHLIB\t+= -shared|QMAKE_LFLAGS_SHLIB\t+= -shared -Wl,--exclude-libs,ALL|" mkspecs/common/g++.conf && \
|
|
||||||
sed -i.old "/SSLv2_client_method/d" src/network/ssl/qsslsocket_openssl.cpp src/network/ssl/qsslsocket_openssl_symbols.cpp && \
|
|
||||||
sed -i.old "/SSLv2_server_method/d" src/network/ssl/qsslsocket_openssl.cpp src/network/ssl/qsslsocket_openssl_symbols.cpp && \
|
|
||||||
patch -p1 < $($(package)_patch_dir)/stlfix.patch
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_config_cmds
|
|
||||||
export PKG_CONFIG_SYSROOT_DIR=/ && \
|
|
||||||
export PKG_CONFIG_LIBDIR=$(host_prefix)/lib/pkgconfig && \
|
|
||||||
export PKG_CONFIG_PATH=$(host_prefix)/share/pkgconfig && \
|
|
||||||
export CPATH=$(host_prefix)/include && \
|
|
||||||
OPENSSL_LIBS='-L$(host_prefix)/lib -lssl -lcrypto' ./configure $($(package)_config_opts) && \
|
|
||||||
cd tools/linguist/lrelease; ../../../bin/qmake -o Makefile lrelease.pro
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_build_cmds
|
|
||||||
export CPATH=$(host_prefix)/include && \
|
|
||||||
$(MAKE) -C src && \
|
|
||||||
$(MAKE) -C tools/linguist/lrelease
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_stage_cmds
|
|
||||||
$(MAKE) -C src INSTALL_ROOT=$($(package)_staging_dir) install && \
|
|
||||||
$(MAKE) -C tools/linguist/lrelease INSTALL_ROOT=$($(package)_staging_dir) install
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_postprocess_cmds
|
|
||||||
rm -rf mkspecs/ lib/cmake/ lib/*.prl lib/*.la && \
|
|
||||||
find native/bin -type f -exec mv {} {}-qt4 \;
|
|
||||||
endef
|
|
|
@ -1,27 +0,0 @@
|
||||||
package=xcb_proto
|
|
||||||
$(package)_version=1.10
|
|
||||||
$(package)_download_path=http://xcb.freedesktop.org/dist
|
|
||||||
$(package)_file_name=xcb-proto-$($(package)_version).tar.bz2
|
|
||||||
$(package)_sha256_hash=7ef40ddd855b750bc597d2a435da21e55e502a0fefa85b274f2c922800baaf05
|
|
||||||
|
|
||||||
define $(package)_set_vars
|
|
||||||
$(package)_config_opts=--disable-shared
|
|
||||||
$(package)_config_opts_linux=--with-pic
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_config_cmds
|
|
||||||
$($(package)_autoconf)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_build_cmds
|
|
||||||
$(MAKE)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_stage_cmds
|
|
||||||
$(MAKE) DESTDIR=$($(package)_staging_dir) install
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_postprocess_cmds
|
|
||||||
find -name "*.pyc" -delete && \
|
|
||||||
find -name "*.pyo" -delete
|
|
||||||
endef
|
|
|
@ -1,21 +0,0 @@
|
||||||
package=xextproto
|
|
||||||
$(package)_version=7.3.0
|
|
||||||
$(package)_download_path=http://xorg.freedesktop.org/releases/individual/proto
|
|
||||||
$(package)_file_name=$(package)-$($(package)_version).tar.bz2
|
|
||||||
$(package)_sha256_hash=f3f4b23ac8db9c3a9e0d8edb591713f3d70ef9c3b175970dd8823dfc92aa5bb0
|
|
||||||
|
|
||||||
define $(package)_set_vars
|
|
||||||
$(package)_config_opts=--disable-shared
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_config_cmds
|
|
||||||
$($(package)_autoconf)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_build_cmds
|
|
||||||
$(MAKE)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_stage_cmds
|
|
||||||
$(MAKE) DESTDIR=$($(package)_staging_dir) install
|
|
||||||
endef
|
|
|
@ -1,21 +0,0 @@
|
||||||
package=xproto
|
|
||||||
$(package)_version=7.0.26
|
|
||||||
$(package)_download_path=http://xorg.freedesktop.org/releases/individual/proto
|
|
||||||
$(package)_file_name=$(package)-$($(package)_version).tar.bz2
|
|
||||||
$(package)_sha256_hash=636162c1759805a5a0114a369dffdeccb8af8c859ef6e1445f26a4e6e046514f
|
|
||||||
|
|
||||||
define $(package)_set_vars
|
|
||||||
$(package)_config_opts=--disable-shared
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_config_cmds
|
|
||||||
$($(package)_autoconf)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_build_cmds
|
|
||||||
$(MAKE)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_stage_cmds
|
|
||||||
$(MAKE) DESTDIR=$($(package)_staging_dir) install
|
|
||||||
endef
|
|
|
@ -1,22 +0,0 @@
|
||||||
package=xtrans
|
|
||||||
$(package)_version=1.3.4
|
|
||||||
$(package)_download_path=http://xorg.freedesktop.org/releases/individual/lib/
|
|
||||||
$(package)_file_name=$(package)-$($(package)_version).tar.bz2
|
|
||||||
$(package)_sha256_hash=054d4ee3efd52508c753e9f7bc655ef185a29bd2850dd9e2fc2ccc33544f583a
|
|
||||||
$(package)_dependencies=
|
|
||||||
|
|
||||||
define $(package)_set_vars
|
|
||||||
$(package)_config_opts_linux=--with-pic --disable-static
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_config_cmds
|
|
||||||
$($(package)_autoconf)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_build_cmds
|
|
||||||
$(MAKE)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_stage_cmds
|
|
||||||
$(MAKE) DESTDIR=$($(package)_staging_dir) install
|
|
||||||
endef
|
|
|
@ -1,86 +0,0 @@
|
||||||
--- cdrkit-1.1.11.old/genisoimage/tree.c 2008-10-21 19:57:47.000000000 -0400
|
|
||||||
+++ cdrkit-1.1.11/genisoimage/tree.c 2013-12-06 00:23:18.489622668 -0500
|
|
||||||
@@ -1139,8 +1139,9 @@
|
|
||||||
scan_directory_tree(struct directory *this_dir, char *path,
|
|
||||||
struct directory_entry *de)
|
|
||||||
{
|
|
||||||
- DIR *current_dir;
|
|
||||||
+ int current_file;
|
|
||||||
char whole_path[PATH_MAX];
|
|
||||||
+ struct dirent **d_list;
|
|
||||||
struct dirent *d_entry;
|
|
||||||
struct directory *parent;
|
|
||||||
int dflag;
|
|
||||||
@@ -1164,7 +1165,8 @@
|
|
||||||
this_dir->dir_flags |= DIR_WAS_SCANNED;
|
|
||||||
|
|
||||||
errno = 0; /* Paranoia */
|
|
||||||
- current_dir = opendir(path);
|
|
||||||
+ //current_dir = opendir(path);
|
|
||||||
+ current_file = scandir(path, &d_list, NULL, alphasort);
|
|
||||||
d_entry = NULL;
|
|
||||||
|
|
||||||
/*
|
|
||||||
@@ -1173,12 +1175,12 @@
|
|
||||||
*/
|
|
||||||
old_path = path;
|
|
||||||
|
|
||||||
- if (current_dir) {
|
|
||||||
+ if (current_file >= 0) {
|
|
||||||
errno = 0;
|
|
||||||
- d_entry = readdir(current_dir);
|
|
||||||
+ d_entry = d_list[0];
|
|
||||||
}
|
|
||||||
|
|
||||||
- if (!current_dir || !d_entry) {
|
|
||||||
+ if (current_file < 0 || !d_entry) {
|
|
||||||
int ret = 1;
|
|
||||||
|
|
||||||
#ifdef USE_LIBSCHILY
|
|
||||||
@@ -1191,8 +1193,8 @@
|
|
||||||
de->isorec.flags[0] &= ~ISO_DIRECTORY;
|
|
||||||
ret = 0;
|
|
||||||
}
|
|
||||||
- if (current_dir)
|
|
||||||
- closedir(current_dir);
|
|
||||||
+ if(d_list)
|
|
||||||
+ free(d_list);
|
|
||||||
return (ret);
|
|
||||||
}
|
|
||||||
#ifdef ABORT_DEEP_ISO_ONLY
|
|
||||||
@@ -1208,7 +1210,7 @@
|
|
||||||
errmsgno(EX_BAD, "use Rock Ridge extensions via -R or -r,\n");
|
|
||||||
errmsgno(EX_BAD, "or allow deep ISO9660 directory nesting via -D.\n");
|
|
||||||
}
|
|
||||||
- closedir(current_dir);
|
|
||||||
+ free(d_list);
|
|
||||||
return (1);
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
@@ -1250,13 +1252,13 @@
|
|
||||||
* The first time through, skip this, since we already asked
|
|
||||||
* for the first entry when we opened the directory.
|
|
||||||
*/
|
|
||||||
- if (dflag)
|
|
||||||
- d_entry = readdir(current_dir);
|
|
||||||
+ if (dflag && current_file >= 0)
|
|
||||||
+ d_entry = d_list[current_file];
|
|
||||||
dflag++;
|
|
||||||
|
|
||||||
- if (!d_entry)
|
|
||||||
+ if (current_file < 0)
|
|
||||||
break;
|
|
||||||
-
|
|
||||||
+ current_file--;
|
|
||||||
/* OK, got a valid entry */
|
|
||||||
|
|
||||||
/* If we do not want all files, then pitch the backups. */
|
|
||||||
@@ -1348,7 +1350,7 @@
|
|
||||||
insert_file_entry(this_dir, whole_path, d_entry->d_name);
|
|
||||||
#endif /* APPLE_HYB */
|
|
||||||
}
|
|
||||||
- closedir(current_dir);
|
|
||||||
+ free(d_list);
|
|
||||||
|
|
||||||
#ifdef APPLE_HYB
|
|
||||||
/*
|
|
|
@ -1,45 +0,0 @@
|
||||||
--- old/qtbase/src/plugins/platforms/xcb/xcb_qpa_lib.pro 2015-03-17 02:06:42.705930685 +0000
|
|
||||||
+++ new/qtbase/src/plugins/platforms/xcb/xcb_qpa_lib.pro 2015-03-17 02:08:41.281926351 +0000
|
|
||||||
@@ -94,8 +94,6 @@
|
|
||||||
|
|
||||||
DEFINES += $$QMAKE_DEFINES_XCB
|
|
||||||
LIBS += $$QMAKE_LIBS_XCB
|
|
||||||
-QMAKE_CXXFLAGS += $$QMAKE_CFLAGS_XCB
|
|
||||||
-QMAKE_CFLAGS += $$QMAKE_CFLAGS_XCB
|
|
||||||
|
|
||||||
CONFIG += qpa/genericunixfontdatabase
|
|
||||||
|
|
||||||
@@ -104,7 +102,8 @@
|
|
||||||
contains(QT_CONFIG, xcb-qt) {
|
|
||||||
DEFINES += XCB_USE_RENDER
|
|
||||||
XCB_DIR = ../../../3rdparty/xcb
|
|
||||||
- INCLUDEPATH += $$XCB_DIR/include $$XCB_DIR/sysinclude
|
|
||||||
+ QMAKE_CFLAGS += -I$$XCB_DIR/include -I$$XCB_DIR/sysinclude $$QMAKE_CFLAGS_XCB
|
|
||||||
+ QMAKE_CXXFLAGS += -I$$XCB_DIR/include -I$$XCB_DIR/sysinclude $$QMAKE_CFLAGS_XCB
|
|
||||||
LIBS += -lxcb -L$$OUT_PWD/xcb-static -lxcb-static
|
|
||||||
} else {
|
|
||||||
LIBS += -lxcb -lxcb-image -lxcb-icccm -lxcb-sync -lxcb-xfixes -lxcb-shm -lxcb-randr -lxcb-shape -lxcb-keysyms
|
|
||||||
--- old/qtbase/src/plugins/platforms/xcb/xcb-static/xcb-static.pro 2015-03-17 02:07:04.641929383 +0000
|
|
||||||
+++ new/qtbase/src/plugins/platforms/xcb/xcb-static/xcb-static.pro 2015-03-17 02:10:15.485922059 +0000
|
|
||||||
@@ -8,7 +8,8 @@
|
|
||||||
|
|
||||||
XCB_DIR = ../../../../3rdparty/xcb
|
|
||||||
|
|
||||||
-INCLUDEPATH += $$XCB_DIR/include $$XCB_DIR/include/xcb $$XCB_DIR/sysinclude
|
|
||||||
+QMAKE_CFLAGS += -I$$XCB_DIR/include -I$$XCB_DIR/include/xcb -I$$XCB_DIR/sysinclude
|
|
||||||
+QMAKE_CXXFLAGS += -I$$XCB_DIR/include -I$$XCB_DIR/include/xcb -I$$XCB_DIR/sysinclude
|
|
||||||
|
|
||||||
QMAKE_CXXFLAGS += $$QMAKE_CFLAGS_XCB
|
|
||||||
QMAKE_CFLAGS += $$QMAKE_CFLAGS_XCB
|
|
||||||
--- old/qtbase/src/plugins/platforms/xcb/xcb-plugin.pro 2015-07-24 16:02:59.530038830 -0400
|
|
||||||
+++ new/qtbase/src/plugins/platforms/xcb/xcb-plugin.pro 2015-07-24 16:01:22.106037459 -0400
|
|
||||||
@@ -11,3 +11,9 @@
|
|
||||||
qxcbmain.cpp
|
|
||||||
OTHER_FILES += xcb.json README
|
|
||||||
|
|
||||||
+contains(QT_CONFIG, xcb-qt) {
|
|
||||||
+ DEFINES += XCB_USE_RENDER
|
|
||||||
+ XCB_DIR = ../../../3rdparty/xcb
|
|
||||||
+ QMAKE_CFLAGS += -I$$XCB_DIR/include -I$$XCB_DIR/sysinclude $$QMAKE_CFLAGS_XCB
|
|
||||||
+ QMAKE_CXXFLAGS += -I$$XCB_DIR/include -I$$XCB_DIR/sysinclude $$QMAKE_CFLAGS_XCB
|
|
||||||
+}
|
|
|
@ -1,26 +0,0 @@
|
||||||
MAKEFILE_GENERATOR = UNIX
|
|
||||||
CONFIG += app_bundle incremental global_init_link_order lib_version_first plugin_no_soname absolute_library_soname
|
|
||||||
DEFINES += QT_NO_PRINTER QT_NO_PRINTDIALOG
|
|
||||||
QMAKE_INCREMENTAL_STYLE = sublib
|
|
||||||
include(../common/macx.conf)
|
|
||||||
include(../common/gcc-base-mac.conf)
|
|
||||||
include(../common/clang.conf)
|
|
||||||
include(../common/clang-mac.conf)
|
|
||||||
QMAKE_MAC_SDK_PATH=$${MAC_SDK_PATH}
|
|
||||||
QMAKE_XCODE_VERSION=4.3
|
|
||||||
QMAKE_XCODE_DEVELOPER_PATH=/Developer
|
|
||||||
QMAKE_MACOSX_DEPLOYMENT_TARGET = $${MAC_MIN_VERSION}
|
|
||||||
QMAKE_MAC_SDK=macosx
|
|
||||||
QMAKE_MAC_SDK.macosx.path = $${MAC_SDK_PATH}
|
|
||||||
QMAKE_MAC_SDK.macosx.platform_name = macosx
|
|
||||||
QMAKE_MAC_SDK.macosx.version = $${MAC_SDK_VERSION}
|
|
||||||
QMAKE_MAC_SDK.macosx.platform_path = /phony
|
|
||||||
QMAKE_CFLAGS += -target $${MAC_TARGET}
|
|
||||||
QMAKE_OBJECTIVE_CFLAGS += $$QMAKE_CFLAGS
|
|
||||||
QMAKE_CXXFLAGS += $$QMAKE_CFLAGS
|
|
||||||
QMAKE_LFLAGS += -target $${MAC_TARGET} -mlinker-version=$${MAC_LD64_VERSION}
|
|
||||||
QMAKE_AR = $${CROSS_COMPILE}ar cq
|
|
||||||
QMAKE_RANLIB=$${CROSS_COMPILE}ranlib
|
|
||||||
QMAKE_LIBTOOL=$${CROSS_COMPILE}libtool
|
|
||||||
QMAKE_INSTALL_NAME_TOOL=$${CROSS_COMPILE}install_name_tool
|
|
||||||
load(qt_config)
|
|
|
@ -1,44 +0,0 @@
|
||||||
--- old/qtbase/src/plugins/platforms/windows/qwindowscontext.cpp 2015-06-20 17:40:20.956781548 -0400
|
|
||||||
+++ new/qtbase/src/plugins/platforms/windows/qwindowscontext.cpp 2015-06-20 17:29:32.052772416 -0400
|
|
||||||
@@ -69,7 +69,7 @@
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <windowsx.h>
|
|
||||||
-#ifndef Q_OS_WINCE
|
|
||||||
+#if !defined(Q_OS_WINCE) && (!defined(USE___UUIDOF) || (defined(USE___UUIDOF) && USE___UUIDOF == 1))
|
|
||||||
# include <comdef.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
@@ -762,7 +762,7 @@
|
|
||||||
HWND_MESSAGE, NULL, (HINSTANCE)GetModuleHandle(0), NULL);
|
|
||||||
}
|
|
||||||
|
|
||||||
-#ifndef Q_OS_WINCE
|
|
||||||
+#if !defined(Q_OS_WINCE) && (!defined(USE___UUIDOF) || (defined(USE___UUIDOF) && USE___UUIDOF == 1))
|
|
||||||
// Re-engineered from the inline function _com_error::ErrorMessage().
|
|
||||||
// We cannot use it directly since it uses swprintf_s(), which is not
|
|
||||||
// present in the MSVCRT.DLL found on Windows XP (QTBUG-35617).
|
|
||||||
@@ -781,7 +781,7 @@
|
|
||||||
return QStringLiteral("IDispatch error #") + QString::number(wCode);
|
|
||||||
return QStringLiteral("Unknown error 0x0") + QString::number(comError.Error(), 16);
|
|
||||||
}
|
|
||||||
-#endif // !Q_OS_WINCE
|
|
||||||
+#endif // !defined(Q_OS_WINCE) && (!defined(USE___UUIDOF) || (defined(USE___UUIDOF) && USE___UUIDOF == 1))
|
|
||||||
|
|
||||||
/*!
|
|
||||||
\brief Common COM error strings.
|
|
||||||
@@ -846,12 +846,12 @@
|
|
||||||
default:
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
-#ifndef Q_OS_WINCE
|
|
||||||
+#if !defined(Q_OS_WINCE) && (!defined(USE___UUIDOF) || (defined(USE___UUIDOF) && USE___UUIDOF == 1))
|
|
||||||
_com_error error(hr);
|
|
||||||
result += QByteArrayLiteral(" (");
|
|
||||||
result += errorMessageFromComError(error);
|
|
||||||
result += ')';
|
|
||||||
-#endif // !Q_OS_WINCE
|
|
||||||
+#endif // !defined(Q_OS_WINCE) && (!defined(USE___UUIDOF) || (defined(USE___UUIDOF) && USE___UUIDOF == 1))
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,10 +0,0 @@
|
||||||
--- old/config.tests/unix/stl/stltest.cpp 2011-06-23 03:45:23.000000000 -0400
|
|
||||||
+++ new/config.tests/unix/stl/stltest.cpp 2014-08-28 00:54:04.154837604 -0400
|
|
||||||
@@ -49,6 +49,7 @@
|
|
||||||
#include <vector>
|
|
||||||
#include <algorithm>
|
|
||||||
#include <iostream>
|
|
||||||
+#include <cstddef>
|
|
||||||
|
|
||||||
// something mean to see if the compiler and C++ standard lib are good enough
|
|
||||||
template<class K, class T>
|
|
Loading…
Reference in New Issue