From: <ai...@us...> - 2014-03-16 18:15:15
|
Revision: 13069 http://sourceforge.net/p/plplot/code/13069 Author: airwin Date: 2014-03-16 18:15:12 +0000 (Sun, 16 Mar 2014) Log Message: ----------- Add epa_build configurations for gtk+ and all its dependencies that are not already part of epa_build. Note to save build time, this is a somewhat "lite" version of gtk+ where the wayland dependency and installed tests have been disabled. Replace pango by gtk+ in the list of principal packages in the top-level CMakeLists.txt to suck in all dependencies of gtk+ (including pango and its dependencies) into the epa_build configuration. Tested on Linux using the build_gtk+ target. The resulting build was a success (no obvious build errors) and required 23 minutes on my 5-year old PC. Modified Paths: -------------- trunk/cmake/epa_build/CMakeLists.txt Added Paths: ----------- trunk/cmake/epa_build/at-spi2-atk/ trunk/cmake/epa_build/at-spi2-atk/CMakeLists.txt trunk/cmake/epa_build/at-spi2-core/ trunk/cmake/epa_build/at-spi2-core/CMakeLists.txt trunk/cmake/epa_build/atk/ trunk/cmake/epa_build/atk/CMakeLists.txt trunk/cmake/epa_build/gdk-pixbuf/ trunk/cmake/epa_build/gdk-pixbuf/CMakeLists.txt trunk/cmake/epa_build/gnome-common/ trunk/cmake/epa_build/gnome-common/CMakeLists.txt trunk/cmake/epa_build/gtk+/ trunk/cmake/epa_build/gtk+/CMakeLists.txt trunk/cmake/epa_build/libxkbcommon/ trunk/cmake/epa_build/libxkbcommon/CMakeLists.txt Modified: trunk/cmake/epa_build/CMakeLists.txt =================================================================== --- trunk/cmake/epa_build/CMakeLists.txt 2014-03-16 17:53:19 UTC (rev 13068) +++ trunk/cmake/epa_build/CMakeLists.txt 2014-03-16 18:15:12 UTC (rev 13069) @@ -415,7 +415,7 @@ ndiff plplot plplot_lite - pango + gtk+ qt4_lite ) endif(BUILD_THE_BUILDTOOLS) Added: trunk/cmake/epa_build/at-spi2-atk/CMakeLists.txt =================================================================== --- trunk/cmake/epa_build/at-spi2-atk/CMakeLists.txt (rev 0) +++ trunk/cmake/epa_build/at-spi2-atk/CMakeLists.txt 2014-03-16 18:15:12 UTC (rev 13069) @@ -0,0 +1,75 @@ +# at-spi2-atk/CMakeLists.txt + +# Configure the build of at-spi2-atk. + +# N.B. this file is generated so if you edit it you will lose all your +# changes the next time it is generated (typically by running +# either/both the update_added_packages.sh or update_pango_packages.sh +# scripts). If those scripts do not provide good results, then +# consider changing their source files (e.g., by editing the files +# used in those scripts) or add a patch to be run by those scripts. + +# Copyright (C) 2013 Alan W. Irwin + +# This file is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. + +# This file is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. + +# You should have received a copy of the GNU Lesser General Public +# License along with this file; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +set(PACKAGE at-spi2-atk) + +# List of dependencies (most of which are build tools) which should be +# ignored. +set(ignored_dependencies_LIST pkg-config;bison;flex;python2-devel;libX11;libXft;xorg-kbproto;xorg-macros;xorg-xproto;dbus ${extra_ignored_dependencies_list}) + +set(dependencies_LIST at-spi2-core;atk;dbus;glib;libxml2) + +# Do boilerplate tasks that must be done for each different project +# that is configured as part of epa_build. +epa_boilerplate( + ignored_dependencies_LIST + PACKAGE + dependencies_LIST + dependencies_targets + EPA_PATH + source_PATH + ) + +if(MSYS_PLATFORM) + set(CFLAGS "$ENV{CFLAGS}") +else(MSYS_PLATFORM) + set(CFLAGS "$ENV{CFLAGS}") +endif(MSYS_PLATFORM) + +set(CXXFLAGS "$ENV{CXXFLAGS}") + +# Drop -fvisibility=hidden since that option does not work for a +# number of software packages that are configured automatically using +# this template. +string(REGEX REPLACE "-fvisibility=hidden" "" CFLAGS "${CFLAGS}") +string(REGEX REPLACE "-fvisibility=hidden" "" CXXFLAGS "${CXXFLAGS}") + +# Data that is related to downloads. +set(URL http://download.gnome.org/sources/at-spi2-atk/2.9/at-spi2-atk-2.9.4.tar.xz) +set(DOWNLOAD_HASH_TYPE SHA256) +set(DOWNLOAD_HASH b3b95b9c862c5eff801fad8c49c7b2b71cc65089e19dda2c992acee53669f723) + +ExternalProject_Add( + build_${PACKAGE} + DEPENDS ${dependencies_targets} + URL ${URL} + URL_HASH ${DOWNLOAD_HASH_TYPE}=${DOWNLOAD_HASH} + CONFIGURE_COMMAND ${ENV_EXECUTABLE} PATH=${EPA_PATH} "CFLAGS=${CFLAGS}" "CXXFLAGS=${CXXFLAGS}" ${source_PATH}/${EPA_CONFIGURE_COMMAND} + BUILD_COMMAND ${ENV_EXECUTABLE} PATH=${EPA_PATH} ${EPA_PARALLEL_MAKE_COMMAND} + BUILD_IN_SOURCE OFF + INSTALL_COMMAND ${ENV_EXECUTABLE} PATH=${EPA_PATH} ${EPA_PARALLEL_MAKE_COMMAND} install + ) Property changes on: trunk/cmake/epa_build/at-spi2-atk/CMakeLists.txt ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: trunk/cmake/epa_build/at-spi2-core/CMakeLists.txt =================================================================== --- trunk/cmake/epa_build/at-spi2-core/CMakeLists.txt (rev 0) +++ trunk/cmake/epa_build/at-spi2-core/CMakeLists.txt 2014-03-16 18:15:12 UTC (rev 13069) @@ -0,0 +1,75 @@ +# at-spi2-core/CMakeLists.txt + +# Configure the build of at-spi2-core. + +# N.B. this file is generated so if you edit it you will lose all your +# changes the next time it is generated (typically by running +# either/both the update_added_packages.sh or update_pango_packages.sh +# scripts). If those scripts do not provide good results, then +# consider changing their source files (e.g., by editing the files +# used in those scripts) or add a patch to be run by those scripts. + +# Copyright (C) 2013 Alan W. Irwin + +# This file is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. + +# This file is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. + +# You should have received a copy of the GNU Lesser General Public +# License along with this file; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +set(PACKAGE at-spi2-core) + +# List of dependencies (most of which are build tools) which should be +# ignored. +set(ignored_dependencies_LIST pkg-config;bison;flex;python2-devel;libX11;libXft;xorg-kbproto;xorg-macros;xorg-xproto;dbus ${extra_ignored_dependencies_list}) + +set(dependencies_LIST dbus;glib;intltool) + +# Do boilerplate tasks that must be done for each different project +# that is configured as part of epa_build. +epa_boilerplate( + ignored_dependencies_LIST + PACKAGE + dependencies_LIST + dependencies_targets + EPA_PATH + source_PATH + ) + +if(MSYS_PLATFORM) + set(CFLAGS "$ENV{CFLAGS}") +else(MSYS_PLATFORM) + set(CFLAGS "$ENV{CFLAGS}") +endif(MSYS_PLATFORM) + +set(CXXFLAGS "$ENV{CXXFLAGS}") + +# Drop -fvisibility=hidden since that option does not work for a +# number of software packages that are configured automatically using +# this template. +string(REGEX REPLACE "-fvisibility=hidden" "" CFLAGS "${CFLAGS}") +string(REGEX REPLACE "-fvisibility=hidden" "" CXXFLAGS "${CXXFLAGS}") + +# Data that is related to downloads. +set(URL http://download.gnome.org/sources/at-spi2-core/2.9/at-spi2-core-2.9.4.tar.xz) +set(DOWNLOAD_HASH_TYPE SHA256) +set(DOWNLOAD_HASH 512701456e61c2af3435326a37877404c604de719c3b28e7d53d1368c237e8ae) + +ExternalProject_Add( + build_${PACKAGE} + DEPENDS ${dependencies_targets} + URL ${URL} + URL_HASH ${DOWNLOAD_HASH_TYPE}=${DOWNLOAD_HASH} + CONFIGURE_COMMAND ${ENV_EXECUTABLE} PATH=${EPA_PATH} "CFLAGS=${CFLAGS}" "CXXFLAGS=${CXXFLAGS}" ${source_PATH}/${EPA_CONFIGURE_COMMAND} --with-sysroot=${CMAKE_INSTALL_PREFIX} LDFLAGS=-L${CMAKE_INSTALL_PREFIX}/lib + BUILD_COMMAND ${ENV_EXECUTABLE} PATH=${EPA_PATH} ${EPA_PARALLEL_MAKE_COMMAND} + BUILD_IN_SOURCE OFF + INSTALL_COMMAND ${ENV_EXECUTABLE} PATH=${EPA_PATH} ${EPA_PARALLEL_MAKE_COMMAND} install + ) Property changes on: trunk/cmake/epa_build/at-spi2-core/CMakeLists.txt ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: trunk/cmake/epa_build/atk/CMakeLists.txt =================================================================== --- trunk/cmake/epa_build/atk/CMakeLists.txt (rev 0) +++ trunk/cmake/epa_build/atk/CMakeLists.txt 2014-03-16 18:15:12 UTC (rev 13069) @@ -0,0 +1,75 @@ +# atk/CMakeLists.txt + +# Configure the build of atk. + +# N.B. this file is generated so if you edit it you will lose all your +# changes the next time it is generated (typically by running +# either/both the update_added_packages.sh or update_pango_packages.sh +# scripts). If those scripts do not provide good results, then +# consider changing their source files (e.g., by editing the files +# used in those scripts) or add a patch to be run by those scripts. + +# Copyright (C) 2013 Alan W. Irwin + +# This file is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. + +# This file is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. + +# You should have received a copy of the GNU Lesser General Public +# License along with this file; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +set(PACKAGE atk) + +# List of dependencies (most of which are build tools) which should be +# ignored. +set(ignored_dependencies_LIST pkg-config;bison;flex;python2-devel;libX11;libXft;xorg-kbproto;xorg-macros;xorg-xproto;dbus ${extra_ignored_dependencies_list}) + +set(dependencies_LIST glib;gnome-common;gobject-introspection;gtk-doc) + +# Do boilerplate tasks that must be done for each different project +# that is configured as part of epa_build. +epa_boilerplate( + ignored_dependencies_LIST + PACKAGE + dependencies_LIST + dependencies_targets + EPA_PATH + source_PATH + ) + +if(MSYS_PLATFORM) + set(CFLAGS "$ENV{CFLAGS}") +else(MSYS_PLATFORM) + set(CFLAGS "$ENV{CFLAGS}") +endif(MSYS_PLATFORM) + +set(CXXFLAGS "$ENV{CXXFLAGS}") + +# Drop -fvisibility=hidden since that option does not work for a +# number of software packages that are configured automatically using +# this template. +string(REGEX REPLACE "-fvisibility=hidden" "" CFLAGS "${CFLAGS}") +string(REGEX REPLACE "-fvisibility=hidden" "" CXXFLAGS "${CXXFLAGS}") + +# Data that is related to downloads. +set(URL http://download.gnome.org/sources/atk/2.9/atk-2.9.3.tar.xz) +set(DOWNLOAD_HASH_TYPE SHA256) +set(DOWNLOAD_HASH 5fdb79c729cfad45042c3e0f55d01f57fdde3b8379b6cb5bbeb8b37478d4456d) + +ExternalProject_Add( + build_${PACKAGE} + DEPENDS ${dependencies_targets} + URL ${URL} + URL_HASH ${DOWNLOAD_HASH_TYPE}=${DOWNLOAD_HASH} + CONFIGURE_COMMAND ${ENV_EXECUTABLE} PATH=${EPA_PATH} "CFLAGS=${CFLAGS}" "CXXFLAGS=${CXXFLAGS}" ${source_PATH}/${EPA_CONFIGURE_COMMAND} + BUILD_COMMAND ${ENV_EXECUTABLE} PATH=${EPA_PATH} ${EPA_PARALLEL_MAKE_COMMAND} + BUILD_IN_SOURCE OFF + INSTALL_COMMAND ${ENV_EXECUTABLE} PATH=${EPA_PATH} ${EPA_PARALLEL_MAKE_COMMAND} install + ) Property changes on: trunk/cmake/epa_build/atk/CMakeLists.txt ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: trunk/cmake/epa_build/gdk-pixbuf/CMakeLists.txt =================================================================== --- trunk/cmake/epa_build/gdk-pixbuf/CMakeLists.txt (rev 0) +++ trunk/cmake/epa_build/gdk-pixbuf/CMakeLists.txt 2014-03-16 18:15:12 UTC (rev 13069) @@ -0,0 +1,75 @@ +# gdk-pixbuf/CMakeLists.txt + +# Configure the build of gdk-pixbuf. + +# N.B. this file is generated so if you edit it you will lose all your +# changes the next time it is generated (typically by running +# either/both the update_added_packages.sh or update_pango_packages.sh +# scripts). If those scripts do not provide good results, then +# consider changing their source files (e.g., by editing the files +# used in those scripts) or add a patch to be run by those scripts. + +# Copyright (C) 2013 Alan W. Irwin + +# This file is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. + +# This file is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. + +# You should have received a copy of the GNU Lesser General Public +# License along with this file; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +set(PACKAGE gdk-pixbuf) + +# List of dependencies (most of which are build tools) which should be +# ignored. +set(ignored_dependencies_LIST pkg-config;bison;flex;python2-devel;libX11;libXft;xorg-kbproto;xorg-macros;xorg-xproto;dbus ${extra_ignored_dependencies_list}) + +set(dependencies_LIST glib;gobject-introspection;gtk-doc;libjpeg;libpng;libtiff) + +# Do boilerplate tasks that must be done for each different project +# that is configured as part of epa_build. +epa_boilerplate( + ignored_dependencies_LIST + PACKAGE + dependencies_LIST + dependencies_targets + EPA_PATH + source_PATH + ) + +if(MSYS_PLATFORM) + set(CFLAGS "$ENV{CFLAGS}") +else(MSYS_PLATFORM) + set(CFLAGS "$ENV{CFLAGS}") +endif(MSYS_PLATFORM) + +set(CXXFLAGS "$ENV{CXXFLAGS}") + +# Drop -fvisibility=hidden since that option does not work for a +# number of software packages that are configured automatically using +# this template. +string(REGEX REPLACE "-fvisibility=hidden" "" CFLAGS "${CFLAGS}") +string(REGEX REPLACE "-fvisibility=hidden" "" CXXFLAGS "${CXXFLAGS}") + +# Data that is related to downloads. +set(URL http://download.gnome.org/sources/gdk-pixbuf/2.29/gdk-pixbuf-2.29.2.tar.xz) +set(DOWNLOAD_HASH_TYPE SHA256) +set(DOWNLOAD_HASH f5e173bf9fe48440f45a77b0bb5ae30b44f4af0da3cd128cd1489b0f3072808d) + +ExternalProject_Add( + build_${PACKAGE} + DEPENDS ${dependencies_targets} + URL ${URL} + URL_HASH ${DOWNLOAD_HASH_TYPE}=${DOWNLOAD_HASH} + CONFIGURE_COMMAND ${ENV_EXECUTABLE} PATH=${EPA_PATH} "CFLAGS=${CFLAGS}" "CXXFLAGS=${CXXFLAGS}" ${source_PATH}/${EPA_CONFIGURE_COMMAND} --enable-installed-tests + BUILD_COMMAND ${ENV_EXECUTABLE} PATH=${EPA_PATH} ${EPA_PARALLEL_MAKE_COMMAND} + BUILD_IN_SOURCE OFF + INSTALL_COMMAND ${ENV_EXECUTABLE} PATH=${EPA_PATH} ${EPA_PARALLEL_MAKE_COMMAND} install + ) Property changes on: trunk/cmake/epa_build/gdk-pixbuf/CMakeLists.txt ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: trunk/cmake/epa_build/gnome-common/CMakeLists.txt =================================================================== --- trunk/cmake/epa_build/gnome-common/CMakeLists.txt (rev 0) +++ trunk/cmake/epa_build/gnome-common/CMakeLists.txt 2014-03-16 18:15:12 UTC (rev 13069) @@ -0,0 +1,75 @@ +# gnome-common/CMakeLists.txt + +# Configure the build of gnome-common. + +# N.B. this file is generated so if you edit it you will lose all your +# changes the next time it is generated (typically by running +# either/both the update_added_packages.sh or update_pango_packages.sh +# scripts). If those scripts do not provide good results, then +# consider changing their source files (e.g., by editing the files +# used in those scripts) or add a patch to be run by those scripts. + +# Copyright (C) 2013 Alan W. Irwin + +# This file is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. + +# This file is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. + +# You should have received a copy of the GNU Lesser General Public +# License along with this file; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +set(PACKAGE gnome-common) + +# List of dependencies (most of which are build tools) which should be +# ignored. +set(ignored_dependencies_LIST pkg-config;bison;flex;python2-devel;libX11;libXft;xorg-kbproto;xorg-macros;xorg-xproto;dbus ${extra_ignored_dependencies_list}) + +set(dependencies_LIST ) + +# Do boilerplate tasks that must be done for each different project +# that is configured as part of epa_build. +epa_boilerplate( + ignored_dependencies_LIST + PACKAGE + dependencies_LIST + dependencies_targets + EPA_PATH + source_PATH + ) + +if(MSYS_PLATFORM) + set(CFLAGS "$ENV{CFLAGS}") +else(MSYS_PLATFORM) + set(CFLAGS "$ENV{CFLAGS}") +endif(MSYS_PLATFORM) + +set(CXXFLAGS "$ENV{CXXFLAGS}") + +# Drop -fvisibility=hidden since that option does not work for a +# number of software packages that are configured automatically using +# this template. +string(REGEX REPLACE "-fvisibility=hidden" "" CFLAGS "${CFLAGS}") +string(REGEX REPLACE "-fvisibility=hidden" "" CXXFLAGS "${CXXFLAGS}") + +# Data that is related to downloads. +set(URL http://download.gnome.org/sources/gnome-common/3.7/gnome-common-3.7.4.tar.xz) +set(DOWNLOAD_HASH_TYPE SHA256) +set(DOWNLOAD_HASH 2af2d97010d2a9aeb3b99dd2ce07d1ef023e15a27b412ffe4f067f016ff7117b) + +ExternalProject_Add( + build_${PACKAGE} + DEPENDS ${dependencies_targets} + URL ${URL} + URL_HASH ${DOWNLOAD_HASH_TYPE}=${DOWNLOAD_HASH} + CONFIGURE_COMMAND ${ENV_EXECUTABLE} PATH=${EPA_PATH} "CFLAGS=${CFLAGS}" "CXXFLAGS=${CXXFLAGS}" ${source_PATH}/${EPA_CONFIGURE_COMMAND} + BUILD_COMMAND ${ENV_EXECUTABLE} PATH=${EPA_PATH} ${EPA_PARALLEL_MAKE_COMMAND} + BUILD_IN_SOURCE OFF + INSTALL_COMMAND ${ENV_EXECUTABLE} PATH=${EPA_PATH} ${EPA_PARALLEL_MAKE_COMMAND} install + ) Property changes on: trunk/cmake/epa_build/gnome-common/CMakeLists.txt ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: trunk/cmake/epa_build/gtk+/CMakeLists.txt =================================================================== --- trunk/cmake/epa_build/gtk+/CMakeLists.txt (rev 0) +++ trunk/cmake/epa_build/gtk+/CMakeLists.txt 2014-03-16 18:15:12 UTC (rev 13069) @@ -0,0 +1,75 @@ +# gtk+/CMakeLists.txt + +# Configure the build of gtk+. + +# N.B. this file is generated so if you edit it you will lose all your +# changes the next time it is generated (typically by running +# either/both the update_added_packages.sh or update_pango_packages.sh +# scripts). If those scripts do not provide good results, then +# consider changing their source files (e.g., by editing the files +# used in those scripts) or add a patch to be run by those scripts. + +# Copyright (C) 2013 Alan W. Irwin + +# This file is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. + +# This file is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. + +# You should have received a copy of the GNU Lesser General Public +# License along with this file; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +set(PACKAGE gtk+) + +# List of dependencies (most of which are build tools) which should be +# ignored. +set(ignored_dependencies_LIST pkg-config;bison;flex;python2-devel;libX11;libXft;xorg-kbproto;xorg-macros;xorg-xproto;dbus ${extra_ignored_dependencies_list}) + +set(dependencies_LIST at-spi2-atk;atk;cairo;gdk-pixbuf;glib;gobject-introspection;gtk-doc;libxkbcommon;pango) + +# Do boilerplate tasks that must be done for each different project +# that is configured as part of epa_build. +epa_boilerplate( + ignored_dependencies_LIST + PACKAGE + dependencies_LIST + dependencies_targets + EPA_PATH + source_PATH + ) + +if(MSYS_PLATFORM) + set(CFLAGS "$ENV{CFLAGS}") +else(MSYS_PLATFORM) + set(CFLAGS "$ENV{CFLAGS}") +endif(MSYS_PLATFORM) + +set(CXXFLAGS "$ENV{CXXFLAGS}") + +# Drop -fvisibility=hidden since that option does not work for a +# number of software packages that are configured automatically using +# this template. +string(REGEX REPLACE "-fvisibility=hidden" "" CFLAGS "${CFLAGS}") +string(REGEX REPLACE "-fvisibility=hidden" "" CXXFLAGS "${CXXFLAGS}") + +# Data that is related to downloads. +set(URL http://download.gnome.org/sources/gtk+/3.9/gtk+-3.9.8.tar.xz) +set(DOWNLOAD_HASH_TYPE SHA256) +set(DOWNLOAD_HASH a2053a9556c600e0217ec48df75e96aad909f3bc4ec307d2e04817ac548d39a8) + +ExternalProject_Add( + build_${PACKAGE} + DEPENDS ${dependencies_targets} + URL ${URL} + URL_HASH ${DOWNLOAD_HASH_TYPE}=${DOWNLOAD_HASH} + CONFIGURE_COMMAND ${ENV_EXECUTABLE} PATH=${EPA_PATH} "CFLAGS=${CFLAGS}" "CXXFLAGS=${CXXFLAGS}" ${source_PATH}/${EPA_CONFIGURE_COMMAND} --enable-x11-backend + BUILD_COMMAND ${ENV_EXECUTABLE} PATH=${EPA_PATH} ${EPA_PARALLEL_MAKE_COMMAND} + BUILD_IN_SOURCE OFF + INSTALL_COMMAND ${ENV_EXECUTABLE} PATH=${EPA_PATH} ${EPA_PARALLEL_MAKE_COMMAND} install + ) Property changes on: trunk/cmake/epa_build/gtk+/CMakeLists.txt ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: trunk/cmake/epa_build/libxkbcommon/CMakeLists.txt =================================================================== --- trunk/cmake/epa_build/libxkbcommon/CMakeLists.txt (rev 0) +++ trunk/cmake/epa_build/libxkbcommon/CMakeLists.txt 2014-03-16 18:15:12 UTC (rev 13069) @@ -0,0 +1,75 @@ +# libxkbcommon/CMakeLists.txt + +# Configure the build of libxkbcommon. + +# N.B. this file is generated so if you edit it you will lose all your +# changes the next time it is generated (typically by running +# either/both the update_added_packages.sh or update_pango_packages.sh +# scripts). If those scripts do not provide good results, then +# consider changing their source files (e.g., by editing the files +# used in those scripts) or add a patch to be run by those scripts. + +# Copyright (C) 2013 Alan W. Irwin + +# This file is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. + +# This file is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. + +# You should have received a copy of the GNU Lesser General Public +# License along with this file; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +set(PACKAGE libxkbcommon) + +# List of dependencies (most of which are build tools) which should be +# ignored. +set(ignored_dependencies_LIST pkg-config;bison;flex;python2-devel;libX11;libXft;xorg-kbproto;xorg-macros;xorg-xproto;dbus ${extra_ignored_dependencies_list}) + +set(dependencies_LIST libX11;xorg-kbproto;xorg-macros;xorg-xproto) + +# Do boilerplate tasks that must be done for each different project +# that is configured as part of epa_build. +epa_boilerplate( + ignored_dependencies_LIST + PACKAGE + dependencies_LIST + dependencies_targets + EPA_PATH + source_PATH + ) + +if(MSYS_PLATFORM) + set(CFLAGS "$ENV{CFLAGS}") +else(MSYS_PLATFORM) + set(CFLAGS "$ENV{CFLAGS}") +endif(MSYS_PLATFORM) + +set(CXXFLAGS "$ENV{CXXFLAGS}") + +# Drop -fvisibility=hidden since that option does not work for a +# number of software packages that are configured automatically using +# this template. +string(REGEX REPLACE "-fvisibility=hidden" "" CFLAGS "${CFLAGS}") +string(REGEX REPLACE "-fvisibility=hidden" "" CXXFLAGS "${CXXFLAGS}") + +# Data that is related to downloads. +set(URL http://xkbcommon.org/download/libxkbcommon-0.3.1.tar.xz) +set(DOWNLOAD_HASH_TYPE SHA256) +set(DOWNLOAD_HASH 9c973581bba0c883a301fa6474d9c3e4f3a06c34e4ae4f1f4e113692cb18b38e) + +ExternalProject_Add( + build_${PACKAGE} + DEPENDS ${dependencies_targets} + URL ${URL} + URL_HASH ${DOWNLOAD_HASH_TYPE}=${DOWNLOAD_HASH} + CONFIGURE_COMMAND ${ENV_EXECUTABLE} PATH=${EPA_PATH} "CFLAGS=${CFLAGS}" "CXXFLAGS=${CXXFLAGS}" ${source_PATH}/${EPA_CONFIGURE_COMMAND} --with-xkb-config-root=/usr/share/X11/xkb + BUILD_COMMAND ${ENV_EXECUTABLE} PATH=${EPA_PATH} ${EPA_PARALLEL_MAKE_COMMAND} + BUILD_IN_SOURCE OFF + INSTALL_COMMAND ${ENV_EXECUTABLE} PATH=${EPA_PATH} ${EPA_PARALLEL_MAKE_COMMAND} install + ) Property changes on: trunk/cmake/epa_build/libxkbcommon/CMakeLists.txt ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |