From 6e54a21887c398c75babc64dadb4dd83bb6b94bf Mon Sep 17 00:00:00 2001 From: James Meyer Date: Wed, 22 Jul 2009 20:04:17 -0500 Subject: find_deps.sh: add new script to locate packages that depend on any given pkg. for instance to check for pkgs that need libjpeg in core-testing cd /data/LinHES-PKGBUILD/abs/core-testing find_deps.sh libjpeg ./libmng (depends) ./jasper (depends) ./libwmf (depends) ./pil (depends) ./fbsplash (depends) ./qt3 (depends) ./fltk (depends) ./perl_modules/perl-tk (depends) ./libtiff (depends) ./directfb (depends) ./php (makedepends) ./php (makedepends) ./mjpegtools (depends) --- build_tools/bin/find_deps.sh | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100755 build_tools/bin/find_deps.sh diff --git a/build_tools/bin/find_deps.sh b/build_tools/bin/find_deps.sh new file mode 100755 index 0000000..914088c --- /dev/null +++ b/build_tools/bin/find_deps.sh @@ -0,0 +1,38 @@ +#!/bin/bash +if [ "$1" = "" ]; then + echo "usage: finddeps " + echo "" + echo "Find packages that depend on a given depname." + echo "Run this script from the top-level directory of your ABS tree." + echo "" + exit 0 +fi + +match=$1 +tld=$(pwd) + +#for d in $(find . -type d ); do +for d in $(find . -type d ! -path "*/pkg/*" ! -path "*/src/*"); do + cd ${d} + if [ -f PKGBUILD ]; then + unset pkgname depends makedepends + . PKGBUILD + for dep in "${depends[@]}"; do + # lose the version comaparator, if any + depname=${dep%%[<>=]*} + if [ "$depname" = "$match" ]; then + echo "$d (depends)" + fi + done + for dep in "${makedepends[@]}"; do + # lose the version comaparator, if any + depname=${dep%%[<>=]*} + if [ "$depname" = "$match" ]; then + echo "$d (makedepends)" + fi + done + fi + cd $tld +done + +# vim:ft=sh:ts=4:sw=4:et: -- cgit v0.12 From 576a3f16950384aa6e151bfd8316d6255c331395 Mon Sep 17 00:00:00 2001 From: Bob Igo Date: Thu, 23 Jul 2009 13:28:16 -0400 Subject: Giving Dragons the same boot parameters as default, plus a tag indicating what kind of system it is. --- .../profiles/i686-testing-REMOTE/cd-root/isolinux/hardsub.cfg | 6 +++--- .../i686-testing-local-httpd/cd-root/isolinux/hardsub.cfg | 6 +++--- .../profiles/i686-testing-local/cd-root/isolinux/hardsub.cfg | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/build_tools/clarch/larch/profiles/i686-testing-REMOTE/cd-root/isolinux/hardsub.cfg b/build_tools/clarch/larch/profiles/i686-testing-REMOTE/cd-root/isolinux/hardsub.cfg index 5083900..c5fe266 100644 --- a/build_tools/clarch/larch/profiles/i686-testing-REMOTE/cd-root/isolinux/hardsub.cfg +++ b/build_tools/clarch/larch/profiles/i686-testing-REMOTE/cd-root/isolinux/hardsub.cfg @@ -29,17 +29,17 @@ append initrd=larch.img forceXvesa label dragon MENU LABEL Dragon Version 1 kernel vmlinuz -append initrd=larch.img forceXvesa type=dragon +append initrd=larch.img type=dragon vga=0x314 quiet splash=silent,theme:linhes console=tty1 label dragon2 MENU LABEL Dragon Version 2 kernel vmlinuz -append initrd=larch.img forceXvesa type=dragon2 +append initrd=larch.img type=dragon2 vga=0x314 quiet splash=silent,theme:linhes console=tty1 label ausdragon MENU LABEL Australian Dragon kernel vmlinuz -append initrd=larch.img forceXvesa type=ausdragon +append initrd=larch.img type=ausdragon vga=0x314 quiet splash=silent,theme:linhes console=tty1 label goback diff --git a/build_tools/clarch/larch/profiles/i686-testing-local-httpd/cd-root/isolinux/hardsub.cfg b/build_tools/clarch/larch/profiles/i686-testing-local-httpd/cd-root/isolinux/hardsub.cfg index 5083900..c5fe266 100644 --- a/build_tools/clarch/larch/profiles/i686-testing-local-httpd/cd-root/isolinux/hardsub.cfg +++ b/build_tools/clarch/larch/profiles/i686-testing-local-httpd/cd-root/isolinux/hardsub.cfg @@ -29,17 +29,17 @@ append initrd=larch.img forceXvesa label dragon MENU LABEL Dragon Version 1 kernel vmlinuz -append initrd=larch.img forceXvesa type=dragon +append initrd=larch.img type=dragon vga=0x314 quiet splash=silent,theme:linhes console=tty1 label dragon2 MENU LABEL Dragon Version 2 kernel vmlinuz -append initrd=larch.img forceXvesa type=dragon2 +append initrd=larch.img type=dragon2 vga=0x314 quiet splash=silent,theme:linhes console=tty1 label ausdragon MENU LABEL Australian Dragon kernel vmlinuz -append initrd=larch.img forceXvesa type=ausdragon +append initrd=larch.img type=ausdragon vga=0x314 quiet splash=silent,theme:linhes console=tty1 label goback diff --git a/build_tools/clarch/larch/profiles/i686-testing-local/cd-root/isolinux/hardsub.cfg b/build_tools/clarch/larch/profiles/i686-testing-local/cd-root/isolinux/hardsub.cfg index 5083900..847276c 100644 --- a/build_tools/clarch/larch/profiles/i686-testing-local/cd-root/isolinux/hardsub.cfg +++ b/build_tools/clarch/larch/profiles/i686-testing-local/cd-root/isolinux/hardsub.cfg @@ -14,7 +14,7 @@ MENU TITLE LinHES: The Linux Home Entertainment System label atomic MENU LABEL LinHES on Atomic Ant! kernel vmlinuz -append initrd=larch.img vga=792 quiet splash=silent,theme:linhes console=tty1 disablemodules=agpart,intel_agp +append initrd=larch.img vga=792 quiet splash=silent,theme:linhes console=tty1 disablemodules=agpart,intel_agp #label linux-i810 #MENU LABEL with Intel i810 driver (DRI disabled) @@ -29,17 +29,17 @@ append initrd=larch.img forceXvesa label dragon MENU LABEL Dragon Version 1 kernel vmlinuz -append initrd=larch.img forceXvesa type=dragon +append initrd=larch.img type=dragon vga=0x314 quiet splash=silent,theme:linhes console=tty1 label dragon2 MENU LABEL Dragon Version 2 kernel vmlinuz -append initrd=larch.img forceXvesa type=dragon2 +append initrd=larch.img type=dragon2 vga=0x314 quiet splash=silent,theme:linhes console=tty1 label ausdragon MENU LABEL Australian Dragon kernel vmlinuz -append initrd=larch.img forceXvesa type=ausdragon +append initrd=larch.img type=ausdragon vga=0x314 quiet splash=silent,theme:linhes console=tty1 label goback -- cgit v0.12