debian: remove tensorflow1 from PPA
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Thu, 24 Nov 2022 09:34:00 +0000 (18:34 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Fri, 25 Nov 2022 06:14:24 +0000 (15:14 +0900)
Let's not build obsolete tensorflow1.x subplugins
and remove them from official PPA build.

Fixes #3969

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
debian/control
debian/nnstreamer-tensorflow-lite.install [deleted file]
debian/nnstreamer-tensorflow.install [deleted file]
debian/rules

index 58acfb6..f180fcd 100644 (file)
@@ -11,8 +11,7 @@ Build-Depends: gcc-9 | gcc-8 | gcc-7 | gcc-6 | gcc-5 (>=5.4),
  libflatbuffers-dev, flatbuffers-compiler,
  protobuf-compiler (>=3.12), libprotobuf-dev [amd64 arm64 armhf],
  libpaho-mqtt-dev,
- tensorflow2-lite-dev, tensorflow-lite-dev | gcc,
- tensorflow-dev [amd64] | gcc,
+ tensorflow2-lite-dev,
  pytorch, libedgetpu1-std (>=12), libedgetpu-dev (>=12),
  openvino-dev, openvino-cpu-mkldnn [amd64],
  nnfw-dev [amd64] | gcc,
@@ -51,20 +50,6 @@ Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: NNStreamer Single-shot
  Element to use general neural network framework directly without gstreamer pipeline.
 
-Package: nnstreamer-tensorflow
-Architecture: amd64
-Multi-Arch: same
-Depends: nnstreamer, tensorflow | tensorflow-dev, ${shlibs:Depends}, ${misc:Depends}
-Description: NNStreamer TensorFlow 1.x Support
- This package allows nnstreamer to support tensorflow. Note that users must make sure that they have installed Tensorflow with compatible C-API (recommended to use the same version). However, having different options (e.g., GPU mode) should not affect the compatibility. When we have stable C-API from Tensorflow, we will release corresponding subplugin as well.
-
-Package: nnstreamer-tensorflow-lite
-Architecture: any
-Multi-Arch: same
-Depends: nnstreamer, ${shlibs:Depends}, ${misc:Depends}
-Description: NNStreamer TensorFlow Lite 1.x Support
- This package allows nnstreamer to support tensorflow-lite.
-
 Package: nnstreamer-tensorflow2-lite
 Architecture: any
 Multi-Arch: same
diff --git a/debian/nnstreamer-tensorflow-lite.install b/debian/nnstreamer-tensorflow-lite.install
deleted file mode 100644 (file)
index 6ff8a0e..0000000
+++ /dev/null
@@ -1 +0,0 @@
-/usr/lib/nnstreamer/filters/libnnstreamer_filter_tensorflow1-lite.so
diff --git a/debian/nnstreamer-tensorflow.install b/debian/nnstreamer-tensorflow.install
deleted file mode 100644 (file)
index c38deb5..0000000
+++ /dev/null
@@ -1 +0,0 @@
-/usr/lib/nnstreamer/filters/libnnstreamer_filter_tensorflow.so
index a88cfd6..33c6d3a 100755 (executable)
@@ -56,8 +56,6 @@ override_dh_auto_build:
        ninja -C ${BUILDDIR}
        # A few modules are not avaiable in Ubuntu 22.04. Don't try to create them if not available.
        if [ -f './build/ext/nnstreamer/tensor_filter/libnnstreamer_filter_nnfw.so' ]; then echo "NNFW exists" ; else rm debian/nnstreamer-nnfw.install; fi
-       if [ -f './build/ext/nnstreamer/tensor_filter/libnnstreamer_filter_tensorflow.so' ]; then echo "Tensorflow exists" ; else rm debian/nnstreamer-tensorflow.install; fi
-       if [ -f './build/ext/nnstreamer/tensor_filter/libnnstreamer_filter_tensorflow1-lite.so' ]; then echo "Tensorflow1-lite exists" ; else rm debian/nnstreamer-tensorflow-lite.install; fi
 
 override_dh_auto_test:
        ./packaging/run_unittests_binaries.sh ./tests