Whiskers Menu for Xfce

General talk about packaging procedures and packages.
Post Reply
User avatar
sqlpython
Posts: 303
Joined: 13. Aug 2010, 04:53
Location: Ct. USA

Whiskers Menu for Xfce

Post by sqlpython » 1. Oct 2013, 16:29

This is a follow up on @posixru topic
http://translate.google.com/translate?h ... r%23p30901

I have been using the Xfce Menu Plugin Whiskers.
This is a expanded Menu Plugin which can replace the default Menu Plugin on the Panel.
I like it better. Also a Xfce-Appfinder right on the Menu. You can change it's default Icon to the Salix or Slackware or whatever you like. Also there is a Favorites menu and all the Icon sizes are controlled on the fly.

Image

A larger view
https://db.tt/VN2nMFeg

Download here
Choose the Source Download for a Slackware
http://gottcode.org/xfce4-whiskermenu-plugin/
Extract the xfce4-whiskermenu-plugin-1.1.1 to it's own directory.
Install CMAKE before continuing
Enter that Directory as your User and....
1. `cd' to the directory containing the source code.

2. `mkdir build && cd build' to create a location for building.
Then cd back into the xfce4-whiskermenu-plugin Dir

3. `cmake -DCMAKE_INSTALL_PREFIX=/usr ..' to configure the sources.
There are more options you can pass to cmake, see below for details.

4. `make' to compile the plugin. This will also rerun cmake for you if
any CMakeLists.txt files have changed.

5. `make install' to install the plugin. This has to be done with root
privileges if installing to system directories,
but the rest of the
build should be done with regular user privileges.
Debian ( Stretch 9, Sid ) Salix OpenBox 14.1, Gentoo, Calculate

User avatar
zAchAry
Posts: 804
Joined: 11. May 2010, 09:02
Location: Israel

Re: Whiskers Menu for Xfce

Post by zAchAry » 6. Oct 2013, 06:14

SLKBUILD

Code: Select all

#Packager: Graeme Gott <graeme@gottcode.org>
#git clone https://github.com/gottcode/xfce4-whiskermenu-plugin

pkgname=xfce4-whiskermenu-plugin
pkgver=1.1.1
pkgrel=1gc
source=("http://gottcode.org/$pkgname/$pkgname-$pkgver-src.tar.bz2")
url=http://gottcode.org/xfce4-whiskermenu-plugin/
docs=("ChangeLog" "COPYING" "CREDITS")

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"Alternate Xfce menu."
""
"http://gottcode.org/xfce4-whiskermenu-plugin/"
)


build() {
        cd $startdir/src/$pkgname-$pkgver
        cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
        make DESTDIR=$startdir/pkg install
} 
Last edited by zAchAry on 23. Jan 2014, 13:07, edited 1 time in total.
Image
Help to make Slackware easier Donate to Salix

User avatar
laprjns
Salix Warrior
Posts: 1032
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: Whiskers Menu for Xfce

Post by laprjns » 6. Oct 2013, 11:18

zAchAry wrote:SLKBUILD
There a a couple of problems with your posted SLKBUILD. First it fails to get the source tarball. This is because you appear to have set it up to use a git source. It should be set up to use the stable release version 1.1.1

Code: Select all

pkgver=1.1.1
If someone really wants to use the latest then they should follow these instructions to created the git source tarball.
http://docs.salixos.org/wiki/Getting_sv ... h_slkbuild.

The second thing is that the name you used as Packager is not the Packager, but rather the author of the application (and maintainer of the Arch PKGBUILD). I would think that he would not appreciate that you posted his name and email to credit him as the author of the SLKBUILD that doesn't work as written.

Having said that, changing the package version to 1.1.1 will result in a working SLKBUILD sqlpython posted about.

Post Reply