# HG changeset patch # User Hans-G?nter Theisgen # Date 1646056279 -3600 # Node ID 85ce080d4127c0d59dd7b751a037794bbec064be # Parent 4f7327b96a5a9fb257ecffc2348ee39c6b43c6df updated gdb, gdb-dev and gdb-python (7.7 -> 11.2) diff -r 4f7327b96a5a -r 85ce080d4127 gdb-dev/receipt --- a/gdb-dev/receipt Mon Feb 28 09:01:30 2022 +0100 +++ b/gdb-dev/receipt Mon Feb 28 14:51:19 2022 +0100 @@ -1,32 +1,20 @@ # SliTaz package receipt." PACKAGE="gdb-dev" -VERSION="7.7" +VERSION="11.2" CATEGORY="development" -SHORT_DESC="The GNU Project Debugger dev files." +SHORT_DESC="The GNU Project Debugger - development files." MAINTAINER="erjo@slitaz.org" -LICENSE="GPL2" +LICENSE="GPL3" +WEB_SITE="https://www.gnu.org/software/gdb/" +DEPENDS="gdb pkg-config" WANTED="gdb" -WEB_SITE="http://www.gnu.org/software/gdb/" + HOST_ARCH="i486 arm" -DEPENDS="gdb pkg-config" genpkg_rules() { - mkdir -p $fs/usr - - # Copying include dir if exists - if [ -d "$install/usr/include" ]; then - cp -a $install/usr/include $fs/usr - fi - - # Copying pkgconfig dir if exists - if [ -d "$install/usr/lib/pkgconfig" ]; then - test -d $fs/usr/lib/ || mkdir -p $fs/usr/lib/ - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - fi - # Do not copy static libs, as they are all part of binutils # binutils includes libbdf.*a, libiberty.a, and libopcodes.*a # Copying static libs if exists @@ -34,4 +22,7 @@ # test -d $fs/usr/lib || mkdir -p $fs/usr/lib # cp -a $install/usr/lib/*.*a $fs/usr/lib #fi + + cook_copy_folders include + cook_copy_folders pkgconfig } diff -r 4f7327b96a5a -r 85ce080d4127 gdb-lang/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gdb-lang/receipt Mon Feb 28 14:51:19 2022 +0100 @@ -0,0 +1,18 @@ +# SliTaz package receipt." + +PACKAGE="gdb-lang" +VERSION="11.2" +CATEGORY="localization" +SHORT_DESC="The GNU Project Debugger - localised messages." +MAINTAINER="maintainer@slitaz.org" +LICENSE="GPL3" +WEB_SITE="https://www.gnu.org/software/gdb/" + +WANTED="gdb" + +HOST_ARCH="i486 arm" + +genpkg_rules() +{ + cook_copy_folders locale +} diff -r 4f7327b96a5a -r 85ce080d4127 gdb-python/receipt --- a/gdb-python/receipt Mon Feb 28 09:01:30 2022 +0100 +++ b/gdb-python/receipt Mon Feb 28 14:51:19 2022 +0100 @@ -1,19 +1,20 @@ # SliTaz package receipt. PACKAGE="gdb-python" -VERSION="7.7" +VERSION="11.2" CATEGORY="development" SHORT_DESC="The GNU Project Debugger with Python support." MAINTAINER="erjo@slitaz.org" -LICENSE="GPL2" +LICENSE="GPL3" +WEB_SITE="https://www.gnu.org/software/gdb/" + SOURCE="gdb" -TARBALL="$SOURCE-$VERSION.tar.bz2" -WEB_SITE="http://www.gnu.org/software/gdb/" +TARBALL="$SOURCE-$VERSION.tar.xz" WGET_URL="$GNU_MIRROR/$SOURCE/$TARBALL" PROVIDE="gdb" - -DEPENDS="ncurses expat glibc-dev python" -BUILD_DEPENDS="ncurses-dev python-dev" +SUGGESTED="gdb-lang" +DEPENDS="expat gcc83-lib-base glibc-dev gmp ncurses python" +BUILD_DEPENDS="gcc83 gmp-dev ncurses-dev python-dev" # What is the latest version available today? current_version() @@ -25,17 +26,21 @@ # Rules to configure and make the package. compile_rules() { - ./configure \ - --disable-werror \ + ./configure \ + CC=gcc-83 \ + CXX=g++-83 \ + --disable-werror \ $CONFIGURE_ARGS && - make $MAKEFLAGS && make install + make $MAKEFLAGS && + make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib $fs/usr + + cook_copy_folders bin + cook_copy_folders lib cp -a $install/usr/share/gdb $fs/usr/share } diff -r 4f7327b96a5a -r 85ce080d4127 gdb/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gdb/description.txt Mon Feb 28 14:51:19 2022 +0100 @@ -0,0 +1,17 @@ +GDB, the GNU Project debugger, allows you to see what is going on "inside" +another program while it executes -- or what another program was doing at +the moment it crashed. + +GDB can do four main kinds of things (plus other things in support of +these) to help you catch bugs in the act: + +* Start your program, specifying anything that might affect its behavior. +* Make your program stop on specified conditions. +* Examine what has happened, when your program has stopped. +* Change things in your program, so you can experiment with correcting + the effects of one bug and go on to learn about another. + +Those programs might be executing on the same machine as GDB (native), +on another machine (remote), or on a simulator. +GDB can run on most popular UNIX and Microsoft Windows variants, as well +as on Mac OS X. diff -r 4f7327b96a5a -r 85ce080d4127 gdb/receipt --- a/gdb/receipt Mon Feb 28 09:01:30 2022 +0100 +++ b/gdb/receipt Mon Feb 28 14:51:19 2022 +0100 @@ -1,18 +1,23 @@ # SliTaz package receipt. PACKAGE="gdb" -VERSION="7.7" +VERSION="11.2" CATEGORY="development" +TAGS="debug" SHORT_DESC="The GNU Project Debugger." MAINTAINER="erjo@slitaz.org" -LICENSE="GPL2" -TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="http://www.gnu.org/software/gdb/" +LICENSE="GPL3" +WEB_SITE="https://www.gnu.org/software/gdb/" + +TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" + +SUGGESTED="gdb-lang" +DEPENDS="expat gcc83-lib-base glibc-dev gmp ncurses" +BUILD_DEPENDS="gcc83 gmp-dev ncurses-dev readline-dev" + HOST_ARCH="i486 arm" -DEPENDS="ncurses expat glibc-dev" -BUILD_DEPENDS="ncurses-dev readline-dev" # What is the latest version available today? current_version() @@ -24,17 +29,19 @@ # Rules to configure and make the package. compile_rules() { - ./configure \ - --with-python=no \ - --disable-werror \ - $CONFIGURE_ARGS && \ - make && make install + ./configure \ + CC=gcc-83 \ + CXX=g++-83 \ + --with-python=no \ + --disable-werror \ + $CONFIGURE_ARGS && + make && + make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr - cp -a $install/usr/bin $fs/usr + cook_copy_folders bin }