├── docker ├── versions.txt ├── Gemfile └── Dockerfile ├── old ├── README.md ├── functions │ ├── move_libs.sh │ ├── AppRun │ ├── desktop_integration.sh │ ├── copy_libs.sh │ └── delete_blacklisted.sh ├── spec │ ├── metadata.yml │ └── recipe_rspec.rb ├── Recipe.erb ├── deploy.rb ├── Recipe └── libs │ ├── Recipe.erb │ ├── builddocker.rb │ └── recipe.rb ├── seed ├── org.yaml │ └── snakeyaml │ │ ├── jars │ │ ├── snakeyaml-1.5.jar │ │ └── snakeyaml-1.13.jar │ │ ├── ivydata-1.13.properties │ │ ├── ivydata-1.5.properties │ │ ├── ivydata-1.17.properties │ │ ├── ivy-1.5.xml │ │ ├── ivy-1.13.xml │ │ ├── ivy-1.17.xml │ │ ├── ivy-1.5.xml.original │ │ ├── ivy-1.13.xml.original │ │ └── ivy-1.17.xml.original └── seed.groovy ├── README.md ├── MustBeUsedInMainJobFiles ├── Gemfile ├── README.md ├── setup.sh ├── data │ └── metadata.yml ├── deploy.rb ├── JenkinsFile └── Recipe.erb ├── parser.rules ├── libs ├── create_zsync.sh ├── recipe.rb ├── builddocker.rb └── sources.rb ├── tests └── missing_deps.rb ├── tooling └── prepare_job.rb ├── data └── applications.yaml ├── spec └── recipe_rspec.rb └── log.txt /docker/versions.txt: -------------------------------------------------------------------------------- 1 | 2.3.1 2 | -------------------------------------------------------------------------------- /old/README.md: -------------------------------------------------------------------------------- 1 | # appimage-template 2 | xdgurl appimage. Fully functional. 3 | -------------------------------------------------------------------------------- /seed/org.yaml/snakeyaml/jars/snakeyaml-1.5.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probonopd/appimage-template/master/seed/org.yaml/snakeyaml/jars/snakeyaml-1.5.jar -------------------------------------------------------------------------------- /seed/org.yaml/snakeyaml/jars/snakeyaml-1.13.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/probonopd/appimage-template/master/seed/org.yaml/snakeyaml/jars/snakeyaml-1.13.jar -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # appimage-template 2 | Appimage template for creating appimages on aci.pangea.pub 3 | 4 | TO-DO: 5 | 6 | appstream support 7 | 8 | gpg signature support 9 | -------------------------------------------------------------------------------- /seed/org.yaml/snakeyaml/ivydata-1.13.properties: -------------------------------------------------------------------------------- 1 | #ivy cached data file for org.yaml#snakeyaml;1.13 2 | #Sun Mar 20 11:31:18 PDT 2016 3 | artifact.resolver=downloadGrapes 4 | resolver=downloadGrapes 5 | -------------------------------------------------------------------------------- /old/functions/move_libs.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | mkdir -p ./usr/lib ./lib && find ./lib/ -exec cp -v --parents -rfL {} ./usr/ \; && rm -rf ./lib 3 | mkdir -p ./usr/lib ./lib64 && find ./lib64/ -exec cp -v --parents -rfL {} ./usr/ \; && rm -rf ./lib64 4 | -------------------------------------------------------------------------------- /old/functions/AppRun: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | HERE="$(dirname "$(readlink -f "${0}")")" 3 | PYTHONPATH="${HERE}"/usr/lib/python2.7:$PYTHONPATH LD_LIBRARY_PATH="${HERE}/usr/lib/:${LD_LIBRARY_PATH}" PATH="${HERE}/:${PATH}" exec "${HERE}"/AppImageAssistant "$@" 4 | -------------------------------------------------------------------------------- /old/functions/desktop_integration.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | wget -O ./usr/bin/$1.wrapper https://raw.githubusercontent.com/probonopd/AppImageKit/master/desktopintegration 3 | chmod a+x ./usr/bin/$1.wrapper 4 | sed -i -e "s|Exec=$1|Exec=$1.wrapper|g" $1.desktop 5 | -------------------------------------------------------------------------------- /MustBeUsedInMainJobFiles/Gemfile: -------------------------------------------------------------------------------- 1 | source 'http://rubygems.org' 2 | gem 'bundler' 3 | gem 'docker-api', git: 'https://github.com/swipely/docker-api' 4 | gem 'logger' 5 | gem 'logger-colors' 6 | gem 'fileutils' 7 | gem 'rspec' 8 | gem 'rugged', git: 'https://github.com/libgit2/rugged.git', submodules: true 9 | -------------------------------------------------------------------------------- /docker/Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | gem 'bundler' 3 | gem 'rake' 4 | gem 'docker-api', git: 'https://github.com/swipely/docker-api' 5 | gem 'logger' 6 | gem 'logger-colors' 7 | gem 'fileutils' 8 | gem 'rspec' 9 | gem 'rugged', git: 'git://github.com/libgit2/rugged.git', submodules: true 10 | -------------------------------------------------------------------------------- /old/functions/copy_libs.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | FILES=$(find . -type f -executable -or -name *.so.* -or -name *.so | sort | uniq ) 3 | for FILE in $FILES ; do 4 | ldd "${FILE}" | grep "=>" | awk '{print $3}' | xargs -I '{}' echo '{}' >> DEPSFILE 5 | done 6 | DEPS=$(cat DEPSFILE | sort | uniq) 7 | for FILE in $DEPS ; do 8 | if [ -e $FILE ] ; then 9 | cp -v --parents -rfL $FILE . 10 | fi 11 | done 12 | rm -f DEPSFILE 13 | -------------------------------------------------------------------------------- /MustBeUsedInMainJobFiles/README.md: -------------------------------------------------------------------------------- 1 | # changeme 2 | Master branch: 3 | [![Build Status](http://aci.pangea.pub/job/changeme-master-appimage/badge/icon)](http://aci.pangea.pub/job/changeme-master-appimage/) 4 | 5 | AppImage for KDE changeme 6 | 7 | changeme 8 | 9 | https://www.kde.org/applications/utilities/changeme/ 10 | 11 | S3 Download: 12 | master: 13 | https://s3-eu-central-1.amazonaws.com/ds9-apps/index.html#!/changeme-master-appimage%2F 14 | -------------------------------------------------------------------------------- /old/functions/delete_blacklisted.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | BLACKLISTED_FILES=$(wget -q https://github.com/probonopd/AppImages/raw/master/excludelist -O - | sed '/^\s*$/d' | sed '/^#.*$/d') 3 | echo $BLACKLISTED_FILES 4 | for FILE in $BLACKLISTED_FILES ; do 5 | FOUND=$(find . -type f -name "${FILE}" 2>/dev/null) 6 | if [ ! -z "$FOUND" ] ; then 7 | echo "Deleting blacklisted ${FOUND}" 8 | rm -f "${FOUND}" 9 | fi 10 | done 11 | -------------------------------------------------------------------------------- /parser.rules: -------------------------------------------------------------------------------- 1 | # match line starting with 'error ', case-insensitive 2 | error /(?i)^error / 3 | error /ERROR: ldd outputLine/ 4 | warning /Could [Nn][Oo][Tt] find/ 5 | warning /have not been found/ 6 | # list of warnings here... 7 | #warning /[Ww]arning/ 8 | #warning /WARNING/ 9 | 10 | # create a quick access link to lines in the report containing 'INFO' 11 | #info /INFO/ 12 | 13 | # each line containing 'BUILD' represents the start of a section for grouping errors and warnings found after the line. 14 | # also creates a quick access link. 15 | start /BUILD/ 16 | -------------------------------------------------------------------------------- /old/spec/metadata.yml: -------------------------------------------------------------------------------- 1 | name: xdgurl 2 | url: https://github.com/xdgurl/xdgurl 3 | type: git 4 | packages: 5 | - python2.7 6 | - gnome-icon-theme 7 | - python-wxgtk2.8 8 | - python-tk 9 | - python-gtk2 10 | - python-vte 11 | - tcl8.4-dev 12 | dependencies: 13 | - appimage: 14 | type: git 15 | url: https://github.com/probonopd/AppImageKit 16 | - python3: 17 | type: tar 18 | url: https://www.python.org/ftp/python/3.5.2/Python-3.5.2.tar.xz 19 | sum: 8906efbacfcdc7c3c9198aeefafd159e 20 | dep_path: 21 | - /usr/lib/python2* 22 | - /usr/bin/python* 23 | - /usr/share/tcltk 24 | - /usr/lib/tcl* 25 | -------------------------------------------------------------------------------- /seed/org.yaml/snakeyaml/ivydata-1.5.properties: -------------------------------------------------------------------------------- 1 | #ivy cached data file for org.yaml#snakeyaml;1.5 2 | #Sat Mar 19 06:11:25 PDT 2016 3 | artifact\:ivy\#ivy\#xml\#1229060543.is-local=false 4 | artifact\:ivy\#ivy\#xml\#1229060543.location=http\://repo1.maven.org/maven2/org/yaml/snakeyaml/1.5/snakeyaml-1.5.pom 5 | artifact.resolver=ibiblio 6 | artifact\:snakeyaml\#jar\#jar\#-2010036647.location=http\://jcenter.bintray.com/org/yaml/snakeyaml/1.5/snakeyaml-1.5.jar 7 | artifact\:snakeyaml\#jar\#jar\#-2010036647.exists=true 8 | artifact\:snakeyaml\#jar\#jar\#-2010036647.is-local=false 9 | artifact\:ivy\#ivy\#xml\#1229060543.exists=true 10 | resolver=ibiblio 11 | -------------------------------------------------------------------------------- /seed/org.yaml/snakeyaml/ivydata-1.17.properties: -------------------------------------------------------------------------------- 1 | #ivy cached data file for org.yaml#snakeyaml;1.17 2 | #Sat Mar 19 07:16:45 PDT 2016 3 | artifact\:ivy\#ivy\#xml\#1749565614.exists=true 4 | artifact\:ivy\#ivy\#xml\#1749565614.location=http\://repo1.maven.org/maven2/org/yaml/snakeyaml/1.17/snakeyaml-1.17.pom 5 | artifact.resolver=ibiblio 6 | artifact\:snakeyaml\#jar\#jar\#-1489531576.is-local=false 7 | artifact\:snakeyaml\#jar\#jar\#-1489531576.location=http\://jcenter.bintray.com/org/yaml/snakeyaml/1.17/snakeyaml-1.17.jar 8 | artifact\:ivy\#ivy\#xml\#1749565614.is-local=false 9 | resolver=ibiblio 10 | artifact\:snakeyaml\#jar\#jar\#-1489531576.exists=true 11 | -------------------------------------------------------------------------------- /seed/seed.groovy: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env groovy 2 | 3 | import org.yaml.snakeyaml.Yaml 4 | import java.io.ByteArrayInputStream; 5 | import java.io.IOException; 6 | import java.io.InputStream; 7 | import java.net.URL; 8 | import java.security.Provider.Service 9 | import com.google.common.io.ByteStreams 10 | 11 | def apps = new Yaml().load(new FileReader(new File("${WORKSPACE}/data/applications.yaml"))) 12 | 13 | apps.each { name, config -> 14 | config.branch.each { branch -> 15 | pipelineJob("${name}-${branch}-appimage") { 16 | definition { 17 | cpsScm { 18 | scm { 19 | github("appimage-packages/${name}", "${branch}") 20 | } 21 | } 22 | } 23 | } 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /libs/create_zsync.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | DATE=$(date +"%Y%m%d") 3 | cd appimage/ 4 | FILE = $(ls) 5 | zsinkcmake 6 | echo "Embedding update information into ${FILE}..." 7 | # Clear ISO 9660 Volume Descriptor #1 field "Application Used" 8 | # (contents not defined by ISO 9660) and write URL there 9 | dd if=/dev/zero of="${FILE}" bs=1 seek=33651 count=512 conv=notrunc 10 | # Example for next line: Subsurface-_latestVersion-x86_64.AppImage 11 | NAMELATESTVERSION=$(echo $(basename ${FILE}) | sed -e "s|${VERSION}|_latestVersion|g") 12 | # Example for next line: bintray-zsync|probono|AppImages|Subsurface|Subsurface-_latestVersion-x86_64.AppImage.zsync 13 | LINE="s3-zsync|${NAMELATESTVERSION}.zsync" 14 | echo "${LINE}" | dd of="${FILE}" bs=1 seek=33651 count=512 conv=notrunc 15 | echo "" 16 | echo "Uploading and publishing zsync file for ${FILE}..." 17 | # Workaround for: 18 | # https://github.com/probonopd/zsync-curl/issues/1 19 | zsyncmake -u https://s3-eu-central-1.amazonaws.com/ds9-apps/$(basename ${FILE}) ${FILE} -o ${FILE}.zsync 20 | -------------------------------------------------------------------------------- /old/Recipe.erb: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | #get deps 3 | yum -y install gnome-common wget git perl-URI.noarch gnome-icon-theme python33 python26 wxPython wxGTK 4 | 5 | yum install python-setuptools && easy_install argparse 6 | 7 | # Get helper functions 8 | wget -q https://github.com/appimage-packages/AppImages/raw/master/functions.sh -O ./functions.sh 9 | . ./functions.sh 10 | rm -f functions.sh 11 | 12 | function copy_desktop { 13 | find . -name "$APP.desktop" -exec cp {} . \; 14 | } 15 | 16 | git clone https://github.com/xdgurl/xdgurl 17 | cd xdgurl 18 | make -j 8 19 | make install 20 | cd .. 21 | #copy desktop in place 22 | copy_desktop 23 | VERSION=$(git describe | sed -e 's/^r.*// ; s/-g.*$// ') 24 | ARCH=$(arch) 25 | APP=<%= name %> 26 | 27 | cp /usr/share/icons/gnome/scalable/emblems/emblem-web.svg . || true 28 | 29 | # delete potentially harmful binaries 30 | delete_blacklisted 31 | 32 | #Copy deps over 33 | copy_deps 34 | 35 | 36 | echo Icon=emblem-web >> /xdgurl.desktop 37 | # Add desktop integration 38 | get_desktopintegration <%= name %> 39 | 40 | generate_appimage 41 | -------------------------------------------------------------------------------- /tests/missing_deps.rb: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | # frozen_string_literal: true 3 | # 4 | # Copyright (C) 2016 Scarlett Clark 5 | # Copyright (C) 2015-2016 Harald Sitter 6 | # 7 | # This library is free software; you can redistribute it and/or 8 | # modify it under the terms of the GNU Lesser General Public 9 | # License as published by the Free Software Foundation; either 10 | # version 2.1 of the License, or (at your option) version 3, or any 11 | # later version accepted by the membership of KDE e.V. (or its 12 | # successor approved by the membership of KDE e.V.), which shall 13 | # act as a proxy defined in Section 6 of version 3 of the license. 14 | # 15 | # This library is distributed in the hope that it will be useful, 16 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 17 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 18 | # Lesser General Public License fo-r more details. 19 | # 20 | # You should have received a copy of the GNU Lesser General Public 21 | # License along with this library. If not, see . 22 | -------------------------------------------------------------------------------- /tooling/prepare_job.rb: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | # frozen_string_literal: true 3 | # 4 | # Copyright (C) 2016 Scarlett Clark 5 | # 6 | # This library is free software; you can redistribute it and/or 7 | # modify it under the terms of the GNU Lesser General Public 8 | # License as published by the Free Software Foundation; either 9 | # version 2.1 of the License, or (at your option) version 3, or any 10 | # later version accepted by the membership of KDE e.V. (or its 11 | # successor approved by the membership of KDE e.V.), which shall 12 | # act as a proxy defined in Section 6 of version 3 of the license. 13 | # 14 | # This library is distributed in the hope that it will be useful, 15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 17 | # Lesser General Public License for more details. 18 | # 19 | # You should have received a copy of the GNU Lesser General Public 20 | # License along with this library. If not, see . 21 | 22 | name = ARGV[0] 23 | 24 | p "Updating #{name}" 25 | 26 | system("git clone ") 27 | -------------------------------------------------------------------------------- /MustBeUsedInMainJobFiles/setup.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Copyright (C) 2016 Scarlett Clark 4 | # 5 | # This library is free software; you can redistribute it and/or 6 | # modify it under the terms of the GNU Lesser General Public 7 | # License as published by the Free Software Foundation; either 8 | # version 2.1 of the License, or (at your option) version 3, or any 9 | # later version accepted by the membership of KDE e.V. (or its 10 | # successor approved by the membership of KDE e.V.), which shall 11 | # act as a proxy defined in Section 6 of version 3 of the license. 12 | # 13 | # This library is distributed in the hope that it will be useful, 14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 | # Lesser General Public License fo-r more details. 17 | # 18 | # You should have received a copy of the GNU Lesser General Public 19 | # License along with this library. If not, see . 20 | export PATH=/opt/usr/bin:/home/jenkins/.rbenv/bin:/home/jenkins/.rbenv/shims:$PATH 21 | export WORKSPACE=`pwd` 22 | echo $WORKSPACE 23 | 24 | cd /in/ && rspec appimage-template/spec/recipe_rspec.rb --fail-fast 25 | -------------------------------------------------------------------------------- /old/deploy.rb: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | # frozen_string_literal: true 3 | # 4 | # Copyright (C) 2016 Scarlett Clark 5 | # Copyright (C) 2015-2016 Harald Sitter 6 | # 7 | # This library is free software; you can redistribute it and/or 8 | # modify it under the terms of the GNU Lesser General Public 9 | # License as published by the Free Software Foundation; either 10 | # version 2.1 of the License, or (at your option) version 3, or any 11 | # later version accepted by the membership of KDE e.V. (or its 12 | # successor approved by the membership of KDE e.V.), which shall 13 | # act as a proxy defined in Section 6 of version 3 of the license. 14 | # 15 | # This library is distributed in the hope that it will be useful, 16 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 17 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 18 | # Lesser General Public License fo-r more details. 19 | # 20 | # You should have received a copy of the GNU Lesser General Public 21 | # License along with this library. If not, see . 22 | require_relative 'libs/builddocker.rb' 23 | require 'fileutils' 24 | 25 | builder = CI.new 26 | builder.run = [CI::Build.new()] 27 | builder.cmd = %w[rspec /in/spec/recipe_rspec.rb --fail-fast] 28 | builder.create_container 29 | -------------------------------------------------------------------------------- /old/Recipe: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Copyright (C) 2016 Scarlett Clark 4 | # 5 | # This library is free software; you can redistribute it and/or 6 | # modify it under the terms of the GNU Lesser General Public 7 | # License as published by the Free Software Foundation; either 8 | # version 2.1 of the License, or (at your option) version 3, or any 9 | # later version accepted by the membership of KDE e.V. (or its 10 | # successor approved by the membership of KDE e.V.), which shall 11 | # act as a proxy defined in Section 6 of version 3 of the license. 12 | # 13 | # This library is distributed in the hope that it will be useful, 14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 | # Lesser General Public License for more details. 17 | # 18 | # You should have received a copy of the GNU Lesser General Public 19 | # License along with this library. If not, see . 20 | 21 | # Set variables 22 | VERSION=1.0.1-1 23 | ARCH=x86_64 24 | 25 | APP=xdgurl 26 | 27 | cd //xdgurl.AppDir 28 | export LD_LIBRARY_PATH=./usr/lib/:$LD_LIBRARY_PATH 29 | find //xdgurl.AppDir/usr/lib/ -name '*.la' | xargs -i rm {} 30 | 31 | mv ./usr/share/tcltk/tcl8.6 ./usr/lib/tcl8.6 32 | mv ./usr/share/tcltk/tk8.6 ./usr/lib/tk8.6 33 | 34 | ./AppImageAssistant /xdgurl.AppDir "/out/$APP-$VERSION-$ARCH.AppImage" 35 | -------------------------------------------------------------------------------- /old/libs/Recipe.erb: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Copyright (C) 2016 Scarlett Clark 4 | # 5 | # This library is free software; you can redistribute it and/or 6 | # modify it under the terms of the GNU Lesser General Public 7 | # License as published by the Free Software Foundation; either 8 | # version 2.1 of the License, or (at your option) version 3, or any 9 | # later version accepted by the membership of KDE e.V. (or its 10 | # successor approved by the membership of KDE e.V.), which shall 11 | # act as a proxy defined in Section 6 of version 3 of the license. 12 | # 13 | # This library is distributed in the hope that it will be useful, 14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 | # Lesser General Public License for more details. 17 | # 18 | # You should have received a copy of the GNU Lesser General Public 19 | # License along with this library. If not, see . 20 | 21 | # Set variables 22 | VERSION=<%= version %> 23 | ARCH=<%= arch %> 24 | APP=<%= name %> 25 | 26 | cd /<%= app_dir %> 27 | export LD_LIBRARY_PATH=./usr/lib/:$LD_LIBRARY_PATH 28 | find /<%= app_dir %>/usr/lib/ -name '*.la' | xargs -i rm {} 29 | 30 | mv ./usr/share/tcltk/tcl8.6 ./usr/lib/tcl8.6 31 | mv ./usr/share/tcltk/tk8.6 ./usr/lib/tk8.6 32 | 33 | ./AppImageAssistant <%= app_dir %> "/out/$APP-$VERSION-$ARCH.AppImage" 34 | -------------------------------------------------------------------------------- /MustBeUsedInMainJobFiles/data/metadata.yml: -------------------------------------------------------------------------------- 1 | name: changeme 2 | binary: changeme 3 | packages: '' 4 | #app specifc 5 | frameworks: 6 | build_kf5: true 7 | frameworks: 8 | - extra-cmake-modules 9 | - kcoreaddons 10 | - ki18n 11 | - kitemviews 12 | - kconfig 13 | - polkit-qt-1 14 | - kauth 15 | - kcodecs 16 | - karchive 17 | - kdoctools 18 | - kguiaddons 19 | - kwidgetsaddons 20 | - kconfigwidgets 21 | - kiconthemes 22 | - kcompletion 23 | - kwindowsystem 24 | - kcrash 25 | - kdbusaddons 26 | - kservice 27 | - sonnet 28 | - ktextwidgets 29 | - kglobalaccel 30 | - attica 31 | - kxmlgui 32 | - solid 33 | - kbookmarks 34 | - kjobwidgets 35 | - phonon 36 | - phonon-gstreamer 37 | - knotifications 38 | - gpgmepp 39 | - kwallet 40 | - kio 41 | - knewstuff 42 | - breeze-icons 43 | - kactivities 44 | - kpackage 45 | - kdeclarative 46 | - kwayland 47 | - plasma-framework 48 | - kdecoration 49 | - breeze 50 | type: git 51 | url: http://anongit.kde.org/changeme 52 | buildsystem: cmake 53 | buildoptions: '-DCMAKE_INSTALL_PREFIX:PATH=/opt/usr -DKDE_INSTALL_SYSCONFDIR=/opt/etc -DBUILD_TESTING=OFF' 54 | dependencies: 55 | - cpan: 56 | build: 57 | buildsystem: custom 58 | buildoptions: cpan URI::Escape 59 | depname: cpan 60 | source: 61 | type: none 62 | url: '' 63 | -------------------------------------------------------------------------------- /MustBeUsedInMainJobFiles/deploy.rb: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | # frozen_string_literal: true 3 | # 4 | # Copyright (C) 2016 Scarlett Clark 5 | # Copyright (C) 2015-2016 Harald Sitter 6 | # 7 | # This library is free software; you can redistribute it and/or 8 | # modify it under the terms of the GNU Lesser General Public 9 | # License as published by the Free Software Foundation; either 10 | # version 2.1 of the License, or (at your option) version 3, or any 11 | # later version accepted by the membership of KDE e.V. (or its 12 | # successor approved by the membership of KDE e.V.), which shall 13 | # act as a proxy defined in Section 6 of version 3 of the license. 14 | # 15 | # This library is distributed in the hope that it will be useful, 16 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 17 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 18 | # Lesser General Public License fo-r more details. 19 | # 20 | # You should have received a copy of the GNU Lesser General Public 21 | # License along with this library. If not, see . 22 | 23 | require_relative 'appimage-template/libs/builddocker.rb' 24 | require 'fileutils' 25 | require 'pty' 26 | 27 | if RUBY_VERSION =~ /1.9/ # assuming you're running Ruby ~1.9 28 | Encoding.default_external = Encoding::UTF_8 29 | Encoding.default_internal = Encoding::UTF_8 30 | end 31 | setup_path = `pwd` 32 | p setup_path 33 | project = 'changeme' 34 | builder = CI.new 35 | unless Dir.exist?('app') 36 | Dir.mkdir('app') 37 | end 38 | unless Dir.exist?('appimage') 39 | Dir.mkdir('appimage') 40 | end 41 | builder.run = [CI::Build.new(project)] 42 | builder.cmd = %w[bash -c /in/setup.sh] 43 | builder.create_container(project) 44 | # begin 45 | # PTY.spawn( cmd ) do |stdout, stdin, pid| 46 | # begin 47 | # # Do stuff with the output here. Just printing to show it works 48 | # stdout.each { |line| print line } 49 | # rescue Errno::EIO 50 | # puts "Errno:EIO error, but this probably just means " + 51 | # "that the process has finished giving output" 52 | # end 53 | # end 54 | # rescue PTY::ChildExited 55 | # puts "The child process exited!" 56 | # end 57 | -------------------------------------------------------------------------------- /data/applications.yaml: -------------------------------------------------------------------------------- 1 | kate: 2 | repo: https://github.com/appimage-packages/kate 3 | branch: [master] 4 | blinken: 5 | repo: https://github.com/appimage-packages/blinken 6 | branch: [master] 7 | kmymoney: 8 | repo: https://github.com/appimage-packages/kmymoney 9 | branch: [master] 10 | skanlite: 11 | repo: https://github.com/appimage-packages/skanlite-packaging 12 | branch: [master] 13 | artikulate: 14 | repo: https://github.com/appimage-packages/artikulate 15 | branch: [master] 16 | kstars: 17 | repo: https://github.com/appimage-packages/kstars 18 | branch: [master] 19 | okular: 20 | repo: https://github.com/appimage-packages/okular 21 | branch: [master] 22 | ark: 23 | repo: https://github.com/appimage-packages/ark 24 | branch: [master] 25 | marble: 26 | repo: https://github.com/appimage-packages/marble 27 | branch: [master] 28 | plasmazilla: 29 | repo: https://github.com/appimage-packages/plasmazilla 30 | branch: [master] 31 | kmail: 32 | repo: https://github.com/appimage-packages/kmail 33 | branch: [master] 34 | kexi: 35 | repo: https://github.com/appimage-packages/kexi 36 | branch: [master] 37 | choqok: 38 | repo: https://github.com/appimage-packages/choqok 39 | branch: [master] 40 | akregator: 41 | repo: https://github.com/appimage-packages/akregator 42 | branch: [master] 43 | calligra: 44 | repo: https://github.com/appimage-packages/calligra 45 | branch: [master] 46 | kcalc: 47 | repo: https://github.com/appimage-packages/kcalc 48 | branch: [master] 49 | blogilo: 50 | repo: https://github.com/appimage-packages/blogilo 51 | branch: [master] 52 | bomber: 53 | repo: https://github.com/appimage-packages/bomber 54 | branch: [master] 55 | bovo: 56 | repo: https://github.com/appimage-packages/bovo 57 | branch: [master] 58 | cantor: 59 | repo: https://github.com/appimage-packages/cantor 60 | branch: [master] 61 | cervisia: 62 | repo: https://github.com/appimage-packages/cervisia 63 | branch: [master] 64 | kde-connect: 65 | repo: https://github.com/appimage-packages/kde-connect 66 | branch: [master] 67 | k3b: 68 | repo: https://github.com/appimage-packages/k3b 69 | branch: [master] 70 | dolphin: 71 | repo: https://github.com/appimage-packages/dolphin 72 | branch: [master] 73 | kaffeine: 74 | repo: https://github.com/appimage-packages/kaffeine 75 | branch: [master] 76 | dragon: 77 | repo: https://github.com/appimage-packages/dragon 78 | branch: [master] 79 | kamoso: 80 | repo: https://github.com/appimage-packages/kamoso 81 | branch: [master] 82 | -------------------------------------------------------------------------------- /libs/recipe.rb: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | # frozen_string_literal: true 3 | # 4 | # Copyright (C) 2016 Scarlett Clark 5 | # 6 | # This library is free software; you can redistribute it and/or 7 | # modify it under the terms of the GNU Lesser General Public 8 | # License as published by the Free Software Foundation; either 9 | # version 2.1 of the License, or (at your option) version 3, or any 10 | # later version accepted by the membership of KDE e.V. (or its 11 | # successor approved by the membership of KDE e.V.), which shall 12 | # act as a proxy defined in Section 6 of version 3 of the license. 13 | # 14 | # This library is distributed in the hope that it will be useful, 15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 17 | # Lesser General Public License for more details. 18 | # 19 | # You should have received a copy of the GNU Lesser General Public 20 | # License along with this library. If not, see . 21 | require 'erb' 22 | require 'fileutils' 23 | require 'yaml' 24 | 25 | class Recipe 26 | attr_accessor :name 27 | attr_accessor :arch 28 | attr_accessor :desktop 29 | attr_accessor :icon 30 | attr_accessor :iconpath 31 | attr_accessor :install_path 32 | attr_accessor :packages 33 | attr_accessor :dep_path 34 | attr_accessor :repo 35 | attr_accessor :type 36 | attr_accessor :archives 37 | attr_accessor :md5sum 38 | attr_accessor :version 39 | attr_accessor :app_dir 40 | attr_accessor :configure_options 41 | attr_accessor :binary 42 | 43 | def initialize(args = {}) 44 | Dir.chdir('/') 45 | self.name = args[:name] 46 | self.binary = args[:binary] 47 | self.arch = `arch` 48 | self.install_path = '/app/usr' 49 | end 50 | 51 | def clean_workspace(args = {}) 52 | self.name = args[:name] 53 | return if Dir['/app/'].empty? 54 | FileUtils.rm_rf("/app/.", secure: true) 55 | return if Dir['/appimage/'].empty? 56 | FileUtils.rm_rf("/appimage/.", secure: true) 57 | return if Dir["/in/#{name}"].empty? 58 | FileUtils.rm_rf("/in/#{name}/#{name}-builddir", secure: true) 59 | end 60 | 61 | def install_packages(args = {}) 62 | self.packages = args[:packages].to_s.gsub(/\,|\[|\]/, '') 63 | system('apt-get update && apt-get -y upgrade') 64 | system("DEBIAN_FRONTEND=noninteractive apt-get -y install git wget #{packages}") 65 | $?.exitstatus 66 | end 67 | 68 | def render 69 | ERB.new(File.read('/in/Recipe.erb')).result(binding) 70 | end 71 | 72 | def generate_appimage(args = {}) 73 | system('/bin/bash -xe /in/Recipe') 74 | $?.exitstatus 75 | end 76 | 77 | 78 | end 79 | -------------------------------------------------------------------------------- /libs/builddocker.rb: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | # frozen_string_literal: true 3 | # 4 | # Copyright (C) 2016 Scarlett Clark 5 | # Copyright (C) 2015-2016 Harald Sitter 6 | # 7 | # This library is free software; you can redistribute it and/or 8 | # modify it under the terms of the GNU Lesser General Public 9 | # License as published by the Free Software Foundation; either 10 | # version 2.1 of the License, or (at your option) version 3, or any 11 | # later version accepted by the membership of KDE e.V. (or its 12 | # successor approved by the membership of KDE e.V.), which shall 13 | # act as a proxy defined in Section 6 of version 3 of the license. 14 | # 15 | # This library is distributed in the hope that it will be useful, 16 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 17 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 18 | # Lesser General Public License for more details. 19 | # 20 | # You should have received a copy of the GNU Lesser General Public 21 | # License along with this library. If not, see . 22 | 23 | require 'docker' 24 | require 'logger' 25 | require 'logger/colors' 26 | require 'fileutils' 27 | 28 | # Create and run a container on the CI build node. 29 | class CI 30 | # Container creation and run 31 | class Build 32 | def initialize(name) 33 | @image = '' 34 | @c = '' 35 | @binds = '' 36 | @name = name 37 | @home = '' 38 | end 39 | end 40 | def init_logging 41 | @log = Logger.new(STDERR) 42 | raise 'Could not initialize logger' if @log.nil? 43 | Thread.new do 44 | # :nocov: 45 | Docker::Event.stream { |event| @log.debug event } 46 | # :nocov: 47 | end 48 | end 49 | attr_accessor :run 50 | attr_accessor :cmd 51 | Docker.options[:read_timeout] = 2 * 60 * 60 # 2 hours 52 | Docker.options[:write_timeout] = 2 * 60 * 60 # 2 hours 53 | 54 | def create_container(name, home='/home/jenkins/workspace') 55 | init_logging 56 | workspace = system('pwd') 57 | p workspace 58 | @c = Docker::Container.create( 59 | 'Image' => 'sgclark/trusty-qt57', 60 | 'Cmd' => @cmd, 61 | 'Volumes' => { 62 | '/in' => {}, 63 | '/app' => {}, 64 | '/appimage' => {}, 65 | '/root/.gnupg' => {}, 66 | '/lib/modules' => {}, 67 | '/tmp' => {} 68 | }, 69 | 'HostConfig' => { 70 | 'Binds' => [ 71 | Dir.pwd + ":/in", 72 | Dir.pwd + "/app:/app", 73 | Dir.pwd + "/appimage:/appimage", 74 | '/root/.gnupg:/root/.gnupg' 75 | ], 76 | 'UsernsMode' => 'host', 77 | 'Privileged' => true, 78 | 'Devices' => [ 79 | 'PathOnHost' => '/dev/fuse', 80 | 'PathInContainer' => '/dev/fuse', 81 | 'CgroupPermissions' => 'mrw' 82 | ] 83 | } 84 | ) 85 | @log.info 'creating debug thread' 86 | Thread.new do 87 | @c.attach do |_stream, chunk| 88 | puts chunk 89 | STDOUT.flush 90 | end 91 | end 92 | @c.start() 93 | ret = @c.wait 94 | status_code = ret.fetch('StatusCode', 1) 95 | raise "Bad return #{ret}" if status_code.nonzero? 96 | @c.stop 97 | end 98 | end 99 | -------------------------------------------------------------------------------- /seed/org.yaml/snakeyaml/ivy-1.5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | 11 | YAML 1.1 parser and emitter for Java 12 | 13 | UTF-8 14 | org.apache.maven.plugins__maven-compiler-plugin__null|null__maven-surefire-plugin__null|null__maven-eclipse-plugin__null|org.codehaus.mojo__cobertura-maven-plugin__2.2|org.apache.maven.plugins__maven-changes-plugin__2.1|org.apache.maven.plugins__maven-source-plugin__null|org.apache.maven.plugins__maven-javadoc-plugin__null|null__maven-resources-plugin__null 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /old/libs/builddocker.rb: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | # frozen_string_literal: true 3 | # 4 | # Copyright (C) 2016 Scarlett Clark 5 | # Copyright (C) 2015-2016 Harald Sitter 6 | # 7 | # This library is free software; you can redistribute it and/or 8 | # modify it under the terms of the GNU Lesser General Public 9 | # License as published by the Free Software Foundation; either 10 | # version 2.1 of the License, or (at your option) version 3, or any 11 | # later version accepted by the membership of KDE e.V. (or its 12 | # successor approved by the membership of KDE e.V.), which shall 13 | # act as a proxy defined in Section 6 of version 3 of the license. 14 | # 15 | # This library is distributed in the hope that it will be useful, 16 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 17 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 18 | # Lesser General Public License for more details. 19 | # 20 | # You should have received a copy of the GNU Lesser General Public 21 | # License along with this library. If not, see . 22 | 23 | require 'docker' 24 | require 'logger' 25 | require 'logger/colors' 26 | 27 | class CI 28 | class Build 29 | def initialize() 30 | @image = '' 31 | @c = '' 32 | @binds = '' 33 | end 34 | end 35 | def init_logging 36 | @log = Logger.new(STDERR) 37 | raise 'Could not initialize logger' if @log.nil? 38 | 39 | Thread.new do 40 | # :nocov: 41 | Docker::Event.stream { |event| @log.debug event } 42 | # :nocov: 43 | end 44 | end 45 | attr_accessor :run 46 | attr_accessor :cmd 47 | 48 | Docker.options[:read_timeout] = 1 * 120 * 120 # 1 hour 49 | Docker.options[:write_timeout] = 1 * 120 * 60 # 1 hour 50 | 51 | def create_container 52 | init_logging 53 | @c = Docker::Container.create( 54 | 'Image' => 'sgclark/trusty-qt57', 55 | 'Cmd' => @cmd, 56 | 'Volumes' => { 57 | '/in' => {}, 58 | '/out' => {}, 59 | '/lib/modules' => {}, 60 | '/tmp' => {} 61 | }, 62 | 'HostConfig' => { 63 | 'CapAdd' => ["ALL"], 64 | 'Devices' => ['PathOnHost' => "/dev/fuse", 65 | 'PathInContainer' => "/dev/fuse", 66 | 'CgroupPermissions' => "mrw"] 67 | } 68 | ) 69 | p @c.info 70 | @log.info 'creating debug thread' 71 | Thread.new do 72 | @c.attach do |_stream, chunk| 73 | puts chunk 74 | STDOUT.flush 75 | end 76 | end 77 | require 'socket' 78 | 79 | host = `hostname` 80 | 81 | if host == "scarlett-neon\n" 82 | @c.start( 'Privileged' => true, 83 | 'Binds' => ["/home/scarlett/appimage-packaging/appimage-template:/in", 84 | "/home/scarlett/appimage-packaging/appimage-template/out:/out", 85 | "/tmp:/tmp", 86 | "/home/scarlett/appimage-packaging/appimage-template/app:/app"]) 87 | 88 | else 89 | @c.start( 'Privileged' => true, 90 | 'Binds' => ["/home/jenkins/workspace/appimage-xdgurl/:/in", 91 | "/home/jenkins/workspace/appimage-xdgurl/out:/out", 92 | "/tmp:/tmp", 93 | "/home/jenkins/workspace/appimage-xdgurl/app:/app"]) 94 | end 95 | ret = @c.wait 96 | status_code = ret.fetch('StatusCode', 1) 97 | raise "Bad return #{ret}" if status_code != 0 98 | @c.stop! 99 | end 100 | end 101 | -------------------------------------------------------------------------------- /seed/org.yaml/snakeyaml/ivy-1.13.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | 11 | YAML 1.1 parser and emitter for Java 12 | 13 | UTF-8 14 | org.apache.maven.plugins__maven-compiler-plugin__2.3.2|org.apache.maven.plugins__maven-surefire-plugin__2.6|org.apache.maven.plugins__maven-eclipse-plugin__2.8|org.codehaus.mojo__cobertura-maven-plugin__2.5.1|org.apache.maven.plugins__maven-changes-plugin__2.5|org.apache.maven.plugins__maven-source-plugin__2.1.2|org.apache.maven.plugins__maven-javadoc-plugin__2.8|com.mycila.maven-license-plugin__maven-license-plugin__1.9.0|org.apache.felix__maven-bundle-plugin__2.3.4 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /seed/org.yaml/snakeyaml/ivy-1.17.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | 11 | YAML 1.1 parser and emitter for Java 12 | 13 | https://oss.sonatype.org/content/repositories/snapshots/ 14 | bitbucket 15 | UTF-8 16 | https://oss.sonatype.org/service/local/staging/deploy/maven2/ 17 | org.apache.maven.plugins__maven-compiler-plugin__3.3|org.apache.maven.plugins__maven-surefire-plugin__2.18.1|org.apache.maven.plugins__maven-eclipse-plugin__2.10|org.codehaus.mojo__cobertura-maven-plugin__2.7|org.apache.maven.plugins__maven-changes-plugin__2.11|org.apache.maven.plugins__maven-source-plugin__2.4|org.apache.maven.plugins__maven-javadoc-plugin__2.10.3|com.mycila.maven-license-plugin__maven-license-plugin__1.10.b1|org.apache.felix__maven-bundle-plugin__2.5.4|null__maven-site-plugin__3.4 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /MustBeUsedInMainJobFiles/JenkinsFile: -------------------------------------------------------------------------------- 1 | #!groovy 2 | 3 | /* 4 | The MIT License 5 | Copyright (c) 2015-, CloudBees, Inc., and a number of other of contributors 6 | Permission is hereby granted, free of charge, to any person obtaining a copy 7 | of this software and associated documentation files (the "Software"), to deal 8 | in the Software without restriction, including without limitation the rights 9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | copies of the Software, and to permit persons to whom the Software is 11 | furnished to do so, subject to the following conditions: 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 17 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 19 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 20 | THE SOFTWARE. 21 | */ 22 | 23 | node('linux') { 24 | 25 | 26 | currentBuild.result = "SUCCESS" 27 | properties([buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '6', daysToKeepStr: '', numToKeepStr: '5')), disableConcurrentBuilds(), \ 28 | [$class: 'GithubProjectProperty', displayName: '', projectUrlStr: 'https://github.com/appimage-packages/changeme/'], pipelineTriggers([[$class: 'GitHubPushTrigger'], pollSCM('H/5 * * * *')])]) 29 | try { 30 | 31 | stage( 'Checkout' ) { 32 | checkout scm 33 | checkout changelog: false, poll: false, scm: [$class: 'GitSCM', branches: [[name: '*/master']], \ 34 | browser: [$class: 'GithubWeb', repoUrl: ''], doGenerateSubmoduleConfigurations: false, \ 35 | extensions: [[$class: 'RelativeTargetDirectory', relativeTargetDir: 'appimage-template']], submoduleCfg: [], \ 36 | userRemoteConfigs: [[url: 'https://github.com/appimage-packages/appimage-template']]] 37 | checkout changelog: false, poll: false, scm: [$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, \ 38 | extensions: [[$class: 'RelativeTargetDirectory', relativeTargetDir: 'changeme']], submoduleCfg: [], userRemoteConfigs: [[url: 'https://anongit.kde.org/changeme']]] 39 | } 40 | stage( 'Setup' ) { 41 | sh 'bundle install' 42 | def WORKSPACE=pwd() 43 | } 44 | stage( 'Build' ) { 45 | sh 'bundle exec deploy.rb' 46 | } 47 | stage('Copy Artifacts') { 48 | step([$class: 'S3BucketPublisher', consoleLogLevel: 'INFO', dontWaitForConcurrentBuildCompletion: false, entries: [[bucket: "ds9-apps/${JOB_NAME}", excludedFile: '', flatten: false, gzipFiles: false, keepForever: false, \ 49 | managedArtifacts: false, noUploadOnFailure: true, selectedRegion: 'eu-central-1', showDirectlyInBrowser: true, \ 50 | sourceFile: 'appimage/*.AppImage', storageClass: 'STANDARD', uploadFromSlave: true, useServerSideEncryption: false]], pluginFailureResultConstraint: 'UNSTABLE', profileName: 'ds9-apps', userMetadata: []]) 51 | step([$class: 'S3BucketPublisher', consoleLogLevel: 'INFO', dontWaitForConcurrentBuildCompletion: false, entries: [[bucket: "ds9-apps/${JOB_NAME}", excludedFile: '', flatten: false, gzipFiles: false, keepForever: false, \ 52 | managedArtifacts: false, noUploadOnFailure: true, selectedRegion: 'eu-central-1', showDirectlyInBrowser: true, \ 53 | sourceFile: 'appimage/*.zsync', storageClass: 'STANDARD', uploadFromSlave: true, useServerSideEncryption: false]], pluginFailureResultConstraint: 'UNSTABLE', profileName: 'ds9-apps', userMetadata: []]) 54 | } 55 | stage('Tests') { 56 | step([$class: 'LogParserPublisher', failBuildOnError: true, projectRulePath: 'appimage-template/parser.rules', showGraphs: true, unstableOnWarning: true, useProjectRule: true]) 57 | } 58 | } 59 | 60 | 61 | 62 | 63 | catch (err) { 64 | 65 | currentBuild.result = "FAILURE" 66 | 67 | echo "FAILURE" 68 | throw err 69 | } 70 | 71 | } 72 | -------------------------------------------------------------------------------- /old/spec/recipe_rspec.rb: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | # frozen_string_literal: true 3 | # 4 | # Copyright (C) 2016 Scarlett Clark 5 | # 6 | # This library is free software; you can redistribute it and/or 7 | # modify it under the terms of the GNU Lesser General Public 8 | # License as published by the Free Software Foundation; either 9 | # version 2.1 of the License, or (at your option) version 3, or any 10 | # later version accepted by the membership of KDE e.V. (or its 11 | # successor approved by the membership of KDE e.V.), which shall 12 | # act as a proxy defined in Section 6 of version 3 of the license. 13 | # 14 | # This library is distributed in the hope that it will be useful, 15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 17 | # Lesser General Public License for more details. 18 | # 19 | # You should have received a copy of the GNU Lesser General Public 20 | # License along with this library. If not, see . 21 | require_relative '../libs/recipe' 22 | require 'yaml' 23 | 24 | metadata = YAML.load_file("/in/spec/metadata.yml") 25 | puts metadata 26 | 27 | describe Recipe do 28 | app = Recipe.new(name: metadata['name']) 29 | describe "#initialize" do 30 | it "Sets the application name" do 31 | expect(app.name).to eq 'xdgurl' 32 | end 33 | end 34 | 35 | # describe 'clean_workspace' do 36 | # it "Cleans the environment" do 37 | # app.clean_workspace 38 | # #expect(Dir["/app/*"].empty?).to be(true), "Please clean up from last build" 39 | # expect(Dir["/out/*"].empty?).to be(true), "AppImage exists, please remove" 40 | # end 41 | # end 42 | 43 | describe 'install_packages' do 44 | it 'Installs distribution packages' do 45 | expect(app.install_packages(packages: metadata['packages'])).to be(0), " Expected 0 exit Status" 46 | end 47 | end 48 | 49 | describe 'clone_repo' do 50 | it 'Clones necessary repos that need to be built from source' do 51 | projecturl = metadata['url'] 52 | expect(app.clone_repo(repo: projecturl)).to be(0), " Expected 0 exit Status" 53 | end 54 | end 55 | 56 | # describe 'get_archives' do 57 | # it 'Uses wget to retrieve archives from the interwebz' do 58 | # expect(app.get_archives(archives: metadata['archives']['loc'])).to be(0), "Expected 0 status" 59 | # end 60 | # end 61 | 62 | describe 'get_git_version' do 63 | it 'Retrieves the version number from the git repo' do 64 | expect(app.get_git_version()).not_to be_nil, "Expected the version not to be nil" 65 | end 66 | end 67 | 68 | describe 'build_make' do 69 | it 'Builds makefile source' do 70 | expect(app.build_make()).to be(0), " Expected 0 exit Status" 71 | end 72 | end 73 | 74 | describe 'gather_integration' do 75 | it 'Gather and adjust desktop file' do 76 | expect(app.gather_integration(desktop: 'xdgurl')).to be(0), " Expected 0 exit Status" 77 | expect(File.exist?("/app/#{app.name}.desktop")).to be(true), "Desktop file does not exist, things will fail" 78 | expect(File.readlines("/app/#{app.name}.desktop").grep(/Icon/).size > 0).to be(true), "No Icon entry in desktop file will fail this operation." 79 | end 80 | end 81 | 82 | describe 'copy_icon' do 83 | it 'Retrieves a suitable icon for integration' do 84 | expect(app.copy_icon(icon: 'emblem-web.png', iconpath: '/usr/share/icons/gnome/48x48/emblems/')).to be(0), " Expected 0 exit Status" 85 | expect(File.exist?("/app/#{app.icon}")).to be(true), "Icon does not exist, things will fail" 86 | end 87 | end 88 | 89 | describe 'run_integration' do 90 | it 'Runs desktop integration to prepare app wrapper' do 91 | expect(app.run_integration()).to be(0), " Expected 0 exit Status" 92 | expect(File.exist?("/app/usr/bin/#{app.name}.wrapper")).to be(true), "Icon does not exist, things will fail" 93 | expect(File.exist?("/app/AppRun")).to be(true), "AppRun missing, things will fail" 94 | end 95 | end 96 | 97 | describe 'copy_dependencies' do 98 | it 'Copies over system installed dependencies' do 99 | expect(app.copy_dependencies(dep_path: metadata['dep_path'])).to be(0), " Expected 0 exit Status" 100 | expect(File.exist?("/#{app.app_dir}/#{app.desktop}.desktop")).to be(true), "Desktop file does not exist, things will fail" 101 | expect(File.exist?("/#{app.app_dir}/#{app.icon}")).to be(true), "Icon does not exist, things will fail" 102 | end 103 | end 104 | 105 | describe 'copy_libs' do 106 | it 'Copies lib dependencies generated with ldd' do 107 | expect(app.copy_libs()).to be(0), " Expected 0 exit Status" 108 | end 109 | end 110 | 111 | describe 'move_lib' do 112 | it 'Moves /lib to ./usr/lib where appimage expects them' do 113 | app.move_lib 114 | expect(Dir["/#{app.app_dir}/lib/*"].empty?).to be(true), "Files still in lib, move them to usr" 115 | end 116 | end 117 | 118 | describe 'delete_blacklisted' do 119 | it 'Deletes blacklisted libraries' do 120 | expect(app.delete_blacklisted()).to be(0), " Expected 0 exit Status" 121 | end 122 | end 123 | 124 | describe 'generate_appimage' do 125 | it 'Generate the appimage' do 126 | expect(app.generate_appimage()).to eq 0 127 | expect(File.exist?("/out/#{app.name}-1.0.1-1-x86_64.AppImage")).to be(true), "Something went wrong, no AppImage" 128 | app.clean_workspace 129 | end 130 | end 131 | end 132 | -------------------------------------------------------------------------------- /old/libs/recipe.rb: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | # frozen_string_literal: true 3 | # 4 | # Copyright (C) 2016 Scarlett Clark 5 | # 6 | # This library is free software; you can redistribute it and/or 7 | # modify it under the terms of the GNU Lesser General Public 8 | # License as published by the Free Software Foundation; either 9 | # version 2.1 of the License, or (at your option) version 3, or any 10 | # later version accepted by the membership of KDE e.V. (or its 11 | # successor approved by the membership of KDE e.V.), which shall 12 | # act as a proxy defined in Section 6 of version 3 of the license. 13 | # 14 | # This library is distributed in the hope that it will be useful, 15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 17 | # Lesser General Public License for more details. 18 | # 19 | # You should have received a copy of the GNU Lesser General Public 20 | # License along with this library. If not, see . 21 | require 'erb' 22 | require 'fileutils' 23 | require 'yaml' 24 | 25 | class Recipe 26 | attr_accessor :name 27 | attr_accessor :arch 28 | attr_accessor :desktop 29 | attr_accessor :icon 30 | attr_accessor :iconpath 31 | attr_accessor :install_path 32 | attr_accessor :packages 33 | attr_accessor :dep_path 34 | attr_accessor :repo 35 | attr_accessor :archives 36 | attr_accessor :md5sum 37 | attr_accessor :version 38 | attr_accessor :app_dir 39 | attr_accessor :configure_options 40 | 41 | def initialize(args = {}) 42 | self.name = args[:name] 43 | self.arch = `arch` 44 | self.install_path = '/app/usr' 45 | self.app_dir = "/#{name}.AppDir" 46 | Dir.mkdir("#{app_dir}") 47 | end 48 | 49 | def clean_workspace(args = {}) 50 | system('rm -rv /app/*') 51 | system('rm -rv /out/*') 52 | end 53 | 54 | def install_packages(args = {}) 55 | self.packages = args[:packages].to_s.gsub(/\,|\[|\]/, '') 56 | system("sudo apt-get -y install git wget #{packages}") 57 | $?.exitstatus 58 | end 59 | 60 | def clone_repo(args = {}) 61 | Dir.mkdir("/app/src") 62 | self.repo = args[:repo] 63 | p "#{repo}" 64 | Dir.chdir('/app/src/') do 65 | system("git clone #{repo}") 66 | end 67 | $?.exitstatus 68 | end 69 | 70 | def get_archives(args = {}) 71 | self.archives = args[:archives] 72 | self.sum = args[:md5sum] 73 | Dir.chdir('/app/src/') 74 | archives.each do |arch| 75 | system("wget #{arch}") 76 | end 77 | $?.exitstatus 78 | end 79 | 80 | def get_git_version(args = {}) 81 | Dir.chdir("/app/src/#{name}") do 82 | self.version = `git describe`.chomp.gsub("release-", "").gsub(/-g.*/, "") 83 | p "#{version}" 84 | end 85 | end 86 | 87 | def build_make(args = {}) 88 | self.configure_options = args[:configure_options] 89 | Dir.chdir("/app/src/#{name}") do 90 | File.exist?("configure") do 91 | system("./configure --prefix=/app/usr' #{configure_options}") 92 | end 93 | system('make -j 8 && sudo make install prefix=/app/usr') 94 | end 95 | $?.exitstatus 96 | end 97 | 98 | def gather_integration(args = {}) 99 | self.desktop = args[:desktop] 100 | Dir.chdir('/app') do 101 | system("cp ./usr/share/applications/#{desktop}.desktop .") 102 | if File.readlines("/app/#{desktop}.desktop").grep(/Icon/).empty? 103 | system("echo 'Icon=' >> /app/#{desktop}.desktop") 104 | end 105 | system("sed -i -e 's|Exec=.*|Exec=#{name}|g' #{desktop}.desktop") 106 | $?.exitstatus 107 | 108 | end 109 | end 110 | 111 | def copy_icon(args = {}) 112 | self.icon = args[:icon] 113 | self.iconpath = args[:iconpath] 114 | Dir.chdir('/app') do 115 | system("cp #{iconpath}#{icon} . ") 116 | system("sed -i -e 's|Icon=.*|Icon=#{icon}|g' #{desktop}.desktop") 117 | $?.exitstatus 118 | end 119 | end 120 | 121 | def run_integration() 122 | system('git clone "https://github.com/probonopd/AppImageKit"') 123 | Dir.chdir("/AppImageKit") do 124 | system('cp --force /in/functions/AppRun AppImageAssistant.AppDir/AppRun') 125 | system('./build.sh') 126 | end 127 | system('cp /AppImageKit/out/AppRun* /app/AppRun') 128 | system('cp /AppImageKit/out/AppImageAssistant* /app/AppImageAssistant') 129 | system('chmod +x AppRun' ) 130 | Dir.chdir('/app') do 131 | system("/bin/bash -xe /in/functions/desktop_integration.sh #{name}") 132 | end 133 | $?.exitstatus 134 | end 135 | 136 | def copy_dependencies(args = {}) 137 | Dir.chdir("/app") do 138 | system("cp -rfv * #{app_dir}") 139 | end 140 | Dir.chdir("#{app_dir}") do 141 | self.dep_path = args[:dep_path] 142 | dep_path.each do |dep| 143 | system("cp --parents -rfv #{dep} .") 144 | end 145 | end 146 | $?.exitstatus 147 | end 148 | 149 | def copy_libs(args = {}) 150 | Dir.chdir("#{app_dir}") do 151 | system("/bin/bash -xe /in/functions/copy_libs.sh") 152 | $?.exitstatus 153 | end 154 | end 155 | 156 | def move_lib(args = {}) 157 | Dir.chdir("#{app_dir}") do 158 | system("/bin/bash -xe /in/functions/move_libs.sh") 159 | $?.exitstatus 160 | end 161 | end 162 | 163 | def delete_blacklisted(args = {}) 164 | Dir.chdir("#{app_dir}") do 165 | system("/bin/bash -xe /in/functions/delete_blacklisted.sh") 166 | $?.exitstatus 167 | end 168 | end 169 | 170 | def generate_appimage(args = {}) 171 | Dir.chdir("/") do 172 | File.write('/in/Recipe', render) 173 | system("/bin/bash -xe /in/Recipe") 174 | end 175 | $?.exitstatus 176 | end 177 | 178 | def render 179 | ERB.new(File.read('/in/libs/Recipe.erb')).result(binding) 180 | end 181 | end 182 | -------------------------------------------------------------------------------- /MustBeUsedInMainJobFiles/Recipe.erb: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Copyright (C) 2016 Scarlett Clark 4 | # 5 | # This library is free software; you can redistribute it and/or 6 | # modify it under the terms of the GNU Lesser General Public 7 | # License as published by the Free Software Foundation; either 8 | # version 2.1 of the License, or (at your option) version 3, or any 9 | # later version accepted by the membership of KDE e.V. (or its 10 | # successor approved by the membership of KDE e.V.), which shall 11 | # act as a proxy defined in Section 6 of version 3 of the license. 12 | # 13 | # This library is distributed in the hope that it will be useful, 14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 | # Lesser General Public License for more details. 17 | # 18 | # You should have received a copy of the GNU Lesser General Public 19 | # License along with this library. If not, see . 20 | 21 | cd / 22 | 23 | # Get helper functions 24 | wget -q https://github.com/probonopd/AppImages/raw/master/functions.sh -O ./functions.sh 25 | . ./functions.sh 26 | rm -f functions.sh 27 | 28 | mkdir /<%= name %>.AppDir/ 29 | 30 | cd / 31 | wget https://github.com/probonopd/linuxdeployqt/releases/download/1/linuxdeployqt-1-x86_64.AppImage 32 | chmod a+x linuxdeployqt-1-x86_64.AppImage 33 | 34 | cd /<%= name %>.AppDir 35 | 36 | #Move binary/desktop/icon into AppDir 37 | mv /opt/usr/bin/<%= binary %> . 38 | mv /opt/usr/share/applications/*<%= binary %>*.desktop <%= binary %>.desktop 39 | cp /opt/usr/share/icons/hicolor/48x48/apps/*<%= name %>* . 40 | 41 | 42 | #All the plugins do not seem to be getting in. Manual copy. 43 | mkdir -p ./plugins; cp -rfv /opt/usr/lib/qt5/plugins/phonon4qt5_backend $_ 44 | #mkdir -p ./usr/lib/qml/ 45 | mkdir -p ./usr/{share,bin,lib} 46 | mkdir ./etc 47 | rsync -aruxv --progress /opt/usr/plugins/ ./plugins/ 48 | rsync -aruxv --progress /opt/usr/share/ ./usr/share/ 49 | rsync -aruxv --progress /opt/etc/ ./etc/ 50 | rsync -aruxv --progress /opt/usr/qml/ ./qml 51 | cp /usr/lib/x86_64-linux-gnu/pulseaudio/*.so* ./usr/lib/ 52 | cp /opt/usr/bin/gst* ./usr/bin/ 53 | mkdir ./lib 54 | rm -rfv /opt/usr/lib/gstreamer-1.0/include 55 | cp /opt/usr/lib/gstreamer-1.0/* ./lib/ 56 | cp /usr/lib/x86_64-linux-gnu/pulseaudio/*.so* ./lib/ 57 | cp -rfv /usr/share/mime ./usr/share/ 58 | cp /etc/mime.types ./etc/ 59 | update-mime-database ./usr/share/mime 60 | 61 | strip -g $(find ./usr/bin) || true 62 | strip -g $(find ./usr/lib) || true 63 | 64 | mv /opt/usr/libexec/kf5/* ./usr/bin/ || true 65 | mv /opt/usr/lib/x86_64-linux-gnu/libexec/kf5/* ./usr/bin/ || true 66 | mv /opt/usr/libexec/gstreamer-1.0/* ./usr/bin || true 67 | cp -rfv /opt/usr/lib/x86_64-linux-gnu/* /opt/usr/lib/ 68 | unset LD_LIBRARY_PATH 69 | ../linuxdeployqt-1-x86_64.AppImage <%= binary %> -verbose=3 -bundle-non-qt-libs -qmldir=/opt/usr/qml 70 | ls ./qml/ 71 | patch_usr 72 | glibc_needed 73 | delete_blacklisted 74 | #Cleanup 75 | # We don't bundle the developer stuff 76 | rm -rf ./usr/include || true 77 | rm -rf ./usr/lib/cmake || true 78 | rm -rf ./lib/cmake || true 79 | rm -rf ./usr/lib/pkgconfig || true 80 | rm -rf ./usr/share/ECM/ || true 81 | rm -rf ./usr/share/gettext || true 82 | rm -rf ./usr/share/pkgconfig || true 83 | rm -rf ./usr/mkspecs/ || true 84 | rm -rf ./usr/gettext-* || true 85 | rm -rf ./usr/autoconf-* || true 86 | rm -rf ./usr/automake-* || true 87 | rm -rf ./usr/libtool-* || true 88 | rm -rf ./libexec || true 89 | rm -rf ./usr/share/cmake-3.7 || true 90 | rm -rf ./usr/share/man || true 91 | rm -rf ./usr/share/doc/ECM || true 92 | rm -rf ./usr/share/doc/libdbusmenu-qt5-doc || true 93 | rm -rf ./usr/share/gtk-doc || true 94 | rm -rf ./usr/share/wallpapers || true 95 | 96 | find . -name '*.a' -exec rm {} \; 97 | get_desktopintegration <%= name %> 98 | cd /app/src 99 | git clone git://anongit.kde.org/scratch/brauch/appimage-exec-wrapper 100 | cd /app/src/appimage-exec-wrapper/ 101 | make clean 102 | make 103 | cp -v exec.so /<%= name %>.AppDir/exec_wrapper.so 104 | rm -rfv /app/src/appimage-exec-wrapper 105 | cd /<%= name %>.AppDir 106 | rm AppRun 107 | #Create AppRun 108 | cat > AppRun << EOF 109 | #!/bin/sh 110 | DIR="\`dirname \"\$0\"\`" 111 | HERE="\`( cd \"\$DIR\" && pwd )\`" 112 | export LD_PRELOAD=\$HERE/exec_wrapper.so 113 | export QML2_IMPORT_PATH=\$HERE/qml 114 | export QT_PLUGIN_PATH=\$HERE/plugins 115 | export PATH=\$HERE/usr/bin/:\$HERE/usr/sbin/:\$HERE/usr/games/:\$HERE/bin/:\$HERE/sbin/:$PATH 116 | export LD_LIBRARY_PATH=\$HERE/usr/lib/:\$HERE/usr/lib/x86_64-linux-gnu/:\$HERE/usr/lib64/:\$HERE/lib/:\$HERE/lib/x86_64-linux-gnu/:\$HERE/lib64/:$LD_LIBRARY_PATH 117 | export XDG_DATA_DIRS=\$HERE/usr/share:\$HOME/.local/share:/usr/local/share/:/usr/share:$XDG_DATA_DIRS 118 | export XDG_DATA_HOME=\$HOME/.local/share 119 | export XDG_CONFIG_DIRS=\$HERE/etc/xdg:$XDG_CONFIG_DIRS 120 | export KDE_FORK_SLAVES=1 121 | export GST_PLUGIN_PATH=\$HERE/lib 122 | export GST_PLUGIN_SCANNER=\$HERE/bin 123 | 124 | <%= binary %> $@ 125 | EOF 126 | chmod +x AppRun 127 | mv <%= binary %> ./usr/bin/ 128 | cp <%= binary %>.desktop ./usr/share/applications/ 129 | cd / 130 | wget "https://github.com/probonopd/AppImageKit/releases/download/knowngood/appimagetool-x86_64.AppImage" 131 | chmod a+x appimagetool-x86_64.AppImage 132 | 133 | ARCH=$(arch) 134 | DATE=$(date +"%Y%m%d") 135 | 136 | APPIMAGEFILENAME="<%= name %>-git$DATE-$ARCH.AppImage" 137 | 138 | #Re set LD_LIBRARY_PATH 139 | export LD_LIBRARY_PATH=/opt/usr/lib:/opt/usr/lib/x86_64-linux-gnu:/usr/lib:/usr/lib64 140 | gpg2 --import /root/.gnupg/appimage.key 141 | ./appimagetool-x86_64.AppImage -v -s -u "zsync|$APPIMAGEFILENAME" /<%= name %>.AppDir /appimage/$APPIMAGEFILENAME 142 | zsyncmake -u "https://s3-eu-central-1.amazonaws.com/ds9-apps/ark-appimage/master/$APPIMAGEFILENAME" -o /appimage/<%= name %>_latestversion.zsync /appimage/$APPIMAGEFILENAME 143 | ls /appimage/ 144 | -------------------------------------------------------------------------------- /libs/sources.rb: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | # frozen_string_literal: true 3 | # 4 | # Copyright (C) 2016 Scarlett Clark 5 | # 6 | # This library is free software; you can redistribute it and/or 7 | # modify it under the terms of the GNU Lesser General Public 8 | # License as published by the Free Software Foundation; either 9 | # version 2.1 of the License, or (at your option) version 3, or any 10 | # later version accepted by the membership of KDE e.V. (or its 11 | # successor approved by the membership of KDE e.V.), which shall 12 | # act as a proxy defined in Section 6 of version 3 of the license. 13 | # 14 | # This library is distributed in the hope that it will be useful, 15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 17 | # Lesser General Public License for more details. 18 | # 19 | # You should have received a copy of the GNU Lesser General Public 20 | # License along with this library. If not, see . 21 | require 'yaml' 22 | 23 | class Sources 24 | attr_accessor :name 25 | 26 | def initialize() 27 | Dir.chdir('/') 28 | unless Dir.exist?("/app/src") 29 | Dir.mkdir("/app/src") 30 | end 31 | Dir.chdir('/app/src/') 32 | end 33 | 34 | def get_source(name, type, url, branch='master') 35 | case "#{type}" 36 | when 'git' 37 | Dir.chdir('/app/src/') 38 | unless Dir.exist?("/app/src/#{name}") 39 | system( "git clone #{url}") 40 | unless branch == 'master' 41 | Dir.chdir("/app/src/#{name}") 42 | system("git checkout #{branch}") 43 | end 44 | end 45 | when 'xz' 46 | Dir.chdir('/app/src/') 47 | unless Dir.exist?("/app/src/#{name}") 48 | system("wget #{url}") 49 | system("tar -xvf #{name}*.tar.xz") 50 | end 51 | when 'gz' 52 | Dir.chdir('/app/src/') 53 | unless Dir.exist?("/app/src/#{name}") 54 | system("wget #{url}") 55 | system("tar -zxvf #{name}*.tar.gz") 56 | end 57 | when 'bz2' 58 | Dir.chdir('/app/src/') 59 | unless Dir.exist?("/app/src/#{name}") 60 | system("wget #{url}") 61 | system("tar -jxvf #{name}.tar.bz2") 62 | end 63 | when 'mercurial' 64 | Dir.chdir('/app/src') 65 | unless Dir.exist?("/app/src/#{name}") 66 | system("hg clone #{url}") 67 | end 68 | when 'bzr' 69 | Dir.chdir('/app/src') 70 | unless Dir.exist?("/app/src/#{name}") 71 | system("bzr branch #{url}") 72 | end 73 | when 'zip' 74 | Dir.chdir('/app/src') 75 | unless Dir.exist?("/app/src/#{name}") 76 | system("wget #{url}") 77 | system("unzip #{name}.zip") 78 | end 79 | when 'none' 80 | p "No sources configured" 81 | else 82 | "You gave me #{type} -- I have no idea what to do with that." 83 | end 84 | $?.exitstatus 85 | end 86 | 87 | def run_build(name, buildsystem, options, path, autoreconf=false, insource=false) 88 | ENV['PATH']='/opt/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' 89 | ENV['LD_LIBRARY_PATH']='/opt/usr/lib:/opt/usr/lib/x86_64-linux-gnu:/usr/lib:/usr/lib/x86_64-linux-gnu:/usr/lib64:/usr/lib:/lib:/lib64' 90 | ENV['CPLUS_INCLUDE_PATH']='/opt/usr:/opt/usr/include:/usr/include' 91 | ENV['CFLAGS']="-g -O2 -fPIC" 92 | ENV['CXXFLAGS']='-std=c++11' 93 | ENV['PKG_CONFIG_PATH']='/opt/usr/lib/pkgconfig:/opt/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig' 94 | ENV['ACLOCAL_PATH']='/opt/usr/share/aclocal:/usr/share/aclocal' 95 | ENV['XDG_DATA_DIRS']='/opt/usr/share:/opt/share:/usr/local/share/:/usr/share:/share' 96 | ENV.fetch('PATH') 97 | ENV.fetch('LD_LIBRARY_PATH') 98 | ENV.fetch('CFLAGS') 99 | ENV.fetch('CXXFLAGS') 100 | ENV.fetch('PKG_CONFIG_PATH') 101 | ENV.fetch('ACLOCAL_PATH') 102 | ENV.fetch('CPLUS_INCLUDE_PATH') 103 | ENV.fetch('XDG_DATA_DIRS') 104 | system( "echo $PATH" ) 105 | system( "echo $LD_LIBRARY_PATH" ) 106 | system( "echo $CFLAGS" ) 107 | system( "echo $CXXFLAGS" ) 108 | system( "echo $PKG_CONFIG_PATH" ) 109 | system( "echo $ACLOCAL_PATH" ) 110 | system( "echo $CPLUS_INCLUDE_PATH" ) 111 | system( "echo $XDG_DATA_DIRS" ) 112 | case "#{buildsystem}" 113 | when 'make' 114 | Dir.chdir("#{path}") do 115 | unless "#{autoreconf}" == true 116 | unless "#{insource}" == true 117 | cmd = "mkdir #{name}-builddir && cd #{name}-builddir && ../configure --prefix=/opt/usr #{options} && make -j 8 && make install" 118 | end 119 | if "#{insource}" == true 120 | cmd = "cd #{name} && ../configure --prefix=/opt/usr #{options} && make -j 8 && make install" 121 | end 122 | p "Running " + cmd 123 | system(cmd) 124 | system("rm -rfv #{name}-builddir") 125 | end 126 | if "#{autoreconf}" == true 127 | p "Running " + cmd 128 | unless "#{insource}" == true 129 | cmd = "autoreconf --force --install && mkdir #{name}-builddir && cd #{name}-builddir && ../configure --prefix=/opt/usr #{options} && make -j 8 && make install prefix=/opt/usr" 130 | end 131 | if "#{insource}" == true 132 | cmd = "autoreconf --force --install && cd #{name} && ../configure --prefix=/opt/usr #{options} && make -j 8 && make install prefix=/opt/usr" 133 | end 134 | system(cmd) 135 | system("rm -rfv #{name}-builddir") 136 | end 137 | end 138 | $?.exitstatus 139 | when 'cmake' 140 | Dir.chdir(path) do 141 | p "running cmake #{options}" 142 | system("mkdir #{name}-builddir && cd #{name}-builddir && cmake #{options} ../ && make -j 8 && make install") 143 | end 144 | $?.exitstatus 145 | when 'custom' 146 | unless "#{name}" == 'cpan' 147 | Dir.chdir("/app/src/#{name}") do 148 | p "running #{options}" 149 | system("#{options}") 150 | end 151 | end 152 | if "#{name}" == 'cpan' 153 | p "running #{options}" 154 | system("#{options}") 155 | end 156 | $?.exitstatus 157 | when 'qmake' 158 | Dir.chdir("#{path}") do 159 | p "running qmake #{options}" 160 | system('echo $PATH') 161 | system("#{options}") 162 | system('make -j 8 && make install') 163 | end 164 | $?.exitstatus 165 | when 'bootstrap' 166 | Dir.chdir(path) do 167 | p "running ./bootstrap #{options}" 168 | system("./bootstrap #{options}") 169 | system('make -j 8 && make install') 170 | end 171 | $?.exitstatus 172 | else 173 | "You gave me #{buildsystem} -- I have no idea what to do with that." 174 | end 175 | end 176 | end 177 | -------------------------------------------------------------------------------- /spec/recipe_rspec.rb: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | # frozen_string_literal: true 3 | # 4 | # Copyright (C) 2016 Scarlett Clark 5 | # 6 | # This library is free software; you can redistribute it and/or 7 | # modify it under the terms of the GNU Lesser General Public 8 | # License as published by the Free Software Foundation; either 9 | # version 2.1 of the License, or (at your option) version 3, or any 10 | # later version accepted by the membership of KDE e.V. (or its 11 | # successor approved by the membership of KDE e.V.), which shall 12 | # act as a proxy defined in Section 6 of version 3 of the license. 13 | # 14 | # This library is distributed in the hope that it will be useful, 15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 17 | # Lesser General Public License for more details. 18 | # 19 | # You should have received a copy of the GNU Lesser General Public 20 | # License along with this library. If not, see . 21 | require_relative '../libs/recipe' 22 | require_relative '../libs/sources' 23 | require 'yaml' 24 | require 'erb' 25 | 26 | metadata = YAML.load_file("/in/data/metadata.yml") 27 | deps = metadata['dependencies'] 28 | puts metadata 29 | 30 | describe Recipe do 31 | app = Recipe.new(name: metadata['name'], binary: metadata['binary']) 32 | describe "#initialize" do 33 | it "Sets the application name" do 34 | expect(app.name).to eq metadata['name'] 35 | expect(app.binary).to eq metadata['binary'] 36 | end 37 | end 38 | 39 | describe 'clean_workspace' do 40 | it "Cleans the environment" do 41 | unless Dir["/in/#{app.name}"].empty? && Dir["/app/*"].empty? 42 | Dir.chdir('/') 43 | app.clean_workspace(name: app.name) 44 | end 45 | expect(Dir["/app/*"].empty?).to be(true), "Please clean up from last build" 46 | end 47 | end 48 | 49 | describe 'install_packages' do 50 | it 'Installs distribution packages' do 51 | expect(app.install_packages(packages: metadata['packages'])).to be(0), " Expected 0 exit Status" 52 | end 53 | end 54 | 55 | describe 'build_non_kf5_dep_sources' do 56 | it 'Builds source dependencies that do not depend on kf5' do 57 | sources = Sources.new 58 | deps = metadata['dependencies'] 59 | deps.each do |dep| 60 | name = dep.values[0]['depname'] 61 | type = dep.values[0]['source'].values_at('type').to_s.gsub(/\,|\[|\]|\"/, '') 62 | url = dep.values[0]['source'].values_at('url').to_s.gsub(/\,|\[|\]|\"/, '') 63 | branch = dep.values[0]['source'].values_at('branch').to_s.gsub(/\,|\[|\]|\"/, '') 64 | buildsystem = dep.values[0]['build'].values_at('buildsystem').to_s.gsub(/\,|\[|\]|\"/, '') 65 | options = dep.values[0]['build'].values_at('buildoptions').to_s.gsub(/\,|\[|\]|\"/, '') 66 | autoreconf = dep.values[0]['build'].values_at('autoreconf').to_s.gsub(/\,|\[|\]|\"/, '') 67 | insource = dep.values[0]['build'].values_at('insource').to_s.gsub(/\,|\[|\]|\"/, '') 68 | path = "/app/src/#{name}" 69 | expect(sources.get_source(name, type, url, branch)).to be(0), " Expected 0 exit Status" 70 | unless name == 'cpan' 71 | expect(Dir.exist?("/app/src/#{name}")).to be(true), "#{name} directory does not exist, something went wrong with source retrieval" 72 | end 73 | unless buildsystem == 'make' 74 | expect(sources.run_build(name, buildsystem, options, path)).to be(0), " Expected 0 exit Status" 75 | end 76 | if buildsystem == 'make' 77 | expect(sources.run_build(name, buildsystem, options, path, autoreconf, insource)).to be(0), " Expected 0 exit Status" 78 | end 79 | end 80 | end 81 | end 82 | 83 | describe 'build_kf5' do 84 | it 'Builds KDE Frameworks from source' do 85 | sources = Sources.new 86 | system('pwd && ls') 87 | kf5 = metadata['frameworks'] 88 | need = kf5['build_kf5'] 89 | frameworks = kf5['frameworks'] 90 | if need == true 91 | frameworks.each do |framework| 92 | path = "/app/src/#{framework}" 93 | if framework == 'phonon' || framework == 'phonon-gstreamer' 94 | options = '-DCMAKE_INSTALL_PREFIX:PATH=/opt/usr -DKDE_INSTALL_SYSCONFDIR=/opt/etc -DBUILD_TESTING=OFF -DPHONON_BUILD_PHONON4QT5=ON -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=TRUE' 95 | expect(sources.get_source(framework, 'git', "https://anongit.kde.org/#{framework}")).to be(0), "Expected 0 exit status" 96 | expect(Dir.exist?("/app/src/#{framework}")).to be(true), "#{framework} directory does not exist, something went wrong with source retrieval" 97 | expect(sources.run_build(framework, 'cmake', options, path)).to be(0), " Expected 0 exit Status" 98 | elsif framework == 'breeze-icons' 99 | options = '-DCMAKE_INSTALL_PREFIX:PATH=/opt/usr -DKDE_INSTALL_SYSCONFDIR=/opt/etc -DBUILD_TESTING=OFF -DBINARY_ICONS_RESOURCE=ON' 100 | expect(sources.get_source(framework, 'git', "https://anongit.kde.org/#{framework}")).to be(0), "Expected 0 exit status" 101 | expect(Dir.exist?("/app/src/#{framework}")).to be(true), "#{framework} directory does not exist, something went wrong with source retrieval" 102 | expect(sources.run_build(framework, 'cmake', options, path)).to be(0), " Expected 0 exit Status" 103 | elsif framework == 'akonadi' 104 | options = '-DCMAKE_INSTALL_PREFIX:PATH=/opt/usr -DKDE_INSTALL_SYSCONFDIR=/opt/etc -DBUILD_TESTING=OFF -DMYSQLD_EXECUTABLE:STRING=/usr/sbin/mysqld-akonadi' 105 | expect(sources.get_source(framework, 'git', "https://anongit.kde.org/#{framework}")).to be(0), "Expected 0 exit status" 106 | expect(Dir.exist?("/app/src/#{framework}")).to be(true), "#{framework} directory does not exist, something went wrong with source retrieval" 107 | expect(sources.run_build(framework, 'cmake', options, path)).to be(0), " Expected 0 exit Status" 108 | else 109 | options = '-DCMAKE_INSTALL_PREFIX:PATH=/opt/usr -DKDE_INSTALL_SYSCONFDIR=/opt/etc -DBUILD_TESTING=OFF' 110 | expect(sources.get_source(framework, 'git', "https://anongit.kde.org/#{framework}")).to be(0), "Expected 0 exit status" 111 | expect(Dir.exist?("/app/src/#{framework}")).to be(true), "#{framework} directory does not exist, something went wrong with source retrieval" 112 | expect(sources.run_build(framework, 'cmake', options, path)).to be(0), " Expected 0 exit Status" 113 | end 114 | end 115 | end 116 | end 117 | end 118 | 119 | describe 'build_kf5_dep_sources' do 120 | it 'Builds source dependencies that depend on kf5' do 121 | sources = Sources.new 122 | kf5 = metadata['frameworks'] 123 | need = kf5['build_kf5'] 124 | frameworks = kf5['frameworks'] 125 | if need == true 126 | deps = metadata['kf5_deps'] 127 | if deps 128 | deps.each do |dep| 129 | name = dep.values[0]['depname'] 130 | type = dep.values[0]['source'].values_at('type').to_s.gsub(/\,|\[|\]|\"/, '') 131 | url = dep.values[0]['source'].values_at('url').to_s.gsub(/\,|\[|\]|\"/, '') 132 | branch = dep.values[0]['source'].values_at('branch').to_s.gsub(/\,|\[|\]|\"/, '') 133 | buildsystem = dep.values[0]['build'].values_at('buildsystem').to_s.gsub(/\,|\[|\]|\"/, '') 134 | options = dep.values[0]['build'].values_at('buildoptions').to_s.gsub(/\,|\[|\]|\"/, '') 135 | path = "/app/src/#{name}" 136 | expect(sources.get_source(name, type, url, branch)).to be(0), " Expected 0 exit Status" 137 | expect(Dir.exist?("/app/src/#{name}")).to be(true), "#{name} directory does not exist, something went wrong with source retrieval" 138 | expect(sources.run_build(name, buildsystem, options, path)).to be(0), " Expected 0 exit Status" 139 | end 140 | end 141 | end 142 | end 143 | end 144 | 145 | 146 | describe 'build_project' do 147 | it 'Retrieves sources that need to be built from source' do 148 | #Main project 149 | sources = Sources.new 150 | name = metadata['name'] 151 | path = "/in/#{name}" 152 | buildsystem = metadata['buildsystem'] 153 | options = metadata['buildoptions'] 154 | expect(Dir.exist?("/in/#{name}")).to be(true), "#{name} directory does not exist, things will fail" 155 | expect(sources.run_build(name, buildsystem, options, path)).to be(0), " Expected 0 exit Status" 156 | p system("qmlimportscanner -rootPath /in/#{name}") 157 | end 158 | end 159 | 160 | describe 'generate_appimage' do 161 | it 'Generate the appimage' do 162 | arch = `arch` 163 | File.write('/in/Recipe', app.render) 164 | expect(app.generate_appimage()).to eq 0 165 | expect(Dir["/appimage/*"].empty?).to be(false), "No Appimage" 166 | `rm -rfv /app/*` 167 | `rm -f functions.sh` 168 | expect(Dir["/app/*"].empty?).to be(true), "Please clean up" 169 | end 170 | end 171 | end 172 | -------------------------------------------------------------------------------- /seed/org.yaml/snakeyaml/ivy-1.5.xml.original: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | org.yaml 5 | snakeyaml 6 | 1.5 7 | jar 8 | 9 | UTF-8 10 | 11 | SnakeYAML 12 | YAML 1.1 parser and emitter for Java 13 | 2008 14 | http://code.google.com/p/snakeyaml/ 15 | 16 | Google Code 17 | http://code.google.com/p/snakeyaml/issues/list 18 | 19 | 20 | 21 | SnakeYAML developers and users List 22 | snakeyaml-core@googlegroups.com 23 | 24 | 25 | 26 | scm:hg:https://snakeyaml.googlecode.com/hg/ 27 | http://code.google.com/p/snakeyaml/source/browse/ 28 | 29 | 30 | 31 | Apache License Version 2.0 32 | LICENSE.txt 33 | 34 | 35 | 36 | 37 | py4fun 38 | Andrey Somov 39 | py4fun@gmail.com 40 | 41 | 42 | alexander.maslov 43 | Alexander Maslov 44 | 45 | 46 | 47 | 48 | junit 49 | junit 50 | 3.8.2 51 | test 52 | 53 | 54 | org.springframework 55 | spring 56 | 2.5.6 57 | test 58 | 59 | 60 | 86 | 87 | 88 | 89 | org.apache.maven.plugins 90 | maven-compiler-plugin 91 | 92 | 1.5 93 | 1.5 94 | 95 | 96 | 97 | maven-surefire-plugin 98 | 99 | 100 | **/*Test.java 101 | 102 | 103 | 104 | 105 | maven-eclipse-plugin 106 | 107 | bin 108 | 109 | 110 | 111 | org.codehaus.mojo 112 | cobertura-maven-plugin 113 | 2.2 114 | 115 | 116 | 80 117 | 95 118 | 119 | 120 | html 121 | xml 122 | 123 | 124 | 125 | 126 | 127 | clean 128 | check 129 | 130 | 131 | 132 | 133 | 134 | org.apache.maven.plugins 135 | maven-changes-plugin 136 | 2.1 137 | 138 | 139 | validate-changes 140 | pre-site 141 | 142 | changes-validate 143 | 144 | 145 | true 146 | 147 | 148 | 149 | 150 | 151 | org.apache.maven.plugins 152 | maven-source-plugin 153 | 154 | 155 | 156 | jar 157 | 158 | 159 | 160 | 161 | 162 | org.apache.maven.plugins 163 | maven-javadoc-plugin 164 | 165 | 166 | http://java.sun.com/javase/6/docs/api/ 167 | 168 | 169 | 170 | 171 | attach-javadocs 172 | 173 | jar 174 | 175 | 176 | 177 | 178 | 200 | 201 | maven-resources-plugin 202 | 203 | UTF-8 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | org.apache.maven.plugins 212 | maven-changes-plugin 213 | 214 | http://code.google.com/p/snakeyaml/issues/detail?id=%ISSUE% 215 | 216 | 217 | 218 | 219 | changes-report 220 | 221 | 222 | 223 | 224 | 225 | org.apache.maven.plugins 226 | maven-surefire-report-plugin 227 | 228 | true 229 | 230 | 231 | 232 | org.codehaus.mojo 233 | cobertura-maven-plugin 234 | 235 | 236 | html 237 | xml 238 | 239 | 240 | 241 | 242 | org.codehaus.mojo 243 | jxr-maven-plugin 244 | 245 | 246 | org.apache.maven.plugins 247 | maven-javadoc-plugin 248 | 249 | 250 | html 251 | 252 | API for ${project.name} ${project.version} 253 | API for ${project.name} ${project.version} 254 | Test API for ${project.name} ${project.version} 255 | Test API for ${project.name} ${project.version} 256 | 257 | 258 | javadoc 259 | 260 | 261 | 262 | 263 | 264 | 265 | 266 | 267 | release 268 | 269 | 270 | performRelease 271 | true 272 | 273 | 274 | 275 | 276 | 277 | org.apache.maven.plugins 278 | maven-gpg-plugin 279 | 1.0-alpha-4 280 | 281 | 282 | sign-artifacts 283 | verify 284 | 285 | sign 286 | 287 | 288 | 289 | 290 | 291 | 292 | 293 | 294 | oss.sonatype.org-releases 295 | OSSRH Release Repository 296 | http://oss.sonatype.org/service/local/staging/deploy/maven2/ 297 | 298 | 299 | oss.sonatype.org-snapshots 300 | OSSRH Snapshot Repository 301 | http://oss.sonatype.org/content/repositories/snapshots/ 302 | false 303 | 304 | 305 | 306 | 307 | 308 | -------------------------------------------------------------------------------- /docker/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:14.04 2 | RUN echo "deb-src http://us.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse" >> /etc/apt/sources.list 3 | RUN echo "deb-src http://ca.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse" >> /etc/apt/sources.list 4 | RUN echo "deb http://ca.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse" >> /etc/apt/sources.list 5 | RUN echo "deb-src http://ca.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse" >> /etc/apt/sources.list 6 | RUN echo "deb http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse" >> /etc/apt/sources.list 7 | RUN echo "deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse" >> /etc/apt/sources.list 8 | RUN rm /bin/sh && ln -s /bin/bash /bin/sh 9 | RUN ln -s -f /bin/true /usr/bin/chfn 10 | RUN apt-get update && apt-get -y upgrade && apt-get -y install \ 11 | # QT + addons and KF5 stack deps 12 | autogen \ 13 | automake \ 14 | autotools-dev \ 15 | bison \ 16 | build-essential \ 17 | bzr \ 18 | docbook-xml \ 19 | docbook-xsl \ 20 | doxygen \ 21 | firebird-dev \ 22 | flex \ 23 | freetds-dev \ 24 | fuse \ 25 | gdb \ 26 | git \ 27 | gperf \ 28 | graphviz \ 29 | gtk-doc-tools \ 30 | gyp \ 31 | hspell \ 32 | itstool \ 33 | libaa1-dev \ 34 | libacl1-dev \ 35 | libasound2-dev \ 36 | libaspell-dev \ 37 | libatspi2.0-dev \ 38 | libatspi2.0-dev \ 39 | libattr1-dev \ 40 | libavc1394-dev \ 41 | libavcodec-dev \ 42 | libavformat-dev \ 43 | libavutil-dev \ 44 | libboost-all-dev \ 45 | libbz2-dev \ 46 | libcaca-dev \ 47 | libcap-dev \ 48 | libcdparanoia-dev \ 49 | libclang-3.8-dev \ 50 | libdbus-1-dev \ 51 | libdc1394-22-dev \ 52 | libdrm-dev \ 53 | libdv4-dev \ 54 | libegl1-mesa-dev \ 55 | libepoxy-dev \ 56 | libevent-dev \ 57 | libexiv2-dev \ 58 | libfam-dev \ 59 | libffi-dev \ 60 | libflac++-dev \ 61 | libflac-dev \ 62 | libfontconfig1-dev \ 63 | libfreetype6-dev \ 64 | libfuse-dev \ 65 | libgbm-dev \ 66 | libgif-dev \ 67 | libgirepository1.0-dev \ 68 | libgl1-mesa-dev \ 69 | libgles2-mesa-dev \ 70 | libglu-dev \ 71 | libglu1-mesa-dev \ 72 | libgmp-dev \ 73 | libgtk-3-dev \ 74 | libgtk2.0-dev \ 75 | libharfbuzz-dev \ 76 | libhunspell-dev \ 77 | libicu-dev \ 78 | libidn11-dev \ 79 | libjack-dev \ 80 | libjpeg-dev \ 81 | libjsoncpp-dev \ 82 | libmagickcore-dev \ 83 | libmagickwand-dev \ 84 | libmtdev-dev \ 85 | libmysqlclient-dev \ 86 | libncurses5-dev \ 87 | libnss3-dev \ 88 | libogg-dev \ 89 | libopenal-dev \ 90 | libopus-dev \ 91 | libp11-kit-dev \ 92 | libpci-dev \ 93 | libpng-dev \ 94 | libpolkit-agent-1-dev \ 95 | libpolkit-backend-1-dev \ 96 | libpolkit-gobject-1-dev \ 97 | libpq-dev \ 98 | libproxy-dev \ 99 | libpulse-dev \ 100 | libraw1394-dev \ 101 | libreadline-dev \ 102 | libshout3-dev \ 103 | libsnappy-dev \ 104 | libsndfile1-dev \ 105 | libsoup2.4-dev \ 106 | libspeex-dev \ 107 | libsphinxbase-dev \ 108 | libsqlite3-dev \ 109 | libsrtp0-dev \ 110 | libssl-dev \ 111 | libstemmer-dev \ 112 | libsystemd-journal-dev \ 113 | libtag1-dev \ 114 | libtheora-dev \ 115 | libts-dev \ 116 | libudev-dev \ 117 | libunbound-dev \ 118 | libunistring-dev \ 119 | libutempter-dev \ 120 | libvisual-0.4-dev \ 121 | libvoikko-dev \ 122 | libvorbis-dev \ 123 | libvorbisidec-dev \ 124 | libvpx-dev \ 125 | libwavpack-dev \ 126 | libwayland-dev \ 127 | libwayland-egl1-mesa \ 128 | libwayland-server0 \ 129 | libwayland0 \ 130 | libwebp-dev \ 131 | libx11-dev \ 132 | libx11-xcb-dev \ 133 | libxcb-composite0-dev \ 134 | libxcb-damage0-dev \ 135 | libxcb-icccm4-dev \ 136 | libxcb-image0-dev \ 137 | libxcb-keysyms1-dev \ 138 | libxcb-randr0-dev \ 139 | libxcb-render-util0-dev \ 140 | libxcb-render0-dev \ 141 | libxcb-shape0-dev \ 142 | libxcb-shm0-dev \ 143 | libxcb-sync-dev \ 144 | libxcb-sync-dev \ 145 | libxcb-xfixes0-dev \ 146 | libxcb-xinerama0-dev \ 147 | libxcb-xkb-dev \ 148 | libxcb-xtest0-dev \ 149 | libxcb1-dev \ 150 | libxcomposite-dev \ 151 | libxcursor-dev \ 152 | libxdamage-dev \ 153 | libxext-dev \ 154 | libxi-dev \ 155 | libxkbcommon-dev \ 156 | libxkbcommon-x11-dev \ 157 | libxkbfile-dev \ 158 | libxml2-dev \ 159 | libxrandr-dev \ 160 | libxrender-dev \ 161 | libxslt1-dev \ 162 | libxss-dev \ 163 | libxtst-dev \ 164 | libxv-dev \ 165 | libyaml-dev \ 166 | media-player-info \ 167 | ninja-build \ 168 | pkg-config \ 169 | publican \ 170 | publicsuffix \ 171 | python-clang-3.8 \ 172 | python-pip \ 173 | python-setuptools \ 174 | python2.7 \ 175 | python2.7-dev \ 176 | re2c \ 177 | ruby \ 178 | software-properties-common \ 179 | sphinxsearch \ 180 | texinfo \ 181 | unixodbc-dev \ 182 | valac \ 183 | wget \ 184 | xmlto \ 185 | xsltproc \ 186 | yasm \ 187 | zlib1g-dev \ 188 | zsync 189 | RUN sudo add-apt-repository -y ppa:wayland.admin/daily-builds && sudo apt-get update && sudo apt-get -y install libinput-dev 190 | RUN add-apt-repository -y ppa:jonathonf/gtk3.18 && sudo apt-get update && sudo apt-get -y install libglib2.0-dev 191 | RUN add-apt-repository -y ppa:jonathonf/mysql && sudo apt-get update && apt-get -y install mysql-server-core-5.7 192 | RUN add-apt-repository -y ppa:ubuntu-toolchain-r/test && apt-get update && apt-get -y install g++-4.9 193 | RUN DEBIAN_FRONTEND=noninteractive apt-get -y install --reinstall linux-image-4.4.0-59 194 | RUN groupadd -g 1000 jenkins 195 | RUN useradd -m -u 1000 -g 1000 -d /home/jenkins jenkins 196 | RUN mkdir -p /{appimage,app} 197 | RUN chown jenkins.jenkins /appimage 198 | RUN chown jenkins.jenkins /app 199 | RUN echo 'jenkins:1234' | chpasswd #changeme 200 | RUN adduser jenkins sudo 201 | RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers 202 | RUN modprobe fuse 203 | RUN usermod -a -G fuse jenkins 204 | RUN chgrp fuse /dev/fuse 205 | RUN echo 'eval "$(rbenv init -)"' >> /etc/profile.d/rbenv.sh 206 | ENV LD_LIBRARY_PATH /opt/usr/lib:/opt/usr/lib/x86_64-linux-gnu:/usr/lib:/usr/lib64 207 | ENV PATH /opt/usr/bin:/home/jenkins/.rbenv/bin:/home/jenkins/.rbenv/shims:$PATH 208 | ENV PKG_CONFIG_PATH /opt/usr/lib/pkgconfig:/opt/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig 209 | ENV CXXFLAGS -std=c++11 210 | #Misc deps too old on trusty 211 | RUN wget http://ftp.x.org/pub/individual/util/util-macros-1.19.0.tar.bz2 && tar -jxvf util-macros-1.19.0.tar.bz2 212 | RUN cd util-macros-1.19.0 && ./configure --prefix /opt/usr && make install && rm /util-macros-1.19.0.tar.bz2 && rm -rfv /util-macros-1.19.0 213 | RUN wget http://ftp.gnu.org/gnu/m4/m4-1.4.18.tar.bz2 && tar -jxvf m4-1.4.18.tar.bz2 214 | RUN cd m4-1.4.18 && autoreconf --force --install && mkdir builddir && cd builddir && ../configure --prefix=/opt/usr --disable-static && make -j 8 && make install && rm /m4-1.4.18.tar.bz2 && rm -rfv /m4-1.4.18 215 | RUN wget http://ftp.gnu.org/pub/gnu/gettext/gettext-0.19.3.tar.gz && tar -xzvf gettext-0.19.3.tar.gz 216 | RUN cd gettext-0.19.3 && ./configure --prefix=/opt/usr --disable-static && make -j 8 && make install && rm /gettext-0.19.3.tar.gz && rm -rfv /gettext-0.19.3 217 | RUN ln -s /usr/bin/python2.7-config /usr/bin/python-config 218 | RUN wget http://ftp.gnome.org/pub/gnome/sources/gobject-introspection/1.46/gobject-introspection-1.46.0.tar.xz && tar -xvf gobject-introspection-1.46.0.tar.xz 219 | RUN cd gobject-introspection-1.46.0 && ./configure --prefix=/opt/usr --disable-static && make -j 8 && make install && rm /gobject-introspection-1.46.0.tar.xz && rm -rfv /gobject-introspection-1.46.0 220 | RUN git clone https://github.com/Kitware/CMake 221 | RUN cd CMake && ./configure --prefix=/opt/usr && make && make install && rm -rfv /CMake 222 | #Python3 too old 223 | RUN wget https://www.python.org/ftp/python/3.5.3/Python-3.5.3.tar.xz && tar -xvf Python-3.5.3.tar.xz 224 | RUN cd Python-3.5.3 && ./configure --prefix=/opt/usr --enable-shared && make -j 8 && make install && rm /Python-3.5.3.tar.xz && rm -rfv /Python-3.5.3 225 | #Build newer gstreamer for sound stack 226 | RUN wget 'https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.10.2.tar.xz' && tar -xvf gstreamer-1.10.2.tar.xz 227 | RUN cd gstreamer-1.10.2 && ./configure --prefix=/opt/usr --disable-static --enable-shared --enable-gst-debug && make && make install && rm /gstreamer-1.10.2.tar.xz && rm -rfv /gstreamer-1.10.2 228 | RUN wget 'https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-1.10.2.tar.xz' && tar -xvf gst-plugins-base-1.10.2.tar.xz 229 | RUN cd gst-plugins-base-1.10.2 && ./configure --prefix=/opt/usr --disable-static --enable-shared --enable-gst-debug && make && make install && rm /gst-plugins-base-1.10.2.tar.xz && rm -rfv /gst-plugins-base-1.10.2 230 | RUN wget 'https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-1.10.2.tar.xz' && tar -xvf gst-plugins-good-1.10.2.tar.xz 231 | RUN cd gst-plugins-good-1.10.2 && ./configure --prefix=/opt/usr --disable-static --enable-shared --enable-gst-debug && make && make install && rm /gst-plugins-good-1.10.2.tar.xz && rm -rfv /gst-plugins-good-1.10.2 232 | #GPG stack for appimage signing 233 | RUN wget https://www.gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-1.26.tar.bz2 234 | RUN tar -jxvf libgpg-error-1.26.tar.bz2 235 | RUN cd libgpg-error-1.26 && autoreconf --force --install && mkdir builddir && cd builddir && ../configure --prefix=/opt/usr --enable-static && make -j 8 && make install 236 | RUN rm /libgpg-error-1.26.tar.bz2 && rm -rfv /libgpg-error-1.26 237 | RUN wget https://www.gnupg.org/ftp/gcrypt/libksba/libksba-1.3.5.tar.bz2 238 | RUN tar -jxvf libksba-1.3.5.tar.bz2 239 | RUN cd libksba-1.3.5 && autoreconf --force --install && mkdir builddir && cd builddir && ../configure --prefix=/opt/usr && make -j 8 && make install 240 | RUN rm /libksba-1.3.5.tar.bz2 && rm -rfv /libksba-1.3.5 241 | RUN wget https://www.gnupg.org/ftp/gcrypt/libassuan/libassuan-2.4.3.tar.bz2 242 | RUN tar -jxvf libassuan-2.4.3.tar.bz2 243 | RUN cd libassuan-2.4.3 && autoreconf --force --install && mkdir builddir && cd builddir && ../configure --prefix=/opt/usr && make -j 8 && make install 244 | RUN rm /libassuan-2.4.3.tar.bz2 && rm -rfv /libassuan-2.4.3 245 | RUN wget https://www.gnupg.org/ftp/gcrypt/npth/npth-1.3.tar.bz2 && tar -jxvf npth-1.3.tar.bz2 246 | RUN cd npth-1.3 && autoreconf --force --install && mkdir builddir && cd builddir && ../configure --prefix=/opt/usr && make -j 8 && make install 247 | RUN rm /npth-1.3.tar.bz2 && rm -rfv /npth-1.3 248 | RUN wget https://www.gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-1.7.5.tar.bz2 && tar -jxvf libgcrypt-1.7.5.tar.bz2 249 | RUN cd libgcrypt-1.7.5 && autoreconf --force --install && mkdir builddir && cd builddir && ../configure --prefix=/opt/usr && make -j 8 && make install && rm /libgcrypt-1.7.5.tar.bz2 && rm -rfv /libgcrypt-1.7.5 250 | RUN wget http://ftp.gnu.org/gnu/libtasn1/libtasn1-4.10.tar.gz && tar -zxvf libtasn1-4.10.tar.gz 251 | RUN cd libtasn1-4.10 && autoreconf --force --install && mkdir builddir && cd builddir && ../configure --prefix=/opt/usr && make -j 8 && make install && rm /libtasn1-4.10.tar.gz && rm -rfv /libtasn1-4.10 252 | RUN wget https://ftp.gnu.org/gnu/nettle/nettle-3.3.tar.gz && tar -zxvf nettle-3.3.tar.gz 253 | RUN cd nettle-3.3 && autoreconf --force --install && mkdir builddir && cd builddir && ../configure --prefix=/opt/usr && make -j 8 && make install && rm /nettle-3.3.tar.gz && rm -rfv /nettle-3.3 254 | RUN wget http://p11-glue.freedesktop.org/releases/p11-kit-0.23.2.tar.gz && tar -zxvf p11-kit-0.23.2.tar.gz 255 | RUN cd p11-kit-0.23.2 && autoreconf --force --install && mkdir builddir && cd builddir && ../configure --prefix=/opt/usr && make -j 8 && make install && rm /p11-kit-0.23.2.tar.gz && rm -rfv /p11-kit-0.23.2 256 | RUN wget ftp://ftp.gnutls.org/gcrypt/gnutls/v3.5/gnutls-3.5.8.tar.xz && tar -xvf gnutls-3.5.8.tar.xz 257 | RUN cd gnutls-3.5.8 && autoreconf --force --install && mkdir builddir && cd builddir && ../configure --prefix=/opt/usr --with-included-libtasn1 && make -j 8 && make install && rm /gnutls-3.5.8.tar.xz && rm -rfv /gnutls-3.5.8 258 | RUN wget http://downloads.sourceforge.net/pcre/pcre-8.35.tar.bz2 && tar -jxvf pcre-8.35.tar.bz2 259 | RUN cd pcre-8.35 && ./configure --prefix=/opt/usr && make && make install && rm /pcre-8.35.tar.bz2 && rm -rfv /pcre-8.35 260 | RUN wget http://www.cups.org/software/1.7.5/cups-1.7.5-source.tar.bz2 && tar -jxvf cups-1.7.5-source.tar.bz2 261 | RUN cd cups-1.7.5 && aclocal -I config-scripts && autoconf -I config-scripts && ./configure --prefix=/opt/usr && make -j 8 && make install && rm -rfv /cups-1.7.5 && rm /cups-1.7.5-source.tar.bz2 262 | # # Build Qt5.8 and install to /opt/usr 263 | RUN wget http://qt.mirrors.tds.net/qt/archive/qt/5.8/5.8.0/single/qt-everywhere-opensource-src-5.8.0.tar.gz && tar -zxvf qt-everywhere-opensource-src-5.8.0.tar.gz 264 | RUN cd qt-everywhere-opensource-src-5.8.0 && ./configure -v -release -opensource -confirm-license -dbus -qt-xcb -feature-accessibility -opengl es2 -system-sqlite -nomake examples -nomake tests -prefix /opt/usr && make && make install 265 | RUN rm /qt-everywhere-opensource-src-5.8.0.tar.gz && rm -rfv /qt-everywhere-opensource-src-5.8.0 266 | RUN wget http://download.qt.io/community_releases/5.8/5.8.0/qtwebkit-opensource-src-5.8.0.tar.xz && tar -xvf qtwebkit-opensource-src-5.8.0.tar.xz 267 | RUN cd qtwebkit-opensource-src-5.8.0 && Tools/Scripts/build-webkit --qt --qmakearg="PREFIX+=/opt/usr" && qmake PREFIX=/opt/usr WebKit.pro && make && make install 268 | RUN rm /qtwebkit-opensource-src-5.8.0.tar.xz && rm -rfv /qtwebkit-opensource-src-5.8.0 269 | # Various external Qt relelated modules addons 270 | RUN git clone http://code.qt.io/qt/qtstyleplugins.git 271 | RUN cd qtstyleplugins && qmake PREFIX=/opt/usr . && make && make install && rm -rfv /qtstyleplugins 272 | RUN git clone https://code.qt.io/cgit/qt/qtquick1.git 273 | RUN cd qtquick1 && qmake PREFIX=/opt/usr . && make && make install && rm -rfv /qtquick1 274 | RUN git clone https://code.qt.io/qt/qtspeech.git 275 | RUN cd qtspeech && qmake PREFIX=/opt/usr . && make && make install && rm -rfv /qtspeech 276 | RUN git clone https://github.com/flavio/qjson 277 | RUN cd qjson && cmake -DCMAKE_INSTALL_PREFIX:PATH=/opt/usr && make && make install && rm -rfv /qjson 278 | RUN bzr branch lp:libdbusmenu-qt 279 | RUN cd libdbusmenu-qt && cmake -DCMAKE_INSTALL_PREFIX:PATH=/opt/usr && make && make install && rm -rfv /libdbusmenu-qt 280 | RUN wget 'https://gstreamer.freedesktop.org/src/qt-gstreamer/qt-gstreamer-1.2.0.tar.xz' && tar -xvf qt-gstreamer-1.2.0.tar.xz 281 | RUN cd qt-gstreamer-1.2.0 && cmake -DCMAKE_INSTALL_PREFIX:PATH=/opt/usr -DQT_VERSION=5 -DCMAKE_REQUIRED_INCLUDES=/opt/usr/include/gstreamer-1.0/ \ 282 | -DQTGSTREAMER_STATIC=OFF -DQTGSTREAMER_EXAMPLES=OFF && make && make install && rm /qt-gstreamer-1.2.0.tar.xz && rm -rfv /qt-gstreamer-1.2.0 283 | RUN git clone https://github.com/steveire/grantlee 284 | RUN cd grantlee && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX:PATH=/opt/usr CMAKE_BUILD_TYPE=Release .. && cmake --build . && cmake --build . --target install && rm -rfv /grantlee 285 | RUN wget https://poppler.freedesktop.org/poppler-0.51.0.tar.xz && tar -xvf poppler-0.51.0.tar.xz 286 | RUN cd poppler-0.51.0 && mkdir build && cd build && ../configure --prefix=/opt/usr -sysconfdir=/opt/etc --disable-static --enable-build-type=release \ 287 | --enable-cmyk --enable-xpdf-headers --enable-poppler-qt5 && make && make install && rm /poppler-0.51.0.tar.xz && rm -rfv /poppler-0.51.0 288 | RUN wget http://sourceforge.net/projects/pyqt/files/sip/sip-4.16.5/sip-4.16.5.tar.gz && tar -zxvf sip-4.16.5.tar.gz 289 | RUN cd sip-4.16.5 && python3 configure.py --destdir /opt/usr && make && make install 290 | RUN wget https://downloads.sourceforge.net/project/pyqt/PyQt5/PyQt-5.3.2/PyQt-gpl-5.3.2.tar.gz && tar -zxvf PyQt-gpl-5.3.2.tar.gz 291 | RUN ln -s /opt/usr/include/python3.5m /usr/local/include/python3.5 292 | RUN sed -i "s#'webkitwidgets'#'webkitwidgets', 'printsupport'#g" PyQt-gpl-5.3.2/configure.py 293 | RUN cd /PyQt-gpl-5.3.2 && python3 configure.py --confirm-license --destdir /opt/usr --sip-incdir /opt/usr/include/python3.5m/ && make && make install 294 | RUN rm -rfv PyQt-gpl-5.3.2 && rm PyQt-gpl-5.3.2.tar.gz && rm sip-4.16.5.tar.gz && rm -rfv sip-4.16.5 295 | RUN wget http://download.kde.org/stable/qca/2.1.1/src/qca-2.1.1.tar.xz && tar -xvf qca-2.1.1.tar.xz 296 | RUN cd qca-2.1.1 && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX:PATH=/opt/usr .. && cmake --build . && cmake --build . --target install && rm /qca-2.1.1.tar.xz && rm -rfv /qca-2.1.1 297 | RUN git clone https://github.com/ayoy/qoauth 298 | RUN cd qoauth && qmake '"PREFIX = /opt/usr" "QT += widgets" "QT += webkitwidgets" "CONFIG += crypto" "DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x000000"' src/src.pro && make && make install && rm -rfv /qoauth 299 | RUN git clone git://git.gnupg.org/gpgme.git 300 | RUN cd gpgme && autoreconf --force --install && mkdir builddir && cd builddir && ../configure --prefix=/opt/usr && make -j 8 && make install 301 | RUN rm -rfv /gpgme 302 | RUN wget https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-2.1.17.tar.bz2 && tar -jxvf gnupg-2.1.17.tar.bz2 303 | RUN cd gnupg-2.1.17 && autoreconf --force --install && mkdir builddir && cd builddir && ../configure --prefix=/opt/usr && make -j 8 && make install && rm /gnupg-2.1.17.tar.bz2 && rm -rfv /gnupg-2.1.17 304 | RUN git clone https://github.com/ximion/appstream 305 | RUN cd appstream && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX:PATH=/opt/usr -DQT=ON ../ && make && make install && rm -rfv /appstream 306 | RUN echo 'eval "$(rbenv init -)"' >> /etc/profile 307 | ENV PATH /opt/usr/bin:/root/.rbenv/bin:/root/.rbenv/shims:$PATH 308 | # Install rbenv and ruby-build 309 | ADD ./Gemfile /Gemfile 310 | RUN echo 'gem: --no-rdoc --no-ri' >> /home/jenkins/.gemrc 311 | RUN git clone https://github.com/sstephenson/rbenv.git /root/.rbenv 312 | RUN git clone https://github.com/sstephenson/ruby-build.git /root/.rbenv/plugins/ruby-build 313 | RUN rbenv install 2.3.1 314 | RUN echo 'eval "$(rbenv init -)"' >> /root/.bashrc && rbenv init - 315 | RUN rbenv local 2.3.1 && gem install bundler && gem install logger -v '1.2.8' && bundle install --binstubs && bundle show rspec 316 | -------------------------------------------------------------------------------- /seed/org.yaml/snakeyaml/ivy-1.13.xml.original: -------------------------------------------------------------------------------- 1 | 2 | 4.0.0 3 | org.yaml 4 | snakeyaml 5 | 1.13 6 | bundle 7 | 8 | UTF-8 9 | 10 | SnakeYAML 11 | YAML 1.1 parser and emitter for Java 12 | 2008 13 | http://www.snakeyaml.org 14 | 15 | Google Code 16 | http://code.google.com/p/snakeyaml/issues/list 17 | 18 | 22 | 23 | 24 | SnakeYAML developers and users List 25 | snakeyaml-core@googlegroups.com 26 | 27 | 28 | 29 | scm:hg:http://snakeyaml.googlecode.com/hg 30 | scm:hg:https://snakeyaml.googlecode.com/hg 31 | http://code.google.com/p/snakeyaml/source/browse/ 32 | 33 | 34 | 35 | Apache License Version 2.0 36 | LICENSE.txt 37 | 38 | 39 | 40 | 41 | py4fun 42 | Andrey Somov 43 | py4fun@gmail.com 44 | 45 | 46 | maslovalex 47 | Alexander Maslov 48 | alexander.maslov@gmail.com 49 | 50 | 51 | Jordan 52 | Jordan Angold 53 | jordanangold@gmail.com 54 | 55 | 56 | 57 | 58 | junit 59 | junit 60 | 4.7 61 | test 62 | 63 | 64 | org.springframework 65 | spring 66 | 2.5.6 67 | test 68 | 69 | 70 | org.apache.velocity 71 | velocity 72 | 1.6.2 73 | test 74 | 75 | 76 | joda-time 77 | joda-time 78 | 1.6 79 | test 80 | 81 | 82 | 83 | 84 | sonatype-nexus-staging 85 | Nexus Release Repository 86 | http://oss.sonatype.org/service/local/staging/deploy/maven2/ 87 | 88 | 89 | sonatype-nexus-snapshots 90 | Sonatype Nexus Snapshots 91 | http://oss.sonatype.org/content/repositories/snapshots/ 92 | false 93 | 94 | 95 | 96 | 97 | 98 | org.apache.maven.plugins 99 | maven-compiler-plugin 100 | 2.3.2 101 | 102 | 1.5 103 | 1.5 104 | ${project.build.sourceEncoding} 105 | 106 | 107 | 108 | org.apache.maven.plugins 109 | maven-surefire-plugin 110 | 2.6 111 | 112 | -Xmx512m 113 | 114 | **/*Test.java 115 | 116 | 117 | **/StressTest.java 118 | **/ParallelTest.java 119 | 120 | 121 | 122 | 123 | org.apache.maven.plugins 124 | maven-eclipse-plugin 125 | 2.8 126 | 127 | bin 128 | 129 | 130 | 131 | org.codehaus.mojo 132 | cobertura-maven-plugin 133 | 2.5.1 134 | 135 | 136 | 80 137 | 95 138 | 139 | 140 | html 141 | xml 142 | 143 | 144 | 145 | org/yaml/snakeyaml/external/** 146 | 147 | 148 | 149 | 150 | 151 | 152 | clean 153 | check 154 | 155 | 156 | 157 | 158 | 159 | org.apache.maven.plugins 160 | maven-changes-plugin 161 | 2.5 162 | 163 | 164 | validate-changes 165 | pre-site 166 | 167 | changes-validate 168 | 169 | 170 | true 171 | 172 | 173 | 174 | 175 | 176 | org.apache.maven.plugins 177 | maven-source-plugin 178 | 2.1.2 179 | 180 | 181 | 182 | jar 183 | 184 | 185 | 186 | 187 | 188 | org.apache.maven.plugins 189 | maven-javadoc-plugin 190 | 2.8 191 | 192 | 193 | http://java.sun.com/javase/6/docs/api/ 194 | 195 | 196 | 197 | 198 | attach-javadocs 199 | 200 | jar 201 | 202 | 203 | 204 | 205 | 206 | com.mycila.maven-license-plugin 207 | maven-license-plugin 208 | 1.9.0 209 | 210 |
src/etc/header.txt
211 | false 212 | true 213 | false 214 | 215 | src/**/*.java 216 | 217 | 218 | src/main/java/org/yaml/snakeyaml/external/** 219 | 220 | true 221 | true 222 | true 223 | UTF-8 224 |
225 | 226 | 227 | site 228 | 229 | format 230 | 231 | 232 | 233 |
234 | 235 | org.apache.felix 236 | maven-bundle-plugin 237 | 2.3.4 238 | true 239 | 240 | 241 | <_nouses>true 242 | 243 | !org.yaml.snakeyaml.external*, 244 | org.yaml.snakeyaml.*;version=${project.version} 245 | 246 | J2SE-1.5 247 | 248 | 249 | 250 |
251 |
252 | 253 | 254 | 255 | org.apache.maven.plugins 256 | maven-changes-plugin 257 | 2.3 258 | 259 | http://code.google.com/p/snakeyaml/issues/detail?id=%ISSUE% 260 | 261 | 262 | 263 | 264 | changes-report 265 | 266 | 267 | 268 | 269 | 270 | org.apache.maven.plugins 271 | maven-surefire-report-plugin 272 | 2.6 273 | 274 | true 275 | 276 | 277 | 278 | org.codehaus.mojo 279 | cobertura-maven-plugin 280 | 2.5.1 281 | 282 | 283 | html 284 | xml 285 | 286 | 287 | 288 | 289 | org.apache.maven.plugins 290 | maven-jxr-plugin 291 | 2.2 292 | 293 | 294 | org.apache.maven.plugins 295 | maven-javadoc-plugin 296 | 2.8 297 | 298 | 299 | html 300 | 301 | API for ${project.name} ${project.version} 302 | API for ${project.name} ${project.version} 303 | Test API for ${project.name} ${project.version} 304 | Test API for ${project.name} ${project.version} 305 | 306 | 307 | javadoc 308 | 309 | 310 | 311 | 312 | 313 | 314 | 315 | 316 | release 317 | 318 | 319 | performRelease 320 | true 321 | 322 | 323 | 324 | 325 | 326 | org.apache.maven.plugins 327 | maven-gpg-plugin 328 | 1.1 329 | 330 | 331 | sign-artifacts 332 | verify 333 | 334 | sign 335 | 336 | 337 | 338 | 339 | 340 | 341 | 342 | 343 | fast 344 | 345 | 346 | 347 | org.apache.maven.plugins 348 | maven-surefire-plugin 349 | 2.6 350 | 351 | 352 | **/*Test.java 353 | 354 | 355 | **/stress/** 356 | org/yaml/snakeyaml/recursive/generics/HumanGenericsTest.java 357 | 358 | 359 | 360 | 361 | 362 | 363 | 364 | findbugs 365 | 366 | 367 | 368 | org.codehaus.mojo 369 | findbugs-maven-plugin 370 | 2.4.0 371 | 372 | 373 | org.apache.maven.plugins 374 | maven-pmd-plugin 375 | 2.6 376 | 377 | 378 | 379 | 380 | 381 | 382 | org.codehaus.mojo 383 | findbugs-maven-plugin 384 | 2.4.0 385 | 386 | 387 | org.apache.maven.plugins 388 | maven-pmd-plugin 389 | 2.6 390 | 391 | true 392 | utf-8 393 | 100 394 | 1.5 395 | 396 | **/external/*.java 397 | 398 | 399 | 400 | 401 | 402 | 403 | 404 | maven-3 405 | 406 | 407 | 409 | ${basedir} 410 | 411 | 412 | 413 | 414 | 415 | 416 | org.apache.maven.plugins 417 | maven-site-plugin 418 | 3.0 419 | 420 | 421 | 422 | 423 | 424 | maven-site-plugin 425 | 426 | 427 | attach-descriptor 428 | 429 | attach-descriptor 430 | 431 | 432 | 433 | 434 | 435 | 436 | 437 | 438 | android 439 | 440 | ${project.build.directory}/android/src/ 441 | ${project.build.directory}/android/classes/ 442 | ${project.build.directory}/android/test-classes/ 443 | 444 | 445 | 446 | 447 | maven-resources-plugin 448 | 2.5 449 | 450 | 451 | copy-src-for-android 452 | generate-sources 453 | 454 | copy-resources 455 | 456 | 457 | ${android.src} 458 | 459 | 460 | ${basedir}/src/main/java 461 | false 462 | 463 | org/yaml/snakeyaml/introspector/MethodProperty.java 464 | 465 | 466 | 467 | 468 | 469 | 470 | copy-test-resources-for-android 471 | process-test-resources 472 | 473 | copy-resources 474 | 475 | 476 | ${android.test.classes} 477 | 478 | 479 | ${basedir}/src/test/resources 480 | 481 | 482 | 483 | 484 | 485 | 486 | 487 | 488 | org.apache.maven.plugins 489 | maven-patch-plugin 490 | 1.1.1 491 | 492 | ${basedir}/src/patches/android/ 493 | ${android.src} 494 | false 495 | 4 496 | 497 | 498 | 499 | android-patches 500 | process-sources 501 | 502 | apply 503 | 504 | 505 | ${project.build.directory}/android/patches-applied.txt 506 | true 507 | 508 | 509 | 510 | 511 | 512 | org.apache.maven.plugins 513 | maven-antrun-plugin 514 | 1.7 515 | 516 | 517 | build-for-android 518 | compile 519 | 520 | run 521 | 522 | 523 | 524 | 525 | 526 | 527 | 528 | 529 | 530 | 531 | 532 | 533 | 534 | 535 | 536 | 537 | 538 | 539 | 540 | 541 | 542 | 543 | 544 | 545 | maven-surefire-plugin 546 | 547 | 548 | test-android 549 | test 550 | 551 | test 552 | 553 | 554 | ${android.classes} 555 | ${project.build.directory}/android/surefire-reports 556 | ${android.test.classes} 557 | 562 | true 563 | 564 | 565 | 566 | 567 | 568 | maven-jar-plugin 569 | 570 | 571 | package-android-jar 572 | package 573 | 574 | jar 575 | 576 | 577 | ${android.classes} 578 | android 579 | 580 | 581 | 582 | 583 | 584 | 585 | 586 | 587 |
588 | -------------------------------------------------------------------------------- /log.txt: -------------------------------------------------------------------------------- 1 | Sending build context to Docker daemon 19.97 kB 2 | Step 1 : FROM ubuntu:14.04 3 | ---> 0ccb13bf1954 4 | Step 2 : RUN echo "deb-src http://us.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse" >> /etc/apt/sources.list 5 | ---> Using cache 6 | ---> aa05f8c142e9 7 | Step 3 : RUN echo "deb-src http://ca.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse" >> /etc/apt/sources.list 8 | ---> Using cache 9 | ---> 4e6751f86657 10 | Step 4 : RUN echo "deb http://ca.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse" >> /etc/apt/sources.list 11 | ---> Using cache 12 | ---> a02dacffcd83 13 | Step 5 : RUN echo "deb-src http://ca.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse" >> /etc/apt/sources.list 14 | ---> Using cache 15 | ---> 8f797142e676 16 | Step 6 : RUN echo "deb http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse" >> /etc/apt/sources.list 17 | ---> Using cache 18 | ---> 9099030bf274 19 | Step 7 : RUN echo "deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse" >> /etc/apt/sources.list 20 | ---> Using cache 21 | ---> 5fd76836101c 22 | Step 8 : RUN rm /bin/sh && ln -s /bin/bash /bin/sh 23 | ---> Using cache 24 | ---> 7cead70abfb8 25 | Step 9 : RUN ln -s -f /bin/true /usr/bin/chfn 26 | ---> Using cache 27 | ---> 95cbdc494714 28 | Step 10 : RUN apt-get update && apt-get -y upgrade && apt-get -y install autogen automake autotools-dev bison build-essential bzr docbook-xml docbook-xsl doxygen firebird-dev flex freetds-dev fuse gdb git gobject-introspection gperf graphviz gtk-doc-tools gyp hspell itstool libaa1-dev libacl1-dev libasound2-dev libaspell-dev libatspi2.0-dev libatspi2.0-dev libattr1-dev libavc1394-dev libavcodec-dev libavformat-dev libavutil-dev libboost-all-dev libbz2-dev libcaca-dev libcap-dev libcdparanoia-dev libclang-3.8-dev libdbus-1-dev libdc1394-22-dev libdrm-dev libdv4-dev libegl1-mesa-dev libepoxy-dev libevent-dev libexiv2-dev libfam-dev libffi-dev libflac++-dev libflac-dev libfontconfig1-dev libfreetype6-dev libfuse-dev libgbm-dev libgif-dev libgirepository1.0-dev libgl1-mesa-dev libgles2-mesa-dev libglu-dev libglu1-mesa-dev libgmp-dev libgtk-3-dev libgtk2.0-dev libharfbuzz-dev libhunspell-dev libicu-dev libidn11-dev libjack-dev libjpeg-dev libjsoncpp-dev libmagickcore-dev libmagickwand-dev libmtdev-dev libmysqlclient-dev libncurses5-dev libnss3-dev libogg-dev libopenal-dev libopus-dev libp11-kit-dev libpci-dev libpng-dev libpolkit-agent-1-dev libpolkit-backend-1-dev libpolkit-gobject-1-dev libpq-dev libproxy-dev libpulse-dev libraw1394-dev libreadline-dev libshout3-dev libsnappy-dev libsndfile1-dev libsoup2.4-dev libspeex-dev libsphinxbase-dev libsqlite3-dev libsrtp0-dev libssl-dev libstemmer-dev libsystemd-journal-dev libtag1-dev libtheora-dev libts-dev libudev-dev libunbound-dev libunistring-dev libutempter-dev libvisual-0.4-dev libvoikko-dev libvorbis-dev libvorbisidec-dev libvpx-dev libwavpack-dev libwayland-dev libwayland-egl1-mesa libwayland-server0 libwayland0 libwebp-dev libx11-dev libx11-xcb-dev libxcb-composite0-dev libxcb-damage0-dev libxcb-icccm4-dev libxcb-image0-dev libxcb-keysyms1-dev libxcb-randr0-dev libxcb-render-util0-dev libxcb-render0-dev libxcb-shape0-dev libxcb-shm0-dev libxcb-sync-dev libxcb-sync-dev libxcb-xfixes0-dev libxcb-xinerama0-dev libxcb-xkb-dev libxcb-xtest0-dev libxcb1-dev libxcomposite-dev libxcursor-dev libxdamage-dev libxext-dev libxi-dev libxkbcommon-dev libxkbcommon-x11-dev libxkbfile-dev libxml2-dev libxrandr-dev libxrender-dev libxslt1-dev libxss-dev libxtst-dev libxv-dev libyaml-dev media-player-info ninja-build pkg-config publican publicsuffix python-clang-3.8 python-pip python-setuptools python2.7 python2.7-dev re2c ruby software-properties-common sphinxsearch texinfo unixodbc-dev valac wget xmlto xsltproc yasm zlib1g-dev zsync 29 | ---> Using cache 30 | ---> c4cc7094823d 31 | Step 11 : RUN sudo add-apt-repository -y ppa:wayland.admin/daily-builds && sudo apt-get update && sudo apt-get -y install libinput-dev 32 | ---> Using cache 33 | ---> cd2845af684f 34 | Step 12 : RUN add-apt-repository -y ppa:ubuntu-toolchain-r/test && apt-get update && apt-get -y install g++-4.9 35 | ---> Using cache 36 | ---> 2718735679cb 37 | Step 13 : RUN DEBIAN_FRONTEND=noninteractive apt-get -y install --reinstall linux-image-4.4.0-59 38 | ---> Using cache 39 | ---> d7f855c1aaeb 40 | Step 14 : RUN groupadd -g 1000 jenkins 41 | ---> Using cache 42 | ---> 0f1521b05c7b 43 | Step 15 : RUN useradd -m -u 1000 -g 1000 -d /home/jenkins jenkins 44 | ---> Using cache 45 | ---> 00e93b6c1fc4 46 | Step 16 : RUN mkdir -p /{appimage,app} 47 | ---> Using cache 48 | ---> 81ac74448baf 49 | Step 17 : RUN chown jenkins.jenkins /appimage 50 | ---> Using cache 51 | ---> a42c763772d4 52 | Step 18 : RUN chown jenkins.jenkins /app 53 | ---> Using cache 54 | ---> 01f531bd0b4b 55 | Step 19 : RUN echo 'jenkins:1234' | chpasswd #changeme 56 | ---> Using cache 57 | ---> b825442b6705 58 | Step 20 : RUN adduser jenkins sudo 59 | ---> Using cache 60 | ---> ff9bbbfbedd2 61 | Step 21 : RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers 62 | ---> Using cache 63 | ---> 85c5ab4c544b 64 | Step 22 : RUN modprobe fuse 65 | ---> Using cache 66 | ---> 7e991f855e2f 67 | Step 23 : RUN usermod -a -G fuse jenkins 68 | ---> Using cache 69 | ---> 9de59549c0dc 70 | Step 24 : RUN chgrp fuse /dev/fuse 71 | ---> Using cache 72 | ---> 38c2f8c80006 73 | Step 25 : RUN echo 'eval "$(rbenv init -)"' >> /etc/profile.d/rbenv.sh 74 | ---> Using cache 75 | ---> 9ce395d92f54 76 | Step 26 : ENV LD_LIBRARY_PATH /opt/usr/lib:/opt/usr/lib/x86_64-linux-gnu:/usr/lib:/usr/lib64 77 | ---> Using cache 78 | ---> 6741b3be5edc 79 | Step 27 : ENV PATH /opt/usr/bin:/home/jenkins/.rbenv/bin:/home/jenkins/.rbenv/shims:$PATH 80 | ---> Using cache 81 | ---> 076461467dd0 82 | Step 28 : ENV PKG_CONFIG_PATH /opt/usr/lib/pkgconfig:/opt/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig 83 | ---> Using cache 84 | ---> 3254687bcc4e 85 | Step 29 : ENV CXXFLAGS -std=c++11 86 | ---> Using cache 87 | ---> 933d119d555d 88 | Step 30 : RUN wget http://ftp.gnome.org/pub/gnome/sources/glib/2.46/glib-2.46.2.tar.xz && tar -xvf glib-2.46.2.tar.xz 89 | ---> Using cache 90 | ---> 6b60622fbb9c 91 | Step 31 : RUN cd glib-2.46.2 && autoreconf --force --install && mkdir builddir && cd builddir && ../configure --prefix=/opt/usr && make -j 8 && make install && rm /glib-2.46.2.tar.xz && rm -rfv /glib-2.46.2 92 | ---> Using cache 93 | ---> ff81d9ea8e28 94 | Step 32 : RUN wget http://ftp.x.org/pub/individual/util/util-macros-1.19.0.tar.bz2 && tar -jxvf util-macros-1.19.0.tar.bz2 95 | ---> Using cache 96 | ---> 8b9636c4d4d8 97 | Step 33 : RUN cd util-macros-1.19.0 && ./configure --prefix /opt/usr && make install && rm /util-macros-1.19.0.tar.bz2 && rm -rfv /util-macros-1.19.0 98 | ---> Using cache 99 | ---> d93744ce9a40 100 | Step 34 : RUN wget http://ftp.gnu.org/gnu/m4/m4-1.4.18.tar.bz2 && tar -jxvf m4-1.4.18.tar.bz2 101 | ---> Using cache 102 | ---> 8c5c0cff67f3 103 | Step 35 : RUN cd m4-1.4.18 && autoreconf --force --install && mkdir builddir && cd builddir && ../configure --prefix=/opt/usr --disable-static && make -j 8 && make install && rm /m4-1.4.18.tar.bz2 && rm -rfv /m4-1.4.18 104 | ---> Using cache 105 | ---> f67a660d589d 106 | Step 36 : RUN wget http://ftp.gnu.org/pub/gnu/gettext/gettext-0.19.3.tar.gz && tar -xzvf gettext-0.19.3.tar.gz 107 | ---> Using cache 108 | ---> 3faff26e96e9 109 | Step 37 : RUN cd gettext-0.19.3 && ./configure --prefix=/opt/usr --disable-static && make -j 8 && make install && rm /gettext-0.19.3.tar.gz && rm -rfv /gettext-0.19.3 110 | ---> Using cache 111 | ---> f986f9903f57 112 | Step 38 : RUN git clone https://github.com/Kitware/CMake 113 | ---> Using cache 114 | ---> 7ec479fb6d05 115 | Step 39 : RUN cd CMake && ./configure --prefix=/opt/usr && make && make install && rm -rfv /CMake 116 | ---> Using cache 117 | ---> 515e707d95ef 118 | Step 40 : RUN wget https://www.python.org/ftp/python/3.5.3/Python-3.5.3.tar.xz && tar -xvf Python-3.5.3.tar.xz 119 | ---> Using cache 120 | ---> 1946a998f97f 121 | Step 41 : RUN cd Python-3.5.3 && ./configure --prefix=/opt/usr --enable-shared && make -j 8 && make install && rm /Python-3.5.3.tar.xz && rm -rfv /Python-3.5.3 122 | ---> Using cache 123 | ---> 4d1f9d9ea9a9 124 | Step 42 : RUN wget 'https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.10.2.tar.xz' && tar -xvf gstreamer-1.10.2.tar.xz 125 | ---> Using cache 126 | ---> 0bbc73f9285c 127 | Step 43 : RUN cd gstreamer-1.10.2 && ./configure --prefix=/opt/usr --disable-static --enable-shared --enable-gst-debug && make && make install && rm /gstreamer-1.10.2.tar.xz && rm -rfv /gstreamer-1.10.2 128 | ---> Using cache 129 | ---> 16985fc391b5 130 | Step 44 : RUN wget 'https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-1.10.2.tar.xz' && tar -xvf gst-plugins-base-1.10.2.tar.xz 131 | ---> Using cache 132 | ---> d7f3338ab377 133 | Step 45 : RUN cd gst-plugins-base-1.10.2 && ./configure --prefix=/opt/usr --disable-static --enable-shared --enable-gst-debug && make && make install && rm /gst-plugins-base-1.10.2.tar.xz && rm -rfv /gst-plugins-base-1.10.2 134 | ---> Using cache 135 | ---> 057eb2098e95 136 | Step 46 : RUN wget 'https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-1.10.2.tar.xz' && tar -xvf gst-plugins-good-1.10.2.tar.xz 137 | ---> Using cache 138 | ---> 9468862353da 139 | Step 47 : RUN cd gst-plugins-good-1.10.2 && ./configure --prefix=/opt/usr --disable-static --enable-shared --enable-gst-debug && make && make install && rm /gst-plugins-good-1.10.2.tar.xz && rm -rfv /gst-plugins-good-1.10.2 140 | ---> Using cache 141 | ---> 7d5e9bd080aa 142 | Step 48 : RUN wget https://www.gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-1.26.tar.bz2 143 | ---> Using cache 144 | ---> 193af6cfec2d 145 | Step 49 : RUN tar -jxvf libgpg-error-1.26.tar.bz2 146 | ---> Using cache 147 | ---> 72ded6335716 148 | Step 50 : RUN cd libgpg-error-1.26 && autoreconf --force --install && mkdir builddir && cd builddir && ../configure --prefix=/opt/usr --enable-static && make -j 8 && make install 149 | ---> Using cache 150 | ---> 9576ec54f6ef 151 | Step 51 : RUN rm /libgpg-error-1.26.tar.bz2 && rm -rfv /libgpg-error-1.26 152 | ---> Using cache 153 | ---> e6f539322cf7 154 | Step 52 : RUN wget https://www.gnupg.org/ftp/gcrypt/libksba/libksba-1.3.5.tar.bz2 155 | ---> Using cache 156 | ---> 1dedb5320532 157 | Step 53 : RUN tar -jxvf libksba-1.3.5.tar.bz2 158 | ---> Using cache 159 | ---> 5c0fa2d0339c 160 | Step 54 : RUN cd libksba-1.3.5 && autoreconf --force --install && mkdir builddir && cd builddir && ../configure --prefix=/opt/usr && make -j 8 && make install 161 | ---> Using cache 162 | ---> fb38d62e256a 163 | Step 55 : RUN rm /libksba-1.3.5.tar.bz2 && rm -rfv /libksba-1.3.5 164 | ---> Using cache 165 | ---> bfc323e8b605 166 | Step 56 : RUN wget https://www.gnupg.org/ftp/gcrypt/libassuan/libassuan-2.4.3.tar.bz2 167 | ---> Using cache 168 | ---> 2794daadb82f 169 | Step 57 : RUN tar -jxvf libassuan-2.4.3.tar.bz2 170 | ---> Using cache 171 | ---> 18f4b52ca786 172 | Step 58 : RUN cd libassuan-2.4.3 && autoreconf --force --install && mkdir builddir && cd builddir && ../configure --prefix=/opt/usr && make -j 8 && make install 173 | ---> Using cache 174 | ---> fa21fe1f0469 175 | Step 59 : RUN rm /libassuan-2.4.3.tar.bz2 && rm -rfv /libassuan-2.4.3 176 | ---> Using cache 177 | ---> 33f3f9b86182 178 | Step 60 : RUN wget https://www.gnupg.org/ftp/gcrypt/npth/npth-1.3.tar.bz2 && tar -jxvf npth-1.3.tar.bz2 179 | ---> Using cache 180 | ---> 39d089bb19ab 181 | Step 61 : RUN cd npth-1.3 && autoreconf --force --install && mkdir builddir && cd builddir && ../configure --prefix=/opt/usr && make -j 8 && make install 182 | ---> Using cache 183 | ---> 70de0956a4a8 184 | Step 62 : RUN rm /npth-1.3.tar.bz2 && rm -rfv /npth-1.3 185 | ---> Using cache 186 | ---> 9f3508d75861 187 | Step 63 : RUN wget https://www.gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-1.7.5.tar.bz2 && tar -jxvf libgcrypt-1.7.5.tar.bz2 188 | ---> Using cache 189 | ---> b97dd3f43a93 190 | Step 64 : RUN cd libgcrypt-1.7.5 && autoreconf --force --install && mkdir builddir && cd builddir && ../configure --prefix=/opt/usr && make -j 8 && make install && rm /libgcrypt-1.7.5.tar.bz2 && rm -rfv /libgcrypt-1.7.5 191 | ---> Using cache 192 | ---> 8a459d7035dd 193 | Step 65 : RUN wget http://ftp.gnu.org/gnu/libtasn1/libtasn1-4.10.tar.gz && tar -zxvf libtasn1-4.10.tar.gz 194 | ---> Using cache 195 | ---> ea6ad8b60608 196 | Step 66 : RUN cd libtasn1-4.10 && autoreconf --force --install && mkdir builddir && cd builddir && ../configure --prefix=/opt/usr && make -j 8 && make install && rm /libtasn1-4.10.tar.gz && rm -rfv /libtasn1-4.10 197 | ---> Using cache 198 | ---> 237b51b86e9e 199 | Step 67 : RUN wget https://ftp.gnu.org/gnu/nettle/nettle-3.3.tar.gz && tar -zxvf nettle-3.3.tar.gz 200 | ---> Using cache 201 | ---> 09214a696454 202 | Step 68 : RUN cd nettle-3.3 && autoreconf --force --install && mkdir builddir && cd builddir && ../configure --prefix=/opt/usr && make -j 8 && make install && rm /nettle-3.3.tar.gz && rm -rfv /nettle-3.3 203 | ---> Using cache 204 | ---> 681276df2791 205 | Step 69 : RUN wget http://p11-glue.freedesktop.org/releases/p11-kit-0.23.2.tar.gz && tar -zxvf p11-kit-0.23.2.tar.gz 206 | ---> Using cache 207 | ---> cd07f55f1e4a 208 | Step 70 : RUN cd p11-kit-0.23.2 && autoreconf --force --install && mkdir builddir && cd builddir && ../configure --prefix=/opt/usr && make -j 8 && make install && rm /p11-kit-0.23.2.tar.gz && rm -rfv /p11-kit-0.23.2 209 | ---> Using cache 210 | ---> b3600b13713a 211 | Step 71 : RUN wget ftp://ftp.gnutls.org/gcrypt/gnutls/v3.5/gnutls-3.5.8.tar.xz && tar -xvf gnutls-3.5.8.tar.xz 212 | ---> Using cache 213 | ---> 7745ec67c0ad 214 | Step 72 : RUN cd gnutls-3.5.8 && autoreconf --force --install && mkdir builddir && cd builddir && ../configure --prefix=/opt/usr --with-included-libtasn1 && make -j 8 && make install && rm /gnutls-3.5.8.tar.xz && rm -rfv /gnutls-3.5.8 215 | ---> Using cache 216 | ---> c5a694e8c15f 217 | Step 73 : RUN wget http://downloads.sourceforge.net/pcre/pcre-8.35.tar.bz2 && tar -jxvf pcre-8.35.tar.bz2 218 | ---> Using cache 219 | ---> d7cc5fb25025 220 | Step 74 : RUN cd pcre-8.35 && ./configure --prefix=/opt/usr && make && make install && rm /pcre-8.35.tar.bz2 && rm -rfv /pcre-8.35 221 | ---> Using cache 222 | ---> cc7fabd4eab8 223 | Step 75 : RUN wget http://www.cups.org/software/1.7.5/cups-1.7.5-source.tar.bz2 && tar -jxvf cups-1.7.5-source.tar.bz2 224 | ---> Using cache 225 | ---> bb7ca0674891 226 | Step 76 : RUN cd cups-1.7.5 && aclocal -I config-scripts && autoconf -I config-scripts && ./configure --prefix=/opt/usr && make -j 8 && make install && rm -rfv /cups-1.7.5 && rm /cups-1.7.5-source.tar.bz2 227 | ---> Using cache 228 | ---> 948802eebc0d 229 | Step 77 : RUN wget http://qt.mirrors.tds.net/qt/archive/qt/5.7/5.7.1/single/qt-everywhere-opensource-src-5.7.1.tar.gz && tar -zxvf qt-everywhere-opensource-src-5.7.1.tar.gz 230 | ---> Using cache 231 | ---> 9a564e32a767 232 | Step 78 : RUN cd qt-everywhere-opensource-src-5.7.1 && ./configure -v -release -opensource -confirm-license -dbus -qt-xcb -feature-accessibility -opengl es2 -system-sqlite -nomake examples -nomake tests -prefix /opt/usr && make && make install 233 | ---> Using cache 234 | ---> c19bd4f5d723 235 | Step 79 : RUN rm /qt-everywhere-opensource-src-5.7.1.tar.gz && rm -rfv /qt-everywhere-opensource-src-5.7.1 236 | ---> Using cache 237 | ---> 65a3ea2fbc7c 238 | Step 80 : RUN wget http://download.qt.io/community_releases/5.7/5.7.1/qtwebkit-opensource-src-5.7.1.tar.xz && tar -xvf qtwebkit-opensource-src-5.7.1.tar.xz 239 | ---> Using cache 240 | ---> a2f4692195e8 241 | Step 81 : RUN cd qtwebkit-opensource-src-5.7.1 && Tools/Scripts/build-webkit --qt --qmakearg="PREFIX+=/opt/usr" && qmake PREFIX=/opt/usr WebKit.pro && make && make install 242 | ---> Using cache 243 | ---> 18325359307d 244 | Step 82 : RUN rm /qtwebkit-opensource-src-5.7.1.tar.xz && rm -rfv /qtwebkit-opensource-src-5.7.1 245 | ---> Using cache 246 | ---> cbcd8d91308b 247 | Step 83 : RUN git clone http://code.qt.io/qt/qtstyleplugins.git 248 | ---> Using cache 249 | ---> d4e2dd2f5912 250 | Step 84 : RUN cd qtstyleplugins && qmake PREFIX=/opt/usr . && make && make install && rm -rfv /qtstyleplugins 251 | ---> Using cache 252 | ---> 39b816073586 253 | Step 85 : RUN git clone https://code.qt.io/cgit/qt/qtquick1.git 254 | ---> Using cache 255 | ---> 602759171ea4 256 | Step 86 : RUN cd qtquick1 && qmake PREFIX=/opt/usr . && make && make install && rm -rfv /qtquick1 257 | ---> Using cache 258 | ---> 59acba50a172 259 | Step 87 : RUN git clone https://code.qt.io/qt/qtspeech.git 260 | ---> Using cache 261 | ---> 720476c19357 262 | Step 88 : RUN cd qtspeech && qmake PREFIX=/opt/usr . && make && make install && rm -rfv /qtspeech 263 | ---> Using cache 264 | ---> d6f3ab2dacb8 265 | Step 89 : RUN git clone https://github.com/flavio/qjson 266 | ---> Using cache 267 | ---> 62615ef92e08 268 | Step 90 : RUN cd qjson && cmake -DCMAKE_INSTALL_PREFIX:PATH=/opt/usr && make && make install && rm -rfv /qjson 269 | ---> Using cache 270 | ---> a827caab84c5 271 | Step 91 : RUN bzr branch lp:libdbusmenu-qt 272 | ---> Using cache 273 | ---> 2e407d965190 274 | Step 92 : RUN cd libdbusmenu-qt && cmake -DCMAKE_INSTALL_PREFIX:PATH=/opt/usr && make && make install && rm -rfv /libdbusmenu-qt 275 | ---> Using cache 276 | ---> 57892012a012 277 | Step 93 : RUN wget 'https://gstreamer.freedesktop.org/src/qt-gstreamer/qt-gstreamer-1.2.0.tar.xz' && tar -xvf qt-gstreamer-1.2.0.tar.xz 278 | ---> Using cache 279 | ---> e6abc8a15621 280 | Step 94 : RUN cd qt-gstreamer-1.2.0 && cmake -DCMAKE_INSTALL_PREFIX:PATH=/opt/usr -DQT_VERSION=5 -DCMAKE_REQUIRED_INCLUDES=/opt/usr/include/gstreamer-1.0/ -DQTGSTREAMER_STATIC=OFF -DQTGSTREAMER_EXAMPLES=OFF && make && make install && rm /qt-gstreamer-1.2.0.tar.xz && rm -rfv /qt-gstreamer-1.2.0 281 | ---> Using cache 282 | ---> 47dc1039fb57 283 | Step 95 : RUN git clone https://github.com/steveire/grantlee 284 | ---> Using cache 285 | ---> 2acd2efe3e6d 286 | Step 96 : RUN cd grantlee && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX:PATH=/opt/usr .. && cmake --build . && cmake --build . --target install && rm -rfv /grantlee 287 | ---> Using cache 288 | ---> 1d1f636bf69e 289 | Step 97 : RUN wget https://poppler.freedesktop.org/poppler-0.51.0.tar.xz && tar -xvf poppler-0.51.0.tar.xz 290 | ---> Using cache 291 | ---> 9a647ba9dcd7 292 | Step 98 : RUN cd poppler-0.51.0 && mkdir build && cd build && ../configure --prefix=/opt/usr -sysconfdir=/opt/etc --disable-static --enable-build-type=release --enable-cmyk --enable-xpdf-headers --enable-poppler-qt5 && make && make install && rm /poppler-0.51.0.tar.xz && rm -rfv /poppler-0.51.0 293 | ---> Using cache 294 | ---> 8ba22d41fbfb 295 | Step 99 : RUN wget http://sourceforge.net/projects/pyqt/files/sip/sip-4.16.5/sip-4.16.5.tar.gz && tar -zxvf sip-4.16.5.tar.gz 296 | ---> Using cache 297 | ---> 2463f68684da 298 | Step 100 : RUN cd sip-4.16.5 && python3 configure.py --destdir /opt/usr && make && make install 299 | ---> Using cache 300 | ---> 40754a79cf9e 301 | Step 101 : RUN wget https://downloads.sourceforge.net/project/pyqt/PyQt5/PyQt-5.3.2/PyQt-gpl-5.3.2.tar.gz && tar -zxvf PyQt-gpl-5.3.2.tar.gz 302 | ---> Using cache 303 | ---> 8b2917103b03 304 | Step 102 : RUN ln -s /opt/usr/include/python3.5m /usr/local/include/python3.5 305 | ---> Using cache 306 | ---> d912fdcb7693 307 | Step 103 : RUN sed -i "s#'webkitwidgets'#'webkitwidgets', 'printsupport'#g" PyQt-gpl-5.3.2/configure.py 308 | ---> Using cache 309 | ---> fad2cc569afe 310 | Step 104 : RUN cd /PyQt-gpl-5.3.2 && python3 configure.py --confirm-license --destdir /opt/usr --sip-incdir /opt/usr/include/python3.5m/ && make && make install 311 | ---> Using cache 312 | ---> 6f957f22f8f8 313 | Step 105 : RUN rm -rfv PyQt-gpl-5.3.2 && rm PyQt-gpl-5.3.2.tar.gz && rm sip-4.16.5.tar.gz && rm -rfv sip-4.16.5 314 | ---> Using cache 315 | ---> 0ac186edafb6 316 | Step 106 : RUN wget http://download.kde.org/stable/qca/2.1.1/src/qca-2.1.1.tar.xz && tar -xvf qca-2.1.1.tar.xz 317 | ---> Using cache 318 | ---> 6d1cebc47885 319 | Step 107 : RUN cd qca-2.1.1 && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX:PATH=/opt/usr .. && cmake --build . && cmake --build . --target install && rm /qca-2.1.1.tar.xz && rm -rfv /qca-2.1.1 320 | ---> Using cache 321 | ---> 8645441699d4 322 | Step 108 : RUN git clone https://github.com/ayoy/qoauth 323 | ---> Using cache 324 | ---> 635651ab0ce5 325 | Step 109 : RUN cd qoauth && qmake '"PREFIX = /opt/usr" "QT += widgets" "QT += webkitwidgets" "CONFIG += crypto" "DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x000000"' src/src.pro && make && make install && rm -rfv /qoauth 326 | ---> Using cache 327 | ---> 6e09996cf7bb 328 | Step 110 : RUN git clone git://git.gnupg.org/gpgme.git 329 | ---> Using cache 330 | ---> bb0e44d956b9 331 | Step 111 : RUN cd gpgme && autoreconf --force --install && mkdir builddir && cd builddir && ../configure --prefix=/opt/usr && make -j 8 && make install 332 | ---> Using cache 333 | ---> b34310981090 334 | Step 112 : RUN rm -rfv /gpgme 335 | ---> Using cache 336 | ---> 08694aaa03e5 337 | Step 113 : RUN wget https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-2.1.17.tar.bz2 && tar -jxvf gnupg-2.1.17.tar.bz2 338 | ---> Using cache 339 | ---> fade6c2d9c8a 340 | Step 114 : RUN cd gnupg-2.1.17 && autoreconf --force --install && mkdir builddir && cd builddir && ../configure --prefix=/opt/usr && make -j 8 && make install && rm /gnupg-2.1.17.tar.bz2 && rm -rfv /gnupg-2.1.17 341 | ---> Using cache 342 | ---> 3d0d169207d4 343 | Step 115 : RUN git clone https://github.com/ximion/appstream 344 | ---> Using cache 345 | ---> 15121b0ffa2d 346 | Step 116 : RUN cd appstream && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX:PATH=/opt/usr -DQT=ON ../ && make && make install && rm -rfv /appstream 347 | ---> Running in 99162ce0c29e 348 | -- The C compiler identification is GNU 4.8.4 349 | -- The CXX compiler identification is GNU 4.8.4 350 | -- Check for working C compiler: /usr/bin/cc 351 | -- Check for working C compiler: /usr/bin/cc -- works 352 | -- Detecting C compiler ABI info 353 | -- Detecting C compiler ABI info - done 354 | -- Detecting C compile features 355 | -- Detecting C compile features - done 356 | -- Check for working CXX compiler: /usr/bin/c++ 357 | -- Check for working CXX compiler: /usr/bin/c++ -- works 358 | -- Detecting CXX compiler ABI info 359 | -- Detecting CXX compiler ABI info - done 360 | -- Detecting CXX compile features 361 | -- Detecting CXX compile features - done 362 | -- Compiling AppStream version 0.11.0 363 | -- Found Gettext: /opt/usr/bin/msgmerge (found version "0.19.3") 364 | -- Found PkgConfig: /usr/bin/pkg-config (found version "0.26") 365 | -- Checking for module 'glib-2.0>=2.46' 366 | -- Found glib-2.0, version 2.46.2 367 | -- Checking for module 'gio-2.0' 368 | -- Found gio-2.0, version 2.46.2 369 | -- Checking for module 'gobject-introspection-1.0' 370 | -- Found gobject-introspection-1.0, version 1.40.0 371 | -- Found LibXml2: /usr/lib/x86_64-linux-gnu/libxml2.so (found version "2.9.1") 372 | -- Checking for module 'yaml-0.1' 373 | -- Found yaml-0.1, version 0.1.4 374 | CMake Deprecation Warning at /opt/usr/share/cmake-3.7/Modules/GenerateExportHeader.cmake:385 (message): 375 | The add_compiler_export_flags function is obsolete. Use the 376 | CXX_VISIBILITY_PRESET and VISIBILITY_INLINES_HIDDEN target properties 377 | instead. 378 | Call Stack (most recent call first): 379 | qt/CMakeLists.txt:6 (add_compiler_export_flags) 380 | 381 | 382 | -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY 383 | -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success 384 | -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY 385 | -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success 386 | -- Performing Test COMPILER_HAS_DEPRECATED_ATTR 387 | -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success 388 | -- Configuring done 389 | -- Generating done 390 | -- Build files have been written to: /appstream/build 391 | [ 1%] Generating as-resources.h 392 | [ 2%] Generating as-resources.c 393 | Scanning dependencies of target appstream 394 | [ 3%] Building C object src/CMakeFiles/appstream.dir/as-utils.c.o 395 | [ 4%] Building C object src/CMakeFiles/appstream.dir/as-xmldata.c.o 396 | [ 5%] Building C object src/CMakeFiles/appstream.dir/as-yamldata.c.o 397 | [ 6%] Building C object src/CMakeFiles/appstream.dir/as-desktop-entry.c.o 398 | [ 7%] Building C object src/CMakeFiles/appstream.dir/as-cache-file.c.o 399 | [ 8%] Building C object src/CMakeFiles/appstream.dir/as-distro-extras.c.o 400 | [ 9%] Building C object src/CMakeFiles/appstream.dir/as-stemmer.c.o 401 | [ 10%] Building C object src/CMakeFiles/appstream.dir/as-spdx.c.o 402 | [ 11%] Building C object src/CMakeFiles/appstream.dir/as-metadata.c.o 403 | [ 12%] Building C object src/CMakeFiles/appstream.dir/as-component.c.o 404 | [ 13%] Building C object src/CMakeFiles/appstream.dir/as-enums.c.o 405 | [ 14%] Building C object src/CMakeFiles/appstream.dir/as-provided.c.o 406 | [ 15%] Building C object src/CMakeFiles/appstream.dir/as-bundle.c.o 407 | [ 16%] Building C object src/CMakeFiles/appstream.dir/as-pool.c.o 408 | [ 17%] Building C object src/CMakeFiles/appstream.dir/as-category.c.o 409 | [ 18%] Building C object src/CMakeFiles/appstream.dir/as-distro-details.c.o 410 | [ 19%] Building C object src/CMakeFiles/appstream.dir/as-screenshot.c.o 411 | [ 20%] Building C object src/CMakeFiles/appstream.dir/as-image.c.o 412 | [ 21%] Building C object src/CMakeFiles/appstream.dir/as-release.c.o 413 | [ 22%] Building C object src/CMakeFiles/appstream.dir/as-checksum.c.o 414 | [ 23%] Building C object src/CMakeFiles/appstream.dir/as-validator.c.o 415 | [ 24%] Building C object src/CMakeFiles/appstream.dir/as-validator-issue.c.o 416 | [ 25%] Building C object src/CMakeFiles/appstream.dir/as-icon.c.o 417 | [ 26%] Building C object src/CMakeFiles/appstream.dir/as-translation.c.o 418 | [ 27%] Building C object src/CMakeFiles/appstream.dir/as-suggested.c.o 419 | [ 28%] Building C object src/CMakeFiles/appstream.dir/as-resources.c.o 420 | [ 29%] Linking C shared library libappstream.so 421 | [ 29%] Built target appstream 422 | Scanning dependencies of target gir-typelibs 423 | [ 30%] Generating AppStream-1.0.gir 424 | src/as-component.c:575: Warning: AppStream: unknown annotation: nullable 425 | src/as-component.c:1101: Warning: AppStream: unknown annotation: nullable 426 | src/as-component.c:1145: Warning: AppStream: unknown annotation: nullable 427 | src/as-component.c:1183: Warning: AppStream: unknown annotation: nullable 428 | src/as-component.c:1228: Warning: AppStream: unknown annotation: nullable 429 | src/as-component.c:1273: Warning: AppStream: unknown annotation: nullable 430 | src/as-component.c:1324: Warning: AppStream: unknown annotation: nullable 431 | src/as-component.c:1579: Warning: AppStream: unknown annotation: nullable 432 | src/as-component.c:1902: Warning: AppStream: unknown annotation: nullable 433 | src/as-component.c:1924: Warning: AppStream: unknown annotation: nullable 434 | g-ir-scanner: compile: cc -Wno-deprecated-declarations -pthread -I/opt/usr/include/glib-2.0 -I/opt/usr/lib/glib-2.0/include -I/opt/usr/include/gio-unix-2.0 -I/opt/usr/include/glib-2.0 -I/opt/usr/lib/glib-2.0/include -c -o /appstream/build/src/tmp-introspectTPLZrR/AppStream-1.0.o /appstream/build/src/tmp-introspectTPLZrR/AppStream-1.0.c 435 | g-ir-scanner: link: cc -o /appstream/build/src/tmp-introspectTPLZrR/AppStream-1.0 /appstream/build/src/tmp-introspectTPLZrR/AppStream-1.0.o -L. -Wl,-rpath=. -Wl,--no-as-needed -lappstream -Wl,--export-dynamic -pthread -L/opt/usr/lib -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 436 | :: Warning: AppStream: Too many parameters in type specification 'GPtrArray(AsScreenshot)' 437 | [ 31%] Generating AppStream-1.0.typelib 438 | [ 31%] Built target gir-typelibs 439 | Scanning dependencies of target gir-girs 440 | [ 32%] Built target gir-girs 441 | Scanning dependencies of target appstreamcli 442 | [ 33%] Building C object tools/CMakeFiles/appstreamcli.dir/appstream-cli.c.o 443 | [ 34%] Building C object tools/CMakeFiles/appstreamcli.dir/ascli-utils.c.o 444 | [ 35%] Building C object tools/CMakeFiles/appstreamcli.dir/ascli-actions-mdata.c.o 445 | [ 36%] Building C object tools/CMakeFiles/appstreamcli.dir/ascli-actions-validate.c.o 446 | [ 37%] Building C object tools/CMakeFiles/appstreamcli.dir/ascli-actions-pkgmgr.c.o 447 | [ 38%] Building C object tools/CMakeFiles/appstreamcli.dir/ascli-actions-misc.c.o 448 | [ 39%] Linking C executable appstreamcli 449 | ../src/libappstream.so.0.11.0: undefined reference to `g_strv_contains' 450 | collect2: error: ld returned 1 exit status 451 | make[2]: *** [tools/appstreamcli] Error 1 452 | make[1]: *** [tools/CMakeFiles/appstreamcli.dir/all] Error 2 453 | make: *** [all] Error 2 454 |  -------------------------------------------------------------------------------- /seed/org.yaml/snakeyaml/ivy-1.17.xml.original: -------------------------------------------------------------------------------- 1 | 2 | 4.0.0 3 | org.yaml 4 | snakeyaml 5 | 1.17 6 | bundle 7 | 8 | UTF-8 9 | bitbucket 10 | https://oss.sonatype.org/service/local/staging/deploy/maven2/ 11 | https://oss.sonatype.org/content/repositories/snapshots/ 12 | 13 | SnakeYAML 14 | YAML 1.1 parser and emitter for Java 15 | 2008 16 | http://www.snakeyaml.org 17 | 18 | Bitbucket 19 | https://bitbucket.org/asomov/snakeyaml/issues 20 | 21 | 25 | 26 | 27 | SnakeYAML developers and users List 28 | snakeyaml-core@googlegroups.com 29 | 30 | 31 | 32 | scm:hg:http://bitbucket.org/asomov/snakeyaml 33 | scm:hg:ssh://hg@bitbucket.org/asomov/snakeyaml 34 | https://bitbucket.org/asomov/snakeyaml/src 35 | v1.17 36 | 37 | 38 | 39 | Apache License, Version 2.0 40 | http://www.apache.org/licenses/LICENSE-2.0.txt 41 | repo 42 | 43 | 44 | 45 | 46 | asomov 47 | Andrey Somov 48 | public.somov@gmail.com 49 | 50 | 51 | maslovalex 52 | Alexander Maslov 53 | alexander.maslov@gmail.com 54 | 55 | 56 | Jordan 57 | Jordan Angold 58 | jordanangold@gmail.com 59 | 60 | 61 | 62 | 3.0.5 63 | 64 | 65 | 66 | junit 67 | junit 68 | 4.12 69 | test 70 | 71 | 72 | org.springframework 73 | spring 74 | 2.5.6 75 | test 76 | 77 | 78 | org.apache.velocity 79 | velocity 80 | 1.6.2 81 | test 82 | 83 | 84 | joda-time 85 | joda-time 86 | 1.6 87 | test 88 | 89 | 90 | 91 | 92 | sonatype-nexus-staging 93 | Nexus Release Repository 94 | ${release.repo.url} 95 | 96 | 97 | sonatype-nexus-snapshots 98 | Sonatype Nexus Snapshots 99 | ${snapshot.repo.url} 100 | false 101 | 102 | 103 | 104 | 105 | 106 | ${basedir}/src/test/resources 107 | true 108 | 109 | 110 | 111 | 112 | 113 | org.apache.maven.plugins 114 | maven-site-plugin 115 | 3.4 116 | 117 | 118 | 119 | 120 | 121 | org.apache.maven.plugins 122 | maven-compiler-plugin 123 | 3.3 124 | 125 | 1.5 126 | 1.5 127 | ${project.build.sourceEncoding} 128 | 129 | 130 | 131 | org.apache.maven.plugins 132 | maven-surefire-plugin 133 | 2.18.1 134 | 135 | -Xmx512m 136 | 137 | **/*Test.java 138 | 139 | 140 | **/StressTest.java 141 | **/ParallelTest.java 142 | 143 | 144 | 145 | 146 | org.apache.maven.plugins 147 | maven-eclipse-plugin 148 | 2.10 149 | 150 | bin 151 | 152 | 153 | 154 | org.codehaus.mojo 155 | cobertura-maven-plugin 156 | 2.7 157 | 158 | 159 | 80 160 | 95 161 | 162 | 163 | html 164 | xml 165 | 166 | 167 | 168 | org/yaml/snakeyaml/external/** 169 | 170 | 171 | 172 | 173 | 174 | 175 | clean 176 | check 177 | 178 | 179 | 180 | 181 | 182 | org.apache.maven.plugins 183 | maven-changes-plugin 184 | 2.11 185 | 186 | 187 | validate-changes 188 | pre-site 189 | 190 | changes-validate 191 | 192 | 193 | true 194 | 195 | 196 | 197 | 198 | 199 | org.apache.maven.plugins 200 | maven-source-plugin 201 | 2.4 202 | 203 | 204 | 205 | jar 206 | 207 | 208 | 209 | 210 | 211 | org.apache.maven.plugins 212 | maven-javadoc-plugin 213 | 2.10.3 214 | 215 | 216 | http://java.sun.com/javase/6/docs/api/ 217 | 218 | 219 | 220 | 221 | attach-javadocs 222 | 223 | jar 224 | 225 | 226 | 227 | 228 | 229 | com.mycila.maven-license-plugin 230 | maven-license-plugin 231 | 1.10.b1 232 | 233 |
src/etc/header.txt
234 | false 235 | true 236 | false 237 | 238 | src/**/*.java 239 | 240 | 241 | src/main/java/org/yaml/snakeyaml/external/** 242 | 243 | true 244 | true 245 | true 246 | UTF-8 247 |
248 | 249 | 250 | site 251 | 252 | format 253 | 254 | 255 | 256 |
257 | 258 | org.apache.felix 259 | maven-bundle-plugin 260 | 2.5.4 261 | true 262 | 263 | 264 | <_nouses>true 265 | 266 | !org.yaml.snakeyaml.external*, 267 | org.yaml.snakeyaml.*;version=${project.version} 268 | 269 | J2SE-1.5 270 | 271 | 272 | 273 | 274 | maven-site-plugin 275 | 3.4 276 | 277 | 278 | attach-descriptor 279 | 280 | attach-descriptor 281 | 282 | 283 | 284 | 285 |
286 |
287 | 288 | 289 | 290 | org.apache.maven.plugins 291 | maven-changes-plugin 292 | 2.11 293 | 294 | https://bitbucket.org/asomov/snakeyaml/issues/%ISSUE% 295 | 296 | 297 | 298 | 299 | changes-report 300 | 301 | 302 | 303 | 304 | 305 | org.apache.maven.plugins 306 | maven-surefire-report-plugin 307 | 2.18.1 308 | 309 | true 310 | 311 | 312 | 313 | org.codehaus.mojo 314 | cobertura-maven-plugin 315 | 2.6 316 | 317 | 318 | html 319 | xml 320 | 321 | 322 | 323 | 324 | org.apache.maven.plugins 325 | maven-javadoc-plugin 326 | 2.10.1 327 | 328 | 329 | html 330 | 331 | API for ${project.name} ${project.version} 332 | API for ${project.name} ${project.version} 333 | Test API for ${project.name} ${project.version} 334 | Test API for ${project.name} ${project.version} 335 | 336 | 337 | javadoc 338 | 339 | 340 | 341 | 342 | 343 | 344 | 345 | 346 | jdk8 347 | 348 | [1.8,) 349 | 350 | 351 | 352 | 353 | org.apache.maven.plugins 354 | maven-javadoc-plugin 355 | 356 | -Xdoclint:none 357 | 358 | 359 | 360 | org.apache.maven.plugins 361 | maven-site-plugin 362 | 363 | 364 | 365 | org.apache.maven.plugins 366 | maven-javadoc-plugin 367 | 368 | -Xdoclint:none 369 | 370 | 371 | 372 | 373 | 374 | 375 | 376 | 377 | 378 | with-java8-tests 379 | 380 | 381 | 382 | org.apache.maven.plugins 383 | maven-compiler-plugin 384 | 385 | 1.8 386 | 1.8 387 | 388 | 389 | 390 | org.codehaus.mojo 391 | build-helper-maven-plugin 392 | 1.10 393 | 394 | 395 | add-java8-test-source 396 | generate-test-sources 397 | 398 | add-test-source 399 | 400 | 401 | 402 | ${basedir}/src/test/java8/ 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | release 413 | 414 | 415 | performRelease 416 | true 417 | 418 | 419 | 420 | 421 | 422 | org.apache.maven.plugins 423 | maven-gpg-plugin 424 | 1.6 425 | 426 | 427 | sign-artifacts 428 | verify 429 | 430 | sign 431 | 432 | 433 | 434 | 435 | 436 | 437 | 438 | 439 | findbugs 440 | 441 | 442 | 443 | org.codehaus.mojo 444 | findbugs-maven-plugin 445 | 3.0.2 446 | 447 | 448 | org.apache.maven.plugins 449 | maven-pmd-plugin 450 | 3.5 451 | 452 | 453 | 454 | 455 | 456 | 457 | org.apache.maven.plugins 458 | maven-jxr-plugin 459 | 2.5 460 | 461 | 462 | org.codehaus.mojo 463 | findbugs-maven-plugin 464 | 3.0.0 465 | 466 | 467 | org.apache.maven.plugins 468 | maven-pmd-plugin 469 | 3.4 470 | 471 | true 472 | utf-8 473 | 100 474 | 1.5 475 | 476 | **/external/*.java 477 | 478 | 479 | 480 | 481 | 482 | 483 | 484 | android 485 | 486 | ${project.build.directory}/android/src/ 487 | ${project.build.directory}/android/classes/ 488 | ${project.build.directory}/android/test-classes/ 489 | 490 | 491 | 492 | 493 | maven-resources-plugin 494 | 2.7 495 | 496 | 497 | copy-src-for-android 498 | generate-sources 499 | 500 | copy-resources 501 | 502 | 503 | ${android.src} 504 | 505 | 506 | ${basedir}/src/main/java 507 | false 508 | 509 | org/yaml/snakeyaml/introspector/MethodProperty.java 510 | 511 | 512 | 513 | 514 | 515 | 516 | copy-test-resources-for-android 517 | process-test-resources 518 | 519 | copy-resources 520 | 521 | 522 | ${android.test.classes} 523 | 524 | 525 | ${basedir}/src/test/resources 526 | 527 | 528 | 529 | 530 | 531 | 532 | 533 | 534 | org.apache.maven.plugins 535 | maven-patch-plugin 536 | 1.2 537 | 538 | ${basedir}/src/patches/android/ 539 | ${android.src} 540 | false 541 | 4 542 | 543 | 544 | 545 | android-patches 546 | process-sources 547 | 548 | apply 549 | 550 | 551 | ${project.build.directory}/android/patches-applied.txt 552 | 553 | true 554 | 555 | 556 | 557 | 558 | 559 | org.apache.maven.plugins 560 | maven-antrun-plugin 561 | 1.8 562 | 563 | 564 | build-for-android 565 | compile 566 | 567 | run 568 | 569 | 570 | 571 | 572 | 573 | 574 | 575 | 576 | 577 | 578 | 579 | 580 | 581 | 582 | 583 | 584 | 585 | 586 | 587 | 588 | 589 | 590 | 591 | 592 | maven-surefire-plugin 593 | 594 | 595 | test-android 596 | test 597 | 598 | test 599 | 600 | 601 | ${android.classes} 602 | ${project.build.directory}/android/surefire-reports 603 | 604 | ${android.test.classes} 605 | 610 | true 611 | 612 | 613 | 614 | 615 | 616 | maven-jar-plugin 617 | 618 | 619 | package-android-jar 620 | package 621 | 622 | jar 623 | 624 | 625 | ${android.classes} 626 | android 627 | 628 | 629 | 630 | 631 | 632 | 633 | 634 | 635 |
636 | --------------------------------------------------------------------------------