Don't use Linux-specific invocation of "install"

Per Thomas, NetBSD's install(1) does not support '-t' and '-D' means
something else than on Linux.
This commit is contained in:
Bill Kendrick 2024-12-19 16:37:57 -08:00
parent 3d2dab5fc2
commit fa2f06792e
2 changed files with 17 additions and 8 deletions

View file

@ -4,7 +4,7 @@
# Various contributors (see AUTHORS.txt)
# https://tuxpaint.org/
# June 14, 2002 - November 15, 2024
# June 14, 2002 - December 19, 2024
# The version number, for release:
@ -1004,7 +1004,8 @@ install-pkgxdg: src/tuxpaint.desktop src/tuxpaint-fullscreen.desktop src/org.tux
cp -a data/images/icon96x96.png $(NEWICON_PREFIX)/96x96/apps/tuxpaint.png
cp -a data/images/icon128x128.png $(NEWICON_PREFIX)/128x128/apps/tuxpaint.png
cp -a data/images/icon192x192.png $(NEWICON_PREFIX)/192x192/apps/tuxpaint.png
install --mode=0644 -Dt $(METAINFO_PREFIX) src/org.tuxpaint.Tuxpaint.appdata.xml
cp -a src/org.tuxpaint.Tuxpaint.appdata.xml $(METAINFO_PREFIX)
# ^ Instead of: install --mode=0644 -Dt $(METAINFO_PREFIX) src/org.tuxpaint.Tuxpaint.appdata.xml
.PHONY: install-xdg
install-xdg: src/tuxpaint.desktop src/tuxpaint-fullscreen.desktop src/org.tuxpaint.Tuxpaint.appdata.xml
@ -1039,7 +1040,9 @@ install-xdg: src/tuxpaint.desktop src/tuxpaint-fullscreen.desktop src/org.tuxpai
@if [ "x$(shell which update-desktop-database)" != "x" ]; then \
update-desktop-database ; \
fi
install --mode=0644 -Dt $(METAINFO_PREFIX) src/org.tuxpaint.Tuxpaint.appdata.xml
mkdir -p $(METAINFO_PREFIX)
cp -a src/org.tuxpaint.Tuxpaint.appdata.xml $(METAINFO_PREFIX)
# ^ Instead of: install --mode=0644 -Dt $(METAINFO_PREFIX) src/org.tuxpaint.Tuxpaint.appdata.xml
#do package path related stuff, ie use destdir
# Install the PNG icon (for KDE desktop, etc.)

View file

@ -6,11 +6,17 @@ Copyright (c) 2002-2024
Various contributors (see below, and AUTHORS.txt)
https://tuxpaint.org/
2024.November.15 (0.9.35)
* Improved color picker
Better behavior when clicking/tapping and dragging hue/saturation
box and value slider.
Bill Kendrick <bill@newbreedsoftware.com>
2024.December.19 (0.9.35)
* Other Improvements:
-------------------
+ Improved color picker: better behavior when clicking/tapping and
dragging hue/saturation box and value slider.
Bill Kendrick <bill@newbreedsoftware.com>
* Ports & Building:
-----------------
+ Don't use Linux-specific invocation of "install"; use "mkdir" & "cp"
Thomas Klausner <wiz@netbsd.org>
2024.October.23 (0.9.34)
* New Magic Tools: