mirror of
				https://github.com/horst3180/arc-theme.git
				synced 2025-06-13 12:53:52 +00:00 
			
		
		
		
	Compile with sassc
This commit is contained in:
		
							parent
							
								
									7feeeb7514
								
							
						
					
					
						commit
						ea2f84450a
					
				| @ -44,6 +44,7 @@ It is strongly encouraged to submit pull-requests to suggest fixes and enhanceme | |||||||
| To build the theme the follwing packages are required | To build the theme the follwing packages are required | ||||||
| * `autoconf` | * `autoconf` | ||||||
| * `automake` | * `automake` | ||||||
|  | * `sassc` (not for Ubuntu 16.04 - this distro assumes you have compiled with gulp) | ||||||
| * `pkg-config` or `pkgconfig` for Fedora | * `pkg-config` or `pkgconfig` for Fedora | ||||||
| * `libgtk-3-dev` for Debian based distros or `gtk3-devel` for RPM based distros | * `libgtk-3-dev` for Debian based distros or `gtk3-devel` for RPM based distros | ||||||
| * `git` to clone the source directory | * `git` to clone the source directory | ||||||
| @ -92,6 +93,7 @@ Other options to pass to autogen.sh are | |||||||
|                                option should not be needed. |                                option should not be needed. | ||||||
|                                Note 2: For GNOME 3.24 and 3.26, use --with-gnome-version=3.22 |                                Note 2: For GNOME 3.24 and 3.26, use --with-gnome-version=3.22 | ||||||
|                                (this works for now, the build system will be improved in the future) |                                (this works for now, the build system will be improved in the future) | ||||||
|  |     --with-custom=<script>     run the executable script file in the custom subfolder | ||||||
| 
 | 
 | ||||||
| After the installation is complete the theme can be activated with `gnome-tweak-tool` or a similar program by selecting `Arc`, `Arc-Darker` or `Arc-Dark` as Window/GTK+ theme and `Arc` or `Arc-Dark` as GNOME Shell/Cinnamon theme. | After the installation is complete the theme can be activated with `gnome-tweak-tool` or a similar program by selecting `Arc`, `Arc-Darker` or `Arc-Dark` as Window/GTK+ theme and `Arc` or `Arc-Dark` as GNOME Shell/Cinnamon theme. | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -140,6 +140,11 @@ if ENABLE_LIGHT | |||||||
| 
 | 
 | ||||||
| 	cd $(srcdir)/gtk-3.0 && cp thumbnail.png $(ithemedir)/gtk-3.0 | 	cd $(srcdir)/gtk-3.0 && cp thumbnail.png $(ithemedir)/gtk-3.0 | ||||||
| 
 | 
 | ||||||
|  | 	@if [ "$(GNOME_VERSION)" != "3.18" ]; then \
 | ||||||
|  | 		sassc $(srcdir)/gtk-3.0/$(GNOME_VERSION)/sass/gtk.scss $(srcdir)/gtk-3.0/$(GNOME_VERSION)/gtk.css;\
 | ||||||
|  | 		sassc $(srcdir)/gtk-3.0/$(GNOME_VERSION)/sass/gtk-dark.scss $(srcdir)/gtk-3.0/$(GNOME_VERSION)/gtk-dark.css;\
 | ||||||
|  | 	fi | ||||||
|  | 
 | ||||||
| 	cd $(srcdir)/gtk-3.0/$(GNOME_VERSION) && cp -R \
 | 	cd $(srcdir)/gtk-3.0/$(GNOME_VERSION) && cp -R \
 | ||||||
| 		assets \
 | 		assets \
 | ||||||
| 		gtk.css \
 | 		gtk.css \
 | ||||||
| @ -152,6 +157,12 @@ if ENABLE_DARKER | |||||||
| 
 | 
 | ||||||
| 	cd $(srcdir)/gtk-3.0 && cp thumbnail.png $(ithemedarkerdir)/gtk-3.0 | 	cd $(srcdir)/gtk-3.0 && cp thumbnail.png $(ithemedarkerdir)/gtk-3.0 | ||||||
| 
 | 
 | ||||||
|  | 	@if [ "$(GNOME_VERSION)" != "3.18" ]; then \
 | ||||||
|  | 		sassc $(srcdir)/gtk-3.0/$(GNOME_VERSION)/sass/gtk-dark.scss $(srcdir)/gtk-3.0/$(GNOME_VERSION)/gtk-dark.css;\
 | ||||||
|  | 		sassc $(srcdir)/gtk-3.0/$(GNOME_VERSION)/sass/gtk-darker.scss $(srcdir)/gtk-3.0/$(GNOME_VERSION)/gtk-darker.css;\
 | ||||||
|  | 		sassc $(srcdir)/gtk-3.0/$(GNOME_VERSION)/sass/gtk.scss $(srcdir)/gtk-3.0/$(GNOME_VERSION)/gtk.css;\
 | ||||||
|  | 	fi | ||||||
|  | 
 | ||||||
| 	cd $(srcdir)/gtk-3.0/$(GNOME_VERSION) && cp -R \
 | 	cd $(srcdir)/gtk-3.0/$(GNOME_VERSION) && cp -R \
 | ||||||
| 		assets \
 | 		assets \
 | ||||||
| 		gtk-dark.css \
 | 		gtk-dark.css \
 | ||||||
| @ -171,6 +182,11 @@ if ENABLE_DARK | |||||||
| 		assets \
 | 		assets \
 | ||||||
| 		$(ithemedarkdir)/gtk-3.0 | 		$(ithemedarkdir)/gtk-3.0 | ||||||
| 
 | 
 | ||||||
|  | 	@if [ "$(GNOME_VERSION)" != "3.18" ]; then \
 | ||||||
|  | 		sassc $(srcdir)/gtk-3.0/$(GNOME_VERSION)/sass/gtk-dark.scss $(srcdir)/gtk-3.0/$(GNOME_VERSION)/gtk-dark.css;\
 | ||||||
|  | 		sassc $(srcdir)/gtk-3.0/$(GNOME_VERSION)/sass/gtk.scss $(srcdir)/gtk-3.0/$(GNOME_VERSION)/gtk.css;\
 | ||||||
|  | 	fi | ||||||
|  | 
 | ||||||
| 	cd $(srcdir)/gtk-3.0/$(GNOME_VERSION) && cp -R \
 | 	cd $(srcdir)/gtk-3.0/$(GNOME_VERSION) && cp -R \
 | ||||||
| 		gtk-dark.css \
 | 		gtk-dark.css \
 | ||||||
| 		$(ithemedarkdir)/gtk-3.0/gtk.css | 		$(ithemedarkdir)/gtk-3.0/gtk.css | ||||||
| @ -179,6 +195,13 @@ endif # ENABLE_DARK | |||||||
| if !ENABLE_TRANSPARENCY | if !ENABLE_TRANSPARENCY | ||||||
| 
 | 
 | ||||||
| if ENABLE_LIGHT | if ENABLE_LIGHT | ||||||
|  | 	@if [ "$(GNOME_VERSION)" != "3.18" ]; then \
 | ||||||
|  | 		sassc $(srcdir)/gtk-3.0/$(GNOME_VERSION)/sass/gtk-solid.scss $(srcdir)/gtk-3.0/$(GNOME_VERSION)/gtk-solid.css;\
 | ||||||
|  | 		sassc $(srcdir)/gtk-3.0/$(GNOME_VERSION)/sass/gtk-solid-dark.scss $(srcdir)/gtk-3.0/$(GNOME_VERSION)/gtk-solid-dark.css;\
 | ||||||
|  | 		sassc $(srcdir)/gtk-3.0/$(GNOME_VERSION)/sass/gtk.scss $(srcdir)/gtk-3.0/$(GNOME_VERSION)/gtk.css;\
 | ||||||
|  | 		sassc $(srcdir)/gtk-3.0/$(GNOME_VERSION)/sass/gtk-dark.scss $(srcdir)/gtk-3.0/$(GNOME_VERSION)/gtk-dark.css;\
 | ||||||
|  | 	fi | ||||||
|  | 
 | ||||||
| 	cd $(srcdir)/gtk-3.0/$(GNOME_VERSION) && cp -R \
 | 	cd $(srcdir)/gtk-3.0/$(GNOME_VERSION) && cp -R \
 | ||||||
| 		gtk-solid.css \
 | 		gtk-solid.css \
 | ||||||
| 		$(ithemedir)/gtk-3.0/gtk.css | 		$(ithemedir)/gtk-3.0/gtk.css | ||||||
| @ -189,6 +212,13 @@ if ENABLE_LIGHT | |||||||
| endif # ENABLE_LIGHT
 | endif # ENABLE_LIGHT
 | ||||||
| 
 | 
 | ||||||
| if ENABLE_DARKER | if ENABLE_DARKER | ||||||
|  | 	@if [ "$(GNOME_VERSION)" != "3.18" ]; then \
 | ||||||
|  | 		sassc $(srcdir)/gtk-3.0/$(GNOME_VERSION)/sass/gtk-solid-darker.scss $(srcdir)/gtk-3.0/$(GNOME_VERSION)/gtk-solid-darker.css;\
 | ||||||
|  | 		sassc $(srcdir)/gtk-3.0/$(GNOME_VERSION)/sass/gtk-solid-dark.scss $(srcdir)/gtk-3.0/$(GNOME_VERSION)/gtk-solid-dark.css;\
 | ||||||
|  | 		sassc $(srcdir)/gtk-3.0/$(GNOME_VERSION)/sass/gtk.scss $(srcdir)/gtk-3.0/$(GNOME_VERSION)/gtk.css;\
 | ||||||
|  | 		sassc $(srcdir)/gtk-3.0/$(GNOME_VERSION)/sass/gtk-dark.scss $(srcdir)/gtk-3.0/$(GNOME_VERSION)/gtk-dark.css;\
 | ||||||
|  | 	fi | ||||||
|  | 
 | ||||||
| 	cd $(srcdir)/gtk-3.0/$(GNOME_VERSION) && cp -R \
 | 	cd $(srcdir)/gtk-3.0/$(GNOME_VERSION) && cp -R \
 | ||||||
| 		gtk-solid-darker.css \
 | 		gtk-solid-darker.css \
 | ||||||
| 		$(ithemedarkerdir)/gtk-3.0/gtk.css | 		$(ithemedarkerdir)/gtk-3.0/gtk.css | ||||||
| @ -199,6 +229,11 @@ if ENABLE_DARKER | |||||||
| endif # ENABLE_DARKER
 | endif # ENABLE_DARKER
 | ||||||
| 
 | 
 | ||||||
| if ENABLE_DARK | if ENABLE_DARK | ||||||
|  | 	@if [ "$(GNOME_VERSION)" != "3.18" ]; then \
 | ||||||
|  | 		sassc $(srcdir)/gtk-3.0/$(GNOME_VERSION)/sass/gtk-solid-dark.scss $(srcdir)/gtk-3.0/$(GNOME_VERSION)/gtk-solid-dark.css;\
 | ||||||
|  | 		sassc $(srcdir)/gtk-3.0/$(GNOME_VERSION)/sass/gtk.scss $(srcdir)/gtk-3.0/$(GNOME_VERSION)/gtk.css;\
 | ||||||
|  | 	fi | ||||||
|  | 
 | ||||||
| 	cd $(srcdir)/gtk-3.0/$(GNOME_VERSION) && cp -R \
 | 	cd $(srcdir)/gtk-3.0/$(GNOME_VERSION) && cp -R \
 | ||||||
| 		gtk-solid-dark.css \
 | 		gtk-solid-dark.css \
 | ||||||
| 		$(ithemedarkdir)/gtk-3.0/gtk.css | 		$(ithemedarkdir)/gtk-3.0/gtk.css | ||||||
|  | |||||||
| @ -1,6 +1,6 @@ | |||||||
| AC_INIT( | AC_INIT( | ||||||
|     [arc-theme], |     [arc-theme], | ||||||
|     [20161119], |     [20171105], | ||||||
|     [https://github.com/horst3180/Arc-theme/issues], |     [https://github.com/horst3180/Arc-theme/issues], | ||||||
|     [arc-theme], |     [arc-theme], | ||||||
|     [https://github.com/horst3180/Arc-theme], |     [https://github.com/horst3180/Arc-theme], | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user