aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantonioleal <antonioleal@yahoo.com>2016-09-05 22:05:29 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-05 22:05:29 +0700
commite0a132397b7b70fd1b5260da639d44c1365c2c2d (patch)
treef1a6eed69d77df79e3d913272c85b66f8a86ebde
parent074fd0bcf67a4e5592684257c9bb3ae76437dc2f (diff)
development/codeblocks: Updated for version 16.01.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--development/codeblocks/README17
-rw-r--r--development/codeblocks/codeblocks.SlackBuild27
-rw-r--r--development/codeblocks/codeblocks.info6
-rw-r--r--development/codeblocks/slack-desc8
4 files changed, 32 insertions, 26 deletions
diff --git a/development/codeblocks/README b/development/codeblocks/README
index 9803862591561..34dc5282a1ed7 100644
--- a/development/codeblocks/README
+++ b/development/codeblocks/README
@@ -1,8 +1,15 @@
-Code::Blocks is a free C++ IDE built to meet the most demanding needs of its
-users. It is designed to be very extensible and fully configurable.
+Code::Blocks is a free C, C++ and Fortran IDE built to meet the most demanding needs of
+its users. It is designed to be very extensible and fully configurable.
+Finally, an IDE with all the features you need, having a consistent look, feel and
+operation across platforms.
+
Built around a plugin framework, Code::Blocks can be extended with plugins.
Any kind of functionality can be added by installing/coding a plugin.
+For instance, compiling and debugging functionality is already provided by plugins!
-N.B. Path for codeblocks plugins is now /usr/lib{,64}/codeblocks/plugins.
-Take care if upgrading from a previous version and you have already
-installed additional plugins (you might need to reinstall them).
+N.B:
+a) The path for codeblocks plugins is now /usr/lib{,64}/codeblocks/plugins.
+ Take care if upgrading from a previous version and you have already
+ installed additional plugins (you might need to reinstall them).
+b) All contrib-plugins are disabled by default. Please uncomment line 87 in the
+ codeblocks.SlackBuild script in order to enable all contrib-plugins in your build.
diff --git a/development/codeblocks/codeblocks.SlackBuild b/development/codeblocks/codeblocks.SlackBuild
index 7c54899841716..61983299bf028 100644
--- a/development/codeblocks/codeblocks.SlackBuild
+++ b/development/codeblocks/codeblocks.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for codeblocks
-# Copyright 2014 Antonio Leal Lisbon, Portugal
+# Copyright 2016 Antonio Leal Lisbon, Portugal
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=codeblocks
-VERSION=${VERSION:-13.12}
+VERSION=${VERSION:-16.01}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -60,15 +60,14 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvfz $CWD/$PRGNAM\_$VERSION-1.tar.gz
-cd $PRGNAM-$VERSION
-
+tar xvfz $CWD/$PRGNAM\_$VERSION.tar.gz
+cd $PRGNAM-$VERSION.release
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
./bootstrap
@@ -81,10 +80,11 @@ CXXFLAGS="$SLKCFLAGS -fpermissive" \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --docdir=/usr/doc/$PKGNAME-$VERSION \
--disable-static \
- --build=$ARCH-slackware-linux
-# --with-contrib-plugins=all \
+ --build=$ARCH-slackware-linux # --with-contrib-plugins=all
+
+# If you want to enable all contrib-plugins, uncomment the option --with-contrib-plugins=all in the line above.
make
make install-strip DESTDIR=$PKG
@@ -92,8 +92,7 @@ make install-strip DESTDIR=$PKG
gzip -9 $PKG/usr/man/man?/*.?
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS BUGS BUILD COMPILERS COPYING ChangeLog NEWS README TODO \
+cp -a AUTHORS BUGS BUILD COMPILERS COPYING ChangeLog NEWS README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/development/codeblocks/codeblocks.info b/development/codeblocks/codeblocks.info
index ca952001d79aa..1211641a93ca1 100644
--- a/development/codeblocks/codeblocks.info
+++ b/development/codeblocks/codeblocks.info
@@ -1,8 +1,8 @@
PRGNAM="codeblocks"
-VERSION="13.12"
+VERSION="16.01"
HOMEPAGE="http://www.codeblocks.org/"
-DOWNLOAD="http://sourceforge.net/projects/codeblocks/files/Sources/13.12/codeblocks_13.12-1.tar.gz"
-MD5SUM="4b450f620d9f1875ecf6882ab3c11402"
+DOWNLOAD="https://sourceforge.net/projects/codeblocks/files/Sources/16.01/codeblocks_16.01.tar.gz"
+MD5SUM="823f6c229692367ff74f52098b887b6b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="wxPython"
diff --git a/development/codeblocks/slack-desc b/development/codeblocks/slack-desc
index 92a23622c8941..75bca9283d4bd 100644
--- a/development/codeblocks/slack-desc
+++ b/development/codeblocks/slack-desc
@@ -6,11 +6,11 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-codeblocks: Code::Blocks (a free C++ IDE)
+codeblocks: codeblocks (a free C++ and Fortran IDE)
codeblocks:
-codeblocks: Code::Blocks is a free C++ IDE built to meet the most demanding
-codeblocks: needs of its users. It is designed to be very extensible and fully
-codeblocks: configurable.
+codeblocks: Code::Blocks is a free C++ and Fortran IDE built to meet the most
+codeblocks: demanding needs of its users. It is designed to be very extensible
+codeblocks: and fully configurable.
codeblocks:
codeblocks: Homepage: http://www.codeblocks.org/
codeblocks: