Cherry-picking upstream version 0.3.1.
* Bumped years in d/copyright
This commit is contained in:
parent
48039fb663
commit
321865a968
10
CHANGELOG
10
CHANGELOG
@ -1,7 +1,15 @@
|
||||
|
||||
lxqt-build-tools-0.3.0 / 2016-12-06
|
||||
lxqt-build-tools-0.3.1 / 2017-01-01
|
||||
===================================
|
||||
|
||||
* Bump LXQT_PATCH_VERSION and build tools version (#13)
|
||||
* 32 64 bit ness (#12)
|
||||
* Use "gcc-ar" and "gcc-ranlib" tools when building static libs with gcc link-time optimization. (#11)
|
||||
|
||||
0.3.0 / 2016-12-06
|
||||
==================
|
||||
|
||||
* Release 0.3.0: Update changelog
|
||||
* Adds an FindXCB CMake module
|
||||
* FindUDev: Add VERSION_STRING support
|
||||
* FindUDev: Set REQUIRED_VARS
|
||||
|
@ -5,13 +5,13 @@ cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)
|
||||
option(WITH_XDG_DIRS_FALLBACK "Use our XDG_CONFIG_DIRS fallback" ON)
|
||||
|
||||
set(LXQT_BUILD_TOOLS_MAJOR_VERSION 0)
|
||||
set(LXQT_BUILD_TOOLS_MINOR_VERSION 2)
|
||||
set(LXQT_BUILD_TOOLS_PATCH_VERSION 0)
|
||||
set(LXQT_BUILD_TOOLS_MINOR_VERSION 3)
|
||||
set(LXQT_BUILD_TOOLS_PATCH_VERSION 1)
|
||||
set(LXQT_BUILD_TOOLS_VERSION ${LXQT_BUILD_TOOLS_MAJOR_VERSION}.${LXQT_BUILD_TOOLS_MINOR_VERSION}${LXQT_BUILD_TOOLS_PATCH_VERSION})
|
||||
|
||||
set(LXQT_MAJOR_VERSION 0)
|
||||
set(LXQT_MINOR_VERSION 11)
|
||||
set(LXQT_PATCH_VERSION 0)
|
||||
set(LXQT_PATCH_VERSION 1)
|
||||
set(LXQT_VERSION ${LXQT_MAJOR_VERSION}.${LXQT_MINOR_VERSION}.${LXQT_PATCH_VERSION})
|
||||
|
||||
include(CMakePackageConfigHelpers)
|
||||
|
@ -16,6 +16,6 @@ Code configuration is handled by CMake. CMake variable `CMAKE_INSTALL_PREFIX` ha
|
||||
|
||||
To build run `make`, to install `make install` which accepts variable `DESTDIR` as usual. (Strictly speaking `make` isn't even needed right now. On the other hand it doesn't hurt so packagers may just include it in case it'll be needed one day.)
|
||||
|
||||
### Binary packages
|
||||
## Packagers
|
||||
|
||||
The repository was introduced in September 2016 and binary packages are rare so far. On Arch Linux an [AUR](https://aur.archlinux.org/) package [lxqt-build-tools-git](https://aur.archlinux.org/packages/lxqt-build-tools-git/) can be used to build current checkouts of branch `master`.
|
||||
Please keep in mind that lxqt-build-tools are arch dependend - the package picks up **32/64bit-ness** at build time of the package - so the package has to be built for the respective architecture, arch: all will **not** fly.
|
||||
|
@ -145,6 +145,16 @@ if (CMAKE_COMPILER_IS_GNUCXX OR LXQT_COMPILER_IS_CLANGCXX)
|
||||
# -flto: use link-time optimizations to generate more efficient code
|
||||
if (CMAKE_COMPILER_IS_GNUCXX)
|
||||
set(LTO_FLAGS "-flto -fuse-linker-plugin")
|
||||
# When building static libraries with LTO in gcc >= 4.9,
|
||||
# "gcc-ar" and "gcc-ranlib" should be used instead of "ar" and "ranlib".
|
||||
# references:
|
||||
# https://gcc.gnu.org/gcc-4.9/changes.html
|
||||
# http://hubicka.blogspot.tw/2014/04/linktime-optimization-in-gcc-2-firefox.html
|
||||
# https://github.com/monero-project/monero/pull/1065/commits/1855213c8fb8f8727f4107716aab8e7ba826462b
|
||||
if (NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS "4.9.0") # gcc >= 4.9
|
||||
set(CMAKE_AR "gcc-ar")
|
||||
set(CMAKE_RANLIB "gcc-ranlib")
|
||||
endif()
|
||||
elseif (LXQT_COMPILER_IS_CLANGCXX)
|
||||
# The link-time optimization of clang++/llvm seems to be too aggrassive.
|
||||
# After testing, it breaks the signal/slots of QObject sometimes.
|
||||
|
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,3 +1,10 @@
|
||||
lxqt-build-tools (0.3.1-1) unstable; urgency=medium
|
||||
|
||||
* Cherry-picking upstream version 0.3.1.
|
||||
* Bumped years in d/copyright
|
||||
|
||||
-- Alf Gaida <agaida@siduction.org> Mon, 02 Jan 2017 02:59:25 +0100
|
||||
|
||||
lxqt-build-tools (0.3.0-1) unstable; urgency=medium
|
||||
|
||||
* Cherry-picking upstream version 0.3.0.
|
||||
|
4
debian/copyright
vendored
4
debian/copyright
vendored
@ -4,11 +4,11 @@ Source: https://github.com/lxde/lxqt-build-tools
|
||||
|
||||
Files: *
|
||||
Copyright: 2010-2012 Razor team
|
||||
2012-2016 LXQt team
|
||||
2012-2017 LXQt team
|
||||
License: BSD-3-Clause
|
||||
|
||||
Files: debian/*
|
||||
Copyright: 2016 Alf Gaida <agaida@siduction.org>
|
||||
Copyright: 2016-2017 Alf Gaida <agaida@siduction.org>
|
||||
License: BSD-3-Clause
|
||||
|
||||
License: BSD-3-Clause
|
||||
|
Loading…
x
Reference in New Issue
Block a user