[grpc/debian] Disable grpc packages in debian distro
authorDongju Chae <dongju.chae@samsung.com>
Fri, 12 Mar 2021 03:54:31 +0000 (12:54 +0900)
committerjaeyun-jung <39614140+jaeyun-jung@users.noreply.github.com>
Mon, 29 Mar 2021 05:08:11 +0000 (14:08 +0900)
This patch disables grpc packages in debian distro.
For now, gRPC is only supported in Tizen env.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
debian/control
debian/nnstreamer-grpc-flatbuf.install [deleted file]
debian/nnstreamer-grpc-protobuf.install [deleted file]
debian/rules

index 1000eb9..61d4202 100644 (file)
@@ -11,7 +11,6 @@ Build-Depends: gcc-9 | gcc-8 | gcc-7 | gcc-6 | gcc-5 (>=5.4),
  tensorflow-lite-dev, pytorch, libedgetpu1-std (>=12), libedgetpu-dev (>=12),
  openvino-dev, openvino-cpu-mkldnn [amd64], libflatbuffers-dev, flatbuffers-compiler,
  protobuf-compiler (>=3.12), libprotobuf-dev [amd64 arm64 armhf],
- protobuf-compiler-grpc [amd64], libgrpc-dev [amd64], libgrpc++-dev [amd64],
  tensorflow-dev [amd64], python2.7-dev
 Standards-Version: 3.9.6
 Homepage: https://github.com/nnstreamer/nnstreamer
@@ -104,28 +103,6 @@ Depends: nnstreamer, ${shlibs:Depends}, ${misc:Depends}
 Description: NNStreamer Flatbuf converter/decoder support
  This package allows to pack/unpack tensor streams to/from flatbuf.
 
-Package: nnstreamer-grpc
-Architecture: amd64
-Multi-Arch: same
-Depends: nnstreamer, ${shlibs:Depends}, ${misc:Depends}
-Recommends: nnstreamer-grpc-protobuf, nnstreamer-grpc-flatbuf
-Description: NNStreamer gRPC tensor source/sink support
- This package allows nnstreamer to support gRPC tensor source/sink as a extra plugin
-
-Package: nnstreamer-grpc-protobuf
-Architecture: amd64
-Multi-Arch: same
-Depends: nnstreamer, nnstreamer-grpc, nnstreamer-protobuf, ${shlibs:Depends}, ${misc:Depends}
-Description: NNStreamer gRPC IDL support for protobuf
- This package allows nnstreamer-grpc to use protobuf as its IDL
-
-Package: nnstreamer-grpc-flatbuf
-Architecture: amd64
-Multi-Arch: same
-Depends: nnstreamer, nnstreamer-grpc, nnstreamer-flatbuf, ${shlibs:Depends}, ${misc:Depends}
-Description: NNStreamer gRPC IDL support for flatbuf
- This package allows nnstreamer-grpc to use flatbuf as its IDL
-
 Package: nnstreamer-dev
 Architecture: any
 Multi-Arch: same
diff --git a/debian/nnstreamer-grpc-flatbuf.install b/debian/nnstreamer-grpc-flatbuf.install
deleted file mode 100644 (file)
index 481670a..0000000
+++ /dev/null
@@ -1 +0,0 @@
-/usr/lib/*/libnnstreamer_grpc_flatbuf.so
diff --git a/debian/nnstreamer-grpc-protobuf.install b/debian/nnstreamer-grpc-protobuf.install
deleted file mode 100644 (file)
index 074460a..0000000
+++ /dev/null
@@ -1 +0,0 @@
-/usr/lib/*/libnnstreamer_grpc_protobuf.so
index 2cf0f07..ccc8c86 100755 (executable)
@@ -35,7 +35,7 @@ override_dh_auto_clean:
 override_dh_auto_configure:
        mkdir -p ${BUILDDIR}
        meson --buildtype=plain --prefix=/usr --sysconfdir=/etc --libdir=lib/$(DEB_HOST_MULTIARCH) --bindir=lib/nnstreamer/bin --includedir=include \
-       -Denable-edgetpu=true -Denable-openvino=true \
+       -Denable-edgetpu=true -Denable-openvino=true -Dgrpc-support=disabled  \
        -Denable-tizen=false -Denable-test=true -Dinstall-test=true ${BUILDDIR}
 
 override_dh_auto_build: