tentative pour tilix, tout ne semble pas encore fonctionnel, mais l'application se lance...
This commit is contained in:
49
tilix/Dockerfile_centos7_tilix
Normal file
49
tilix/Dockerfile_centos7_tilix
Normal file
@@ -0,0 +1,49 @@
|
||||
# Eh beh, une sacrée tannée à compiler ce logiciel...
|
||||
# voir le README de GtkD pour avoir tous les bons numéros de version des libs
|
||||
FROM cos7_base
|
||||
|
||||
ARG TILIX_VER=1.9.4
|
||||
|
||||
# patch pour corriger la longueur des onglets (en mode "onglets" donc), cf https://github.com/gnunn1/tilix/issues/1691
|
||||
ARG PATCH=0001-Set-hhomogeneous-parameter-for-title-stack.patch
|
||||
COPY $PATCH $PATCH
|
||||
|
||||
RUN yum install -y meson libffi-devel curl-devel libxml2-devel libyaml-devel lmdb-devel gobject-introspection-devel libstemmer-devel gperf libxslt gtk-doc openssl-devel vala intltool glibc-devel libmount-devel libsecret-devel desktop-file-utils ldc po4a gtk3-devel gettext-devel meson xdg-utils gdk-pixbuf2-devel librsvg2-devel vte291-devel libunwind-devel && \
|
||||
curl -fsS https://dlang.org/install.sh | bash -s ldc && source ~/dlang/ldc-1.26.0/activate && ln -s /usr/bin/cmake3 /usr/bin/cmake
|
||||
|
||||
# vte
|
||||
RUN git clone https://github.com/GNOME/vte.git && cd vte && \
|
||||
export LD_LIBRARY_PATH="/lib64" && git checkout 0.52.4 && \
|
||||
./autogen.sh && make && make install && cd / && rm -rf /vte
|
||||
|
||||
# Glib
|
||||
RUN git clone https://github.com/GNOME/glib.git && cd glib && \
|
||||
git checkout 2.56.0 && meson _build && \
|
||||
export LC_CTYPE=en_US.UTF-8 && \
|
||||
ninja -C _build && ninja -C _build install && cd / && rm -rf /glib
|
||||
|
||||
# curl
|
||||
RUN git clone https://github.com/curl/curl.git && cd curl && \
|
||||
autoreconf -fi && ./configure --with-openssl && make && make install && cd / && rm -rf /curl
|
||||
|
||||
# Appstreamcli
|
||||
RUN export PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig/:/usr/local/lib/pkgconfig/ && \
|
||||
git clone https://github.com/ximion/appstream.git && \
|
||||
cd appstream && git checkout v0.12.9 && \
|
||||
meson _build && ninja -C _build && ninja -C _build install && \
|
||||
export LD_LIBRARY_PATH=/usr/local/lib64/:$LD_LIBRARY_PATH && cd / && rm -rf appstream
|
||||
|
||||
# GtkD
|
||||
RUN git clone https://github.com/gtkd-developers/GtkD.git && cd GtkD && \
|
||||
source ~/dlang/ldc-1.26.0/activate && \
|
||||
git checkout v3.8.5 && make -i -j20 && make -j20 install && cd / && rm -rf GtkD
|
||||
|
||||
# tilix, enfin !!!
|
||||
RUN source ~/dlang/ldc-1.26.0/activate && export LD_LIBRARY_PATH=/usr/local/lib64/:$LD_LIBRARY_PATH && \
|
||||
git clone https://github.com/gnunn1/tilix.git && \
|
||||
cd tilix && git apply /$PATCH && \
|
||||
export PKG_CONFIG_PATH=/usr/local/share/pkgconfig:$PKG_CONFIG_PATH && \
|
||||
meson _build --buildtype=release --prefix=/usr && ninja -C _build && ninja -C _build install
|
||||
|
||||
# Exécuter une commande au démarrage de l'image.
|
||||
CMD ["/bin/bash"]
|
Reference in New Issue
Block a user