Commits

Anonymous committed 0549169

lxpanel update to 0.6.1 and ship default configuration

Comments (0)

Files changed (3)

var/vabs/lxpanel/src/lxpanel.SlackBuild

 # AUTHORS = 
 
 NAME="lxpanel"            #Enter package Name!
-VERSION=${VERSION:-"0.5.10"}      #Enter package Version!
+VERSION=${VERSION:-"0.6.1"}      #Enter package Version!
 VER=$(echo $VERSION|sed 's/-/_/') #this fixes - in version
 VL_PACKAGER=${VL_PACKAGER:-"hata_ph"}   #Enter your Name!
 LINK=${LINK:-"http://sourceforge.net/projects/lxde/files/LXPanel%20(desktop%20panel)/LXPanel%20$VERSION/$NAME-$VERSION.tar.gz"}  #Enter URL for package here!
 #
 #-----------------------------------------------------------------------
 
-# 64-bit needs this patch
-if [ ${ARCH} = "x86_64" ]; then
-	patch --verbose -p1 < $CWD/patches/lxpanel-0.5.8-fix-libgmodule-underlinking.patch || exit 1
-fi
-
 echo "Configuring source..."
 ./configure --prefix=/usr \
   --libdir=/usr/lib${LIBDIRSUFFIX} \
 mv $PKG/usr/share/lxpanel/profile/default/panels/panel \
 	$PKG/usr/share/lxpanel/profile/default/panels/panel.orig
 cat $CWD/panel.vl > $PKG/usr/share/lxpanel/profile/default/panels/panel
+# Install the default configuration for the LXDE profile
+# This will create a pre-configured panel for new users who want to use the
+# LXDE desktop
+mkdir -p $PKG/usr/share/lxpanel/profile/LXDE/panels
+cat $CWD/panel.vl > $PKG/usr/share/lxpanel/profile/LXDE/panels/panel
 
 # Don't overwrite the default configuration files.
 for i in config panels/panel; do

var/vabs/lxpanel/src/panel.vl

     type = launchbar
     Config {
         Button {
+            id=firefox.desktop
+        }
+        Button {
             id=pcmanfm.desktop
         }
         Button {
-            id=firefox.desktop
+            id=/usr/share/applications/lxterminal.desktop
         }
     }
 }
 }
 
 Plugin {
-    type = netstat
-}
-
-Plugin {
     type = pager
 }
 
 Plugin {
-    type = cpu
-}
-
-Plugin {
     type = tray
 }
 
 Plugin {
     type = dclock
     Config {
-        ClockFmt=%R
+        ClockFmt=%H:%M %p
         TooltipFmt=%A %x
         BoldFont=0
         IconOnly=0
     }
 }
 
-Plugin {
-    type = launchbar
-    Config {
-        Button {
-            id=lxde-logout.desktop
-        }
-    }
-}
-
-

var/vabs/lxpanel/src/patches/lxpanel-0.5.8-fix-libgmodule-underlinking.patch

-Index: lxpanel-0.5.10/configure.ac
-===================================================================
---- lxpanel-0.5.10.orig/configure.ac	2012-06-10 23:22:21.000000000 +0200
-+++ lxpanel-0.5.10/configure.ac	2012-06-22 13:48:22.591973587 +0200
-@@ -40,6 +40,7 @@
- pkg_modules="$pkg_modules \
-              gio-unix-2.0 \
-              gthread-2.0 \
-+             gmodule-2.0 \
-              libmenu-cache"
- #             libstartup-notification-1.0"
- PKG_CHECK_MODULES(PACKAGE, [$pkg_modules])