mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-14 19:39:03 +08:00
kde applications, fix conflics with files. Introduced new kde4 part
This commit is contained in:
parent
afe9171bf7
commit
bd568f0f80
@ -1,64 +0,0 @@
|
||||
# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
|
||||
# Contributors: Manuel Tortosa <manutortosa@chakra-project.org>
|
||||
|
||||
# Include global configuration
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgbase=konsole
|
||||
pkgname=('kde-baseapps-konsole'
|
||||
'konsolepart4')
|
||||
pkgver=${_kdever}
|
||||
pkgrel=2
|
||||
pkgdesc="KDE terminal emulator"
|
||||
url='http://kde.org/applications/system/konsole/'
|
||||
screenshot="http://userbase.kde.org/images.userbase/6/64/Konsole-KDE4.png"
|
||||
arch=('x86_64')
|
||||
license=('GPL' 'LGPL' 'FDL')
|
||||
makedepends=('cmake' 'automoc4')
|
||||
groups=('kde' 'kde-baseapps' 'kde-uninstall')
|
||||
categories=('system')
|
||||
options=('docs' 'debug')
|
||||
source=("$_mirror/konsole-$_kdever.tar.xz"
|
||||
"Shell_new.diff")
|
||||
sha256sums=(`grep konsole-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`
|
||||
'ba0c40a58cf5823cb038ebfef94c0a2166b8ecac220ae68c82d8a992891f9d6a')
|
||||
|
||||
prepare() {
|
||||
mkdir -p "${srcdir}/build"
|
||||
cd "${srcdir}/${pkgbase}-${pkgver}"
|
||||
patch -p1 -i ${srcdir}/Shell_new.diff
|
||||
}
|
||||
|
||||
build() {
|
||||
cd build
|
||||
cmake ../${pkgbase}-${pkgver} \
|
||||
-DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
|
||||
make
|
||||
}
|
||||
|
||||
package_kde-baseapps-konsole() {
|
||||
provides=('kdebase-konsole')
|
||||
conflicts=('kdebase-konsole')
|
||||
replaces=('kdebase-konsole')
|
||||
depends=("kde-runtime" "kde-baseapps>=${_kdever}" "konsolepart4=${pkgver}")
|
||||
splitdirs="src desktop"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/build/${i}
|
||||
make DESTDIR=${pkgdir} install
|
||||
done
|
||||
rm -r "${pkgdir}"/usr/share/apps/ \
|
||||
-r "${pkgdir}"/usr/share/kde4/
|
||||
|
||||
rm "${pkgdir}"/usr/lib/libkonsoleprivate.so \
|
||||
"${pkgdir}"/usr/lib/kde4/libkonsolepart.so
|
||||
}
|
||||
|
||||
package_konsolepart4() {
|
||||
depends=("kde-runtime" "kde-baseapps>=${_kdever}")
|
||||
cd build
|
||||
make DESTDIR="${pkgdir}" install
|
||||
rm -r "$pkgdir"/usr/{bin,share/applications}
|
||||
rm "${pkgdir}"/usr/lib/libkdeinit4_konsole.so
|
||||
}
|
@ -1,19 +0,0 @@
|
||||
--- a/data/profiles/Shell.profile 2012-08-13 05:24:27.000000000 -0400
|
||||
+++ b/data/profiles/Shell.profile 2012-09-03 19:15:44.689246940 -0400
|
||||
@@ -170,3 +170,16 @@
|
||||
Comment[x-test]=xxKonsole default profilexx
|
||||
Comment[zh_CN]=Konsole 默认配置
|
||||
Comment[zh_TW]=Konsole 預設設定檔
|
||||
+
|
||||
+ShowNewAndCloseTabButtons=true
|
||||
+
|
||||
+[Appearance]
|
||||
+AntiAliasFonts=true
|
||||
+ColorScheme=Linux
|
||||
+
|
||||
+[Scrolling]
|
||||
+HistoryMode=2
|
||||
+
|
||||
+[Terminal Features]
|
||||
+BlinkingCursorEnabled=true
|
||||
+BidiRenderingEnabled=true
|
@ -1,24 +0,0 @@
|
||||
diff -Naur kdebase-4.3.80.orig/apps/konsole/data/profiles/Shell.profile kdebase-4.3.80/apps/konsole/data/profiles/Shell.profile
|
||||
--- kdebase-4.3.80.orig/apps/konsole/data/profiles/Shell.profile 2009-11-21 10:43:48.000000000 +0100
|
||||
+++ kdebase-4.3.80/apps/konsole/data/profiles/Shell.profile 2009-12-06 20:45:03.000000000 +0100
|
||||
@@ -174,13 +174,18 @@
|
||||
LocalTabTitleFormat=%D : %n
|
||||
RemoteTabTitleFormat=(%u) %H
|
||||
|
||||
+[General]
|
||||
+ShowNewAndCloseTabButtons=true
|
||||
+
|
||||
[Appearance]
|
||||
+AntiAliasFonts=true
|
||||
ColorScheme=Linux
|
||||
+Font=Bitstream Vera Sans Mono,10,-1,0,75,0,0,0,0,0
|
||||
|
||||
[Scrolling]
|
||||
-ScrollMode=FixedLineCount
|
||||
-ScrollLineCount=1000
|
||||
+HistoryMode=2
|
||||
|
||||
[Terminal Features]
|
||||
+BlinkingCursorEnabled=true
|
||||
BidiRenderingEnabled=true
|
||||
|
Loading…
Reference in New Issue
Block a user