public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Chihurumnaya Ibiam <ibiam@sugarlabs.org>
To: git-commits@fedoraproject.org
Subject: [rpms/sugar-toolkit-gtk3] rawhide: Add patch
Date: Sat, 24 Oct 2026 14:42:08 GMT	[thread overview]
Message-ID: <179285292887.1.10256346818734902275.rpms-sugar-toolkit-gtk3-eb1d8fd065eb@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/sugar-toolkit-gtk3
            Branch : rawhide
            Commit : eb1d8fd065ebf775e55ce07276b0569a52e7ca82
            Author : Chihurumnaya Ibiam <ibiam@sugarlabs.org>
            Date   : 2026-10-24T15:41:53+01:00
            Stats  : +33/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/sugar-toolkit-gtk3/c/eb1d8fd065ebf775e55ce07276b0569a52e7ca82?branch=rawhide

            Log:
            Add patch

Signed-off-by: Chihurumnaya Ibiam <ibiam@sugarlabs.org>

---
diff --git a/Make-bundlebuilder-run-from-current-working-director.patch b/Make-bundlebuilder-run-from-current-working-director.patch
new file mode 100644
index 0000000..32815bc
--- /dev/null
+++ b/Make-bundlebuilder-run-from-current-working-director.patch
@@ -0,0 +1,33 @@
+From d18779f6b712584d75847facdec28550f58b3871 Mon Sep 17 00:00:00 2001
+From: Chihurumnaya Ibiam <ibiam@sugarlabs.org>
+Date: Sat, 24 Oct 2026 10:15:40 -0400
+Subject: [PATCH] Make bundlebuilder run from current working directory.
+
+Change the path that's used in bundlebuilder to the current
+working directory, the previous path assumed setup.py is always
+run from the activity directory which is still expected, but that
+fails when running bundlebuilder as a binary, this change makes
+sure that the location of the binary or setup.py doesn't matter,
+the only thing that matters is if it's run from an activity directory.
+
+Signed-off-by: Chihurumnaya Ibiam <ibiam@sugarlabs.org>
+---
+ src/sugar3/activity/bundlebuilder.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/sugar3/activity/bundlebuilder.py b/src/sugar3/activity/bundlebuilder.py
+index c6bb6b7b8..ab28c2967 100644
+--- a/src/sugar3/activity/bundlebuilder.py
++++ b/src/sugar3/activity/bundlebuilder.py
+@@ -644,7 +644,7 @@ def start():
+ 
+     options = parser.parse_args()
+ 
+-    source_dir = os.path.abspath(os.path.dirname(sys.argv[0]))
++    source_dir = os.path.abspath(os.getcwd())
+     config = Config(source_dir)
+ 
+     if 'cmd_' + (options.command or '') in globals():
+-- 
+2.47.3
+

             reply	other threads:[~2026-10-24 14:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-24 14:42 Chihurumnaya Ibiam [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-10-22 12:35 [rpms/sugar-toolkit-gtk3] rawhide: Add patch Chihurumnaya Ibiam

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=179285292887.1.10256346818734902275.rpms-sugar-toolkit-gtk3-eb1d8fd065eb@fedoraproject.org \
    --to=ibiam@sugarlabs.org \
    --cc=git-commits@fedoraproject.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