6 Commits
Author SHA1 Message Date
Iva HornandClaude Opus 4.7 db9cd67e4b feat(macOS): fall back to SVG + ECM pipeline for branded builds
The Icon Composer (.icon) flow introduced in 2517359d05 became the only
macOS app-icon path for every build, including branded customer builds
where shipping an Icon Composer bundle alongside their themed SVGs isn't
practical.

Gate the Icon Composer pipeline on `APPLICATION_NAME == "Nextcloud"` or
`NEXTCLOUD_DEV` (matching the spirit of the pre-2517359d05 check in
NEXTCLOUD.cmake) and restore the historical Inkscape + ECM rasterisation
path for any other APPLICATION_NAME. Both paths produce a usable bundle
icon:

* Default (Nextcloud / NextcloudDev): compile theme/colored/AppIcon.icon
  via `actool` and reference it via `CFBundleIconFile = AppIcon`
  + `CFBundleIconName = AppIcon`.
* Branded: rasterise `${theme_dir}/colored/${APPLICATION_ICON_NAME}-icon.svg`
  with Inkscape/rsvg-convert and bundle the result via
  `ecm_add_app_icon` to `${APPLICATION_ICON_NAME}.icns`. The Info.plist
  drops `CFBundleIconName` for this path.

The Finder sidebar icon mechanism is intentionally not reinstated — even
when ECM ran with `SIDEBAR_ICONS` previously, Finder didn't render the
template variants for arbitrary favorited folders, so neither path
bundles a sidebar variant now.

`MacOSXBundleInfo.plist.in` switches to `@MACOSX_BUNDLE_ICON_FILE@` plus a
`@MACOSX_BUNDLE_ICON_NAME_BLOCK@` placeholder so a single template serves
both pipelines. `NextcloudCPack.cmake` and
`shell_integration/MacOSX/CMakeLists.txt` follow the same gate to point
at the right `.icns`.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Signed-off-by: Iva Horn <[email protected]>
2026-06-09 16:52:05 +02:00
Iva HornandClaude Opus 4.7 2517359d05 feat(macOS): Use .icon format for macOS app bundle
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Signed-off-by: Iva Horn <[email protected]>
2026-06-09 09:24:09 +02:00
Andy Scherzinger 7655efa230 docs(reuse): Migrate to SPDX header
Signed-off-by: Andy Scherzinger <[email protected]>
2025-05-06 09:49:30 +02:00
Felix Weilbach e7c65a71b8 Remove conditional logic for OEM.cmake
This file is not used in Brander and in the desktop client and just
confused people.

Signed-off-by: Felix Weilbach <[email protected]>
2021-06-14 10:14:28 +00:00
Oskar Kruschitz 2bfb99f174 Mac Application Icon
Replaced ownCloud.icns with APPLICATION_ICON_NAME variable
2018-09-05 11:57:26 +02:00
Roeland Jago Douma 6b3006b325 OwnCloudCPack.cmake to NextcloudCPack.cmake
Signed-off-by: Roeland Jago Douma <[email protected]>
2017-11-20 14:12:52 +01:00