You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by fg...@apache.org on 2022/03/08 13:54:15 UTC

[nifi-minifi-cpp] 05/05: MINIFICPP-1767 Remove snap support from repository

This is an automated email from the ASF dual-hosted git repository.

fgerlits pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git

commit 38d1fbd519ae91c7d08c4543c5491c9457091457
Author: Gabor Gyimesi <ga...@gmail.com>
AuthorDate: Fri Mar 4 09:52:51 2022 +0100

    MINIFICPP-1767 Remove snap support from repository
    
    Signed-off-by: Ferenc Gerlits <fg...@gmail.com>
    
    This closes #1275
---
 README.md           | 11 -----------
 snap/snapcraft.yaml | 52 ----------------------------------------------------
 2 files changed, 63 deletions(-)

diff --git a/README.md b/README.md
index 0ba23a7..242c64c 100644
--- a/README.md
+++ b/README.md
@@ -27,7 +27,6 @@ MiNiFi is a child project effort of Apache NiFi.  This repository is for a nativ
   - [System Requirements](#system-requirements)
   - [Bootstrapping](#bootstrapping)
   - [Building For Other Distros](#building-for-other-distros)
-  - [Snapcraft](#snapcraft)
   - [Installation](#installation)
   - [Configuring](#configuring)
   - [Running](#running)
@@ -478,16 +477,6 @@ provides the command to build your distro and the output file in your build dire
 
 You can avoid the requirement of an up-to-date compiler when generating the build system by adding `-DDOCKER_BUILD_ONLY=ON` to the cmake command line. This disables all cmake targets except the docker build and test ones.
 
-### Snapcraft
-
-Snapcraft builds are supported. As per Snapcraft's official recommendations, we recommend using Ubuntu 16.04 as a build system when building the Snap. To build the snap, run
-
-```
-$ snapcraft
-```
-
-from the project directory. Further instructions are available in the [Snapcraft documentation](https://docs.snapcraft.io/build-snaps/).
-
 ### Installation
 After [building](#building) MiNiFi C++, extract the generated binary package 'nifi-minifi-cpp-$VERSION.tar.gz' at your desired installation path.
 ```shell
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
deleted file mode 100644
index aeba684..0000000
--- a/snap/snapcraft.yaml
+++ /dev/null
@@ -1,52 +0,0 @@
-name: minifi-cpp
-version: '0.5.0'
-summary: Apache NiFi MiNiFi Cpp
-description: Collecting on the edge
-
-grade: devel
-confinement: devmode
-
-parts:
-    minifi-cpp:
-        source: https://github.com/apache/nifi-minifi-cpp.git
-        source-type: git
-        source-tag: rel/minifi-cpp-0.5.0
-        plugin: cmake
-        configflags:
-            - -DCMAKE_INSTALL_PREFIX=/opt/minifi
-            - -DENABLE_GPS=TRUE
-            - -DENABLE_LIBRDKAFKA=TRUE
-            - -DENABLE_MQTT=TRUE
-            - -DENABLE_BUSTACHE=TRUE
-            - -DPORTABLE=ON
-            - -DBUILD_ROCKSDB=ON
-            - -DCMAKE_CXX_FLAGS='-W'
-        build-packages:
-            - make
-            - cmake
-            - build-essential
-        stage-packages:
-            - build-essential
-            - liblzma5
-            - libc6
-            - libusb-1.0-0
-            - libcurl4-openssl-dev
-            - libgps-dev
-            - libheimbase1-heimdal
-            - libheimntlm0-heimdal
-            - libhx509-5-heimdal
-            - libidn2-0
-            - libkrb5-3
-            - libldap-2.4-2
-            - libnghttp2-14
-            - libpython3.5-dev
-            - libroken18-heimdal
-            - librtmp1
-            - libsasl2-2
-            - libssl1.0.0
-            - libwind0-heimdal
-            - zlib1g
-
-apps:
-    minifi-cpp:
-        command: opt/minifi/bin/minifi