Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sébastien Peillet
otb
Commits
41fd122f
Commit
41fd122f
authored
8 years ago
by
Rashad Kanavath
Browse files
Options
Downloads
Patches
Plain Diff
BUG: Monteverdi: install icons and desktop file with MonteverdiGui module
parent
5c73905c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Modules/Visualization/MonteverdiGui/CMakeLists.txt
+40
-0
40 additions, 0 deletions
Modules/Visualization/MonteverdiGui/CMakeLists.txt
Utilities/Data/CMakeLists.txt
+0
-43
0 additions, 43 deletions
Utilities/Data/CMakeLists.txt
with
40 additions
and
43 deletions
Modules/Visualization/MonteverdiGui/CMakeLists.txt
+
40
−
0
View file @
41fd122f
...
@@ -7,4 +7,44 @@ set( OTBMonteverdiGUI_INCLUDE_DIRS
...
@@ -7,4 +7,44 @@ set( OTBMonteverdiGUI_INCLUDE_DIRS
${
OTBMonteverdiGUI_BINARY_DIR
}
/src
${
OTBMonteverdiGUI_BINARY_DIR
}
/src
)
)
set
(
OTBMonteverdiGUI_DATA_DIR
"
${
CMAKE_SOURCE_DIR
}
/Utilities/Data"
)
if
(
UNIX AND NOT APPLE
)
# -------------------------
# Install icons
# following freedesktop recommandations
# http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html
# The different icon sizes installed
# According to the specs, the 48x48 icon is mandatory, others are optional
set
(
icon_sizes 16 32 48 128
)
foreach
(
icon_size
${
icon_sizes
}
)
install
(
FILES
${
OTBMonteverdiGUI_DATA_DIR
}
/Icons/monteverdi-
${
icon_size
}
x
${
icon_size
}
.png
DESTINATION share/icons/hicolor/
${
icon_size
}
x
${
icon_size
}
/apps
RENAME monteverdi.png
)
endforeach
()
# Fallback on "/usr/share/pixmaps"
# See http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html#directory_layout
install
(
FILES
${
OTBMonteverdiGUI_DATA_DIR
}
/Icons/monteverdi-32x32.png
DESTINATION share/pixmaps
RENAME monteverdi.png
)
install
(
FILES
${
OTBMonteverdiGUI_DATA_DIR
}
/Icons/monteverdi-splash.png
DESTINATION share/pixmaps
RENAME monteverdi-splash.png
)
install
(
FILES
${
OTBMonteverdiGUI_DATA_DIR
}
/Icons/monteverdi-32x32.xpm
DESTINATION share/pixmaps
RENAME monteverdi.xpm
)
# -------------------------
# Install freedesktop entry
install
(
FILES
${
OTBMonteverdiGUI_DATA_DIR
}
/monteverdi.desktop
DESTINATION share/applications
)
endif
()
otb_module_impl
()
otb_module_impl
()
This diff is collapsed.
Click to expand it.
Utilities/Data/CMakeLists.txt
deleted
100644 → 0
+
0
−
43
View file @
5c73905c
if
(
UNIX AND NOT APPLE
)
# -------------------------
# Install icons
# following freedesktop recommandations
# http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html
# The different icon sizes installed
# According to the specs, the 48x48 icon is mandatory, others are optional
set
(
icon_sizes 16 32 48 128
)
foreach
(
icon_size
${
icon_sizes
}
)
install
(
FILES Icons/monteverdi-
${
icon_size
}
x
${
icon_size
}
.png
DESTINATION share/icons/hicolor/
${
icon_size
}
x
${
icon_size
}
/apps
RENAME monteverdi.png
COMPONENT Resources
)
endforeach
()
# Fallback on "/usr/share/pixmaps"
# See http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html#directory_layout
install
(
FILES Icons/monteverdi-32x32.png
DESTINATION share/pixmaps
RENAME monteverdi.png
COMPONENT Resources
)
install
(
FILES Icons/monteverdi-splash.png
DESTINATION share/pixmaps
RENAME monteverdi-splash.png
COMPONENT Resources
)
install
(
FILES Icons/monteverdi-32x32.xpm
DESTINATION share/pixmaps
RENAME monteverdi.xpm
COMPONENT Resources
)
# -------------------------
# Install freedesktop entry
install
(
FILES monteverdi.desktop
DESTINATION share/applications
COMPONENT Resources
)
endif
()
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment