Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linphone-desktop
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
linphone-desktop
Commits
9b46bc5c
Commit
9b46bc5c
authored
Mar 27, 2018
by
Ghislain MARY
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct handling of application icons.
parent
d97e1079
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
20 additions
and
3 deletions
+20
-3
CMakeLists.txt
CMakeLists.txt
+3
-0
genicons.sh
assets/icons/genicons.sh
+8
-0
linphone.png
assets/icons/hicolor/128x128/apps/linphone.png
+0
-0
linphone.png
assets/icons/hicolor/16x16/apps/linphone.png
+0
-0
linphone.png
assets/icons/hicolor/22x22/apps/linphone.png
+0
-0
linphone.png
assets/icons/hicolor/24x24/apps/linphone.png
+0
-0
linphone.png
assets/icons/hicolor/32x32/apps/linphone.png
+0
-0
linphone.png
assets/icons/hicolor/64x64/apps/linphone.png
+0
-0
linphone.spec.cmake
build/rpm/linphone.spec.cmake
+9
-3
No files found.
CMakeLists.txt
View file @
9b46bc5c
...
...
@@ -429,6 +429,9 @@ install(FILES "${ASSETS_DIR}/images/linphone_logo.svg"
DESTINATION
"
${
CMAKE_INSTALL_DATADIR
}
/icons/hicolor/scalable/apps/"
RENAME
"linphone.svg"
)
install
(
DIRECTORY
"
${
ASSETS_DIR
}
/icons/hicolor"
DESTINATION
"
${
CMAKE_INSTALL_DATADIR
}
/icons"
)
# ------------------------------------------------------------------------------
# Install rc files.
...
...
assets/icons/genicons.sh
0 → 100755
View file @
9b46bc5c
#!/usr/bin/bash
for
i
in
16 22 24 32 64 128
do
mkdir
-p
hicolor/
${
i
}
x
${
i
}
/apps
inkscape
-z
-e
hicolor/
${
i
}
x
${
i
}
/apps/linphone.png
-w
$i
-h
$i
../images/linphone_logo.svg
done
assets/icons/hicolor/128x128/apps/linphone.png
0 → 100644
View file @
9b46bc5c
4.05 KB
assets/icons/hicolor/16x16/apps/linphone.png
0 → 100644
View file @
9b46bc5c
506 Bytes
assets/icons/hicolor/22x22/apps/linphone.png
0 → 100644
View file @
9b46bc5c
643 Bytes
assets/icons/hicolor/24x24/apps/linphone.png
0 → 100644
View file @
9b46bc5c
713 Bytes
assets/icons/hicolor/32x32/apps/linphone.png
0 → 100644
View file @
9b46bc5c
1019 Bytes
assets/icons/hicolor/64x64/apps/linphone.png
0 → 100644
View file @
9b46bc5c
2.01 KB
build/rpm/linphone.spec.cmake
View file @
9b46bc5c
...
...
@@ -59,12 +59,18 @@ rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
xdg-icon-resource install --novendor --mode system --theme hicolor --context apps --size scalable %{_datarootdir}/icons/hicolor/scalable/apps/linphone.svg linphone;
for i in 16 22 24 32 64 128
do
xdg-icon-resource install --novendor --mode system --theme hicolor --context apps --size $i %{_datarootdir}/icons/hicolor/
${
i
}
x
${
i
}
/apps/linphone.png linphone
done
xdg-desktop-menu install --novendor --mode system %{_datarootdir}/applications/linphone.desktop
%postun
xdg-desktop-menu uninstall --mode system --theme hicolor --context apps --size scalable linphone.desktop
xdg-icon-resource uninstall --mode system linphone
xdg-desktop-menu uninstall --mode system linphone.desktop
for i in 16 22 24 32 64 128
do
xdg-icon-resource uninstall --mode system --theme hicolor --context apps --size $i linphone
done
/sbin/ldconfig
%files
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment