From c956c264bdc853972b72016b752683468881af25 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 9 Oct 2022 01:31:00 +0100 Subject: gentoo auto-resync : 09:10:2022 - 01:31:00 --- app-office/Manifest.gz | Bin 7888 -> 7895 bytes app-office/gnumeric/Manifest | 4 +- app-office/gnumeric/gnumeric-1.12.52-r1.ebuild | 98 +++++++++++++++ app-office/gnumeric/gnumeric-1.12.52.ebuild | 98 --------------- app-office/gnumeric/gnumeric-1.12.53-r1.ebuild | 94 ++++++++++++++ app-office/gnumeric/gnumeric-1.12.53.ebuild | 94 -------------- app-office/scribus/Manifest | 2 +- app-office/scribus/scribus-1.5.8-r1.ebuild | 164 ------------------------- app-office/scribus/scribus-1.5.8-r2.ebuild | 164 +++++++++++++++++++++++++ 9 files changed, 359 insertions(+), 359 deletions(-) create mode 100644 app-office/gnumeric/gnumeric-1.12.52-r1.ebuild delete mode 100644 app-office/gnumeric/gnumeric-1.12.52.ebuild create mode 100644 app-office/gnumeric/gnumeric-1.12.53-r1.ebuild delete mode 100644 app-office/gnumeric/gnumeric-1.12.53.ebuild delete mode 100644 app-office/scribus/scribus-1.5.8-r1.ebuild create mode 100644 app-office/scribus/scribus-1.5.8-r2.ebuild (limited to 'app-office') diff --git a/app-office/Manifest.gz b/app-office/Manifest.gz index 534bc8137575..f9cd0d849ccc 100644 Binary files a/app-office/Manifest.gz and b/app-office/Manifest.gz differ diff --git a/app-office/gnumeric/Manifest b/app-office/gnumeric/Manifest index e2d2ccf2e904..b1edc131f8ba 100644 --- a/app-office/gnumeric/Manifest +++ b/app-office/gnumeric/Manifest @@ -1,6 +1,6 @@ AUX gnumeric-1.12.52-slibtool.patch 1489 BLAKE2B aff4a76659bbe81f178baeadea9967870e6a5c38f960bce1287951056eae038cf3c34c7f1e8f7b65aa5999ec9a1474d9e8732b89d432b68ce015dcc96d7a0c27 SHA512 805507509d8fa5702734b74f7c3004001ab3c84e22e14773025b2b53015d3b01bb8acfe7094812e5ad4fac73f8c3e04f2a1d78f99f619bf0f16607d2da0f02aa DIST gnumeric-1.12.52.tar.xz 18115444 BLAKE2B 6d8489c27b6f7bd0ffad7d255b606a48ca9660dd38973e4bb529d38797a3029db4a0a399e40f69c84ddf33b96d27cfc184fd079fbe16590b92e056c1a836b037 SHA512 3baa2d2c4ed5f740429454f988ea527991febf38f49df17f0d88affe501c676bae95149fb0cdb4b369ef8d32247c1f4fe4c0eeab9a60329e1332aaf9c566f868 DIST gnumeric-1.12.53.tar.xz 18125272 BLAKE2B 6c25107977492391152c403d2ad6fef79161bc9045660090e12cdd281e5832b4f9e414a0ef5e67f93c10ca789097b510fafed712dcea5b6210f67428a2dc7dd7 SHA512 6e9d7b12f9448c75d39985984fac9880c61583fbac10ad9070f5ec7a5bd573874d79e13372d9a185616a5cdb5f53d3f67aeda6ca4bae33e3f5ca0a2160045d7b -EBUILD gnumeric-1.12.52.ebuild 2423 BLAKE2B 760e90aa2225771c84c6ba69fe018e6f74a832cbadd6d49b9068d9d2d7ac6cd659877fff1b6535a4a345f3b798d517ea5ba884112a7bf487f29c41ddbe601e7b SHA512 8140135fa451576eb3a80d561a96c5d723c46950d5c8c774356384bdac46b8ed42448a499a91384b1c4d92f35968b862a72108c66aeed6d48d7dec10ab23bffd -EBUILD gnumeric-1.12.53.ebuild 2367 BLAKE2B 50c71f16a28d35a0f19a83ec4791d5f46cbdf527c2b2e5c9b41730fba54753b9c8040f3e3fb05fd43e2d8c9fa969a8ac255321789e922e9e7b201d81597b7a6a SHA512 9f9e676822840d087f2b1bcca95977f2363a683a8994c09b478637d70666eddadc4d1c9160a7e4822681ed127099f8d6c3e1eb54327358088f931ac230dd3389 +EBUILD gnumeric-1.12.52-r1.ebuild 2426 BLAKE2B 66ef68bfbb8151af8827d7228740d01fc20fb7a71fce21fefc0c74e21369b8a4f6d4d9c22f9ab1533e7c4ad2f904aa618cca474e11cfdb1093a878984b01ec28 SHA512 62349a143dcf081a2a8111b021994059a38761247bb6eb2261aa8b637aba1f64ea1bdecb97f40518cddc9b7ec781d47595953051304b32c060cab48ea10c0645 +EBUILD gnumeric-1.12.53-r1.ebuild 2370 BLAKE2B b75434b713cb79c62359dd0468678e990b8f95a670c3bcb6c51d6f7876291af95afade3e8e7b8adaa0983eefe69f0254a11eac6f831bd7aba3408cd9b241edc8 SHA512 4cbc73e9e6980732f614ecd1f8c0186fd434a287e9bfb5ae9ff5fa645bba422fee5493f8fd9e94a49ebe52628400e13bcce931557f64511957f97f39e048dc47 MISC metadata.xml 520 BLAKE2B cdd4d61e6b2192b820c122370c47ea2ff0c8b4130474a1273f59ccb83d74decccc174632d0a605b17c5d2efd3312409f4afeb45b66adb332b5c5b1fbce305ef9 SHA512 50a15120cea4f1b2cdadac5819bd215175fb4e9e468647f2228b229c1b50fc01c3a35f125b2404ab0c45e4174c028e39873bb91c8a53f7cbb8d0ec488b5c96e7 diff --git a/app-office/gnumeric/gnumeric-1.12.52-r1.ebuild b/app-office/gnumeric/gnumeric-1.12.52-r1.ebuild new file mode 100644 index 000000000000..ab923ba2eb8f --- /dev/null +++ b/app-office/gnumeric/gnumeric-1.12.52-r1.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{7..10} ) + +inherit autotools gnome.org python-r1 xdg + +DESCRIPTION="The GNOME Spreadsheet" +HOMEPAGE="http://www.gnumeric.org/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="+introspection libgda perl" +REQUIRED_USE="introspection? ( ${PYTHON_REQUIRED_USE} )" + +# Missing gnome-extra/libgnomedb required version in tree +# but its upstream is dead and will be dropped soon. + +# lots of missing files, also fails tests due to 80-bit long story +# upstream bug #721556 +RESTRICT="test" + +# Gnumeric has two python components +# 1. The python loader for loading python-based plugins. +# This component is pure python 2 and a port "is not currently being worked on". +# 2. The python gobject-based introspection API. This component is compatible +# with python 3. +# Component 1. can only be re-enabled once someone has ported the upstream +# codebase to python 3. +# https://gitlab.gnome.org/GNOME/gnumeric/issues/419#note_618852 +RDEPEND=" + app-arch/bzip2 + sys-libs/zlib + >=dev-libs/glib-2.40.0:2 + >=gnome-extra/libgsf-1.14.33:= + >=x11-libs/goffice-0.10.51:0.10[introspection?] + >=dev-libs/libxml2-2.4.12:2 + >=x11-libs/pango-1.24.0:= + + >=x11-libs/gtk+-3.8.7:3 + x11-libs/cairo:=[svg(+)] + + introspection? ( + ${PYTHON_DEPS} + >=dev-libs/gobject-introspection-1:= + ) + perl? ( dev-lang/perl:= ) + libgda? ( gnome-extra/libgda:5[gtk] )" +DEPEND="${RDEPEND}" +BDEPEND=" + app-text/docbook-xml-dtd:4.5 + app-text/yelp-tools + dev-util/gtk-doc-am + >=dev-util/intltool-0.35.0 + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}/${P}-slibtool.patch" # 791610 +) + +src_prepare() { + default + + # Manage gi overrides ourselves + sed '/SUBDIRS/ s/introspection//' -i Makefile.{am,in} || die + + # Changed from 'elibtoolize' for bug # 791610 + eautoreconf +} + +src_configure() { + econf \ + --disable-gtk-doc \ + --disable-maintainer-mode \ + --disable-schemas-compile \ + --disable-static \ + --without-psiconv \ + --without-python \ + --with-zlib \ + $(use_with libgda gda) \ + $(use_enable introspection) \ + $(use_with perl) +} + +src_install() { + default + dodoc HACKING MAINTAINERS + + if use introspection; then + python_moduleinto gi.overrides + python_foreach_impl python_domodule introspection/gi/overrides/Gnm.py + fi + + # no static archives + find "${ED}" -name '*.la' -delete || die +} diff --git a/app-office/gnumeric/gnumeric-1.12.52.ebuild b/app-office/gnumeric/gnumeric-1.12.52.ebuild deleted file mode 100644 index 1f8d25865c92..000000000000 --- a/app-office/gnumeric/gnumeric-1.12.52.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -PYTHON_COMPAT=( python3_{7..10} ) - -inherit autotools gnome.org python-r1 xdg - -DESCRIPTION="The GNOME Spreadsheet" -HOMEPAGE="http://www.gnumeric.org/" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="+introspection libgda perl" -REQUIRED_USE="introspection? ( ${PYTHON_REQUIRED_USE} )" - -# Missing gnome-extra/libgnomedb required version in tree -# but its upstream is dead and will be dropped soon. - -# lots of missing files, also fails tests due to 80-bit long story -# upstream bug #721556 -RESTRICT="test" - -# Gnumeric has two python components -# 1. The python loader for loading python-based plugins. -# This component is pure python 2 and a port "is not currently being worked on". -# 2. The python gobject-based introspection API. This component is compatible -# with python 3. -# Component 1. can only be re-enabled once someone has ported the upstream -# codebase to python 3. -# https://gitlab.gnome.org/GNOME/gnumeric/issues/419#note_618852 -RDEPEND=" - app-arch/bzip2 - sys-libs/zlib - >=dev-libs/glib-2.40.0:2 - >=gnome-extra/libgsf-1.14.33:= - >=x11-libs/goffice-0.10.51:0.10[introspection?] - >=dev-libs/libxml2-2.4.12:2 - >=x11-libs/pango-1.24.0:= - - >=x11-libs/gtk+-3.8.7:3 - x11-libs/cairo:=[svg] - - introspection? ( - ${PYTHON_DEPS} - >=dev-libs/gobject-introspection-1:= - ) - perl? ( dev-lang/perl:= ) - libgda? ( gnome-extra/libgda:5[gtk] )" -DEPEND="${RDEPEND}" -BDEPEND=" - app-text/docbook-xml-dtd:4.5 - app-text/yelp-tools - dev-util/gtk-doc-am - >=dev-util/intltool-0.35.0 - virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}/${P}-slibtool.patch" # 791610 -) - -src_prepare() { - default - - # Manage gi overrides ourselves - sed '/SUBDIRS/ s/introspection//' -i Makefile.{am,in} || die - - # Changed from 'elibtoolize' for bug # 791610 - eautoreconf -} - -src_configure() { - econf \ - --disable-gtk-doc \ - --disable-maintainer-mode \ - --disable-schemas-compile \ - --disable-static \ - --without-psiconv \ - --without-python \ - --with-zlib \ - $(use_with libgda gda) \ - $(use_enable introspection) \ - $(use_with perl) -} - -src_install() { - default - dodoc HACKING MAINTAINERS - - if use introspection; then - python_moduleinto gi.overrides - python_foreach_impl python_domodule introspection/gi/overrides/Gnm.py - fi - - # no static archives - find "${ED}" -name '*.la' -delete || die -} diff --git a/app-office/gnumeric/gnumeric-1.12.53-r1.ebuild b/app-office/gnumeric/gnumeric-1.12.53-r1.ebuild new file mode 100644 index 000000000000..9198439d8594 --- /dev/null +++ b/app-office/gnumeric/gnumeric-1.12.53-r1.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{8..11} ) + +inherit autotools gnome.org python-r1 xdg + +DESCRIPTION="The GNOME Spreadsheet" +HOMEPAGE="http://www.gnumeric.org/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="+introspection libgda perl" +REQUIRED_USE="introspection? ( ${PYTHON_REQUIRED_USE} )" + +# Missing gnome-extra/libgnomedb required version in tree +# but its upstream is dead and will be dropped soon. + +# lots of missing files, also fails tests due to 80-bit long story +# upstream bug #721556 +RESTRICT="test" + +# Gnumeric has two python components +# 1. The python loader for loading python-based plugins. +# This component is pure python 2 and a port "is not currently being worked on". +# 2. The python gobject-based introspection API. This component is compatible +# with python 3. +# Component 1. can only be re-enabled once someone has ported the upstream +# codebase to python 3. +# https://gitlab.gnome.org/GNOME/gnumeric/issues/419#note_618852 +RDEPEND=" + app-arch/bzip2 + sys-libs/zlib + >=dev-libs/glib-2.40.0:2 + >=gnome-extra/libgsf-1.14.33:= + >=x11-libs/goffice-0.10.51:0.10[introspection?] + >=dev-libs/libxml2-2.4.12:2 + >=x11-libs/pango-1.24.0:= + + >=x11-libs/gtk+-3.8.7:3 + x11-libs/cairo:=[svg(+)] + + introspection? ( + ${PYTHON_DEPS} + >=dev-libs/gobject-introspection-1:= + ) + perl? ( dev-lang/perl:= ) + libgda? ( gnome-extra/libgda:5[gtk] )" +DEPEND="${RDEPEND}" +BDEPEND=" + app-text/docbook-xml-dtd:4.5 + app-text/yelp-tools + dev-util/gtk-doc-am + >=dev-util/intltool-0.35.0 + virtual/pkgconfig" + +src_prepare() { + default + + # Manage gi overrides ourselves + sed '/SUBDIRS/ s/introspection//' -i Makefile.{am,in} || die + + # Changed from 'elibtoolize' for bug # 791610 + eautoreconf +} + +src_configure() { + econf \ + --disable-gtk-doc \ + --disable-maintainer-mode \ + --disable-schemas-compile \ + --disable-static \ + --without-psiconv \ + --without-python \ + --with-zlib \ + $(use_with libgda gda) \ + $(use_enable introspection) \ + $(use_with perl) +} + +src_install() { + default + dodoc HACKING MAINTAINERS + + if use introspection; then + python_moduleinto gi.overrides + python_foreach_impl python_domodule introspection/gi/overrides/Gnm.py + fi + + # no static archives + find "${ED}" -name '*.la' -delete || die +} diff --git a/app-office/gnumeric/gnumeric-1.12.53.ebuild b/app-office/gnumeric/gnumeric-1.12.53.ebuild deleted file mode 100644 index 2f621517609c..000000000000 --- a/app-office/gnumeric/gnumeric-1.12.53.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -PYTHON_COMPAT=( python3_{8..11} ) - -inherit autotools gnome.org python-r1 xdg - -DESCRIPTION="The GNOME Spreadsheet" -HOMEPAGE="http://www.gnumeric.org/" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="+introspection libgda perl" -REQUIRED_USE="introspection? ( ${PYTHON_REQUIRED_USE} )" - -# Missing gnome-extra/libgnomedb required version in tree -# but its upstream is dead and will be dropped soon. - -# lots of missing files, also fails tests due to 80-bit long story -# upstream bug #721556 -RESTRICT="test" - -# Gnumeric has two python components -# 1. The python loader for loading python-based plugins. -# This component is pure python 2 and a port "is not currently being worked on". -# 2. The python gobject-based introspection API. This component is compatible -# with python 3. -# Component 1. can only be re-enabled once someone has ported the upstream -# codebase to python 3. -# https://gitlab.gnome.org/GNOME/gnumeric/issues/419#note_618852 -RDEPEND=" - app-arch/bzip2 - sys-libs/zlib - >=dev-libs/glib-2.40.0:2 - >=gnome-extra/libgsf-1.14.33:= - >=x11-libs/goffice-0.10.51:0.10[introspection?] - >=dev-libs/libxml2-2.4.12:2 - >=x11-libs/pango-1.24.0:= - - >=x11-libs/gtk+-3.8.7:3 - x11-libs/cairo:=[svg] - - introspection? ( - ${PYTHON_DEPS} - >=dev-libs/gobject-introspection-1:= - ) - perl? ( dev-lang/perl:= ) - libgda? ( gnome-extra/libgda:5[gtk] )" -DEPEND="${RDEPEND}" -BDEPEND=" - app-text/docbook-xml-dtd:4.5 - app-text/yelp-tools - dev-util/gtk-doc-am - >=dev-util/intltool-0.35.0 - virtual/pkgconfig" - -src_prepare() { - default - - # Manage gi overrides ourselves - sed '/SUBDIRS/ s/introspection//' -i Makefile.{am,in} || die - - # Changed from 'elibtoolize' for bug # 791610 - eautoreconf -} - -src_configure() { - econf \ - --disable-gtk-doc \ - --disable-maintainer-mode \ - --disable-schemas-compile \ - --disable-static \ - --without-psiconv \ - --without-python \ - --with-zlib \ - $(use_with libgda gda) \ - $(use_enable introspection) \ - $(use_with perl) -} - -src_install() { - default - dodoc HACKING MAINTAINERS - - if use introspection; then - python_moduleinto gi.overrides - python_foreach_impl python_domodule introspection/gi/overrides/Gnm.py - fi - - # no static archives - find "${ED}" -name '*.la' -delete || die -} diff --git a/app-office/scribus/Manifest b/app-office/scribus/Manifest index 577e1f2a45eb..36d848138f75 100644 --- a/app-office/scribus/Manifest +++ b/app-office/scribus/Manifest @@ -8,5 +8,5 @@ AUX scribus-1.5.8-poppler-22.09.0.patch 677 BLAKE2B c6f351551e725f3e9d455cc807ce AUX scribus-1.5.8-poppler-22.2.0-1.patch 3899 BLAKE2B 616ded940828b14309b1dca597b5b209da3374e41aad01ed3a204888c3ad3ff25fce61bdfa69c947ead67b0a9cbe11f2e4fbdb6054f02bd251477830ddafd375 SHA512 7a5e21cc98bb7d87c326a8576e6ccf368d5fc64538896f5aedcb13598f2aa11cc6f999011e6920f0bf6116e46f5469a713bb7f04fa8c2ca308b0dd07f2c088af AUX scribus-1.5.8-poppler-22.2.0-2.patch 1190 BLAKE2B 5eb29f6246d157f14af0a12bf2234f5981bbd012253ac867a499d2fa3c96221724c060af5549731d00ab96ee67dfd18a26662d601d59a5458fd39c69f022c73e SHA512 826f671ae67e157a6a71befaac77b6fa1888fbbd3c708a3d412d01bfe28a9d3b268ecf33b05fa94390904a140b0eba1e46e712024a02e0ec33933df2a711a611 DIST scribus-1.5.8.tar.xz 74543476 BLAKE2B 6eacf3089db88b673bd146a9727af4faa4e64901b332dbe08e6c62c912212bfd0e9e2003796df51621ee7d66262388ecfc3bed057a22d1d7fb1740e77fe50686 SHA512 eb46be0165eeb0d8974aa744fc8ffac321b206ca0015da39bb2f50d9fd4a5e28300a49ada0f963b4e0cf9a3301dc746ffba74f359f5e76d308d80b71ee669c2d -EBUILD scribus-1.5.8-r1.ebuild 4268 BLAKE2B 308cf01a2a0f4f24db14afabc79b1ae1f6ce7a344fad9e05b00777df907cdfe15e0474b694aebe769ae64fd9b431b68b07f69382e1587eb9f31f5c0ee1e24379 SHA512 c3eafa186ed7489220bd3c4dea9baa1da811cad8f762606bebf9f466f80fe774f69329e955c2eeb982a0ae1c74e80a0c0848490cca41e0b1f91722640f0e99c1 +EBUILD scribus-1.5.8-r2.ebuild 4271 BLAKE2B 9790d6edcc3683bb03b37286cf1abfbf3bf47b6c29dbc42b799112680c9cc47020888f3f1e3c9b988765e5dcddfc12285b79e205d79fe40c37bcd41d39e8b364 SHA512 37fa13fca6e59e121cae77a328c4832855b3e3cf75c43b98b4d3779c3c1600dc1d2d82fc6e50e4164ef0788dd6237b878aa6432380e314aa33ad93952faf4ac1 MISC metadata.xml 883 BLAKE2B 7dc92ce97a3337f9397b52c647c00313790a8a674c88ba3491ef55b056941d6dcdfe1eac9009c4a5f2c4ebe70d81f9fa27439efad544bf8415ffb2235440402e SHA512 3348ea8be21835e88182c23e21dfaef4f52928aee1f4af1c88707cc3bd3f016d56986f197eec9b26279f4df72f20559fe7f4cad7439e67a66ab2c1b4f585ad91 diff --git a/app-office/scribus/scribus-1.5.8-r1.ebuild b/app-office/scribus/scribus-1.5.8-r1.ebuild deleted file mode 100644 index 175ae6cd558b..000000000000 --- a/app-office/scribus/scribus-1.5.8-r1.ebuild +++ /dev/null @@ -1,164 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..10} ) -PYTHON_REQ_USE="tk?" -inherit cmake desktop flag-o-matic python-single-r1 xdg - -DESCRIPTION="Desktop publishing (DTP) and layout program" -HOMEPAGE="https://www.scribus.net/" -SRC_URI="mirror://sourceforge/project/${PN}/${PN}-devel/${PV}/${P}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc ppc64 x86" -IUSE="+boost debug examples graphicsmagick hunspell +minimal osg +pdf scripts +templates tk" - -REQUIRED_USE="${PYTHON_REQUIRED_USE} - tk? ( scripts )" - -# osg -# couple of third_party libs bundled -DEPEND="${PYTHON_DEPS} - app-text/libmspub - app-text/libqxp - app-text/poppler:= - dev-libs/hyphen - dev-libs/icu:0= - dev-libs/librevenge - dev-libs/libxml2 - dev-qt/qtcore:5 - dev-qt/qtgui:5[-gles2-only] - dev-qt/qtnetwork:5 - dev-qt/qtopengl:5 - dev-qt/qtprintsupport:5 - dev-qt/qtwidgets:5 - dev-qt/qtxml:5 - media-libs/fontconfig - media-libs/freetype:2 - media-libs/harfbuzz:0=[icu] - media-libs/lcms:2 - media-libs/libcdr - media-libs/libfreehand - media-libs/libjpeg-turbo:= - media-libs/libpagemaker - media-libs/libpng:0= - media-libs/libvisio - media-libs/libzmf - media-libs/tiff:0 - net-print/cups - sys-libs/zlib[minizip] - x11-libs/cairo[X,svg] - boost? ( dev-libs/boost:= ) - graphicsmagick? ( media-gfx/graphicsmagick:= ) - hunspell? ( app-text/hunspell:= ) - osg? ( dev-games/openscenegraph:= ) - pdf? ( app-text/podofo:0= ) - scripts? ( - $(python_gen_cond_dep ' - dev-python/pillow[tk?,${PYTHON_USEDEP}] - ') - ) -" -RDEPEND="${DEPEND} - app-text/ghostscript-gpl -" -BDEPEND=" - dev-qt/linguist-tools:5 - virtual/pkgconfig -" - -PATCHES=( - # non(?)-upstreamable - "${FILESDIR}"/${PN}-1.5.3-fpic.patch - "${FILESDIR}"/${PN}-1.5.6-docdir.patch - "${FILESDIR}"/${PN}-1.5.8-findhyphen-1.patch - "${FILESDIR}"/${PN}-1.5.6-findhyphen.patch - "${FILESDIR}"/${PN}-1.5.8-poppler-22.2.0-1.patch - "${FILESDIR}"/${PN}-1.5.8-poppler-22.2.0-2.patch - "${FILESDIR}"/${PN}-1.5.8-poppler-22.03.0.patch # bug 834537 - "${FILESDIR}"/${PN}-1.5.8-poppler-22.04.0.patch # bug 843287 - "${FILESDIR}"/${PN}-1.5.8-poppler-22.09.0.patch -) - -CMAKE_BUILD_TYPE="Release" - -S="${WORKDIR}/${P}" - -src_prepare() { - cmake_src_prepare - - rm -r codegen/cheetah scribus/third_party/hyphen || die - - sed \ - -e "/^\s*unzip\.[ch]/d" \ - -e "/^\s*ioapi\.[ch]/d" \ - -i scribus/CMakeLists.txt Scribus.pro || die - rm scribus/ioapi.[ch] || die - - sed \ - -e 's:\(${CMAKE_INSTALL_PREFIX}\):./\1:g' \ - -i resources/templates/CMakeLists.txt || die - - sed \ - -e "/^add_subdirectory(ui\/qml)/s/^/#DONT/" \ - -i scribus/CMakeLists.txt || die # nothing but a bogus Hello World test -} - -src_configure() { - # bug #550818 - append-cppflags -DHAVE_MEMRCHR - - local mycmakeargs=( - -DHAVE_PYTHON=ON - -DWANT_DISTROBUILD=ON - -DWANT_CPP17=ON - -DDOCDIR="${EPREFIX}"/usr/share/doc/${PF}/ - -DPython3_EXECUTABLE="${PYTHON}" - -DWITH_BOOST=$(usex boost) - -DWANT_DEBUG=$(usex debug) - -DWANT_NOEXAMPLES=$(usex !examples) - -DWANT_GRAPHICSMAGICK=$(usex graphicsmagick) - -DWANT_HUNSPELL=$(usex hunspell) - -DWANT_HEADERINSTALL=$(usex !minimal) - -DWANT_NOOSG=$(usex !osg) - -DWITH_PODOFO=$(usex pdf) - -DWANT_NOTEMPLATES=$(usex !templates) - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - - if ! use tk; then - rm "${ED}"/usr/share/scribus/scripts/{FontSample,CalendarWizard}.py || die - fi - if use scripts; then - python_fix_shebang "${ED}"/usr/share/scribus/scripts - python_optimize "${ED}"/usr/share/scribus/scripts - else - rm "${ED}"/usr/share/scribus/scripts/*.py || die - fi - - mv "${ED}"/usr/share/doc/${PF}/{en,html} || die - ln -sf html "${ED}"/usr/share/doc/${PF}/en || die - - # These files are parsed to populate the help/about window. - cat >> "${T}"/COPYING <<- EOF || die - ${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} - - local size - for size in 16 32 128 256 512; do - newicon -s $size resources/iconsets/artwork/icon_${size}x${size}.png scribus.png - done - newicon -s 64 resources/iconsets/artwork/icon_32x32@2x.png scribus.png - doicon resources/iconsets/*/scribus.png - domenu scribus.desktop -} diff --git a/app-office/scribus/scribus-1.5.8-r2.ebuild b/app-office/scribus/scribus-1.5.8-r2.ebuild new file mode 100644 index 000000000000..edff91bca961 --- /dev/null +++ b/app-office/scribus/scribus-1.5.8-r2.ebuild @@ -0,0 +1,164 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_REQ_USE="tk?" +inherit cmake desktop flag-o-matic python-single-r1 xdg + +DESCRIPTION="Desktop publishing (DTP) and layout program" +HOMEPAGE="https://www.scribus.net/" +SRC_URI="mirror://sourceforge/project/${PN}/${PN}-devel/${PV}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 x86" +IUSE="+boost debug examples graphicsmagick hunspell +minimal osg +pdf scripts +templates tk" + +REQUIRED_USE="${PYTHON_REQUIRED_USE} + tk? ( scripts )" + +# osg +# couple of third_party libs bundled +DEPEND="${PYTHON_DEPS} + app-text/libmspub + app-text/libqxp + app-text/poppler:= + dev-libs/hyphen + dev-libs/icu:0= + dev-libs/librevenge + dev-libs/libxml2 + dev-qt/qtcore:5 + dev-qt/qtgui:5[-gles2-only] + dev-qt/qtnetwork:5 + dev-qt/qtopengl:5 + dev-qt/qtprintsupport:5 + dev-qt/qtwidgets:5 + dev-qt/qtxml:5 + media-libs/fontconfig + media-libs/freetype:2 + media-libs/harfbuzz:0=[icu] + media-libs/lcms:2 + media-libs/libcdr + media-libs/libfreehand + media-libs/libjpeg-turbo:= + media-libs/libpagemaker + media-libs/libpng:0= + media-libs/libvisio + media-libs/libzmf + media-libs/tiff:0 + net-print/cups + sys-libs/zlib[minizip] + x11-libs/cairo[X,svg(+)] + boost? ( dev-libs/boost:= ) + graphicsmagick? ( media-gfx/graphicsmagick:= ) + hunspell? ( app-text/hunspell:= ) + osg? ( dev-games/openscenegraph:= ) + pdf? ( app-text/podofo:0= ) + scripts? ( + $(python_gen_cond_dep ' + dev-python/pillow[tk?,${PYTHON_USEDEP}] + ') + ) +" +RDEPEND="${DEPEND} + app-text/ghostscript-gpl +" +BDEPEND=" + dev-qt/linguist-tools:5 + virtual/pkgconfig +" + +PATCHES=( + # non(?)-upstreamable + "${FILESDIR}"/${PN}-1.5.3-fpic.patch + "${FILESDIR}"/${PN}-1.5.6-docdir.patch + "${FILESDIR}"/${PN}-1.5.8-findhyphen-1.patch + "${FILESDIR}"/${PN}-1.5.6-findhyphen.patch + "${FILESDIR}"/${PN}-1.5.8-poppler-22.2.0-1.patch + "${FILESDIR}"/${PN}-1.5.8-poppler-22.2.0-2.patch + "${FILESDIR}"/${PN}-1.5.8-poppler-22.03.0.patch # bug 834537 + "${FILESDIR}"/${PN}-1.5.8-poppler-22.04.0.patch # bug 843287 + "${FILESDIR}"/${PN}-1.5.8-poppler-22.09.0.patch +) + +CMAKE_BUILD_TYPE="Release" + +S="${WORKDIR}/${P}" + +src_prepare() { + cmake_src_prepare + + rm -r codegen/cheetah scribus/third_party/hyphen || die + + sed \ + -e "/^\s*unzip\.[ch]/d" \ + -e "/^\s*ioapi\.[ch]/d" \ + -i scribus/CMakeLists.txt Scribus.pro || die + rm scribus/ioapi.[ch] || die + + sed \ + -e 's:\(${CMAKE_INSTALL_PREFIX}\):./\1:g' \ + -i resources/templates/CMakeLists.txt || die + + sed \ + -e "/^add_subdirectory(ui\/qml)/s/^/#DONT/" \ + -i scribus/CMakeLists.txt || die # nothing but a bogus Hello World test +} + +src_configure() { + # bug #550818 + append-cppflags -DHAVE_MEMRCHR + + local mycmakeargs=( + -DHAVE_PYTHON=ON + -DWANT_DISTROBUILD=ON + -DWANT_CPP17=ON + -DDOCDIR="${EPREFIX}"/usr/share/doc/${PF}/ + -DPython3_EXECUTABLE="${PYTHON}" + -DWITH_BOOST=$(usex boost) + -DWANT_DEBUG=$(usex debug) + -DWANT_NOEXAMPLES=$(usex !examples) + -DWANT_GRAPHICSMAGICK=$(usex graphicsmagick) + -DWANT_HUNSPELL=$(usex hunspell) + -DWANT_HEADERINSTALL=$(usex !minimal) + -DWANT_NOOSG=$(usex !osg) + -DWITH_PODOFO=$(usex pdf) + -DWANT_NOTEMPLATES=$(usex !templates) + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + + if ! use tk; then + rm "${ED}"/usr/share/scribus/scripts/{FontSample,CalendarWizard}.py || die + fi + if use scripts; then + python_fix_shebang "${ED}"/usr/share/scribus/scripts + python_optimize "${ED}"/usr/share/scribus/scripts + else + rm "${ED}"/usr/share/scribus/scripts/*.py || die + fi + + mv "${ED}"/usr/share/doc/${PF}/{en,html} || die + ln -sf html "${ED}"/usr/share/doc/${PF}/en || die + + # These files are parsed to populate the help/about window. + cat >> "${T}"/COPYING <<- EOF || die + ${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} + + local size + for size in 16 32 128 256 512; do + newicon -s $size resources/iconsets/artwork/icon_${size}x${size}.png scribus.png + done + newicon -s 64 resources/iconsets/artwork/icon_32x32@2x.png scribus.png + doicon resources/iconsets/*/scribus.png + domenu scribus.desktop +} -- cgit v1.2.3