Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/how-to/code/integrations/example-gtk2-recipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ license: GPL-2.0
icon: snap/gui/arduino.png
grade: stable

base: core18
base: core22
confinement: strict

architectures:
Expand Down
2 changes: 1 addition & 1 deletion docs/how-to/code/integrations/example-moos-recipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: |
This example includes MOOSDB, the main communication mechanism for all MOOS
apps.

base: core18
base: core22
confinement: devmode

parts:
Expand Down
2 changes: 1 addition & 1 deletion docs/how-to/code/integrations/example-pre-built-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ description: |
How will it perform when push comes to crunch?
These are the questions that Geekbench can answer.
confinement: devmode
base: core18
base: core22

parts:
test-geekbench4:
Expand Down
6 changes: 3 additions & 3 deletions docs/how-to/code/integrations/example-qt5-kde-recipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ grade: stable
adopt-info: kcalc

confinement: strict
base: core18
base: core22

apps:
kcalc:
Expand Down Expand Up @@ -34,8 +34,8 @@ parts:
parse-info:
- usr/share/metainfo/org.kde.kcalc.appdata.xml
build-snaps:
- kde-frameworks-5-core18-sdk
- kde-frameworks-5-core18
- kde-frameworks-5-core22-sdk
- kde-frameworks-5-core22
build-packages:
- libmpfr-dev
- libgmp-dev
Expand Down
2 changes: 1 addition & 1 deletion docs/how-to/code/integrations/example-rust-recipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: |
xsv is a command line program for indexing, slicing, analyzing,
splitting and joining CSV files. Commands should be simple, fast and
composable.
base: core18
base: core22
confinement: devmode

parts:
Expand Down
9 changes: 0 additions & 9 deletions docs/how-to/crafting/specify-a-base.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,6 @@ major releases support a particular base.

The :ref:`reference-support-schedule` details the support timeline of each base.

``core18``
^^^^^^^^^^

To build ``core18`` snaps, install snapcraft 7 from the *7.x* track:

.. code-block:: bash

snap install snapcraft --channel 7.x

``core``
^^^^^^^^

Expand Down
20 changes: 9 additions & 11 deletions docs/how-to/extensions/list-extensions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,15 @@ differentiating them.

Extension name Supported bases
---------------------- ------------------------------
env-injector core24
flutter-beta core18
flutter-dev core18
flutter-master core18
flutter-stable core18
gnome core22, core24
gnome-3-28 core18
gnome-3-34 core18
gnome-3-38 core20
gpu core22, core24, core26
kde-neon core18, core20, core22, core24
dotnet10 core24
dotnet8 core24
dotnet9 core24
env-injector core24
gnome core22, core24
gpu core22, core24, core26
kde-neon core22, core24
kde-neon-6 core22, core24
kde-neon-qt6 core22, core24
[...]

.. vale on
Expand Down
2 changes: 0 additions & 2 deletions docs/how-to/integrations/craft-a-rust-app.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,3 @@ To declare a Rust part:
#. Declare the general part keys, such as ``source``, ``override-build``,
``build-packages``, and so on.
#. Set ``plugin: rust``.
#. If the snap uses core18, you can override the Rust toolchain version with
the ``rust-revision`` list key.
32 changes: 1 addition & 31 deletions docs/how-to/integrations/craft-an-ros-1-app.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This how-to guide covers the steps, decisions, and implementation details that a
unique when crafting a `ROS 1 <https://wiki.ros.org/noetic>`_-based snap. We'll work
through the aspects unique to ROS 1 apps by examining an existing project.

There are two supported bases for ROS 1 -- core20 and core18.
There are two supported bases for ROS 1 -- core20.

.. tip::

Expand All @@ -28,36 +28,6 @@ Example project file for ROS Talker/Listener

.. tab-set::

.. tab-item:: core18

The following code comprises the project file for the `core18 version of ROS
Talker/Listener <https://github.com/snapcraft-docs/ros-talker-listener>`_.

.. dropdown:: Code

.. code-block:: yaml
:caption: snapcraft.yaml

name: ros-talker-listener
version: '0.1'
summary: ROS Talker/Listener Example
description: |
This example launches a ROS talker and listener.

confinement: devmode
base: core18

parts:
ros-tutorials:
plugin: catkin
source: https://github.com/ros/ros_tutorials.git
source-branch: melodic-devel
source-space: roscpp_tutorials/

apps:
ros-talker-listener:
command: roslaunch roscpp_tutorials talker_listener.launch

.. tab-item:: core20

The following code comprises the project file for the `core20 version of ROS
Expand Down
45 changes: 2 additions & 43 deletions docs/how-to/integrations/craft-an-ros-2-app.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ unique when crafting a `ROS 2 <https://docs.ros.org/en/rolling/index.html>`__-ba
snap. We'll work through the aspects unique to ROS 2 apps by examining an existing
project.

There are four supported bases for ROS 2 -- core24, core22, core20, and core18.
There are four supported bases for ROS 2 -- core24, core22 and core20.


.. _how-to-craft-an-ros-2-app-project-files:
Expand All @@ -18,38 +18,6 @@ Example project file for ROS 2 Talker/Listener

.. tab-set::

.. tab-item:: core18

The following code comprises the project file for the `core18 version of ROS 2
Talker/Listener <https://github.com/snapcraft-docs/ros2-talker-listener>`_.

.. dropdown:: Code

.. code-block:: yaml
:caption: snapcraft.yaml

name: ros2-talker-listener
version: '0.1'
summary: ROS 2 Talker/Listener Example
description: |
This example launches a ROS 2 talker and listener.

base: core18
confinement: devmode

parts:
ros-demos:
plugin: colcon
source: https://github.com/ros2/demos.git
source-branch: dashing
colcon-rosdistro: dashing
colcon-source-space: demo_nodes_cpp
stage-packages: [ros-dashing-ros2launch]

apps:
ros2-talker-listener:
command: opt/ros/dashing/bin/ros2 launch demo_nodes_cpp talker_listener.launch.py

.. tab-item:: core20
:sync: core20

Expand Down Expand Up @@ -166,8 +134,6 @@ To add an ROS 2 app:

* - Core
- Extension
* - core18
- None
* - core20
- :ref:`ros2-foxy <reference-ros-2-extensions>`
* - core22
Expand All @@ -185,11 +151,6 @@ To add an ROS 2 part:

#. Declare the general part keys, such as ``source``, ``override-build``,
``build-packages``, and so on.
#. If you're crafting for core18, set the following special keys:

- Set ``colcon-rosdistro`` to select the ROS distribution.
- Set ``colcon-source-space`` to the path in the source tree where colcon packages
are stored.

#. For ``stage-packages``, list the ROS launch command as a dependency, based
on the core:
Expand All @@ -199,8 +160,6 @@ To add an ROS 2 part:

* - Core
- Extension
* - core18
- ros-dashing-ros2launch
* - core20
- ros-foxy-ros2launch
* - core22
Expand All @@ -215,7 +174,7 @@ Handle build issues
The following errors can occur while building for ROS 2.


core18 and core20
core20
~~~~~~~~~~~~~~~~~

The warnings regarding missing libraries that you might see when building your snap are
Expand Down
4 changes: 0 additions & 4 deletions docs/reference/bases.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ There are six supported base snaps:
* - `core20`_
- built from `Ubuntu 20.04 LTS`_
- 8.x
* - `core18`_
- built from `Ubuntu 18.04 ESM`_
- 7.x
* - `core`_
- built from `Ubuntu 16.04 ESM`_, not to be confused with core16 (see
below)
Expand Down Expand Up @@ -117,7 +114,6 @@ use ``build-base`` for kernel snaps.
.. _`Ubuntu 24.04 LTS`: https://releases.ubuntu.com/24.04/
.. _`Ubuntu 26.04 LTS`: https://releases.ubuntu.com/26.04/
.. _`bare`: https://snapcraft.io/bare
.. _`core18`: https://snapcraft.io/core18
.. _`core20`: https://snapcraft.io/core20
.. _`core22`: https://snapcraft.io/core22
.. _`core24`: https://snapcraft.io/core24
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
description: |
An example showing how Flutter programs can be packaged as snaps.

base: core18
base: core22
confinement: strict
grade: stable

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
adopt-info: kcalc

confinement: strict
base: core18
base: core22

apps:
kcalc:
Expand Down Expand Up @@ -41,8 +41,8 @@
parse-info:
- usr/share/metainfo/org.kde.kcalc.appdata.xml
build-snaps:
- kde-frameworks-5-core18-sdk
- kde-frameworks-5-core18
- kde-frameworks-5-core22-sdk
- kde-frameworks-5-core22
build-packages:
- libmpfr-dev
- libgmp-dev
Expand All @@ -67,9 +67,9 @@
+ build-packages:
+ - g++
+ build-snaps:
+ - kde-frameworks-5-core18-sdk/latest/stable
+ - kde-frameworks-5-core22-sdk/latest/stable
+ make-parameters:
+ - PLATFORM_PLUG=kde-frameworks-5-core18
+ - PLATFORM_PLUG=kde-frameworks-5-core22
+ plugin: make
+ source: $SNAPCRAFT_EXTENSIONS_DIR/desktop
+ source-subdir: kde-neon
Expand All @@ -83,9 +83,9 @@
+ default-provider: gtk-common-themes
+ interface: content
+ target: $SNAP/data-dir/icons
+ kde-frameworks-5-core18:
+ content: kde-frameworks-5-core18-all
+ default-provider: kde-frameworks-5-core18
+ kde-frameworks-5-core22:
+ content: kde-frameworks-5-core22-all
+ default-provider: kde-frameworks-5-core22
+ interface: content
+ target: $SNAP/kf5
+ sound-themes:
Expand Down
4 changes: 1 addition & 3 deletions docs/reference/extensions/flutter-extension.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ the `Flutter <https://flutter.dev>`__ framework.

.. SNAPCRAFT-1123: Missing link to Flutter plugin.

The Flutter extensions require Snapcraft 7 and lower and are currently only supported
with the core18 base. Snaps using cores higher than core18 should instead use the
Flutter plugin with the :ref:`reference-gnome-extension`.
Snaps should use the Flutter plugin with the :ref:`reference-gnome-extension`.

There are four extensions in the family. Each tracks a different `Flutter build release
channel
Expand Down