From: "Miroslav Šulc" <fordfrog@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/scribus/, app-office/scribus/files/
Date: Tue, 6 Dec 2016 09:32:35 +0000 (UTC) [thread overview]
Message-ID: <1481016725.aec91a89bd09d87037e3d64c9d924faa644d71ed.fordfrog@gentoo> (raw)
commit: aec91a89bd09d87037e3d64c9d924faa644d71ed
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 6 09:31:37 2016 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Tue Dec 6 09:32:05 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aec91a89
app-office/scribus-9999: fixed patching the sources (ajdusted docdir patch and not using fpic patch as it is already applied)
Package-Manager: portage-2.3.3
app-office/scribus/files/scribus-9999-docdir.patch | 31 ++++++++++++++++++++++
app-office/scribus/scribus-9999.ebuild | 3 +--
2 files changed, 32 insertions(+), 2 deletions(-)
diff --git a/app-office/scribus/files/scribus-9999-docdir.patch b/app-office/scribus/files/scribus-9999-docdir.patch
new file mode 100644
index 00000000..442829d
--- /dev/null
+++ b/app-office/scribus/files/scribus-9999-docdir.patch
@@ -0,0 +1,31 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 79b1feb..259d474 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -284,16 +284,18 @@ else()
+ endif()
+
+ #SHARE - use the default on Apple as TAG_VERSION is empty
+-if(WIN32 OR OS2)
+- set(DOCDIR "${CMAKE_INSTALL_DATAROOTDIR}/doc/")
+-else()
+- if(TAG_VERSION OR BUILD_OSX_BUNDLE)
+- set(DOCDIR "${CMAKE_INSTALL_DATAROOTDIR}/doc/${MAIN_DIR_NAME}${TAG_VERSION}/")
++if(NOT DOCDIR)
++ if(WIN32 OR OS2)
++ set(DOCDIR "${CMAKE_INSTALL_DATAROOTDIR}/doc/")
+ else()
+- if(NOT WANT_VERSIONING)
+- set(DOCDIR "${CMAKE_INSTALL_DATAROOTDIR}/doc/${MAIN_DIR_NAME}/")
++ if(TAG_VERSION OR BUILD_OSX_BUNDLE)
++ set(DOCDIR "${CMAKE_INSTALL_DATAROOTDIR}/doc/${MAIN_DIR_NAME}${TAG_VERSION}/")
+ else()
+- set(DOCDIR "${CMAKE_INSTALL_DATAROOTDIR}/doc/${MAIN_DIR_NAME}-${VERSION}/")
++ if(NOT WANT_VERSIONING)
++ set(DOCDIR "${CMAKE_INSTALL_DATAROOTDIR}/doc/${MAIN_DIR_NAME}/")
++ else()
++ set(DOCDIR "${CMAKE_INSTALL_DATAROOTDIR}/doc/${MAIN_DIR_NAME}-${VERSION}/")
++ endif()
+ endif()
+ endif()
+ endif()
diff --git a/app-office/scribus/scribus-9999.ebuild b/app-office/scribus/scribus-9999.ebuild
index e96e3f6..ec8570c 100644
--- a/app-office/scribus/scribus-9999.ebuild
+++ b/app-office/scribus/scribus-9999.ebuild
@@ -74,8 +74,7 @@ DEPEND="${COMMON_DEPEND}
virtual/pkgconfig"
PATCHES=(
- "${FILESDIR}"/${PN}-1.5.0-docdir.patch
- "${FILESDIR}"/${PN}-1.5.2-fpic.patch
+ "${FILESDIR}"/${P}-docdir.patch
)
src_prepare() {
next reply other threads:[~2016-12-06 9:32 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-06 9:32 Miroslav Šulc [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-06-04 11:49 [gentoo-commits] repo/gentoo:master commit in: app-office/scribus/, app-office/scribus/files/ Justin Lecher
2017-06-04 11:54 Justin Lecher
2017-12-26 1:02 Andreas Sturmlechner
2018-03-19 23:56 Andreas Sturmlechner
2019-01-14 23:34 Andreas Sturmlechner
2019-01-25 0:00 Andreas Sturmlechner
2019-11-01 18:39 Andreas Sturmlechner
2019-12-07 9:47 Andreas Sturmlechner
2020-01-02 20:26 Andreas Sturmlechner
2021-04-06 12:30 Miroslav Šulc
2021-08-25 10:54 Miroslav Šulc
2022-01-14 4:48 Ionen Wolkens
2022-03-12 15:53 Andreas Sturmlechner
2022-05-08 18:01 Sam James
2022-09-02 4:38 Sam James
2023-09-24 8:02 Miroslav Šulc
2024-01-14 9:30 Miroslav Šulc
2024-03-04 10:29 Miroslav Šulc
2024-06-04 10:35 Miroslav Šulc
2024-07-18 8:44 Miroslav Šulc
2024-11-13 22:45 Andreas Sturmlechner
2025-02-10 20:11 Andreas Sturmlechner
2025-03-07 13:16 Andreas Sturmlechner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1481016725.aec91a89bd09d87037e3d64c9d924faa644d71ed.fordfrog@gentoo \
--to=fordfrog@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox