diff options
author | Justin Lecher <jlec@gentoo.org> | 2012-08-31 14:17:26 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2012-08-31 14:17:26 +0000 |
commit | bbb8d8a1313d983ac10f4fe14a4edc7cf4aab227 (patch) | |
tree | e0599a4e57597d89c5abd13ba73fbb2a087c51b9 /app-office/scribus | |
parent | Version bump to 3.6.1. Drop older. Stabilise 3.5.6 on amd64 x86 and ppc. Remo... (diff) | |
download | historical-bbb8d8a1313d983ac10f4fe14a4edc7cf4aab227.tar.gz historical-bbb8d8a1313d983ac10f4fe14a4edc7cf4aab227.tar.bz2 historical-bbb8d8a1313d983ac10f4fe14a4edc7cf4aab227.zip |
app-office/scribus: Fix installation of LINGUAS dependened content and installation of templates/examples, #416767
Package-Manager: portage-2.2.0_alpha123/cvs/Linux x86_64
Diffstat (limited to 'app-office/scribus')
-rw-r--r-- | app-office/scribus/ChangeLog | 8 | ||||
-rw-r--r-- | app-office/scribus/Manifest | 9 | ||||
-rw-r--r-- | app-office/scribus/scribus-1.4.1-r1.ebuild | 127 |
3 files changed, 139 insertions, 5 deletions
diff --git a/app-office/scribus/ChangeLog b/app-office/scribus/ChangeLog index d052449148e5..f04ae62f5d01 100644 --- a/app-office/scribus/ChangeLog +++ b/app-office/scribus/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-office/scribus # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/scribus/ChangeLog,v 1.163 2012/08/06 12:12:34 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/scribus/ChangeLog,v 1.164 2012/08/31 14:17:26 jlec Exp $ + +*scribus-1.4.1-r1 (31 Aug 2012) + + 31 Aug 2012; Justin Lecher <jlec@gentoo.org> +scribus-1.4.1-r1.ebuild: + Fix installation of LINGUAS dependened content and installation of + templates/examples, #416767 06 Aug 2012; Justin Lecher <jlec@gentoo.org> scribus-9999.ebuild: Add missing dependency on x11-libs/qt-webkit to live ebuild, thanks John diff --git a/app-office/scribus/Manifest b/app-office/scribus/Manifest index 296419496156..3728872e4a87 100644 --- a/app-office/scribus/Manifest +++ b/app-office/scribus/Manifest @@ -11,16 +11,17 @@ AUX scribus-1.5.0-docs.patch 751 SHA256 7b34557bc506b9b2f6d2c8d968e619d080ed7625 DIST scribus-1.4.0.tar.bz2 42134397 SHA256 9ae4e50523f0891c9dce45893ca9f58d32096442e43e75acec466fd9405362a9 SHA512 743ffcfb6f82c0e80b572d31d3e6b4547e9d7902f872571076c9d07371f857f2ccf345f75a0c8c451a296b044516c183bea461f18837eaacbed1f6ee2b3e1c8f WHIRLPOOL 5f96ef9ae6dabd5b5a07444f11c17f0a31670d11afd216c847d4ce018f786aacd3d39f469c37ca3f3c5ab5df3a635fdff4da422745fc77acce25d9d32cb97241 DIST scribus-1.4.1.tar.xz 63039820 SHA256 6853fc40cd178d0dcefcc9305fba6824bbe7fd915b0eb277d742b13297f8c7d8 SHA512 726c5f05644e573c13e741ed356ce5bd8366b824c71e587167b9c73f5f1ab6eeb7c78f26f2146cbaf09921fd583b1758dc1d3cf1d1c79d1bb8be586df88f055c WHIRLPOOL 0592405daa4b092d2861c6697a835d3564b30fa4fcbd50bdb5d743269ac8113f4dd5d8f187dd1fdcdd2358b28772905f46c3737bea79dfb5f1120b107bfc8c30 EBUILD scribus-1.4.0-r2.ebuild 3136 SHA256 4472004106d235c5a2080c4b4793e31fb91f6597797ca3957a5f599cc2bf6300 SHA512 3c4b25474d3c7ded3308c4d2d293a59428b89b3bfe431fbd7ef10e304d39385b39b9d7aeca931ce3c7e031d12c043b4fd9cbc40e4dfb9b05a9f4b7959a6c4dd9 WHIRLPOOL 41dfc8451d5467a1c23e279865a98d86487a8042fcbb7043979aad8a3a17f41c0a0a353d7a3b886eb453d89412394546f504adda41cd3756c151b9f4955c430e +EBUILD scribus-1.4.1-r1.ebuild 3292 SHA256 7f043e3846ab1e55d97b0d66c978b005af4f755b6dd54ebf3de4bebd3dc49381 SHA512 0bfe8f0fa3134950f79a82022e9612edee04e0ed1a2a1684db9c27edd9ad52fedf9eccca854290bfadf63cee7489b652e8fbde656f30865100bb00f64c7287d4 WHIRLPOOL f30727df3fd4c5c27b65014574a887fdb9742bccd5e0624b3cc735d518b976af3268eecbf2e06b28b4830cbf30c2bf7c7aad613b51ba06e89dff0b8210b724fc EBUILD scribus-1.4.1.ebuild 3171 SHA256 78f296a70d6bd9c1b1f7ec92e7540ad2bab535976ce1b9142d909c3734ab0922 SHA512 41099fb923373a560eea67cb2f886840250455cf9d5203ca4150218524cd96edc30a2a880113176639b4b230a5a2a480a3e0c09e6af4b61da03d4af1f21e9801 WHIRLPOOL 6e548d889bdf98cd3e0849ceb2cc41c907263918b475a4d62f86bb8608deecbb48b9f11808fd984d588a77ab2b7afcb9d8da035f99ba8a089b44970b9555b153 EBUILD scribus-1.4.9999.ebuild 3208 SHA256 15f7a0e9d47c6b54a8374940a0fcd78d1e2957fe971ed79ead34acb3c130c9ad SHA512 94de4582eaddd98991ce30a8d95ca4ceaf63737111cf89c60f922338346698e4df5e6fdc42caa9b8ffdfb5b6937c081a777df3dfa763331d953b93aa70377d3b WHIRLPOOL d96a157a6593abe93387d7dc00029b00ce1c948488874b4bf379fb4756f13a94b83fb41ae682c1885eb565c7e7fdf2cefed70e8f809b217aeeee4a7a9caf26cb EBUILD scribus-9999.ebuild 2969 SHA256 741e9969b3cd274e64bed59bd47d0cf8c2f571932373c04f854baa7501028e2b SHA512 ceeed85ab5e7cce9c63693c35df68706fa2cd2561dfb79a2a8c67a2ca150d5fe27ad68d6dc8b635f8a615746cb825a8d5be44b7f5f9823a0627d76025f64c641 WHIRLPOOL 4860cef803c7c22d03b913e5d3065a481b69117bb599fb280a0d0119410139078d2ff167241965b93f20bdee3018e05ae095662619f020bc2cf421ffa54c85d4 -MISC ChangeLog 21239 SHA256 18549fc644b54403f8f27bd94c7ecd25ed1b22e5e1f23bf0dcd2fafa2c9115b9 SHA512 08791d45a828ae58fe02ecc503e9c8a4d8a66195ca28e639e2b45d7fc16065f010c03abf66f000caae7a7e185b5a8aa80193dbcc88be9355861cec988d1be3b0 WHIRLPOOL 384204ad47a20e5ed497b9ea79c84af73756a07100d7add8419ea873da4ec36e26a7a14fe1aff9cb0aab31a583132ac98833bdd3506419483ef23109839c2c32 +MISC ChangeLog 21445 SHA256 7636978b64d8c11661d4f1a1619d53cee350418374c04421c34ed0a2c32da309 SHA512 66443b7c3ca326d8ab8cd96f3d913aaecd03a35d75e8c2bd45e2fcbe288916a32dfdc9de73d283af06a3a9c701bd7de9f93fdb429e86dc5d1df9f2b89c726dbd WHIRLPOOL 1a7b0f7daa874ef3927c07f97c0ad84254d4472bf551df2ebaaab02acc9675a3769e833c056e0dec7dcb2dda69a12dfe34158ff44e582fd3e918bf2d05ab6f15 MISC metadata.xml 1137 SHA256 794d317abd9329bff636e333c582e7fd79a8f4cccfe8d606d960eb2aebb22ccc SHA512 c348d7444b9062bce4b8237d61158c1964e3b6fe9acde894cad0371fc2f39cfe5eb8cb45ea4c79a2b99683568cf32d697f1d6bbdd7218fb1869afed39cef3abb WHIRLPOOL eed011b1b93bb12cd14b5cf59357d343a6ff7eb91b5f907597bbee9c172e6474dca3c95896d4828e3a1e90357d34b557eaa7e42a12cde7e36a95998fb4e5169f -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: GPGTools - http://gpgtools.org -iEYEAREIAAYFAlAftLgACgkQgAnW8HDreRYyhQCfbZljeiDCkCMuXC/5yYWahWEc -AbkAoI1rKnU9FgtJ67dsi0+AVz/mvDoC -=72kn +iEYEAREIAAYFAlBAx3wACgkQgAnW8HDreRbzTgCggbZsuLd5rhFee+oWS0fw0Ezk +xq4AoLpwPBZboLPTCENqQeN/5Ch8bjsI +=0YcL -----END PGP SIGNATURE----- diff --git a/app-office/scribus/scribus-1.4.1-r1.ebuild b/app-office/scribus/scribus-1.4.1-r1.ebuild new file mode 100644 index 000000000000..9d23c82b1593 --- /dev/null +++ b/app-office/scribus/scribus-1.4.1-r1.ebuild @@ -0,0 +1,127 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-office/scribus/scribus-1.4.1-r1.ebuild,v 1.1 2012/08/31 14:17:26 jlec Exp $ + +EAPI=4 + +PYTHON_DEPEND="2" + +inherit cmake-utils fdo-mime multilib python + +DESCRIPTION="Desktop publishing (DTP) and layout program" +HOMEPAGE="http://www.scribus.net/" +SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="cairo debug examples +minimal +pdf spell templates" + +# a=$(ls resources/translations/po/scribus.*ts | sed -e 's:\.: :g' | awk '{print $2}'); echo ${a} +IUSE_LINGUAS=" af ar bg br ca cs_CZ cy da_DK de_1901 de_CH de el en_AU en_GB en_US es_ES et eu fi fr gl hu id it ja ko lt_LT nb_NO nl pl_PL pt_BR pt ru sa sk_SK sl sq sr sv th_TH tr uk zh_CN zh_TW" +IUSE+=" ${IUSE_LINGUAS// / linguas_}" + +COMMON_DEPEND=" + dev-libs/hyphen + dev-libs/libxml2 + media-libs/fontconfig + media-libs/freetype:2 + media-libs/lcms:2 + media-libs/libpng:0 + media-libs/tiff:0 + net-print/cups + sys-libs/zlib[minizip] + x11-libs/qt-core:4 + x11-libs/qt-gui:4 + virtual/jpeg + spell? ( app-text/aspell ) + pdf? ( app-text/podofo ) + cairo? ( x11-libs/cairo[X,svg] )" +RDEPEND="${COMMON_DEPEND} + app-text/ghostscript-gpl" +DEPEND="${COMMON_DEPEND} + dev-libs/boost" + +S="${WORKDIR}"/Scribus + +PATCHES=( + "${FILESDIR}"/${PN}-1.4.0_rc5-docs.patch +# "${FILESDIR}"/${P}-export.patch + "${FILESDIR}"/${PN}-1.4.0-minizip.patch + ) + +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + +src_prepare() { + cat > cmake/modules/FindZLIB.cmake <<- EOF + find_package(PkgConfig) + pkg_check_modules(ZLIB minizip zlib) + SET( ZLIB_LIBRARY \${ZLIB_LIBRARIES} ) + SET( ZLIB_INCLUDE_DIR \${ZLIB_INCLUDE_DIRS} ) + MARK_AS_ADVANCED( ZLIB_LIBRARY ZLIB_INCLUDE_DIR ) + EOF + + rm scribus/{ioapi,unzip}.[ch] || die + + if ! use templates; then + sed '/ADD_SUBDIRECTORY(resources\/templates)/d' -i CMakeLists.txt || die + fi + if ! use examples; then + sed '/ADD_SUBDIRECTORY(samples)/d' -i scribus/plugins/scriptplugin/CMakeLists.txt || die + fi + + base_src_prepare +} + +src_configure() { + local lang langs + for lang in ${IUSE_LINGUAS}; do + use linguas_${lang} && langs+=",${lang}" + done + + local mycmakeargs=( + -DHAVE_PYTHON=ON + -DPYTHON_INCLUDE_PATH=$(python_get_includedir) + -DPYTHON_LIBRARY=$(python_get_library) + -DWANT_NORPATH=ON + -DWANT_QTARTHUR=ON + -DWANT_QT3SUPPORT=OFF + -DGENTOOVERSION=${PVR} + -DWANT_GUI_LANG=${langs#,} + $(cmake-utils_use_has spell ASPELL) + $(cmake-utils_use_has pdf PODOFO) + $(cmake-utils_use_want cairo) + $(cmake-utils_use_want minimal NOHEADERINSTALL) + $(cmake-utils_use_want debug DEBUG) + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + mv "${ED}"/usr/share/doc/${PF}/{en,html} || die + ln -sf html "${ED}"/usr/share/doc/${PF}/en || die + use linguas_de || rm -rf "${ED}"/usr/share/doc/${PF}/de + use linguas_it || rm -rf "${ED}"/usr/share/doc/${PF}/it + docompress -x /usr/share/doc/${PF}/en + doicon resources/icons/scribus.png + domenu scribus.desktop +} + +pkg_preinst() { + # 399595 + rm -vf "${ED}"/usr/share/doc/${PF}/en* || die + ln -sf html "${ED}"/usr/share/doc/${PF}/en +} + +pkg_postinst() { + fdo-mime_mime_database_update +} + +pkg_postrm() { + fdo-mime_mime_database_update +} |