mirror of
https://gitlab.com/mateslackbuilds/msb.git
synced 2024-12-25 21:59:36 +01:00
Removed gtkmm and mm-common.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
parent
f56217216c
commit
48163e85d7
7 changed files with 2 additions and 243 deletions
|
@ -8,3 +8,4 @@ cairomm (included in 14.2)
|
|||
glibmm (included in 14.2)
|
||||
libsigc++ (included in 14.2)
|
||||
pangomm (included in 14.2)
|
||||
gtkmm (included in 14.2 named gtkmm2)
|
||||
|
|
|
@ -27,7 +27,7 @@ How to build and install the MATE packages using these scripts:
|
|||
|
||||
2. Run the 'mate-build-deps.sh' in the msb root directory which will build
|
||||
and install all the necessary dependencies in the /deps directory. There are
|
||||
a total of 23 packages. Please use "su" or "su -" to build as root instead
|
||||
a total of 21 packages. Please use "su" or "su -" to build as root instead
|
||||
of using "sudo".
|
||||
|
||||
3. Run the 'mate-build-base.sh' in the msb root directory which will build
|
||||
|
|
101
deps/gtkmm/gtkmm.SlackBuild
vendored
101
deps/gtkmm/gtkmm.SlackBuild
vendored
|
@ -1,101 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for gtkmm
|
||||
|
||||
# Copyright (C) 2006 paul wisehart wise@lupulin.net
|
||||
# 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.
|
||||
|
||||
# Modified by Robby Workman <rworkman@slackbuilds.org>
|
||||
# Modified by Willy Sudiarto Raharjo <willysr@slackware-id.org> for MSB Project
|
||||
|
||||
PRGNAM=gtkmm
|
||||
VERSION=${VERSION:-2.24.4}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_msb}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i586 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
wget -c http://download.gnome.org/sources/$PRGNAM/2.24/$PRGNAM-$VERSION.tar.xz
|
||||
|
||||
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/msb}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i586" ]; then
|
||||
SLKCFLAGS="-O2 -march=i586 -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 $PRGNAM-$VERSION
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
|
||||
cd $PRGNAM-$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 {} \;
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS -std=c++11" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||
--disable-static \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
make libdocdir=/usr/doc/$PRGNAM-$VERSION
|
||||
make install-strip DESTDIR=$PKG libdocdir=/usr/doc/$PRGNAM-$VERSION
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS PORTING README* $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
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz}
|
19
deps/gtkmm/slack-desc
vendored
19
deps/gtkmm/slack-desc
vendored
|
@ -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 ':'.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
gtkmm: gtkmm (C++ interface for GTK+)
|
||||
gtkmm:
|
||||
gtkmm: gtkmm is the official C++ interface for the popular GUI library
|
||||
gtkmm: GTK+. Highlights include typesafe callbacks, and a comprehensive set
|
||||
gtkmm: of widgets that are easily extensible via inheritance. You can create
|
||||
gtkmm: user interfaces either in code or with the Glade User Interface
|
||||
gtkmm: designer, using libglademm. There's extensive documentation,
|
||||
gtkmm: including API reference and a tutorial.
|
||||
gtkmm:
|
||||
gtkmm: Homepage: http://www.gtkmm.org/
|
||||
gtkmm:
|
101
deps/mm-common/mm-common.SlackBuild
vendored
101
deps/mm-common/mm-common.SlackBuild
vendored
|
@ -1,101 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for mm-common
|
||||
|
||||
# Written by David Somero <dsomero@hotmail.com>
|
||||
# Derived from Slackware's Slackbuilds.
|
||||
#
|
||||
# Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, Minnesota, USA
|
||||
# Copyright 2011 David Somero (dsomero@hotmail.com) Athens, TN, USA
|
||||
# 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.
|
||||
|
||||
# Modified by Willy Sudiarto Raharjo <willysr@slackware-id.org> for MSB Project
|
||||
|
||||
PRGNAM=mm-common
|
||||
VERSION=${VERSION:-0.9.8}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_msb}
|
||||
|
||||
ARCH=noarch
|
||||
|
||||
wget -c http://download.gnome.org/sources/$PRGNAM/0.9/$PRGNAM-$VERSION.tar.xz
|
||||
|
||||
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/msb}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i586" ]; then
|
||||
SLKCFLAGS="-O2 -march=i586 -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 $PRGNAM-$VERSION
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
|
||||
cd $PRGNAM-$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 {} \;
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--mandir=/usr/man \
|
||||
--docdir=/usr/doc/$PRGNAM-$VERSION
|
||||
|
||||
make | make
|
||||
make install DESTDIR=$PKG
|
||||
|
||||
# Ugly hack for things that look for /usr/share/glibmm-2.4/doctool
|
||||
mkdir -p $PKG/usr/share/glibmm-2.4
|
||||
( cd $PKG/usr/share/glibmm-2.4 && ln -s /usr/share/mm-common/doctool doctool )
|
||||
|
||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a AUTHORS COPYING INSTALL ChangeLog NEWS README $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
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz}
|
19
deps/mm-common/slack-desc
vendored
19
deps/mm-common/slack-desc
vendored
|
@ -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------------------------------------------------------|
|
||||
mm-common: mm-common (build infrastructure and utilities for GNOME C++ bindings)
|
||||
mm-common:
|
||||
mm-common: The mm-common module provides the build infrastructure and utilities
|
||||
mm-common: shared among the GNOME C++ binding libraries. It is only a required
|
||||
mm-common: dependency for building the C++ bindings from the gnome.org version
|
||||
mm-common: control repository. An installation of mm-common is not required for
|
||||
mm-common: building tarball releases, unless configured to use maintainer-mode.
|
||||
mm-common:
|
||||
mm-common: Homepage: http://www.gtkmm.org/en/
|
||||
mm-common:
|
||||
mm-common:
|
|
@ -53,8 +53,6 @@ for dir in \
|
|||
deps/gksu \
|
||||
deps/gssdp \
|
||||
deps/gupnp \
|
||||
deps/mm-common \
|
||||
deps/gtkmm \
|
||||
deps/perl-xml-twig \
|
||||
deps/perl-net-dbus \
|
||||
deps/system-tools-backends \
|
||||
|
|
Loading…
Reference in a new issue