Browse Source

Stefan Fiedler:


			
			
				rocklinux
			
			
		
Stefan Fiedler 19 years ago
parent
commit
20e5b6b1e6
5 changed files with 11 additions and 5 deletions
  1. +1
    -0
      Documentation/Developers/PKG-BUILD-VARS
  2. +2
    -4
      misc/desktop/parse-config
  3. +4
    -1
      package/kde/kde-3.conf
  4. +3
    -0
      package/kde/kdelibs/kdelibs.conf
  5. +1
    -0
      scripts/Build-Pkg

+ 1
- 0
Documentation/Developers/PKG-BUILD-VARS

@ -59,6 +59,7 @@ autopatch ..... '0' = skip automatic patching
chownsrcdir ... '0' = don't make a chown to root after extracting the $srctar
desktopfiles .. filenames of the desktop files to install ($confdir/*.desktop)
set to an empty string to deactivate desktop file installation
desktopauto ... '0' = disable automatic changes to .desktop files
nocvsinsrcdir . '0' = don't remove CVS and .svn directories in $srcdir
srctar ........ filename of source tar file ('auto' = autodetect)
srcdir ........ directory in source tar file ('auto' = autodetect)

+ 2
- 4
misc/desktop/parse-config

@ -1,3 +1,4 @@
#!/bin/bash
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
@ -20,7 +21,7 @@
#
# --- ROCK-COPYRIGHT-NOTE-END ---
#!/bin/bash
[ $desktopauto = 1 ] || continue
postflist_desktop_rock2desktop() {
@ -92,9 +93,6 @@ postflist_desktop() {
grep \\.desktop\$ ${builddir}/flist.txt | while read desktop ; do
[ ! -f "${desktop}" ] && continue
# this is dirty!
[ "${desktop/konqueror\.desktop/}" != "${desktop}" ] && continue
[ "${desktop/System\/ScreenSavers/}" != "${desktop}" ] && continue
echo "Checking ${desktop} ... "
rm -f "${tmp}"

+ 4
- 1
package/kde/kde-3.conf

@ -25,10 +25,13 @@ var_append confopt " " "--with-qt-dir=$QTDIR \
# some feature and optimization settings ...
pkginstalled openldap && var_append confopt ' ' "--with-ldap=$root/$pkg_openldap_prefix"
var_append confopt " " "--with-xinerama --enable-dnotify"
var_append confopt " " "--with-xinerama"
[ "$arch" = "x86" -a "ROCKCFG_X86_BITS" = "32" ] && \
var_append confopt " " "--enable-fast-malloc=full"
# disable auto-processing of .desktop files
desktopauto=0
# keep .la files in the main packages, kde needs them at runtime
splitreg 45 . '/.*\.la$'

+ 3
- 0
package/kde/kdelibs/kdelibs.conf

@ -39,5 +39,8 @@ EOP
}
# 2.4 kernels only support dnotify, 2.6 supports both dnotify and inotify
var_append confopt " " "--enable-dnotify --enable-inotify"
hook_add postmake 3 kde_pm

+ 1
- 0
scripts/Build-Pkg

@ -46,6 +46,7 @@ chroot=0
root=""
id=''
desktopfiles=''
desktopauto=1
stagelevel=9
this_is_the_2nd_run=0

Loading…
Cancel
Save