public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Artemis Everfree" <artemis@artemis.sh>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: www-apps/forgejo/
Date: Tue, 22 Jul 2025 23:05:45 +0000 (UTC)	[thread overview]
Message-ID: <1753225528.aa5efe0710a1c52c6abe3b7501a5ab6ebe23bbd1.artemis@gentoo> (raw)

commit:     aa5efe0710a1c52c6abe3b7501a5ab6ebe23bbd1
Author:     Artemis Everfree <artemis <AT> artemis <DOT> sh>
AuthorDate: Tue Jul 22 22:29:44 2025 +0000
Commit:     Artemis Everfree <artemis <AT> artemis <DOT> sh>
CommitDate: Tue Jul 22 23:05:28 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=aa5efe07

www-apps/forgejo: match build flags to changes upstream

forgejo v11 adjusts the names of various internal modules to drop the
old gitea branding and use the forgejo name. Because build variables in
Go use these module names, this changes the build variables as well. We
were using the old gitea setting still.

This would not affect forgejo running through the bundled service
management scripts, because those set runtime variables that override
the build-time variables. But, since we did not update our build script
to match, it would break the behavior of any other means of invoking
forgejo (manual, runit, etc.), leaving it to point at file paths that
don't exist.

This change fixes the build variables to be what they ought to be.

Thanks to Enne Eziarc for explaining this issue and providing a patch

Bug: https://bugs.gentoo.org/960471
Reference: https://codeberg.org/forgejo/forgejo/commit/e286457990b54c43248d6e321672e2a6d882503e

Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh>

 .../forgejo/{forgejo-11.0.3.ebuild => forgejo-11.0.3-r1.ebuild}     | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/www-apps/forgejo/forgejo-11.0.3.ebuild b/www-apps/forgejo/forgejo-11.0.3-r1.ebuild
similarity index 92%
rename from www-apps/forgejo/forgejo-11.0.3.ebuild
rename to www-apps/forgejo/forgejo-11.0.3-r1.ebuild
index 56eb438e92..cf169df2ca 100644
--- a/www-apps/forgejo/forgejo-11.0.3.ebuild
+++ b/www-apps/forgejo/forgejo-11.0.3-r1.ebuild
@@ -68,9 +68,9 @@ src_compile() {
 		$(usex sqlite 'sqlite sqlite_unlock_notify' '')
 	)
 	local forgejo_settings=(
-		"-X code.gitea.io/gitea/modules/setting.CustomConf=${EPREFIX}/etc/forgejo/app.ini"
-		"-X code.gitea.io/gitea/modules/setting.CustomPath=${EPREFIX}/var/lib/gitea/custom"
-		"-X code.gitea.io/gitea/modules/setting.AppWorkPath=${EPREFIX}/var/lib/gitea"
+		"-X forgejo.org/modules/setting.CustomConf=${EPREFIX}/etc/forgejo/app.ini"
+		"-X forgejo.org/modules/setting.CustomPath=${EPREFIX}/var/lib/gitea/custom"
+		"-X forgejo.org/modules/setting.AppWorkPath=${EPREFIX}/var/lib/gitea"
 	)
 	local makeenv=(
 		DRONE_TAG="${PV}"


             reply	other threads:[~2025-07-22 23:05 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-22 23:05 Artemis Everfree [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-10-10 14:58 [gentoo-commits] repo/proj/guru:dev commit in: www-apps/forgejo/ Itai Ferber
2025-10-10 14:58 Itai Ferber
2025-08-17  6:57 Artemis Everfree
2025-08-17  6:57 Artemis Everfree
2025-07-22 10:20 Artemis Everfree
2025-07-22 10:16 Artemis Everfree
2025-07-22 10:16 Artemis Everfree
2025-02-25 22:18 Artemis Everfree
2025-01-24  9:52 Artemis Everfree
2024-12-15  4:08 John M. Harris, Jr.
2024-10-20  6:09 Artemis Everfree
2024-10-20  6:09 Artemis Everfree
2024-09-07  6:57 Artemis Everfree
2024-08-21  0:03 Artemis Everfree
2024-07-05  5:19 Artemis Everfree
2024-06-16  3:02 Artemis Everfree
2024-06-01  8:31 Artemis Everfree
2024-06-01  8:31 Artemis Everfree
2024-04-22  5:30 Artemis Everfree
2024-03-31 21:32 Artemis Everfree
2024-03-12 22:17 Artemis Everfree
2024-02-23  3:36 Artemis Everfree
2024-02-23  3:36 Artemis Everfree
2024-02-03 23:29 Artemis Everfree
2024-02-03 23:29 Artemis Everfree
2023-12-01  6:47 Artemis Everfree
2023-10-11  3:08 Artemis Everfree
2023-09-23 10:50 Artemis Everfree
2023-09-10 11:19 Artemis Everfree
2023-09-05 14:05 Artemis Everfree
2023-07-31  4:48 Artemis Everfree
2023-07-25 19:36 Artemis Everfree
2023-07-08  8:31 Artemis Everfree
2023-07-08  8:31 Artemis Everfree
2023-06-29 21:55 Artemis Everfree
2023-06-29 21:34 Artemis Everfree

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=1753225528.aa5efe0710a1c52c6abe3b7501a5ab6ebe23bbd1.artemis@gentoo \
    --to=artemis@artemis.sh \
    --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