Browse Source

Update icons

pull/872/head
Anders Jenbo 6 years ago
parent
commit
7f4839cc31
  1. 14
      CMakeLists.txt
  2. BIN
      Packaging/cpi-gamesh/Devilution.png
  3. 13
      Packaging/debian/rules
  4. 18
      Packaging/fedora/devilutionx.spec
  5. BIN
      Packaging/macOS/AppIcon.icns
  6. BIN
      Packaging/resources/16.png
  7. BIN
      Packaging/resources/Diablo_32.png
  8. BIN
      Packaging/resources/Diablo_48.png
  9. BIN
      Packaging/resources/icon.png
  10. BIN
      Packaging/resources/icon_solid.png
  11. BIN
      Packaging/switch/icon.jpg
  12. BIN
      Packaging/windows/icon.ico

14
CMakeLists.txt

@ -620,16 +620,8 @@ if(CPACK)
"${PROJECT_SOURCE_DIR}/Packaging/nix/README.txt"
DESTINATION "share/diasurgical/${project_name}"
)
install(FILES "${PROJECT_SOURCE_DIR}/Packaging/resources/16.png"
DESTINATION "share/icons/hicolor/16x16/apps"
RENAME "${project_name}.png"
)
install(FILES "${PROJECT_SOURCE_DIR}/Packaging/resources/Diablo_32.png"
DESTINATION "share/icons/hicolor/32x32/apps"
RENAME "${project_name}.png"
)
install(FILES "${PROJECT_SOURCE_DIR}/Packaging/resources/Diablo_48.png"
DESTINATION "share/icons/hicolor/48x48/apps"
install(FILES "${PROJECT_SOURCE_DIR}/Packaging/resources/icon.png"
DESTINATION "share/icons/hicolor/512x512/apps"
RENAME "${project_name}.png"
)
install(FILES "${PROJECT_SOURCE_DIR}/Packaging/resources/CharisSILB.ttf"
@ -637,7 +629,7 @@ if(CPACK)
)
# -G DEB
set(CPACK_PACKAGE_CONTACT "kai@gnukai.com")
set(CPACK_PACKAGE_CONTACT "anders@jenbo.dk")
set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON)
set(CPACK_DEBIAN_FILE_NAME DEB-DEFAULT)

BIN
Packaging/cpi-gamesh/Devilution.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 19 KiB

13
Packaging/debian/rules vendored

@ -5,7 +5,7 @@
#export DH_VERBOSE=1
export COMPILE_FLAGS="-O0"
export DEB_BUILD_MAINT_OPTIONS = hardening=-all
export DEB_CFLAGS_MAINT_APPEND = -Wno-error
export DEB_CFLAGS_MAINT_APPEND = -Wno-error
export DEB_LDFLAGS_MAINT_APPEND = -Wno-error
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
GIT_VERSION_DEVILUTIONX ?= $(shell pwd | tail -c 23 | cut -c-5)
@ -21,17 +21,12 @@ override_dh_auto_install:
install -pdm755 debian/diablo-data/usr/share/games/diablo/
test -f "../diabdat.mpq" && cp ../diabdat.mpq debian/diablo-data/usr/share/games/diablo/ || true
dh_auto_install
install -pdm755 debian/devilutionx/usr/share/icons/hicolor/48x48/apps/
install -pdm755 debian/devilutionx/usr/share/icons/hicolor/512x512/apps/
install -pdm755 debian/devilutionx/usr/share/applications/
install -pdm755 debian/devilutionx/usr/share/fonts/truetype/
install -pdm755 debian/devilutionx/usr/share/icons/hicolor/16x16/apps/
install -pdm755 debian/devilutionx/usr/share/icons/hicolor/32x32/apps/
install -pdm755 debian/devilutionx/usr/share/icons/hicolor/48x48/apps/
install -pdm755 debian/devilutionx/usr/share/games/diablo/
install -Dm664 Packaging/resources/16.png debian/devilutionx/usr/share/icons/hicolor/16x16/apps/devilutionx.png
install -Dm664 Packaging/resources/Diablo_32.png debian/devilutionx/usr/share/icons/hicolor/32x32/apps/devilutionx.png
install -Dm664 Packaging/resources/Diablo_48.png debian/devilutionx/usr/share/icons/hicolor/48x48/apps/devilutionx.png
install -Dm664 Packaging/resources/icon.png debian/devilutionx/usr/share/icons/hicolor/512x512/apps/devilutionx.png
install -Dm664 Packaging/fedora/devilutionx.desktop debian/devilutionx/usr/share/applications/
install -Dm664 Packaging/resources/CharisSILB.ttf debian/devilutionx/usr/share/fonts/truetype/
install -Dm755 obj-${DEB_HOST_MULTIARCH}/devilutionx debian/devilutionx/usr/share/games/diablo/
install -Dm755 obj-${DEB_HOST_MULTIARCH}/devilutionx debian/devilutionx/usr/share/games/diablo/

18
Packaging/fedora/devilutionx.spec

@ -1,7 +1,7 @@
%define debug_package %{nil}
Name: devilutionx
Version: 0.5.0
Version: 1.1.0
Release: 1%{?dist}
Summary: Diablo I engine for modern operating systems
@ -16,7 +16,7 @@ Requires: SDL2_ttf SDL2_mixer libsodium
%description
Diablo I devolved - magic behind the 1996 computer game
Note: Devilution requires an original copy of diabdat.mpq. None of the Diablo 1 game assets are provided by this package!
Note: Devilution requires an original copy of diabdat.mpq. None of the Diablo 1 game assets are provided by this package!
%prep
%setup -q -n devilutionX-%{version}
@ -35,23 +35,17 @@ make INSTALL_ROOT=%{buildroot}
cd ..
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/
install -p -D -m644 Packaging/resources/16.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/%{name}.png
install -p -D -m644 Packaging/resources/Diablo_32.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
install -p -D -m644 Packaging/resources/Diablo_48.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/512x512/apps/
install -p -D -m644 Packaging/resources/icon.png %{buildroot}%{_datadir}/icons/hicolor/512x512/apps/%{name}.png
install -m 755 build/devilutionx %{buildroot}%{_bindir}/%{name}
desktop-file-install --remove-category="Qt" --dir=%{buildroot}%{_datadir}/applications %{SOURCE1}
desktop-file-install --remove-category="Qt" --dir=%{buildroot}%{_datadir}/applications %{SOURCE1}
%files
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/fonts/truetype/CharisSILB.ttf
%{_datadir}/icons/hicolor/16x16/apps/%{name}.png
%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
%{_datadir}/icons/hicolor/512x512/apps/%{name}.png
%post
# print info

BIN
Packaging/macOS/AppIcon.icns

Binary file not shown.

BIN
Packaging/resources/16.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 198 B

BIN
Packaging/resources/Diablo_32.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 357 B

BIN
Packaging/resources/Diablo_48.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

BIN
Packaging/resources/icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

BIN
Packaging/resources/icon_solid.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

BIN
Packaging/switch/icon.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 19 KiB

BIN
Packaging/windows/icon.ico

Binary file not shown.

Before

Width:  |  Height:  |  Size: 766 B

After

Width:  |  Height:  |  Size: 49 KiB

Loading…
Cancel
Save