From 38886de0c3e9ea5729ef23e4c653fa2822f52e8f Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 6 Apr 2021 14:43:39 +0200 Subject: xscreensaver 6.00 --- hacks/images/Makefile | 43 +++++++++++++++++++++++++------------------ hacks/images/Makefile.in | 43 +++++++++++++++++++++++++------------------ hacks/images/gnome1.png | Bin 0 -> 17901 bytes hacks/images/gnome2.png | Bin 0 -> 1867 bytes hacks/images/logo-360.png | Bin 0 -> 27394 bytes 5 files changed, 50 insertions(+), 36 deletions(-) create mode 100644 hacks/images/gnome1.png create mode 100644 hacks/images/gnome2.png create mode 100644 hacks/images/logo-360.png (limited to 'hacks/images') diff --git a/hacks/images/Makefile b/hacks/images/Makefile index 4b0a239..46aa4dc 100644 --- a/hacks/images/Makefile +++ b/hacks/images/Makefile @@ -1,10 +1,8 @@ -# hacks/images/Makefile.in --- xscreensaver, Copyright (c) 2018 Jamie Zawinski. +# hacks/images/Makefile.in --- xscreensaver, Copyright © 2018-2021 Jamie Zawinski. # the `../configure' script generates `hacks/images/Makefile' from this file. srcdir = . -VPATH = ${srcdir} ${srcdir}/bubbles ${srcdir}/m6502 \ - ${srcdir}/molecules ${srcdir}/noseguy top_srcdir = ../.. UTILS_SRC = $(top_srcdir)/utils RM = rm -f @@ -20,29 +18,38 @@ TARFILES = Makefile \ $(STAR)/$(STAR).pov \ $(STAR)/$(STAR).txt \ -PNG_HDRS = $(shell find $(srcdir) -name \*.png | \ - sed 's@^.*/\(.*\)\.\(png\)$$@gen/\1_\2.h@') - default: all -all: gen $(PNG_HDRS) - -gen: - mkdir gen - -# %.png dependency below works because VPATH contains subdirs -# of 'images' dir not only 'images' itself -gen/%_png.h: %.png - echo $(UTILS_SRC)/bin2c "$<" "$@" - $(UTILS_SRC)/bin2c "$<" "$@" +all: _gen + +_gen: + @\ + DIR="gen" ; \ + if ! [ -d "$$DIR" ]; then \ + echo mkdir "$$DIR" ; \ + mkdir "$$DIR" ; \ + fi ; \ + \ + for png in $$(find $(srcdir) -name \*.png); do \ + h="$${png%.png}"; \ + h="$${h##*/}"; \ + h="$$DIR/$${h}_png.h"; \ + if [ ! -f "$$h" -o "$$png" -nt "$$h" ] ; then \ + echo $(UTILS_SRC)/bin2c "$$png" "$$h"; \ + $(UTILS_SRC)/bin2c "$$png" "$$h"; \ + fi ; \ + done clean: $(RM) -r gen +# Note: don't remove the generated Makefile. We include that in the tar file +# so that OSX and Android can run 'make' in this directory without 'configure'. distclean:: clean + -rm -f TAGS *~ "#"* -echo_tarfiles: - @echo $(TARFILES) +list_tarfiles: + @find $(TARFILES) -type f -print | sort install: install-program: diff --git a/hacks/images/Makefile.in b/hacks/images/Makefile.in index 9a0375b..6bdfbb0 100644 --- a/hacks/images/Makefile.in +++ b/hacks/images/Makefile.in @@ -1,10 +1,8 @@ -# hacks/images/Makefile.in --- xscreensaver, Copyright (c) 2018 Jamie Zawinski. +# hacks/images/Makefile.in --- xscreensaver, Copyright © 2018-2021 Jamie Zawinski. # the `../configure' script generates `hacks/images/Makefile' from this file. @SET_MAKE@ srcdir = @srcdir@ -VPATH = ${srcdir} ${srcdir}/bubbles ${srcdir}/m6502 \ - ${srcdir}/molecules ${srcdir}/noseguy top_srcdir = @top_srcdir@ UTILS_SRC = $(top_srcdir)/utils RM = rm -f @@ -20,29 +18,38 @@ TARFILES = Makefile \ $(STAR)/$(STAR).pov \ $(STAR)/$(STAR).txt \ -PNG_HDRS = $(shell find $(srcdir) -name \*.png | \ - sed 's@^.*/\(.*\)\.\(png\)$$@gen/\1_\2.h@') - default: all -all: gen $(PNG_HDRS) - -gen: - mkdir gen - -# %.png dependency below works because VPATH contains subdirs -# of 'images' dir not only 'images' itself -gen/%_png.h: %.png - echo $(UTILS_SRC)/bin2c "$<" "$@" - $(UTILS_SRC)/bin2c "$<" "$@" +all: _gen + +_gen: + @\ + DIR="gen" ; \ + if ! [ -d "$$DIR" ]; then \ + echo mkdir "$$DIR" ; \ + mkdir "$$DIR" ; \ + fi ; \ + \ + for png in $$(find $(srcdir) -name \*.png); do \ + h="$${png%.png}"; \ + h="$${h##*/}"; \ + h="$$DIR/$${h}_png.h"; \ + if [ ! -f "$$h" -o "$$png" -nt "$$h" ] ; then \ + echo $(UTILS_SRC)/bin2c "$$png" "$$h"; \ + $(UTILS_SRC)/bin2c "$$png" "$$h"; \ + fi ; \ + done clean: $(RM) -r gen +# Note: don't remove the generated Makefile. We include that in the tar file +# so that OSX and Android can run 'make' in this directory without 'configure'. distclean:: clean + -rm -f TAGS *~ "#"* -echo_tarfiles: - @echo $(TARFILES) +list_tarfiles: + @find $(TARFILES) -type f -print | sort install: install-program: diff --git a/hacks/images/gnome1.png b/hacks/images/gnome1.png new file mode 100644 index 0000000..453e77a Binary files /dev/null and b/hacks/images/gnome1.png differ diff --git a/hacks/images/gnome2.png b/hacks/images/gnome2.png new file mode 100644 index 0000000..d9171d8 Binary files /dev/null and b/hacks/images/gnome2.png differ diff --git a/hacks/images/logo-360.png b/hacks/images/logo-360.png new file mode 100644 index 0000000..c4f1e89 Binary files /dev/null and b/hacks/images/logo-360.png differ -- cgit v1.2.3-55-g7522