From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: x11-libs/gtk-fortran/
Date: Mon, 13 Apr 2020 17:50:50 +0000 (UTC)	[thread overview]
Message-ID: <1586741363.20d1209ac8b21eb5feeca206f0c78ffe0cac2f98.andrewammerlaan@gentoo> (raw)
commit:     20d1209ac8b21eb5feeca206f0c78ffe0cac2f98
Author:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
AuthorDate: Mon Apr 13 01:29:23 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Mon Apr 13 01:29:23 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=20d1209a
x11-libs/gtk-fortran: Add DOCS with CHANGELOG.md. Remove "append-flags -no-pie"
Add "CAHNGELOG.md" to DOCS variable with explicit README* files.
The using of "append-flags -no-pie" doesn't resove completely the issue
with TEXTREL and prevent to use then package on hardened.
The flag-o-matic.eclass removed as well.
Fix quote the variables.
Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru>
 x11-libs/gtk-fortran/gtk-fortran-3.24.8.ebuild | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/x11-libs/gtk-fortran/gtk-fortran-3.24.8.ebuild b/x11-libs/gtk-fortran/gtk-fortran-3.24.8.ebuild
index 03e1391..174fb1c 100644
--- a/x11-libs/gtk-fortran/gtk-fortran-3.24.8.ebuild
+++ b/x11-libs/gtk-fortran/gtk-fortran-3.24.8.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 CMAKE_MAKEFILE_GENERATOR="emake"
 FORTRAN_STANDARD=2003
 
-inherit cmake flag-o-matic fortran-2
+inherit cmake fortran-2
 
 DESCRIPTION="A GTK+ binding to build Graphical User Interfaces in Fortran"
 HOMEPAGE="https://github.com/vmagnin/gtk-fortran"
@@ -35,6 +35,8 @@ BDEPEND="
 	virtual/pkgconfig
 "
 
+DOCS=( "README.md" "README-high-level" "CHANGELOG.md" )
+
 pkg_setup() {
 	fortran-2_pkg_setup
 }
@@ -56,11 +58,6 @@ src_configure() {
 		-DINSTALL_EXAMPLES=$(usex examples)
 		-DNO_BUILD_EXAMPLES=true
 	)
-	# Try to fix (fix similar warnings only for static library):
-	# /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/gtk-fortran_object.dir/gtk-hl-assistant.f90.o:
-	# warning: relocation against `hl_gtk_assistant_destroy' in read-only section `.rodata'
-	# /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object
-	append-flags -no-pie
 	cmake_src_configure
 }
 
@@ -71,5 +68,5 @@ src_compile() {
 
 src_install() {
 	cmake_src_install
-	use doc && dodoc -r ${BUILD_DIR}/html && rm ${D}/usr/share/doc/${P}/html/{*.map,*.md5}
+	use doc && dodoc -r "${BUILD_DIR}"/html && rm "${D}/usr/share/doc/${P}"/html/{*.map,*.md5}
 }
next             reply	other threads:[~2020-04-13 17:50 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-13 17:50 Andrew Ammerlaan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-04-13 17:49 [gentoo-commits] repo/proj/guru:master commit in: x11-libs/gtk-fortran/ David Roman
2025-04-13 17:49 David Roman
2024-05-05 19:04 Julien Roy
2024-05-05 19:04 Julien Roy
2024-05-05 19:04 Julien Roy
2023-09-12 13:46 David Roman
2022-12-05  9:20 Viorel Munteanu
2022-11-16 10:19 Florian Schmaus
2021-10-27  6:18 Florian Schmaus
2021-10-27  6:18 Florian Schmaus
2020-05-18 16:27 Andrew Ammerlaan
2020-04-13 17:50 Andrew Ammerlaan
2020-04-12 16:39 Andrew Ammerlaan
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=1586741363.20d1209ac8b21eb5feeca206f0c78ffe0cac2f98.andrewammerlaan@gentoo \
    --to=andrewammerlaan@riseup.net \
    --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