Some SlackBuilds updated to cmake

Added cmake for cgit build:
kdbusnotification

Updated to cmake for all builds:
knights
ksensors
kshutdown
kvkbd
kvpnc
potracegui
tdegwenview-i18n
tdesudo

get-source.sh - updated cgit admin & cmake URLs

imlib - added README about building gdk_imlib
pull/25/head
Ray-V 5 years ago
parent 5d22ce25a4
commit 475efda68a

@ -1,13 +0,0 @@
[Desktop Entry]
Encoding=UTF-8
Name=kdbusnotification
Name[xx]=xxkdbusnotificationxx
Exec=notification-daemon-tde
Icon=bell
Type=Application
Comment=DBUS notification service daemon
X-TDE-autostart-phase=1
X-TDE-StartupNotify=false
X-TDE-UniqueApplet=true
Categories=System;

@ -35,21 +35,33 @@ untar_fn
listdocs_fn listdocs_fn
ltoolupdate_fn [[ $TDEVERSION == *14.0.6 ]] && ltoolupdate_fn
chown_fn chown_fn
cd_builddir_fn cd_builddir_fn
[[ $TDEVERSION == *14.0.6 ]] && {
LDFLAGS=$SLKLDFLAGS \ LDFLAGS=$SLKLDFLAGS \
CFLAGS="$SLKCFLAGS $TQT_INCLUDE_PATH" \ CFLAGS="$SLKCFLAGS $TQT_INCLUDE_PATH" \
CXXFLAGS=$SLKCFLAGS \ CXXFLAGS=$SLKCFLAGS \
CC=$COMPILER \ CC=$COMPILER \
CXX=$COMPILER_CXX \ CXX=$COMPILER_CXX \
../configure \ ../configure \
--prefix=$INSTALL_TDE \ --prefix=$INSTALL_TDE
--disable-debug \
--build=$ARCH-slackware-linux } || {
cmake \
-DCMAKE_C_FLAGS:STRING=$SLKCFLAGS \
-DCMAKE_CXX_FLAGS:STRING=$SLKCFLAGS \
-DCMAKE_C_COMPILER=$COMPILER \
-DCMAKE_CXX_COMPILER=$COMPILER_CXX \
-DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \
..
}
make_fn make_fn
@ -59,8 +71,8 @@ strip_fn
# Add desktop file # Add desktop file
mkdir -p $PKG/$INSTALL_TDE/share/applications mkdir -p $PKG/$INSTALL_TDE/share/applications
cp -a $SRCDIR/kdbusnotification-autostart.desktop \ (cd $PKG/$INSTALL_TDE/share/applications
$PKG/$INSTALL_TDE/share/applications/kdbusnotification-autostart.desktop ln -s ../autostart/kdbusnotification-autostart.desktop .)
mkdir_install_fn mkdir_install_fn

@ -43,30 +43,25 @@ cp $SRCDIR/es.po po || true
# set support for additional language(s) as per I18N variable # set support for additional language(s) as per I18N variable
# but only for languages available with this package # but only for languages available with this package
langs="";for Lang in $I18N;do [[ -e po/$Lang".po" ]] && langs="$langs $Lang"".po";done langs="";for Lang in $I18N;do [[ -e po/$Lang".po" ]] && langs="$langs $Lang"".po";done
sed -i "s|POFILES =.*$|POFILES =$langs|" po/Makefile.am ## this GLOB overrides the one in po/CMakeLists.txt:
langs=$(echo $langs | sed 's|.po||g') sed -i "s|\*.po|$langs|" cmake/modules/TDEMacros.cmake
# langs=$(echo $langs | sed "s|.po||g")
# Only French and English help documents are in the source, [[ $langs != "" ]] && TRANS=ON
# if French is not required, only package English docs
[[ $langs != *fr* ]] && sed -i "s|LANGUAGES = en fr|LANGUAGES = en|" doc/Makefile.am
ltoolupdate_fn
chown_fn chown_fn
cd_builddir_fn cd_builddir_fn
LDFLAGS="${SLKLDFLAGS}" \ cmake \
CFLAGS="${SLKCFLAGS} $TQT_INCLUDE_PATH" \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS $TQT_INCLUDE_PATH" \
CXXFLAGS="${SLKCFLAGS}" \ -DCMAKE_CXX_FLAGS:STRING=$SLKCFLAGS \
CC=${COMPILER} \ -DCMAKE_C_COMPILER=$COMPILER \
CXX=${COMPILER_CXX} \ -DCMAKE_CXX_COMPILER=$COMPILER_CXX \
../configure \ -DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \
--prefix=${INSTALL_TDE} \ -DMAN_INSTALL_DIR=$INSTALL_TDE/man \
--sysconfdir=$SYS_CNF_DIR \ -DBUILD_DOC=ON \
--mandir=${INSTALL_TDE}/man \ -DBUILD_TRANSLATIONS=${TRANS:-OFF} \
--disable-rpath \ ..
--enable-closure
make_fn make_fn
@ -94,7 +89,7 @@ knights: Needs separate chess engines, for example gnuchess, stockfish, komodo.
knights: knights:
knights: With language support for: knights: With language support for:
knights: knights:
knights: en $(echo $langs) knights: en $langs
knights: knights:
" > $PKG/install/slack-desc " > $PKG/install/slack-desc

@ -38,22 +38,25 @@ listdocs_fn
# set support for additional language(s) as per I18N variable # set support for additional language(s) as per I18N variable
# but only for languages available with this package # but only for languages available with this package
langs="";for Lang in $I18N;do [[ -e po/$Lang".po" ]] && langs="$langs $Lang"".po";done langs="";for Lang in $I18N;do [[ -e po/$Lang".po" ]] && langs="$langs $Lang"".po";done
sed -i "s|POFILES =.*$|POFILES =$langs|" po/Makefile.am ## this GLOB overrides the one in po/CMakeLists.txt:
langs=$(echo $langs | sed 's|.po||g') sed -i "s|\*.po|$langs|" cmake/modules/TDEMacros.cmake
langs=$(echo $langs | sed "s|.po||g")
ltoolupdate_fn [[ $langs != "" ]] && TRANS=ON
chown_fn chown_fn
cd_builddir_fn cd_builddir_fn
LDFLAGS="${SLKLDFLAGS}" \ cmake \
CFLAGS="${SLKCFLAGS} $TQT_INCLUDE_PATH" \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS $TQT_INCLUDE_PATH" \
CXXFLAGS="${SLKCFLAGS}" \ -DCMAKE_CXX_FLAGS:STRING=$SLKCFLAGS \
CC=${COMPILER} \ -DCMAKE_C_COMPILER=$COMPILER \
CXX=${COMPILER_CXX} \ -DCMAKE_CXX_COMPILER=$COMPILER_CXX \
../configure \ -DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \
--prefix=${INSTALL_TDE} -DMAN_INSTALL_DIR=$INSTALL_TDE/man \
-DBUILD_DOC=ON \
-DBUILD_TRANSLATIONS=${TRANS:-OFF} \
..
make_fn make_fn

@ -33,26 +33,37 @@ getsource_fn
untar_fn untar_fn
listdocs_fn listdocs_fn
ltoolupdate_fn # set support for additional language(s) as per I18N variable
# but only for languages available with this package
langs="";for Lang in $I18N;do [[ -e po/$Lang".po" ]] && langs="$langs $Lang"".po";done
## this GLOB overrides the one in po/CMakeLists.txt:
sed -i "s|\*.po|$langs|" cmake/modules/TDEMacros.cmake
langs=$(echo $langs | sed "s|.po||g")
[[ $langs != "" ]] && TRANS=ON
## always build 'en' docs ...
langdoc="kshutdown man"
## ... and find other html docs required and available ...
for Lang in $I18N;do [[ -d doc/$Lang ]] && langdoc="$langdoc $Lang";done
## ... and edit tde_auto_add_subdirectories GLOB:
sed -i "s|} \* )|} $langdoc )|" cmake/modules/TDEMacros.cmake
chown_fn chown_fn
cd_builddir_fn cd_builddir_fn
LDFLAGS="${SLKLDFLAGS}" \ cmake \
CFLAGS="${SLKCFLAGS} $TQT_INCLUDE_PATH" \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS $TQT_INCLUDE_PATH" \
CXXFLAGS="${SLKCFLAGS}" \ -DCMAKE_CXX_FLAGS:STRING=$SLKCFLAGS \
CC=${COMPILER} \ -DCMAKE_C_COMPILER=$COMPILER \
CXX=${COMPILER_CXX} \ -DCMAKE_CXX_COMPILER=$COMPILER_CXX \
../configure \ -DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \
--prefix=${INSTALL_TDE} \ -DMAN_INSTALL_DIR=$INSTALL_TDE/man \
--sysconfdir=$SYS_CNF_DIR \ -DBUILD_DOC=ON \
--mandir=${INSTALL_TDE}/man \ -DBUILD_TRANSLATIONS=${TRANS:-OFF} \
--disable-rpath \ ..
--enable-closure
make_fn make_fn
@ -68,11 +79,11 @@ $PRGNAM:
$PRGNAM: KShutDown is an advanced shut down utility for TDE $PRGNAM: KShutDown is an advanced shut down utility for TDE
$PRGNAM: $PRGNAM:
$PRGNAM: $PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM: With language support for: $PRGNAM: With language support for:
$PRGNAM: en $langs
$PRGNAM: $PRGNAM:
$PRGNAM: en $(echo $langs) $PRGNAM: and help documentation for:
$PRGNAM: $(echo $langdoc | sed 's|kshutdown|en|;s| man||')
$PRGNAM: $PRGNAM:
$PRGNAM: $PRGNAM:
" > $PKG/install/slack-desc " > $PKG/install/slack-desc

@ -35,23 +35,17 @@ untar_fn
listdocs_fn listdocs_fn
ltoolupdate_fn
chown_fn chown_fn
cd_builddir_fn cd_builddir_fn
LDFLAGS="${SLKLDFLAGS}" \ cmake \
CFLAGS="${SLKCFLAGS} $TQT_INCLUDE_PATH" \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS $TQT_INCLUDE_PATH" \
CXXFLAGS="${SLKCFLAGS}" \ -DCMAKE_CXX_FLAGS:STRING=$SLKCFLAGS \
CC=${COMPILER} \ -DCMAKE_C_COMPILER=$COMPILER \
CXX=${COMPILER_CXX} \ -DCMAKE_CXX_COMPILER=$COMPILER_CXX \
../configure \ -DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \
--prefix=${INSTALL_TDE} \ ..
--sysconfdir=$SYS_CNF_DIR \
--mandir=${INSTALL_TDE}/man \
--disable-debug \
--build=$ARCH-slackware-linux
make_fn make_fn
@ -73,11 +67,11 @@ $PRGNAM: $PRGNAM (A virtual keyboard for TDE)
$PRGNAM: $PRGNAM:
$PRGNAM: A virtual keyboard for TDE $PRGNAM: A virtual keyboard for TDE
$PRGNAM: $PRGNAM:
$PRGNAM: loginhelper: Stand alone version for use with TDM or XDM. $PRGNAM: Re: kvkbd --help
$PRGNAM: You should Add : HOME=/root kvkbd --loginhelper & $PRGNAM: loginhelper Stand alone version for use with TDM or XDM.
$PRGNAM: to Xsetup to run in xdm/tdm $PRGNAM: You should Add : HOME=/root kvkbd --loginhelper &
$PRGNAM: to Xsetup to run in xdm/tdm
$PRGNAM: $PRGNAM:
$PRGNAM: Taken from main.cpp ^^^^^^
$PRGNAM: $PRGNAM:
$PRGNAM: $PRGNAM:
$PRGNAM: Home: https://www.trinitydesktop.org/index.php $PRGNAM: Home: https://www.trinitydesktop.org/index.php

@ -33,42 +33,43 @@ getsource_fn
untar_fn untar_fn
listdocs_fn
mkdir tmpdocs
for file in $(ls -1 doc | grep -v Makefile)
do
cp doc/$file tmpdocs 2>/dev/null || true # need this to overrule exit 1 when directories fail to copy
rm doc/$file 2>/dev/null || true # need this to overrule exit 1 when directories fail to be removed
done
# set support for additional language(s) as per I18N variable # set support for additional language(s) as per I18N variable
# but only for languages available with this package # but only for languages available with this package
langs="";for Lang in $I18N;do [[ -e po/$Lang".po" ]] && langs="$langs $Lang"".po";done langs="";for Lang in $I18N;do [[ -e po/$Lang".po" ]] && langs="$langs $Lang"".po";done
sed -i "s|POFILES =.*$|POFILES =$langs|" po/Makefile.am ## this GLOB overrides the one in po/CMakeLists.txt:
langs=$(echo $langs | sed 's|.po||g') sed -i "s|\*.po|$langs|" cmake/modules/TDEMacros.cmake
# langs=$(echo $langs | sed "s|.po||g")
langdoc="en";for Lang in $I18N;do [[ -d doc/$Lang ]] && langdoc="$langdoc $Lang";done [[ $langs != "" ]] && TRANS=ON
sed -i "s|KDE_LANG = .*$|KDE_LANG = $langdoc|" doc/Makefile.am
sed -i "s|SUBDIRS = .*$|SUBDIRS = tdeioslave $langdoc|" doc/Makefile.am ## always build 'en' docs ...
langdoc="en man tdeioslave"
ltoolupdate_fn ## ... and find other html docs required and available ...
for Lang in $I18N;do [[ -d doc/$Lang ]] && langdoc="$langdoc $Lang";done
## ... and edit tde_auto_add_subdirectories GLOB:
sed -i "s|} \* )|} $langdoc )|" cmake/modules/TDEMacros.cmake
chown_fn chown_fn
cd_builddir_fn cd_builddir_fn
LDFLAGS="${SLKLDFLAGS}" \ cmake \
CFLAGS="${SLKCFLAGS} $TQT_INCLUDE_PATH" \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS $TQT_INCLUDE_PATH" \
CXXFLAGS="${SLKCFLAGS}" \ -DCMAKE_CXX_FLAGS:STRING=$SLKCFLAGS \
CC=${COMPILER} \ -DCMAKE_C_COMPILER=$COMPILER \
CXX=${COMPILER_CXX} \ -DCMAKE_CXX_COMPILER=$COMPILER_CXX \
../configure \ -DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \
--prefix=${INSTALL_TDE} \ -DMAN_INSTALL_DIR=$INSTALL_TDE/man \
--build=$ARCH-slackware-linux -DBUILD_DOC=ON \
-DBUILD_TRANSLATIONS=${TRANS:-OFF} \
..
make_fn make_fn
installdocs_fn installdocs_fn
for file in $(ls -1 ../doc | grep -vE "compile|Makefile|CMakeLists.txt")
do
cp ../doc/$file $PKG$INSTALL_TDE/doc/$PRGNAM-$VERSION/ 2>/dev/null || true
done
strip_fn strip_fn
@ -87,14 +88,13 @@ $PRGNAM:
$PRGNAM: $PRGNAM is a TDE frontend for various vpn clients. $PRGNAM: $PRGNAM is a TDE frontend for various vpn clients.
$PRGNAM: $PRGNAM:
$PRGNAM: $PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM: With language support for: $PRGNAM: With language support for:
$PRGNAM:
$PRGNAM: en $langs $PRGNAM: en $langs
$PRGNAM: $PRGNAM:
$PRGNAM: and help documentation for:
$PRGNAM: $(echo $langdoc | sed 's| man||')
$PRGNAM:
$PRGNAM:
" > $PKG/install/slack-desc " > $PKG/install/slack-desc
makepkg_fn makepkg_fn

@ -37,23 +37,35 @@ patch -p0 < $SRCDIR/reformat-message.patch
listdocs_fn listdocs_fn
ltoolupdate_fn # set support for additional language(s) as per I18N variable
# but only for languages available with this package
langs="";for Lang in $I18N;do [[ -e po/$Lang".po" ]] && langs="$langs $Lang"".po";done
## this GLOB overrides the one in po/CMakeLists.txt:
sed -i "s|\*.po|$langs|" cmake/modules/TDEMacros.cmake
langs=$(echo $langs | sed "s|.po||g")
[[ $langs != "" ]] && TRANS=ON
## always build 'en' docs ...
langdoc="en man"
## ... and find other html docs required and available ...
for Lang in $I18N;do [[ -d doc/$Lang ]] && langdoc="$langdoc $Lang";done
## ... and edit tde_auto_add_subdirectories GLOB:
sed -i "s|} \* )|} $langdoc )|" cmake/modules/TDEMacros.cmake
chown_fn chown_fn
cd_builddir_fn cd_builddir_fn
LDFLAGS="${SLKLDFLAGS}" \ cmake \
CFLAGS="${SLKCFLAGS} $TQT_INCLUDE_PATH" \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS $TQT_INCLUDE_PATH" \
CXXFLAGS="${SLKCFLAGS}" \ -DCMAKE_CXX_FLAGS:STRING=$SLKCFLAGS \
CC=${COMPILER} \ -DCMAKE_C_COMPILER=$COMPILER \
CXX=${COMPILER_CXX} \ -DCMAKE_CXX_COMPILER=$COMPILER_CXX \
../configure \ -DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \
--prefix=${INSTALL_TDE} \ -DMAN_INSTALL_DIR=$INSTALL_TDE/man \
--sysconfdir=$SYS_CNF_DIR \ -DBUILD_DOC=ON \
--mandir=${INSTALL_TDE}/man \ -DBUILD_TRANSLATIONS=${TRANS:-OFF} \
--disable-rpath \ ..
--enable-closure
make_fn make_fn
@ -77,11 +89,11 @@ $PRGNAM: $PRGNAM (GUI interface for potrace)
$PRGNAM: $PRGNAM:
$PRGNAM: GUI interface for potrace $PRGNAM: GUI interface for potrace
$PRGNAM: $PRGNAM:
$PRGNAM: With language support for:
$PRGNAM: en $langs
$PRGNAM: $PRGNAM:
$PRGNAM: $PRGNAM: and help documentation for:
$PRGNAM: $PRGNAM: $(echo $langdoc | sed 's| man||')
$PRGNAM:
$PRGNAM:
$PRGNAM: $PRGNAM:
" > $PKG/install/slack-desc " > $PKG/install/slack-desc

@ -23,9 +23,9 @@
# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE. # SUCH DAMAGE.
PKGNAM=tdegwenview-i18n
PRGNAM=gwenview-i18n PRGNAM=gwenview-i18n
[[ $I18N == "" ]] && echo -e "\nYou have tried to build $PRGNAM without selecting any language(s)\n" && exit PKGNAM=tde$PRGNAM
[[ $I18N == "" ]] && echo -e "\033[39;1m\nYou have tried to build $PRGNAM without selecting any language(s)\n\033[0m" && exit
VERSION=${VERSION:-$TDEVERSION} VERSION=${VERSION:-$TDEVERSION}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_tde} TAG=${TAG:-_tde}
@ -38,42 +38,45 @@ untar_fn
# Add missing files for Spanish TDE handbook docs # Add missing files for Spanish TDE handbook docs
if [[ $I18N == *es* ]] if [[ $I18N == *es* ]]
then then
sed -i 's|SUBDIRS= messages|SUBDIRS= messages doc|' es/Makefile.am ## restore es/doc/CMakeLists.txt as the following creates a handbook index
echo "KDE_LANG = es sed -i 's|# ||' es/doc/CMakeLists.txt
KDE_DOCS=gwenview
" > es/doc/Makefile.am
# use the German index.docbook as a template # use the German index.docbook as a template
cp de/doc/index.docbook es/doc/index.docbook cp de/doc/index.docbook es/doc/
# these index.docbook 'translations' have been made from the gwenview [US] English original, # these index.docbook 'translations' have been made from the gwenview [US] English original,
# the other 'es' *.docbook files are the original translations in the source code # the other 'es' *.docbook files are the original translations in the source code
# any corrections from a Spanish speaker will be welcome # any corrections from a Spanish speaker will be welcome
sed -i -e 's|German|Spanish|' -e 's|Das Handbuch zu Gwenview|Manual del usuario Gwenview|' -e 's|Deutsche Übersetzung|Traducción Española|' -e 's|ist ein Bildbetrachter für &kde;|es un visor de imágenes para TDE|' -e '85s|Bild|imagen|' -e '87s|Betrachter|visionador|' -e 's|Künstler|artista|' -e 's|Photo|foto|' -e '93s|Bild|dibujo|' -e 's|Tipps|Consejos|' -e 's|Thomas||' -e 's|Reitelbach||' -e 's|tr@erdfunkstelle.de||' es/doc/index.docbook sed -i -e 's|German|Spanish|' -e 's|Das Handbuch zu Gwenview|Manual del usuario Gwenview|' -e 's|Deutsche Übersetzung|Traducción Española|' -e 's|ist ein Bildbetrachter für &kde;|es un visor de imágenes para TDE|' -e '85s|Bild|imagen|' -e '87s|Betrachter|visionador|' -e 's|Künstler|artista|' -e 's|Photo|foto|' -e '93s|Bild|dibujo|' -e 's|Tipps|Consejos|' -e 's|Thomas||' -e 's|Reitelbach||' -e 's|tr@erdfunkstelle.de||' es/doc/index.docbook
fi fi
## remove help documentation build instruction from all locales ...
sed -i '/BUILD_DOC/d' */CMakeLists.txt
listdocs_fn listdocs_fn
# set support for additional language(s) as per I18N variable # set support for additional language(s) as per I18N variable
# but only for languages available with this package # but only for languages available with this package
langs="";for Lang in $I18N;do [[ -d $Lang ]] && langs="$langs $Lang";done langs=""
sed -i "s|SUBDIRS=.*$|SUBDIRS=$langs|" Makefile.am for Lang in $I18N
do
ltoolupdate_fn [[ -d $Lang ]] && {
langs="$langs $Lang/messages/gwenview.po"
## ... and restore help documentation for the selected and available locales
[[ -e $Lang/CMakeLists.txt ]] && echo 'tde_conditional_add_subdirectory( BUILD_DOC doc )' > $Lang/CMakeLists.txt
}
done
sed -i "s|\${po_files}|$langs|" CMakeLists.txt && \
langs=$(echo $langs|sed "s|/messages/gwenview.po||g")
chown_fn chown_fn
cd_builddir_fn cd_builddir_fn
LDFLAGS="${SLKLDFLAGS}" \ cmake \
CFLAGS="${SLKCFLAGS} $TQT_INCLUDE_PATH" \ -DCMAKE_C_FLAGS:STRING=$SLKCFLAGS \
CXXFLAGS="${SLKCFLAGS}" \ -DCMAKE_CXX_FLAGS:STRING=$SLKCFLAGS \
CC=${COMPILER} \ -DCMAKE_C_COMPILER=$COMPILER \
CXX=${COMPILER_CXX} \ -DCMAKE_CXX_COMPILER=$COMPILER_CXX \
../configure \ -DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \
--prefix=${INSTALL_TDE} \ ..
--sysconfdir=$SYS_CNF_DIR \
--mandir=${INSTALL_TDE}/man \
--disable-rpath \
--enable-closure
make_fn make_fn
@ -91,18 +94,18 @@ echo "
# exactly 11 lines for the formatting to be correct. It's also customary to # exactly 11 lines for the formatting to be correct. It's also customary to
# leave one space after the ':'. # leave one space after the ':'.
|-----handy-ruler------------------------------------------------------| |-----handy-ruler------------------------------------------------------|
tdegwenview-i18n: tdegwenview-i18n (Internationalization files for gwenview.) $PKGNAM: $PKGNAM (Internationalization files for gwenview.)
tdegwenview-i18n: $PKGNAM:
tdegwenview-i18n: For languages: $PKGNAM: For languages:
tdegwenview-i18n: $PKGNAM:
tdegwenview-i18n: $(echo $langs) $PKGNAM: $langs
tdegwenview-i18n: $PKGNAM:
tdegwenview-i18n: $PKGNAM:
tdegwenview-i18n: $PKGNAM:
tdegwenview-i18n: $PKGNAM:
tdegwenview-i18n: $PKGNAM:
tdegwenview-i18n: $PKGNAM:
" > $PKG/install/slack-desc " > $PKG/install/slack-desc

@ -38,22 +38,24 @@ listdocs_fn
# set support for additional language(s) as per I18N variable # set support for additional language(s) as per I18N variable
# but only for languages available with this package # but only for languages available with this package
langs="";for Lang in $I18N;do [[ -e po/$Lang".po" ]] && langs="$langs $Lang"".po";done langs="";for Lang in $I18N;do [[ -e po/$Lang".po" ]] && langs="$langs $Lang"".po";done
sed -i "s|POFILES =.*$|POFILES =$langs|" po/Makefile.am ## this GLOB overrides the one in po/CMakeLists.txt:
langs=$(echo $langs | sed 's|.po||g') sed -i "s|\*.po|$langs|" cmake/modules/TDEMacros.cmake
langs=$(echo $langs | sed "s|.po||g")
ltoolupdate_fn [[ $langs != "" ]] && TRANS=ON
chown_fn chown_fn
cd_builddir_fn cd_builddir_fn
LDFLAGS="${SLKLDFLAGS}" \ cmake \
CFLAGS="${SLKCFLAGS} $TQT_INCLUDE_PATH" \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS $TQT_INCLUDE_PATH" \
CXXFLAGS="${SLKCFLAGS}" \ -DCMAKE_CXX_FLAGS:STRING=$SLKCFLAGS \
CC=${COMPILER} \ -DCMAKE_C_COMPILER=$COMPILER \
CXX=${COMPILER_CXX} \ -DCMAKE_CXX_COMPILER=$COMPILER_CXX \
../configure \ -DCMAKE_INSTALL_PREFIX=$INSTALL_TDE \
--prefix=${INSTALL_TDE} -DMAN_INSTALL_DIR=$INSTALL_TDE/man \
-DBUILD_TRANSLATIONS=${TRANS:-OFF} \
..
make_fn make_fn

@ -0,0 +1,11 @@
Using the gtk+-1.2.10-*-5 and glib-1.2.10-*-3 packages from Slackware 14.2 produces an error:
| multiple definition of `g_bit_storage'
gdk_imlib isn't needed for kuickshow, and imlib can be built without it by moving gtk-config out of the PATH. Or removing those packages or upgrading to gtk+-1.2.10-*-7 and glib-1.2.10-*-7 from Slackware-current produces a successful build.
So if you really want to build gdk_imlib, try using those Sl-current packages, but be aware of this note from the Imlib README:
"Also note that gdk-imlib WILL NOT WORK with GTK2. It won't even compile.
This is not a bug. This is a feature. If you need an image loader for GTK2, use gdk-pixbuf."

@ -147,8 +147,8 @@ git checkout -- *
git pull) git pull)
## if admin and cmake don't exist, clone them ## if admin and cmake don't exist, clone them
[[ ! -d admin ]] && git clone https://mirror.git.trinitydesktop.org/cgit/tde-common-admin admin [[ ! -d admin ]] && git clone https://mirror.git.trinitydesktop.org/cgit/admin admin
[[ ! -d cmake ]] && git clone https://mirror.git.trinitydesktop.org/cgit/tde-common-cmake cmake [[ ! -d cmake ]] && git clone https://mirror.git.trinitydesktop.org/cgit/cmake cmake
## place a marker so that admin/cmake update or clone only once per run of BUILD-TDE.sh ## place a marker so that admin/cmake update or clone only once per run of BUILD-TDE.sh
touch $TMPVARS/admin-cmake-done touch $TMPVARS/admin-cmake-done

Loading…
Cancel
Save