Skip to content

Commit

Permalink
Merge pull request #8 from ful1e5/dev
Browse files Browse the repository at this point in the history
🚀 GoogleDot v1.1.0
  • Loading branch information
ful1e5 authored Mar 8, 2021
2 parents f00f34f + e766f7e commit a2d851c
Show file tree
Hide file tree
Showing 58 changed files with 1,319 additions and 2,275 deletions.
148 changes: 82 additions & 66 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,73 +1,89 @@
name: build

on:
push:
paths-ignore:
- "**.md"
- "**.bbcode"
- LICENSE
branches: [main, dev]
pull_request:
paths-ignore:
- "**.md"
- "**.bbcode"
- LICENSE
branches: [main]
push:
paths-ignore:
- "**.md"
- "**.bbcode"
- LICENSE
branches: [main, dev]
pull_request:
paths-ignore:
- "**.md"
- "**.bbcode"
- LICENSE
branches: [main]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install build dependencies (apt)
run: sudo apt install -y libx11-dev libxcursor-dev libpng-dev
continue-on-error: false
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Caching yarn packages
uses: actions/cache@v2
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Set Up NodeJS 12.x
uses: actions/setup-node@v1
with:
node-version: "12.x"
- name: Caching pip packages
uses: actions/cache@v2
id: pip-cache # use this to check for `cache-hit` (`steps.pip-cache.outputs.cache-hit != 'true'`)
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: "3.8"
- name: Generating `GoogleDot` Cursor Theme
run: make
continue-on-error: false
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install build dependencies (apt)
run: sudo apt install -y libx11-dev libxcursor-dev libpng-dev
continue-on-error: false
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Caching yarn packages
uses: actions/cache@v2
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Set Up NodeJS 12.x
uses: actions/setup-node@v1
with:
node-version: "12.x"
- name: Caching pip packages
uses: actions/cache@v2
id: pip-cache # use this to check for `cache-hit` (`steps.pip-cache.outputs.cache-hit != 'true'`)
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: "3.8"
- name: Generating `GoogleDot` Cursor Theme
run: make
continue-on-error: false

- name: Compressing UNIX theme
run: tar -cvzf GoogleDot.tar.gz themes/GoogleDot
- name: Compressing UNIX theme
run: |
tar -cvzf GoogleDot-Blue.tar.gz themes/GoogleDot-Blue
tar -cvzf GoogleDot-Black.tar.gz themes/GoogleDot-Blue
- name: Uploading `bitmaps` artifact
uses: actions/upload-artifact@v2
with:
name: bitmaps
path: bitmaps/*
- name: Uploading `GoogleDot` UNIX Theme artifact
uses: actions/upload-artifact@v2
with:
name: GoogleDot
path: GoogleDot.tar.gz
- name: Uploading `GoogleDot` Windows Theme artifact
uses: actions/upload-artifact@v2
with:
name: GoogleDot_Windows
path: themes/GoogleDot_Windows/*
- name: Uploading `bitmaps` artifact
uses: actions/upload-artifact@v2
with:
name: bitmaps
path: bitmaps/*

- name: Uploading `GoogleDot-Blue` UNIX Theme artifact
uses: actions/upload-artifact@v2
with:
name: GoogleDot-Blue
path: GoogleDot-Blue.tar.gz

- name: Uploading `GoogleDot-Black` UNIX Theme artifact
uses: actions/upload-artifact@v2
with:
name: GoogleDot-Black
path: GoogleDot-Black.tar.gz

- name: Uploading `GoogleDot-Blue` Windows Theme artifact
uses: actions/upload-artifact@v2
with:
name: GoogleDot-Blue-Windows
path: themes/GoogleDot-Blue-Windows/*

- name: Uploading `GoogleDot-Black` Windows Theme artifact
uses: actions/upload-artifact@v2
with:
name: GoogleDot-Black-Windows
path: themes/GoogleDot-Black-Windows/*
40 changes: 27 additions & 13 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,31 +7,45 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [unreleased]

### Added

- GoogleDot Black version
- separated 'core' module in bitmapper
- Makefile updated for GoogleDot
- GoogleDot Black CI supports

### Changed

- All `.svg` formated with `xmllint`
- `.svg` colors changed to key colors (Green & Blue)
- Multiple cursors supports in `builder`
- Dynamic theme-name & comments inside `builder/build.py`

## [v1.0.1] - 17 Feb 2021

### Added

- Figma file added inside **README.md**
- Organized build & bitmaps source code
- Add **Make** compatibility
- Only build options added in `Makefile`
- Relinked few svg files for Windows cursors purpose
- New build docs
- Figma file added inside **README.md**
- Organized build & bitmaps source code
- Add **Make** compatibility
- Only build options added in `Makefile`
- Relinked few svg files for Windows cursors purpose
- New build docs

### Changed

- Fixed some linting problems of builder using `pylint`
- Reduced Package Size
- Customize sizes from `make`
- CI workflow `build` compatibility with `make` commands
- Fixed some linting problems of builder using `pylint`
- Reduced Package Size
- Customize sizes from `make`
- CI workflow `build` compatibility with `make` commands

## [v1.0.0] - 27 Oct 2020

### Added

- Initial release 🎊
- Logo and badges
- CI/CD Pipelines
- Initial release 🎊
- Logo and badges
- CI/CD Pipelines

[unreleased]: https://github.com/ful1e5/Google_Cursor/compare/v1.0.1...main
[v1.0.1]: https://github.com/ful1e5/Google_Cursor/compare/v1.0.0...v1.0.1
Expand Down
15 changes: 8 additions & 7 deletions PLING.bbcode
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,27 @@

[/b][i]Get latest build[/i] @[b][url=https://github.com/ful1e5/Google_Cursor/actions]GitHub Actions[/url][/b]
[i]Release Notification[/i] at [b][url=https://twitter.com/ful1e5]Twitter[/url][/b](@ful1e5)
For [i]Customizing Size[/i] check [b][url=https://github.com/ful1e5/Google_Cursor#manual-build]README.md[/url][/b]

[b]Linux/X11 installation[/b]
Get the latest stable Linux release from the [b][url=https://www.pling.com/p/1215613#files-panel]Pling[/url][/b]. Unpack [b].tar.gz[/b] file and follow these [b]commands[/b].

[b]Install[/b]
[b]For all user:[/b]
[code]sudo mv GoogleDot /usr/share/icons[/code]
[code]sudo mv GoogleDot-* /usr/share/icons[/code]
[b]For local user:[/b]
[code]mv GoogleDot ~/.icons[/code]
[code]mv GoogleDot-* ~/.icons[/code]

[b]Uninstall[/b]
[b]From all user:[/b]
[code]sudo rm -r /usr/share/icons/GoogleDot[/code]
[code]sudo rm -r /usr/share/icons/GoogleDot-*[/code]
[b]From local user:[/b]
[code]rm -r ~/.icons/GoogleDot[/code]
[code]rm -r ~/.icons/GoogleDot-*[/code]

[b]Window installation[/b]
[list=1]
[*]unzip [b]GoogleDot_Windows.zip[/b] file[/*]
[*]Open [b]GoogleDot_Windows/[/b] in Explorer, and [b]right-click[/b] on [b]install.inf[/b].[/*]
[*]unzip [b].zip[/b] file[/*]
[*]Open [b]unziped directory[/b] in Explorer, and [b]right-click[/b] on [b]install.inf[/b].[/*]
[*]Click 'Install' from the context menu, and authorise the modifications to your system.[/*]
[*]Open [i]Control Panel > Personalisation and Appearance > Change mouse pointers[/i], and select [b]GoogleDot Cursors[/b].[/*]
[*]Click '[b]Apply[/b]'.[/*]
Expand All @@ -37,4 +38,4 @@ Get the latest stable Linux release from the [b][url=https://www.pling.com/p/121
[/list]

[b]License & Terms[/b]
'[b]GoogleDot[/b]' Cursor Theme is available under the terms of the [b]GPL-3.0[/b] license.
'[b]GoogleDot[/b]' Cursor Theme is available under the terms of the [b]GPL-3.0[/b] license.
64 changes: 35 additions & 29 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,15 @@ Cursor theme inspired on **google material design** for `Windows` and `Linux` wi
<!-- Preview -->

<p align="center">
<img title="GoogleDot" src="https://imgur.com/osnWiED.png">
<img title="GoogleDot Blue" src="https://imgur.com/osnWiED.png">
</br>
<sub>GoogleDot Cursors 🍭</sub>
<sub>Blue GoogleDot Cursors 🍭</sub>
</p>

<p align="center">
<img title="GoogleDot Black" src="https://i.imgur.com/9ZlC1gD.png">
</br>
<sub>BlackBlue GoogleDot Cursors 🍭</sub>
</p>

### Manual Install
Expand All @@ -120,16 +126,16 @@ Cursor theme inspired on **google material design** for `Windows` and `Linux` wi
tar -xvf GoogleDot.tar.gz

# For local users
mv GoogleDot ~/.icons/
mv GoogleDot-* ~/.icons/

# For all users
sudo mv GoogleDot /usr/share/icons/
sudo mv GoogleDot-* /usr/share/icons/
```

#### Windows

1. unzip `GoogleDot_Windows.zip` file
2. Open `GoogleDot_Windows/` in Explorer, and **right click** on `install.inf`.
1. unzip `.zip` file
2. Open unziped directory in Explorer, and **right click** on `install.inf`.
3. Click 'Install' from the context menu, and authorize the modifications to your system.
4. Open _Control Panel > Personalization and Appearance > Change mouse pointers_, and select **GoogleDot Cursors**.
5. Click '**Apply**'.
Expand All @@ -140,9 +146,9 @@ sudo mv GoogleDot /usr/share/icons/

## External Libraries

- libxcursor
- libx11
- libpng (<=1.6)
- libxcursor
- libx11
- libpng (<=1.6)

#### Install External Libraries

Expand Down Expand Up @@ -173,41 +179,41 @@ sudo dnf install libX11-devel libXcursor-devel libpng-devel

## Build Dependencies

- [gcc](https://gcc.gnu.org/install/)
- [make](https://www.gnu.org/software/make/)
- [nodejs](https://nodejs.org/en/) (<=12.x.x)
- [yarn](https://classic.yarnpkg.com/en/docs/install/)
- [python](https://www.python.org/downloads/) (<=3.8)
- [pip3](https://pip.pypa.io/en/stable/installing/)
- [gcc](https://gcc.gnu.org/install/)
- [make](https://www.gnu.org/software/make/)
- [nodejs](https://nodejs.org/en/) (<=12.x.x)
- [yarn](https://classic.yarnpkg.com/en/docs/install/)
- [python](https://www.python.org/downloads/) (<=3.8)
- [pip3](https://pip.pypa.io/en/stable/installing/)

### Node Packages

- [puppeteer](https://www.npmjs.com/package/puppeteer)
- [pngjs](https://www.npmjs.com/package/pngjs)
- [pixelmatch](https://www.npmjs.com/package/pixelmatch)
- [puppeteer](https://www.npmjs.com/package/puppeteer)
- [pngjs](https://www.npmjs.com/package/pngjs)
- [pixelmatch](https://www.npmjs.com/package/pixelmatch)

### PyPi Packages

- [clickgen](https://pypi.org/project/clickgen/s)
- [clickgen](https://pypi.org/project/clickgen/s)

## Build Dependencies

- [gcc](https://gcc.gnu.org/install/)
- [make](https://www.gnu.org/software/make/)
- [nodejs](https://nodejs.org/en/) (<=12.x.x)
- [yarn](https://classic.yarnpkg.com/en/docs/install/)
- [python](https://www.python.org/downloads/) (<=3.8)
- [pip3](https://pip.pypa.io/en/stable/installing/)
- [gcc](https://gcc.gnu.org/install/)
- [make](https://www.gnu.org/software/make/)
- [nodejs](https://nodejs.org/en/) (<=12.x.x)
- [yarn](https://classic.yarnpkg.com/en/docs/install/)
- [python](https://www.python.org/downloads/) (<=3.8)
- [pip3](https://pip.pypa.io/en/stable/installing/)

### Node Packages

- [puppeteer](https://www.npmjs.com/package/puppeteer)
- [pngjs](https://www.npmjs.com/package/pngjs)
- [pixelmatch](https://www.npmjs.com/package/pixelmatch)
- [puppeteer](https://www.npmjs.com/package/puppeteer)
- [pngjs](https://www.npmjs.com/package/pngjs)
- [pixelmatch](https://www.npmjs.com/package/pixelmatch)

### PyPi Packages

- [clickgen](https://pypi.org/project/clickgen/s)
- [clickgen](https://pypi.org/project/clickgen/s)

## Build From Scratch

Expand Down
2 changes: 1 addition & 1 deletion bitmapper/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "google_cursor",
"version": "1.0.1",
"version": "1.1.0",
"description": "🍭 Cursor theme inspired on Google",
"main": "index.js",
"repository": "[email protected]:ful1e5/Google_Cursor.git",
Expand Down
Loading

0 comments on commit a2d851c

Please sign in to comment.