Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:goupilmtos:2024:games
scid_vs_pc
scid_vs_pc-no-install-fonts.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File scid_vs_pc-no-install-fonts.patch of Package scid_vs_pc
--- a/Makefile.conf +++ b/Makefile.conf @@ -309,23 +309,6 @@ install_scid: all_scid cp -r ./bitmaps/* $(SHAREDIR)/bitmaps/ install -m 755 -d $(SHAREDIR)/bitmaps2 cp -r ./bitmaps2/* $(SHAREDIR)/bitmaps2/ - @if [ "`id -u`" -eq 0 ]; then \ - install -m 755 -d $(FONTDIR); \ - install -m 644 -p fonts/*.ttf $(FONTDIR); \ - else \ - install -m 755 -d ~/.fonts; \ - install -m 644 -p fonts/*.ttf ~/.fonts; \ - fi - @if [ ! -z "`which fc-cache`" ]; then \ - if [ "`id -u`" -eq 0 ]; then \ - fc-cache -fv $(FONTDIR); \ - else \ - fc-cache -fv ~/.fonts; \ - fi; \ - else \ - echo "Don't know how to setup truetype fonts (fc-cache not available)."; \ - echo "Please contact your system administrator."; \ - fi install_engines: engines install -m 755 -d $(SHAREDIR)/engines @@ -362,27 +345,6 @@ uninstall: rm -rf $(SHAREDIR)/lang rm -rf $(SHAREDIR)/bitmaps rm -rf $(SHAREDIR)/bitmaps2 - @if [ "`id -u`" -eq 0 ]; then \ - for f in `ls fonts/*.ttf`; do \ - rm -f $(FONTDIR)/`basename $$f`; \ - done; \ - if [ ! -z "`which fc-cache`" ]; then \ - fc-cache -fv $(FONTDIR); \ - fi; \ - if [ "`find $(FONTDIR) -type d -empty`" = "$(FONTDIR)" ]; then \ - rmdir $(FONTDIR); \ - fi; \ - else \ - for f in `ls fonts/*.ttf`; do \ - rm -f ~/.$$f; \ - done; \ - if [ ! -z "`which fc-cache`" ]; then \ - fc-cache -fv ~/.fonts; \ - fi; \ - if [ "`find ~/.fonts -type d -empty`" = "`ls -d ~/.fonts`" ]; then \ - rmdir ~/.fonts; \ - fi; \ - fi clean: rm -f game.* tkscid.so tkscid.dll position.* src/*.o src/universalchardet/*.o src/zlib/*.o src/zlib/*.a src/polyglot/*.o src/cql/*.o $(EXECS) scql scid $(SCRIPTS)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor