Browse Source

More fixed packages

pull/39/head
Michael Manley 6 months ago
parent
commit
d8fabcd094

+ 1
- 5
R14.0.5/build.sh View File

@@ -1,11 +1,7 @@
#!/bin/bash

### !!! tdeartwork in tde-base removed due to no compile
### !!! amarok in tde-extra removed due to no compile
### !!! gtk3-tqt-engine in tde-extra removed due to no compile
### !!! kmplayer in tde-extra removed due to no compile
### !!! systemsettings in tde-extra removed due to no compile
### !!! tdeedu in tde-extra removed due to no compile

set -e
tdesrc=$PWD
@@ -33,7 +29,7 @@ done

cd $tdesrc/tde-extra
dir=$PWD
for pkg in tdenetwork tdegames gtk-qt-engine tdemultimedia krusader ksplash-engine-moodin style-qtcurve tdeaccessibility tdepim tdeaddons tdenetworkmanager tdepowersave tdesudo tdetoys tdmtheme twin-style-crystal; do
for pkg in tdenetwork tdegames gtk-qt-engine tdemultimedia systemsettings amarok kmplayer krusader tdeedu ksplash-engine-moodin style-qtcurve tdeaccessibility tdepim tdeaddons tdenetworkmanager tdepowersave tdesudo tdetoys tdmtheme twin-style-crystal; do
cd "$dir"/tde-"$pkg"
makepkg -Lsci
done

+ 7
- 12
R14.0.5/tde-extra/tde-amarok/PKGBUILD View File

@@ -27,24 +27,19 @@ build() {
## Generate config files and update with autoreconf
cd ${srcdir}/applications/${pkgname#*-}

msg "Creating out-of-source build directory: ${srcdir}/build"
mkdir -p "$srcdir/build"
cd "$srcdir/build"
msg "Running make -f admin/Makefile.common ...."
make -f admin/Makefile.common

msg "Starting cmake..."

cmake ${srcdir}/applications/${pkgname#*-} \
-DCMAKE_INSTALL_PREFIX=${TDEDIR} \
-DSYSCONF_INSTALL_DIR=${TDEDIR}/etc \
-DBUILD_ALL=ON \
-DWITH_GCC_VISIBILITY=ON
## configure
msg "Configuring - ${pkgname}..."

./configure --prefix=/usr
make $NUMJOBS

}

package() {
msg "Packaging - $pkgname-$pkgver"
cd ${srcdir}/build # use for libtool
cd ${srcdir}/applications/${pkgname#*-}
make -j1 DESTDIR="${pkgdir}" install
}

+ 12
- 13
R14.0.5/tde-extra/tde-gtk3-tqt-engine/PKGBUILD View File

@@ -9,7 +9,7 @@ arch=('i686' 'x86_64')
url='http://scm.trinitydesktop.org/scm/git/applications/gtk3-tqt-engine'
license=('GPL')
groups=('tde-extra')
depends=('tde-tdebase')
depends=('tde-tdebase' 'gtk3')
makedepends=('pkgconfig' 'cmake')
#provides=('tdemultimedia')
#conflicts=('gtk3-tqt-engine')
@@ -25,27 +25,26 @@ build() {
[ "$QTDIR" = "" ] && . /usr/share/trinity/srcldr/tqt3.sh
[ "$TDEDIR" = "" ] && . /usr/share/trinity/srcldr/trinity.sh

## Generate config files and update with autoreconf
## Generate config files and update with autoreconf
cd ${srcdir}/applications/${pkgname#*-}

msg "Creating out-of-source build directory: ${srcdir}/build"
mkdir -p "$srcdir/build"
cd "$srcdir/build"
msg "Copying system libtool files...."
cp /usr/share/aclocal/libtool.m4 ./admin/libtool.m4.in
cp /usr/share/libtool/build-aux/ltmain.sh ./admin/ltmain.sh

msg "Starting cmake..."
msg "Running make -f admin/Makefile.common ...."
make -f admin/Makefile.common

cmake ${srcdir}/applications/${pkgname#*-} \
-DCMAKE_INSTALL_PREFIX=${TDEDIR} \
-DSYSCONF_INSTALL_DIR=${TDEDIR}/etc \
-DBUILD_ALL=ON \
-DWITH_GCC_VISIBILITY=ON
## configure
msg "Configuring - ${pkgname}..."

./configure --prefix=/usr
make $NUMJOBS
}

package() {
msg "Packaging - $pkgname-$pkgver"
cd ${srcdir}/build # use for libtool
cd ${srcdir}/applications/${pkgname#*-}
make -j1 DESTDIR="${pkgdir}" install
}

+ 7
- 2
R14.0.5/tde-extra/tde-kmplayer/PKGBUILD View File

@@ -15,8 +15,10 @@ makedepends=('pkgconfig' 'cmake' 'mplayer')
#conflicts=('kmplayer')
#replaces=('kmplayer')
options=('staticlibs' 'libtool' '!strip')
source=("http://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/applications/kmplayer-R${pkgver}.tar.bz2")
md5sums=('968e2116b333ea646ce00fd2ab2038a8')
source=("http://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/applications/kmplayer-R${pkgver}.tar.bz2"
"callback-stub-fix.patch")
md5sums=('968e2116b333ea646ce00fd2ab2038a8'
'31ed0b0814a3855c65541c058ac91a68')
# install=''

build() {
@@ -28,6 +30,9 @@ build() {
## Generate config files and update with autoreconf
cd ${srcdir}/applications/${pkgname#*-}

msg "Patching for callback stub header..."
patch -p1 -i ${srcdir}/callback-stub-fix.patch

msg "Copying system libtool files...."
cp /usr/share/aclocal/libtool.m4 ./admin/libtool.m4.in
cp /usr/share/libtool/build-aux/ltmain.sh ./admin/ltmain.sh

+ 35
- 0
R14.0.5/tde-extra/tde-kmplayer/callback-stub-fix.patch View File

@@ -0,0 +1,35 @@
diff -Naur kmplayer-orig/src/Makefile.am kmplayer/src/Makefile.am
--- kmplayer-orig/src/Makefile.am 2018-08-25 10:16:53.000000000 +0000
+++ kmplayer/src/Makefile.am 2019-01-31 21:26:36.000000000 +0000
@@ -27,6 +27,7 @@
kmplayer_la_SOURCES= main.cpp kmplayerapp.cpp kmplayertvsource.cpp kmplayerbroadcast.cpp kmplayervdr.cpp
kmplayer_la_LIBADD= libkmplayercommon.la $(LIB_XTEST)
kmplayer_la_LDFLAGS= -module $(KDE_PLUGIN) $(LIB_QT)
+kmplayer_la_COMPILE_FIRST= kmplayer_backend_stub.h
EXTRA_PROGRAMS = kxineplayer kxvplayer kgstplayer
if include_kxineplayer
@@ -48,14 +49,17 @@
kxineplayer_CFLAGS= $(CFLAGS_XINE)
kxineplayer_LDFLAGS= $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor
kxineplayer_SOURCES= xineplayer.cpp
+kxineplayer_COMPILE_FIRST= kmplayer_callback_stub.h
kxvplayer_LDADD= libkmplayerbackend.la -lDCOP -lXv
kxvplayer_LDFLAGS= $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor
kxvplayer_SOURCES= xvplayer.cpp
+kxvplayer_COMPILE_FIRST= kmplayer_callback_stub.h
kgstplayer_LDADD= libkmplayerbackend.la $(LIB_GST) $(LIB_GST_PLUGINS) $(LIB_GST_OVERLAY) -lDCOP
kgstplayer_LDFLAGS= $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor
kgstplayer_SOURCES= gstplayer.cpp
+kgstplayer_COMPILE_FIRST= kmplayer_callback_stub.h
knpplayer_LDADD= $(LIBNSPR_LIBS)
knpplayer_LDFLAGS= -lX11 -lgmodule-2.0
@@ -79,3 +83,5 @@
messages: rc.cpp
$(XGETTEXT) *.cpp -o $(podir)/kmplayer.pot
+
+.NOTPARALLEL:

+ 10
- 12
R14.0.5/tde-extra/tde-systemsettings/PKGBUILD View File

@@ -27,25 +27,23 @@ build() {
## Generate config files and update with autoreconf
cd ${srcdir}/applications/${pkgname}

msg "Creating out-of-source build directory: ${srcdir}/build"
mkdir -p "$srcdir/build"
cd "$srcdir/build"
msg "Copying system libtool files...."
cp /usr/share/aclocal/libtool.m4 ./admin/libtool.m4.in
cp /usr/share/libtool/build-aux/ltmain.sh ./admin/ltmain.sh

msg "Starting cmake..."
msg "Running make -f admin/Makefile.common ...."
make -f admin/Makefile.common

cmake ${srcdir}/applications/${pkgname} \
-DCMAKE_INSTALL_PREFIX=${TDEDIR} \
-DSYSCONF_INSTALL_DIR=${TDEDIR}/etc \
-DBUILD_ALL=ON \
-DWITH_GCC_VISIBILITY=ON
## configure
msg "Configuring - ${pkgname}..."

./configure --prefix=/usr
make $NUMJOBS

}

package() {
msg "Packaging - $pkgname-$pkgver"
cd ${srcdir}/build # use for libtool
cd ${srcdir}/applications/${pkgname}
make -j1 DESTDIR="${pkgdir}" install
}

+ 7
- 2
R14.0.5/tde-extra/tde-tdeedu/PKGBUILD View File

@@ -16,8 +16,10 @@ conflicts=("trinity-${pkgname#*-}")
replaces=("trinity-${pkgname#*-}")
options=('staticlibs' 'libtool' '!emptydirs')
# install='pkgname.install'
source=("http://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/tdeedu-R${pkgver}.tar.bz2")
md5sums=('b6ceb82d93d19e3862dfb01c45457774')
source=("http://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/tdeedu-R${pkgver}.tar.bz2"
"kmplot.patch")
md5sums=('b6ceb82d93d19e3862dfb01c45457774'
'3b00bf93b77d020d69d9d92ef80041d2')

build() {
cd ${srcdir}
@@ -30,6 +32,9 @@ build() {
cd ${srcdir}/${pkgname#*-}
## Generate config files and update with autoreconf

msg "Patching for kmplot..."
patch -p1 -i ${srcdir}/kmplot.patch

msg "Copying system libtool files...."
cp /usr/share/aclocal/libtool.m4 ./admin/libtool.m4.in
cp /usr/share/libtool/build-aux/ltmain.sh ./admin/ltmain.sh

+ 12
- 0
R14.0.5/tde-extra/tde-tdeedu/kmplot.patch View File

@@ -0,0 +1,12 @@
diff -Naur tdeedu-orig/kmplot/kmplot/Makefile.am tdeedu/kmplot/kmplot/Makefile.am
--- tdeedu-orig/kmplot/kmplot/Makefile.am 2018-08-25 10:03:05.000000000 +0000
+++ tdeedu/kmplot/kmplot/Makefile.am 2019-01-31 21:39:42.000000000 +0000
@@ -28,6 +28,8 @@
kmplot_LDFLAGS = $(KDE_RPATH) $(all_libraries) $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) $(LIB_TDEIO) $(LIB_TDEPARTS) -lDCOP
kmplot_LDADD = $(LIB_TDEPARTS)
+kmplot_COMPILE_FIRST = FktDlgData.h qminmax.h settings.h
+
# this is where the desktop file will go
appmimedir = $(kde_mimedir)/application
appmime_DATA = x-kmplot.desktop

Loading…
Cancel
Save