Added base files

This commit is contained in:
Austen Adler 2016-04-14 16:40:54 -04:00
parent 8e8e5ac4b1
commit 428b81f196
136 changed files with 4203 additions and 0 deletions

14
.gitignore vendored Normal file
View File

@ -0,0 +1,14 @@
syntax: glob
*.tar.bz2
deb/*-*
*.tar.gz
windows/*-*
windows/wix/
.DS_Store
mac/*-*
.vagrant
mac/makes/pkg/build/
*.ipk
repack/
frcmake-*/
deb/frcmake_*

6
.hg_archival.txt Normal file
View File

@ -0,0 +1,6 @@
repo: b7f130060b201a106fa83675d9a247d63758684e
node: 5de14e5bbf2c0af64ed671b874e33006b9b47c5a
branch: default
latesttag: null
latesttagdistance: 94
changessincelatesttag: 98

14
.hgignore Normal file
View File

@ -0,0 +1,14 @@
syntax: glob
*.tar.bz2
deb/*-*
*.tar.gz
windows/*-*
windows/wix/
.DS_Store
mac/*-*
.vagrant
mac/makes/pkg/build/
*.ipk
repack/
frcmake-*/
deb/frcmake_*

123
Vagrantfile vendored Normal file
View File

@ -0,0 +1,123 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# All Vagrant configuration is done here. The most common configuration
# options are documented and commented below. For a complete reference,
# please see the online documentation at vagrantup.com.
# Every Vagrant virtual environment requires a box to build off of.
config.vm.box = "ubuntu/trusty32"
config.vm.provision :shell, path: "bootstrap-wine.sh"
# Disable automatic box update checking. If you disable this, then
# boxes will only be checked for updates when the user runs
# `vagrant box outdated`. This is not recommended.
# config.vm.box_check_update = false
# Create a forwarded port mapping which allows access to a specific port
# within the machine from a port on the host machine. In the example below,
# accessing "localhost:8080" will access port 80 on the guest machine.
# config.vm.network "forwarded_port", guest: 80, host: 8080
# Create a private network, which allows host-only access to the machine
# using a specific IP.
# config.vm.network "private_network", ip: "192.168.33.10"
# Create a public network, which generally matched to bridged network.
# Bridged networks make the machine appear as another physical device on
# your network.
# config.vm.network "public_network"
# If true, then any SSH connections made will enable agent forwarding.
# Default value: false
# config.ssh.forward_agent = true
# Share an additional folder to the guest VM. The first argument is
# the path on the host to the actual folder. The second argument is
# the path on the guest to mount the folder. And the optional third
# argument is a set of non-required options.
# config.vm.synced_folder "../data", "/vagrant_data"
# Provider-specific configuration so you can fine-tune various
# backing providers for Vagrant. These expose provider-specific options.
# Example for VirtualBox:
#
# config.vm.provider "virtualbox" do |vb|
# # Don't boot with headless mode
# vb.gui = true
#
# # Use VBoxManage to customize the VM. For example to change memory:
# vb.customize ["modifyvm", :id, "--memory", "1024"]
# end
#
# View the documentation for the provider you're using for more
# information on available options.
# Enable provisioning with CFEngine. CFEngine Community packages are
# automatically installed. For example, configure the host as a
# policy server and optionally a policy file to run:
#
# config.vm.provision "cfengine" do |cf|
# cf.am_policy_hub = true
# # cf.run_file = "motd.cf"
# end
#
# You can also configure and bootstrap a client to an existing
# policy server:
#
# config.vm.provision "cfengine" do |cf|
# cf.policy_server_address = "10.0.2.15"
# end
# Enable provisioning with Puppet stand alone. Puppet manifests
# are contained in a directory path relative to this Vagrantfile.
# You will need to create the manifests directory and a manifest in
# the file default.pp in the manifests_path directory.
#
# config.vm.provision "puppet" do |puppet|
# puppet.manifests_path = "manifests"
# puppet.manifest_file = "default.pp"
# end
# Enable provisioning with chef solo, specifying a cookbooks path, roles
# path, and data_bags path (all relative to this Vagrantfile), and adding
# some recipes and/or roles.
#
# config.vm.provision "chef_solo" do |chef|
# chef.cookbooks_path = "../my-recipes/cookbooks"
# chef.roles_path = "../my-recipes/roles"
# chef.data_bags_path = "../my-recipes/data_bags"
# chef.add_recipe "mysql"
# chef.add_role "web"
#
# # You may also specify custom JSON attributes:
# chef.json = { mysql_password: "foo" }
# end
# Enable provisioning with chef server, specifying the chef server URL,
# and the path to the validation key (relative to this Vagrantfile).
#
# The Opscode Platform uses HTTPS. Substitute your organization for
# ORGNAME in the URL and validation key.
#
# If you have your own Chef Server, use the appropriate URL, which may be
# HTTP instead of HTTPS depending on your configuration. Also change the
# validation key to validation.pem.
#
# config.vm.provision "chef_client" do |chef|
# chef.chef_server_url = "https://api.opscode.com/organizations/ORGNAME"
# chef.validation_key_path = "ORGNAME-validator.pem"
# end
#
# If you're using the Opscode platform, your validator client is
# ORGNAME-validator, replacing ORGNAME with your organization name.
#
# If you have your own Chef Server, the default validation client name is
# chef-validator, unless you changed the configuration.
#
# chef.validation_client_name = "ORGNAME-validator"
end

View File

@ -0,0 +1,43 @@
# Maintainer: Tyler Veness <calcmogul at gmail dot com>
_target="arm-frc-linux-gnueabi"
pkgname=${_target}-binutils
pkgver=2.24
pkgrel=2
pkgdesc="A set of programs to assemble and manipulate binary and object files (${_target})"
arch=(i686 x86_64)
license=(GPL)
options=(!libtool !buildflags !emptydirs)
url="http://sources.redhat.com/binutils"
groups=('frc-2015')
depends=('glibc')
source=(ftp://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.bz2)
md5sums=('e0f71a7b2ddab0f8612336ac81d9636b')
build() {
cd "$srcdir/binutils-${pkgver}"
find -name config.cache -exec rm {} \;
[ $NOEXTRACT -eq 1 ] || ./configure \
--prefix=/usr \
--target=${_target} \
--with-pkgversion='GNU Binutils for FRC' \
--with-sysroot=/usr/${_target} \
--disable-multilib \
--disable-nls \
--enable-lto \
--disable-libiberty-install \
--disable-werror
make configure-host
make
}
package() {
cd "$srcdir/binutils-${pkgver}"
make DESTDIR=$pkgdir install
rm -rf "$pkgdir"/usr/share/info
}

View File

@ -0,0 +1,39 @@
# Maintainer: Tyler Veness <calcmogul at gmail dot com>
_target="arm-frc-linux-gnueabi"
pkgname=${_target}-eglibc
pkgver=2.20
_basever=2.20-r0.62
pkgrel=2
pkgdesc="Embedded GNU C Library (${_target})"
arch=(any)
url="http://www.eglibc.org"
curl="http://www.eglibc.org"
license=('GPL')
groups=('frc-2016')
depends=("${_target}-linux-api-headers")
options=(!strip 'staticlibs' '!emptydirs')
source=("http://download.ni.com/ni-linux-rt/feeds/2015/arm/ipk/cortexa9-vfpv3/libc6_${_basever}_cortexa9-vfpv3.ipk"
"http://download.ni.com/ni-linux-rt/feeds/2015/arm/ipk/cortexa9-vfpv3/libc6-dev_${_basever}_cortexa9-vfpv3.ipk"
"http://download.ni.com/ni-linux-rt/feeds/2015/arm/ipk/cortexa9-vfpv3/libcidn1_${_basever}_cortexa9-vfpv3.ipk"
"http://download.ni.com/ni-linux-rt/feeds/2015/arm/ipk/cortexa9-vfpv3/libc6-thread-db_${_basever}_cortexa9-vfpv3.ipk"
"http://download.ni.com/ni-linux-rt/feeds/2015/arm/ipk/cortexa9-vfpv3/libc6-extra-nss_${_basever}_cortexa9-vfpv3.ipk")
md5sums=('7ef6696ad457445b12978b404db4a925'
'5903dbf17303729316bae977bf0ad7d6'
'767bf5340ce9807472f4e1275ecf4257'
'edaf5b79b28cb554fbd188fc45873531'
'91d346538b0c73415ec33aa3d375b850')
package() {
cd "${srcdir}"
for file in *.ipk; do
ar x $file
tar xf data.tar.gz
done
mkdir -p ${pkgdir}/usr/${_target}
rm -rf lib/eglibc
find . \( -name .install -o -name ..install.cmd \) -delete
cp -r lib ${pkgdir}/usr/${_target}
cp -r usr ${pkgdir}/usr/${_target}
}

View File

@ -0,0 +1,26 @@
# Maintainer: Tyler Veness <calcmogul at gmail dot com>
pkgname=arm-frc-linux-gnueabi-frcmake-hg
pkgver=r66.eec4367471da
pkgrel=2
pkgdesc="Wrapper scripts for using CMake with the FRC toolchain"
arch=('any')
url="https://bitbucket.org/byteit101/toolchain-builder/"
license=('GPL')
makedepends=('mercurial')
provides=('arm-frc-linux-gnueabi-frcmake')
groups=('frc-2015')
depends=('cmake')
_hgrepo='toolchain-builder'
source=(hg+https://bitbucket.org/byteit101/toolchain-builder/"$_hgrepo")
sha512sums=('SKIP')
pkgver() {
cd "$srcdir/$_hgrepo"
printf "r%s.%s" "$(hg identify -n)" "$(hg identify -i)"
}
package() {
cd "$srcdir/$_hgrepo/tools"
make -f frcmake-nix-makefile DESTDIR="$pkgdir" install || return 1
}

View File

@ -0,0 +1,78 @@
# Maintainer: Tyler Veness <calcmogul at gmail dot com>
_target="arm-frc-linux-gnueabi"
pkgname=${_target}-gcc
pkgver=4.9.1
pkgrel=2
pkgdesc="The GNU Compiler Collection (${_target})"
arch=(i686 x86_64)
license=('GPL' 'LGPL')
url="http://gcc.gnu.org"
groups=('frc-2015')
depends=("${_target}-binutils" "${_target}-eglibc" 'libmpc' 'elfutils')
options=('!buildflags' '!libtool' '!emptydirs' 'zipman' 'docs'
'!strip' 'staticlibs')
source=("ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2"
"minorSOname.patch")
md5sums=('fddf71348546af523353bd43d34919c1'
'eac80070a6324fc67ed5b3ac85551789')
build() {
cd "${srcdir}/gcc-${pkgver}"
echo ${pkgver} > gcc/BASE-VER
patch -p1 < ${srcdir}/minorSOname.patch
[[ -d gcc-build ]] || mkdir gcc-build
cd gcc-build
[ $NOEXTRACT -eq 1 ] || ../configure \
--prefix=/usr \
--program-prefix=${_target}- \
--target=${_target} \
--host=$CHOST \
--build=$CHOST \
--enable-shared \
--disable-nls \
--enable-threads=posix \
--enable-languages=c,c++ \
--disable-multilib \
--disable-multiarch \
--with-sysroot=/usr/${_target} \
--with-build-sysroot=/usr/${_target} \
--with-as=/usr/bin/${_target}-as \
--with-ld=/usr/bin/${_target}-ld \
--with-cpu=cortex-a9 \
--with-float=softfp \
--with-fpu=vfpv3 \
--with-specs='%{save-temps: -fverbose-asm} %{funwind-tables|fno-unwind-tables|mabi=*|ffreestanding|nostdlib:;:-funwind-tables}' \
--enable-lto \
--with-pkgversion='GCC for FRC' \
--with-cloog \
--enable-poison-system-directories \
--enable-plugin \
--with-system-zlib \
--disable-libmudflap
make all-gcc all-target-libgcc all-target-libstdc++-v3
}
package() {
cd "${srcdir}/gcc-${pkgver}"/gcc-build
make "DESTDIR=$pkgdir" install-gcc install-target-libgcc \
install-target-libstdc++-v3
rm -rf "$pkgdir"/usr/share/{man/man7,info}/
cp -r "$pkgdir"/usr/libexec/* "$pkgdir/usr/lib/"
rm -rf "$pkgdir/usr/libexec"
rm -rf "$pkgdir/usr/share/gcc-${pkgver}/python"
# strip it manually
strip "$pkgdir"/usr/bin/* 2>/dev/null || true
find "$pkgdir"/usr/lib -type f -exec /usr/bin/${_target}-strip \
--strip-unneeded {} \; 2>/dev/null || true
}

View File

@ -0,0 +1,49 @@
Description: Make the default SONAME include minor numbers (c++)
This patch adds .0.20 to the end of the SONAME for libstdc++ to support
independent side-by-side usage of .17 and .20.
.
gcc-armel (4.9.1-0frc2) trusty; urgency=low
.
* Fixing dependency ambiguity yet again...
Author: Patrick Plenefisch <phplenefisch@wpi.edu>
---
--- gcc-armel-4.9.1.orig/libstdc++-v3/configure
+++ gcc-armel-4.9.1/libstdc++-v3/configure
@@ -10698,7 +10698,7 @@ gnu*)
need_lib_prefix=no
need_version=no
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
- soname_spec='${libname}${release}${shared_ext}$major'
+ soname_spec='${libname}${release}${shared_ext}$versuffix'
shlibpath_var=LD_LIBRARY_PATH
hardcode_into_libs=yes
;;
@@ -10824,7 +10824,7 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu)
need_lib_prefix=no
need_version=no
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
- soname_spec='${libname}${release}${shared_ext}$major'
+ soname_spec='${libname}${release}${shared_ext}$versuffix'
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
shlibpath_var=LD_LIBRARY_PATH
shlibpath_overrides_runpath=no
@@ -14382,7 +14382,7 @@ gnu*)
need_lib_prefix=no
need_version=no
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
- soname_spec='${libname}${release}${shared_ext}$major'
+ soname_spec='${libname}${release}${shared_ext}$versuffix'
shlibpath_var=LD_LIBRARY_PATH
hardcode_into_libs=yes
;;
@@ -14508,7 +14508,7 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu)
need_lib_prefix=no
need_version=no
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
- soname_spec='${libname}${release}${shared_ext}$major'
+ soname_spec='${libname}${release}${shared_ext}$versuffix'
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
shlibpath_var=LD_LIBRARY_PATH
shlibpath_overrides_runpath=no

View File

@ -0,0 +1,49 @@
# Maintainer: Tyler Veness <calcmogul at gmail dot com>
_target=arm-frc-linux-gnueabi
pkgname=$_target-gdb
pkgver=7.8
pkgrel=1
pkgdesc="The GNU Debugger (${_target})"
arch=(i686 x86_64)
url='http://www.gnu.org/software/gdb/'
license=(GPL3)
groups=('frc-2015')
depends=(xz ncurses expat python2 guile)
makedepends=(texinfo)
optdepends=('openocd: for debugging JTAG targets'
'stlink: for debugging over STLINK')
options=(!emptydirs)
source=(ftp://ftp.gnu.org/gnu/gdb/gdb-$pkgver.tar.xz)
sha256sums=('49c4abe174f79f54e1f9e75210ffb590d9b497d5b5200b5398c0e073a4ecb875')
build() {
cd gdb-$pkgver
sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
./configure --target=${_target} \
--prefix=/usr \
--with-pkgversion='GDB for FRC' \
--disable-nls \
--with-libexpat \
--datadir=/usr/share/frc \
--with-system-gdbinit=/usr/share/frc/gdb/gdbinit \
--with-sysroot=/usr/${_target} \
--enable-lto
make
}
package() {
cd gdb-$pkgver
make DESTDIR="$pkgdir" install
# Following files conflict with 'gdb' package
rm -r "$pkgdir"/usr/share/info
# TOTHINK: we remove python module used for debugging. It means arm-*-gdb alone will not be able to debug and 'gdb' package
# should be installed. File a bug upstream - ask a separate python module folder for cross tools.
rm -r "$pkgdir"/usr/include/gdb
rm "$pkgdir"/usr/share/man/man1/gdb*
rm -r "$pkgdir"/usr/share/man/man5
}

View File

@ -0,0 +1,31 @@
# Maintainer: Tyler Veness <calcmogul at gmail dot com>
_target_arch=arm
_target=${_target_arch}-frc-linux-gnueabi
pkgname=${_target}-linux-api-headers
pkgver=3.16
_basever=3.16-r0.46
pkgrel=2
pkgdesc="Kernel headers sanitized for use in userspace (${_target})"
arch=(any)
url="http://www.gnu.org/software/libc"
license=('GPL2')
groups=('frc-2016')
provides=("${_target}-linux-api-headers=${pkgver}"
"${_target}-linux-api-headers30")
conflicts=("${_target}-linux-api-headers26")
options=('!emptydirs')
source=("http://download.ni.com/ni-linux-rt/feeds/2014/arm/ipk/cortexa9-vfp3/linux-libc-headers-dev_${_basever}_cortexa9-vfpv3.ipk")
sha512sums=('485c576ccbb255c3f5630b820b367fb7c02322b7ab516cf926e5d77adbb3aec1c624bfbb90a1e8647bd471230a9eb7e013c63e47f2f85b0452bc4539977b68f6')
package() {
cd "${srcdir}"
ar x linux-libc-headers-dev_${_basever}_armv7a-vfp-neon.ipk
tar xf data.tar.gz
cd usr
mkdir -p ${pkgdir}/usr/${_target}/usr
find . \( -name .install -o -name ..install.cmd \) -delete
cp -r ./* ${pkgdir}/usr/${_target}/usr
}

View File

@ -0,0 +1,36 @@
# Maintainer: Tyler Veness <calcmogul at gmail dot com>
pkgname=arm-frc-linux-gnueabi-wpilib-git
pkgver=935.87e1df0
pkgrel=1
pkgdesc="The WPI FIRST Robotics Competition C/C++ library for the arm-frc-linux-gnueabi toolchain"
arch=(i686 x86_64)
provides=('arm-frc-linux-gnueabi-wpilib')
url="https://usfirst.collab.net/sf/projects/wpilib/"
license=('custom=FRC-BSD')
groups=('frc-2015')
depends=('arm-frc-linux-gnueabi-gcc')
makedepends=('cmake' 'git')
options=('!strip' 'libtool' 'staticlibs')
source=("git+https://usfirst.collab.net/gerrit/allwpilib")
sha512sums=('SKIP')
pkgver() {
cd allwpilib
echo $(git rev-list --count master).$(git rev-parse --short master)
}
build() {
cd "$srcdir/allwpilib"
mkdir build && cd build
cmake .. -DCMAKE_TOOLCHAIN_FILE=../arm-toolchain.cmake
make ${MAKEFLAGS} || return 1
}
package () {
cd "$srcdir/allwpilib/build"
make ${MAKEFLAGS} DESTDIR="${pkgdir}" install || return 1
mv $pkgdir/usr/local $pkgdir/usr/arm-frc-linux-gnueabi
install -Dm644 ../wpilibj/BSD_License_for_WPILib_code.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
# vim:set ts=2 sw=2 et:

View File

@ -0,0 +1,20 @@
# Maintainter: Tyler Veness <calcmogul at gmail dot com>
pkgname=frc-2015
pkgver=20150105
pkgrel=1
pkgdesc="Metapackage for installing all of the FIRST Robotics Competition C/C++ build system components"
arch=('any')
url='https://bitbucket.org/byteit101/toolchain-builder/'
license=('GPL')
groups=('frc-2015')
depends=('arm-frc-linux-gnueabi-gcc'
'arm-frc-linux-gnueabi-wpilib-git'
'arm-frc-linux-gnueabi-frcmake-hg'
'arm-frc-linux-gnueabi-gdb')
source=()
pkgver() {
date +%Y%m%d
}

5
boostrap-wine.sh Normal file
View File

@ -0,0 +1,5 @@
#!/bin/bash
apt-add-repository -y ppa:byteit101/frc-toolchain
apt-get update
apt-get install -y wine1.6 winetricks zsh g++-mingw-w64 devscripts
echo "Please download wix310-binaries.zip from https://wix.codeplex.com/downloads/get/1483378 (Needs JS to download)"

73
deb/Makefile Normal file
View File

@ -0,0 +1,73 @@
include ../versions.sh
DEBUILD_FLAGS ?= -us -uc
all: flags sysroot binutils gcc gdb gcc-defaults frcmake frc-toolchain
flags:
echo "Using DEBUILG_FLAGS=$(DEBUILD_FLAGS)"
sysroot: libc6 linux-libc roborio-sysroot
frcmake:
rm -rf frcmake*
tar xf ../frcmake-${V_FRCMAKE}.tar.bz2
cp debians/frcmake frcmake-${V_FRCMAKE}/debian -r
cd frcmake-${V_FRCMAKE} && debuild $(DEBUILD_FLAGS)
roborio-sysroot:
rm -rf roborio-sysroot*
mkdir roborio-sysroot-${V_ROBORIO_SYSROOT}
cp debians/sysroot roborio-sysroot-${V_ROBORIO_SYSROOT}/debian -r
cd roborio-sysroot-${V_ROBORIO_SYSROOT} && debuild $(DEBUILD_FLAGS)
libc6:
rm -rf libc6-*
cp ../libc6-frc-armel-cross_$(Va_LIBC).orig.tar.bz2 ./
tar xf libc6-frc-armel-cross_$(Va_LIBC).orig.tar.bz2
cp debians/libc libc6-$(Va_LIBC)/debian -r
cd libc6-$(Va_LIBC) && debuild $(DEBUILD_FLAGS)
linux-libc:
rm -rf linux-libc-*
cp ../linux-libc-dev-frc-armel-cross_$(Va_LINUX).orig.tar.bz2 ./
tar xf linux-libc-dev-frc-armel-cross_$(Va_LINUX).orig.tar.bz2
cp debians/linux-libc linux-libc-$(Va_LINUX)/debian -r
cd linux-libc-$(Va_LINUX) && debuild $(DEBUILD_FLAGS)
binutils:
rm -rf binutils-*
cp ../binutils-$(V_BINUTILS).tar.bz2 binutils-frc-armel-cross_$(V_BINUTILS).orig.tar.bz2
tar xf binutils-frc-armel-cross_$(V_BINUTILS).orig.tar.bz2
cp debians/binutils binutils-$(V_BINUTILS)/debian -r
cd binutils-$(V_BINUTILS) && debuild $(DEBUILD_FLAGS)
gcc:
rm -rf gcc-*
cp ../gcc-$(V_GCC).tar.bz2 gcc-frc-armel-cross_$(V_GCC).orig.tar.bz2
tar xf gcc-frc-armel-cross_$(V_GCC).orig.tar.bz2
cp debians/gcc gcc-$(V_GCC)/debian -r
cd gcc-$(V_GCC) && debuild $(DEBUILD_FLAGS)
gcc-defaults:
rm -rf gcc-defaults-frc-armel-cross*
mkdir gcc-defaults-frc-armel-cross-${V_GCC_DEFAULTS}
cp debians/gcc-versions gcc-defaults-frc-armel-cross-${V_GCC_DEFAULTS}/debian -r
cd gcc-defaults-frc-armel-cross-${V_GCC_DEFAULTS} && debuild $(DEBUILD_FLAGS)
gdb:
rm -rf gdb*
cp ../gdb-$(V_GDB).tar.gz gdb-frc-armel-cross_$(V_GDB).orig.tar.gz
tar xf gdb-frc-armel-cross_$(V_GDB).orig.tar.gz
cp debians/gdb gdb-$(V_GDB)/debian -r
cd gdb-$(V_GDB) && debuild $(DEBUILD_FLAGS)
frc-toolchain:
rm -rf frc-toolchain*
mkdir frc-toolchain-1
cp debians/frc-toolchain frc-toolchain-1/debian -r
cd frc-toolchain-1 && debuild $(DEBUILD_FLAGS)
clean:
find . -maxdepth 1 ! -name Makefile ! -name debians -type f -delete

View File

@ -0,0 +1,5 @@
binutils-arm-frc-linux-gnueabi: non-standard-dir-in-usr usr/arm-frc-linux-gnueabi/
binutils-arm-frc-linux-gnueabi: package-contains-hardlink
binutils-arm-frc-linux-gnueabi: manpage-has-errors-from-man
binutils-arm-frc-linux-gnueabi: binary-without-manpage usr/bin/arm-frc-linux-gnueabi-ld.bfd

View File

@ -0,0 +1,23 @@
binutils-frc-armel-cross (2.25.1-1) stable; urgency=low
* Update to latest binutils version
-- WPILib Developers <wpilib@wpi.edu> Sun, 13 Sep 2015 14:38:08 -0400
binutils-frc-armel-cross (2.24-0) stable; urgency=low
* renaming triplet
-- Patrick Plenefisch <phplenefisch@wpi.edu> Wed, 10 Sep 2014 09:19:27 -0400
binutils-armel-cross-frc (2.24-2) trusty; urgency=low
* Bumping version for trusty
-- Patrick Plenefisch <phplenefisch@wpi.edu> Fri, 05 Sep 2014 09:19:27 -0400
binutils-armel-cross-frc (2.24-1) unstable; urgency=low
* Initial release
-- Patrick Plenefisch <phplenefisch@wpi.edu> Fri, 29 Aug 2014 19:26:26 -0400

View File

@ -0,0 +1 @@
9

View File

@ -0,0 +1,20 @@
Source: binutils-frc-armel-cross
Section: devel
Priority: optional
Maintainer: WPILib Developers <wpilib@wpi.edu>
Build-Depends: debhelper (>= 9.0.0), autotools-dev, bison, flex, gettext, texinfo, dejagnu, quilt, file, xz-utils, lsb-release
Standards-Version: 3.9.6
Homepage: http://www.gnu.org/software/binutils/
Package: binutils-arm-frc-linux-gnueabi
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Recommends: roborio-sysroot (>= 1.1)
Suggests: g++-arm-frc-linux-gnueabi
Description: GNU binary utilities, for arm-frc-linux-gnueabi target
This package provides GNU assembler, linker and binary utilities
for arm-frc-linux-gnueabi target, for use in a cross-compilation environment.
.
You don't need this package unless you plan to cross-compile programs
for arm-frc-linux-gnueabi.

View File

@ -0,0 +1,41 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: binutils
Source: ftp://ftp.gnu.org/pub/gnu/binutils/
Files: *
Copyright: 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
License: GPL-3+
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
MA 02110-1301, USA.
Files: debian/*
Copyright: 2015 WPILib Developers <wpilib@wpi.edu>
License: GPL-3+
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>
.
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".

21
deb/debians/binutils/rules Executable file
View File

@ -0,0 +1,21 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# This has to be exported to make some magic below work.
export DH_OPTIONS
%:
dh $@ --with autotools-dev
override_dh_auto_configure:
dh_auto_configure -- --prefix=/usr --target=arm-frc-linux-gnueabi '--with-pkgversion=GNU Binutils for FRC' --enable-poison-system-directories --with-sysroot=/usr/arm-frc-linux-gnueabi --enable-plugins --disable-nls --enable-lto --disable-werror
override_dh_installinfo:
rm -rf debian/binutils-arm-frc-linux-gnueabi/usr/share/info
override_dh_auto_test:

View File

@ -0,0 +1 @@
3.0 (quilt)

View File

@ -0,0 +1,11 @@
frc-toolchain (2016.0) stable; urgency=low
* Allow installation of latest gcc
-- WPILib Developers <wpilib@wpi.edu> Sun, 13 Sep 2015 14:28:52 -0400
frc-toolchain (2015.0) stable; urgency=low
* First version
-- Patrick Plenefisch <phplenefisch@wpi.edu> Thu, 01 Jan 2015 15:35:50 -0500

View File

@ -0,0 +1 @@
7

View File

@ -0,0 +1,14 @@
Source: frc-toolchain
Section: devel
Priority: optional
Maintainer: WPILib Developers <wpilib@wpi.edu>
Build-Depends: debhelper (>= 7)
Standards-Version: 3.9.6
Package: frc-toolchain
Architecture: all
Depends: g++-arm-frc-linux-gnueabi (>= 4.9), gdb-arm-frc-linux-gnueabi (>= 7.10), libc6-frc-armel-cross, libc6-dev-frc-armel-cross, linux-libc-dev-frc-armel-cross, ${misc:Depends}
Conflicts: g++-arm-frc-linux-gnueabi (>= 5.0)
Recommends: frcmake
Description: FRC Toolchain for 2016+ (Metapackage)
This metapackage depends on all the components of the FRC toolchain.

View File

@ -0,0 +1,18 @@
Copyright 1997 by Paul Seelig <pseelig@goofy.zdv.uni-mainz.de>
Copyright 1999 by Martin Bialasinski <agr30@uni-koeln.de>
The files in this package are free software; you can redistribute them
and/or modify them under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2, or (at
your option) any later version.
The files in this package are distributed in the hope that they will
be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
with your Debian GNU/Linux system, in /usr/share/common-licenses/GPL,
or with the Debian GNU/Linux bash source package as the file COPYING.
If not, write to the Free Software Foundation, Inc., 51 Franklin St,
Fifth Floor, Boston, MA 02110-1301, USA.

33
deb/debians/frc-toolchain/rules Executable file
View File

@ -0,0 +1,33 @@
#!/usr/bin/make -f
# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
#export DH_VERBOSE=1
build build-arch build-indep:
clean:
dh_testdir
dh_clean
install: build
dh_testdir
dh_testroot
dh_prep
binary-arch: install
binary-indep: install
dh_testdir
dh_testroot
dh_install
dh_installdocs
dh_installchangelogs
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install

View File

@ -0,0 +1 @@
1.0

View File

@ -0,0 +1,11 @@
frcmake (1.1) stable; urgency=low
* Update maintainer and copyrights
-- WPILib Developers <wpilib@wpi.edu> Sun, 13 Sep 2015 14:34:50 -0400
frcmake (1.0) unstable; urgency=low
* Initial Release.
-- Patrick Plenefisch <phplenefisch@wpi.edu> Sat, 08 Nov 2014 00:51:07 -0500

View File

@ -0,0 +1 @@
9

View File

@ -0,0 +1,12 @@
Source: frcmake
Section: devel
Priority: optional
Maintainer: WPILib Developers <wpilib@wpi.edu>
Build-Depends: debhelper (>= 9.0.0), docbook-xsl, docbook-xml, xsltproc
Standards-Version: 3.9.6
Package: frcmake
Architecture: all
Depends: cmake, g++-arm-frc-linux-gnueabi, ${misc:Depends}
Description: CMake wrapper for FRC
Small wrapper program to run CMake with the proper toolchain for FRC

View File

@ -0,0 +1,28 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: frcmake
Files: *
Copyright: 2015 WPILib Developers <wpilib@wpi.edu>
License: GPL-3.0+
Files: debian/*
Copyright: 2015 WPILib Developers <wpilib@wpi.edu>
License: GPL-3.0+
License: GPL-3.0+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".

View File

@ -0,0 +1,123 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!--
`xsltproc -''-nonet -''-param man.charmap.use.subset "0" -''-param make.year.ranges "1" -''-param make.single.year.ranges "1" /usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl manpage.xml
A manual page <package>.<section> will be generated. You may view the
manual page with: nroff -man <package>.<section> | less'. A typical entry
in a Makefile or Makefile.am is:
DB2MAN = /usr/share/sgml/docbook/stylesheet/xsl/docbook-xsl/manpages/docbook.xsl
XP = xsltproc -''-nonet -''-param man.charmap.use.subset "0"
manpage.1: manpage.xml
$(XP) $(DB2MAN) $<
The xsltproc binary is found in the xsltproc package. The XSL files are in
docbook-xsl. A description of the parameters you can use can be found in the
docbook-xsl-doc-* packages. Please remember that if you create the nroff
version in one of the debian/rules file targets (such as build), you will need
to include xsltproc and docbook-xsl in your Build-Depends control field.
Alternatively use the xmlto command/package. That will also automatically
pull in xsltproc and docbook-xsl.
Notes for using docbook2x: docbook2x-man does not automatically create the
AUTHOR(S) and COPYRIGHT sections. In this case, please add them manually as
<refsect1> ... </refsect1>.
To disable the automatic creation of the AUTHOR(S) and COPYRIGHT sections
read /usr/share/doc/docbook-xsl/doc/manpages/authors.html. This file can be
found in the docbook-xsl-doc-html package.
Validation can be done using: `xmllint -''-noout -''-valid manpage.xml`
General documentation about man-pages and man-page-formatting:
man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/
-->
<!-- Fill in your name for FIRSTNAME and SURNAME. -->
<!ENTITY dhfirstname "Patrick">
<!ENTITY dhsurname "Plenefisch">
<!-- dhusername could also be set to "&dhfirstname; &dhsurname;". -->
<!ENTITY dhusername "WPILib Developers">
<!ENTITY dhemail "wpilib@wpi.edu">
<!-- SECTION should be 1-8, maybe w/ subsection other parameters are
allowed: see man(7), man(1) and
http://www.tldp.org/HOWTO/Man-Page/q2.html. -->
<!ENTITY dhsection "1">
<!-- TITLE should be something like "User commands" or similar (see
http://www.tldp.org/HOWTO/Man-Page/q2.html). -->
<!ENTITY dhtitle "frcmake User Manual">
<!ENTITY dhucpackage "frc-cmake-toolchain">
<!ENTITY dhpackage "frc-cmake-toolchain">
]>
<refentry>
<refentryinfo>
<title>&dhtitle;</title>
<productname>&dhpackage;</productname>
<authorgroup>
<author>
<firstname>&dhfirstname;</firstname>
<surname>&dhsurname;</surname>
<contrib>Wrote this manpage for the Debian system.</contrib>
<address>
<email>&dhemail;</email>
</address>
</author>
</authorgroup>
<copyright>
<year>2015</year>
<holder>&dhusername;</holder>
</copyright>
<legalnotice>
<para>This manual page was written for the Debian system
(and may be used by others).</para>
<para>Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU General Public License,
Version 2 or (at your option) any later version published by
the Free Software Foundation.</para>
<para>On Debian systems, the complete text of the GNU General Public
License can be found in
<filename>/usr/share/common-licenses/GPL</filename>.</para>
</legalnotice>
</refentryinfo>
<refmeta>
<refentrytitle>&dhucpackage;</refentrytitle>
<manvolnum>&dhsection;</manvolnum>
</refmeta>
<refnamediv>
<refname>&dhpackage;</refname>
<refpurpose>CMake toolchain path for FRC</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>&dhpackage;</command>
</cmdsynopsis>
<cmdsynopsis>
<command>&dhpackage;</command>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1 id="description">
<title>DESCRIPTION</title>
<para>
<command>&dhpackage;</command> returns the path to the toolchain for FRC cross compiling in cmake</para>
</refsect1>
<refsect1 id="see_also">
<title>SEE ALSO</title>
<!-- In alpabetical order. -->
<para><citerefentry>
<refentrytitle>cmake</refentrytitle>
<manvolnum>1</manvolnum>
</citerefentry>, <citerefentry>
<refentrytitle>frcmake</refentrytitle>
<manvolnum>1</manvolnum>
</citerefentry></para>
</refsect1>
</refentry>

View File

@ -0,0 +1,141 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!--
`xsltproc -''-nonet -''-param man.charmap.use.subset "0" -''-param make.year.ranges "1" -''-param make.single.year.ranges "1" /usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl manpage.xml
A manual page <package>.<section> will be generated. You may view the
manual page with: nroff -man <package>.<section> | less'. A typical entry
in a Makefile or Makefile.am is:
DB2MAN = /usr/share/sgml/docbook/stylesheet/xsl/docbook-xsl/manpages/docbook.xsl
XP = xsltproc -''-nonet -''-param man.charmap.use.subset "0"
manpage.1: manpage.xml
$(XP) $(DB2MAN) $<
The xsltproc binary is found in the xsltproc package. The XSL files are in
docbook-xsl. A description of the parameters you can use can be found in the
docbook-xsl-doc-* packages. Please remember that if you create the nroff
version in one of the debian/rules file targets (such as build), you will need
to include xsltproc and docbook-xsl in your Build-Depends control field.
Alternatively use the xmlto command/package. That will also automatically
pull in xsltproc and docbook-xsl.
Notes for using docbook2x: docbook2x-man does not automatically create the
AUTHOR(S) and COPYRIGHT sections. In this case, please add them manually as
<refsect1> ... </refsect1>.
To disable the automatic creation of the AUTHOR(S) and COPYRIGHT sections
read /usr/share/doc/docbook-xsl/doc/manpages/authors.html. This file can be
found in the docbook-xsl-doc-html package.
Validation can be done using: `xmllint -''-noout -''-valid manpage.xml`
General documentation about man-pages and man-page-formatting:
man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/
-->
<!-- Fill in your name for FIRSTNAME and SURNAME. -->
<!ENTITY dhfirstname "Patrick">
<!ENTITY dhsurname "Plenefisch">
<!-- dhusername could also be set to "&dhfirstname; &dhsurname;". -->
<!ENTITY dhusername "WPILib Developers">
<!ENTITY dhemail "wpilib@wpi.edu">
<!-- SECTION should be 1-8, maybe w/ subsection other parameters are
allowed: see man(7), man(1) and
http://www.tldp.org/HOWTO/Man-Page/q2.html. -->
<!ENTITY dhsection "1">
<!-- TITLE should be something like "User commands" or similar (see
http://www.tldp.org/HOWTO/Man-Page/q2.html). -->
<!ENTITY dhtitle "frcmake User Manual">
<!ENTITY dhucpackage "FRCMAKE">
<!ENTITY dhpackage "frcmake">
]>
<refentry>
<refentryinfo>
<title>&dhtitle;</title>
<productname>&dhpackage;</productname>
<authorgroup>
<author>
<firstname>&dhfirstname;</firstname>
<surname>&dhsurname;</surname>
<contrib>Wrote this manpage for the Debian system.</contrib>
<address>
<email>&dhemail;</email>
</address>
</author>
</authorgroup>
<copyright>
<year>2015</year>
<holder>&dhusername;</holder>
</copyright>
<legalnotice>
<para>This manual page was written for the Debian system
(and may be used by others).</para>
<para>Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU General Public License,
Version 2 or (at your option) any later version published by
the Free Software Foundation.</para>
<para>On Debian systems, the complete text of the GNU General Public
License can be found in
<filename>/usr/share/common-licenses/GPL</filename>.</para>
</legalnotice>
</refentryinfo>
<refmeta>
<refentrytitle>&dhucpackage;</refentrytitle>
<manvolnum>&dhsection;</manvolnum>
</refmeta>
<refnamediv>
<refname>&dhpackage;</refname>
<refpurpose>CMake wrapper for FRC</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>&dhpackage;</command>
<!-- These are several examples, how syntaxes could look -->
<arg choice="opt"><option>cmake-options</option></arg>
<arg choice="req"><option>path-to-source</option>
</arg>
</cmdsynopsis>
<cmdsynopsis>
<command>&dhpackage;</command>
<!-- These are several examples, how syntaxes could look -->
<arg choice="opt"><option>cmake-options</option></arg>
<arg choice="req"><option>path-to-existing-build</option>
</arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1 id="description">
<title>DESCRIPTION</title>
<para>
<command>&dhpackage;</command> is a wrapper around CMake to automatically
use the correct toolchain file and is identical to the command:
cmake -DCMAKE_TOOLCHAIN_FILE=`frc-cmake-toolchain` ...</para>
</refsect1>
<refsect1 id="options">
<title>OPTIONS</title>
<para>The options are mirrors of
<citerefentry>
<refentrytitle>cmake</refentrytitle>
<manvolnum>1</manvolnum>
</citerefentry> options.</para>
</refsect1>
<refsect1 id="see_also">
<title>SEE ALSO</title>
<!-- In alpabetical order. -->
<para><citerefentry>
<refentrytitle>cmake</refentrytitle>
<manvolnum>1</manvolnum>
</citerefentry>, <citerefentry>
<refentrytitle>frc-cmake-toolchain</refentrytitle>
<manvolnum>1</manvolnum>
</citerefentry></para>
</refsect1>
</refentry>

View File

@ -0,0 +1 @@
frcmake: non-standard-dir-in-usr usr/arm-frc-linux-gnueabi/

View File

@ -0,0 +1,2 @@
debian/frcmake.1
debian/frc-cmake-toolchain.1

13
deb/debians/frcmake/rules Executable file
View File

@ -0,0 +1,13 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
%:
dh $@
override_dh_auto_build:
xsltproc --nonet --param make.year.ranges 1 --param make.single.year.ranges 1 --param man.charmap.use.subset 0 -o debian/ /usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl debian/frcmake.1.xml debian/frc-cmake-toolchain.1.xml
dh_auto_build $@

View File

@ -0,0 +1 @@
3.0 (native)

View File

@ -0,0 +1,12 @@
gcc-defaults-frc-armel-cross (4.9.3) stable; urgency=low
* Update maintainer and copyright
-- WPILib Developers <wpilib@wpi.edu> Sun, 13 Sep 2015 14:19:36 -0400
gcc-defaults-frc-armel-cross (4.9) stable; urgency=low
* Adding links for frc tools
-- Patrick Plenefisch <phplenefisch@wpi.edu> Thu, 11 Sep 2014 13:45:14 -0400

View File

@ -0,0 +1 @@
9

View File

@ -0,0 +1,45 @@
Source: gcc-defaults-frc-armel-cross
Maintainer: WPILib Developers <wpilib@wpi.edu>
Section: devel
Priority: extra
Standards-Version: 3.9.6
Build-Depends: debhelper (>= 9)
Package: cpp-arm-frc-linux-gnueabi
Priority: optional
Architecture: all
Section: interpreters
Depends: cpp-4.9-arm-frc-linux-gnueabi, ${misc:Depends}
Suggests: cpp-doc
Description: The GNU C preprocessor (cpp) for frc-armel architecture
The GNU C preprocessor is a macro processor that is used automatically
by the GNU C compiler to transform programs before actual compilation.
.
This package has been separated from gcc for the benefit of those who
require the preprocessor but not the cross-compiler for frc-armel
architecture.
.
This is a dependency package providing the default GNU C preprocessor for
frc-armel architecture.
Package: g++-arm-frc-linux-gnueabi
Priority: optional
Architecture: all
Depends: cpp-arm-frc-linux-gnueabi (>= 4.9), gcc-arm-frc-linux-gnueabi (>= 4.9), g++-4.9-arm-frc-linux-gnueabi, gcc-4.9-arm-frc-linux-gnueabi, ${misc:Depends}
Description: The GNU C++ compiler for frc-armel architecture
This is the GNU C++ compiler, a fairly portable optimizing compiler for C++.
.
This is a dependency package providing the default GNU C++ cross-compiler for
frc-armel architecture.
Package: gcc-arm-frc-linux-gnueabi
Priority: optional
Architecture: all
Depends: cpp-arm-frc-linux-gnueabi (>= 4.9), gcc-4.9-arm-frc-linux-gnueabi, ${misc:Depends}
Recommends: libc6-dev-frc-armel-cross
Suggests: make, manpages-dev, autoconf, automake, libtool, flex, bison, gdb-arm-frc-linux-gnueabi, gcc-doc
Description: The GNU C compiler for frc-armel architecture
This is the GNU C compiler, a fairly portable optimizing compiler for C.
.
This is a dependency package providing the default GNU C cross-compiler for
frc-armel architecture.

View File

@ -0,0 +1,25 @@
Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
Name: roborio-sysroot
Maintainer: Patrick Plenefisch <phplenefisch@wpi.edu>
Files: debian/*
Copyright: Copyright 2015 WPILib Developers <wpilib@wpi.edu>
License: GPL-2+
License: GPL-2+
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
.
On Debian systems, the full text of the GNU General Public
License version 2 can be found in the file
`/usr/share/common-licenses/GPL-2'.

View File

@ -0,0 +1,2 @@
/usr/bin/arm-frc-linux-gnueabi-cpp-4.9 /usr/bin/arm-frc-linux-gnueabi-cpp

View File

@ -0,0 +1,2 @@
/usr/bin/arm-frc-linux-gnueabi-g++-4.9 /usr/bin/arm-frc-linux-gnueabi-g++

View File

@ -0,0 +1,2 @@
/usr/bin/arm-frc-linux-gnueabi-gcc-4.9 /usr/bin/arm-frc-linux-gnueabi-gcc

22
deb/debians/gcc-versions/rules Executable file
View File

@ -0,0 +1,22 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
#
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
#
# Modified to make a template file for a multi-binary package with separated
# build-arch and build-indep targets by Bill Allombert 2001
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# This has to be exported to make some magic below work.
export DH_OPTIONS
export PREFIX=/usr/arm-frc-linux-gnueabi
%:
dh $@

View File

@ -0,0 +1 @@
3.0 (native)

92
deb/debians/gcc/changelog Normal file
View File

@ -0,0 +1,92 @@
gcc-frc-armel-cross (4.9.3-1frc1) stable; urgency=medium
* Fix launchpad build failure
-- WPILib Developers <wpilib@wpi.edu> Sat, 19 Sep 2015 16:58:58 -0400
gcc-frc-armel-cross (4.9.3-1) stable; urgency=medium
* Update to latest 4.9.3 in 4.9.x branch
* Update dependencies for 2016
-- WPILib Developers <wpilib@wpi.edu> Mon, 31 Aug 2015 13:39:56 -0400
gcc-frc-armel-cross (4.9.1-0build0) trusty; urgency=low
* prefixing frc
-- Patrick Plenefisch <phplenefisch@wpi.edu> Thu, 11 Sep 2014 12:20:04 -0400
gcc-armel (4.9.1-0frc6test1) trusty; urgency=low
* removing manual target strippers as they keep failing repeatedly
* fixing 32 bit builds
-- Patrick Plenefisch <phplenefisch@wpi.edu> Fri, 05 Sep 2014 20:04:05 -0400
gcc-armel (4.9.1-0frc4) trusty; urgency=low
* Fixing build issue with LD script
-- Patrick Plenefisch <phplenefisch@wpi.edu> Fri, 05 Sep 2014 19:29:05 -0400
gcc-armel (4.9.1-0frc3) trusty; urgency=low
* Adding minor version number in SONAME
-- Patrick Plenefisch <phplenefisch@wpi.edu> Fri, 05 Sep 2014 14:19:48 -0400
gcc-armel (4.9.1-0frc2) trusty; urgency=low
* Fixing dependency ambiguity yet again...
-- Patrick Plenefisch <phplenefisch@wpi.edu> Thu, 04 Sep 2014 22:04:33 -0400
gcc-armel (4.9.1-0frc1) trusty; urgency=low
* Fixing dependency ambiguity
-- Patrick Plenefisch <phplenefisch@wpi.edu> Thu, 04 Sep 2014 22:04:33 -0400
gcc-armel (4.9.1-0) trusty; urgency=low
* update for 4.9
-- Patrick Plenefisch <phplenefisch@wpi.edu> Fri, 29 Aug 2014 22:26:33 -0400
gcc-4.8 (4.8.2-1) precise; urgency=low
* Forking for armel packages
-- Patrick Plenefisch <phplenefisch@wpi.edu> Mon, 26 May 2014 14:35:12 -0400
gcc-powerpc-wrs-vxworks (4.8.0+1-1) stable; urgency=low
* Updating to release tarball
* Pre-depending on headers
-- Patrick Plenefisch <phplenefisch@wpi.edu> Fri, 22 Mar 2013 22:10:44 -0400
gcc-powerpc-wrs-vxworks (4.8.0+0svn196132-1debian3) stable; urgency=low
* Fixing 64 bit builds on launchpad
-- Patrick Plenefisch <phplenefisch@wpi.edu> Mon, 18 Mar 2013 19:26:48 -0400
gcc-powerpc-wrs-vxworks (4.8.0+0svn196132-1debian2) stable; urgency=low
* Fixing ubuntu compile flags
-- Patrick Plenefisch <phplenefisch@wpi.edu> Sun, 17 Mar 2013 23:35:42 -0400
gcc-powerpc-wrs-vxworks (4.8.0+0svn196132-1debian1) stable; urgency=low
* Changing dependencies
-- Patrick Plenefisch <phplenefisch@wpi.edu> Sun, 17 Mar 2013 01:35:53 -0400
gcc-powerpc-wrs-vxworks (4.8.0+0svn196132-1) unstable; urgency=low
* Initial release
-- Patrick Plenefisch <phplenefisch@wpi.edu> Wed, 06 Mar 2013 23:39:23 -0500

1
deb/debians/gcc/compat Normal file
View File

@ -0,0 +1 @@
9

127
deb/debians/gcc/control Normal file
View File

@ -0,0 +1,127 @@
Source: gcc-frc-armel-cross
Section: contrib/devel
Priority: extra
Maintainer: WPILib Developers <wpilib@wpi.edu>
Build-Depends: debhelper (>= 9.0.0), autotools-dev, libmpfr-dev (>= 3.1.0), libgmp-dev (>= 2:5.0.2), libmpc-dev (>= 0.9), libcloog-isl-dev (>= 0.17.0), flex, texinfo, zlib1g-dev, bison, binutils-arm-frc-linux-gnueabi (>= 2.24), libc6-dev-frc-armel-cross (>= 2.17)
Standards-Version: 3.9.6
Homepage: http://gcc.gnu.org/
Package: gcc-4.9-arm-frc-linux-gnueabi-base
Architecture: any
Section: devel
Priority: extra
Depends: ${misc:Depends}
Description: GCC, the GNU Compiler Collection (base package)
This package contains files common to all languages and libraries
contained in the GNU Compiler Collection (GCC).
Package: libgcc1-frc-armel-cross
Architecture: all
Section: devel
Priority: extra
Depends: gcc-4.9-arm-frc-linux-gnueabi-base (= ${binary:Version}), libc6-frc-armel-cross (>= 2.17), ${shlibs:Depends}, ${misc:Depends}
Provides: libgcc1-armel-dcv1
Description: GCC support library
Shared version of the support library, a library of internal subroutines
that GCC uses to overcome shortcomings of particular machines, or
special needs for some languages.
.
This package contains files for armel architecture, for use in cross-compile
environment.
#Note: This is set to any because of paths that I have not yet figured out
Package: libgcc-4.9-dev-frc-armel-cross
Architecture: any
Section: libdevel
Priority: optional
Recommends: libc6-dev-frc-armel-cross (>= 2.17)
Depends: gcc-4.9-arm-frc-linux-gnueabi-base (= ${binary:Version}), libgcc1-frc-armel-cross (>= ${binary:Version}), libgomp1-frc-armel-cross (>= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
Description: GCC support library (development files)
This package contains the headers and static library files necessary for
building C programs which use libgcc, libgomp, libquadmath, libssp or libitm.
Package: gcc-4.9-arm-frc-linux-gnueabi
Architecture: any
Section: devel
Priority: extra
Depends: gcc-4.9-arm-frc-linux-gnueabi-base (= ${binary:Version}), cpp-4.9-arm-frc-linux-gnueabi (= ${binary:Version}), binutils-arm-frc-linux-gnueabi (>= ${binutils:Version}), libgcc-4.9-dev-frc-armel-cross (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
Recommends: libc6-dev-frc-armel-cross (>= 2.17)
Suggests: gcc-4.9-doc (>= ${gcc:SoftVersion}), gcc-4.9-locales (>= ${gcc:SoftVersion})
Provides: c-compiler-arm-frc-linux-gnueabi
Description: GNU C compiler
This is the GNU C compiler, a fairly portable optimizing compiler for C.
.
This package contains C cross-compiler for armel architecture.
Package: cpp-4.9-arm-frc-linux-gnueabi
Architecture: any
Section: devel
Priority: extra
Depends: gcc-4.9-arm-frc-linux-gnueabi-base (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
Suggests: gcc-4.9-locales (>= ${gcc:SoftVersion})
Description: GNU C preprocessor
A macro processor that is used automatically by the GNU C compiler
to transform programs before actual compilation.
.
This package has been separated from gcc for the benefit of those who
require the preprocessor but not the compiler.
.
This package contains preprocessor configured for armel architecture.
Package: g++-4.9-arm-frc-linux-gnueabi
Architecture: any
Section: devel
Priority: extra
Depends: gcc-4.9-arm-frc-linux-gnueabi-base (= ${binary:Version}), gcc-4.9-arm-frc-linux-gnueabi (= ${binary:Version}), libstdc++6-dev-frc-armel-cross (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
Provides: c++-compiler-arm-frc-linux-gnueabi, c++abi2-dev
Suggests: gcc-4.9-doc (>= ${gcc:SoftVersion})
Description: GNU C++ compiler
This is the GNU C++ compiler, a fairly portable optimizing compiler for C++.
.
This package contains C++ cross-compiler for armel architecture.
Package: libgomp1-frc-armel-cross
Section: devel
Architecture: all
Priority: extra
Depends: gcc-4.9-arm-frc-linux-gnueabi-base (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
Description: GCC OpenMP (GOMP) support library
GOMP is an implementation of OpenMP for the C, C++, and Fortran compilers
in the GNU Compiler Collection.
Package: libstdc++6-frc-armel-cross
Architecture: all
Section: devel
Priority: extra
Depends: gcc-4.9-arm-frc-linux-gnueabi-base (= ${binary:Version}), libc6-frc-armel-cross (>= 2.17), ${shlibs:Depends}, ${misc:Depends}
Provides: libstdc++6-armel-dcv1
Conflicts: scim (<< 1.4.2-1)
Description: GNU Standard C++ Library v3
This package contains an additional runtime library for C++ programs
built with the GNU compiler.
.
libstdc++-v3 is a complete rewrite from the previous libstdc++-v2, which
was included up to g++-2.95. The first version of libstdc++-v3 appeared
in g++-3.0.
.
This package contains files for armel architecture, for use in cross-compile
environment.
Package: libstdc++6-dev-frc-armel-cross
Architecture: all
Section: devel
Priority: extra
Depends: gcc-4.9-arm-frc-linux-gnueabi-base (= ${binary:Version}), libgcc-4.9-dev-frc-armel-cross (= ${binary:Version}), libstdc++6-frc-armel-cross (>= ${binary:Version}), libc6-dev-frc-armel-cross (>= 2.17), ${misc:Depends}
Provides: libstdc++-dev-frc-armel-cross, libstdc++-dev-armel-dcv1, libstdc++6-dev-armel-dcv1, libstdc++6-4.9-dev-frc-armel-cross
Conflicts: libstdc++6-4.9-dev-frc-armel-cross
Description: GNU Standard C++ Library v3 (development files)
This package contains the headers and static library files necessary for
building C++ programs which use libstdc++.
.
libstdc++-v3 is a complete rewrite from the previous libstdc++-v2, which
was included up to g++-2.95. The first version of libstdc++-v3 appeared
in g++-3.0.
.
This package contains files for armel architecture, for use in cross-compile
environment.

40
deb/debians/gcc/copyright Normal file
View File

@ -0,0 +1,40 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: gcc
Source: ftp://ftp.gnu.org/pub/gnu/gcc/
Files: *
Copyright: 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
License: GPL-3.0+
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
MA 02110-1301, USA.
Files: debian/*
Copyright: 2015 WPILib Developers <wpilib@wpi.edu>
License: GPL-3.0+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".

View File

@ -0,0 +1,6 @@
usr/bin/arm-frc-linux-gnueabi-cpp-4.9
usr/lib/DEB_BUILD_GNU_TYPE/gcc/arm-frc-linux-gnueabi/4.9.3/cc1
usr/lib/DEB_BUILD_GNU_TYPE/gcc/arm-frc-linux-gnueabi/4.9.3/liblto_plugin.so
usr/lib/DEB_BUILD_GNU_TYPE/gcc/arm-frc-linux-gnueabi/4.9.3/liblto_plugin.so.0
usr/lib/DEB_BUILD_GNU_TYPE/gcc/arm-frc-linux-gnueabi/4.9.3/liblto_plugin.so.0.0.0
usr/share/man/man1/arm-frc-linux-gnueabi-cpp-4.9.1

View File

@ -0,0 +1,3 @@
usr/bin/arm-frc-linux-gnueabi-g++-4.9
usr/lib/DEB_BUILD_GNU_TYPE/gcc/arm-frc-linux-gnueabi/4.9.3/cc1plus
usr/share/man/man1/arm-frc-linux-gnueabi-g++-4.9.1

View File

@ -0,0 +1,10 @@
usr/bin/arm-frc-linux-gnueabi-gcc-4.9
usr/bin/arm-frc-linux-gnueabi-gcc-ar-4.9
usr/bin/arm-frc-linux-gnueabi-gcc-nm-4.9
usr/bin/arm-frc-linux-gnueabi-gcc-ranlib-4.9
usr/bin/arm-frc-linux-gnueabi-gcov-4.9
usr/lib/DEB_BUILD_GNU_TYPE/gcc/arm-frc-linux-gnueabi/4.9.3/collect2
usr/lib/DEB_BUILD_GNU_TYPE/gcc/arm-frc-linux-gnueabi/4.9.3/lto1
usr/lib/DEB_BUILD_GNU_TYPE/gcc/arm-frc-linux-gnueabi/4.9.3/lto-wrapper
usr/share/man/man1/arm-frc-linux-gnueabi-gcc-4.9.1
usr/share/man/man1/arm-frc-linux-gnueabi-gcov-4.9.1

View File

@ -0,0 +1,3 @@
gcc-4.9-arm-frc-linux-gnueabi: binary-without-manpage usr/bin/arm-frc-linux-gnueabi-gcc-ar-4.9
gcc-4.9-arm-frc-linux-gnueabi: binary-without-manpage usr/bin/arm-frc-linux-gnueabi-gcc-nm-4.9
gcc-4.9-arm-frc-linux-gnueabi: binary-without-manpage usr/bin/arm-frc-linux-gnueabi-gcc-ranlib-4.9

View File

@ -0,0 +1,20 @@
usr/lib/DEB_BUILD_GNU_TYPE/gcc/arm-frc-linux-gnueabi/4.9.3/crtbegin.o
usr/lib/DEB_BUILD_GNU_TYPE/gcc/arm-frc-linux-gnueabi/4.9.3/crtbeginS.o
usr/lib/DEB_BUILD_GNU_TYPE/gcc/arm-frc-linux-gnueabi/4.9.3/crtbeginT.o
usr/lib/DEB_BUILD_GNU_TYPE/gcc/arm-frc-linux-gnueabi/4.9.3/crtend.o
usr/lib/DEB_BUILD_GNU_TYPE/gcc/arm-frc-linux-gnueabi/4.9.3/crtendS.o
usr/lib/DEB_BUILD_GNU_TYPE/gcc/arm-frc-linux-gnueabi/4.9.3/libgcc.a
usr/lib/DEB_BUILD_GNU_TYPE/gcc/arm-frc-linux-gnueabi/4.9.3/libgcc_eh.a
usr/lib/DEB_BUILD_GNU_TYPE/gcc/arm-frc-linux-gnueabi/4.9.3/libgcov.a
usr/arm-frc-linux-gnueabi/lib/libasan.a
usr/arm-frc-linux-gnueabi/lib/libatomic.a
usr/arm-frc-linux-gnueabi/lib/libasan_preinit.o
usr/arm-frc-linux-gnueabi/lib/libgomp.a
usr/arm-frc-linux-gnueabi/lib/libgomp.spec
usr/arm-frc-linux-gnueabi/lib/libitm.a
usr/arm-frc-linux-gnueabi/lib/libitm.spec
usr/arm-frc-linux-gnueabi/lib/libsanitizer.spec
usr/arm-frc-linux-gnueabi/lib/libssp.a
usr/arm-frc-linux-gnueabi/lib/libubsan.a
usr/arm-frc-linux-gnueabi/lib/libssp_nonshared.a

View File

@ -0,0 +1,2 @@
libgcc-4.9-dev-frc-armel-cross: binary-from-other-architecture
libgcc-4.9-dev-frc-armel-cross: non-standard-dir-in-usr usr/arm-frc-linux-gnueabi/

View File

@ -0,0 +1,8 @@
usr/arm-frc-linux-gnueabi/lib/libgcc_s.so
usr/arm-frc-linux-gnueabi/lib/libgcc_s.so.1
usr/arm-frc-linux-gnueabi/lib/libasan.so.1.0.0
usr/arm-frc-linux-gnueabi/lib/libatomic.so.1.1.0
usr/arm-frc-linux-gnueabi/lib/libitm.so.1.0.0
usr/arm-frc-linux-gnueabi/lib/libssp.so.0.0.0
usr/arm-frc-linux-gnueabi/lib/libubsan.so.0.0.0

View File

@ -0,0 +1,2 @@
libgcc1-frc-armel-cross: non-standard-dir-in-usr usr/arm-frc-linux-gnueabi/
libgcc1-frc-armel-cross: arch-independent-package-contains-binary-or-object

View File

@ -0,0 +1,4 @@
usr/arm-frc-linux-gnueabi/lib/libgomp.so
usr/arm-frc-linux-gnueabi/lib/libgomp.so.1
usr/arm-frc-linux-gnueabi/lib/libgomp.so.1.0.0

View File

@ -0,0 +1,3 @@
libgomp1-frc-armel-cross: arch-independent-package-contains-binary-or-object usr/arm-frc-linux-gnueabi/lib/libgomp.so.1.0.0
libgomp1-frc-armel-cross: missing-dependency-on-libc needed by usr/arm-frc-linux-gnueabi/lib/libgomp.so.1.0.0
libgomp1-frc-armel-cross: non-standard-dir-in-usr usr/arm-frc-linux-gnueabi/

View File

@ -0,0 +1,5 @@
usr/arm-frc-linux-gnueabi/include/c++/4.9.3/
usr/arm-frc-linux-gnueabi/lib/libstdc++.a
usr/arm-frc-linux-gnueabi/lib/libstdc++.so
usr/arm-frc-linux-gnueabi/lib/libsupc++.a

View File

@ -0,0 +1,2 @@
libstdc++6-dev-frc-armel-cross: arch-independent-package-contains-binary-or-object
libstdc++6-dev-frc-armel-cross: non-standard-dir-in-usr usr/arm-frc-linux-gnueabi/

View File

@ -0,0 +1,3 @@
usr/arm-frc-linux-gnueabi/lib/libstdc++.so.6
usr/arm-frc-linux-gnueabi/lib/libstdc++.so.6.0.20

View File

@ -0,0 +1,3 @@
libstdc++6-frc-armel-cross: arch-independent-package-contains-binary-or-object usr/arm-frc-linux-gnueabi/lib/libstdc++.so.6.0.20
libstdc++6-frc-armel-cross: non-standard-dir-in-usr usr/arm-frc-linux-gnueabi/

79
deb/debians/gcc/rules Executable file
View File

@ -0,0 +1,79 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
#
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
#
# Modified to make a template file for a multi-binary package with separated
# build-arch and build-indep targets by Bill Allombert 2001
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# This has to be exported to make some magic below work.
export DH_OPTIONS
GCC_BUILD_DIR=${CURDIR}/../gcc-build-deb-package
USELESS_VALUE=$(shell mkdir -p ${GCC_BUILD_DIR})
SRC_DIR=${CURDIR}
export CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
export CPPFLAGS=-D_FORTIFY_SOURCE=2
export CXXFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
export FFLAGS=-g -O2
export LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro
export CFLAGS_FOR_TARGET=-g -O2 --param=ssp-buffer-size=4 -Wformat -Wformat-security
# BUG: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61164
# so we just disable it
export CPPFLAGS_FOR_TARGET=
export CXXFLAGS_FOR_TARGET=-g -O2 --param=ssp-buffer-size=4 -Wformat -Wformat-security
export FFLAGS_FOR_TARGET=-g -O2
export LDFLAGS_FOR_TARGET=-Wl,-Bsymbolic-functions -Wl,-z,relro
%:
dh $@ -B${GCC_BUILD_DIR} --with autotools-dev
override_dh_auto_configure:
dh_auto_configure -B${GCC_BUILD_DIR} -- --enable-threads=posix --target=arm-frc-linux-gnueabi --with-arch=armv7-a --with-cpu=cortex-a9 --with-float=softfp --with-fpu=vfpv3 --with-specs='%{save-temps: -fverbose-asm} %{funwind-tables|fno-unwind-tables|mabi=*|ffreestanding|nostdlib:;:-funwind-tables}' --enable-languages=c,c++ --enable-shared --enable-lto --disable-nls --with-pkgversion='GCC for FRC' --with-cloog --disable-multilib --disable-multiarch --prefix=/usr --with-sysroot=/usr/arm-frc-linux-gnueabi --enable-poison-system-directories --enable-plugin --with-system-zlib --disable-libmudflap --with-build-sysroot=/usr/arm-frc-linux-gnueabi --program-suffix=-4.9 --program-prefix=arm-frc-linux-gnueabi-
override_dh_shlibdeps:
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/arm-frc-linux-gnueabi/lib dh_shlibdeps -- --ignore-missing-info
#all the post files are silly and don't apply to us
rm -rf debian/*post*
override_dh_auto_build:
mkdir -p ${GCC_BUILD_DIR}/arm-frc-linux-gnueabi/libatomic/.deps
dh_auto_build -B${GCC_BUILD_DIR} -- -j3
override_dh_auto_install:
cd ${GCC_BUILD_DIR} && make -j1 install DESTDIR=${SRC_DIR}/debian/tmp AM_UPDATE_INFO_DIR=no
sed -i "/dependency_libs/ s/'.*'/''/" `find . -name '*.la'`
mkdir -p ${SRC_DIR}/debian/gcc-4.9-arm-frc-linux-gnueabi-base/usr/lib/${DEB_BUILD_MULTIARCH}/gcc/arm-frc-linux-gnueabi/4.9/
cd ${SRC_DIR}/debian/gcc-4.9-arm-frc-linux-gnueabi-base/usr/lib/${DEB_BUILD_MULTIARCH}/gcc/arm-frc-linux-gnueabi/ && ln -s 4.9/ 4.9.3
sed s/DEB_BUILD_GNU_TYPE/${DEB_BUILD_MULTIARCH}/ < debian/libgcc-4.9-dev-frc-armel-cross.install.in > debian/libgcc-4.9-dev-frc-armel-cross.install
sed s/DEB_BUILD_GNU_TYPE/${DEB_BUILD_MULTIARCH}/ < debian/gcc-4.9-arm-frc-linux-gnueabi.install.in > debian/gcc-4.9-arm-frc-linux-gnueabi.install
sed s/DEB_BUILD_GNU_TYPE/${DEB_BUILD_MULTIARCH}/ < debian/g++-4.9-arm-frc-linux-gnueabi.install.in > debian/g++-4.9-arm-frc-linux-gnueabi.install
sed s/DEB_BUILD_GNU_TYPE/${DEB_BUILD_MULTIARCH}/ < debian/cpp-4.9-arm-frc-linux-gnueabi.install.in > debian/cpp-4.9-arm-frc-linux-gnueabi.install
cd ${SRC_DIR}/debian/tmp && find usr/lib/${DEB_BUILD_MULTIARCH}/gcc/arm-frc-linux-gnueabi/4.9.3/include >> ${SRC_DIR}/debian/libgcc-4.9-dev-frc-armel-cross.install
cd ${SRC_DIR}/debian/tmp && find usr/lib/${DEB_BUILD_MULTIARCH}/gcc/arm-frc-linux-gnueabi/4.9.3/include-fixed >> ${SRC_DIR}/debian/libgcc-4.9-dev-frc-armel-cross.install
override_dh_strip:
DEB_HOST_GNU_TYPE=arm-frc-linux-gnueabi dh_strip -O-B${GCC_BUILD_DIR} -X liblto_plugin.so.0.0.0 -X cc1 -X lto -X collect2 -X arm-frc-linux-gnueabi- -X fixincl -X gengtype
dh_strip -O-B${GCC_BUILD_DIR} -X usr/arm-frc-linux-gnueabi/lib -X libgcov.a -X libgcc.a -X libgcc_eh.a
[ -d debian/libgcc1-frc-armel-cross ] && arm-frc-linux-gnueabi-strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/libgcc1-frc-armel-cross/usr/arm-frc-linux-gnueabi/lib/lib*.so.* || true
rm -rf ${SRC_DIR}/debian/*/usr/share/man/man7
rm -rf ${SRC_DIR}/debian/*/usr/share/info
# this should probbably go into a better override
echo 'binutils:Version=2.25.1' >> debian/gcc-4.9-arm-frc-linux-gnueabi.substvars
echo 'gcc:SoftVersion=4.9' >> debian/gcc-4.9-arm-frc-linux-gnueabi.substvars
echo 'gcc:SoftVersion=4.9' >> debian/g++-4.9-arm-frc-linux-gnueabi.substvars
echo 'gcc:SoftVersion=4.9' >> debian/cpp-4.9-arm-frc-linux-gnueabi.substvars
override_dh_auto_test:

View File

@ -0,0 +1 @@
3.0 (quilt)

17
deb/debians/gdb/changelog Normal file
View File

@ -0,0 +1,17 @@
gdb-frc-armel-cross (7.10-1) stable; urgency=medium
* Update to 7.10 from upstream
-- WPILib Developers <wpilib@wpi.edu> Sun, 13 Sep 2015 14:16:57 -0400
gdb-frc-armel-cross (7.8-1frc2) trusty; urgency=low
* Re-enabling python and fixing system paths
-- Patrick Plenefisch <phplenefisch@wpi.edu> Fri, 12 Sep 2014 21:53:19 -0400
gdb-frc-armel-cross (7.8-1) trusty; urgency=low
* Initial release
-- Patrick Plenefisch <phplenefisch@wpi.edu> Sun, 31 Aug 2014 18:00:02 -0400

1
deb/debians/gdb/compat Normal file
View File

@ -0,0 +1 @@
9

19
deb/debians/gdb/control Normal file
View File

@ -0,0 +1,19 @@
Source: gdb-frc-armel-cross
Section: devel
Priority: optional
Maintainer: WPILib Developers <wpilib@wpi.edu>
Build-Depends: debhelper (>= 9.0.0), autotools-dev, bison, flex, gettext, texinfo, dejagnu, quilt, file, xz-utils, lsb-release, libexpat1-dev, libncurses5-dev, libreadline-dev, zlib1g-dev, libbz2-dev, liblzma-dev, chrpath, libcloog-isl-dev (>= 0.17.0)
Standards-Version: 3.9.6
Homepage: https://www.gnu.org/software/gdb/
Package: gdb-arm-frc-linux-gnueabi
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, gdb
Recommends: gcc-arm-frc-linux-gnueabi
Description: GNU Debugger (Cross-debugger for arm-frc-linux-gnueabi)
GDB is a source-level debugger, capable of breaking programs at
any specific line, displaying variable values, and determining
where errors occurred. Currently, gdb supports C, C++, D,
Objective-C, Fortran, Java, OpenCL C, Pascal, assembly, Modula-2,
Go, and Ada. A must-have for any serious programmer. This is a
cross debugger for arm-frc-linux-gnueabi targets.

41
deb/debians/gdb/copyright Normal file
View File

@ -0,0 +1,41 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: gdb
Source: ftp://ftp.gnu.org/pub/gnu/gdb/
Files: *
Copyright: 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
License: GPL-3+
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
MA 02110-1301, USA.
Files: debian/*
Copyright: 2015 WPILib Developers <wpilib@wpi.edu>
License: GPL-3+
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>
.
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".

View File

@ -0,0 +1 @@
gdb-arm-frc-linux-gnueabi: binary-without-manpage

4
deb/debians/gdb/gdbinit Normal file
View File

@ -0,0 +1,4 @@
python
import os
gdb.execute('set solib-search-path ' + os.environ['HOME'] + '/wpilib/cpp/current/lib/')
end

30
deb/debians/gdb/rules Executable file
View File

@ -0,0 +1,30 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# This has to be exported to make some magic below work.
export DH_OPTIONS
%:
dh $@ --with autotools-dev
override_dh_auto_configure:
dh_auto_configure -- --target=arm-frc-linux-gnueabi --prefix=/usr --with-pkgversion='GDB for FRC' --disable-nls --with-libexpat --datadir=/usr/share/frc --with-system-gdbinit=/usr/share/frc/gdb/gdbinit --with-sysroot=/usr/arm-frc-linux-gnueabi/ --enable-lto
override_dh_auto_build:
dh_auto_build -- -j3
override_dh_installinfo:
rm -rf debian/gdb-arm-frc-linux-gnueabi/usr/share/info
rm -rf debian/gdb-arm-frc-linux-gnueabi/usr/share/man
rm -rf debian/gdb-arm-frc-linux-gnueabi/usr/include
# this is probbably not the right dh for this, but it works as its after install
chrpath -d debian/gdb-arm-frc-linux-gnueabi/usr/bin/arm-frc-linux-gnueabi-gdb
mkdir -p debian/gdb-arm-frc-linux-gnueabi/usr/share/frc/gdb/
cp debian/gdbinit debian/gdb-arm-frc-linux-gnueabi/usr/share/frc/gdb/gdbinit
override_dh_auto_test:

View File

@ -0,0 +1 @@
3.0 (quilt)

View File

@ -0,0 +1,17 @@
libc6-frc-armel-cross (2.20-r0.62-1) stable; urgency=low
* Updating to libc 2.20-r0.62 for 2016 image
-- WPILib Developers <wpilib@wpi.edu> Fri, 11 Sept 2015 15:49:12 -0400
libc6-frc-armel-cross (2.17-r4-0build0) stable; urgency=low
* Splitting out libc 2.17-r4 into multiple packages
-- Patrick Plenefisch <phplenefisch@wpi.edu> Wed, 10 Sept 2014 15:49:12 -0400
roborio-sysroot (1.0-1) stable; urgency=low
* Initial release with 2.17-r4 and 3.2.35-rt52
-- Patrick Plenefisch <phplenefisch@wpi.edu> Thu, 22 May 2014 13:52:08 -0400

1
deb/debians/libc/compat Normal file
View File

@ -0,0 +1 @@
9

34
deb/debians/libc/control Normal file
View File

@ -0,0 +1,34 @@
Source: libc6-frc-armel-cross
Maintainer: WPILib Developers <wpilib@wpi.edu>
Section: devel
Priority: extra
Standards-Version: 3.9.6
Build-Depends: debhelper (>= 9)
Package: libc6-frc-armel-cross
Architecture: all
Depends: ${misc:Depends}
Recommends: roborio-sysroot (>= 1.1)
Conflicts: roborio-sysroot (<< 1.1)
Replaces: roborio-sysroot (<< 1.1)
Description: Embedded GNU C Library: Shared libraries (for cross-compiling)
Contains the standard libraries that are used by nearly all programs on
the system. This package includes shared versions of the standard C library
and the standard math library, as well as many others.
.
This package contains files for frc-armel architecture, for use in
cross-compile environments.
Package: libc6-dev-frc-armel-cross
Architecture: all
Depends: libc6-frc-armel-cross (= ${binary:Version}), linux-libc-dev-frc-armel-cross, ${misc:Depends}
Recommends: roborio-sysroot (>= 1.1)
Conflicts: roborio-sysroot (<< 1.1)
Replaces: roborio-sysroot (<< 1.1)
Description: Embedded GNU C Library: Dev Libs and Header Files (for FRC)
Contains the symlinks, headers, and object files needed to compile
and link programs which use the standard C library.
.
This package contains files for frc-armel architecture, for use in
cross-compile environments.

View File

@ -0,0 +1,25 @@
Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
Name: roborio-sysroot
Maintainer: WPILib Developers <wpilib@wpi.edu>
Files: debian/*
Copyright: Copyright 2015 WPILib Developers <wpilib@wpi.edu>
License: GPL-2+
License: GPL-2+
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
.
On Debian systems, the full text of the GNU General Public
License version 2 can be found in the file
`/usr/share/common-licenses/GPL-2'.

View File

@ -0,0 +1,2 @@
libc6-dev-frc-armel-cross: arch-independent-package-contains-binary-or-object
libc6-dev-frc-armel-cross: non-standard-dir-in-usr usr/arm-frc-linux-gnueabi/

View File

@ -0,0 +1,5 @@
libc6-frc-armel-cross: arch-independent-package-contains-binary-or-object
libc6-frc-armel-cross: shared-lib-without-dependency-information usr/arm-frc-linux-gnueabi/lib/ld-2.20.so
libc6-frc-armel-cross: embedded-library usr/arm-frc-linux-gnueabi/lib/libm-2.20.so: libm
libc6-frc-armel-cross: missing-depends-line
libc6-frc-armel-cross: non-standard-dir-in-usr usr/arm-frc-linux-gnueabi/

View File

@ -0,0 +1,22 @@
Description: Makefile
add makefile
.
roborio-sysroot (1.0-1) UNRELEASED; urgency=low
.
* Initial release with 2.17-r4 and 3.2.35-rt52
Author: Patrick Plenefisch <phplenefisch@wpi.edu>
---
--- /dev/null
+++ roborio-sysroot-1.0/Makefile
@@ -0,0 +1,8 @@
+all:
+clean:
+# all and clean targets need to be present for DESTDIR to work...
+install:
+ mkdir -p debian/libc6-frc-armel-cross/${PREFIX}
+ mkdir -p debian/libc6-dev-frc-armel-cross/${PREFIX}
+ cp libc6/* debian/libc6-frc-armel-cross/${PREFIX} -r
+ cp libc6-dev/* debian/libc6-dev-frc-armel-cross/${PREFIX} -r
+

View File

@ -0,0 +1 @@
makefile

22
deb/debians/libc/rules Executable file
View File

@ -0,0 +1,22 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
#
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
#
# Modified to make a template file for a multi-binary package with separated
# build-arch and build-indep targets by Bill Allombert 2001
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# This has to be exported to make some magic below work.
export DH_OPTIONS
export PREFIX=/usr/arm-frc-linux-gnueabi
%:
dh $@

View File

@ -0,0 +1 @@
libc6-frc-armel-cross source: source-is-missing

View File

@ -0,0 +1 @@
3.0 (quilt)

View File

@ -0,0 +1,17 @@
linux-libc-dev-frc-armel-cross (3.16-r0.46-1) stable; urgency=low
* Updating to linux headers 3.16-r0.46 for 2016 image
-- WPILib Developers <wpilib@wpi.edu> Fri, 11 Sept 2015 15:49:12 -0400
linux-libc-dev-frc-armel-cross (3.8-r0-0build0) stable; urgency=low
* Splitting out linux headers 3.8-r0 into multiple packages
-- Patrick Plenefisch <phplenefisch@wpi.edu> Wed, 10 Sept 2014 16:59:21 -0400
roborio-sysroot (1.0-1) stable; urgency=low
* Initial release with 2.17-r4 and 3.2.35-rt52
-- Patrick Plenefisch <phplenefisch@wpi.edu> Thu, 22 May 2014 13:52:08 -0400

View File

@ -0,0 +1 @@
9

View File

@ -0,0 +1,23 @@
Source: linux-libc-dev-frc-armel-cross
Maintainer: WPILib Developers <wpilib@wpi.edu>
Section: devel
Priority: extra
Standards-Version: 3.9.6
Build-Depends: debhelper (>= 9)
Package: linux-libc-dev-frc-armel-cross
Architecture: all
Depends: ${misc:Depends}
Recommends: roborio-sysroot (>= 1.1)
Suggests: g++-arm-frc-linux-gnueabi
Conflicts: roborio-sysroot (<< 1.1)
Replaces: roborio-sysroot (<< 1.1)
Description: Linux Kernel Headers for development (for cross-compiling)
This package provides headers from the Linux kernel. These headers
are used by the installed headers for GNU glibc and other system
libraries. They are NOT meant to be used to build third-party modules for
your kernel.
.
This package contains files for frc-armel architecture, for use in
cross-compile environments.

View File

@ -0,0 +1,25 @@
Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
Name: roborio-sysroot
Maintainer: WPILib Developers <wpilib@wpi.edu>
Files: debian/*
Copyright: Copyright 2015 WPILib Developers <wpilib@wpi.edu>
License: GPL-2+
License: GPL-2+
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
.
On Debian systems, the full text of the GNU General Public
License version 2 can be found in the file
`/usr/share/common-licenses/GPL-2'.

View File

@ -0,0 +1 @@
linux-libc-dev-frc-armel-cross: non-standard-dir-in-usr usr/arm-frc-linux-gnueabi/

View File

@ -0,0 +1,20 @@
Description: Makefile
add makefile
.
roborio-sysroot (1.0-1) UNRELEASED; urgency=low
.
* Initial release with 2.17-r4 and 3.2.35-rt52
Author: Patrick Plenefisch <phplenefisch@wpi.edu>
---
--- /dev/null
+++ roborio-sysroot-1.0/Makefile
@@ -0,0 +1,7 @@
+all:
+clean:
+# all and clean targets need to be present for DESTDIR to work...
+install:
+ mkdir -p ${DESTDIR}${PREFIX}
+ cp usr ${DESTDIR}${PREFIX} -r
+

View File

@ -0,0 +1 @@
makefile

22
deb/debians/linux-libc/rules Executable file
View File

@ -0,0 +1,22 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
#
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
#
# Modified to make a template file for a multi-binary package with separated
# build-arch and build-indep targets by Bill Allombert 2001
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# This has to be exported to make some magic below work.
export DH_OPTIONS
export PREFIX=/usr/arm-frc-linux-gnueabi
%:
dh $@

View File

@ -0,0 +1 @@
3.0 (quilt)

View File

@ -0,0 +1,18 @@
roborio-sysroot (1.2) stable; urgency=medium
* Update to 2016 image dependencies
-- WPILib Developers <wpilib@wpi.edu> Sun, 13 Sep 2015 14:03:45 -0400
roborio-sysroot (1.1) stable; urgency=low
* Making into empty transitional package
-- Patrick Plenefisch <phplenefisch@wpi.edu> Wed, 10 Sept 2014 18:05:51 -0400
roborio-sysroot (1.0-1) stable; urgency=low
* Initial release with 2.17-r4 and 3.2.35-rt52
-- Patrick Plenefisch <phplenefisch@wpi.edu> Thu, 22 May 2014 13:52:08 -0400

View File

@ -0,0 +1 @@
9

View File

@ -0,0 +1,17 @@
Source: roborio-sysroot
Maintainer: WPILib Developers <wpilib@wpi.edu>
Section: devel
Priority: extra
Standards-Version: 3.9.6
Build-Depends: debhelper (>= 9)
Package: roborio-sysroot
Architecture: all
Depends: libc6-dev-frc-armel-cross (>= 2.20-r0.62), libc6-frc-armel-cross (>= 2.20-r0.62), linux-libc-dev-frc-armel-cross (>= 3.16-r0.46), ${misc:Depends}
Conflicts: roborio-sysroot (<< 1.1)
Replaces: roborio-sysroot (<< 1.1)
Description: System Root for RoboRIO targets (metapackage)
This package contains the headers and library files necessary for
building linux programs. This is a metapackage that will always depend
on the latest RoboRIO system root for FRC.

View File

@ -0,0 +1,25 @@
Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
Name: roborio-sysroot
Maintainer: WPILib Developers <wpilib@wpi.edu>
Files: debian/*
Copyright: Copyright 2015 WPILib Developers <wpilib@wpi.edu>
License: GPL-2+
License: GPL-2+
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
.
On Debian systems, the full text of the GNU General Public
License version 2 can be found in the file
`/usr/share/common-licenses/GPL-2'.

22
deb/debians/sysroot/rules Executable file
View File

@ -0,0 +1,22 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
#
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
#
# Modified to make a template file for a multi-binary package with separated
# build-arch and build-indep targets by Bill Allombert 2001
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# This has to be exported to make some magic below work.
export DH_OPTIONS
export PREFIX=/usr/arm-frc-linux-gnueabi
%:
dh $@

Some files were not shown because too many files have changed in this diff Show More