wok-current rev 24587
updated gdb, gdb-dev and gdb-python (7.7 -> 11.2)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Feb 28 14:51:19 2022 +0100 (2022-02-28) |
parents | 4f7327b96a5a |
children | c8515a1a219e |
files | gdb-dev/receipt gdb-lang/receipt gdb-python/receipt gdb/description.txt gdb/receipt |
line diff
1.1 --- a/gdb-dev/receipt Mon Feb 28 09:01:30 2022 +0100 1.2 +++ b/gdb-dev/receipt Mon Feb 28 14:51:19 2022 +0100 1.3 @@ -1,32 +1,20 @@ 1.4 # SliTaz package receipt." 1.5 1.6 PACKAGE="gdb-dev" 1.7 -VERSION="7.7" 1.8 +VERSION="11.2" 1.9 CATEGORY="development" 1.10 -SHORT_DESC="The GNU Project Debugger dev files." 1.11 +SHORT_DESC="The GNU Project Debugger - development files." 1.12 MAINTAINER="erjo@slitaz.org" 1.13 -LICENSE="GPL2" 1.14 +LICENSE="GPL3" 1.15 +WEB_SITE="https://www.gnu.org/software/gdb/" 1.16 +DEPENDS="gdb pkg-config" 1.17 WANTED="gdb" 1.18 -WEB_SITE="http://www.gnu.org/software/gdb/" 1.19 + 1.20 HOST_ARCH="i486 arm" 1.21 1.22 -DEPENDS="gdb pkg-config" 1.23 1.24 genpkg_rules() 1.25 { 1.26 - mkdir -p $fs/usr 1.27 - 1.28 - # Copying include dir if exists 1.29 - if [ -d "$install/usr/include" ]; then 1.30 - cp -a $install/usr/include $fs/usr 1.31 - fi 1.32 - 1.33 - # Copying pkgconfig dir if exists 1.34 - if [ -d "$install/usr/lib/pkgconfig" ]; then 1.35 - test -d $fs/usr/lib/ || mkdir -p $fs/usr/lib/ 1.36 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.37 - fi 1.38 - 1.39 # Do not copy static libs, as they are all part of binutils 1.40 # binutils includes libbdf.*a, libiberty.a, and libopcodes.*a 1.41 # Copying static libs if exists 1.42 @@ -34,4 +22,7 @@ 1.43 # test -d $fs/usr/lib || mkdir -p $fs/usr/lib 1.44 # cp -a $install/usr/lib/*.*a $fs/usr/lib 1.45 #fi 1.46 + 1.47 + cook_copy_folders include 1.48 + cook_copy_folders pkgconfig 1.49 }
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/gdb-lang/receipt Mon Feb 28 14:51:19 2022 +0100 2.3 @@ -0,0 +1,18 @@ 2.4 +# SliTaz package receipt." 2.5 + 2.6 +PACKAGE="gdb-lang" 2.7 +VERSION="11.2" 2.8 +CATEGORY="localization" 2.9 +SHORT_DESC="The GNU Project Debugger - localised messages." 2.10 +MAINTAINER="maintainer@slitaz.org" 2.11 +LICENSE="GPL3" 2.12 +WEB_SITE="https://www.gnu.org/software/gdb/" 2.13 + 2.14 +WANTED="gdb" 2.15 + 2.16 +HOST_ARCH="i486 arm" 2.17 + 2.18 +genpkg_rules() 2.19 +{ 2.20 + cook_copy_folders locale 2.21 +}
3.1 --- a/gdb-python/receipt Mon Feb 28 09:01:30 2022 +0100 3.2 +++ b/gdb-python/receipt Mon Feb 28 14:51:19 2022 +0100 3.3 @@ -1,19 +1,20 @@ 3.4 # SliTaz package receipt. 3.5 3.6 PACKAGE="gdb-python" 3.7 -VERSION="7.7" 3.8 +VERSION="11.2" 3.9 CATEGORY="development" 3.10 SHORT_DESC="The GNU Project Debugger with Python support." 3.11 MAINTAINER="erjo@slitaz.org" 3.12 -LICENSE="GPL2" 3.13 +LICENSE="GPL3" 3.14 +WEB_SITE="https://www.gnu.org/software/gdb/" 3.15 + 3.16 SOURCE="gdb" 3.17 -TARBALL="$SOURCE-$VERSION.tar.bz2" 3.18 -WEB_SITE="http://www.gnu.org/software/gdb/" 3.19 +TARBALL="$SOURCE-$VERSION.tar.xz" 3.20 WGET_URL="$GNU_MIRROR/$SOURCE/$TARBALL" 3.21 PROVIDE="gdb" 3.22 - 3.23 -DEPENDS="ncurses expat glibc-dev python" 3.24 -BUILD_DEPENDS="ncurses-dev python-dev" 3.25 +SUGGESTED="gdb-lang" 3.26 +DEPENDS="expat gcc83-lib-base glibc-dev gmp ncurses python" 3.27 +BUILD_DEPENDS="gcc83 gmp-dev ncurses-dev python-dev" 3.28 3.29 # What is the latest version available today? 3.30 current_version() 3.31 @@ -25,17 +26,21 @@ 3.32 # Rules to configure and make the package. 3.33 compile_rules() 3.34 { 3.35 - ./configure \ 3.36 - --disable-werror \ 3.37 + ./configure \ 3.38 + CC=gcc-83 \ 3.39 + CXX=g++-83 \ 3.40 + --disable-werror \ 3.41 $CONFIGURE_ARGS && 3.42 - make $MAKEFLAGS && make install 3.43 + make $MAKEFLAGS && 3.44 + make install 3.45 } 3.46 3.47 # Rules to gen a SliTaz package suitable for Tazpkg. 3.48 genpkg_rules() 3.49 { 3.50 mkdir -p $fs/usr/share 3.51 - cp -a $install/usr/bin $fs/usr 3.52 - cp -a $install/usr/lib $fs/usr 3.53 + 3.54 + cook_copy_folders bin 3.55 + cook_copy_folders lib 3.56 cp -a $install/usr/share/gdb $fs/usr/share 3.57 }
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/gdb/description.txt Mon Feb 28 14:51:19 2022 +0100 4.3 @@ -0,0 +1,17 @@ 4.4 +GDB, the GNU Project debugger, allows you to see what is going on "inside" 4.5 +another program while it executes -- or what another program was doing at 4.6 +the moment it crashed. 4.7 + 4.8 +GDB can do four main kinds of things (plus other things in support of 4.9 +these) to help you catch bugs in the act: 4.10 + 4.11 +* Start your program, specifying anything that might affect its behavior. 4.12 +* Make your program stop on specified conditions. 4.13 +* Examine what has happened, when your program has stopped. 4.14 +* Change things in your program, so you can experiment with correcting 4.15 + the effects of one bug and go on to learn about another. 4.16 + 4.17 +Those programs might be executing on the same machine as GDB (native), 4.18 +on another machine (remote), or on a simulator. 4.19 +GDB can run on most popular UNIX and Microsoft Windows variants, as well 4.20 +as on Mac OS X.
5.1 --- a/gdb/receipt Mon Feb 28 09:01:30 2022 +0100 5.2 +++ b/gdb/receipt Mon Feb 28 14:51:19 2022 +0100 5.3 @@ -1,18 +1,23 @@ 5.4 # SliTaz package receipt. 5.5 5.6 PACKAGE="gdb" 5.7 -VERSION="7.7" 5.8 +VERSION="11.2" 5.9 CATEGORY="development" 5.10 +TAGS="debug" 5.11 SHORT_DESC="The GNU Project Debugger." 5.12 MAINTAINER="erjo@slitaz.org" 5.13 -LICENSE="GPL2" 5.14 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 5.15 -WEB_SITE="http://www.gnu.org/software/gdb/" 5.16 +LICENSE="GPL3" 5.17 +WEB_SITE="https://www.gnu.org/software/gdb/" 5.18 + 5.19 +TARBALL="$PACKAGE-$VERSION.tar.xz" 5.20 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" 5.21 + 5.22 +SUGGESTED="gdb-lang" 5.23 +DEPENDS="expat gcc83-lib-base glibc-dev gmp ncurses" 5.24 +BUILD_DEPENDS="gcc83 gmp-dev ncurses-dev readline-dev" 5.25 + 5.26 HOST_ARCH="i486 arm" 5.27 5.28 -DEPENDS="ncurses expat glibc-dev" 5.29 -BUILD_DEPENDS="ncurses-dev readline-dev" 5.30 5.31 # What is the latest version available today? 5.32 current_version() 5.33 @@ -24,17 +29,19 @@ 5.34 # Rules to configure and make the package. 5.35 compile_rules() 5.36 { 5.37 - ./configure \ 5.38 - --with-python=no \ 5.39 - --disable-werror \ 5.40 - $CONFIGURE_ARGS && \ 5.41 - make && make install 5.42 + ./configure \ 5.43 + CC=gcc-83 \ 5.44 + CXX=g++-83 \ 5.45 + --with-python=no \ 5.46 + --disable-werror \ 5.47 + $CONFIGURE_ARGS && 5.48 + make && 5.49 + make install 5.50 } 5.51 5.52 # Rules to gen a SliTaz package suitable for Tazpkg. 5.53 genpkg_rules() 5.54 { 5.55 - mkdir -p $fs/usr 5.56 - cp -a $install/usr/bin $fs/usr 5.57 + cook_copy_folders bin 5.58 } 5.59