diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-03-18 04:54:42 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-03-18 04:54:42 +0000 |
commit | 5510d9d7d1c93c2ea71a2bd6f0666168808d5dd6 (patch) | |
tree | c968fff3108e2b4d88e4e564a56bfd066f170573 /app-office/scribus | |
parent | 1dde4e5c4b92d849bf1abf0a48135b2a0644f7e1 (diff) |
gentoo resync : 18.03.2018
Diffstat (limited to 'app-office/scribus')
-rw-r--r-- | app-office/scribus/Manifest | 3 | ||||
-rw-r--r-- | app-office/scribus/files/scribus-1.4.0-minizip.patch | 60 | ||||
-rw-r--r-- | app-office/scribus/scribus-1.4.6.ebuild | 171 |
3 files changed, 0 insertions, 234 deletions
diff --git a/app-office/scribus/Manifest b/app-office/scribus/Manifest index 0c50cb87498f..12903297b21f 100644 --- a/app-office/scribus/Manifest +++ b/app-office/scribus/Manifest @@ -1,4 +1,3 @@ -AUX scribus-1.4.0-minizip.patch 1891 BLAKE2B 407d5a46210573f511572ef3dd3e25f7b23a7a83b86e48878df9b71c4669a53a6bb8df80de51e42049dc363a14e4246d11c67c046bcebb85748db78300be14cb SHA512 99feefb8e4ba9ae903e6a7a68b4cd497572ef254b550c864135e20392902e3595ea4414916474d5e80ceabc66e6cc5fac09af41955cbb2ba8e8d41480009bd86 AUX scribus-1.5.3-cmake-openssl.patch 737 BLAKE2B 276d3ad6804506ef4d4c041ce1e0bbf943fe4325e933c9d56401690d1bbd38317898dd5ab00311ee3dd92a873255f615a6b8c415d3c7a6878ce0469ac2a24853 SHA512 63ef4eaa68aad8811150e4208842e602640a7e2e034d2923b79318ca1bcb433829daf7fb6b33fcd22d3e2e9f4103c5f7c6d76883970307ea280c0bfd6df80d61 AUX scribus-1.5.3-docdir.patch 1309 BLAKE2B 978a5b54992bc2d2e84cc7435ffe15c2ace03a649de6b240a5b7a8a513134eb1ffac3f9a0f8adcf8679bf07f7beef47b4216102f9d3e3c84333b208b68e41e00 SHA512 5f3bd4fe4f61a2c8d2a58e3f480c95d32280358366a7eabc3c483abe1f3ef07ef5e3864be8ffce8b48584da23f81cb9b96b81c83a59ad4f3da5c7a5c34234063 AUX scribus-1.5.3-fpic.patch 499 BLAKE2B 68790e6d7a76c4ae01490956b0db09bc79e1c27269fa4cd4c4752bd60b228e36973a1c32d5d8156c12782091fa15614ba274be07dee0d92df9ef521f2d4361a2 SHA512 e38fc85e72af67c0fea4c14dad92a759f5065cd4e337ef2257a90f27e39297c6991c467e53e9c51ae247bf2f8c34fa62fa76cf839a53b386c9c378e53756d015 @@ -6,9 +5,7 @@ AUX scribus-1.5.3-poppler-0.58.patch 17057 BLAKE2B 87a0e55baa398ed412b48cb5c4d3c AUX scribus-1.5.3-x86-fpic.patch 759 BLAKE2B 0abaed6521042c9398ea12075ffe88f3ec47b2f020a7040beb7312dfbb298e733b380935d5676102df7b04512f866bea2fb67fc9135cc741db208ad4b451176a SHA512 8b843098e31be3ad07ed82225a6b9bb7e46ae29b369508cdea6f092142d27071908c510ccbfe11b778d970e0b3a5bf14277e0124c781ba0f8bc230716a9c03e0 AUX scribus-9999-docdir.patch 1309 BLAKE2B 978a5b54992bc2d2e84cc7435ffe15c2ace03a649de6b240a5b7a8a513134eb1ffac3f9a0f8adcf8679bf07f7beef47b4216102f9d3e3c84333b208b68e41e00 SHA512 5f3bd4fe4f61a2c8d2a58e3f480c95d32280358366a7eabc3c483abe1f3ef07ef5e3864be8ffce8b48584da23f81cb9b96b81c83a59ad4f3da5c7a5c34234063 AUX scribus-9999-fpic.patch 499 BLAKE2B 68790e6d7a76c4ae01490956b0db09bc79e1c27269fa4cd4c4752bd60b228e36973a1c32d5d8156c12782091fa15614ba274be07dee0d92df9ef521f2d4361a2 SHA512 e38fc85e72af67c0fea4c14dad92a759f5065cd4e337ef2257a90f27e39297c6991c467e53e9c51ae247bf2f8c34fa62fa76cf839a53b386c9c378e53756d015 -DIST scribus-1.4.6.tar.xz 73601104 BLAKE2B 5968a48410d1a2a4caa333c9f83b43f68c964862d9aa3cb20e136760201ef2ef6cb82f770026b6f962758c9d397f25a017d906433f52f88bec11c57105c27f6b SHA512 74d8a89eb767535bcd8fe5e3c55d03709d59ff8fc5280005bcc2ad36cae1d37c8442ab85abaea86fdee9f351a901c86947231001324e2d8df00cbd8e5c18d1e3 DIST scribus-1.5.3.tar.xz 74222084 BLAKE2B ffb50c728c0669ab8a22c416c143e8dd47c818120247b4cf5a890872857326b53491be99004a344d78ea2cf2b174ae2987ddcddb4cef39a6e95fe1695be45d48 SHA512 487cea685869397bc52acc7be8e8e9f4bad3f594c1f95740207e4d9e26b07461a7fd2a95d5337b38f1b0fa6504a9f6059cca6740c78cc165eab0b779ffdfe980 -EBUILD scribus-1.4.6.ebuild 4501 BLAKE2B b30fa6004319b54965b5b61f9cc466535135a8dd78434b090ff827df779ec003af1cf9ed00903d1614b6102be34298a95a1c3c609b1c5ec7a707b09b42bfe393 SHA512 0ede0bf314d6aea40da9316ea1778b9e2810780d715fe5fb66221354467147c54694b3b6f620faa7da6ad386034cb4b8b03df9acb3cd372b17ecc4415543531b EBUILD scribus-1.5.3-r1.ebuild 7023 BLAKE2B fb1027454b96b4900ace6c0e859c15a5adb8e5e7be234a0164f7b513bca16ac7ada72fd66b93d484f57864536dec6266a6d2ab6d7c9b918d763b712300493a60 SHA512 fc814f7d0c88edb24f91326ad93f4034e0f39c1f5396c315bef6cec7b3de69c08e9867abba05f4241711d23daaee8656f74e0c77a9d60dfdec557542774821e5 EBUILD scribus-9999.ebuild 6947 BLAKE2B 98d7eacf3fe442b1539519139e9a127a3d7c0ea7fa5b9e75c6b7b220353ce7635c97675df9f2df1f272116c44f6825817e8c62fff75860d4cfeb75bc4fa388f8 SHA512 fd3911b80f04485f8fc11f2b30bc3f3e1ced644217b6e1d00716e48a68154b5b12102267e363b39dcaeaff129eb46b246f415c581f724951f45b3a9e174355af MISC metadata.xml 845 BLAKE2B 6522fd7c428e4f5f8bd77c03a09408e443e91d45fb0bbe72a312d48f1cdee38ab62a4059940237f18aa2e63b0595b79598846d5acb3d7289427b9d1cae768510 SHA512 18872713a1aa8d6739186ffa60f8f747f8ee9de41339c8a2d20c49d97771ce3967839044f7573bab2d7717a73c2705722071d16441bb458060db5f9e5c15f3d1 diff --git a/app-office/scribus/files/scribus-1.4.0-minizip.patch b/app-office/scribus/files/scribus-1.4.0-minizip.patch deleted file mode 100644 index c0a4b7cb38eb..000000000000 --- a/app-office/scribus/files/scribus-1.4.0-minizip.patch +++ /dev/null @@ -1,60 +0,0 @@ - Scribus.pro | 4 ---- - scribus/CMakeLists.txt | 2 -- - 2 files changed, 0 insertions(+), 6 deletions(-) - -diff --git a/Scribus.pro b/Scribus.pro -index 17b5417..0cc23c9 100644 ---- a/Scribus.pro -+++ b/Scribus.pro -@@ -276,7 +276,6 @@ HEADERS += scribus/about.h \ - scribus/insertaframe.h \ - scribus/insertTable.h \ - scribus/inspage.h \ -- scribus/ioapi.h \ - scribus/javadocs.h \ - scribus/KarbonCurveFit.h \ - scribus/langmgr.h \ -@@ -496,7 +495,6 @@ HEADERS += scribus/about.h \ - scribus/undostate.h \ - scribus/unicodesearch.h \ - scribus/units.h \ -- scribus/unzip.h \ - scribus/updatemanager.h \ - scribus/upgradechecker.h \ - scribus/urllauncher.h \ -@@ -933,7 +931,6 @@ SOURCES += scribus/about.cpp \ - scribus/insertaframe.cpp \ - scribus/insertTable.cpp \ - scribus/inspage.cpp \ -- scribus/ioapi.c \ - scribus/javadocs.cpp \ - scribus/KarbonCurveFit.cpp \ - scribus/langmgr.cpp \ -@@ -1143,7 +1140,6 @@ SOURCES += scribus/about.cpp \ - scribus/undostate.cpp \ - scribus/unicodesearch.cpp \ - scribus/units.cpp \ -- scribus/unzip.c \ - scribus/updatemanager.cpp \ - scribus/upgradechecker.cpp \ - scribus/urllauncher.cpp \ -diff --git a/scribus/CMakeLists.txt b/scribus/CMakeLists.txt -index dcd7e10..3aca69b 100644 ---- a/scribus/CMakeLists.txt -+++ b/scribus/CMakeLists.txt -@@ -405,7 +405,6 @@ SET(SCRIBUS_SOURCES - insertTable.cpp - insertaframe.cpp - inspage.cpp -- ioapi.c - javadocs.cpp - KarbonCurveFit.cpp - langmgr.cpp -@@ -613,7 +612,6 @@ SET(SCRIBUS_SOURCES - undostate.cpp - unicodesearch.cpp - units.cpp -- unzip.c - updatemanager.cpp - upgradechecker.cpp - urllauncher.cpp diff --git a/app-office/scribus/scribus-1.4.6.ebuild b/app-office/scribus/scribus-1.4.6.ebuild deleted file mode 100644 index 090843846790..000000000000 --- a/app-office/scribus/scribus-1.4.6.ebuild +++ /dev/null @@ -1,171 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) -PYTHON_REQ_USE="tk?" - -inherit cmake-utils fdo-mime python-single-r1 - -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 hunspell +minimal +pdf scripts templates tk" - -# a=$(ls resources/translations/po/scribus.*ts | sed -e 's:\.: :g' | awk '{print $2}'); echo ${a} -# Keep this sorted, otherwise eliminating of duplicates below won't work -IUSE_L10N=" af ar bg br ca cs_CZ cy da_DK de_1901 de_CH de el en_AU en_GB en_US eo 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" - -map_lang() { - local lang=${1/_/-} - case $1 in - # Retain the following, which have a specific subtag - de_*|en_*|pt_*|zh_*) ;; - # Consider all other xx_XX as duplicates of the generic xx tag - *_*) lang=${1%%_*} ;; - esac - echo ${lang} -} - -prev_l= -for l in ${IUSE_L10N}; do - l=$(map_lang ${l}) - [[ ${l} != "${prev_l}" ]] && IUSE+=" l10n_${l}" - prev_l=${l} -done -unset l prev_l - -REQUIRED_USE=" - ${PYTHON_REQUIRED_USE} - tk? ( scripts )" - -COMMON_DEPEND=" - ${PYTHON_DEPS} - dev-libs/boost - dev-libs/hyphen - dev-libs/libxml2 - dev-qt/qtcore:4 - dev-qt/qtgui:4 - 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] - virtual/jpeg:0= - cairo? ( x11-libs/cairo[X,svg] ) - !cairo? ( media-libs/libart_lgpl ) - hunspell? ( app-text/hunspell ) - pdf? ( app-text/podofo ) - scripts? ( dev-python/pillow[tk?,${PYTHON_USEDEP}] ) - tk? ( dev-python/pillow[tk?,${PYTHON_USEDEP}] ) -" -RDEPEND="${COMMON_DEPEND} - app-text/ghostscript-gpl" -DEPEND="${COMMON_DEPEND} - virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}"/${PN}-1.4.0-minizip.patch - ) - -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 - - sed \ - -e 's:\(${CMAKE_INSTALL_PREFIX}\):./\1:g' \ - -i resources/templates/CMakeLists.txt || die - - cmake-utils_src_prepare -} - -src_configure() { - local _lang lang langs - for _lang in ${IUSE_L10N}; do - lang=$(map_lang ${_lang}) - if use l10n_${lang}; then - langs+=",${_lang}" - else - sed -e "/${_lang}/d" -i scribus/doc/CMakeLists.txt || die - fi - done - - local mycmakeargs=( - -DHAVE_PYTHON=ON - -DPYTHON_INCLUDE_PATH="$(python_get_includedir)" - -DPYTHON_LIBRARY="$(python_get_library_path)" - -DWANT_NORPATH=ON - -DWANT_QT3SUPPORT=OFF - -IUSE_LINGUAS=ON - -DWANT_GUI_LANG=${langs#,} - -DCMAKE_INSTALL_DATAROOTDIR="${EPREFIX}/usr/share" - -DTAG_VERSION=-${PVR} - $(cmake-utils_use_with pdf PODOFO) - $(cmake-utils_use_want cairo) - $(cmake-utils_use_want !cairo QTARTHUR) - $(cmake-utils_use_want debug DEBUG) - $(cmake-utils_use_want minimal NOHEADERINSTALL) - $(cmake-utils_use_want hunspell HUNSPELL) - $(cmake-utils_use_want !examples NOEXAMPLES) - $(cmake-utils_use_want !templates NOTEMPLATES) - ) - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - - local _lang lang file - for _lang in ${IUSE_L10N}; do - lang=$(map_lang ${_lang}) - file="${ED}"/usr/share/scribus/translations/scribus.${_lang}.qm - if ! use l10n_${lang} && [[ -f "${file}" ]]; then - rm "${file}" || die - fi - done - - if ! use scripts; then - rm "${ED}"/usr/share/${PF}/scripts/*.py || die - else - if ! use tk; then - rm "${ED}"/usr/share/${PF}/scripts/{FontSample,CalendarWizard}.py* || die - fi - python_fix_shebang "${ED}"/usr/share/${PF}/scripts - python_optimize "${ED}"/usr/share/${PF}/scripts - fi - - mv "${ED}"/usr/share/doc/${PF}/{en,html} || die - ln -sf html "${ED}"/usr/share/doc/${PF}/en || die - cat >> "${T}"/COPYING <<- EOF - ${PN} is licensed under the "${LICENSE}". - Please visit https://www.gnu.org/licenses/gpl-2.0.html for the complete license text. - EOF - dodoc "${T}"/COPYING - docompress -x /usr/share/doc/${PF}/en /usr/share/doc/${PF}/{AUTHORS,TRANSLATION,LINKS,COPYING} - doicon resources/icons/scribus.png - domenu scribus.desktop -} - -pkg_postinst() { - fdo-mime_desktop_database_update - fdo-mime_mime_database_update -} - -pkg_postrm() { - fdo-mime_desktop_database_update - fdo-mime_mime_database_update -} |