desktop/lxde-common: Updated for version 0.5.6.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2014-09-02 16:13:04 +02:00 committed by Willy Sudiarto Raharjo
parent d4682fa852
commit 4b20e518b6
4 changed files with 20 additions and 14 deletions

View file

@ -53,13 +53,13 @@ Plugin {
id=pcmanfm.desktop id=pcmanfm.desktop
} }
Button { Button {
id=mozilla-firefox.desktop id=menu://applications/Internet/mozilla-firefox.desktop
} }
Button { Button {
id=mozilla-thunderbird.desktop id=menu://applications/Internet/mozilla-thunderbird.desktop
} }
Button { Button {
id=lxterminal.desktop id=menu://applications/System/lxterminal.desktop
} }
} }
} }
@ -130,7 +130,7 @@ Plugin {
type = netstatus type = netstatus
Config { Config {
iface=eth0 iface=eth0
configtool=network-admin --configure %i configtool=netconfig
} }
} }

View file

@ -14,6 +14,8 @@ config() {
config etc/xdg/lxsession/LXDE/desktop.conf.new config etc/xdg/lxsession/LXDE/desktop.conf.new
config etc/xdg/lxsession/LXDE/autostart.new config etc/xdg/lxsession/LXDE/autostart.new
config etc/xdg/pcmanfm/LXDE/pcmanfm.conf.new config etc/xdg/pcmanfm/LXDE/pcmanfm.conf.new
config etc/xdg/lxpanel/LXDE/panels/panel.new
config etc/xdg/lxpanel/LXDE/config.new
if [ -x /usr/bin/update-desktop-database ]; then if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1

View file

@ -50,6 +50,8 @@
# 0.5.5-4: 14/nov/2013 by Matteo Bernardini <ponce@slackbuilds.org> # 0.5.5-4: 14/nov/2013 by Matteo Bernardini <ponce@slackbuilds.org>
# * Removed the option to switch to root completely # * Removed the option to switch to root completely
# (see http://bit.ly/no-more-su-pcmanfm) # (see http://bit.ly/no-more-su-pcmanfm)
# 0.5.6-1: 02/sep/2014 by Matteo Bernardini <ponce@slackbuilds.org>
# * Update.
# #
# Run 'sh lxde-common.SlackBuild' to build a Slackware package. # Run 'sh lxde-common.SlackBuild' to build a Slackware package.
# The package is created in /tmp . # The package is created in /tmp .
@ -58,8 +60,8 @@
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
PRGNAM=lxde-common PRGNAM=lxde-common
VERSION=${VERSION:-0.5.5} VERSION=${VERSION:-0.5.6}
BUILD=${BUILD:-4} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
@ -108,7 +110,7 @@ find -L . \
-exec chmod 644 {} \; -exec chmod 644 {} \;
# look for a renamed file # look for a renamed file
sed -i -e 's|lxde\.conf|LXDE.conf|' Makefile.am sed -i -e 's|lxde\.conf|LXDE.conf|' Makefile.am || exit 1
sh autogen.sh || true sh autogen.sh || true
@ -142,11 +144,11 @@ mkdir -p $PKG/usr/share/apps/kdm/sessions
for i in $(ls ../../../xsessions/*.desktop) ; do ln -sf $i ; done ) for i in $(ls ../../../xsessions/*.desktop) ; do ln -sf $i ; done )
# patch desktop.conf to use the 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 sed -i -e 's#nuoveXT2#Tango#' $PKG/etc/xdg/lxsession/LXDE/desktop.conf || exit 1
# this option is deprecated upstream # this option is deprecated upstream
sed -i -e 's#^su_cmd.*$##' \ sed -i -e 's#^su_cmd.*$##' \
$PKG/etc/xdg/pcmanfm/LXDE/pcmanfm.conf $PKG/etc/xdg/pcmanfm/LXDE/pcmanfm.conf || exit 1
# preserve modified config files # preserve modified config files
mv $PKG/etc/xdg/lxsession/LXDE/desktop.conf \ mv $PKG/etc/xdg/lxsession/LXDE/desktop.conf \
@ -157,10 +159,12 @@ mv $PKG/etc/xdg/pcmanfm/LXDE/pcmanfm.conf \
$PKG/etc/xdg/pcmanfm/LXDE/pcmanfm.conf.new $PKG/etc/xdg/pcmanfm/LXDE/pcmanfm.conf.new
# use some sane defaults for lxpanel # use some sane defaults for lxpanel
rm -fr $PKG/etc/xdg/lxpanel/profile
mkdir -p $PKG/etc/xdg/lxpanel/LXDE/panels
install -m 0644 $CWD/config/panel \ install -m 0644 $CWD/config/panel \
$PKG/usr/share/lxpanel/profile/LXDE/panels/panel $PKG/etc/xdg/lxpanel/LXDE/panels/panel.new
install -m 0644 $CWD/config/config \ install -m 0644 $CWD/config/config \
$PKG/usr/share/lxpanel/profile/LXDE/config $PKG/etc/xdg/lxpanel/LXDE/config.new
# add documentation: # add documentation:
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION

View file

@ -1,8 +1,8 @@
PRGNAM="lxde-common" PRGNAM="lxde-common"
VERSION="0.5.5" VERSION="0.5.6"
HOMEPAGE="http://www.lxde.org/" HOMEPAGE="http://www.lxde.org/"
DOWNLOAD="http://downloads.sourceforge.net/lxde/lxde-common-0.5.5.tar.gz" DOWNLOAD="http://downloads.sourceforge.net/lxde/lxde-common-0.5.6.tar.xz"
MD5SUM="e51a6b2a815a89fda1f497b509465a97" MD5SUM="259b4a2db50117e632e34912251cfcb9"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""