Skip to content

Commit

Permalink
brand: change files to com.github.hydroxycarbamide and update links
Browse files Browse the repository at this point in the history
  • Loading branch information
hydroxycarbamide committed Feb 23, 2025
1 parent a5464d7 commit 197cad4
Show file tree
Hide file tree
Showing 52 changed files with 611 additions and 626 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,6 @@ jobs:
with:
repository-name: gnome-nightly
bundle: gradience-devel.flatpak
manifest-path: build-aux/flatpak/com.github.GradienceTeam.Gradience.Devel.json
manifest-path: build-aux/flatpak/com.github.hydroxycarbamide.Gradience.Devel.json
cache-key: flatpak-builder-${{ github.sha }}
arch: ${{ matrix.arch }}
4 changes: 2 additions & 2 deletions .github/workflows/repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ jobs:
with:
#TODO: Publish to flathub as a different name? Or ask to take over the Organisation?
files: |
build-aux/flatpak/com.github.GradienceTeam.Gradience.Devel.json
build-aux/flatpak/com.github.GradienceTeam.Gradience.json
build-aux/flatpak/com.github.hydroxycarbamide.Gradience.Devel.json
build-aux/flatpak/com.github.hydroxycarbamide.Gradience.json
arch: ${{ matrix.arch }}
gpg-sign: ${{ steps.gpg.outputs.fingerprint }}
upload-bundles: true
Expand Down
14 changes: 7 additions & 7 deletions HACKING.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ It can use Flatpak manifests to create a consistent building and running
environment cross-distro. Thus, it is highly recommended you use it.

1. Download [GNOME Builder](https://flathub.org/apps/details/org.gnome.Builder).
2. In Builder, click the "Clone Repository" button at the bottom, using `https://github.com/GradienceTeam/Gradience.git` as the URL.
2. In Builder, click the "Clone Repository" button at the bottom, using `https://github.com/hydroxycarbamide/Gradience.git` as the URL.
3. Click the build button at the top once the project is loaded.

### Flatpak Builder
Expand All @@ -44,18 +44,18 @@ flatpak install org.gnome.Sdk//47 org.gnome.Platform//47

##### User installation
```shell
git clone https://github.com/GradienceTeam/Gradience.git
git clone https://github.com/hydroxycarbamide/Gradience.git
cd Gradience
git submodule update --init --recursive
flatpak-builder --install --user --force-clean repo/ build-aux/flatpak/com.github.GradienceTeam.Gradience.json
flatpak-builder --install --user --force-clean repo/ build-aux/flatpak/com.github.hydroxycarbamide.Gradience.json
```

##### System installation
```shell
git clone https://github.com/GradienceTeam/Gradience.git
git clone https://github.com/hydroxycarbamide/Gradience.git
cd Gradience
git submodule update --init --recursive
flatpak-builder --install --system --force-clean repo/ build-aux/flatpak/com.github.GradienceTeam.Gradience.json
flatpak-builder --install --system --force-clean repo/ build-aux/flatpak/com.github.hydroxycarbamide.Gradience.json
```

### Meson
Expand Down Expand Up @@ -84,7 +84,7 @@ pip install -r requirements.txt
##### Global installation

```shell
git clone https://github.com/GradienceTeam/Gradience.git
git clone https://github.com/hydroxycarbamide/Gradience.git
cd Gradience
git submodule update --init --recursive
meson setup builddir
Expand All @@ -95,7 +95,7 @@ sudo ninja -C builddir install
##### Local build (for testing and development purposes)

```shell
git clone https://github.com/GradienceTeam/Gradience.git
git clone https://github.com/hydroxycarbamide/Gradience.git
cd Gradience
git submodule update --init --recursive
meson setup builddir
Expand Down
37 changes: 11 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
> Some features (such as the plugin manager) won't be maintained as I am not interested in them at the moment.
<h1 align="center">
<img src="data/icons/hicolor/scalable/apps/com.github.GradienceTeam.Gradience.svg" alt="Gradience" width="192" height="192"/>
<img src="data/icons/hicolor/scalable/apps/com.github.hydroxycarbamide.Gradience.svg" alt="Gradience" width="192" height="192"/>
<br>
Gradience
</h1>
Expand All @@ -14,7 +14,7 @@
</p>

<p align="center">
<a href="https://flathub.org/apps/details/com.github.GradienceTeam.Gradience">
<a href="https://flathub.org/apps/details/com.github.hydroxycarbamide.Gradience">
<img width="200" alt="Download on Flathub" src="https://dl.flathub.org/assets/badges/flathub-badge-i-en.svg"/>
</a>
<br>
Expand All @@ -26,8 +26,8 @@
<a href="https://hosted.weblate.org/engage/GradienceTeam">
<img alt="Translation status" src="https://hosted.weblate.org/widgets/GradienceTeam/-/svg-badge.svg"/>
</a>
<a href="https://github.com/GradienceTeam/Gradience/actions/workflows/build.yml">
<img alt="Build status" src="https://github.com/GradienceTeam/Gradience/actions/workflows/build.yml/badge.svg"/>
<a href="https://github.com/hydroxycarbamide/Gradience/actions/workflows/build.yml">
<img alt="Build status" src="https://github.com/hydroxycarbamide/Gradience/actions/workflows/build.yml/badge.svg"/>
</a>
<a href="https://flathub.org/apps/details/com.github.GradienceTeam.Gradience">
<img alt="Flathub downloads" src="https://img.shields.io/badge/dynamic/json?color=informational&label=downloads&logo=flathub&logoColor=white&query=%24.installs_total&url=https%3A%2F%2Fflathub.org%2Fapi%2Fv2%2Fstats%2Fcom.github.GradienceTeam.Gradience"/>
Expand All @@ -37,15 +37,6 @@
</a>
</p>

<p align="center">
<a href="https://matrix.to/#/#Gradience:matrix.org">
<img alt="Chat on Matrix" src="https://img.shields.io/matrix/Gradience:matrix.org?color=%230dbd8b&label=Gradience&logo=matrix&logoColor=white"/>
</a>
<a href="https://discord.com/invite/4njFDtfGEZ">
<img alt="Chat on Discord" src="https://dcbadge.vercel.app/api/server/4njFDtfGEZ?style=flat&theme=default-inverted"/>
</a>
</p>

<p align="center">
<a href="https://stopthemingmy.app">
<img alt="Please do not theme this app" src="https://stopthemingmy.app/badge.svg"/>
Expand Down Expand Up @@ -220,7 +211,7 @@ First of all, you need to have [GNOME Nightly](https://nightly.gnome.org) Flatpa
flatpak remote-add --if-not-exists gnome-nightly https://nightly.gnome.org/gnome-nightly.flatpakrepo
```

Then, download the Gradience nightly from [here](https://nightly.link/GradienceTeam/Gradience/workflows/build/main)
Then, download the Gradience nightly from [here](https://nightly.link/hydroxycarbamide/Gradience/workflows/build/main)

Finally, extract the ZIP and install Gradience by running:

Expand All @@ -235,7 +226,7 @@ It can use Flatpak manifests to create a consistent building and running
environment cross-distro. Thus, it is highly recommended you use it.

1. Download [GNOME Builder](https://apps.gnome.org/Builder).
2. In Builder, click the "Clone Repository" button at the bottom, using `https://github.com/GradienceTeam/Gradience.git` as the URL.
2. In Builder, click the "Clone Repository" button at the bottom, using `https://github.com/hydroxycarbamide/Gradience.git` as the URL.
3. Click the build button at the top once the project is loaded.

For more building and installation methods, see [HACKING.md](HACKING.md)
Expand All @@ -249,27 +240,27 @@ The following command will make Gradience show welcome screen on next launch, li
#### Flatpak

```shell
flatpak run --command=gsettings com.github.GradienceTeam.Gradience reset com.github.GradienceTeam.Gradience first-run
flatpak run --command=gsettings com.github.hydroxycarbamide.Gradience reset com.github.hydroxycarbamide.Gradience first-run
```

#### Alternative installation methods

```shell
gsettings reset com.github.GradienceTeam.Gradience first-run
gsettings reset com.github.hydroxycarbamide.Gradience first-run
```

## ℹ️ FAQ

### How can I launch a CLI?
Refer to [temporary CLI documentation](https://github.com/GradienceTeam/Gradience/wiki/Using-CLI) in repo's wiki for instructions on how to launch a CLI.
Refer to [temporary CLI documentation](https://github.com/hydroxycarbamide/Gradience/wiki/Using-CLI) in repo's wiki for instructions on how to launch a CLI.

## 🙌 Contribute to Gradience

See [HACKING.md](HACKING.md)

## ✨️ Contributors

[![Contributors](https://contrib.rocks/image?repo=GradienceTeam/Gradience)](https://github.com/GradienceTeam/Gradience/graphs/contributors)
[![Contributors](https://contrib.rocks/image?repo=hydroxycarbamide/Gradience)](https://github.com/hydroxycarbamide/Gradience/graphs/contributors)

## 🏷️ About the Name

Expand Down Expand Up @@ -302,10 +293,4 @@ Special thanks to:
- Original author of Gradience, [Artyom Fomin](https://github.com/ArtyIF) for creating this project
- [Weblate](https://weblate.org) for providing translation platform

This README is based on README from [Kooha](https://github.com/SeaDve/Kooha) by [Dave Patrick Caberto](https://github.com/SeaDve)

## 🪞 Mirrors

- [GitLab](https://gitlab.com/GradienceTeam/Gradience)
- [GitHub](https://github.com/GradienceTeam/Gradience)
- [Codeberg](https://codeberg.org/GradienceTeam/Gradience)
This README is based on README from [Kooha](https://github.com/SeaDve/Kooha) by [Dave Patrick Caberto](https://github.com/SeaDve)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"app-id" : "com.github.GradienceTeam.Gradience.Devel",
"app-id" : "com.github.hydroxycarbamide.Gradience.Devel",
"runtime" : "org.gnome.Platform",
"runtime-version" : "master",
"sdk" : "org.gnome.Sdk",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"app-id" : "com.github.GradienceTeam.Gradience",
"app-id" : "com.github.hydroxycarbamide.Gradience",
"runtime" : "org.gnome.Platform",
"runtime-version" : "47",
"sdk" : "org.gnome.Sdk",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<schemalist gettext-domain="gradience">
<schema id="@APP_ID@" path="/com/github/GradienceTeam/Gradience/">
<schema id="@APP_ID@" path="/com/github/hydroxycarbamide/Gradience/">
<key name="window-width" type="i">
<default>1000</default>
</key>
Expand Down
4 changes: 2 additions & 2 deletions data/gradience.gresource.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version='1.0' encoding='utf-8'?>
<gresources>
<gresource prefix="/com/github/GradienceTeam/Gradience">
<gresource prefix="/com/github/hydroxycarbamide/Gradience">
<file>presets/adwaita.json</file>
<file>presets/adwaita-dark.json</file>
<file>presets/pretty-purple.json</file>
Expand Down Expand Up @@ -31,7 +31,7 @@
<file>images/welcome.svg</file>
<file>style.css</file>
</gresource>
<gresource prefix="/com/github/GradienceTeam/Gradience/icons/scalable/actions/">
<gresource prefix="/com/github/hydroxycarbamide/Gradience/icons/scalable/actions/">
<file preprocess="xml-stripblanks" alias="adw-gtk3-warning-symbolic.svg">icons/scalable/actions/adw-gtk3-warning-symbolic.svg</file>
<file preprocess="xml-stripblanks" alias="bug-symbolic.svg">icons/scalable/actions/bug-symbolic.svg</file>
<file preprocess="xml-stripblanks" alias="checkmark-symbolic.svg">icons/scalable/actions/checkmark-symbolic.svg</file>
Expand Down
2 changes: 1 addition & 1 deletion data/ui/presets_manager_window.blp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ template $GradiencePresetWindow : Adw.Window {
child: Gtk.ScrolledWindow {
Adw.StatusPage {
title: _("Search for presets");
description: _("Enter a keyword to search on <a href=\"https://github.com/GradienceTeam/Community\">GradienceTeam/Community</a>.");
description: _("Enter a keyword to search on <a href=\"https://github.com/hydroxycarbamide/Community\">hydroxycarbamide/Community</a>.");
valign: start;
Adw.Clamp {
styles ["clamp"]
Expand Down
4 changes: 2 additions & 2 deletions data/ui/share_window.blp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ template $GradienceShareWindow: Adw.Window {
hexpand: true;

Gtk.Image img_welcome {
resource: "/com/github/GradienceTeam/Gradience/images/welcome.svg";
resource: "/com/github/hydroxycarbamide/Gradience/images/welcome.svg";
pixel-size: 256;
}

Expand All @@ -67,7 +67,7 @@ template $GradienceShareWindow: Adw.Window {
Adw.StatusPage page_release {
icon-name: "git-symbolic";
title: _("How it's work?");
description: _("Gradience use GitHub to share your preset. You need to create a GitHub account and fork <a href='https://github.com/GradienceTeam/Community'>GradienceTeam/Community</a>. Then, you can upload your preset, make a pull request and share it with the world!");
description: _("Gradience use GitHub to share your preset. You need to create a GitHub account and fork <a href='https://github.com/hydroxycarbamide/Community'>hydroxycarbamide/Community</a>. Then, you can upload your preset, make a pull request and share it with the world!");
}

Adw.StatusPage page_agreement {
Expand Down
2 changes: 1 addition & 1 deletion data/ui/welcome_window.blp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ template $GradienceWelcomeWindow: Adw.Window {
hexpand: true;

Gtk.Image img_welcome {
resource: "/com/github/GradienceTeam/Gradience/images/welcome.svg";
resource: "/com/github/hydroxycarbamide/Gradience/images/welcome.svg";
pixel-size: 300;
}

Expand Down
2 changes: 1 addition & 1 deletion gradience/backend/constants.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.

rootdir = '/com/github/GradienceTeam/Gradience'
rootdir = '/com/github/hydroxycarbamide/Gradience'
datadir = '@DATA_DIR@'
pkgdatadir = '@PKGDATA_DIR@'
localedir = '@LOCALE_DIR@'
Expand Down
4 changes: 2 additions & 2 deletions gradience/backend/globals.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
}

preset_repos_jsdelivr = {
"Official": "https://cdn.jsdelivr.net/gh/GradienceTeam/Community@next/official.json",
"Curated": "https://cdn.jsdelivr.net/gh/GradienceTeam/Community@next/curated.json"
"Official": "https://cdn.jsdelivr.net/gh/hydroxycarbamide/Community@next/official.json",
"Curated": "https://cdn.jsdelivr.net/gh/hydroxycarbamide/Community@next/curated.json"
}

# preset_repos should be dynamically imported depending of user settings
Expand Down
4 changes: 2 additions & 2 deletions gradience/backend/utils/networking.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ def github_to_jsdelivr_url(github_url: str) -> str:

jsdelivr_url = None

# https://github.com/GradienceTeam/Community/raw/next/official/builder.json =>
# https://cdn.jsdelivr.net/gh/GradienceTeam/Community@next/official/builder.json
# https://github.com/hydroxycarbamide/Community/raw/next/official/builder.json =>
# https://cdn.jsdelivr.net/gh/hydroxycarbamide/Community@next/official/builder.json
if "https://github.com" in github_url:
JSDELIVER_FORMAT = "https://cdn.jsdelivr.net/gh/{user}/{repo}@{branch}/{path}"
path = urlparse(github_url).path
Expand Down
4 changes: 2 additions & 2 deletions gradience/frontend/views/about_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,13 @@ def setup(self):
self.about_dialog.add_credit_section(
_("Plugins by"),
[
_("Contributors on GitHub https://github.com/GradienceTeam/Plugins/graphs/contributors")
_("Contributors on GitHub https://github.com/hydroxycarbamide/Plugins/graphs/contributors")
]
)
self.about_dialog.add_credit_section(
_("Presets by"),
[
_("Contributors on GitHub https://github.com/GradienceTeam/Community/graphs/contributors")
_("Contributors on GitHub https://github.com/hydroxycarbamide/Community/graphs/contributors")
]
)

Expand Down
4 changes: 2 additions & 2 deletions gradience/frontend/views/presets_manager_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,8 +347,8 @@ def reload_pref_group(self):
self.preset_list.set_description(
_(
"See "
'<a href="https://github.com/GradienceTeam/Community">'
"GradienceTeam/Community</a> on Github for more presets."
'<a href="https://github.com/hydroxycarbamide/Community">'
"hydroxycarbamide/Community</a> on Github for more presets."
)
)

Expand Down
2 changes: 1 addition & 1 deletion gradience/frontend/widgets/preset_row.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def on_star_button_clicked(self, *_args):
def on_report_button_clicked(self, *_args):
Gtk.show_uri(
self.win,
"https://github.com/GradienceTeam/Community/issues/new?assignees=daudix-UFO&labels=bug&template=preset_issue.yml&title=preset%3A+",
"https://github.com/hydroxycarbamide/Community/issues/new?assignees=daudix-UFO&labels=bug&template=preset_issue.yml&title=preset%3A+",
Gdk.CURRENT_TIME
)

Expand Down
10 changes: 5 additions & 5 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ i18n = import('i18n')
python = import('python')

# Project information
PROJECT_URL = 'https://github.com/GradienceTeam/Gradience'
BUGTRACKER_URL = 'https://github.com/GradienceTeam/Gradience/issues'
HELP_URL = 'https://github.com/GradienceTeam/Gradience/discussions'
TRANSLATE_URL = 'https://hosted.weblate.org/projects/GradienceTeam/gradience'
PROJECT_URL = 'https://github.com/hydroxycarbamide/Gradience'
BUGTRACKER_URL = 'https://github.com/hydroxycarbamide/Gradience/issues'
HELP_URL = 'https://github.com/hydroxycarbamide/Gradience/discussions'
TRANSLATE_URL = 'https://hosted.weblate.org/projects/hydroxycarbamide/gradience'

# Constants
PROJECT_RDNN_NAME = 'com.github.GradienceTeam.Gradience'
PROJECT_RDNN_NAME = 'com.github.hydroxycarbamide.Gradience'

git_bin = find_program('git', required: false)

Expand Down
Loading

0 comments on commit 197cad4

Please sign in to comment.