Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mediaconch_plugin4rosetta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Harbor Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Digital Preservation
mediaconch_plugin4rosetta
Commits
9a698c5f
Commit
9a698c5f
authored
5 years ago
by
Jens Steidl
Browse files
Options
Downloads
Patches
Plain Diff
- bugfix libxslt build
parent
12c5bc7b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
deploy_mediaconch/Dockerfile
+12
-13
12 additions, 13 deletions
deploy_mediaconch/Dockerfile
with
12 additions
and
13 deletions
deploy_mediaconch/Dockerfile
+
12
−
13
View file @
9a698c5f
...
...
@@ -65,26 +65,26 @@ ENV PATH=$PATH:$DISTDIR/bin
RUN
echo
$PATH
# build of libxslt v1.1.34 will fail, expects newer version of autotools
ENV
libxsltVERSION=v1.1.33
# get and compile libxslt, because RHEL uses outdated and errorneous version
# the configure-script must be patched, because empty else branch somewhere
# also we disabled python support and crypto and building static variants only
RUN
wget
-np
https://gitlab.gnome.org/GNOME/libxslt/-/archive/master/libxslt-master.tar.gz
RUN
tar
xfz libxslt-master.tar.gz
RUN
cd
libxslt-master
&&
./autogen.sh
RUN
cd
libxslt-master
&&
./configure
--help
# patch errorneous configure
RUN
cd
libxslt-master
&&
sed
-i
-e
"16135s/.*/echo nothing/"
configure
RUN
cd
libxslt-master
&&
(
cat
-n
configure |
head
-n
16143 |
tail
-n
10
)
RUN
cd
libxslt-master
&&
\
RUN
wget
-np
https://gitlab.gnome.org/GNOME/libxslt/-/archive/
${
libxsltVERSION
}
/libxslt-
${
libxsltVERSION
}
.tar.gz
RUN
tar
xfz libxslt-
${
libxsltVERSION
}
.tar.gz
RUN
cd
libxslt-
${
libxsltVERSION
}
&&
./autogen.sh
# patch errorneous configure for v1.1.33
RUN
cd
libxslt-
${
libxsltVERSION
}
&&
sed
-i
-e
"16113s/.*/echo nothing/"
configure
#RUN cd libxslt-${libxsltVERSION} && (cat -n configure | head -n 16122 | tail -n 10)
RUN
cd
libxslt-
${
libxsltVERSION
}
&&
\
./configure
--prefix
=
$DISTDIR
--without-python
--without-crypto
\
--disable-shared
--enable-static
\
--with-libxml-src
=
/home/builder/libxml2-master
\
--with-libxml-prefix
=
$DISTDIR
/bin
\
--with-libxml-include-prefix
=
$DISTDIR
/include
\
--with-libxml-libs-prefix
=
$DISTDIR
/lib
&&
\
make
-j
&&
\
make
install
--with-libxml-libs-prefix
=
$DISTDIR
/lib
RUN
cd
libxslt-
${
libxsltVERSION
}
&&
make
-j
&&
make
install
...
...
@@ -140,7 +140,7 @@ RUN cd MediaInfoLib/Project/GNU/Library/ &&\
# because Mediaconch configure script expects libml2 and libxslt as hardcoded
# names, we set symlinks
RUN
ln
-s
libxml2-master libxml2
RUN
ln
-s
libxslt-
master
libxslt
RUN
ln
-s
libxslt-
${
libxsltVERSION
}
libxslt
# get and compile mediaconch
RUN
git clone https://github.com/MediaArea/MediaConch_SourceCode.git
...
...
@@ -169,4 +169,3 @@ RUN tree $DISTDIR
RUN
cd
$DISTDIR
/../../
&&
tar
-cz
-f
/tmp/mediaconch.tgz
*
RUN
ls
-lha
/tmp/
RUN
echo
"Finished, in /tmp/mediaconch.tgz should be the binary found"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment