Compare commits

..

93 Commits

Author SHA1 Message Date
Jose Pinto
f5bfe76a82 Bumped version to 1.9.14. 2015-06-30 07:20:14 +01:00
José Braga
88edd69395 lctr-a9xx: Added configuration for manta-21. 2015-06-29 18:24:33 +01:00
Jose Pinto
c3a875aaad pkg-config: Added flag to use bundled libraries. 2015-06-26 12:03:50 +01:00
Jose Pinto
3d61f41f13 Added configuration files for lauv-xplore-2. 2015-06-23 15:35:07 +01:00
Jose Pinto
a39c3c4c67 Config: Added system configuration for lauv-xplore-2-aux. 2015-06-23 15:32:32 +01:00
Jose Pinto
f09082179e Boost: Library updated to version 1.55. 2015-06-23 15:30:59 +01:00
Ricardo Martins
0c5f6ca811 lctr-a9xx: enabled dns server. 2015-06-15 14:42:12 +01:00
Renato Caldas
d358335097 otcl: added tk to the package dependencies 2015-06-07 19:10:34 +01:00
Ricardo Martins
f7ebc02923 e2fsprogs: upgraded to v1.42.13. 2015-06-03 14:12:09 +01:00
Ricardo Martins
bf874138ac pkg-config: upgraded to v0.28. 2015-06-03 14:10:11 +01:00
Ricardo Martins
06288b9fed lctr-a9xx: removed mantas managed by OMST. 2015-05-21 16:13:51 +01:00
Ricardo Martins
283d09a73f lctr-a9xx: re-added manta-15. 2015-05-21 16:10:16 +01:00
Ricardo Martins
b190ddad04 lctr-a9xx: removed manta-15. 2015-05-21 16:04:28 +01:00
Renato Caldas
0fac03e798 ntp: updated source URL. 2015-04-28 17:30:11 +01:00
Ricardo Martins
3ee9754b26 lctr-a6xx: fixed variable name. 2015-04-13 14:37:12 +01:00
Renato Caldas
8e4a5e8fd6 make: create symlink gmake->make. 2015-04-07 14:15:45 +01:00
Ricardo Martins
97d1c610c8 lctr-a9xx: added DHCP server config. 2015-03-26 17:28:47 +00:00
Ricardo Martins
e717d722ab dnsmasq: install service script. 2015-03-26 17:28:31 +00:00
Ricardo Martins
856bd832ce filesystem: create /var/lib. 2015-03-26 17:28:12 +00:00
Ricardo Martins
fc5685fa40 lctr-a6xx: added patch to trigger UART interrupts when FIFO has 16 bytes. 2015-03-19 14:52:40 +00:00
Ricardo Martins
341d6676ad lctr-a8xx: small fixes for MMC boot. 2015-03-18 12:07:50 +00:00
Ricardo Martins
07f82e04f7 nfs-utils: do not install files if fs folder does not exist. 2015-03-16 12:08:43 +00:00
Ricardo Martins
b3cd04f1e4 lctr-a6xx: added storage client script. 2015-03-16 11:21:15 +00:00
Ricardo Martins
b3b2a4edfd nfs-utils: removed obsolete scripts. 2015-03-16 11:18:13 +00:00
Ricardo Martins
eff7f5927c iana-etc: backported package. 2015-03-16 11:17:08 +00:00
Ricardo Martins
2c9888096c nfs-utils: added nfs-client script. 2015-03-02 16:58:29 +00:00
Ricardo Martins
ec1bf09d1f Merge branch 'release/glued-1.9.x' of github.com:LSTS/glued into release/glued-1.9.x 2015-03-02 16:53:56 +00:00
Ricardo Martins
09f5463715 lctr-a6xx: added NFS client support. 2015-03-02 16:51:32 +00:00
Ricardo Martins
ac520a9c1b rpcbind: backported library. 2015-03-02 16:51:14 +00:00
Ricardo Martins
4d32c16079 nfs-utils: backported library. 2015-03-02 16:51:05 +00:00
Ricardo Martins
e9c2f389fd libtirpc: backported library. 2015-03-02 16:50:58 +00:00
José Braga
b6c34a1172 lctr-a9xx: added manta-20, manta-21, manta-22 and manta-23. 2015-02-26 16:17:48 +00:00
José Braga
66c1da6d25 lctr-a9xx: added manta-18 and manta-19. 2015-02-26 16:02:06 +00:00
Ricardo Martins
71775a3734 ppp: changed URL. 2015-02-17 13:09:00 +00:00
Ricardo Martins
8439ec05e8 lctr-a6xx: made PPS builtin. 2015-02-16 16:36:23 +00:00
Ricardo Martins
1368c66223 socat: updated URL. 2015-02-11 18:46:50 +00:00
Ricardo Martins
3e069e7027 lctr-b2xx: removed absolete system. 2015-01-24 13:30:59 +00:00
Ricardo Martins
11fe6069c1 Removed DTN. 2015-01-16 08:23:56 +00:00
Ricardo Martins
58b5f37f30 pktoolchain: added prefix to base folder. 2014-12-14 21:25:18 +00:00
Ricardo Martins
ae92cad20f lctr-a6xx: updated lauv-noptilus-2 configuration with ESCC config. 2014-12-12 16:00:57 +00:00
Ricardo Martins
7bc39c42cd zip: update URL. 2014-12-09 21:29:41 +00:00
Ricardo Martins
d6d31cc585 lctr-a6xx: updated lauv-noptilus-3 configuration with ESCC config. 2014-12-09 16:30:18 +00:00
Ricardo Martins
4809ef5537 lctr-a9xx: added x8-03. 2014-11-24 16:43:39 +00:00
Ricardo Martins
12321bd4bc lctr-a9xx: added x8-03. 2014-11-24 16:43:32 +00:00
Ricardo Martins
ba83c7a108 lctr-a9xx: added manta-17. 2014-11-18 17:37:01 +00:00
Ricardo Martins
9b0c150f47 lctr-a9xx: added manta-15 and manta-16. 2014-11-18 17:23:17 +00:00
Ricardo Martins
e2e006cc33 Preparing glued-1.9.13. 2014-11-12 15:52:05 +00:00
Ricardo Martins
4cbc20eda6 lctr-a6xx: added lauv-oceaneco-1 and lauv-oceaneco-2. 2014-11-12 15:51:50 +00:00
Ricardo Martins
b6a866422a lctr-a6xx: reboot on kernel panic. 2014-10-16 17:51:33 +01:00
Ricardo Martins
9c879ac1ad lctr-a6xx: include kallsyms in kernel. 2014-10-16 17:51:14 +01:00
Ricardo Martins
28e3a2f4b0 filesystem: removed obsolete script mobile-internet. 2014-10-06 19:06:23 +01:00
Ricardo Martins
5c5c8ea50d lctr-a6xx: removed europa related packages. 2014-10-03 09:49:46 +01:00
Ricardo Martins
58bd6dded1 lctr-a9xx: added manta-13 and manta-14. 2014-09-27 17:13:31 +01:00
Ricardo Martins
187a2bebd4 lctr-a6xx: lauv-dolphin-2 and lauv-dolphin-3 use ESCC 104-ET boards. 2014-09-26 10:26:03 +01:00
Ricardo Martins
60f8ef41fc escc: updated version, added support for ET boards. 2014-09-26 10:25:37 +01:00
Ricardo Martins
8baaca2665 Added prefix to all folders. 2014-09-09 19:22:13 +01:00
Ricardo Martins
fa0956a7f9 lctr-a6xx: added lauv-dolphin-3. 2014-09-08 17:49:37 +01:00
Ricardo Martins
3142a7f473 lctr-a6xx: added lauv-dolphin-2. 2014-09-08 17:49:33 +01:00
Ricardo Martins
9906a6f9dc filesystem: added /mnt folder. 2014-08-11 22:07:21 +01:00
Ricardo Martins
e1137a4ee5 filesystem: using alternate method for IGEPv2 detection. 2014-08-11 21:02:08 +01:00
Ricardo Martins
d1aede925a Preparing v1.9.12. 2014-08-11 17:09:00 +01:00
Ricardo Martins
00bb88ce54 filesystem: prepared for u-boot upgrade. 2014-08-11 17:08:48 +01:00
Ricardo Martins
a650535d90 Creating v1.9.11. 2014-06-29 15:57:31 +01:00
Ricardo Martins
77b021c469 Development cycle. 2014-06-26 16:01:17 +01:00
Ricardo Martins
1616c418ad rsync: upgraded to v3.1.1. 2014-06-26 16:00:36 +01:00
Ricardo Martins
ff609d20cc lctr-a9xx: added manta-12. 2014-06-25 19:55:19 +01:00
Ricardo Martins
1b1a3b663c Preparing v1.9.10. 2014-05-22 13:18:40 +01:00
Ricardo Martins
74a2058410 lauv-lupis-1: streamlined packages. 2014-05-22 13:18:33 +01:00
Ricardo Martins
f4f30a7501 apache-ant: changed URL. 2014-05-13 21:10:04 +01:00
Ricardo Martins
0e871214bf gdb: upgraded to version 7.7.1. 2014-05-13 09:55:43 +01:00
Jose Braga
00b616b7c7 Development version 1.9.x. 2014-05-05 14:25:33 +01:00
Jose Braga
f6a3973c9b Version 1.9.9. 2014-05-05 14:23:43 +01:00
Jose Braga
d71cd0f31c lauv-lupis-1: added config. 2014-05-05 14:22:47 +01:00
Ricardo Martins
e395e75b04 Development version 1.9.x. 2014-04-29 03:43:04 +01:00
Ricardo Martins
c00c27649b Version 1.9.8. 2014-04-29 03:42:11 +01:00
Ricardo Martins
61529350c5 lctr-a6xx: added rsync daemon. 2014-04-28 23:09:58 +01:00
Ricardo Martins
108ce638ed rsync: added daemon scripts and configuration. 2014-04-28 23:09:43 +01:00
Jose Braga
d0381c9b62 lctr-a6xx: removed dtn. 2014-04-15 14:22:34 +01:00
Ricardo Martins
f90424a424 db: updated download address. 2014-03-31 12:38:32 +01:00
Ricardo Martins
9854a87f75 Starting version 1.9.7. 2014-02-08 16:14:12 +00:00
Ricardo Martins
53bd90bb42 GLUED: preparing v1.9.6. 2014-02-07 14:57:43 +00:00
Ricardo Martins
e53a6fc1b4 mkconfig: backported cfg_eth_ext_soft_mac. 2014-02-07 14:50:54 +00:00
Ricardo Martins
5171aee6a3 filesystem: backported dune upgrade fix. 2014-02-07 11:16:22 +00:00
Ricardo Martins
2950ac0ccc Marking version 1.9.5. 2014-02-06 11:13:46 +00:00
Jose Braga
90b0e4d5cc filesystem: added mux of pin that connects LEDs and camera. 2014-02-05 16:29:26 +00:00
Jose Braga
3575ea7021 lauv-lsts-1 and lauv-xplore-1 are two different vehicles. 2014-02-04 15:12:00 +00:00
Jose Braga
6fe4727a85 Renamed lauv-lsts-1 to lauv-xplore-1. 2014-02-04 14:26:56 +00:00
Jose Braga
c2c0689b70 Marking version 1.9.4. 2014-01-28 10:49:04 +00:00
Jose Braga
b0112ec61c escc: script to configure hg1700 plus psimar. 2014-01-28 10:39:11 +00:00
Jose Braga
e6e9a01c1d Marking version 1.9.3. 2014-01-27 18:00:38 +00:00
Jose Braga
23e5f9b34c Renamed sc-1 aux. 2014-01-27 17:57:08 +00:00
Jose Braga
5abb3e220a Marking version 1.9.1. 2014-01-27 17:48:37 +00:00
Jose Braga
9686a1cefa Renamed lauv-seacon-4. 2014-01-27 17:47:38 +00:00
454 changed files with 4973 additions and 4155 deletions

View File

@@ -1,6 +1,6 @@
###########################################################################
# GLUED: GNU/Linux Uniform Environment Distribution #
# Copyright (C) 2007-2014 Universidade do Porto - Faculdade de Engenharia #
# Copyright (C) 2007-2013 Universidade do Porto - Faculdade de Engenharia #
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
###########################################################################
# This program is free software; you can redistribute it and/or modify #
@@ -18,8 +18,6 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA #
# 02110-1301 USA. #
###########################################################################
# Author: Ricardo Martins #
###########################################################################
nfo1()
{

View File

@@ -27,7 +27,7 @@ tar czf "$1/${backupsystem}_backup/${backupfile}" \
architectures \
scripts \
product \
rules \
packages \
systems
echo "Done ... "

View File

@@ -1,7 +1,7 @@
#! /bin/bash
###########################################################################
# GLUED: GNU/Linux Uniform Environment Distribution #
# Copyright (C) 2007-2014 Universidade do Porto - Faculdade de Engenharia #
# Copyright (C) 2007-2013 Universidade do Porto - Faculdade de Engenharia #
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
###########################################################################
# This program is free software; you can redistribute it and/or modify #
@@ -19,11 +19,9 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA #
# 02110-1301 USA. #
###########################################################################
# Author: Ricardo Martins #
###########################################################################
# Config: GLUED version.
cfg_glued_version='1.11.1'
cfg_glued_version='1.9.14'
# Config: GLUED vendor.
cfg_glued_vendor='lsts'
@@ -112,7 +110,7 @@ cfg_dir_base="$PWD"
# Config: system configuration folder.
cfg_dir_system="$cfg_dir_base/$family_dir"
# Config: package rules folder.
cfg_dir_rules="$cfg_dir_base/rules"
cfg_dir_packages="$cfg_dir_base/packages"
# Config: configuration rules folder.
cfg_dir_postconfiguration="$cfg_dir_base/postconfiguration"
# Config: package sources folder.

View File

@@ -1,7 +1,7 @@
#! /bin/bash
###########################################################################
# GLUED: GNU/Linux Uniform Environment Distribution #
# Copyright (C) 2007-2014 Universidade do Porto - Faculdade de Engenharia #
# Copyright (C) 2007-2013 Universidade do Porto - Faculdade de Engenharia #
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
###########################################################################
# This program is free software; you can redistribute it and/or modify #
@@ -19,8 +19,6 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA #
# 02110-1301 USA. #
###########################################################################
# Author: Ricardo Martins #
###########################################################################
cmd_parted()
{

View File

@@ -1,7 +1,7 @@
#! /bin/bash
###########################################################################
# GLUED: GNU/Linux Uniform Environment Distribution #
# Copyright (C) 2007-2014 Universidade do Porto - Faculdade de Engenharia #
# Copyright (C) 2007-2013 Universidade do Porto - Faculdade de Engenharia #
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
###########################################################################
# This program is free software; you can redistribute it and/or modify #
@@ -19,8 +19,6 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA #
# 02110-1301 USA. #
###########################################################################
# Author: Ricardo Martins #
###########################################################################
source "functions.bash"
@@ -97,7 +95,7 @@ download()
u="$(echo ${git[$n]} | cut -f1 -d'#')"
b="$(echo ${git[$n]} | cut -f2 -d'#')"
dir=$(basename $u)
des="${cfg_dir_builds}/$pkg/$dir-git"
des="${cfg_dir_builds}/$PKG/$dir-git"
if [[ "$u" == git* ]]; then
git clone --verbose --branch "$b" "$u" "$des"
@@ -125,10 +123,10 @@ unpack()
case $file in
*tar*|*tgz|*tbz*)
tar -C "$cfg_dir_builds/$pkg" -x -f "$cfg_dir_downloads/$file" || exit 1
tar -C "$cfg_dir_builds/$PKG" -x -f "$cfg_dir_downloads/$file" || exit 1
;;
*zip)
unzip "$cfg_dir_downloads/$file" -d "$cfg_dir_builds/$pkg" || exit 1
unzip "$cfg_dir_downloads/$file" -d "$cfg_dir_builds/$PKG" || exit 1
;;
*)
echo "File $file can't be handled."
@@ -139,11 +137,11 @@ unpack()
dir_gnu_cfg="$cfg_dir_toolchain/share/gnu-config"
if [ "$cfg_dir_cfg/config.sub" ]; then
find "$cfg_dir_builds/$pkg" -name config.sub -exec install -v -m 0755 "$dir_gnu_cfg/config.sub" '{}' \;
find "$cfg_dir_builds/$PKG" -name config.sub -exec install -v -m 0755 "$dir_gnu_cfg/config.sub" '{}' \;
fi
if [ "$cfg_dir_cfg/config.guess" ]; then
find "$cfg_dir_builds/$pkg" -name config.guess -exec install -v -m 0755 "$dir_gnu_cfg/config.guess" '{}' \;
find "$cfg_dir_builds/$PKG" -name config.guess -exec install -v -m 0755 "$dir_gnu_cfg/config.guess" '{}' \;
fi
return 0
@@ -181,48 +179,48 @@ postconfigure()
perform_clean()
{
rm -rf "$cfg_dir_builds/$pkg/$pkg_var"
rm -rf "$cfg_dir_builds/$PKG/$PKG_VAR"
}
perform_all()
{
start="$(date +%s)"
nfo1 "$pkg / $pkg_var"
nfo1 "$PKG / $PKG_VAR"
export pkg_build_dir="$cfg_dir_builds/$pkg/$pkg_var"
export pkg_build_dir="$cfg_dir_builds/$PKG/$PKG_VAR"
for rule in download unpack post_unpack refresh configure build host_install target_install postconfigure; do
case $rule in
download | unpack | post_unpack)
marker="$cfg_dir_builds/$pkg/.$rule"
marker="$cfg_dir_builds/$PKG/.$rule"
;;
*)
marker="$cfg_dir_builds/$pkg/$pkg_var/.$rule"
marker="$cfg_dir_builds/$PKG/$PKG_VAR/.$rule"
;;
esac
mkdir -p "$cfg_dir_builds/$pkg/$pkg_var" && cd "$cfg_dir_builds/$pkg/$pkg_var"
mkdir -p "$cfg_dir_builds/$PKG/$PKG_VAR" && cd "$cfg_dir_builds/$PKG/$PKG_VAR"
if [ -z "$build_dir" ]; then
build_dir="$pkg-$version"
build_dir="$PKG-$version"
fi
if [ -n "$build_dir" ]; then
mkdir -p "$cfg_dir_builds/$pkg/$build_dir" && cd "$cfg_dir_builds/$pkg/$build_dir"
mkdir -p "$cfg_dir_builds/$PKG/$build_dir" && cd "$cfg_dir_builds/$PKG/$build_dir"
fi
if [ -n "$build_always" ] || [ "$rule" = 'refresh' ]; then
nfo2 "$rule"
$rule > "$cfg_dir_builds/$pkg/$pkg_var/$rule.log" 2>&1
$rule > "$cfg_dir_builds/$PKG/$PKG_VAR/$rule.log" 2>&1
else
if ! [ -f "$marker" ]; then
nfo2 "$rule"
$rule > "$cfg_dir_builds/$pkg/$pkg_var/$rule.log" 2>&1
$rule > "$cfg_dir_builds/$PKG/$PKG_VAR/$rule.log" 2>&1
if [ $? -eq 0 ]; then
touch "$marker"
else
err "failed to execute rule $rule of $pkg / $pkg_var"
tail "$cfg_dir_builds/$pkg/$pkg_var/$rule.log"
err "failed to execute rule $rule of $PKG / $PKG_VAR"
tail "$cfg_dir_builds/$PKG/$PKG_VAR/$rule.log"
exit 1
fi
fi
@@ -231,7 +229,7 @@ perform_all()
elapsed=$[ $(date +%s)-$start ]
ok "completed in ${elapsed}s"
touch "$cfg_dir_builds/$pkg/$pkg_var/.complete"
touch "$cfg_dir_builds/$PKG/$PKG_VAR/.complete"
}
# Check shell.
@@ -298,17 +296,17 @@ if [ "$pkg_var" = "$pkg" ]; then
pkg_var='default'
fi
export pkg
export pkg_var
export pkg_common="$cfg_dir_rules/$pkg/common.bash"
export PKG="$pkg"
export PKG_VAR="$pkg_var"
export PKG_COMMON="$cfg_dir_packages/$PKG/common.bash"
if ! [ -d "$cfg_dir_rules/$pkg" ]; then
echo "ERROR: package '$pkg' does not exist."
if ! [ -d "$cfg_dir_packages/$PKG" ]; then
echo "ERROR: package '$PKG' does not exist."
exit 1
fi
if ! [ -f "$cfg_dir_rules/$pkg/$pkg_var.bash" ]; then
echo "ERROR: variant '$pkg_var' of package '$pkg' does not exist."
if ! [ -f "$cfg_dir_packages/$PKG/$PKG_VAR.bash" ]; then
echo "ERROR: variant '$PKG_VAR' of package '$PKG' does not exist."
exit 1
fi
@@ -318,18 +316,18 @@ else
rule="$3"
fi
mkdir -p "$cfg_dir_downloads" "$cfg_dir_rootfs" "$cfg_dir_toolchain" "$cfg_dir_builds/$pkg"
mkdir -p "$cfg_dir_downloads" "$cfg_dir_rootfs" "$cfg_dir_toolchain" "$cfg_dir_builds/$PKG"
export pkg_dir="$cfg_dir_rules/$pkg"
export cfg_package_spec_dir="$cfg_dir_base/packages/$PKG"
. "$cfg_dir_rules/$pkg/$pkg_var.bash"
. "$cfg_dir_packages/$PKG/$PKG_VAR.bash"
# Postconfiguration:
if [ -e "$cfg_dir_postconfiguration/$pkg/$cfg_sys_name.bash" ]; then
# echo "ERROR: postconfiguration exists '$pkg'."
# echo "$cfg_dir_postconfiguration/$pkg/$cfg_sys_name.bash"
if [ -e "$cfg_dir_postconfiguration/$PKG/$cfg_sys_name.bash" ]; then
# echo "ERROR: postconfiguration exists '$PKG'."
# echo "$cfg_dir_postconfiguration/$PKG/$cfg_sys_name.bash"
# exit 1
. "$cfg_dir_postconfiguration/$pkg/$cfg_sys_name.bash"
. "$cfg_dir_postconfiguration/$PKG/$cfg_sys_name.bash"
fi
# Handle dependencies.
@@ -347,7 +345,7 @@ n=0; while [ -n "${requires[$n]}" ]; do
"$0" "$1" "$req"
if [ $? -ne 0 ]; then
err "failed to build dependency for package $pkg / $pkg_var"
err "failed to build dependency for package $PKG / $PKG_VAR"
exit 1
fi
done

View File

@@ -19,8 +19,6 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA #
# 02110-1301 USA. #
###########################################################################
# Author: Ricardo Martins #
###########################################################################
# Check shell type.
if [ -z "$BASH_VERSION" ]; then

View File

@@ -21,7 +21,7 @@ requires=\
post_unpack()
{
patches=$(ls "$pkg_dir/patches-$version/"*.patch 2>/dev/null)
patches=$(ls "$cfg_package_spec_dir/patches-$version/"*.patch 2>/dev/null)
if [ -n "$patches" ]; then
cat $patches | patch -p1
fi

0
rules/atk/default.bash → packages/atk/default.bash Normal file → Executable file
View File

View File

@@ -1,4 +1,4 @@
source $pkg_common
source $PKG_COMMON
requires=\
(

View File

@@ -1,4 +1,4 @@
source $pkg_common
source $PKG_COMMON
requires=\
(

View File

@@ -18,7 +18,7 @@ maintainer=\
"Ricardo Martins <rasm@fe.up.pt>"
)
build_dir=$pkg_var
build_dir=$PKG_VAR
configure()
{

View File

@@ -0,0 +1,93 @@
version=\
(
"1.53.0"
)
vendor_version="$(echo $version | tr . _)"
url=\
(
"http://downloads.sourceforge.net/project/boost/boost/$version/boost_$vendor_version.tar.bz2"
)
maintainer=\
(
'Jose Pinto <zepinto@fe.up.pt>'
)
md5=\
(
"a00d22605d5dbcfb4c9936a9b35bc4c2"
)
requires=\
(
'bzip2/default'
)
post_unpack()
{
patches=$(ls "$cfg_package_spec_dir/patches-${version}/"*.patch)
if [ -n "$patches" ]; then
cd "../boost_$vendor_version" && cat $patches | patch -p1
fi
}
configure()
{
cd "../boost_$vendor_version" &&
./bootstrap.sh \
--with-icu="$cfg_dir_toolchain_sysroot/usr"
GXX_VER=$(${cmd_target_cxx} -dumpversion)
echo "using gcc : ${GXX_VER} : ${cmd_target_cxx} : <cxxflags>\"-pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 ${cfg_target_gcc_flags} \" <linkflags>\"\" ;" > user-config.jam
echo "" >> user-config.jam
}
build()
{
cd "../boost_$vendor_version" &&
./bjam -d+2 \
toolset=gcc \
variant=release \
link=shared \
threading=multi \
runtime-link=shared \
-sICU_PATH="$cfg_dir_toolchain_sysroot/usr" \
--user-config=user-config.jam \
--prefix="${cfg_dir_toolchain_sysroot}/usr" \
--without-python \
--layout=tagged
}
host_install()
{
cd "../boost_$vendor_version" &&
./bjam -d+2 \
toolset=gcc \
variant=release \
link=shared \
threading=multi \
runtime-link=shared \
-sICU_PATH="$cfg_dir_toolchain_sysroot/usr" \
--user-config=user-config.jam \
--prefix="${cfg_dir_toolchain_sysroot}/usr" \
--without-python \
--layout=tagged \
install
mkdir -p "${cfg_dir_toolchain_sysroot}/usr/share"
cp -rvd "../boost_$vendor_version/boost" \
"${cfg_dir_toolchain_sysroot}/usr/share"
}
target_install()
{
base="$cfg_dir_toolchain_sysroot/usr/lib"
for f in "$base/libboost_"*.so*; do
dst="$cfg_dir_rootfs/lib/$(basename "$f")"
cp -v -d "$f" "$dst" &&
$cmd_target_strip "$dst"
done
}

View File

@@ -1,31 +1,26 @@
version=\
(
'1.5'
"1.4"
)
url=\
(
"http://downloads.sourceforge.net/project/bridge/bridge/bridge-utils-$version.tar.gz"
"http://downloads.sourceforge.net/project/bridge/bridge/bridge-utils-$version/bridge-utils-$version.tar.gz"
)
md5=\
(
'ec7b381160b340648dede58c31bb2238'
"0182fcac3a2b307113bbec34e5f1c673"
)
maintainer=\
(
'Ricardo Martins <rasm@fe.up.pt>'
"Ricardo Martins <rasm@fe.up.pt>"
)
post_unpack()
{
patches=$(ls "$pkg_dir/patches-$version/"*.patch 2>/dev/null)
if [ -n "$patches" ]; then
cat $patches | patch -p1
fi &&
autoreconf
cd ../bridge-utils-$version && autoreconf
}
configure()

View File

@@ -1,6 +1,6 @@
version=\
(
'1.22.0'
"1.20.2"
)
url=\
@@ -10,12 +10,12 @@ url=\
md5=\
(
'ac1881d1cdeb0729b22c663feaf1c663'
"e025414bc6cd79579cc7a32a45d3ae1c"
)
post_unpack()
{
patches=$(ls "$pkg_dir"/patches/*.patch)
patches=$(ls "$cfg_package_spec_dir"/patches/*.patch)
if [ -n "$patches" ]; then
cat $patches | patch -p1
@@ -24,7 +24,7 @@ post_unpack()
configure()
{
cp "$pkg_dir"/config .config &&
cp "$cfg_package_spec_dir"/config .config &&
yes '' | $cmd_make CROSS_COMPILE="$cfg_target_canonical"- oldconfig
}
@@ -36,5 +36,5 @@ build()
target_install()
{
$cmd_make CROSS_COMPILE="$cfg_target_canonical"- CONFIG_PREFIX=$cfg_dir_rootfs install &&
tar -C "$pkg_dir/fs" --exclude .svn -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f -
tar -C "$cfg_package_spec_dir/fs" --exclude .svn -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f -
}

View File

@@ -1,4 +1,4 @@
source $pkg_common
source $PKG_COMMON
configure()

View File

@@ -1,4 +1,4 @@
source $pkg_common
source $PKG_COMMON
build()
{

View File

@@ -88,7 +88,7 @@ target_install()
# Collectd:
$cmd_mkdir "$cfg_dir_rootfs/usr/share/"
$cmd_cp "$cfg_dir_toolchain_sysroot/usr/share/collectd/" "$cfg_dir_rootfs/usr/share/"
$cmd_cp "${pkg_dir}/fs/etc/rc.d/collectd" "$cfg_dir_rootfs/etc/rc.d/"
$cmd_cp "${cfg_package_spec_dir}/fs/etc/rc.d/collectd" "$cfg_dir_rootfs/etc/rc.d/"
# Configuration:
echo "# Client

View File

@@ -5,7 +5,7 @@ version=\
url=\
(
"ftp://mirror.ovh.net/gentoo-distfiles/distfiles/db-$version.tar.gz"
"http://www.lsts.pt/glued/db-$version.tar.gz"
)
md5=\

View File

@@ -25,7 +25,7 @@ requires=\
post_unpack()
{
patches=$(ls "$pkg_dir/patches/"*.patch)
patches=$(ls "$cfg_package_spec_dir/patches/"*.patch)
if [ -n "$patches" ]; then
cat $patches | patch -p0
fi

View File

@@ -26,5 +26,6 @@ build()
target_install()
{
$cmd_target_strip src/dnsmasq -o "$cfg_dir_rootfs/usr/sbin/dnsmasq"
$cmd_target_strip src/dnsmasq -o "$cfg_dir_rootfs/usr/sbin/dnsmasq" &&
tar -C "$cfg_package_spec_dir/fs" -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f -
}

View File

@@ -0,0 +1,10 @@
start()
{
mkdir -p /var/lib/misc
dnsmasq
}
stop()
{
killall dnsmasq
}

View File

View File

@@ -25,7 +25,7 @@ requires=\
post_unpack()
{
patches=$(ls "$pkg_dir/patches/"*.patch)
patches=$(ls "$cfg_package_spec_dir/patches/"*.patch)
if [ -n "$patches" ]; then
cat $patches | patch -p1
fi
@@ -62,5 +62,5 @@ target_install()
ln -fs dropbearmulti "$cfg_dir_rootfs/usr/bin/ssh" &&
ln -fs dropbearmulti "$cfg_dir_rootfs/usr/bin/dbclient" &&
ln -fs ../bin/dropbearmulti "$cfg_dir_rootfs/usr/sbin/dropbear" &&
tar -C "$pkg_dir/fs" --exclude .svn -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f -
tar -C "$cfg_package_spec_dir/fs" --exclude .svn -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f -
}

View File

@@ -1,6 +1,6 @@
version=\
(
'1.41.9'
'1.42.13'
)
url=\
@@ -10,7 +10,7 @@ url=\
md5=\
(
'52f60a9e19a02f142f5546f1b5681927'
'bc759fc62666786f5436e2075beb3265'
)
configure()

View File

@@ -18,13 +18,13 @@ maintainer=\
'Ricardo Martins <rasm@fe.up.pt>'
)
build_dir=$pkg_var
build_dir=$PKG_VAR
post_unpack()
{
ln -fs ../ports ../eglibc-$version/libc/ports
patches=$(ls "$pkg_dir"/patches/*.patch)
patches=$(ls "$cfg_package_spec_dir"/patches/*.patch)
cd ../eglibc-$version
if [ -n "$patches" ]; then

View File

@@ -1,4 +1,4 @@
source $pkg_common
source $PKG_COMMON
requires=\
(
@@ -13,7 +13,7 @@ build()
host_install()
{
$cmd_make install_root="$cfg_dir_toolchain_sysroot" -j1 install &&
cp "$pkg_dir"/files/timepps.h "$cfg_dir_toolchain_sysroot/usr/include"
cp "$cfg_package_spec_dir"/files/timepps.h "$cfg_dir_toolchain_sysroot/usr/include"
}
target_install()
@@ -33,5 +33,5 @@ target_install()
$cmd_target_strip -v --strip-unneeded "elf/ldconfig" \
-o "$cfg_dir_rootfs/sbin/ldconfig" &&
tar -C "$pkg_dir/fs" --exclude .svn -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f -
tar -C "$cfg_package_spec_dir/fs" --exclude .svn -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f -
}

View File

@@ -1,4 +1,4 @@
source $pkg_common
source $PKG_COMMON
requires=\
(

View File

@@ -1,4 +1,4 @@
source $pkg_common
source $PKG_COMMON
requires=\
(

View File

@@ -1,6 +1,6 @@
version=\
(
'1.0.4'
'1.0.6'
)
url=\
@@ -10,7 +10,7 @@ url=\
md5=\
(
'b9ee6a3d921643535c336b7c740b2c60'
'07783e66e27601ab0a8250c328b3d6bf'
)
if [ -d "$cfg_dir_builds/linux/linux-"* ]; then
@@ -25,7 +25,7 @@ build()
M=`pwd` \
-C "$kernel" &&
for util in setescc esccclock esccsettings; do
for util in setescc esccclock esccsettings esccfs6131; do
make CC="$cmd_target_cc" -C "utils/$util"
done
}
@@ -40,9 +40,9 @@ target_install()
-C "$kernel" \
modules_install &&
for util in setescc esccclock esccsettings; do
for util in setescc esccclock esccsettings esccfs6131; do
$cmd_target_strip "utils/$util/$util" -o "$cfg_dir_rootfs/usr/bin/$util"
done &&
tar -C "$pkg_dir/fs" --exclude .svn -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f -
tar -C "$cfg_package_spec_dir/fs" --exclude .svn -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f -
}

View File

@@ -0,0 +1,15 @@
# Channels:
# * 0: Honeywell HG1700
# * 1: LSTS PSIMAR
# Create channels.
/usr/bin/setescc 0 0x200 5 0 0 0
/usr/bin/setescc 1 0x200 5 0 0 1
# Set clocks (Hz).
"$cmd_escc_set_clock" 0 1000000
"$cmd_escc_set_clock" 1 25804800
# Set registers.
/usr/bin/esccsettings 0 /etc/escc/hg1700.cfg
/usr/bin/esccsettings 1 /etc/escc/psimar.cfg

View File

@@ -0,0 +1,11 @@
# Channels:
# * 0: Honeywell HG1700
# Create channels.
/usr/bin/setescc 0 0x200 5 0 0 0
# Set clocks (Hz).
"$cmd_escc_set_clock" 0 1000000
# Set registers.
/usr/bin/esccsettings 0 /etc/escc/hg1700.cfg

View File

@@ -1,8 +1,14 @@
# IMU
/usr/bin/setescc 0 0x200 5 0 0 0
/usr/bin/esccsettings 0 /etc/escc/ifog-imu-1-a.cfg
# Channels:
# * 0: iMAR iFOG-IMU-1-A
# * 1: LSTS PSIMAR
# PSIMAR
# Create channels.
/usr/bin/setescc 0 0x200 5 0 0 0
/usr/bin/setescc 1 0x200 5 0 0 1
# Set clock.
"$cmd_escc_set_clock" 1 25804800
# Set registers.
/usr/bin/esccsettings 0 /etc/escc/ifog-imu-1-a.cfg
/usr/bin/esccsettings 1 /etc/escc/psimar.cfg
/usr/bin/esccclock 1 0xc8920 22

View File

@@ -5,6 +5,14 @@ start()
mknod /dev/escc0 c 261 0 &&
rm -f /dev/escc1 &&
mknod /dev/escc1 c 261 1 &&
# Clock command.
if [ -z "$cfg_escc_et" ]; then
cmd_escc_set_clock='/usr/bin/esccclock'
else
cmd_escc_set_clock='/usr/bin/esccfs6131'
fi &&
if [ -f "$cfg_escc_script" ]; then
source "$cfg_escc_script"
fi

View File

@@ -27,7 +27,7 @@ requires=\
post_unpack()
{
patches=$(ls "$pkg_dir"/patches-$version/*.patch)
patches=$(ls "$cfg_package_spec_dir"/patches-$version/*.patch)
if [ -n "$patches" ]; then
cat $patches | patch -p1
@@ -37,7 +37,7 @@ post_unpack()
build()
{
OLD_PATH="$PATH"
export PATH="$pkg_dir/compat:$PATH"
export PATH="$cfg_package_spec_dir/compat:$PATH"
export PLASMA_HOME="$PWD/../europa-$version"
export EUROPA_HOME="$cfg_dir_toolchain_sysroot/usr"

View File

@@ -21,7 +21,7 @@ requires=\
post_unpack()
{
cd ../expect${version}
patches=$(ls "$pkg_dir/patches/"*.patch)
patches=$(ls "$cfg_package_spec_dir/patches/"*.patch)
if [ -n "$patches" ]; then
cat $patches | patch -p1
fi

View File

@@ -15,7 +15,7 @@ md5=\
post_unpack()
{
patch -d ../fconfig -p1 < "$pkg_dir"/patches/limits.patch
patch -d ../fconfig -p1 < "$cfg_package_spec_dir"/patches/limits.patch
}
build()

0
rules/fftw/default.bash → packages/fftw/default.bash Normal file → Executable file
View File

View File

@@ -0,0 +1,13 @@
start()
{
mount -t debugfs debugfs /sys/kernel/debug &&
# UART1.
echo 0 > /sys/kernel/debug/omap_mux/uart1_txd &&
echo 20 > /sys/kernel/debug/omap_mux/uart1_rxd &&
# Camera/Strobe
echo 0x07 > /sys/kernel/debug/omap_mux/lcd_data6 &&
umount /sys/kernel/debug
}

View File

@@ -14,9 +14,7 @@ maybe_upgrade()
rm -rf $dune_base/.dune-upgrade &&
mkdir $dune_base/.dune-upgrade &&
tar -x -C $dune_base/.dune-upgrade -f $dune_base/dune-*.tar.bz2 &&
if [ -f $dune_base/etc/*-saved.ini ]; then
cp "$dune_base/etc/"*-saved.ini "$dune_base/.dune-upgrade/"dune-*/etc 2> /dev/null
fi &&
cp "$dune_base/etc/"*-saved.ini "$dune_base/.dune-upgrade/"dune-*/etc 2> /dev/null
rm $dune_base/dune-*.tar.bz2 &&
for dir in $dune_base/.dune-upgrade/dune-*/*; do
d="$(basename "$dir")"

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