xfce4-terminal и rm -Rf

РусБИТех идёт всем нам известным путём, который протоптал ещё ВНИИНС. Описывать суть этого продвижения я не буду, — могу обидеть кого-нибудь. А мне тут понадобилось видео в H264 с нашего изделия на лету конвертировать и выводить. И я, конечно, обратился к GStreamer’у. Но эти ребятки Астру 1.4 слепили на кодовой базе аж Wheezy! А для того, чтобы работало так, как мне надо, нужен релиз из Jessie. Пришлось извращаться, накладывая патчи поверх пропатченных исходников пакетов (!!!). Как-то так, короче:

aliech@arcturus:~$ ls -1R gstreamer1.0_from_jessie/
gstreamer1.0_from_jessie/:
gstreamer-base
gstreamer-core
gstreamer-good
gstreamer-libav
libav

gstreamer1.0_from_jessie/gstreamer-base:
build_it_in_astra_1.4se.patch
gir1.2-gst-plugins-base-1.0_1.4.4-2+deb8u1_amd64.deb
gst-plugins-base1.0_1.4.4-2+deb8u1_amd64.changes
gst-plugins-base1.0_1.4.4-2+deb8u1.debian.tar.xz
gst-plugins-base1.0_1.4.4-2+deb8u1.dsc
gst-plugins-base1.0_1.4.4.orig.tar.xz
gstreamer1.0-alsa_1.4.4-2+deb8u1_amd64.deb
gstreamer1.0-plugins-base_1.4.4-2+deb8u1_amd64.deb
gstreamer1.0-plugins-base-apps_1.4.4-2+deb8u1_amd64.deb
gstreamer1.0-plugins-base-dbg_1.4.4-2+deb8u1_amd64.deb
gstreamer1.0-plugins-base-doc_1.4.4-2+deb8u1_all.deb
gstreamer1.0-x_1.4.4-2+deb8u1_amd64.deb
libgstreamer-plugins-base1.0-0_1.4.4-2+deb8u1_amd64.deb
libgstreamer-plugins-base1.0-dev_1.4.4-2+deb8u1_amd64.deb

gstreamer1.0_from_jessie/gstreamer-core:
gir1.2-gstreamer-1.0_1.4.4-2+deb8u1_amd64.deb
gstreamer1.0_1.4.4-2+deb8u1_amd64.changes
gstreamer1.0_1.4.4-2+deb8u1.debian.tar.xz
gstreamer1.0_1.4.4-2+deb8u1.dsc
gstreamer1.0_1.4.4.orig.tar.xz
gstreamer1.0-doc_1.4.4-2+deb8u1_all.deb
gstreamer1.0-tools_1.4.4-2+deb8u1_amd64.deb
libgstreamer1.0-0_1.4.4-2+deb8u1_amd64.deb
libgstreamer1.0-0-dbg_1.4.4-2+deb8u1_amd64.deb
libgstreamer1.0-dev_1.4.4-2+deb8u1_amd64.deb

gstreamer1.0_from_jessie/gstreamer-good:
build_it_in_astra_1.4se.patch
gst-plugins-good1.0_1.4.4-2+deb8u3_amd64.changes
gst-plugins-good1.0_1.4.4-2+deb8u3.debian.tar.xz
gst-plugins-good1.0_1.4.4-2+deb8u3.dsc
gst-plugins-good1.0_1.4.4.orig.tar.xz
gstreamer1.0-plugins-good_1.4.4-2+deb8u3_amd64.deb
gstreamer1.0-plugins-good-dbg_1.4.4-2+deb8u3_amd64.deb
gstreamer1.0-plugins-good-doc_1.4.4-2+deb8u3_all.deb
gstreamer1.0-pulseaudio_1.4.4-2+deb8u3_amd64.deb

gstreamer1.0_from_jessie/gstreamer-libav:
build_it_in_astra_1.4se.patch
gst-libav1.0_1.4.4-2_amd64.changes
gst-libav1.0_1.4.4-2.debian.tar.xz
gst-libav1.0_1.4.4-2.dsc
gst-libav1.0_1.4.4.orig.tar.xz
gstreamer1.0-libav_1.4.4-2_amd64.deb
gstreamer1.0-libav-dbg_1.4.4-2_amd64.deb

gstreamer1.0_from_jessie/libav:
build_it_in_astra_1.4se.patch
libav_11.11-1~deb8u1_amd64.changes
libav_11.11-1~deb8u1.debian.tar.xz
libav_11.11-1~deb8u1.dsc
libav_11.11.orig.tar.gz
libavcodec56_11.11-1~deb8u1_amd64.deb
libavcodec-dev_11.11-1~deb8u1_amd64.deb
libavcodec-extra_11.11-1~deb8u1_all.deb
libavcodec-extra-56_11.11-1~deb8u1_amd64.deb
libav-dbg_11.11-1~deb8u1_amd64.deb
libavdevice55_11.11-1~deb8u1_amd64.deb
libavdevice-dev_11.11-1~deb8u1_amd64.deb
libav-doc_11.11-1~deb8u1_all.deb
libavfilter5_11.11-1~deb8u1_amd64.deb
libavfilter-dev_11.11-1~deb8u1_amd64.deb
libavformat56_11.11-1~deb8u1_amd64.deb
libavformat-dev_11.11-1~deb8u1_amd64.deb
libavresample2_11.11-1~deb8u1_amd64.deb
libavresample-dev_11.11-1~deb8u1_amd64.deb
libav-tools_11.11-1~deb8u1_amd64.deb
libavutil54_11.11-1~deb8u1_amd64.deb
libavutil-dev_11.11-1~deb8u1_amd64.deb
libswscale3_11.11-1~deb8u1_amd64.deb
libswscale-dev_11.11-1~deb8u1_amd64.deb
aliech@arcturus:~$ cat gstreamer1.0_from_jessie/gstreamer-base/build_it_in_astra_1.4se.patch 
diff -r ../gst-plugins-base1.0-1.4.4_orig/debian/control ./debian/control
9c9
< Build-Depends: libgstreamer1.0-dev (>= 1.4.0), libasound2-dev (>= 0.9.0) [linux-any] , libgudev-1.0-dev (>= 143) [linux-any], autotools-dev, automake (>= 1.11), autoconf (>= 2.62), libtool (>= 2.2.6), dh-autoreconf, autopoint (>= 0.17), cdbs (>= 0.4.93~), debhelper (>= 9), gnome-pkg-tools (>= 0.7), gtk-doc-tools (>= 1.12), pkg-config (>= 0.11.0), libxv-dev (>= 6.8.2.dfsg.1-3), libxt-dev (>= 6.8.2.dfsg.1-3), libvorbis-dev (>= 1.0.0-2), libcdparanoia-dev (>= 3.10.2) [!hurd-i386], liborc-0.4-dev (>= 1:0.4.17), libpango1.0-dev (>= 1.16.0), libtheora-dev (>= 1.1), libglib2.0-dev (>= 2.32), zlib1g-dev (>= 1:1.1.4), libvisual-0.4-dev (>= 0.4.0), dpkg-dev (>= 1.15.1), iso-codes, libgtk-3-dev, libglib2.0-doc, gstreamer1.0-doc, libgirepository1.0-dev (>= 0.9.12-4~), gobject-introspection (>= 0.9.12-4~), gir1.2-glib-2.0, gir1.2-freedesktop, gir1.2-gstreamer-1.0, zlib1g-dev
---
> Build-Depends: libgstreamer1.0-dev (>= 1.4.0), libasound2-dev (>= 0.9.0) [linux-any] , libgudev-1.0-dev (>= 143) [linux-any], autotools-dev, automake (>= 1.11), autoconf (>= 2.62), libtool (>= 2.2.6), dh-autoreconf, autopoint (>= 0.17), cdbs (>= 0.4.93~), debhelper (>= 9), gnome-pkg-tools (>= 0.7), gtk-doc-tools (>= 1.12), pkg-config (>= 0.11.0), libxv-dev (>= 6.8.2.dfsg.1-3), libxt-dev (>= 6.8.2.dfsg.1-3), libvorbis-dev (>= 1.0.0-2), libcdparanoia-dev (>= 3.10.2) [!hurd-i386], liborc-0.4-dev (>= 1:0.4.1), libpango1.0-dev (>= 1.16.0), libtheora-dev (>= 1.1), libglib2.0-dev (>= 2.32), zlib1g-dev (>= 1:1.1.4), libvisual-0.4-dev (>= 0.4.0), dpkg-dev (>= 1.15.1), iso-codes, libgtk-3-dev, libglib2.0-doc, gstreamer1.0-doc, libgirepository1.0-dev (>= 0.9.12-4~), gobject-introspection (>= 0.9.12-4~), gir1.2-glib-2.0, gir1.2-freedesktop, gir1.2-gstreamer-1.0, zlib1g-dev
aliech@arcturus:~$ cat gstreamer1.0_from_jessie/gstreamer-good/build_it_in_astra_1.4se.patch 
diff -r ../gst-plugins-good1.0-1.4.4_orig/debian/control ./debian/control
8c8
< Build-Depends: libgstreamer1.0-dev (>= 1.4.0),  libraw1394-dev (>= 2.0.0) [linux-any] , libiec61883-dev (>= 1.0.0) [linux-any] , libavc1394-dev [linux-any] , libv4l-dev [linux-any] , libgudev-1.0-dev (>= 143) [linux-any], libgstreamer-plugins-base1.0-dev (>= 1.4.0), autotools-dev, dh-autoreconf, automake (>= 1.11), autoconf (>= 2.62), libtool (>= 2.2.6), autopoint (>= 0.17), cdbs (>= 0.4.93), debhelper (>= 9), dpkg-dev (>= 1.15.1), pkg-config (>= 0.11.0), gtk-doc-tools (>= 1.12), libglib2.0-dev (>= 2.32), liborc-0.4-dev (>= 1:0.4.17), libcairo2-dev (>= 1.10.0), libcaca-dev, libspeex-dev (>= 1.1.6), libpng-dev, libshout3-dev, libjpeg-dev, libaa1-dev (>= 1.4p5), libflac-dev (>= 1.1.4), libdv4-dev | libdv-dev, libxdamage-dev, libxext-dev, libxfixes-dev, libxv-dev, libgtk-3-dev, libtag1-dev (>= 1.5), libwavpack-dev (>= 4.20), gstreamer1.0-plugins-base (>= 1.4.0), libsoup2.4-dev (>= 2.40), libpulse-dev (>= 2.0), libbz2-dev, gstreamer1.0-doc, gstreamer1.0-plugins-base-doc, libjack-jackd2-dev, libvpx-dev (>= 1.3.0)
---
> Build-Depends: libgstreamer1.0-dev (>= 1.4.0),  libraw1394-dev (>= 2.0.0) [linux-any] , libiec61883-dev (>= 1.0.0) [linux-any] , libavc1394-dev [linux-any] , libv4l-dev [linux-any] , libgudev-1.0-dev (>= 143) [linux-any], libgstreamer-plugins-base1.0-dev (>= 1.4.0), autotools-dev, dh-autoreconf, automake (>= 1.11), autoconf (>= 2.62), libtool (>= 2.2.6), autopoint (>= 0.17), cdbs (>= 0.4.93), debhelper (>= 9), dpkg-dev (>= 1.15.1), pkg-config (>= 0.11.0), gtk-doc-tools (>= 1.12), libglib2.0-dev (>= 2.32), liborc-0.4-dev (>= 1:0.4.1), libcairo2-dev (>= 1.10.0), libcaca-dev, libspeex-dev (>= 1.1.6), libpng-dev, libshout3-dev, libjpeg-dev, libaa1-dev (>= 1.4p5), libflac-dev (>= 1.1.4), libdv4-dev | libdv-dev, libxdamage-dev, libxext-dev, libxfixes-dev, libxv-dev, libgtk-3-dev, libtag1-dev (>= 1.5), libwavpack-dev (>= 4.20), gstreamer1.0-plugins-base (>= 1.4.0), libpulse-dev (>= 2.0), libbz2-dev, gstreamer1.0-doc, gstreamer1.0-plugins-base-doc, libjack-jackd2-dev
diff -r ../gst-plugins-good1.0-1.4.4_orig/debian/gstreamer-plugins-good.install ./debian/gstreamer-plugins-good.install
52d51
< debian/tmp/usr/lib/*/gstreamer-@GST_ABI@/libgstsouphttpsrc.so
62d60
< debian/tmp/usr/lib/*/gstreamer-@GST_ABI@/libgstvpx.so
aliech@arcturus:~$ cat gstreamer1.0_from_jessie/gstreamer-libav/build_it_in_astra_1.4se.patch 
diff -r ../gst-libav1.0-1.4.4_orig/debian/control ./debian/control
23c23
<                liborc-0.4-dev (>= 1:0.4.16),
---
>                liborc-0.4-dev (>= 1:0.4.1),
aliech@arcturus:~$ cat gstreamer1.0_from_jessie/libav/build_it_in_astra_1.4se.patch 
diff -r ../libav-11.11_orig/debian/control ./debian/control
28c28
<  libgnutls28-dev,
---
>  libssl-dev,
aliech@arcturus:~$ 

Патчи можно накатить на пакеты исходников из состава Debian Jessie. Конечно исходники и прямые ссылки не прикрепляю, так как их версии в репозитории обновится могут. Сами справитесь с поиском…

Добавить комментарий

Ваш e-mail не будет опубликован. Обязательные поля помечены *

× 2 = 8