mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
development/qt-creator3: Removed.
Use qt-creator instead which is newer. Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
fbe1ca27a6
commit
e207c07c92
7 changed files with 0 additions and 192 deletions
|
@ -1,30 +0,0 @@
|
|||
Qt Creator 3 is a Cross-Platform Qt IDE.
|
||||
|
||||
The goal of Qt Creator is to provide a cross-platform, complete
|
||||
Integrated Development Environment (IDE) to develop Qt projects.
|
||||
|
||||
|
||||
NOTES:
|
||||
1 - This package conflicts with qt-creator (version 2): install
|
||||
only one of the two.
|
||||
|
||||
2 - This version of Qt Creator is advised for Qt5.
|
||||
|
||||
3 - Before start building/editing your application, you should
|
||||
configure the Qt kits (both Qt4 and Qt5).
|
||||
|
||||
4 - QmlDesigner will work properly only if you configure the Qt5
|
||||
Kit properly (Tools->Options->Build & Run->Kits) and make
|
||||
it the Default Kit.
|
||||
|
||||
5 - An old IDE configuration in user home directory
|
||||
(.config/QtProject*) also can lead to strange behavior.
|
||||
|
||||
6 - Examples, Qt5 docs and tutorials are not part of this
|
||||
package (except for Qt Creator Docs itself).
|
||||
To build Qt5 with documentations and examples do as
|
||||
follow:
|
||||
EXAMPLES=yes DOCS=yes ./qt5.SlackBuild
|
||||
|
||||
Upgrading from Qt5 5.4.* to Qt5 5.5 can lead to errors
|
||||
when building the Qt5 docs. So, remove Qt5 before upgrading.
|
|
@ -1,13 +0,0 @@
|
|||
if [ -x /usr/bin/update-desktop-database ]; then
|
||||
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
|
||||
fi
|
||||
|
||||
if [ -x /usr/bin/update-mime-database ]; then
|
||||
/usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
|
||||
fi
|
||||
|
||||
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
|
||||
fi
|
||||
fi
|
|
@ -1,12 +0,0 @@
|
|||
[Desktop Entry]
|
||||
Name=Qt Creator IDE
|
||||
GenericName=IDE for Qt Developers
|
||||
Comment=Qt-Creator is a cross-platform IDE tailored to the needs of Qt developers.
|
||||
Exec=qtcreator
|
||||
Icon=QtProject-qtcreator
|
||||
Categories=Development;IDE;GUIDesigner;Qt;Qt-Creator;
|
||||
Version=1.0
|
||||
StartupNotify=true
|
||||
Type=Application
|
||||
Terminal=false
|
||||
MimeType=application/x-qt-creator;
|
|
@ -1,100 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for qt-creator3
|
||||
|
||||
# Copyright 2014 Andre Barboza
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
# permitted provided that the following conditions are met:
|
||||
#
|
||||
# 1. Redistributions of this script must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
|
||||
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
|
||||
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
|
||||
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
||||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=qt-creator3
|
||||
SRCNAM=qt-creator
|
||||
VERSION=${VERSION:-3.5.1}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i486 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
LIBDIRSUFFIX="64"
|
||||
else
|
||||
SLKCFLAGS="-O2"
|
||||
LIBDIRSUFFIX=""
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $SRCNAM-opensource-src-$VERSION
|
||||
tar xvf $CWD/$SRCNAM-opensource-src-$VERSION.tar.gz
|
||||
cd $SRCNAM-opensource-src-$VERSION
|
||||
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 {} \;
|
||||
|
||||
qmake-qt5 \
|
||||
IDE_LIBRARY_BASENAME="lib$LIBDIRSUFFIX" \
|
||||
QMAKE_CXXFLAGS="$SLKCFLAGS" \
|
||||
qtcreator.pro
|
||||
make
|
||||
make install INSTALL_ROOT=$PKG/usr
|
||||
make docs
|
||||
make install_docs INSTALL_ROOT=$PKG/usr
|
||||
|
||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
mkdir -p $PKG/usr/share/applications
|
||||
cat $CWD/qt-creator.desktop > $PKG/usr/share/applications/qt-creator.desktop
|
||||
|
||||
mkdir -p $PKG/usr/share/mime/packages
|
||||
cat $CWD/x-qt-creator.xml > $PKG/usr/share/mime/packages/x-qt-creator.xml
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a HACKING README.md LGPL_EXCEPTION.TXT LICENSE.LGPLv21 LICENSE.LGPLv3 $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
|
@ -1,10 +0,0 @@
|
|||
PRGNAM="qt-creator3"
|
||||
VERSION="3.5.1"
|
||||
HOMEPAGE="http://qt-project.org/"
|
||||
DOWNLOAD="http://download.qt.io/official_releases/qtcreator/3.5/3.5.1/qt-creator-opensource-src-3.5.1.tar.gz"
|
||||
MD5SUM="77aef7df837eba07c7ce6037ee504c05"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="qt5"
|
||||
MAINTAINER="Andre Barboza"
|
||||
EMAIL="bmg.andre@gmail.com"
|
|
@ -1,19 +0,0 @@
|
|||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description.
|
||||
# Line up the first '|' above the ':' following the base package name, and
|
||||
# the '|' on the right side marks the last column you can put a character in.
|
||||
# You must make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':' except on otherwise blank lines.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
qt-creator3: qt-creator3 (Cross-Platform Qt IDE)
|
||||
qt-creator3:
|
||||
qt-creator3: The goal of Qt Creator is to provide a cross-platform, complete
|
||||
qt-creator3: Integrated Development Environment (IDE) to develop Qt projects.
|
||||
qt-creator3: It is available for the Linux, Mac OS X and Windows platforms.
|
||||
qt-creator3:
|
||||
qt-creator3: Homepage: http://qt-project.org/
|
||||
qt-creator3:
|
||||
qt-creator3:
|
||||
qt-creator3:
|
||||
qt-creator3:
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
|
||||
<mime-type type="application/x-qt-creator">
|
||||
<sub-class-of type="text/plain"/>
|
||||
<comment>Qt Creator Project</comment>
|
||||
<glob pattern="*.pro"/>
|
||||
</mime-type>
|
||||
</mime-info>
|
Loading…
Reference in a new issue