no-theme-no-git.patch 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. diff -Nuar gfxboot-4.5.7.orig/Makefile gfxboot-4.5.7/Makefile
  2. --- gfxboot-4.5.7.orig/Makefile 2014-10-14 14:37:02.000000000 +0300
  3. +++ gfxboot-4.5.7/Makefile 2015-08-05 15:02:12.676842244 +0300
  4. @@ -1,16 +1,7 @@
  5. CC = gcc
  6. CFLAGS = -g -Wall -Wno-pointer-sign -O2 -fomit-frame-pointer
  7. -GIT2LOG := $(shell if [ -x ./git2log ] ; then echo ./git2log --update ; else echo true ; fi)
  8. -GITDEPS := $(shell [ -d .git ] && echo .git/HEAD .git/refs/heads .git/refs/tags)
  9. -VERSION := $(shell $(GIT2LOG) --version VERSION ; cat VERSION)
  10. -BRANCH := $(shell git branch | perl -ne 'print $$_ if s/^\*\s*//')
  11. -PREFIX := gfxboot-$(VERSION)
  12. -
  13. -# THEMES = $(wildcard themes/*)
  14. -THEMES = themes/upstream themes/openSUSE themes/SLES themes/SLED themes/KDE
  15. -
  16. -.PHONY: all clean distclean doc install installsrc themes
  17. +.PHONY: all clean distclean doc install installsrc
  18. all: changelog bin2c gfxboot-compile bincode gfxboot-font addblack
  19. @@ -54,20 +45,10 @@
  20. install -m 755 gfxboot~ $(DESTDIR)/usr/sbin/gfxboot
  21. install -m 755 gfxtest $(DESTDIR)/usr/sbin
  22. install -m 755 gfxboot-compile gfxboot-font $(DESTDIR)/usr/sbin
  23. - @for i in $(THEMES) ; do \
  24. - install -d -m 755 $(DESTDIR)/etc/bootsplash/$$i/{bootloader,cdrom} ; \
  25. - cp $$i/bootlogo $(DESTDIR)/etc/bootsplash/$$i/cdrom ; \
  26. - bin/unpack_bootlogo $(DESTDIR)/etc/bootsplash/$$i/cdrom ; \
  27. - install -m 644 $$i/{message,po/*.tr,help-boot/*.hlp} $(DESTDIR)/etc/bootsplash/$$i/bootloader ; \
  28. - bin/2hl --link --quiet $(DESTDIR)/etc/bootsplash/$$i/* ; \
  29. - done
  30. installsrc:
  31. install -d -m 755 $(DESTDIR)/usr/share/gfxboot/themes
  32. - @for i in $(THEMES) ; do \
  33. - cp -a $$i $(DESTDIR)/usr/share/gfxboot/themes ; \
  34. - done
  35. - cp -a themes/example* $(DESTDIR)/usr/share/gfxboot/themes
  36. +
  37. cp -a bin test $(DESTDIR)/usr/share/gfxboot
  38. archive: changelog
  39. @@ -87,8 +68,6 @@
  40. distclean: clean
  41. @for i in themes/example* ; do make -C $$i clean || break ; done
  42. -themes:
  43. - @for i in $(THEMES) ; do make -C $$i $(MAKECMDGOALS) || break ; done
  44. doc:
  45. make -C doc $(MAKECMDGOALS)