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 patches
Date: Wed, 21 Oct 2026 22:35:14 GMT [thread overview]
Message-ID: <179262211407.1.2826183929882379641.rpms-sugar-toolkit-gtk3-8e4d23d04e2c@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/sugar-toolkit-gtk3
Branch : rawhide
Commit : 8e4d23d04e2c134c18d172d9c6cf4dfca3a859c1
Author : Chihurumnaya Ibiam <ibiam@sugarlabs.org>
Date : 2026-10-21T23:34:51+01:00
Stats : +162/-1 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/sugar-toolkit-gtk3/c/8e4d23d04e2c134c18d172d9c6cf4dfca3a859c1?branch=rawhide
Log:
Add patches
Signed-off-by: Chihurumnaya Ibiam <ibiam@sugarlabs.org>
---
diff --git a/Add-bundlebuilder-executable.patch b/Add-bundlebuilder-executable.patch
new file mode 100644
index 0000000..c8eff8a
--- /dev/null
+++ b/Add-bundlebuilder-executable.patch
@@ -0,0 +1,62 @@
+From 9df7299c99d61d05df63b10ef4d015d2aebf3234 Mon Sep 17 00:00:00 2001
+From: Chihurumnaya Ibiam <ibiam@sugarlabs.org>
+Date: Wed, 21 Oct 2026 12:09:00 -0400
+Subject: [PATCH 2/2] Add bundlebuilder executable
+
+This is so we can avoid using setup.py commands, activities
+can directly use bundlebuilder.
+
+Signed-off-by: Chihurumnaya Ibiam <ibiam@sugarlabs.org>
+---
+ bin/Makefile.am | 2 +-
+ bin/bundlebuilder | 4 ++++
+ pyproject.toml | 18 ------------------
+ 3 files changed, 5 insertions(+), 19 deletions(-)
+ create mode 100755 bin/bundlebuilder
+
+diff --git a/bin/Makefile.am b/bin/Makefile.am
+index 3b5f6f8f8..3ceac3608 100644
+--- a/bin/Makefile.am
++++ b/bin/Makefile.am
+@@ -1 +1 @@
+-dist_bin_SCRIPTS = sugar-activity sugar-activity-web sugar-activity3
++dist_bin_SCRIPTS = sugar-activity sugar-activity-web sugar-activity3 bundlebuilder
+diff --git a/bin/bundlebuilder b/bin/bundlebuilder
+new file mode 100755
+index 000000000..1ae990713
+--- /dev/null
++++ b/bin/bundlebuilder
+@@ -0,0 +1,4 @@
++#!/usr/bin/env python3
++
++from sugar3.activity import bundlebuilder
++bundlebuilder.start()
+diff --git a/pyproject.toml b/pyproject.toml
+index e4eec0775..8813115d7 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -53,21 +53,3 @@ testpaths = ["tests"]
+ python_files = ["test_*.py", "*_test.py"]
+ python_classes = ["Test*"]
+ python_functions = ["test_*"]
+-
+-[tool.black]
+-line-length = 88
+-target-version = ['py38']
+-include = '\.pyi?$'
+-extend-exclude = '''
+-/(
+- # directories
+- \.eggs
+- | \.git
+- | \.hg
+- | \.mypy_cache
+- | \.tox
+- | \.venv
+- | build
+- | dist
+-)/
+-'''
+--
+2.47.3
+
diff --git a/Add-pyproject.toml.patch b/Add-pyproject.toml.patch
new file mode 100644
index 0000000..a47673b
--- /dev/null
+++ b/Add-pyproject.toml.patch
@@ -0,0 +1,93 @@
+From f817c6ff35c8869f964be0fd1e3969538c2fbe65 Mon Sep 17 00:00:00 2001
+From: Chihurumnaya Ibiam <ibiam@sugarlabs.org>
+Date: Fri, 16 Oct 2026 01:12:13 +0100
+Subject: [PATCH 1/2] Add pyproject.toml
+
+Signed-off-by: Chihurumnaya Ibiam <ibiam@sugarlabs.org>
+---
+ pyproject.toml | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++
+ 1 file changed, 73 insertions(+)
+ create mode 100644 pyproject.toml
+
+diff --git a/pyproject.toml b/pyproject.toml
+new file mode 100644
+index 000000000..e4eec0775
+--- /dev/null
++++ b/pyproject.toml
+@@ -0,0 +1,73 @@
++[build-system]
++requires = ["setuptools", "wheel"]
++build-backend = "setuptools.build_meta"
++
++[project]
++name = "sugar-toolkit-gtk3"
++version = "1.0.0"
++description = "A GTK3 Toolkit for writing Sugar activities in Python"
++readme = "README.md"
++license = { text = "LGPL-2.1-or-later" }
++authors = [
++ { name = "Sugar Labs Community", email = "sugar-devel@lists.sugarlabs.org" },
++]
++classifiers = [
++ "Development Status :: 3 - Alpha",
++ "Intended Audience :: Developers",
++ "Intended Audience :: Education",
++ "Operating System :: POSIX :: Linux",
++ "Programming Language :: Python :: 3",
++ "Programming Language :: Python :: 3.8",
++ "Programming Language :: Python :: 3.9",
++ "Programming Language :: Python :: 3.10",
++ "Programming Language :: Python :: 3.11",
++ "Programming Language :: Python :: 3.12",
++ "Topic :: Desktop Environment",
++ "Topic :: Education",
++ "Topic :: Software Development :: Libraries :: Python Modules",
++ "Topic :: Software Development :: User Interfaces",
++]
++requires-python = ">=3.8"
++
++dependencies = [
++ "PyGObject>=3.42.0",
++]
++
++[project.optional-dependencies]
++docs = [
++ "sphinx>=7.1.0",
++ "sphinx-rtd-theme>=1.3.0",
++ "sphinx-autoapi>=2.1.1",
++]
++
++[project.urls]
++Homepage = "https://github.com/sugarlabs/sugar-toolkit-gtk3"
++Repository = "https://github.com/sugarlabs/sugar-toolkit-gtk3.git"
++Issues = "https://github.com/sugarlabs/sugar-toolkit-gtk3/issues"
++
++[project.scripts]
++bundlebuilder = "sugar3.activity.bundlebuilder:start"
++
++[tool.pytest.ini_options]
++testpaths = ["tests"]
++python_files = ["test_*.py", "*_test.py"]
++python_classes = ["Test*"]
++python_functions = ["test_*"]
++
++[tool.black]
++line-length = 88
++target-version = ['py38']
++include = '\.pyi?$'
++extend-exclude = '''
++/(
++ # directories
++ \.eggs
++ | \.git
++ | \.hg
++ | \.mypy_cache
++ | \.tox
++ | \.venv
++ | build
++ | dist
++)/
++'''
+--
+2.47.3
+
diff --git a/sugar-toolkit-gtk3.spec b/sugar-toolkit-gtk3.spec
index a8d352d..4923689 100644
--- a/sugar-toolkit-gtk3.spec
+++ b/sugar-toolkit-gtk3.spec
@@ -2,7 +2,7 @@
Name: sugar-toolkit-gtk3
Version: 0.121
-Release: 15%{?dist}
+Release: 16%{?dist}
Summary: Sugar toolkit GTK+ 3
# Automatically converted from old format: LGPLv2+ - review is highly recommended.
License: LicenseRef-Callaway-LGPLv2+
@@ -11,6 +11,8 @@ URL: http://wiki.laptop.org/go/Sugar
Source0: http://download.sugarlabs.org/sources/sucrose/glucose/%{name}/%{name}-%{version}.tar.xz
Source1: macros.sugar
Patch0: Fix-logging-usage.patch
+Patch1: Add-pyproject.toml.patch
+Patch2: Add-bundlebuilder-executable.patch
BuildRequires: make
BuildRequires: alsa-lib-devel
@@ -85,6 +87,7 @@ find %{buildroot} -type f -name "*.la" -delete
%license COPYING
%exclude %{_bindir}/sugar-activity
%{_bindir}/sugar-activity3
+%{_bindir}/bundlebuilder
%{python3_sitelib}/*
%{_bindir}/sugar-activity-web
%{_rpmconfigdir}/macros.d/macros.sugar
@@ -96,6 +99,9 @@ find %{buildroot} -type f -name "*.la" -delete
%{_datadir}/gir-1.0/*.gir
%changelog
+* Wed Oct 21 2026 Chihurumnaya Ibiam <ibiam@sugarlabs.org> - 0.121-16
+- Add patches
+
* Sat Jul 25 2026 Python Maint <python-maint@redhat.com> - 0.121-15
- Rebuilt for Python 3.15.0b4 ABI change
reply other threads:[~2026-10-21 22:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=179262211407.1.2826183929882379641.rpms-sugar-toolkit-gtk3-8e4d23d04e2c@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