summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2014-01-16 00:49:58 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2014-01-16 00:49:58 +0000
commit7ec831c8d42e378472ad4619f53e519d017366fd (patch)
tree8f9b79e19dc1ddaf25996085686761b7b113f1fa /sci-libs
parentprofiles/base: Add prefix-guest use mask for new prefix profiles. (diff)
downloadhistorical-7ec831c8d42e378472ad4619f53e519d017366fd.tar.gz
historical-7ec831c8d42e378472ad4619f53e519d017366fd.tar.bz2
historical-7ec831c8d42e378472ad4619f53e519d017366fd.zip
Version bump
Package-Manager: portage-2.2.8-prefix/cvs/Linux x86_64 Manifest-Sign-Key: 0x13CB1360
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/plplot/ChangeLog12
-rw-r--r--sci-libs/plplot/Manifest21
-rw-r--r--sci-libs/plplot/files/plplot-5.9.11-config.patch769
-rw-r--r--sci-libs/plplot/files/plplot-5.9.11-multiarch.patch50
-rw-r--r--sci-libs/plplot/files/plplot-5.9.11-ocaml.patch34
-rw-r--r--sci-libs/plplot/files/plplot-5.9.11-octave.patch12
-rw-r--r--sci-libs/plplot/metadata.xml4
-rw-r--r--sci-libs/plplot/plplot-5.9.11.ebuild (renamed from sci-libs/plplot/plplot-5.9.9-r1.ebuild)151
8 files changed, 991 insertions, 62 deletions
diff --git a/sci-libs/plplot/ChangeLog b/sci-libs/plplot/ChangeLog
index 9b40baa32c11..fbc3c0a1e9dd 100644
--- a/sci-libs/plplot/ChangeLog
+++ b/sci-libs/plplot/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for sci-libs/plplot
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/plplot/ChangeLog,v 1.53 2013/11/16 08:28:49 dirtyepic Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/plplot/ChangeLog,v 1.54 2014/01/16 00:49:50 bicatali Exp $
+
+*plplot-5.9.11 (16 Jan 2014)
+
+ 16 Jan 2014; SĂ©bastien Fabbro <bicatali@gentoo.org>
+ +files/plplot-5.9.11-config.patch, +files/plplot-5.9.11-multiarch.patch,
+ +files/plplot-5.9.11-ocaml.patch, +files/plplot-5.9.11-octave.patch,
+ +plplot-5.9.11.ebuild, -plplot-5.9.9-r1.ebuild, metadata.xml:
+ Version bump
16 Nov 2013; Ryan Hill <dirtyepic@gentoo.org> plplot-5.9.9-r1.ebuild,
plplot-5.9.9-r2.ebuild, plplot-5.9.10-r1.ebuild:
diff --git a/sci-libs/plplot/Manifest b/sci-libs/plplot/Manifest
index 3dc571c4d1f2..680c94073e38 100644
--- a/sci-libs/plplot/Manifest
+++ b/sci-libs/plplot/Manifest
@@ -5,25 +5,26 @@ AUX plplot-5.9.10-haru.patch 1147 SHA256 2d4484b62a14a5bf008f905cc94bb31ec035f97
AUX plplot-5.9.10-itcltk.patch 1530 SHA256 a087564ceb9cb37513664cd0d29bd97e49de0b7f5a60323333a92f722ef70f4f SHA512 bfe835adb7fc403a0376699f187dce5ebb2f39336e675438940960f4def049d1660853961019699d2a8bb5f4539d877b051062b738e3d1469beea3d2b5f667c3 WHIRLPOOL b55b076c56b86e34971d0debd8b611c4b2027c701486258fcbbc7728e7a617178631ed73b94004c863fd47010d8b86b82688a7d9460a2ca3e9c2650ae095b961
AUX plplot-5.9.10-tcl86.patch 2841 SHA256 1eaabcb012b6dea413a0cab7cacc5d6f7e65c98bf1a8ead9acbb32df182a34d7 SHA512 42a6e3e7090de856338ee9b021179b5045305d8fbd6b814fe661fc7adb058524757b092cee917d8838158f9e9c2db0c132a3138bc4605113bd41a4298cae5426 WHIRLPOOL 5a3e2b401bfdd32bb4395caee77ee210d5f0f4d72a5a401de4067f218729da492db9c88b9784c799c098463d89402d0aa02c83dbf50d76497585ae1c32615a09
AUX plplot-5.9.10-tcltk.patch 3399 SHA256 34feb86557ee6082455e2127b8e78d8ef8b42d2ed037bced23ade7559fe5f8fb SHA512 4e7007439081f7f87b5ac62514ad3cd84ec678980e8d841c0a38713462a94dd91624d136dfdff23eff9ea0b9f4b8538acdbc09c4ad06bd599238512f3db36510 WHIRLPOOL 2409b1d956f2413bbf3ec8c576080e4b95df46dfe82738ebe68833ff1bc96f39f40ea37c7bd3416c76f876cfad7ce2e9efae321f80dbfe9ab8ac20ce9fa5b832
+AUX plplot-5.9.11-config.patch 27125 SHA256 39599e872a01e08b41c1d097ec653687e401f2684accc0962a03b9def91a594c SHA512 99d095044ea65cdc1cbf3d208426f2f1ea74a38c687bb7a8354080e7aaa45392daeb6a7332e7fd3e0606766fede966fb46743275ffc5cc646f7e2ac40c5bbea9 WHIRLPOOL 229453deb354d1924ed51d4bb1fee7f0b3696aab3978a3892510821f4957d737d50e1d2c23b7fdc24569d118467b23f3492a866d3c3df495232f85985f51c4a4
+AUX plplot-5.9.11-multiarch.patch 2150 SHA256 8100cdcb843c2d52a663434c481e804e4db22e319a1d6b69c0cfdc6938c70648 SHA512 c638a5bdba7d29d76fdf5c96415d56718dea162c1a03bf4f0180c12d8d8bf26603f628de4ec130403234a5a8e349630bed6d17e53a13fa6faf921da402869da9 WHIRLPOOL b88727e63940505512906886739f0aad7561b3659112bcf03b9ad25b8640a244a60acc69e5f355636c5dd876fc76db2043dafe399669f28b2eb0cbfc3e801d11
+AUX plplot-5.9.11-ocaml.patch 2829 SHA256 f355a3af4862133438a90c2b923dfedbce5b3311d2b38736a5cea998ec3fc1e0 SHA512 26d739d0cc3f3b8227de9fdfbb6a7cbfdca6daff6515b1b91571316abc2d057eac953951ad9bb7b0fd2b28d8e220836c5da652e19170ed8401a9b3946b39c34a WHIRLPOOL 7202a6f0d54510bfb46fcf8411014170f407526ed9bb2b14b19269ff66ffbe9a1a597751cb8ab63e2d98f73f9408bb4d8df961d9b2d5d188aba5f8005cff4153
+AUX plplot-5.9.11-octave.patch 633 SHA256 672f25cc93722d8116fb45853939b0e0b3cefa75b57ff87f2a8439c97723393e SHA512 c3832d531425cea20aa436cb757ed7bfd30bdc44a4d5cc11cf9a5e5fc7109897cc10748ce780de53232b63cd67d00c1cd2d9f62ef6d378d0f814182d1beb10e2 WHIRLPOOL 96ce5a919a944a833c3febc5b6932376ee32f764709470a405d73f691b2125f76ddb8b99b6ede13a19e9ee996d2ea226e0f4a8c299b174dd9f83b9e9a4aa7a7d
AUX plplot-5.9.6-python.patch 379 SHA256 a338e7b7d9893aabf0bc2e4bc5bd25a97b81674abfa40492b6cc8a33fe8763c8 SHA512 cb2022bda3d5408ef0b2dc280981ad8bdb2f7ecb20d827f7e71ce063fba60963e68aeaa5efd8eef87da8e3dc270b609f7cb342c1da175cd757c9f135173842e4 WHIRLPOOL a6ae20047cd0e99251746cadf703e19d35897a6788e5b5d665758f970cc47aad31331640a679f974455aeab4ab6ec4927649d4b1c1a9d9efbe474f2e966aed83
AUX plplot-5.9.9-CMakeLists.txt.patch 524 SHA256 f2a28ccca6934f85e496bf5c54d192bf436f544b379640498e2077fd882ce647 SHA512 daa8788ca5d55539c146c17318b2f402e360a8f34ce930999b7078e474099535dc8a335f88c520ec756d8e9f2249e2c93a4d65e5822f7224ec400c854f1168cc WHIRLPOOL 02e09ed162aab24f3358f8a3248fae66bac8c60db29180adacc7869ce5a1ae11db44430da9101327bd487a49480ea84647ce2883bfbc954f460e801be89c3aba
AUX plplot-5.9.9-no-pdftest.patch 458 SHA256 ee9d6b0cfdf4e954e24c5c026723334105ee208d9bb92e623bc42fdbd272caad SHA512 4c41b4321cdf4040cf64fba44b5c93032011737c1dbd98a9fa8c8d5b2b0c182cc94b30a3c52d2c1c184ce678e22b2c35a2d4f0e5ddbd93a86396e2c615cb50fe WHIRLPOOL aa6aaaffd9098abde89927a9c1079f351a7810e9c7b41fb61bc72f75225c5f5c3ff636b575444cdab4a22bd6bc24ea110d6bb29dbc684e9984c20cab37c709fd
AUX plplot-5.9.9-tk86.patch 21286 SHA256 9d6c908e7bb36df4e805bf2b95c773b88fb4dfa2542db63157bd994e83a22b35 SHA512 0b60a42a014b35a5b85af830f0dfc200a1156e53fa79ddb230f93080ab9cb19589008456affb6e670e388679a5ee68b981c04ce2a232cfcb7f27fd2ce457b51f WHIRLPOOL a8086c4ffd07ac98b51edc8f8fcdf7bf4de3755d25101464493129aaf4979d2c6247eb3f0afcd9bb57f774760f2e0ea1cb48f91d02d36dc630bf8ebfb0f2e104
DIST plplot-5.9.10.tar.gz 15215720 SHA256 6be3e20d6992cb2afd132a00cbc812aa5db170abe5855c44eb01481ac4b0b723 SHA512 356eff0d27f8b5a672992a8cb642a7bcd15cd49d18512b9e9a3c999d28e19c7da0bf095ac0bbdf4dc1df512190265179aa9311fbead80260a9968cc3d1a11fbe WHIRLPOOL d77917db0c3e9a7236525df01e36f0611bd2145083d827077ac2019ef9c38d0187dada0e20893aaaa37b425f67c700ab50474d63ff457efccb23ca33b9e47c43
+DIST plplot-5.9.11.tar.gz 14586326 SHA256 77383e44ffda2361199b40b8cf25f88ac012eff5c6a7468e80b112c8fd4793b3 SHA512 da95b76bf255c600d662b43555f003237ff2e310276e61c57854b4077f3f71a5847f931a9fba188a94c7b76656782cb22493a060b0aa1f2338107fd3f2cd01a0 WHIRLPOOL 2666822923b9f578df84f00dbe44d8b0549528f42d4f533e931190efda68b1b14a56428df7fac0c8979060e10e3d8ce12e232117ad7b93e080da2650a5531f4e
DIST plplot-5.9.9.tar.gz 13778554 SHA256 747e5a043681f3e20df30d159f6e8517cb1e25e502322adcd80e8ca53ec2c90d SHA512 ad46d40fbfecdf9b8d9e6f1e9da986716b07f88a91ad78f14498bd83acb0186c984b6b5079564046cfedfd1010692d0e7d3c3ce8831b3d1c825c8db335d4c7f1 WHIRLPOOL 3da257b0d0db87f46fd950e32d7bf22ef25b27d7334113fc2b0e5219fdb1d3462a425ff02550ee907fd105041d35f30b22b2b1b39649a13568d3f04f51525664
EBUILD plplot-5.9.10-r1.ebuild 6400 SHA256 520e3bf00ac36d9e0de31c68fcdce6baa76f8cfa212f5ebd530848b49cce81f4 SHA512 fa0233ba3b7ee32e2f5c5cfea4ab02b2d022f1a30d37c57c4920c95b83854dfccff1b083b9dcc907f48579ea676ff7d10e6a255519a86a1133080e3f919fc014 WHIRLPOOL cfdb3631e2e87aae1dee01d55844fbe91a47c013445e3590b21aa0af792c087a36f0ce34d77f8c927269840827bcd35bb4bc71fae523e13fa95697c866db377e
-EBUILD plplot-5.9.9-r1.ebuild 5907 SHA256 261affffe333a858e5707692105374d230d0d486ae6bdaf6c829f84968af6f67 SHA512 8de4c8cd8c579c67dc9bddc692153b6cd14eba5bafd95a5b4d70a71a924ad5261f61da97bff9717cea741f3b1c1a27443196a985078aff95d4c55a3fe81e703f WHIRLPOOL 3b981b5a0a69ee90ef955c690bed623ccb2cd3874d39119b736b7f18e6875fe50a10edfd5396be5a16eb7d3aff4fc141f344358517dac988588feda56b1cc3d2
+EBUILD plplot-5.9.11.ebuild 6603 SHA256 509d237e294a4d1257ff327c32ac698c1d0cef03c2154cd5b578815556d17fb2 SHA512 f0b77ebaf04346751daa5fca9632f06088c5421ebd52d77a3ee9cb67938a920bd3e15b395a3cc750aa28646660bb7792a07c25d0db60f95238bfd6f3f69c0557 WHIRLPOOL ca69004a1e311851101a4fde8889225f649c55f64471069384e64aff880dc1a91f8331ae786e62f00d1c8d9e6751d2254809ff7b86efa52f6f1e073f4a2e9b25
EBUILD plplot-5.9.9-r2.ebuild 5923 SHA256 d6e2f4e478bbdb0e993dcae4516c5988a73eeb5ada74e20257d429d1c92c1d75 SHA512 a9b4826e8f0c8219c4159873bf395067bf692c547d062796ea3db87fb178b1c1203e83ff82df5719ba2cf1fd38bc760cbc912eef6efc68d8283c9c98acf5a902 WHIRLPOOL d1d2d5ab9501e63cd6ce3c248ddea46adb4a45053d602f68475f7be0c902b216ac5bddd61149e9f41740be63ac6567193582a60931a512d54d8f3fd60dff70c1
-MISC ChangeLog 9659 SHA256 3a9e175e4c16bb9b8806c2be800bfba3ebac61e5d88d73f77c6de7fdeb803359 SHA512 081467cbbc3ddec5b94995b8de74ce3de54a019a7dc378fd4cb5bafbf31602fc36a3ec7b7797e681084bdaab21aa962d76586447fdcc4074a69c76610a05990f WHIRLPOOL 7e429751105b453450f7adff45d582033c5fd7e04fe67aa4f9f91c2f54f01777ac1880a419ba0d7fc54ca62bb019c305e54c94516ea3e8411d11fc2b86793943
-MISC metadata.xml 1340 SHA256 ba735c538783ca6b35ccccedd2626936718d8061c24e8335d2af42a00ecc3b9d SHA512 0b715adc49a9ea90ec3f7a3a94c91b006a815674f8190a3398e30064ae5eb42fbc261ad972ea37a3943e93f552032da5eaa8d4d0af0e7066282511c27a95ad09 WHIRLPOOL c44d78922e8bdd22e2399fbbc973541a5fc8ff085aa73a87a1368ca98612ef9ff49b02f7a3aba7405496e554e71b795dbd1e67fb0949bc8692d5b74c2d18a0b3
+MISC ChangeLog 9969 SHA256 95e8abd3583f86574d308505547d2f35d3a6bdaf1f7e831120972c6a48bd661f SHA512 b89306a62345fb5d92fcb623cb41bd695cc06dcd75abafddfd3a895327295b24545519ef85c0920424581ddad95ca74e27a337df8d164b006864c3a0823c3ac3 WHIRLPOOL 162e35368ffbf4c4321f248d9164b0cfea18c34b7fd61e6a2d9a019698ca7974002404009f8ec8581983e6fd7ab05b9e698aaea5ecfa9ac6e25831b0e63f810f
+MISC metadata.xml 1409 SHA256 9fe1c36eb5beb07262c2814c2ff0aa16c18c69fbb091641608f5ac9b90630d99 SHA512 338034d611f0b7fff5fdcfadb76488b25326f00df739c3ce58ca59b67c6fb8738bde9ceb88bf990de77364b938c2c33c5a1e56ca7ae69d910f6eac673ce4d651 WHIRLPOOL 7c81f05237517c0048cc4d4cb91a289d59b84c0923f17f8ca8bf9faf40cdb69c304fa37f63efbe63bfcfad26f5f2da9e884e1e94426eae4df99fcbba45a76c92
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iQEcBAEBCAAGBQJShy8cAAoJEO04vUmVeoRjUisH/j7LtdgLSoyUvNVefwsR4f6J
-ph834r+6mhHTg/adBMPHyHfy4BVNrF8Zs1HtXt3IZS4s75M/jrYd+rIHqTV6tHCX
-ue0uP/XOi6bEiO6vT9fg8ZCIq4Pq7zLwlp3Xhpeo9MsQGGgIlzmPNdCFfaqiMbcB
-DcmU8fm8SXY34nnNkIKgXmVk2Gd6OMJ5i6kq+TEHIOmXaVHIg6SpJYb6AeiXdxln
-MUycj52uDJqoAnFPzLGTaE+B/bVY9zuufe0vGcHBg2vVYqPCkTPh3botjknG9Z3/
-q252CajYCyOcqoRSFM4Vgq9B5l+N0X+wAk+41/C9OBR+Dv19BWzZ/UYQQEt1+Sk=
-=GNRJ
+iEYEAREIAAYFAlLXLLIACgkQ1ycZbhPLE2DyIgCgjF5oUwnG9DWUtdfDeZc0gx6d
+Q4QAmwRjfzWtR12JumjICJ+bra5+TN+3
+=+g1+
-----END PGP SIGNATURE-----
diff --git a/sci-libs/plplot/files/plplot-5.9.11-config.patch b/sci-libs/plplot/files/plplot-5.9.11-config.patch
new file mode 100644
index 000000000000..3bbbd6c4754b
--- /dev/null
+++ b/sci-libs/plplot/files/plplot-5.9.11-config.patch
@@ -0,0 +1,769 @@
+Index: scripts/style_source.sh
+===================================================================
+--- scripts/style_source.sh (revision 12913)
++++ scripts/style_source.sh (working copy)
+@@ -193,7 +193,7 @@
+
+ export csource_LIST
+ # Top level directory.
+-csource_LIST="config.h.in"
++csource_LIST="plplot_config.h.in"
+
+ # src directory
+ csource_LIST="$csource_LIST src/*.[ch]"
+Index: doc/Doxyfile.in
+===================================================================
+--- doc/Doxyfile.in (revision 12913)
++++ doc/Doxyfile.in (working copy)
+@@ -660,7 +660,7 @@
+ "@CMAKE_SOURCE_DIR@/drivers" \
+ "@CMAKE_SOURCE_DIR@/bindings" \
+ "@CMAKE_SOURCE_DIR@/include" \
+- "@CMAKE_BINARY_DIR@/config.h" \
++ "@CMAKE_BINARY_DIR@/plplot_config.h" \
+ "@CMAKE_BINARY_DIR@/lib" \
+ "@CMAKE_BINARY_DIR@/bindings" \
+ "@CMAKE_BINARY_DIR@/include"
+Index: doc/CMakeLists.txt
+===================================================================
+--- doc/CMakeLists.txt (revision 12913)
++++ doc/CMakeLists.txt (working copy)
+@@ -60,7 +60,7 @@
+ endforeach(directory ${doxygen_directories})
+ # Must append one specific configured file to be consistent with
+ # the INPUT parameter in Doxyfile(.in).
+- list(APPEND doxygen_globs ${CMAKE_BINARY_DIR}/config.h)
++ list(APPEND doxygen_globs ${CMAKE_BINARY_DIR}/plplot_config.h)
+ #message(STATUS "DEBUG: doxygen_globs = ${doxygen_globs}")
+
+ # RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} works (because that is the
+Index: CMakeLists.txt
+===================================================================
+--- CMakeLists.txt (revision 12913)
++++ CMakeLists.txt (working copy)
+@@ -121,10 +121,10 @@
+ )
+
+ configure_file(
+- ${CMAKE_CURRENT_SOURCE_DIR}/config.h.in
+- ${CMAKE_CURRENT_BINARY_DIR}/config.h
++ ${CMAKE_CURRENT_SOURCE_DIR}/plplot_config.h.in
++ ${CMAKE_CURRENT_BINARY_DIR}/plplot_config.h
+ )
+-# Allow access to the generated config.h for this build.
++# Allow access to the generated plplot_config.h for this build.
+ add_definitions("-DHAVE_CONFIG_H")
+ # Install top-level files
+
+Index: include/plConfig.h.in
+===================================================================
+--- include/plConfig.h.in (revision 12913)
++++ include/plConfig.h.in (working copy)
+@@ -5,7 +5,7 @@
+ // IFS, University of Texas at Austin
+ // 18-Jul-1994
+ //
+-// Copyright (C) 2004, 2006, 2007, 2008, 2009 Alan W. Irwin
++// Copyright (C) 2004-2013 Alan W. Irwin
+ // Copyright (C) 2004 Rafael Laboissiere
+ // Copyright (C) 2004 Joao Cardoso
+ //
+@@ -24,33 +24,28 @@
+ // You should have received a copy of the GNU Library General Public License
+ // along with PLplot; if not, write to the Free Software
+ // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+-//
+-//
+
+ // Configured (by CMake) macros for PLplot that are required for the
+-// core build and the build of the installed
+-// examples (and presumably any user applications). Therefore, the
+-// configured plConfig.h should be installed. In contrast,
+-// config.h.cmake (note, plConfig.h #includes config.h for
+-// the core build because HAVE_CONFIG_H is #defined in that case)
+-// contains configured macros that are only required for the core
+-// build. Therefore, in contrast to plConfig.h, config.h should not
+-// be installed.
++// core build and the build of the installed examples (and presumably
++// any user applications). Therefore, the configured plConfig.h
++// should be installed. In contrast, plplot_config.h.in (note,
++// plConfig.h #includes plplot_config.h for the core build because
++// HAVE_CONFIG_H is #defined in that case) contains configured macros
++// that are only required for the core build. Therefore, in contrast
++// to plConfig.h, plplot_config.h should not be installed.
+ //
+ // Maintenance issue: in makes no sense to configure duplicate macros
+-// for both config.h and plConfig.h. Therefore, when adding a macro
++// for both plplot_config.h and plConfig.h. Therefore, when adding a macro
+ // decide which file to put it in depending on whether the result is
+ // needed for the installed examples build or not. Furthermore, move
+ // configured macros from one file to the other as needed depending on
+ // that criterion, but do not copy them.
+-//
+-//
+
+ #ifndef __PLCONFIG_H__
+ #define __PLCONFIG_H__
+
+ #ifdef HAVE_CONFIG_H
+-# include <config.h>
++# include <plplot_config.h>
+ #endif
+
+ // Define if you have c++ accessible stdint.h
+Index: config.h.in
+===================================================================
+--- config.h.in (revision 12913)
++++ config.h.in (working copy)
+@@ -1,311 +0,0 @@
+-// Configured (by CMake) macros for PLplot that are required for the
+-// core build but _not_ required for the build of the installed
+-// examples (and presumably any user applications). Therefore, the
+-// configured config.h should not be installed. In contrast,
+-// include/plConfig.h.cmake (note, plConfig.h #includes config.h for
+-// the core build because HAVE_CONFIG_H is #defined in that case)
+-// contains configured macros that are required for the core build,
+-// installed examples build, and build of user applications.
+-// Therefore, in contrast to config.h, plConfig.h should be installed.
+-//
+-// Maintenance issue: in makes no sense to configure duplicate macros
+-// for both config.h and plConfig.h. Therefore, when adding a macro
+-// decide which file to put it in depending on whether the result is
+-// needed for the installed examples build or not. Furthermore, move
+-// configured macros from one file to the other as needed depending on
+-// that criterion, but do not copy them.
+-//
+-//
+-
+-// Location of executables
+-#define BIN_DIR "@BIN_DIR@"
+-
+-// Location of Build tree
+-#define BUILD_DIR "@BUILD_DIR@"
+-
+-// Location of package data files
+-#define DATA_DIR "@DATA_DIR@"
+-
+-// Location of dynamically loaded drivers
+-#define DRV_DIR "@DRV_DIR@"
+-
+-// Name of the default cmap0 palette to use
+-#define PL_DEFAULT_CMAP0_FILE "@DEFAULT_CMAP0_FILE@"
+-
+-// Name of the default cmap1 palette to use
+-#define PL_DEFAULT_CMAP1_FILE "@DEFAULT_CMAP1_FILE@"
+-
+-// Define if support for deprecated plplot functions should be compiled
+-#cmakedefine PL_DEPRECATED
+-
+-// Define if there is support for dynamically loaded drivers
+-#cmakedefine ENABLE_DYNDRIVERS
+-
+-// Define to 1 if you have the <cmath> header file.
+-#cmakedefine HAVE_CMATH 1
+-
+-// Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
+-//
+-#cmakedefine HAVE_DIRENT_H 1
+-
+-// Define to 1 if you have the <dlfcn.h> header file.
+-#cmakedefine HAVE_DLFCN_H 1
+-
+-// Define if [freetype] is available
+-#cmakedefine PL_HAVE_FREETYPE
+-
+-// Define if [shapelib] is available
+-#cmakedefine HAVE_SHAPELIB
+-
+-// Define if [agg] is available
+-#cmakedefine HAVE_AGG
+-
+-// Define to 1 if you have the <glib.h> header file.
+-#cmakedefine HAVE_GLIB_H 1
+-
+-// Define to 1 if you have the <glib-object.h> header file.
+-#cmakedefine HAVE_GLIB_OBJECT_H 1
+-
+-// Define to 1 if you have the <gtk/gtk.h> header file.
+-#cmakedefine HAVE_GTK_GTK_H 1
+-
+-// Define to 1 if you have the <inttypes.h> header file.
+-#cmakedefine HAVE_INTTYPES_H 1
+-
+-// Define if [incr], [Tcl] is available
+-#cmakedefine HAVE_ITCL
+-
+-// Define to 1 if you have the <itclDecls.h> header file.
+-#cmakedefine HAVE_ITCLDECLS_H 1
+-
+-// Define if Tk is available
+-#cmakedefine ENABLE_tk
+-
+-// Define if [incr], [Tk] is available
+-#cmakedefine HAVE_ITK
+-
+-// Define to 1 if you have the <jni.h> header file.
+-#cmakedefine HAVE_JNI_H 1
+-
+-// Define to 1 if you have the <libart_lgpl/libart.h> header file.
+-#cmakedefine HAVE_LIBART_LGPL_LIBART_H 1
+-
+-// Define to 1 if you have the <libgnomecanvas/libgnomecanvas.h> header file.
+-//
+-#cmakedefine HAVE_LIBGNOMECANVAS_LIBGNOMECANVAS_H 1
+-
+-// Define to 1 if you have the <libgnomeprint/gnome-print.h> header file.
+-#cmakedefine HAVE_LIBGNOMEPRINT_GNOME_PRINT_H 1
+-
+-// Define if libunicode is available
+-#cmakedefine HAVE_LIBUNICODE
+-
+-// Define to 1 if you have the <math.h> header file.
+-#cmakedefine HAVE_MATH_H 1
+-
+-// Define to 1 if you have the <memory.h> header file.
+-#cmakedefine HAVE_MEMORY_H 1
+-
+-// Define to 1 if the function mkstemp is available.
+-#cmakedefine PL_HAVE_MKSTEMP 1
+-
+-// Define to 1 if the function mkdtemp is available.
+-#cmakedefine PL_HAVE_MKDTEMP 1
+-
+-// Define to 1 if the function mkfifo is available.
+-#cmakedefine PL_HAVE_MKFIFO 1
+-
+-// Define to 1 if you have the <ndir.h> header file, and it defines `DIR'.
+-#cmakedefine HAVE_NDIR_H 1
+-
+-// Define if libpango is available
+-#cmakedefine HAVE_PANGO
+-
+-// Define if popen is available
+-#cmakedefine HAVE_POPEN
+-
+-// Define if _NSGetArgc is available
+-#cmakedefine HAVE_NSGETARGC
+-
+-// Define if pthreads is available
+-#cmakedefine PL_HAVE_PTHREAD
+-
+-// Define if Qhull is available
+-#cmakedefine PL_HAVE_QHULL
+-
+-// Define to 1 if you have the <stdlib.h> header file.
+-#cmakedefine HAVE_STDLIB_H 1
+-
+-// Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
+-//
+-#cmakedefine HAVE_SYS_DIR_H 1
+-
+-// Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
+-//
+-#cmakedefine HAVE_SYS_NDIR_H 1
+-
+-// Define to 1 if you have the <sys/stat.h> header file.
+-#cmakedefine HAVE_SYS_STAT_H 1
+-
+-// Define to 1 if you have the <sys/types.h> header file.
+-#cmakedefine HAVE_SYS_TYPES_H 1
+-
+-// Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible.
+-#cmakedefine HAVE_SYS_WAIT_H 1
+-
+-// Define to 1 if you have the <termios.h> header file.
+-#cmakedefine HAVE_TERMIOS_H 1
+-
+-// Define to 1 if you have the <crt_externs.h> header file.
+-#cmakedefine HAVE_CRT_EXTERNS_H 1
+-
+-// Define to 1 if the function unlink is available
+-#cmakedefine PL_HAVE_UNLINK 1
+-
+-// Define to 1 if you have the `vfork' function.
+-#cmakedefine HAVE_VFORK 1
+-
+-// Define to 1 if you have the <vfork.h> header file.
+-#cmakedefine HAVE_VFORK_H 1
+-
+-// Include sys/type.h if needed
+-#cmakedefine NEED_SYS_TYPE_H
+-
+-// Name of package
+-#define PACKAGE "@PACKAGE@"
+-
+-// Define if the win32 ltdl implementation should be used
+-#cmakedefine LTDL_WIN32
+-
+-// Portable definition for PTHREAD_MUTEX_RECURSIVE
+-#define PLPLOT_MUTEX_RECURSIVE @PLPLOT_MUTEX_RECURSIVE@
+-
+-// Directory containing fonts that are accessible from freetype
+-#define PL_FREETYPE_FONT_DIR "@PL_FREETYPE_FONT_DIR@"
+-
+-// MONO font accessible from freetype
+-#define PL_FREETYPE_MONO "@PL_FREETYPE_MONO@"
+-
+-// MONO_BOLD font accessible from freetype
+-#define PL_FREETYPE_MONO_BOLD "@PL_FREETYPE_MONO_BOLD@"
+-
+-// MONO_BOLD_ITALIC font accessible from freetype
+-#define PL_FREETYPE_MONO_BOLD_ITALIC "@PL_FREETYPE_MONO_BOLD_ITALIC@"
+-
+-// MONO_BOLD_OBLIQUE font accessible from freetype
+-#define PL_FREETYPE_MONO_BOLD_OBLIQUE "@PL_FREETYPE_MONO_BOLD_OBLIQUE@"
+-
+-// MONO_ITALIC font accessible from freetype
+-#define PL_FREETYPE_MONO_ITALIC "@PL_FREETYPE_MONO_ITALIC@"
+-
+-// MONO_OBLIQUE font accessible from freetype
+-#define PL_FREETYPE_MONO_OBLIQUE "@PL_FREETYPE_MONO_OBLIQUE@"
+-
+-// SANS font accessible from freetype
+-#define PL_FREETYPE_SANS "@PL_FREETYPE_SANS@"
+-
+-// SANS_BOLD font accessible from freetype
+-#define PL_FREETYPE_SANS_BOLD "@PL_FREETYPE_SANS_BOLD@"
+-
+-// SANS_BOLD_ITALIC font accessible from freetype
+-#define PL_FREETYPE_SANS_BOLD_ITALIC "@PL_FREETYPE_SANS_BOLD_ITALIC@"
+-
+-// SANS_BOLD_OBLIQUE font accessible from freetype
+-#define PL_FREETYPE_SANS_BOLD_OBLIQUE "@PL_FREETYPE_SANS_BOLD_OBLIQUE@"
+-
+-// SANS_ITALIC font accessible from freetype
+-#define PL_FREETYPE_SANS_ITALIC "@PL_FREETYPE_SANS_ITALIC@"
+-
+-// SANS_OBLIQUE font accessible from freetype
+-#define PL_FREETYPE_SANS_OBLIQUE "@PL_FREETYPE_SANS_OBLIQUE@"
+-
+-// SCRIPT font accessible from freetype
+-#define PL_FREETYPE_SCRIPT "@PL_FREETYPE_SCRIPT@"
+-
+-// SCRIPT_BOLD font accessible from freetype
+-#define PL_FREETYPE_SCRIPT_BOLD "@PL_FREETYPE_SCRIPT_BOLD@"
+-
+-// SCRIPT_BOLD_ITALIC font accessible from freetype
+-#define PL_FREETYPE_SCRIPT_BOLD_ITALIC "@PL_FREETYPE_SCRIPT_BOLD_ITALIC@"
+-
+-// SCRIPT_BOLD_OBLIQUE font accessible from freetype
+-#define PL_FREETYPE_SCRIPT_BOLD_OBLIQUE "@PL_FREETYPE_SCRIPT_BOLD_OBLIQUE@"
+-
+-// SCRIPT_ITALIC font accessible from freetype
+-#define PL_FREETYPE_SCRIPT_ITALIC "@PL_FREETYPE_SCRIPT_ITALIC@"
+-
+-// SCRIPT_OBLIQUE font accessible from freetype
+-#define PL_FREETYPE_SCRIPT_OBLIQUE "@PL_FREETYPE_SCRIPT_OBLIQUE@"
+-
+-// SERIF font accessible from freetype
+-#define PL_FREETYPE_SERIF "@PL_FREETYPE_SERIF@"
+-
+-// SERIF_BOLD font accessible from freetype
+-#define PL_FREETYPE_SERIF_BOLD "@PL_FREETYPE_SERIF_BOLD@"
+-
+-// SERIF_BOLD_ITALIC font accessible from freetype
+-#define PL_FREETYPE_SERIF_BOLD_ITALIC "@PL_FREETYPE_SERIF_BOLD_ITALIC@"
+-
+-// SERIF_BOLD_OBLIQUE font accessible from freetype
+-#define PL_FREETYPE_SERIF_BOLD_OBLIQUE "@PL_FREETYPE_SERIF_BOLD_OBLIQUE@"
+-
+-// SERIF_ITALIC font accessible from freetype
+-#define PL_FREETYPE_SERIF_ITALIC "@PL_FREETYPE_SERIF_ITALIC@"
+-
+-// SERIF_OBLIQUE font accessible from freetype
+-#define PL_FREETYPE_SERIF_OBLIQUE "@PL_FREETYPE_SERIF_OBLIQUE@"
+-
+-// Symbol font accessible from freetype
+-#define PL_FREETYPE_SYMBOL "@PL_FREETYPE_SYMBOL@"
+-
+-// SYMBOL_BOLD font accessible from freetype
+-#define PL_FREETYPE_SYMBOL_BOLD "@PL_FREETYPE_SYMBOL_BOLD@"
+-
+-// SYMBOL_BOLD_ITALIC font accessible from freetype
+-#define PL_FREETYPE_SYMBOL_BOLD_ITALIC "@PL_FREETYPE_SYMBOL_BOLD_ITALIC@"
+-
+-// SYMBOL_BOLD_OBLIQUE font accessible from freetype
+-#define PL_FREETYPE_SYMBOL_BOLD_OBLIQUE "@PL_FREETYPE_SYMBOL_BOLD_OBLIQUE@"
+-
+-// SYMBOL_ITALIC font accessible from freetype
+-#define PL_FREETYPE_SYMBOL_ITALIC "@PL_FREETYPE_SYMBOL_ITALIC@"
+-
+-// SYMBOL_OBLIQUE font accessible from freetype
+-#define PL_FREETYPE_SYMBOL_OBLIQUE "@PL_FREETYPE_SYMBOL_OBLIQUE@"
+-
+-// Define as the return type of signal handlers (`int' or `void').
+-#define RETSIGTYPE @RETSIGTYPE@
+-
+-// Location of Source tree
+-#define SOURCE_DIR "@SOURCE_DIR@"
+-
+-// Define to 1 if you have the ANSI C header files.
+-#cmakedefine STDC_HEADERS 1
+-
+-// Overall PLplot version number
+-#define PLPLOT_VERSION "@PLPLOT_VERSION@"
+-
+-// Location of Tcl stuff
+-#define TCL_DIR "@TCL_DIR@"
+-// Consistent package versions for Itcl and friends found by PLplot
+-// If PLplot could not find consistent values these are set to 0.0.0
+-#define PLPLOT_ITCL_VERSION "@PLPLOT_ITCL_VERSION@"
+-#define PLPLOT_ITK_VERSION "@PLPLOT_ITK_VERSION@"
+-#define PLPLOT_IWIDGETS_VERSION "@PLPLOT_IWIDGETS_VERSION@"
+-
+-// Define if csa is desired
+-#cmakedefine WITH_CSA
+-
+-// Define if want to use general fill_intersection_polygon approach
+-// rather than the traditional code to fill the intersection of a polygon with
+-// the clipping limits.
+-#cmakedefine USE_FILL_INTERSECTION_POLYGON
+-
+-// Define to `char *' if <sys/types.h> does not define.
+-#cmakedefine caddr_t
+-
+-// Define to `int' if <sys/types.h> does not define.
+-#cmakedefine pid_t
+-
+-// Define as `fork' if `vfork' does not work.
+-#cmakedefine vfork
+Index: drivers/plplotcanvas-hacktext.c
+===================================================================
+--- drivers/plplotcanvas-hacktext.c (revision 12913)
++++ drivers/plplotcanvas-hacktext.c (working copy)
+@@ -31,7 +31,7 @@
+ // FIXME: TODO: Clipping
+ //
+
+-#include <config.h>
++#include <plplot_config.h>
+
+ #include <math.h>
+ #include <string.h>
+Index: plplot_config.h.in
+===================================================================
+--- plplot_config.h.in (revision 0)
++++ plplot_config.h.in (revision 12914)
+@@ -0,0 +1,311 @@
++// Configured (by CMake) macros for PLplot that are required for the
++// core build but _not_ required for the build of the installed
++// examples (and presumably any user applications). Therefore, the
++// configured plplot_config.h should not be installed. In contrast,
++// include/plConfig.h.in (note, the configured plConfig.h result
++// #includes plplot_config.h for the core build because HAVE_CONFIG_H
++// is #defined in that case) contains configured macros that are
++// required for the core build, installed examples build, and build of
++// user applications. Therefore, in contrast to plplot_config.h,
++// plConfig.h should be installed.
++//
++// Maintenance issue: in makes no sense to configure duplicate macros
++// for both plplot_config.h and plConfig.h. Therefore, when adding a macro
++// decide which file to put it in depending on whether the result is
++// needed for the installed examples build or not. Furthermore, move
++// configured macros from one file to the other as needed depending on
++// that criterion, but do not copy them.
++//
++
++// Location of executables
++#define BIN_DIR "@BIN_DIR@"
++
++// Location of Build tree
++#define BUILD_DIR "@BUILD_DIR@"
++
++// Location of package data files
++#define DATA_DIR "@DATA_DIR@"
++
++// Location of dynamically loaded drivers
++#define DRV_DIR "@DRV_DIR@"
++
++// Name of the default cmap0 palette to use
++#define PL_DEFAULT_CMAP0_FILE "@DEFAULT_CMAP0_FILE@"
++
++// Name of the default cmap1 palette to use
++#define PL_DEFAULT_CMAP1_FILE "@DEFAULT_CMAP1_FILE@"
++
++// Define if support for deprecated plplot functions should be compiled
++#cmakedefine PL_DEPRECATED
++
++// Define if there is support for dynamically loaded drivers
++#cmakedefine ENABLE_DYNDRIVERS
++
++// Define to 1 if you have the <cmath> header file.
++#cmakedefine HAVE_CMATH 1
++
++// Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
++//
++#cmakedefine HAVE_DIRENT_H 1
++
++// Define to 1 if you have the <dlfcn.h> header file.
++#cmakedefine HAVE_DLFCN_H 1
++
++// Define if [freetype] is available
++#cmakedefine PL_HAVE_FREETYPE
++
++// Define if [shapelib] is available
++#cmakedefine HAVE_SHAPELIB
++
++// Define if [agg] is available
++#cmakedefine HAVE_AGG
++
++// Define to 1 if you have the <glib.h> header file.
++#cmakedefine HAVE_GLIB_H 1
++
++// Define to 1 if you have the <glib-object.h> header file.
++#cmakedefine HAVE_GLIB_OBJECT_H 1
++
++// Define to 1 if you have the <gtk/gtk.h> header file.
++#cmakedefine HAVE_GTK_GTK_H 1
++
++// Define to 1 if you have the <inttypes.h> header file.
++#cmakedefine HAVE_INTTYPES_H 1
++
++// Define if [incr], [Tcl] is available
++#cmakedefine HAVE_ITCL
++
++// Define to 1 if you have the <itclDecls.h> header file.
++#cmakedefine HAVE_ITCLDECLS_H 1
++
++// Define if Tk is available
++#cmakedefine ENABLE_tk
++
++// Define if [incr], [Tk] is available
++#cmakedefine HAVE_ITK
++
++// Define to 1 if you have the <jni.h> header file.
++#cmakedefine HAVE_JNI_H 1
++
++// Define to 1 if you have the <libart_lgpl/libart.h> header file.
++#cmakedefine HAVE_LIBART_LGPL_LIBART_H 1
++
++// Define to 1 if you have the <libgnomecanvas/libgnomecanvas.h> header file.
++//
++#cmakedefine HAVE_LIBGNOMECANVAS_LIBGNOMECANVAS_H 1
++
++// Define to 1 if you have the <libgnomeprint/gnome-print.h> header file.
++#cmakedefine HAVE_LIBGNOMEPRINT_GNOME_PRINT_H 1
++
++// Define if libunicode is available
++#cmakedefine HAVE_LIBUNICODE
++
++// Define to 1 if you have the <math.h> header file.
++#cmakedefine HAVE_MATH_H 1
++
++// Define to 1 if you have the <memory.h> header file.
++#cmakedefine HAVE_MEMORY_H 1
++
++// Define to 1 if the function mkstemp is available.
++#cmakedefine PL_HAVE_MKSTEMP 1
++
++// Define to 1 if the function mkdtemp is available.
++#cmakedefine PL_HAVE_MKDTEMP 1
++
++// Define to 1 if the function mkfifo is available.
++#cmakedefine PL_HAVE_MKFIFO 1
++
++// Define to 1 if you have the <ndir.h> header file, and it defines `DIR'.
++#cmakedefine HAVE_NDIR_H 1
++
++// Define if libpango is available
++#cmakedefine HAVE_PANGO
++
++// Define if popen is available
++#cmakedefine HAVE_POPEN
++
++// Define if _NSGetArgc is available
++#cmakedefine HAVE_NSGETARGC
++
++// Define if pthreads is available
++#cmakedefine PL_HAVE_PTHREAD
++
++// Define if Qhull is available
++#cmakedefine PL_HAVE_QHULL
++
++// Define to 1 if you have the <stdlib.h> header file.
++#cmakedefine HAVE_STDLIB_H 1
++
++// Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
++//
++#cmakedefine HAVE_SYS_DIR_H 1
++
++// Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
++//
++#cmakedefine HAVE_SYS_NDIR_H 1
++
++// Define to 1 if you have the <sys/stat.h> header file.
++#cmakedefine HAVE_SYS_STAT_H 1
++
++// Define to 1 if you have the <sys/types.h> header file.
++#cmakedefine HAVE_SYS_TYPES_H 1
++
++// Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible.
++#cmakedefine HAVE_SYS_WAIT_H 1
++
++// Define to 1 if you have the <termios.h> header file.
++#cmakedefine HAVE_TERMIOS_H 1
++
++// Define to 1 if you have the <crt_externs.h> header file.
++#cmakedefine HAVE_CRT_EXTERNS_H 1
++
++// Define to 1 if the function unlink is available
++#cmakedefine PL_HAVE_UNLINK 1
++
++// Define to 1 if you have the `vfork' function.
++#cmakedefine HAVE_VFORK 1
++
++// Define to 1 if you have the <vfork.h> header file.
++#cmakedefine HAVE_VFORK_H 1
++
++// Include sys/type.h if needed
++#cmakedefine NEED_SYS_TYPE_H
++
++// Name of package
++#define PACKAGE "@PACKAGE@"
++
++// Define if the win32 ltdl implementation should be used
++#cmakedefine LTDL_WIN32
++
++// Portable definition for PTHREAD_MUTEX_RECURSIVE
++#define PLPLOT_MUTEX_RECURSIVE @PLPLOT_MUTEX_RECURSIVE@
++
++// Directory containing fonts that are accessible from freetype
++#define PL_FREETYPE_FONT_DIR "@PL_FREETYPE_FONT_DIR@"
++
++// MONO font accessible from freetype
++#define PL_FREETYPE_MONO "@PL_FREETYPE_MONO@"
++
++// MONO_BOLD font accessible from freetype
++#define PL_FREETYPE_MONO_BOLD "@PL_FREETYPE_MONO_BOLD@"
++
++// MONO_BOLD_ITALIC font accessible from freetype
++#define PL_FREETYPE_MONO_BOLD_ITALIC "@PL_FREETYPE_MONO_BOLD_ITALIC@"
++
++// MONO_BOLD_OBLIQUE font accessible from freetype
++#define PL_FREETYPE_MONO_BOLD_OBLIQUE "@PL_FREETYPE_MONO_BOLD_OBLIQUE@"
++
++// MONO_ITALIC font accessible from freetype
++#define PL_FREETYPE_MONO_ITALIC "@PL_FREETYPE_MONO_ITALIC@"
++
++// MONO_OBLIQUE font accessible from freetype
++#define PL_FREETYPE_MONO_OBLIQUE "@PL_FREETYPE_MONO_OBLIQUE@"
++
++// SANS font accessible from freetype
++#define PL_FREETYPE_SANS "@PL_FREETYPE_SANS@"
++
++// SANS_BOLD font accessible from freetype
++#define PL_FREETYPE_SANS_BOLD "@PL_FREETYPE_SANS_BOLD@"
++
++// SANS_BOLD_ITALIC font accessible from freetype
++#define PL_FREETYPE_SANS_BOLD_ITALIC "@PL_FREETYPE_SANS_BOLD_ITALIC@"
++
++// SANS_BOLD_OBLIQUE font accessible from freetype
++#define PL_FREETYPE_SANS_BOLD_OBLIQUE "@PL_FREETYPE_SANS_BOLD_OBLIQUE@"
++
++// SANS_ITALIC font accessible from freetype
++#define PL_FREETYPE_SANS_ITALIC "@PL_FREETYPE_SANS_ITALIC@"
++
++// SANS_OBLIQUE font accessible from freetype
++#define PL_FREETYPE_SANS_OBLIQUE "@PL_FREETYPE_SANS_OBLIQUE@"
++
++// SCRIPT font accessible from freetype
++#define PL_FREETYPE_SCRIPT "@PL_FREETYPE_SCRIPT@"
++
++// SCRIPT_BOLD font accessible from freetype
++#define PL_FREETYPE_SCRIPT_BOLD "@PL_FREETYPE_SCRIPT_BOLD@"
++
++// SCRIPT_BOLD_ITALIC font accessible from freetype
++#define PL_FREETYPE_SCRIPT_BOLD_ITALIC "@PL_FREETYPE_SCRIPT_BOLD_ITALIC@"
++
++// SCRIPT_BOLD_OBLIQUE font accessible from freetype
++#define PL_FREETYPE_SCRIPT_BOLD_OBLIQUE "@PL_FREETYPE_SCRIPT_BOLD_OBLIQUE@"
++
++// SCRIPT_ITALIC font accessible from freetype
++#define PL_FREETYPE_SCRIPT_ITALIC "@PL_FREETYPE_SCRIPT_ITALIC@"
++
++// SCRIPT_OBLIQUE font accessible from freetype
++#define PL_FREETYPE_SCRIPT_OBLIQUE "@PL_FREETYPE_SCRIPT_OBLIQUE@"
++
++// SERIF font accessible from freetype
++#define PL_FREETYPE_SERIF "@PL_FREETYPE_SERIF@"
++
++// SERIF_BOLD font accessible from freetype
++#define PL_FREETYPE_SERIF_BOLD "@PL_FREETYPE_SERIF_BOLD@"
++
++// SERIF_BOLD_ITALIC font accessible from freetype
++#define PL_FREETYPE_SERIF_BOLD_ITALIC "@PL_FREETYPE_SERIF_BOLD_ITALIC@"
++
++// SERIF_BOLD_OBLIQUE font accessible from freetype
++#define PL_FREETYPE_SERIF_BOLD_OBLIQUE "@PL_FREETYPE_SERIF_BOLD_OBLIQUE@"
++
++// SERIF_ITALIC font accessible from freetype
++#define PL_FREETYPE_SERIF_ITALIC "@PL_FREETYPE_SERIF_ITALIC@"
++
++// SERIF_OBLIQUE font accessible from freetype
++#define PL_FREETYPE_SERIF_OBLIQUE "@PL_FREETYPE_SERIF_OBLIQUE@"
++
++// Symbol font accessible from freetype
++#define PL_FREETYPE_SYMBOL "@PL_FREETYPE_SYMBOL@"
++
++// SYMBOL_BOLD font accessible from freetype
++#define PL_FREETYPE_SYMBOL_BOLD "@PL_FREETYPE_SYMBOL_BOLD@"
++
++// SYMBOL_BOLD_ITALIC font accessible from freetype
++#define PL_FREETYPE_SYMBOL_BOLD_ITALIC "@PL_FREETYPE_SYMBOL_BOLD_ITALIC@"
++
++// SYMBOL_BOLD_OBLIQUE font accessible from freetype
++#define PL_FREETYPE_SYMBOL_BOLD_OBLIQUE "@PL_FREETYPE_SYMBOL_BOLD_OBLIQUE@"
++
++// SYMBOL_ITALIC font accessible from freetype
++#define PL_FREETYPE_SYMBOL_ITALIC "@PL_FREETYPE_SYMBOL_ITALIC@"
++
++// SYMBOL_OBLIQUE font accessible from freetype
++#define PL_FREETYPE_SYMBOL_OBLIQUE "@PL_FREETYPE_SYMBOL_OBLIQUE@"
++
++// Define as the return type of signal handlers (`int' or `void').
++#define RETSIGTYPE @RETSIGTYPE@
++
++// Location of Source tree
++#define SOURCE_DIR "@SOURCE_DIR@"
++
++// Define to 1 if you have the ANSI C header files.
++#cmakedefine STDC_HEADERS 1
++
++// Overall PLplot version number
++#define PLPLOT_VERSION "@PLPLOT_VERSION@"
++
++// Location of Tcl stuff
++#define TCL_DIR "@TCL_DIR@"
++// Consistent package versions for Itcl and friends found by PLplot
++// If PLplot could not find consistent values these are set to 0.0.0
++#define PLPLOT_ITCL_VERSION "@PLPLOT_ITCL_VERSION@"
++#define PLPLOT_ITK_VERSION "@PLPLOT_ITK_VERSION@"
++#define PLPLOT_IWIDGETS_VERSION "@PLPLOT_IWIDGETS_VERSION@"
++
++// Define if csa is desired
++#cmakedefine WITH_CSA
++
++// Define if want to use general fill_intersection_polygon approach
++// rather than the traditional code to fill the intersection of a polygon with
++// the clipping limits.
++#cmakedefine USE_FILL_INTERSECTION_POLYGON
++
++// Define to `char *' if <sys/types.h> does not define.
++#cmakedefine caddr_t
++
++// Define to `int' if <sys/types.h> does not define.
++#cmakedefine pid_t
++
++// Define as `fork' if `vfork' does not work.
++#cmakedefine vfork
+
+Property changes on: plplot_config.h.in
+___________________________________________________________________
+Added: svn:keywords
+## -0,0 +1 ##
++Author Date Id Revision
+\ No newline at end of property
+Added: svn:eol-style
+## -0,0 +1 ##
++native
+\ No newline at end of property
diff --git a/sci-libs/plplot/files/plplot-5.9.11-multiarch.patch b/sci-libs/plplot/files/plplot-5.9.11-multiarch.patch
new file mode 100644
index 000000000000..8f4512b976fc
--- /dev/null
+++ b/sci-libs/plplot/files/plplot-5.9.11-multiarch.patch
@@ -0,0 +1,50 @@
+diff -up plplot-5.9.11/examples/c++/Makefile.examples.in.multiarch plplot-5.9.11/examples/c++/Makefile.examples.in
+--- plplot-5.9.11/examples/c++/Makefile.examples.in.multiarch 2013-04-24 14:36:28.000000000 -0600
++++ plplot-5.9.11/examples/c++/Makefile.examples.in 2013-12-29 19:48:17.574496673 -0700
+@@ -25,10 +25,7 @@ CXX = @CXX@
+ EXEEXT = @EXEEXT@
+
+ LIB_TAG = @LIB_TAG@
+-PKG_CONFIG_ENV = @PKG_CONFIG_ENV@
+-RPATHCMD = @RPATHCMD@
+ @qt_gui_true@QT_MOC_EXECUTABLE = @QT_MOC_EXECUTABLE@
+-@qt_gui_true@qt_RPATHCMD = @qt_RPATHCMD@
+
+ @wxwidgets_true@PLPLOTWXWIDGETS_EXECUTABLES_list = \
+ @wxwidgets_true@ wxPLplotDemo$(EXEEXT)
+diff -up plplot-5.9.11/examples/c/Makefile.examples.in.multiarch plplot-5.9.11/examples/c/Makefile.examples.in
+--- plplot-5.9.11/examples/c/Makefile.examples.in.multiarch 2012-01-05 06:59:36.000000000 -0700
++++ plplot-5.9.11/examples/c/Makefile.examples.in 2013-12-29 19:48:17.574496673 -0700
+@@ -25,8 +25,6 @@ CC = @CC@
+ EXEEXT = @EXEEXT@
+
+ LIB_TAG = @LIB_TAG@
+-PKG_CONFIG_ENV = @PKG_CONFIG_ENV@
+-RPATHCMD = @RPATHCMD@
+
+ @gcw_true@PLPLOTCANVAS_EXECUTABLES_list = \
+ @gcw_true@ plplotcanvas_demo$(EXEEXT) \
+diff -up plplot-5.9.11/examples/f95/Makefile.examples.in.multiarch plplot-5.9.11/examples/f95/Makefile.examples.in
+--- plplot-5.9.11/examples/f95/Makefile.examples.in.multiarch 2012-02-19 11:33:33.000000000 -0700
++++ plplot-5.9.11/examples/f95/Makefile.examples.in 2013-12-29 19:48:20.960557580 -0700
+@@ -25,8 +25,6 @@ F95 = @FC@
+ EXEEXT = @EXEEXT@
+
+ LIB_TAG = @LIB_TAG@
+-PKG_CONFIG_ENV = @PKG_CONFIG_ENV@
+-RPATHCMD = @RPATHCMD@
+
+ EXECUTABLES_list = \
+ x00f$(EXEEXT) \
+diff -up plplot-5.9.11/examples/tk/Makefile.examples.in.multiarch plplot-5.9.11/examples/tk/Makefile.examples.in
+--- plplot-5.9.11/examples/tk/Makefile.examples.in.multiarch 2013-12-29 19:48:20.961557593 -0700
++++ plplot-5.9.11/examples/tk/Makefile.examples.in 2013-12-29 19:49:19.876587409 -0700
+@@ -24,8 +24,6 @@ CC = @CC@
+ EXEEXT = @EXEEXT@
+
+ LIB_TAG = @LIB_TAG@
+-PKG_CONFIG_ENV = @PKG_CONFIG_ENV@
+-plplottcltk_Main_RPATHCMD = @plplottcltk_Main_RPATHCMD@
+
+ EXECUTABLES_list = xtk01$(EXEEXT)
+ # Second and fourth examples depend on itk.
diff --git a/sci-libs/plplot/files/plplot-5.9.11-ocaml.patch b/sci-libs/plplot/files/plplot-5.9.11-ocaml.patch
new file mode 100644
index 000000000000..c10710c2e653
--- /dev/null
+++ b/sci-libs/plplot/files/plplot-5.9.11-ocaml.patch
@@ -0,0 +1,34 @@
+diff -up plplot-5.9.10/bindings/ocaml/CMakeLists.txt.ocaml plplot-5.9.10/bindings/ocaml/CMakeLists.txt
+--- plplot-5.9.10/bindings/ocaml/CMakeLists.txt.ocaml 2013-09-28 10:52:20.000000000 -0600
++++ plplot-5.9.10/bindings/ocaml/CMakeLists.txt 2013-10-24 09:35:47.093185622 -0600
+@@ -155,11 +155,11 @@ if(ENABLE_ocaml)
+ DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/plplot.cmo
+ )
+
+- # ocamlc -a -custom builds a *.cma library from *.cmo
++ # ocamlc -a builds a *.cma library from *.cmo
+ add_custom_command(
+ OUTPUT
+ ${CMAKE_CURRENT_BINARY_DIR}/plplot.cma
+- COMMAND ${OCAMLC} -a -custom -o ${CMAKE_CURRENT_BINARY_DIR}/plplot.cma ${CMAKE_CURRENT_BINARY_DIR}/plplot_core.cmo ${CMAKE_CURRENT_BINARY_DIR}/plplot.cmo -dllib -lplplot_stubs -ccopt -L${CMAKE_CURRENT_BINARY_DIR} -cclib -lplplot_stubs -ccopt -L${CAMLIDL_LIB_DIR} -cclib -lcamlidl -ccopt -L${CMAKE_BINARY_DIR}/src -cclib -lplplot${LIB_TAG} -dllpath ${CMAKE_BINARY_DIR}/src ${ocaml_STATIC_FLAGS}
++ COMMAND ${OCAMLC} -a -o ${CMAKE_CURRENT_BINARY_DIR}/plplot.cma ${CMAKE_CURRENT_BINARY_DIR}/plplot_core.cmo ${CMAKE_CURRENT_BINARY_DIR}/plplot.cmo -dllib -lplplot_stubs -ccopt -L${CMAKE_CURRENT_BINARY_DIR} -cclib -lplplot_stubs -ccopt -L${CAMLIDL_LIB_DIR} -cclib -lcamlidl -ccopt -L${CMAKE_BINARY_DIR}/src -cclib -lplplot${LIB_TAG} -dllpath ${CMAKE_BINARY_DIR}/src ${ocaml_STATIC_FLAGS}
+ DEPENDS
+ ${CMAKE_CURRENT_BINARY_DIR}/plplot_core.cmo
+ ${CMAKE_CURRENT_BINARY_DIR}/plplot.cmo
+diff -up plplot-5.9.10/bindings/ocaml/plcairo/CMakeLists.txt.ocaml plplot-5.9.10/bindings/ocaml/plcairo/CMakeLists.txt
+--- plplot-5.9.10/bindings/ocaml/plcairo/CMakeLists.txt.ocaml 2011-10-19 16:46:13.000000000 -0600
++++ plplot-5.9.10/bindings/ocaml/plcairo/CMakeLists.txt 2013-10-24 09:45:36.884193889 -0600
+@@ -84,11 +84,11 @@ if(ENABLE_ocaml AND OCAML_HAS_CAIRO)
+ DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/plcairo.cmo
+ )
+
+- # ocamlc -a -custom builds a *.cma library from *.cmo
++ # ocamlc -a builds a *.cma library from *.cmo
+ add_custom_command(
+ OUTPUT
+ ${CMAKE_CURRENT_BINARY_DIR}/plcairo.cma
+- COMMAND ${OCAMLC} -a -custom -o ${CMAKE_CURRENT_BINARY_DIR}/plcairo.cma -I ${PATH_TO_PLPLOT_CMA} plplot.cma ${CMAKE_CURRENT_BINARY_DIR}/plcairo.cmo -dllib -lplcairo_stubs -ccopt -L${CMAKE_CURRENT_BINARY_DIR} -cclib -lplcairo_stubs -ccopt -L${CMAKE_BINARY_DIR}/src -cclib -lplplot${LIB_TAG} -dllpath ${CMAKE_BINARY_DIR}/src
++ COMMAND ${OCAMLC} -a -o ${CMAKE_CURRENT_BINARY_DIR}/plcairo.cma -I ${PATH_TO_PLPLOT_CMA} plplot.cma ${CMAKE_CURRENT_BINARY_DIR}/plcairo.cmo -dllib -lplcairo_stubs -ccopt -L${CMAKE_CURRENT_BINARY_DIR} -cclib -lplcairo_stubs -ccopt -L${CMAKE_BINARY_DIR}/src -cclib -lplplot${LIB_TAG} -dllpath ${CMAKE_BINARY_DIR}/src
+ DEPENDS
+ ${CMAKE_CURRENT_BINARY_DIR}/plcairo.cmo
+ WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
diff --git a/sci-libs/plplot/files/plplot-5.9.11-octave.patch b/sci-libs/plplot/files/plplot-5.9.11-octave.patch
new file mode 100644
index 000000000000..f21b4d2c4f8e
--- /dev/null
+++ b/sci-libs/plplot/files/plplot-5.9.11-octave.patch
@@ -0,0 +1,12 @@
+diff -up plplot-5.9.9/plplot_test/test_octave.sh.in.octave plplot-5.9.9/plplot_test/test_octave.sh.in
+--- plplot-5.9.9/plplot_test/test_octave.sh.in.octave 2011-10-12 18:43:01.000000000 -0600
++++ plplot-5.9.9/plplot_test/test_octave.sh.in 2012-01-16 08:29:46.551852247 -0700
+@@ -35,7 +35,7 @@ echo "$TOPDIR"
+ export LD_LIBRARY_PATH="$TOPDIR"/src:"$TOPDIR"/lib/csa:"$TOPDIR"/lib/nn
+
+ # Launch an Octave script that exercises all the demos
+-$octave -f -q -p "$octavedir" <<EOF 2> test.error
++$octave -f -q $octaveopts -p "$octavedir" <<EOF 2> test.error
+
+ # Check verbose_test variable
+ if (strcmp(getenv("verbose_test"),"on") == 1)
diff --git a/sci-libs/plplot/metadata.xml b/sci-libs/plplot/metadata.xml
index c6cb1ea7cb53..7b67d268d00c 100644
--- a/sci-libs/plplot/metadata.xml
+++ b/sci-libs/plplot/metadata.xml
@@ -18,7 +18,9 @@
<use>
<flag name="ada">Add bindings for the ADA programming language</flag>
<flag name="dynamic">Build with dynamic drivers</flag>
- <flag name="octave">Add bindings for <pkg>sci-mathematics/octave</pkg></flag>
+ <flag name="octave">Add bindings for
+ <pkg>sci-mathematics/octave</pkg></flag>
+ <flag name="pdl">Add bindings for <pkg>dev-perl/PDL</pkg></flag>
<flag name="qhull">Add bindings for <pkg>media-libs/qhull</pkg></flag>
<flag name="shapefile">Enable support for ESRI shapefiles</flag>
</use>
diff --git a/sci-libs/plplot/plplot-5.9.9-r1.ebuild b/sci-libs/plplot/plplot-5.9.11.ebuild
index 68b60a3cfe56..0c70d4c1caf3 100644
--- a/sci-libs/plplot/plplot-5.9.9-r1.ebuild
+++ b/sci-libs/plplot/plplot-5.9.11.ebuild
@@ -1,83 +1,119 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/plplot/plplot-5.9.9-r1.ebuild,v 1.11 2013/11/16 08:28:48 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/plplot/plplot-5.9.11.ebuild,v 1.1 2014/01/16 00:49:50 bicatali Exp $
-EAPI=4
+EAPI=5
WX_GTK_VER="2.8"
-PYTHON_DEPEND="python? 2"
FORTRAN_NEEDED=fortran
+PYTHON_COMPAT=( python{2_6,2_7} )
-inherit eutils fortran-2 cmake-utils python toolchain-funcs virtualx \
- wxwidgets java-pkg-opt-2 multilib
+inherit eutils fortran-2 cmake-utils python-single-r1 toolchain-funcs \
+ virtualx wxwidgets java-pkg-opt-2 multilib
DESCRIPTION="Multi-language scientific plotting library"
HOMEPAGE="http://plplot.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="LGPL-2"
-SLOT="0"
+SLOT="0/12"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
-IUSE="ada cairo cxx doc dynamic examples fortran gd java jpeg latex lua
- ocaml octave pdf perl png python qhull qt4 svg tcl test threads tk
- truetype wxwidgets X"
+IUSE="ada cairo cxx doc +dynamic examples fortran gd java jpeg latex lua
+ ocaml octave pdf pdl png python qhull qt4 shapefile svg tcl test
+ threads tk truetype wxwidgets X"
RDEPEND="
ada? ( virtual/gnat )
cairo? ( x11-libs/cairo[svg?,X?] )
java? ( >=virtual/jre-1.5 )
gd? ( media-libs/gd[jpeg?,png?] )
- latex? ( virtual/latex-base app-text/ghostscript-gpl )
+ latex? (
+ app-text/ghostscript-gpl
+ virtual/latex-base
+ )
lua? ( dev-lang/lua )
ocaml? (
dev-lang/ocaml
dev-ml/camlidl
- cairo? ( dev-ml/cairo-ocaml[gtk] ) )
+ cairo? ( dev-ml/cairo-ocaml[gtk] )
+ )
octave? ( sci-mathematics/octave )
pdf? ( media-libs/libharu )
- perl? ( dev-perl/PDL dev-perl/XML-DOM )
+ pdl? (
+ dev-perl/PDL
+ dev-perl/XML-DOM
+ )
python? (
- dev-python/numpy
- qt4? ( dev-python/PyQt4 ) )
+ dev-python/numpy[${PYTHON_USEDEP}]
+ qt4? ( dev-python/PyQt4[${PYTHON_USEDEP}] )
+ )
qhull? ( media-libs/qhull )
qt4? (
dev-qt/qtgui:4
- dev-qt/qtsvg:4 )
- tcl? ( dev-lang/tcl dev-tcltk/itcl
- tk? ( dev-lang/tk dev-tcltk/itk ) )
+ dev-qt/qtsvg:4
+ )
+ shapefile? ( sci-libs/shapelib )
+ tcl? (
+ dev-lang/tcl
+ dev-tcltk/itcl
+ tk? (
+ dev-lang/tk
+ dev-tcltk/itk
+ )
+ )
truetype? (
- media-fonts/freefont
- media-libs/lasi
- gd? ( media-libs/gd[truetype] ) )
- wxwidgets? ( x11-libs/wxGTK:2.8[X] x11-libs/agg[truetype?] )
- X? ( x11-libs/libX11 x11-libs/libXau x11-libs/libXdmcp )"
+ media-fonts/freefont
+ media-libs/lasi
+ gd? ( media-libs/gd[truetype] )
+ )
+ wxwidgets? (
+ x11-libs/wxGTK:2.8[X]
+ x11-libs/agg[truetype?]
+ )
+ X? (
+ x11-libs/libX11
+ x11-libs/libXau
+ x11-libs/libXdmcp
+ )"
DEPEND="${RDEPEND}
virtual/pkgconfig
- java? ( >=virtual/jdk-1.5 dev-lang/swig )
+ java? (
+ >=virtual/jdk-1.5
+ dev-lang/swig
+ )
ocaml? ( dev-ml/findlib )
python? ( dev-lang/swig )
- test? ( media-fonts/font-misc-misc
- media-fonts/font-cursor-misc )"
-REQUIRED_USE="test? ( latex )"
+ test? (
+ media-fonts/font-misc-misc
+ media-fonts/font-cursor-misc
+ )"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) qt4? ( dynamic ) test? ( latex )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-5.9.6-python.patch
+ "${FILESDIR}"/${PN}-5.9.11-ocaml.patch
+ "${FILESDIR}"/${PN}-5.9.11-octave.patch
+ "${FILESDIR}"/${PN}-5.9.11-multiarch.patch
+ "${FILESDIR}"/${PN}-5.9.11-config.patch
+)
pkg_setup() {
- use python && python_set_active_version 2
+ use python && python-single-r1_pkg_setup
java-pkg-opt-2_pkg_setup
}
src_prepare() {
- epatch "${FILESDIR}"/${P}-tk86.patch
- # path for python independent of python version
- epatch "${FILESDIR}"/${PN}-5.9.6-python.patch
- # test with pdf assumes a modified bundled libharu
- epatch "${FILESDIR}"/${PN}-5.9.9-no-pdftest.patch
- # gentoo bug #419743 fixed upstream
- epatch "${FILESDIR}"/${PN}-5.9.9-CMakeLists.txt.patch
-
+ cmake-utils_src_prepare
# avoid installing license
sed -i -e '/COPYING.LIB/d' CMakeLists.txt || die
-
+ # prexify hard-coded /usr/include in cmake modules
+ sed -i \
+ -e "s:/usr/include:${EPREFIX}/usr/include:g" \
+ -e "s:/usr/lib:${EPREFIX}/usr/$(get_libdir):g" \
+ -e "s:/usr/share:${EPREFIX}/usr/share:g" \
+ cmake/modules/*.cmake || die
# change default install directories for doc and examples
sed -i \
-e 's:${DATA_DIR}/examples:${DOC_DIR}/examples:g' \
@@ -90,12 +126,19 @@ src_prepare() {
}
src_configure() {
- mycmakeargs=(
+ # don't build doc, it brings a whole lot of horrible dependencies
+ local mycmakeargs=(
-DDEFAULT_ALL_DEVICES=ON
-DTEST_DYNDRIVERS=OFF
-DCMAKE_INSTALL_LIBDIR="${EPREFIX}/usr/$(get_libdir)"
+ -DENABLE_d=OFF
+ -DBUILD_DVI=OFF
+ -DDOX_DOC=OFF
+ -DBUILD_DOC=OFF
+ $(cmake-utils_use doc PREBUILT_DOC)
$(cmake-utils_use_build test)
- $(cmake-utils_use_has python numpy)
+ $(cmake-utils_use_has python NUMPY)
+ $(cmake-utils_use_has shapefile SHAPELIB)
$(cmake-utils_use_with truetype FREETYPE)
$(cmake-utils_use_enable ada)
$(cmake-utils_use_enable cxx)
@@ -105,7 +148,7 @@ src_configure() {
$(cmake-utils_use_enable lua)
$(cmake-utils_use_enable ocaml)
$(cmake-utils_use_enable octave)
- $(cmake-utils_use_enable perl pdl)
+ $(cmake-utils_use_enable pdl)
$(cmake-utils_use_enable python)
$(cmake-utils_use_enable qt4 qt)
$(cmake-utils_use_enable tcl)
@@ -147,7 +190,6 @@ src_configure() {
$(cmake-utils_use truetype PLD_psttf)
$(cmake-utils_use svg PLD_svg)
$(cmake-utils_use wxwidgets PLD_wxpng)
- $(cmake-utils_use test PLD_ps)
$(cmake-utils_use wxwidgets PLD_wxwidgets)
$(cmake-utils_use X PLD_xwin)
)
@@ -160,9 +202,16 @@ src_configure() {
use truetype && mycmakeargs+=(
-DPL_FREETYPE_FONT_PATH:PATH="${EPREFIX}/usr/share/fonts/freefont"
)
+ use shapefile && mycmakeargs+=(
+ -DSHAPELIB_INCLUDE_DIR="${EPREFIX}/usr/include/libshp"
+ )
+ use ocaml && mycmakeargs+=(
+ -DOCAML_INSTALL_DIR="$(ocamlc -where)"
+ )
+ use python && mycmakeargs+=(
+ $(cmake-utils_use_enable qt4 pyqt4)
+ )
- use python && mycmakeargs+=( $(cmake-utils_use_enable qt4 pyqt4) )
- use doc && mycmakeargs+=( -DPREBUILT_DOC=ON )
cmake-utils_src_configure
# clean up bloated pkg-config files (help linking properly on prefix)
@@ -170,21 +219,25 @@ src_configure() {
-e "/Cflags/s:-I\(${EPREFIX}\|\)/usr/include[[:space:]]::g" \
-e "/Libs/s:-L\(${EPREFIX}\|\)/usr/lib\(64\|\)[[:space:]]::g" \
-e "s:${LDFLAGS}::g" \
- "${CMAKE_BUILD_DIR}"/pkgcfg/*pc || die
+ "${BUILD_DIR}"/pkgcfg/*pc || die
}
src_test() {
- pushd "${CMAKE_BUILD_DIR}" > /dev/null
+ pushd "${BUILD_DIR}" > /dev/null
Xemake test || die "tests failed"
popd > /dev/null
}
src_install() {
cmake-utils_src_install
- use examples || rm -rf "${ED}"/usr/share/doc/${PF}/examples
+ if use examples; then
+ docompress -x /usr/share/doc/${PF}/examples
+ else
+ rm -r "${ED}"/usr/share/doc/${PF}/examples || die
+ fi
if use java; then
- rm -rf "${ED}"/usr/share/java "${ED}"/usr/$(get_libdir)/jni
- java-pkg_dojar "${CMAKE_BUILD_DIR}"/examples/java/${PN}.jar
- java-pkg_doso "${CMAKE_BUILD_DIR}"/bindings/java/plplotjavac_wrap.so
+ rm -r "${ED}"/usr/share/java "${ED}"/usr/$(get_libdir)/jni || die
+ java-pkg_dojar "${BUILD_DIR}"/examples/java/${PN}.jar
+ java-pkg_doso "${BUILD_DIR}"/bindings/java/plplotjavac_wrap.so
fi
}