Skip to content

Commit

Permalink
ARROW-5684: [Packaging][deb] Add support for Ubuntu 19.04
Browse files Browse the repository at this point in the history
Author: Sutou Kouhei <[email protected]>

Closes apache#4657 from kou/packaging-deb-ubuntu-19.04 and squashes the following commits:

ef63e2f <Sutou Kouhei>  Add support for Ubuntu 19.04
  • Loading branch information
kou committed Jun 22, 2019
1 parent 7e16ee4 commit 628ec59
Show file tree
Hide file tree
Showing 11 changed files with 136 additions and 8 deletions.
71 changes: 71 additions & 0 deletions dev/tasks/linux-packages/apt/ubuntu-disco/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

FROM ubuntu:19.04

RUN \
echo "debconf debconf/frontend select Noninteractive" | \
debconf-set-selections

ARG DEBUG

RUN \
quiet=$([ "${DEBUG}" = "yes" ] || echo "-qq") && \
apt update ${quiet} && \
apt install -y -V ${quiet} \
bison \
build-essential \
clang-7 \
cmake \
debhelper \
devscripts \
flex \
git \
gtk-doc-tools \
libboost-filesystem-dev \
libboost-regex-dev \
libboost-system-dev \
libbrotli-dev \
libdouble-conversion-dev \
libgirepository1.0-dev \
libglib2.0-doc \
libgmock-dev \
libgoogle-glog-dev \
libgrpc++-dev \
libgtest-dev \
liblz4-dev \
libprotobuf-dev \
libprotoc-dev \
libre2-dev \
libsnappy-dev \
libssl-dev \
libzstd-dev \
lsb-release \
ninja-build \
nvidia-cuda-toolkit \
pkg-config \
protobuf-compiler \
protobuf-compiler-grpc \
python3-dev \
python3-numpy \
python3-pip \
rapidjson-dev \
tzdata && \
apt clean && \
pip3 install --upgrade meson && \
ln -s /usr/local/bin/meson /usr/bin/ && \
rm -rf /var/lib/apt/lists/*
2 changes: 1 addition & 1 deletion dev/tasks/linux-packages/debian/libarrow-glib-doc.install
Original file line number Diff line number Diff line change
@@ -1 +1 @@
usr/share/gtk-doc/html/arrow-glib /usr/share/doc/libarrow-glib-doc
usr/share/gtk-doc/html/arrow-glib
2 changes: 1 addition & 1 deletion dev/tasks/linux-packages/debian/libarrow-glib-doc.links
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
usr/share/doc/libarrow-glib-doc/arrow-glib usr/share/gtk-doc/html/arrow-glib
usr/share/gtk-doc/html/arrow-glib usr/share/doc/libarrow-glib-doc/arrow-glib
usr/share/doc/libglib2.0-doc/glib usr/share/doc/libarrow-glib-doc/glib
usr/share/doc/libglib2.0-doc/gobject usr/share/doc/libarrow-glib-doc/gobject
Original file line number Diff line number Diff line change
@@ -1 +1 @@
usr/share/gtk-doc/html/gandiva-glib /usr/share/doc/libgandiva-glib-doc
usr/share/gtk-doc/html/gandiva-glib
2 changes: 1 addition & 1 deletion dev/tasks/linux-packages/debian/libgandiva-glib-doc.links
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
usr/share/doc/libgandiva-glib-doc/gandiva-glib usr/share/gtk-doc/html/gandiva-glib
usr/share/gtk-doc/html/gandiva-glib usr/share/doc/libgandiva-glib-doc/gandiva-glib
usr/share/doc/libglib2.0-doc/glib usr/share/doc/libgandiva-glib-doc/glib
usr/share/doc/libglib2.0-doc/gobject usr/share/doc/libgandiva-glib-doc/gobject
Original file line number Diff line number Diff line change
@@ -1 +1 @@
usr/share/gtk-doc/html/parquet-glib /usr/share/doc/libparquet-glib-doc
usr/share/gtk-doc/html/parquet-glib
2 changes: 1 addition & 1 deletion dev/tasks/linux-packages/debian/libparquet-glib-doc.links
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
usr/share/doc/libparquet-glib-doc/parquet-glib usr/share/gtk-doc/html/parquet-glib
usr/share/gtk-doc/html/parquet-glib usr/share/doc/libparquet-glib-doc/parquet-glib
usr/share/doc/libglib2.0-doc/glib usr/share/doc/libparquet-glib-doc/glib
usr/share/doc/libglib2.0-doc/gobject usr/share/doc/libparquet-glib-doc/gobject
2 changes: 1 addition & 1 deletion dev/tasks/linux-packages/debian/libplasma-glib-doc.install
Original file line number Diff line number Diff line change
@@ -1 +1 @@
usr/share/gtk-doc/html/plasma-glib /usr/share/doc/libplasma-glib-doc
usr/share/gtk-doc/html/plasma-glib
2 changes: 1 addition & 1 deletion dev/tasks/linux-packages/debian/libplasma-glib-doc.links
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
usr/share/doc/libplasma-glib-doc/plasma-glib usr/share/gtk-doc/html/plasma-glib
usr/share/gtk-doc/html/plasma-glib usr/share/doc/libplasma-glib-doc/plasma-glib
usr/share/doc/libglib2.0-doc/glib usr/share/doc/libplasma-glib-doc/glib
usr/share/doc/libglib2.0-doc/gobject usr/share/doc/libplasma-glib-doc/gobject
1 change: 1 addition & 0 deletions dev/tasks/linux-packages/package-task.rb
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ def define_apt_task
"ubuntu-xenial",
"ubuntu-bionic",
"ubuntu-cosmic",
"ubuntu-disco",
]
end
targets.each do |target|
Expand Down
56 changes: 56 additions & 0 deletions dev/tasks/tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ groups:
- ubuntu-xenial
- ubuntu-bionic
- ubuntu-cosmic
- ubuntu-disco
- centos-6
- centos-7
gandiva:
Expand Down Expand Up @@ -548,6 +549,61 @@ tasks:
- plasma-store-server-dbgsym_{no_rc_version}-1_amd64.deb
- plasma-store-server_{no_rc_version}-1_amd64.deb

ubuntu-disco:
ci: travis
platform: linux
template: linux-packages/travis.linux.yml
params:
build_command: rake apt:build APT_TARGETS=ubuntu-disco
upload_extensions:
- .deb
- .dsc
- .debian.tar.xz
- .orig.tar.gz
artifacts:
- apache-arrow_{no_rc_version}-1.debian.tar.xz
- apache-arrow_{no_rc_version}-1.dsc
- apache-arrow_{no_rc_version}.orig.tar.gz
- gir1.2-arrow-1.0_{no_rc_version}-1_amd64.deb
- gir1.2-arrow-cuda-1.0_{no_rc_version}-1_amd64.deb
- gir1.2-gandiva-1.0_{no_rc_version}-1_amd64.deb
- gir1.2-parquet-1.0_{no_rc_version}-1_amd64.deb
- gir1.2-plasma-1.0_{no_rc_version}-1_amd64.deb
- libarrow-dev_{no_rc_version}-1_amd64.deb
- libarrow-glib-dev_{no_rc_version}-1_amd64.deb
- libarrow-glib-doc_{no_rc_version}-1_all.deb
- libarrow-glib14_{no_rc_version}-1_amd64.deb
- libarrow-cuda-dev_{no_rc_version}-1_amd64.deb
- libarrow-cuda-glib-dev_{no_rc_version}-1_amd64.deb
- libarrow-cuda-glib14_{no_rc_version}-1_amd64.deb
- libarrow-cuda14_{no_rc_version}-1_amd64.deb
- libarrow-dataset-dev_{no_rc_version}-1_amd64.deb
- libarrow-dataset14-dbgsym_{no_rc_version}-1_amd64.deb
- libarrow-dataset14_{no_rc_version}-1_amd64.deb
- libarrow-flight-dev_{no_rc_version}-1_amd64.deb
- libarrow-flight14-dbgsym_{no_rc_version}-1_amd64.deb
- libarrow-flight14_{no_rc_version}-1_amd64.deb
- libarrow-python-dev_{no_rc_version}-1_amd64.deb
- libarrow-python14_{no_rc_version}-1_amd64.deb
- libarrow14_{no_rc_version}-1_amd64.deb
- libgandiva-dev_{no_rc_version}-1_amd64.deb
- libgandiva-glib-dev_{no_rc_version}-1_amd64.deb
- libgandiva-glib-doc_{no_rc_version}-1_all.deb
- libgandiva-glib14_{no_rc_version}-1_amd64.deb
- libgandiva14_{no_rc_version}-1_amd64.deb
- libparquet-dev_{no_rc_version}-1_amd64.deb
- libparquet-glib-dev_{no_rc_version}-1_amd64.deb
- libparquet-glib-doc_{no_rc_version}-1_all.deb
- libparquet-glib14_{no_rc_version}-1_amd64.deb
- libparquet14_{no_rc_version}-1_amd64.deb
- libplasma-dev_{no_rc_version}-1_amd64.deb
- libplasma-glib-dev_{no_rc_version}-1_amd64.deb
- libplasma-glib-doc_{no_rc_version}-1_all.deb
- libplasma-glib14_{no_rc_version}-1_amd64.deb
- libplasma14_{no_rc_version}-1_amd64.deb
- plasma-store-server-dbgsym_{no_rc_version}-1_amd64.deb
- plasma-store-server_{no_rc_version}-1_amd64.deb

centos-6:
ci: travis
platform: linux
Expand Down

0 comments on commit 628ec59

Please sign in to comment.