diff options
author | ponce <matteo.bernardini@gmail.com> | 2011-03-31 15:32:34 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-03-31 15:32:34 -0500 |
commit | 757fa8f5b7affddbc7743bec9a01029ceed5d2c9 (patch) | |
tree | 921d72455e4e51c49e69ccbde8702ef504c3f647 /desktop | |
parent | bf7f85f056f254d10f6574b26e7721a62c9e857e (diff) |
desktop/lxde-common: Updated for version 20110313_736ded3
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/lxde-common/config/default-main.lxde | 3 | ||||
-rw-r--r-- | desktop/lxde-common/config/default-pcmanfm.conf | 3 | ||||
-rw-r--r-- | desktop/lxde-common/lxde-common.SlackBuild | 31 | ||||
-rw-r--r-- | desktop/lxde-common/lxde-common.info | 8 |
4 files changed, 18 insertions, 27 deletions
diff --git a/desktop/lxde-common/config/default-main.lxde b/desktop/lxde-common/config/default-main.lxde deleted file mode 100644 index 64ea8d084614..000000000000 --- a/desktop/lxde-common/config/default-main.lxde +++ /dev/null @@ -1,3 +0,0 @@ -[Desktop] -show_wallpaper=1 -wallpaper=/usr/share/lxde/wallpapers/lxde_blue.jpg diff --git a/desktop/lxde-common/config/default-pcmanfm.conf b/desktop/lxde-common/config/default-pcmanfm.conf deleted file mode 100644 index eb917ff8cade..000000000000 --- a/desktop/lxde-common/config/default-pcmanfm.conf +++ /dev/null @@ -1,3 +0,0 @@ -[desktop] -wallpaper_mode=2 -wallpaper=/usr/share/lxde/wallpapers/lxde_blue.jpg diff --git a/desktop/lxde-common/lxde-common.SlackBuild b/desktop/lxde-common/lxde-common.SlackBuild index 2cf9ba96f89f..62e9f73e2789 100644 --- a/desktop/lxde-common/lxde-common.SlackBuild +++ b/desktop/lxde-common/lxde-common.SlackBuild @@ -37,6 +37,8 @@ # 0.5.0-1: 13/sep/2010 by ponce <matteo.bernardini@gmail.com> # * Adapted to slackbuilds.org's autotools template. # * fixed lxpanel and xinitrc +# 20110313_736ded3: 29/mar/2011 by ponce <matteo.bernardini@gmail.com> +# * updated to git version. # # Run 'sh lxde-common.SlackBuild' to build a Slackware package. # The package is created in /tmp . @@ -45,21 +47,19 @@ # ----------------------------------------------------------------------------- PRGNAM=lxde-common -VERSION=${VERSION:-0.5.0} -BUILD=${BUILD:-3} +VERSION=${VERSION:-20110313_736ded3} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi -DOCS="AUTHORS COPYING ChangeLog NEWS README" +DOCS="AUTHORS COPYING INSTALL ChangeLog NEWS README" CWD=$(pwd) TMP=${TMP:-/tmp/SBo} @@ -96,9 +96,14 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# patch panel config to use slackware applications and slightly modify default config +# Patch panel config to use slackware applications and slightly modify default config patch -p1 < $CWD/config/panel.patch +# Look for a renamed file +sed -i -e 's|lxde\.conf|LXDE.conf|' Makefile.am + +sh autogen.sh + CXXFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \ ./configure \ @@ -116,7 +121,7 @@ make make DESTDIR=$PKG install mkdir -p $PKG/usr/share/applications -cp lxde-logout.desktop $PKG/usr/share/applications +cp lxde-logout.desktop $PKG/usr/share/applications/ # Add a xinitrc file for xwmconfig: mkdir -p $PKG/etc/X11/xinit @@ -129,20 +134,12 @@ mkdir -p $PKG/usr/share/apps/kdm/sessions for i in $(ls ../../../xsessions/*.desktop) ; do ln -sf $i ; done ) -# patch desktop.conf for Tango icon theme +# Patch desktop.conf to use the Tango icon theme sed -i -e 's#nuoveXT2#Tango#' $PKG/etc/xdg/lxsession/LXDE/desktop.conf -# patch autostart for the new pcmanfm -sed -i -e 's#pcmanfm#pcmanfm --desktop#' $PKG/etc/xdg/lxsession/LXDE/autostart - -# set a default config for pcmanfm -mkdir -p $PKG/etc/xdg/pcmanfm -cp $CWD/config/default-pcmanfm.conf $PKG/etc/xdg/pcmanfm/pcmanfm.conf -cp $CWD/config/default-main.lxde $PKG/etc/xdg/pcmanfm/main.lxde - # Add documentation: mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION || true +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION find $PKG/usr/doc -type f -exec chmod 644 {} \; diff --git a/desktop/lxde-common/lxde-common.info b/desktop/lxde-common/lxde-common.info index 94149c71e669..e52fda5ce74e 100644 --- a/desktop/lxde-common/lxde-common.info +++ b/desktop/lxde-common/lxde-common.info @@ -1,10 +1,10 @@ PRGNAM="lxde-common" -VERSION="0.5.0" +VERSION="20110313_736ded3" HOMEPAGE="http://www.lxde.org/" -DOWNLOAD="http://downloads.sourceforge.net/lxde/lxde-common-0.5.0.tar.gz" -MD5SUM="23606ab3d6e1039386d62a4b68b4ffc6" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/lxde/lxde-common-20110313_736ded3.tar.xz" +MD5SUM="60a8b2049d02ff31bfb0de35a980c17b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="ponce" EMAIL="matteo.bernardini@gmail.com" -APPROVED="dsomero" +APPROVED="rworkman" |