pull/4/head
Thorn Inurcide 8 years ago
parent 63ff670fce
commit 15755da626

@ -48,11 +48,7 @@ langdocdk="digikam";for Lang in $langs;do [[ -d doc/$Lang"_digikam" ]] && langdo
langdocsf="showfoto";for Lang in $langs;do [[ -d doc/$Lang"_showfoto" ]] && langdocsf=$(echo $Lang"_showfoto" $langdocsf);done
sed -i "s|SUBDIRS =.*$|SUBDIRS =. $langdocdk $langdocsf|" doc/Makefile.am
# update admin for installed version of libtool
cp /$(grep -h ltmain.sh /var/log/packages/libtool*) admin/
cp /$(grep -h libtool.m4 /var/log/packages/libtool*) admin/libtool.m4.in
make -f admin/Makefile.common
source $SRCDIR/../../ltoolupdate.sh
chown -R root:root .
chmod -R u+w,go+r-w,a+rX-st .

@ -39,11 +39,7 @@ cd ${PRGNAM}
# list only files > zero bytes
DOCS=$(for file in AUTHORS* ChangeLog* COPYING* FAQ* INSTALL* KNOWNBUGS* NEWS* README* TODO* *.lsm;do [[ -s $file ]] && ls -1 $file;done ) || true
# update admin for installed version of libtool
cp /$(grep -h ltmain.sh /var/log/packages/libtool*) admin/
cp /$(grep -h libtool.m4 /var/log/packages/libtool*) admin/libtool.m4.in
make -f admin/Makefile.common
source $SRCDIR/../../ltoolupdate.sh
chown -R root:root .
chmod -R u+w,go+r-w,a+rX-st .

@ -45,11 +45,7 @@ langs="";for Lang in $I18N;do [[ -e po/$Lang".po" ]] && langs="$langs $Lang"".po
sed -i "s|POFILES =.*$|POFILES =$langs|" po/Makefile.am
langs=$(echo $langs | sed 's|.po||g')
# update admin for installed version of libtool
cp /$(grep -h ltmain.sh /var/log/packages/libtool*) admin/
cp /$(grep -h libtool.m4 /var/log/packages/libtool*) admin/libtool.m4.in
make -f admin/Makefile.common
source $SRCDIR/../../ltoolupdate.sh
chown -R root:root .
chmod -R u+w,go+r-w,a+rX-st .

@ -38,11 +38,7 @@ cd ${PRGNAM}
DOCS=$(for file in AUTHORS* ChangeLog* COPYING* FAQ* INSTALL* KNOWNBUGS* NEWS* README* TODO* *.lsm;do [[ -s $file ]] && ls -1 $file;done ) || true
# update admin for installed version of libtool
cp /$(grep -h ltmain.sh /var/log/packages/libtool*) admin/
cp /$(grep -h libtool.m4 /var/log/packages/libtool*) admin/libtool.m4.in
make -f admin/Makefile.common
source $SRCDIR/../../ltoolupdate.sh
chown -R root:root .
chmod -R u+w,go+r-w,a+rX-st .

@ -42,11 +42,7 @@ DOCS=$(for file in AUTHORS* ChangeLog* COPYING* FAQ* INSTALL* KNOWNBUGS* LICEN?E
chown -R root:root .
chmod -R u+w,go+r-w,a+rX-st .
# update admin for installed version of libtool
cp /$(grep -h ltmain.sh /var/log/packages/libtool*) admin/
cp /$(grep -h libtool.m4 /var/log/packages/libtool*) admin/libtool.m4.in
make -f admin/Makefile.common
source $SRCDIR/../../ltoolupdate.sh
LDFLAGS="$SLKLDFLAGS" \
CXXFLAGS="$SLKCFLAGS" \

@ -44,12 +44,7 @@ DOCS=$(for file in AUTHORS* ChangeLog* COPYING* FAQ* INSTALL* KNOWNBUGS* LICEN?E
langs="";for Lang in $I18N;do [[ -e translations/$Lang ]] && langs="$langs $Lang";done
sed -i "s|SUBDIRS=.*$|SUBDIRS=$langs|" translations/Makefile.am
# update admin for installed version of libtool
cp /$(grep -h ltmain.sh /var/log/packages/libtool*) admin/
cp /$(grep -h libtool.m4 /var/log/packages/libtool*) admin/libtool.m4.in
make -f admin/Makefile.common
source $SRCDIR/../../ltoolupdate.sh
chown -R root:root .
chmod -R u+w,go+r-w,a+rX-st .

@ -48,11 +48,7 @@ sed -i 's|Default Gateway" ), LINK_QUALITY|Default Gateway" ), GATEWAY|' src/kne
langs="";for Lang in $I18N;do [[ -d translations/$Lang ]] && langs="$langs $Lang";done
sed -i "s|SUBDIRS=.*$|SUBDIRS=$langs|" translations/Makefile.am
# update admin for installed version of libtool
cp /$(grep -h ltmain.sh /var/log/packages/libtool*) admin/
cp /$(grep -h libtool.m4 /var/log/packages/libtool*) admin/libtool.m4.in
make -f admin/Makefile.common
source $SRCDIR/../../ltoolupdate.sh
# list only files > zero bytes
DOCS=$(for file in AUTHORS* ChangeLog* COPYING* FAQ* INSTALL* KNOWNBUGS* NEWS* README* TODO* *.lsm;do [[ -s $file ]] && ls -1 $file;done ) || true

@ -54,11 +54,7 @@ langs=$(echo $langs | sed 's|.po||g')
# if French is not required, only package English docs
[[ $langs != *fr* ]] && sed -i "s|LANGUAGES = en fr|LANGUAGES = en|" doc/Makefile.am
# update admin for installed version of libtool
cp /$(grep -h ltmain.sh /var/log/packages/libtool*) admin/
cp /$(grep -h libtool.m4 /var/log/packages/libtool*) admin/libtool.m4.in
make -f admin/Makefile.common
source $SRCDIR/../../ltoolupdate.sh
chown -R root:root .
chmod -R u+w,go+r-w,a+rX-st .

@ -39,11 +39,7 @@ cd ${PRGNAM}
# list only files > zero bytes
DOCS=$(for file in AUTHORS* ChangeLog* COPYING* FAQ* INSTALL* KNOWNBUGS* LICEN?E* NEWS* *README* TODO* *.lsm;do [[ -s $file ]] && ls -1 $file;done ) || true
# update admin for installed version of libtool
cp /$(grep -h ltmain.sh /var/log/packages/libtool*) admin/
cp /$(grep -h libtool.m4 /var/log/packages/libtool*) admin/libtool.m4.in
make -f admin/Makefile.common
source $SRCDIR/../../ltoolupdate.sh
chown -R root:root .
chmod -R u+w,go+r-w,a+rX-st .

@ -38,11 +38,7 @@ cd ${PRGNAM}
DOCS=$(for file in AUTHORS* ChangeLog* COPYING* FAQ* INSTALL* KNOWNBUGS* NEWS* README* TODO* *.lsm;do [[ -s $file ]] && ls -1 $file;done ) || true
# update admin for installed version of libtool
cp /$(grep -h ltmain.sh /var/log/packages/libtool*) admin/
cp /$(grep -h libtool.m4 /var/log/packages/libtool*) admin/libtool.m4.in
make -f admin/Makefile.common
source $SRCDIR/../../ltoolupdate.sh
chown -R root:root .
chmod -R u+w,go+r-w,a+rX-st .

@ -45,12 +45,7 @@ langs="";for Lang in $I18N;do [[ -e po/$Lang".po" ]] && langs="$langs $Lang"".po
sed -i "s|POFILES =.*$|POFILES =$langs|" po/Makefile.am
langs=$(echo $langs | sed 's|.po||g')
# update admin for installed version of libtool
cp /$(grep -h ltmain.sh /var/log/packages/libtool*) admin/
cp /$(grep -h libtool.m4 /var/log/packages/libtool*) admin/libtool.m4.in
cp /$(grep -h missing /var/log/packages/libtool*) admin/
make -f admin/Makefile.common
source $SRCDIR/../../ltoolupdate.sh
chown -R root:root .
chmod -R u+w,go+r-w,a+rX-st .

@ -45,12 +45,7 @@ langs="";for Lang in $I18N;do [[ -e po/$Lang".po" ]] && langs="$langs $Lang"".po
sed -i "s|POFILES =.*$|POFILES =$langs|" po/Makefile.am
langs=$(echo $langs | sed 's|.po||g')
# update admin for installed version of libtool
cp /$(grep -h ltmain.sh /var/log/packages/libtool*) admin/
cp /$(grep -h libtool.m4 /var/log/packages/libtool*) admin/libtool.m4.in
cp /$(grep -h missing /var/log/packages/libtool*) admin/
make -f admin/Makefile.common
source $SRCDIR/../../ltoolupdate.sh
chown -R root:root .
chmod -R u+w,go+r-w,a+rX-st .

@ -40,11 +40,7 @@ cd ${PRGNAM}
# list only files > zero bytes
DOCS=$(for file in AUTHORS* ChangeLog* COPYING* FAQ* INSTALL* KNOWNBUGS* LICEN?E* NEWS* *README* TODO* *.lsm;do [[ -s $file ]] && ls -1 $file;done ) || true
# update admin for installed version of libtool
cp /$(grep -h ltmain.sh /var/log/packages/libtool*) admin/
cp /$(grep -h libtool.m4 /var/log/packages/libtool*) admin/libtool.m4.in
make -f admin/Makefile.common
source $SRCDIR/../../ltoolupdate.sh
chown -R root:root .
chmod -R u+w,go+r-w,a+rX-st .

@ -53,11 +53,7 @@ langs=$(echo $langs | sed 's|.po||g')
# if Russian is not required, only package English docs
[[ $I18N != *ru* ]] && sed -i "s| ru||" doc/Makefile.am
# update admin for installed version of libtool
cp /$(grep -h ltmain.sh /var/log/packages/libtool*) admin/
cp /$(grep -h libtool.m4 /var/log/packages/libtool*) admin/libtool.m4.in
make -f admin/Makefile.common
source $SRCDIR/../../ltoolupdate.sh
chown -R root:root .
chmod -R u+w,go+r-w,a+rX-st .

@ -56,12 +56,7 @@ langdoc="en";for Lang in $I18N;do [[ -d doc/$Lang ]] && langdoc="$langdoc $Lang"
sed -i "s|KDE_LANG = .*$|KDE_LANG = $langdoc|" doc/Makefile.am
sed -i "s|SUBDIRS = .*$|SUBDIRS = tdeioslave $langdoc|" doc/Makefile.am
# update admin for installed version of libtool
cp /$(grep -h ltmain.sh /var/log/packages/libtool*) admin/
cp /$(grep -h libtool.m4 /var/log/packages/libtool*) admin/libtool.m4.in
cp /$(grep -h missing /var/log/packages/libtool*) admin/
make -f admin/Makefile.common
source $SRCDIR/../../ltoolupdate.sh
chown -R root:root .
chmod -R u+w,go+r-w,a+rX-st .

@ -41,11 +41,7 @@ patch -p0 < $SRCDIR/reformat-message.patch
# list only files > zero bytes
DOCS=$(for file in AUTHORS* ChangeLog* COPYING* FAQ* INSTALL* KNOWNBUGS* LICEN?E* NEWS* *README* TODO* *.lsm;do [[ -s $file ]] && ls -1 $file;done ) || true
# update admin for installed version of libtool
cp /$(grep -h ltmain.sh /var/log/packages/libtool*) admin/
cp /$(grep -h libtool.m4 /var/log/packages/libtool*) admin/libtool.m4.in
make -f admin/Makefile.common
source $SRCDIR/../../ltoolupdate.sh
chown -R root:root .
chmod -R u+w,go+r-w,a+rX-st .
@ -89,15 +85,15 @@ echo "
$PRGNAM|-----handy-ruler------------------------------------------------------|
$PRGNAM:
$PRGNAM: $PRGNAM is a TDE frontend for various vpn clients.
$PRGNAM:
$PRGNAM: $PRGNAM (GUI interface for potrace)
$PRGNAM:
$PRGNAM: GUI interface for potrace
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM: With language support for:
$PRGNAM:
$PRGNAM:
$PRGNAM: en $langs
$PRGNAM:
$PRGNAM:
" > $PKG/install/slack-desc
}

@ -42,11 +42,7 @@ DOCS=$(for file in AUTHORS* ChangeLog* COPYING* FAQ* INSTALL* KNOWNBUGS* NEWS* R
chown -R root:root .
chmod -R u+w,go+r-w,a+rX-st .
# update admin for installed version of libtool
cp /$(grep -h ltmain.sh /var/log/packages/libtool*) admin/
cp /$(grep -h libtool.m4 /var/log/packages/libtool*) admin/libtool.m4.in
make -f admin/Makefile.common
source $SRCDIR/../../ltoolupdate.sh
mkdir -p build-${PRGNAM}
cd build-${PRGNAM}

@ -60,12 +60,7 @@ DOCS=$(for file in AUTHORS* ChangeLog* COPYING* FAQ* INSTALL* KNOWNBUGS* NEWS* R
langs="";for Lang in $I18N;do [[ -d $Lang ]] && langs="$langs $Lang";done
sed -i "s|SUBDIRS=.*$|SUBDIRS=$langs|" Makefile.am
# update admin for installed version of libtool
cp /$(grep -h ltmain.sh /var/log/packages/libtool*) admin/
cp /$(grep -h libtool.m4 /var/log/packages/libtool*) admin/libtool.m4.in
make -f admin/Makefile.common
source $SRCDIR/../../ltoolupdate.sh
chown -R root:root .
chmod -R u+w,go+r-w,a+rX-st .

@ -39,11 +39,7 @@ cd ${PRGNAM}
DOCS=$(for file in AUTHORS* ChangeLog* COPYING* FAQ* INSTALL* KNOWNBUGS* NEWS* README* TODO* *.lsm;do [[ -s $file ]] && ls -1 $file;done ) || true
# update admin for installed version of libtool
cp /$(grep -h ltmain.sh /var/log/packages/libtool*) admin/
cp /$(grep -h libtool.m4 /var/log/packages/libtool*) admin/libtool.m4.in
make -f admin/Makefile.common
source $SRCDIR/../../ltoolupdate.sh
chown -R root:root .
chmod -R u+w,go+r-w,a+rX-st .

@ -45,11 +45,7 @@ langs="";for Lang in $I18N;do [[ -e po/$Lang".po" ]] && langs="$langs $Lang"".po
sed -i "s|POFILES =.*$|POFILES =$langs|" po/Makefile.am
langs=$(echo $langs | sed 's|.po||g')
# update admin for installed version of libtool
cp /$(grep -h ltmain.sh /var/log/packages/libtool*) admin/
cp /$(grep -h libtool.m4 /var/log/packages/libtool*) admin/libtool.m4.in
make -f admin/Makefile.common
source $SRCDIR/../../ltoolupdate.sh
chown -R root:root .
chmod -R u+w,go+r-w,a+rX-st .

@ -42,11 +42,7 @@ DOCS=$(for file in AUTHORS* ChangeLog* COPYING* FAQ* INSTALL* KNOWNBUGS* NEWS* R
chown -R root:root .
chmod -R u+w,go+r-w,a+rX-st .
# update admin for installed version of libtool
cp /$(grep -h ltmain.sh /var/log/packages/libtool*) admin/
cp /$(grep -h libtool.m4 /var/log/packages/libtool*) admin/libtool.m4.in
make -f admin/Makefile.common
source $SRCDIR/../../ltoolupdate.sh
mkdir -p build-${PRGNAM}
cd build-${PRGNAM}

@ -462,7 +462,7 @@ do
# tde-i18n package installation is handled in tde-i18n.SlackBuild because if more than one i18n package is being built, only the last one will be installed by upgradepkg
# Note to self: this alteration appears to fix the problem (Erroing and refusing to compile) BUT makes the script recomnpile it if you run the
# script with re-use even though it is installed
# script with re-use even though it is installed. Yeah and it gets really annoying when testing new things lol
if [[ $INST == 1 ]] && [[ ${package} != tde-i18n ]]; then upgradepkg --install-new --reinstall $TMP/${package}-$(eval echo $version)-*-${build}*.txz
if [[ $(ls /var/log/packages/${package}-*$(eval echo $version)-*-${build}*) ]]; then
sed -i "s|$dir ||" $TMPVARS/TDEbuilds

@ -14,3 +14,6 @@
Commented out the desktop file change to d3lphin I previously made. Will leave it for an option
for the users who want it, like me. -Thorn Inurcide
01/02/2017 Added option to choose between Clang or GCC as your compiler.
Added ltoolupdate.sh for the scripts using configure in TDE. This allows changes to it to effect
all the scripts at once instead of going through each and every one of them. And frees up several lines
in the SlackBuilds.

@ -38,12 +38,7 @@ cd ${PRGNAM}
# list only files > zero bytes
DOCS=$(for file in AUTHORS* ChangeLog* COPYING* FAQ* INSTALL* KNOWNBUGS* NEWS* README* TODO* *.lsm;do [[ -s $file ]] && ls -1 $file;done ) || true
# update admin for installed version of libtool
cp /$(grep -h ltmain.sh /var/log/packages/libtool*) admin/
cp /$(grep -h libtool.m4 /var/log/packages/libtool*) admin/libtool.m4.in
make -f admin/Makefile.common
source $SRCDIR/../../ltoolupdate.sh
chown -R root:root .
chmod -R u+w,go+r-w,a+rX-st .

@ -39,11 +39,7 @@ cd ${PRGNAM}
# list only files > zero bytes
DOCS=$(for file in AUTHORS* ChangeLog* COPYING* FAQ* INSTALL* KNOWNBUGS* NEWS* README* TODO* *.lsm;do [[ -s $file ]] && ls -1 $file;done ) || true
# update admin for installed version of libtool
cp /$(grep -h ltmain.sh /var/log/packages/libtool*) admin/
cp /$(grep -h libtool.m4 /var/log/packages/libtool*) admin/libtool.m4.in
make -f admin/Makefile.common
source $SRCDIR/../../ltoolupdate.sh
chown -R root:root .
chmod -R u+w,go+r-w,a+rX-st .

@ -39,11 +39,7 @@ cd ${PRGNAM}
# list only files > zero bytes
DOCS=$(for file in AUTHORS* ChangeLog* COPYING* FAQ* INSTALL* KNOWNBUGS* LICEN?E* NEWS* *README* TODO* *.lsm;do [[ -s $file ]] && ls -1 $file;done ) || true
# update admin for installed version of libtool
cp /$(grep -h ltmain.sh /var/log/packages/libtool*) admin/
cp /$(grep -h libtool.m4 /var/log/packages/libtool*) admin/libtool.m4.in
make -f admin/Makefile.common
source $SRCDIR/../../ltoolupdate.sh
chown -R root:root .
chmod -R u+w,go+r-w,a+rX-st .

@ -40,11 +40,7 @@ cd ${PRGNAM}
# list only files > zero bytes
DOCS=$(for file in AUTHORS* ChangeLog* COPYING* FAQ* INSTALL* KNOWNBUGS* NEWS* README* TODO* *.lsm;do [[ -s $file ]] && ls -1 $file;done ) || true
# update admin for installed version of libtool
cp /$(grep -h ltmain.sh /var/log/packages/libtool*) admin/
cp /$(grep -h libtool.m4 /var/log/packages/libtool*) admin/libtool.m4.in
make -f admin/Makefile.common
source $SRCDIR/../../ltoolupdate.sh
chown -R root:root .
chmod -R u+w,go+r-w,a+rX-st .

@ -39,11 +39,7 @@ cd ${PRGNAM}
# list only files > zero bytes
DOCS=$(for file in AUTHORS* ChangeLog* COPYING* FAQ* INSTALL* KNOWNBUGS* NEWS* README* TODO* *.lsm;do [[ -s $file ]] && ls -1 $file;done ) || true
# update admin for installed version of libtool
cp /$(grep -h ltmain.sh /var/log/packages/libtool*) admin/
cp /$(grep -h libtool.m4 /var/log/packages/libtool*) admin/libtool.m4.in
make -f admin/Makefile.common
source $SRCDIR/../../ltoolupdate.sh
chown -R root:root .
chmod -R u+w,go+r-w,a+rX-st .

@ -40,11 +40,7 @@ cd ${PRGNAM}
# list only files > zero bytes
DOCS=$(for file in AUTHORS* ChangeLog* COPYING* FAQ* INSTALL* KNOWNBUGS* NEWS* README* TODO* *.lsm;do [[ -s $file ]] && ls -1 $file;done ) || true
# update admin for installed version of libtool
cp /$(grep -h ltmain.sh /var/log/packages/libtool*) admin/
cp /$(grep -h libtool.m4 /var/log/packages/libtool*) admin/libtool.m4.in
make -f admin/Makefile.common
source $SRCDIR/../../ltoolupdate.sh
chown -R root:root .
chmod -R u+w,go+r-w,a+rX-st .

@ -0,0 +1,31 @@
#!/bin/sh
# Copyright 2017 tde-slackbuilds project on GitHub
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for
# any purpose with or without fee is hereby granted, provided that
# the above copyright notice and this permission notice appear in all
# copies.
#
# THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 AUTHORS AND COPYRIGHT HOLDERS AND THEIR
# CONTRIBUTORS 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.
# Update admin for installed version of libtool
# BEGIN
cp /$(grep -h ltmain.sh /var/log/packages/libtool*) admin/
cp /$(grep -h libtool.m4 /var/log/packages/libtool*) admin/libtool.m4.in
cp /$(grep -h missing /var/log/packages/libtool*) admin/
make -f admin/Makefile.common
# END
Loading…
Cancel
Save