Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c334cf8312
|
||
|
|
9e42799b2f |
No files matched your search
@@ -1,10 +1,11 @@
|
||||
[](https://travis-ci.com/RonnyDo/ColorPicker)
|
||||
[](https://www.gnu.org/licenses/gpl-3.0)
|
||||
|
||||
# Color Picker
|
||||
|
||||
One Color Picker to rule them all! No overhelming menus or settings. An easy tool with the features you need.
|
||||
|
||||
This fork has been verified to build on FreeBSD 13.1.
|
||||
|
||||
Features:
|
||||
* Pick a color with the zoomable Magnifier
|
||||
* Choose between multiple Color Formats
|
||||
@@ -22,7 +23,7 @@ On elementaryOS? Simply install Color Picker from AppCenter:
|
||||
|
||||
For other Debian-based systems, you can download and install the [latest .deb file](https://github.com/ronnydo/colorpicker/releases/latest).
|
||||
|
||||
For other systems, you will need to compile the package yourself. See the instructions below.
|
||||
For FreeBSD (and other systems), you will need to compile the package yourself. See the instructions below.
|
||||
|
||||
## Build from source
|
||||
If you like to build ColorPicker yourself, take a look at the [`dev-build.sh`](dev-build.sh) file.
|
||||
@@ -30,18 +31,19 @@ If you like to build ColorPicker yourself, take a look at the [`dev-build.sh`](d
|
||||
### Dependencies
|
||||
You'll need the following dependencies to compile ColorPicker:
|
||||
* granite
|
||||
* libgtk-3-dev
|
||||
* meson
|
||||
* valac
|
||||
* vala
|
||||
* ninja
|
||||
|
||||
### Example
|
||||
|
||||
Here's a sample list of commands for building the package from source. These have been tested to work correctly on Ubuntu 18.04.
|
||||
Here's a sample list of commands for building the package from source. These have been tested to work correctly on FreeBSD 13.1.
|
||||
|
||||
```sh
|
||||
sudo apt install valac libgranite-dev
|
||||
git clone https://github.com/RonnyDo/ColorPicker.git
|
||||
```bash
|
||||
sudo pkg install vala granite meson ninja
|
||||
git clone https://git.trueog.net/NotAlexNoyle/ColorPicker
|
||||
cd ColorPicker/
|
||||
chmod +x dev-build.sh
|
||||
./dev-build.sh
|
||||
Enter your sudo password when prompted.
|
||||
```
|
||||
+7
-2
@@ -1,11 +1,16 @@
|
||||
#!/usr/local/bin/bash
|
||||
sudo rm -r build
|
||||
meson build
|
||||
cd build
|
||||
meson configure -Dprefix=/usr
|
||||
ninja
|
||||
|
||||
sudo cp ../data/com.github.ronnydo.colorpicker.gschema.xml /usr/share/glib-2.0/schemas/
|
||||
sudo glib-compile-schemas /usr/share/glib-2.0/schemas/
|
||||
sudo cp ../data/com.github.ronnydo.colorpicker.gschema.xml /usr/local/share/glib-2.0/schemas/
|
||||
sudo glib-compile-schemas /usr/local/share/glib-2.0/schemas/
|
||||
|
||||
G_MESSAGES_DEBUG=all ./com.github.ronnydo.colorpicker
|
||||
|
||||
echo "Enter your sudo password to elevate privilages for the installation..."
|
||||
sudo meson install
|
||||
|
||||
cd ..
|
||||
Reference in new issue
Block a user