summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-03-12 19:26:19 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-03-13 23:50:14 +0100
commit44fdb3b5863b58db7b6960d1a869ffdac2355374 (patch)
treecbd67c3818742890c0b1d4a8bd31b4b156be5610
parentdev-ruby/net-ssh: keyworded 4.1.0 for ppc64, bug #611168 (diff)
downloadgentoo-44fdb3b5863b58db7b6960d1a869ffdac2355374.tar.gz
gentoo-44fdb3b5863b58db7b6960d1a869ffdac2355374.tar.bz2
gentoo-44fdb3b5863b58db7b6960d1a869ffdac2355374.zip
app-office/scribus: Drop 1.4.6
Bug: https://bugs.gentoo.org/631800 Package-Manager: Portage-2.3.24, Repoman-2.3.6
-rw-r--r--app-office/scribus/Manifest1
-rw-r--r--app-office/scribus/files/scribus-1.4.0-minizip.patch60
-rw-r--r--app-office/scribus/scribus-1.4.6.ebuild171
3 files changed, 0 insertions, 232 deletions
diff --git a/app-office/scribus/Manifest b/app-office/scribus/Manifest
index 27700cdb4b8..deea45c88c3 100644
--- a/app-office/scribus/Manifest
+++ b/app-office/scribus/Manifest
@@ -1,2 +1 @@
-DIST scribus-1.4.6.tar.xz 73601104 BLAKE2B 5968a48410d1a2a4caa333c9f83b43f68c964862d9aa3cb20e136760201ef2ef6cb82f770026b6f962758c9d397f25a017d906433f52f88bec11c57105c27f6b SHA512 74d8a89eb767535bcd8fe5e3c55d03709d59ff8fc5280005bcc2ad36cae1d37c8442ab85abaea86fdee9f351a901c86947231001324e2d8df00cbd8e5c18d1e3
DIST scribus-1.5.3.tar.xz 74222084 BLAKE2B ffb50c728c0669ab8a22c416c143e8dd47c818120247b4cf5a890872857326b53491be99004a344d78ea2cf2b174ae2987ddcddb4cef39a6e95fe1695be45d48 SHA512 487cea685869397bc52acc7be8e8e9f4bad3f594c1f95740207e4d9e26b07461a7fd2a95d5337b38f1b0fa6504a9f6059cca6740c78cc165eab0b779ffdfe980
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 c0a4b7cb38e..00000000000
--- 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 09084384679..00000000000
--- 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
-}