summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2022-05-12 16:04:56 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2022-05-15 09:23:34 +0200
commite858b3aaf2f449a46c3cbaaa7423289bba9635e3 (patch)
tree684dc141c6ca988616325b6ac219ec410a9ea262
parent54bd4f2bec4944f18827f1557b18ff316dea153e (diff)
downloadtde-packaging-e858b3aaf2f449a46c3cbaaa7423289bba9635e3.tar.gz
tde-packaging-e858b3aaf2f449a46c3cbaaa7423289bba9635e3.zip
RPM: update docker/osstw
Signed-off-by: François Andriot <albator78@libertysurf.fr>
-rw-r--r--redhat/docker/osstw/Dockerfile.i68614
-rw-r--r--redhat/docker/osstw/packages16
2 files changed, 24 insertions, 6 deletions
diff --git a/redhat/docker/osstw/Dockerfile.i686 b/redhat/docker/osstw/Dockerfile.i686
index 384e805c2..bb8a72e4d 100644
--- a/redhat/docker/osstw/Dockerfile.i686
+++ b/redhat/docker/osstw/Dockerfile.i686
@@ -10,12 +10,15 @@ RUN zypper ar -f -G -n packman http://ftp.gwdg.de/pub/linux/misc/packman/suse/op
&& setarch ${ARCH} zypper -n refresh \
&& setarch ${ARCH} zypper -n dup \
&& setarch ${ARCH} zypper -n update \
- && setarch ${ARCH} zypper -n install $(</packages)
+ && setarch ${ARCH} zypper -n install --allow-vendor-change $(</packages)
# Add non-root user to build packages
RUN useradd -m -s /bin/bash -u 1000 trinity \
&& echo "trinity ALL=(ALL) NOPASSWD: ALL" >>/etc/sudoers
+# Fix postgresql
+RUN ln -sfv /usr/lib/postgresql10/bin/pg_config /usr/bin/pg_config
+
USER trinity
COPY rpmmacros /home/trinity/.rpmmacros
@@ -26,11 +29,10 @@ RUN mkdir -p /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/${ARCH} \
&& sudo zypper ar -C -G /home/trinity/rpmbuild/RPMS.tde-${TDE_VERSION}/noarch rpmbuild.noarch
# Add GeoIP
-RUN rpmbuild --rebuild https://ftp.lysator.liu.se/pub/opensuse/source/distribution/leap/15.3/repo/oss/src/GeoIP-1.6.12-6.3.1.src.rpm \
+RUN setarch ${ARCH} rpmbuild --rebuild https://ftp.lysator.liu.se/pub/opensuse/source/distribution/leap/15.3/repo/oss/src/GeoIP-1.6.12-6.3.1.src.rpm \
&& sudo rpm -Uvh ${HOME}/rpmbuild/RPMS/*/*GeoIP*.rpm
# Add lilypond (i686 only)
-RUN setarch ${ARCH} sudo zypper -n install dblatex fontforge ghostscript-fonts-other mftrace "pkgconfig(guile-1.8)" potrace-devel t1utils texi2html texlive-lh texinfo \
- && rpm -ivh https://ftp.lysator.liu.se/pub/opensuse/source/tumbleweed/repo/oss/src/lilypond-2.23.3-2.1.src.rpm \
- && sed -i "${HOME}/rpmbuild/SPECS/lilypond.spec" -e "/^ExcludeArch/d" \
- && setarch ${ARCH} rpmbuild -ba ~/rpmbuild/SPECS/lilypond.spec
+#RUN rpm -ivh https://ftp.lysator.liu.se/pub/opensuse/source/tumbleweed/repo/oss/src/lilypond-2.23.3-3.6.src.rpm \
+# && sed -i "${HOME}/rpmbuild/SPECS/lilypond.spec" -e "/^ExcludeArch/d" \
+# && setarch ${ARCH} rpmbuild -ba ~/rpmbuild/SPECS/lilypond.spec
diff --git a/redhat/docker/osstw/packages b/redhat/docker/osstw/packages
index fc55cae1c..86927589a 100644
--- a/redhat/docker/osstw/packages
+++ b/redhat/docker/osstw/packages
@@ -23,8 +23,10 @@ createrepo_c
cups-devel
curl
cyrus-sasl-devel
+dblatex
dbus-1-devel
dbus-1-glib-devel
+dejavu-fonts
djvulibre
docbook-utils
docbook-xsl-stylesheets
@@ -44,6 +46,7 @@ freetype-devel
fribidi-devel
gamin-devel
gcc-c++
+ghostscript-fonts-other mftrace
giflib-devel
glu-devel
gmime-devel
@@ -121,6 +124,7 @@ librsvg-devel
libsamplerate-devel
libSDL-devel
libsensors4-devel
+libsmbclient-devel
libsndfile-devel
libtag-devel
libtheora-devel
@@ -129,6 +133,7 @@ libtirpc-devel
libtool
libtwolame-devel
libudisks2-0-devel
+libuuid-devel
libv4l-devel
libvisual-devel
libvorbis-devel
@@ -173,8 +178,12 @@ pcsc-lite-devel
perl-PAR-Packer
perl-pcsc
pkcs11-helper-devel
+pkgconfig(guile-1.8)
+polkit-devel
postgresql10
postgresql10-devel
+potrace-devel
+ppp
python-devel
python-gtk-devel
python3-devel
@@ -183,6 +192,7 @@ rpcgen
rpm-build
rpm-devel
rsvg-convert
+rsync
ruby
ruby-devel
sane-backends-devel
@@ -193,17 +203,22 @@ subversion-devel
sudo
swig
sword-devel
+t1utils
+texi2html
+texinfo
texlive-adjustbox
texlive-etoc
texlive-float
texlive-hanging
texlive-metafont-bin
+texlive-metapost
texlive-multirow
texlive-natbib
texlive-newunicodechar
texlive-refman
texlive-sectsty
texlive-stackengine
+texlive-lh
texlive-tocloft
torsocks
transfig
@@ -222,3 +237,4 @@ xscreensaver-data
xscreensaver-data-extra
xz
xz-devel
+zip