summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorGravatar Henrik Brautaset Aronsen <subsurface@henrik.synth.no>2013-02-02 12:19:28 +0100
committerGravatar Henrik Brautaset Aronsen <subsurface@henrik.synth.no>2013-02-02 21:27:15 +0100
commit459130009b6ca1683ba82e720cc97f4ebeb187c9 (patch)
treea0fa5a11b61611142907582de319b7c965d4bdd7 /packaging
parent20d3b5f71495adccf59d27095445a0d2e63b6a09 (diff)
downloadsubsurface-459130009b6ca1683ba82e720cc97f4ebeb187c9.tar.gz
Rename subsurface.svg to subsurface-icon.svg
In preparation for a subsurface-icon.h, this should avoid confusion about whether "subsurface.h" is a core header file. Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no>
Diffstat (limited to 'packaging')
-rw-r--r--packaging/subsurface.spec2
-rw-r--r--packaging/windows/mingw-subsurface.spec4
-rw-r--r--packaging/windows/subsurface.nsi.in4
3 files changed, 5 insertions, 5 deletions
diff --git a/packaging/subsurface.spec b/packaging/subsurface.spec
index 53b96bc0b..e33ed2e43 100644
--- a/packaging/subsurface.spec
+++ b/packaging/subsurface.spec
@@ -37,7 +37,7 @@ rm %{buildroot}/%{_datadir}/icons/hicolor/icon-theme.cache
%defattr(-,root,root)
%{_bindir}/subsurface
%{_datadir}/applications/subsurface.desktop
-%{_datadir}/icons/hicolor/scalable/apps/subsurface.svg
+%{_datadir}/icons/hicolor/scalable/apps/subsurface-icon.svg
%{_datadir}/man/man1/subsurface.1.gz
diff --git a/packaging/windows/mingw-subsurface.spec b/packaging/windows/mingw-subsurface.spec
index e1335de1f..8bc04da45 100644
--- a/packaging/windows/mingw-subsurface.spec
+++ b/packaging/windows/mingw-subsurface.spec
@@ -43,7 +43,7 @@ make CC=%{_mingw32_target}-gcc PKGCONFIG=%{_mingw32_target}-pkg-config XML2CONFI
mkdir -p $RPM_BUILD_ROOT/%{_mingw32_bindir}
mkdir -p $RPM_BUILD_ROOT/%{_mingw32_datadir}
install -m 755 subsurface.exe $RPM_BUILD_ROOT/%{_mingw32_bindir}/subsurface.exe
-install -m 644 subsurface.svg $RPM_BUILD_ROOT/%{_mingw32_datadir}/subsurface.svg
+install -m 644 subsurface-icon.svg $RPM_BUILD_ROOT/%{_mingw32_datadir}/subsurface-icon.svg
# this seems like a really ugly hack
install -m 755 %{_mingw32_bindir}/libdivecomputer-0.dll $RPM_BUILD_ROOT/%{_mingw32_bindir}/libdivecomputer-0.dll
install -m 755 %{_mingw32_bindir}/libcairo-2.dll $RPM_BUILD_ROOT/%{_mingw32_bindir}/libcairo-2.dll
@@ -106,7 +106,7 @@ install -m 755 %{_mingw32_bindir}/libatk-1.0-0.dll $RPM_BUILD_ROOT/%{_mingw32_bi
%{_mingw32_bindir}/libpangowin32-1.0-0.dll
%{_mingw32_bindir}/libatk-1.0-0.dll
-%{_mingw32_datadir}/subsurface.svg
+%{_mingw32_datadir}/subsurface-icon.svg
%changelog
diff --git a/packaging/windows/subsurface.nsi.in b/packaging/windows/subsurface.nsi.in
index 5fdad4fff..59944d7df 100644
--- a/packaging/windows/subsurface.nsi.in
+++ b/packaging/windows/subsurface.nsi.in
@@ -99,7 +99,7 @@ Section
# Files to include in installer
File ..\..\subsurface.exe
- File ..\..\subsurface.svg
+ File ..\..\subsurface-icon.svg
File ..\..\xslt\jdivelog2subsurface.xslt
File ..\..\xslt\SuuntoSDM.xslt
File dll\iconv.dll
@@ -167,7 +167,7 @@ Section "Uninstall"
Delete "$INSTDIR\freetype-config"
Delete "$INSTDIR\subsurface.exe"
Delete "$INSTDIR\subsurface.ico"
- Delete "$INSTDIR\subsurface.svg"
+ Delete "$INSTDIR\subsurface-icon.svg"
Delete "$INSTDIR\Uninstall.exe"
RMDir /r "$INSTDIR\share"
RMDir "$INSTDIR"