-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add initial drop of non-default Leap 16 wallpapers (#19)
* Add initial drop of non-default Leap 16 wallpapers * Factory will simply use latest Leap wallpaper drop we intend to suggest package from branding-openSUSE package * Gecko from Photo competition gh##18 * Gradient with the new lcp's project logo gh#openSUSE/branding#156 * Install wallpapers from all releases split will happen in the spec file * Check for .svg existance in leap* dir * Use -o2 (-o5 takes way too long for 4096x4096) * Install xml and jpg files only where available
- Loading branch information
Showing
6 changed files
with
166 additions
and
12 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 |
---|---|---|
@@ -1,6 +1,25 @@ | ||
install: | ||
mkdir -p /usr/share/gnome-background-properties/ | ||
install -D -m 0644 wallpapers-leap15.xml ${DESTDIR}/usr/share/gnome-background-properties/wallpapers-leap15.xml | ||
mkdir -p /usr/share/wallpapers/leap15/ | ||
install -D -m 0644 leap15/*.jpg ${DESTDIR}/usr/share/wallpapers/leap15/ | ||
install -D -m 0644 leap15/*.xml ${DESTDIR}/usr/share/wallpapers/leap15/ | ||
LEAP_DIRS = $(wildcard leap*) | ||
|
||
install: | ||
for dir in $(LEAP_DIRS); do \ | ||
VERSION=$$(echo $${dir} | sed 's/leap//'); \ | ||
mkdir -p ${DESTDIR}/usr/share/gnome-background-properties/; \ | ||
install -D -m 0644 wallpapers-leap$${VERSION}.xml ${DESTDIR}/usr/share/gnome-background-properties/wallpapers-leap$${VERSION}.xml; \ | ||
mkdir -p ${DESTDIR}/usr/share/wallpapers/leap$${VERSION}/; \ | ||
if ls $${dir}/*.svg >/dev/null 2>&1; then \ | ||
for svg in $${dir}/*.svg; do \ | ||
png_file=${DESTDIR}/usr/share/wallpapers/leap$${VERSION}/`basename $${svg} .svg`.png; \ | ||
rsvg-convert $${svg} -o $${png_file}; \ | ||
optipng -o2 $${png_file}; \ | ||
done; \ | ||
fi; \ | ||
if ls $${dir}/*.jpg >/dev/null 2>&1; then \ | ||
install -D -m 0644 $${dir}/*.jpg ${DESTDIR}/usr/share/wallpapers/leap$${VERSION}/; \ | ||
fi; \ | ||
if ls $${dir}/*.xml >/dev/null 2>&1; then \ | ||
install -D -m 0644 $${dir}/*.xml ${DESTDIR}/usr/share/wallpapers/leap$${VERSION}/; \ | ||
fi; \ | ||
if ls $${dir}/*.png >/dev/null 2>&1; then \ | ||
install -D -m 0644 $${dir}/*.png ${DESTDIR}/usr/share/wallpapers/leap$${VERSION}/; \ | ||
fi; \ | ||
done |
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,11 +1,15 @@ | ||
# wallpapers | ||
# wallpapers-openSUSE-extra | ||
|
||
Contest is over, better luck next time :D | ||
Additional community wallpapers available for Leap and Tumbleweed. | ||
wallpapers-openSUSE-extra is suggested by [branding-openSUSE](https://github.com/openSUSE/branding) and completes the wallpaper selection | ||
for individual releases aside from default wallpaper. | ||
|
||
~~**openSUSE wallpaper contest**~~ | ||
# How to build the package? | ||
|
||
~~Resolution: 4K +~~ | ||
Package needs to be updated in [X11:common:Factory/wallpapers-openSUSE-extra](https://build.opensuse.org/package/show/X11:common:Factory/wallpapers-openSUSE-extra). And submited to openSUSE:Factory and openSUSE:Leap:16.X projects. | ||
|
||
~~License: CC allowing for commercial use (attatched in seperate TXT file)~~ | ||
Please be aware that pngs are rendered from svgs at build time. Aside from photos we only intend to store svgs in this repository. | ||
|
||
~~Pull request welcome :D~~ | ||
# Where are the default wallpapers? | ||
|
||
The default wallpapers are stored in release specific branch of [openSUSE/branding](https://github.com/openSUSE/branding) and built in [Base:System/branding-openSUSE](https://build.opensuse.org/package/show/Base:System/branding-openSUSE). Aditionally GNOME has dconf defaults preset in [GNOME:Factory/glib2-branding](https://build.opensuse.org/package/show/GNOME:Factory/glib2-branding). Each Window Manager might have additional metadata in respective -branding packages. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,4 @@ | ||
blue_tailed_day_gecko_ebony_forest_mauritius.jpg | ||
was released under Public Domain by Arwin Neil Baichoo | ||
|
||
https://www.inaturalist.org/photos/412551389 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,14 @@ | ||
<?xml version="1.0"?> | ||
<!DOCTYPE wallpapers SYSTEM "gnome-wp-list.dtd"> | ||
<wallpapers> | ||
<wallpaper> | ||
<name>Project gradient</name> | ||
<filename>/usr/share/wallpapers/leap16/project.png</filename> | ||
<options>zoom</options> | ||
</wallpaper> | ||
<wallpaper> | ||
<name>Blue-Tailed Day Gecko in the Ebony Forest of Mauritius</name> | ||
<filename>/usr/share/wallpapers/leap16/blue_tailed_day_gecko_ebony_forest_mauritius.jpg</filename> | ||
<options>zoom</options> | ||
</wallpaper> | ||
</wallpapers> |