[arch-commits] Commit in kdesdk/trunk (PKGBUILD kompare-utf8.patch)

Pierre Schmitz pierre at archlinux.org
Wed Jul 23 23:52:02 UTC 2008


    Date: Wednesday, July 23, 2008 @ 19:52:02
  Author: pierre
Revision: 6162

upgpkg: kdesdk 4.1.0-1
    updating to 4.1.0

Modified:
  kdesdk/trunk/PKGBUILD
Deleted:
  kdesdk/trunk/kompare-utf8.patch

--------------------+
 PKGBUILD           |   51 +++++++++++++++++++++------------------------------
 kompare-utf8.patch |   34 ----------------------------------
 2 files changed, 21 insertions(+), 64 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-07-23 23:50:40 UTC (rev 6161)
+++ PKGBUILD	2008-07-23 23:52:02 UTC (rev 6162)
@@ -1,36 +1,27 @@
-# $Id$
-# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+# $ Id: $
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
 
 pkgname=kdesdk
-pkgver=3.5.9
-kdever=3.5.9 # if minor 0, then without .0
-pkgrel=3
-pkgdesc="KDE Software Development Kit."
-arch=(i686 x86_64)
-url="http://www.kde.org"
-license=('GPL')
+pkgver=4.1.0
+pkgrel=1
+pkgdesc="KDE SDK is a collection of applications and tools used by KDE developers"
+arch=('i686' 'x86_64')
+url='http://www.kde.org'
+license=('GPL' 'LGPL' 'FDL')
 groups=('kde')
-makedepends=('subversion')
-depends=('kdelibs>=3.5.9' 'db>=4.7' 'flex' 'python' 'kdepim>=3.5.9') #apache is not a depend!
+depends=('kdebase-workspace' 'kdepimlibs' 'subversion')
+makedepends=('pkgconfig' 'cmake' 'automoc4' 'boost')
+options=('docs')
+source=("ftp://ftp.archlinux.org/other/kde/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('12f04dd718bd15dd62256b46fbaf659a')
 
-# for easier build, just uncomment the mirror you want to use
-  mirror="ftp.solnet.ch/mirror/KDE"         # updated every 2 hours, very fast for Europe
-# mirror="ftp.kde.org/pub/kde/"             # main server
-# mirror="ibiblio.org/pub/mirrors/kde/"     # ibiblio mirror
-
-source=(ftp://$mirror/stable/$kdever/src/$pkgname-$pkgver.tar.bz2)
-
 build() {
-  # Source the QT and KDE profile
-  [ "$QTDIR" = "" ] && source /etc/profile.d/qt3.sh 
-  [ "$KDEDIR" = "" ] && source /etc/profile.d/kde.sh
-  # start building
-  cd $startdir/src/$pkgname-$pkgver
-  ./configure --prefix=/opt/kde --disable-debug --disable-dependency-tracking \
-  --with-svn-include=/usr/include/  --with-svn-lib=/usr/lib --enable-gcc-hidden-visibility \
-  --enable-final --with-apr-config=/usr/bin/apr-1-config --with-apu-config=/usr/bin/apu-1-config 
-  #        --enable-final # remove this if you build with < 512mb ram.
-  make || return 1
-  make DESTDIR=$startdir/pkg install || return 1
+	cd $srcdir
+	mkdir build
+	cd build
+	cmake ../${pkgname}-${pkgver} \
+		-DCMAKE_BUILD_TYPE=Release \
+		-DCMAKE_INSTALL_PREFIX=/usr
+	make
+	make DESTDIR=$pkgdir install
 }
-md5sums=('fd86abfe0ac7c5af61b15eb5367d0399')

Deleted: kompare-utf8.patch
===================================================================
--- kompare-utf8.patch	2008-07-23 23:50:40 UTC (rev 6161)
+++ kompare-utf8.patch	2008-07-23 23:52:02 UTC (rev 6162)
@@ -1,34 +0,0 @@
-diff -ur kdesdk-3.5.5/kompare/kompare_shell.cpp kdesdk-3.5.5-patch/kompare/kompare_shell.cpp
---- kdesdk-3.5.5/kompare/kompare_shell.cpp	2005-09-10 10:21:05.000000000 +0200
-+++ kdesdk-3.5.5-patch/kompare/kompare_shell.cpp	2006-10-18 15:36:24.000000000 +0200
-@@ -192,7 +192,6 @@
- {
- 	kdDebug(8102) << "Url = " << url.prettyURL() << endl;
- 	m_diffURL = url;
--	m_viewPart->setEncoding( "Default" );
- 	m_viewPart->openDiff( url );
- }
- 
-@@ -207,7 +206,6 @@
- 
- 	file.close();
- 
--	m_viewPart->setEncoding( "Default" );
- 	m_viewPart->openDiff( diff );
- 
- }
-@@ -217,7 +215,6 @@
- 	m_sourceURL = source;
- 	m_destinationURL = destination;
- 
--	m_viewPart->setEncoding( "Default" );
- 	m_viewPart->compare( source, destination );
- }
- 
-@@ -226,7 +223,6 @@
- 	m_sourceURL = url1;
- 	m_destinationURL = diff;
- 
--	m_viewPart->setEncoding( "Default" );
- 	m_viewPart->openDirAndDiff( url1, diff );
- }





More information about the arch-commits mailing list