Browse Source

Andreas V. Meier:


			
			
				rocklinux
			
			
		
Andreas V. 'netrunner' Meier 20 years ago
parent
commit
7c3704a1a2
3 changed files with 145 additions and 0 deletions
  1. +32
    -0
      package/avm/xfce4/config.in
  2. +70
    -0
      package/avm/xfce4/xfce4.conf
  3. +43
    -0
      package/avm/xfce4/xfce4.desc

+ 32
- 0
package/avm/xfce4/config.in

@ -0,0 +1,32 @@
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/package/avm/xfce4/config.in
# ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version. A copy of the GNU General Public
# License can be found at Documentation/COPYING.
#
# Many people helped and are helping developing ROCK Linux. Please
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
# file for details.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
if pkgcheck xfce4 X
then
menu_begin MENU_PKG_XFCE4 'XFce 4 Package Options'
text 'Install prefix for XFce 4 Packages' \
ROCKCFG_PKG_XFCE4_CORE_PREFIX "opt/xfce4"
bool 'Use Sans 11 as default XFce font' \
ROCKCFG_PKG_XFCE4_SANS11 0
menu_end
fi

+ 70
- 0
package/avm/xfce4/xfce4.conf

@ -0,0 +1,70 @@
if [ "$prefix_auto" = 1 ] ; then
prefix=$ROCKCFG_PKG_XFCE4_CORE_PREFIX
set_confopt
fi
# It already uses a subdirectory
sysconfdir="${sysconfdir%xfce4}"
# Several packages install fr docs
[ "$ROCKCFG_DISABLE_NLS" = 1 ] && postmake="rm -rf $datadir/xfce4/doc/??{,_??}"
xfce4_custmain() {
if [ "$prefix_auto" = 1 ] ; then
prefix="opt/xfce4"
var_append confopt " " "--prefix=$root/$prefix"
fi
# these need to be built first in that order
xfce4_prebuild="libxfce4util libxfcegui4 libxfce4mcs xfce-mcs-manager\
xfce4-panel"
for i in $xfce4_prebuild; do
echo "Building $i ..."
echo "extracting src/${i}*.tar.gz ..."
tar xzf src/${i}*.tar.gz
cd ${i}*
hook_eval preconf
echo "./configure $confopt"
eval ./configure $confopt
hook_eval premake
echo "make $makeopt"
eval make $makeopt
echo "evaluating inmake"
hook_eval inmake
echo "make $makeopt $makeinstopt"
eval make $makeopt $makeinstopt
hook_eval postmake
cd ..
echo "Finished building $i"
done
for i in src/*.tar.gz; do
i=$(basename ${i/.tar.gz})
if [[ ${xfce4_prebuild} != *${i} ]]; then
echo "Building $i ..."
tar xzf src/${i}*.tar.gz
cd ${i}*
hook_eval preconf
echo "./configure $confopt"
eval ./configure $confopt
hook_eval premake
echo "make $makeopt"
eval make $makeopt
hook_eval inmake
echo "make $makeopt $makeinstopt"
eval make $makeopt $makeinstopt
hook_eval postmake
cd ..
echo "Finished building $i"
fi
done
}
custmain="xfce4_custmain"
[ "$ROCKCFG_PKG_XFCE4_SANS11" = 1 ] && hook_add preconf 3 "\
if [[ $PWD == *xfwm4-4* ]]; then \
sed -i -e "/DEFAULT_FONT/s/10/11/" mcs-plugin/xfwm4_plugin.c; fi"

+ 43
- 0
package/avm/xfce4/xfce4.desc

@ -0,0 +1,43 @@
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN ---
[COPY]
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY] Please add additional copyright information _after_ the line containing
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
[COPY]
[COPY] ROCK Linux: rock-src/package/avm/xfce4/xfce4.desc
[COPY] ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; either version 2 of the License, or
[COPY] (at your option) any later version. A copy of the GNU General Public
[COPY] License can be found at Documentation/COPYING.
[COPY]
[COPY] Many people helped and are helping developing ROCK Linux. Please
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM
[COPY] file for details.
[COPY]
[COPY] --- ROCK-COPYRIGHT-NOTE-END ---
[I] a lightweight desktop environment
[T] Xfce is a lightweight desktop environment for unix-like operating
[T] systems. It aims to be fast and lightweight, while still being visually
[T] appealing and easy to use.
[U] http://www.xfce.org/
[A] Olivier Fourdan
[M] Andreas V. 'netrunner' Meier <avmeier@web.de>
[C] extra/desktop/xfce
[L] GPL
[S] Beta
[V] 4.2-rc1
[P] X -----5---9 800.000
[D] 3839704474 xfce-4.1.99.1-src.tar.bz2 http://dl.sourceforge.net/xfce/

Loading…
Cancel
Save