Commits

Anonymous committed d42383f

Update mate-panel to 1.6.1

Signed-off-by: Lee Pak Hong <benreilly@vector.Linux.net>

Comments (0)

Files changed (1)

var/vabs/mate-panel/src/mate-panel.SlackBuild

 # AUTHORS = 
 
 NAME="mate-panel"            #Enter package Name!
-VERSION=${VERSION:-"1.6.0"}      #Enter package Version!
+VERSION=${VERSION:-"1.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://pub.mate-desktop.org/releases/1.6/$NAME-$VERSION.tar.xz"}  #Enter URL for package here!
 
 #SYSTEM VARIABLES
 #----------------------------------------------------------------------------
-BUILDNUM=${BUILDNUM:-"5"}
+BUILDNUM=${BUILDNUM:-"1"}
 VL_VERSION=${VL_VERSION:-"$(ls /var/log/packages/|grep vlconfig2|cut -d "-" -f4|cut -c 2-5)"}
 BUILD=${BUILD:-"$BUILDNUM""$VL_VERSION"}
 ARCH=${ARCH:-"$(uname -m)"}
 LDFLAG_OPTIONS=${LDFLAG_OPTIONS:-""}
 ADDRB=${ADDRB:-""} #Add deps that need to be added to the slack-required file here
 EXRB=${EXRB:-""} #Add deps that need to be excluded from the slack-required file here
-MAKEDEPENDS=${MAKEDEPENDS:-"libcanberra dconf NetworkManager librsvg mate-common mate-doc-utils libmateweather mate-desktop
-libmatewnck mate-menus"} #Add deps needed TO BUILD this package here.
+MAKEDEPENDS=${MAKEDEPENDS:-"mate-common mate-doc-utils glib2 gtk+2 libmateweather \
+libmatewnck mate-desktop mate-menus dconf libcanberra NetworkManager librsvg"} #Add deps needed TO BUILD this package here.
 #----------------------------------------------------------------------------
 
 # DO NOT EXECUTE if NORUN is set to 1
 if [[ "$ARCH" = i?86 ]]; then
   ARCH=i586
   SLKCFLAGS="-O2 -march=i586 -mtune=i686"
-  CONFIGURE_TRIPLET="i486-slackware-linux"
+  CONFIGURE_TRIPLET="i586-vector-linux"
   LIBDIRSUFFIX=""
 elif [ "$ARCH" = "x86_64" ]; then
   SLKCFLAGS="-O2 -fpic"
-  CONFIGURE_TRIPLET="x86_64-slackware-linux"
+  CONFIGURE_TRIPLET="x86_64-vlocity-linux"
   LIBDIRSUFFIX="64"
 elif [ "$ARCH" = "powerpc" ]; then
   SLKCFLAGS="-O2"
 #-----------------------------------------------------------------------
 
 echo "Configuring source..."
-./autogen.sh 
 ./configure --prefix=/usr \
   --libdir=/usr/lib${LIBDIRSUFFIX} \
-  --libexecdir=/usr/lib${LIBDIRSUFFIX}/$NAME \
   --infodir=/usr/info \
   --sysconfdir=/etc \
   --localstatedir=/var \
   --mandir=/usr/man \
-  --enable-matecomponent \
   --disable-scrollkeeper \
-  --disable-schemas-install \
-  --with-mateconf-source="xml::/etc/mateconf/mateconf.xml.defaults" \
+  --disable-schemas-compile \
   --disable-introspection \
+  --with-in-process-applets=all \
   --program-prefix="" \
   --program-suffix="" \
   --build=$CONFIGURE_TRIPLET \
 
 cat >> $PKG/install/doinst.sh << EOF
 
-# use mate-panel default panel setting
-mateconftool-2 --direct --config-source="xml::etc/mateconf/mateconf.xml.defaults" --load etc/mateconf/schemas/panel-default-setup.entries >/dev/null
-
 # update rarian database
 if [ -x usr/bin/rarian-sk-update ]; then
   usr/bin/rarian-sk-update 1> /dev/null 2> /dev/null