You are not logged in.
This is a nice XML Editor for KDE. I need this for work and so if someone needs it too, here it is.
PKGBUILD:
# Contributor: Rene Thümmler <rene.thuemmler at.remove_this gmx.net>
pkgname=kxmleditor
pkgver=1.0.0
pkgrel=1
pkgdesc="KXML Editor is program, that display and edit contents of XML file."
url="http://kxmleditor.sourceforge.net/"
depends=('kdelibs')
source=(http://cesnet.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz
$pkgname-$pkgver.patch)
md5sums=('0f34b6b8a5aa5781cb7f48c5fbcae10d' '5e2acd9cc9480f563dcc678a9336caea')
build() {
cd $startdir/src/$pkgname-$pkgver/part
# patch kxmleditorfactory.cpp
patch -p0 < ../../$pkgname-$pkgver.patch
# patch .ui files from qt 3.1 to qt 3.3 copied from:
# <http://sourceforge.net/tracker/index.php?func=detail&aid=971698&group_id=30704&atid=400968>
local FF
for FF in `ls *.ui`;do
sed -i "s/3.1/3.3/;s/3.2/3.3/" $FF
done
cd ..
./configure --prefix=/opt/kde
make || return 1
make prefix=$startdir/pkg/opt/kde install
}
kxmleditor-1.0.0.patch:
diff -Naur kxmleditorfactory.cpp.original kxmleditorfactory.cpp
--- kxmleditorfactory.cpp.original 2004-07-08 21:59:45.000000000 +0200
+++ kxmleditorfactory.cpp 2004-07-08 21:59:01.000000000 +0200
@@ -29,7 +29,7 @@
{
return new KXMLEditorFactory;
}
-};
+}
KInstance * KXMLEditorFactory::s_instance = 0L;
KXEConfiguration * KXMLEditorFactory::s_pKXEConfig = 0L;
Bye
Offline