public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Gonçalo Negrier Duarte" <gonegrier.duarte@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: gui-apps/hyprlock/files/, gui-apps/hyprlock/
Date: Wed, 21 Feb 2024 16:00:24 +0000 (UTC)	[thread overview]
Message-ID: <1708531136.44fbbd3f097da83fb66518cd6ef749a291f82015.gonegrier.duarte@gentoo> (raw)

commit:     44fbbd3f097da83fb66518cd6ef749a291f82015
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Wed Feb 21 15:35:57 2024 +0000
Commit:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
CommitDate: Wed Feb 21 15:58:56 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=44fbbd3f

gui-apps/hyprlock: fix overwrite CFLAGS/CXXFLAGS

Closes: https://bugs.gentoo.org/925177
Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>

 .../files/0001-fix-CFLAGS-CXXFLAGS-hyprlock.patch  | 29 ++++++++++++++++++++++
 gui-apps/hyprlock/hyprlock-0_pre20240220.ebuild    |  4 +++
 gui-apps/hyprlock/hyprlock-9999.ebuild             |  4 +++
 3 files changed, 37 insertions(+)

diff --git a/gui-apps/hyprlock/files/0001-fix-CFLAGS-CXXFLAGS-hyprlock.patch b/gui-apps/hyprlock/files/0001-fix-CFLAGS-CXXFLAGS-hyprlock.patch
new file mode 100644
index 0000000000..6f1652c539
--- /dev/null
+++ b/gui-apps/hyprlock/files/0001-fix-CFLAGS-CXXFLAGS-hyprlock.patch
@@ -0,0 +1,29 @@
+From 8b3826337c13f98611b71abc0030e9a962303cf3 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Gon=C3=A7alo=20Negrier=20Duarte?=
+ <gonegrier.duarte@gmail.com>
+Date: Wed, 21 Feb 2024 15:31:55 +0000
+Subject: [PATCH] Removed added CFLAGS/CXXFLAGS by CMakeLists.txt
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
+---
+ CMakeLists.txt | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 6aac750..a9df5b1 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -13,7 +13,6 @@ if(CMAKE_BUILD_TYPE MATCHES Debug OR CMAKE_BUILD_TYPE MATCHES DEBUG)
+     message(STATUS "Configuring hyprlock in Debug with CMake")
+     add_compile_definitions(HYPRLAND_DEBUG)
+ else()
+-    add_compile_options(-O3)
+     message(STATUS "Configuring hyprlock in Release with CMake")
+ endif()
+ 
+-- 
+2.43.2
+

diff --git a/gui-apps/hyprlock/hyprlock-0_pre20240220.ebuild b/gui-apps/hyprlock/hyprlock-0_pre20240220.ebuild
index 5ff5e20655..fe026f8bab 100644
--- a/gui-apps/hyprlock/hyprlock-0_pre20240220.ebuild
+++ b/gui-apps/hyprlock/hyprlock-0_pre20240220.ebuild
@@ -46,6 +46,10 @@ BDEPEND="
 	virtual/pkgconfig
 "
 
+PATCHES=(
+	"${FILESDIR}/0001-fix-CFLAGS-CXXFLAGS-hyprlock.patch"
+)
+
 src_configure() {
 	local mycmakeargs=(
 		-DCMAKE_BUILD_TYPE:STRING=Release

diff --git a/gui-apps/hyprlock/hyprlock-9999.ebuild b/gui-apps/hyprlock/hyprlock-9999.ebuild
index 5ff5e20655..fe026f8bab 100644
--- a/gui-apps/hyprlock/hyprlock-9999.ebuild
+++ b/gui-apps/hyprlock/hyprlock-9999.ebuild
@@ -46,6 +46,10 @@ BDEPEND="
 	virtual/pkgconfig
 "
 
+PATCHES=(
+	"${FILESDIR}/0001-fix-CFLAGS-CXXFLAGS-hyprlock.patch"
+)
+
 src_configure() {
 	local mycmakeargs=(
 		-DCMAKE_BUILD_TYPE:STRING=Release


             reply	other threads:[~2024-02-21 16:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-21 16:00 Gonçalo Negrier Duarte [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-22 16:26 [gentoo-commits] repo/proj/guru:dev commit in: gui-apps/hyprlock/files/, gui-apps/hyprlock/ John M. Harris, Jr.
2024-07-22 16:29 John M. Harris, Jr.
2024-08-30 13:27 Takuya Wakazono
2024-10-30 10:15 Anthony Ruhier
2025-01-13  8:54 Takuya Wakazono

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=1708531136.44fbbd3f097da83fb66518cd6ef749a291f82015.gonegrier.duarte@gentoo \
    --to=gonegrier.duarte@gmail.com \
    --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