diff options
author | Justin Lecher <jlec@gentoo.org> | 2012-02-13 09:25:29 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2012-02-13 09:25:29 +0000 |
commit | 5df424a579e116d0cded231b4438133643ff3f64 (patch) | |
tree | 87707b9e9eca72600d546c1562a6668069153c0b /app-office | |
parent | Bug #352083: install LPK schema. (diff) | |
download | historical-5df424a579e116d0cded231b4438133643ff3f64.tar.gz historical-5df424a579e116d0cded231b4438133643ff3f64.tar.bz2 historical-5df424a579e116d0cded231b4438133643ff3f64.zip |
Handle debug build correctly, add live ebuild
Package-Manager: portage-2.2.0_alpha86/cvs/Linux x86_64
Diffstat (limited to 'app-office')
-rw-r--r-- | app-office/scribus/ChangeLog | 8 | ||||
-rw-r--r-- | app-office/scribus/Manifest | 11 | ||||
-rw-r--r-- | app-office/scribus/scribus-1.4.0.ebuild | 3 | ||||
-rw-r--r-- | app-office/scribus/scribus-9999.ebuild | 119 |
4 files changed, 134 insertions, 7 deletions
diff --git a/app-office/scribus/ChangeLog b/app-office/scribus/ChangeLog index aecfa44061c4..891cef658172 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.150 2012/01/22 13:01:35 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/scribus/ChangeLog,v 1.151 2012/02/13 09:25:29 jlec Exp $ + +*scribus-9999 (13 Feb 2012) + + 13 Feb 2012; Justin Lecher <jlec@gentoo.org> scribus-1.4.0.ebuild, + +scribus-9999.ebuild: + Handle debug build correctly, add live ebuild 22 Jan 2012; Justin Lecher <jlec@gentoo.org> scribus-1.4.0.ebuild: Don't compress the help file symlink with temporary workaround from #399595, diff --git a/app-office/scribus/Manifest b/app-office/scribus/Manifest index 6b9880e8dabb..85020c92768a 100644 --- a/app-office/scribus/Manifest +++ b/app-office/scribus/Manifest @@ -8,13 +8,14 @@ DIST scribus-1.3.9.tar.bz2 35729860 RMD160 63e1d3f7f723843e9d1c787e1405b57a15f08 DIST scribus-1.4.0.tar.bz2 42134397 RMD160 f4a0813c1961f1929bccaaa4c0a21f84dfd75c62 SHA1 d19e455f261c4075076f1d6f4a55fbd934a66c60 SHA256 9ae4e50523f0891c9dce45893ca9f58d32096442e43e75acec466fd9405362a9 EBUILD scribus-1.3.9-r2.ebuild 2116 RMD160 c6c4c443911ea6d6052e0f094685e0e83d0a4324 SHA1 48327cd45dfc02a60b989b920bccf6770ee823d5 SHA256 85b650842af55f1ebd063d898fb3b32e4a4c7d3c3bbfa6e2382f024b485143fb EBUILD scribus-1.3.9.ebuild 1760 RMD160 98f5cdabc0a96a5e2851f310491062d69fad782a SHA1 ddf0cad864308587b1e0e6c4c1711e8dcb2428be SHA256 fca86c8dec51f2cf185702bb0db6aa3ceaa483895d1ac2c200005c33f2492849 -EBUILD scribus-1.4.0.ebuild 2831 RMD160 ab9ce9c91a52ea1ed8c854888f497516f1b63595 SHA1 3565f462f22e83d6908cecd850d7b68e3bf6959a SHA256 278557c7438a0f5d1b0e261640a23fb6e1463f80ab97edd2c4b829d8b38acf6b -MISC ChangeLog 19183 RMD160 8ff4483e4b1dcffef784dc8699fc84fea09b4151 SHA1 a4788b99c8df6f3186e8f0cbe5ae59c22bdcf27f SHA256 fddffa4250258e021ac15dd4e916e4ce268d135eb01d6b1290306eddf1196d5d +EBUILD scribus-1.4.0.ebuild 2869 RMD160 f3de2505d5c86a6788e12b7e66d4f0ef935e0e18 SHA1 639464ebb8932b4ead6df0adcb6021930ec4e8c8 SHA256 be1a6ba379910b2f164b4d276ba90cf2babf4efcabc3b11fa07831c056d54ee8 +EBUILD scribus-9999.ebuild 2951 RMD160 77bd6e3b2e46b0dce5033678e6e228f968f1b08a SHA1 c4ff832ca4cd0fa4a70e0e62fa0a9c9a53cf3487 SHA256 86971283dc370b8b35fff58c79fbddd8b60a4418fff40faea03014ac40300855 +MISC ChangeLog 19354 RMD160 a782da586993459a24b775a40954dde866d419c4 SHA1 31d3e3e33e729ac14c3df941a9f0481a8fc5d6ce SHA256 6a75a043d1764f0f8186a094c39be98d4f90aa98954dcb2c5034b132d17697bb MISC metadata.xml 1137 RMD160 00e3b693f409e0d90ee575f294c3caa1cbcc2b22 SHA1 8b7b7aef6154e329325efd40da2c22b7c099c513 SHA256 794d317abd9329bff636e333c582e7fd79a8f4cccfe8d606d960eb2aebb22ccc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) -iEYEAREKAAYFAk8cCMMACgkQgAnW8HDreRbBUACglKxhCNyNFaKbiTOHNp0BkUho -bhUAn2DiPXuX+mwafkztTNpaSaUnxVm8 -=6lh+ +iEYEAREKAAYFAk841w4ACgkQgAnW8HDreRZKGACgtHuKAtLcXhvO2One0LKVmjVL +YsUAn1iD4w29TeMH7XIl1n4PKWCb+1MJ +=5tu+ -----END PGP SIGNATURE----- diff --git a/app-office/scribus/scribus-1.4.0.ebuild b/app-office/scribus/scribus-1.4.0.ebuild index 0c1e651e1f90..18c23bf630d8 100644 --- a/app-office/scribus/scribus-1.4.0.ebuild +++ b/app-office/scribus/scribus-1.4.0.ebuild @@ -1,6 +1,6 @@ # 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.0.ebuild,v 1.2 2012/01/22 13:01:35 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/scribus/scribus-1.4.0.ebuild,v 1.3 2012/02/13 09:25:29 jlec Exp $ EAPI=4 @@ -85,6 +85,7 @@ src_configure() { $(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 } diff --git a/app-office/scribus/scribus-9999.ebuild b/app-office/scribus/scribus-9999.ebuild new file mode 100644 index 000000000000..25f6f356323e --- /dev/null +++ b/app-office/scribus/scribus-9999.ebuild @@ -0,0 +1,119 @@ +# 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-9999.ebuild,v 1.1 2012/02/13 09:25:29 jlec Exp $ + +EAPI=4 + +PYTHON_DEPEND="2" + +inherit cmake-utils fdo-mime multilib python subversion + +DESCRIPTION="Desktop publishing (DTP) and layout program" +HOMEPAGE="http://www.scribus.net/" +#SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" +SRC_URI="" +ESVN_REPO_URI="svn://scribus.net/trunk/Scribus" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" +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 + 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" + +PATCHES=( + "${FILESDIR}"/${PN}-1.4.0_rc5-docs.patch + ) + +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + +src_prepare() { + 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 + + sed \ + -e '1i#define OF(x) x' \ + -i scribus/fileunzip.cpp scribus/unzip.h scribus/ioapi.h || die + + base_src_prepare + subversion_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 + 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 + subversion_pkg_preinst +} + +pkg_postinst() { + fdo-mime_mime_database_update +} + +pkg_postrm() { + fdo-mime_mime_database_update +} |