-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added autotools for a more elegant install and updated README.md
- Loading branch information
Maurizio Galli
committed
May 19, 2022
1 parent
675a9c7
commit e151182
Showing
57 changed files
with
78 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
PREFIX=@prefix@ | ||
DESTDIR= | ||
CC?=gcc | ||
|
||
builddir: | ||
mkdir -p build | ||
mkdir -p build/adwaita-xfce && cp -R adwaita-xfce/. build/adwaita-xfce | ||
|
||
install: | ||
install -d $(DESTDIR)/$(PREFIX)/share/icons | ||
cp -rf build/adwaita-xfce $(DESTDIR)/$(PREFIX)/share/icons | ||
@echo | ||
@echo The icon-theme cache has not yet been regenerated, which means your changes may not be visible yet. Please run 'make icon-caches' next. | ||
|
||
uninstall: | ||
rm -rf $(DESTDIR)/$(PREFIX)/share/icons/adwaita-xfce | ||
|
||
icon-caches: | ||
gtk-update-icon-cache -f $(DESTDIR)/$(PREFIX)/share/icons/adwaita-xfce | ||
|
||
.PHONY: all $(SUBDIRS) | ||
|
||
clean: | ||
rm -rf ./build | ||
rm -rf ./Makefile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,35 @@ | ||
# Adwaita-Xfce icon theme | ||
|
||
This icon theme inherits from Adwaita. It is not a full icon theme but rather an extension for Adwaita fixing missing icons that are used in Xfce. | ||
This icon theme is an extension for Adwaita fixing missing icons that are used in Xfce. It is not a complete theme and inherits the bulk of icons from Adwaita. | ||
|
||
## Requirements | ||
|
||
You need adwaita icon theme to be installed in your system | ||
You need the original adwaita icon theme installed in your system | ||
|
||
## Installation | ||
|
||
Clone this repository and place the content in $HOME/.local/icons or /usr/share/icons | ||
You can use the Makefile to install the theme locally (default prefix is /usr/local). | ||
|
||
|
||
### Installation for the current user only (without admin privileges) | ||
|
||
``` | ||
./configure --prefix=$HOME/.local | ||
make | ||
make install | ||
make icon-caches | ||
``` | ||
|
||
### Installation for all users (default path is /usr/local) | ||
|
||
``` | ||
./configure | ||
make | ||
sudo make install | ||
sudo make icon-caches | ||
``` | ||
|
||
## Usage | ||
|
||
Select adwaita-xfce in Xfce Settings > Appearance > Icons | ||
1. Open Xfce Settings > Appearance > Icons | ||
2. Select Adwaita-Xfce |
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/bin/sh | ||
|
||
help () { | ||
echo "Supported options are:" | ||
echo " --help print this help and exit" | ||
echo " --prefix=<path> specify installation prefix" | ||
echo " default <path> is /usr/local" | ||
} | ||
|
||
PREFIX="/usr/local" | ||
while [ $# -gt 0 ]; do | ||
case $1 in | ||
--help) | ||
help | ||
exit 0 | ||
;; | ||
--prefix=*) | ||
PREFIX=`echo $1 | sed 's/--prefix=//'` | ||
;; | ||
*) | ||
echo "Unknown option $1" | ||
;; | ||
esac | ||
shift | ||
done | ||
|
||
echo "Creating Makefile..." | ||
sed -e s,@prefix@,$PREFIX, Makefile.in > Makefile | ||
echo "Installation prefix is $PREFIX" |